* lisp/emacs-lisp/bytecomp.el (byte-compile): Don't signal an error if the
[bpt/emacs.git] / lisp / ChangeLog
1 2012-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
2
3 * emacs-lisp/bytecomp.el (byte-compile): Don't signal an error if the
4 function is already compiled.
5
6 * xml.el (xml-name-regexp): Remove, redundant. Use xml-name-re.
7
8 2012-07-03 Michael Albinus <michael.albinus@gmx.de>
9
10 * vc/ediff-diff.el (ediff-same-file-contents): Fix it for remote
11 files on the same host.
12
13 2012-07-03 Andreas Schwab <schwab@linux-m68k.org>
14
15 * help-fns.el (describe-function-1): Only call
16 help-fns--autoloaded-p when we have a file name. (Bug#11848)
17
18 2012-07-03 Chong Yidong <cyd@gnu.org>
19
20 * xml.el: Protect parser against XML bombs.
21 (xml-entity-expansion-limit): New variable.
22 (xml-parse-string, xml-substitute-special): Use it.
23 (xml-parse-dtd): Avoid infloop if the DTD is not terminated.
24
25 2012-07-03 Glenn Morris <rgm@gnu.org>
26
27 * progmodes/bug-reference.el (bug-reference-bug-regexp):
28 Allow linking to specific messages in debbugs reports (eg 123#5).
29
30 2012-07-02 Chong Yidong <cyd@gnu.org>
31
32 * xml.el: Fix entity and character reference expansion, allowing
33 them to expand into markup as per XML spec.
34 (xml-default-ns): New variable.
35 (xml-entity-alist): Use XML spec definitions for lt and amp.
36 (xml-parse-region): Make first two arguments optional.
37 Discard text properties.
38 (xml-parse-tag-1): New function, spun off from xml-parse-tag.
39 All callers changed.
40 (xml-parse-tag): Call xml-parse-tag-1. For backward
41 compatibility, this function should not modify buffer contents.
42 (xml-parse-tag-1): Fix opening-tag regexp.
43 (xml-parse-string): Rewrite, handling entity and character
44 references properly.
45 (xml--entity-replacement-text): Signal an error if a parameter
46 entity is undefined.
47
48 2012-07-02 Stefan Monnier <monnier@iro.umontreal.ca>
49
50 * comint.el (comint-output-filter): Filter out repeated prompts.
51
52 * net/ange-ftp.el (ange-ftp-expand-file-name): Use ange-ftp-ftp-name
53 and file-name-absolute-p.
54 (ange-ftp-file-exists-p): Use ange-ftp-file-exists-p for
55 internal calls.
56
57 2012-07-02 Paul Eggert <eggert@cs.ucla.edu>
58
59 Spelling fixes.
60 * emacs-lisp/bytecomp.el (byte-compile--reify-function):
61 Rename from byte-compile--refiy-function. All uses changed.
62
63 2012-07-01 Chong Yidong <cyd@gnu.org>
64
65 * xml.el (xml--parse-buffer): New function. Move most of
66 xml-parse-region here.
67 (xml-parse-region): Copy region into a temporary buffer, since
68 parameter entity substitution requires changing buffer contents.
69 Use xml--parse-buffer.
70 (xml-parse-file): Use xml--parse-buffer.
71 (xml-parse-dtd): Make parameter entity substitution work right.
72 Use proper regexps for ELEMENT declarations (Bug#7172).
73
74 2012-06-30 Glenn Morris <rgm@gnu.org>
75
76 * comint.el (follow-comint-scroll-to-bottom): Fix declaration.
77
78 * net/secrets.el, net/tramp-gvfs.el, net/xesam.el, net/zeroconf.el:
79 Remove outdated and unnecessary dbus declarations.
80
81 2012-06-30 Eli Zaretskii <eliz@gnu.org>
82
83 * emacs-lisp/timer.el (timer-until): Subtract results of
84 float-time, instead of taking float-time of the result of
85 time-subtract, since float-time signals an error for negative time
86 arguments.
87
88 2012-06-30 Chong Yidong <cyd@gnu.org>
89
90 * xml.el (xml-*-re): Convert defvars into defconsts, and
91 eval-and-compile them so eval-and-compile works on derivatives.
92 (xml--entity-replacement-text): Use eval-and-comple.
93
94 2012-06-30 Michael Albinus <michael.albinus@gmx.de>
95
96 * vc/vc-git.el (vc-git-registered): Use cache property
97 `git-registered'.
98 (vc-git-mode-line-string): Call `vc-working-revision' instead of
99 `vc-git-working-revision' in order to benefit from the cache.
100 (vc-git-root): Use cache property `git-root'.
101
102 2012-06-30 Dmitry Gutov <dgutov@yandex.ru>
103
104 * vc/vc-hooks.el (vc-before-save): Clear cache if file has been
105 removed (likely outside Emacs).
106
107 2012-06-30 Stefan Monnier <monnier@iro.umontreal.ca>
108
109 * emacs-lisp/cl-lib.el: Require macroexp.
110
111 2012-06-30 Chong Yidong <cyd@gnu.org>
112
113 * xml.el: Implement XML parameter entities.
114 (xml-parameter-entity-alist): New variable.
115 (xml-parse-region, xml-parse-fragment): Preserve previous values
116 of xml-entity-alist and xml-parameter-entity-alist, so that
117 repeated calls on different documents do not change them.
118 (xml-parse-tag): Fix doctype regexp.
119 (xml--entity-replacement-text): New function.
120 (xml-parse-dtd): Use it. Don't handle system entities; doing that
121 properly requires url retrieval which is unimplemented.
122 (xml-escape-string): Doc fix.
123
124 2012-06-30 Stefan Monnier <monnier@iro.umontreal.ca>
125
126 * emacs-lisp/cl-lib.el (cl-pushnew): Use macroexp-let2.
127
128 2012-06-29 Dmitry Antipov <dmantipov@yandex.ru>
129
130 * fringe.el (fringe-mode): Doc fix.
131
132 2012-06-29 Michael Albinus <michael.albinus@gmx.de>
133
134 * net/ange-ftp.el (ange-ftp-get-passwd): Throw if `non-essential'
135 is non-nil.
136 (ange-ftp-ignore-errors-if-non-essential): New defmacro.
137 (ange-ftp-file-name-all-completions): Use it. (Bug#11808)
138
139 2012-06-29 Andreas Schwab <schwab@linux-m68k.org>
140
141 * calendar/cal-dst.el (calendar-current-time-zone):
142 Return calendar-current-time-zone-cache if non-nil.
143
144 2012-06-29 Masatake YAMATO <yamato@redhat.com>
145
146 * progmodes/which-func.el (which-func-format):
147 Add mouse-face. (Bug#11698)
148
149 2012-06-29 Leo Liu <sdl.web@gmail.com>
150
151 * textmodes/enriched.el (enriched-next-annotation): Use eq (Bug#11528).
152
153 2012-06-29 Stefan Monnier <monnier@iro.umontreal.ca>
154
155 * minibuffer.el (minibuffer-confirm-exit-commands):
156 Add completion-at-point (bug#11725).
157
158 2012-06-29 Glenn Morris <rgm@gnu.org>
159
160 * progmodes/f90.el (f90-font-lock-keywords-2):
161 Add some preprocessor elements. (Bug#10499)
162
163 2012-06-29 Stefan Monnier <monnier@iro.umontreal.ca>
164
165 * progmodes/cperl-mode.el (cperl-update-syntaxification):
166 Use syntax-propertize (bug#11739).
167
168 2012-06-28 Juanma Barranquero <lekktu@gmail.com>
169
170 * emacs-lisp/cl-lib.el (cl-pushnew): Don't capture X (bug#11811).
171
172 2012-06-28 Julien Danjou <julien@danjou.info>
173
174 * term.el (term-handle-colors-array): Use a set of new faces to
175 color the terminal. Also uses :inverse-video property.
176 (term-default-fg-color): Set to nil by default, deprecate in favor
177 of `term-face'.
178 (term-default-bg-color): Set to nil by default, deprecate in favor
179 of `term-face'.
180 (term-current-face): Use `term-face' by default.
181 (term-bold-attribute): Variable deleted.
182
183 2012-06-28 Glenn Morris <rgm@gnu.org>
184
185 * simple.el (completion-list-mode-finish):
186 Don't use toggle-read-only. (Since completion-list-mode has
187 a special mode-class, it wasn't doing anything extra anyway.)
188
189 2012-06-28 Stefan Monnier <monnier@iro.umontreal.ca>
190
191 Make inlining of other-mode interpreted functions work (bug#11799).
192 * emacs-lisp/bytecomp.el (byte-compile--refiy-function): New fun.
193 (byte-compile): Use it to fix compilation of lexical-binding closures.
194 * emacs-lisp/byte-opt.el (byte-compile-inline-expand): Compile the
195 function, if needed.
196
197 2012-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
198
199 * help-mode.el (help-make-xrefs): Don't just withstand
200 cyclic-variable-indirection but any error in documentation-property.
201
202 * loadup.el (purify-flag): Pre-grow the hash-table to reduce the
203 memory use.
204 * bindings.el (bindings--define-key): New function.
205 * vc/vc-hooks.el, replace.el, menu-bar.el, international/mule-cmds.el:
206 * emacs-lisp/lisp-mode.el, buff-menu.el, bookmark.el:
207 * bindings.el: Use it to purecopy define-key bindings.
208
209 * textmodes/rst.el (rst-adornment-faces-alist): Avoid copy-list.
210
211 * emacs-lisp/cl.el (flet): Mark obsolete.
212 * emacs-lisp/cl-macs.el (cl-flet*): New macro.
213 * vc/vc-rcs.el (vc-rcs-annotate-command, vc-rcs-parse):
214 * progmodes/js.el (js-c-fill-paragraph):
215 * progmodes/ebrowse.el (ebrowse-switch-member-buffer-to-sibling-class)
216 (ebrowse-switch-member-buffer-to-derived-class):
217 * play/5x5.el (5x5-solver): Use cl-flet.
218
219 * emacs-lisp/cl.el: Use lexical-binding. Fix flet (bug#11780).
220 (cl--symbol-function): New macro.
221 (cl--letf, cl--letf*): Use it.
222
223 * emacs-lisp/easy-mmode.el (easy-mmode-pretty-mode-name):
224 Strip "toggle-" if any.
225
226 2012-06-27 Glenn Morris <rgm@gnu.org>
227
228 * info.el (Info-default-directory-list): Move here from paths.el.
229 * paths.el: Remove file, which is now empty.
230 * loadup.el: No longer load "paths".
231
232 * custom.el (custom-initialize-delay): Doc fix.
233
234 * eshell/em-alias.el, eshell/em-banner.el, eshell/em-basic.el:
235 * eshell/em-cmpl.el, eshell/em-dirs.el, eshell/em-glob.el:
236 * eshell/em-hist.el, eshell/em-ls.el, eshell/em-pred.el:
237 * eshell/em-prompt.el, eshell/em-rebind.el, eshell/em-script.el:
238 * eshell/em-smart.el, eshell/em-term.el, eshell/em-unix.el:
239 * eshell/em-xtra.el: Replace eshell-defgroup with "(progn (defgroup".
240 * eshell/eshell.el (eshell-defgroup): Remove alias.
241
242 2012-06-27 Chong Yidong <cyd@gnu.org>
243
244 * help.el (help-enable-auto-load): New variable.
245
246 * help-fns.el (help-fns--autoloaded-p): New function.
247 (describe-function-1): Refer to a function as "autoloaded" if it
248 was autoloaded at any time in the past. Perform autoloading if
249 help-enable-auto-load is non-nil.
250
251 2012-06-26 Eli Zaretskii <eliz@gnu.org>
252
253 * makefile.w32-in (compile, compile-always): Depend on
254 update-subdirs, not on subdirs.el. Otherwise, several different
255 sub-targets of 'bootstrap' running in parallel could
256 simultaneously write to subdirs.el, producing a garbled file.
257
258 2012-06-26 Sam Steingold <sds@gnu.org>
259
260 * files.el (file-name-base): New convenience function.
261 * autoinsert.el, cus-dep.el, doc-view.el, image-dired.el:
262 * woman.el, eshell/esh-cmd.el, progmodes/ada-xref.el:
263 * progmodes/cc-defs.el, progmodes/cperl-mode.el:
264 * progmodes/flymake.el, progmodes/gud.el, progmodes/idlwave.el:
265 * textmodes/ispell.el, textmodes/reftex-ref.el:
266 * textmodes/tex-mode.el: Use it.
267 Did not touch cedet and org because they are maintained elsewhere.
268
269 2012-06-26 Martin Rudalics <rudalics@gmx.at>
270
271 * calendar/calendar.el (calendar-exit): Don't try to delete or
272 iconify last frame. See:
273 http://lists.gnu.org/archive/html/emacs-devel/2012-06/msg00372.html
274
275 2012-06-25 Jim Diamond <Jim.Diamond@AcadiaU.ca> (tiny change)
276
277 * server.el (server-process-filter): Remember dir in the
278 process's `server-client-directory' properties.
279
280 2012-06-24 Chong Yidong <cyd@gnu.org>
281
282 * xml.el (xml-parse-tag): Correctly handle comment embedded in
283 non-tag text.
284
285 2012-06-23 Juanma Barranquero <lekktu@gmail.com>
286
287 * makefile.w32-in (COMPILE_FIRST): Synch with changes in 2012-06-22T21:24:54Z!monnier@iro.umontreal.ca.
288
289 2012-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
290
291 * help-fns.el (describe-variable): Don't croak when doc is not found.
292 * vc/pcvs.el (cvs-retrieve-revision): Avoid toggle-read-only.
293 * menu-bar.el (menu-bar-line-wrapping-menu): Purecopy a tiny bit more.
294 * emacs-lisp/syntax.el (syntax-ppss): Simplify with new `if' place.
295 * emacs-lisp/smie.el (smie-next-sexp): CSE.
296 * emacs-lisp/macroexp.el (macroexp-let2): Fix edebug spec and avoid
297 ((lambda ..) ..).
298 * emacs-lisp/eieio.el (eieio-oref, slot-value): Use simpler defsetf.
299
300 2012-06-23 Chong Yidong <cyd@gnu.org>
301
302 * info.el (Info-mouse-follow-link): Accept symbol values of
303 link-args. Select window; suggested by Gerhard Kahl (Bug#11672).
304 (Info-fontify-node): Use Info-link-keymap for all navigation
305 buttons, with link-args property to perform the desired action.
306 (Info-link-keymap): Doc fix.
307 (Info-next-link-keymap, Info-prev-link-keymap)
308 (Info-up-link-keymap): Delete now-unused keymaps.
309
310 2012-06-23 Chong Yidong <cyd@gnu.org>
311
312 * mouse.el (mouse-drag-track): Deactivate the mark before popping.
313
314 * progmodes/python.el (python-skeleton-define): Mark abbrevs as
315 system abbrevs.
316
317 * ansi-color.el (ansi-color-apply-on-region): Doc fix.
318
319 2012-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
320
321 * emacs-lisp/cl-macs.el (cl--make-usage-args): Handle improper lists
322 (bug#11719).
323
324 * minibuffer.el (completion--twq-try): Try to fail more gracefully when
325 the requote function doesn't work properly (bug#11714).
326
327 2012-06-23 Glenn Morris <rgm@gnu.org>
328
329 * pcmpl-rpm.el (pcmpl-rpm-packages): Give status messages.
330
331 2012-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
332
333 Further GV/CL cleanups.
334 * emacs-lisp/gv.el (gv-get): Autoload functions to find their
335 gv-expander.
336 (gv--defun-declaration): New function.
337 (defun-declarations-alist): Use it.
338 (gv-define-modify-macro, gv-pushnew!, gv-inc!, gv-dec!): Remove.
339 (gv-place): Autoload.
340 * emacs-lisp/cl.el (cl--dotimes, cl--dolist): Remember subr.el's
341 original definition of dotimes and dolist.
342 * emacs-lisp/cl-macs.el (cl-expr-access-order): Remove unused.
343 (cl-dolist, cl-dotimes): Use `dolist' and `dotimes'.
344 * emacs-lisp/cl-lib.el: Move gv handlers from cl-macs to here.
345 (cl-fifth, cl-sixth, cl-seventh, cl-eighth)
346 (cl-ninth, cl-tenth): Move gv handler to the function's definition.
347 * emacs-lisp/cl-extra.el (cl-subseq, cl-get, cl-getf): Move gv handler
348 to the function's definition.
349 * Makefile.in (COMPILE_FIRST): Re-order to speed it up by about 50%.
350 * window.el:
351 * files.el:
352 * faces.el:
353 * env.el: Don't use CL.
354
355 2012-06-22 Paul Eggert <eggert@cs.ucla.edu>
356
357 Support higher-resolution time stamps (Bug#9000).
358
359 * calendar/time-date.el (with-decoded-time-value): New arg
360 PICO-SYMBOL in VARLIST. It's optional, for backward compatibility.
361 (encode-time-value): New optional arg PICO. New type 3.
362 (time-to-seconds) [!float-time]: Support the new picoseconds
363 component if it's used.
364 (seconds-to-time, time-subtract, time-add):
365 Support ps-resolution time stamps as well.
366
367 * emacs-lisp/timer.el (timer): New component psecs. All uses changed.
368 (timerp): Timer vectors now have length 9, not 8.
369 (timer--time): Support new-style (4-part) time stamps.
370 (timer-next-integral-multiple-of-time): Time stamps now have
371 picosecond resolution, so take a bit more care about rounding.
372 (timer-relative-time, timer-inc-time): New optional arg psecs.
373 (timer-set-time-with-usecs): Set psecs to 0.
374 (timer--activate): Check psecs component, too.
375
376 * proced.el (proced-time-lessp): Support ps-resolution stamps.
377
378 2012-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
379
380 * icomplete.el (icomplete-minibuffer-setup, icomplete-completions):
381 Move the non-essential binding to the post/pre-command-hook where it is
382 more obviously correct.
383
384 * subr.el (read-passwd): Don't use a history at all.
385 * savehist.el (savehist-save): Remove password saved accidentally
386 because of the above bug.
387
388 2012-06-22 Bastien Guerry <bzg@gnu.org>
389
390 * files.el (toggle-read-only): Display a message telling whether
391 the buffer is read-only or not (bug#11726).
392
393 2012-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
394
395 * emacs-lisp/gv.el: New file.
396 * subr.el (push, pop): Extend to generalized variables.
397 * loadup.el (macroexp): Unload if preloaded and uncompiled (bug#11657).
398 * emacs-lisp/cl-lib.el (cl-pop, cl-push, cl--set-nthcdr): Remove.
399 * emacs-lisp/cl-macs.el: Require gv. Use gv-define-setter,
400 gv-define-simple-setter, and gv-define-expander.
401 Remove setf-methods defined in gv. Rename cl-setf -> setf.
402 (cl-setf, cl-do-pop, cl-get-setf-method): Remove.
403 (cl-letf, cl-letf*, cl-define-modify-macro, cl-defsetf)
404 (cl-define-setf-expander, cl-struct-setf-expander): Move to cl.el.
405 (cl-remf, cl-shiftf, cl-rotatef, cl-callf, cl-callf2): Rewrite with
406 gv-letplace.
407 (cl-defstruct): Don't define setf-method any more.
408 * emacs-lisp/cl.el (flet): Don't autoload.
409 (cl--letf, letf, cl--letf*, letf*, cl--gv-adapt)
410 (define-setf-expander, defsetf, define-modify-macro)
411 (cl-struct-setf-expander): Move from cl-lib.el.
412 * emacs-lisp/syntax.el:
413 * emacs-lisp/ewoc.el:
414 * emacs-lisp/smie.el:
415 * emacs-lisp/cconv.el:
416 * emacs-lisp/timer.el: Rename cl-setf -> setf, cl-push -> push.
417 (timer--time): Use gv-define-simple-setter.
418 * emacs-lisp/macroexp.el (macroexp-let2): Rename from macroexp-let²
419 to avoid coding-system problems in subr.el. Adjust all users.
420 (macroexp--maxsize, macroexp-small-p): New functions.
421 * emacs-lisp/bytecomp.el (byte-compile-file): Don't use cl-letf.
422 * scroll-bar.el (scroll-bar-mode):
423 * simple.el (auto-fill-mode, overwrite-mode, binary-overwrite-mode)
424 (normal-erase-is-backspace-mode): Don't use the `eq' place.
425 * winner.el (winner-configuration, winner-make-point-alist)
426 (winner-set-conf, winner-get-point, winner-set): Don't abuse letf.
427 * files.el (locate-file-completion-table): Avoid list*.
428
429 2012-06-22 Chong Yidong <cyd@gnu.org>
430
431 * dired-aux.el (dired-do-create-files): Doc fix (Bug#11327).
432 (dired-create-files): Doc fix (Bug#11329).
433 (dired-do-copy): Doc fix (Bug#11334).
434 (dired-mark-read-string): Doc fix (Bug#11553).
435
436 * dired.el (dired-recursive-copies, dired-recursive-deletes):
437 Doc fix (Bug#11326).
438 (dired-make-relative): Doc fix (Bug#11332). Remove unused arg.
439 (dired-dwim-target): Doc fix.
440
441 * wdired.el (wdired-mode): Doc fix.
442
443 2012-06-22 Glenn Morris <rgm@gnu.org>
444
445 * pcmpl-rpm.el (pcmpl-rpm-cache): New option.
446 (pcmpl-rpm-cache-stamp-file): New constant.
447 (pcmpl-rpm-cache-time, pcmpl-rpm-packages): New variables.
448 (pcmpl-rpm-packages): Optionally cache list of packages.
449
450 * pcmpl-rpm.el (pcmpl-rpm): New group.
451 (pcmpl-rpm-query-options): New option.
452 (pcmpl-rpm-packages): No need to inline it.
453 Use pcmpl-rpm-query-options.
454
455 * calendar/calendar.el (calendar-in-read-only-buffer):
456 Avoid some needless mode changes.
457
458 2012-06-21 Chong Yidong <cyd@gnu.org>
459
460 * desktop.el (desktop-read): Don't prompt if daemon (Bug#11674).
461 (desktop-path): Remove . from the default value (Bug#10977).
462 (desktop-read): Use user-emacs-directory if desktop-path is nil.
463
464 2012-06-20 Chong Yidong <cyd@gnu.org>
465
466 * term.el (term-send-raw-meta): Make C-M-<char> keys work (Bug#8172).
467
468 2012-06-20 David Röthlisberger <david@rothlis.net> (tiny change)
469
470 * ido.el (ido-switch-buffer, ido-find-file): Fix up doc of C-j
471 (bug#11201).
472
473 2012-06-20 Chong Yidong <cyd@gnu.org>
474
475 * term.el (term-window-width): Handle the case of a missing right
476 fringe (Bug#8837).
477 (term-check-size): Use window-text-height (Bug#5445).
478 (term-mode): Use define-derived-mode. Minor cleanups.
479 Set font-lock-defaults (Bug#7692).
480 (term-move-columns, term-insert-char, term-emulate-terminal)
481 (term-erase-in-line, term-insert-spaces): Use font-lock-face.
482
483 2012-06-20 Michael Albinus <michael.albinus@gmx.de>
484
485 * net/ange-ftp.el (ange-ftp-get-passwd):
486 Bind `enable-recursive-minibuffers'.
487 (ange-ftp-get-process): Throw if `non-essential' is non-nil.
488
489 2012-06-19 David Röthlisberger <david@rothlis.net> (tiny change)
490
491 * ido.el (ido-find-file): Mention C-d binding in docstring (bug#11244).
492
493 2012-06-19 Glenn Morris <rgm@gnu.org>
494
495 * progmodes/python.el (python-mode): Derive from prog-mode.
496
497 2012-06-19 Kevin Gallagher <Kevin.Gallagher@boeing.com>
498
499 * emulation/edt.el (edt-default-menu-bar-update-buffers)
500 (edt-user-menu-bar-update-buffers): New functions.
501 (edt-default-emulation-setup, edt-user-emulation-setup): Use them.
502
503 2012-06-19 Chong Yidong <cyd@gnu.org>
504
505 * subr.el (with-selected-window): Preserve the selected window's
506 terminal's top-frame (Bug#4702).
507
508 * window.el (save-selected-window): Likewise.
509
510 2012-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
511
512 * progmodes/python.el (python-rx-constituents): Move backquote.
513 (python-skeleton-define, python-define-auxiliary-skeleton):
514 Use `declare'.
515
516 2012-06-18 Michael Albinus <michael.albinus@gmx.de>
517
518 * minibuffer.el (read-file-name-default): Revert the patch from
519 2012-06-17.
520
521 2012-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
522
523 * emacs-lisp/pcase.el (pcase--expand): Warn for unused pattern.
524 (pcase--u1, pcase--q1): Don't use apply-partially.
525
526 2012-06-18 Glenn Morris <rgm@gnu.org>
527
528 * progmodes/python.el (python-proc, python-buffer)
529 (python-send-receive, python-send-string): Fix obsolete versions.
530
531 2012-06-18 Martin Rudalics <rudalics@gmx.at>
532
533 * window.el (special-display-p): Completely remove stringp
534 check. Suggested by Andreas Schwab <schwab@linux-m68k.org>.
535
536 2012-06-17 Michael Albinus <michael.albinus@gmx.de>
537
538 * minibuffer.el (read-file-name-default): Bind `non-essential' to `t'.
539
540 * net/tramp.el (tramp-file-name-handler): Catch 'non-essential.
541
542 * net/ange-ftp.el (ange-ftp-gwp-start, ange-ftp-start-process):
543 * net/tramp-sh.el (tramp-maybe-open-connection):
544 Throw if `non-essential' is non-nil.
545
546 2012-06-17 Martin Rudalics <rudalics@gmx.at>
547
548 * window.el (special-display-p): Signal an error if BUFFER-NAME
549 is not a string (Bug#11713).
550
551 2012-06-17 Paul Eggert <eggert@cs.ucla.edu>
552
553 * progmodes/python.el (python-info-beginning-of-backslash):
554 Rename from python-info-beginning-of-backlash, as a spelling fix.
555
556 2012-06-17 Chong Yidong <cyd@gnu.org>
557
558 * term.el (term-emulate-terminal): If term-check-size is called,
559 move point to the process mark without resetting point (Bug#4635).
560
561 2012-06-17 Glenn Morris <rgm@gnu.org>
562
563 * international/mule-cmds.el (mule-menu-keymap)
564 (set-language-environment, set-locale-environment): Doc tweaks.
565
566 2012-06-16 Aurelien Aptel <aurelien.aptel@gmail.com>
567
568 * cus-face.el (custom-face-attributes): Add wave-style underline
569 attribute.
570 * faces.el (set-face-attribute): Update docstring to describe
571 wave-style underline attribute.
572
573 2012-06-16 Chong Yidong <cyd@gnu.org>
574
575 * term/xterm.el (terminal-init-xterm): Discard input before
576 querying background mode (Bug#10959).
577
578 2012-06-16 Stefan Merten <smerten@oekonux.de>
579
580 * textmodes/rst.el: Added and corrected some comments.
581 (rst-re-alist-def): Improve symbol syntax.
582 (rst-mode-syntax-table): Correct syntax entries.
583 (rst-cvs-header, rst-svn-rev, rst-svn-timestamp)
584 (rst-official-version, rst-official-cvs-rev): Update version
585 information.
586
587 2012-06-15 Juanma Barranquero <lekktu@gmail.com>
588
589 * makefile.w32-in (COMPILE_FIRST): Synch with makefile.in changes
590 in 2008-06-22T13:57:28Z!monnier@iro.umontreal.ca.
591
592 2012-06-15 Fabián Ezequiel Gallina <fgallina@cuca>
593
594 * progmodes/python.el: New python.el merge.
595 (python-guess-indent): Obsolete var.
596 (python-indent-guess-indent-offset): New defcustom.
597 (python-indent): Obsolete var.
598 (python-indent-offset): New defcustom.
599 (python-python-command, python-jython-command): Delete var.
600 (python-shell-interpreter): New defcustom.
601 (python-pdbtrack-do-tracking-p): Delete var.
602 (python-pdbtrack-activate): New defcustom.
603 (python-use-skeletons): Obsolete var.
604 (python-skeleton-autoinsert): New defcustom.
605 (inferior-python-filter-regexp, python-continuation-offset)
606 (python-honour-comment-indentation, python-indent-string-contents)
607 (python-jython-packages, python-mode-hook)
608 (python-pdbtrack-minor-mode-string, python-remove-cwd-from-path)
609 (python-shell-prompt-alist)
610 (python-source-modes): Delete defcustoms.
611 (python-check-buffer-name, python-eldoc-setup-code)
612 (python-eldoc-string-code, python-ffap-setup-code)
613 (python-ffap-string-code, python-fill-comment-function)
614 (python-fill-decorator-function, python-fill-paren-function)
615 (python-fill-string-function, python-imenu-include-defun-type)
616 (python-imenu-make-tree, python-imenu-subtree-root-label)
617 (python-pdbtrack-stacktrace-info-regexp, python-shell-buffer-name)
618 (python-shell-compilation-regexp-alist)
619 (python-shell-completion-module-string-code)
620 (python-shell-completion-pdb-string-code)
621 (python-shell-completion-setup-code)
622 (python-shell-completion-string-code)
623 (python-shell-enable-font-lock, python-shell-exec-path)
624 (python-shell-extra-pythonpaths)
625 (python-shell-internal-buffer-name, python-shell-interpreter-args)
626 (python-shell-process-environment)
627 (python-shell-prompt-block-regexp)
628 (python-shell-prompt-output-regexp)
629 (python-shell-prompt-pdb-regexp, python-shell-prompt-regexp)
630 (python-shell-send-setup-max-wait, python-shell-setup-codes)
631 (python-shell-virtualenv-path): New defcustoms.
632 (brm-menu, eldoc-documentation-function, inferior-python-mode-map)
633 (inferior-python-mode-syntax-table, python--prompt-regexp)
634 (python-buffer, python-command python-python-command)
635 (python-default-template, python-imports, python-indent-index)
636 (python-indent-list, python-indent-list-length)
637 (python-mode-running, python-pdbtrack-is-tracking-p)
638 (python-preoutput-continuation, python-preoutput-leftover)
639 (python-preoutput-result, python-preoutput-skip-next-prompt)
640 (python-prev-dir/file, python-recursing)
641 (python-saved-check-command, python-version-checked)
642 (python-which-func-length-limit)
643 (view-return-to-alist): Delete vars.
644 (python-check-custom-command, python-dotty-syntax-table)
645 (python-imenu-index-alist, python-indent-current-level)
646 (python-indent-dedenters, python-indent-levels)
647 (python-nav-beginning-of-defun-regexp)
648 (python-nav-list-defun-positions-cache)
649 (python-pdbtrack-buffers-to-kill, python-pdbtrack-tracked-buffer)
650 (python-shell-internal-buffer)
651 (python-skeleton-available): New vars.
652 (def-python-skeleton): Delete macro.
653 (python-skeleton-define): New macro.
654 (python-define-auxiliary-skeleton, python-rx): New macros.
655 (python-insert-class): Delete command.
656 (python-skeleton-class): New command.
657 (python-insert-def): Delete command.
658 (python-skeleton-def): New command.
659 (python-insert-for): Delete command.
660 (python-skeleton-for): New command.
661 (python-insert-if): Delete command.
662 (python-skeleton-if): New command.
663 (python-insert-try/except, python-insert-try/finally): Delete commands.
664 (python-skeleton-try): New command.
665 (python-insert-while): Delete command.
666 (python-skeleton-while): New command.
667 (python-backspace): Delete command.
668 (python-indent-dedent-line-backspace): New command.
669 (python-electric-colon): Delete command.
670 (python-indent-electric-colon): New command.
671 (python-guess-indent): Delete command.
672 (python-indent-guess-indent-offset): New command.
673 (python-shift-left): Delete command.
674 (python-indent-shift-left): New command.
675 (python-shift-right): Delete command.
676 (python-indent-shift-right): New command.
677 (python-find-function): Delete command.
678 (python-nav-jump-to-defun): New command.
679 (python-next-statement): Delete command.
680 (python-nav-forward-sentence): New command.
681 (python-previous-statement): Delete command.
682 (python-nav-backward-sentence): New command.
683 (python-fill-paragraph): Delete command.
684 (python-fill-paragraph-function): New command.
685 (python-send-buffer): Delete command.
686 (python-shell-send-buffer): New command.
687 (python-send-defun): Delete command.
688 (python-shell-send-defun): New command.
689 (python-send-region, python-send-region-and-go): Delete commands.
690 (python-shell-send-region)
691 (python-shell-switch-to-shell): New commands.
692 (python-send-string): Delete command.
693 (python-shell-send-string): New command.
694 (python-switch-to-python): Delete command.
695 (python-shell-switch-to-shell): New command.
696 (python-describe-symbol): Delete command.
697 (python-eldoc-at-point): New command.
698 (python--set-prompt-regexp, python-args-to-list)
699 (python-after-info-look, python-check-version)
700 (python-check-comint-prompt, python-find-imports)
701 (python-execute-file, turn-off-pdbtrack, turn-on-pdbtrack)
702 (python-unload-function, python-expand-template)
703 (python-maybe-jython, python-preoutput-filter)
704 (python-pdbtrack-get-source-buffer)
705 (python-pdbtrack-grub-for-buffer, python-pdbtrack-overlay-arrow)
706 (python-pdbtrack-toggle-stack-tracking)
707 (python-pdbtrack-track-stack-file, python-initial-text)
708 (python-first-word, python-comment-line-p, python-send-command)
709 (python-setup-brm, python-sentinel, python-set-proc)
710 (python-skip-out, python-input-filter, python-outdent-p)
711 (python-outline-level, python-backslash-continuation-line-p)
712 (python-end-of-block, python-end-of-statement, python-mark-block)
713 (python-beginning-of-block, python-beginning-of-statement)
714 (python-blank-line-p, python-beginning-of-string)
715 (python-open-block-statement-p): Delete functions.
716 (python-indent-line, python-indent-line-1): Delete functions.
717 (python-indent-line): New function.
718 (python-indentation-levels): Delete function.
719 (python-indent-calculate-levels): New function.
720 (python-proc): Delete function.
721 (python-shell-get-process): New function.
722 (python-send-receive): Delete function.
723 (python-shell-send-string-no-output): New function.
724 (python-module-path): Delete function.
725 (python-ffap-module-path): New function.
726 (python-completion-at-point)
727 (python-symbol-completions): Delete functions.
728 (python-completion-complete-at-point): New function.
729 (python-load-file): Delete function.
730 (python-shell-send-file): New function.
731 (python-calculate-indentation): Delete function.
732 (python-indent-calculate-indentation): New function.
733 (python-skip-comments/blanks): Delete function.
734 (python-util-forward-comment): New function.
735 (python-continuation-line-p): Delete function.
736 (python-info-continuation-line-p): New function.
737 (python-which-func, python-current-defun): Delete function.
738 (python-info-current-defun): New function.
739 (python-beginning-of-defun): Delete function.
740 (python-nav-beginning-of-defun): New function.
741 (python-close-block-statement-p)
742 (python-block-end-p): Delete function.
743 (python-info-closing-block): New function.
744 (python-comint-output-filter-function)
745 (python-eldoc--get-doc-at-point, python-end-of-defun-function)
746 (python-fill-comment, python-fill-decorator, python-fill-paren)
747 (python-fill-string, python-imenu-make-element-tree)
748 (python-imenu-make-tree, python-imenu-tree-assoc)
749 (python-indent-context, python-indent-dedent-line)
750 (python-indent-line-function)
751 (python-indent-post-self-insert-function)
752 (python-indent-toggle-levels)
753 (python-info-assignment-continuation-line-p)
754 (python-info-beginning-of-backlash)
755 (python-info-block-continuation-line-p)
756 (python-info-closing-block-message)
757 (python-info-line-ends-backslash-p)
758 (python-info-looking-at-beginning-of-defun)
759 (python-info-ppss-context, python-info-ppss-context-type)
760 (python-nav-list-defun-positions, python-nav-read-defun)
761 (python-nav-sentence-end, python-nav-sentence-start)
762 (python-pdbtrack-comint-output-filter-function)
763 (python-pdbtrack-set-tracked-buffer)
764 (python-shell-calculate-exec-path)
765 (python-shell-calculate-process-environment)
766 (python-shell-completion--do-completion-at-point)
767 (python-shell-completion--get-completions)
768 (python-shell-completion-complete-at-point)
769 (python-shell-completion-complete-or-indent)
770 (python-shell-get-or-create-process)
771 (python-shell-get-process-name)
772 (python-shell-internal-get-or-create-process)
773 (python-shell-internal-get-process-name)
774 (python-shell-internal-send-string, python-shell-make-comint)
775 (python-shell-parse-command, python-shell-send-setup-code)
776 (python-skeleton-add-menu-items)
777 (python-util-clone-local-variables, python-util-position)
778 (run-python-internal, python-indentation-levels)
779 (python-nav-beginning-of-defun)
780 (python-completion-complete-at-point): New functions.
781 (run-python): Change arguments. New API requirements.
782
783 2012-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
784
785 * emacs-lisp/cl-lib.el (cl--defsubst-expand): Autoload inliner
786 (bug#11649).
787
788 * emacs-lisp/macroexp.el (macroexp--compiler-macro): New function.
789 (macroexp--expand-all): Use it.
790
791 * emacs-lisp/cl-macs.el (cl--transform-function-property): Remove.
792 (cl-define-setf-expander, cl-deftype, cl-define-compiler-macro):
793 Use `cl-function' instead.
794
795 2012-06-14 Juanma Barranquero <lekktu@gmail.com>
796
797 * makefile.w32-in (COMPILE_FIRST): Remove subr.el.
798 Suggested by Stefan Monnier while discussing bug#11657.
799
800 2012-06-14 Sam Steingold <sds@gnu.org>
801
802 * files.el (abort-if-file-too-large): Use `file-size-human-readable'.
803
804 2012-06-14 Andreas Schwab <schwab@linux-m68k.org>
805
806 * play/doctor.el (doctor-doc): Remove parameter and use
807 doctor-sent instead of sent.
808 (doctor-read-print): Use doctor-sent instead of sent. (Bug#11708)
809
810 2012-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
811
812 * files.el: Require cl-lib.
813 (file-name-non-special): Replace case -> cl-case.
814
815 * emacs-lisp/cl-macs.el (cl-defstruct): Don't add print-func.
816
817 * emacs-lisp/edebug.el (edebug-read-function): Remove old incorrect
818 mapping from #' to function*.
819
820 2012-06-13 Chong Yidong <cyd@gnu.org>
821
822 * mouse.el (mouse-drag-track): Do not set the mark if the user
823 releases the mouse without selecting anything (Bug#11588).
824
825 2012-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
826
827 * textmodes/tex-mode.el (latex-indent): Recognize tex-verbatim at EOB
828 as well (bug#11646).
829
830 * loadup.el: Count byte-code functions as well.
831
832 * emacs-lisp/byte-opt.el (featurep): Move compiler-macro...
833 * emacs-lisp/bytecomp.el (featurep): ...here (bug#11692).
834
835 * emacs-lisp/autoload.el (make-autoload): Accept nil doc-string-elt
836 (bug#11649). Add cl-defun and cl-defmacro.
837
838 2012-06-13 Drew Adams <drew.adams@oracle.com>
839
840 * help-mode.el (help-bookmark-make-record, help-bookmark-jump):
841 Fix last change.
842
843 2012-06-13 Michael Albinus <michael.albinus@gmx.de>
844
845 * net/dbus.el (dbus-call-method): Use timeout for `read-event'.
846 Otherwise, it blocks in batch mode.
847
848 2012-06-13 Juanma Barranquero <lekktu@gmail.com>
849
850 * help-mode.el (bookmark-make-record-default): Declare.
851
852 2012-06-13 Chong Yidong <cyd@gnu.org>
853
854 * emacs-lisp/package.el (list-packages): Compute a list of
855 packages that are newly-available since the last list-packages
856 invocation.
857 (package-menu--new-package-list): New var.
858 (package-menu--generate, package-menu--print-info)
859 (package-menu--status-predicate, package-menu-mark-install):
860 Handle new status label "new".
861
862 2012-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
863
864 * emacs-lisp/cl-macs.el (cl-remf): Fix error in recent
865 conversion to backquotes.
866
867 2012-06-12 Chong Yidong <cyd@gnu.org>
868
869 * emacs-lisp/edebug.el (edebug-inhibit-emacs-lisp-mode-bindings):
870 Rename from gud-inhibit-global-bindings.
871
872 * emacs-lisp/eieio.el (eieio-pre-method-execution-hooks): Doc fix.
873
874 * nxml/nxml-glyph.el (nxml-glyph-set-functions): Rename abnormal
875 hook from nxml-glyph-set-hook.
876
877 * progmodes/cwarn.el (cwarn-mode): Remove redundant variable
878 declaration.
879
880 * progmodes/pascal.el (pascal-toggle-completions): Doc fix.
881
882 * textmodes/bibtex.el (bibtex-string-file-path, bibtex-file-path):
883 Convert to defcustom.
884
885 2012-06-12 Drew Adams <drew.adams@oracle.com>
886
887 * help-mode.el (help-bookmark-make-record, help-bookmark-jump):
888 New functions.
889 (help-mode): Use them.
890
891 2012-06-11 Glenn Morris <rgm@gnu.org>
892
893 * progmodes/fortran.el (fortran-font-lock-keywords-3):
894 Use preprocessor face for directives.
895 (fortran-directive-re): Doc fix.
896
897 2012-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
898
899 * emacs-lisp/cl-macs.el (cl-parse-loop-clause): Fix error in recent
900 conversion to backquotes (bug#11652).
901
902 Fix compiler-expansion of CL's cXXr functions (bug#11673).
903 * emacs-lisp/cl-lib.el (cl--defalias): New function.
904 (cl-values, cl-values-list, cl-copy-seq, cl-svref, cl-first)
905 (cl-second, cl-rest, cl-endp, cl-third, cl-fourth): Use it.
906 (cl-plusp, cl-minusp, cl-fifth, cl-sixth, cl-seventh, cl-eighth)
907 (cl-ninth, cl-tenth): Mark them as inlinable.
908 (cl-caaar, cl-caadr, cl-cadar, cl-caddr, cl-cdaar, cl-cdadr)
909 (cl-cddar, cl-cdddr, cl-caaaar, cl-caaadr, cl-caadar, cl-caaddr)
910 (cl-cadaar, cl-cadadr, cl-caddar, cl-cadddr, cl-cdaaar, cl-cdaadr)
911 (cl-cdadar, cl-cdaddr, cl-cddaar, cl-cddadr, cl-cdddar, cl-cddddr):
912 Add a compiler-macro declaration to use cl--compiler-macro-cXXr.
913 (cl-list*, cl-adjoin): Don't put an autoload manually.
914 * emacs-lisp/cl-macs.el (cl--compiler-macro-adjoin)
915 (cl--compiler-macro-list*): Add autoload cookie.
916 (cl--compiler-macro-cXXr): New function.
917
918 * help-fns.el (help-fns--compiler-macro): New function extracted from
919 describe-function-1; follow aliases and use `compiler-macro' property.
920 (describe-function-1): Use it.
921
922 2012-06-11 Chong Yidong <cyd@gnu.org>
923
924 * startup.el (fancy-splash-head): Use splash.svg even if librsvg
925 is uninstalled, if imagemagick is installed.
926
927 2012-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
928
929 * emacs-lisp/cl-lib.el: Use lexical-binding.
930 (cl-map-extents, cl-maclisp-member): Remove.
931 (cl--set-elt, cl--set-nthcdr, cl--set-buffer-substring)
932 (cl--set-substring, cl--block-wrapper, cl--block-throw)
933 (cl--compiling-file, cl--mapcar-many, cl--do-subst): Use "cl--" prefix.
934 * emacs-lisp/cl-extra.el: Use lexical-binding.
935 (cl--mapcar-many, cl--map-keymap-recursively, cl--map-intervals)
936 (cl--map-overlays, cl--set-frame-visible-p, cl--progv-save)
937 (cl--progv-before, cl--progv-after, cl--finite-do, cl--set-getf)
938 (cl--do-remf, cl--do-prettyprint): Use "cl--" prefix.
939 * emacs-lisp/cl-seq.el: Use lexical-binding.
940 (cl--parsing-keywords, cl--check-key, cl--check-test-nokey)
941 (cl--check-test, cl--check-match): Use "cl--" prefix and backquotes.
942 (cl--alist, cl--sublis-rec, cl--nsublis-rec, cl--tree-equal-rec):
943 * emacs-lisp/cl-macs.el (cl--lambda-list-keywords): Use "cl--" prefix.
944 * edmacro.el (edmacro-mismatch): Simplify to remove dependence on
945 CL's internals.
946
947 2012-06-11 Michael Albinus <michael.albinus@gmx.de>
948
949 Sync with Tramp 2.2.6-pre.
950
951 * net/tramp-cache.el (tramp-dump-connection-properties): Let-bind
952 `print-length' and `print-level' to nil, in order to avoid
953 truncation. Reported by Christopher Schmidt
954 <christopher@ristopher.com>.
955
956 * net/tramp-cmds.el (tramp-cleanup-connection): Delete also process.
957
958 * net/tramp-compat.el (tramp-compat-condition-case-unless-debug):
959 New defmacro.
960 (tramp-compat-copy-directory): Add optional argument
961 COPY-CONTENTS. It is not handled yet.
962
963 * net/tramp-ftp.el (tramp-disable-ange-ftp): Fix docstring.
964 (tramp-ftp-file-name-p): Simplify.
965
966 * net/tramp-gvfs.el (tramp-gvfs-handle-expand-file-name):
967 * net/tramp-gw.el (tramp-gw-open-connection): Add hop to
968 connection vector.
969
970 * net/tramp-sh.el (tramp-copy-size-limit): Fix docstring.
971 (tramp-methods): Do not use `tramp-password-end-of-line'.
972 (tramp-completion-function-alist-putty): Handle UNIX case.
973 (tramp-remote-path): Add "/opt/bin", "/opt/sbin" and "/opt/local/bin".
974 (tramp-do-file-attributes-with-stat)
975 (tramp-do-directory-files-and-attributes-with-stat) Return uid and
976 gid as real numbers. They could run out of integer range on cygwin.
977 (tramp-do-copy-or-rename-file-out-of-band): Better trace format.
978 (tramp-sh-handle-expand-file-name): Handle hops.
979 (tramp-open-connection-setup-interactive-shell):
980 Use `tramp-cleanup'. Move check for busyboxes ...
981 (tramp-find-shell): ... here. Simplify implementation.
982 Set "remote-shell" property also for alternative shells.
983 (tramp-remote-coding-commands): Check "test -c /dev/stdout".
984 If failing, a regular file would be written otherwise.
985 Reported by Dmitry Kurochkin <dmitry.kurochkin@gmail.com>.
986 (tramp-find-inline-encoding): Cache the coding commands in the
987 process cache. Apply test command on the remote side, if defined.
988 (tramp-find-inline-compress): Cache the compress commands in the
989 process cache.
990 (tramp-compute-multi-hops): Save `tramp-default-proxies-alist'
991 when requested. Handle hops.
992 (tramp-current-connection): New defvar.
993 (tramp-maybe-open-connection): Use `tramp-cleanup'.
994 Throw `suppress', if there was a failed connection shortly before.
995 Handle user interrupt. (Bug#10187)
996 (tramp-get-inline-compress, tramp-get-inline-coding):
997 Read connection properties from the process cache.
998
999 * net/tramp-smb.el (tramp-smb-server-version)
1000 (tramp-smb-wrong-passwd-regexp, tramp-smb-actions-with-tar):
1001 New defconsts.
1002 (tramp-smb-prompt): Extend for powershell prompt.
1003 (tramp-smb-file-name-handler-alist): Add handlers for
1004 `process-file', `shell-command' and `start-file-process'.
1005 (tramp-smb-winexe-program, tramp-smb-winexe-shell-command)
1006 (tramp-smb-winexe-shell-command-switch): New defcustoms.
1007 (tramp-smb-file-name-p): Simplify.
1008 (tramp-smb-action-with-tar, tramp-smb-handle-process-file)
1009 (tramp-smb-kill-winexe-function, tramp-smb-call-winexe)
1010 (tramp-smb-shell-quote-argument): New defuns.
1011 (tramp-smb-handle-copy-directory): Add COPY-CONTENTS argument.
1012 Implement using "tar". By this, time-stamps are preserved.
1013 (tramp-smb-handle-copy-file): Handle also the case of directories.
1014 (tramp-smb-do-file-attributes-with-stat)
1015 (tramp-smb-get-file-entries, tramp-smb-get-cifs-capabilities):
1016 Use `tramp-get-connection-buffer').
1017 (tramp-smb-handle-rename-file): Use "rename", when source and
1018 target are on the same share.
1019 (tramp-smb-maybe-open-connection): Handle wrong passwords.
1020 Use `tramp-smb-server-version'.
1021 (tramp-smb-wait-for-output): Remove prompt.
1022
1023 * net/tramp.el (top): Require 'cl.
1024 (tramp-methods, tramp-rsh-end-of-line):
1025 Remove `tramp-password-end-of-line' from docstring.
1026 (tramp-save-ad-hoc-proxies): New defcustom.
1027 (tramp-completion-function-alist): Adapt docstring.
1028 (tramp-default-password-end-of-line): Remove defcustom.
1029 (tramp-shell-prompt-pattern): Allow "[]" style prompts. (Bug#11065)
1030 (tramp-user-regexp, tramp-file-name-regexp-unified)
1031 (tramp-file-name-regexp-url): Extend regexp by hop separator.
1032 (tramp-postfix-hop-format, tramp-postfix-hop-regexp)
1033 (tramp-remote-file-name-spec-regexp): New defconst.
1034 (tramp-file-name-structure): Extend structure for hops.
1035 (tramp-get-method-parameter): Move up.
1036 (tramp-file-name-p, tramp-dissect-file-name)
1037 (with-parsed-tramp-file-name): Handle hops.
1038 (tramp-file-name-hop): New defun.
1039 (tramp-make-tramp-file-name): New optional arg HOP.
1040 (tramp-message-show-progress-reporter-message): New defvar.
1041 (tramp-with-progress-reporter): Use it. We cannot use
1042 `tramp-message-show-message' here, because this suppresses also
1043 error buffers.
1044 (tramp-error-with-buffer): Suppress buffer view, if
1045 `tramp-message-show-message' is nil.
1046 Use `tramp-get-connection-buffer'.
1047 (tramp-cleanup): New defun.
1048 (tramp-rfn-eshadow-update-overlay): Let-bind `non-essential' to `t'.
1049 (tramp-file-name-handler): If `debug-on-error' is set, propagate
1050 an error unchanged.
1051 (tramp-completion-handle-file-name-all-completions): Handle hops.
1052 Fix an error when called from ido.
1053 (tramp-completion-dissect-file-name): Use better local variable
1054 name. Add hop to the vector.
1055 (tramp-handle-insert-file-contents): Use progress-reporter for the
1056 whole scenario.
1057 (tramp-action-password): Let-bind `enable-recursive-minibuffers'
1058 to `t'.
1059 (tramp-check-for-regexp): Simplify search.
1060 (tramp-enter-password): Remove it. Move implementation ...
1061 (tramp-action-password): ... here.
1062 (tramp-mode-string-to-int, tramp-local-host-p)
1063 (tramp-make-tramp-temp-file, tramp-read-passwd)
1064 (tramp-clear-passwd, tramp-time-less-p, tramp-time-diff):
1065 Set tramp-autoload cookie.
1066
1067 * net/trampver.el: Update release number.
1068
1069 2012-06-11 Thierry Volpiatto <thierry.volpiatto@gmail.com>
1070 Michael Albinus <michael.albinus@gmx.de>
1071
1072 * net/tramp.el (tramp-set-completion-function): Fix docstring.
1073 (tramp-parse-group, tramp-parse-file)
1074 (tramp-parse-shostkeys-sknownhosts): New defuns.
1075 (tramp-parse-rhosts, tramp-parse-rhosts-group, tramp-parse-shosts)
1076 (tramp-parse-shosts-group, tramp-parse-sconfig)
1077 (tramp-parse-sconfig-group, tramp-parse-shostkeys)
1078 (tramp-parse-sknownhosts, tramp-parse-hosts)
1079 (tramp-parse-hosts-group, tramp-parse-passwd, tramp-parse-netrc):
1080 Use them.
1081 (tramp-parse-passwd-group, tramp-parse-netrc-group)
1082 (tramp-parse-putty-group): Don't narrow.
1083 (tramp-parse-putty): Make a loop.
1084 (tramp-file-name-handler): Catch the `suppress' signal.
1085
1086 2012-06-11 Chong Yidong <cyd@gnu.org>
1087
1088 * image.el (imagemagick-register-types): Put the ImageMagick entry
1089 at the end of image-type-file-name-regexps.
1090
1091 2012-06-11 Johan Bockgård <bojohan@gnu.org>
1092
1093 * emacs-lisp/pcase.el (pcase-UPAT, pcase-QPAT): New edebug specs.
1094 (pcase, pcase-let*, pcase-dolist): Use them.
1095
1096 2012-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
1097
1098 * emacs-lisp/pcase.el (pcase--let*): New function.
1099 (pcase-let*): Use it. Use pcase--memoize to avoid repeated expansions.
1100 (pcase--expand): Use macroexp-let².
1101
1102 2012-06-10 Stefan Monnier <monnier@iro.umontreal.ca>
1103
1104 * emacs-lisp/timer.el, emacs-lisp/syntax.el, emacs-lisp/smie.el:
1105 * emacs-lisp/ewoc.el, emacs-lisp/cconv.el, emacs-lisp/bytecomp.el:
1106 * emacs-lisp/byte-opt.el, emacs-lisp/autoload.el: Convert to cl-lib.
1107 * emacs-lisp/easymenu.el, emacs-lisp/easy-mmode.el:
1108 * emacs-lisp/derived.el: Use pcase instead of `cl'.
1109 * emacs-lisp/cl-lib.el: Get rid of special cl-macs auto load.
1110
1111 2012-06-10 Glenn Morris <rgm@gnu.org>
1112
1113 * mail/rmail.el (rmail-yank-current-message): Leave point at
1114 correct position. (Bug#11660)
1115
1116 2012-06-10 Chong Yidong <cyd@gnu.org>
1117
1118 * allout-widgets.el: Fix code header.
1119
1120 2012-06-10 Chong Yidong <cyd@gnu.org>
1121
1122 * cus-edit.el (customize-changed-options-previous-release):
1123 Bump to 24.1.
1124
1125 2012-06-09 Andreas Schwab <schwab@linux-m68k.org>
1126
1127 * Makefile.in (BIG_STACK_DEPTH): Enlarge to 2200.
1128
1129 2012-06-09 Chong Yidong <cyd@gnu.org>
1130
1131 * ebuff-menu.el (electric-buffer-list): Preserve header line.
1132
1133 2012-06-09 Martin Rudalics <rudalics@gmx.at>
1134
1135 * window.el (special-display-popup-frame): Don't use
1136 window--display-buffer (Bug#11651).
1137
1138 2012-06-09 Eli Zaretskii <eliz@gnu.org>
1139
1140 Fix parallel builds: make sure loaddefs.el is not being written
1141 while Lisp files are compiled.
1142 (compile): Don't depend on 'mh-autoloads'.
1143 (compile-CMD, compile-SH): Depend on 'autoloads'.
1144 (bootstrap): Don't depend on 'autoloads' and 'mh-autoloads'.
1145
1146 * makefile.w32-in (BIG_STACK_DEPTH): Enlarge to 2200. (Bug#11649)
1147
1148 2012-06-09 Chong Yidong <cyd@gnu.org>
1149
1150 * face-remap.el (face-remap-add-relative, face-remap-set-base)
1151 (buffer-face-set, buffer-face-toggle, buffer-face-mode-invoke):
1152 Doc fixes (Bug#11225).
1153
1154 2012-06-09 Stefan Monnier <monnier@iro.umontreal.ca>
1155
1156 * emacs-lisp/macroexp.el (macroexp--expand-all): Only autoload
1157 a function if there's a clear indication that it has a compiler-macro.
1158 * emacs-lisp/byte-run.el (defun-declarations-alist, defmacro, defun)
1159 (macro-declarations-alist): Add arglist to declaration functions.
1160 (defun-declarations-alist): Add `obsolete' and `compiler-macro'.
1161 * emacs-lisp/cl-seq.el (cl-member, cl-assoc):
1162 * emacs-lisp/cl-lib.el (cl-list*, cl-adjoin):
1163 * emacs-lisp/cl-extra.el (cl-get): Use the new `declare' statement.
1164 Also add autoload to find the compiler macro.
1165 * emacs-lisp/cl-macs.el (eql) [compiler-macro]: Remove.
1166 (cl--compiler-macro-member, cl--compiler-macro-assoc)
1167 (cl--compiler-macro-adjoin, cl--compiler-macro-list*)
1168 (cl--compiler-macro-get): New functions, replacing calls to
1169 cl-define-compiler-macro.
1170 (cl-typep) [compiler-macro]: Use macroexp-let².
1171
1172 2012-06-08 Nick Dokos <nicholas.dokos@hp.com> (tiny change)
1173
1174 * calendar/icalendar.el (icalendar--parse-vtimezone): Import TZID
1175 string properly, fixes Bug#11473.
1176
1177 2012-06-08 Chong Yidong <cyd@gnu.org>
1178
1179 * faces.el (set-face-attribute): Doc fix.
1180 (modify-face): Don't use :bold and :italic.
1181 (error, warning, success): Tweak definitions.
1182
1183 * cus-edit.el (custom-modified, custom-invalid, custom-rogue)
1184 (custom-modified, custom-set, custom-changed, custom-themed)
1185 (custom-saved, custom-button, custom-button-mouse)
1186 (custom-button-pressed, custom-state, custom-comment-tag)
1187 (custom-variable-tag, custom-group-tag-1, custom-group-tag)
1188 (custom-group-subtitle): Use new-style face specs.
1189 (custom-invalid-face, custom-rogue-face, custom-modified-face)
1190 (custom-set-face, custom-changed-face, custom-saved-face)
1191 (custom-button-face, custom-button-pressed-face)
1192 (custom-documentation-face, custom-state-face)
1193 (custom-comment-face, custom-comment-tag-face)
1194 (custom-variable-tag-face, custom-variable-button-face)
1195 (custom-face-tag-face, custom-group-tag-face-1)
1196 (custom-group-tag-face): Remove obsolete face alias.
1197
1198 * epa.el (epa-validity-high, epa-validity-medium)
1199 (epa-validity-low, epa-mark, epa-field-name, epa-string)
1200 (epa-field-name, epa-field-body):
1201 * font-lock.el (font-lock-comment-face, font-lock-string-face)
1202 (font-lock-keyword-face, font-lock-builtin-face)
1203 (font-lock-function-name-face, font-lock-variable-name-face)
1204 (font-lock-type-face, font-lock-constant-face):
1205 * ido.el (ido-first-match, ido-only-match, ido-subdir)
1206 (ido-virtual, ido-indicator, ido-incomplete-regexp):
1207 * speedbar.el (speedbar-button-face, speedbar-file-face)
1208 (speedbar-directory-face, speedbar-tag-face)
1209 (speedbar-selected-face, speedbar-highlight-face)
1210 (speedbar-separator-face):
1211 * whitespace.el (whitespace-newline, whitespace-space)
1212 (whitespace-hspace, whitespace-tab, whitespace-trailing)
1213 (whitespace-line, whitespace-space-before-tab)
1214 (whitespace-space-after-tab, whitespace-indentation)
1215 (whitespace-empty):
1216 * emulation/cua-base.el (cua-global-mark):
1217 * eshell/em-prompt.el (eshell-prompt):
1218 * net/newst-plainview.el (newsticker-new-item-face)
1219 (newsticker-old-item-face, newsticker-immortal-item-face)
1220 (newsticker-obsolete-item-face, newsticker-date-face)
1221 (newsticker-statistics-face, newsticker-default-face):
1222 * net/newst-reader.el (newsticker-feed-face)
1223 (newsticker-extra-face, newsticker-enclosure-face):
1224 * net/newst-treeview.el (newsticker-treeview-face)
1225 (newsticker-treeview-new-face, newsticker-treeview-old-face)
1226 (newsticker-treeview-immortal-face)
1227 (newsticker-treeview-obsolete-face)
1228 (newsticker-treeview-selection-face):
1229 * net/rcirc.el (rcirc-my-nick, rcirc-other-nick)
1230 (rcirc-bright-nick, rcirc-server, rcirc-timestamp)
1231 (rcirc-nick-in-message, rcirc-nick-in-message-full-line)
1232 (rcirc-prompt, rcirc-track-keyword, rcirc-url, rcirc-keyword):
1233 * nxml/nxml-outln.el (nxml-heading, nxml-outline-indicator)
1234 (nxml-outline-active-indicator, nxml-outline-ellipsis):
1235 * play/mpuz.el (mpuz-unsolved, mpuz-solved, mpuz-trivial)
1236 (mpuz-text):
1237 * progmodes/vera-mode.el (vera-font-lock-number)
1238 (vera-font-lock-function, vera-font-lock-interface):
1239 * textmodes/table.el (table-cell): Use new-style face specs, and
1240 don't use the old :bold and :italic attributes.
1241
1242 * progmodes/ebrowse.el (ebrowse-tree-mark, ebrowse-root-class)
1243 (ebrowse-member-attribute, ebrowse-default, ebrowse-file-name)
1244 (ebrowse-member-class, ebrowse-progress): Likewise.
1245 (ebrowse-tree-mark-face, ebrowse-root-class-face)
1246 (ebrowse-file-name-face, ebrowse-default-face)
1247 (ebrowse-member-attribute-face, ebrowse-member-class-face)
1248 (ebrowse-progress-face): Remove obsolete faces.
1249
1250 * progmodes/flymake.el (flymake-errline, flymake-warnline):
1251 Inherit from error and warning faces respectively.
1252
1253 * textmodes/flyspell.el (flyspell-incorrect, flyspell-duplicate):
1254 Likewise.
1255 (flyspell-incorrect-face, flyspell-duplicate-face):
1256 Remove obsolete aliases.
1257
1258 2012-06-08 Michael Albinus <michael.albinus@gmx.de>
1259
1260 * net/tramp-compat.el (tramp-compat-temporary-file-directory):
1261 Avoid infloop.
1262
1263 2012-06-08 Stefan Monnier <monnier@iro.umontreal.ca>
1264
1265 * startup.el (argv, argi): Make lexically scoped.
1266 * emacs-lisp/float-sup.el (pi): Use internal-make-var-non-special.
1267 * emacs-lisp/cl-macs.el: Use lexical-binding.
1268 Rename cl-bind-* to cl--bind-*.
1269 * files.el: Don't require `cl' since it doesn't use it.
1270 * emacs-lisp/pcase.el, emacs-lisp/macroexp.el: Add coding cookie.
1271
1272 2012-06-08 Juanma Barranquero <lekktu@gmail.com>
1273
1274 * textmodes/texinfmt.el: Fix bug#11640 (reverts part of 2008-07-31T05:33:56Z!dann@ics.uci.edu).
1275 (texinfo-format-printindex): Use `texinfo-sort-region' in all platforms,
1276 instead of calling external sort utility.
1277 (texinfo-sort-region, texinfo-sort-startkeyfun): Restore functions.
1278
1279 2012-06-08 Eli Zaretskii <eliz@gnu.org>
1280
1281 * descr-text.el (describe-char): Mention how to insert the
1282 character, if the current input method doesn't support it.
1283 See the discussion in this thread for the details:
1284 http://lists.gnu.org/archive/html/emacs-devel/2012-05/msg00533.html.
1285
1286 2012-06-08 Sam Steingold <sds@gnu.org>
1287
1288 * bindings.el (global-map): Bind XF86Forward to next-buffer and
1289 XF86Back to previous-buffer.
1290 (minibuffer-local-map): Bind them to next-history-element and
1291 previous-history-element respectively.
1292 * help-mode.el (help-mode-map): Bind them to help-go-forward and
1293 help-go-back respectively.
1294 * info.el (Info-mode-map): Bind them to Info-history-forward and
1295 Info-history-back respectively.
1296 These are the keys next to Up on the ThinkPad keyboard.
1297
1298 2012-06-08 Stefan Monnier <monnier@iro.umontreal.ca>
1299
1300 Get rid of cl-lexical-let, keeping only lexical-let for compatibility.
1301 * emacs-lisp/cl-macs.el: Provide itself.
1302 (cl--labels-convert-cache): New var.
1303 (cl--labels-convert): New function.
1304 (cl-flet, cl-labels): New implementation with new semantics, relying on
1305 lexical-binding.
1306 * emacs-lisp/cl.el: Mark compatibility aliases as obsolete.
1307 (cl-closure-vars, cl--function-convert-cache)
1308 (cl--function-convert): Move from cl-macs.el.
1309 (lexical-let, lexical-let*, flet, labels): Move from cl-macs.el and
1310 rename by removing the "cl-" prefix.
1311 * emacs-lisp/macroexp.el (macroexp-unprogn): New function.
1312
1313 2012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
1314
1315 * emacs-lisp/cl.el (cl-macroexpand, cl-macro-environment)
1316 (cl-macroexpand-all, cl-not-hash-table, cl-builtin-gethash)
1317 (cl-builtin-remhash, cl-builtin-clrhash, cl-builtin-maphash)
1318 (cl-map-keymap, cl-copy-tree, cl-gethash, cl-puthash, cl-remhash)
1319 (cl-clrhash, cl-maphash, cl-make-hash-table, cl-hash-table-p)
1320 (cl-hash-table-count): Add old compatibility aliases.
1321
1322 * emacs-lisp/cl-macs.el (cl-macro-environment): Remove var.
1323 Use macroexpand-all-environment instead.
1324 (cl--old-macroexpand): New var.
1325 (cl--sm-macroexpand): New function.
1326 (cl-symbol-macrolet): Use it during macro expansion.
1327 (cl--function-convert-cache): New var.
1328 (cl--function-convert): New function, extracted from
1329 cl-macroexpand-all.
1330 (cl-lexical-let): Use it.
1331
1332 * emacs-lisp/cl-lib.el (cl-macro-environment): Remove decl.
1333 (cl-macroexpand): Move to cl-macs.el and rename to cl--sm-macroexpand.
1334 (cl-member): Remove old alias.
1335
1336 * emacs-lisp/cl-extra.el (cl-map-keymap, cl-copy-tree)
1337 (cl-not-hash-table, cl-builtin-gethash, cl-builtin-remhash)
1338 (cl-builtin-clrhash, cl-builtin-maphash, cl-gethash, cl-puthash)
1339 (cl-remhash, cl-clrhash, cl-maphash, cl-make-hash-table)
1340 (cl-hash-table-p, cl-hash-table-count): Move to cl.el.
1341 (cl-macroexpand-cmacs): Remove var.
1342 (cl-macroexpand-all, cl-macroexpand-body): Remove funs.
1343 Use macroexpand-all instead.
1344
1345 2012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
1346
1347 * emacs-lisp/macroexp.el (macroexp-progn, macroexp-let*, macroexp-if)
1348 (macroexp-let², macroexp--const-symbol-p, macroexp-const-p)
1349 (macroexp-copyable-p): New functions and macros.
1350 * emacs-lisp/edebug.el (edebug-unwrap):
1351 * emacs-lisp/disass.el (disassemble-internal): Use macroexp-progn.
1352 * emacs-lisp/pcase.el: Use macroexp-let*, macroexp-if, ...
1353 (pcase--let*): Remove.
1354 * emacs-lisp/bytecomp.el (byte-compile-const-symbol-p)
1355 (byte-compile-constp): Remove. Use macroexp--const-symbol-p and
1356 macroexp-const-p instead.
1357 * emacs-lisp/byte-opt.el: Use macroexp-const-p and macroexp-progn.
1358
1359 * emacs-lisp/cl-macs.el: Clean up the name space by using "cl--"
1360 instead of "cl-" for internal definitions. Use macroexp-const-p.
1361 (cl-old-bc-file-form): Remove var.
1362 (cl-const-exprs-p): Remove fun.
1363 (cl-labels, cl-macrolet): Use backquote.
1364 (cl-lexical-let): Use cl-symbol-macrolet. Don't use cl-defun-expander.
1365 (cl-defun-expander, cl-byte-compile-compiler-macro): Remove fun.
1366 (cl-define-setf-expander): Rename from cl-define-setf-method.
1367 * emacs-lisp/cl.el: Adjust alias for define-setf-method.
1368
1369 * international/mule-cmds.el: Don't require CL.
1370 (view-hello-file): Don't use `letf'.
1371
1372 2012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
1373
1374 * tmm.el (tmm-prompt): Use string-prefix-p.
1375 (tmm-completion-delete-prompt): Don't affect current-buffer outside.
1376 (tmm-add-prompt): Use minibuffer-completion-help.
1377 (tmm-delete-map): Remove.
1378
1379 * subr.el (kbd): Make it its own function.
1380
1381 2012-06-07 Stefan Merten <smerten@oekonux.de>
1382
1383 * textmodes/rst.el: Use `eval-when-compile' for requiring `cl.el'.
1384 Silence compiler warnings. Fix versions.
1385 (rst-position-if, rst-position, rst-some, rst-signum): New functions.
1386 (rst-shift-region, rst-adornment-level, rst-compute-tabs)
1387 (rst-indent-line, rst-shift-region, rst-forward-line): Use them.
1388 (rst-package-emacs-version-alist): Correct Emacs version to
1389 represent major merge with upstream.
1390 (rst-transition, rst-adornment, rst-compile-toolsets): Fix versions.
1391
1392 2012-06-06 Glenn Morris <rgm@gnu.org>
1393
1394 * mail/emacsbug.el (report-emacs-bug): Add relevant EMACS env-vars.
1395 Only print environment variables if set.
1396
1397 2012-06-06 Stefan Monnier <monnier@iro.umontreal.ca>
1398
1399 * emacs-lisp/macroexp.el: Don't require CL since we don't use it.
1400 (macroexp--cons): Rename from maybe-cons.
1401 (macroexp--accumulate): Rename from macroexp-accumulate.
1402 (macroexp--all-forms): Rename from macroexpand-all-forms.
1403 (macroexp--all-clauses): Rename from macroexpand-all-clauses.
1404 (macroexp--expand-all): Rename from macroexpand-all-1.
1405
1406 2012-06-06 Sam Steingold <sds@gnu.org>
1407
1408 * calendar/calendar.el (calendar-in-read-only-buffer):
1409 Call `special-mode' to enable the standard read-only keybindings.
1410
1411 2012-06-06 Stefan Monnier <monnier@iro.umontreal.ca>
1412
1413 * emacs-lisp/macroexp.el (macroexpand-all-1): Don't spam the output
1414 with "loading" messages (bug#11635).
1415
1416 2012-06-06 Michael Albinus <michael.albinus@gmx.de>
1417
1418 * files.el (enable-remote-dir-locals): New option.
1419 (hack-dir-local-variables): Use it. (Bug#1933, Bug#6731)
1420
1421 * net/tramp-compat.el (tramp-compat-temporary-file-directory):
1422 Ensure, that the temp directory is local.
1423
1424 * net/tramp-sh.el (tramp-sh-handle-write-region): Let-bind
1425 `temporary-file-directory'.
1426
1427 * progmodes/python.el (python-send-region): Ensure, that the
1428 temporary file is created also in the remote case.
1429
1430 2012-06-06 Glenn Morris <rgm@gnu.org>
1431
1432 * vc/vc-rcs.el (vc-rcs-rcs2log-program): New.
1433 (vc-rcs-update-changelog): Use it.
1434
1435 * emacs-lisp/authors.el (authors-fixed-entries): Remove vcdiff
1436
1437 * vc/vc-sccs.el (vc-sccs-write-revision): New function.
1438 (vc-sccs-workfile-unchanged-p): Use vc-sccs-write-revision.
1439 (vc-sccs-diff): Replace use of the external vcdiff script.
1440
1441 2012-06-05 Glenn Morris <rgm@gnu.org>
1442
1443 * ledit.el: Move to obsolete/.
1444
1445 2012-06-05 Sam Steingold <sds@gnu.org>
1446
1447 * calendar/calendar.el (calendar-exit): reinstate the 2012-03-28
1448 patch (Bug#11140).
1449
1450 2012-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
1451
1452 * emacs-list/cust-print.el: Move to obsolete.
1453
1454 * emacs-lisp/macroexp.el (macroexpand-all-1): Tolerate errors during
1455 compiler-macro expansion.
1456
1457 Add native compiler-macro support.
1458 * emacs-lisp/macroexp.el (macroexpand-all-1):
1459 Support compiler-macros directly. Properly follow aliases and apply
1460 the compiler macros more thoroughly.
1461 * emacs-lisp/cl.el: Don't copy compiler-macro properties any more since
1462 macroexpand now properly follows aliases.
1463 * emacs-lisp/cl-macs.el (toplevel, cl-define-compiler-macro)
1464 (cl-compiler-macroexpand): Use new prop.
1465 * emacs-lisp/byte-opt.el (featurep): Optimize earlier.
1466
1467 * emacs-lisp/cl-lib.el (custom-print-functions): Add alias.
1468
1469 2012-06-05 Martin Rudalics <rudalics@gmx.at>
1470
1471 * window.el (get-lru-window, get-mru-window, get-largest-window):
1472 New argument NOT-SELECTED to avoid picking the selected window.
1473 (window--display-buffer-1, window--display-buffer-2): Replace by
1474 new function window--display-buffer
1475 (display-buffer-same-window, display-buffer-reuse-window)
1476 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
1477 Use window--display-buffer.
1478 (display-buffer-use-some-window): Remove temporary dedication
1479 hack by calling get-lru-window and get-largest-window with
1480 NOT-SELECTED argument non-nil. Call window--display-buffer.
1481
1482 2012-06-05 Glenn Morris <rgm@gnu.org>
1483
1484 * vc/vc-sccs.el (vc-sccs-workfile-unchanged-p):
1485 Replace external vcdiff script.
1486
1487 2012-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
1488
1489 * emacs-lisp/cl-lib.el (cl-values, cl-values-list): Fix up last change.
1490
1491 2012-06-04 Chong Yidong <cyd@gnu.org>
1492
1493 * image.el (imagemagick-types-inhibit): Revert last change.
1494 Add INFO and M.
1495 (imagemagick-enabled-types): Remove CIN and EPS*.
1496
1497 2012-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
1498
1499 * emacs-lisp/cl-lib.el: Rename from cl.el.
1500 * emacs-lisp/cl.el: New compatibility file.
1501 * emacs-lisp/cl-lib.el, emacs-lisp/cl-seq.el, emacs-lisp/cl-macs.el:
1502 * emacs-lisp/cl-extra.el: Rename all top-level functions and variables
1503 to obey the "cl-" prefix.
1504 * emacs-lisp/macroexp.el (macroexpand-all-1): Adjust to new name.
1505
1506 2012-06-03 Glenn Morris <rgm@gnu.org>
1507
1508 * emacs-lisp/authors.el (authors-aliases): Addition.
1509
1510 * cus-start.el (tool-bar-style, tool-bar-max-label-size):
1511 Fix :version.
1512
1513 2012-06-03 Stefan Merten <smerten@oekonux.de>
1514
1515 * textmodes/rst.el: Add comments.
1516 (rst-transition, rst-adornment): New faces.
1517 (rst-adornment-faces-alist): Make default safe to reevaluate.
1518 Fixes
1519 http://sourceforge.net/tracker/?func=detail&atid=422030&aid=3479603&group_id=38414.
1520 Improve customization tags.
1521 (rst-define-level-faces): Clarify meaning.
1522
1523 2012-06-03 Chong Yidong <cyd@gnu.org>
1524
1525 * progmodes/compile.el (compilation-mode-line-fail)
1526 (compilation-mode-line-run, compilation-mode-line-exit):
1527 New faces.
1528 (compilation-start, compilation-handle-exit): Use them (Bug#11032).
1529
1530 2012-06-03 Jack Duthen <duthen.mac.01@gmail.com> (tiny change)
1531
1532 * progmodes/which-func.el (which-func-update-ediff-windows):
1533 New function. Use it in ediff-select-hook (Bug#11478).
1534
1535 2012-06-03 Chong Yidong <cyd@gnu.org>
1536
1537 * bindings.el: Remove explicit help text from format-mode-line.
1538 It is now supplied by mode-line-default-help-echo.
1539 (mode-line-front-space, mode-line-end-spaces)
1540 (mode-line-misc-info): New variables.
1541 (mode-line-modes, mode-line-position): Move the default value to
1542 the variable definition.
1543 (mode-line-default-help-echo): New defcustom.
1544 (mode-line-mule-info-help-echo, mode-line-read-only-help-echo)
1545 (mode-line-modified-help-echo): New functions.
1546 (mode-line-mule-info, mode-line-modified): Use them.
1547 (mode-line-eol-desc, propertized-buffer-identification):
1548 Consistency fixes for help text.
1549 (mode-line-coding-system-map): Allow using mouse-3 to invoke
1550 set-buffer-file-coding-system (Bug#289).
1551 (mode-line-mule-info-help-echo): Update help text.
1552
1553 2012-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
1554
1555 * simple.el (execute-extended-command): Set real-this-command
1556 (bug#11506).
1557
1558 2012-06-02 Chong Yidong <cyd@gnu.org>
1559
1560 Remove incorrect uses of "modeline" in comments, docstrings, and
1561 function/variable names (Bug#10329).
1562
1563 * cus-edit.el (mode-line):
1564 * dframe.el (dframe-mouse-hscroll):
1565 * emacs-lisp/re-builder.el:
1566 * emacs-lisp/easy-mmode.el (define-minor-mode):
1567 * frame.el (set-frame-name):
1568 * help.el (lookup-minor-mode-from-indicator):
1569 * net/rcirc.el (rcirc-activity-string, rcirc-short-buffer-name):
1570 * progmodes/cc-cmds.el (c-toggle-auto-newline)
1571 (c-toggle-hungry-state):
1572 * progmodes/antlr-mode.el (antlr-language-alist):
1573 * progmodes/idlw-shell.el (idlwave-shell-electric-stop-line-face):
1574 * progmodes/vhdl-mode.el (vhdl-mode):
1575 * progmodes/which-func.el (which-func, which-func-cleanup-function):
1576 * term/ns-win.el (ns-face-at-pos):
1577 * term/sup-mouse.el (sup-mouse-report):
1578 * textmodes/flyspell.el (flyspell-mode-line-string):
1579 * textmodes/ispell.el (ispell-highlight-face):
1580 * textmodes/reftex-global.el:
1581 * vc/vc-arch.el (vc-arch-mode-line-string):
1582 * vc/vc-cvs.el (vc-cvs-mode-line-string):
1583 * vc/vc-git.el (vc-git-mode-line-string):
1584 * vc/vc-hooks.el (vc-display-status)
1585 (vc-default-mode-line-string):
1586 * vc/vc-mtn.el (vc-mtn-mode-line-string): Doc fixes.
1587
1588 * ansi-color.el (ansi-color-faces-vector): Change default faces.
1589
1590 * dired.el (dired-sort-set-mode-line): Rename from
1591 dired-sort-set-modeline. All callers changed.
1592
1593 * eshell/esh-mode.el (eshell-status-in-mode-line): Rename from
1594 eshell-status-in-modeline.
1595
1596 * foldout.el (foldout-mode-line-string): Rename from
1597 foldout-modeline-string. All callers changed.
1598 (foldout-update-mode-line): Rename from foldout-update-modeline.
1599
1600 * subr.el (redraw-modeline): Make into obsolete alias.
1601
1602 * calendar/timeclock.el (timeclock-mode-line-display): Rename from
1603 timeclock-modeline-display. Make old name an alias.
1604 (timeclock-update-mode-line): Likewise. All callers changed.
1605 (timeclock-mode-line-display): No need to check before using
1606 add-hook.
1607 (timeclock-relative, timeclock-day-over-hook)
1608 (timeclock-use-elapsed, timeclock-mode-string)
1609 (timeclock-mode-line-display): Doc fix, "modeline" -> "mode line".
1610
1611 * emulation/crisp.el (crisp-mode-mode-line-string): Rename from
1612 crisp-mode-modeline-string.
1613
1614 * play/solitaire.el (solitaire-build-mode-line): Rename from
1615 solitaire-build-modeline. All callers changed.
1616
1617 * play/zone.el (zone-hiding-mode-line): Rename from
1618 zone-hiding-modeline. All callers changed.
1619 (zone): Remove unusued `modeline-hidden-level' property.
1620
1621 * progmodes/xscheme.el (xscheme-mode-line-initialize): Rename from
1622 xscheme-modeline-initialize. All callers changed.
1623
1624 * strokes.el (strokes-lighter): Rename from
1625 strokes-modeline-string.
1626
1627 * textmodes/sgml-mode.el (html-face-tag-alist)
1628 (html-tag-face-alist): Use mode-line face instead of obsolete
1629 alias modeline.
1630
1631 2012-06-02 Stefan Merten <smerten@oekonux.de>
1632
1633 * textmodes/rst.el: Always require `cl'.
1634 (rst-mode-map): Fix meaning of C-M-a / C-M-e.
1635
1636 2012-06-02 Chong Yidong <cyd@gnu.org>
1637
1638 * image.el (imagemagick-enabled-types): Rename from
1639 imagemagick-types-enable. Add many more types.
1640 (imagemagick-types-inhibit): Change default to nil.
1641 (imagemagick-filter-types): Caller changed.
1642
1643 2012-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
1644
1645 * emacs-lisp/cl-macs.el: Use backquotes.
1646 (cl-transform-function-property): Use eval-and-compile rather than
1647 abusing `require'.
1648 (defstruct): Use declare-function instead of with-no-warnings.
1649
1650 * emacs-lisp/bytecomp.el: Fix last change (bug#11594).
1651 (byte-compile-output-docform): Re-add the print-circle bindings.
1652 (byte-compile-fix-header): Use #$ just because it's shorter.
1653 (byte-compile-output-file-form): Remove defun/defmacro.
1654
1655 2012-06-01 Martin Rudalics <rudalics@gmx.at>
1656
1657 * simple.el (choose-completion): Remove now obsolete binding for
1658 owindow.
1659
1660 2012-06-01 Michael Albinus <michael.albinus@gmx.de>
1661
1662 * net/tramp.el (tramp-check-for-regexp): Search from buffer end,
1663 in order to avoid "Stack overflow in regexp matcher".
1664
1665 2012-05-31 Glenn Morris <rgm@gnu.org>
1666
1667 * image.el: For clarity, call imagemagick-register-types at
1668 top-level, rather than relying on a custom :initialize.
1669 (imagemagick-types-enable): New option. (Bug#11557)
1670 (imagemagick-filter-types): New function. (Bug#7406)
1671 (imagemagick-register-types): Use imagemagick-filter-types.
1672 If disabling support, remove elements altogether rather
1673 than using an impossible regexp.
1674 (imagemagick-types-inhibit): Give it the default init function.
1675
1676 2012-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
1677
1678 * emacs-lisp/bytecomp.el (byte-compile-fix-header):
1679 Handle arbitrary file name lengths (Bug#11585).
1680
1681 2012-05-31 Martin Rudalics <rudalics@gmx.at>
1682
1683 * desktop.el (desktop-read): Clear previous and next buffers for
1684 all windows and bury *Messages* buffer (bug#11556).
1685
1686 2012-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
1687
1688 Add `declare' for `defun'. Align `defmacro's with it.
1689 * emacs-lisp/easy-mmode.el (define-minor-mode)
1690 (define-globalized-minor-mode): Don't autoload the var definitions.
1691 * emacs-lisp/byte-run.el: Use lexical-binding.
1692 (defun-declarations-alist, macro-declarations-alist): New vars.
1693 (defmacro, defun): Use them.
1694 (make-obsolete, define-obsolete-function-alias)
1695 (make-obsolete-variable, define-obsolete-variable-alias):
1696 Use `declare'.
1697 (macro-declaration-function): Mark obsolete.
1698 * emacs-lisp/autoload.el: Use lexical-binding.
1699 (make-autoload): Add `expansion' arg. Rely more on macro expansion.
1700
1701 2012-05-30 Agustín Martín Domingo <agustin.martin@hispalinux.es>
1702
1703 * textmodes/ispell.el (ispell-with-no-warnings):
1704 Define as a macro.
1705 (ispell-kill-ispell, ispell-change-dictionary):
1706 Use `called-interactively-p' for Emacs instead of obsolete
1707 `interactive-p'.
1708
1709 2012-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
1710
1711 * emacs-lisp/byte-run.el (defmacro, defun): Move from C.
1712 (macro-declaration-function): Move var from C code.
1713 (macro-declaration-function): Define function with defalias.
1714 * emacs-lisp/macroexp.el (macroexpand-all-1):
1715 * emacs-lisp/cconv.el (cconv-convert, cconv-analyse-form):
1716 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker): Don't handle
1717 defun/defmacro any more.
1718 * emacs-lisp/bytecomp.el (byte-compile-arglist-signature):
1719 Provide fallback for unknown arglist.
1720 (byte-compile-arglist-warn): Change calling convention.
1721 (byte-compile-output-file-form): Move print-vars binding.
1722 (byte-compile-output-docform): Simplify accordingly.
1723 (byte-compile-file-form-defun, byte-compile-file-form-defmacro)
1724 (byte-compile-defmacro-declaration): Remove.
1725 (byte-compile-file-form-defmumble): Generalize to defalias.
1726 (byte-compile-output-as-comment): Return byte-positions.
1727 Simplify callers accordingly.
1728 (byte-compile-lambda): Use `assert'.
1729 (byte-compile-defun, byte-compile-defmacro): Remove.
1730 (byte-compile-file-form-defalias):
1731 Use byte-compile-file-form-defmumble.
1732 (byte-compile-defalias-warn): Remove.
1733
1734 2012-05-29 Stefan Merten <smerten@oekonux.de>
1735
1736 * textmodes/rst.el: Silence `checkdoc-ispell' errors where
1737 possible. Fix authors. Improve comments. Improve loading of `cl'.
1738
1739 (rst-mode-abbrev-table): Merge definition.
1740 (rst-mode): Make sure `font-lock-defaults' is buffer local.
1741 (rst-define-key, rst-deprecated-keys, rst-call-deprecated): Refactor.
1742
1743 2012-05-29 Ulf Jasper <ulf.jasper@web.de>
1744
1745 * calendar/icalendar.el
1746 (icalendar-export-region): Export UID properly.
1747
1748 2012-05-29 Leo <sdl.web@gmail.com>
1749 * calendar/icalendar.el (icalendar-import-format):
1750 Add `icalendar-import-format-uid' (Bug#11525).
1751 (icalendar-import-format-uid): New.
1752 (icalendar--parse-summary-and-rest, icalendar--format-ical-event):
1753 Export UID.
1754
1755 2012-05-29 Stefan Monnier <monnier@iro.umontreal.ca>
1756
1757 * emacs-lisp/pcase.el (pcase--expand): Accept different sets of vars in
1758 different alternative patterns.
1759 (pcase-codegen): Be more careful to preserve identity.
1760 (pcase--u1): Don't forget to mark vars as used.
1761
1762 * emacs-lisp/bytecomp.el (byte-compile-constp): Treat #'v as a constant.
1763 (byte-compile-close-variables): Bind byte-compile--outbuffer here...
1764 (byte-compile-from-buffer): ...rather than here.
1765
1766 * emacs-lisp/byte-opt.el (byte-compile-inline-expand): Don't re-preprocess
1767 functions from byte-compile-function-environment.
1768
1769 2012-05-29 Troels Nielsen <bn.troels@gmail.com>
1770
1771 * window.el (window-deletable-p): Avoid deleting the root window
1772 of a frame with an active minibuffer.
1773
1774 2012-05-29 Martin Rudalics <rudalics@gmx.at>
1775
1776 * simple.el (choose-completion): Use quit-window (Bug#11567).
1777
1778 2012-05-29 Chong Yidong <cyd@gnu.org>
1779
1780 * whitespace.el (whitespace-cleanup): Fix usage of
1781 whitespace-empty-at-bob-regexp (Bug#11492).
1782
1783 2012-05-29 Aaron S. Hawley <aaron.s.hawley@gmail.com>
1784
1785 * vc/vc.el (vc-revert, vc-rollback): Dont kill vc-diff buffer on
1786 revert (Bug#11488).
1787
1788 2012-05-29 Juri Linkov <juri@jurta.org>
1789
1790 * isearch.el (isearch-mode-map): Bind `M-s _' to
1791 `isearch-toggle-symbol'. Bind `M-s c' to
1792 `isearch-toggle-case-fold'.
1793 (search-map): Bind `M-s _' to `isearch-forward-symbol'.
1794 (isearch-forward): Add `M-s _' to the docstring.
1795 (isearch-forward-symbol, isearch-toggle-case-fold)
1796 (isearch-symbol-regexp): New functions. (Bug#11381)
1797
1798 2012-05-29 Juri Linkov <juri@jurta.org>
1799
1800 * isearch.el (isearch-word): Add docstring. (Bug#11381)
1801 (isearch-occur, isearch-search-and-update): If `isearch-word' is
1802 a function, call it to get the regexp.
1803 (isearch-message-prefix): If `isearch-word' holds a symbol, use its
1804 property `isearch-message-prefix' instead of the string "word ".
1805 (isearch-search-fun-default): For the case of `isearch-word',
1806 return a lambda that calls re-search-forward/re-search-backward
1807 with a regexp returned by `word-search-regexp' or by the function
1808 in `isearch-word'.
1809
1810 2012-05-29 Juri Linkov <juri@jurta.org>
1811
1812 * isearch.el (isearch-search-fun-default): New function.
1813 (isearch-search-fun): Move default part to the new function
1814 `isearch-search-fun-default'.
1815 (isearch-search-fun-function): Set the default value to
1816 `isearch-search-fun-default'. (Bug#11381)
1817
1818 * comint.el (comint-history-isearch-end):
1819 Use `isearch-search-fun-default'.
1820 (comint-history-isearch-search): Use `isearch-search-fun-default'
1821 and remove spacial case for `isearch-word'.
1822 (comint-history-isearch-wrap): Remove spacial case for
1823 `isearch-word'.
1824
1825 * hexl.el (hexl-isearch-search-function):
1826 Use `isearch-search-fun-default'.
1827
1828 * info.el (Info-isearch-search): Use `isearch-search-fun-default'.
1829 Use `word-search-regexp' for `isearch-word'.
1830
1831 * misearch.el (multi-isearch-search-fun):
1832 Use `isearch-search-fun-default'.
1833
1834 * simple.el (minibuffer-history-isearch-search):
1835 Use `isearch-search-fun-default' and remove spacial case for
1836 `isearch-word'.
1837 (minibuffer-history-isearch-wrap): Remove spacial case for
1838 `isearch-word'.
1839
1840 * textmodes/reftex-global.el (reftex-isearch-wrap-function):
1841 Remove spacial case for `isearch-word'.
1842 (reftex-isearch-isearch-search): Use `isearch-search-fun-default'.
1843
1844 2012-05-28 Agustín Martín Domingo <agustin.martin@hispalinux.es>
1845
1846 Decrease XEmacs incompatibilities.
1847 * textmodes/flyspell.el (flyspell-check-pre-word-p):
1848 Use `string-match'.
1849 (flyspell-delete-region-overlays): Use alternative definition for
1850 XEmacs.
1851 (flyspell-delete-all-overlays): Use `flyspell-delete-region-overlays'.
1852 (flyspell-word): Use `process-kill-without-query' if XEmacs.
1853 (flyspell-mode-on): Use `interactive-p' if XEmacs.
1854 (flyspell-incorrect-face, flyspell-duplicate-face): Do not use
1855 `define-obsolete-face-alias' under XEmacs, but old method.
1856
1857 * textmodes/ispell.el (ispell-with-no-warnings): XEmacs alternative
1858 `with-no-warnings' definition or Emacs alias.
1859 (ispell-command-loop, ispell-message): Use `ispell-with-no-warnings'.
1860 (ispell-word): Do not use `region-p' if XEmacs.
1861
1862 2012-05-28 Agustín Martín Domingo <agustin.martin@hispalinux.es>
1863
1864 * textmodes/ispell.el (ispell-find-aspell-dictionaries):
1865 Check for `ispell-dictionary-base-alist' instead of full
1866 `ispell-dictionary-alist'.
1867 (ispell-init-process): Show spellchecker when starting new Ispell
1868 process.
1869
1870 2012-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
1871
1872 * progmodes/vhdl-mode.el: Sync with upstream 3.33.28.
1873 http://www.iis.ee.ethz.ch/~zimmi/emacs/vhdl-mode.html#release-notes-3.33
1874
1875 2012-05-27 Juanma Barranquero <lekktu@gmail.com>
1876
1877 * version.el (motif-version-string, gtk-version-string)
1878 (ns-version-string): Declare.
1879
1880 2012-05-27 Juri Linkov <juri@jurta.org>
1881
1882 * emacs-lisp/lisp-mode.el (eval-defun-2): Use `eval-sexp-add-defvars'
1883 after the `eval-defun-1' specialcaseing
1884 like in `edebug-eval-defun' (bug#10181).
1885
1886 * emacs-lisp/edebug.el (edebug-eval-defun): Set `face-documentation'
1887 like in `eval-defun-1'.
1888
1889 2012-05-27 Eli Zaretskii <eliz@gnu.org>
1890
1891 * mail/sendmail.el (mail-yank-region):
1892 Recognize rmail-yank-current-message in addition to insert-buffer.
1893 Fixes mail-mode's "C-c C-r" that otherwise does nothing when invoked in
1894 a *mail* buffer created through rmail-start-mail with sendmail as
1895 mail-user-agent.
1896
1897 2012-05-27 Chong Yidong <cyd@gnu.org>
1898
1899 * net/gnutls.el (gnutls-min-prime-bits): Improve docstring.
1900 Default to 256 (Bug#11267).
1901
1902 * help.el (describe-mode): Doc fix.
1903
1904 2012-05-26 Glenn Morris <rgm@gnu.org>
1905
1906 * w32-fns.el (w32-init-info): Remove.
1907 * paths.el (Info-default-directory-list): Add w32-init-info equivalent.
1908
1909 * info.el (info-initialize): For self-contained NS builds, put the
1910 included info/ directory at the front. (Bug#2791)
1911
1912 * paths.el (Info-default-directory-list): Make it a defcustom,
1913 mainly so that we can use custom-initialize-delay.
1914
1915 2012-05-26 Stefan Monnier <monnier@iro.umontreal.ca>
1916
1917 * subr.el (buffer-has-markers-at): Mark obsolete.
1918
1919 * subr.el (lambda): Use declare.
1920
1921 * emacs-lisp/lisp-mode.el (lambda):
1922 * emacs-lisp/edebug.el (lambda): Move properties to its definition.
1923
1924 2012-05-26 Aaron S. Hawley <aaron.s.hawley@gmail.com>
1925
1926 * thingatpt.el (forward-same-syntax): Handle no ARG case. (Bug#11560)
1927
1928 2012-05-26 Glenn Morris <rgm@gnu.org>
1929
1930 * progmodes/cc-mode.el (auto-mode-alist): Fix typo.
1931
1932 2012-05-25 Glenn Morris <rgm@gnu.org>
1933
1934 * paths.el: Remove no-byte-compile.
1935 * loadup.el: No need to load paths.el uncompiled.
1936
1937 * image.el (imagemagick-types-inhibit): Doc fix.
1938
1939 * version.el: Remove no-byte-compile and associated formatting.
1940 * loadup.el: No need to load version.el uncompiled. AFAICS, this
1941 is ancient code from when there was an "inc-vers.el".
1942
1943 2012-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
1944
1945 * progmodes/gdb-mi.el: Minor style changes.
1946 (gdb-enable-debug, gdb-speedbar-auto-raise, gdb-many-windows):
1947 Turn into minor modes.
1948 (gdb--if-arrow): Rename from gdb-if-arrow, make it hygienic.
1949 (gdb-mouse-until, gdb-mouse-jump): Adjust uses accordingly.
1950 (gdb-shell): Remove unneeded let-binding.
1951 (gdb-get-many-fields): Eliminate O(n²) behavior.
1952
1953 2012-05-25 Eli Zaretskii <eliz@gnu.org>
1954
1955 * cus-start.el <vertical-centering-font-regexp>: Avoid warning on
1956 platforms that don't link in fontset.c.
1957
1958 2012-05-25 Juri Linkov <juri@jurta.org>
1959
1960 Use the same diff color scheme as in modern VCSes (bug#10181).
1961
1962 * vc/diff-mode.el (diff-header, diff-file-header): Remove "green"
1963 to avoid confusion with `diff-added' that now uses green colors.
1964 (diff-removed): Use shades of red.
1965 (diff-added): Use shades of green.
1966 (diff-changed): Leave just the yellow color.
1967 (diff-use-changed-face): New variable.
1968 (diff-font-lock-keywords): Use `diff-use-changed-face' to decide
1969 how to highlight context diff changes.
1970 (diff-refine-change): Use shades of yellow.
1971 (diff-refine-removed): New face that uses shades of red.
1972 (diff-refine-added): New face that uses shades of green.
1973 (diff-refine-hunk): Use `diff-refine-change', `diff-refine-added',
1974 `diff-refine-removed' in the call to `smerge-refine-subst'
1975 depending on the value of `diff-use-changed-face'.
1976
1977 * vc/smerge-mode.el (smerge-mine): Use shades of red.
1978 (smerge-other): Use shades of green.
1979 (smerge-base): Use shades of yellow.
1980 (smerge-refined-change): Empty face.
1981 (smerge-refined-removed): New face that uses shades of red.
1982 (smerge-refined-added): New face that uses shades of green.
1983 (smerge-refine-subst): Rename arg `props' to `props-c'. Add new
1984 args `props-r' and `props-a', and use them. Doc fix.
1985 (smerge-refine): Evaluate `smerge-use-changed-face' and depending
1986 on its value use different faces `smerge-refined-change',
1987 `smerge-refined-removed', `smerge-refined-added' in the call to
1988 `smerge-refine-subst'.
1989
1990 * vc/ediff-init.el (ediff-current-diff-A, ediff-fine-diff-A):
1991 Add face condition `min-colors 88' with shades of red.
1992 (ediff-current-diff-B, ediff-fine-diff-B): Add face condition
1993 `min-colors 88' with shades of green.
1994 (ediff-current-diff-C, ediff-fine-diff-C): Add face condition
1995 `min-colors 88' with shades of yellow.
1996
1997 2012-05-24 Glenn Morris <rgm@gnu.org>
1998
1999 * paths.el (prune-directory-list, remote-shell-program): Move to...
2000 * files.el (prune-directory-list, remote-shell-program): ...here.
2001 For the latter, delay initialization, prefer ssh, just search PATH.
2002
2003 * paths.el (term-file-prefix): Move to faces.el (the only user).
2004 * faces.el (term-file-prefix): Move here, make it a defcustom.
2005
2006 * paths.el (news-directory, news-path, news-inews-program):
2007 Move to gnus/nnspool.el.
2008
2009 * paths.el (gnus-default-nntp-server): Remove (gnus.el defines it).
2010
2011 * paths.el (rmail-file-name, rmail-spool-directory): Move from here...
2012 * mail/rmail.el (rmail-file-name, rmail-spool-directory): ... to here.
2013 Make the latter a defcustom, with a delayed initialization.
2014
2015 * paths.el (gnus-nntp-service, gnus-local-organization): Remove.
2016 These were deleted from Gnus itself late 2010.
2017
2018 2012-05-22 Juanma Barranquero <lekktu@gmail.com>
2019
2020 * progmodes/which-func.el (which-func-ff-hook):
2021 Check against user-error, not error.
2022
2023 * emacs-lisp/edebug.el (top): Do not load or set up loading of
2024 cl-specs.el, which no longer exists.
2025
2026 2012-05-22 Glenn Morris <rgm@gnu.org>
2027
2028 * info.el (info-emacs-bug): New command.
2029 * menu-bar.el (menu-bar-help-menu): Add "How to Report a Bug" to Help.
2030 * mail/emacsbug.el (report-emacs-bug): Replace with info-emacs-bug.
2031
2032 2012-05-21 Glenn Morris <rgm@gnu.org>
2033
2034 * makefile.w32-in (update-subdirs-SH):
2035 * Makefile.in (update-subdirs): Update for moved update-subdirs.
2036
2037 2012-05-21 Stefan Monnier <monnier@iro.umontreal.ca>
2038
2039 * hi-lock.el (hi-lock-face-defaults): Move obsolete before definition.
2040
2041 * progmodes/compile.el (compilation-error-regexp-alist-alist):
2042 Simplify Maven regexp, and make sure the file can't start with a space
2043 (bug#11517).
2044
2045 2012-05-21 Glenn Morris <rgm@gnu.org>
2046
2047 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
2048 Scrap superfluous subshells.
2049
2050 2012-05-19 Stefan Monnier <monnier@iro.umontreal.ca>
2051
2052 * emacs-lisp/bytecomp.el (byte-compile-root-dir): New var.
2053 (byte-compile-warning-prefix, batch-byte-compile-file): Use it.
2054
2055 2012-05-19 Jay Belanger <jay.p.belanger@gmail.com>
2056
2057 * calc/calc.el (calc-ensure-consistent-units): New variable.
2058
2059 * calc/calc-units.el (math-consistent-units-p)
2060 (math-check-unit-consistency): New functions.
2061 (calc-quick-units, calc-convert-units):
2062 Use `math-check-unit-consistency' when `calc-ensure-consistent-units'
2063 is non-nil.
2064 (calc-extract-units): Fix typo.
2065
2066 2012-05-18 Stefan Monnier <monnier@iro.umontreal.ca>
2067
2068 * vc/vc-bzr.el (vc-bzr-state-heuristic): Save match-data around sha1.
2069
2070 * textmodes/flyspell.el: Commenting style, plus code simplifications.
2071 (flyspell-default-deplacement-commands): Don't spell check after
2072 repeated window/frame switches (e.g. triggered by mouse-movement).
2073 (flyspell-delay-commands, flyspell-deplacement-commands): Use mapc.
2074 (flyspell-debug-signal-word-checked): Simplify and fit in 80 cols.
2075 (flyspell-casechars-cache, flyspell-ispell-casechars-cache)
2076 (flyspell-not-casechars-cache, flyspell-ispell-not-casechars-cache):
2077 Remove unused vars.
2078 (flyspell-get-casechars, flyspell-get-not-casechars):
2079 Simplify; Don't bother removing a ] just to add it back.
2080 * textmodes/ispell.el (ispell-program-name): Use executable-find.
2081
2082 2012-05-18 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
2083
2084 * calc/calc-lang.el (math-C-parse-bess, math-C-parse-fma):
2085 New functions.
2086 (math-function-table): Add support for more C functions.
2087
2088 2012-05-18 Agustín Martín Domingo <agustin.martin@hispalinux.es>
2089
2090 * flyspell.el (flyspell-check-pre-word-p, flyspell-check-word-p)
2091 (flyspell-debug-signal-word-checked): Protect delay handling for
2092 otherchars against empty otherchars.
2093
2094 2012-05-18 Stefan Monnier <monnier@iro.umontreal.ca>
2095
2096 * emacs-lisp/lisp-mode.el (doc-string-elt): Move those properties to
2097 their respective macro declarations.
2098 * skeleton.el (define-skeleton):
2099 * progmodes/compile.el (define-compilation-mode):
2100 * ibuf-macs.el (define-ibuffer-sorter, define-ibuffer-op)
2101 (define-ibuffer-filter):
2102 * emacs-lisp/generic.el (define-generic-mode):
2103 * emacs-lisp/easy-mmode.el (define-minor-mode)
2104 (define-globalized-minor-mode):
2105 * emacs-lisp/cl-macs.el (defun*, defmacro*, defstruct, deftype):
2106 * emacs-lisp/byte-run.el (defsubst):
2107 * custom.el (deftheme): Add doc-string metadata.
2108
2109 2012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
2110
2111 * emacs-lisp/cl-macs.el, emacs-lisp/cl.el: Move indent info.
2112
2113 2012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
2114
2115 * emacs-lisp/pcase.el (pcase--u1): Avoid ((lambda ...) ...).
2116
2117 * emacs-lisp/cl.el: Add edebug specs from cl-specs.el.
2118 * emacs-lisp/cl-macs.el: Idem.
2119 * emacs-lisp/cl-specs.el: Remove.
2120
2121 2012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
2122
2123 Minor renaming of internal CL functions and variables.
2124 * emacs-lisp/cl-seq.el (cl--adjoin): Rename from cl-adjoin.
2125 (cl--position): Rename from cl-position.
2126 (cl--delete-duplicates): Rename from cl-delete-duplicates.
2127 * emacs-lisp/cl.el (cl--gensym-counter): Rename from *gensym-counter*.
2128 (cl--random-state): Rename from *random-state*.
2129
2130 2012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
2131
2132 * emacs-lisp/cl-macs.el (cl-transform-lambda): Don't add spurious
2133 parens around the arg list (bug#11499).
2134
2135 2012-05-17 Juri Linkov <juri@jurta.org>
2136
2137 * isearch.el (word-search-regexp, word-search-backward)
2138 (word-search-forward, word-search-backward-lax)
2139 (word-search-forward-lax): Move functions from search.c
2140 (bug#10145, bug#11381).
2141
2142 2012-05-16 Agustín Martín Domingo <agustin.martin@hispalinux.es>
2143
2144 * flyspell.el (flyspell-check-pre-word-p, flyspell-check-word-p)
2145 (flyspell-debug-signal-word-checked): Delay for otherchars as for
2146 normal word components.
2147
2148 2012-05-16 Stefan Monnier <monnier@iro.umontreal.ca>
2149
2150 * minibuffer.el (completion--sifn-requote): Fix last change.
2151 (minibuffer-local-must-match-filename-map):
2152 Move define-obsolete-variable-alias before its var.
2153
2154 2012-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
2155
2156 * emacs-lisp/pcase.el (pcase-let*, pcase-let): Fix edebug spec.
2157
2158 * minibuffer.el (completion--sifn-requote): Handle sifn's truncation
2159 behavior.
2160 (completion--string-equal-p): New function.
2161 (completion--twq-all): Use it to get better assertion failure data.
2162
2163 Only handle ".." and '..' quoting in shell-mode (bug#11466).
2164 * shell.el (shell--unquote&requote-argument, shell--unquote-argument)
2165 (shell--requote-argument): New functions.
2166 (shell-completion-vars): Use them.
2167 (shell--parse-pcomplete-arguments): Rename from
2168 shell-parse-pcomplete-arguments.
2169 * comint.el (comint-word): Obey comint-file-name-quote-list. Simplify.
2170 (comint--unquote&requote-argument): Don't handle ".." and '..' quoting.
2171 Obey comint-file-name-quote-list.
2172
2173 * emacs-lisp/smie.el (smie-indent--bolp-1): New function.
2174 (smie-indent-keyword): Use it.
2175
2176 2012-05-14 Stefan Merten <smerten@oekonux.de>
2177
2178 * textmodes/rst.el (rst-re-alist): Fix loading (bug#11462).
2179
2180 2012-05-14 Stefan Monnier <monnier@iro.umontreal.ca>
2181
2182 * net/rlogin.el (rlogin-mode-map): Fix last change.
2183
2184 2012-05-14 Jason L. Wright <jason.wright@inl.gov> (tiny change)
2185
2186 * mail/smtpmail.el (smtpmail-send-command): Send the command and
2187 the following \r\n using a single `process-send-string', since the
2188 Lotus SMTP server refuses to accept any commands if they are sent
2189 with two `process-send-string's (Bug#11444).
2190
2191 2012-05-14 Stefan Monnier <monnier@iro.umontreal.ca>
2192
2193 * shell.el (shell-parse-pcomplete-arguments):
2194 Obey pcomplete-arg-quote-list inside double-quoted args (Bug#11348).
2195
2196 2012-05-14 Wolfgang Jenkner <wjenkner@inode.at>
2197
2198 * image-mode.el: Fit to width/height for rotated images (Bug#11431).
2199 (image-transform-scale, image-transform-right-angle-fudge): New vars.
2200 (image-transform-width, image-transform-fit-width): New functions.
2201 (image-transform-properties): Use them.
2202 (image-transform-check-size): New function.
2203 (image-toggle-display-image): Use it (for testing).
2204 (image-transform-set-rotation): Reduce angle mod 360.
2205 Delete obsolete comment.
2206
2207 2012-05-14 Wolfgang Jenkner <wjenkner@inode.at>
2208
2209 * image-mode.el: Fix scaling (bug#11399).
2210 (image-transform-resize): Doc fix.
2211 (image-transform-properties): Default scale is 1 and height should
2212 be an integer.
2213
2214 2012-05-13 Johan Bockgård <bojohan@gnu.org>
2215
2216 * emacs-lisp/smie.el (smie-next-sexp): Use accessor `op-forw' rather
2217 than hard-coding `car', to fix misbehavior when moving forward.
2218
2219 2012-05-13 Chong Yidong <cyd@gnu.org>
2220
2221 * emacs-lisp/tabulated-list.el (tabulated-list-format)
2222 (tabulated-list-entries, tabulated-list-padding)
2223 (tabulated-list-sort-key): Make permanent-local.
2224
2225 * ebuff-menu.el: Adapt to Buffer Menu changes (Bug#11455).
2226 (electric-buffer-list): Put electric buffer menu
2227 command descriptions in this docstring, instead of the docstring
2228 of electric-buffer-menu-mode. Code cleanups.
2229 (electric-buffer-menu-mode): Use define-derived-mode. Rename from
2230 Electric-buffer-menu-mode.
2231 (electric-buffer-update-highlight): Minor code cleanup.
2232
2233 2012-05-13 Michael Albinus <michael.albinus@gmx.de>
2234
2235 * net/dbus.el (dbus-call-method): Restore events not from D-Bus.
2236 (Bug#11447)
2237
2238 2012-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
2239
2240 Move define-obsolete-variable-alias before the var's definition.
2241 * vc/log-edit.el (vc-comment-ring, vc-comment-ring-index):
2242 * tooltip.el (tooltip-hook):
2243 * textmodes/reftex-toc.el (reftex-toc-map):
2244 * textmodes/reftex-sel.el (reftex-select-label-map)
2245 (reftex-select-bib-map):
2246 * textmodes/reftex-index.el (reftex-index-map)
2247 (reftex-index-phrases-map):
2248 * speedbar.el (speedbar-syntax-table, speedbar-key-map):
2249 * progmodes/meta-mode.el (meta-mode-map):
2250 * novice.el (disabled-command-hook):
2251 * loadhist.el (unload-hook-features-list):
2252 * frame.el (blink-cursor):
2253 * files.el (find-file-not-found-hooks, write-file-hooks)
2254 (write-contents-hooks):
2255 * emulation/tpu-edt.el (GOLD-map):
2256 * emacs-lock.el (emacs-lock-from-exiting):
2257 * emacs-lisp/generic.el (generic-font-lock-defaults):
2258 * emacs-lisp/chart.el (chart-map):
2259 * dos-fns.el (register-name-alist):
2260 * dired-x.el (dired-omit-files-p):
2261 * desktop.el (desktop-enable):
2262 * cus-edit.el (custom-mode-hook):
2263 * buff-menu.el (buffer-menu-mode-hook):
2264 * bookmark.el (bookmark-read-annotation-text-func)
2265 (bookmark-exit-hooks):
2266 * allout.el (allout-mode-deactivate-hook)
2267 (allout-exposure-change-hook, allout-structure-added-hook)
2268 (allout-structure-deleted-hook, allout-structure-shifted-hook):
2269 * dirtrack.el (dirtrack-toggle, dirtrackp, dirtrack-debug-toggle)
2270 (dirtrack-debug): Move call to define-obsolete-variable-alias so it
2271 comes before the corresponding variable's definition.
2272
2273 2012-05-12 Chong Yidong <cyd@gnu.org>
2274
2275 * buff-menu.el (Buffer-menu-buffer+size-width): Doc fix (Bug#11454).
2276 (Buffer-menu-mouse-select): Restore function (Bug#11459).
2277 (Buffer-menu-mode-map): Bind it.
2278 (Buffer-menu--pretty-name): Add a mouse-face property.
2279
2280 2012-05-11 Stefan Monnier <monnier@iro.umontreal.ca>
2281
2282 * progmodes/prolog.el: Use SMIE. Cleanup regexp setup.
2283 (prolog-upper-case-string, prolog-lower-case-string)
2284 (prolog-atom-char-regexp, prolog-atom-regexp): Initialize in defconst.
2285 (prolog-use-smie, prolog-smie-grammar): New vars.
2286 (prolog-smie-forward-token, prolog-smie-backward-token)
2287 (prolog-smie-rules): New funs.
2288 (prolog-comment-indent): Remove.
2289 (prolog-mode-variables): Use default comment indentation instead.
2290 Setup SMIE.
2291 (prolog-build-case-strings, prolog-set-atom-regexps): Remove.
2292 (prolog-mode): Don't call them any more.
2293 (prolog-electric-colon, prolog-electric-dash)
2294 (prolog-edit-menu-insert-move): Use indent-according-to-mode.
2295
2296 * dabbrev.el (dabbrev-expand): Make "no expansion found" a user-error.
2297
2298 * minibuffer.el (completion--twq-all): Again, allow case differences.
2299
2300 * term.el: Move keymap initialization code to be more idiomatic.
2301 (term-signals-menu, term-mode-map, term-raw-map, term-raw-escape-map)
2302 (term-terminal-menu): Move initialization into declaration.
2303 (term-escape-char): Let the user set it in her .emacs.
2304
2305 * progmodes/sh-script.el: Use post-self-insert-hook&electric-pair-mode.
2306 Provide SMIE-based indentation (not enabled by default yet).
2307 (sh-mode-map): Don't bind electric keys.
2308 Use electric-pair-mode instead of skeleton-pair.
2309 (sh-assignment-regexp): Fit within 80 columns.
2310 (sh-indent-supported): Specify actual shell name instead of boolean.
2311 (sh--maybe-here-document): New fun, from sh-maybe-here-document.
2312 (sh-maybe-here-document): Use it. Make obsolete.
2313 (sh-electric-here-document-mode) New minor mode.
2314 (sh-mode): Use it. Don't set sh-indent-supported-here here.
2315 (sh-smie-sh-grammar, sh-smie--sh-operators, sh-smie--sh-operators-re)
2316 (sh-smie--sh-operators-back-re, sh-indent-after-continuation)
2317 (sh-smie-rc-grammar, sh-use-smie): New vars.
2318 (sh-smie--keyword-p, sh-smie--newline-semi-p, sh-smie--sh-keyword-p)
2319 (sh-smie-sh-forward-token, sh-smie--looking-back-at-continuation-p)
2320 (sh-smie-sh-backward-token, sh-smie--continuation-start-indent)
2321 (sh-smie-sh-rules, sh-smie-rc-rules, sh-smie--sh-keyword-in-p)
2322 (sh-smie--rc-after-special-arg-p, sh-smie-rc-backward-token)
2323 (sh-smie-sh-rules, sh-smie--rc-newline-semi-p): New functions.
2324 (sh-set-shell): Use smie-setup if requested.
2325
2326 * term.el (term-set-escape-char): Properly set term-escape-char.
2327 See http://stackoverflow.com/questions/10524656.
2328
2329 2012-05-10 Chong Yidong <cyd@gnu.org>
2330
2331 * ffap.el (ffap-url-unwrap-local): Make it work right (Bug#9131).
2332 Use url-generic-parse-url, and handle host names and Windows
2333 filenames properly.
2334 (ffap-url-unwrap-remote): Use url-generic-parse-url.
2335 (ffap-url-unwrap-remote): Accept list values, specifying a list of
2336 URL schemes to work on.
2337 (ffap--toggle-read-only): New function.
2338 (ffap-read-only, ffap-read-only-other-window)
2339 (ffap-read-only-other-frame): Use it.
2340 (ffap-fixup-url): Don't check ffap-ftp-regexp, since it is not
2341 necessary for ffap-url-unwrap-remote.
2342
2343 2012-05-10 Dave Abrahams <dave@boostpro.com>
2344
2345 * cus-start.el (create-lockfiles): Add it.
2346
2347 2012-05-09 Chong Yidong <cyd@gnu.org>
2348
2349 * net/browse-url.el (browse-url-url-encode-chars): Use upper-case.
2350 (browse-url-encode-url): Encode spaces and quotes (Bug#6300).
2351
2352 2012-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
2353
2354 * shell.el (shell-completion-vars): Fix last change (bug#11348).
2355
2356 2012-05-09 Chong Yidong <cyd@gnu.org>
2357
2358 * ansi-color.el (ansi-color-process-output): Check for validity of
2359 comint-last-output-start before using it. This avoids a bad
2360 interaction with gdb-mi's input/output buffer.
2361
2362 2012-05-09 Glenn Morris <rgm@gnu.org>
2363
2364 * files.el (dir-locals-read-from-file):
2365 Mention dir-locals in any error message.
2366
2367 2012-05-09 Chong Yidong <cyd@gnu.org>
2368
2369 * emacs-lisp/package.el (package-built-in-p): Handle the `emacs'
2370 package (Bug#11410).
2371
2372 * emacs-lisp/package.el (package-buffer-info): Avoid putting local
2373 variables into description.
2374
2375 2012-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
2376
2377 * shell.el (shell-completion-vars): Set pcomplete-arg-quote-list like
2378 shell-delimiter-argument-list (bug#11348).
2379 (shell-parse-pcomplete-arguments): Obey pcomplete-arg-quote-list.
2380
2381 2012-05-09 Juanma Barranquero <lekktu@gmail.com>
2382
2383 * textmodes/rst.el: Silence byte-compiler warnings.
2384 (rst-re-alist, rst-reset-section-caches): Move around.
2385 (rst-re): Use `characterp', not `char-valid-p'.
2386 (font-lock-beg, font-lock-end): Declare.
2387
2388 * progmodes/idlw-shell.el (specs): Remove reference to deleted
2389 variable `idlwave-shell-activate-alt-keybindings' and simplify.
2390
2391 * eshell/esh-cmd.el (eshell-debug-command): Fix typo in previous change.
2392
2393 2012-05-08 Glenn Morris <rgm@gnu.org>
2394
2395 * files.el (auto-mode-alist): Treat ".make" like ".mk".
2396
2397 2012-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
2398
2399 * vc/log-edit.el: Add GNU coding standards highlighting.
2400 (log-edit-font-lock-gnu-style)
2401 (log-edit-font-lock-gnu-keywords): New vars.
2402 (log-edit-font-lock-keywords): New fun.
2403 (log-edit-mode): Don't fold case in font-lock.
2404 (log-edit-font-lock-keywords): Do not assume case-folding.
2405
2406 * imenu.el: Misc cleanup. Make docstrings out of comments.
2407 Use lexical-binding.
2408 (imenu--index-alist, imenu--last-menubar-index-alist)
2409 (imenu-menubar-modified-tick): Use defvar-local.
2410 (imenu--split-menu): Remove unused var.
2411 (imenu--cleanup-seen): Declare as global.
2412 (imenu--cleanup): Use dolist.
2413
2414 * subr.el (defvar-local): Add debug spec and doc-string position.
2415
2416 2012-05-08 Glenn Morris <rgm@gnu.org>
2417
2418 * lisp/language/burmese.el, language/cham.el, language/czech.el:
2419 * language/english.el, language/georgian.el, language/greek.el:
2420 * language/japanese.el, language/khmer.el, language/korean.el:
2421 * language/lao.el, language/misc-lang.el, language/romanian.el:
2422 * language/sinhala.el, language/slovak.el, language/tai-viet.el:
2423 * language/thai.el, language/utf-8-lang.el:
2424 Remove no-byte-compile setting.
2425
2426 * play/zone.el (zone-pgm-stress): Don't pollute kill-ring. (Bug#11388)
2427
2428 2012-05-08 Aaron S. Hawley <aaron.s.hawley@gmail.com>
2429
2430 * progmodes/make-mode.el (makefile-browse):
2431 Remove unnecessary interactive. (Bug#11324)
2432
2433 2012-05-07 Glenn Morris <rgm@gnu.org>
2434
2435 * forms-d2.el, forms-pass.el: Move to ../etc/forms directory.
2436
2437 * international/mule.el (find-auto-coding): Make "unibyte: t" obsolete.
2438
2439 2012-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
2440
2441 * loadup.el: Preload newcomment.el.
2442 * newcomment.el: Move autoload-only code to toplevel.
2443
2444 * buff-menu.el (list-buffers--refresh): Mark `size' as right-align.
2445 * emacs-lisp/tabulated-list.el (tabulated-list-init-header):
2446 Handle new :right-align column property.
2447 (tabulated-list-print-col): Idem, plus use `display' text-property to
2448 try and preserve alignment for variable pitch fonts.
2449
2450 2012-05-07 Chong Yidong <cyd@gnu.org>
2451
2452 * emacs-lisp/tabulated-list.el: Add no-header-line alternative.
2453 (tabulated-list-use-header-line): New var.
2454 (tabulated-list-init-header): Use it.
2455 (tabulated-list-print-fake-header): New function.
2456 (tabulated-list-print): Use it.
2457 (tabulated-list-sort-button-map): Add non-header-line commands.
2458 (tabulated-list-init-header): Add column name property to basic
2459 labels as well.
2460 (tabulated-list-col-sort): Handle non-header-line button case.
2461 (tabulated-list--sort-by-column-name): Fix a corner case.
2462
2463 * buff-menu.el (list-buffers--refresh):
2464 Handle Buffer-menu-use-header-line.
2465
2466 2012-05-06 Chong Yidong <cyd@gnu.org>
2467
2468 * buff-menu.el: Convert to Tabulated List mode.
2469 (Buffer-menu-buffer+size-width): Make obsolete.
2470 (Buffer-menu-name-width, Buffer-menu-size-width): New variables.
2471 (Buffer-menu-mode-map): Inherit from tabulated-list-mode-map.
2472 (Buffer-menu-mode): Derive from tabulated-list-mode. Move command
2473 documentation into docstring of buffer-menu.
2474 (Buffer-menu-toggle-files-only): Add an informative message.
2475 (Buffer-menu-sort): Convert to alias for tabulated-list-sort.
2476 (Buffer-menu-buffer, Buffer-menu-beginning, Buffer-menu-mark)
2477 (Buffer-menu-unmark, Buffer-menu-backup-unmark)
2478 (Buffer-menu-delete, Buffer-menu-save, Buffer-menu-not-modified)
2479 (Buffer-menu-execute, Buffer-menu-select)
2480 (Buffer-menu-marked-buffers, Buffer-menu-toggle-read-only)
2481 (Buffer-menu-bury): Use Tabulated List machinery.
2482 (Buffer-menu-mouse-select, Buffer-menu-sort-by-column)
2483 (Buffer-menu-sort-button-map, Buffer-menu-make-sort-button):
2484 Delete.
2485 (list-buffers--refresh): New function.
2486 (list-buffers-noselect): Use it.
2487 (tabulated-list-entry-size->, Buffer-menu--pretty-name)
2488 (Buffer-menu--pretty-file-name): New helper functions.
2489
2490 * loadup.el: Preload tabulated-list.
2491
2492 * emacs-lisp/tabulated-list.el (tabulated-list-sort): Rename from
2493 tabulated-list-sort-column.
2494 (tabulated-list-init-header): Add the initial aligning space even
2495 if tabulated-list-padding is zero.
2496
2497 2012-05-06 Christopher Schmidt <christopher@ch.ristopher.com>
2498
2499 * emacs-lisp/cl-macs.el (cl-expr-contains): Handle cons cells
2500 whose cdr is not a cons cell correctly (bug#11038).
2501
2502 2012-05-06 Chong Yidong <cyd@gnu.org>
2503
2504 * emacs-lisp/tabulated-list.el (tabulated-list-format):
2505 Accept additional plist in column descriptors.
2506 (tabulated-list-init-header): Obey it.
2507 (tabulated-list-get-entry): New function.
2508 (tabulated-list-put-tag): Use it. Use string-width instead of
2509 length.
2510 (tabulated-list--column-number): New function.
2511 (tabulated-list-print): Use it.
2512 (tabulated-list-print-col): New function.
2513 Set `tabulated-list-column-name' property on each column's text.
2514 (tabulated-list-print-entry): Use it.
2515 (tabulated-list-delete-entry, tabulated-list-set-col):
2516 New functions.
2517 (tabulated-list-sort-column): New command (Bug#11337).
2518
2519 * buff-menu.el (list-buffers): Move C-x C-b binding from
2520 buff-menu.el to bindings.el.
2521
2522 * ebuff-menu.el (Electric-buffer-menu-undefined): Use the
2523 :advertised-binding feature.
2524
2525 2012-05-06 Troels Nielsen <bn.troels@gmail.com> (tiny change)
2526
2527 * progmodes/compile.el (compilation-internal-error-properties):
2528 Calculate start position correctly when end-col is set but
2529 end-line is not (Bug#11382).
2530
2531 2012-05-06 Wolfgang Jenkner <wjenkner@inode.at>
2532
2533 * man.el (Man-unindent): Use text-property-default-nonsticky to
2534 prevent untabify from inheriting face properties (Bug#11408).
2535
2536 2012-05-05 Stefan Merten <smerten@oekonux.de>
2537
2538 * textmodes/rst.el: Major merge with upstream development up to
2539 Docutils SVN r7399 / rst.el V1.2.1.
2540
2541 Clarify maintainership and authors.
2542
2543 (rst-extract-version, rst-cvs-header, rst-cvs-rev)
2544 (rst-cvs-timestamp, rst-svn-rev, rst-svn-timestamp)
2545 (rst-official-version, rst-official-cvs-rev, rst-version)
2546 (rst-package-emacs-version-alist): New functions and variables
2547 for version information.
2548
2549 (rst-bullets, rst-uri-schemes, rst-adornment-chars)
2550 (rst-max-inline-length, rst-re-alist-def, rst-re-alist)
2551 (rst-mode-syntax-table, rst-mode): New and corrected functions
2552 and variables representing reStructuredText features.
2553
2554 (rst-re): New function for reStructuredText regexes. Use in
2555 many places.
2556
2557 (rst-deprecated-keys, rst-call-deprecated, rst-define-key)
2558 (rst-mode-map): Rebind keys.
2559
2560 (rst-mode-lazy, rst-font-lock-keywords)
2561 (rst-font-lock-extend-region)
2562 (rst-font-lock-extend-region-internal)
2563 (rst-font-lock-extend-region-extend)
2564 (rst-font-lock-find-unindented-line-limit)
2565 (rst-font-lock-find-unindented-line-match)
2566 (rst-adornment-level, rst-font-lock-adornment-level)
2567 (rst-font-lock-adornment-match)
2568 (rst-font-lock-handle-adornment-pre-match-form)
2569 (rst-font-lock-handle-adornment-matcher): Major revision of
2570 font-locking. Integrate with other code. Use `jit-lock-mode'.
2571
2572 (rst-preferred-adornments, rst-adjust-hook)
2573 (rst-new-adornment-down, rst-preferred-bullets)
2574 (rst-preferred-bullets, rst-indent, rst-indent-width)
2575 (rst-indent-field, rst-indent-literal-normal)
2576 (rst-indent-literal-minimized, rst-indent-comment): Change,
2577 extend and improve customization.
2578
2579 (rst-line-homogeneous-p, rst-line-homogeneous-nodent-p)
2580 (rst-normalize-cursor-position, rst-get-decoration)
2581 (rst-straighten-deco-spacing, rst-re-bullets, rst-re-items)
2582 (rst-rstrip, rst-toc-insert-find-delete-contents)
2583 (rst-shift-fill-region, rst-compute-bullet-tabs)
2584 (rst-debug-print-tabs, rst-debug-mark-found)
2585 (rst-shift-region-guts, rst-shift-region-right)
2586 (rst-shift-region-left, rst-use-char-classes)
2587 (rst-font-lock-keywords-function)
2588 (rst-font-lock-indentation-point)
2589 (rst-font-lock-find-unindented-line-begin)
2590 (rst-font-lock-find-unindented-line-end)
2591 (rst-font-lock-find-unindented-line)
2592 (rst-font-lock-adornment-point, rst-font-lock-level)
2593 (rst-adornment-level-alist): Remove functions and variables.
2594
2595 (rst-compare-adornments, rst-get-adornment-match)
2596 (rst-suggest-new-adornment, rst-get-adornments-around)
2597 (rst-adornment-complete-p, rst-get-next-adornment)
2598 (rst-adjust-adornment, rst-display-adornments-hierarchy)
2599 (rst-straighten-adornments): Standardize function names to
2600 use "adornment" instead of "decoration". Correct callers.
2601 Similar standardizing in many places.
2602
2603 (rst-update-section, rst-adjust, rst-promote-region)
2604 (rst-enumerate-region, rst-bullet-list-region)
2605 (rst-repeat-last-character): Correct use of `interactive'.
2606
2607 (rst-classify-adornment, rst-find-all-adornments)
2608 (rst-get-hierarchy, rst-adjust-adornment, rst-toc-update)
2609 (rst-find-leftmost-column, rst-repeat-last-character):
2610 Refactor functions.
2611
2612 (rst-find-title-line, rst-reset-section-caches)
2613 (rst-get-adornments-around, rst-adjust-adornment-work)
2614 (rst-arabic-to-roman, rst-roman-to-arabic)
2615 (rst-insert-list-pos, rst-insert-list-new-item)
2616 (rst-insert-list-continue, rst-insert-list, rst-forward-line):
2617 New functions.
2618
2619 (rst-all-sections, rst-section-hierarchy)
2620 (rst-arabic-to-roman, rst-initial-enums, rst-initial-items):
2621 New variables.
2622
2623 (rst-toc-return-wincfg, rst-toc-quit-window): Use window
2624 configuration instead of only buffer. Change where necessary.
2625
2626 (rst-line-tabs, rst-compute-tabs, rst-indent-line)
2627 (rst-shift-region, rst-adaptive-fill): New functions for
2628 indentation and filling.
2629
2630 (rst-comment-line-break, rst-comment-indent)
2631 (rst-comment-insert-comment, rst-comment-region)
2632 (rst-uncomment-region): New functions for handling comments.
2633
2634 (rst-compile): Quote shell arguments.
2635
2636 (rst-compile-pdf-preview, rst-compile-slides-preview):
2637 Delete temporary files after use.
2638
2639 2012-05-05 Glenn Morris <rgm@gnu.org>
2640
2641 * calendar/cal-html.el: Optionally include holidays in the output.
2642 Suggested by Ed Reingold <reingold@emr.cs.iit.edu>.
2643 (cal-html-holidays): New option.
2644 (cal-html-css-default): Add holiday entry.
2645 (holiday-in-range): Autoload it.
2646 (cal-html-htmlify-entry): Add optional class argument.
2647 (cal-html-htmlify-list): Add optional holidays argument.
2648 (cal-html-insert-agenda-days): Include holidays in the output.
2649 (cal-html-one-month): Maybe include holidays.
2650
2651 * calendar/holidays.el (holiday-in-range):
2652 Move here from cal-tex-list-holidays.
2653 * calendar/cal-tex.el (cal-tex-list-holidays):
2654 Make it an obsolete alias for holiday-in-range. Update all callers.
2655
2656 2012-05-05 Chong Yidong <cyd@gnu.org>
2657
2658 * select.el (xselect--encode-string): Always use utf-8 for TEXT on
2659 Nextstep.
2660
2661 2012-05-05 Ransom Williams <auvergnerw@gmail.com> (tiny change)
2662
2663 * files.el (file-auto-mode-skip): New var.
2664 (set-auto-mode-1): Use it.
2665
2666 2012-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
2667
2668 * repeat.el: Use lexical-binding.
2669 (repeat-last-self-insert, repeat-num-input-keys-at-self-insert)
2670 (repeat-undo-count): Remove.
2671 (repeat):
2672 * progmodes/octave-mod.el (octave-abbrev-start):
2673 * progmodes/f90.el (f90-abbrev-start):
2674 * face-remap.el (text-scale-adjust):
2675 * kmacro.el (kmacro-call-macro): Use set-temporary-overlay-map.
2676
2677 * emacs-lisp/pcase.el (pcase--let*): New function.
2678 (pcase--expand, pcase-codegen, pcase--q1): Use it to reduce nesting
2679 a bit more.
2680 (pcase--split-pred): Be more clever about ruling out overlap between
2681 a predicate and some constant pattern.
2682 (pcase--q1): Use `null' instead of (eq foo nil).
2683
2684 * subr.el (setq-local, defvar-local): New macros.
2685 (kbd): Redefine as an alias.
2686 (with-selected-window): Leave unrelated frames alone.
2687 (set-temporary-overlay-map): New function.
2688
2689 2012-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
2690
2691 * subr.el (user-error): New function.
2692 * window.el (switch-to-buffer):
2693 * vc/smerge-mode.el (smerge-resolve-function, smerge-resolve)
2694 (smerge-match-conflict):
2695 * simple.el (previous-matching-history-element)
2696 (next-matching-history-element, goto-history-element, undo-more)
2697 (undo-start):
2698 * progmodes/etags.el (visit-tags-table-buffer, find-tag-tag)
2699 (find-tag-noselect, find-tag-in-order, etags-goto-tag-location)
2700 (next-file, tags-loop-scan, list-tags, complete-tag):
2701 * progmodes/compile.el (compilation-loop):
2702 * mouse.el (mouse-minibuffer-check):
2703 * man.el (Man-bgproc-sentinel, Man-goto-page):
2704 * info.el (Info-find-node-2, Info-extract-pointer, Info-history-back)
2705 (Info-history-forward, Info-follow-reference, Info-menu)
2706 (Info-extract-menu-item, Info-extract-menu-counting)
2707 (Info-forward-node, Info-backward-node, Info-next-menu-item)
2708 (Info-last-menu-item, Info-next-preorder, Info-last-preorder)
2709 (Info-next-reference, Info-prev-reference, Info-index)
2710 (Info-index-next, Info-follow-nearest-node)
2711 (Info-copy-current-node-name):
2712 * imenu.el (imenu--make-index-alist)
2713 (imenu-default-create-index-function, imenu-add-to-menubar):
2714 * files.el (basic-save-buffer, recover-file):
2715 * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
2716 * emacs-lisp/checkdoc.el (checkdoc-continue, checkdoc-comments)
2717 (checkdoc-message-text, checkdoc-defun):
2718 * dabbrev.el (dabbrev-completion, dabbrev--abbrev-at-point):
2719 * cus-edit.el (customize-changed-options, customize-rogue)
2720 (customize-saved, custom-variable-set, custom-variable-mark-to-save)
2721 (custom-variable-mark-to-reset-standard)
2722 (custom-variable-reset-backup, custom-face-mark-to-reset-standard)
2723 (custom-file):
2724 * completion.el (check-completion-length):
2725 * comint.el (comint-search-arg)
2726 (comint-previous-matching-input-string-position)
2727 (comint-previous-matching-input)
2728 (comint-replace-by-expanded-history-before-point, comint-send-input)
2729 (comint-copy-old-input, comint-backward-matching-input)
2730 (comint-goto-process-mark, comint-set-process-mark):
2731 * calendar/calendar.el (calendar-cursor-to-date): Use it.
2732 * bindings.el (debug-ignored-errors): Remove regexps, add `user-error'.
2733
2734 2012-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
2735
2736 * dabbrev.el (dabbrev--ignore-case-p): New function.
2737 (dabbrev-completion, dabbrev-expand, dabbrev--substitute-expansion):
2738 Use it.
2739
2740 * files.el (automount-dir-prefix): Mark as obsolete.
2741
2742 2012-05-04 Glenn Morris <rgm@gnu.org>
2743
2744 * patcomp.el, play/bruce.el: Move to obsolete/.
2745
2746 2012-05-04 Paul Eggert <eggert@cs.ucla.edu>
2747
2748 Fix minor Y10k bugs.
2749 * arc-mode.el (archive-unixdate):
2750 * autoinsert.el (auto-insert-alist):
2751 * calc/calc-forms.el (math-this-year):
2752 * emacs-lisp/copyright.el (copyright-current-year)
2753 (copyright-update-year, copyright):
2754 * tar-mode.el (tar-clip-time-string):
2755 * time.el (display-time-update):
2756 Don't assume years have 4 digits.
2757
2758 2012-05-04 Chong Yidong <cyd@gnu.org>
2759
2760 * dos-w32.el (file-name-buffer-file-type-alist)
2761 (direct-print-region-use-command-dot-com):
2762 * ffap.el (ffap-menu-regexp):
2763 * find-file.el (ff-special-constructs):
2764 * follow.el (follow-debug):
2765 * forms.el (forms--debug):
2766 * iswitchb.el (iswitchb-all-frames):
2767 * ido.el (ido-all-frames):
2768 * emacs-lisp/timer.el (timer-max-repeats):
2769 * mail/feedmail.el (feedmail-mail-send-hook)
2770 (feedmail-mail-send-hook-queued):
2771 * mail/footnote.el (footnote-signature-separator):
2772 * mail/mailabbrev.el (mail-alias-separator-string)
2773 (mail-abbrev-mode-regexp):
2774 * mail/rmail.el (rmail-speedbar-match-folder-regexp):
2775 * progmodes/idlwave.el (idlwave-libinfo-file)
2776 (idlwave-default-completion-case-is-down)
2777 (idlwave-library-routines): Convert defvars to defcustoms.
2778
2779 * mail/rmail.el (rmail-decode-mime-charset):
2780 * progmodes/idlw-shell.el (idlwave-shell-print-expression-function)
2781 (idlwave-shell-fix-inserted-breaks)
2782 (idlwave-shell-activate-alt-keybindings)
2783 (idlwave-shell-use-breakpoint-glyph):
2784 * facemenu.el (facemenu-unlisted-faces): Delete obsolete vars.
2785
2786 2012-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
2787
2788 * minibuffer.el (completion--twq-all): Beware completion-ignore-case.
2789
2790 2012-05-03 Wilson Snyder <wsnyder@wsnyder.org>
2791
2792 * progmodes/verilog-mode.el (font-lock-keywords):
2793 Fix mis-highligting auto. Reported by Craig Barner.
2794 (verilog-auto, verilog-auto-undef): Add AUTOUNDEF to remove
2795 defines from global name space. Reported by Dan Dever.
2796 (verilog-auto-reset, verilog-auto-reset-widths)
2797 (verilog-auto-tieoff): Support using unbased numbers for
2798 AUTORESET and AUTOTIEOFF.
2799 (verilog-submit-bug-report): Update variable list.
2800 (verilog-read-auto-params): Fix AUTOINPUT regexps containing
2801 parenthesis from not matching. Reported by Michael Rytting.
2802 (verilog-auto-template-lint): Fix hash error when linting modules
2803 with no used templates.
2804 (verilog-warn, verilog-warn-error)
2805 (verilog-warn-fatal): When non-interactive report multiple
2806 warnings before exiting. Suggested by Brad Dobbie.
2807 (verilog-auto-template-lint, verilog-auto-template-warn-unused)
2808 (verilog-read-auto-template): Add `verilog-auto-template-warn-unused'
2809 to report unused template errors. Reported by Brad Dobbie.
2810 (verilog-read-decls): Fix AUTOWIRE etc on supply0, supply1 type
2811 nets, bug438. Reported by Vns Blore.
2812 (verilog-auto-inout-module, verilog-auto-reg)
2813 (verilog-read-decls, verilog-read-sub-decls-sig)
2814 (verilog-signals-edit-wire-reg, verilog-signals-with):
2815 Fix passing of Verilog data types in ANSI input/output ports
2816 such as "output logic" into the AUTOs. Special case "wire" and
2817 "reg" for backwards compatibility presuming Verilog 2001.
2818 (verilog-auto-ascii-enum): Add "auto enum" as alias.
2819 (verilog-preprocess): Fix replication of preprocess output.
2820 Reported by Brad Dobbie.
2821 (verilog-auto-inst-interfaced-ports):
2822 Create verilog-auto-inst-interfaced-ports, bug429.
2823 Reported by Julian Gorfajn.
2824 (verilog-after-save-font-hook)
2825 (verilog-before-save-font-hook): New variable.
2826 (verilog-modi-cache-results, verilog-save-font-mod-hooked)
2827 (verilog-save-font-mods): Wrap disabling fontification, reported
2828 by David Rogoff.
2829 (verilog-do-indent, verilog-pretty-declarations-auto)
2830 (verilog-sk-def-reg): Fix obeying `verilog-auto-lineup', bug305.
2831 Reported by Pierre-David Pfister.
2832 (verilog-set-auto-endcomments): Fix endtask auto comments outside
2833 of class declarations, bug292. Reported by Kevin Heilman.
2834 (verilog-read-decls): Fix 'parameter type' not appearing in
2835 AUTOINSTPARAM, bug340. Reported by Jonathan Greenlaw.
2836 (verilog-auto-logic): Fix when AUTOLOGIC present to properly do
2837 AUTOINPUTs, bug411. Reported by Jonathan Greenlaw.
2838 (verilog-read-auto-lisp): Avoid syntax-ppss warning on AUTOLISP.
2839 Reported by David Kravitz.
2840
2841 2012-05-03 Michael McNamara <mac@mail.brushroad.com>
2842
2843 * progmodes/verilog-mode.el (verilog-pretty-expr): Don't line up
2844 assignment with tests in ifs and for loops.
2845 (verilog-extended-complete-re, verilog-complete-reg): Change so
2846 that DPI inport functions don't look like fuction declarations.
2847 (verilog-pretty-expr): Don't line up assignment
2848 operations to the test and increment in if and for loops
2849 (verilog-extended-complete-re, verilog-complete-reg): Change so
2850 that DPI inport functions don't look like fuction declarations
2851
2852 2012-05-03 Kenichi Handa <handa@m17n.org>
2853
2854 * mail/rmailmm.el (rmail-show-mime): Catch an error caused by text
2855 decoding, and show a warning message without signaling an error
2856 (Bug#11282).
2857
2858 2012-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
2859
2860 * emacs-lisp/bytecomp.el
2861 (byte-compile-file-form-custom-declare-variable): Compile all elements,
2862 since cconv.el might have introduced :fun-body, internal-make-closure,
2863 and friends for bytecomp to handle (bug#11391).
2864 * custom.el (defcustom): Avoid ((λ ..) ..).
2865
2866 2012-05-02 Stefan Monnier <monnier@iro.umontreal.ca>
2867
2868 * subr.el (read-passwd): Better clean after ourselves (bug#11392).
2869
2870 2012-05-02 Juanma Barranquero <lekktu@gmail.com>
2871
2872 * notifications.el (dbus-debug):
2873 * term/linux.el (gpm-mouse-enable):
2874 * term/screen.el (xterm-register-default-colors): Declare.
2875
2876 2012-05-02 Chong Yidong <cyd@gnu.org>
2877
2878 * cus-start.el (gc-cons-percentage, exec-suffixes)
2879 (dos-display-scancodes, dos-hyper-key, dos-super-key)
2880 (dos-keypad-mode, debug-on-signal, vertical-centering-font-regexp)
2881 (make-cursor-line-fully-visible, void-text-area-pointer)
2882 (font-list-limit): Add customization data.
2883
2884 * allout.el (allout-exposure-change-functions)
2885 (allout-structure-added-functions)
2886 (allout-structure-deleted-functions)
2887 (allout-structure-shifted-functions): Rename abnormal hooks from
2888 *-hook, and convert to defcustoms.
2889 (allout-after-copy-or-kill-hook, allout-post-undo-hook):
2890 Convert to defcustoms.
2891 (allout-mode-hook, allout-mode-deactivate-hook): Doc fix.
2892
2893 * allout-widgets.el: Hook callers changed.
2894
2895 2012-05-02 Eli Zaretskii <eliz@gnu.org>
2896
2897 * mail/rmail.el (rmail-yank-current-message): Use the encoding of
2898 the yanked message in preference to the default value of
2899 buffer-file-coding-system.
2900
2901 2012-05-02 Martin Rudalics <rudalics@gmx.at>
2902
2903 * window.el (display-buffer--action-function-custom-type):
2904 Fix entry.
2905
2906 2012-05-02 Alan Mackenzie <acm@muc.de>
2907
2908 * progmodes/cc-defs.el (c-version): Update to 5.32.3.
2909
2910 2012-05-01 Glenn Morris <rgm@gnu.org>
2911
2912 * cus-start.el (suggest-key-bindings): Remove, now it is in Lisp.
2913
2914 * eshell/esh-cmd.el (eshell-debug-command): Doc fix. Add :set.
2915
2916 * cus-edit.el (custom-variable-documentation): Simplify with format.
2917
2918 2012-05-01 Aaron S. Hawley <aaron.s.hawley@gmail.com>
2919 Stefan Monnier <monnier@iro.umontreal.ca>
2920
2921 * simple.el (suggest-key-bindings, execute-extended-command):
2922 Move from keyboard.c.
2923
2924 2012-05-01 Chong Yidong <cyd@gnu.org>
2925
2926 * follow.el: Eliminate advice.
2927 (set-process-filter, process-filter, sit-for): Advice deleted.
2928 (follow-mode-off-hook): Obsolete hook removed.
2929 (follow-avoid-tail-recenter-p, follow-process-filter-alist):
2930 Vars deleted.
2931 (follow-auto): Use a :set function.
2932 (follow-mode): Rewritten. Don't advise process filters.
2933 (follow-switch-to-current-buffer-all, follow-scroll-up)
2934 (follow-scroll-down): Assume follow-mode is bound.
2935 (follow-comint-scroll-to-bottom)
2936 (follow-align-compilation-windows): New functions.
2937 (follow--window-sorter): New function.
2938 (follow-all-followers): Use it to explicitly sort windows by their
2939 positions; don't make assumptions about next-window order.
2940 (follow-windows-start-end, follow-delete-other-windows-and-split)
2941 (follow-calc-win-start): Doc fix.
2942 (follow-windows-aligned-p, follow-select-if-visible): Don't call
2943 vertical-motion unnecessarily.
2944 (follow-adjust-window): New function.
2945 (follow-post-command-hook): Use it.
2946 (follow-call-set-process-filter, follow-call-process-filter)
2947 (follow-intercept-process-output, follow-tidy-process-filter-alist)
2948 (follow-stop-intercept-process-output, follow-generic-filter):
2949 Functions deleted.
2950 (follow-scroll-bar-toolkit-scroll, follow-scroll-bar-drag)
2951 (follow-scroll-bar-scroll-up, follow-scroll-bar-scroll-down):
2952 New functions, replacing advice on scroll-bar-* commands.
2953 (follow-mwheel-scroll): New function (Bug#4112).
2954
2955 * comint.el (comint-adjust-point): New function.
2956 (comint-postoutput-scroll-to-bottom): Use it.
2957 Call follow-comint-scroll-to-bottom for Follow mode buffers.
2958
2959 2012-05-01 Glenn Morris <rgm@gnu.org>
2960
2961 * term/AT386.el, term/apollo.el, term/bobcat.el, term/cygwin.el:
2962 * term/iris-ansi.el, term/linux.el, term/lk201.el, term/news.el:
2963 * term/screen.el, term/vt102.el, term/vt125.el, term/vt200.el:
2964 * term/vt201.el, term/vt220.el, term/vt240.el, term/vt300.el:
2965 * term/vt320.el, term/vt400.el, term/vt420.el, term/wyse50.el:
2966 Remove no-byte-compile setting.
2967
2968 2012-05-01 Stefan Monnier <monnier@iro.umontreal.ca>
2969
2970 * minibuffer.el (completion-table-with-quoting): Fix compatibility
2971 all-completions code to not return a number in the last cdr.
2972
2973 2012-04-30 Leo Liu <sdl.web@gmail.com>
2974
2975 * ibuf-ext.el (ibuffer-diff-buffer-with-file-1): Avoid buffer
2976 read-only error.
2977
2978 2012-04-29 Chong Yidong <cyd@gnu.org>
2979
2980 * follow.el (follow-calc-win-end): Rewrite to handle partial
2981 screen lines correctly (Bug#8390).
2982 (follow-avoid-tail-recenter): Minor cleanup.
2983
2984 2012-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
2985
2986 Avoid the obsolete `assoc' package.
2987 * speedbar.el (speedbar-refresh): Avoid adelete.
2988 (speedbar-file-lists): Simplify and avoid aput.
2989 * man.el (Man--sections, Man--refpages): New vars, replacing
2990 Man-sections-alist and Man-refpages-alist.
2991 (Man-build-section-alist, Man-build-references-alist):
2992 Use them; avoid aput.
2993 (Man--last-section, Man--last-refpage): New vars.
2994 (Man-follow-manual-reference): Use them.
2995 Use the `default' arg of completing-read.
2996 (Man-goto-section): Idem. Move prompt to the `interactive' spec.
2997
2998 2012-04-27 Chong Yidong <cyd@gnu.org>
2999
3000 * vc/diff.el (diff-sentinel): Go to bob (Bug#10259).
3001
3002 * startup.el (x-apply-session-resources): New function.
3003
3004 * term/ns-win.el (ns-initialize-window-system):
3005 * term/w32-win.el (w32-initialize-window-system):
3006 * term/x-win.el (x-initialize-window-system): Use it to properly
3007 set menu-bar-mode and other vars from X resources, even if the
3008 initial frame is not a window-system frame (Bug#2299).
3009
3010 * subr.el (read-key): Avoid running filter function when setting
3011 up temporary tool bar entries (Bug#9922).
3012
3013 2012-04-27 Andreas Schwab <schwab@linux-m68k.org>
3014
3015 * vc/vc-git.el (vc-git-state): Fix regexp matching diff output.
3016 (Bug#11344)
3017
3018 2012-04-27 Chong Yidong <cyd@gnu.org>
3019
3020 * select.el (xselect--encode-string): New function, split from
3021 xselect-convert-to-string.
3022 (xselect-convert-to-string): Use it.
3023 (xselect-convert-to-filename, xselect-convert-to-os)
3024 (xselect-convert-to-host, xselect-convert-to-user): Ensure that
3025 returned strings are properly encoded (Bug#11315).
3026
3027 2012-04-27 Chong Yidong <cyd@gnu.org>
3028
3029 * simple.el (delete-active-region): Move to killing custom group.
3030
3031 2012-04-27 Andreas Schwab <schwab@linux-m68k.org>
3032
3033 * progmodes/which-func.el (which-func-current): Quote %
3034 characters for mode-line processing.
3035
3036 2012-04-27 Chong Yidong <cyd@gnu.org>
3037
3038 * xml.el (xml-parse-region, xml-parse-tag): Avoid errors due to
3039 reaching eob (Bug#11286).
3040
3041 2012-04-27 Eli Zaretskii <eliz@gnu.org>
3042
3043 * progmodes/gdb-mi.el (gdb-control-level): New variable.
3044 (gdb): Make it buffer-local and init to zero.
3045 (gdb-control-commands-regexp): New variable.
3046 (gdb-send): Don't wrap in "-interpreter-exec console" if
3047 gdb-control-level is positive. Increment gdb-control-level
3048 whenever the command matches gdb-control-commands-regexp, and
3049 decrement it each time the command is "end". (Bug#11279)
3050
3051 2012-04-27 Martin Rudalics <rudalics@gmx.at>
3052
3053 * window.el (adjust-window-trailing-edge, enlarge-window)
3054 (shrink-window, window-resize):
3055 * mouse.el (mouse-drag-line): Fix resizing of minibuffer
3056 windows (Bug#11276).
3057
3058 2012-04-27 Chong Yidong <cyd@gnu.org>
3059
3060 * progmodes/pascal.el (pascal--extra-indent): Rename from ind, to
3061 fix "missing prefix" warning. All callers changed.
3062
3063 2012-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
3064
3065 * emacs-lisp/assoc.el: Move to obsolete/.
3066
3067 2012-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
3068
3069 * emacs-lisp/assoc.el (aget): Fix dynamic-scoping issue (bug#11352).
3070
3071 * term/ns-win.el (ns-define-service):
3072 * progmodes/pascal.el (pascal-goto-defun):
3073 * progmodes/js.el (js--read-tab):
3074 * progmodes/etags.el (tags-lazy-completion-table):
3075 * emacs-lisp/syntax.el (syntax-propertize-via-font-lock):
3076 * emacs-lisp/ewoc.el (ewoc--wrap):
3077 * emacs-lisp/assoc.el (aput, adelete, amake):
3078 * doc-view.el (doc-view-convert-current-doc):
3079 * vc/diff.el (diff-no-select): Replace lexical-let by lexical-binding.
3080
3081 2012-04-26 Chong Yidong <cyd@gnu.org>
3082
3083 * image.el (image-type-from-buffer): Only return supported image
3084 type (Bug#9045).
3085
3086 * vc/diff-mode.el (diff-beginning-of-hunk): Return a meaningful
3087 value, for symmetry with diff-end-of-hunk.
3088 (diff-split-hunk, diff-find-source-location)
3089 (diff-ignore-whitespace-hunk, diff-refine-hunk): Use it.
3090 (diff-bounds-of-hunk, diff-bounds-of-file): New functions.
3091 (diff-restrict-view, diff-hunk-kill, diff-file-kill): Use them to
3092 compute the relevant hunk or file properly (Bug#6005).
3093 (diff-file-junk-re): Add bzr's "modified file" tag (Bug#6041).
3094
3095 2012-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
3096
3097 * vc/vc-mtn.el:
3098 * vc/vc-hg.el:
3099 * vc/vc-git.el:
3100 * vc/vc-dir.el:
3101 * vc/vc-cvs.el:
3102 * vc/vc-bzr.el:
3103 * vc/vc-arch.el:
3104 * vc/vc.el: Replace lexical-let by lexical-binding.
3105 * minibuffer.el (lazy-completion-table): Avoid ((λ ...) ...).
3106 * emacs-lisp/cl-macs.el (lexical-let): Fix use in lexical-binding.
3107 * emacs-lisp/cconv.el (cconv-analyse-form): Warn use of ((λ ...) ...).
3108
3109 2012-04-26 Chong Yidong <cyd@gnu.org>
3110
3111 * vc/diff-mode.el (diff-undo): New command (Bug#5302).
3112 (diff-mode-shared-map): Bind it to / and [remap undo].
3113
3114 * vc/ediff-wind.el (ediff-setup-windows-default): New function.
3115 (ediff-window-setup-function): Use it as the default, to set up
3116 windows based on whether the current frame is graphical (Bug#2138).
3117 (ediff-choose-window-setup-function-automatically): Make obsolete.
3118
3119 * vc/ediff-init.el: Always define ediff-pixel-width/height.
3120
3121 2012-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
3122
3123 * ffap.el: Remove old code for obsolete package.
3124 (ffap-complete-as-file-p): Remove.
3125
3126 Use completion-table-with-quoting for comint and pcomplete.
3127 * comint.el (comint--unquote&requote-argument)
3128 (comint--unquote-argument, comint--requote-argument): New functions.
3129 (comint--unquote&expand-filename, comint-unquote-filename): Obsolete.
3130 (comint-quote-filename): Use regexp-opt-charset.
3131 (comint--common-suffix, comint--common-quoted-suffix)
3132 (comint--table-subvert): Remove.
3133 (comint-unquote-function, comint-requote-function): New vars.
3134 (comint--complete-file-name-data): Use them with
3135 completion-table-with-quoting.
3136 * pcmpl-unix.el (pcomplete/scp): Use completion-table-subvert.
3137 * pcomplete.el (pcomplete-arg-quote-list)
3138 (pcomplete-quote-arg-hook, pcomplete-quote-argument): Obsolete.
3139 (pcomplete-unquote-argument-function): Default to non-nil.
3140 (pcomplete-unquote-argument): Simplify.
3141 (pcomplete--common-quoted-suffix): Remove.
3142 (pcomplete-requote-argument-function): New var.
3143 (pcomplete--common-suffix): New function.
3144 (pcomplete-completions-at-point): Use completion-table-with-quoting
3145 and completion-table-subvert.
3146
3147 * minibuffer.el: Use completion-table-with-quoting for read-file-name.
3148 (minibuffer--double-dollars): Preserve properties.
3149 (completion--sifn-requote): New function.
3150 (completion--file-name-table): Rewrite using it and c-t-with-quoting.
3151
3152 * minibuffer.el: Add support for completion of quoted/escaped data.
3153 (completion-table-with-quoting, completion-table-subvert): New funs.
3154 (completion--twq-try, completion--twq-all): New functions.
3155 (completion--nth-completion): New function.
3156 (completion-try-completion, completion-all-completions): Use it.
3157
3158 2012-04-25 Leo Liu <sdl.web@gmail.com>
3159
3160 * progmodes/python.el (python-pdbtrack-get-source-buffer):
3161 Use compilation-message if available to find real filename.
3162
3163 2012-04-25 Chong Yidong <cyd@gnu.org>
3164
3165 * vc/diff-mode.el (diff-setup-whitespace): New function.
3166 (diff-mode): Use it.
3167
3168 * vc/diff.el (diff-sentinel):
3169 * vc/vc.el (vc-diff-finish): Call diff-setup-whitespace to assign
3170 Whitespace mode variables based on diff style (Bug#8612).
3171
3172 2012-04-25 Leo Liu <sdl.web@gmail.com>
3173
3174 * progmodes/python.el (python-send-region): Add suffix .py to the
3175 temp file.
3176
3177 * files.el (auto-mode-alist): Use javascript-mode instead.
3178
3179 2012-04-25 Alex Harsanyi <AlexHarsanyi@gmail.com>
3180
3181 Sync with soap-client repository. Support SOAP simpleType (Bug#10331).
3182
3183 * soap-client.el (soap-resolve-references-for-sequence-type)
3184 (soap-resolve-references-for-array-type): Hack to prevent self
3185 references, see Bug#9.
3186 (soap-parse-envelope): Report the contents of the 'detail' node
3187 when receiving a fault reply.
3188 (soap-parse-envelope): Report the contents of the entire 'detail' node.
3189
3190 * soap-inspect.el (soap-sample-value-for-simple-type)
3191 (soap-inspect-simple-type): New function.
3192
3193 * soap-client.el (soap-simple-type): New struct.
3194 (soap-default-xsd-types, soap-default-soapenc-types)
3195 (soap-decode-basic-type, soap-encode-basic-type):
3196 support unsignedInt and double basic types.
3197 (soap-resolve-references-for-simple-type)
3198 (soap-parse-simple-type, soap-encode-simple-type): New function.
3199 (soap-parse-schema): Parse xsd:simpleType declarations.
3200
3201 * soap-client.el (soap-default-xsd-types)
3202 (soap-default-soapenc-types): Add integer, byte and anyURI types.
3203 (soap-parse-complex-type-complex-content): Use `soap-wk2l' to find
3204 the local name of "soapenc:Array".
3205 (soap-decode-basic-type, soap-encode-basic-type): Support encoding
3206 decoding integer, byte and anyURI xsd types.
3207
3208 2012-04-25 Chong Yidong <cyd@gnu.org>
3209
3210 * cus-edit.el (custom-buffer-create-internal): Update header text.
3211
3212 2012-04-25 Eli Zaretskii <eliz@gnu.org>
3213
3214 * progmodes/gdb-mi.el (gdb-init-1): Condition Windows-specific
3215 settings on 'system-type', not on 'window-system'. On MS-Windows,
3216 set interactive-mode on in GDB.
3217
3218 2012-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
3219
3220 * progmodes/ruby-mode.el: Simplify last change, and cleanup code.
3221 (ruby-syntax-propertize-regexp): Remove.
3222 (ruby-syntax-propertize-function): Split regexp into chunks.
3223 Match following code directly.
3224
3225 2012-04-24 Dmitry Gutov <dgutov@yandex.ru>
3226
3227 * progmodes/ruby-mode.el: Handle Cucumber defs (bug#6286).
3228 (ruby-syntax-propertize-regexp): New function.
3229 (ruby-syntax-propertize-function): Use it to handle regexp not preceded
3230 by a special keyword.
3231
3232 * progmodes/ruby-mode.el: Handle general delimited literals (bug#6286).
3233 (ruby-syntax-general-delimiters-goto-beg)
3234 (ruby-syntax-propertize-general-delimiters): New functions.
3235 (ruby-syntax-propertize-function): Use them to handle GDL.
3236 (ruby-font-lock-keywords): Move old handling of GDL...
3237 (ruby-font-lock-syntactic-keywords): .. to here.
3238 (ruby-calculate-indent): Adjust indentation for GDL.
3239
3240 2012-04-24 Michael Albinus <michael.albinus@gmx.de>
3241
3242 * notifications.el (top): Remove unneeded declarations.
3243 (notifications-specification-version): Change to "1.2".
3244 (notifications-interface, notifications-notify-method)
3245 (notifications-close-notification-method): Fix docstring.
3246 (notifications-get-capabilities-method): New defconst.
3247 (notifications-notify): Add :action-items, :resident and
3248 :transient hints. Change "image_data" to "image-data" and
3249 "image_path" to "image-path".
3250 (notifications-get-capabilities): New defun.
3251
3252 2012-04-24 Leo Liu <sdl.web@gmail.com>
3253
3254 * progmodes/python.el: Move hideshow setup to the end.
3255
3256 2012-04-24 Martin Rudalics <rudalics@gmx.at>
3257
3258 * window.el (handle-select-window): Clear echo area since this is
3259 no more done by read_char (Bug#11304).
3260
3261 2012-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
3262
3263 * ibuffer.el (ibuffer-mode-map): Bind `/ m' to filter-used-mode
3264 and `/ M' to filter-derived-mode.
3265 * ibuf-ext.el (ibuffer-list-buffer-modes): Simplify; avoid add-to-list.
3266 (ibuffer-filter-by-mode, ibuffer-filter-by-used-mode)
3267 (ibuffer-mark-by-mode): Use default rather than initial-input.
3268 (ibuffer-filter-by-derived-mode): Autoload and require-match.
3269
3270 2012-04-24 Ivan Andrus <darthandrus@gmail.com> (tiny change)
3271
3272 * ibuf-ext.el (ibuffer-list-buffer-modes): Add `include-parents' arg.
3273 (ibuffer-filter-by-derived-mode): New filter.
3274 * ibuffer.el (ibuffer-mode-map): Bind to `/ w'.
3275
3276 2012-04-23 Andreas Politz <politza@fh-trier.de>
3277
3278 * subr.el (accept-change-group): Fix arg usage (Bug#6095).
3279
3280 2012-04-23 Chong Yidong <cyd@gnu.org>
3281
3282 * cus-edit.el (customize-apropos, customize-apropos-options):
3283 Disable matching of non-option variables (Bug#11176).
3284 (customize-option, customize-option-other-window)
3285 (customize-changed-options): Doc fix.
3286 (customize-apropos-options, customize-apropos-faces)
3287 (customize-apropos-groups): Use apropos-read-pattern (Bug#11124).
3288
3289 * apropos.el (apropos-read-pattern): Make prompt less cryptic.
3290 Fix word list splitting (Bug#11132).
3291 (apropos-symbol, apropos-keybinding, apropos-label)
3292 (apropos-property, apropos-function-button)
3293 (apropos-variable-button, apropos-misc-button): New faces.
3294 (apropos-symbol-face, apropos-keybinding-face)
3295 (apropos-label-face, apropos-property-face, apropos-match-face):
3296 Variables removed (Bug#8396).
3297 (apropos-library-button, apropos-format-plist, apropos-print)
3298 (apropos-print-doc, apropos-describe-plist): Callers changed.
3299
3300 2012-04-23 Michael Albinus <michael.albinus@gmx.de>
3301
3302 * net/xesam.el (xesam-mode-map): Use let-bound map in
3303 initialization. (Bug#11292)
3304
3305 2012-04-23 Agustín Martín Domingo <agustin.martin@hispalinux.es>
3306
3307 Preserve ispell session localwords when switching back to
3308 original buffer.
3309
3310 * ispell.el (ispell-buffer-session-localwords): New buffer-local
3311 variable to hold buffer session localwords.
3312 (ispell-kill-ispell): add option 'clear to delete session
3313 localwords.
3314 (ispell-command-loop, ispell-change-dictionary)
3315 (ispell-buffer-local-words): Preserve session localwords when
3316 needed.
3317
3318 * flyspell.el (flyspell-process-localwords, flyspell-do-correct):
3319 Preserve session localwords when needed.
3320
3321 2012-04-23 Agustín Martín Domingo <agustin.martin@hispalinux.es>
3322
3323 * ispell.el (ispell-insert-word) Remove unneeded function using
3324 obsolete `translation-table-for-input'.
3325 (ispell-word, ispell-process-line, ispell-complete-word):
3326 Use plain `insert' instead of removed `ispell-insert-word'.
3327
3328 2012-04-22 Chong Yidong <cyd@gnu.org>
3329
3330 * cus-edit.el (custom-variable-menu)
3331 (custom-variable-reset-saved, custom-face-menu)
3332 (custom-face-reset-saved): If there is no saved value, make the
3333 "reset-saved" operation bring back the default (Bug#9509).
3334 (custom-face-state): Properly detect themed faces.
3335
3336 * faces.el (face-spec-set): Stop supporting deprecated form of
3337 third arg.
3338
3339 2012-04-22 Michael Albinus <michael.albinus@gmx.de>
3340
3341 Move functions from C to Lisp. Make non-blocking method calls
3342 the default. Implement further D-Bus standard interfaces.
3343
3344 * net/dbus.el (dbus-message-internal): Declare function.
3345 Remove unneeded function declarations.
3346 (defvar dbus-message-type-invalid, dbus-message-type-method-call)
3347 (dbus-message-type-method-return, dbus-message-type-error)
3348 (dbus-message-type-signal): Declare variables. Remove local
3349 definitions.
3350 (dbus-interface-dbus, dbus-interface-peer)
3351 (dbus-interface-introspectable, dbus-interface-properties)
3352 (dbus-path-emacs, dbus-interface-emacs, dbus-return-values-table):
3353 Adapt docstring.
3354 (dbus-interface-objectmanager): New defconst.
3355 (dbus-call-method, dbus-call-method-asynchronously)
3356 (dbus-send-signal, dbus-method-return-internal)
3357 (dbus-method-error-internal, dbus-register-service)
3358 (dbus-register-signal, dbus-register-method): New defuns, moved
3359 from dbusbind.c
3360 (dbus-call-method-handler, dbus-setenv)
3361 (dbus-get-all-managed-objects, dbus-managed-objects-handler):
3362 New defuns.
3363 (dbus-call-method-non-blocking): Make it an obsolete function.
3364 (dbus-unregister-object, dbus-unregister-service)
3365 (dbus-handle-event, dbus-register-property)
3366 (dbus-property-handler): Obey the new structure of
3367 `bus-registered-objects'.
3368 (dbus-introspect): Use `dbus-call-method'. Use a timeout.
3369 (dbus-get-property, dbus-set-property, dbus-get-all-properties):
3370 Use `dbus-call-method'.
3371
3372 2012-04-22 Chong Yidong <cyd@gnu.org>
3373
3374 * cus-edit.el (custom-commands, custom-reset-menu)
3375 (Custom-reset-standard): Tweak labels.
3376 (custom-reset-button-menu): Change default to t.
3377 (custom-buffer-create-internal): For the custom-reset-button-menu
3378 case, put the revert button first.
3379 (custom-group-subtitle): New face.
3380 (custom-group-value-create): Align docstring to a specific column.
3381
3382 * wid-edit.el (widget-documentation-link-add): Don't handle
3383 indentation in this function.
3384 (widget-documentation-string-indent-to): New function.
3385 (widget-documentation-string-value-create): Use it.
3386
3387 * autorevert.el (auto-revert):
3388 * epg-config.el (epg):
3389 * ibuffer.el (ibuffer):
3390 * mpc.el (mpc):
3391 * ses.el (ses):
3392 * eshell/eshell.el (eshell):
3393 * net/ange-ftp.el (ange-ftp):
3394 * progmodes/ebnf2ps.el (postscript):
3395 * progmodes/flymake.el (flymake):
3396 * progmodes/prolog.el (prolog):
3397 * progmodes/verilog-mode.el (verilog-mode):
3398 * progmodes/which-func.el (which-func):
3399 * term/xterm.el (xterm):
3400 * textmodes/picture.el (picture):
3401 * textmodes/tildify.el (tildify):
3402 * vc/ediff.el (ediff): Tweak defgroups to improve presentation in
3403 customization buffers.
3404
3405 2012-04-22 Alan Mackenzie <acm@muc.de>
3406
3407 * progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache):
3408 Adding a ) can hide the resulting (..) from searches. Fix it.
3409 Bound the backward search to the position of the existing (.
3410
3411 2012-04-21 Juanma Barranquero <lekktu@gmail.com>
3412
3413 * progmodes/verilog-mode.el (verilog-mode): Check whether
3414 which-func-modes is t before adding verilog-mode.
3415 Reported by Andy Moreton <andrewjmoreton@gmail.com>.
3416
3417 2012-04-21 Leo Liu <sdl.web@gmail.com>
3418
3419 * net/rcirc.el (rcirc): Avoid error when process-contact returns t.
3420
3421 2012-04-21 Michael Vehrs <Michael.Burschik@gmx.de>
3422
3423 * woman.el: Add support for "T{ T}" tbl syntax, and fix the
3424 filling of the last column of a table (Bug#5635).
3425 (woman-find-next-control-line): New arg, specifying an additional
3426 regexp component for the control line.
3427 (woman2-roff-buffer): Use it.
3428 (woman-break-table): New function.
3429 (woman2-TS): Use it.
3430
3431 2012-04-21 Chong Yidong <cyd@gnu.org>
3432
3433 * woman.el (woman-set-buffer-display-table, woman-decode-region)
3434 (woman-horizontal-escapes, woman-negative-vertical-space)
3435 (woman-tab-to-tab-stop, woman2-fc, woman2-TS)
3436 (WoMan-warn-ignored): Use ?\s instead of ?\ .
3437
3438 2012-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
3439
3440 * minibuffer.el (completion-file-name-table): Complete user names.
3441
3442 2012-04-20 Leo Liu <sdl.web@gmail.com>
3443
3444 * font-lock.el (lisp-font-lock-keywords-2): Add pcase, pcase-let
3445 and pcase-let*.
3446
3447 2012-04-20 Chong Yidong <cyd@gnu.org>
3448
3449 * server.el (server-execute): Respect initial-buffer-choice if it
3450 is a string and there are no files to open (Bug#2825).
3451 (server-create-window-system-frame, server-create-tty-frame):
3452 Don't switch buffers here.
3453 (server-process-filter): Only try to open a window system frame if
3454 compiled with graphical support (Bug#8314).
3455
3456 2012-04-20 Dan Nicolaescu <dann@gnu.org>
3457
3458 * battery.el (battery-echo-area-format): Display remaining time
3459 for sysfs backend too (Bug#11269).
3460 (battery-linux-sysfs): Fix conditional for the charge.
3461
3462 2012-04-20 Chong Yidong <cyd@gnu.org>
3463
3464 * progmodes/gdb-mi.el (gdb): Revert previous change.
3465 (gdb-inferior-io--init-proc): New function.
3466 (gdb-init-1): Use it.
3467 (gdb-inferior-io-sentinel): New sentinel for the gdb-inferior pty,
3468 responsible for allocating a new pty and hooking it to gdb when
3469 the old pty gets an EIO due to process exit.
3470 (gdb-delchar-or-quit): New command. Bind it in gdb-mi buffers.
3471 (gdb-tooltip-print): Don't use obsolete tooltip-use-echo-area.
3472 (gdb-inferior-io--maybe-delete-pty): Move into gdb-reset.
3473
3474 2012-04-20 Eli Zaretskii <eliz@gnu.org>
3475
3476 * window.el (window-min-size, window-sizable, window-min-delta)
3477 (window-max-delta, window--resizable, window-resizable)
3478 (window-total-size, window-full-height-p, window-full-width-p)
3479 (window-in-direction, window--resize-mini-window, window-resize)
3480 (window--resize-child-windows-normal)
3481 (window--resize-child-windows, window--resize-siblings)
3482 (window--resize-this-window, adjust-window-trailing-edge)
3483 (enlarge-window, shrink-window): Doc fixes.
3484
3485 2012-04-20 Chong Yidong <cyd@gnu.org>
3486
3487 * progmodes/gdb-mi.el (gdb-inferior-io--maybe-delete-pty):
3488 New function to call delete-process on the gdb-inferior buffer's pty.
3489 (gdb-reset): Use it, instead of relying on kill-buffer to kill the
3490 pty process (Bug#11273).
3491 (gdb-update): New arg to suppress talking to the gdb process.
3492 (gdb-done-or-error): Use it.
3493 (gdb-stopped-functions): Rename from gdb-stopped-hooks.
3494 (gdb): Call gdb-inferior-io--maybe-delete-pty as a workaround for
3495 sentinel not being called.
3496
3497 * comint.el (make-comint-in-buffer, comint-exec): Doc fix.
3498
3499 * progmodes/grep.el (grep, rgrep): Doc fix (Bug#11268).
3500
3501 2012-04-20 Glenn Morris <rgm@gnu.org>
3502
3503 * net/network-stream.el (open-network-stream): Doc fix.
3504
3505 2012-04-20 Chong Yidong <cyd@gnu.org>
3506
3507 * emacs-lisp/tabulated-list.el (tabulated-list-print): Fix typos.
3508
3509 2012-04-20 Alan Mackenzie <acm@muc.de>
3510
3511 Ensure searching for keywords is case sensitive.
3512
3513 * progmodes/cc-cmds.el (c-electric-brace, c-electric-lt-gt)
3514 (c-electric-paren, c-beginning-of-defun, c-end-of-defun)
3515 (c-defun-name, c-mark-function, c-cpp-define-name)
3516 (c-comment-indent, c-scan-conditionals, c-indent-defun)
3517 (c-context-line-break): Bind case-fold-search to nil.
3518
3519 * progmodes/cc-mode.el (c-font-lock-fontify-region):
3520 Bind case-fold-search to nil.
3521
3522 2012-04-20 Chong Yidong <cyd@gnu.org>
3523
3524 * mail/sendmail.el (mail-bury): Call return action with the right
3525 Rmail buffer (Bug#11242).
3526
3527 * server.el (server-process-filter): Handle corner case where both
3528 tty and nowait options are present (Bug#11102).
3529
3530 2012-04-20 Eli Zaretskii <eliz@gnu.org>
3531
3532 * version.el (emacs-bzr-version, emacs-bzr-get-version): Doc fixes.
3533 (top level): Put into the executable the ident-style '$Id:' tag on
3534 windows-nt as well.
3535
3536 2012-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
3537
3538 * electric.el (electric-indent-post-self-insert-function): Check that
3539 electric-indent-mode is enabled in current buffer.
3540
3541 2012-04-19 Juanma Barranquero <lekktu@gmail.com>
3542
3543 * imenu.el (imenu-progress-message): Restore; it is "used" in
3544 erc/erc-imenu.el and net/snmp-mode.el.
3545
3546 2012-04-19 Juanma Barranquero <lekktu@gmail.com>
3547
3548 * avoid.el (mouse-avoidance-mode): Mark unused arg.
3549 (mouse-avoidance-nudge-mouse): Remove unused binding.
3550
3551 * bs.el (bs-toggle-readonly): Call `toggle-read-only' interactively.
3552
3553 * descr-text.el (describe-char):
3554 * progmodes/python.el (python-describe-symbol):
3555 Don't call `toggle-read-only', set `buffer-read-only'.
3556
3557 * imenu.el (imenu-default-goto-function): Mark unused args.
3558 (imenu-progress-message): Remove obsolete macro; all callers changed.
3559
3560 * subr.el (keymap-canonicalize): Remove unused binding.
3561 (read-passwd): Mark unused arg.
3562
3563 * tutorial.el (tutorial--display-changes): Remove unused binding.
3564 (tutorial--save-tutorial-to): Remove unused variable.
3565
3566 * emacs-lisp/package.el (define-package, package-menu-mark-delete)
3567 (package-menu-mark-install, package-menu-mark-unmark): Mark unused args.
3568 (package-generate-autoloads, package-menu--generate)
3569 (package-menu--find-upgrades): Remove unused bindings.
3570
3571 * emulation/cua-rect.el (cua-restrict-regexp-rectangle)
3572 (cua-restrict-prefix-rectangle): Doc fixes. Remove unused bindings.
3573 (cua--mouse-ignore, cua--delete-rectangle, cua--extract-rectangle)
3574 (cua--indent-rectangle, cua-open-rectangle, cua-close-rectangle)
3575 (cua-blank-rectangle, cua-string-rectangle, cua-replace-in-rectangle)
3576 (cua-incr-rectangle, cua-sequence-rectangle, cua--convert-rectangle-as)
3577 (cua--rectangle-aux-replace, cua--left-fill-rectangle)
3578 (cua-scroll-rectangle-up, cua-scroll-rectangle-down)
3579 (cua-delete-char-rectangle): Mark unused args.
3580 (cua-align-rectangle): Remove unused binding.
3581
3582 * mail/rmail.el (compilation--message->loc)
3583 (epa--find-coding-system-for-mime-charset): Declare.
3584
3585 * net/dbus.el (dbus-register-service): Declare.
3586 (dbus-name-owner-changed-handler): Remove unused binding.
3587
3588 * nxml/nxml-mode.el (nxml-electric-slash, nxml-in-mixed-content-p)
3589 (nxml-compute-indent-from-matching-start-tag): Remove unused variables.
3590 (nxml-scan-backward-within): Mark unused arg.
3591 (nxml-dynamic-markup-word): Remove unused binding.
3592
3593 * mouse.el (mouse-menu-major-mode-map):
3594 * emacs-lisp/authors.el (authors-scan-change-log)
3595 (authors-add-to-author-list):
3596 * emacs-lisp/avl-tree.el (avl-tree--enter-balance):
3597 * emacs-lisp/smie.el (smie-auto-fill):
3598 * mail/sendmail.el (mail-bury):
3599 * mail/unrmail.el (unrmail):
3600 * net/tls.el (open-tls-stream):
3601 * textmodes/picture.el (picture-mouse-set-point):
3602 Remove unused bindings.
3603
3604 2012-04-19 Michael Albinus <michael.albinus@gmx.de>
3605
3606 * net/tramp.el (tramp-action-password): Let-bind
3607 `enable-recursive-minibuffers' to t.
3608
3609 2012-04-18 Sam Steingold <sds@gnu.org>
3610
3611 * progmodes/gud.el (gud-key-prefix): Use :type 'key-sequence
3612 instead of 'string to accommodate values like [f11].
3613 Always use `vconcat' instead of `concat' on it, like in `gud-def'.
3614 * progmodes/gdb-mi.el: Likewise.
3615
3616 2012-04-18 Leo Liu <sdl.web@gmail.com>
3617
3618 * abbrev.el (edit-abbrevs): Move point to the abbrev table of
3619 current buffer.
3620 (prepare-abbrev-list-buffer): Enter edit-abbrevs-mode only if
3621 LOCAL is nil.
3622
3623 2012-04-18 Chong Yidong <cyd@gnu.org>
3624
3625 * simple.el (line-move): Use forward-line if in batch mode
3626 (Bug#11053).
3627
3628 2012-04-18 Christopher Schmidt <christopher@ch.ristopher.com>
3629
3630 * files.el (after-find-file): Do not try to add a final newline if
3631 the buffer is read-only (Bug#11156).
3632
3633 2012-04-17 Richard Stallman <rms@gnu.org>
3634
3635 * mail/rmail.el (rmail-start-mail):
3636 Pass (rmail-mail-return...) for the return-action.
3637 Pass (rmail-yank-current-message...) for the yank-action.
3638 (rmail-yank-current-message): New function.
3639 (rmail-mail): Pass the Rmail buffer, not view buffer, for replybuffer.
3640 (rmail-reply): Likewise.
3641 (rmail-forward): Pass the Rmail buffer, not nil, for replybuffer.
3642
3643 * mail/sendmail.el (mail-bury): Choose the first rmail-mode
3644 buffer, not the last. Reject temp buffers. Use the rmail-mode
3645 buffer, not newbuf.
3646
3647 2012-04-17 Juanma Barranquero <lekktu@gmail.com>
3648
3649 * server.el (server-ensure-safe-dir): Simplify.
3650
3651 2012-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
3652
3653 * emacs-lisp/smie.el: Provide smarter auto-filling.
3654 (smie-auto-fill): New function.
3655 (smie-setup): Use it.
3656
3657 * newcomment.el (comment-choose-indent): Obey comment-inline-offset.
3658
3659 2012-04-17 Philipp Haselwarter <philipp.haselwarter@gmx.de> (tiny change)
3660
3661 * newcomment.el (comment-inline-offset): New custom var (bug#11090).
3662 (comment-indent): Use it.
3663
3664 2012-04-17 Vincent Belaïche <vincentb1@users.sourceforge.net>
3665
3666 * ses.el: The overall change is to add cell renaming, that is
3667 setting fancy names for cell symbols other than name matching
3668 "\\`[A-Z]+[0-9]+\\'" regexp .
3669 (ses-localvars): Add ses--renamed-cell-symb-list.
3670 (ses-create-cell-variable): New defun.
3671 (ses-destroy-cell-variable-range): Respect ses--numrows, ses--numcols.
3672 (ses-relocate-formula): Relocate formulas only for cells the
3673 symbols of which are not renamed, i.e. symbols whose names do not
3674 match regexp "\\`[A-Z]+[0-9]+\\'".
3675 (ses-relocate-all): Relocate values only for cells the symbols of
3676 which are not renamed.
3677 (ses-load): Create cells variables as the (ses-cell ...) are read,
3678 in order to check row col consistency with cell symbol name only
3679 for cells that are not renamed.
3680 (ses-replace-name-in-formula): New defun.
3681 (ses-rename-cell): New defun.
3682
3683 2012-04-17 Peter Oliver <bzr@mavit.org.uk> (tiny change)
3684
3685 * progmodes/perl-mode.el (perl-indent-parens-as-block):
3686 New option (bug#11118).
3687 (perl-calculate-indent): Respect it.
3688
3689 2012-04-17 Glenn Morris <rgm@gnu.org>
3690
3691 * dired-aux.el (dired-mark-read-string): Doc fix.
3692
3693 2012-04-17 Dmitry Antipov <dmantipov@yandex.ru>
3694
3695 * dired-aux.el (dired-mark-read-string): Offer optional completion.
3696 (dired-do-chxxx): Complete chown, chgrp over users, groups. (Bug#7900)
3697
3698 2012-04-17 Glenn Morris <rgm@gnu.org>
3699
3700 * mouse.el (mouse-drag-track):
3701 * speedbar.el (speedbar-frame-mode):
3702 Use auto-hscroll-mode rather than the alias automatic-hscrolling.
3703
3704 2012-04-16 Leo Liu <sdl.web@gmail.com>
3705
3706 * progmodes/python.el: Trivial cleanup.
3707
3708 2012-04-16 Glenn Morris <rgm@gnu.org>
3709
3710 * vc/vc.el (vc-string-prefix-p):
3711 * vc/pcvs-util.el (cvs-string-prefix-p):
3712 * textmodes/tex-mode.el (latex-string-prefix-p, tex-string-prefix-p):
3713 * mpc.el (mpc-string-prefix-p):
3714 Make all of these into obsolete aliases for string-prefix-p.
3715 Update callers.
3716 * vc/pcvs.el, vc/vc-dispatcher.el, vc/vc-dir.el: Update callers.
3717
3718 * textmodes/two-column.el: Move custom options to the start.
3719 (frame-width): Remove compat definition.
3720 (2C-associate-buffer, 2C-dissociate):
3721 Use with-current-buffer rather than save-excursion.
3722 (2C-dissociate): Force a mode-line update.
3723 (2C-autoscroll): Use ignore-errors.
3724
3725 * emacs-lisp/eieio-opt.el (describe-class, describe-generic):
3726 Autoload trivia.
3727
3728 * emacs-lisp/cl-extra.el (*random-state*):
3729 Remove unnecessary declaration.
3730
3731 * calendar/cal-tex.el (cal-tex-end-document): Trivial clarification.
3732
3733 * play/cookie1.el (cookie-snarf):
3734 Give an explicit error if input file cannot be read.
3735
3736 * play/yow.el (yow-file): Use expand-file-name rather than concat.
3737
3738 * progmodes/perl-mode.el (c-macro-expand):
3739 Remove unnecessary autoload (it is in loaddefs.el).
3740
3741 * textmodes/picture.el (picture-desired-column)
3742 (picture-update-desired-column): Convert comments to doc-strings.
3743 (picture-substitute): Remove function.
3744 (picture-mode-map): Initialize in the defvar.
3745
3746 * woman.el: Remove eval-after-load for tar-mode.
3747 * tar-mode.el (tar-mode-map): Add woman binding and menu entry.
3748 (woman-tar-extract-file): Autoload it.
3749
3750 * frame.el (automatic-hscrolling): Make this alias obsolete.
3751
3752 2012-04-12 Agustín Martín Domingo <agustin.martin@hispalinux.es>
3753
3754 * ispell.el (ispell-set-spellchecker-params): Post-process
3755 `ispell-dictionary-alist' to use [:alpha:] and utf-8 if possible.
3756 (ispell-dictionary-base-alist): Revert to original XEmacs
3757 friendly version for default. [:alpha:] will be added in
3758 `ispell-set-spellchecker-params' if needed
3759
3760 2012-04-16 Chong Yidong <cyd@gnu.org>
3761
3762 * image.el (imagemagick--extension-regexp): New variable.
3763 (imagemagick-register-types): Use it.
3764 (imagemagick-types-inhibit): Add :set function. Allow new value
3765 of t to inhibit all types.
3766
3767 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Avoid cl macros,
3768 so we can preload it.
3769
3770 * loadup.el (fboundp): Preload regexp-opt, needed by
3771 imagemagick-register-types.
3772
3773 2012-04-15 Chong Yidong <cyd@gnu.org>
3774
3775 * frame.el (scrolling): Remove nearly unused customization group.
3776
3777 * scroll-all.el (scroll-all-mode): Move to windows group.
3778
3779 2012-04-15 Chong Yidong <cyd@gnu.org>
3780
3781 * bindings.el (goto-map): Bind goto-char to M-g c (Bug#11240).
3782
3783 2012-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
3784
3785 Avoid the use of ((lambda ...) ...) in lexical-binding code.
3786 * emacs-lisp/easy-mmode.el (define-minor-mode): Use funcall (bug#11241).
3787
3788 2012-04-15 Glenn Morris <rgm@gnu.org>
3789
3790 * simple.el (process-file-side-effects): Doc fix.
3791
3792 2012-04-15 Glenn Morris <rgm@gnu.org>
3793
3794 * international/mule-cmds.el (set-language-environment): Doc fix.
3795
3796 2012-04-14 Juanma Barranquero <lekktu@gmail.com>
3797
3798 * server.el (server-auth-key, server-generate-key): Doc fixes.
3799 (server-get-auth-key): Doc fix. Use `string-match-p'.
3800 (server-start): Reflow docstring.
3801
3802 2012-04-14 Lars Ingebrigtsen <larsi@gnus.org>
3803
3804 * server.el (server-generate-key): `called-interactively-p'
3805 requires a parameter.
3806
3807 2012-04-14 Michal Nazarewicz <mina86@mina86.com>
3808
3809 * server.el (server-auth-key): New variable.
3810 (server-generate-key, server-get-auth-key): New function.
3811 (server-start): Use the new variable and functions to allow
3812 setting a permanent server key (bug#9423).
3813
3814 2012-04-14 Leo Liu <sdl.web@gmail.com>
3815
3816 * vc/diff-mode.el (diff-file-prev/next): Fix typo.
3817
3818 2012-04-14 Paul Eggert <eggert@cs.ucla.edu>
3819
3820 Spelling fixes.
3821 * hexl.el (hexl-rulerize): Rename from hexl-rulerise, since
3822 Emacs uses American spelling.
3823
3824 2012-04-14 Juanma Barranquero <lekktu@gmail.com>
3825
3826 * emacs-lock.el (emacs-lock-locked-buffer-functions): New hook.
3827 (emacs-lock--exit-locked-buffer): Return the locked buffer. Doc fix.
3828 (emacs-lock--kill-emacs-hook, emacs-lock--kill-emacs-query-functions)
3829 (emacs-lock--kill-buffer-query-functions): Run new hook. (Bug#11017)
3830
3831 2012-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
3832
3833 * progmodes/which-func.el (which-func-modes): Change default.
3834
3835 2012-04-14 Kim F. Storm <storm@cua.dk>
3836
3837 * emulation/cua-base.el (cua-exchange-point-and-mark): Just call
3838 exchange-point-and-mark if cua-enable-cua-keys is nil (Bug#11191).
3839
3840 2012-04-14 Chong Yidong <cyd@gnu.org>
3841
3842 * custom.el (custom-theme-set-variables): Doc fix.
3843
3844 2012-04-14 Glenn Morris <rgm@gnu.org>
3845
3846 * international/mule.el (set-auto-coding-for-load): Doc fix.
3847
3848 2012-04-14 Alan Mackenzie <acm@muc.de>
3849
3850 * progmodes/cc-menus.el (cc-imenu-objc-generic-expression): Make
3851 imenu work again for Objective C Mode. Correct the *-index values,
3852 these having been disturbed by a previous change in 2011-08.
3853
3854 * progmodes/cc-engine.el (c-before-change-check-<>-operators):
3855 Correct two search limits.
3856
3857 2012-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
3858
3859 * startup.el (command-line-1): Inhibit splash from daemon (bug#10996).
3860
3861 2012-04-14 Andreas Schwab <schwab@linux-m68k.org>
3862
3863 * international/characters.el: Fix sorting.
3864
3865 2012-04-14 Eli Zaretskii <eliz@gnu.org>
3866
3867 * international/characters.el: Add more missing Latin case pairs.
3868
3869 2012-04-14 Glenn Morris <rgm@gnu.org>
3870
3871 * files.el (dir-locals-set-class-variables): Doc fix.
3872
3873 2012-04-14 Eli Zaretskii <eliz@gnu.org>
3874
3875 * international/characters.el: Add set-case-syntax-pair call for
3876 LATIN CAPITAL LETTER Y WITH DIAERESIS RET and its lower-case
3877 counterpart. (Bug#11209)
3878
3879 * simple.el (shell-command-on-region): Doc fix. (Bug#11208)
3880
3881 2012-04-14 Glenn Morris <rgm@gnu.org>
3882
3883 * calendar/holidays.el (calendar-check-holidays): Doc fix.
3884
3885 2012-04-14 Eli Zaretskii <eliz@gnu.org>
3886
3887 * textmodes/ispell.el (ispell-dictionary-base-alist):
3888 Add data for Hebrew.
3889
3890 2012-04-14 Chong Yidong <cyd@gnu.org>
3891
3892 * net/rcirc.el (rcirc-cmd-quit):
3893 Revert 2012-03-18 change (Bug#11192).
3894
3895 2012-04-14 Glenn Morris <rgm@gnu.org>
3896
3897 * pcmpl-rpm.el (pcomplete/rpm): Handle -qf.
3898
3899 2012-04-14 Eli Zaretskii <eliz@gnu.org>
3900
3901 * minibuffer.el (completion-in-region-mode-map):
3902 Bind completion-help-at-point to M-? rather than ?. (Bug#11182)
3903
3904 2012-04-13 Vivek Dasmohapatra <vivek@etla.org>
3905
3906 * hexl.el (hexl-insert-char): Make display sizes other than 16 work.
3907
3908 2012-04-13 Masatake YAMATO <yamato@redhat.com>
3909
3910 * minibuffer.el (minibuffer-local-filename-syntax): New variable
3911 to allow `C-M-f' and `C-M-b' to move to the nearest path
3912 separator (bug#9511).
3913
3914 2012-04-13 Lars Ingebrigtsen <larsi@gnus.org>
3915
3916 * avoid.el: Require cl when compiling. And also move the
3917 `provide' to the end.
3918
3919 2012-04-13 Thierry Volpiatto <thierry.volpiatto@gmail.com>
3920
3921 * avoid.el (mouse-avoidance-banish-position): New variable.
3922 (mouse-avoidance-banish-destination): Use it (bug#10165).
3923
3924 2012-04-13 Leo Liu <sdl.web@gmail.com>
3925
3926 * progmodes/which-func.el (which-func-modes): Add objc-mode.
3927
3928 2012-04-13 Ken Brown <kbrown@cornell.edu>
3929
3930 * net/browse-url.el (browse-url-file-url): Remove Cygwin hack;
3931 this is no longer needed now that cygstart understands file:// URLs.
3932 (browse-url-filename-alist): For the same reason, don't modify
3933 file:// URLs on Cygwin.
3934
3935 2012-04-13 Stefan Monnier <monnier@iro.umontreal.ca>
3936
3937 * emulation/cua-base.el (cua--pre-command-handler-1): Don't activate
3938 the region on shift if the binding is already shifted (bug#11221).
3939
3940 2012-04-12 Glenn Morris <rgm@gnu.org>
3941
3942 * mail/mailpost.el: Move to obsolete/.
3943
3944 2012-04-12 Drew Adams <drew.adams@oracle.com>
3945
3946 * imenu.el (imenu--generic-function): Ignore invisible definitions
3947 (bug#10123).
3948
3949 2012-04-12 Vivek Dasmohapatra <vivek@etla.org>
3950
3951 * hexl.el (hexl-bits): New variable.
3952 (hexl-options): Mention the variable in the doc string.
3953 (hexl-rulerise, hexl-line-displen): New functions.
3954 (hexl-mode): Mention the new variable.
3955 (hexl-mode, hexl-current-address, hexl-current-address):
3956 Use the displen.
3957 (hexl-ascii-start-column): New function.
3958 (hexl-address-to-marker, hexl-beginning-of-line, hexl-options)
3959 (hexl-insert-char, hexl-mode-ruler): Use the displen (bug#4941).
3960
3961 2012-04-12 Agustín Martín Domingo <agustin.martin@hispalinux.es>
3962
3963 * textmodes/flyspell.el (flyspell-large-region): For hunspell, use
3964 '("-i" ENCODING), in 2 separate command-line arguments, to specify
3965 the encoding, as expected by hunspell.
3966
3967 2012-04-12 Stefan Monnier <monnier@iro.umontreal.ca>
3968
3969 * battery.el (battery--linux-sysfs-regexp): New const.
3970 (battery-status-function): Use it. Remove yeeloong special case.
3971 (battery-yeeloong-sysfs): Remove.
3972 (battery-echo-area-format): Remove yeeloong special case.
3973
3974 2012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
3975
3976 * imenu.el (imenu-add-to-menubar): `current-local-map' can be nil.
3977 Reported by Noah Friedman.
3978
3979 * subr.el (read-passwd): Use read-string.
3980
3981 2012-04-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
3982
3983 * vcursor.el (vcursor-move): Increase the priority of the overlay
3984 (bug#9663).
3985
3986 2012-04-11 Deniz Dogan <deniz.a.m.dogan@gmail.com>
3987
3988 * net/rcirc.el (rcirc-kill-channel-buffers): New variable.
3989 (rcirc-kill-buffer-hook): Use it to kill channel buffers (bug#5128).
3990
3991 2012-04-11 William Stevenson <yhvh2000@gmail.com>
3992
3993 * textmodes/artist.el (artist-mode): Convert artist-mode to use
3994 define-minor-mode (bug#10760).
3995
3996 2012-04-11 Wolfgang Jenkner <wjenkner@inode.at> (tiny change)
3997
3998 * progmodes/grep.el (rgrep): Tweak the find command line so
3999 that directories matching `grep-find-ignored-files' won't be
4000 pruned (bug#10351).
4001
4002 2012-04-11 Chong Yidong <cyd@gnu.org>
4003
4004 * startup.el (command-line): Remove support for long-obsolete
4005 variable font-lock-face-attributes.
4006
4007 2012-04-11 Glenn Morris <rgm@gnu.org>
4008
4009 * vc/vc-bzr.el (vc-bzr-status): Avoid condition-case-unless-debug.
4010
4011 2012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
4012
4013 * window.el (window--state-get-1): Obey window-point-insertion-type.
4014
4015 2012-04-11 Lennart Borgman <lennart.borgman@gmail.com>
4016
4017 * emacs-lisp/lisp.el (narrow-to-defun): `beginning-of-defun' goes
4018 to previous function when point is on the first character of a
4019 function. Take care of that in `narrow-to-defun' (bug#6157).
4020
4021 2012-04-11 Glenn Morris <rgm@gnu.org>
4022
4023 * vc/vc-bzr.el (vc-bzr-status): Handle all errors,
4024 not just file-errors.
4025
4026 * vc/vc-bzr.el (vc-bzr-sha1-program, sha1-program): Remove.
4027 (vc-bzr-sha1): Use internal sha1.
4028
4029 2012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
4030
4031 * progmodes/flymake.el (flymake-mode): Beware read-only dirs (bug#8954).
4032
4033 2012-04-10 Sébastien Gross <seb@chezwam.org> (tiny change)
4034
4035 * progmodes/hideshow.el (hs-hide-all): Don't infloop on comments
4036 that start in the middle of the line (bug#10496).
4037
4038 2012-04-10 Dan Nicolaescu <dann@gnu.org>
4039
4040 * battery.el (battery-linux-proc-acpi): Only one battery is
4041 discharged at a time, but that seems to confuse battery.el when
4042 computing `rate-type' for the battery not being discharged
4043 (bug#10332).
4044
4045 2012-04-10 Stefan Monnier <monnier@iro.umontreal.ca>
4046
4047 * emacs-lisp/autoload.el (autoload-make-program): Remove, unused.
4048
4049 * international/quail.el: Use dolist and simplify.
4050 (quail-define-package, quail-update-keyboard-layout)
4051 (quail-define-rules): Use dolist.
4052 (quail-insert-kbd-layout, quail-get-translation): CSE.
4053
4054 * tmm.el: Use dolist, remove left over hook.
4055 (tmm-prompt, tmm-define-keys, tmm-shortcut, tmm-get-keybind):
4056 Use dolist.
4057 (calendar-load-hook): Don't mess with it.
4058
4059 * vc/vc-annotate.el (vc-annotate-show-diff-revision-at-line-internal):
4060 Use derived-mode-p. Run the diff asynchronously.
4061
4062 2012-04-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
4063
4064 * obsolete/mouse-sel.el: Add an Obsolete-since header.
4065
4066 2012-04-10 Juanma Barranquero <lekktu@gmail.com>
4067
4068 * misc.el: Display absolute path of loaded DLLs (bug#10424).
4069 (list-dynamic-libraries--loaded): New function.
4070 (list-dynamic-libraries--refresh): Use it.
4071
4072 2012-04-10 Nathan Weizenbaum <nweiz@google.com>
4073
4074 * progmodes/python.el (python-fill-paragraph):
4075 Make python-fill-region in a multiline string work when font-lock is
4076 disabled (bug#7018).
4077
4078 2012-04-10 Laimonas VÄ—bra <laimonas.vebra@gmail.com> (tiny change)
4079
4080 * language/european.el (cp775): Add oem/legacy (en)coding on
4081 DOS/MS Windows for the Baltic languages. There are still plenty
4082 of texts written in this encoding/codepage (bug#6519).
4083
4084 2012-04-10 Glenn Morris <rgm@gnu.org>
4085
4086 * cus-start.el (eol-mnemonic-unix, eol-mnemonic-dos, eol-mnemonic-mac):
4087 Add :standard values, reducing "rogue" customs in emacs -Q a bit more.
4088
4089 2012-04-10 Florian Adamsky <florian@adamsky.it> (tiny change)
4090
4091 * recentf.el (recentf-dialog-mode-map): Add two keybindings for
4092 next-line "n" and previous-line "p" in order to make recentf more
4093 consistent with ibuffer, dired or org-mode (bug#9387).
4094
4095 2012-04-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
4096
4097 * image.el (put-image): Return the overlay created instead of the
4098 optional input string (bug#7834). Note that this may break code
4099 that is (for some reason or other) depending on `put-image'
4100 returning the string.
4101
4102 * mouse-sel.el (mouse-sel-mode): Mark as obsolete (bug#6174).
4103
4104 * simple.el (zap-to-char): Allow zapping using input methods
4105 (bug#1580).
4106
4107 * textmodes/fill.el (fill-region): Leave point and mark where they
4108 were before filling (bug#5399).
4109
4110 2012-04-09 Glenn Morris <rgm@gnu.org>
4111
4112 * version.el (emacs-bzr-get-version):
4113 Handle lightweight checkouts of local branches.
4114
4115 2012-04-09 Andreas Schwab <schwab@linux-m68k.org>
4116
4117 * international/characters.el: Recover lost case pairs. (Bug#11209)
4118
4119 2012-04-09 Chong Yidong <cyd@gnu.org>
4120
4121 * custom.el (custom-variable-p): Return nil for non-symbol
4122 arguments instead of signaling an error.
4123 (user-variable-p): Obsolete alias for custom-variable-p.
4124
4125 * apropos.el (apropos-variable):
4126 * files-x.el (read-file-local-variable):
4127 * simple.el (set-variable):
4128 * woman.el (woman-mini-help):
4129 * emacs-lisp/byte-opt.el (side-effect-free-fns): Callers changed.
4130
4131 2012-04-09 Glenn Morris <rgm@gnu.org>
4132
4133 * startup.el (normal-top-level): Don't look for leim-list.el
4134 in places where it will not be found. (Bug#910)
4135
4136 * international/mule-cmds.el (set-default-coding-systems):
4137 * files.el (normal-mode):
4138 Remove guarded calls to ucs-set-table-for-input. (Bug#9821)
4139 This function was removed with ucs-tables.el in 2008.
4140
4141 2012-04-08 Eli Zaretskii <eliz@gnu.org>
4142
4143 * textmodes/ispell.el (ispell-check-version): For hunspell, set
4144 ispell-encoding8-command to "-i", without a trailing space.
4145 (ispell-start-process): For hunspell, use '("-i" ENCODING), in 2
4146 separate command-line arguments, to specify the encoding, since
4147 that's how hunspell expects it.
4148
4149 2012-04-08 Glenn Morris <rgm@gnu.org>
4150
4151 * loadup.el: Load bindings before cus-start.
4152 This reduces somewhat the number of "rogue" settings in emacs -Q.
4153
4154 2012-04-07 Glenn Morris <rgm@gnu.org>
4155
4156 * version.el (emacs-bzr-get-version): New function.
4157 (emacs-bzr-version): New variable.
4158 * loadup.el (emacs-bzr-version): Set it. (Bug#8054)
4159 * mail/emacsbug.el (report-emacs-bug): Include bzr version.
4160
4161 2012-04-07 Eli Zaretskii <eliz@gnu.org>
4162
4163 * international/uni-bidi.el, international/uni-category.el:
4164 * international/uni-combining.el, international/uni-decimal.el:
4165 * international/uni-decomposition.el, international/uni-digit.el:
4166 * international/uni-lowercase.el, international/uni-mirrored.el:
4167 * international/uni-name.el, international/uni-numeric.el:
4168 * international/uni-titlecase.el, international/uni-uppercase.el:
4169 Update for Unicode 6.1.
4170
4171 2012-04-07 Eli Zaretskii <eliz@gnu.org>
4172
4173 * term/w32-win.el (dynamic-library-alist): Add libxml2 DLLs.
4174
4175 2012-04-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
4176
4177 * window.el (shrink-window): Mention the `window-min-height'
4178 variable in the doc string.
4179
4180 2012-04-05 Bastien Guerry <bzg@altern.org>
4181
4182 * color.el (color-lighten-name): Fix typo.
4183
4184 2012-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
4185
4186 * server.el (server--on-display-p): New function.
4187 (server--on-display-p): Use it.
4188
4189 2012-04-04 Gabor Vida <vidagabor@gmail.com> (tiny change)
4190
4191 * ido.el (ido-wide-find-dirs-or-files): Use file-name-absolute-p
4192 (bug#11145).
4193
4194 2012-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
4195
4196 * comint.el (comint--common-quoted-suffix): Check string boundary
4197 before comparing (bug#11158).
4198 * pcomplete.el (pcomplete--common-quoted-suffix): Idem.
4199
4200 2012-04-04 Chong Yidong <cyd@gnu.org>
4201
4202 * minibuffer.el (completion-extra-properties): Doc fix.
4203
4204 * subr.el (delayed-warnings-hook): Doc fix.
4205
4206 2012-04-04 Daiki Ueno <ueno@unixuser.org>
4207
4208 * epa.el (epa--select-keys): Bind C-c C-c to finish the key
4209 selection (Bug#11159).
4210 (epa-insert-keys): Inform that the default public key will be
4211 exported if no key is selected.
4212
4213 2012-04-04 Richard Stallman <rms@gnu.org>
4214
4215 * mail/emacsbug.el (report-emacs-bug): Bind inhibit-read-only.
4216
4217 2012-04-03 Chong Yidong <cyd@gnu.org>
4218
4219 * mail/sendmail.el (mail-mode-map): Bind C-c C-i to
4220 mail-insert-file, not its obsolete alias mail-attach-file.
4221
4222 2012-04-03 Michael Albinus <michael.albinus@gmx.de>
4223
4224 * notifications.el (notifications-notify): Fix docstring.
4225
4226 2012-04-02 Glenn Morris <rgm@gnu.org>
4227
4228 * emacs-lisp/authors.el (authors-aliases): Another addition.
4229
4230 2012-04-02 Michael Albinus <michael.albinus@gmx.de>
4231
4232 * net/tramp-gvfs.el (tramp-gvfs-send-command): Apply
4233 `tramp-compat-call-process' instead of `tramp-local-call-process'.
4234 Reported by Magnus Henoch <magnus.henoch@gmail.com>.
4235
4236 2012-04-01 Chong Yidong <cyd@gnu.org>
4237
4238 * files.el (file-in-directory-p): Rename from file-subdir-of-p.
4239 Handle root directory properly.
4240 (copy-directory): Caller changed.
4241
4242 * dired-aux.el (dired-copy-file-recursive, dired-create-files):
4243 * net/tramp.el (tramp-file-name-for-operation): Callers changed.
4244
4245 2012-03-31 Glenn Morris <rgm@gnu.org>
4246
4247 * term/xterm.el (xterm-extra-capabilities): Doc fix.
4248
4249 * language/indian.el ("Devanagari"): Fix typo. (Bug#11103)
4250
4251 * calendar/calendar.el (calendar-window-list)
4252 (calendar-hide-window): Restore. (Bug#11140)
4253 (calendar-exit): Use calendar-window-list, calendar-hide-window again.
4254
4255 * emacs-lisp/edebug.el (edebug-unwrap-results): Doc fix.
4256
4257 2012-03-30 Thierry Volpiatto <thierry.volpiatto@gmail.com>
4258
4259 * dired-aux.el (dired-copy-file-recursive, dired-create-files):
4260 Check if file is a symlink (Bug#10489).
4261
4262 * files.el (copy-directory): Likewise.
4263
4264 2012-03-30 Chong Yidong <cyd@gnu.org>
4265
4266 * image.el (imagemagick-types-inhibit)
4267 (imagemagick-register-types): Doc fix.
4268
4269 2012-03-30 Agustín Martín Domingo <agustin.martin@hispalinux.es>
4270
4271 * ispell.el (ispell-get-extended-character-mode):
4272 Disable extended-char-mode for hunspell. hunspell does not support it
4273 and treats ~word as ordinary words in pipe mode.
4274
4275 2012-03-30 Glenn Morris <rgm@gnu.org>
4276
4277 * tutorial.el (help-with-tutorial): Ensure local variables don't
4278 happen to make the buffer read-only. (Bug#11127)
4279
4280 2012-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
4281
4282 * progmodes/perl-mode.el (perl-indent-line): Use `noindent' in strings.
4283 (perl-calculate-indent): Return `noindent' in strings.
4284
4285 2012-03-28 Sam Steingold <sds@gnu.org>
4286
4287 * calendar/calendar.el (calendar-exit): Use `quit-windows-on'
4288 instead of the broken adhockery which does not prevent calendar
4289 buffers from being displayed at random after exit.
4290 (calendar-window-list, calendar-hide-window): Remove the broken
4291 adhockery.
4292
4293 2012-03-28 Glenn Morris <rgm@gnu.org>
4294
4295 * replace.el (query-replace-map): Doc fix.
4296
4297 2012-03-28 Andreas Schwab <schwab@linux-m68k.org>
4298
4299 * vc/vc-git.el (vc-git-state): Don't try to match all of the diff
4300 contents. (Bug#11109)
4301
4302 2012-03-27 Stefan Monnier <monnier@iro.umontreal.ca>
4303
4304 * emacs-lisp/avl-tree.el (avl-tree--enter-balance): Fix paren typo
4305 (bug#11077).
4306 (avl-tree--check, avl-tree--check-node): New funs.
4307
4308 2012-03-27 Martin Rudalics <rudalics@gmx.at>
4309
4310 * window.el (switch-to-visible-buffer): New option.
4311 (switch-to-prev-buffer, switch-to-next-buffer):
4312 Observe switch-to-visible-buffer. Make sure that checking for a window
4313 showing a buffer already is done on the same frame.
4314
4315 2012-03-27 Glenn Morris <rgm@gnu.org>
4316
4317 * startup.el (mail-host-address): Doc fix.
4318
4319 2012-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
4320
4321 * emacs-lisp/bytecomp.el (byte-compile-constants-vector): Allow more
4322 than 197 variables.
4323
4324 2012-03-26 Ami Fischman <ami@fischman.org>
4325
4326 * vc/vc-git.el (vc-git-state): Avoid unnecessarily locking.
4327
4328 2012-03-26 Glenn Morris <rgm@gnu.org>
4329
4330 * files.el (save-buffers-kill-emacs): Doc fix.
4331
4332 * startup.el (normal-top-level, command-line, command-line-1):
4333 Give them doc strings.
4334
4335 2012-03-25 Eli Zaretskii <eliz@gnu.org>
4336
4337 * makefile.w32-in (install): Use $(DIRNAME)_same-dir.tst instead
4338 of same-dir.tst, to avoid stepping on other (parallel) Make job's toes.
4339
4340 2012-03-25 Chong Yidong <cyd@gnu.org>
4341
4342 * custom.el (load-theme): Even if NO-ENABLE arg is t, reenable the
4343 theme if it was previously enabled before (Bug#11031).
4344
4345 * cus-theme.el (custom-theme-write-faces): Retrieve current face
4346 spec with custom-face-get-current-spec if its :shown-value is not
4347 determined yet (Bug#9337).
4348 (customize-create-theme, custom-theme-revert): Doc fixes.
4349
4350 * button.el (button-at): Minor addition to docstring.
4351
4352 2012-03-24 Simon Leinen <simon.leinen@gmail.com>
4353
4354 * vc/vc.el (vc-merge): Fix a prompt.
4355
4356 2012-03-24 Chong Yidong <cyd@gnu.org>
4357
4358 * mwheel.el (mwheel-scroll): Call deactivate-mark at the right
4359 point (Bug#9623).
4360
4361 * button.el (button-at): Minor addition to docstring.
4362
4363 2012-03-23 Stefan Monnier <monnier@iro.umontreal.ca>
4364
4365 * newcomment.el (comment-choose-indent): No space after BOL.
4366
4367 2012-03-22 Sam Steingold <sds@gnu.org>
4368
4369 * window.el (switch-to-prev-buffer): Revert last patch because the
4370 bug turned out to be an advertised feature (Elisp manual 28.14).
4371
4372 2012-03-22 Glenn Morris <rgm@gnu.org>
4373
4374 * vc/vc-bzr.el (vc-bzr-status-switches): New option. (Bug#6724)
4375 (vc-bzr-command): If running "status", pass vc-bzr-status-switches.
4376
4377 2012-03-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
4378
4379 * net/network-stream.el (network-stream-open-starttls): Make error
4380 message under Windows be less misleading.
4381
4382 2012-03-22 Liang Wang <netcasper@gmail.com> (tiny change)
4383
4384 * progmodes/etags.el (etags-list-tags): Only use tags which goto-func
4385 understands (bug#9942).
4386
4387 2012-03-22 Chong Yidong <cyd@gnu.org>
4388
4389 * simple.el (end-of-visible-line): Handle return value of
4390 next-single-property-change properly (Bug#9371).
4391
4392 2012-03-22 Kenichi Handa <handa@m17n.org>
4393
4394 * international/quail.el (quail-insert-kbd-layout): Fix previous
4395 change. To avoid unwanted bidi reordering, use
4396 bidi-string-mark-left-to-right instead of inserting LRO and PDF.
4397
4398 2012-03-21 Dmitry Gutov <dgutov@yandex.ru>
4399
4400 * progmodes/ruby-mode.el: Don't confuse "end:" for "end" (bug#10786).
4401 (ruby-block-end-re, ruby-delimiter, ruby-parse-partial)
4402 (ruby-beginning-of-indent): Be more careful with the difference
4403 between word-boundary and symbol boundary.
4404 (ruby-mode-syntax-table): Make : a symbol constituent.
4405
4406 2012-03-21 Andreas Politz <politza@fh-trier.de>
4407
4408 * outline.el (outline-flag-region): Evaporate overlays (bug#10789).
4409
4410 2012-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
4411
4412 * progmodes/etags.el (tags-completion-at-point-function):
4413 Improve last fix.
4414
4415 * files.el (move-file-to-trash): Files aren't regexps (bug#11055).
4416
4417 2012-03-21 Sam Steingold <sds@gnu.org>
4418
4419 * progmodes/etags.el (tags-completion-at-point-function):
4420 Avoid the error when point is inside the pattern.
4421
4422 2012-03-21 John Yates <john@yates-sheets.org> (tiny change)
4423
4424 * progmodes/hideshow.el (hs-inside-comment-p): Fix hiding of first
4425 line (Bug#10855).
4426
4427 2012-03-21 Drew Adams <drew.adams@oracle.com>
4428
4429 * info.el (Info-menu): Handle string value of FORK arg (Bug#10858).
4430
4431 2012-03-21 Anmol Khirbat <anmol@khirbat.net> (tiny change)
4432
4433 * ido.el (ido-set-current-directory, ido-read-internal)
4434 (ido-choose-completion-string, ido-completion-help): Handle nil
4435 value of ido-completion-buffer (Bug#11008).
4436
4437 2012-03-21 Sam Steingold <sds@gnu.org>
4438
4439 * window.el (switch-to-prev-buffer): Do not switch to a visible
4440 window previous buffer, just like with the frame previous buffers.
4441
4442 2012-03-21 Chong Yidong <cyd@gnu.org>
4443
4444 * faces.el (make-face, make-empty-face, copy-face):
4445 * face-remap.el (face-remap-add-relative, face-remap-set-base):
4446 Doc fixes.
4447
4448 2012-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
4449
4450 * wid-edit.el (widget-complete-field): Remove (bug#11051).
4451 (widget-complete): Remove broken use of it.
4452
4453 2012-03-20 Chong Yidong <cyd@gnu.org>
4454
4455 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
4456 Use string-width and truncate-string-width to handle arbitrary
4457 characters.
4458
4459 2012-03-20 Tassilo Horn <tassilo@member.fsf.org>
4460
4461 * textmodes/artist.el (artist-menu-map): Bind Rectangle menu item
4462 to draw rectangles, not squares. (Regression introduced by revno
4463 2011-03-02T03:48:01Z!cyd@stupidchicken.com)
4464
4465 2012-03-18 Chong Yidong <cyd@gnu.org>
4466
4467 * faces.el (face-spec-reset-face): Don't call display-graphic-p if
4468 it is not yet defined (for temacs).
4469
4470 2012-03-18 Leo Liu <sdl.web@gmail.com>
4471
4472 * net/rcirc.el (rcirc-cmd-quit): Allow quiting all servers with prefix.
4473
4474 2012-03-17 Eli Zaretskii <eliz@gnu.org>
4475
4476 * textmodes/ispell.el (ispell-skip-tib, ispell-keep-choices-win)
4477 (ispell-choices-win-default-height, ispell-silently-savep)
4478 (ispell-dictionary-alist, ispell-encoding8-command)
4479 (ispell-check-version, ispell-aspell-find-dictionary)
4480 (ispell-valid-dictionary-list, ispell-words-keyword)
4481 (ispell-get-word, ispell-internal-change-dictionary)
4482 (ispell-region, ispell-skip-region-list)
4483 (ispell-begin-skip-region-regexp, ispell-ignore-fcc)
4484 (ispell-process-line, ispell-minor-mode, ispell-minor-check)
4485 (ispell-message-text-end, ispell-message)
4486 (ispell-buffer-local-parsing): Doc fix.
4487
4488 2012-03-13 Jambunathan K <kjambunathan@gmail.com>
4489
4490 * htmlfontify.el: Add support for code block fontification for ODT
4491 export (Bug #9914).
4492 (hfy-optimisations): Define new option
4493 `body-text-only'
4494 (hfy-fontify-buffer): Honor above setting.
4495 (hfy-begin-span, hfy-end-span): New routines factored out form
4496 `hfy-fontify-buffer'.
4497 (hfy-begin-span-handler, hfy-end-span-handler): New variables
4498 that permit insertion of custom tags.
4499 (hfy-fontify-buffer): Use above handlers.
4500 (hfy-face-to-css-default): Same as the earlier `hfy-face-to-css'.
4501 (hfy-face-to-css): Re-defined to be a variable.
4502 (hfy-compile-stylesheet): Modify. Allow stylesheet to be built
4503 over multiple runs. This is made possible by having the caller let
4504 bind a special variable `hfy-user-sheet-assoc'.
4505 (htmlfontify-string): New defun.
4506 (hfy-compile-face-map): Make sure that the last char in the
4507 buffer is correctly fontified.
4508 (hfy-face-resolve-face): Whitespace only change.
4509
4510 2012-03-17 Eli Zaretskii <eliz@gnu.org>
4511
4512 * textmodes/ispell.el (ispell-get-decoded-string): Make the error
4513 message more clear.
4514
4515 2012-03-16 Leo Liu <sdl.web@gmail.com>
4516
4517 * emacs-lisp/copyright.el (copyright-year-ranges): Fix typo.
4518
4519 2012-03-16 Alan Mackenzie <acm@muc.de>
4520
4521 Further optimise the handling of large macros.
4522
4523 * progmodes/cc-engine.el (c-crosses-statement-barrier-p): Use a
4524 limit to a call of `c-literal-limits'.
4525 (c-determine-+ve-limit): New function.
4526 (c-at-macro-vsemi-p): Move `c-in-literal' to the bottom of an `and'.
4527 (c-guess-basic-syntax): In macros, restrict a search limit to 2000.
4528 In CASE 5B, restrict a search limit to 500.
4529 (c-just-after-func-arglist-p): Obviouly wrong `or' -> `and'.
4530
4531 * progmodes/cc-mode.el (c-neutralize-syntax-in-and-mark-CPP):
4532 Restrict macro bounds to +-500 from after-change's BEG END.
4533
4534 2012-03-16 Leo Liu <sdl.web@gmail.com>
4535
4536 * font-lock.el (lisp-font-lock-keywords-2): Add letrec.
4537
4538 2012-03-16 Aaron S. Hawley <Aaron.S.Hawley@gmail.com>
4539
4540 * tar-mode.el (tar-mode): Fix saving by conditionally undoing
4541 `special-mode' setting of `buffer-read-only'. (Bug#11010)
4542
4543 2012-03-16 Glenn Morris <rgm@gnu.org>
4544
4545 * view.el (view-buffer, view-buffer-other-window)
4546 (view-buffer-other-frame): Doc fixes re special mode-class.
4547
4548 * subr.el (eval-after-load): If named feature is provided not from
4549 a file, run after-load forms. (Bug#10946)
4550
4551 * calendar/calendar.el (calendar-insert-at-column):
4552 Handle non-unit-width characters a bit better. (Bug#10978)
4553
4554 2012-03-15 Chong Yidong <cyd@gnu.org>
4555
4556 * emacs-lisp/ring.el (ring-extend): New function.
4557 (ring-insert+extend): Extend the ring correctly (Bug#11019).
4558
4559 * comint.el (comint-read-input-ring)
4560 (comint-add-to-input-history): Grow comint-input-ring lazily.
4561
4562 2012-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
4563
4564 * progmodes/perl-mode.el (perl-syntax-propertize-special-constructs):
4565 Fix up parsing of multiline twoarg non-paired elements (bug#11014).
4566
4567 * imenu.el: Fix multiple inheritance breakage (bug#9199).
4568 (imenu-add-to-menubar): Don't add a redundant index.
4569 (imenu-update-menubar): Handle a dynamically composed keymap.
4570
4571 2012-03-13 Katsumi Yamaoka <yamaoka@jpl.org>
4572
4573 * mail/sendmail.el (mail-encode-header):
4574 Bind rfc2047-encode-encoded-words to nil.
4575
4576 2012-03-13 Glenn Morris <rgm@gnu.org>
4577
4578 * calendar/calendar.el (calendar-string-spread):
4579 Handle non-unit-width characters a bit better. (Bug#10978)
4580
4581 2012-03-13 Leo Liu <sdl.web@gmail.com>
4582
4583 * vc/vc-hg.el (vc-hg-working-revision): Rework to work with both
4584 directory and file as argument (Bug#10822).
4585
4586 2012-03-13 Kaushik Srenevasan <ksrenevasan@gmail.com> (tiny change)
4587
4588 * progmodes/gdb-mi.el (gdb-invalidate-disassembly):
4589 For dynamically generated code, follow $PC.
4590 (gdb-disassembly-handler-custom): Handle no function name case.
4591
4592 2012-03-13 Tim Landscheidt <tim@tim-landscheidt.de> (tiny change)
4593
4594 * calendar/icalendar.el (icalendar-export-file, icalendar-import-file):
4595 * emulation/ws-mode.el (ws-query-replace):
4596 * sort.el (sort-regexp-fields):
4597 Fix missing trailing whitespace in interactive prompts. (Bug#11002)
4598
4599 2012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
4600
4601 * dabbrev.el: Fix cycle completion order (bug#10963).
4602 (dabbrev--last-obarray, dabbrev--last-completion-buffer): Remove.
4603 (dabbrev-completion): Don't use an obarray; provide
4604 a cycle-sort-function.
4605
4606 2012-03-12 Leo Liu <sdl.web@gmail.com>
4607
4608 * simple.el (kill-new): Use equal-including-properties for comparison.
4609 (kill-do-not-save-duplicates): Doc fix.
4610
4611 2012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
4612
4613 * dabbrev.el: Fix cycle completion (bug#10963).
4614 Use lexical binding and wrap to 80 columns.
4615 (dabbrev-completion): Delay computing the list of completions.
4616
4617 2012-03-12 Kenichi Handa <handa@m17n.org>
4618
4619 * international/quail.el (quail-insert-kbd-layout): Surround each
4620 row by LRO and PDF instead of inserting many LRMs. Pad the left
4621 and right of each non-spacing marks. Insert invisible space
4622 between lower and upper characters to prevent composition.
4623
4624 2012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
4625
4626 * minibuffer.el (minibuffer-complete): Don't get confused when the
4627 function is run twice via different commands (bug#10958).
4628 (complete-with-action): Fix docstring.
4629
4630 2012-03-12 Chong Yidong <cyd@gnu.org>
4631
4632 * nxml/nxml-mode.el (nxml-mode-map): Do not bind C-RET (Bug#6776).
4633 (nxml-completion-at-point-function): New function.
4634 (nxml-mode): Use it.
4635 (nxml-bind-meta-tab-to-complete-flag): Default to t.
4636
4637 * emacs-lisp/package.el (package-unpack, package-unpack-single):
4638 Load generated autoloads file before byte compiling (Bug#10970).
4639 (package--make-autoloads-and-compile): New helper fun.
4640
4641 2012-03-12 Christopher Schmidt <christopher@ch.ristopher.com>
4642
4643 * ibuffer.el (ibuffer-redisplay): Remove another gratuitous error.
4644
4645 2012-03-11 Michael Albinus <michael.albinus@gmx.de>
4646
4647 * autorevert.el (auto-revert-handler): Ensure, that
4648 file-readable-p is applied only for local files or in
4649 auto-revert-tail-mode.
4650
4651 2012-03-11 Andreas Schwab <schwab@linux-m68k.org>
4652
4653 * server.el (server-eval-at): Handle non-tcp connections.
4654 Decode result string.
4655
4656 * server.el (server-msg-size): New constant.
4657 (server-reply-print): New function.
4658 (server-eval-and-print): Use it.
4659 (server-eval-at): Use server-quote-arg and server-unquote-arg.
4660 Handle -print-nonl.
4661
4662 2012-03-11 Christopher Schmidt <christopher@ch.ristopher.com>
4663
4664 * ibuffer.el (ibuffer-redisplay): Remove gratuitous error
4665 (Bug#10987).
4666
4667 2012-03-11 Chong Yidong <cyd@gnu.org>
4668
4669 * simple.el (goto-line): Doc fix (Bug#9938).
4670
4671 * subr.el (save-window-excursion): Doc fix (Bug#9979).
4672
4673 * dabbrev.el (dabbrev--find-expansion): Update progress reporter
4674 when finished (Bug#10963).
4675
4676 2012-03-11 Martin Rudalics <rudalics@gmx.at>
4677
4678 * window.el (split-window-below): Fix bug in case where
4679 split-window-keep-point is nil (Bug#10971).
4680
4681 2012-03-11 Juri Linkov <juri@jurta.org>
4682
4683 * replace.el (replace-highlight): Set isearch-word to nil
4684 unconditionally. (Bug#10887)
4685
4686 2012-03-10 Eli Zaretskii <eliz@gnu.org>
4687
4688 * net/mairix.el (mairix-replace-invalid-chars): Rename from
4689 mairix-replace-illegal-chars; all callers changed. Don't remove
4690 ^, ~, and = characters: they are meaningful in mairix search specs.
4691 (mairix-widget-create-query): Add usage information about mairix
4692 search forms: negating words, searching for substrings, etc.
4693
4694 2012-03-10 Jae-hyeon Park <jae-hyeon.park@desy.de> (tiny change)
4695
4696 * international/fontset.el (font-encoding-alist): Add an entry for
4697 ksx1001 (Bug#5667).
4698
4699 2012-03-10 Richard Stallman <rms@gnu.org>
4700
4701 * mail/sendmail.el (mail-encode-header):
4702 Set rfc2047-encode-encoded-words.
4703
4704 * mail/mail-utils.el (mail-quote-printable): Quote multibyte chars.
4705
4706 * mail/rmail.el (rmail-buffers-swapped-p): Don't assume dead
4707 view buffer means not swapped.
4708 (rmail-view-buffer-kill-buffer-hook): Give buf name in error msg.
4709 (rmail-write-region-annotate): Error if real text has disappeared.
4710
4711 * epa-mail.el (epa-mail-encrypt): Bind inhibit-read-only.
4712
4713 2012-03-10 Chong Yidong <cyd@gnu.org>
4714
4715 * emulation/cua-rect.el (cua--init-rectangles):
4716 * emulation/cua-base.el (cua--init-keymaps):
4717 Add delete-forward-char to remappings (Bug#9666).
4718
4719 2012-03-10 Martin Rudalics <rudalics@gmx.at>
4720
4721 * speedbar.el (speedbar-unhighlight-one-tag-line):
4722 Avoid unhighlighting due to frame switching (Bug#10275).
4723
4724 2012-03-10 Chong Yidong <cyd@gnu.org>
4725
4726 * minibuffer.el (completion-in-region, completion-help-at-point):
4727 Give the completion field overlay a high priority (Bug#6830).
4728
4729 * dired.el (dired-goto-file): Recognize absolute file name
4730 listings (Bug#7126).
4731 (dired-goto-file-1): New helper function.
4732 (dired-toggle-read-only): Inhibit warnings.
4733
4734 2012-03-09 Michael Albinus <michael.albinus@gmx.de>
4735
4736 * net/dbus.el (dbus-property-handler): Return empty array if
4737 there are no properties.
4738
4739 2012-03-09 Leo Liu <sdl.web@gmail.com>
4740
4741 * savehist.el (savehist-printable): Stricter check for string
4742 value (Bug#10937).
4743
4744 2012-03-09 Eli Zaretskii <eliz@gnu.org>
4745
4746 * mail/smtpmail.el (smtpmail-send-it):
4747 Bind coding-system-for-write to *-unix, so that FCC files are kept in
4748 valid mbox format.
4749
4750 2012-03-09 Glenn Morris <rgm@gnu.org>
4751
4752 * files.el (dir-locals-find-file):
4753 Don't check result is regular, readable.
4754 (dir-locals-read-from-file): Demote errors.
4755
4756 2012-03-08 Eli Zaretskii <eliz@gnu.org>
4757
4758 * international/quail.el (quail-insert-kbd-layout):
4759 Insert invisible LRM characters before each character in a keyboard
4760 layout cell, to prevent their reordering by bidi display engine.
4761 For details, see the discussion in
4762 http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00085.html.
4763
4764 2012-03-08 Alan Mackenzie <acm@muc.de>
4765
4766 * progmodes/cc-cmds.el (c-mark-function): Make it leave a mark at
4767 the starting position; make it extend the marked region when
4768 invoked repeatedly - all under appropriate circumstances.
4769 Fixes bugs #5525, #10906.
4770
4771 2012-03-08 Glenn Morris <rgm@gnu.org>
4772
4773 * files.el (locate-dominating-file, dir-locals-find-file):
4774 Undo 2012-03-06 change.
4775
4776 2012-03-07 Eli Zaretskii <eliz@gnu.org>
4777
4778 * international/quail.el (quail-help):
4779 Force bidi-paragraph-direction be left-to-right. See discussion in
4780 http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00062.html
4781 for the reason.
4782
4783 2012-03-07 Michael Albinus <michael.albinus@gmx.de>
4784
4785 Avoid superfluous registering of signals. (Bug#10807)
4786
4787 * notifications.el (notifications-on-action-object)
4788 (notifications-on-close-object): New defvars.
4789 (notifications-on-action-signal, notifications-on-closed-signal):
4790 Unregister the signal if not needed any longer.
4791 (notifications-notify): Register `notifications-action-signal' or
4792 `notifications-closed-signal', if :on-action or :on-close has been
4793 passed as argument.
4794
4795 2012-03-07 Chong Yidong <cyd@gnu.org>
4796
4797 * cus-start.el: Avoid x-select-enable-clipboard-manager warning on
4798 non-X platforms.
4799
4800 2012-03-06 Glenn Morris <rgm@gnu.org>
4801
4802 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
4803 (x-disown-selection-internal, x-get-selection-internal):
4804 Doc fix (add arglist signatures). (Bug#10783)
4805
4806 2012-03-06 Kaushik Srenevasan <ksrenevasan@gmail.com> (tiny change)
4807
4808 * progmodes/gdb-mi.el (gdb-breakpoints-list-handler-custom):
4809 Handle breakpoints with no "type".
4810
4811 2012-03-06 Glenn Morris <rgm@gnu.org>
4812
4813 * files.el (locate-dominating-file): Add optional predicate argument.
4814 (dir-locals-find-file): Make use of above change.
4815
4816 2012-03-06 Thien-Thi Nguyen <ttn@gnuvola.org>
4817
4818 * info.el (Info-insert-dir): Also try "dir.gz".
4819
4820 2012-03-06 Glenn Morris <rgm@gnu.org>
4821
4822 * files.el (dir-locals-find-file):
4823 Ignore non-readable or non-regular files. (Bug#10928)
4824
4825 * files.el (locate-dominating-file): Doc fix.
4826
4827 2012-03-06 Adam Spiers <emacs@adamspiers.org> (tiny change)
4828
4829 * calendar/calendar.el (calendar-set-mode-line):
4830 `getenv' returns a string. (Bug#10951)
4831
4832 2012-03-05 Leo Liu <sdl.web@gmail.com>
4833
4834 * simple.el (backward-delete-char-untabify): Constrain point to
4835 field (Bug#10939).
4836
4837 * eshell/em-cmpl.el (eshell-cmpl-initialize): Fix shift-tab key.
4838
4839 2012-03-05 Chong Yidong <cyd@gnu.org>
4840
4841 * simple.el (count-words): If called from Lisp, return the word
4842 count, for symmetry with `count-lines'. Arglist changed.
4843 (count-words--message): Args changed. Consolidate counting code
4844 from count-words and count-words-region.
4845 (count-words-region): Caller changed.
4846 (count-lines-region): Make it an obsolete alias.
4847
4848 2012-03-04 Tassilo Horn <tassilo@member.fsf.org>
4849
4850 * saveplace.el (save-place-to-alist)
4851 (save-place-ignore-files-regexp): Allow value nil to disable this
4852 feature.
4853
4854 2012-03-04 Chong Yidong <cyd@gnu.org>
4855
4856 * faces.el (face-spec-reset-face): For the default face, reset the
4857 attributes to default values (Bug#10748).
4858
4859 2012-03-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
4860
4861 * mail/emacsbug.el (report-emacs-bug-hook): Fix up thinko in
4862 previous patch: Check `message-send-mail-function', and not the
4863 default function (bug#10897).
4864
4865 2012-03-04 Michael Albinus <michael.albinus@gmx.de>
4866
4867 * notifications.el (notifications-on-action-signal)
4868 (notifications-on-closed-signal): Check for unique service name of
4869 incoming event. Fix error in removing entry.
4870 (top): Register for signals with wildcard service name.
4871 (notifications-notify): Use daemon unique service name for map entries.
4872
4873 2012-03-04 Chong Yidong <cyd@gnu.org>
4874
4875 * cus-start.el: Make x-select-enable-clipboard-manager customizable.
4876
4877 2012-03-04 Glenn Morris <rgm@gnu.org>
4878
4879 * abbrev.el (copy-abbrev-table, abbrev-table-p)
4880 (abbrev-minor-mode-table-alist, define-abbrev, abbrev-insert)
4881 (expand-abbrev, define-abbrev-table): Doc fixes.
4882
4883 2012-03-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
4884
4885 * mail/emacsbug.el (report-emacs-bug-hook): Look at the value of
4886 `message-default-send-mail-function' and not `send-mail-function'
4887 when doing the prompting for `sendmail-query-once' before sending
4888 in Message buffers (bug#10897).
4889
4890 * net/tls.el (open-tls-stream): Don't set the dont-query-on-exit flag.
4891 This is inconsistent with all the other stream functions, which leave
4892 the setting up to the higher levels (if so wanted) (bug#10931).
4893
4894 2012-03-02 Alan Mackenzie <acm@muc.de>
4895
4896 Depessimize the handling of very large macros.
4897
4898 * progmodes/cc-engine.el (c-macro-cache, c-macro-cache-start-pos):
4899 (c-macro-cache-syntactic): New variables to implement a one
4900 element macro cache.
4901 (c-invalidate-macro-cache): New function.
4902 (c-beginning-of-macro, c-end-of-macro, c-syntactic-end-of-macro):
4903 Adapt to use the new cache.
4904 (c-state-safe-place): Use better the cache of safe positions.
4905 (c-state-semi-nonlit-pos-cache)
4906 (c-state-semi-nonlit-pos-cache-limit):
4907 New variables for...
4908 (c-state-semi-safe-place): New function. Here, in a macro is "safe".
4909 (c-invalidate-state-cache-1): New stuff for c-state-semi-safe-place.
4910 (c-in-literal, c-literal-limits, c-determine-limit-get-base):
4911 Use c-state-semi-safe-place.
4912
4913 * progmodes/cc-langs.el (c-get-state-before-change-functions):
4914 Add c-invalidate-macro-cache to the C, C++, Obj entries.
4915
4916 2012-03-02 Michael Albinus <michael.albinus@gmx.de>
4917
4918 * jka-compr.el (jka-compr-call-process):
4919 Apply `file-accessible-directory-p' only when the default directory is
4920 not remote.
4921
4922 2012-03-01 Michael Albinus <michael.albinus@gmx.de>
4923
4924 * files.el (file-equal-p): Fix docstring. Avoid unnecessary
4925 access of FILE2, if FILE1 does not exist.
4926
4927 * net/tramp-sh.el (tramp-remote-process-environment): Add "PAGER=\"\"".
4928 Reported by Robert Lupton the Good <rhl@astro.princeton.edu>.
4929
4930 * vc/vc-git.el (vc-git--call): Enable `inhibit-null-byte-detection'.
4931 Add "PAGER=" to `process-environment'.
4932
4933 2012-03-01 Michael R. Mauger <mmaug@yahoo.com>
4934
4935 * progmodes/sql.el: Bug fix
4936 (sql-get-login-ext): Save login values in globals.
4937 (sql-get-login): Use new version of `sql-get-login-ext'.
4938 (sql-interactive-mode): Set global `sql-connection' to nil.
4939 (sql-connect): Set global values for connection.
4940 (sql-product-interactive): Save global values as buffer local.
4941
4942 2012-02-29 Leo Liu <sdl.web@gmail.com>
4943
4944 * abbrev.el (define-abbrevs): Reset sys to nil.
4945
4946 2012-02-28 Thierry Volpiatto <thierry.volpiatto@gmail.com>
4947
4948 * files.el (file-equal-p): Rename from `files-equal-p'.
4949 Return nil when one or both files don't exist.
4950 (file-subdir-of-p): Now only top directory must exists,
4951 return nil if it doesn't.
4952 (copy-directory): No need to test with `file-subdir-of-p' after
4953 creating dir.
4954 * net/tramp.el (tramp-file-name-for-operation): Rename `files-equal-p'
4955 to `file-equal-p'.
4956
4957 2012-02-28 Glenn Morris <rgm@gnu.org>
4958
4959 * shell.el (shell-mode):
4960 * progmodes/vhdl-mode.el (wildcard-to-regexp, file-expand-wildcards):
4961 * play/landmark.el (landmark-font-lock-face-O):
4962 * play/handwrite.el (handwrite):
4963 * play/gomoku.el (gomoku-O):
4964 * net/browse-url.el (browse-url-browser-display):
4965 * international/mule.el (define-charset):
4966 * htmlfontify.el (hfy-etags-cmd, hfy-face-attr-for-class):
4967 * filesets.el (filesets-find-file-delay):
4968 * eshell/em-xtra.el (eshell-xtra):
4969 * eshell/em-unix.el (eshell-grep):
4970 * emulation/viper.el (viper-mode):
4971 * emacs-lisp/regexp-opt.el (regexp-opt-group):
4972 * emacs-lisp/easymenu.el (easy-menu-define):
4973 * calendar/timeclock.el (timeclock-use-display-time):
4974 * bs.el (bs-mode):
4975 * bookmark.el (bookmark-save-flag):
4976 Doc fix (standardize possessive apostrophe usage).
4977
4978 2012-02-27 Chong Yidong <cyd@gnu.org>
4979
4980 * emulation/viper-cmd.el (viper-intercept-ESC-key):
4981 Fix key-binding lookup for ESC key (Bug#9146).
4982
4983 * font-lock.el (font-lock-specified-p): Rename from
4984 font-lock-spec-present. Callers changed.
4985
4986 2012-02-27 Daniel Hackney <dan@haxney.org>
4987
4988 * emacs-lisp/package.el (package-compute-transaction):
4989 Handle holding a package version to t in package-load-list.
4990
4991 2012-02-26 Michael Albinus <michael.albinus@gmx.de>
4992
4993 * net/tramp.el (tramp-inodes, tramp-devices): Initialize with 0.
4994 (tramp-get-inode, tramp-get-device): Use cached values.
4995
4996 2012-02-26 Alan Mackenzie <acm@muc.de>
4997
4998 Check there is a font-lock specification before doing initial
4999 fontification.
5000
5001 * font-core.el (font-lock-mode): Move the conditional from
5002 :after-hook to font-lock-initial-fontify.
5003 (font-lock-default-function): Move the check for a specification
5004 to font-lock-spec-present.
5005
5006 * font-lock.el (font-lock-initial-fontify): Call ...
5007 (font-lock-spec-present): New function.
5008
5009 2012-02-26 Jim Blandy <jimb@red-bean.com>
5010
5011 * progmodes/gdb-mi.el (gdb-mi-quote): New function.
5012 (gdb-send): Apply it to the operand of the '-interpreter-exec
5013 console' command, so that we can pass arguments with (say) quotes
5014 in them. Store exact string sent in gdb-debug-log (Bug#10765).
5015
5016 2012-02-26 Chong Yidong <cyd@gnu.org>
5017
5018 * help-fns.el (describe-function-1): Clarify description of
5019 remapping (Bug#10844).
5020
5021 * files.el (files-equal-p): Doc fix.
5022 (file-subdir-of-p): Doc fix. Convert loop macro to plain Lisp,
5023 and quit the loop once a mismatch is found.
5024
5025 2012-02-25 Juanma Barranquero <lekktu@gmail.com>
5026
5027 * bs.el (bs--show-with-configuration): Don't throw an error
5028 if the window cannot be split; otherwise, subsequent calls to
5029 bs-show fail, restoring a stale window config. (Bug#10882)
5030
5031 2012-02-25 Jan Djärv <jan.h.d@swipnet.se>
5032
5033 * term/ns-win.el (global-map): Bind ns-drag-file to
5034 ns-find-file (Bug#5855, Bug#10050).
5035
5036 2012-02-25 Andreas Schwab <schwab@linux-m68k.org>
5037
5038 * calendar/parse-time.el (parse-time-string): Allow extractor to
5039 return nil.
5040
5041 2012-02-25 Michael Albinus <michael.albinus@gmx.de>
5042
5043 * net/tramp.el (tramp-file-name-for-operation):
5044 Add `files-equal-p' and `file-subdir-of-p'.
5045
5046 * net/tramp-sh.el (tramp-sh-handle-copy-directory):
5047 * net/tramp-smb.el (tramp-smb-handle-copy-directory):
5048 Add COPY-CONTENTS argument.
5049
5050 2012-02-25 Chong Yidong <cyd@gnu.org>
5051
5052 Add custom groups for VC backends, for consistency with vc-bzr.
5053
5054 * vc/vc-arch.el (vc-arch):
5055 * vc/vc-cvs.el (vc-cvs):
5056 * vc/vc-git.el (vc-git):
5057 * vc/vc-hg.el (vc-hg):
5058 * vc/vc-mtn.el (vc-mtn):
5059 * vc/vc-rcs.el (vc-rcs):
5060 * vc/vc-sccs.el (vc-sccs):
5061 * vc/vc-svn.el (vc-svn): New customization group (Bug#10871).
5062 All relevant defcustoms reassigned.
5063
5064 2012-02-25 Chong Yidong <cyd@gnu.org>
5065
5066 * newcomment.el (comment-styles): Add autoload (Bug#10868).
5067
5068 * term/x-win.el (x-initialize-window-system): Reduce default for
5069 x-selection-timeout to 5 seconds (Bug#8869).
5070
5071 2012-02-24 Thierry Volpiatto <thierry.volpiatto@gmail.com>
5072
5073 * files.el (files-equal-p, file-subdir-of-p): New functions.
5074 (copy-directory): Error when trying to copy a directory on itself.
5075 Add missing copy-contents arg to tramp handler.
5076 * dired-aux.el (dired-copy-file-recursive): Same.
5077 (dired-create-files): Modify destination when source is equal to
5078 dest when copying files.
5079 Return also when dest is a subdir of source. (Bug#10489)
5080
5081 2012-02-24 Michael Albinus <michael.albinus@gmx.de>
5082
5083 * net/ange-ftp.el (ange-ftp-parse-netrc): Suppress comment lines.
5084 (Bug#10874)
5085
5086 2012-02-23 Alan Mackenzie <acm@muc.de>
5087
5088 * emacs-lisp/easy-mmode.el (define-minor-mode): Add extra
5089 parameter "after-hook:" to allow the expansion to run code after
5090 the execution of the mode hooks.
5091
5092 * font-lock.el (font-lock-initial-fontify): New function extracted
5093 from font-lock-mode-internal.
5094
5095 * font-core.el (font-lock-mode): Call font-lock-initial-fontify in
5096 :after-hook.
5097
5098 2012-02-23 Stefan Monnier <monnier@iro.umontreal.ca>
5099
5100 * minibuffer.el: Make sure cycling is reset upon edit with icomplete.el.
5101 (completion--cache-all-sorted-completions): New function.
5102 (completion-all-sorted-completions): Use it.
5103 (completion--do-completion, minibuffer-force-complete):
5104 Use it to re-instate the flush hook.
5105
5106 * icomplete.el (icomplete-completions): Replace last fix with a better
5107 one (bug#10850).
5108
5109 2012-02-23 Dmitry Gutov <dgutov@yandex.ru>
5110
5111 * emacs-lisp/lisp.el (beginning-of-defun-raw): Don't call end-of-defun
5112 when it might call us back infinitely (bug#10797).
5113
5114 2012-02-23 Glenn Morris <rgm@gnu.org>
5115
5116 * minibuffer.el (completion-category-overrides): Doc fix.
5117
5118 2012-02-23 Stefan Monnier <monnier@iro.umontreal.ca>
5119
5120 * minibuffer.el (completion-table-with-context): Fix inf-loop.
5121 Reported by Aaron S. Hawley <aaron.s.hawley@gmail.com>.
5122
5123 2012-02-23 Glenn Morris <rgm@gnu.org>
5124
5125 * emacs-lisp/authors.el (authors-aliases, authors-fixed-case)
5126 (authors-obsolete-files-regexps, authors-ignored-files)
5127 (authors-ambiguous-files, authors-renamed-files-alist):
5128 Add more entries.
5129
5130 2012-02-23 Juri Linkov <juri@jurta.org>
5131
5132 * isearch.el (isearch-occur): Sync interactive spec with occur's
5133 new feature in `occur-read-primary-args'. Doc fix. (Bug#10705)
5134
5135 * replace.el (occur-menu-map): Add menu item for `occur-edit-mode'.
5136
5137 2012-02-22 Juri Linkov <juri@jurta.org>
5138
5139 * international/mule-cmds.el (read-char-by-name): Use \` and \'.
5140 (ucs-insert): Doc fix. Check for hex digits in the string.
5141 Don't display `nil' in the error message. (Bug#10857)
5142
5143 2012-02-22 Alan Mackenzie <acm@muc.de>
5144
5145 * progmodes/cc-mode.el: Revert change #2012-02-06T22:08:41Z!larsi@gnus.org from 2012-02-06.
5146
5147 2012-02-22 Glenn Morris <rgm@gnu.org>
5148
5149 * ffap.el (ffap-c-path):
5150 * man.el (Man-header-file-path): Handle multiarch. (Bug#10702)
5151
5152 2012-02-22 Chong Yidong <cyd@gnu.org>
5153
5154 * custom.el (load-theme): Doc fix.
5155
5156 2012-02-22 Glenn Morris <rgm@gnu.org>
5157
5158 * dired-x.el (dired-guess-shell-alist-default):
5159 Remove escape sequences from nroff output. (Bug#172)
5160
5161 2012-02-21 Glenn Morris <rgm@gnu.org>
5162
5163 * vc/emerge.el (emerge-defvar-local):
5164 Set `permanent-local' property rather than unused `preserved'.
5165
5166 * textmodes/picture.el (picture-delete-char): New alias.
5167 (picture-mode-map): Use it. (Bug#10860)
5168 (picture-mode): Doc fix.
5169
5170 2012-02-21 Juanma Barranquero <lekktu@gmail.com>
5171
5172 * newcomment.el (uncomment-region-default): Remove unused binding.
5173
5174 2012-02-21 Glenn Morris <rgm@gnu.org>
5175
5176 * textmodes/picture.el (picture-motion, picture-motion-reverse)
5177 (picture-self-insert, picture-tab-chars): Doc fix.
5178 (picture-mode-map): Fix C-a, C-e.
5179
5180 2012-02-20 Glenn Morris <rgm@gnu.org>
5181
5182 * emacs-lisp/authors.el (authors-aliases): Add another entry.
5183
5184 2012-02-20 Leo Liu <sdl.web@gmail.com>
5185
5186 * icomplete.el (icomplete-completions): Check FROM arg before
5187 passing to substring (Bug#10850).
5188
5189 2012-02-19 Chong Yidong <cyd@gnu.org>
5190
5191 * comint.el: Require ansi-color.
5192 (comint-output-filter-functions): Add ansi-color-process-output.
5193
5194 * ansi-color.el: Don't set comint-output-filter-functions; it is
5195 now in the initial value defined in comint.el.
5196 (ansi-color-apply-face-function): New variable.
5197 (ansi-color-apply-on-region): Use it.
5198 (ansi-color-apply-overlay-face): New function.
5199
5200 * shell.el (shell): No need to require ansi-color.
5201 (shell-mode): Use ansi-color-apply-face-function to highlight
5202 color escapes using font-lock-face property (Bug#10835).
5203
5204 2012-02-19 Chong Yidong <cyd@gnu.org>
5205
5206 * vc/ediff-init.el (ediff-strip-mode-line-format): Handle non-list
5207 mode-line formats (Bug#10839).
5208
5209 2012-02-18 Glenn Morris <rgm@gnu.org>
5210
5211 * mail/rmail.el (rmail-dont-reply-to-names): Mark as obsolete.
5212
5213 * mail/undigest.el (unforward-rmail-message): Doc fix.
5214
5215 * saveplace.el (save-place-ignore-files-regexp): Add :version.
5216
5217 2012-02-18 Eli Zaretskii <eliz@gnu.org>
5218
5219 * international/characters.el (script-list): Sync with the latest
5220 Unicode Character Database.
5221
5222 2012-02-18 Andreas Schwab <schwab@linux-m68k.org>
5223
5224 * international/titdic-cnv.el: Remove duplicate coding tag.
5225 * language/cham.el: Likewise.
5226 * language/tai-viet.el: Likewise.
5227
5228 2012-02-18 Glenn Morris <rgm@gnu.org>
5229
5230 * calendar/cal-menu.el (cal-menu-diary-menu, cal-menu-goto-menu):
5231 * calendar/calendar.el (diary-file, diary-bahai-entry-symbol)
5232 (calendar-bahai-all-holidays-flag, calendar-other-dates):
5233 * calendar/diary-lib.el (diary-abbreviated-year-flag):
5234 * calendar/holidays.el (holiday-bahai-holidays)
5235 (calendar-holidays, list-holidays):
5236 Use utf-8 Bahá'í in doc-strings, menus, etc.
5237
5238 2012-02-17 Tassilo Horn <tassilo@member.fsf.org>
5239
5240 * saveplace.el (save-place-ignore-files-regexp): New variable
5241 allowing for excluding files from saving their location of point.
5242 The default value matches the temporary commit message editing
5243 files from Git, SVN, Bazaar, and Mercurial.
5244 (save-place-to-alist): Use it.
5245
5246 2012-02-17 Lawrence Mitchell <wence@gmx.li>
5247 Stefan Monnier <monnier@iro.umontreal.ca>
5248
5249 * newcomment.el (uncomment-region-default): Don't leave extra space
5250 when an arg is provided (bug#8150).
5251
5252 2012-02-17 Teodor Zlatanov <tzz@lifelogs.com>
5253
5254 * net/gnutls.el (gnutls-trustfiles): Fix Cygwin bundle location.
5255
5256 2012-02-17 Glenn Morris <rgm@gnu.org>
5257
5258 * net/socks.el: Require network-stream. (Bug#10599)
5259
5260 2012-02-17 Kenichi Handa <handa@m17n.org>
5261
5262 * international/charprop.el:
5263 * international/uni-name.el:
5264 * international/uni-old-name.el:
5265 * international/uni-comment.el: Regenerate.
5266
5267 2012-02-16 Glenn Morris <rgm@gnu.org>
5268
5269 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits):
5270 Interactively in calendar buffer, give an error if not on a date.
5271
5272 2012-02-15 Glenn Morris <rgm@gnu.org>
5273
5274 * shell.el (shell-delimiter-argument-list):
5275 Revert 2011-02-17 change. (Bug#8027)
5276
5277 2012-02-15 Chong Yidong <cyd@gnu.org>
5278
5279 * minibuffer.el (completion-at-point-functions): Doc fix.
5280
5281 * custom.el (defcustom): Doc fix; note use of defvar.
5282
5283 2012-02-15 Glenn Morris <rgm@gnu.org>
5284
5285 * mail/smtpmail.el (smtpmail-smtp-user, smtpmail-stream-type):
5286 Doc fixes.
5287
5288 2012-02-14 Glenn Morris <rgm@gnu.org>
5289
5290 * mail/smtpmail.el (smtpmail-query-smtp-server): Give it a doc.
5291
5292 2012-02-14 Lars Ingebrigtsen <larsi@gnus.org>
5293
5294 * mail/smtpmail.el (smtpmail-query-smtp-server): Fix typo in the
5295 way the ports list is computed.
5296 (smtpmail-query-smtp-server): Prompt the user for a port number if
5297 we can't connect to any of the standard ports (bug#10810).
5298
5299 2012-02-14 Teodor Zlatanov <tzz@lifelogs.com>
5300
5301 * net/gnutls.el (gnutls-trustfiles): Add Cygwin location.
5302
5303 2012-02-13 Glenn Morris <rgm@gnu.org>
5304
5305 * minibuffer.el (read-file-name): Doc fix. (Bug#10798)
5306
5307 2012-02-13 Teodor Zlatanov <tzz@lifelogs.com>
5308
5309 * net/gnutls.el (gnutls-trustfiles): New variable.
5310 (gnutls-negotiate): Use it.
5311
5312 2012-02-13 Lars Ingebrigtsen <larsi@gnus.org>
5313
5314 * simple.el (mail-user-agent): Mention that `gnus-user-agent' only
5315 does its stuff if Gnus is running.
5316
5317 2012-02-13 Alan Mackenzie <acm@muc.de>
5318
5319 Fix a loop in c-set-fl-decl-start.
5320
5321 * progmodes/cc-engine.el (c-set-fl-decl-start): Add a check that
5322 c-backward-syntactic-ws actually moves backwards.
5323
5324 2012-02-13 Leo Liu <sdl.web@gmail.com>
5325
5326 * net/rcirc.el (rcirc-markup-attributes): Move point to the
5327 beginning so that all \C-o chars are removed.
5328
5329 2012-02-12 Teodor Zlatanov <tzz@lifelogs.com>
5330
5331 * net/gnutls.el (gnutls-algorithm-priority): Add missing :group tag.
5332
5333 2012-02-12 Alan Mackenzie <acm@muc.de>
5334
5335 Fix infinite loop with long macros.
5336 * progmodes/cc-engine.el (c-state-safe-place): Handle macros properly.
5337
5338 2012-02-12 Chong Yidong <cyd@gnu.org>
5339
5340 * window.el (display-buffer): Doc fix (Bug#10785).
5341
5342 2012-02-12 Glenn Morris <rgm@gnu.org>
5343
5344 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
5345 (x-disown-selection-internal, x-get-selection-internal):
5346 Sync docs with the xselect.c versions.
5347
5348 * allout-widgets.el: Add missing license notice.
5349
5350 2012-02-11 Glenn Morris <rgm@gnu.org>
5351
5352 * select.el (x-get-selection-internal, x-own-selection-internal)
5353 (x-disown-selection-internal):
5354 * x-dnd.el (x-get-selection-internal): Update declarations.
5355
5356 * vc/log-view.el (vc-diff-internal): Remove unneeded declaration.
5357
5358 * window.el (window-sides-slots):
5359 * tool-bar.el (tool-bar-position):
5360 * term/xterm.el (xterm-extra-capabilities):
5361 * ses.el (ses-self-reference-early-detection):
5362 * progmodes/verilog-mode.el (verilog-auto-declare-nettype)
5363 (verilog-auto-wire-type)
5364 (verilog-auto-delete-trailing-whitespace)
5365 (verilog-auto-reset-blocking-in-non, verilog-auto-inst-sort)
5366 (verilog-auto-tieoff-declaration):
5367 * progmodes/sql.el (sql-login-hook, sql-ansi-statement-starters)
5368 (sql-oracle-statement-starters, sql-oracle-scan-on):
5369 * progmodes/prolog.el (prolog-align-comments-flag)
5370 (prolog-indent-mline-comments-flag, prolog-object-end-to-0-flag)
5371 (prolog-left-indent-regexp, prolog-paren-indent-p)
5372 (prolog-paren-indent, prolog-parse-mode, prolog-keywords)
5373 (prolog-types, prolog-mode-specificators)
5374 (prolog-determinism-specificators, prolog-directives)
5375 (prolog-electric-newline-flag, prolog-hungry-delete-key-flag)
5376 (prolog-electric-dot-flag)
5377 (prolog-electric-dot-full-predicate-template)
5378 (prolog-electric-underscore-flag, prolog-electric-tab-flag)
5379 (prolog-electric-if-then-else-flag, prolog-electric-colon-flag)
5380 (prolog-electric-dash-flag, prolog-old-sicstus-keys-flag)
5381 (prolog-program-switches, prolog-prompt-regexp)
5382 (prolog-debug-on-string, prolog-debug-off-string)
5383 (prolog-trace-on-string, prolog-trace-off-string)
5384 (prolog-zip-on-string, prolog-zip-off-string)
5385 (prolog-use-standard-consult-compile-method-flag)
5386 (prolog-use-prolog-tokenizer-flag, prolog-imenu-flag)
5387 (prolog-imenu-max-lines, prolog-info-predicate-index)
5388 (prolog-underscore-wordchar-flag, prolog-use-sicstus-sd)
5389 (prolog-char-quote-workaround):
5390 * progmodes/cc-vars.el (c-defun-tactic):
5391 * net/tramp.el (tramp-encoding-command-interactive)
5392 (tramp-local-end-of-line):
5393 * net/soap-client.el (soap-client):
5394 * net/netrc.el (netrc-file):
5395 * net/gnutls.el (gnutls):
5396 * minibuffer.el (completion-category-overrides)
5397 (completion-cycle-threshold)
5398 (completion-pcm-complete-word-inserts-delimiters):
5399 * man.el (Man-name-local-regexp):
5400 * mail/feedmail.el (feedmail-display-full-frame):
5401 * international/characters.el (glyphless-char-display-control):
5402 * eshell/em-ls.el (eshell-ls-date-format):
5403 * emacs-lisp/cl-indent.el (lisp-lambda-list-keyword-alignment)
5404 (lisp-lambda-list-keyword-parameter-indentation)
5405 (lisp-lambda-list-keyword-parameter-alignment):
5406 * doc-view.el (doc-view-image-width, doc-view-unoconv-program):
5407 * dired-x.el (dired-omit-verbose):
5408 * cus-theme.el (custom-theme-allow-multiple-selections):
5409 * calc/calc.el (calc-highlight-selections-with-faces)
5410 (calc-lu-field-reference, calc-lu-power-reference)
5411 (calc-note-threshold):
5412 * battery.el (battery-mode-line-limit):
5413 * arc-mode.el (archive-7z-extract, archive-7z-expunge)
5414 (archive-7z-update):
5415 * allout.el (allout-prefixed-keybindings)
5416 (allout-unprefixed-keybindings)
5417 (allout-inhibit-auto-fill-on-headline)
5418 (allout-flattened-numbering-abbreviation):
5419 * allout-widgets.el (allout-widgets-auto-activation)
5420 (allout-widgets-icons-dark-subdir)
5421 (allout-widgets-icons-light-subdir, allout-widgets-icon-types)
5422 (allout-widgets-theme-dark-background)
5423 (allout-widgets-theme-light-background)
5424 (allout-widgets-item-image-properties-emacs)
5425 (allout-widgets-item-image-properties-xemacs)
5426 (allout-widgets-run-unit-tests-on-load)
5427 (allout-widgets-time-decoration-activity)
5428 (allout-widgets-hook-error-post-time)
5429 (allout-widgets-track-decoration):
5430 Add missing :version tags to new defcustoms and defgroups.
5431
5432 * progmodes/sql.el (sql-ansi-statement-starters)
5433 (sql-oracle-statement-starters): Add custom type.
5434
5435 * progmodes/prolog.el: Remove leading '*' from defcustom docs.
5436 (prolog-system-version): Give it a type.
5437
5438 2012-02-11 Eli Zaretskii <eliz@gnu.org>
5439
5440 * term/pc-win.el (x-select-text, x-selection-owner-p)
5441 (x-own-selection-internal, x-disown-selection-internal)
5442 (x-get-selection-internal): Sync doc strings and argument lists
5443 with xselect.c, common-win.el and x-win.el. (Bug#10783)
5444
5445 2012-02-11 Leo Liu <sdl.web@gmail.com>
5446
5447 * progmodes/python.el (python-end-of-statement): Fix infinite
5448 loop. (Bug#10788)
5449
5450 2012-02-10 Glenn Morris <rgm@gnu.org>
5451
5452 * international/mule-cmds.el (unify-8859-on-encoding-mode)
5453 (unify-8859-on-decoding-mode): Properly mark as obsolete.
5454
5455 2012-02-10 Lars Ingebrigtsen <larsi@gnus.org>
5456
5457 * mail/emacsbug.el (report-emacs-bug-hook): Query the user first
5458 about SMTP before checking the From header.
5459
5460 * mail/sendmail.el (sendmail-query-user-about-smtp): Refactor out
5461 into own function for reuse by emacsbug.el.
5462
5463 2012-02-10 Leo Liu <sdl.web@gmail.com>
5464
5465 * subr.el (condition-case-unless-debug): Rename from
5466 condition-case-no-debug. All callers changed.
5467 (with-demoted-errors): Fix caller.
5468
5469 * vc/diff-mode.el (diff-auto-refine-mode, diff-hunk):
5470 * nxml/rng-valid.el (rng-do-some-validation):
5471 * emacs-lisp/package.el (package-refresh-contents)
5472 (package-menu-execute):
5473 * desktop.el (desktop-create-buffer):
5474 * font-lock.el (lisp-font-lock-keywords-2): Caller changed.
5475
5476 2012-02-10 Glenn Morris <rgm@gnu.org>
5477
5478 * textmodes/bibtex.el:
5479 Add missing :version tags for new/changed defcustoms.
5480
5481 * files.el (remote-file-name-inhibit-cache): Doc fixes.
5482
5483 2012-02-09 Lars Ingebrigtsen <larsi@rusty>
5484
5485 * mail/smtpmail.el (smtpmail-user-mail-address): New function.
5486 (smtpmail-via-smtp): Use it, or fall back on the From address.
5487 (smtpmail-send-it): Ditto.
5488
5489 2012-02-09 Stefan Monnier <monnier@iro.umontreal.ca>
5490
5491 * emacs-lisp/bytecomp.el (byte-compile-file-form-defvar):
5492 Don't fallback on byte-compile-defvar. Optimize (defvar foo) away.
5493 (byte-compile-tmp-var): New const.
5494 (byte-compile-defvar): Use it to minimize .elc size.
5495 Just use `defvar' rather than simulate it (bug#10761).
5496
5497 2012-02-09 Glenn Morris <rgm@gnu.org>
5498
5499 * files.el (rename-uniquely): Doc fix. (Bug#3806)
5500
5501 * progmodes/cc-guess.el (c-guess-offset-threshold, c-guess-region-max):
5502 Add :version tags.
5503
5504 * progmodes/compile.el (compilation-error-screen-columns)
5505 (compilation-first-column, compilation-filter-start): Doc fixes.
5506
5507 * vc/log-view.el (log-view-toggle-entry-display):
5508 * vc/vc.el (vc-merge, vc-pull): Doc fixes.
5509
5510 * mail/emacsbug.el (report-emacs-bug-can-use-osx-open)
5511 (report-emacs-bug-can-use-xdg-email):
5512 (report-emacs-bug-insert-to-mailer): Doc fixes.
5513 (report-emacs-bug): Message fix.
5514
5515 * net/browse-url.el (browse-url-can-use-xdg-open)
5516 (browse-url-xdg-open): Doc fixes.
5517
5518 * electric.el (electric-indent-mode, electric-pair-mode)
5519 (electric-layout-rules, electric-layout-mode): Doc fixes.
5520 (electric-pair-pairs, electric-pair-skip-self): Add :version tags.
5521
5522 2012-02-08 Martin Rudalics <rudalics@gmx.at>
5523
5524 * server.el (server-unselect-display): Don't inadvertently kill
5525 the current buffer. (Bug#10729)
5526
5527 2012-02-08 Glenn Morris <rgm@gnu.org>
5528
5529 * progmodes/sql.el (sql-port, sql-connection-alist, sql-list-all)
5530 (sql-list-table): Doc fixes.
5531
5532 * image-mode.el (image-transform-minor-mode-map, image-transform-mode):
5533 Comment out (does nothing).
5534
5535 * completion.el (dynamic-completion-mode):
5536 * dirtrack.el (dirtrack-debug-mode):
5537 * electric.el (electric-layout-mode):
5538 * epa-mail.el (epa-mail-mode, epa-global-mail-mode):
5539 * face-remap.el (text-scale-mode, buffer-face-mode):
5540 * iimage.el (iimage-mode):
5541 * image-mode.el (image-transform-mode):
5542 * minibuffer.el (completion-in-region-mode):
5543 * scroll-lock.el (scroll-lock-mode):
5544 * simple.el (next-error-follow-minor-mode):
5545 * tar-mode.el (tar-subfile-mode):
5546 * tooltip.el (tooltip-mode):
5547 * vcursor.el (vcursor-use-vcursor-map):
5548 * wid-browse.el (widget-minor-mode):
5549 * emulation/tpu-edt.el (tpu-edt-mode):
5550 * emulation/tpu-extras.el (tpu-cursor-free-mode):
5551 * international/iso-ascii.el (iso-ascii-mode):
5552 * language/thai-util.el (thai-word-mode):
5553 * mail/supercite.el (sc-minor-mode):
5554 * net/goto-addr.el (goto-address-mode):
5555 * net/rcirc.el (rcirc-multiline-minor-mode, rcirc-track-minor-mode):
5556 * progmodes/cwarn.el (cwarn-mode):
5557 * progmodes/flymake.el (flymake-mode):
5558 * progmodes/glasses.el (glasses-mode):
5559 * progmodes/hideshow.el (hs-minor-mode):
5560 * progmodes/pascal.el (pascal-outline-mode):
5561 * textmodes/enriched.el (enriched-mode):
5562 * vc/smerge-mode.el (smerge-mode):
5563 Doc fixes (minor mode argument).
5564
5565 2012-02-07 Eli Zaretskii <eliz@gnu.org>
5566
5567 * ls-lisp.el (ls-lisp-sanitize): New function.
5568 (ls-lisp-insert-directory): Use it to fix or remove any elements
5569 in file-alist with missing attributes. (Bug#4673)
5570
5571 2012-02-07 Alan Mackenzie <acm@muc.de>
5572
5573 Fix spurious recognition of c-in-knr-argdecl.
5574
5575 * progmodes/cc-engine.el (c-in-knr-argdecl): Check for '=' in a
5576 putative K&R region.
5577
5578 2012-02-07 Alan Mackenzie <acm@muc.de>
5579
5580 * progmodes/cc-engine.el (c-forward-objc-directive):
5581 Prevent looping in "#pragma mark @implementation".
5582
5583 2012-02-07 Michael Albinus <michael.albinus@gmx.de>
5584
5585 * notifications.el (notifications-on-closed-signal): Make `reason'
5586 optional. (Bug#10744)
5587
5588 2012-02-07 Glenn Morris <rgm@gnu.org>
5589
5590 * emacs-lisp/easy-mmode.el (define-minor-mode):
5591 Doc fixes for the macro and the mode it defines.
5592
5593 * image.el (imagemagick-types-inhibit): Doc fix.
5594
5595 * cus-start.el (imagemagick-render-type): Add it.
5596
5597 2012-02-06 Lars Ingebrigtsen <larsi@gnus.org>
5598
5599 * progmodes/cc-mode.el (c-standard-font-lock-fontify-region-function):
5600 Set the default at load time, too, so that `font-lock-fontify-buffer'
5601 can be called without setting up the entire mode first. This fixes
5602 a bug in `mm-inline-text' with C MIME parts.
5603
5604 2012-02-06 Chong Yidong <cyd@gnu.org>
5605
5606 * simple.el (list-processes--refresh): Delete exited processes
5607 (Bug#8094).
5608
5609 * comint.el (comint-next-prompt): next-single-char-property-change
5610 and prev-single-char-property-change never return nil (Bug#8657).
5611
5612 * custom.el (defcustom): Doc fix (Bug#9711).
5613
5614 2012-02-05 Chong Yidong <cyd@gnu.org>
5615
5616 * cus-edit.el (custom-variable-reset-backup): Quote the value
5617 before storing it in the customized-value property (Bug#6712).
5618 (custom-display): Add a customization type tag.
5619 (custom-buffer-create-internal): Improve tooltip message.
5620
5621 * wid-edit.el (widget-field-value-get): New optional arg to
5622 suppress trailing whitespace truncation.
5623 (character): Use it (Bug#2689).
5624
5625 2012-02-05 Andreas Schwab <schwab@linux-m68k.org>
5626
5627 * progmodes/gud.el (gud-pv): Use pv instead of pv1.
5628 * progmodes/gdb-mi.el (gud-pp): Use pp instead of pp1.
5629
5630 2012-02-05 Chong Yidong <cyd@gnu.org>
5631
5632 * cus-edit.el (custom-variable-value-create): For mismatched
5633 types, show the current value (Bug#7600).
5634
5635 * custom.el (defcustom): Doc fix.
5636
5637 2012-02-05 Glenn Morris <rgm@gnu.org>
5638
5639 * font-lock.el (lisp-font-lock-keywords-2): Add with-wrapper-hook.
5640
5641 2012-02-05 Juanma Barranquero <lekktu@gmail.com>
5642
5643 * emacs-lisp/pp.el (pp-to-string): Use `with-temp-buffer'.
5644 (pp-buffer): Use `ignore-errors', `looking-at-p'.
5645 (pp-last-sexp): Use `looking-at-p'.
5646
5647 2012-02-04 Glenn Morris <rgm@gnu.org>
5648
5649 * files.el (revert-buffer):
5650 Doc fix (mention revert-buffer-in-progress-p).
5651
5652 * emacs-lisp/ert-x.el (ert-simulate-command):
5653 Check deferred-action-list (which is obsolete) is bound.
5654
5655 * subr.el (with-wrapper-hook): Doc fixes.
5656
5657 * simple.el (filter-buffer-substring-functions)
5658 (buffer-substring-filters, filter-buffer-substring): Doc fixes.
5659
5660 2012-02-04 Lars Ljung <lars@matholka.se> (tiny change)
5661
5662 * eshell/esh-ext.el (eshell-windows-shell-file): Match "cmdproxy"
5663 anywhere in shell-file-name, not just at the beginning. (Bug#10523)
5664
5665 2012-02-04 Leo Liu <sdl.web@gmail.com>
5666
5667 * emacs-lisp/smie.el: Fix dead link (Bug#10711).
5668
5669 2012-02-04 Glenn Morris <rgm@gnu.org>
5670
5671 * image.el (image-extension-data): Add obsolete alias.
5672
5673 * isearch.el (isearch-update): Doc fix.
5674
5675 * facemenu.el (list-colors-display): Doc fix (minor rephrasing).
5676
5677 * ido.el (ido-find-file): Doc fix (ido-toggle-vc not on any key).
5678
5679 2012-02-03 Glenn Morris <rgm@gnu.org>
5680
5681 * image.el (image-animated-p): Doc fix. Use image-animated-types.
5682 (image-animate-timeout): Doc fix.
5683
5684 * image-mode.el (image-animate-loop, image-toggle-animation): Doc fixes.
5685
5686 2012-02-02 Glenn Morris <rgm@gnu.org>
5687
5688 * server.el (server-auth-dir): Doc fix.
5689 (server-eval-at): Doc fix. Give an explicit error if !server-use-tcp.
5690
5691 * subr.el (run-mode-hooks): Doc fix.
5692
5693 2012-02-02 Juri Linkov <juri@jurta.org>
5694
5695 * image-mode.el (image-toggle-display-image): Remove tautological
5696 `major-mode' from the `derived-mode-p' test.
5697
5698 2012-02-02 Kenichi Handa <handa@m17n.org>
5699
5700 * composite.el (compose-region): Cancel previous change.
5701
5702 2012-02-02 Kenichi Handa <handa@m17n.org>
5703
5704 * composite.el (compose-region, compose-string): Signal error for
5705 a null string component (Bug#6988).
5706
5707 2012-02-01 Chong Yidong <cyd@gnu.org>
5708
5709 * view.el (view-buffer-other-window, view-buffer-other-frame):
5710 Handle special modes like view-buffer (Bug#10650).
5711 (view-buffer): Simplify.
5712
5713 * frame.el (set-frame-font): Tweak meaning of third argument.
5714
5715 * dynamic-setting.el (font-setting-change-default-font):
5716 Use set-frame-font (Bug#9982).
5717
5718 2012-02-01 Glenn Morris <rgm@gnu.org>
5719
5720 * progmodes/compile.el (compilation-internal-error-properties):
5721 Respect compilation-first-column in the "*compilation*" buffer.
5722
5723 * emacs-lisp/easy-mmode.el (define-minor-mode):
5724 Relax :variable's test for a named function.
5725
5726 2012-01-31 Alan Mackenzie <acm@muc.de>
5727
5728 * progmodes/cc-engine.el (c-guess-basic-syntax): CASE 5B.1: Fix an
5729 off by one error.
5730
5731 2012-01-31 Chong Yidong <cyd@gnu.org>
5732
5733 * frame.el (set-frame-font): New arg ALL-FRAMES.
5734
5735 * menu-bar.el (menu-set-font): Use set-frame-font.
5736
5737 * faces.el (face-spec-reset-face): Don't apply unspecified
5738 attribute values to the default face.
5739
5740 2012-01-31 Juanma Barranquero <lekktu@gmail.com>
5741
5742 * progmodes/cwarn.el (cwarn): Remove dead link.
5743 (cwarn-configuration, cwarn-verbose, cwarn-mode-text, cwarn-load-hook):
5744 Remove * from defcustom docstrings.
5745 (turn-on-cwarn-mode): Make obsolete.
5746 (c-at-toplevel-p): Remove compatibility code for Emacs 20.3 and older.
5747 (turn-on-cwarn-mode-if-enabled): Call `cwarn-mode'.
5748
5749 2012-01-31 Glenn Morris <rgm@gnu.org>
5750
5751 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix.
5752 Fix :variable handling of mode a symbol not equal to modefun.
5753 Allow named functions to be used as the cdr of :variable.
5754
5755 2012-01-30 Glenn Morris <rgm@gnu.org>
5756
5757 * emacs-lisp/authors.el (authors-fixed-entries):
5758 Remove reference to deleted file rnewspost.el.
5759
5760 2012-01-29 Juanma Barranquero <lekktu@gmail.com>
5761
5762 * window.el (window-with-parameter): Remove unused variable `windows'.
5763 (window--side-check): Remove unused variable `code'.
5764 (window--resize-siblings): Remove unused variable `first'.
5765 (adjust-window-trailing-edge): Remove unused variable `failed'.
5766 (window-deletable-p, window--delete): Remove unused variable `buffer'.
5767 Use `let', not `let*'.
5768 (balance-windows-2): Remove unused variable `found'.
5769 (window--state-put-2): Remove unused variable `splits'.
5770 (window-state-put): Remove unused variable `selected'.
5771 (same-window-p): Use `string-match-p'.
5772 (display-buffer-assq-regexp): Remove unused variable `value'.
5773 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
5774 Mark argument ALIST as ignored.
5775 (pop-to-buffer): Remove unused variable `old-window'.
5776
5777 2012-01-29 Eli Zaretskii <eliz@gnu.org>
5778
5779 * jka-cmpr-hook.el (jka-compr-compression-info-list): Support .lz
5780 and .lzma compressed files.
5781
5782 2012-01-29 Chong Yidong <cyd@gnu.org>
5783
5784 * frame.el (window-system-default-frame-alist): Doc fix.
5785
5786 * dynamic-setting.el (font-setting-change-default-font): Don't
5787 change the default face if SET-FONT argument is non-nil (Bug#9982).
5788
5789 2012-01-29 Samuel Bronson <naesten@gmail.com> (tiny change)
5790
5791 * custom.el (defcustom): Add doc link to Lisp manual (Bug#10635).
5792
5793 2012-01-29 Syver Enstad <syver.enstad@cisco.com> (tiny change)
5794
5795 * progmodes/gud.el (pdb): Give pdb full paths, to allow setting
5796 breakpoints in files outside current directory (Bug#6098).
5797
5798 2012-01-29 Chong Yidong <cyd@gnu.org>
5799
5800 * progmodes/python.el: Require ansi-color at top-level.
5801
5802 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-abbrev-table):
5803 Define and use in Emacs Lisp mode (Bug#9360).
5804 (lisp-mode-abbrev-table): Add doc.
5805 (lisp-mode-variables): Don't set local-abbrev-table.
5806 (lisp-interaction-mode): Use emacs-lisp-mode-abbrev-table.
5807
5808 2012-01-28 Roland Winkler <winkler@gnu.org>
5809
5810 * textmodes/bibtex.el (bibtex-vec-incr): Fix docstring.
5811
5812 2012-01-28 Roland Winkler <winkler@gnu.org>
5813
5814 * textmodes/bibtex.el (bibtex-entry-alist): New function.
5815 (bibtex-set-dialect): Use it. Either set global values of
5816 dialect-dependent variables or bind these variables buffer-locally
5817 (Bug#10254).
5818 (bibtex-mode): Call bibtex-set-dialect via
5819 hack-local-variables-hook.
5820 (bibtex-dialect): Update docstring.
5821 Add safe-local-variable predicate.
5822 (bibtex-entry-alist, bibtex-field-alist): Initialize via
5823 bibtex-set-dialect.
5824 (bibtex-mode-map): Define menu for each dialect.
5825 (bibtex-entry): Fix docstring.
5826
5827 2012-01-28 Chong Yidong <cyd@gnu.org>
5828
5829 * eshell/esh-arg.el (eshell-quote-argument): New function.
5830
5831 * eshell/esh-ext.el (eshell-invoke-batch-file):
5832 * eshell/em-unix.el (eshell/cat, eshell/du): Use it to quote the
5833 first arg to eshell-parse-command (Bug#10523).
5834
5835 2012-01-28 Drew Adams <drew.adams@oracle.com>
5836
5837 * net/ange-ftp.el (ange-ftp-canonize-filename): Check, that
5838 `default-directory' is non-nil.
5839
5840 2012-01-28 Eli Zaretskii <eliz@gnu.org>
5841
5842 * mail/emacsbug.el (report-emacs-bug): Fill the potentially long
5843 line that displays system-configuration-options. (Bug#9924)
5844
5845 2012-01-28 Drew Adams <drew.adams@oracle.com>
5846
5847 * descr-text.el (describe-char): Show information about POS, in
5848 addition to information about the character at POS. Improve and
5849 update the doc string. Change "code point" to "code point in
5850 charset", to avoid confusion with the character's Unicode code
5851 point shown above that. (Bug#10129)
5852
5853 2012-01-28 Eli Zaretskii <eliz@gnu.org>
5854
5855 * descr-text.el (describe-char): Show the raw character, not only
5856 its display form at POS. Suggested by Kenichi Handa <handa@m17n.org>.
5857 See http://lists.gnu.org/archive/html/emacs-devel/2012-01/msg00760.html
5858 for the reasons.
5859
5860 2012-01-28 Phil Hagelberg <phil@hagelb.org>
5861
5862 * emacs-lisp/package.el (package-install):
5863 Run package-refresh-contents if there is no archive yet (Bug#9798).
5864
5865 2012-01-28 Chong Yidong <cyd@gnu.org>
5866
5867 * emacs-lisp/package.el (package-maybe-load-descriptor):
5868 New function, split from package-maybe-load-descriptor.
5869 (package-maybe-load-descriptor): Use it.
5870 (package-download-transaction): Fully load required packages
5871 inside the loop, so that `require' calls work (Bug#10593).
5872 (package-install): No need to call package-initialize now.
5873
5874 2012-01-28 Chong Yidong <cyd@gnu.org>
5875
5876 * simple.el (deactivate-mark): Doc fix (Bug#8614).
5877
5878 * tooltip.el (tooltip-mode): Doc fix.
5879 (tooltip-use-echo-area): Mark as obsolete (Bug#6595).
5880
5881 * frame.el (set-cursor-color): Doc fix (Bug#352).
5882
5883 * mail/rmail.el (rmail-start-mail): Add send-action again (Bug#10625).
5884 (rmail-mail-return): Switch to NEWBUF only if it is non-nil.
5885
5886 * cus-edit.el (custom-buffer-create-internal): Fix search button
5887 action (Bug#10542).
5888 (customize-unsaved, customize-saved): Doc fix (Bug#10541).
5889
5890 2012-01-27 Eduard Wiebe <usenet@pusto.de>
5891
5892 * dired.el (dired-mark-files-regexp):
5893 Include any subdirectory components. (Bug#10445)
5894
5895 2012-01-27 Mike Lamb <mrlamb@gmail.com> (tiny change)
5896
5897 * pcmpl-unix.el (pcmpl-ssh-known-hosts):
5898 Handle [host]:port syntax. (Bug#10533)
5899
5900 2012-01-27 Alex Harsanyi <harsanyi@mac.com>
5901
5902 * xml.el (xml-parse-tag): Fix parsing of comments (Bug#10405).
5903
5904 2012-01-26 Glenn Morris <rgm@gnu.org>
5905
5906 * dired-x.el (dired-bind-jump): Use ctl-x-map and ctl-x-4-map.
5907 * term.el (term-raw-escape-map): Use Control-X-prefix.
5908 * vc/vc-hooks.el (vc-prefix-map): Use ctl-x-map. (Bug#10566)
5909
5910 2012-01-25 Martin Rudalics <rudalics@gmx.at>
5911
5912 * window.el (window-state-get, window--state-get-1): Don't deal
5913 with fixed-sizeness of windows. Simplify code.
5914
5915 2012-01-25 Jérémy Compostella <jeremy.compostella@gmail.com>
5916
5917 * window.el (window--state-get-1, window--state-put-2):
5918 Don't save and restore the mark.
5919
5920 2012-01-25 Chong Yidong <cyd@gnu.org>
5921
5922 * custom.el (custom-variable-p): Doc fix.
5923
5924 2012-01-25 Glenn Morris <rgm@gnu.org>
5925
5926 * dired.el (dired-goto-file): Handle some of the more common
5927 characters that `ls -b' escapes. (Bug#10596)
5928
5929 * progmodes/compile.el (compilation-next-error-function):
5930 Respect compilation-first-column in the "*compilation*" buffer.
5931 * progmodes/grep.el (grep-first-column): New variable. (Bug#10594)
5932
5933 * vc/vc.el (vc-modify-change-comment): Scoping fix. (Bug#10513)
5934
5935 2012-01-24 Glenn Morris <rgm@gnu.org>
5936
5937 * pcmpl-gnu.el (pcomplete/tar): Handle " - ". (Bug#10457)
5938
5939 2012-01-24 Julien Danjou <julien@danjou.info>
5940
5941 * color.el (color-rgb-to-hsl): Fix value computing.
5942 (color-hue-to-rgb): New function.
5943 (color-hsl-to-rgb): New function.
5944 (color-clamp, color-saturate-hsl, color-saturate-name)
5945 (color-desaturate-hsl, color-desaturate-name, color-lighten-hsl)
5946 (color-lighten-name, color-darken-hsl, color-darken-name): New function.
5947
5948 2012-01-24 Glenn Morris <rgm@gnu.org>
5949
5950 * vc/vc-rcs.el (vc-rcs-create-tag):
5951 * vc/vc-sccs.el (vc-sccs-create-tag):
5952 Fix argument spec to be what vc-create-tag expects. (Bug#10515)
5953
5954 2012-01-23 Mike Lamb <mrlamb@gmail.com> (tiny change)
5955
5956 * eshell/esh-util.el (eshell-read-hosts-file):
5957 Skip comment lines. (Bug#10549)
5958
5959 * eshell/em-unix.el (pcomplete/ssh): Remove. (Bug#10548)
5960
5961 2012-01-23 Juanma Barranquero <lekktu@gmail.com>
5962
5963 * subr.el (display-delayed-warnings): Doc fix.
5964 (collapse-delayed-warnings): New function to collapse identical
5965 adjacent warnings.
5966 (delayed-warnings-hook): Add it.
5967
5968 2012-01-22 Michael Albinus <michael.albinus@gmx.de>
5969
5970 * net/tramp.el (tramp-action-login): Set connection property "login-as".
5971
5972 * net/tramp-sh.el (tramp-methods): Add user spec to "pscp" and "psftp".
5973 (tramp-default-user-alist): Don't add "pscp".
5974 (tramp-do-copy-or-rename-file-out-of-band): Use connection
5975 property "login-as", if set. (Bug#10530)
5976
5977 2012-01-21 Michael Albinus <michael.albinus@gmx.de>
5978
5979 * net/tramp-sh.el (tramp-default-user-alist): Don't add "plink",
5980 "plink1" and "psftp". (Bug#10530)
5981
5982 2012-01-21 Kenichi Handa <handa@m17n.org>
5983
5984 * international/mule-cmds.el (prefer-coding-system): Show a
5985 warning message if the default value of file-name-coding-system
5986 was not changed.
5987
5988 2012-01-21 Jérémy Compostella <jeremy.compostella@gmail.com>
5989
5990 * windmove.el (windmove-reference-loc):
5991 Fix windmove-reference-loc miscalculation.
5992
5993 2012-01-21 Jay Belanger <jay.p.belanger@gmail.com>
5994
5995 * calc/calc-units.el (math-put-default-units): Don't use "1" as a
5996 default unit.
5997
5998 2012-01-21 Glenn Morris <rgm@gnu.org>
5999
6000 * international/mule.el (auto-coding-alist): Add .tbz.
6001
6002 * files.el (local-enable-local-variables): Doc fix.
6003 (inhibit-local-variables-regexps): Rename from
6004 inhibit-first-line-modes-regexps. Keep old name as obsolete alias.
6005 Doc fix. Add some extensions from auto-coding-alist.
6006 (inhibit-local-variables-suffixes):
6007 Rename from inhibit-first-line-modes-suffixes. Doc fix.
6008 (inhibit-local-variables-p):
6009 New function, extracted from set-auto-mode-1.
6010 (set-auto-mode): Doc fix. Respect inhibit-local-variables-regexps.
6011 (set-auto-mode-1): Doc fix. Use inhibit-local-variables-p.
6012 (hack-local-variables): Doc fix. Make the mode-only case
6013 respect enable-local-variables and friends.
6014 Respect inhibit-local-variables-regexps for file-locals, but
6015 not for directory-locals.
6016 (set-visited-file-name):
6017 Take account of inhibit-local-variables-regexps.
6018 Whether it applies may change as the file name is changed.
6019 * jka-cmpr-hook.el (jka-compr-install):
6020 * jka-compr.el (jka-compr-uninstall):
6021 Update for inhibit-first-line-modes-suffixes name change.
6022
6023 2012-01-20 Martin Rudalics <rudalics@gmx.at>
6024
6025 * help-macro.el (make-help-screen): Temporarily restore original
6026 binding for minor-mode-map-alist (Bug#10454).
6027
6028 2012-01-19 Julien Danjou <julien@danjou.info>
6029
6030 * color.el (color-name-to-rgb): Use the white color to find the max
6031 color component value and return correctly computed values.
6032 (color-name-to-rgb): Add missing float conversion for max value.
6033
6034 2012-01-19 Martin Rudalics <rudalics@gmx.at>
6035
6036 * window.el (window--state-get-1, window-state-get): Do not use
6037 special state value for window-persistent-parameters.
6038 Rename argument IGNORE to WRITABLE. Rewrite doc-string.
6039 (window--state-put-2): Reset all window parameters to nil before
6040 assigning values of persistent parameters.
6041
6042 2012-01-18 Alan Mackenzie <acm@muc.de>
6043
6044 Eliminate sluggishness and hangs in fontification of "semicolon
6045 deserts".
6046
6047 * progmodes/cc-engine.el (c-state-nonlit-pos-interval):
6048 Change value 10000 -> 3000.
6049 (c-state-safe-place): Reformulate so it doesn't stack up an
6050 infinite number of wrong entries in c-state-nonlit-pos-cache.
6051 (c-determine-limit-get-base, c-determine-limit): New functions to
6052 determine backward search limits disregarding literals.
6053 (c-find-decl-spots): Amend commenting.
6054 (c-cheap-inside-bracelist-p): New function which detects "={".
6055
6056 * progmodes/cc-fonts.el
6057 (c-make-font-lock-BO-decl-search-function): Give a limit to a
6058 backward search.
6059 (c-font-lock-declarations): Fix an occurrence of point being
6060 undefined. Check additionally for point being in a bracelist or
6061 near a macro invocation without a semicolon so as to avoid a
6062 fruitless time consuming search for a declarator. Give a more
6063 precise search limit for declarators using the new
6064 c-determine-limit.
6065
6066 2012-01-18 Glenn Morris <rgm@gnu.org>
6067
6068 * files.el (auto-mode-alist, inhibit-first-line-modes-regexps)
6069 (set-auto-mode): Doc fixes.
6070
6071 2012-01-17 Glenn Morris <rgm@gnu.org>
6072
6073 * isearch.el (search-nonincremental-instead): Fix doc typo.
6074
6075 * dired.el (dired-insert-directory): Handle newlines in directory name.
6076 (dired-build-subdir-alist): Unescape newlines in directory name.
6077
6078 2012-01-17 Michael Albinus <michael.albinus@gmx.de>
6079
6080 * net/tramp.el (tramp-local-end-of-line): New defcustom.
6081 (tramp-action-login, tramp-action-yesno, tramp-action-yn)
6082 (tramp-action-terminal): Use it. (Bug#10530)
6083
6084 2012-01-16 Stefan Monnier <monnier@iro.umontreal.ca>
6085
6086 * minibuffer.el (completion--replace): Strip properties (bug#10062).
6087
6088 2012-01-16 Martin Rudalics <rudalics@gmx.at>
6089
6090 * window.el (window-state-ignored-parameters): Remove variable.
6091 (window--state-get-1): Rename argument MARKERS to IGNORE.
6092 Handle persistent window parameters. Make copy of clone-of
6093 parameter only if requested. (Bug#10348)
6094 (window--state-put-2): Install a window parameter only if it has
6095 a non-nil value or an existing parameter shall be overwritten.
6096
6097 2012-01-15 Michael Albinus <michael.albinus@gmx.de>
6098
6099 * net/tramp-sh.el (tramp-remote-path): Set tramp-autoload cookie.
6100
6101 2012-01-14 Eli Zaretskii <eliz@gnu.org>
6102
6103 * info.el (Info-toc-build): If the Info file has no "Up" pointer,
6104 don't pass the (nil) value of `upnode' to string-match.
6105
6106 2012-01-14 Chong Yidong <cyd@gnu.org>
6107
6108 * startup.el (command-line): Fix X resource class for cursorColor.
6109 Fix values recognized by the cursorBlink resource.
6110
6111 2012-01-14 Paul Eggert <eggert@cs.ucla.edu>
6112
6113 * epg.el (epg--make-temp-file): Avoid permission race condition
6114 when running on old Emacs versions (bug#10403).
6115
6116 2012-01-14 Glenn Morris <rgm@gnu.org>
6117
6118 * dired.el (dired-get-filename): Fix 'verbatim case of previous change.
6119
6120 2012-01-13 Alan Mackenzie <acm@muc.de>
6121
6122 Fix filling for when filladapt mode is enabled.
6123
6124 * progmodes/cc-cmds.el (c-fill-paragraph): In the invocation of
6125 c-mask-paragraph, pass in `fill-paragraph' rather than
6126 `fill-region-as-paragraph'. (This is a reversion of a previous
6127 change.)
6128 * progmodes/cc-mode.el (c-basic-common-init):
6129 Make fill-paragraph-handle-comment buffer local and set it to nil.
6130
6131 2012-01-13 Glenn Morris <rgm@gnu.org>
6132
6133 * dired.el (dired-switches-escape-p): New function.
6134 (dired-insert-directory): Use dired-switches-escape-p.
6135 (dired-get-filename): Undo "\ " quoting if needed. (Bug#10469)
6136
6137 * find-dired.el (find-ls-option): Doc fix. (Bug#10262)
6138
6139 2012-01-12 Glenn Morris <rgm@gnu.org>
6140
6141 * mail/sendmail.el (mail-mode): Update paragraph-separate for
6142 changes in adaptive-fill-regexp. (Bug#10276)
6143
6144 2012-01-11 Alan Mackenzie <acm@muc.de>
6145
6146 Fix Emacs bug #10463 - put `widen's around the critical spots.
6147
6148 * progmodes/cc-engine.el (c-in-literal, c-literal-limits): Put a
6149 widen around each invocation of c-state-pp-to-literal. Remove an
6150 unused let variable.
6151
6152 2012-01-11 Glenn Morris <rgm@gnu.org>
6153
6154 * dired-aux.el (dired-do-shell-command): Fix */? logic. (Bug#6561)
6155 Doc fix.
6156
6157 2012-01-10 Chong Yidong <cyd@gnu.org>
6158
6159 * net/network-stream.el (network-stream-open-starttls):
6160 Avoid emitting a confusing error message when the server gives a bad
6161 response to the capability command.
6162
6163 2012-01-10 Glenn Morris <rgm@gnu.org>
6164
6165 * mail/unrmail.el (unrmail): Tweak previous change.
6166
6167 2012-01-09 Chong Yidong <cyd@gnu.org>
6168
6169 * custom.el (custom-safe-themes): Use SHA-256 for hashing.
6170
6171 2012-01-08 Alan Mackenzie <acm@muc.de>
6172
6173 Optimise font locking in long enum definitions.
6174
6175 * progmodes/cc-fonts.el (c-font-lock-declarations): Add an extra
6176 arm to a cond form to handle enums.
6177 * progmodes/cc-langs.el (c-enums-contain-decls): New lang variable.
6178 * progmodes/cc-mode.el (c-font-lock-fontify-region): Correct a typo.
6179
6180 2012-01-07 Paul Eggert <eggert@cs.ucla.edu>
6181
6182 * files.el (move-file-to-trash): Preserve default file modes on error.
6183 (Bug#10401)
6184
6185 2012-01-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
6186
6187 * faces.el (set-face-attribute): Clarify the meaning of the nil
6188 frame (bug#10294).
6189
6190 * subr.el (with-selected-frame): Mention that the selected frame
6191 is restored (bug#9980).
6192
6193 * ibuffer.el (ibuffer-mode): List the bindings in the corrent map
6194 (bug#9759).
6195
6196 * mail/smtpmail.el (password-cache-add): Remove unused declaration.
6197 (password-read): Don't autoload unused function.
6198
6199 2012-01-07 Juanma Barranquero <lekktu@gmail.com>
6200
6201 * progmodes/which-func.el (which-func-mode): Turn into a
6202 non-interactive function and mark as obsolete (bug#10428).
6203
6204 2012-01-06 Chong Yidong <cyd@gnu.org>
6205
6206 * files.el (hack-dir-local-variables-non-file-buffer): Add doc.
6207 (hack-one-local-variable-eval-safep): Allow 0 arg for minor mode
6208 functions, along with 1 and -1.
6209
6210 2012-01-06 Eli Zaretskii <eliz@gnu.org>
6211
6212 * time.el (display-time-load-average)
6213 (display-time-default-load-average): Doc fixes. See the thread
6214 starting at
6215 http://lists.gnu.org/archive/html/help-gnu-emacs/2012-01/msg00059.html
6216 for the details.
6217
6218 2012-01-06 Glenn Morris <rgm@gnu.org>
6219
6220 * mail/unrmail.el (unrmail): Give an explicit error if the input file
6221 has no messages. (Bug#10377)
6222
6223 * info.el (Info-mode-map): Bind e to end-of-buffer, rather
6224 than Info-edit. (Bug#10385)
6225
6226 * time.el (display-time-load-average, display-time-next-load-average):
6227 Doc fixes.
6228
6229 * emacs-lisp/bytecomp.el (byte-compile-file): Do not propagate a file
6230 local setting of buffer-read-only to the input buffer. (Bug#10419)
6231
6232 * calendar/calendar.el (calendar-mode):
6233 Locally set scroll-margin to 0. (Bug#10379)
6234
6235 2012-01-06 Ulrich Mueller <ulm@gentoo.org>
6236
6237 * play/doctor.el (doctor-death): Escape "," characters. (Bug#10370)
6238
6239 2012-01-05 Glenn Morris <rgm@gnu.org>
6240
6241 * eshell/em-unix.el (diff-no-select): Autoload it.
6242 (eshell/diff): Use diff-no-select. (Bug#10420)
6243
6244 2012-01-05 Chong Yidong <cyd@gnu.org>
6245
6246 * shell.el (shell-dynamic-complete-functions): Revert last change.
6247 (shell-command-completion-function): New function.
6248 (shell-completion-vars): Use it to implement
6249 shell-completion-execonly (Bug#10417).
6250
6251 * custom.el (enable-theme): Don't set custom-safe-themes.
6252
6253 * cus-theme.el (custom-theme-merge-theme):
6254 Ignore custom-enabled-themes and custom-safe-themes.
6255
6256 2012-01-05 Michael R. Mauger <mmaug@yahoo.com>
6257
6258 * progmodes/sql.el (sql-login-hook): Add hook to respond to the
6259 first prompt in `sql-interacive-mode'.
6260 (sql-mode-oracle-font-lock-keywords): Add CONNECT_BY_* builtin
6261 keywords.
6262 (sql-mode-mysql-font-lock-keywords): Add ELSEIF keyword.
6263 (sql-product-interactive): Bug fix: Set `sql-buffer' in
6264 context of original buffer. Invoke `sql-login-hook'.
6265
6266 2012-01-04 Eli Zaretskii <eliz@gnu.org>
6267
6268 * mail/rmail.el (rmail-font-lock-keywords): Accept non-ASCII
6269 letters in cite-prefix.
6270
6271 2012-01-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
6272
6273 * mail/smtpmail.el (smtpmail-stream-type): Mention the `ssl' value.
6274
6275 2012-01-03 Chong Yidong <cyd@gnu.org>
6276
6277 * shell.el (shell-dynamic-complete-functions):
6278 Put pcomplete-completions-at-point, so as to try
6279 comint-filename-completion first (Bug#10417).
6280
6281 2012-01-02 Richard Stallman <rms@gnu.org>
6282
6283 * battery.el (battery-status-function):
6284 Detect when to use battery-yeeloong-sysfs.
6285 (battery-echo-area-format): Add string for Yeeloong.
6286 (battery-linux-proc-apm, battery-linux-proc-acpi): Doc fixes.
6287 (battery-yeeloong-sysfs): New function.
6288
6289 2012-01-02 Chong Yidong <cyd@gnu.org>
6290
6291 * dirtrack.el (dirtrack-list): Eliminate unused third element.
6292 (dirtrack): Merge code for handling relative filenames in prompt
6293 from shell-dir-cookie-watcher.
6294 (dirtrack-debug-message): New arg to avoid excess format calls.
6295
6296 * shell.el (shell-dir-cookie-re): Variable deleted.
6297 (shell-dir-cookie-watcher): Function deleted.
6298 (shell-mode): Don't use shell-dir-cookie-re, since it is redundant
6299 with dirtrack-mode.
6300
6301 2012-01-01 Eli Zaretskii <eliz@gnu.org>
6302
6303 * term/w32-win.el (dynamic-library-alist) <gnutls>:
6304 Load libgnutls-28.dll, from GnuTLS version 3.x, in preference to
6305 libgnutls-26.dll.
6306
6307 2011-12-31 Andreas Schwab <schwab@linux-m68k.org>
6308
6309 * emacs-lisp/bytecomp.el (byte-compile-file): Fix indentation.
6310
6311 2011-12-31 Eli Zaretskii <eliz@gnu.org>
6312
6313 * mail/rmail.el (rmail-show-message-1): Decode any RFC2047 encoded
6314 headers of non-MIME messages, when rmail-enable-mime is non-nil.
6315
6316 2011-12-29 Michael Albinus <michael.albinus@gmx.de>
6317
6318 * net/tramp-sh.el (tramp-find-shell): Set "remote-shell" property
6319 also for alternative shells.
6320 (tramp-open-connection-setup-interactive-shell): Check, whether
6321 the shell is a busybox.
6322 (tramp-send-command): Don't suppress multiple prompts for
6323 busyboxes, it hurts.
6324
6325 2011-12-28 Chong Yidong <cyd@gnu.org>
6326
6327 * progmodes/gdb-mi.el (gdb-get-source-file-list)
6328 (gdb-get-source-file): Move mode line update to
6329 gdb-get-source-file (Bug#10087).
6330
6331 2011-12-25 Chong Yidong <cyd@gnu.org>
6332
6333 * progmodes/gud.el (gud-gdb-fetch-lines-filter): Just use
6334 gud-gdb-marker-filter without taking it as an argument.
6335 (gud-gdb-run-command-fetch-lines): Caller changed.
6336 (gud-gdb-completion-function): New variable.
6337 (gud-gdb-completion-at-point): Use it.
6338 (gud-gdb-completions-1): Split from gud-gdb-completions.
6339
6340 * progmodes/gdb-mi.el (gdb-input): Accept command and handler
6341 function as separate arguments.
6342 (gdb-init-1, gdb-non-stop-handler, gdb-check-target-async)
6343 (gdb-tooltip-print-1, gud-watch, gdb-speedbar-update)
6344 (gdb-var-list-children, gdb-var-set-format, gdb-var-delete-1)
6345 (gdb-var-delete-children, gdb-edit-value, gdb-var-update)
6346 (gdb-stopped, def-gdb-auto-update-trigger)
6347 (gdb-place-breakpoints, gdb-select-thread, gdb-select-frame)
6348 (gdb-get-changed-registers, gdb-get-main-selected-frame):
6349 Callers changed.
6350 (gud-gdbmi-completions): New function.
6351 (gdb): Use it for generating the completion table.
6352
6353 2011-12-24 Alan Mackenzie <acm@muc.de>
6354
6355 Introduce a mechanism to widen the region used in context font
6356 locking. Use this to protect declarations from losing their contexts.
6357
6358 * progmodes/cc-langs.el (c-before-font-lock-functions):
6359 Replace c-set-fl-decl-start with c-change-set-fl-decl-start (Renaming).
6360 (c-before-context-fontification-functions): New defvar, a list of
6361 functions to be run just before context (etc.) font locking.
6362
6363 * progmodes/cc-mode.el (c-extend-font-lock-region-for-macros):
6364 New, functionality extracted from
6365 c-neutralize-syntax-in-and-mark-CPP.
6366 (c-in-after-change-fontification): New variable.
6367 (c-after-change): Set c-in-after-change-fontification.
6368 (c-set-fl-decl-start): Rejig its interface, so it can be called
6369 from both after-change and context fontifying.
6370 (c-change-set-fl-decl-start, c-context-set-fl-decl-start):
6371 New functions.
6372 (c-standard-font-lock-fontify-region-function): New variable.
6373 (c-font-lock-fontify-region): New function.
6374
6375 2011-12-24 Juri Linkov <juri@jurta.org>
6376
6377 * window.el (window--state-get-1): Set `FORCE' arg of `mark' to t.
6378 (Bug#10348)
6379
6380 2011-12-23 Michael Albinus <michael.albinus@gmx.de>
6381
6382 * net/ange-ftp.el (ange-ftp-copy-file-internal): Check for
6383 existence of source file. (Bug#10325)
6384
6385 2011-12-23 Alan Mackenzie <acm@muc.de>
6386
6387 Fix unstable fontification inside templates.
6388
6389 * progmodes/cc-langs.el (c-before-font-lock-functions):
6390 Newly created from the singular version. The (c c++ objc) entry now
6391 additionally has c-set-fl-decl-start. The other languages (apart
6392 from AWK) have that as a single entry.
6393
6394 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
6395 The functionality for "local" declarations has been extracted to
6396 c-set-fl-decl-start.
6397
6398 * progmodes/cc-mode.el (c-common-init, c-after-change):
6399 Changes due to pluralisation of c-before-font-lock-functions.
6400 (c-set-fl-decl-start): New function, extracted from
6401 c-font-lock-enclosing-decls and enhanced.
6402
6403 2011-12-23 Juanma Barranquero <lekktu@gmail.com>
6404
6405 * desktop.el (desktop-internal-v2s): Fix typos in docstring (bug#10353).
6406
6407 2011-12-22 Juri Linkov <juri@jurta.org>
6408
6409 * progmodes/grep.el (rgrep): Fix docstring. (Bug#10185)
6410
6411 2011-12-22 Chong Yidong <cyd@gnu.org>
6412
6413 * vc/vc-hooks.el (vc-keep-workfiles): Doc fix.
6414
6415 2011-12-21 Drew Adams <drew.adams@oracle.com>
6416
6417 * files.el (file-remote-p): Fix docstring. (Bug#10319)
6418
6419 2011-12-21 Jérémy Compostella <jeremy.compostella@gmail.com>
6420
6421 * battery.el (battery-linux-sysfs): Add missing parameters from acpi.
6422
6423 2011-12-21 Teodor Zlatanov <tzz@lifelogs.com>
6424
6425 * progmodes/cfengine.el: Add Version. Improve CFEngine 3.x syntax
6426 highlighting and support. Fix up comments for capitalization.
6427 (cfengine-mode-debug): New var.
6428 (cfengine3-mode): Change the modeline indicator to "CFE3".
6429 (cfengine3-font-lock-keywords): Improve defun highlighting.
6430 (cfengine2-actions): Rename from `cfengine-actions'.
6431 (cfengine2-font-lock-keywords): Rename from
6432 `cfengine-font-lock-keywords'.
6433 (cfengine2-imenu-expression): Rename from
6434 `cfengine-imenu-expression'.
6435 (cfengine2-outline-level): Rename from `cfengine-outline-level'.
6436 (cfengine2-beginning-of-defun): Rename from
6437 `cfengine-beginning-of-defun'.
6438 (cfengine2-end-of-defun): Rename from `cfengine-end-of-defun'.
6439 (cfengine2-indent-line): Rename from `cfengine-indent-line'.
6440 (cfengine2-mode): Rename from `cfengine-mode'. Change the
6441 modeline indicator to "CFE2".
6442 (cfengine-mode): Defalias to `cfengine-auto-mode'.
6443 (cfengine-mode-abbrevs): Mark obsolete.
6444
6445 2011-12-21 Chong Yidong <cyd@gnu.org>
6446
6447 * vc/vc-bzr.el (vc-bzr-rename-file): Don't pass ~ to Bzr in
6448 filename argument.
6449
6450 2011-12-20 Martin Rudalics <rudalics@gmx.at>
6451
6452 * window.el (window-normalize-buffer-to-display): Remove.
6453 (display-buffer): Handle buffer-or-name argument as in Emacs 23.
6454
6455 2011-12-19 Chong Yidong <cyd@gnu.org>
6456
6457 * vc/vc-dir.el (vc-dir-parent-marked-p, vc-dir-children-marked-p):
6458 Don't signal an error in a predicate function; return non-nil.
6459 (vc-dir-mark-file): Move the error here.
6460 (vc-dir-mark-unmark): If acting on the region, keep going if one
6461 of the entries cannot be marked/unmarked.
6462 (vc-dir-mark-all-files): If current entry is a directory, mark
6463 only child files, as documented.
6464
6465 2011-12-19 Vincent Belaïche <vincentb1@users.sourceforge.net>
6466
6467 * ses.el: Ooops... undo changes of 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net, as trunk
6468 branch is feature frozen, and 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net was a feature
6469 addition.
6470
6471 2011-12-18 Jan Djärv <jan.h.d@swipnet.se>
6472
6473 * term/ns-win.el (ns-get-selection-internal)
6474 (ns-store-selection-internal): Declare.
6475 (ns-store-cut-buffer-internal, ns-get-cut-buffer-internal):
6476 Declare as obsolete.
6477 (ns-get-pasteboard, ns-paste-secondary):
6478 Use ns-get-selection-internal.
6479 (ns-set-pasteboard, ns-copy-including-secondary):
6480 Use ns-store-selection-internal.
6481
6482 2011-12-17 Chong Yidong <cyd@gnu.org>
6483
6484 * vc/vc.el (vc-next-action): Doc fix; remove CVS-isms.
6485 (vc-deduce-fileset): Doc fix.
6486
6487 2011-12-16 Andreas Schwab <schwab@linux-m68k.org>
6488
6489 * calc/calc-misc.el (calc-help): Avoid wrapping help message.
6490
6491 2011-12-13 Sam Steingold <sds@gnu.org>
6492
6493 * man.el (Man-getpage-in-background): When running under a
6494 window-system, ignore $MANWIDTH and $COLUMNS.
6495
6496 2011-12-15 Kenichi Handa <handa@m17n.org>
6497
6498 * language/ethio-util.el: Change coding tag to utf-8-emacs.
6499 (setup-ethiopic-environment-internal): Comment out key-binding for
6500 ethio-toggle-punctuation.
6501
6502 2011-12-13 Alan Mackenzie <acm@muc.de>
6503
6504 Add the switch statement to AWK Mode.
6505
6506 * progmodes/cc-awk.el (awk-font-lock-keywords): Add "switch", "case",
6507 "default" to the keywords regexp.
6508
6509 * progmodes/cc-langs.el (c-label-kwds): Let AWK take the same
6510 expression as the rest.
6511 (c-nonlabel-token-key): Allow string literals for AWK.
6512 Refactor for the other modes.
6513
6514 Large brace-block initialisation makes CC Mode slow: Fix.
6515 Tidy up and accelerate c-in-literal, etc. by using the c-parse-state
6516 routines. Limit backward searching in c-font-lock-enclosing.decl.
6517
6518 * progmodes/cc-engine.el (c-state-pp-to-literal): Return the
6519 pp-state and literal type in addition to the limits.
6520 (c-state-safe-place): New defun, extracted from c-state-literal-at.
6521 (c-state-literal-at): Use the above new defun.
6522 (c-slow-in-literal, c-fast-in-literal): Remove.
6523 (c-in-literal, c-literal-limits): Amend to use c-state-pp-to-literal.
6524
6525 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls): Check for
6526 being in a literal. Add a limit for backward searching.
6527
6528 * progmodes/cc-mode.el (awk-mode): Don't alias c-in-literal to
6529 c-slow-in-literal.
6530
6531 2011-12-13 Stefan Monnier <monnier@iro.umontreal.ca>
6532
6533 * progmodes/pascal.el: Declare `ind' as dyn-bound (bug#10264).
6534
6535 2011-12-13 Martin Rudalics <rudalics@gmx.at>
6536
6537 * window.el (delete-other-windows): Use correct frame in call to
6538 window-with-parameter.
6539
6540 2011-12-12 Daniel Pfeiffer <occitan@t-online.de>
6541
6542 * progmodes/make-mode.el: Bring it up to date with makepp V2.0.
6543 (makefile-make-font-lock-keywords): Extend meaning of `keywords'.
6544 (makefile-gmake-statements, makefile-makepp-statements):
6545 Use it and add new makepp keywords.
6546 (makefile-makepp-font-lock-keywords): Add new patterns.
6547 (makefile-match-function-end): Match new [...] and [[...]].
6548
6549 2011-12-11 Juanma Barranquero <lekktu@gmail.com>
6550
6551 * ses.el (ses-call-printer-return, ses-cell-property-get)
6552 (ses-sym-rowcol, ses-printer-validate, ses-formula-record)
6553 (ses-create-cell-variable, ses-reset-header-string)
6554 (ses-cell-set-formula, ses-repair-cell-reference-all)
6555 (ses-self-reference-early-detection, ses-in-print-area, ses-set-curcell)
6556 (ses-check-curcell, ses-call-printer, ses-adjust-print-width)
6557 (ses-print-cell-new-width, ses-formula-references, ses-relocate-formula)
6558 (ses-aset-with-undo, ses-load, ses-truncate-cell)
6559 (ses-read-column-printer, ses-read-default-printer, ses-insert-row)
6560 (ses-delete-row, ses-delete-column, ses-append-row-jump-first-column)
6561 (ses-kill-override, ses-yank-pop, ses-yank-cells, ses-yank-tsf)
6562 (ses-yank-resize, ses-export-tab, ses-mark-row, ses-mark-column)
6563 (ses-renarrow-buffer, ses-insert-range, ses-insert-ses-range)
6564 (ses-safe-printer, ses-safe-formula, ses-warn-unsafe, ses--clean-!)
6565 (ses--clean-_, ses-range, ses-select, ses-center, ses-center-span)
6566 (ses-dashfill, ses-unsafe): Fix typos and reflow docstrings.
6567
6568 2011-12-11 Vincent Belaïche <vincentb1@users.sourceforge.net>
6569
6570 * ses.el: The overall change is to add cell renaming, that is
6571 setting fancy names for cell symbols other than name matching
6572 "\\`[A-Z]+[0-9]+\\'" regexp .
6573 (ses-create-cell-variable): New defun.
6574 (ses-relocate-formula): Relocate formulas only for cells the
6575 symbols of which are not renamed, i.e. symbols whose names do not
6576 match regexp "\\`[A-Z]+[0-9]+\\'".
6577 (ses-relocate-all): Relocate values only for cells the symbols of
6578 which are not renamed.
6579 (ses-load): Create cells variables as the (ses-cell ...) are read,
6580 in order to check row col consistency with cell symbol name only
6581 for cells that are not renamed.
6582 (ses-replace-name-in-formula): New defun.
6583 (ses-rename-cell): New defun.
6584
6585 2011-12-11 Chong Yidong <cyd@gnu.org>
6586
6587 * progmodes/gdb-mi.el (gdb): Set comint-prompt-regexp, required
6588 for completion via gud-gdb-fetch-lines-filter (Bug#10274).
6589
6590 2011-12-11 Eric Hanchrow <eric.hanchrow@gmail.com>
6591
6592 * window.el (other-window): Fix docstring.
6593
6594 2011-12-10 Eli Zaretskii <eliz@gnu.org>
6595
6596 * mail/rmailsum.el (rmail-header-summary): RFC2047 decode the
6597 `from' or `to' address before taking its substring.
6598 Fixes incorrect display in Rmail summary buffer whereby an RFC2047
6599 encoded name is chopped in the middle of the encoded string, and
6600 thus displayed encoded.
6601
6602 2011-12-10 Juanma Barranquero <lekktu@gmail.com>
6603
6604 * makefile.w32-in (update-subdirs-CMD): Use a Local Variables section.
6605
6606 2011-12-10 Eli Zaretskii <eliz@gnu.org>
6607
6608 * textmodes/texnfo-upd.el: Update commentary. Add a warning not
6609 to use texinfo-update-node and commands that call it if the
6610 Texinfo file uses @node lines without next/prev/up pointers.
6611 Correct outdated description about texinfo-master-menu.
6612 (texinfo-all-menus-update, texinfo-master-menu)
6613 (texinfo-update-node, texinfo-every-node-update)
6614 (texinfo-multiple-files-update): Doc fix. Warn against updating
6615 all the @node lines.
6616 (texinfo-master-menu): Only call texinfo-update-node if the prefix
6617 argument is numeric. Explain better in the doc string what the
6618 function really does.
6619 (texinfo-insert-master-menu-list): Improve the error message
6620 displayed if there's no menu in the Top node.
6621 (Bug#2975) See also this thread:
6622 http://lists.gnu.org/archive/html/emacs-devel/2011-12/msg00156.html.
6623
6624 2011-12-09 Manuel Gómez <mgrojo@gmail.com> (tiny change)
6625
6626 * speedbar.el (speedbar-supported-extension-expressions):
6627 Add .adb and .ads, commonly used for Ada source code (bug#10256).
6628
6629 2011-12-09 Juanma Barranquero <lekktu@gmail.com>
6630
6631 * printing.el (pr-mode-alist):
6632 * simple.el (filter-buffer-substring-functions)
6633 (completion-list-insert-choice-function):
6634 * window.el (window-with-parameter, window-atom-root)
6635 (window-sides-slots, window-size-fixed, window-min-delta)
6636 (window-max-delta, window--resize-mini-window)
6637 (window--resize-child-windows-normal, window-tree)
6638 (delete-other-windows, quit-window, split-window)
6639 (display-buffer-record-window, special-display-buffer-names)
6640 (special-display-regexps, special-display-popup-frame)
6641 (same-window-p, split-window-sensibly)
6642 (display-buffer-overriding-action, display-buffer-alist)
6643 (display-buffer-base-action, display-buffer, switch-to-buffer)
6644 (switch-to-buffer-other-window, switch-to-buffer-other-frame)
6645 (fit-window-to-buffer, recenter-positions)
6646 (mouse-autoselect-window-state, mouse-autoselect-window-select):
6647 * emacs-lisp/syntax.el (syntax-propertize-function): Fix typos
6648 and remove unneeded backslashes in docstrings.
6649
6650 2011-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
6651
6652 * emacs-lisp/lisp-mode.el (defmethod): Add doc-string-elt (bug#10244).
6653
6654 * pcmpl-gnu.el: Don't fail when there is no Makefile nor -f arg.
6655 (pcmpl-gnu-makefile-regexps): Accept "makefile" as well as files that
6656 end in ".mk".
6657 (pcmpl-gnu-make-rule-names): Check "makefile" and ignore errors
6658 when reading the makefile (bug#10116).
6659
6660 2011-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
6661
6662 * pcmpl-gnu.el (pcomplete/make): Also allow filename arguments
6663 (bug#10116).
6664
6665 2011-12-06 Glenn Morris <rgm@gnu.org>
6666
6667 * emacs-lisp/package.el (package-archives): Doc fix re riskiness.
6668
6669 2011-12-06 Chong Yidong <cyd@gnu.org>
6670
6671 * progmodes/cc-fonts.el (c-annotation-face): Use defface.
6672
6673 2011-12-06 Juanma Barranquero <lekktu@gmail.com>
6674
6675 * textmodes/table.el (table-shorten-cell): Fix typo.
6676
6677 2011-12-05 Christopher Genovese <genovese.cr@gmail.com> (tiny change)
6678
6679 * emacs-lisp/assoc.el (aput): Fix return value (bug#10146)
6680
6681 2011-12-05 Eli Zaretskii <eliz@gnu.org>
6682
6683 * descr-text.el (describe-char): Fix display of strong
6684 right-to-left characters and directional embeddings and overrides.
6685
6686 * simple.el (what-cursor-position): Fix display of codepoints of
6687 strong right-to-left characters.
6688
6689 2011-12-05 Chong Yidong <cyd@gnu.org>
6690
6691 * faces.el (read-color): Doc fix.
6692
6693 2011-12-05 Glenn Morris <rgm@gnu.org>
6694
6695 * align.el (align--set-marker): Add doc-string.
6696 Don't try to move something that is not a marker. (Bug#10216)
6697
6698 2011-12-04 Glenn Morris <rgm@gnu.org>
6699
6700 * calendar/appt.el (appt-add): Rewrite the interactive-spec to avoid
6701 overly zealous deletion of trailing whitespace.
6702
6703 2011-12-04 Juanma Barranquero <lekktu@gmail.com>
6704
6705 * server.el (server-delete-client): On Windows, do not try to delete
6706 the only terminal.
6707 (server-process-filter): On Windows, treat requests for a tty frame as
6708 if they were for a GUI frame if the running server is in GUI mode.
6709
6710 2011-12-03 Glenn Morris <rgm@gnu.org>
6711
6712 * textmodes/texinfmt.el (batch-texinfo-format): Doc fix. (Bug#10207)
6713
6714 2011-12-03 Stefan Monnier <monnier@iro.umontreal.ca>
6715
6716 * electric.el: Streamline electric-indent's hook.
6717 (electric-indent-chars): Revert to simple list.
6718 (electric-indent-functions): New var.
6719 (electric-indent-post-self-insert-function): Use it.
6720
6721 * progmodes/prolog.el (prolog-find-value-by-system): Avoid error when
6722 there's no inferior buffer (bug#10196).
6723 (prolog-consult-compile): Don't use toggle-read-only.
6724
6725 2011-12-02 Michael Albinus <michael.albinus@gmx.de>
6726
6727 * net/tramp-sh.el (tramp-maybe-open-connection): Handle user
6728 interrupt. (Bug#10187)
6729
6730 2011-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
6731
6732 * pcmpl-gnu.el (pcomplete/tar): large-file-warn-threshold can be nil
6733 (bug#9160).
6734
6735 * dired-aux.el (dired-query): Don't assume help-char is modifier-free
6736 (bug#10191).
6737
6738 2011-12-02 Juri Linkov <juri@jurta.org>
6739
6740 * info.el (Info-search): Display "end of manual" when Isearch
6741 reaches the end of single-file Info manual. (Bug#9918)
6742
6743 2011-12-02 Eli Zaretskii <eliz@gnu.org>
6744
6745 * isearch.el (isearch-message-prefix): Run the input method part
6746 of the prompt through bidi-string-mark-left-to-right. (Bug#10183)
6747
6748 2011-12-02 Juri Linkov <juri@jurta.org>
6749
6750 * isearch.el (isearch-occur): Use `word-search-regexp' for
6751 `isearch-word'.
6752 (isearch-search-and-update): Add condition for `isearch-word' and
6753 call `word-search-regexp'. (Bug#10145)
6754
6755 2011-12-01 Glenn Morris <rgm@gnu.org>
6756
6757 * eshell/em-hist.el (eshell-hist-initialize):
6758 Handle eshell-history-size nil and HISTSIZE set or unset.
6759 (eshell-history-file-name, eshell-history-size): Fix custom type.
6760
6761 2011-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
6762
6763 * man.el (Man-completion-table): Fix the lambda case (bug#10168).
6764
6765 2011-12-01 Michael McNamara <mac@mail.brushroad.com>
6766
6767 * progmodes/verilog-mode.el (verilog-pretty-expr):
6768 Rework verilog-pretty-expr to handle new assignment operators in system
6769 verilog, such as += *= and the like.
6770 (verilog-assignment-operator-re): Regular expression to find the
6771 assigment operator in a verilog assignment.
6772 (verilog-assignment-operation-re): Regular expression to find an
6773 assignment statement for pretty-expr.
6774 (verilog-in-attribute-p): Query returns true if point is in an
6775 attribute context; used to skip these for expression line up from
6776 pretty-expr.
6777 (verilog-in-parameter-p): Query returns true if point is in an
6778 parameter definition context; used to skip these for expression
6779 line up from pretty-expr.
6780 (verilog-in-parenthesis-p): Query returns true if point is in a
6781 parenthetical expression, specifically ( ) but not [ ] or { };
6782 used by pretty-expr.
6783 (verilog-just-one-space): If there is no space, don't add one.
6784 (verilog-get-lineup-indent-2): Specifically skip just attribute
6785 contexts for expression lineup, rather than skipping all
6786 parenthetical expressions.
6787 (verilog-calculate-indent): Fix comment, and fix indent.
6788 (verilog-do-indent): Indent declarations in lists (suggested by
6789 Joachim Lechner).
6790 (verilog-mode-abbrev-table): Populate abbrev mode with the various
6791 skeleton items.
6792 (verilog-sk-ovm-class): Add skeleton for OVM classes (reported
6793 by Alain Mellan).
6794
6795 2011-12-01 Wilson Snyder <wsnyder@wsnyder.org>
6796
6797 * progmodes/verilog-mode.el (verilog-read-defines): Fix reading
6798 parameters with embedded comments. Reported by Ray Stevens.
6799 (verilog-calc-1, verilog-fork-wait-re) (verilog-forward-sexp,
6800 verilog-wait-fork-re): Fix indentation of "wait fork", bug407.
6801 Reported by Tim Holt.
6802 (verilog-auto): Fix AUTOing a upper module then AUTOing module
6803 instantiated by upper module causing wrong expansion until AUTOed a
6804 second time. Reported by K C Buckenmaier.
6805 (verilog-diff-auto): Fix showing .* as a difference when
6806 `verilog-auto-star-save' off. Reported by Dan Dever.
6807 (verilog-auto-reset, verilog-read-always-signals)
6808 (verilog-auto-reset-blocking-in-non): Fix AUTORESET including
6809 temporary signals in reset list if
6810 verilog-auto-reset-blocking-in-non is nil, and match assignment
6811 style to each signal's assignment type, bug381.
6812 Reported by Thomas Esposito.
6813 (verilog-sk-uvm-class, verilog-uvm-begin-re, verilog-uvm-end-re)
6814 (verilog-uvm-statement-re): Support UVM indentation and
6815 highlighting, with old OVM keywords only.
6816 (verilog-auto-tieoff, verilog-auto-tieoff-declaration):
6817 Support AUTOTIEOFF creating non-wire data types.
6818 Suggested by Jonathan Greenlaw.
6819 (verilog-auto-insert-lisp, verilog-delete-to-paren)
6820 (verilog-forward-sexp-cmt, verilog-forward-sexp-ign-cmt)
6821 (verilog-inject-sense, verilog-read-inst-pins)
6822 (verilog-read-sub-decls, verilog-read-sub-decls-line):
6823 Fix mismatching parenthesis inside commented out code when deleting
6824 AUTOINST, bug383. Reported by Jonathan Greenlaw.
6825 (verilog-auto-ascii-enum): Fix AUTOASCIIENUM one-hot with
6826 non-numeric vector width. Reported by Alex Reed.
6827 (verilog-auto-ascii-enum): Add "onehot" option to work around not
6828 detecting signals with parameter widths. Reported by Alex Reed.
6829 (verilog-auto-delete-trailing-whitespace):
6830 With `verilog-auto-delete-trailing-whitespace' remove trailing
6831 whitespace in auto expansion, bug371. Reported by Brad Dobbie.
6832 (verilog-run-hooks, verilog-scan-cache-flush, verilog-syntax-ppss):
6833 Fix verilog-scan-cache corruption when running user AUTO expansion
6834 hooks that call indentation routines.
6835 (verilog-simplify-range-expression): Fix typo ignoring lower case
6836 identifiers.
6837 (verilog-delete-auto): Fix delete-autos to also remove user created
6838 automatics, as long as they start with AUTO.
6839 (verilog-batch-diff-auto, verilog-diff-auto)
6840 (verilog-diff-function): Add `verilog-diff-auto' and bind to
6841 "C-c?" to report differences in AUTO expansion, ignoring spaces.
6842 (verilog-backward-syntactic-ws-quick, verilog-beg-of-defun-quick)
6843 (verilog-in-paren-quick, verilog-re-search-backward-quick)
6844 (verilog-re-search-forward-quick, verilog-syntax-ppss):
6845 Fix calling `syntax-ppss' when inside auto expansions as the ppss hook
6846 is disabled and its cache will get corrupt, causing AUTOS not to
6847 expand. Instead use only -quick functions.
6848 (verilog-scan-region): Fix scanning over escaped quotes.
6849 (verilog-inside-comment-or-string-p, verilog-inside-comment-p)
6850 (verilog-re-search-backward-quick)
6851 (verilog-re-search-forward-quick, verilog-scan): verilog-scan and
6852 related functions now ignore strings, to fix misparsing of strings
6853 with magic comments embedded in them.
6854 (verilog-read-auto-template):
6855 Fix 'verilog-auto-inst-template-numbers' with extra newline before (.
6856 Reported by Brad Dobbie.
6857 (verilog-read-auto-template):
6858 Fix 'verilog-auto-inst-template-numbers' with comments.
6859 Reported by Brad Dobbie.
6860 (verilog-auto-inst, verilog-auto-inst-param)
6861 (verilog-auto-inst-sort): Add 'verilog-auto-inst-sort' to reduce
6862 merge conflicts with AUTOINST, bug358. Reported by Brad Dobbie.
6863 (verilog-auto-inst-template-numbers): Add 'lhs' policy for
6864 debugging templates without merge conflicts, bug357.
6865 Reported by Brad Dobbie.
6866 (verilog-read-auto-template):
6867 Fix verilog-auto-inst-template-numbers with multiple templates.
6868 Reported by Brad Dobbie.
6869 (verilog-define-abbrev): Fix verilog-mode abbrevs to be system
6870 abbrevs so user won't be asked to save.
6871 (verilog-read-auto-lisp-present): Fix to start at beginning of
6872 buffer in case called outside of verilog-auto.
6873 (verilog-simplify-range-expression): Fix AUTOWIRE expanding "X-1+1"
6874 to "X-2". Reported by Matthew Myers.
6875 (verilog-auto, verilog-auto-inout-in): Add AUTOINOUTIN for creating
6876 all inputs from module templates. Reported by Leith Johnson.
6877 (verilog-module-inside-filename-p): Fix locating programs as with
6878 modules.
6879 (verilog-auto-inst-port): Fix vl-width expressions when using
6880 verilog-auto-inst-param-value, bug331. Reported by Julian Gorfajn.
6881 (verilog-decls-get-regs, verilog-decls-get-signals,
6882 verilog-decls-get-vars, verilog-decls-get-wires, verilog-decls-new,
6883 verilog-modi-cache-add-vars, verilog-modi-cache-add-wires,
6884 verilog-read-decls): Combine reg and wire structures into one var
6885 structure to represent SystemVerilog concepts.
6886 (verilog-auto-ascii-enum, verilog-auto-logic, verilog-auto-reg)
6887 (verilog-auto-reg-input, verilog-auto-tieoff, verilog-auto-wire)
6888 (verilog-auto-wire-type, verilog-insert-definition):
6889 Add verilog-auto-wire-type and AUTOLOGIC to support using
6890 SystemVerilog "logic" keyword instead of "wire"/"reg".
6891 (verilog-auto-reg-input, verilog-decls-get-signals): Fix AUTOWIRE
6892 to declares outputs that also have assignments (presumably in an
6893 ifdef or generate if so there's not a driver conflict).
6894 Reported by Matthew Myers.
6895 (verilog-auto-declare-nettype, verilog-insert-definition):
6896 Add verilog-auto-declare-nettype to fix declarations using
6897 `default_nettype none. Reported by Julian Gorfajn.
6898 (verilog-read-always-signals-recurse, verilog-read-decls)
6899 (verilog-read-sub-decls-gate): Fix infinite loop with (*) and
6900 malformed end statement, bug325. Reported by Joshua Wise and
6901 Andrew Drake.
6902 (verilog-auto-star-safe, verilog-delete-auto-star-implicit)
6903 (verilog-inst-comment-re): Fix not deleting Interfaced comment
6904 when expanding .* in interfaces, bug320.
6905 Reported by Pierre-David Pfister.
6906 (verilog-read-module-name): Fix import statements between module
6907 name and open parenthesis, bug317.
6908 Reported by Pierre-David Pfister.
6909 (verilog-simplify-range-expression): Fix simplification of
6910 multiplications inside AUTOWIRE connections, bug303.
6911 (verilog-auto-inst-port): Support parameter expansion in
6912 multidimensional arrays.
6913 (verilog-read-decls): Fix AUTOREG etc looking for "endproperty"
6914 after "assert property". Reported by Julian Gorfajn.
6915 (verilog-simplify-range-expression): Fix "couldn't merge" errors
6916 with multiplication, bug303.
6917 (verilog-read-decls): Fix parsing of unsigned data types, bug302.
6918 Reported by Jan Frode Lonnum.
6919
6920 2011-11-30 Juanma Barranquero <lekktu@gmail.com>
6921
6922 * htmlfontify.el (hfy-page-header, hfy-post-html-hooks)
6923 (hfy-shell-file-name, hfy-shell):
6924 * international/fontset.el (x-decompose-font-name): Fix typos.
6925
6926 2011-11-29 Ken Brown <kbrown@cornell.edu>
6927
6928 * progmodes/gdb-mi.el: Fix bug#9853, bug#9858, and bug#9878.
6929 (gdb-version): Remove defvar.
6930 (gdb-supports-non-stop): New defvar, replacing `gdb-version'.
6931 (gdb-gud-context-command, gdb-non-stop-handler)
6932 (gdb-current-context-command, gdb-stopped): Use it.
6933 (gdb-init-1): Enable pretty printing here.
6934 (gdb-non-stop-handler): Don't enable pretty-printing here.
6935 Check to see if the target supports non-stop mode; if not, turn off
6936 non-stop mode. Use the following.
6937 (gdb-check-target-async): New defun.
6938 (gud-watch, gdb-stopped): Fix whitespace.
6939 (gdb-get-source-file): Don't try to display the source file if
6940 `gdb-main-file' is nil.
6941
6942 2011-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
6943
6944 * align.el: Try to generate fewer markers (bug#10047).
6945 (align--set-marker): New macro.
6946 (align-region): Use it.
6947
6948 2011-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
6949
6950 * isearch.el (isearch-yank-x-selection): Deactivate mark (bug#10022).
6951
6952 2011-11-29 Chong Yidong <cyd@gnu.org>
6953
6954 * indent.el (indent-for-tab-command, indent-according-to-mode):
6955 Doc fix.
6956 (indent-region): Doc fix. Switch nested ifs to equivalent cond.
6957
6958 2011-11-29 Michael Albinus <michael.albinus@gmx.de>
6959
6960 * vc/diff-mode.el (diff-find-file-name): Make `read-file-name'
6961 aware of remote file names. (Bug#10124)
6962
6963 2011-11-29 Chong Yidong <cyd@gnu.org>
6964
6965 * frame.el (auto-raise-mode, auto-lower-mode): Doc fix.
6966
6967 2011-11-28 Stefan Monnier <monnier@iro.umontreal.ca>
6968
6969 * files.el (find-file): Don't use force-same-window (bug#10144).
6970 * window.el (switch-to-buffer): Better match Emacs-23 behavior and only
6971 use pop-to-buffer if the selected window can't be used.
6972 (pop-to-buffer-same-window): Use display-buffer--same-window-action.
6973
6974 2011-11-28 Eli Zaretskii <eliz@gnu.org>
6975
6976 * vc/diff-mode.el (diff-mode-map): Don't inherit 'z' => 'M-z' from
6977 special-mode-map.
6978
6979 2011-11-28 Chong Yidong <cyd@gnu.org>
6980
6981 * emacs-lisp/easy-mmode.el (define-minor-mode): Fix default doc.
6982
6983 2011-11-27 Nick Roberts <nickrob@snap.net.nz>
6984
6985 * progmodes/gdb-mi.el (gdb-init-1): Condition execution of
6986 gdb-get-source-file-list on gdb-create-source-file-list.
6987
6988 2011-11-26 Eli Zaretskii <eliz@gnu.org>
6989
6990 * whitespace.el (whitespace-newline): Use a different foreground
6991 color for 16-color light-background displays.
6992
6993 2011-11-24 Chong Yidong <cyd@gnu.org>
6994
6995 * window.el (display-buffer--special-action): Doc fix.
6996
6997 2011-11-25 Juanma Barranquero <lekktu@gmail.com>
6998
6999 * emacs-lisp/avl-tree.el (avl-tree--do-copy, avl-tree-create)
7000 (avl-tree-compare-function, avl-tree-empty, avl-tree-enter)
7001 (avl-tree-delete, avl-tree-member, avl-tree-member-p, avl-tree-map)
7002 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar, avl-tree-copy)
7003 (avl-tree-clear, avl-tree-stack, avl-tree-stack-pop)
7004 (avl-tree-stack-first):
7005 * emacs-lisp/cconv.el (cconv--analyse-use):
7006 * net/gnutls.el (gnutls-negotiate): Fix typos.
7007
7008 2011-11-24 Glenn Morris <rgm@gnu.org>
7009
7010 * lpr.el (lpr-windows-system, lpr-lp-system):
7011 * mail/binhex.el (binhex-begin-line):
7012 * progmodes/grep.el (grep-history, grep-find-history):
7013 * textmodes/flyspell.el:
7014 * vc/pcvs-defs.el (cvs-global-menu):
7015 * vc/vc-bzr.el (vc-bzr-admin-checkout-format-file):
7016 * vc/vc-mtn.el (vc-mtn-admin-dir, vc-mtn-admin-format):
7017 * vc/vc-cvs.el (vc-cvs-registered): Give them basic doc-strings.
7018
7019 * net/tls.el: Fix case of "GnuTLS".
7020
7021 * paths.el (rmail-file-name): Format doc-string for make-docfile.
7022
7023 * version.el (emacs-build-system): Give it a doc-string.
7024
7025 2011-11-24 Juri Linkov <juri@jurta.org>
7026
7027 * view.el (view-buffer): Revert 2011-07-19T15:01:49Z!larsi@gnus.org from 2011-07-19 (bug#8615).
7028
7029 2011-11-24 Glenn Morris <rgm@gnu.org>
7030
7031 * mail/rmailmm.el (rmail-mime): When rmail-enable-mime is non-nil,
7032 if called on a non-mime message just toggle the headers. (Bug#8006)
7033
7034 2011-11-24 Juanma Barranquero <lekktu@gmail.com>
7035
7036 * allout.el (allout-setup, allout-auto-save-temporarily-disabled)
7037 (allout-lead-with-comment-string, allout-structure-deleted-hook)
7038 (allout-mode, allout-chart-subtree, allout-hotspot-key-handler)
7039 (allout-rebullet-heading, allout-open-sibtopic)
7040 (allout-toggle-current-subtree-encryption)
7041 (allout-toggle-subtree-encryption, allout-encrypt-string)
7042 (allout-next-topic-pending-encryption, allout-adjust-file-variable)
7043 (allout-distinctive-bullets-string, allout-auto-activation):
7044 * window.el (window-normalize-buffer-to-display):
7045 * progmodes/verilog-mode.el (verilog-batch-indent):
7046 * textmodes/bibtex.el (bibtex-field-braces-opt)
7047 (bibtex-field-strings-opt):
7048 * vc/cvs-status.el (cvs-tree-merge):
7049 Fix typos.
7050
7051 2011-11-23 Michael Albinus <michael.albinus@gmx.de>
7052
7053 * rfn-eshadow.el (rfn-eshadow-update-overlay): Let-bind
7054 `non-essential' to t, in order to avoid remote connections.
7055
7056 2011-11-23 Eli Zaretskii <eliz@gnu.org>
7057
7058 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
7059 On MS-DOS and MS-Windows, compare with loaddefs.el
7060 case-insensitively.
7061
7062 2011-11-23 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
7063
7064 * mail/unrmail.el (unrmail): Always add blank line. (Bug#7743)
7065
7066 2011-11-23 Glenn Morris <rgm@gnu.org>
7067
7068 * paths.el (rmail-file-name): Reformat the doc-string so that it
7069 is picked up.
7070
7071 * mail/rmail.el (rmail-message-filter, rmail-auto-file): Doc fixes.
7072 (rmail-auto-file): Ignore case in the "special" field names,
7073 as mail-fetch-field does for all others.
7074
7075 * mail/rmail.el (rmail-forward):
7076 * mail/rmailkwd.el (rmail-set-label):
7077 * mail/rmailout.el (rmail-output, rmail-output-as-seen)
7078 (rmail-output-body-to-file): Give error if no message. (Bug#10082)
7079
7080 * mail/rmail.el (rmail-current-message): Doc fix.
7081
7082 * mail/rmail.el (rmail-message-filter): Mark as obsolete. (Bug#2624)
7083
7084 2011-11-22 Stefan Monnier <monnier@iro.umontreal.ca>
7085
7086 * server.el (server-eval-and-print): Allow C-g (bug#6585).
7087
7088 2011-11-22 Glenn Morris <rgm@gnu.org>
7089
7090 * mail/rmailmm.el (test-rmail-mime-handler)
7091 (test-rmail-mime-bulk-handler)
7092 (test-rmail-mime-multipart-handler): Move tests to test/ directory.
7093
7094 2011-11-21 Juri Linkov <juri@jurta.org>
7095
7096 * calc/calc.el (calc-read-key-sequence):
7097 Let-bind `input-method-function' to nil. (Bug#10018)
7098
7099 2011-11-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
7100
7101 * emacs-lisp/cl-indent.el (common-lisp-loop-part-indentation):
7102 Tell the caller that the next line needs recomputation, even
7103 though it doesn't start a sexp (bug#10094).
7104
7105 2011-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
7106
7107 * emacs-lisp/autoload.el (autoload-generate-file-autoloads): Simplify.
7108
7109 2011-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
7110
7111 * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
7112 Use force-same-window.
7113
7114 2011-11-20 Juanma Barranquero <lekktu@gmail.com>
7115
7116 * descr-text.el (describe-char-unicode-data):
7117 * json.el (json-string-escape):
7118 * mail/footnote.el (footnote-unicode-string, footnote-unicode-regexp)
7119 (Footnote-unicode, Footnote-style-p):
7120 * net/ntlm.el (ntlm-get-password-hashes): Fix typos.
7121
7122 2011-11-20 Chong Yidong <cyd@gnu.org>
7123
7124 * window.el (replace-buffer-in-windows): Restore interactive spec.
7125
7126 2011-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
7127
7128 * electric.el (electric-indent-mode): Fix last change (too optimistic).
7129
7130 * emacs-lisp/bytecomp.el: Silence obsolete warnings more reliably.
7131 (byte-compile-global-not-obsolete-vars): New var.
7132 (byte-compile-check-variable, byte-compile-make-obsolete-variable):
7133 Use it.
7134 (byte-compile-warn-obsolete): Align text with the one in *Help*.
7135
7136 2011-11-20 Juanma Barranquero <lekktu@gmail.com>
7137
7138 * progmodes/cwarn.el (cwarn-is-enabled, cwarn-font-lock-keywords):
7139 * progmodes/pascal.el (electric-pascal-equal):
7140 * textmodes/reftex-dcr.el (reftex-view-crossref-from-bibtex):
7141 * xml.el (xml-substitute-special): Fix typos.
7142
7143 2011-11-20 Glenn Morris <rgm@gnu.org>
7144
7145 * mail/rmail.el (rmail-enable-mime-composing): Make it a defcustom.
7146 (rmail-insert-mime-forwarded-message-function, rmail-mime-feature):
7147 Doc fixes.
7148 (rmail-decode-mime-charset): Mark as obsolete.
7149
7150 * mail/rmailsum.el (rmail-message-regexp-p-1):
7151 * mail/rmail.el (rmail-search-message, rmail-forward, rmail-resend):
7152 Before using mime functions, check they are set. (Bug#10077)
7153
7154 2011-11-19 Juri Linkov <juri@jurta.org>
7155
7156 * info.el (Info-finder-find-node): Use `package--builtins' instead
7157 of `package-alist'. Use node names formed by the pattern "Keyword "
7158 and the keyword name.
7159
7160 2011-11-19 Andreas Schwab <schwab@linux-m68k.org>
7161
7162 * progmodes/sh-script.el (sh-assignment-regexp): Add entry for bash.
7163
7164 2011-11-19 Juri Linkov <juri@jurta.org>
7165
7166 * info.el (Info-hide-note-references): Add `:set' tag to `defcustom'
7167 that calls `revert-buffer' on all Info buffers. (Bug#9915)
7168 (Info-revert-find-node): Remove let-bindings `old-buffer-name',
7169 `old-history', `old-history-forward'. Add let-binding
7170 `window-selected'. Remove calls to `kill-buffer',
7171 `switch-to-buffer' and `Info-mode'. Set `Info-current-file' to nil
7172 before calling `Info-find-node', so `Info-find-node-2' will reread
7173 the Info file. Restore window positions only when `window-selected'
7174 is non-nil.
7175
7176 2011-11-19 Juri Linkov <juri@jurta.org>
7177
7178 * isearch.el (isearch-lazy-highlight-new-loop):
7179 Remove condition `(not isearch-error)'. (Bug#9918)
7180
7181 * misearch.el (multi-isearch-search-fun): Add condition
7182 `(not bound)' to ignore lazy-highlighting search.
7183 Add the search-failed message "end of multi" when the end of
7184 multi-sequence is reached. Uncapitalize the search-failed
7185 message "Repeat for next buffer".
7186
7187 * info.el (Info-search): Add the search-failed message
7188 "end of the manual" when the end of the manual is reached
7189 in Isearch mode.
7190
7191 2011-11-19 Juri Linkov <juri@jurta.org>
7192
7193 * info.el (Info-find-node-2, Info-select-node, Info-history-find-node):
7194 Use non-destructive `remove' instead of `delete' because
7195 `Info-history-list' stored to `Info-isearch-initial-history-list' in
7196 `Info-isearch-start' might need to be restored in `Info-isearch-end'.
7197
7198 2011-11-19 Juri Linkov <juri@jurta.org>
7199
7200 * isearch.el (isearch-edit-string): Let-bind `history-add-new-input'
7201 to nil instead of binding `search-ring' and `regexp-search-ring'.
7202 (Bug#9185)
7203
7204 2011-11-19 Eli Zaretskii <eliz@gnu.org>
7205
7206 * simple.el (line-move): Force movement by logical lines for any
7207 hscrolled window, not only when auto-hscroll-mode is on.
7208 (line-move-visual): Update doc string to that effect. (Bug#10076)
7209
7210 2011-11-19 Andreas Schwab <schwab@linux-m68k.org>
7211
7212 * language/european.el (macintosh): Define as alias for mac-roman.
7213
7214 2011-11-19 Eli Zaretskii <eliz@gnu.org>
7215
7216 * mail/rmailmm.el (rmail-mime-display-header)
7217 (rmail-mime-display-tagline, rmail-mime-display-body): New defsubsts.
7218 (rmail-mime-entity-segment, rmail-mime-toggle-raw)
7219 (rmail-mime-toggle-hidden, rmail-mime-insert-text)
7220 (rmail-mime-insert-bulk, rmail-mime-insert-multipart)
7221 (rmail-mime-insert, rmail-mime-insert-tagline): Use them instead
7222 of a raw aref.
7223 (rmail-mime-entity-segment): To get past the tagline, move forward
7224 2 more lines, to account for the 2 empty lines that precede and
7225 follow the line with the buttons.
7226 (rmail-mime-update-tagline): Move one more line, to get past the
7227 empty line that follows the buttons in the tagline. (Bug#9520)
7228
7229 2011-11-19 Martin Rudalics <rudalics@gmx.at>
7230
7231 * window.el (window-max-delta-1, window-min-delta-1)
7232 (window-min-size-1, window-state-get-1, window-state-put-1)
7233 (window-state-put-2): Use "window--" prefix.
7234
7235 2011-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
7236
7237 * emacs-lisp/smie.el: Improve warnings and conflict detection.
7238 (smie-warning-count): New var.
7239 (smie-set-prec2tab): Use it.
7240 (smie-bnf->prec2): Improve warnings. Add docstring.
7241 (smie-bnf--closer-alist): Rename from smie-bnf-closer-alist.
7242 (smie-bnf--set-class): New function.
7243 (smie-bnf--classify): Rename from smie-bnf-classify. Rewrite to fix
7244 corner case.
7245
7246 * progmodes/compile.el: Obey compilation-first-column in dest buffer.
7247 (compilation-error-properties, compilation-move-to-column):
7248 Handle compilation-first-column while in the target buffer.
7249
7250 * progmodes/cc-engine.el (c-remove-stale-state-cache-backwards):
7251 Don't hardcode point-min==1.
7252
7253 * eshell/esh-cmd.el (eshell-do-eval): Handle `setq' (bug#9907).
7254 (eshell-rewrite-for-command): Remove workaround.
7255 (eshell-do-pipelines, eshell-do-pipelines-synchronously)
7256 (eshell-do-eval, eshell-exec-lisp): Avoid gratuitous setq.
7257 * eshell/esh-util.el (eshell-condition-case, eshell-for): Use declare.
7258
7259 * files-x.el (modify-file-local-variable): Obey commenting conventions.
7260
7261 2011-11-17 Glenn Morris <rgm@gnu.org>
7262
7263 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
7264 Ignore buffer-local generated-autoload-file if it is the same
7265 as the global value. (Bug#10049)
7266
7267 2011-11-17 Juanma Barranquero <lekktu@gmail.com>
7268
7269 * textmodes/reftex-toc.el (reftex-toc-return-marker, reftex-toc-help)
7270 (reftex-toc, reftex-toc, reftex-toc-dframe-p, reftex-toc-next-heading)
7271 (reftex-toc-previous-heading, reftex-toc-max-level)
7272 (reftex-toc-goto-line-and-hide, reftex-toc-show-calling-point)
7273 (reftex-toc-quit, reftex-toc-revert, reftex-toc-jump)
7274 (reftex-toc-do-promote, reftex-toc-promote-prepare)
7275 (reftex-toc-promote-action, reftex-toc-extract-section-number)
7276 (reftex-toc-load-all-files-for-promotion, reftex-toc-rename-label)
7277 (reftex-toc-rename-label, reftex-toc-visit-location)
7278 (reftex-toc-visit-location, reftex-toggle-auto-toc-recenter)
7279 (reftex-toggle-auto-toc-recenter, reftex-toggle-auto-toc-recenter)
7280 (reftex-make-separate-toc-frame): Fix typos, and use TOC consistently,
7281 leaving "*toc*" only for references to the buffer.
7282
7283 2011-11-17 Martin Rudalics <rudalics@gmx.at>
7284
7285 * window.el (window-resize, delete-window, split-window):
7286 Replace window-splits by window-combination-resize.
7287 * cus-start.el (window-splits): Replace by window-combination-resize.
7288
7289 2011-11-17 Glenn Morris <rgm@gnu.org>
7290
7291 * progmodes/sh-script.el (sh-font-lock-keywords-var):
7292 Make bash entry derive from sh entry, not shell entry.
7293
7294 2011-11-16 Michael Albinus <michael.albinus@gmx.de>
7295
7296 * net/tramp-sh.el (tramp-sh-handle-file-truename): Cache only the
7297 local file name.
7298
7299 2011-11-16 Juanma Barranquero <lekktu@gmail.com>
7300
7301 * menu-bar.el (menu-bar-file-menu):
7302 * printing.el (pr-ps-utility):
7303 * calendar/icalendar.el (icalendar, icalendar--convert-tz-offset)
7304 (icalendar--convert-to-ical, icalendar--convert-ordinary-to-ical)
7305 (icalendar--convert-weekly-to-ical, icalendar--convert-yearly-to-ical)
7306 (icalendar--convert-sexp-to-ical, icalendar--convert-block-to-ical)
7307 (icalendar--convert-float-to-ical, icalendar--convert-date-to-ical)
7308 (icalendar--convert-cyclic-to-ical)
7309 (icalendar--convert-anniversary-to-ical, icalendar-import-buffer)
7310 (icalendar--convert-ical-to-diary)
7311 (icalendar--convert-recurring-to-diary)
7312 (icalendar--convert-non-recurring-all-day-to-diary)
7313 (icalendar-import-format-sample):
7314 * progmodes/idlw-shell.el (idlwave-shell-mode):
7315 * progmodes/vhdl-mode.el (vhdl-mode, vhdl-print-two-column)
7316 (vhdl-print-customize-faces, vhdl-mode, vhdl-ps-print-settings)
7317 (vhdl-ps-print-init): Fix typos.
7318
7319 2011-11-16 Ken Manheimer <ken.manheimer@gmail.com>
7320
7321 * allout.el, allout-widgets.el (file metadata): Attribute copyright to
7322 FSF and collapse date sequence, obscure author/maintainer email address
7323 better, remove extra version line, track relocation of author's webpage.
7324
7325 * progmodes/python.el (python-pdbtrack-input-prompt)
7326 (python-pdbtrack-track-stack-file): Adjust to recognize ipdb as well as
7327 regular python pdb prompts. Adjustments shamelessly taken exactly as
7328 suggested in EmacsWiki page (tiny change):
7329 http://www.emacswiki.org/PythonProgrammingInEmacs#toc14
7330
7331 2011-11-16 Juanma Barranquero <lekktu@gmail.com>
7332
7333 * expand.el (expand-pos, expand-index, expand-point):
7334 Remove redundant info from docstring.
7335 (expand-add-abbrevs): Doc fix.
7336 (expand-c-sample-expand-list, expand-sample-lisp-mode-expand-list)
7337 (expand-sample-perl-mode-expand-list): Fix typos.
7338
7339 * net/dbus.el (dbus-event-member-name):
7340 * play/5x5.el (5x5-solve-rotate-left, 5x5-solver-output):
7341 * term/pc-win.el (msdos-create-frame-with-faces):
7342 * textmodes/texinfmt.el (texinfo-format-image): Fix typos.
7343
7344 2011-11-16 Martin Rudalics <rudalics@gmx.at>
7345
7346 * window.el (split-window, window-state-get-1)
7347 (window-state-put-1, window-state-put-2): Rename occurrences of
7348 window-nest to window-combination-limit.
7349 * cus-start.el (window-nest): Rename to window-combination-limit.
7350
7351 2011-11-16 Chong Yidong <cyd@gnu.org>
7352
7353 * progmodes/autoconf.el (autoconf-mode): Fix comment-start-skip
7354 regexp (Bug#10033).
7355
7356 2011-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
7357
7358 * tmm.el (tmm-prompt): Use minibuffer-with-setup-hook (bug#10053).
7359 `completing-read' will remove *Completions* and will preserve
7360 current-buffer for us.
7361 (tmm-add-prompt): Users of *Completions* will always (re)set its
7362 major mode.
7363 (tmm-old-comp-map): Remove.
7364
7365 2011-11-16 Glenn Morris <rgm@gnu.org>
7366
7367 * mail/rmailedit.el: Require rmailmm when compiling.
7368 (rmail-old-mime-state): New declaration.
7369 (rmail-edit-current-message): If editing a mime message,
7370 edit the "raw" message from the mbox buffer.
7371 (rmail-cease-edit): Handle mime messages. (Bug#9840)
7372
7373 2011-11-15 Glenn Morris <rgm@gnu.org>
7374
7375 * mail/rmailmm.el (rmail-mime-toggle-raw): Remove entity arg,
7376 which wasn't being used. Add optional arg to force given state.
7377 (rmail-mime): Add optional arg to force given state.
7378
7379 2011-11-15 Juanma Barranquero <lekktu@gmail.com>
7380
7381 * allout.el (allout-encryption-plaintext-sanitization-regexps):
7382 * frame.el (display-mm-dimensions-alist):
7383 * outline.el (outline-mode-menu-bar-map, outline-move-subtree-up)
7384 (outline-move-subtree-down):
7385 * net/newst-treeview.el (newsticker--treeview-do-get-node-of-feed)
7386 (newsticker--treeview-do-get-node):
7387 * net/quickurl.el (quickurl-list-buffer-name):
7388 * progmodes/dcl-mode.el (dcl-mode):
7389 * progmodes/gdb-mi.el (gdb-mapcar*):
7390 * progmodes/sql.el (sql-mode-oracle-font-lock-keywords): Fix typos.
7391
7392 2011-11-15 Glenn Morris <rgm@gnu.org>
7393
7394 * mail/rmail.el (rmail-file-coding-system): It's only ever used
7395 in a boolean sense, so just make it a boolean, and fix the doc.
7396 (rmail-show-mime-function, rmail-mime-feature)
7397 (rmail-require-mime-maybe): Doc fixes.
7398 (rmail-show-message-1): Check rmail-show-mime-function is non-nil.
7399
7400 * mail/rmailmm.el (rmail-show-mime): Doc fix.
7401
7402 2011-11-15 Juanma Barranquero <lekktu@gmail.com>
7403
7404 * epg.el (epg-start-decrypt, epg-start-verify, epg-start-sign)
7405 (epg-start-encrypt, epg-start-export-keys, epg-start-import-keys)
7406 (epg-start-receive-keys, epg-start-delete-keys, epg-start-sign-keys)
7407 (epg-start-generate-key, epg-context-set-progress-callback): Fix typos.
7408
7409 2011-11-15 Glenn Morris <rgm@gnu.org>
7410
7411 * mail/rmailmm.el (rmail-mime-entity, rmail-mime-entity-segment)
7412 (rmail-mime-shown-mode, rmail-mime-hidden-mode, rmail-mime-raw-mode)
7413 (rmail-mime-toggle-hidden, rmail-mime-insert-tagline)
7414 (rmail-mime-insert-header, rmail-mime-handle, rmail-mime-parse)
7415 (rmail-mime, rmail-show-mime): Doc fixes.
7416
7417 * term/ns-win.el (mode-line-frame-identification):
7418 Leave it alone. (Bug#10051)
7419
7420 * simple.el (mark-whole-buffer): Doc fix. (Bug#10023)
7421
7422 * mail/rmailout.el (rmail-output-to-rmail-buffer):
7423 Handle empty buffers. (Bug#9978)
7424
7425 2011-11-14 Juanma Barranquero <lekktu@gmail.com>
7426
7427 * international/mule.el (define-charset):
7428 * mail/rmailmm.el (rmail-mime-find-header-encoding):
7429 * progmodes/prolog.el (prolog-mode-hook, prolog-inferior-mode-hook):
7430 * progmodes/verilog-mode.el (verilog-backward-token):
7431 * textmodes/ispell.el (lookup-words):
7432 * textmodes/sgml-mode.el (sgml-guess-indent): Fix typos.
7433
7434 2011-11-14 Glenn Morris <rgm@gnu.org>
7435
7436 * progmodes/executable.el
7437 (executable-make-buffer-file-executable-if-script-p):
7438 Handle file-modes returning nil.
7439
7440 * mail/rmailsum.el (rmail-summary): Remove movement to beginning of
7441 message - not necessary, and causes problems. (Bug#9831)
7442
7443 * mail/rmailsum.el (rmail-new-summary): Preserve message number.
7444
7445 * mail/rmail.el (rmail-no-mail-p): Remove mode-line N/M indicator.
7446
7447 * mail/rmailsum.el (rmail-summary, rmail-new-summary)
7448 (rmail-new-summary-1): Allow empty summaries. (Bug#9964)
7449 (rmail-new-summary): Remember that rmail-summary-buffer is buffer-local.
7450
7451 2011-11-12 Martin Rudalics <rudalics@gmx.at>
7452
7453 * window.el (window-resize, delete-window): Use window-splits
7454 variable instead of function.
7455 (window-state-get-1, window-state-put-2, window-state-put):
7456 Don't deal with windows' splits status.
7457
7458 2011-11-12 Glenn Morris <rgm@gnu.org>
7459
7460 * apropos.el (apropos-do-all, apropos-library, apropos-value)
7461 (apropos-documentation): Doc fixes.
7462
7463 2011-11-11 Juanma Barranquero <lekktu@gmail.com>
7464
7465 * progmodes/idlw-shell.el (idlwave-shell-make-new-bp-overlay):
7466 * textmodes/sgml-mode.el (html-tag-help): Fix typos.
7467
7468 2011-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
7469
7470 * electric.el (electric-indent-post-self-insert-function): Make it
7471 possible for a char to only indent in some circumstances.
7472 (electric-indent-mode): Simplify.
7473
7474 2011-11-11 Martin Rudalics <rudalics@gmx.at>
7475
7476 * window.el (windows-with-parameter): Remove unused function.
7477 (windows-at-side): Rename to window-at-side-list.
7478 (window-check, window-atom-check, window-atom-check-1)
7479 (window-side-check, window-size-ignore, window-size-fixed-1)
7480 (window-in-direction-2): Prefix with "window--".
7481 (window-tree-1): Rename to window--subtree, fix doc-string.
7482
7483 2011-11-11 Glenn Morris <rgm@gnu.org>
7484
7485 * subr.el (eval-after-load): If FILE is already loaded,
7486 evaluate FORM before it gets wrapped in more stuff. (Bug#10009)
7487
7488 2011-11-10 Glenn Morris <rgm@gnu.org>
7489
7490 * vc/vc-svn.el (vc-svn-create-repo, vc-svn-modify-change-comment):
7491 Call svn via vc-svn-command rather than vc-do-command.
7492 (vc-svn-command): Add --non-interactive. (Bug#9993)
7493 (vc-svn-update, vc-svn-merge-news): No need for --non-interactive.
7494
7495 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
7496 Add toggle-read-only. (Bug#7292)
7497 * files.el (toggle-read-only): Mention that it should only
7498 be used interactively. (Bug#10006)
7499
7500 2011-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
7501
7502 * progmodes/compile.el (compilation-error-regexp-alist-alist):
7503 Adjust regexp for OCaml warnings.
7504
7505 * electric.el (electric-pair-post-self-insert-function): Let user
7506 turn it off buffer-locally (bug#9932).
7507
7508 * progmodes/python.el (python-beginning-of-statement):
7509 Rewrite (bug#2703).
7510
7511 * progmodes/compile.el: Better handle TABs (bug#9749).
7512 (compilation-internal-error-properties)
7513 (compilation-next-error-function): Obey the target buffer's
7514 compilation-error-screen-columns.
7515
7516 2011-11-09 Juanma Barranquero <lekktu@gmail.com>
7517
7518 * progmodes/meta-mode.el: Remove obsolete comments.
7519 (meta-right-comment-regexp, meta-ignore-comment-regexp):
7520 Fix typos in docstrings.
7521
7522 2011-11-09 Martin Rudalics <rudalics@gmx.at>
7523
7524 * window.el (window-size-fixed-p): Rewrite doc-string.
7525 (window-resizable-p): Rename to window--resizable-p. Update callers.
7526 (window--resizable): New function. Make all callers of
7527 window-resizable call window--resizable instead.
7528 (window-resizable): Rewrite in terms of window--resizable.
7529
7530 2011-11-08 Glenn Morris <rgm@gnu.org>
7531
7532 * progmodes/delphi.el (delphi-mode-syntax-table):
7533 Let define-derived-mode define a proper syntax table. (Bug#9994)
7534
7535 2011-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
7536
7537 * window.el: Stay away from defsubst.
7538 (window-list-no-nils): Remove.
7539 (window-state-get-1, window-state-get): Use backquote instead.
7540
7541 2011-11-08 Thierry Volpiatto <thierry.volpiatto@gmail.com>
7542
7543 * emacs-lisp/find-func.el (find-function-read):
7544 Fix incorrect use of default argument in `completing-read'.
7545
7546 2011-11-08 Martin Rudalics <rudalics@gmx.at>
7547
7548 * window.el (display-buffer-function, special-display-function):
7549 Mention display-buffer-record-window but do not mention
7550 help-setup parameter in doc-strings.
7551 (window-min-delta): Fix doc-string typo.
7552
7553 2011-11-08 Chong Yidong <cyd@gnu.org>
7554
7555 * window.el (window-total-height, window-total-width): Doc fix.
7556 (window-body-size): Move from C.
7557 (window-body-height, window-body-width): Move to C.
7558
7559 2011-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
7560
7561 * window.el: Make special-display like display-buffer-alist (bug#9532).
7562 (display-buffer--special-action): New function, morphed
7563 from display-buffer--special.
7564 (display-buffer): Use it to handle special-display-buffers at higher
7565 priority (just after display-buffer-alist).
7566 (display-buffer-fallback-action, display-buffer--other-frame-action)
7567 (pop-to-buffer-same-window): Remove display-buffer--special.
7568
7569 2011-11-07 Glenn Morris <rgm@gnu.org>
7570
7571 * calendar/cal-menu.el (cal-menu-set-date-title):
7572 Do nothing if not in a calendar. (Bug#9976)
7573
7574 2011-11-07 Stefan Monnier <monnier@iro.umontreal.ca>
7575
7576 * files.el (find-file): Always use selected-window.
7577
7578 2011-11-07 Martin Rudalics <rudalics@gmx.at>
7579
7580 * window.el (window-combinations): Make WINDOW argument
7581 mandatory. Rewrite doc-string.
7582 (walk-window-subtree, window-atom-check, window-min-delta)
7583 (window-max-delta, window--resize-this-window)
7584 (window--resize-root-window-vertically, window-tree)
7585 (balance-windows, window-state-put): Rewrite doc-strings as to
7586 not mention the term "subwindow".
7587 (window--resize-subwindows-skip-p): Rename to
7588 window--resize-child-windows-skip-p.
7589 (window--resize-subwindows-normal): Rename to
7590 window--resize-child-windows-normal.
7591 (window--resize-subwindows): Rename to
7592 window--resize-child-windows.
7593 (window-or-subwindow-p): Rename to window--in-subtree-p.
7594
7595 2011-11-07 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
7596
7597 * mail/rmail.el (rmail-get-new-mail, rmail-insert-inbox-text):
7598 Ensure that mbox format messages end in two newlines (Bug#9974).
7599
7600 2011-11-06 Chong Yidong <cyd@gnu.org>
7601
7602 * window.el (window-combination-p): Function deleted; its
7603 side-effect is not used in any existing code.
7604 (window-combinations, window-combined-p): Call window-*-child
7605 directly.
7606
7607 2011-11-05 Chong Yidong <cyd@gnu.org>
7608
7609 * window.el (window-valid-p): Rename from window-any-p.
7610 (window-size-ignore, window-state-get): Callers changed.
7611 (window-normalize-window): Rename from window-normalize-any-window.
7612 New arg LIVE-ONLY, replacing window-normalize-live-window.
7613 (window-normalize-live-window): Delete.
7614 (window-combination-p, window-combined-p, window-combinations)
7615 (walk-window-subtree, window-atom-root, window-min-size)
7616 (window-sizable, window-sizable-p, window-size-fixed-p)
7617 (window-min-delta, window-max-delta, window-resizable)
7618 (window-resizable-p, window-full-height-p, window-full-width-p)
7619 (window-current-scroll-bars, window-point-1, set-window-point-1)
7620 (window-at-side-p, window-in-direction, window-resize)
7621 (adjust-window-trailing-edge, maximize-window, minimize-window)
7622 (window-deletable-p, delete-window, delete-other-windows)
7623 (record-window-buffer, unrecord-window-buffer)
7624 (switch-to-prev-buffer, switch-to-next-buffer, window--delete)
7625 (quit-window, split-window, window-state-put)
7626 (set-window-text-height, fit-window-to-buffer)
7627 (shrink-window-if-larger-than-buffer): Callers changed.
7628
7629 2011-11-04 Eli Zaretskii <eliz@gnu.org>
7630
7631 * mail/rmail.el (rmail-simplified-subject): Decode subject with
7632 rfc2047-decode-string.
7633 (rmail-mime-toggle-hidden): Declare to avoid byte-compilation
7634 warnings.
7635
7636 * window.el (window-body-height, window-body-width): Mention in
7637 the doc string that the return values are in frame's canonical
7638 units. (Bug#9949)
7639
7640 2011-11-03 Alan Mackenzie <acm@muc.de>
7641
7642 * progmodes/cc-langs.el (c-nonlabel-token-2-key): New variable for
7643 change in cc-engine.el.
7644
7645 2011-11-02 Stefan Monnier <monnier@iro.umontreal.ca>
7646
7647 * window.el (switch-to-buffer): Use `force-same-window' interactively.
7648
7649 2011-11-02 Martin Rudalics <rudalics@gmx.at>
7650
7651 * window.el (quit-window): Call unrecord-window-buffer after
7652 showing another buffer in the window. (Bug#9937)
7653 (bury-buffer): Call switch-to-prev-buffer with second argument `bury'.
7654
7655 2011-11-02 Juanma Barranquero <lekktu@gmail.com>
7656
7657 * vc/vc-bzr.el (vc-bzr-state, vc-bzr-after-dir-status):
7658 Accept status with more than 9 shelves. (Bug#9935)
7659 Reported by Colin D Bennett <colin@gibibit.com>.
7660
7661 2011-11-01 Martin Rudalics <rudalics@gmx.at>
7662
7663 * help.el (with-help-window): Don't reference
7664 temp-buffer-show-specifiers in doc-string.
7665
7666 2011-10-31 Andreas Schwab <schwab@linux-m68k.org>
7667
7668 * subr.el (keymap--menu-item-with-binding): Ignore item if not a
7669 menu-item.
7670
7671 2011-10-30 Vinicius Jose Latorre <viniciusjl@ig.com.br>
7672
7673 * whitespace.el: New version 13.2.2.
7674 (whitespace-newline-mode): Disable properly. Reported by Sarah
7675 <EmacsWiki>.
7676
7677 2011-10-30 Ulf Jasper <ulf.jasper@web.de>
7678
7679 * net/newst-treeview.el: Remove "Time-stamp".
7680 (newsticker--group-manage-orphan-feeds): Do not call
7681 newsticker--treeview-tree-update.
7682 (newsticker-treeview-update, newsticker-treeview):
7683 Call newsticker--treeview-tree-update if necessary.
7684
7685 2011-10-30 Martin Rudalics <rudalics@gmx.at>
7686
7687 * window.el (window-iso-combination-p, window-iso-combined-p)
7688 (window-iso-combinations): Remove "iso-" infix.
7689 Suggested by Chong Yidong.
7690 (window-min-size-1, window-size-fixed-1, window-min-delta-1)
7691 (window-max-delta-1, window-resize, window--resize-siblings)
7692 (window--resize-this-window, adjust-window-trailing-edge)
7693 (split-window, balance-windows-1)
7694 (shrink-window-if-larger-than-buffer):
7695 * calendar/calendar.el (calendar-generate-window):
7696 * help.el (resize-temp-buffer-window): Adjust callers accordingly.
7697
7698 2011-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
7699
7700 * eshell/esh-cmd.el (eshell-rewrite-for-command): Don't modify the list
7701 in place (bug#9907).
7702 (eshell-subcommand-arg-values, eshell-rewrite-named-command)
7703 (eshell-rewrite-if-command, eshell-rewrite-for-command)
7704 (eshell-structure-basic-command, eshell-rewrite-while-command)
7705 (eshell-invokify-arg, eshell-parse-pipeline, eshell-parse-command)
7706 (eshell-parse-subcommand-argument, eshell-parse-lisp-argument)
7707 (eshell-trap-errors, eshell-do-pipelines, eshell-do-eval)
7708 (eshell-do-pipelines-synchronously, eshell-eval-command):
7709 Use backquotes and prefer setq to set.
7710 (eshell-lookup-function, function-p-func, eshell-functionp): Remove.
7711 (eshell-macrop): Use functionp.
7712 (eshell-do-eval): Handle multiple expressions in `while' body.
7713
7714 2011-10-30 Chong Yidong <cyd@gnu.org>
7715
7716 * emulation/viper-cmd.el (viper-exec-change): Use push-mark
7717 instead of set-mark (Bug#9810).
7718
7719 2011-10-30 Chong Yidong <cyd@gnu.org>
7720
7721 * window.el (split-window-below, split-window-right): Rename from
7722 split-window-above-each-other and split-window-side-by-side
7723 respectively. All callers changed.
7724 (split-window-sensibly, split-window-sensibly): Use them.
7725 (split-window-keep-point): Doc fix.
7726
7727 * isearch.el: Add isearch-scroll property to split-window-below
7728 and split-window-right.
7729
7730 * follow.el (follow-mode):
7731 * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
7732 * progmodes/ada-xref.el (ada-gdb-application):
7733 * emulation/vip.el (vip-buffer-in-two-windows):
7734 * image-dired.el (image-dired-dired-with-window-configuration):
7735 * dired-x.el (dired-do-find-marked-files):
7736 * dired.el (dired-pop-to-buffer):
7737 * bs.el (bs--show-with-configuration):
7738 * vc/emerge.el (emerge-setup-windows):
7739 * textmodes/two-column.el (2C-two-columns):
7740 * textmodes/reftex-toc.el (reftex-toc):
7741 * progmodes/gdb-mi.el (gdb-setup-windows):
7742 * progmodes/fortran.el (fortran-window-create):
7743 * net/newst-treeview.el (newsticker--treeview-window-init):
7744 * emulation/ws-mode.el (wordstar-C-o-map, wordstar-mode):
7745 * emulation/tpu-edt.el (tpu-gold-map):
7746 * emulation/crisp.el (crisp-mode-map):
7747 * calendar/calendar.el (calendar-basic-setup): Callers changed.
7748
7749 2011-10-29 Chong Yidong <cyd@gnu.org>
7750
7751 * subr.el (y-or-n-p): Add code for batch mode (Bug#9818).
7752
7753 * mouse.el (mouse-yank-primary): Push the mark (Bug#9894).
7754
7755 * textmodes/flyspell.el (flyspell-word): Fix char offset for
7756 forged Ispell output (Bug#7904).
7757
7758 * emacs-lisp/package.el (package-refresh-contents): Add autoload.
7759
7760 2011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
7761
7762 * doc-view.el: Avoid ugly errors about not finding nil.
7763 (doc-view-ghostscript-program, doc-view-dvipdfm-program)
7764 (doc-view-dvipdf-program, doc-view-unoconv-program)
7765 (doc-view-ps2pdf-program, doc-view-pdftotext-program):
7766 Avoid nil or absolute file name as default value.
7767 (doc-view-pdf->txt, doc-view-ps->pdf): Use executable-find here.
7768
7769 2011-10-28 Alan Mackenzie <acm@muc.de>
7770
7771 * progmodes/cc-defs.el (c-version): -> 5.32.2.
7772
7773 2011-10-28 Alan Mackenzie <acm@muc.de>
7774
7775 Amend the handling of c-beginning/end-of-defun in nested declaration
7776 scopes.
7777
7778 * progmodes/cc-vars.el (c-defun-tactic): Move here from
7779 cc-langs.el. Change it to a defcustom.
7780
7781 * progmodes/cc-langs.el (c-defun-tactic): Move this variable to
7782 cc-vars.el.
7783
7784 * progmodes/cc-engine.el (c-beginning-of-statement-1):
7785 Prevent "class foo : bar" being spuriously recognized as a label.
7786
7787 * progmodes/cc-cmds.el (c-narrow-to-most-enclosing-decl-block):
7788 Add parameter `inclusive' (to include enclosing braces in the region).
7789 (c-widen-to-enclosing-decl-scope): New function.
7790 (c-while-widening-to-decl-block): New macro.
7791 (c-beginning-of-defun, c-end-of-defun): Change algorithm to keep going
7792 outward for defun boundaries, and correspondingly change symbol
7793 `respect-enclosure' to `go-outward'.
7794 (c-declaration-limits): Change algorithm to report only the "innermost"
7795 defun's boundaries.
7796
7797 2011-10-28 Deniz Dogan <deniz@dogan.se>
7798
7799 * net/rcirc.el (rcirc-mode): Use hard newlines.
7800
7801 2011-10-28 Alan Mackenzie <acm@muc.de>
7802
7803 Amend to indent and fontify macros "which include their own semicolon"
7804 correctly, using the "virtual semicolon" mechanism.
7805
7806 * progmodes/cc-defs.el: Update "virtual semicolon" comments.
7807
7808 * progmodes/cc-engine.el (c-crosses-statement-barrier-p):
7809 Recode to scan one line at a time rather than having \n and \r
7810 explicitly in c-stmt-delim-chars (for some modes, e.g. AWK).
7811 (c-forward-label): Amend for virtual semicolons.
7812 (c-at-macro-vsemi-p, c-macro-vsemi-status-unknown-p): New functions.
7813
7814 * progmodes/cc-fonts.el (c-font-lock-declarations): Take account
7815 of the new C macros.
7816
7817 * progmodes/cc-langs.el (c-at-vsemi-p-fn):
7818 (c-vsemi-status-unknown-p-fn): Move to earlier in the file.
7819 (c-opt-cpp-symbol, c-line-comment-start-regexp): New language vars.
7820 (c-opt-cpp-macro-define): Make into a full language variable.
7821 (c-stmt-delim-chars, c-stmt-delim-chars-with-comma): Special value for
7822 AWK Mode (including \n, \r) removed, no longer needed.
7823
7824 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode):
7825 Invoke c-make-macro-with-semi-re.
7826
7827 * progmodes/cc-vars.el (c-macro-with-semi-re):
7828 (c-macro-names-with-semicolon): New variables.
7829 (c-make-macro-with-semi-re): New function.
7830
7831 2011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
7832
7833 * vc/log-edit.el: Fill empty field rather than adding new one.
7834 (log-edit-add-field): New function.
7835 (log-edit-insert-changelog): Use it.
7836
7837 2011-10-28 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
7838
7839 * mail/rmail.el (rmail-mode-map): Add M-C-f as in rmailsum (bug#9802).
7840
7841 2011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
7842
7843 * progmodes/gdb-mi.el: Warn the user when -i=mi is missing.
7844 (gdb--check-interpreter): New function.
7845 (gdb): Use it.
7846
7847 2011-10-27 Glenn Morris <rgm@gnu.org>
7848
7849 * emacs-lisp/cl-extra.el (most-positive-float, most-negative-float)
7850 (least-positive-float, least-negative-float)
7851 (least-positive-normalized-float, least-negative-normalized-float)
7852 (float-epsilon, float-negative-epsilon):
7853 Remove unnecessary declarations.
7854
7855 * emacs-lisp/cl-extra.el (cl-float-limits): Add doc string.
7856 * emacs-lisp/cl.el (most-positive-float, most-negative-float)
7857 (least-positive-float, least-negative-float)
7858 (least-positive-normalized-float, least-negative-normalized-float)
7859 (float-epsilon, float-negative-epsilon): Add doc-strings,
7860 based on those in cl.texi.
7861
7862 * files.el (set-visited-file-name): If the major-mode changed,
7863 reload the local variables. (Bug#9796)
7864
7865 2011-10-27 Chong Yidong <cyd@gnu.org>
7866
7867 * subr.el (change-major-mode-after-body-hook): New hook.
7868 (run-mode-hooks): Run it.
7869
7870 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
7871 Use change-major-mode-before-body-hook.
7872
7873 * simple.el (fundamental-mode):
7874 * emacs-lisp/derived.el (define-derived-mode): Revert 2010-04-28
7875 change introducing fundamental-mode-hook.
7876
7877 2011-10-26 Juanma Barranquero <lekktu@gmail.com>
7878
7879 * term/w32-win.el (w32-default-color-map): Declare obsolete (Bug#9785).
7880
7881 2011-10-26 Michael Albinus <michael.albinus@gmx.de>
7882
7883 * ido.el (ido-file-name-all-completions-1): Do not require
7884 tramp.el explicitly. (Bug#7583)
7885
7886 2011-10-26 Stefan Monnier <monnier@iro.umontreal.ca>
7887
7888 * progmodes/octave-mod.el:
7889 * progmodes/octave-inf.el: Update maintainer.
7890
7891 2011-10-26 Chong Yidong <cyd@gnu.org>
7892
7893 * subr.el (with-wrapper-hook): Rewrite doc.
7894
7895 2011-10-25 Michael Albinus <michael.albinus@gmx.de>
7896
7897 * net/tramp-sh.el (tramp-sh-handle-file-directory-p): Return t for
7898 filenames "/method:foo:". (Bug#9793)
7899
7900 2011-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
7901
7902 * comint.el (comint-get-old-input-default): Fix use-prompt-regexp case
7903 (bug#9865).
7904
7905 2011-10-24 Glenn Morris <rgm@gnu.org>
7906
7907 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix. (Bug#9819)
7908
7909 2011-10-24 Michael Albinus <michael.albinus@gmx.de>
7910
7911 * notifications.el: Add the requirement of a running D-Bus session
7912 bus to the Commentary.
7913
7914 2011-10-24 Juri Linkov <juri@jurta.org>
7915
7916 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
7917 `search-whitespace-regexp' only when `isearch-regexp' is non-nil.
7918 (Bug#9364)
7919
7920 2011-10-24 Juri Linkov <juri@jurta.org>
7921
7922 * info.el (Info-following-node-name-re): Add newline to the list
7923 of allowed characters for leading space. (Bug#9824)
7924
7925 2011-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
7926
7927 * progmodes/octave-inf.el (inferior-octave-mode-map):
7928 Fix C-c C-h binding.
7929 * progmodes/octave-mod.el (octave-help): Remove.
7930
7931 2011-10-23 Michael Albinus <michael.albinus@gmx.de>
7932
7933 Sync with Tramp 2.2.3.
7934
7935 * net/tramp-cache.el (top): Pacify byte-compiler using
7936 `init-file-user' and `site-run-file'.
7937
7938 * net/trampver.el: Update release number.
7939
7940 2011-10-23 Chong Yidong <cyd@gnu.org>
7941
7942 * files.el (toggle-read-only): Remove obsolete comment about
7943 version control.
7944
7945 * vc/vc-hooks.el (vc-toggle-read-only): Make it an obsolete alias
7946 for toggle-read-only. Note that this hasn't called vc-next-action
7947 since 2008-05-02, though it wasn't documented at the time.
7948
7949 * vc/ediff-init.el (ediff-toggle-read-only-function):
7950 Use toggle-read-only.
7951
7952 2011-10-22 Alan Mackenzie <bug-cc-mode@gnu.org>
7953
7954 Fix bug #9560, sporadic wrong indentation; improve instrumentation
7955 of c-parse-state.
7956
7957 * progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache):
7958 correct faulty logical expression.
7959 (c-parse-state-state, c-record-parse-state-state):
7960 (c-replay-parse-state-state): New defvar/defuns.
7961 (c-debug-parse-state): Use new functions.
7962
7963 2011-10-22 Martin Rudalics <rudalics@gmx.at>
7964
7965 * mouse.el (mouse-drag-line): Fix minibuffer resizing broken by
7966 last fix. Use window-in-direction correctly.
7967
7968 2011-10-21 Chong Yidong <cyd@gnu.org>
7969
7970 * progmodes/idlwave.el (idlwave-mode):
7971 * progmodes/vera-mode.el (vera-mode): No need to set
7972 require-final-newline; that's done in prog-mode.
7973 Suggested by Stefan Monnier.
7974
7975 2011-10-21 Martin Rudalics <rudalics@gmx.at>
7976
7977 * mouse.el (mouse-drag-window-above)
7978 (mouse-drag-move-window-bottom, mouse-drag-move-window-top)
7979 (mouse-drag-mode-line-1, mouse-drag-header-line)
7980 (mouse-drag-vertical-line-rightward-window): Remove.
7981 (mouse-drag-line): New function.
7982 (mouse-drag-mode-line, mouse-drag-header-line)
7983 (mouse-drag-vertical-line): Call mouse-drag-line.
7984 * window.el (window-at-side-p, windows-at-side): New functions.
7985
7986 2011-10-21 Ulrich Mueller <ulm@gentoo.org>
7987
7988 * tar-mode.el (tar-grind-file-mode):
7989 Fix handling of setuid/setgid, handle sticky bit. (Bug#9817)
7990
7991 2011-10-21 Chong Yidong <cyd@gnu.org>
7992
7993 * progmodes/idlwave.el (idlwave-mode):
7994 * progmodes/vera-mode.el (vera-mode):
7995 Use mode-require-final-newline.
7996
7997 2011-10-20 Glenn Morris <rgm@gnu.org>
7998
7999 * vc/vc.el (vc-next-action): Handle removed directories. (Bug#9781)
8000
8001 2011-10-20 Christoph Scholtes <cschol2112@googlemail.com>
8002
8003 * emulation/cua-base.el (cua-set-mark): Fix case of string.
8004
8005 2011-10-20 Chong Yidong <cyd@gnu.org>
8006
8007 * emulation/cua-base.el (cua-mode):
8008 * mail/footnote.el (footnote-mode):
8009 * mail/mailabbrev.el (mail-abbrevs-mode):
8010 * net/xesam.el (xesam-minor-mode):
8011 * progmodes/bug-reference.el (bug-reference-mode):
8012 * progmodes/cap-words.el (capitalized-words-mode):
8013 * progmodes/compile.el (compilation-minor-mode)
8014 (compilation-shell-minor-mode):
8015 * progmodes/gud.el (gud-tooltip-mode):
8016 * progmodes/hideif.el (hide-ifdef-mode):
8017 * progmodes/idlw-shell.el (idlwave-shell-electric-debug-mode):
8018 * progmodes/subword.el (subword-mode):
8019 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
8020 * progmodes/which-func.el (which-function-mode):
8021 * term/tvi970.el (tvi970-set-keypad-mode):
8022 * term/vt100.el (vt100-wide-mode):
8023 * textmodes/flyspell.el (flyspell-mode):
8024 * textmodes/ispell.el (ispell-minor-mode):
8025 * textmodes/nroff-mode.el (nroff-electric-mode):
8026 * textmodes/paragraphs.el (use-hard-newlines):
8027 * textmodes/refill.el (refill-mode):
8028 * textmodes/reftex.el (reftex-mode):
8029 * textmodes/rst.el (rst-minor-mode):
8030 * textmodes/sgml-mode.el (html-autoview-mode)
8031 (sgml-electric-tag-pair-mode):
8032 * textmodes/tex-mode.el (latex-electric-env-pair-mode):
8033 * vc/diff-mode.el (diff-auto-refine-mode, diff-minor-mode):
8034 * emulation/crisp.el (crisp-mode):
8035 * emacs-lisp/eldoc.el (eldoc-mode):
8036 * emacs-lisp/checkdoc.el (checkdoc-minor-mode): Doc fixes for new
8037 minor mode behavior.
8038
8039 2011-10-19 Juri Linkov <juri@jurta.org>
8040
8041 * descr-text.el (describe-char): Add #x2010 and #x2011 to
8042 the list of hard-coded chars with escape-glyph face.
8043
8044 2011-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
8045
8046 * vc/log-edit.el (log-edit-empty-buffer-p): Ignore empty headers.
8047
8048 2011-10-19 Michael Albinus <michael.albinus@gmx.de>
8049
8050 * net/tramp.el (tramp-connectable-p): Make a stronger check on a
8051 running process.
8052
8053 2011-10-19 Glenn Morris <rgm@gnu.org>
8054
8055 * vc/vc-bzr.el (vc-bzr-after-dir-status):
8056 Ignore ignored files. (Bug#9726)
8057
8058 2011-10-19 Chong Yidong <cyd@gnu.org>
8059
8060 Doc fix for minor modes, stating that an omitted argument enables
8061 the mode unconditionally when called from Lisp.
8062
8063 * abbrev.el (abbrev-mode):
8064 * allout.el (allout-mode):
8065 * autoinsert.el (auto-insert-mode):
8066 * autoarg.el (autoarg-mode, autoarg-kp-mode):
8067 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
8068 (global-auto-revert-mode):
8069 * battery.el (display-battery-mode):
8070 * composite.el (global-auto-composition-mode)
8071 (auto-composition-mode):
8072 * delsel.el (delete-selection-mode):
8073 * desktop.el (desktop-save-mode):
8074 * dired-x.el (dired-omit-mode):
8075 * dirtrack.el (dirtrack-mode):
8076 * doc-view.el (doc-view-minor-mode):
8077 * double.el (double-mode):
8078 * electric.el (electric-indent-mode, electric-pair-mode):
8079 * emacs-lock.el (emacs-lock-mode):
8080 * epa-hook.el (auto-encryption-mode):
8081 * follow.el (follow-mode):
8082 * font-core.el (font-lock-mode):
8083 * frame.el (auto-raise-mode, auto-lower-mode, blink-cursor-mode):
8084 * help.el (temp-buffer-resize-mode):
8085 * hilit-chg.el (highlight-changes-mode)
8086 (highlight-changes-visible-mode):
8087 * hi-lock.el (hi-lock-mode):
8088 * hl-line.el (hl-line-mode, global-hl-line-mode):
8089 * icomplete.el (icomplete-mode):
8090 * ido.el (ido-everywhere):
8091 * image-file.el (auto-image-file-mode):
8092 * image-mode.el (image-minor-mode):
8093 * iswitchb.el (iswitchb-mode):
8094 * jka-cmpr-hook.el (auto-compression-mode):
8095 * linum.el (linum-mode):
8096 * longlines.el (longlines-mode):
8097 * master.el (master-mode):
8098 * mb-depth.el (minibuffer-depth-indicate-mode):
8099 * menu-bar.el (menu-bar-mode):
8100 * minibuf-eldef.el (minibuffer-electric-default-mode):
8101 * mouse-sel.el (mouse-sel-mode):
8102 * msb.el (msb-mode):
8103 * mwheel.el (mouse-wheel-mode):
8104 * outline.el (outline-minor-mode):
8105 * paren.el (show-paren-mode):
8106 * recentf.el (recentf-mode):
8107 * reveal.el (reveal-mode, global-reveal-mode):
8108 * rfn-eshadow.el (file-name-shadow-mode):
8109 * ruler-mode.el (ruler-mode):
8110 * savehist.el (savehist-mode):
8111 * scroll-all.el (scroll-all-mode):
8112 * scroll-bar.el (scroll-bar-mode):
8113 * server.el (server-mode):
8114 * shell.el (shell-dirtrack-mode):
8115 * simple.el (auto-fill-mode, transient-mark-mode)
8116 (visual-line-mode, overwrite-mode, binary-overwrite-mode)
8117 (line-number-mode, column-number-mode, size-indication-mode)
8118 (auto-save-mode, normal-erase-is-backspace-mode, visible-mode):
8119 * strokes.el (strokes-mode):
8120 * time.el (display-time-mode):
8121 * t-mouse.el (gpm-mouse-mode):
8122 * tool-bar.el (tool-bar-mode):
8123 * tooltip.el (tooltip-mode):
8124 * type-break.el (type-break-mode-line-message-mode)
8125 (type-break-query-mode):
8126 * view.el (view-mode):
8127 * whitespace.el (whitespace-mode, whitespace-newline-mode)
8128 (global-whitespace-mode, global-whitespace-newline-mode):
8129 * xt-mouse.el (xterm-mouse-mode): Doc fix.
8130
8131 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
8132 Fix autogenerated docstring.
8133
8134 2011-10-19 Juri Linkov <juri@jurta.org>
8135
8136 * net/browse-url.el (browse-url-can-use-xdg-open): Support LXDE
8137 by checking environment variables "DESKTOP_SESSION" and
8138 "XDG_CURRENT_DESKTOP". (Bug#9779)
8139
8140 2011-10-19 Juri Linkov <juri@jurta.org>
8141
8142 * net/browse-url.el (browse-url-browser-function): Add "Chromium".
8143 (browse-url-chromium-program, browse-url-chromium-arguments):
8144 New defcustoms.
8145 (browse-url-default-browser): Check for `browse-url-chromium' and
8146 call `browse-url-chromium-program'.
8147 (browse-url-chromium): New command. (Bug#9779)
8148
8149 2011-10-18 Juanma Barranquero <lekktu@gmail.com>
8150
8151 * facemenu.el (list-colors-duplicates): On Windows, detect more
8152 duplicates by assuming that only colors matching "^System" are
8153 special "system colors". (Bug#9722)
8154
8155 2011-10-18 Stefan Monnier <monnier@iro.umontreal.ca>
8156
8157 * vc/log-edit.el (log-edit): Add "Author:" header to encourage people
8158 to distinguish the author from the committer.
8159
8160 2011-10-18 Michael Albinus <michael.albinus@gmx.de>
8161
8162 * net/tramp.el (tramp-file-name-handler): Load Tramp packages silently.
8163
8164 2011-10-18 Jirka Kosek <jirka@kosek.cz> (tiny change)
8165
8166 * international/mule.el (sgml-html-meta-auto-coding-function):
8167 Add support for detecting encoding in HTML5 specified only as
8168 <meta charset="UTF-8">. Implementation just makes http-equiv and
8169 content-type parts from HTML4 encoding string optional. (Bug#9716)
8170
8171 2011-10-18 Glenn Morris <rgm@gnu.org>
8172
8173 * vc/vc.el (vc-initial-comment): Mark as obsolete. (Bug#9745)
8174
8175 2011-10-18 Chong Yidong <cyd@gnu.org>
8176
8177 * faces.el (cursor): Doc fix.
8178
8179 2011-10-17 Chong Yidong <cyd@gnu.org>
8180
8181 * font-lock.el (font-lock-maximum-size): Mark as obsolete.
8182
8183 2011-10-17 Ryan Barrett <emacs@ryanb.org> (tiny change)
8184
8185 * dirtrack.el (dirtrack): Support shell buffers with path
8186 prefixes, e.g. tramp-based remote shells. (Bug#9647)
8187
8188 2011-10-17 Teodor Zlatanov <tzz@lifelogs.com>
8189
8190 * json.el: Bump version to 1.3 and note change in History.
8191 (json-alist-p, json-plist-p): Rewrite to avoid recursion.
8192
8193 2011-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
8194
8195 * comint.el (comint-insert-input, comint-send-input)
8196 (comint-get-old-input-default, comint-backward-matching-input)
8197 (comint-next-prompt): Use nil instead of `input' for field property of
8198 past user input (bug#114).
8199
8200 * minibuffer.el (completion--replace): Inherit surrounding properties
8201 (bug#114).
8202 (minibuffer-complete-and-exit): Use it.
8203
8204 * comint.el (comint--table-subvert): Quote the all-completions output
8205 (bug#9160).
8206
8207 2011-10-17 Martin Rudalics <rudalics@gmx.at>
8208
8209 * ido.el (ido-default-buffer-method): Remove redundant :type entry.
8210
8211 * menu-bar.el (menu-bar-file-menu): Add entry for making new
8212 window on right of selected. (Bug#9350) Reword other window
8213 entries and separate them from frame entries.
8214
8215 2011-10-15 Glenn Morris <rgm@gnu.org>
8216
8217 * emacs-lisp/ert.el (ert--explain-equal-rec, ert-select-tests):
8218 Doc fixes.
8219
8220 2011-10-15 Chong Yidong <cyd@stupidchicken.com>
8221
8222 * net/network-stream.el (network-stream-open-starttls):
8223 Improve detection of failure due to lack of TLS support.
8224
8225 * mail/sendmail.el (sendmail-query-once): Tweak prompt message,
8226 putting the input text in front and in bold.
8227
8228 2011-10-14 Stefan Monnier <monnier@iro.umontreal.ca>
8229
8230 * pcmpl-unix.el (pcomplete/ssh): SSH does allow ganging.
8231
8232 * mpc.el (mpc-songs-jump-to): Don't burp if the user clicks in an
8233 empty buffer.
8234
8235 * mouse.el (mouse-drag-mode-line-1): Modify the end-event we pushed on
8236 unread-command-events rather than pushing yet-another event.
8237
8238 2011-10-14 Eli Zaretskii <eliz@gnu.org>
8239
8240 * mail/sendmail.el (sendmail-query-once): Improve the wording of
8241 the explanation of the possible choices. Make the options passed
8242 to completing-read shorter.
8243
8244 2011-10-13 Agustín Martín Domingo <agustin.martin@hispalinux.es>
8245
8246 * textmodes/flyspell.el (flyspell-large-region): Make sure
8247 extended character mode is used if defined (Bug#1339).
8248
8249 2011-10-13 Eli Zaretskii <eliz@gnu.org>
8250
8251 * simple.el (what-cursor-position): Fix the display of the
8252 character info for LRE, LRO, RLE, and RLO characters by appending
8253 an invisible PDF.
8254
8255 2011-10-13 Stefan Monnier <monnier@iro.umontreal.ca>
8256
8257 * emacs-lisp/timer.el (with-timeout): Make sure we cancel the timer
8258 even in case of error; add debug spec; simplify data flow.
8259 (with-timeout-handler): Remove.
8260
8261 2011-10-12 Michael Albinus <michael.albinus@gmx.de>
8262
8263 Fix Bug#6019, Bug#9315.
8264
8265 * files.el (set-auto-mode): Call `file-name-sans-versions' for the
8266 complete `buffer-file-name', the local file name part could look
8267 remotely (for example on VMS).
8268
8269 * net/ange-ftp.el (ange-ftp-run-real-handler): Make it an alias of
8270 `tramp-run-real-handler'.
8271 (ange-ftp-fix-name-for-vms): Handle the case, where `name' is
8272 already quoted by '"'.
8273
8274 * net/tramp.el (tramp-rfn-eshadow-update-overlay): Ignore errors.
8275 Let `file-name-handler-alist' be nil, the local file name part
8276 could look remotely (for example on VMS).
8277
8278 2011-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
8279
8280 * textmodes/flyspell.el (flyspell-word): Move with-local-quit
8281 from here...
8282 (flyspell-post-command-hook): ...to here.
8283
8284 2011-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
8285
8286 * mail/sendmail.el (send-mail-function): Don't use sendmail-query-once
8287 if not needed.
8288 (sendmail-query-once): Remove OS dependencies. Make it a 3-way choice
8289 using completion. Protect against "slow" callers.
8290 Remove the "message hack".
8291
8292 2011-10-11 Juri Linkov <juri@jurta.org>
8293
8294 * isearch.el (isearch-lazy-highlight-word): New variable.
8295 (isearch-lazy-highlight-new-loop, isearch-lazy-highlight-search):
8296 Use it. (Bug#9727)
8297
8298 2011-10-11 Glenn Morris <rgm@gnu.org>
8299
8300 * progmodes/f90.el (f90-next-statement): Ignore preprocessor lines,
8301 like f90-previous-statement does.
8302
8303 2011-10-11 Thierry Volpiatto <thierry.volpiatto@gmail.com>
8304
8305 * eshell/eshell.el (eshell-command): History should be saved
8306 only in interactive use, to avoid error.
8307
8308 2011-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
8309
8310 * minibuffer.el (completion-file-name-table): Fix last change,
8311 i.e. ignore normal errors but not the other ones.
8312
8313 2011-10-10 Martin Rudalics <rudalics@gmx.at>
8314
8315 * window.el (special-display-buffer-names)
8316 (special-display-regexps): Remove some remnants of earlier
8317 changes from doc-strings.
8318 (quit-windows-on): New function.
8319
8320 * vc/vc.el (vc-revert, vc-rollback):
8321 * vc/vc-dispatcher.el (vc-finish-logentry): Call quit-windows-on
8322 instead of deleting windows. (Bug#4557) (Bug#5310) (Bug#5556)
8323 (Bug#6183) (Bug#7074) (Bug#7447)
8324
8325 2011-10-09 Martin Rudalics <rudalics@gmx.at>
8326
8327 * window.el (frame-auto-hide-function): Add version tag.
8328 (Bug#9699)
8329
8330 2011-10-09 Michael Albinus <michael.albinus@gmx.de>
8331
8332 * net/tramp.el (tramp-file-name-handler): Add 'debug to the error
8333 condition.
8334
8335 2011-10-09 Leo Liu <sdl.web@gmail.com>
8336
8337 * mail/smtpmail.el (smtpmail-send-data): Add a missing space.
8338 (Bug#9701)
8339
8340 2011-10-08 Glenn Morris <rgm@gnu.org>
8341
8342 * progmodes/f90.el (f90-calculate-indent): Give preprocessor lines
8343 before the first code statement zero indent. (Bug#9690)
8344
8345 2011-10-08 Chong Yidong <cyd@stupidchicken.com>
8346
8347 * simple.el (count-words-region): Always count in the region.
8348 Report the number of lines and characters too.
8349 (count-words): New command, which counts in the buffer if the
8350 region is inactive, as count-words-region used to.
8351 (count-words--message): New function. Handle plurals.
8352 (count-lines-region): Make it an alias for count-words-region.
8353
8354 * bindings.el (esc-map): Replace count-lines-region with
8355 count-words-region.
8356
8357 2011-10-08 Martin Rudalics <rudalics@gmx.at>
8358
8359 * window.el (window--delete): Delete dedicated frame
8360 unconditionally when argument KILL is non-nil. (Bug#9699)
8361 (switch-to-buffer): Fix doc-string typo.
8362
8363 2011-10-08 Thierry Volpiatto <thierry.volpiatto@gmail.com>
8364
8365 * eshell/eshell.el (eshell-command): Avoid using hooks.
8366
8367 2011-10-07 Chong Yidong <cyd@stupidchicken.com>
8368
8369 * bindings.el ([M-left],[M-right]): Bind to left-word and
8370 right-word respectively.
8371
8372 2011-10-07 Glenn Morris <rgm@gnu.org>
8373
8374 * cus-start.el (debug-on-quit): Fix custom type.
8375
8376 2011-10-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
8377
8378 * subr.el (define-key-after): Clarify that the function is not
8379 useful for non-menu keymaps.
8380
8381 * progmodes/gdb-mi.el (gdb): Fix typo in doc string.
8382
8383 2011-10-06 Thierry Volpiatto <thierry.volpiatto@gmail.com>
8384
8385 * eshell/eshell.el (eshell-command): Enable `eshell-mode' only
8386 in current minibuffer (Fix bug with recursive minibuffers).
8387
8388 2011-10-06 Chong Yidong <cyd@stupidchicken.com>
8389
8390 * progmodes/gdb-mi.el (gdb): Doc fix.
8391
8392 2011-10-05 Martin Rudalics <rudalics@gmx.at>
8393
8394 * window.el (frame-auto-hide-function): New option replacing
8395 frame-auto-delete. Suggested by Stefan Monnier.
8396 (window--delete): Call frame-auto-hide-function instead of
8397 investigating frame-auto-delete.
8398 (window-point-1, set-window-point-1): New functions.
8399 (window-in-direction, record-window-buffer, window-state-get-1)
8400 (display-buffer-record-window): Use window-point-1 instead of
8401 window-point.
8402 (set-window-buffer-start-and-point): Use set-window-point-1.
8403
8404 2011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
8405
8406 * emacs-lisp/edebug.el: Heed checkdoc recommendations.
8407
8408 2011-10-05 Glenn Morris <rgm@gnu.org>
8409
8410 * progmodes/perl-mode.el (perl-electric-terminator): Doc fix.
8411 (perl-calculate-indent): Suppress scan errors. (Bug#2205)
8412
8413 2011-10-05 Leo Liu <sdl.web@gmail.com>
8414
8415 * subr.el (read-char-choice): Fix argument to buffer-live-p which
8416 works with buffer object.
8417
8418 2011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
8419
8420 * mpc.el (mpc-tool-bar-map): Add labels.
8421
8422 2011-10-04 Glenn Morris <rgm@gnu.org>
8423
8424 * calendar/holidays.el (calendar-check-holidays): Doc fix.
8425
8426 2011-10-04 Martin Rudalics <rudalics@gmx.at>
8427
8428 * window.el (window--delete): New function.
8429 (frame-auto-delete): Resuscitate option.
8430 (bury-buffer, replace-buffer-in-windows)
8431 (quit-window): Rewrite using window--delete.
8432 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
8433 Pass display-buffer-mark-dedicated to window--display-buffer-2
8434 (Bug#9639).
8435
8436 2011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
8437
8438 * pcmpl-unix.el (pcomplete/scp): Don't assume pcomplete-all-entries
8439 returns a list (bug#9554). Add remote file name completion.
8440 * comint.el (comint--table-subvert): Curry and get quote&unquote
8441 functions as arguments.
8442 (comint--complete-file-name-data): Adjust call accordingly.
8443 * pcomplete.el (pcomplete--table-subvert): Remove.
8444 (pcomplete-completions-at-point): Use comint--table-subvert instead.
8445
8446 * minibuffer.el (completion-table-case-fold): Use currying.
8447 (completion--styles-type, completion--cycling-threshold-type):
8448 New constants.
8449 (completion-styles, completion-category-overrides)
8450 (completion-cycle-threshold): Use them.
8451 * pcomplete.el (pcomplete-completions-at-point): Adjust call to
8452 completion-table-case-fold.
8453
8454 2011-10-03 Stephen Berman <stephen.berman@gmx.net>
8455
8456 * minibuffer.el (completion-category-overrides): Fix type of styles
8457 and add more user friendly tags (bug#9660).
8458
8459 2011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
8460
8461 * international/mule-cmds.el: Fix abuses of apply-partially (bug#9661).
8462 (mule-input-method-string): New widget.
8463 (default-input-method, language-info-custom-alist): Use it.
8464
8465 2011-10-02 Stefan Monnier <monnier@iro.umontreal.ca>
8466
8467 * pcomplete.el: Require comint.
8468 (pcomplete--common-suffix): Remove.
8469 (pcomplete--common-quoted-suffix): Use comint--common-suffix instead.
8470 (pcomplete--table-subvert): Sync with comint--table-subvert.
8471 (pcomplete--entries): Use comint-completion-file-name-table.
8472 * comint.el (comint-unquote-filename): Simplify.
8473 (comint-completion-file-name-table): New function (bug#9616).
8474 (comint--complete-file-name-data): Use it.
8475
8476 * pcmpl-gnu.el (pcmpl-gnu-with-file-buffer): New macro (bug#9643).
8477 (pcmpl-gnu-tar-buffer): Remove.
8478 (pcmpl-gnu-with-file-buffer): Use it to avoid leaving the tar's buffer
8479 around. Make sure pcomplete-suffix-list is only changed temporarily.
8480 Don't look inside the tar's file if it's too large.
8481
8482 2011-10-01 Chong Yidong <cyd@stupidchicken.com>
8483
8484 * cus-edit.el (custom-mode-map):
8485 * epa.el (epa-key-list-mode-map):
8486 * man.el (Man-mode-map):
8487 * startup.el (splash-screen-keymap):
8488 * simple.el (special-mode-map): Use scroll-up-command and
8489 scroll-down-command.
8490
8491 * progmodes/idlw-help.el (idlwave-help-mode-map):
8492 * progmodes/ebrowse.el (ebrowse-electric-position-mode-map):
8493 * net/newst-plainview.el (newsticker-mode-map):
8494 * emulation/ws-mode.el (wordstar-mode-map):
8495 * emulation/vi.el (vi-com-map):
8496 * calc/calc-graph.el (calc-graph-show-dumb):
8497 * term/sun.el (terminal-init-sun):
8498 * term/ns-win.el (global-map):
8499 * progmodes/grep.el (grep-mode-map):
8500 * progmodes/ebrowse.el (ebrowse-electric-list-mode-map):
8501 * mail/rmail.el (rmail-mode-map):
8502 * progmodes/cpp.el (cpp-edit-mode-map): Likewise.
8503
8504 * custom.el (custom-safe-themes, load-theme): Treat value of t for
8505 custom-safe-themes as special.
8506
8507 2011-10-01 Julien Danjou <julien@danjou.info>
8508
8509 * notifications.el (notifications-notify): Fix docstring.
8510
8511 2011-10-01 Per Starbäck <per@starback.se>
8512
8513 * pcmpl-gnu.el (pcomplete/tar): Fix tar-header-name call. (Bug#9643)
8514
8515 2011-09-30 Martin Rudalics <rudalics@gmx.at>
8516
8517 * startup.el (command-line-1): Fix last fix by inserting
8518 initial-scratch-message into *scratch* before displaying it.
8519 (Bug#9605) and (Bug#9636)
8520
8521 2011-09-29 Eli Zaretskii <eliz@gnu.org>
8522
8523 * simple.el (line-move): If auto-hscroll-mode is disabled and the
8524 window is hscrolled, move by logical lines. (Bug#9607)
8525 (line-move-visual): Update the doc string to the above effect.
8526
8527 2011-09-29 Martin Rudalics <rudalics@gmx.at>
8528
8529 * window.el (display-buffer-record-window): When WINDOW is the
8530 selected window use `point' instead of `window-point'. (Bug#9626)
8531
8532 * startup.el (command-line-1): Use insert-before-markers when
8533 inserting initial-scratch-message. (Bug#9605)
8534
8535 * help.el (help-window): Remove variable.
8536
8537 2011-09-29 Glenn Morris <rgm@gnu.org>
8538
8539 * pcmpl-cvs.el (pcomplete/cvs): Add "status" handler.
8540
8541 2011-09-29 Juanma Barranquero <lekktu@gmail.com>
8542
8543 * descr-text.el (describe-char-categories): Accept category
8544 descriptions more than one line long.
8545
8546 2011-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
8547
8548 * simple.el (delete-trailing-whitespace): Fix last change.
8549
8550 * progmodes/perl-mode.el (perl-syntax-propertize-function):
8551 Don't confuse "y => 3" as the beginning of a `y' operation.
8552
8553 * emacs-lisp/debug.el (debug-convert-byte-code): Don't assume the
8554 object has more than 4 slots (bug#9613).
8555
8556 2011-09-28 Juanma Barranquero <lekktu@gmail.com>
8557
8558 * subr.el (with-output-to-temp-buffer):
8559 * net/quickurl.el (quickurl, quickurl-browse-url):
8560 Fix typos in docstrings.
8561
8562 2011-09-27 Eli Zaretskii <eliz@gnu.org>
8563
8564 * minibuffer.el (completion-styles)
8565 (completion-category-overrides): Cross reference each other in doc
8566 strings.
8567
8568 2011-09-27 Glenn Morris <rgm@gnu.org>
8569
8570 * pcmpl-cvs.el (pcmpl-cvs-entries): Update for Emacs 22.1 changes
8571 to split-string. (Bug#9606)
8572
8573 2011-09-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
8574
8575 * mail/smtpmail.el (smtpmail-via-smtp): Fix STARTTLS detection
8576 (bug#9615).
8577
8578 2011-09-27 Chong Yidong <cyd@stupidchicken.com>
8579
8580 * emacs-lisp/package.el (list-packages): Fix echo area message.
8581
8582 2011-09-27 Leo Liu <sdl.web@gmail.com>
8583
8584 * ido.el (ido-read-internal): Accept cons cell HIST arg.
8585
8586 2011-09-25 Michael Albinus <michael.albinus@gmx.de>
8587
8588 * net/dbus.el (dbus-unregister-object): Don't release services for
8589 registered signals. (Bug#9581)
8590
8591 2011-09-25 Teodor Zlatanov <tzz@lifelogs.com>
8592
8593 * progmodes/cfengine.el (cfengine-auto-mode): Add convenience
8594 function that picks between cfengine 2 and 3 support
8595 automatically. Update docs accordingly.
8596
8597 2011-09-22 Kenichi Handa <handa@m17n.org>
8598
8599 * language/ind-util.el (indian-tml-base-table): Add TAMIL DIGIT
8600 ZERO.
8601 (indian-itrans-v5-table-for-tamil): New variable.
8602 (indian-tml-itrans-v5-hash): Use the above variable (Bug#9336).
8603
8604 2011-09-22 Ken Manheimer <ken.manheimer@gmail.com>
8605
8606 * allout.el (allout-this-command-hid-stuff): Buffer-local variable
8607 that's true if the current command involved collapsing of text.
8608 It's reset to false at the beginning of the next command.
8609 (allout-post-command-business): Move the cursor to the beginning
8610 of entry if the cursor is hidden and collapsing activity just
8611 happened.
8612
8613 2011-09-24 Chong Yidong <cyd@stupidchicken.com>
8614
8615 * mouse.el (mouse-drag-track): Set scroll-margin to 0 while
8616 tracking (Bug#9541).
8617
8618 2011-09-24 Ulf Jasper <ulf.jasper@web.de>
8619
8620 * net/newst-reader.el (newsticker-html-renderer)
8621 (newsticker-show-news): Automatically load html rendering package
8622 if newsticker-html-renderer is set. Fixes "Warning: defvar ignored
8623 because w3m-fill-column is let-bound" and the error "Symbol's value
8624 as variable is void: w3m-fill-column".
8625
8626 2011-09-24 Michael Albinus <michael.albinus@gmx.de>
8627
8628 * net/dbus.el (dbus-unregister-object): Remove match rule of signals.
8629 Release services only if they are defined. (Bug#9581)
8630
8631 2011-09-23 Richard Stallman <rms@gnu.org>
8632
8633 * textmodes/paragraphs.el (forward-sentence): For backwards case,
8634 distinguish start of paragraph from start of its text.
8635
8636 * mail/emacsbug.el (report-emacs-bug-query-existing-bugs): Autoload.
8637
8638 * mail/rmail.el (rmail-view-buffer-kill-buffer-hook): New function.
8639 (rmail-generate-viewer-buffer): Put that hook on view buffer.
8640 (rmail-mode-kill-buffer-hook): Override that hook, to kill view buffer.
8641
8642 2011-09-23 Andreas Schwab <schwab@linux-m68k.org>
8643
8644 * international/mule-diag.el (mule-diag): Insert a newline after
8645 each fontset description.
8646
8647 2011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
8648
8649 * simple.el (delete-trailing-whitespace):
8650 Document last change; simplify.
8651
8652 2011-09-23 Peter J. Weisberg <pj@irregularexpressions.net>
8653
8654 * simple.el (delete-trailing-whitespace): Also delete
8655 extra newlines at the end of the buffer.
8656
8657 * textmodes/picture.el: Make motion commands obey shift-select-mode.
8658 (picture-newline): Use forward-line so as to ignore fields.
8659
8660 2011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
8661
8662 * subr.el (with-wrapper-hook): Fix edebug spec.
8663
8664 2011-09-23 Lars Magne Ingebrigtsen <larsi@gnus.org>
8665
8666 * simple.el (kill-line): Note effect of `show-trailing-whitespace'
8667 (bug#4538).
8668
8669 2011-09-23 Michael Albinus <michael.albinus@gmx.de>
8670
8671 * net/tramp-sh.el (tramp-sh-handle-file-name-all-completions):
8672 Fix nasty bug using wrong cached values.
8673
8674 2011-09-23 Alan Mackenzie <acm@muc.de>
8675
8676 * progmodes/cc-defs.el (c-version): Increase to 5.31.9.
8677
8678 2011-09-23 Chong Yidong <cyd@stupidchicken.com>
8679
8680 * window.el (pop-to-buffer): Ensure right window is selected if we
8681 chose another frame.
8682
8683 2011-09-22 Eli Zaretskii <eliz@gnu.org>
8684
8685 * simple.el (what-cursor-position): Use get-char-property-change
8686 and next-single-char-property-change, to be able to show display
8687 properties that come from overlays as well as text properties.
8688
8689 2011-09-22 Chong Yidong <cyd@stupidchicken.com>
8690
8691 * window.el (pop-to-buffer-same-window): New (reinstated) fun.
8692
8693 * cmuscheme.el (run-scheme, switch-to-scheme):
8694 * cus-edit.el (customize-group, custom-buffer-create)
8695 (customize-browse):
8696 * info.el (info):
8697 * shell.el (shell):
8698 * mail/sendmail.el (mail):
8699 * progmodes/inf-lisp.el (inferior-lisp): Use it (Bug#9532).
8700
8701 2011-09-22 Richard Stallman <rms@gnu.org>
8702
8703 * textmodes/paragraphs.el (forward-sentence): When setting PAR-BEG,
8704 move back only to line beg, don't move back over blank lines.
8705
8706 2011-09-22 Michael Albinus <michael.albinus@gmx.de>
8707
8708 * files.el (copy-directory): Set directory attributes only in case
8709 they could be retrieved from the source directory. (Bug#9565)
8710
8711 2011-09-22 Dima Kogan <dkogan@secretsauce.net> (tiny change)
8712
8713 * progmodes/hideshow.el (hs-looking-at-block-start-p)
8714 (hs-find-block-beginning, hs-hide-level-recursive):
8715 Ignore strings as well as comments. (Bug#9502)
8716
8717 2011-09-22 Andrew Schein <andrew@andrewschein.com> (tiny change)
8718
8719 * progmodes/sql.el (sql-comint-postgres):
8720 Convert port number to a string. (Bug#9566)
8721
8722 2011-09-22 Martin Rudalics <rudalics@gmx.at>
8723
8724 * window.el (quit-window): Undedicate window when switching to
8725 previous buffer. Reported by Thierry Volpiatto
8726 <thierry.volpiatto@gmail.com>.
8727 (special-display-popup-frame): When popping up a new frame reset
8728 its previous buffers to nil. Simplify code.
8729
8730 2011-09-21 Michael Albinus <michael.albinus@gmx.de>
8731
8732 * net/tramp.el (tramp-handle-shell-command): Set process sentinel
8733 and process filter, as done also in `shell-command'.
8734
8735 2011-09-21 Martin Rudalics <rudalics@gmx.at>
8736
8737 * window.el (set-window-buffer-start-and-point):
8738 Call set-window-start with NOFORCE argument t.
8739 Suggested by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
8740 (quit-window): Reword doc-string. Handle new format of
8741 quit-restore parameter. Don't delete window if it has a
8742 previous buffer we can show instead of the present one.
8743 (display-buffer-record-window): Rewrite using a new format for
8744 the quit-restore window parameter
8745 (special-display-popup-frame, display-buffer-same-window)
8746 (display-buffer-reuse-window, display-buffer-pop-up-frame)
8747 (display-buffer-pop-up-window, display-buffer-use-some-window):
8748 Adapt symbol passed to display-buffer-record-window.
8749 * help.el (help-window-setup): Handle new format of quit-restore
8750 parameter.
8751
8752 2011-09-21 Stefan Monnier <monnier@iro.umontreal.ca>
8753
8754 * faces.el (face-list): Fix docstring (bug#9564).
8755
8756 * window.el (display-buffer--action-function-custom-type):
8757 Don't include internal functions in the Custom interface.
8758
8759 2011-09-20 Juri Linkov <juri@jurta.org>
8760
8761 * info.el (Info-history-skip-intermediate-nodes): New defcustom.
8762 (Info-forward-node, Info-backward-node, Info-next-preorder)
8763 (Info-last-preorder): Use it. (Bug#9528)
8764
8765 2011-09-20 Juri Linkov <juri@jurta.org>
8766
8767 * info.el (Info-last-preorder): Visit last menu item only when
8768 `Info-scroll-prefer-subnodes' is non-nil (third test-case of bug#9528).
8769
8770 2011-09-20 Julien Danjou <julien@danjou.info>
8771
8772 * password-cache.el (password-cache-remove): Remove entries even if the
8773 value is nil, so that password with a nil value (negative caching) is
8774 possible to invalidate.
8775
8776 2011-09-20 Lawrence Mitchell <wence@gmx.li>
8777
8778 * progmodes/f90.el (f90-break-line): If breaking inside comment delete
8779 all whitespace around breakpoint. (Bug#9553)
8780 (f90-find-breakpoint): Only break at whitespace inside a comment.
8781
8782 2011-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
8783
8784 * minibuffer.el (completion-file-name-table): Keep track of errors.
8785 (completion-table-with-predicate): Handle the case where pred1 is nil.
8786 * pcomplete.el (pcomplete-completions-at-point): Simplify.
8787
8788 2011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
8789
8790 * emacs-lisp/debug.el (debugger-args): Give it a docstring.
8791 (debugger-return-value): Signal an error if the debugging context does
8792 not await any return value.
8793
8794 * ps-mule.el (ps-mule-plot-string): Don't inf-loop (bug#5108).
8795 * image-mode.el (image-toggle-display-text)
8796 (image-toggle-display-image): Stay away from evil `intangible'.
8797
8798 2011-09-19 Leo Liu <sdl.web@gmail.com>
8799
8800 * replace.el (occur-revert-arguments): Make it permanent-local.
8801 (occur-mode): Don't call font-lock-defontify.
8802
8803 2011-09-19 Chong Yidong <cyd@stupidchicken.com>
8804
8805 * net/ldap.el (ldap-search-internal): Don't push empty search
8806 result (Bug#9508).
8807
8808 2011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
8809
8810 * whitespace.el (whitespace-newline-mode): Disable it right (bug#9550).
8811
8812 2011-09-19 Michael Albinus <michael.albinus@gmx.de>
8813
8814 * net/tramp-sh.el (tramp-inline-compress-commands): Add "xz".
8815 Suggested by Liam Stitt <stittl@cuug.ab.ca>.
8816
8817 2011-09-18 Juri Linkov <juri@jurta.org>
8818
8819 * buff-menu.el (Buffer-menu-mode-map):
8820 * dired.el (dired-mode-map):
8821 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map)
8822 (lisp-interaction-mode-map):
8823 * emacs-lisp/package.el (package-menu-mode-map):
8824 * epa.el (epa-key-list-mode-map):
8825 * menu-bar.el (menu-bar-showhide-tool-bar-menu)
8826 (menu-bar-options-menu):
8827 * outline.el (outline-mode-menu-bar-map):
8828 * vc/vc-bzr.el (vc-bzr-shelve-menu-map, vc-bzr-extra-menu-map):
8829 * vc/vc-dir.el (vc-dir-menu-map):
8830 * vc/vc-git.el (vc-git-stash-menu-map, vc-git-extra-menu-map):
8831 Capitalize non-function content words in menu item strings.
8832
8833 * dired.el (dired-mode-map): Add menu item for
8834 `image-dired-dired-toggle-marked-thumbs'.
8835
8836 2011-09-18 Juri Linkov <juri@jurta.org>
8837
8838 * isearch.el (isearch-edit-string): Bind `isearch-new-case-fold'
8839 to `isearch-case-fold-search' and restore its original value
8840 after the `isearch-mode' call.
8841
8842 2011-09-18 Juri Linkov <juri@jurta.org>
8843
8844 * progmodes/grep.el (grep-process-setup): Don't check code for 1
8845 because `zgrep' returns 1 for successful matches (bug#9226).
8846
8847 2011-09-18 Juri Linkov <juri@jurta.org>
8848
8849 * info.el (Info-extract-menu-node-name): Check the second match
8850 for empty string (second test-case of bug#9528).
8851 (Info-last-preorder): Let-bind `Info-history' to nil to not add
8852 intermediate nodes to the history (first test-case of bug#9528).
8853
8854 2011-09-18 Juri Linkov <juri@jurta.org>
8855
8856 * info.el (Info-mode-syntax-table): New variable.
8857 (Info-mode): Set `:syntax-table' to `Info-mode-syntax-table' (bug#3312).
8858
8859 2011-09-18 Juri Linkov <juri@jurta.org>
8860
8861 * info.el (Info-file-supports-index-cookies):
8862 Increment line-beginning-position's arg from 3 to 4 because makeinfo
8863 outputs one more line for long file names (bug#4142).
8864
8865 2011-09-18 Chong Yidong <cyd@stupidchicken.com>
8866
8867 * newcomment.el (comment-normalize-vars): If prompting for
8868 comment-start, set comment-start-skip too (Bug#8424).
8869
8870 2011-09-18 Johan Bockgård <bojohan@gnu.org>
8871
8872 * icomplete.el: Fix previous fix of Bug#5849.
8873 (icomplete-mode): Don't set completion-show-inline-help.
8874 (icomplete-minibuffer-setup): Set completion-show-inline-help
8875 locally during icompletion.
8876
8877 2011-09-18 Chong Yidong <cyd@stupidchicken.com>
8878
8879 * woman.el (woman2-process-escapes): Don't delete unrecognized
8880 escapes (Bug#7843).
8881
8882 * files.el (inhibit-first-line-modes-regexps): Add image files.
8883 (hack-local-variables-prop-line): Return nil for malformed
8884 prop-lines (Bug#9044).
8885
8886 2011-09-18 Michael Albinus <michael.albinus@gmx.de>
8887
8888 * net/tramp.el (top): Don't require 'shell.
8889 (tramp-methods): Fix docstring.
8890 (tramp-get-remote-tmpdir): New defun, moved from tramp-sh.el.
8891 Return complete remote file name. Handle "smb" case.
8892 Use `tramp-tmpdir', if defined for the respective method.
8893 (tramp-make-tramp-temp-file): Adapt call of `tramp-get-remote-tmpdir'.
8894
8895 * net/tramp-compat.el (top): Require 'shell.
8896
8897 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
8898 (tramp-maybe-open-connection): Use `tramp-file-name-real-host' for
8899 `tramp-current-host'.
8900 (tramp-get-remote-tmpdir): Remove.
8901
8902 * net/tramp-smb.el (tramp-methods): Add `tramp-remote-shell' and
8903 `tramp-tmpdir' entries.
8904 (tramp-smb-errors): Add "NT_STATUS_IMAGE_ALREADY_LOADED".
8905 (tramp-smb-handle-file-attributes): Ignore errors.
8906 (tramp-smb-wait-for-output): Check also for process end.
8907
8908 2011-09-18 Lars Magne Ingebrigtsen <larsi@gnus.org>
8909
8910 * mail/smtpmail.el (smtpmail-via-smtp): Ignore errors that arise
8911 when sending QUIT (bug#9312).
8912
8913 2011-09-17 Chong Yidong <cyd@stupidchicken.com>
8914
8915 * replace.el (occur-mode-map): Rebind occur-edit-mode to "e" (Bug#8463).
8916 (occur-edit-mode-map): Bind C-c C-c to occur-cease-edit and C-o to
8917 occur-mode-display-occurrence.
8918 (occur-edit-mode): Add usage message.
8919 (occur-cease-edit): New command.
8920 (occur-after-change-function): Use text properties to find the
8921 position of the prefix text.
8922 (occur-engine): Set stickiness of prefix text properties.
8923
8924 2011-09-17 Glenn Morris <rgm@gnu.org>
8925
8926 * progmodes/etags.el (complete-tag):
8927 Fix call to completion-in-region. (Bug#9526)
8928
8929 2011-09-17 Juri Linkov <juri@jurta.org>
8930
8931 * textmodes/ispell.el (ispell-word): Add to the error message
8932 the word, ispell program name and current dictionary (bug#9121).
8933 (ispell-tex-arg-end): Capitalize "error" in the error message.
8934
8935 2011-09-17 Andreas Schwab <schwab@linux-m68k.org>
8936
8937 * emacs-lisp/bytecomp.el (byte-compile-lapcode): Fix overflow
8938 check. (Bug#4251)
8939
8940 2011-09-17 Juri Linkov <juri@jurta.org>
8941
8942 * window.el (window-safe-min-height, window-safe-min-width):
8943 Fix typos (followup to bug#9522).
8944
8945 2011-09-17 Sven Joachim <svenjoac@gmx.de>
8946
8947 * window.el (window-min-width, window-state-put): Fix typos (bug#9522).
8948
8949 2011-09-16 Eli Zaretskii <eliz@gnu.org>
8950
8951 * simple.el (line-move): If goal-column is set, move by logical
8952 lines, not by display lines. (Bug#971)
8953 (next-line, previous-line, goal-column, line-move-visual): Doc fix
8954 to reflect the above change.
8955
8956 2011-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
8957
8958 * image.el (imagemagick-register-types): Use regexp-opt.
8959
8960 2011-09-15 Chong Yidong <cyd@stupidchicken.com>
8961
8962 * window.el (display-buffer-base-action): Rename from
8963 display-buffer-default-action. Make default value empty.
8964 (display-buffer-overriding-action): Convert to defvar.
8965 (display-buffer-fallback-action): New var.
8966
8967 2011-09-15 Chong Yidong <cyd@stupidchicken.com>
8968
8969 * emacs-lisp/package.el (package-alist): Fix risky-local-variable
8970 declaration.
8971 (package--add-to-archive-contents): If there is a duplicate entry
8972 with an older version, remove it.
8973 (package-menu-mark-delete, package-menu-mark-install)
8974 (package-menu-mark-unmark): Make unused args optional.
8975 (package-menu-mark-obsolete-for-deletion):
8976 Use package-menu-get-status instead of a regexp search.
8977 (package-menu-get-status): Use tabulated-list-entry.
8978 (package-menu-mark-upgrades): New command.
8979 (package-menu-mode-map): Bind it to U. Add it to menu bar.
8980 (package-menu-execute): Do installation before deletion.
8981 (package-menu-refresh, package-menu-execute): Use derived-mode-p
8982 instead of checking major-mode.
8983 (package-menu--find-upgrades): New function.
8984
8985 2011-09-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
8986
8987 * mail/smtpmail.el (smtpmail-send-command): Don't include AUTH
8988 passwords in the log buffer.
8989 (smtpmail-process-filter): Update the process marker so that the
8990 "broken by peer" status message is inserted in the right place.
8991
8992 2011-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
8993
8994 * textmodes/bibtex.el (bibtex-complete-string-cleanup)
8995 (bibtex-complete-crossref-cleanup): Adjust to accommodate needs of
8996 bibtex-completion-at-point-function.
8997 (bibtex-completion-at-point-function): Use them.
8998
8999 * newcomment.el (comment-add, comment-valid-prefix-p): Docfix.
9000
9001 * mpc.el (mpc-constraints-tag-lookup): New function.
9002 (mpc-constraints-restore): Use it to make jumping to "album=Foo" apply
9003 also to browser "album|playlist".
9004
9005 2011-09-14 Juri Linkov <juri@jurta.org>
9006
9007 * isearch.el (isearch-fail-pos): Add new arg `msg'. Doc fix.
9008 (isearch-edit-string): Use length of `isearch-string' when
9009 `isearch-fail-pos' returns nil.
9010 (isearch-message): Remove duplicate code and call
9011 `isearch-fail-pos' with arg `t'.
9012
9013 2011-09-14 Chong Yidong <cyd@stupidchicken.com>
9014
9015 * replace.el (occur-mode-goto-occurrence): Don't force using other
9016 window (Bug#9499).
9017
9018 * dired-aux.el (dired-do-chmod): Don't provide initial input.
9019
9020 2011-09-14 Martin Rudalics <rudalics@gmx.at>
9021
9022 * window.el (display-buffer-window): Remove.
9023 (display-buffer-record-window): Use help-setup window parameter
9024 instead of variable display-buffer-window.
9025 (display-buffer-function, special-display-buffer-names)
9026 (special-display-function): Mention help-setup parameter instead
9027 of display-buffer-window in doc-string.
9028 * help.el (help-window-setup): New argument help-window.
9029 Use help-window-setup parameter instead of display-buffer-window.
9030 Reword some messages.
9031 (with-help-window): Pass window used for displaying the buffer
9032 to help-window-setup. Don't set display-buffer-window.
9033
9034 2011-09-13 Glenn Morris <rgm@gnu.org>
9035
9036 * emacs-lisp/debug.el (debugger-make-xrefs):
9037 Preserve point. (Bug#9462)
9038
9039 2011-09-13 Chong Yidong <cyd@stupidchicken.com>
9040
9041 * window.el (window-deletable-p): Use next-frame.
9042
9043 2011-09-13 Martin Rudalics <rudalics@gmx.at>
9044
9045 * window.el (window-auto-delete): Remove.
9046 (window-deletable-p): Remove argument FORCE. Don't deal with
9047 dedication and previous buffers.
9048 (switch-to-prev-buffer): Don't delete window.
9049 (delete-windows-on): Delete a window's frame if and only if the
9050 window is dedicated.
9051 (replace-buffer-in-windows): Delete buffer's window or frame if
9052 and only if window is dedicated.
9053 (quit-window): Handle quit-restore as before last change.
9054 (bury-buffer): Delete window only if window-deletable-p returns t.
9055
9056 2011-09-13 Chong Yidong <cyd@stupidchicken.com>
9057
9058 * window.el (window-deletable-p): Never delete the last frame on a
9059 given terminal.
9060
9061 2011-09-13 Glenn Morris <rgm@gnu.org>
9062
9063 * help.el (describe-key-briefly): Copy previous standard-output change.
9064
9065 2011-09-13 PJ Weisberg <pj@irregularexpressions.net>
9066
9067 * help.el (where-is): Respect non-standard standard-output. (Bug#9030)
9068
9069 2011-09-13 Glenn Morris <rgm@gnu.org>
9070
9071 * emacs-lisp/lisp-mode.el (lisp-indent-function):
9072 * progmodes/scheme.el (scheme-indent-function): Doc fixes.
9073
9074 2011-09-12 Chong Yidong <cyd@stupidchicken.com>
9075
9076 * dired-aux.el (dired-mark-read-string): Don't return default
9077 value on empty input (Bug#9361).
9078 (dired-do-chxxx): Treat empty input for "touch" as no -t option.
9079 Omit initial minibuffer contents.
9080 (dired-do-chmod): Signal an error on empty input.
9081 (dired-mark-read-string): Don't return default on empty input.
9082
9083 * files.el (file-modes-symbolic-to-number): Doc fix.
9084
9085 2011-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
9086
9087 * international/mule-cmds.el (ucs-completions): Remove.
9088 (read-char-by-name): Use complete-with-action instead; add metadata.
9089
9090 2011-09-11 Chong Yidong <cyd@stupidchicken.com>
9091
9092 * window.el (display-buffer--action-function-custom-type)
9093 (display-buffer--action-custom-type): New vars.
9094 (display-buffer-alist, display-buffer-default-action)
9095 (display-buffer-overriding-action): Add defcustom types.
9096
9097 * frame.el (delete-other-frames): Doc fix (Bug#276).
9098
9099 2011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
9100
9101 * play/doctor.el (make-doctor-variables): Define `doctor-sent'.
9102
9103 2011-09-11 Chong Yidong <cyd@stupidchicken.com>
9104
9105 Change modes that used same-window-* vars to use switch-to-buffer.
9106
9107 * progmodes/gdb-mi.el (gdb-restore-windows, gdb-setup-windows):
9108 Use switch-to-buffer.
9109
9110 * cus-edit.el (customize-group, custom-buffer-create)
9111 (customize-browse, custom-buffer-create-other-window):
9112 Use switch-to-buffer or switch-to-buffer-other-window.
9113
9114 * info.el (info, Info-find-node, Info-revert-find-node, Info-next)
9115 (Info-prev, Info-up, Info-speedbar-goto-node)
9116 (info-display-manual): Use switch-to-buffer.
9117 (Info-speedbar-goto-node): Use switch-to-buffer-other-frame.
9118
9119 * mail/sendmail.el (mail): Use switch-to-buffer.
9120 (mail-recover): Use switch-to-buffer-other-window.
9121
9122 * cmuscheme.el (run-scheme, switch-to-scheme):
9123 * ielm.el (ielm):
9124 * shell.el (shell):
9125 * net/rlogin.el (rlogin):
9126 * net/telnet.el (telnet, rsh):
9127 * progmodes/inf-lisp.el (inferior-lisp): Use switch-to-buffer.
9128
9129 2011-09-11 Andreas Schwab <schwab@linux-m68k.org>
9130
9131 * dired.el (dired-sort-toggle-or-edit): Revert last changes.
9132
9133 2011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
9134
9135 * dired.el (dired-sort-toggle-or-edit): -o doesn't exist on *BSD,
9136 so don't mention it (bug#9301).
9137 (dired-sort-toggle-or-edit): Clarify string further.
9138
9139 * faces.el (face-spec-set-match-display): Make `(type graphic)'
9140 match `x', `w32' and `ns', like the manual says (bug#9029).
9141
9142 * subr.el (eval-after-load): Doc string clarification (bug#9125).
9143 (process-kill-buffer-query-function): Mention the buffer name in
9144 the query.
9145
9146 * image-mode.el (image-next-line): The line parameter is mandatory
9147 (bug#9258).
9148
9149 * dired.el (dired-sort-toggle-or-edit): Mention -o and -g, too,
9150 which can be useful (bug#9301).
9151
9152 * textmodes/flyspell.el: Remove obsolete comment (bug#9368).
9153
9154 * subr.el (match-string): Mention that the current buffer should
9155 be the same as the search was done in (bug#9282).
9156
9157 * facemenu.el: Disable the remove-* commands if the mark isn't
9158 active (bug#9162).
9159
9160 2011-09-10 Chong Yidong <cyd@stupidchicken.com>
9161
9162 * buff-menu.el (Buffer-menu-switch-other-window): Use second arg
9163 of display-buffer.
9164 (Buffer-menu-2-window): Use switch-to-buffer-other-window.
9165
9166 * replace.el (occur-mode-goto-occurrence)
9167 (occur-mode-display-occurrence) Use second arg of pop-to-buffer
9168 and display-buffer.
9169
9170 * mail/reporter.el (reporter-submit-bug-report): Use second arg of
9171 display-buffer.
9172
9173 * mail/sendmail.el (sendmail-user-agent-compose): Don't bind the
9174 special-display and same-window variables.
9175 (mail-other-window): Use switch-to-buffer-other-window.
9176 (mail-other-frame): USe switch-to-buffer-other-frame.
9177
9178 * progmodes/gdb-mi.el (gdb-frame-gdb-buffer):
9179 Use display-buffer-other-frame.
9180 (gdb-display-gdb-buffer): Use pop-to-buffer.
9181
9182 * progmodes/gud.el (gud-goto-info): Use info-other-window.
9183
9184 * progmodes/python.el: Don't set same-window-buffer-names.
9185
9186 * textmodes/bibtex.el (bibtex-search-entry): Use switch-to-buffer.
9187
9188 * window.el (display-buffer-alist): Add *Python*.
9189
9190 2011-09-10 Chong Yidong <cyd@stupidchicken.com>
9191
9192 * window.el (display-buffer-alist): Add entry for buffers
9193 previously handled same-window-*.
9194 (display-buffer-alist, display-buffer-default-action)
9195 (display-buffer-overriding-action): Mark as risky.
9196 (display-buffer-alist): Document action function changes.
9197 (display-buffer--same-window-action)
9198 (display-buffer--other-frame-action): New variables.
9199 (switch-to-buffer, display-buffer-other-frame): Use them.
9200 (display-buffer): Rename reuse-frame entry to reusable-frames.
9201 (display-buffer-reuse-selected-window): Function deleted.
9202 (display-buffer-reuse-window): Handle reusable-frames alist entry.
9203 If it's omitted, check pop-up-frames/display-buffer-reuse-frames.
9204 (display-buffer-special): New function.
9205 (display-buffer--maybe-pop-up-frame-or-window): Rename from
9206 display-buffer-reuse-or-pop-window. Split off special-display
9207 part into display-buffer-special.
9208 (display-buffer-use-some-window): Don't perform any special
9209 pop-up-frames handling.
9210 (pop-to-buffer): Use window-normalize-buffer-to-switch-to.
9211 (display-buffer--maybe-same-window): Rename from
9212 display-buffer-maybe-same-window.
9213
9214 * info.el: Don't set same-window-regexps.
9215 (info-setup): New function.
9216 (info-other-window, info): Call it.
9217
9218 * cus-edit.el: Don't set same-window-regexps.
9219 (customize-group): New argument.
9220 (customize-group-other-window): Use it.
9221 (customize-face, customize-face-other-window): Likewise.
9222 (custom-buffer-create-other-window): Use pop-to-buffer directly.
9223
9224 * net/rlogin.el:
9225 * net/telnet.el:
9226 * progmodes/gud.el: Don't set same-window-regexps.
9227
9228 * cmuscheme.el:
9229 * ielm.el:
9230 * shell.el:
9231 * mail/sendmail.el:
9232 * progmodes/inf-lisp.el: Don't set same-window-buffer-names.
9233
9234 2011-09-10 Juri Linkov <juri@jurta.org>
9235
9236 * isearch.el (isearch-edit-string): Remove obsolete mention of
9237 `C-w' (`isearch-yank-word-or-char') from docstring.
9238 (isearch-query-replace): Fix typo in docstring (bug#9466).
9239
9240 2011-09-10 Juri Linkov <juri@jurta.org>
9241
9242 * paren.el (show-paren-function): Don't show escaped parens.
9243 Let-bind `unescaped' to `t' when paren is not escaped. (Bug#9461)
9244
9245 2011-09-10 Eli Zaretskii <eliz@gnu.org>
9246
9247 * mail/sendmail.el (mml-to-mime, mml-attach-file)
9248 (mm-default-file-encoding): Remove autoload forms, they are
9249 replaced with autoload cookies in mml.el and mm-encode.el.
9250 (mail-add-attachment): New command.
9251 (mail-mode-map): Add a menu-bar item for mail-add-attachment.
9252 (mail-mode): Mention mail-insert-file and mail-add-attachment in
9253 the doc string.
9254 (mml-to-mime, mml-attach-file, mm-default-file-encoding): Declare.
9255
9256 2011-09-10 Reuben Thomas <rrt@sc3d.org>
9257
9258 * simple.el (count-words-region): Use buffer if there's no region
9259 (bug#9429).
9260
9261 2011-09-09 Juri Linkov <juri@jurta.org>
9262
9263 * wdired.el (wdired-change-to-wdired-mode): Set buffer-local
9264 `isearch-filter-predicate' to `wdired-isearch-filter-read-only'.
9265 (wdired-isearch-filter-read-only): New function. (Bug#6362)
9266
9267 2011-09-09 Alan Mackenzie <acm@muc.de>
9268
9269 * progmodes/cc-mode.el (awk-mode): Prevent `define-derived-mode'
9270 spuriously generating `awk-mode-syntax-table'. (Bug #9448).
9271
9272 2011-09-09 Eli Zaretskii <eliz@gnu.org>
9273
9274 Fix for Savannah bug#9392.
9275 * simple.el (mail-encode-mml): New defvar.
9276
9277 * mail/rmail.el (mail-encode-mml): Add a defvar.
9278 (rmail-enable-mime-composing): Default to t.
9279 (rmail-forward): Use MIME method of forwarding only if both
9280 rmail-enable-mime-composing and rmail-enable-mime are non-nil.
9281 Set mail-encode-mml non-nil if the MIME method was used.
9282
9283 * mail/sendmail.el (mml-to-mime): Add autoload form.
9284 (mail-encode-mml): Add a defvar.
9285 (mail-mode): Make mail-encode-mml buffer-local and initialize it
9286 to nil.
9287 (mail-send): If mail-encode-mml is non-nil, run the outgoing
9288 message through mml-to-mime, and reset mail-encode-mml to nil.
9289
9290 2011-09-09 Glenn Morris <rgm@gnu.org>
9291
9292 * woman.el (woman-if-body): When processing an .el block,
9293 do not delete the next .el block as well. (Bug#9447)
9294 (woman-special-characters): Add oq, cq, and hy characters.
9295
9296 2011-09-08 Martin Rudalics <rudalics@gmx.at>
9297
9298 * window.el (window-deletable-p): Make sure window is live before
9299 invoking window-prev-buffers.
9300
9301 2011-09-08 Leo Liu <sdl.web@gmail.com>
9302
9303 * net/rcirc.el (rcirc-cmd-invite): New rcirc command. (Bug#9453)
9304
9305 2011-09-08 Juri Linkov <juri@jurta.org>
9306
9307 * progmodes/compile.el (compilation-environment): Make it
9308 a defcustom (bug#8340).
9309
9310 2011-09-08 Martin Rudalics <rudalics@gmx.at>
9311
9312 * window.el (frame-auto-delete): Rename to window-auto-delete.
9313 Make it control auto-deletion of windows and/or frames.
9314 (window-deletable-p): New argument FORCE. Rewrite conditions
9315 for deleting window/frame. (Bug#9419)
9316 (switch-to-prev-buffer, replace-buffer-in-windows, quit-window):
9317 Rewrite handling of case when window/frame can be deleted.
9318 (delete-windows-on): Call window-deletable-p with new FORCE
9319 argument t. (Bug#9456)
9320
9321 2011-09-07 Chong Yidong <cyd@stupidchicken.com>
9322
9323 * help-mode.el (help-mode): Restore autoload.
9324
9325 2011-09-07 Juri Linkov <juri@jurta.org>
9326
9327 * progmodes/compile.el (compilation-start): Let-bind `thisenv' to
9328 `compilation-environment'. Set buffer-local
9329 `compilation-environment' to `thisenv' later after (funcall mode).
9330 (Bug#8340)
9331
9332 * vc/vc-git.el (vc-git-grep): Remove --no-color. (Bug#9408)
9333 (vc-git-grep): Prepend "PAGER=" to `compilation-environment'
9334 instead of replacing its value. (Bug#8340)
9335
9336 2011-09-07 Juri Linkov <juri@jurta.org>
9337
9338 * progmodes/grep.el (grep-regexp-alist): Calculate column positions
9339 based on text properties put by `grep-filter' instead of matching
9340 escape sequences.
9341 (grep-mode): Set buffer-local `compilation-error-screen-columns'
9342 to the value of `grep-error-screen-columns' (bug#9438).
9343
9344 2011-09-07 Juri Linkov <juri@jurta.org>
9345
9346 * simple.el (next-error-highlight, next-error-highlight-no-select):
9347 Doc fix (bug#9432).
9348
9349 2011-09-07 OKAZAKI Tetsurou <okazaki.tetsurou@gmail.com> (tiny change)
9350
9351 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
9352 Check for null c-opt-block-decls-with-vars-key. (Bug#9443)
9353
9354 2011-09-07 Leo Liu <sdl.web@gmail.com>
9355
9356 * net/rcirc.el (rcirc-mode): Conditionally initialize
9357 rcirc-input-ring.
9358
9359 2011-09-07 Stefan Monnier <monnier@iro.umontreal.ca>
9360
9361 * emacs-lisp/find-func.el (find-function-C-source): Only set
9362 find-function-C-source-directory after checking that we found a source
9363 file there (bug#9440).
9364
9365 2011-09-06 Alan Mackenzie <acm@muc.de>
9366
9367 * isearch.el (isearch-other-meta-char): Wherever a key list is
9368 unread, "unread" the prefix arg, too. This fixes bug #8901.
9369
9370 2011-09-05 Oleksandr Gavenko <gavenkoa@gmail.com> (tiny change)
9371
9372 * progmodes/grep.el (rgrep): Add "-type d" (bug#9414).
9373
9374 2011-09-05 Juri Linkov <juri@jurta.org>
9375
9376 * progmodes/grep.el (grep-process-setup): Fix comments (bug#8084).
9377
9378 2011-09-05 Juri Linkov <juri@jurta.org>
9379
9380 * progmodes/grep.el (grep-filter): Avoid incomplete processing by
9381 keeping point where processing of grep matches begins, and
9382 continue to delete remaining escape sequences from the same point.
9383 (grep-filter): Make leading zero optional in "0?1;31m" because
9384 git-grep emits "\033[1;31m" escape sequences unlike expected
9385 "\033[01;31m" as GNU Grep does (bug#9408).
9386 (grep-process-setup): Replace obsolete "ml=" with newer "sl=".
9387
9388 2011-09-05 Juri Linkov <juri@jurta.org>
9389
9390 * subr.el (y-or-n-p): Capitalize "yes".
9391
9392 2011-09-04 Michael Albinus <michael.albinus@gmx.de>
9393
9394 * net/tramp.el (top): Require 'shell. Use `tramp-unload-hook' but
9395 `tramp-cache-unload-hook' where appropriate.
9396 (tramp-methods): Rename `tramp-remote-sh' to
9397 `tramp-remote-shell'. Add `tramp-remote-shell-args'.
9398 (tramp-handle-shell-command): New defun, moved from tramp-sh.el.
9399
9400 * net/tramp-sh.el (top): Don't require 'shell.
9401 (tramp-methods): Add `tramp-remote-shell' and
9402 `tramp-remote-shell-args' entries.
9403 (tramp-sh-file-name-handler-alist): Use `tramp-handle-shell-command'.
9404 (tramp-sh-handle-shell-command): Remove.
9405 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
9406 Use `tramp-remote-shell'.
9407
9408 2011-09-03 Chong Yidong <cyd@stupidchicken.com>
9409
9410 * mail/sendmail.el (sendmail-query-once-function): Delete.
9411 (sendmail-query-once): Save directly to send-mail-function.
9412 Update message-send-mail-function too.
9413
9414 * mail/smtpmail.el (smtpmail-try-auth-methods): Clarify prompt.
9415
9416 2011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
9417
9418 * progmodes/python.el (python-mode-map): Use correct function to
9419 start python interpreter from menu-bar (as reported by Geert
9420 Kloosterman).
9421 (inferior-python-mode-map): Fix typo.
9422 (python-shell-map): Remove.
9423
9424 2011-09-03 Deniz Dogan <deniz@dogan.se>
9425
9426 * net/rcirc.el (rcirc-print): Simplify code for
9427 rcirc-scroll-show-maximum-output. There is no need to walk
9428 through all windows to find the right one.
9429
9430 2011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
9431
9432 * help.el (help-return-method): Doc fix.
9433
9434 2011-09-03 Martin Rudalics <rudalics@gmx.at>
9435
9436 * window.el (window-deletable-p): Don't return a non-nil value
9437 when there's a buffer that was shown in the window before.
9438 (Bug#9419)
9439 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
9440 Set window's previous buffers to nil.
9441
9442 2011-09-03 Eli Zaretskii <eliz@gnu.org>
9443
9444 * mail/rmailmm.el (rmail-mime-insert-tagline): Insert an extra
9445 newline before and after the tag line, so it doesn't interfere
9446 with determining the paragraph direction of bidirectional text.
9447
9448 2011-09-03 Leo Liu <sdl.web@gmail.com>
9449
9450 * files.el (find-file-not-true-dirname-list): Remove. (Bug#9422)
9451
9452 2011-09-02 Chong Yidong <cyd@stupidchicken.com>
9453
9454 * window.el (pop-to-buffer-1, pop-to-buffer-same-window): Delete.
9455 (pop-to-buffer): Change interactive spec. Pass second argument
9456 directly to display-buffer.
9457 (display-buffer): Fix interactive spec. Use functionp to
9458 distinguish between a function and a list of functions.
9459
9460 * abbrev.el (edit-abbrevs):
9461 * arc-mode.el (archive-extract):
9462 * autoinsert.el (auto-insert):
9463 * bookmark.el (bookmark-bmenu-list):
9464 * files.el (find-file):
9465 * view.el (view-buffer):
9466 * progmodes/compile.el (compilation-goto-locus):
9467 * textmodes/bibtex.el (bibtex-initialize): Use switch-to-buffer.
9468
9469 2011-09-02 Chong Yidong <cyd@stupidchicken.com>
9470
9471 * window.el (display-buffer-alist): Doc fix.
9472 (display-buffer): Add docstring. Don't treat
9473 display-buffer-default specially.
9474 (display-buffer-reuse-selected-window)
9475 (display-buffer-same-window, display-buffer-maybe-same-window)
9476 (display-buffer-reuse-window, display-buffer-pop-up-frame)
9477 (display-buffer-pop-up-window)
9478 (display-buffer-reuse-or-pop-window)
9479 (display-buffer-use-some-window): New functions.
9480 (display-buffer-default-action): Use them.
9481 (display-buffer-default): Delete.
9482 (pop-to-buffer-1): Fix choice of actions.
9483
9484 2011-09-02 Stefan Monnier <monnier@iro.umontreal.ca>
9485
9486 * minibuffer.el (completion--insert-strings): Don't get confused by
9487 completion entries that end with an LF char.
9488
9489 2011-09-01 Eli Zaretskii <eliz@gnu.org>
9490
9491 * window.el (frame-auto-delete, window-deletable-p): Doc fix.
9492
9493 2011-09-01 Chong Yidong <cyd@stupidchicken.com>
9494
9495 * window.el (display-buffer): Restore interactive spec.
9496 (display-buffer-same-window, display-buffer-other-window):
9497 New functions.
9498 (pop-to-buffer-1): New function. Use the above.
9499 (pop-to-buffer, pop-to-buffer-same-window): Use it.
9500 (pop-to-buffer-other-window, pop-to-buffer-other-frame): Delete.
9501
9502 * view.el (view-buffer-other-window, view-buffer-other-frame):
9503 Just use pop-to-buffer.
9504
9505 2011-09-01 Thierry Volpiatto <thierry.volpiatto@gmail.com>
9506
9507 * vc/vc-rcs.el (vc-rcs-responsible-p): Handle directories. (Bug#9391)
9508
9509 2011-09-01 Wilfred Hughes <wilfred@potatolondon.com> (tiny change)
9510
9511 * vc/vc-git.el (vc-git-grep): Use --no-color. (Bug#9408)
9512
9513 2011-08-31 Richard Stallman <rms@gnu.org>
9514
9515 * mail/rmail.el (rmail-epa-decrypt): Rewrite to take account
9516 of the separation of rmail-view-buffer from rmail-buffer.
9517 If you say no to "replace original", the decrypt is in the
9518 view buffer. If you say yes, the decrypt goes into the
9519 rmail buffer also.
9520
9521 2011-08-31 Martin Rudalics <rudalics@gmx.at>
9522
9523 * window.el (display-buffer-window): Rewrite doc-string.
9524 (display-buffer-record-window): New function.
9525 (display-buffer-macro-specifiers)
9526 (display-buffer-even-window-sizes, display-buffer-set-height)
9527 (display-buffer-set-width, display-buffer-in-window)
9528 (display-buffer-reuse-window, display-buffer-split-specifiers)
9529 (display-buffer-side-specifiers, display-buffer-split-window-1)
9530 (display-buffer-split-window, display-buffer-split-atom-window)
9531 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
9532 (display-buffer-pop-up-side-window, display-buffer-in-side-window)
9533 (display-buffer-other-window-means-other-frame)
9534 (display-buffer-normalize-special)
9535 (display-buffer-normalize-default)
9536 (display-buffer-normalize-argument)
9537 (display-buffer-normalize-alist-1, display-buffer-normalize-alist)
9538 (display-buffer-normalize-specifiers, display-buffer-frame)
9539 (display-buffer-same-window, display-buffer-same-frame)
9540 (display-buffer-other-window)
9541 (display-buffer-same-frame-other-window)
9542 (display-buffer-other-frame, pop-to-buffer-same-window)
9543 (pop-to-buffer-same-frame, pop-to-buffer-other-window)
9544 (pop-to-buffer-same-frame-other-window, pop-to-buffer-other-frame)
9545 (switch-to-buffer-same-frame)
9546 (switch-to-buffer-other-window-same-frame)
9547 (display-buffer-alist-of-strings-p, display-buffer-alist-add)
9548 (display-buffer-alist-set-1, display-buffer-alist-set-2)
9549 (display-buffer-alist-set): Remove.
9550 (display-buffer-function, special-display-buffer-names)
9551 (special-display-regexps, special-display-function):
9552 In doc-string refer to display-buffer-window and quit-restore
9553 parameter.
9554 (pop-up-frame-alist, pop-up-frame-function, special-display-p)
9555 (special-display-frame-alist, special-display-popup-frame)
9556 (same-window-buffer-names, same-window-regexps, same-window-p)
9557 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
9558 (split-window-preferred-function, split-height-threshold)
9559 (split-width-threshold, window-splittable-p)
9560 (split-window-sensibly, window--try-to-split-window)
9561 (window--frame-usable-p, even-window-heights)
9562 (window--even-window-heights, window--display-buffer-1)
9563 (window--display-buffer-2, display-buffer-other-frame):
9564 Restore old Emacs 23 code, order and doc-strings where applicable.
9565 (display-buffer-default, display-buffer-assq-regexp): New functions.
9566 (display-buffer-alist): Rewrite doc-string.
9567 (display-buffer-default-action)
9568 (display-buffer-overriding-action): New variables.
9569 (display-buffer, switch-to-buffer): Rewrite.
9570 (pop-to-buffer): Restore Emacs 23 behavior but use
9571 window-normalize-buffer-to-display.
9572 (switch-to-buffer-other-window, switch-to-buffer-other-frame):
9573 Restore Emacs 23 behavior but use
9574 window-normalize-buffer-to-switch-to.
9575 (pop-to-buffer-same-window): Rewrite.
9576 (pop-to-buffer-other-window, pop-to-buffer-other-frame):
9577 Rewrite using Emacs 23 options.
9578
9579 2011-08-31 Michael Albinus <michael.albinus@gmx.de>
9580
9581 * net/tramp.el (tramp-root-regexp): Remove.
9582 (tramp-completion-file-name-regexp-unified)
9583 (tramp-completion-file-name-regexp-separate)
9584 (tramp-completion-file-name-regexp-url): Don't use leading volume
9585 letter on win32 systems. (Bug#5303, Bug#9311)
9586 (tramp-drop-volume-letter): Simplify definition.
9587 Suggested by Stefan Monnier <monnier@iro.umontreal.ca>.
9588
9589 2011-08-30 Stefan Monnier <monnier@iro.umontreal.ca>
9590
9591 * subr.el (event-modifiers): Fix "missing modifier" part of docstring
9592 (bug#9356).
9593
9594 2011-08-30 Reuben Thomas <rrt@sc3d.org> (tiny change)
9595
9596 * vc/pcvs-defs.el (cvs-find-file-and-jump): Docstring typo (bug#9369).
9597
9598 2011-08-29 Juri Linkov <juri@jurta.org>
9599
9600 * isearch.el (isearch-done): Don't display message "Mark saved"
9601 when arg `edit' is non-nil to prevent its flicker in the echo area.
9602
9603 2011-08-28 Chong Yidong <cyd@stupidchicken.com>
9604
9605 * emacs-lisp/package.el (package-menu-mark-delete): Allow marking
9606 obsolete packages for deletion.
9607
9608 2011-08-28 Christoph Scholtes <cschol2112@googlemail.com>
9609
9610 * help-mode.el (help-mode-map): Add special-mode-map to parent.
9611 (help-mode): Derive help-mode from special-mode. Don't invoke
9612 view-mode from help-mode.
9613 (help-xref-override-view-map): Remove.
9614 (help-make-xrefs): Remove minor-mode-overriding-map-alist since
9615 view-mode is not used anymore.
9616
9617 2011-08-28 Chong Yidong <cyd@stupidchicken.com>
9618
9619 * server.el (server-port): Doc fix.
9620
9621 * cus-theme.el (custom-theme-choose-mode): Inherit from
9622 special-mode (Bug#9124).
9623 (custom-theme-choose-mode-map): Add special-mode to parent.
9624
9625 2011-08-28 Alan Mackenzie <acm@muc.de>
9626
9627 * progmodes/cc-fonts.el
9628 (c-make-font-lock-BO-decl-search-function): New function.
9629 (c-basic-matchers-after - "Fontify the clauses after various
9630 keywords"): Extract the three keyword lists for the 3 erroneous
9631 constructs from the list of four, and use the new function above
9632 in place of an old one.
9633
9634 2011-08-28 Deniz Dogan <deniz@dogan.se>
9635
9636 * net/rcirc.el (rcirc-insert-prev-input)
9637 (rcirc-insert-next-input): Remove unused argument.
9638
9639 2011-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
9640
9641 * shell.el (shell-parse-pcomplete-arguments): Unquote args (bug#9160).
9642
9643 2011-08-27 Alan Mackenzie <acm@muc.de>
9644
9645 * progmodes/cc-menus.el (cc-imenu-c++-generic-expression): Make it
9646 handle function pointer parameters properly.
9647
9648 2011-08-27 Martin Rudalics <rudalics@gmx.at>
9649
9650 * window.el (display-buffer-reuse-window): Fix case where
9651 selected window was reused with non-nil OTHER-WINDOW argument.
9652 (Bug#9381)
9653
9654 2011-08-27 Deniz Dogan <deniz@dogan.se>
9655
9656 * net/rcirc.el (rcirc-check-auth-status): Adding support for
9657 oftc's NickServ messages.
9658
9659 2011-08-27 Glenn Morris <rgm@gnu.org>
9660
9661 * saveplace.el (save-place-limit): Make it finite. (Bug#9352)
9662
9663 2011-08-26 Chong Yidong <cyd@stupidchicken.com>
9664
9665 * emacs-lisp/package.el (package-install): Call package-initialize
9666 if called interactively.
9667
9668 2011-08-26 Leo Liu <sdl.web@gmail.com>
9669
9670 * emacs-lisp/cl-macs.el (defstruct): Fix format. (Bug#9357)
9671
9672 2011-08-25 Juri Linkov <juri@jurta.org>
9673
9674 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
9675 `search-whitespace-regexp' (bug#9364).
9676
9677 2011-08-25 Juri Linkov <juri@jurta.org>
9678
9679 * isearch.el (isearch-edit-string): Let-bind `search-ring' and
9680 `regexp-search-ring' to their global values to protect from
9681 updating by `read-from-minibuffer' (bug#9185).
9682
9683 2011-08-25 Juri Linkov <juri@jurta.org>
9684
9685 * textmodes/ispell.el (ispell-command-loop): Add newline
9686 at the end of the "Use option `i'..." line.
9687
9688 2011-08-25 Juri Linkov <juri@jurta.org>
9689
9690 * battery.el (display-battery-mode): If `battery-status-function'
9691 or `battery-mode-line-format' is nil, display the message and set
9692 `display-battery-mode' to nil (bug#9363).
9693
9694 2011-08-25 Eli Zaretskii <eliz@gnu.org>
9695
9696 * buff-menu.el (Buffer-menu-buffer+size): Remove calls to
9697 bidi-string-mark-left-to-right; they are unnecessary now.
9698
9699 2011-08-25 Deniz Dogan <deniz@dogan.se>
9700
9701 * net/quickurl.el: Documentation typo fixes.
9702
9703 2011-08-25 Chong Yidong <cyd@stupidchicken.com>
9704
9705 * window.el (bury-buffer, quit-window): Use bury-buffer-internal.
9706
9707 2011-08-25 Glenn Morris <rgm@gnu.org>
9708
9709 * emacs-lisp/derived.el (define-derived-mode): Doc fix.
9710
9711 * mail/smtpmail.el (smtpmail-smtp-user): Add version: tag.
9712 (smtpmail-via-smtp): Handle nil response from smtp.
9713
9714 2011-08-24 Juri Linkov <juri@jurta.org>
9715
9716 * proced.el (proced-marked): Inherit from `error' instead of
9717 `font-lock-warning-face'.
9718
9719 * ibuffer.el (ibuffer-marked-face): Change default face from
9720 `font-lock-warning-face' to `warning'.
9721 (ibuffer-deletion-face): Change default face from
9722 `font-lock-type-face' to `error'.
9723
9724 * battery.el (battery-update): Use the face `error' instead of
9725 `font-lock-warning-face' (bug#6117).
9726
9727 2011-08-24 Juri Linkov <juri@jurta.org>
9728
9729 * faces.el (success): Change face color from "Green3" to
9730 "ForestGreen" on light background (bug#9353).
9731
9732 2011-08-24 Chong Yidong <cyd@stupidchicken.com>
9733
9734 * window.el (quit-window): Rename from quit-restore-window.
9735 Use same arglist as old quit-window.
9736 (frame-auto-delete): Doc fix.
9737
9738 * view.el (view-mode-exit): Use quit-window.
9739
9740 2011-08-24 Juri Linkov <juri@jurta.org>
9741
9742 * isearch.el (isearch-ring-adjust1): Start visiting previous
9743 search strings from the index 0 (-1 + 1) instead of 1 (0 + 1).
9744 (isearch-repeat, isearch-edit-string): Call `isearch-ring-adjust1'
9745 for empty search string (when the last search string is reused
9746 automatically) to adjust the isearch ring to the last element and
9747 prepare the correct index for further M-p commands (bug#9185).
9748
9749 2011-08-24 Kenichi Handa <handa@m17n.org>
9750
9751 * international/ucs-normalize.el: If decomposition property of
9752 CHAR is the default one (i.e. a list of CHAR itself), treat it as
9753 nil.
9754 (nfd, nfkd): Likewise.
9755
9756 2011-08-24 Stefan Monnier <monnier@iro.umontreal.ca>
9757
9758 * mpc.el (mpc--proc-filter): Don't signal mpc-proc-error since signals
9759 from process filters aren't reliably transmitted to the surrounding
9760 accept-process-output.
9761 (mpc-proc-check): New function.
9762 (mpc-proc-sync): Use it (bug#8293)
9763
9764 2011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
9765
9766 * emacs-lisp/eieio.el (eieio-defmethod, eieio-defgeneric):
9767 Add compatibility functions (bug#9313).
9768
9769 2011-08-23 Eli Zaretskii <eliz@gnu.org>
9770
9771 * cus-start.el (all): Add entry for bidi-paragraph-direction.
9772
9773 * international/uni-bidi.el: Regenerate.
9774
9775 2011-08-23 Kenichi Handa <handa@m17n.org>
9776
9777 * international/charprop.el:
9778 * international/uni-bidi.el:
9779 * international/uni-category.el:
9780 * international/uni-combining.el:
9781 * international/uni-comment.el:
9782 * international/uni-decimal.el:
9783 * international/uni-decomposition.el:
9784 * international/uni-digit.el:
9785 * international/uni-lowercase.el:
9786 * international/uni-mirrored.el:
9787 * international/uni-name.el:
9788 * international/uni-numeric.el:
9789 * international/uni-old-name.el:
9790 * international/uni-titlecase.el:
9791 * international/uni-uppercase.el: Regenerate.
9792
9793 2011-08-23 Martin Rudalics <rudalics@gmx.at>
9794
9795 * help.el (help-window-setup): Fix message displayed when other
9796 window is reused. (Bug#9341)
9797
9798 2011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
9799
9800 * shell.el (shell-completion-vars): Set pcomplete-arg-quote-list.
9801 * pcomplete.el (pcomplete-quote-argument): Fix thinko (bug#9161).
9802
9803 * pcomplete.el (pcomplete-parse-comint-arguments): Fix inf-loop.
9804 Mark obsolete.
9805 * shell.el (shell-parse-pcomplete-arguments): New function.
9806 (shell-completion-vars): Use it instead (bug#9160).
9807
9808 2011-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
9809
9810 * progmodes/sh-script.el (sh-maybe-here-document): Disable magic in
9811 strings and comments (bug#9333).
9812
9813 * emacs-lisp/debug.el (debug-arglist): New function.
9814 (debug-convert-byte-code): Use it. Handle lexical byte-codes.
9815 (debug-on-entry-1): Handle interpreted closures (bug#9120).
9816
9817 2011-08-22 Juri Linkov <juri@jurta.org>
9818
9819 * progmodes/compile.el (compilation-mode-font-lock-keywords):
9820 Revert regexp that highlights output switches to its old
9821 pre-2010-10-28 value and remove one `?' from it (bug#9319).
9822
9823 * progmodes/grep.el (grep-process-setup): Use `buffer-modified-p'
9824 to check for empty output (bug#9226).
9825
9826 2011-08-22 Chong Yidong <cyd@stupidchicken.com>
9827
9828 * progmodes/scheme.el (scheme-mode-syntax-table): Don't use
9829 symbol-constituent as the default, as that stops font-lock from
9830 working properly (Bug#8843).
9831
9832 2011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
9833
9834 * mail/smtpmail.el (smtpmail-via-smtp): Only bind
9835 `coding-system-for-*' around the process open call to avoid
9836 auth-source side effects.
9837 (smtpmail-try-auth-methods): Expand the secret password.
9838 (smtpmail-query-smtp-server): Allow `quit'-ing out in case the
9839 probe hangs.
9840
9841 2011-08-21 Chong Yidong <cyd@stupidchicken.com>
9842
9843 * term.el (term-mouse-paste): Yank primary selection (Bug#6845).
9844
9845 * emacs-lisp/find-func.el (find-function-noselect): New arg
9846 lisp-only.
9847
9848 * emacs-lisp/edebug.el (edebug-instrument-function): Use it to
9849 signal an error for built-in functions (Bug#6664).
9850
9851 2011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
9852
9853 * mail/smtpmail.el (smtpmail-smtp-user): New variable.
9854 (smtpmail-try-auth-methods): Use it.
9855
9856 2011-08-21 Chong Yidong <cyd@stupidchicken.com>
9857
9858 * font-lock.el (font-lock-fontify-region)
9859 (font-lock-unfontify-region, font-lock-default-fontify-buffer)
9860 (font-lock-default-unfontify-buffer)
9861 (font-lock-default-fontify-region)
9862 (font-lock-default-unfontify-region): Add docstrings (Bug#8624).
9863
9864 * progmodes/compile.el (compilation-error-properties):
9865 Fix confusion between file struct and message struct (Bug#9319).
9866 (compilation-error-regexp-alist-alist): Fix 2011-05-09 change to
9867 `ant' regexp.
9868
9869 * net/browse-url.el (browse-url-firefox): Don't call
9870 browse-url-firefox-sentinel unless using -remote (Bug#9328).
9871
9872 2011-08-20 Glenn Morris <rgm@gnu.org>
9873
9874 * tutorial.el (help-with-tutorial): Avoid an error on short screens.
9875
9876 * tutorial.el (tutorial--default-keys): Update some default bindings.
9877
9878 * files.el (hack-local-variables): Fully ignore case for "mode:".
9879
9880 2011-08-20 Alan Mackenzie <acm@muc.de>
9881
9882 Resolve invalid use of a regexp in regexp-opt.
9883
9884 * progmodes/cc-fonts.el (c-complex-decl-matchers): Add in special
9885 detection for a java annotation.
9886
9887 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Add in special
9888 detection for a java annotation.
9889
9890 * progmodes/cc-langs.el (c-prefix-spec-kwds-re): Remove the special
9891 handling for java.
9892 (c-modifier-kwds): Remove the regexp "@[A-za-z0-9]+".
9893
9894 2011-08-20 Chong Yidong <cyd@stupidchicken.com>
9895
9896 * startup.el (normal-top-level-add-subdirs-to-load-path): Doc fix
9897 (Bug#9274).
9898
9899 2011-08-20 Alan Mackenzie <acm@muc.de>
9900
9901 Fontify CPP expressions correctly when starting in the middle of
9902 such a construct. Mainly for when jit-lock etc. starts a chunk
9903 here.
9904
9905 * progmodes/cc-fonts.el (c-font-lock-context): New buffer local
9906 variable.
9907 (c-make-font-lock-search-form): New function, extracted from
9908 c-make-font-lock-search-function.
9909 (c-make-font-lock-search-function): Use the above function.
9910 (c-make-font-lock-context-search-function): New function.
9911 (c-cpp-matchers): Enhance the preprocessor expression case with
9912 the above function
9913 (c-font-lock-complex-decl-prepare): Test for being in a CPP form
9914 which takes an expression.
9915
9916 * progmodes/cc-langs.el (c-cpp-expr-intro-re): New lang-variable.
9917
9918 2011-08-20 Martin Rudalics <rudalics@gmx.at>
9919
9920 * window.el (display-buffer-reuse-window)
9921 (display-buffer-pop-up-window): Don't reuse or split a side
9922 window.
9923
9924 2011-08-19 Glenn Morris <rgm@gnu.org>
9925
9926 * files.el (hack-local-variables-prop-line, hack-local-variables):
9927 Downcase "Mode:". (Bug#9331)
9928
9929 2011-08-18 Chong Yidong <cyd@stupidchicken.com>
9930
9931 * international/characters.el: Add L and R categories.
9932
9933 * subr.el (bidi-string-mark-left-to-right): Rename from
9934 string-mark-left-to-right. Use category search.
9935
9936 * buff-menu.el (Buffer-menu-buffer+size): Callers changed.
9937
9938 2011-08-18 Juri Linkov <juri@jurta.org>
9939
9940 * faces.el (error, warning, success): New faces with definitions
9941 copied from old default values of `font-lock-warning-face',
9942 `compilation-warning', `compilation-info' (bug#6117).
9943
9944 * font-lock.el (font-lock-warning-face): Inherit from `error'.
9945
9946 * progmodes/compile.el (compilation-error): Inherit from `error'.
9947 (compilation-warning): Inherit from `warning'.
9948 (compilation-info): Inherit from `success'.
9949
9950 * dired.el (dired-marked): Inherit from `warning'.
9951 (dired-flagged): Inherit from `error'.
9952
9953 2011-08-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
9954
9955 * mail/smtpmail.el (auth-source): Require to avoid problems with
9956 binding variables (bug#9298). Also clean up some unused
9957 autoloads.
9958
9959 * net/network-stream.el (network-stream-open-starttls):
9960 Support using starttls.el without using gnutls-cli.
9961
9962 2011-08-17 Juri Linkov <juri@jurta.org>
9963
9964 * progmodes/grep.el (rgrep): Handle the case when
9965 `grep-find-command' is a cons cell (bug#9278).
9966
9967 2011-08-17 Martin Rudalics <rudalics@gmx.at>
9968
9969 * window.el (display-buffer-pop-up-frame): Run frame creation
9970 function with BUFFER current (as special-display-popup-frame
9971 does). Reported by Drew Adams.
9972
9973 2011-08-17 Daiki Ueno <ueno@unixuser.org>
9974
9975 * epa-mail.el: Simplify GnuPG group expansion using
9976 epg-expand-group.
9977 (epa-mail-group-alist, epa-mail-group-modtime)
9978 (epa-mail-gnupg-conf-file, epa-mail-parse-groups)
9979 (epa-mail-sync-groups, epa-mail-expand-recipient-1)
9980 (epa-mail-expand-recipients-2, epa-mail-expand-recipients):
9981 Remove.
9982
9983 2011-08-16 Feng Li <fengli@gmail.com> (tiny change)
9984
9985 * calc/calc-ext.el (math-defintegral-2): Remove nested backquote.
9986
9987 2011-08-16 Alan Mackenzie <acm@muc.de>
9988
9989 * progmodes/cc-engine.el (c-state-cache-non-literal-place):
9990 Correct, to avoid the inside of macros.
9991
9992 2011-08-16 Richard Stallman <rms@gnu.org>
9993
9994 * epa-mail.el: Handle GnuPG group definitions.
9995 (epa-mail-group-alist, epa-mail-group-modtime)
9996 (epa-mail-gnupg-conf-file): New variables.
9997 (epa-mail-parse-groups, epa-mail-sync-groups)
9998 (epa-mail-expand-recipient-1, epa-mail-expand-recipients-2)
9999 (epa-mail-expand-recipients): New functions.
10000 (epa-mail-encrypt): Call epa-mail-expand-recipients.
10001
10002 * mail/rmail.el (rmail-epa-decrypt): New command.
10003
10004 * epa.el (epa-decrypt-region): New arg MAKE-BUFFER-FUNCTION.
10005 Don't bind buffer-read-only, just inhibit-read-only.
10006 (epa--find-coding-system-for-mime-charset): Fix the non-xemacs case.
10007 (epa-decrypt-armor-in-region): Make error message clearer.
10008
10009 2011-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
10010
10011 * minibuffer.el (completion-pcm--merge-completions): Don't merge "a1b"
10012 and "a2b" to "ab" for `prefix'.
10013
10014 2011-08-14 Chong Yidong <cyd@stupidchicken.com>
10015
10016 * ibuf-ext.el (ibuffer-filter-disable): New arg for deleting
10017 filter groups.
10018 (ibuffer-included-in-filter-p-1): Use it. Suggested by Rafaël
10019 Fourquet (Bug#8804).
10020
10021 2011-08-12 Juanma Barranquero <lekktu@gmail.com>
10022
10023 * startup.el (argi): Declare as global variable (bug#9275).
10024
10025 2011-08-12 Chong Yidong <cyd@stupidchicken.com>
10026
10027 * subr.el (string-mark-left-to-right): Search the entire string
10028 for RTL script, not just the terminating character. Doc fix.
10029
10030 2011-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
10031
10032 * progmodes/js.el (js-syntax-propertize, js-syntax-propertize-regexp):
10033 New function.
10034 (js--regexp-literal, js-syntax-propertize-function): Remove.
10035 (js-mode): Use js-syntax-propertize to handle multilines (bug#9183).
10036 (js-mode-map): Don't rebind electric keys.
10037 (js-insert-and-indent): Remove.
10038 (js-mode): Setup electric-layout and electric-indent instead.
10039
10040 * epa-file.el (epa-file-select-keys): Revert to nil default (bug#9280).
10041
10042 2011-08-12 Daiki Ueno <ueno@unixuser.org>
10043
10044 * epa.el (epa-progress-callback-function): Fix the logic of
10045 displaying progress.
10046 * epa-file.el (epa-file-insert-file-contents): Make progress
10047 display more user-friendly.
10048 (epa-file-write-region): Ditto.
10049
10050 2011-08-10 Chong Yidong <cyd@stupidchicken.com>
10051
10052 * subr.el (string-mark-left-to-right): New function.
10053
10054 * buff-menu.el (Buffer-menu-buffer+size): Remove LRM argument.
10055 Use string-mark-left-to-right.
10056 (list-buffers-noselect): Caller changed.
10057
10058 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
10059 Use string-mark-left-to-right.
10060 (tabulated-list-print): Recenter after moving point.
10061
10062 2011-08-10 Juri Linkov <juri@jurta.org>
10063
10064 * progmodes/grep.el (rgrep): Don't bind `process-connection-type'.
10065 This finishes incomplete reversion of 2011-06-30T01:09:13Z!larsi@gnus.org
10066 intended by 2011-07-06T15:49:19Z!larsi@gnus.org.
10067
10068 2011-08-09 Chong Yidong <cyd@stupidchicken.com>
10069
10070 * hi-lock.el (hi-lock-unface-buffer): Fix interactive spec
10071 (Bug#7554).
10072
10073 2011-08-09 Andreas Schwab <schwab@linux-m68k.org>
10074
10075 * xt-mouse.el (xterm-mouse-event-read): Try to recover the raw
10076 character. (Bug#6594)
10077
10078 2011-08-08 Chong Yidong <cyd@stupidchicken.com>
10079
10080 * image-dired.el: Don't use find-file for temporary work (Bug#7895).
10081 (image-dired--with-db-file): New macro.
10082 (image-dired-write-tags, image-dired-remove-tag)
10083 (image-dired-create-gallery-lists, image-dired-write-comments)
10084 (image-dired-get-comment, image-dired-mark-tagged-files)
10085 (image-dired-list-tags, image-dired-gallery-generate): Use it.
10086 (image-dired-gallery-generate): Use insert-file-contents.
10087
10088 * time.el (display-time-world-list, display-time-world-display):
10089 * time-stamp.el (time-stamp-string):
10090 * vc/add-log.el (add-change-log-entry): Use setenv instead of
10091 set-time-zone-rule (Bug#7337).
10092
10093 2011-08-08 Daiki Ueno <ueno@unixuser.org>
10094
10095 * epg.el (epg--status-KEYEXPIRED, epg--status-KEYREVOKED): Fix typo.
10096 (epg-error-to-string, epg-errors-to-string): New function.
10097 (epg-wait-for-completion): Reverse errors list.
10098 (epg--check-error-for-decrypt, epg-sign-file, epg-sign-string)
10099 (epg-encrypt-file, epg-encrypt-string, epg-export-keys-to-file)
10100 (epg--import-keys-1, epg-receive-keys, epg-delete-keys)
10101 (epg-sign-keys, epg-generate-key-from-file)
10102 (epg-generate-key-from-string): Format errors by using
10103 epg-errors-to-string (bug#9255).
10104 (epg--status-INV_SGNR, epg--status-NO_SGNR): New status handler.
10105
10106 2011-08-07 Juri Linkov <juri@jurta.org>
10107
10108 * faces.el (list-faces-display): Remove extra angle bracket
10109 from `help-mode-map'.
10110
10111 * info.el (Info-history-toc-nodes): Doc fix.
10112
10113 * longlines.el (longlines-mode): Doc fix.
10114
10115 2011-08-05 Stefan Monnier <monnier@iro.umontreal.ca>
10116
10117 * progmodes/js.el (js--regexp-literal): Accept regexps at the beginning
10118 of statements and in a few more cases (bug#9183).
10119
10120 * emacs-lisp/cl-macs.el (cl--make-usage-var, cl--make-usage-args):
10121 New functions.
10122 (cl-transform-lambda): Use them (bug#9239).
10123
10124 2011-08-05 Martin Rudalics <rudalics@gmx.at>
10125
10126 * window.el (display-buffer-same-window)
10127 (display-buffer-same-frame, display-buffer-other-window)
10128 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
10129 (pop-to-buffer-other-window)
10130 (pop-to-buffer-same-frame-other-window)
10131 (pop-to-buffer-other-frame): Make them defuns.
10132 (switch-to-buffer): Don't set LABEL argument of pop-to-buffer.
10133
10134 2011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
10135
10136 * subr.el (make-composed-keymap): Move from C. Change calling
10137 convention, and improve docstring to bring attention to a subtle point.
10138 * minibuffer.el (completing-read-default): Adjust accordingly.
10139
10140 2011-08-03 Michael Albinus <michael.albinus@gmx.de>
10141
10142 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
10143 (tramp-open-shell): Use `tramp-shell-quote-argument'.
10144
10145 * net/trampver.el: Update release number.
10146
10147 2011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
10148
10149 * progmodes/sh-script.el (sh-font-lock-paren): Don't mistake "main" for
10150 "in" (bug#9190).
10151
10152 2011-08-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
10153
10154 * mail/sendmail.el (sendmail-query-once): Restore the current
10155 buffer after querying (bug#9074).
10156
10157 * dired.el (dired-flagged): Use different faces for marked and
10158 flagged files (bug#6117).
10159
10160 * emacs-lisp/cl-macs.el (dolist): Mention that there's a nil block
10161 (bug#4433).
10162
10163 * ido.el (ido-mode): Switch off the message if called
10164 non-interactively.
10165
10166 * mail/smtpmail.el (smtpmail-query-smtp-server): Try port 25
10167 before 587, since it appears that that's more likely to work for
10168 more people.
10169
10170 * cus-edit.el (custom-file): When running under emacs -q, always
10171 refuse to save the customizations, even if the .emacs file doesn't
10172 exist.
10173
10174 * info.el: Remove the `Info-beginning-of-buffer' function
10175 (bug#8325).
10176
10177 * net/network-stream.el (network-stream-open-starttls):
10178 Use `starttls-available-p' to see whether starttls.el can be used.
10179
10180 2011-08-01 Martin Rudalics <rudalics@gmx.at>
10181
10182 * window.el (display-buffer-in-window): Don't set dedicated status
10183 of window here (Bug#9215).
10184 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
10185 (display-buffer-pop-up-side-window)
10186 (display-buffer-in-side-window): Set dedicated status of window here.
10187
10188 2011-08-01 Stefan Monnier <monnier@iro.umontreal.ca>
10189
10190 * emacs-lisp/package.el (package-generate-autoloads): Load autoloads
10191 before binding generated-autoload-file.
10192
10193 2011-08-01 Deniz Dogan <deniz@dogan.se>
10194
10195 * net/rcirc.el (rcirc-handler-333): Clarify docstring.
10196
10197 2011-07-30 Michael Albinus <michael.albinus@gmx.de>
10198
10199 Sync with Tramp 2.2.2.
10200
10201 * net/trampver.el: Update release number.
10202
10203 2011-07-30 Juri Linkov <juri@jurta.org>
10204
10205 * dired-aux.el (dired-touch-initial): Remove function.
10206 (dired-do-chxxx): For op-symbol `touch', set `initial' to the
10207 current time, and `default' to the last modification time of the
10208 current marked file (bug#6887).
10209
10210 2011-07-28 Jose E. Marchesi <jemarch@gnu.org>
10211
10212 * simple.el (goto-line): Use string-to-number to provide a
10213 numeric argument to read-number (bug#9163).
10214
10215 2011-07-27 Michael Albinus <michael.albinus@gmx.de>
10216
10217 * net/tramp-sh.el (tramp-maybe-send-script): Don't let-bind the
10218 connection process, it could be nil.
10219
10220 2011-07-27 Leo Liu <sdl.web@gmail.com>
10221
10222 Simplify url handling in rcirc-mode.
10223
10224 * net/rcirc.el (rcirc-browse-url-map, rcirc-browse-url-at-point)
10225 (rcirc-browse-url-at-mouse): Remove.
10226 * net/rcirc.el (rcirc-markup-urls): Use `make-button'.
10227
10228 2011-07-26 Alan Mackenzie <acm@muc.de>
10229
10230 Fontify bitfield declarations properly.
10231
10232 * progmodes/cc-langs.el (c-has-bitfields): New lang variable.
10233 (c-symbol-chars): Now exported as a lang variable.
10234 (c-not-primitive-type-keywords): New lang variable.
10235
10236 * progmodes/cc-fonts.el (c-font-lock-declarations): Jump over the
10237 QT keyword "more" to prevent "more slots: ...." being spuriously
10238 parsed as a bitfield declaration.
10239
10240 * progmodes/cc-engine.el (c-beginning-of-statement-1):
10241 Refactor and enhance to handle bitfield declarations.
10242 (c-punctuation-in): New function.
10243 (c-forward-decl-or-cast-1): Enhance CASE 3 to handle bitfield
10244 declarations properly.
10245
10246 2011-07-26 Ulf Jasper <ulf.jasper@web.de>
10247
10248 * calendar/icalendar.el (icalendar--all-events): Take care of
10249 multiple vcalendars in a single file.
10250 (icalendar--convert-float-to-ical): Checkdoc fixes.
10251
10252 2011-07-25 Deniz Dogan <deniz@dogan.se>
10253
10254 * image.el (insert-image): Clarifying docstring.
10255
10256 2011-07-24 Michael Albinus <michael.albinus@gmx.de>
10257
10258 * net/tramp-sh.el (tramp-barf-unless-okay): Return the value of
10259 `tramp-send-command-and-check' if there is no error.
10260 (tramp-send-command-and-read): Suppress *all* errors if NOERROR.
10261
10262 2011-07-22 Alan Mackenzie <acm@muc.de>
10263
10264 Prevent cc-langs.elc being loaded at run time.
10265
10266 * progmodes/cc-mode.el: Remove two autoload forms which loaded
10267 cc-langs.
10268
10269 * progmodes/cc-langs.el (c-make-init-lang-vars-fun): Don't emit
10270 "(require 'cc-langs)". Quote a form so it will evaluate at
10271 (cc-mode's) compilation time.
10272
10273 2011-07-22 Michael Albinus <michael.albinus@gmx.de>
10274
10275 * net/tramp.el (tramp-file-name-handler): Avoid recursive
10276 loading. (Bug#9114)
10277
10278 2011-07-21 Martin Rudalics <rudalics@gmx.at>
10279
10280 * window.el (display-buffer-pop-up-window)
10281 (display-buffer-pop-up-side-window)
10282 (display-buffer-in-side-window): Call display-buffer-set-height
10283 and display-buffer-set-width after setting the new window's
10284 buffer so `fit-window-to-buffer' and friends work on the right buffer.
10285
10286 2011-07-20 Sam Steingold <sds@gnu.org>
10287
10288 * progmodes/etags.el (etags-file-of-tag, etags-tags-table-files)
10289 (etags-tags-included-tables): Call `convert-standard-filename' on
10290 the file names contained in TAGS so that windows Emacs can handle
10291 TAGS files created by cygwin ctags.
10292
10293 2011-07-20 Lars Magne Ingebrigtsen <larsi@gnus.org>
10294
10295 * proced.el (proced-update): Revert yesterday's bug#1779 patch,
10296 which apparently didn't work.
10297
10298 2011-07-19 Roland Winkler <winkler@gnu.org>
10299
10300 * proced.el (proced-send-signal): For *Marked Processes* buffer
10301 put point at beginning of buffer.
10302
10303 2011-07-19 Stephen Berman <stephen.berman@gmx.net>
10304
10305 * proced.el (proced-format): Make header lines align with the text
10306 (bug#1779).
10307
10308 2011-07-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
10309
10310 * view.el (view-buffer): Allow running in `special' modes if we're
10311 visiting a file (bug#8615).
10312
10313 2011-07-19 Martin Rudalics <rudalics@gmx.at>
10314
10315 * window.el (display-buffer-alist-of-strings-p)
10316 (display-buffer-alist-set-1, display-buffer-alist-set-2):
10317 New functions.
10318 (display-buffer-alist-set): Rewrite to handle Emacs 23 options
10319 more accurately.
10320
10321 2011-07-18 Alan Mackenzie <acm@muc.de>
10322
10323 Fontify declarators properly when, e.g., a jit-lock chunk begins
10324 inside a declaration.
10325
10326 * progmodes/cc-langs.el (c-symbol-chars): Correct a typo.
10327
10328 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
10329 New function.
10330 (c-complex-decl-matchers): Insert reference to
10331 c-font-lock-enclosing-decls.
10332
10333 * progmodes/cc-engine.el (c-backward-single-comment):
10334 (c-backward-comments): Bind open-paren-in-column-0-is-defun-start
10335 to nil around calls to (forward-comment -1).
10336
10337 2011-07-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
10338
10339 * image.el (put-image): Doc typo fix.
10340
10341 * progmodes/etags.el (tags-search): Doc typo fix.
10342
10343 * mail/smtpmail.el (smtpmail-via-smtp): Query the user for
10344 password if we get errors 550 to 554.
10345
10346 2011-07-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
10347
10348 * net/gnutls.el (gnutls-log-level): Remove.
10349
10350 * textmodes/fill.el (adaptive-fill-regexp): Include EN DASH as an
10351 indentation character (bug#6380).
10352
10353 * files.el (buffer-offer-save): Made permanently local (bug#6241).
10354
10355 * doc-view.el (doc-view-make-safe-dir): Rewrite the error message
10356 to clarify what the problem is (bug#4291).
10357
10358 * simple.el (current-kill): Clarify what
10359 `interprogram-paste-function' does (bug#7500).
10360 (auto-fill-mode): Document `auto-fill-function' in relation to
10361 `auto-fill-mode' (bug#2470).
10362
10363 2011-07-16 Lawrence Mitchell <wence@gmx.li>
10364
10365 * emacs-lisp/cl-macs.el (defstruct): Ignore argument to setf
10366 method if slot is read-only (bug#9035).
10367
10368 2011-07-16 Martin Rudalics <rudalics@gmx.at>
10369
10370 * frame.el (select-frame-set-input-focus): New argument NORECORD.
10371 * window.el (pop-to-buffer): Select window used even if it was
10372 selected before, see discussion of (Bug#8615), (Bug#6954).
10373 Pass argument NORECORD on to select-frame-set-input-focus.
10374
10375 2011-07-15 Glenn Morris <rgm@gnu.org>
10376
10377 * subr.el (read-char-choice): Allow quitting. (Bug#9001)
10378 Respect help-form.
10379
10380 2011-07-09 Lawrence Mitchell <wence@gmx.li>
10381
10382 * net/gnutls.el (gnutls-min-prime-bits): New variable.
10383 (gnutls-negotiate): Use it.
10384
10385 2011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
10386
10387 * net/gnutls.el (gnutls-negotiate):
10388 Upcase `gnutls-algorithm-priority'.
10389
10390 2011-07-15 Glenn Morris <rgm@gnu.org>
10391
10392 * jka-compr.el (jka-compr-verbose): Move from here...
10393 * jka-cmpr-hook.el (jka-compr-verbose): ... to here. (Bug#9090)
10394 Add missing :version tag.
10395 * info.el: No need to require jka-compr when compiling.
10396
10397 2011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
10398
10399 * net/gnutls.el (gnutls-algorithm-priority): New variable.
10400 (gnutls-negotiate): Use it.
10401
10402 * emacs-lisp/cl-macs.el (declare): Link to the "Declarations" node.
10403
10404 * info.el (Info-beginning-of-buffer): New command.
10405 (Info-mode-map): Use it instead of `beginning-of-buffer' to allow
10406 announcing `b' as the key (bug#8325).
10407 (Info-mode-menu): Use `Info-beginning-of-buffer' for consistency.
10408
10409 * emacs-lisp/cl-macs.el (declare): Doc string fix-up.
10410
10411 * international/mule-cmds.el
10412 (describe-specified-language-support): Make the error message
10413 clearer (bug#8905).
10414
10415 * emacs-lisp/cl-macs.el (declare): Add a doc string (bug#8690).
10416
10417 * isearch.el (isearch-barrier): Add a doc string, since it's
10418 mentioned in a function doc string (bug#8678).
10419
10420 2011-07-15 Martin Rudalics <rudalics@gmx.at>
10421
10422 * window.el (switch-to-buffer): Call pop-to-buffer with normalized
10423 buffer argument (Bug#9083) and self-identifying label argument.
10424
10425 2011-07-15 Glenn Morris <rgm@gnu.org>
10426
10427 * emacs-lisp/debug.el (debug): Doc fix. (Bug#8273)
10428
10429 2011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
10430
10431 * man.el (Man-fontify-manpage): Fix message when formatting the
10432 man page (bug#7929).
10433
10434 2011-07-14 Eli Zaretskii <eliz@gnu.org>
10435
10436 * buff-menu.el (Buffer-menu-buffer+size): Accept an additional
10437 argument LRM; if non-nil, append an invisible LRM character to the
10438 buffer name.
10439 (list-buffers-noselect): Call Buffer-menu-buffer+size with the
10440 last argument non-nil, when formatting buffer names.
10441 (Buffer-menu-mode, list-buffers-noselect): Force left-to-right
10442 paragraph direction.
10443
10444 2011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
10445
10446 * man.el (Man-bgproc-sentinel): Skip any arguments and only output
10447 the man page name (bug#7929).
10448
10449 * image.el (put-image): Mention the `put-image' overlay property
10450 (bug#7834).
10451
10452 * scroll-bar.el (set-scroll-bar-mode): Mention that
10453 `scroll-bar-mode' lists the values (bug#7772).
10454
10455 * image-mode.el (image-mode-fit-frame): Mention that it's a toggle
10456 command (bug#7729).
10457
10458 * rect.el (apply-on-rectangle): Return the point after the last
10459 operation.
10460 (string-rectangle): Go to the point after the last operation
10461 (bug#7522).
10462
10463 * printing.el (pr-toggle-region): Clarify the documentation
10464 slightly (bug#7493).
10465
10466 * time.el (display-time-update):
10467 Allow `display-time-mail-function' to return nil (bug#7158).
10468 Fix suggested by Detlev Zundel.
10469
10470 * vc/diff.el (diff): Clarify the order the file names are read
10471 (bug#7111).
10472
10473 * mouse.el (mouse-set-region): Link to `mouse-drag-copy-region' in
10474 the doc string (bug#7015).
10475
10476 * font-lock.el (font-lock-maximum-decoration): Mention what
10477 numeric levels mean (bug#6935).
10478
10479 * startup.el (initial-buffer-choice): Don't mention the `none'
10480 selection, which is against policy.
10481
10482 2011-07-14 Martin Rudalics <rudalics@gmx.at>
10483
10484 * window.el (display-buffer-normalize-special):
10485 Replace `dedicated' by `dedicate' to dedicate window (Bug#9072).
10486
10487 2011-07-14 Eli Zaretskii <eliz@gnu.org>
10488
10489 * subr.el (version<, version<=, version=): Mention "-CVS" and
10490 "-12345" alpha version numbers.
10491
10492 2011-07-14 Chong Yidong <cyd@stupidchicken.com>
10493
10494 * bindings.el: Add advertised binding for set-mark-command
10495 (Bug#5772).
10496
10497 2011-07-14 Chong Yidong <cyd@stupidchicken.com>
10498
10499 * bindings.el (mode-line-other-buffer):
10500 * bookmark.el (bookmark-bmenu-2-window):
10501 * bs.el (bs-cycle-next, bs-cycle-previous):
10502 * net/tramp-cmds.el (tramp-append-tramp-buffers): Revert to using
10503 switch-to-buffer.
10504
10505 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
10506 Delete.
10507
10508 2011-07-14 Juanma Barranquero <lekktu@gmail.com>
10509
10510 * follow.el (follow-debug-message, follow-redisplay):
10511 * jka-cmpr-hook.el (with-auto-compression-mode):
10512 Fix typos in docstrings.
10513
10514 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
10515
10516 * subr.el (with-silent-modifications): Clarify somewhat what the
10517 macro inhibits (bug#6525).
10518
10519 * simple.el (eval-expression): Note what it does if called
10520 interactively (bug#6495).
10521
10522 2011-07-13 Chong Yidong <cyd@stupidchicken.com>
10523
10524 * window.el (switch-to-buffer): New arg FORCE-SAME-WINDOW.
10525 Use pop-to-buffer buffer-or-name if it is nil.
10526
10527 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
10528 Remove switch-to-buffer.
10529
10530 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
10531
10532 * files.el (make-directory): Clarify that an error will be raised
10533 if there's an error (bug#6397).
10534
10535 * startup.el (initial-buffer-choice): Add `none' as a choice
10536 (bug#6234).
10537
10538 * subr.el (add-hook): Clarify section about buffer-local hooks
10539 (bug#6218).
10540
10541 * dired.el (dired-flagged): Clarify doc string (bug#6117).
10542
10543 2011-07-13 Juanma Barranquero <lekktu@gmail.com>
10544
10545 * tabify.el (untabify): Preserve the current column so that point
10546 doesn't move (bug#6032).
10547
10548 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
10549
10550 * progmodes/cperl-mode.el (cperl-syntaxify-by-font-lock):
10551 Rewrite to avoid awkward possessive "s" (bug#5986).
10552
10553 2011-07-13 Glenn Morris <rgm@gnu.org>
10554
10555 * dired.el (dired-use-ls-dired): Doc fix. (Bug#9039).
10556 (dired-insert-directory): Give a message the first time
10557 if ls is found not to support --dired.
10558
10559 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
10560
10561 * simple.el (toggle-truncate-lines): Clarify what is toggled
10562 (bug#5580). Text by Drew Adams.
10563
10564 2011-07-13 Chong Yidong <cyd@stupidchicken.com>
10565
10566 * simple.el (blink-matching-open): Make the error message from the
10567 last change less verbose.
10568
10569 2011-07-13 Dan Nicolaescu <dann@ics.uci.edu>
10570
10571 * font-lock.el (font-lock-comment-face): Use the high contrast
10572 "yellow" color for font-lock-comment-face on low color terminals
10573 using a dark background color (bug#4221).
10574
10575 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
10576
10577 * dired.el (dired-insert-set-properties): Make the doc string
10578 reflect what it does now (bug#5325).
10579
10580 * simple.el (blink-matching-open): Say that we were unable to find
10581 the match within the limit, if we're limited (bug#5122).
10582
10583 * international/mule-cmds.el (prefer-coding-system): Add an
10584 example (bug#4869).
10585
10586 * progmodes/etags.el (tags-search): Document `file-list-form'
10587 (bug#4731).
10588
10589 2011-07-13 Lawrence Mitchell <wence@gmx.li>
10590
10591 * net/browse-url.el (browse-url-default-browser)
10592 (browse-url-browser-function): Make the default browser choice a
10593 bit more logical (bug#4300). Also clean up the doc string.
10594
10595 2011-07-13 Juanma Barranquero <lekktu@gmail.com>
10596
10597 * bindings.el (completion-ignored-extensions): Add OpenMCL/Clozure
10598 binary endings (bug#4440).
10599
10600 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
10601
10602 * info.el (info-insert-file-contents): Inhibit jka-compr messages,
10603 which can be pretty annoying (bug#8971).
10604
10605 * jka-compr.el (jka-compr-verbose): New variable, and use
10606 throughout (bug#8971).
10607
10608 * info.el (Info-find-file): Fall back on the installation
10609 directory if we can't find the info node anywhere else.
10610
10611 2011-07-13 Sergei Organov <osv@javad.com> (tiny change)
10612
10613 * vc/vc.el (vc-revert-file):
10614 Don't set file time-stamp in the past. (Bug#5181)
10615
10616 2011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
10617
10618 * files.el (after-find-file): Give a better error message when
10619 trying to find a symlink that points to a file that doesn't exist
10620 (bug#4398).
10621
10622 * progmodes/cc-vars.el: Remove (probably) misleading comment
10623 (bug#4396).
10624
10625 2011-07-12 Johan Bockgård <bojohan@gnu.org>
10626
10627 * mouse-sel.el (mouse-sel-primary-overlay): Use the `region' face.
10628
10629 2011-07-12 Chong Yidong <cyd@stupidchicken.com>
10630
10631 * mouse-sel.el: Hack restoring functionality, while keeping
10632 compatibility with 2010-07-03 changes to mouse selection.
10633 (mouse-sel-primary-overlay): New var.
10634 (mouse-sel-selection-alist): Use it.
10635 (mouse-sel-mode): Doc fix; remove points that are default features
10636 of mouse.el.
10637
10638 2011-07-12 Johan Bockgård <bojohan@gnu.org>
10639
10640 * progmodes/compile.el (compilation-error-regexp-alist-alist):
10641 Fix previous fix (bug#2490).
10642
10643 2011-07-12 Roland Winkler <winkler@gnu.org>
10644
10645 * textmodes/bibtex.el (bibtex-initialize):
10646 Use pop-to-buffer-same-window.
10647 (bibtex-search-entries): Fix interactive call.
10648
10649 2011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
10650
10651 * progmodes/compile.el (compilation-error-regexp-alist-alist):
10652 Fontise bytecomp Error lines more correctly (bug#2490).
10653 Fix suggested by Johan Bockgård.
10654
10655 * subr.el (remove-duplicates): Remove; `delete-dups' is sufficient.
10656
10657 * dired-x.el (dired-guess-default): Use `delete-dups'.
10658
10659 2011-07-12 Chong Yidong <cyd@stupidchicken.com>
10660
10661 * dired.el (dired-mark-prompt):
10662 * dired-aux.el (dired-read-shell-command): Doc fix.
10663
10664 2011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
10665
10666 * mail/sendmail.el (sendmail-query-once):
10667 Use `customize-save-variable' unconditionally, now that it works under
10668 emacs -Q.
10669
10670 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
10671
10672 * cus-edit.el (custom-file): Take an optional no-error variable.
10673 (customize-save-variable): Set the variable, and give a warning if
10674 running under "emacs -q".
10675
10676 2011-07-11 Juanma Barranquero <lekktu@gmail.com>
10677
10678 * loadhist.el (unload-feature-special-hooks):
10679 Add `auto-coding-functions', `fill-nobreak-predicate' and
10680 `find-directory-functions' (bug#5327).
10681
10682 2011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
10683
10684 * vc/ediff.el (ediff-patch-file): Clarify doc string (bug#3138).
10685
10686 * cus-edit.el (custom-guess-name-alist): -alist variables should
10687 use the `alist' type (bug#3120). Suggested by Drew Adams.
10688
10689 * printing.el: Add documentation to all the `pr-toggle-' commands.
10690
10691 2011-07-11 Leo Liu <sdl.web@gmail.com>
10692
10693 * files.el (toggle-read-only): Only do the `C-x C-q' warning on VC
10694 backends where it makes sense (bug#2623).
10695
10696 2011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
10697
10698 * dired-x.el (dired-guess-default): Remove duplicate shell command
10699 entries (bug#2028).
10700 (dired-guess-default): Fix grammar in doc string (bug#2028).
10701 (dired-guess-shell-alist-user): Clarify the example a bit (bug#2030).
10702
10703 * subr.el (remove-duplicates): New conveniency function.
10704
10705 2011-07-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
10706
10707 * tool-bar.el (tool-bar-mode): Clarify positive/negative arguments
10708 (bug#1526).
10709
10710 2011-07-10 Martin Rudalics <rudalics@gmx.at>
10711
10712 * window.el (display-buffer-normalize-default): Don't invert
10713 meaning of even-window-heights. Reported by Eli Zaretskii
10714 <eliz@gnu.org>.
10715
10716 2011-07-10 Bob Rogers <rogers@rgrjr.dyndns.org>
10717
10718 * vc/vc.el (vc-diff-internal): Fix race condition (Bug#1256).
10719
10720 2011-07-10 Chong Yidong <cyd@stupidchicken.com>
10721
10722 * window.el (display-buffer): Fix arguments to
10723 display-buffer-reuse-window in last change.
10724
10725 * faces.el (link): Use a less saturated blue on light backgrounds.
10726
10727 * startup.el (fancy-startup-text, fancy-about-text)
10728 (fancy-startup-tail): Use font-lock faces, for background safety.
10729
10730 2011-07-09 Bob Nnamtrop <bobnnamtrop@gmail.com> (tiny change)
10731
10732 * emulation/viper-cmd.el (viper-change-state-to-vi):
10733 Limit triggering of abbrev expansion (Bug#9038).
10734
10735 2011-07-09 Martin Rudalics <rudalics@gmx.at>
10736
10737 * window.el (display-buffer-default-specifiers): Remove.
10738 (display-buffer-macro-specifiers): Remove default specifiers.
10739 (display-buffer-alist): Default to nil.
10740 (display-buffer-reuse-window): New optional argument other-window.
10741 (display-buffer-pop-up-window): Allow splitting internal
10742 windows. Check whether a live window was created.
10743 (display-buffer-other-window-means-other-frame)
10744 (display-buffer-normalize-arguments): Rename to
10745 display-buffer-normalize-argument and rewrite. Set the
10746 other-window specifier.
10747 (display-buffer-normalize-special): New function.
10748 (display-buffer-normalize-options): Rename to
10749 display-buffer-normalize-default and rewrite.
10750 (display-buffer-normalize-options-inhibit): Remove.
10751 (display-buffer-normalize-specifiers): Rewrite.
10752 (display-buffer): Process other-window specifier and call
10753 display-buffer-reuse-window with it. Emulate Emacs 23 behavior
10754 more faithfully.
10755 (pop-up-windows, even-window-heights): Restore Emacs 23 default values.
10756 (display-buffer-alist-set): Don't handle 'unset default values.
10757 (display-buffer-in-window, display-buffer-alist-set):
10758 Replace symbol "dedicated" by "dedicate". Reported by Tassilo Horn
10759 <tassilo@member.fsf.org>.
10760
10761 2011-07-09 Leo Liu <sdl.web@gmail.com>
10762
10763 * register.el (insert-register): Restore accidental change on
10764 2011-06-26. (Bug#9028)
10765
10766 2011-07-09 Glenn Morris <rgm@gnu.org>
10767
10768 * subr.el (remq): Handle the empty list. (Bug#9024)
10769
10770 2011-07-08 Andreas Schwab <schwab@linux-m68k.org>
10771
10772 * mail/sendmail.el (send-mail-function): No longer delay custom
10773 initialization.
10774 * custom.el (custom-initialize-delay): Doc fix.
10775
10776 2011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
10777
10778 * abbrev.el (expand-abbrev): Try to preserve point (bug#5805).
10779
10780 2011-07-08 Michael Albinus <michael.albinus@gmx.de>
10781
10782 * net/tramp-sh.el (tramp-sh-handle-start-file-process): Use a
10783 human-friendly prompt.
10784
10785 2011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
10786
10787 * vc/vc-bzr.el (vc-bzr-revision-keywords): Remove svn, it's only
10788 provided by a particular plugin.
10789
10790 2011-07-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
10791
10792 * mail/sendmail.el (sendmail-query-once): If we aren't allowed to
10793 save customizations (with "emacs -Q"), just set the variable
10794 instead of erroring out.
10795
10796 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
10797
10798 2011-07-08 Juri Linkov <juri@jurta.org>
10799
10800 * arc-mode.el (archive-zip-expunge, archive-zip-update)
10801 (archive-zip-update-case): Use 7z if found by `executable-find'.
10802 The order of searching the available programs is the same as in
10803 `archive-zip-extract' (bug#8968).
10804
10805 2011-07-07 Chong Yidong <cyd@stupidchicken.com>
10806
10807 * menu-bar.el (menu-bar-line-wrapping-menu): Revert last change.
10808 (menu-bar-options-menu): Tweak descriptions.
10809
10810 2011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
10811
10812 * menu-bar.el (menu-bar-line-wrapping-menu): Make all the Options
10813 menu items into verb phrases (bug#1421). Also refill to fit under
10814 80 columns.
10815
10816 2011-07-07 Chong Yidong <cyd@stupidchicken.com>
10817
10818 * info.el (info, Info-read-node-name-2, Info-read-node-name-1)
10819 (Info-read-node-name): Doc fix (Bug#1084).
10820
10821 * thingatpt.el (forward-thing, bounds-of-thing-at-point)
10822 (thing-at-point, beginning-of-thing, end-of-thing, in-string-p)
10823 (end-of-sexp, beginning-of-sexp)
10824 (thing-at-point-bounds-of-list-at-point, forward-whitespace)
10825 (forward-symbol, forward-same-syntax, word-at-point)
10826 (sentence-at-point): Doc fix (Bug#1144).
10827
10828 2011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
10829
10830 * info.el (Info-mode-map): Remove S-TAB binding, since [backtab]
10831 should cover it (bug#1281).
10832
10833 * cus-edit.el (custom-show): Mark as obsolete.
10834
10835 * net/network-stream.el (network-stream-open-starttls): If GnuTLS
10836 negotiation fails, then possibly try again with a non-encrypted
10837 connection (bug#9017).
10838
10839 * mail/smtpmail.el (smtpmail-stream-type): Note that `plain' can
10840 be used.
10841
10842 2011-07-07 Richard Stallman <rms@gnu.org>
10843
10844 * mail/rmail.el (rmail-next-error-move): Use `compilation-message'
10845 property, and handle its changed format.
10846 Look for the correct line number.
10847 Use file's line contents (but not past first =) to find
10848 correct line in message.
10849
10850 2011-07-07 Kenichi Handa <handa@m17n.org>
10851
10852 * international/characters.el (build-unicode-category-table):
10853 Delete it.
10854 (unicode-category-table): Set it by unicode-property-table-internal.
10855
10856 * international/mule-cmds.el (char-code-property-alist): Move to
10857 to src/chartab.c.
10858 (get-char-code-property): Call unicode-property-table-internal to
10859 load a file. Call get-unicode-property-internal where necessary.
10860 (put-char-code-property): Call unicode-property-table-internal to
10861 load a file. Call put-unicode-property-internal where necessary.
10862 put-unicode-property-internal where necessary.
10863 (char-code-property-description):
10864 Call unicode-property-table-internal to load a file.
10865
10866 * international/charprop.el:
10867 * international/uni-bidi.el:
10868 * international/uni-category.el:
10869 * international/uni-combining.el:
10870 * international/uni-comment.el:
10871 * international/uni-decimal.el:
10872 * international/uni-decomposition.el:
10873 * international/uni-digit.el:
10874 * international/uni-lowercase.el:
10875 * international/uni-mirrored.el:
10876 * international/uni-name.el:
10877 * international/uni-numeric.el:
10878 * international/uni-old-name.el:
10879 * international/uni-titlecase.el:
10880 * international/uni-uppercase.el: Regenerate.
10881
10882 * loadup.el: Load international/charprop.el before
10883 international/characters.
10884
10885 2011-07-07 Chong Yidong <cyd@stupidchicken.com>
10886
10887 * window.el (next-buffer, previous-buffer): Signal an error if
10888 called from a minibuffer window.
10889
10890 * bindings.el: Revert 2011-07-04 change.
10891
10892 2011-07-06 Richard Stallman <rms@gnu.org>
10893
10894 * mail/rmailmm.el (rmail-mime-process): Use markers for buf positions.
10895 (rmail-mime-insert-bulk, rmail-mime-insert-text):
10896 Treat markers like ints.
10897 (rmail-mime-entity): Doc fix.
10898
10899 2011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
10900
10901 * mail/smtpmail.el (smtpmail-default-smtp-server): Made into a
10902 defcustom again for backwards compatibility.
10903
10904 * simple.el (shell-command-on-region): Fill.
10905
10906 * dired-aux.el (dired-kill-line): Add a doc string.
10907
10908 * dabbrev.el (dabbrev-abbrev-char-regexp): Note that nil defaults
10909 to "\\sw\\|\\s_" (bug#358).
10910
10911 * dired.el (dired-mode): Clarify "unmark or unflag" (bug#8770).
10912 (dired-unmark-backward): Ditto.
10913 (dired-flag-backup-files): Ditto.
10914
10915 * dired-x.el (dired-mark-sexp): Ditto.
10916
10917 2011-07-06 Richard Stallman <rms@gnu.org>
10918
10919 * mail/rmailmm.el: Give entity a new slot, TRUNCATED.
10920 (rmail-mime-entity): New arg TRUNCATED.
10921 (rmail-mime-entity-truncated, rmail-mime-entity-set-truncated):
10922 New functions.
10923 (rmail-mime-save): Warn if entity is truncated.
10924 (rmail-mime-toggle-hidden): Likewise, for showing.
10925 (rmail-mime-process-multipart): Record when an entity is truncated.
10926
10927 * mail/rmailmm.el (rmail-search-mime-message): Don't get confused
10928 if ENTITY is a string.
10929
10930 2011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
10931
10932 * emacs-lisp/lisp-mode.el (eval-defun-1): Update the documentation
10933 of faces when `M-C-x'-ing their definitions (bug#8378).
10934 Also clean up the code slightly.
10935
10936 * progmodes/grep.el (rgrep): Don't bind `process-connection-type',
10937 because that makes the colors go away.
10938
10939 * mail/sendmail.el (send-mail-function): Change the default to
10940 `sendmail-query-once'.
10941 (sendmail-query-once): Add an autoload cookie.
10942
10943 * net/network-stream.el (network-stream-open-starttls): Try using
10944 a plain connection even if the server offered STARTTLS, and we
10945 kinda wanted to use it, if Emacs doesn't have any STARTTLS
10946 capability. This should make smtpmail.el work in slightly more
10947 configurations.
10948
10949 2011-07-06 Michael Albinus <michael.albinus@gmx.de>
10950
10951 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
10952 New defun.
10953 * net/tramp-cmds.el (tramp-append-tramp-buffers): Use it.
10954
10955 2011-07-06 Michael R. Mauger <mmaug@yahoo.com>
10956
10957 * progmodes/sql.el: Version 3.0
10958 (sql-product-alist): Add product :completion-object,
10959 :completion-column, and :statement attributes.
10960 (sql-mode-menu, sql-interactive-mode-map): Fix List entries.
10961 (sql-mode-syntax-table): Mark all punctuation.
10962 (sql-font-lock-keywords-builder): Temporarily remove fallback on
10963 ansi keywords.
10964 (sql-regexp-abbrev, sql-regexp-abbrev-list): New functions.
10965 (sql-mode-oracle-font-lock-keywords): Improve.
10966 (sql-oracle-show-reserved-words): New function for development.
10967 (sql-product-font-lock): Simplify for source code buffers.
10968 (sql-product-syntax-table, sql-product-font-lock-syntax-alist):
10969 New functions.
10970 (sql-highlight-product): Set product specific syntax table.
10971 (sql-mode-map): Add statement movement functions.
10972 (sql-ansi-statement-starters, sql-oracle-statement-starters):
10973 New variable.
10974 (sql-statement-regexp, sql-beginning-of-statement)
10975 (sql-end-of-statement, sql-signum): New functions.
10976 (sql-buffer-live-p, sql=find-sqli-buffer): Add CONNECTION parameter.
10977 (sql-show-sqli-buffer): Bug fix.
10978 (sql-interactive-mode): Store connection data as buffer local.
10979 (sql-connect): Add NEW-NAME parameter. Redesign interaction
10980 with sql-interactive-mode.
10981 (sql-save-connection): Save buffer local settings.
10982 (sql-connection-menu-filter): Change menu entry name.
10983 (sql-product-interactive): Bug fix.
10984 (sql-preoutput-hold): New variable.
10985 (sql-interactive-remove-continuation-prompt): Bug fixes.
10986 (sql-debug-redirect): New variable.
10987 (sql-str-literal): New function.
10988 (sql-redirect, sql-redirect-one, sql-redirect-value, sql-execute):
10989 Redesign.
10990 (sql-oracle-save-settings, sql-oracle-restore-settings)
10991 (sql-oracle-list-all, sql-oracle-list-table): New functions.
10992 (sql-completion-object, sql-completion-column)
10993 (sql-completion-sqlbuf): New variables.
10994 (sql-build-completions-1, sql-build-completions)
10995 (sql-try-completion): New functions.
10996 (sql-read-table-name): Use them.
10997 (sql-contains-names): New buffer local variable.
10998 (sql-list-all, sql-list-table): Use it.
10999 (sql-oracle-completion-types): New variable.
11000 (sql-oracle-completion-object, sql-sqlite-completion-object)
11001 (sql-postgres-completion-object): New functions.
11002
11003 2011-07-06 Glenn Morris <rgm@gnu.org>
11004
11005 * window.el (pop-to-buffer): Doc fix.
11006
11007 2011-07-06 Markus Heiser <markus.heiser@darmarit.de> (tiny change)
11008
11009 * progmodes/gud.el (gud-pdb-marker-regexp): Accept \r char (Bug#5653).
11010
11011 2011-07-06 Chong Yidong <cyd@stupidchicken.com>
11012
11013 * window.el (special-display-popup-frame): Doc fix (Bug#8853).
11014
11015 * info.el (Info-directory-toc-nodes): Minor doc fix (Bug#8833).
11016
11017 2011-07-05 Chong Yidong <cyd@stupidchicken.com>
11018
11019 * button.el (button): Inherit from link face. Suggested by Dan
11020 Nicolaescu.
11021
11022 2011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
11023
11024 * progmodes/gdb-mi.el: Fit in 80 columns.
11025 (gdb-setup-windows, gdb-restore-windows): Avoid other-window and
11026 switch-to-buffer.
11027
11028 * progmodes/which-func.el (which-func-ff-hook): Don't output a message
11029 if imenu is simply not configured (bug#8941).
11030
11031 2011-07-05 Ken Manheimer <ken.manheimer@gmail.com>
11032
11033 * allout.el (allout-post-undo-hook): New allout outline-change
11034 event hook to signal undo activity.
11035 (allout-post-command-business): Run allout-post-undo-hook if an
11036 undo just occurred.
11037 (allout-after-copy-or-kill-hook, allout-mode): Minor docstring changes.
11038 * allout-widgets.el (allout-widgets-after-undo-function):
11039 Ensure the integrity of the current item's decoration after it has been
11040 in the vicinity of an undo.
11041 (allout-widgets-mode): Include allout-widgets-after-undo-function
11042 on the new allout-post-undo-hook.
11043
11044 2011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
11045
11046 * emacs-lisp/lisp-mode.el (lisp-interaction-mode-abbrev-table):
11047 Let define-derived-mode define it.
11048 * emacs-lisp/derived.el (define-derived-mode): Try to avoid creating
11049 cycles of abbrev-table inheritance (bug#8998).
11050
11051 2011-07-05 Roland Winkler <winkler@gnu.org>
11052
11053 * textmodes/bibtex.el: Add support for biblatex.
11054 (bibtex-BibTeX-entry-alist, bibtex-biblatex-entry-alist)
11055 (bibtex-BibTeX-field-alist, bibtex-biblatex-field-alist)
11056 (bibtex-dialect-list, bibtex-dialect, bibtex-no-opt-remove-re)
11057 (bibtex-entry-alist, bibtex-field-alist): New variables.
11058 (bibtex-entry-field-alist): Obsolete alias for
11059 bibtex-BibTeX-entry-alist.
11060 (bibtex-entry-alist, bibtex-field-alist): New widgets.
11061 (bibtex-set-dialect): New command.
11062 (bibtex-entry-type, bibtex-entry-head)
11063 (bibtex-entry-maybe-empty-head, bibtex-any-valid-entry-type):
11064 Bind via bibtex-set-dialect.
11065 (bibtex-Article, bibtex-Book, bibtex-Booklet, bibtex-InBook)
11066 (bibtex-InCollection, bibtex-InProceedings, bibtex-Manual)
11067 (bibtex-MastersThesis, bibtex-Misc, bibtex-PhdThesis)
11068 (bibtex-Proceedings, bibtex-TechReport, bibtex-Unpublished):
11069 Define via bibtex-set-dialect.
11070 (bibtex-name-in-field, bibtex-remove-OPT-or-ALT):
11071 Obey bibtex-no-opt-remove-re.
11072 (bibtex-vec-push, bibtex-vec-incr): New functions.
11073 (bibtex-format-entry, bibtex-field-list)
11074 (bibtex-print-help-message, bibtex-validate)
11075 (bibtex-search-entries): Use new format of bibtex-entry-alist.
11076
11077 2011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
11078
11079 * progmodes/compile.el (compilation-goto-locus):
11080 * net/tramp-cmds.el (tramp-append-tramp-buffers):
11081 * bs.el (bs-cycle-next, bs-cycle-previous):
11082 * bookmark.el (bookmark-bmenu-list, bookmark-bmenu-2-window):
11083 * bindings.el (mode-line-other-buffer):
11084 * autoinsert.el (auto-insert):
11085 * arc-mode.el (archive-extract):
11086 * abbrev.el (edit-abbrevs): Fix some uses of switch-to-buffer.
11087
11088 2011-07-05 Juanma Barranquero <lekktu@gmail.com>
11089
11090 * emacs-lock.el (emacs-lock-mode): Fix typo in variable name.
11091 Fix check of `emacs-lock-unlockable-modes'.
11092 Coerce true values of `emacs-lock--try-unlocking' to t.
11093
11094 2011-07-05 Juanma Barranquero <lekktu@gmail.com>
11095
11096 * obsolete/old-emacs-lock.el: Rename from emacs-lock.el.
11097 * emacs-lock.el: New file.
11098
11099 2011-07-05 Julien Danjou <julien@danjou.info>
11100
11101 * textmodes/rst.el (rst-define-level-faces): Use `facep' rather
11102 than `boundp' to check if face is set.
11103
11104 2011-07-05 Juanma Barranquero <lekktu@gmail.com>
11105
11106 * register.el (registerv-make):
11107 * window.el (window-min-height): Fix typos in docstrings.
11108
11109 2011-07-05 Jan Djärv <jan.h.d@swipnet.se>
11110
11111 * dynamic-setting.el (dynamic-setting-handle-config-changed-event):
11112 Update doc string.
11113
11114 2011-07-04 Juanma Barranquero <lekktu@gmail.com>
11115
11116 * server.el (server-execute): Catch quit and call
11117 `server-return-error' to pass the error back to emacsclient and
11118 close the connection (bug#8942).
11119
11120 2011-07-04 Ken Manheimer <ken.manheimer@gmail.com>
11121
11122 * allout.el (allout-encrypt-unencrypted-on-saves): Do not provide
11123 insecure exception for current topic. Also note that auto-saves
11124 are handled differently.
11125
11126 (allout-auto-save-temporarily-disabled, allout-just-did-undo):
11127 State variables for tracking auto-save inhibition situation.
11128
11129 (allout-write-contents-hook-handler): Rename from
11130 'allout-write-file-hook-handler', and describe how it depends on
11131 write-contents-functions sensitivity to non-nil value to prevent
11132 file write.
11133
11134 (allout-auto-save-hook-handler): Remove. auto-save does not check
11135 this in individual buffers, only in the starting buffer, so this
11136 is not the right way for us to inhibit auto-save in a buffer
11137 according to its condition.
11138
11139 (allout-mode): Use new allout-write-contents-hook-handler, and
11140 only with write-contents-functions. Remove auto-save provisions -
11141 they're implemented elsewhere.
11142
11143 (allout-before-change-handler): If undo is in progress, note that
11144 for attention of allout-post-command-business.
11145
11146 (allout-post-command-business): If the command we're following was
11147 an undo, check for change in the status of encrypted items and
11148 adjust auto-save inhibitions accordingly.
11149
11150 (allout-toggle-subtree-encryption): Adjust auto-save inhibition
11151 according to whether there are or aren't any plain-text topics
11152 pending encryption.
11153
11154 (allout-inhibit-auto-save-info-for-decryption):
11155 Adjust buffer-saved-size and some allout state to inhibit auto-saves
11156 if there are plain-text topics pending encryption.
11157
11158 (allout-maybe-resume-auto-save-info-after-encryption): Adjust
11159 buffer-saved-size and some allout state to not inhibit auto-saves
11160 if there are no longer any plain-text topics pending encryption.
11161
11162 (allout-next-topic-pending-encryption, allout-encrypt-decrypted):
11163 No longer provide for exemption of the current topic.
11164
11165 2011-07-04 Juri Linkov <juri@jurta.org>
11166
11167 Add 7z operations to delete and save changed members (bug#8968).
11168 * arc-mode.el (archive-7z-expunge, archive-7z-update):
11169 New defcustoms.
11170 (archive-7z-write-file-member): New function.
11171 (archive-7z-summarize): Fix the number of dashes in the
11172 listing output.
11173
11174 2011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
11175
11176 * pcmpl-linux.el (pcomplete-pare-list): Re-add, from pcomplete.el
11177 (bug#8958).
11178
11179 2011-07-04 Chong Yidong <cyd@stupidchicken.com>
11180
11181 * bindings.el: Ignore next-buffer and previous-buffer in
11182 minibuffer-local-map.
11183
11184 * font-lock.el (font-lock-builtin-face): Change light background
11185 color to dark slate blue (Bug#6693).
11186
11187 2011-07-04 Wang Diancheng <dcwang@kingbase.com.cn> (tiny change)
11188
11189 * progmodes/gdb-mi.el (gdb): Use completion-at-point.
11190
11191 2011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
11192
11193 * files.el (find-file): Use pop-to-buffer-same-window (bug#8911).
11194 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
11195 Add switch-to-buffer.
11196
11197 2011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
11198
11199 * isearch.el (isearch-search-fun-function): Clarify further the
11200 meaning of the function returned.
11201
11202 2011-07-04 Michael Albinus <michael.albinus@gmx.de>
11203
11204 * net/tramp-cmds.el (tramp-cleanup-this-connection): New command.
11205
11206 * net/tramp-sh.el (tramp-color-escape-sequence-regexp): New defconst.
11207 (tramp-sh-handle-insert-directory, tramp-convert-file-attributes):
11208 Use it.
11209 (tramp-remote-path): Add "/bin" and "/usr/bin". On busyboxes,
11210 `tramp-default-remote-path' does not exist.
11211 (tramp-send-command-and-read): New optional argument NOERROR.
11212 (tramp-open-connection-setup-interactive-shell)
11213 (tramp-get-remote-path, tramp-get-remote-stat): Use it.
11214 (tramp-get-remote-readlink): Do not mask with `ignore-errors'.
11215 (tramp-process-sentinel): Flush also process' connection property.
11216 (tramp-sh-handle-start-file-process): Do not set process
11217 sentinel. It is done now ...
11218 (tramp-maybe-open-connection): ... here. (Bug#8929)
11219
11220 2011-07-04 MON KEY <monkey@sandpframing.com>
11221
11222 * play/animate.el (animate-string): Doc fixes and allow changing
11223 the buffer name (bug#5417).
11224
11225 2011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
11226
11227 * play/animate.el (animation-buffer-name): Rename from *animate*.
11228
11229 2011-07-04 Paul Eggert <eggert@cs.ucla.edu>
11230
11231 * emacs-lisp/timer.el: Use time-date fns rather than rolling our own.
11232 This is simpler and helps future-proof the code.
11233 (timer-until): Use time-subtract and float-time.
11234 (timer--time-less-p): Use time-less-p.
11235
11236 2011-07-04 Juanma Barranquero <lekktu@gmail.com>
11237
11238 * type-break.el (timep): Use the value of `float-time' to avoid a
11239 byte-compiler warning.
11240
11241 * server.el (server-eval-and-print): Return any result, even nil.
11242
11243 2011-07-03 Paul Eggert <eggert@cs.ucla.edu>
11244
11245 * type-break.el: Accept time formats that the builtins accept.
11246 (timep, type-break-time-difference): Accept any format that
11247 float-time accepts, rather than insisting on (HIGH LOW USECS) format.
11248 This is simpler and helps future-proof the code.
11249 (type-break-time-difference): Round rather than ignoring
11250 subseconds components.
11251
11252 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
11253
11254 * info.el (Info-apropos-matches): Make non-interactive, since it
11255 doesn't seem to do anything useful as a command (bug#8829).
11256
11257 2011-07-03 Chong Yidong <cyd@stupidchicken.com>
11258
11259 * frame.el (frame-background-mode, frame-set-background-mode):
11260 Move from faces.el.
11261 (frame-default-terminal-background): New function.
11262
11263 * custom.el (custom-push-theme): Don't record faces in `changed'
11264 theme; this doesn't work correctly for per-frame face settings.
11265 (disable-theme): Use face-set-after-frame-default to reset faces.
11266 (custom--frame-color-default): New function.
11267
11268 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
11269
11270 * dired.el (dired-flagging-regexp): Remove unused variable
11271 (bug#8769).
11272
11273 2011-03-29 Kevin Ryde <user42@zip.com.au>
11274
11275 * progmodes/compile.el (compilation-error-regexp-alist-alist):
11276 `perl-Test2' extend to match possible "fail #N" rep count
11277 (bug#8377).
11278
11279 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
11280
11281 * mail/feedmail.el (feedmail-buffer-to-smtpmail):
11282 `smtpmail-via-smtp' now returns the error instead of nil.
11283
11284 * isearch.el (isearch-search-fun-function): Clarify the doc string
11285 (bug#8101).
11286
11287 2011-07-03 Richard Kim <emacs18@gmail.com> (tiny change)
11288
11289 * textmodes/texnfo-upd.el (texinfo-insert-menu): Don't insert
11290 unnecessary spaces (bug#8987).
11291
11292 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
11293
11294 * net/network-stream.el (open-network-stream): Use the
11295 :end-of-capability command thoughout.
11296
11297 2011-07-03 Wolfgang Jenkner <wjenkner@inode.at> (tiny change)
11298
11299 * net/network-stream.el (open-network-stream): Add the
11300 :end-of-capability command parameter, used by pop3.el.
11301
11302 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
11303
11304 * dired.el (dired-map-over-marks): Refill the doc string (bug#6814).
11305
11306 * fringe.el (fringe-query-style): Remove redundant text " (type ?
11307 for list)" (bug#6475).
11308
11309 * files.el (file-expand-wildcards): Ignore non-readable
11310 sub-directories while trying to find matches instead of signaling
11311 an error (bug#6297).
11312
11313 * man.el (Man-reference-regexp): Allow matching possible
11314 word-wrapped references (bug#6289).
11315
11316 * vc/vc.el (vc-modify-change-comment): Change *VC-log* to *vc-log*
11317 for consistency with the other vc buffers (bug#6197).
11318 (vc-checkin): Ditto.
11319
11320 * vc/vc-arch.el: Fix comments to match the *VC-log* name change.
11321
11322 * longlines.el (longlines-mode): Document what ARG does (bug#6150).
11323
11324 2011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
11325
11326 * custom.el (defcustom): Clarify that :set is only used in the
11327 Customize user interface (bug#6089).
11328
11329 * progmodes/flymake.el (flymake-mode): If the buffer isn't
11330 associated with a file, refuse to run instead of erroring out
11331 (bug#6084).
11332
11333 * textmodes/fill.el (fill-region): Remove the "Ordinarily" from
11334 the doc string, since it appears that using `fill-column' always
11335 controls the width (bug#7845).
11336
11337 * simple.el (shell-command-on-region): Say where the error output
11338 went if `shell-command-default-error-buffer' is set (bug#6857).
11339
11340 2011-07-02 Ken Manheimer <ken.manheimer@gmail.com>
11341
11342 * allout.el (allout-yank-processing): Adjust cursor position for
11343 backwards-deleted space.
11344
11345 (allout-rebullet-heading): Register changes with
11346 allout-exposure-changed-hook, so the modified topic is properly
11347 decorated.
11348
11349 2011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
11350
11351 * minibuffer.el (completion-in-region): Document PREDICATE
11352 (bug#7136).
11353
11354 * info-look.el (info-lookup-add-help): Clarify that ARGS is a list
11355 of keyword/argument pairs (bug#6904).
11356
11357 * replace.el (multi-occur):
11358 Mention `multi-occur-in-matching-buffers' in the doc string (bug#7566).
11359
11360 2011-07-02 Drew Adams <drew.adams@oracle.com>
11361
11362 * dired.el (dired-mark-if): Make the message about whether it's
11363 marking or unmarking clearer (bug#8523).
11364
11365 2011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
11366
11367 * disp-table.el (display-table-print-array): New function.
11368 (describe-display-table): Use it to print the vectors more pretty
11369 (Bug#8859).
11370
11371 2011-07-02 Martin Rudalics <rudalics@gmx.at>
11372
11373 * window.el (window-state-get-1): Don't assign clone numbers.
11374 Add clone-of item to list of window parameters.
11375 (window-state-put-2): Don't process clone numbers.
11376 (display-buffer-alist): Fix doc-string.
11377
11378 2011-07-02 Stefan Monnier <monnier@iro.umontreal.ca>
11379
11380 * subr.el (remq): Don't allocate if it's not needed.
11381 (keymap--menu-item-binding, keymap--menu-item-with-binding)
11382 (keymap--merge-bindings): New functions.
11383 (keymap-canonicalize): Use them to refine the canonicalization.
11384 * minibuffer.el (minibuffer-local-completion-map)
11385 (minibuffer-local-must-match-map): Move initialization from C.
11386 (minibuffer-local-filename-completion-map): Move initialization from C;
11387 don't inherit from anything here.
11388 (minibuffer-local-filename-must-match-map): Make obsolete.
11389 (completing-read-default): Use make-composed-keymap to combine
11390 minibuffer-local-filename-completion-map with either
11391 minibuffer-local-must-match-map or
11392 minibuffer-local-filename-completion-map.
11393
11394 2011-07-01 Glenn Morris <rgm@gnu.org>
11395
11396 * type-break.el (type-break-time-sum): Use dolist.
11397
11398 * textmodes/flyspell.el (flyspell-word-search-backward):
11399 Replace CL function.
11400
11401 2011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
11402
11403 * mouse.el (mouse--strip-first-event): New function.
11404 (function-key-map): Use it to map fringe clicks to normal clicks
11405 by default.
11406
11407 * vc/vc-bzr.el (vc-bzr-revision-keywords): Update.
11408 (vc-bzr-revision-completion-table): Add support for annotate and date.
11409
11410 * emacs-lisp/derived.el (define-derived-mode): Make abbrev-table
11411 inherit from parent.
11412
11413 2011-07-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
11414
11415 * dired-aux.el (dired-diff): Doc fixup (bug#8816).
11416 (dired-show-file-type): Doc fixup (bug#8818).
11417
11418 * dired.el (dired-mode): Fix up the doc string as suggested by
11419 Drew Adams (bug#8817).
11420
11421 * progmodes/flymake.el (flymake-find-file-hook): Add an `autoload'
11422 cookie, since the manual says that it should be possible to add
11423 this function to `find-file-hook' (bug#8709).
11424
11425 2011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
11426
11427 * progmodes/cfengine.el: Moved all cfengine3.el functionality
11428 here. Noted Ted Zlatanov as the maintainer.
11429 (cfengine-common-settings, cfengine-common-syntax): New functions
11430 to set up common things between `cfengine-mode' and
11431 `cfengine3-mode'.
11432 (cfengine3-mode): New mode.
11433 (cfengine3-defuns cfengine3-defuns-regex
11434 (cfengine3-class-selector-regex cfengine3-category-regex)
11435 (cfengine3-vartypes cfengine3-font-lock-keywords)
11436 (cfengine3-beginning-of-defun, cfengine3-end-of-defun)
11437 (cfengine3-indent-line): Add from cfengine3.el.
11438
11439 2011-07-01 Michael Albinus <michael.albinus@gmx.de>
11440
11441 * net/tramp.el (tramp-encoding-command-interactive): New defcustom.
11442
11443 * net/tramp-sh.el (tramp-maybe-open-connection): Use it.
11444
11445 2011-07-01 Martin Rudalics <rudalics@gmx.at>
11446
11447 * window.el (same-window-buffer-names, same-window-regexps)
11448 (same-window-p, special-display-frame-alist)
11449 (special-display-popup-frame, special-display-function)
11450 (special-display-buffer-names, special-display-regexps)
11451 (special-display-p, pop-up-frame-alist, pop-up-frame-function)
11452 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
11453 (split-window-preferred-function, split-height-threshold)
11454 (split-width-threshold, even-window-heights)
11455 (display-buffer-mark-dedicated, window-splittable-p)
11456 (split-window-sensibly, window-safely-shrinkable-p):
11457 Un-obsolete.
11458 (display-buffer): Don't spread args with function specifier
11459 because special-display-popup-frame won't like it.
11460
11461 2011-07-01 Paul Eggert <eggert@cs.ucla.edu>
11462
11463 Time-stamp simplifications and fixes.
11464 These improve accuracy slightly, and future-proof the code
11465 against some potential changes to current-time format.
11466
11467 * woman.el (woman-decode-buffer, WoMan-log-end): Log fractional secs
11468 by using time-since and float-time.
11469
11470 * vc/ediff-util.el (ediff-calc-command-time): Use time-since
11471 and float-time. Say "NNN.NNN seconds" rather than "NNN seconds
11472 + NNN microseconds".
11473
11474 * type-break.el (type-break-time-sum): Rewrite using time-add.
11475
11476 * play/hanoi.el (hanoi-current-time-float): Remove.
11477 All uses replaced by float-time.
11478
11479 * nxml/rng-maint.el (rng-time-function): Rewrite using time-subtract.
11480 This yields a more-accurate answer.
11481 (rng-time-to-float): Remove; no longer needed.
11482
11483 * emacs-lisp/timer.el (timer-relative-time): Use time-add.
11484
11485 * calendar/timeclock.el (timeclock-seconds-to-time):
11486 Defalias to seconds-to-time, since they're the same thing.
11487
11488 * emacs-lisp/elp.el (elp-elapsed-time):
11489 * emacs-lisp/benchmark.el (benchmark-elapse):
11490 * allout-widgets.el (allout-elapsed-time-seconds): Use float-time.
11491
11492 2011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
11493
11494 * window.el (bury-buffer): Don't iconify the only frame.
11495 (switch-to-buffer): Revert to Emacs<23 behavior, i.e. do not fallback
11496 to pop-to-buffer. Use pop-to-buffer-same-frame if you don't like that.
11497
11498 2011-07-01 Chong Yidong <cyd@stupidchicken.com>
11499
11500 * eshell/em-smart.el (eshell-smart-display-navigate-list):
11501 Add mouse-yank-primary.
11502
11503 2011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
11504
11505 * progmodes/cfengine3.el: New file to support CFEngine 3.x.
11506
11507 2011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
11508
11509 * emacs-lisp/find-func.el (find-library--load-name): New fun.
11510 (find-library-name): Use it to find relative load names when provided
11511 absolute file name (bug#8803).
11512
11513 2011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
11514
11515 * textmodes/flyspell.el (flyspell-word): Consider words that
11516 differ only in case as potential doublons (bug#5687).
11517
11518 * net/soap-client.el (soap-invoke, soap-wsdl-resolve-references):
11519 Remove two rather uninteresting debugging-like messages to make
11520 debbugs.el more silent.
11521
11522 * comint.el (comint-password-prompt-regexp): Accept "Response" as
11523 a password-like phrase.
11524
11525 2011-06-30 Masatake YAMATO <yamato@redhat.com>
11526
11527 * progmodes/cc-guess.el: New file.
11528
11529 * progmodes/cc-langs.el (c-mode-menu): Add "Style..." submenu.
11530
11531 * progmodes/cc-styles.el (cc-choose-style-for-mode): New function
11532 derived from `c-basic-common-init'.
11533
11534 * progmodes/cc-mode.el (top-level): Require cc-guess.
11535 (c-basic-common-init): Use `cc-choose-style-for-mode'.
11536
11537 2011-06-30 Lawrence Mitchell <wence@gmx.li>
11538
11539 * progmodes/js.el (js-mode): Don't stomp on global settings (bug#8933).
11540
11541 2011-06-30 Alan Mackenzie <acm@muc.de>
11542
11543 * progmodes/cc-engine.el (c-guess-continued-construct):
11544 Correct the handling of template-args-cont, particularly for when font
11545 lock is disabled. Name this case as "CASE G".
11546
11547 2011-06-30 Ken Manheimer <ken.manheimer@gmail.com>
11548
11549 * allout.el (allout-yank-processing): Fix injection of extra space
11550 between bullet and non-whitespace character in first topic when
11551 pasting, ensuring that the actual spacing in the pasted topic
11552 following the bullet char is preserved. This extra space was
11553 causing pasted encrypted topics to get a decrypted status even
11554 when the content was actually still encrypted. Now the decryption
11555 status from before the paste is preserved.
11556
11557 (allout-flag-region): Set all allout overlays so they evaporate
11558 when reduced to zero length (evanescent), to prevent overlay
11559 leakage.
11560
11561 2011-06-30 Glenn Morris <rgm@gnu.org>
11562
11563 * w32-fns.el (w32-charset-info-alist): Declare.
11564
11565 * find-dired.el (find-grep-options): Simplify.
11566
11567 * term/ns-win.el (ns-set-resource): Declare.
11568
11569 * ses.el (row, col): Declare dynamic variables honestly.
11570
11571 * textmodes/reftex-parse.el (index-tags): Declare.
11572
11573 2011-06-30 Chong Yidong <cyd@stupidchicken.com>
11574
11575 * cus-edit.el (customize-push-and-save): New function.
11576
11577 * files.el (hack-local-variables-confirm): Use it.
11578
11579 * custom.el (load-theme): New arg NO-CONFIRM.
11580 Use customize-push-and-save (Bug#8720).
11581 (custom-enabled-themes): Doc fix.
11582
11583 * cus-theme.el (customize-create-theme)
11584 (custom-theme-merge-theme): Callers to load-theme changed.
11585
11586 2011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
11587
11588 * thingatpt.el (thing-at-point-short-url-regexp): Require that
11589 short URLs have at least one dot in them (bug #7614).
11590
11591 * progmodes/grep.el (rgrep): Bind `process-connection-type' to
11592 nil, because using a pty is apparently too slow (bug #895).
11593
11594 2011-06-29 Lars Magne Ingebrigtsen <larsi@gnus.org>
11595
11596 * mail/sendmail.el (sendmail-query-once): New function.
11597 (sendmail-query-once-function): New variable.
11598
11599 2011-06-29 Glenn Morris <rgm@gnu.org>
11600
11601 * files.el (auto-mode-alist): Add .f03, .f08 for f90-mode.
11602
11603 * ses.el (top-level): Require cl when compiling.
11604 (ses-set-localvars): Fix error statement.
11605 Call it at compile time to silence a storm of warnings.
11606
11607 2011-06-29 Martin Rudalics <rudalics@gmx.at>
11608
11609 * window.el (normalize-live-buffer): Rename to
11610 window-normalize-buffer.
11611 (normalize-live-frame): Rename to window-normalize-frame.
11612 (normalize-any-window): Rename to window-normalize-any-window.
11613 (normalize-live-window): Rename to window-normalize-live-window.
11614 (make-window-atom): Rename to window-make-atom.
11615 (window-resize-reset): Rename to window--resize-reset.
11616 (window-resize-reset-1): Rename to window--resize-reset-1.
11617 (resize-mini-window): Rename to window--resize-mini-window.
11618 (resize-subwindows-skip-p): Rename to
11619 window--resize-subwindows-skip-p.
11620 (resize-subwindows-normal): Rename to
11621 window--resize-subwindows-normal.
11622 (resize-subwindows): Rename to window--resize-subwindows.
11623 (resize-other-windows): Rename to window--resize-siblings.
11624 (resize-this-window): Rename to window--resize-this-window.
11625 (resize-root-window): Rename to window--resize-root-window.
11626 (resize-root-window-vertically): Rename to
11627 window--resize-root-window-vertically.
11628 (normalize-buffer-to-display): Rename to
11629 window-normalize-buffer-to-display.
11630 (normalize-buffer-to-switch-to): Rename to
11631 window-normalize-buffer-to-switch-to.
11632 Correspondingly update all callers of the functions listed
11633 above.
11634 (display-buffer-alist, display-buffer-normalize-arguments)
11635 (display-buffer-normalize-options, display-buffer)
11636 (display-buffer-alist-set): Use "function" instead of
11637 "fun-with-args".
11638
11639 2011-06-28 Chong Yidong <cyd@stupidchicken.com>
11640
11641 * mail/emacsbug.el (report-emacs-bug): Handle non-gnu bug
11642 addresses more clearly. Add hyperlinks for bug-gnu-emacs and
11643 debbugs.gnu.org. Mention acknowledgment email.
11644
11645 2011-06-28 Lars Magne Ingebrigtsen <larsi@gnus.org>
11646
11647 * mail/smtpmail.el (smtpmail-send-it): Leave off changing the
11648 buffer multibyteness, since it shouldn't matter.
11649
11650 2011-06-28 Martin Rudalics <rudalics@gmx.at>
11651
11652 * window.el (display-buffer-in-side-window): Handle dedicated
11653 windows as in display-buffer-reuse-window.
11654 (display-buffer-normalize-alist): Use value of override
11655 specifier.
11656 (display-buffer-normalize-specifiers): Use value of
11657 other-window-means-other-frame specifier.
11658 (display-buffer-alist): Rewrite some texts in widgets.
11659 (display-buffer): Spread arguments when calling function
11660 specified by fun-with-args.
11661
11662 2011-06-28 Deniz Dogan <deniz@dogan.se>
11663
11664 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-syntax-table):
11665 Unnest `let'.
11666
11667 * textmodes/css-mode.el (css-font-lock-keywords): Fix grouped
11668 selectors (Bug#5732).
11669 (css-proprietary-nmstart-re): Use `regexp-opt'.
11670
11671 2011-06-27 Jari Aalto <jari.aalto@cante.net>
11672
11673 * eshell/em-ls.el: Display `ls -l' dates in ISO format (Bug#8440).
11674 (eshell-ls-date-format): New defcustom.
11675 (eshell-ls-file): Use it.
11676
11677 2011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
11678
11679 * help-fns.el (describe-variable): Fix message for terminal-local vars.
11680
11681 2011-06-27 Katsumi Yamaoka <yamaoka@jpl.org>
11682
11683 * net/ange-ftp.el: Allow loading .gz files (Bug#6923).
11684 (ange-ftp-make-tmp-name): New arg.
11685 (ange-ftp-file-local-copy): Use it.
11686
11687 2011-06-27 Jambunathan K <kjambunathan@gmail.com>
11688
11689 * tar-mode.el (tar-untar-buffer): Set coding-system-for-write to
11690 no-conversion (Bug#8870).
11691
11692 2011-06-27 Martin Rudalics <rudalics@gmx.at>
11693
11694 * window.el (window-right, window-left, window-child)
11695 (window-child-count, window-last-child)
11696 (window-iso-combination-p, walk-window-tree-1)
11697 (window-atom-check-1, window-tree-1, delete-window)
11698 (window-state-get-1, display-buffer-even-window-sizes): Adapt to
11699 new naming conventions - window-vchild, window-hchild,
11700 window-next and window-prev are now called window-top-child,
11701 window-left-child, window-next-sibling and window-prev-sibling
11702 respectively.
11703 (resize-window-reset): Rename to window-resize-reset.
11704 (resize-window-reset-1): Rename to window-resize-reset-1.
11705 (resize-window): Rename to window-resize.
11706 (window-min-height, window-min-width)
11707 (resize-mini-window, resize-this-window, resize-root-window)
11708 (resize-root-window-vertically, adjust-window-trailing-edge)
11709 (enlarge-window, shrink-window, maximize-window)
11710 (minimize-window, delete-window, quit-restore-window)
11711 (split-window, balance-windows, balance-windows-area-adjust)
11712 (balance-windows-area, window-state-put-2)
11713 (display-buffer-even-window-sizes, display-buffer-set-height)
11714 (display-buffer-set-width, set-window-text-height)
11715 (fit-window-to-buffer): Rename all "resize-window" prefixed
11716 calls to use the "window-resize" prefix convention.
11717 (display-buffer-alist): Fix symbol for label specifier.
11718 (display-buffer-reuse-window): Set reuse-dedicated to cdr of
11719 corresponding specifier.
11720 Reported by Juanma Barranquero <lekktu@gmail.com>.
11721
11722 2011-06-27 Vincent Belaïche <vincentb1@users.sourceforge.net>
11723
11724 * ses.el (ses-destroy-cell-variable-range): Fix heading comment
11725 convention.
11726 (ses-call-printer): Does not pass an empty string to formatter when the
11727 cell is empty to keep from barking printer Calc math-format-value.
11728
11729 2011-06-27 Richard Stallman <rms@gnu.org>
11730
11731 * battery.el (battery-mode-line-limit): New variable.
11732 (battery-update): Handle it.
11733
11734 * mail/rmailmm.el (rmail-mime-process-multipart):
11735 Handle truncated messages.
11736
11737 2011-06-27 Glenn Morris <rgm@gnu.org>
11738
11739 * progmodes/flymake.el (flymake-err-line-patterns):
11740 Allow for column numbers in the ant/javac pattern. (Bug#8866)
11741
11742 2011-06-27 Vincent Belaïche <vincentb1@users.sourceforge.net>
11743
11744 * ses.el (ses-relocate-range): Keep rest of arguments for ses-range.
11745 (ses--clean-!, ses--clean-_): New functions.
11746 (ses-range): Add configurability of readout order, and conversion
11747 to Calc vector.
11748
11749 * ses.el (ses-repair-cell-reference-all): New function.
11750 (ses-cell-symbol): Set macro as safe, so that it can be used in
11751 formulas.
11752
11753 * ses.el: Update cycle detection algorithm.
11754 (ses-localvars): Add ses--Dijkstra-attempt-nb and
11755 ses--Dijkstra-weight-bound, and initial values thereof when applicable.
11756 (ses-set-localvars): New function.
11757 (ses-make-cell): Add property-list as a cell element.
11758 (ses-cell-property-get-fun, ses-cell-property-get)
11759 (ses-cell-property-delq-fun, ses-cell-property-set-fun)
11760 (ses-cell-property-pop-fun, ses-cell-property-get-handle-fun):
11761 New functions.
11762 (ses-cell-property-set, ses-cell-property-pop)
11763 (ses-cell-property-get-handle): New macro.
11764 (ses-cell-property-handle-car, ses-cell-property-handle-setcar):
11765 New aliases, used for code readability.
11766 (ses-calculate-cell, ses-update-cells): Use Dijkstra algorithm for
11767 cycle detection.
11768 (ses-self-reference-early-detection): New defcustom.
11769 (ses-formula-references): Robustify against self-referring cells.
11770 (ses-mode): Use ses-set-localvars.
11771 (ses-command-hook): Add call to ses-initialize-Dijkstra-attempt
11772 before lauching the update processing.
11773 (ses-initialize-Dijkstra-attempt): New function.
11774 (ses-recalculate-cell): Update for cycle detection based on
11775 Dijkstra algorithm.
11776
11777 * ses.el: Fix commenting and indenting convention.
11778
11779 2011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
11780
11781 * bs.el (bs-cycle-next): Complete last change.
11782
11783 2011-06-27 Drew Adams <drew.adams@oracle.com>
11784
11785 * faces.el (list-faces-display): Add help-mode-map to output (bug#8939).
11786
11787 2011-06-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
11788
11789 * net/network-stream.el (network-stream-open-starttls):
11790 Don't re-get capabilities unless we've reestablished connection.
11791 (network-stream-open-starttls): Fix stupid typo with gnutls-clii.
11792
11793 * mail/smtpmail.el (smtpmail-via-smtp): Bind coding-system-for-*
11794 to binary to possibly avoid line encoding issues on Windows (among
11795 other things).
11796
11797 2011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
11798
11799 * net/network-stream.el (open-network-stream): Return an :error
11800 saying what the problem was, if possible.
11801
11802 * mail/smtpmail.el (smtpmail-via-smtp): Report the error from the
11803 server.
11804
11805 * net/network-stream.el (network-stream-open-starttls): If we
11806 wanted to use STARTTLS, and the server offered it, but we weren't
11807 able to because we had no STARTTLS support, then close the connection.
11808 (open-network-stream): Return an :error element, if present.
11809
11810 2011-06-26 Chong Yidong <cyd@stupidchicken.com>
11811
11812 * hl-line.el (hl-line-sticky-flag): Doc fix.
11813 (global-hl-line-sticky-flag): New option (Bug#8323).
11814 (global-hl-line-highlight): Obey it.
11815
11816 * vc/vc.el (vc-revert-show-diff): Default to t.
11817
11818 2011-06-26 Ken Manheimer <ken.manheimer@gmail.com>
11819
11820 * allout-widgets.el (allout-widgets-post-command-business):
11821 Stop decorating intermediate isearch matches. They're not being
11822 undecorated when an isearch is continued past, and isearch
11823 automatically collapses them. This leads to "widget leaks", where
11824 decorated items accumulate in collapsed areas. Lines with lots of
11825 hidden widgets can slow down cursor travel, substantially.
11826 Too much complicated machinery would be needed to ensure undecoration,
11827 so we're doing without this nicety.
11828
11829 (allout-widgets-tally-string): Don't try to do a hash-table-count
11830 of allout-widgets-tally when it's nil. This eliminates spurious "Error
11831 during redisplay: (wrong-type-argument hash-table-p nil)" warnings in
11832 *Messages* when allout-widgets-maintain-tally is t.
11833
11834 2011-06-26 Martin Rudalics <rudalics@gmx.at>
11835
11836 * window.el (display-buffer-normalize-argument): Rename to
11837 display-buffer-normalize-arguments. Handle special meaning of
11838 LABEL argument. Respect special-display-function when popping up
11839 a new frame. Fix code searching for a window showing the buffer
11840 on another frame.
11841 (display-buffer-normalize-specifiers):
11842 Call display-buffer-normalize-arguments.
11843 (display-buffer-in-window): Don't undedicate the window if its
11844 buffer remains the same.
11845 Reported by Drew Adams <drew.adams@oracle.com>.
11846 (display-buffer-alist): Add choice for same-window macro
11847 specfier.
11848 (display-buffer): Mention special meaning of LABEL argument in
11849 doc-string. Fix quoting. Don't pop up a new frame even as
11850 fallback.
11851
11852 2011-06-26 Juanma Barranquero <lekktu@gmail.com>
11853
11854 * bs.el (bs-cycle-next): Pass current buffer to `bury-buffer' to
11855 avoid deleting the current window in some cases (bug#8911).
11856
11857 2011-06-26 Andreas Schwab <schwab@linux-m68k.org>
11858
11859 * emacs-lisp/smie.el (smie-bnf->prec2): Fix last change.
11860 (Bug#8934)
11861
11862 2011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
11863
11864 * net/network-stream.el (network-stream-open-starttls):
11865 Use built-in TLS support if `gnutls-available-p' is true.
11866 (network-stream-open-tls): Ditto.
11867
11868 2011-06-26 Leo Liu <sdl.web@gmail.com>
11869
11870 * register.el (registerv): New struct.
11871 (registerv-make): New function.
11872 (jump-to-register, describe-register-1, insert-register):
11873 Support the jump-func, print-func and insert-func slot of a registerv
11874 struct. (Bug#8415)
11875
11876 2011-06-26 Chong Yidong <cyd@stupidchicken.com>
11877
11878 * vc/vc.el (vc-revert-show-diff): New defcustom.
11879 (vc-diff-internal): New arg specifying diff buffer.
11880 (vc-revert): Obey vc-revert-show-diff. If we show a diff, don't
11881 reuse an existing *vc-diff* buffer (Bug#8927).
11882
11883 * progmodes/cperl-mode.el (cperl-mode): Derive from prog-mode.
11884
11885 2011-06-26 Glenn Morris <rgm@gnu.org>
11886
11887 * progmodes/f90.el (f90-critical-indent): New option.
11888 (f90-font-lock-keywords-2, f90-blocks-re, f90-end-block-re)
11889 (f90-start-block-re, f90-mode-abbrev-table): Add block, critical.
11890 (f90-mode): Doc fix.
11891 (f90-looking-at-critical, f90-looking-at-end-critical): New funcs.
11892 (f90-no-block-limit, f90-calculate-indent, f90-end-of-block)
11893 (f90-beginning-of-block, f90-next-block, f90-indent-region)
11894 (f90-match-end): Handle block, critical.
11895
11896 2011-06-25 Glenn Morris <rgm@gnu.org>
11897
11898 * calendar/diary-lib.el (diary-included-files): Doc fix.
11899 (diary-include-files): New function, extracted from
11900 diary-include-other-diary-files and diary-mark-included-diary-files.
11901 (diary-include-other-diary-files, diary-mark-included-diary-files):
11902 Just call diary-include-files.
11903 (diary-mark-entries): Reset diary-included-files on first call.
11904
11905 * calendar/diary-lib.el (diary-mark-entries)
11906 (diary-mark-included-diary-files):
11907 Visit included diary-files in temp buffers.
11908
11909 * progmodes/f90.el (f90-keywords-re, f90-font-lock-keywords-1)
11910 (f90-blocks-re, f90-program-block-re, f90-end-block-re)
11911 (f90-start-block-re, f90-imenu-generic-expression)
11912 (f90-looking-at-program-block-start, f90-no-block-limit):
11913 Add support for submodules.
11914
11915 * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
11916 (f90-procedures-re, f90-constants-re): Add some F2008 stuff.
11917
11918 2011-06-25 Eli Zaretskii <eliz@gnu.org>
11919
11920 * net/ange-ftp.el (ange-ftp-insert-file-contents): Let-bind
11921 buffer-file-type before setting its value, to avoid disastrous
11922 global effects on decoding files for DOS/Windows systems. (Bug#8780)
11923
11924 2011-06-25 Juanma Barranquero <lekktu@gmail.com>
11925
11926 * allout.el (allout-unload-function): Pass -1 to `allout-mode'.
11927
11928 * ses.el (ses-unload-function):
11929 * emacs-lisp/re-builder.el (re-builder-unload-function): Simplify.
11930
11931 * proced.el (proced-unload-function):
11932 * progmodes/cperl-mode.el (cperl-mode-unload-function): Remove.
11933
11934 2011-06-25 Andreas Rottmann <a.rottmann@gmx.at>
11935
11936 * server.el (server-create-window-system-frame): Add parameters arg.
11937 (server-process-filter): Doc fix. Handle frame-parameters.
11938
11939 2011-06-25 Juanma Barranquero <lekktu@gmail.com>
11940
11941 Fix bug#8730, bug#8781.
11942
11943 * loadhist.el (unload--set-major-mode): New function.
11944 (unload-feature): Use it.
11945
11946 * progmodes/python.el (python-after-info-look): Add autoload cookie.
11947 (python-unload-function): New function.
11948
11949 2011-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
11950
11951 * mail/rmail.el (rmail-show-message-1): Use restore-buffer-modified-p.
11952
11953 2011-06-25 Giuseppe Scrivano <gscrivano@gnu.org>
11954
11955 * net/browse-url.el (browse-url-firefox-program): Add icecat to
11956 the candidates list.
11957
11958 2011-06-24 Juanma Barranquero <lekktu@gmail.com>
11959
11960 * progmodes/verilog-mode.el (verilog-mode): Fix test for bound variable.
11961
11962 2011-06-23 Richard Stallman <rms@gnu.org>
11963
11964 * mail/rmail.el: Going to grep hit in Rmail buffer finds the message.
11965 (rmail-variables): Set next-error-move-function.
11966 (rmail-what-message): Take argument POS.
11967 (rmail-next-error-move): New function.
11968
11969 2011-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
11970
11971 * emacs-lisp/smie.el (smie-bnf->prec2): Give more understandable error
11972 messages for adjacent non-terminals.
11973
11974 2011-06-23 Richard Stallman <rms@gnu.org>
11975
11976 * mail/rmail.el (rmail-retry-ignored-headers): Add message-id.
11977 (rmail-show-message-1): Preserve buffer modified flag.
11978 (rmail-start-mail): Don't specify use of rmail-mail-return;
11979 that's done by mail-bury now.
11980 (rmail-mail-return): Handle arg NEWBUF.
11981
11982 2011-06-23 Michael Albinus <michael.albinus@gmx.de>
11983
11984 * net/tramp-sh.el (tramp-method-out-of-band-p): Check, whether
11985 SIZE is a number.
11986
11987 2011-06-23 Martin Rudalics <rudalics@gmx.at>
11988
11989 * window.el (get-lru-window, get-mru-window)
11990 (get-largest-window): Never return a minibuffer window.
11991 (display-buffer-pop-up-window): Fix a bug that could lead to
11992 reusing the minibuffer window.
11993 (display-buffer): Pass original specifier argument to
11994 display-buffer-function instead of the normalized one.
11995 Reported by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
11996
11997 2011-06-22 Leo Liu <sdl.web@gmail.com>
11998
11999 * minibuffer.el (completing-read-function)
12000 (completing-read-default): Move from minibuf.c
12001
12002 2011-06-22 Richard Stallman <rms@gnu.org>
12003
12004 * mail/sendmail.el (mail-bury): If Rmail is in use, return nicely
12005 to Rmail even if not started by a special Rmail command.
12006
12007 * mail/rmailmm.el (rmail-insert-mime-forwarded-message):
12008 Copy the buffer currently showing just one message.
12009
12010 2011-06-22 Roland Winkler <winkler@gnu.org>
12011
12012 * textmodes/bibtex.el (bibtex-entry-update): Use mapc.
12013 (bibtex-clean-entry): First delete the old key so that a
12014 customized algorithm for generating the new key does not get
12015 confused by the old key.
12016 (bibtex-url): Obey regexp of first step.
12017 (bibtex-search-entries): Do not use add-to-list with local
12018 list-var.
12019
12020 2011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
12021
12022 * mail/smtpmail.el (smtpmail-try-auth-methods): If the user has
12023 stored a user name, then query for the password first, instead of
12024 waiting for SMTP to give an error message and the trying again.
12025
12026 2011-06-22 Lawrence Mitchell <wence@gmx.li>
12027
12028 * net/browse-url.el (browse-url-xdg-open): Use 0, rather than nil
12029 BUFFER in call-process.
12030
12031 2011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
12032
12033 * mail/smtpmail.el (smtpmail-via-smtp): Make sure we don't send
12034 QUIT twice.
12035 (smtpmail-try-auth-methods): Require user name and password from
12036 auth-source.
12037
12038 2011-06-22 Martin Rudalics <rudalics@gmx.at>
12039
12040 * window.el (display-buffer-default-specifiers)
12041 (display-buffer-alist): Remove entries for pop-up-frame-alist.
12042 Suggested by Katsumi Yamaoka <yamaoka@jpl.org>.
12043 (split-window): Normalize SIDE argument (Bug#8916).
12044
12045 * frame.el (pop-up-frame-alist, pop-up-frame-function)
12046 (special-display-frame-alist, special-display-popup-frame):
12047 Remove duplicate declarations. These are now in window.el.
12048
12049 2011-06-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
12050
12051 * mail/smtpmail.el (smtpmail-via-smtp):
12052 Set :use-starttls-if-possible so that we always use STARTTLS if the
12053 server supports it. SMTP servers that support STARTTLS commonly
12054 require it.
12055
12056 * net/network-stream.el (network-stream-open-starttls): Support
12057 upgrading to STARTTLS always, even if we don't have built-in support.
12058 (open-network-stream): Add the :always-query-capabilities keyword.
12059
12060 * mail/smtpmail.el: Rewritten to do opportunistic STARTTLS
12061 upgrades with `open-network-stream', and rely solely on
12062 auth-source for all credentials. Big changes throughout the file,
12063 but in particular:
12064 (smtpmail-auth-credentials): Remove.
12065 (smtpmail-starttls-credentials): Remove.
12066 (smtpmail-via-smtp): Check for servers saying they want AUTH after
12067 MAIL FROM, too.
12068
12069 * net/network-stream.el (network-stream-open-starttls):
12070 Provide support for client certificates both for external and built-in
12071 STARTTLS.
12072 (auth-source): Require.
12073 (open-network-stream): Document the :client-certificate keyword.
12074 (network-stream-certificate): Change cert-cert to cert and
12075 cert-key to key.
12076
12077 2011-06-21 Michael Albinus <michael.albinus@gmx.de>
12078
12079 * net/tramp-cache.el (top): Don't load the persistency file when
12080 "emacs -Q" has been called.
12081
12082 2011-06-21 Tim Harper <timcharper@gmail.com>
12083
12084 * term/ns-win.el (ns-initialize-window-system):
12085 Set application-specific `ApplePressAndHoldEnabled' system
12086 resource to NO as it is not yet supported by the NS port.
12087
12088 2011-06-21 Juanma Barranquero <lekktu@gmail.com>
12089
12090 * misc.el (list-dynamic-libraries--refresh): Compute header here...
12091 (list-dynamic-libraries): ...not here.
12092
12093 2011-06-21 Leo Liu <sdl.web@gmail.com>
12094
12095 * subr.el (sha1): Implement sha1 using secure-hash.
12096
12097 2011-06-21 Martin Rudalics <rudalics@gmx.at>
12098
12099 * window.el (display-buffer-alist): In default value do not
12100 enforce searching a window on any but the selected frame.
12101 Reported by Katsumi Yamaoka <yamaoka@jpl.org>.
12102 (display-buffer-select-window): Remove function.
12103 (display-buffer-in-window): When a window on another frame gets
12104 reused, do not select it any more but just raise its frame if
12105 necessary (Bug#8851) and (Bug#8856).
12106 (display-buffer-normalize-options): Handle pop-up-frames related
12107 options more faithfully.
12108 (pop-to-buffer): Don't rely on `display-buffer' selecting the
12109 window if it is on another frame.
12110 (display-buffer-alist, display-buffer-default-specifiers):
12111 Don't make new frame unsplittable by default.
12112 (display-buffer-normalize-argument): Fix doc-string typo and use
12113 'same-frame-other-window instead of 'other-window when associating
12114 with display-buffer-macro-specifiers.
12115
12116 2011-06-21 Vincent Belaïche <vincent.b.1@hotmail.fr>
12117
12118 * play/5x5.el (5x5-solve-rotate-left, 5x5-solve-rotate-right):
12119 New functions.
12120 (5x5-mode-map, 5x5-mode-menu): Bind them.
12121 (5x5-draw-grid): Tweak the solver's rendering.
12122
12123 2011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
12124
12125 * progmodes/compile.el (compilation-error-regexp-alist-alist): Rename
12126 `caml' to `python-tracebacks-and-caml'; allow leading tabs (bug#8585).
12127
12128 2011-06-21 Drew Adams <drew.adams@oracle.com>
12129
12130 * menu-bar.el: Use function variable instead of switch-to-buffer.
12131 (menu-bar-select-buffer-function): New variable.
12132 (menu-bar-update-buffers): Use it (bug#8876).
12133
12134 2011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
12135
12136 * emacs-lisp/bytecomp.el (add-to-list): Add handler to check the
12137 variable's status.
12138
12139 2011-06-20 Jan Djärv <jan.h.d@swipnet.se>
12140
12141 * x-dnd.el (x-dnd-version-from-flags)
12142 (x-dnd-more-than-3-from-flags): New functions that handle long-as-cons
12143 and long as number (Bug#8899).
12144 (x-dnd-handle-xdnd): Call functions above (Bug#8899).
12145
12146 2011-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
12147
12148 * minibuffer.el (completion-metadata): Add `metadata' to the alist.
12149 (completion-try-completion, completion-all-completions): Compute the
12150 metadata argument if it's missing; make it optional (bug#8795).
12151
12152 * wid-edit.el: Use lex-bind and move towards completion-at-point.
12153 (widget-complete): Use new :completion-function property.
12154 (widget-completions-at-point): New function.
12155 (default): Use :completion-function instead of :complete.
12156 (widget-default-completions): Rename from widget-default-complete;
12157 Rewrite.
12158 (widget-string-complete, widget-file-complete, widget-color-complete):
12159 Remove functions.
12160 (file, symbol, function, variable, coding-system, color):
12161 * international/mule-cmds.el (default-input-method, charset)
12162 (language-info-custom-alist):
12163 * cus-edit.el (face): Use new property :completions.
12164
12165 * progmodes/pascal.el (pascal-completions-at-point): New function.
12166 (pascal-mode): Use it.
12167 (pascal-mode-map): Use completion-at-point.
12168 (pascal-toggle-completions): Make obsolete.
12169 (pascal-complete-word, pascal-show-completions):
12170 * progmodes/octave-mod.el (octave-complete-symbol):
12171 Redefine as obsolete alias.
12172 * progmodes/octave-inf.el (inferior-octave-completion-at-point):
12173 Signal absence of completion info for old Octave,
12174 (inferior-octave-complete): Redefine as obsolete alias.
12175 * progmodes/meta-mode.el: Use lexical-binding and completion-at-point.
12176 (meta-completions-at-point): Rename from meta-complete-symbol and
12177 adapt it for use on completion-at-point-functions.
12178 (meta-common-mode): Use it.
12179 (meta-looking-at-backward, meta-match-buffer): Remove.
12180 (meta-complete-symbol): Redefine as obsolete alias.
12181 (meta-common-mode-map): Use completion-at-point.
12182 * progmodes/make-mode.el: Use lexical-binding and completion-at-point.
12183 (makefile-mode-map): Use completion-at-point.
12184 (makefile-completions-at-point): Rename from makefile-complete and
12185 adapt it for use on completion-at-point-functions.
12186 (makefile-mode): Use it.
12187 (makefile-complete): Redefine as obsolete alias.
12188
12189 2011-06-20 Deniz Dogan <deniz@dogan.se>
12190
12191 * net/rcirc.el: Delete trailing whitespaces once and for all.
12192
12193 2011-06-20 Daniel Colascione <dan.colascione@gmail.com>
12194
12195 * emacs-lisp/syntax.el (syntax-ppss): Further improve docstring.
12196
12197 2011-06-19 Chong Yidong <cyd@stupidchicken.com>
12198
12199 * files.el (auto-mode-alist): Entry for m2-mode (Bug#8852).
12200
12201 * info.el (Info-apropos-toc-nodes): Minor doc fix (Bug#8833).
12202
12203 2011-06-19 Martin Rudalics <rudalics@gmx.at>
12204
12205 * window.el (display-buffer-other-window-means-other-frame):
12206 Call display-buffer-normalize-alist.
12207 (display-buffer-normalize-specifiers-1): Rename to
12208 display-buffer-normalize-argument. New argument other-frame.
12209 Rewrite.
12210 (display-buffer-normalize-specifiers-2): Rename to
12211 display-buffer-normalize-options.
12212 (display-buffer-normalize-alist-1): New function.
12213 (display-buffer-normalize-specifiers-3): Rename to
12214 display-buffer-normalize-alist.
12215 Call display-buffer-normalize-alist-1.
12216 (display-buffer-normalize-options-inhibit): New variable.
12217 (display-buffer-normalize-specifiers): Rewrite calling
12218 display-buffer-normalize-alist,
12219 display-buffer-normalize-argument, and
12220 display-buffer-normalize-options. Don't call the latter if
12221 display-buffer-normalize-options-inhibit is non-nil.
12222 (frame-auto-delete): New option.
12223 (window-deletable-p): Use frame-auto-delete.
12224 (window-list-no-nils, window-state-ignored-parameters)
12225 (window-state-get-1, window-state-get, window-state-put-list)
12226 (window-state-put-1, window-state-put-2, window-state-put):
12227 New functions.
12228 (display-buffer-normalize-options): Move special-display-p group
12229 after pop-up-frame group (Bug#8851) and (Bug#8856).
12230
12231 2011-06-18 Chong Yidong <cyd@stupidchicken.com>
12232
12233 * emacs-lisp/rx.el (rx-constituents): Add support for numbered
12234 groups (Bug#8776).
12235 (rx-submatch-n): New function.
12236 (rx): Document it.
12237
12238 * dired-x.el (dired-mark-unmarked-files): Fix interactive spec
12239 (Bug#8768).
12240
12241 * replace.el (occur-mode-map): Set occur-edit-mode binding to "e".
12242
12243 * textmodes/fill.el (default-justification): Add :safe (Bug#8879).
12244
12245 * cus-face.el (custom-declare-face): Call custom-theme-recalc face
12246 anytime existing face settings are present (Bug#8889).
12247
12248 * progmodes/delphi.el (delphi-mode-syntax-table): Use defvar.
12249 (delphi-mode): Use define-derived-mode to inherit from prog-mode.
12250 Remove unused argument.
12251
12252 2011-06-18 Martin Rudalics <rudalics@gmx.at>
12253
12254 * window.el (display-buffer-default-specifiers):
12255 Remove pop-up-frame. Add pop-up-window-min-height,
12256 pop-up-window-min-width, and another reuse-window specifier
12257 (Bug#8882). Reported by Dan Nicolaescu <dann@gnu.org>.
12258 (display-buffer-normalize-specifiers-2):
12259 Handle split-height-threshold and split-width-threshold also when
12260 pop-up-windows is unset. Add a reuse-window specifier for the
12261 case popping up a new window fails.
12262 (special-display-popup-frame): Remove double quoting.
12263 (display-buffer-normalize-specifiers-1): Fix thinko.
12264
12265 2011-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
12266
12267 * shell.el (shell-completion-vars): Set pcomplete-termination-string
12268 according to comint-completion-addsuffix.
12269
12270 * pcomplete.el: Convert to lexical binding and fix bug#8819.
12271 (pcomplete-suffix-list): Mark as obsolete.
12272 (pcomplete-completions-at-point): Capture pcomplete-norm-func and
12273 pcomplete-seen in the closure.
12274 (pcomplete-comint-setup): Setup completion-at-point as well.
12275 (pcomplete--entries): New function.
12276 (pcomplete--env-regexp): New var.
12277 (pcomplete-entries): Rewrite to work with partial-completion and
12278 without relying on pcomplete-suffix-list.
12279 (pcomplete-pare-list): Remove, unused.
12280
12281 2011-06-17 Martin Rudalics <rudalics@gmx.at>
12282
12283 * window.el (display-buffer-alist): Set pop-up-window-min-height
12284 and pop-up-window-min-width in default value. Reported by
12285 Thierry Volpiatto <thierry.volpiatto@gmail.com>. New specifier
12286 other-window-means-other-frame.
12287 (display-buffer-macro-specifiers): Comment out entry for
12288 other-window specifier.
12289 (display-buffer-other-window-means-other-frame): New function.
12290 (display-buffer-normalize-specifiers-1): New arguments
12291 buffer-name and label. Treat other-window case specially.
12292 (display-buffer-normalize-specifiers-2): Treat other-window case
12293 specially.
12294 (display-buffer-normalize-specifiers-3): New function.
12295 (display-buffer-normalize-specifiers):
12296 Call display-buffer-normalize-specifiers-3.
12297
12298 2011-06-17 Martin Rudalics <rudalics@gmx.at>
12299
12300 * window.el (same-window-p): Fix two typos introduced when
12301 adding with-no-warnings.
12302 (display-buffer-normalize-specifiers-1): Don't check
12303 pop-up-frames for 'unset initialization.
12304 (display-buffer-normalize-specifiers-2): Major rewrite using
12305 special-display-p and same-window-p (Bug#8851) and (Bug#8856).
12306 (pop-up-frames, display-buffer-reuse-frames)
12307 (display-buffer-mark-dedicated): Don't initialize to 'unset.
12308 Suggested by David Engster <deng@randomsample.de>.
12309 (even-window-heights): Initialize to 'unset.
12310 (display-buffer-alist-set): Handle new 'unset initializations.
12311 (display-buffer-macro-specifiers): Don't pop up a new frame in the
12312 other window case.
12313
12314 2011-06-16 Martin Rudalics <rudalics@gmx.at>
12315
12316 * window.el (display-buffer-normalize-specifiers-1):
12317 Respect current value of pop-up-frames for most reasonable values of
12318 second argument of display-buffer (Bug#8865).
12319 (switch-to-buffer-same-frame, switch-to-buffer-other-window)
12320 (switch-to-buffer-other-window-same-frame)
12321 (switch-to-buffer-other-frame): Fix doc-strings. Reported by Drew
12322 Adams (Bug#8875).
12323 (display-buffer): Don't check noninteractive when calling
12324 display-buffer-pop-up-frame.
12325 (display-buffer-pop-up-frame): Never pop up a frame in
12326 noninteractive mode (Bug#8857).
12327 (enlarge-window, shrink-window): Don't report an error when the
12328 window can't be resized as requested (Bug#8862).
12329
12330 2011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
12331
12332 * pcmpl-rpm.el (pcomplete/rpm): Minor simplification.
12333
12334 * emacs-lisp/debug.el (debug): Don't leave the buffer in Debugger.
12335
12336 * abbrev.el (define-abbrev-table): Don't add a table multiple times.
12337
12338 2011-06-15 Alan Mackenzie <acm@muc.de>
12339
12340 * progmodes/cc-fonts.el (c-font-lock-declarations): 1: Whilst checking
12341 for declarators, disable knr checking to speed up for normal files.
12342 2: Refactor, replacing a sequence of nested if forms by a cond form.
12343
12344 2011-06-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
12345
12346 * net/network-stream.el (open-network-stream): Add the keyword
12347 :always-query-capabilities for the case where you want to force a
12348 `plain' network connection, but the protocol still requires the
12349 capabilitiy command (i.e., SMTP and EHLO).
12350
12351 * subr.el (process-live-p): Rename from `process-alive-p' for
12352 consistency with other `-live-p' functions.
12353
12354 2011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
12355
12356 * window.el (same-window-buffer-names, same-window-regexps)
12357 (special-display-frame-alist, special-display-popup-frame)
12358 (special-display-function, special-display-buffer-names)
12359 (special-display-regexps, pop-up-frame-alist)
12360 (pop-up-frame-function, pop-up-frames, display-buffer-reuse-frames)
12361 (pop-up-windows, split-window-preferred-function)
12362 (split-height-threshold, split-width-threshold, even-window-heights)
12363 (display-buffer-mark-dedicated): Don't encourage the use of
12364 display-buffer-alist from Elisp code.
12365
12366 2011-06-15 Dan Nicolaescu <dann@ics.uci.edu>
12367
12368 * progmodes/python.el (python-mode): Derive from prog-mode.
12369 * progmodes/ps-mode.el (ps-mode):
12370 * progmodes/mixal-mode.el (mixal-mode):
12371 * progmodes/cfengine.el (cfengine-mode):
12372 * progmodes/ld-script.el (ld-script-mode): Likewise.
12373
12374 2011-06-15 Martin Rudalics <rudalics@gmx.at>
12375
12376 * window.el (display-buffer-alist): Trim default value to avoid
12377 popping up a new frame (Bug#8857) or reusing an arbitrary window
12378 on another frame.
12379 (display-buffer): Do not fall back on popping up a new frame in
12380 batch mode (Bug#8857).
12381
12382 2011-06-14 Chong Yidong <cyd@stupidchicken.com>
12383
12384 * cus-theme.el (describe-theme-1): Use custom-theme-p.
12385 (custom-theme-summary): New function.
12386 (customize-themes): Use it.
12387
12388 2011-06-13 Glenn Morris <rgm@gnu.org>
12389
12390 * cus-dep.el (custom-make-dependencies): Use up command-line-args-left.
12391
12392 2011-06-13 Martin Rudalics <rudalics@gmx.at>
12393
12394 * help.el (help-window): Remove variable.
12395 (help-window-point-marker, temp-buffer-max-height)
12396 (temp-buffer-resize-mode, help-window-select): Rewrite doc-strings.
12397 (help-print-return-message): Don't set help-window.
12398 (resize-temp-buffer-window): Rewrite cod eand doc-string.
12399 (help-window-setup-finish): Remove.
12400 (help-window-display-message, help-window-setup)
12401 (with-help-window): Major rewrite based on new
12402 display-buffer-window variable.
12403
12404 * help-mode.el (help-mode-finish): Remove help-window related
12405 code.
12406
12407 * view.el (view-exits-all-viewing-windows): Remove reference to
12408 view-return-to-alist in doc-string.
12409 (view-return-to-alist): Make obsolete.
12410 (view-buffer): Call pop-to-buffer-same-window and remove
12411 undo-window code.
12412 (view-buffer-other-window): Call pop-to-buffer-other-window and
12413 simplify code. Ignore second argument.
12414 (view-buffer-other-frame): Call pop-to-buffer-other-frame and
12415 simplify code. Ignore second argument.
12416 (view-return-to-alist-update): Make obsolete.
12417 (view-mode-enter): Rename second argument to QUIT-RESTORE.
12418 Rewrite using quit-restore window parameters.
12419 (view-mode-exit): Rename second argument to EXIT-ONLY.
12420 Rewrite using quit-restore-window.
12421 (View-exit, View-exit-and-edit, View-leave, View-quit)
12422 (View-quit-all, View-kill-and-leave): Call view-mode-exit with
12423 appropriate arguments.
12424 (view-end-message): Use quit-restore window parameter.
12425
12426 * window.el (display-buffer-function): Rewrite doc-string.
12427 (display-buffer-window, display-buffer-alist): New variables.
12428 (display-buffer-split-specifiers)
12429 (display-buffer-side-specifiers)
12430 (display-buffer-macro-specifiers): New constants.
12431 (display-buffer-even-window-sizes, display-buffer-set-height)
12432 (display-buffer-set-width, display-buffer-select-window)
12433 (display-buffer-in-window, display-buffer-reuse-window)
12434 (display-buffer-split-window-1, display-buffer-split-window)
12435 (display-buffer-split-atom-window, display-buffer-pop-up-window)
12436 (display-buffer-pop-up-frame, display-buffer-pop-up-side-window)
12437 (display-buffer-in-side-window, normalize-buffer-to-display)
12438 (display-buffer-normalize-specifiers-1)
12439 (display-buffer-normalize-specifiers-2)
12440 (display-buffer-normalize-specifiers, display-buffer-frame):
12441 New functions.
12442 (display-buffer): Major rewrite.
12443 (display-buffer-other-window, display-buffer-other-frame)
12444 (pop-to-buffer, switch-to-buffer-other-window)
12445 (switch-to-buffer-other-frame): Rewrite.
12446 (display-buffer-same-window, display-buffer-same-frame)
12447 (display-buffer-same-frame-other-window)
12448 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
12449 (pop-to-buffer-other-window)
12450 (pop-to-buffer-same-frame-other-window)
12451 (pop-to-buffer-other-frame, switch-to-buffer-same-frame)
12452 (switch-to-buffer-other-window-same-frame): New functions.
12453 (same-window-p, special-display-p): Rewrite disabling warnings.
12454 Make obsolete.
12455 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
12456 (display-buffer-mark-dedicated): Initialize to symbol 'unset.
12457 Make obsolete
12458 (same-window-buffer-names, same-window-regexps)
12459 (special-display-frame-alist, special-display-popup-frame)
12460 (special-display-function, special-display-buffer-names)
12461 (special-display-regexps, pop-up-frame-alist)
12462 (pop-up-frame-function, split-window-preferred-function)
12463 (split-height-threshold, split-width-threshold)
12464 (even-window-heights): Make obsolete.
12465
12466 2011-06-12 Glenn Morris <rgm@gnu.org>
12467
12468 * term/xterm.el (terminal-init-xterm): `version' may be nil. (Bug#8838)
12469 Misc simplifications.
12470
12471 2011-06-12 Martin Rudalics <rudalics@gmx.at>
12472
12473 * window.el (window-safely-shrinkable-p): Restore function which
12474 was inadvertently removed in change from 2011-06-11. Declare as
12475 obsolete.
12476
12477 * calendar/calendar.el (calendar-generate-window):
12478 Use window-iso-combined-p instead of combination of one-window-p and
12479 window-safely-shrinkable-p.
12480
12481 2011-06-12 Glenn Morris <rgm@gnu.org>
12482
12483 * progmodes/fortran.el (fortran-mode-syntax-table):
12484 * progmodes/f90.el (f90-mode-syntax-table):
12485 Set % to punctuation. (Bug#8820)
12486 (f90-find-tag-default): Remove, no longer needed.
12487
12488 2011-06-12 Daniel Colascione <dan.colascione@gmail.com>
12489
12490 * emacs-lisp/syntax.el (syntax-ppss): Clarify which items are invalid.
12491
12492 2011-06-11 Chong Yidong <cyd@stupidchicken.com>
12493
12494 * image.el (image-animated-p): Return animation delay in seconds.
12495 Avoid bit manipulation in Lisp; use `delay' entry in the metadata.
12496 (image-animate-timeout): Remove DELAY argument. Don't assume
12497 every subimage has the same delay; get it from image-animated-p.
12498 (image-animate): Caller changed.
12499
12500 2011-06-11 Michael Albinus <michael.albinus@gmx.de>
12501
12502 * net/tramp.el (tramp-debug-message): Add `tramp-with-progress-reporter'
12503 to ignored backtrace functions.
12504
12505 2011-06-11 Glenn Morris <rgm@gnu.org>
12506
12507 * calendar/appt.el (appt-disp-window-function): Doc fix.
12508 (appt-check): Handle overlapping appointments. (Bug#8337)
12509
12510 2011-06-11 Martin Rudalics <rudalics@gmx.at>
12511
12512 * window.el (window-tree-1, window-tree): New functions, moving
12513 the latter to window.el.
12514 (bw-get-tree, bw-get-tree-1, bw-find-tree-sub)
12515 (bw-find-tree-sub-1, bw-l, bw-t, bw-r, bw-b, bw-dir, bw-eqdir)
12516 (bw-refresh-edges): Remove.
12517 (balance-windows-1, balance-windows-2): New functions.
12518 (balance-windows): Rewrite in terms of window tree functions,
12519 balance-windows-1 and balance-windows-2.
12520 (bw-adjust-window): Remove.
12521 (balance-windows-area-adjust): New function with functionality of
12522 bw-adjust-window but using resize-window.
12523 (set-window-text-height): Rewrite doc-string.
12524 Use normalize-live-window and resize-window.
12525 (enlarge-window-horizontally, shrink-window-horizontally):
12526 Rename argument to DELTA.
12527 (window-buffer-height): New function.
12528 (fit-window-to-buffer, shrink-window-if-larger-than-buffer):
12529 Rewrite using new window resize routines.
12530 (kill-buffer-and-window, mouse-autoselect-window-select):
12531 Use ignore-errors instead of condition-case.
12532 (quit-window): Call delete-frame instead of delete-windows-on
12533 for the only buffer on frame.
12534
12535 2011-06-10 Martin Rudalics <rudalics@gmx.at>
12536
12537 * loadup.el (top-level): Load window before files for the sake
12538 of replace-buffer-in-windows.
12539
12540 * files.el (read-buffer-to-switch)
12541 (switch-to-buffer-other-window)
12542 (switch-to-buffer-other-frame, display-buffer-other-frame):
12543 Move to window.el.
12544
12545 * simple.el (get-next-valid-buffer, last-buffer, next-buffer)
12546 (previous-buffer): Move to window.el.
12547
12548 * bindings.el (unbury-buffer): Move to window.el.
12549
12550 * window.el (delete-other-windows-vertically): Move after
12551 definition of delete-other-windows.
12552 (other-window, delete-windows-on, replace-buffer-in-windows):
12553 Move here from window.c.
12554 (record-window-buffer, unrecord-window-buffer)
12555 (set-window-buffer-start-and-point, switch-to-prev-buffer)
12556 (switch-to-next-buffer): New functions.
12557 (get-next-valid-buffer, last-buffer, next-buffer): Move here
12558 from simple.el. Call switch-to-next-buffer.
12559 (previous-buffer): Move here from simple.el.
12560 Call switch-to-prev-buffer.
12561 (bury-buffer): Move here from buffer.c. Switch to previous
12562 buffer when window cannot be deleted.
12563 (unbury-buffer): Move here from bindings.el.
12564 (ctl-x-map): Move binding for other-window from window.c to
12565 here.
12566 (read-buffer-to-switch, switch-to-buffer-other-window)
12567 (switch-to-buffer-other-frame): Move here from files.el.
12568 (normalize-buffer-to-switch-to): New functions.
12569 (switch-to-buffer): Move here from buffer.c.
12570 Use read-buffer-to-switch and normalize-buffer-to-switch-to.
12571
12572 2011-06-10 Martin Rudalics <rudalics@gmx.at>
12573
12574 * window.el (window-min-height, window-min-width): Move here
12575 from window.c. Add defcustoms and rewrite doc-strings.
12576 (resize-mini-window, resize-window): New functions.
12577 (adjust-window-trailing-edge, enlarge-window, shrink-window):
12578 Move here from window.c.
12579 (maximize-window, minimize-window): New functions.
12580 (delete-window, delete-other-windows, split-window): Move here
12581 from window.c.
12582 (window-split-min-size): New function.
12583 (split-window-keep-point): Mention split-window-above-each-other
12584 instead of split-window-vertically.
12585 (split-window-above-each-other, split-window-vertically):
12586 Rename split-window-vertically to split-window-above-each-other
12587 and provide defalias for old definition.
12588 (split-window-side-by-side, split-window-horizontally):
12589 Rename split-window-horizontally to split-window-side-by-side
12590 and provide defalias for the old definition.
12591 (ctl-x-map): Move bindings for delete-window,
12592 delete-other-windows and enlarge-window here from window.c.
12593 Replace bindings for split-window-vertically and
12594 split-window-horizontally by bindings for
12595 split-window-above-each-other and split-window-side-by-side.
12596
12597 * cus-start.el (all): Remove entries for window-min-height and
12598 window-min-width. Add entries for window-splits and
12599 window-nest.
12600
12601 2011-06-09 Glenn Morris <rgm@gnu.org>
12602
12603 * calendar/appt.el (appt-mode-line): New function.
12604 (appt-check, appt-disp-window): Use it.
12605
12606 * files.el (hack-one-local-variable-eval-safep):
12607 Allow minor-modes with explicit +/-1 arguments.
12608
12609 2011-06-09 Teodor Zlatanov <tzz@lifelogs.com>
12610
12611 * term/xterm.el (xterm): Add defgroup.
12612 (xterm-extra-capabilities): Add defcustom to supply known xterm
12613 capabilities, skip querying them, or query them (default).
12614 (terminal-init-xterm): Use it.
12615 (terminal-init-xterm-modify-other-keys): New function to set up
12616 modifyOtherKeys support to simplify `terminal-init-xterm'.
12617
12618 2011-06-09 Martin Rudalics <rudalics@gmx.at>
12619
12620 * window.el (resize-window-reset, resize-window-reset-1)
12621 (resize-subwindows-skip-p, resize-subwindows-normal)
12622 (resize-subwindows, resize-other-windows, resize-this-window)
12623 (resize-root-window, resize-root-window-vertically)
12624 (window-deletable-p, window-or-subwindow-p)
12625 (frame-root-window-p): New functions.
12626
12627 2011-06-09 Glenn Morris <rgm@gnu.org>
12628
12629 * net/ange-ftp.el (ange-ftp-switches-ok): New function.
12630 (ange-ftp-get-files): Use it.
12631
12632 2011-06-09 Alexander Klimov <alserkli@inbox.ru> (tiny change)
12633
12634 * mail/sendmail.el (mail-recover-1, mail-recover):
12635 * files.el (recover-file, recover-session):
12636 Handle dired-listing-switches not being just a single short option.
12637
12638 2011-06-09 Glenn Morris <rgm@gnu.org>
12639
12640 * calendar/appt.el (appt-display-message, appt-disp-window):
12641 Handle lists of appointments.
12642
12643 2011-06-08 Martin Rudalics <rudalics@gmx.at>
12644
12645 * window.el (one-window-p): Move down in code.
12646 Rewrite doc-string.
12647 (window-current-scroll-bars): Rewrite doc-string.
12648 Normalize live window argument.
12649 (walk-windows, get-window-with-predicate, count-windows):
12650 Rewrite doc-string. Use window-list-1.
12651 (window-in-direction-2, window-in-direction, get-mru-window):
12652 New functions.
12653
12654 2011-06-08 Reuben Thomas <rrt@sc3d.org>
12655
12656 * progmodes/flymake.el (flymake-compilation-prevents-syntax-check):
12657 Doc fix (Bug#8713).
12658
12659 2011-06-08 Chong Yidong <cyd@stupidchicken.com>
12660
12661 * repeat.el (repeat-on-final-keystroke): Fix type (Bug#8696).
12662
12663 2011-06-08 Juanma Barranquero <lekktu@gmail.com>
12664
12665 * loadhist.el (unload-feature-special-hooks):
12666 Add `comint-output-filter-functions'.
12667
12668 2011-06-08 Ivan Kanis <gnu@kanis.fr>
12669
12670 * calendar/appt.el (appt-check): Move some initializations into the let.
12671
12672 2011-06-08 Martin Rudalics <rudalics@gmx.at>
12673
12674 * window.el (window-height): Defalias to window-total-height.
12675 (window-width): Defalias to window-body-width.
12676
12677 2011-06-07 Chong Yidong <cyd@stupidchicken.com>
12678
12679 * image-mode.el (image-toggle-animation): New command.
12680 (image-mode-map): Bind it to RET.
12681 (image-mode): Update message.
12682 (image-toggle-display-image): Avoid a spurious cache flush.
12683 (image-transform-rotation): Doc fix.
12684 (image-transform-properties): Return quickly in the normal case.
12685 (image-animate-loop): Rename from image-animate-max-time.
12686
12687 * image.el (image-animate-max-time): Move to image-mode.el.
12688 (create-animated-image): Remove unnecessary function.
12689 (image-animate): Rename from image-animate-start. New arg.
12690 (image-animate-stop): Remove; just use image-animate-timer.
12691 (image-animate-timer): Use car-safe.
12692 (image-animate-timeout): Rename argument.
12693
12694 2011-06-07 Martin Rudalics <rudalics@gmx.at>
12695
12696 * window.el (get-lru-window, get-largest-window): Move here from
12697 window.c. Rename first argument to ALL-FRAMES.
12698 Rephrase doc-strings.
12699 (get-buffer-window-list): Rewrite using window-list-1.
12700 Rephrase doc-string.
12701 (window-safe-min-height, window-safe-min-width): New constants.
12702 (window-size-ignore, window-min-size, window-min-size-1)
12703 (window-sizable, window-sizable-p, window-size-fixed-1)
12704 (window-size-fixed-p, window-min-delta-1, window-min-delta)
12705 (window-max-delta-1, window-max-delta, window-resizable)
12706 (window-resizable-p, window-total-height, window-total-width)
12707 (window-body-width): New functions.
12708 (window-full-height-p, window-full-width-p): Rewrite using
12709 window-total-size.
12710 (window-body-height): Rewrite using window-body-size.
12711
12712 2011-06-06 Martin Rudalics <rudalics@gmx.at>
12713
12714 * window.el (window-right, window-left, window-child)
12715 (window-child-count, window-last-child, window-any-p)
12716 (normalize-live-buffer, normalize-live-frame)
12717 (normalize-any-window, normalize-live-window)
12718 (window-iso-combination-p, window-iso-combined-p)
12719 (window-iso-combinations)
12720 (walk-window-tree-1, walk-window-tree, walk-window-subtree)
12721 (windows-with-parameter, window-with-parameter)
12722 (window-atom-root, make-window-atom, window-atom-check-1)
12723 (window-atom-check, window-side-check, window-check):
12724 New functions.
12725 (ignore-window-parameters, window-sides, window-sides-vertical)
12726 (window-sides-slots): New variables.
12727 (window-size-fixed): Move down in code. Minor doc-string fix.
12728
12729 2011-06-05 Andreas Schwab <schwab@linux-m68k.org>
12730
12731 * comint.el (comint-dynamic-complete-as-filename)
12732 (comint-dynamic-complete-filename): Correctly call
12733 completion-in-region.
12734
12735 2011-06-05 Deniz Dogan <deniz@dogan.se>
12736
12737 * net/rcirc.el (rcirc-prompt-for-encryption): Fix bug introduced
12738 in last change.
12739
12740 2011-06-05 Deniz Dogan <deniz@dogan.se>
12741
12742 * net/rcirc.el (rcirc-prompt-for-encryption): New function.
12743 (rcirc): Use it to prompt for encryption.
12744
12745 2011-06-05 Roland Winkler <winkler@gnu.org>
12746
12747 * textmodes/bibtex.el (bibtex-search-buffer): New variable.
12748 (bibtex-search-entries): New command bound to C-c C-a.
12749 (bibtex-display-entries): New function.
12750
12751 2011-06-05 Roland Winkler <winkler@gnu.org>
12752
12753 * textmodes/bibtex.el (bibtex-generate-url-list): Fix docstring.
12754 (bibtex-insert-kill): After yanking insert newline if necessary.
12755 (bibtex-initialize): Call bibtex-string-files-init only once.
12756 (bibtex-mode): Do not call easy-menu-add.
12757 (bibtex-validate-globally): Use save-excursion in bibtex buffers.
12758 (bibtex-yank): Set arg properly if nil.
12759
12760 2011-06-05 Roland Winkler <winkler@gnu.org>
12761
12762 * textmodes/bibtex.el (bibtex-search-entry-globally):
12763 New variable.
12764 (bibtex-search-entry): Use it.
12765
12766 2011-06-05 Roland Winkler <winkler@gnu.org>
12767
12768 * textmodes/bibtex.el (bibtex-entry-format): New option
12769 sort-fields.
12770 (bibtex-format-entry, bibtex-reformat): Honor this option.
12771 (bibtex-parse-entry): Return fields in proper order.
12772
12773 2011-06-05 Juanma Barranquero <lekktu@gmail.com>
12774
12775 * doc-view.el (doc-view-remove-if): Move computation of result out
12776 of `dolist' to silence misleading lexical-binding warning.
12777
12778 2011-06-04 Chong Yidong <cyd@stupidchicken.com>
12779
12780 * emacs-lisp/timer.el (timer-activate): Remove unused arg.
12781 (timer-activate, timer-activate-when-idle): Doc fix (Bug#8793).
12782
12783 2011-06-04 Michael Albinus <michael.albinus@gmx.de>
12784
12785 * net/tramp-sh.el (tramp-find-shell): Apply workaround also for
12786 "SunOS 5.10".
12787
12788 2011-06-04 Michael Albinus <michael.albinus@gmx.de>
12789
12790 * net/tramp.el (tramp-set-completion-function, tramp-parse-rhosts)
12791 (tramp-parse-shosts, tramp-parse-sconfig, tramp-parse-shostkeys)
12792 (tramp-parse-hosts, tramp-parse-passwd, tramp-parse-netrc)
12793 (tramp-parse-putty):
12794 * net/tramp-sh.el (tramp-completion-function-alist-rsh)
12795 (tramp-completion-function-alist-ssh)
12796 (tramp-completion-function-alist-telnet)
12797 (tramp-completion-function-alist-su)
12798 (tramp-completion-function-alist-putty): Set `tramp-autoload'
12799 cookie.
12800
12801 * net/tramp-ftp.el:
12802 * net/tramp-sh.el:
12803 * net/tramp-smb.el: Set `tramp-autoload' cookie, and eval after
12804 load "tramp.el" `tramp-set-completion-function'.
12805
12806 2011-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
12807
12808 * shell.el: Require and use pcomplete.
12809 (shell-dynamic-complete-functions): Add pcomplete-completions-at-point.
12810 (shell-completion-vars): Set pcomplete-default-completion-function.
12811
12812 2011-06-04 Deniz Dogan <deniz@dogan.se>
12813
12814 * iswitchb.el (iswitchb-window-buffer-p): Use `member' instead of
12815 `memq' (Bug#8799).
12816
12817 2011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
12818
12819 * subr.el (make-progress-reporter): Add "..." by default (bug#8785).
12820
12821 2011-06-02 Juanma Barranquero <lekktu@gmail.com>
12822
12823 * bs.el (bs--mark-unmark, bs--nth-wrapper):
12824 * mpc.el (mpc-select-extend, mpc-songpointer-context):
12825 * vc/log-view.el (log-view-beginning-of-defun):
12826 * vc/smerge-mode.el (smerge-apply-resolution-patch)
12827 (smerge-refine-forward, smerge-refine-chopup-region):
12828 Silence warning for unused `dotimes' counter variables.
12829
12830 2011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
12831
12832 * net/tramp.el (tramp-with-progress-reporter): Rename from
12833 with-progress-reporter. Use `declare'.
12834 * net/tramp-smb.el:
12835 * net/tramp-sh.el:
12836 * net/tramp-gvfs.el: Update all uses.
12837
12838 2011-06-02 Jay Belanger <jay.p.belanger@gmail.com>
12839
12840 * calc/calc.el (calc-kill-stack-buffer): Make sure that the trail
12841 buffer isn't killed before making it current.
12842
12843 2011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
12844
12845 Silence various byte-compiler warnings.
12846 * emacs-lisp/byte-run.el (make-obsolete-variable): New argument
12847 `access-type' and new obsolescence format.
12848 * emacs-lisp/bytecomp.el (byte-compile-warn-obsolete): Adjust to
12849 new format.
12850 (byte-compile-check-variable): New `access-type' argument.
12851 Only warn if the access-type is obsolete.
12852 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
12853 (byte-compile-variable-set): Adjust callers.
12854 * help-fns.el (describe-variable): Adjust to new obsolescence format.
12855 * mail/sendmail.el (mail-mailer-swallows-blank-line): Only mark
12856 setting it as obsolete.
12857 * simple.el (minibuffer-completing-symbol):
12858 * font-lock.el (font-lock-beginning-of-syntax-function): Only mark read
12859 access as obsolete.
12860 * minibuffer.el (minibuffer-completing-file-name): Don't make it
12861 obsolete yet.
12862 * international/quail.el (quail-mouse-choose-completion): Remove unused
12863 code referring to obsolete var.
12864 (quail-choose-completion-string): Remove.
12865 * server.el (server-clients-with, server-kill-buffer-query-function)
12866 (server-kill-emacs-query-function): Silence "unused `proc'" warnings.
12867 * proced.el (proced-send-signal):
12868 * emacs-lisp/lisp.el (lisp-complete-symbol):
12869 Replace completion-annotate-function with completion-extra-properties.
12870
12871 2011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
12872
12873 * simple.el (goto-line): Use read-number.
12874 (overriding-map-is-bound): Remove.
12875 (saved-overriding-map): Change default.
12876 (save&set-overriding-map): Rename from ensure-overriding-map-is-bound;
12877 Take the map as argument.
12878 (universal-argument, negative-argument, digit-argument): Use it.
12879 (restore-overriding-map): Adjust.
12880 (do-auto-fill): Use fill-forward-paragraph.
12881 (keyboard-quit): Don't signal an error when debug-on-quit is non-nil.
12882
12883 * minibuffer.el (minibuffer-inactive-mode-map): New var.
12884 (minibuffer-inactive-mode): New major mode.
12885 * mouse.el (mouse-drag-region): Remove the "mouse-1 pops up
12886 the *Messages* buffer" hack.
12887 (mouse-popup-menubar): Don't burp if the event is a normal key.
12888
12889 Miscellaneous tweaks.
12890 * emacs-lisp/cl-macs.el (dolist, dotimes): Use the same strategy for
12891 lexical scoping as in subr.el's dolist and dotimes.
12892 * emacs-lisp/bytecomp.el (byte-compile-unfold-bcf):
12893 Silence compiler warning.
12894 * thingatpt.el (forward-whitespace): Trivial coding style fix.
12895 * subr.el (with-output-to-temp-buffer): Provide an edebug spec.
12896 * international/ccl.el (ccl-compile): Trivial simplification.
12897 * help-fns.el (help-do-arg-highlight): Silence compiler warning.
12898 * emacs-lisp/testcover.el (testcover-end): Remove spurious
12899 `printflag' argument.
12900 * emacs-lisp/byte-run.el (make-obsolete, make-obsolete-variable):
12901 Purecopy the whole obsolescence data.
12902
12903 2011-06-01 Leo Liu <sdl.web@gmail.com>
12904
12905 * net/rcirc.el (rcirc-decode-coding-system): Revert last change;
12906 improve doc-string as suggested by Marco Pessotto
12907 <melmothx@gmail.com>.
12908 (rcirc-print): Fix last change.
12909
12910 2011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
12911
12912 * minibuffer.el (complete-with-action): Return nil for the metadata and
12913 boundaries of non-functional tables.
12914 (completion-table-dynamic): Return nil for the metadata.
12915 (completion-table-with-terminator): Add default case, using
12916 complete-with-action.
12917 (completion--metadata): New function.
12918 (completion-all-sorted-completions, minibuffer-completion-help): Use it
12919 to try and avoid pathological performance problems.
12920 (completion--embedded-envvar-table): Return `category' metadata.
12921
12922 2011-05-31 Lars Magne Ingebrigtsen <larsi@gnus.org>
12923
12924 * subr.el (process-alive-p): New tiny convenience function.
12925
12926 2011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
12927
12928 * emacs-lisp/debug.el (debug): Save&restore not just the buffer's
12929 content but also its previous major mode.
12930
12931 2011-05-31 Helmut Eller <eller.helmut@gmail.com>
12932
12933 * emacs-lisp/debug.el (debug): Restore the previous content of the
12934 *Backtrace* buffer when we exit with C-M-c.
12935
12936 2011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
12937
12938 * minibuffer.el: Add metadata method to completion tables.
12939 (completion-category-overrides): New defcustom.
12940 (completion-metadata, completion--field-metadata)
12941 (completion-metadata-get, completion--styles)
12942 (completion--cycle-threshold): New functions.
12943 (completion-try-completion, completion-all-completions):
12944 Add `metadata' argument to choose completion-styles.
12945 (completion--do-completion): Use metadata to choose cycling.
12946 (completion-all-sorted-completions): Use metadata for sorting.
12947 Remove :completion-cycle-penalty which is not needed any more.
12948 (completion--try-word-completion): Add `metadata' argument.
12949 (minibuffer-completion-help): Check metadata for annotation function
12950 and sorting.
12951 (completion-file-name-table): Return `category' metadata.
12952 (minibuffer-completing-file-name): Make obsolete.
12953 * simple.el (minibuffer-completing-symbol): Make obsolete.
12954 * icomplete.el (icomplete-completions): Pass new `metadata' param to
12955 completion-try-completion.
12956
12957 2011-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
12958
12959 * mail/smtpmail.el (smtpmail-send-data): Add progress reporter.
12960
12961 2011-05-30 Leo Liu <sdl.web@gmail.com>
12962
12963 * net/rcirc.el (rcirc-debug-buffer): Use visible buffer name.
12964 (rcirc-print): Decode all incoming messages (bug#8744).
12965 (rcirc-decode-coding-system): Allow value nil for automatic coding
12966 system detection.
12967
12968 2011-06-01 Glenn Morris <rgm@gnu.org>
12969
12970 * mail/emacsbug.el (report-emacs-bug-hook): Mailclient ignores From.
12971
12972 2011-05-29 Chong Yidong <cyd@stupidchicken.com>
12973
12974 * image.el (image-animate-max-time): Allow nil and t values.
12975 Default to nil.
12976 (create-animated-image): Doc fix.
12977 (image-animate-start): Remove second arg; just use
12978 image-animate-max-time.
12979 (image-animate-timeout): Doc fix. Args changed.
12980
12981 * image-mode.el (image-toggle-display-image): Ensure that the
12982 image spec passed to the animate timer is the same object as in
12983 the buffer's display property (Bug#6981).
12984 (image-transform-properties): Doc fix.
12985
12986 * image.el (image-animate-max-time): Default to nil.
12987
12988 2011-05-29 Martin Rudalics <rudalics@gmx.at>
12989
12990 * menu-bar.el (kill-this-buffer-enabled-p): Avoid looping over
12991 entire buffer list (Bug#8184).
12992
12993 2011-05-29 Chong Yidong <cyd@stupidchicken.com>
12994
12995 * image.el (imagemagick-types-inhibit)
12996 (imagemagick-register-types): Doc fix.
12997
12998 2011-05-29 Deniz Dogan <deniz@dogan.se>
12999
13000 * net/rcirc.el (rcirc): Use the user's stored encryption method by
13001 default.
13002
13003 2011-05-29 Chong Yidong <cyd@stupidchicken.com>
13004
13005 * select.el: Don't perform clipboard-manager saving in hooks;
13006 leave the hooks empty.
13007
13008 2011-05-28 Leo Liu <sdl.web@gmail.com>
13009
13010 * replace.el (occur-menu-map, occur-edit-mode-map): New vars.
13011 (occur-mode-map): Bind occur-edit-mode. Use occur-menu-map.
13012 (occur-edit-mode): New major mode (Bug#8463).
13013 (occur-after-change-function): New function.
13014 (occur-engine): Give Occur tags a read-only property.
13015
13016 2011-05-28 Kevin Ryde <user42@zip.com.au>
13017
13018 * subr.el (def-edebug-spec): Doc fix (Bug#8430).
13019
13020 2011-05-28 Chong Yidong <cyd@stupidchicken.com>
13021
13022 * bindings.el (help-echo): Make the initial non-indicator dash
13023 empty on graphical terminals (Bug#7295).
13024
13025 * files.el (auto-mode-alist): Move config rule after the
13026 in-stripping one (Bug#8547).
13027
13028 * newcomment.el (comment-end-skip): Doc fix (Bug#8659).
13029
13030 * startup.el (normal-splash-screen): Remove gratuitous mode-line
13031 setting (Bug#8740).
13032
13033 2011-05-28 Alp Aker <aker@pitt.edu> (tiny change)
13034
13035 * buff-menu.el (Buffer-menu-revert-function, Buffer-menu-sort)
13036 (Buffer-menu-buffer+size): Use Buffer-menu-buffer-column
13037 (Bug#8539).
13038
13039 2011-05-28 Chong Yidong <cyd@stupidchicken.com>
13040
13041 * emacs-lisp/re-builder.el (re-builder): Improve doc (Bug#8286).
13042
13043 2011-05-28 Dima Kogan <dkogan@cds.caltech.edu> (tiny change)
13044
13045 * progmodes/hideshow.el (hs-looking-at-block-start-p): New fun.
13046 (hs-hide-block-at-point, hs-find-block-beginning)
13047 (hs-already-hidden-p, hs-hide-block, hs-show-block): Use it
13048 (Bug#8279).
13049
13050 2011-05-28 Glenn Morris <rgm@gnu.org>
13051
13052 * startup.el (fancy-about-screen): Use standard mode line. (Bug#8740)
13053
13054 2011-05-28 Chong Yidong <cyd@stupidchicken.com>
13055
13056 * help-fns.el (describe-function-1): If the function is a derived
13057 major mode, print the parent mode.
13058
13059 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode, java-mode)
13060 (idl-mode, pike-mode, awk-mode): Inherit from prog-mode.
13061
13062 2011-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
13063
13064 * minibuffer.el (completion--capf-wrapper): Check applicability before
13065 returning non-nil for non-exclusive completion data.
13066 * progmodes/etags.el (tags-completion-at-point-function):
13067 * info-look.el (info-lookup-completions-at-point): Mark as
13068 non-exclusive.
13069 (info-complete): Adjust accordingly.
13070
13071 * info-look.el: Convert to lexical-binding and completion-at-point.
13072 (info-lookup-completions-at-point): New function.
13073 (info-complete): Use it and completion-in-region.
13074
13075 2011-05-28 Drew Adams <drew.adams@oracle.com>
13076
13077 * isearch.el: Let M-e start with point at the first mismatched char.
13078 (isearch-fail-pos): New function.
13079 (isearch-edit-string): Use it.
13080
13081 2011-05-28 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
13082
13083 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
13084
13085 2011-05-27 Toby Cubitt <toby-predictive@dr-qubit.org>
13086
13087 * emacs-lisp/avl-tree.el: New avl-tree-stack datatype. Add new
13088 traversal functions for avl-trees.
13089 (avl-tree--stack): New struct.
13090 (avl-tree-stack-p, avl-tree--stack-repopulate): New funs.
13091 (avl-tree-enter): Add optional `updatefun' arg.
13092 (avl-tree--do-enter): Add optional `updatefun' arg.
13093 Change return value.
13094 (avl-tree-delete): Add optional `test' and `nilflag' args.
13095 (avl-tree--do-delete): Add `test' and `nilflag' args.
13096 Change return value.
13097 (avl-tree-member): Add optional `nilflag'
13098 (avl-tree-member-p): New function.
13099 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar): New functions.
13100 (avl-tree-stack, avl-tree-stack-pop, avl-tree-stack-first)
13101 (avl-tree-stack-empty-p): New functions.
13102
13103 * emacs-lisp/avl-tree.el (avl-tree--del-balance): Rename from
13104 avl-tree--del-balance1 and make it work both ways.
13105 (avl-tree--del-balance2): Remove.
13106 (avl-tree--enter-balance): Rename from avl-tree--enter-balance1 and
13107 make it work both ways.
13108 (avl-tree--enter-balance2): Remove.
13109 (avl-tree--switch-dir, avl-tree--dir-to-sign, avl-tree--sign-to-dir):
13110 New macros.
13111 (avl-tree--mapc, avl-tree-map): Add direction argument.
13112
13113 2011-05-27 David Michael <fedora.dm0@gmail.com> (tiny change)
13114
13115 * files.el (interpreter-mode-alist): Add rbash (bug#8745).
13116
13117 2011-05-27 Chong Yidong <cyd@stupidchicken.com>
13118
13119 * select.el: Support clipboard managers with built-in function
13120 x-clipboard-manager-save, via delete-frame-functions and
13121 kill-emacs-hook.
13122 (xselect-convert-to-targets): Add MULTIPLE target to list.
13123 (xselect-convert-to-save-targets): New function.
13124
13125 2011-05-27 Kenichi Handa <handa@m17n.org>
13126
13127 * mail/sendmail.el (mail-encode-header): Avoid double encoding by
13128 let-binding rfc2047-encode-encoded-words to nil.
13129
13130 2011-05-27 Glenn Morris <rgm@gnu.org>
13131
13132 * mail/emacsbug.el: Don't require url-util.
13133
13134 * shell.el (shell-directory-tracker): Case matters. (Bug#8735)
13135
13136 * files.el (set-auto-mode):
13137 Also respect mode: entries at the end of the file. (Bug#8586)
13138
13139 2011-05-26 Glenn Morris <rgm@gnu.org>
13140
13141 * files.el (hack-local-variables-prop-line, hack-local-variables):
13142 Downcase mode names, as seems to be traditional.
13143 (hack-local-variables, hack-local-variables-apply): Doc fixes.
13144
13145 * mail/emacsbug.el (report-emacs-bug): Mention checking From address.
13146 (report-emacs-bug-hook): Try to validate the From address. (Bug#8038)
13147
13148 2011-05-25 Julien Danjou <julien@danjou.info>
13149
13150 * textmodes/rst.el (rst-define-level-faces): Do not define face
13151 symbol if it is already defined.
13152
13153 2011-05-24 Vincent Belaïche <vincentb1@users.sourceforge.net>
13154
13155 * play/5x5.el (5x5-new-game, 5x5-randomize):
13156 Reset 5x5-solver-output to nil when a new grid is cast.
13157 (5x5-log-init, 5x5-log): Use defsubst instead of defmacro to shunt
13158 these debugging traces, as defmacro breaks the compiled code.
13159
13160 2011-05-24 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
13161
13162 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
13163
13164 2011-05-24 Leo Liu <sdl.web@gmail.com>
13165
13166 * vc/vc-bzr.el (vc-bzr-sha1-program): Rename from sha1-program.
13167 (vc-bzr-sha1): Adapt.
13168
13169 * sha1.el: Remove. Function `sha1' is now builtin.
13170
13171 * bindings.el: Provide sha1 feature.
13172
13173 2011-05-24 Kenichi Handa <handa@m17n.org>
13174
13175 * mail/sendmail.el: Require `rfc2047'.
13176 (mail-insert-from-field): Do not perform RFC2047 encoding.
13177 (mail-encode-header): New function.
13178 (sendmail-send-it): Set buffer-file-coding-system of the work
13179 buffer to the return value of select-message-coding-system.
13180 Call mail-encode-header.
13181
13182 * mail/smtpmail.el (smtpmail-send-it): Call mail-encode-header.
13183
13184 2011-05-24 Sean Neakums <sneakums@zork.net> (tiny change)
13185
13186 * mail/supercite.el (sc-default-cite-frame):
13187 Handle sc-nested-citation-p when sc-cite-blank-lines-p is non-nil.
13188
13189 2011-05-24 Glenn Morris <rgm@gnu.org>
13190
13191 * progmodes/python.el (brm-menu): Declare.
13192
13193 * emulation/viper.el (viper-set-hooks): Declare.
13194
13195 * play/5x5.el (5x5-log-init, 5x5-log): Evaluate when compiling.
13196 (5x5-log-init, 5x5-log, 5x5-solver): Doc fixes.
13197 (math-map-vec, math-sub, math-mul, math-make-intv, math-reduce-vec)
13198 (math-format-number, math-pow, calcFunc-arrange, calcFunc-cvec)
13199 (calcFunc-diag, calcFunc-trn, calcFunc-inv, calcFunc-mrow)
13200 (calcFunc-mcol, calcFunc-vconcat, calcFunc-index): Declare.
13201
13202 2011-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
13203
13204 Add an :exit-function for completion-at-point.
13205
13206 * minibuffer.el (completion--done): New fun.
13207 (completion--do-completion): Use it. New arg `expect-exact'.
13208 (minibuffer-complete, minibuffer-complete-word): Don't output message,
13209 since completion--do-completion does it for us now.
13210 (minibuffer-force-complete): Use completion--done and
13211 completion--replace. Handle sole-completion case with more care.
13212 (minibuffer-complete-and-exit): Use new `expect-exact' arg.
13213 (completion-extra-properties): New var.
13214 (completion-annotate-function): Make obsolete.
13215 (minibuffer-completion-help): Adjust accordingly.
13216 Use completion-list-insert-choice-function.
13217 (completion-at-point, completion-help-at-point):
13218 Bind completion-extra-properties.
13219 (completion-pcm-word-delimiters): Add | (for uniquify, for example).
13220 * simple.el (completion-list-insert-choice-function): New var.
13221 (completion-setup-function): Preserve it.
13222 (choose-completion): Pay attention to it, shuffle the code a bit.
13223 (choose-completion-string): New arg `insert-function'.
13224
13225 * textmodes/bibtex.el: Convert to lexical binding.
13226 (bibtex-mode-map): Use completion-at-point.
13227 (bibtex-mode): Use define-derived-mode&completion-at-point-functions.
13228 (bibtex-completion-at-point-function): New fun, from bibtex-complete.
13229 (bibtex-complete): Define as obsolete alias.
13230 (bibtex-complete-internal): Remove.
13231 (bibtex-format-entry): Remove unused sub-group in regexp.
13232 * shell.el (shell--command-completion-data)
13233 (shell-environment-variable-completion):
13234 * pcomplete.el (pcomplete-completions-at-point):
13235 * comint.el (comint--complete-file-name-data): Use :exit-function
13236 instead of completion-table-with-terminator so it also works for
13237 choose-completion.
13238
13239 2011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
13240
13241 * <lots-of-files>.el: Don't quote lambda expressions with `quote'.
13242
13243 * vc/smerge-mode.el (smerge-refine-subst): Don't deactivate the mark
13244 (bug#8710).
13245
13246 * emacs-lisp/lisp.el (up-list): Fix forward movement (bug#8708).
13247
13248 2011-05-23 Ken Manheimer <ken.manheimer@gmail.com>
13249
13250 * allout.el (allout-inhibit-auto-fill-on-headline): Create new
13251 customization variable and implement: If non-nil, auto-fill will
13252 be inhibited while on topic's header line.
13253
13254 2011-05-23 Vincent Belaïche <vincentb1@users.sourceforge.net>
13255
13256 * play/5x5.el: I/ Add an arithmetic solver to suggest positions to
13257 click on. II/ Make 5x5 multisession. III/ Ensure that random grids
13258 always have a solution in grid size = 5 cases.
13259 (5x5-mode-map): Add keybinding to function `5x5-solve-suggest'.
13260 (5x5-solver-output, 5x5-log-buffer): New vars.
13261 (5x5-grid, 5x5-x-pos, 5x5-y-pos, 5x5-moves, 5x5-cracking):
13262 Make these variables buffer local to achieve 5x5 multi-session-ness.
13263 (5x5): Set 5x5-grid-size only if SIZE is non-negative.
13264 (5x5-grid-to-vec, 5x5-vec-to-grid, 5x5-log-init, 5x5-log, 5x5-solver)
13265 (5x5-solve-suggest): New funs.
13266 (5x5-randomize): Use 5x5-make-move instead of 5x5-flip-cell to
13267 randomize a grid so that we ensure that there is always a solution.
13268 (5x5-make-random-grid): Allow other movement than flipping.
13269
13270 2011-05-23 Kevin Ryde <user42@zip.com.au>
13271
13272 * emacs-lisp/advice.el (ad-read-advised-function):
13273 Use `function-called-at-point' as the default, if it has
13274 advice and passes PREDICATE.
13275
13276 2011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
13277
13278 * emacs-lisp/bytecomp.el (byte-compile-function-form): Only call
13279 byte-compile-lambda if it's actually a lambda.
13280
13281 * emacs-lisp/eieio.el (eieio-defgeneric-form-primary-only-one):
13282 Fix function quoting. Use backquote better.
13283
13284 2011-05-22 Yuanle Song <sylecn@gmail.com>
13285
13286 * nxml/rng-xsd.el (rng-xsd-check-pattern): Use case-sensitive
13287 matching (Bug#8516).
13288
13289 2011-01-22 Jari Aalto <jari.aalto@cante.net>
13290
13291 * vc/vc-dir.el (vc-default-dir-printer): Give edited tag a
13292 different face (Bug#8178).
13293
13294 2011-05-22 Chong Yidong <cyd@stupidchicken.com>
13295
13296 * vc/diff-mode.el (diff-changed): Don't use terminal specs for
13297 defface (Bug#8144).
13298
13299 2011-05-22 Stefan Monnier <monnier@iro.umontreal.ca>
13300
13301 * emacs-lisp/macroexp.el (macroexpand-all-1): Convert ' to #' for
13302 funcall as well (bug#8712). Warn when performing those conversions.
13303 * emacs-lisp/bytecomp.el (byte-compile-form): Fix error report.
13304
13305 * progmodes/grep.el (grep-mode): Fix it for good (bug#8684)!
13306
13307 2011-05-22 Glenn Morris <rgm@gnu.org>
13308
13309 * files.el (hack-local-variables-prop-line): Small simplifications.
13310 (hack-local-variables, hack-local-variables-prop-line):
13311 If MODE-ONLY, return the mode, rather than just `t'.
13312
13313 2011-05-21 Stefan Monnier <monnier@iro.umontreal.ca>
13314
13315 * progmodes/grep.el (grep-mode): Fix last change (bug#8684).
13316
13317 2011-05-21 Glenn Morris <rgm@gnu.org>
13318
13319 * files.el (hack-local-variables-prop-line, hack-local-variables):
13320 If only interested in the mode, don't bother doing the other stuff.
13321
13322 * image-mode.el (image-after-revert-hook):
13323 Redraw all frames on which the image is visible. (Bug#8567)
13324
13325 * dired-aux.el (dired-touch-initial): Just use current-time. (Bug#6887)
13326
13327 * wid-edit.el (widget-checklist-match-inline):
13328 Fix 2011-04-19 change. (Bug#8649)
13329
13330 2011-05-20 Stefan Monnier <monnier@iro.umontreal.ca>
13331
13332 * emacs-lisp/checkdoc.el (checkdoc-sentencespace-region-engine):
13333 Also allow singlespace after single-letter capitals followed by a dot.
13334
13335 * nxml/nxml-mode.el (nxml-electric-slash): Reindent when completion is
13336 enabled. Suggested by James Ahlborn <jahlborn@gmail.com> (bug#8704).
13337
13338 2011-05-20 Nix <nix@esperi.org.uk>
13339
13340 * files.el (basic-save-buffer-2):
13341 Fix handling of break-hardlink-on-save with non-existent files.
13342
13343 2011-05-19 Deniz Dogan <deniz@dogan.se>
13344
13345 * net/rcirc.el (rcirc-mode): Initialize rcirc-urls to nil.
13346 (rcirc-markup-urls): Check if rcirc-url-regexp is nil.
13347
13348 2011-05-19 Glenn Morris <rgm@gnu.org>
13349
13350 * progmodes/f90.el (f90-type-def-re):
13351 Handle "type, bind(c)". (Bug#8691)
13352
13353 * emacs-lisp/autoload.el (batch-update-autoloads):
13354 Set autoload-excludes by parsing loadup.el rather than Makefiles.
13355
13356 2011-05-18 Michael Albinus <michael.albinus@gmx.de>
13357
13358 * net/tramp.el (tramp-process-actions): Set "first-password-request"
13359 property for the correct connection in case of multihops.
13360
13361 2011-05-18 Glenn Morris <rgm@gnu.org>
13362
13363 * emacs-lisp/authors.el (authors-fixed-entries): Remove fakemail.c.
13364 * mail/sendmail.el (sendmail-program): Fall back to just "sendmail".
13365
13366 Rationalize calendar handling of day and month abbrev-arrays.
13367 * calendar/calendar.el (calendar-customized-p): New function.
13368 (calendar-abbrev-construct, calendar-make-alist): Change what it does.
13369 (calendar-day-name-array, calendar-month-name-array): Doc fix.
13370 Add :set function.
13371 (calendar-abbrev-length, calendar-day-abbrev-array)
13372 (calendar-month-abbrev-array): Make defcustoms, with appropriate :set.
13373 (calendar-day-abbrev-array, calendar-month-abbrev-array):
13374 Elements may no longer be nil.
13375 (calendar-day-name, calendar-month-name):
13376 Update for changed nature of abbrev arrays.
13377 * calendar/diary-lib.el (diary-name-pattern):
13378 Update for changed nature of abbrev arrays.
13379 (diary-mark-entries-1): Update calendar-make-alist calls.
13380 (diary-font-lock-date-forms): Doc fix for changed abbrev arrays.
13381 * calendar/cal-html.el (cal-html-day-abbrev-array):
13382 Simply inherit from calendar-day-abbrev-array.
13383
13384 2011-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
13385
13386 * progmodes/grep.el (grep-mode): Disable default
13387 compilation-directory-matcher setting (bug#8684).
13388
13389 2011-05-17 Michael Albinus <michael.albinus@gmx.de>
13390
13391 * net/tramp.el (tramp-handle-insert-file-contents): Use "dd"
13392 instead of "head" and "tail". There were problems with SunOS 5.9,
13393 and it performs better.
13394
13395 2011-05-17 Glenn Morris <rgm@gnu.org>
13396
13397 * mail/mail-utils.el (mail-dont-reply-to): Silence compiler.
13398
13399 * progmodes/idlw-shell.el (idlwave-shell-complete-filename):
13400 Replace obsolete function.
13401
13402 * shell.el (pcomplete-parse-arguments-function): Declare.
13403
13404 * calendar/appt.el (appt-message-warning-time, appt-display-mode-line)
13405 (appt-display-diary, appt-display-interval, appt-prev-comp-time)
13406 (appt-check): Doc fixes.
13407 (appt-disp-window-function, appt-delete-window-function):
13408 Remove needless special case in custom :type.
13409 (appt-display-count): Default to 0, not nil.
13410 (appt-check): Reset appt-display-count to 0, not nil.
13411
13412 2011-05-17 Juanma Barranquero <lekktu@gmail.com>
13413
13414 * progmodes/python.el (python-font-lock-keywords):
13415 Add the Python 3.X keyword "nonlocal" (bug#8639).
13416
13417 2011-05-16 Stefan Monnier <monnier@iro.umontreal.ca>
13418
13419 * emacs-lisp/eieio.el (defmethod): Fix quoting of code (bug#8677).
13420
13421 2011-05-16 Kevin Ryde <user42@zip.com.au>
13422
13423 * info-look.el (makefile-automake-mode): New setups, looking in
13424 automake manual, then makefile-mode.
13425 (makefile-mode): Remove automake manual, have it just in
13426 makefile-automake-mode since there's various things different or
13427 not relevant to plain make.
13428 (makefile-mode): Remove "other-modes" non-existent automake-mode,
13429 believe a hypothetical automake-mode would go to makefile-mode,
13430 not the other way around.
13431
13432 2011-05-15 Chong Yidong <cyd@stupidchicken.com>
13433
13434 * vc/diff-mode.el (diff-fixup-modifs): Locate correct position for
13435 hunk-end tags (Bug#8672).
13436
13437 * vc/vc-annotate.el (vc-annotate-mode-map): Bind = to
13438 vc-annotate-show-diff-revision-at-line (Bug#8671).
13439
13440 2011-05-14 Glenn Morris <rgm@gnu.org>
13441
13442 * vc/add-log.el (add-change-log-entry): Don't start adding a new entry
13443 in the middle of an existing one with multiple authors. (Bug#8645)
13444 (change-log-font-lock-keywords): Also handle multiple author lines
13445 with leading tabs. (Bug#8644)
13446
13447 * calendar/appt.el (appt-check): Rename some local variables.
13448 Some simplification/reordering.
13449
13450 * mail/feedmail.el (feedmail-confirm-outgoing-timeout)
13451 (feedmail-sendmail-f-doesnt-sell-me-out)
13452 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
13453 (feedmail-debug-sit-for, feedmail-queue-express-hook)
13454 (feedmail-queue-runner-message-sender): Set :version.
13455 (bbdb-search, bbdb-records, smtp-via-smtp, smtp-server)
13456 (bbdb-dwim-net-address, vm-mail): Declare.
13457 (feedmail-binmail-gnulinuxish-template):
13458 Rename from feedmail-binmail-linuxish-template.
13459 (feedmail-buffer-to-smtp, feedmail-vm-mail-mode):
13460 Use insert-buffer-substring.
13461
13462 2011-05-14 Bill Carpenter <bill@carpenter.org>
13463
13464 * mail/feedmail.el (feedmail-patch-level): Increase.
13465 (feedmail-debug): New custom group.
13466 (feedmail-confirm-outgoing-timeout)
13467 (feedmail-sendmail-f-doesnt-sell-me-out)
13468 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
13469 (feedmail-debug-sit-for, feedmail-queue-express-hook): New options.
13470 (feedmail-sender-line, feedmail-from-line)
13471 (feedmail-fiddle-headers-upwardly, feedmail-enable-spray)
13472 (feedmail-spray-this-address)
13473 (feedmail-spray-address-fiddle-plex-list)
13474 (feedmail-queue-use-send-time-for-date)
13475 (feedmail-queue-use-send-time-for-message-id)
13476 (feedmail-last-chance-hook, feedmail-queue-runner-mode-setter)
13477 (feedmail-buffer-eating-function):
13478 Doc fixes.
13479 (feedmail-spray-via-bbdb, feedmail-buffer-to-smtp)
13480 (feedmail-vm-mail-mode, feedmail-message-action-scroll-up)
13481 (feedmail-message-action-scroll-down): New functions.
13482 (feedmail-queue-directory, feedmail-queue-draft-directory):
13483 Use expand-file-name.
13484 (feedmail-prompt-before-queue-standard-alist): Add scroll entries.
13485 Remove C-v help entry.
13486 (feedmail-queue-buffer-file-name): New variable.
13487 (feedmail-mail-send-hook-splitter, feedmail-buffer-to-binmail)
13488 (feedmail-buffer-to-smtpmail, feedmail-queue-express-to-draft)
13489 (feedmail-message-action-send-strong, feedmail-message-action-edit)
13490 (feedmail-message-action-draft, feedmail-message-action-draft-strong)
13491 (feedmail-message-action-queue, feedmail-message-action-queue-strong)
13492 (feedmail-message-action-toggle-spray)
13493 (feedmail-run-the-queue-no-prompts)
13494 (feedmail-run-the-queue-global-prompt, feedmail-queue-reminder)
13495 (feedmail-look-at-queue-directory, feedmail-queue-subject-slug-maker)
13496 (feedmail-create-queue-filename, feedmail-rfc822-time-zone):
13497 (feedmail-fiddle-header, feedmail-give-it-to-buffer-eater)
13498 (feedmail-envelope-deducer, feedmail-fiddle-from)
13499 (feedmail-fiddle-sender, feedmail-default-date-generator)
13500 (feedmail-fiddle-date, feedmail-fiddle-message-id)
13501 (feedmail-fiddle-spray-address)
13502 (feedmail-fiddle-list-of-spray-fiddle-plexes)
13503 (feedmail-fiddle-list-of-fiddle-plexes)
13504 (feedmail-fill-to-cc-function, feedmail-fill-this-one)
13505 (feedmail-one-last-look, feedmail-fqm-p): Add debug calls.
13506 (feedmail-queue-runner-message-sender, feedmail-binmail-template):
13507 Change default. Doc fix.
13508 (feedmail-queue-runner-cleaner-upper): Use feedmail-say-chatter.
13509 (feedmail-binmail-linuxish-template): New constant.
13510 (feedmail-buffer-to-sendmail): Doc fix. Add debug call.
13511 Respect feedmail-sendmail-f-doesnt-sell-me-out.
13512 (feedmail-send-it): Add debug call.
13513 Use feedmail-queue-buffer-file-name, and
13514 feedmail-send-it-immediately-wrapper.
13515 (feedmail-message-action-send): Add debug call.
13516 Use feedmail-send-it-immediately-wrapper.
13517 (feedmail-queue-express-to-queue): Add debug call.
13518 Run feedmail-queue-express-hook.
13519 (feedmail-message-action-help): Add debug call. Use feedmail-p-h-b-n.
13520 (feedmail-message-action-help-blat):
13521 Rename from feedmail-queue-send-edit-prompt-help-first.
13522 (feedmail-run-the-queue): Add debug call. Set buffer-file-type.
13523 Check line-endings. Handle errors better.
13524 (feedmail-queue-reminder-brief, feedmail-queue-reminder-medium):
13525 Doc fix. Add debug call.
13526 (feedmail-queue-send-edit-prompt): Doc fix. Add debug call.
13527 Use feedmail-queue-send-edit-prompt-inner.
13528 (feedmail-queue-runner-prompt, feedmail-scroll-buffer): New functions.
13529 (feedmail-queue-send-edit-prompt-inner): New function, extracted
13530 from feedmail-queue-send-edit-prompt.
13531 (feedmail-queue-send-edit-prompt-help)
13532 (feedmail-queue-send-edit-prompt-help-later): Remove functions.
13533 (feedmail-tidy-up-slug): Add debug call.
13534 Respect feedmail-queue-slug-suspect-regexp.
13535 (feedmail-queue-subject-slug-maker): Use buffer-substring-no-properties.
13536 (feedmail-dump-message-to-queue): Add debug call.
13537 Expand queue-directory.
13538 (feedmail-dump-message-to-queue): Change message slightly.
13539 Use feedmail-say-chatter.
13540 (feedmail-rfc822-date): Add debug call. Bind system-time-locale.
13541 (feedmail-send-it-immediately-wrapper): New function.
13542 (feedmail-send-it-immediately): Add debug calls. Use let not let*.
13543 Insert empty string rather than newline. Handle full-frame case.
13544 Use catch/throw. Use feedmail-say-chatter.
13545 (feedmail-fiddle-from): Try mail-host-address.
13546 (feedmail-default-message-id-generator): Doc fix.
13547 Bind system-time-locale. Handle missing end.
13548 (feedmail-fiddle-x-mailer): Add debug call.
13549 Handle feedmail-x-mailer-line being nil.
13550 (feedmail-accume-n-nuke-header, feedmail-deduce-address-list):
13551 Add debug call. Use buffer-substring-no-properties.
13552 (feedmail-say-debug, feedmail-say-chatter): New functions.
13553 (feedmail-find-eoh): Give an explicit error.
13554
13555 2011-05-13 Ulf Jasper <ulf.jasper@web.de>
13556
13557 * net/newst-treeview.el (newsticker-treeview-face): Change default
13558 family from helvetica to sans.
13559 (newsticker-treeview-tool-bar-map): Move tool-bar icons to
13560 etc/images/newsticker.
13561
13562 * net/newst-reader.el (newsticker-feed-face): Change default
13563 family from helvetica to sans.
13564
13565 * net/newst-plainview.el (newsticker-new-item-face)
13566 (newsticker-old-item-face, newsticker-immortal-item-face)
13567 (newsticker-obsolete-item-face, newsticker-date-face)
13568 (newsticker-statistics-face): Change default family from
13569 helvetica to sans.
13570 (newsticker--plainview-tool-bar-map): Move tool-bar icons to
13571 etc/images/newsticker.
13572
13573 * net/newst-backend.el (newsticker--do-run-auto-mark-filter)
13574 (newsticker--process-auto-mark-filter-match): Tell user about
13575 auto-marking.
13576
13577 2011-05-13 Didier Verna <didier@xemacs.org>
13578
13579 Common Lisp indentation improvements on defmethod and lambda-lists.
13580 * emacs-lisp/cl-indent.el: Advertise the changes and remove obsolete
13581 TODO entries.
13582 (lisp-lambda-list-keyword-parameter-indentation)
13583 (lisp-lambda-list-keyword-parameter-alignment)
13584 (lisp-lambda-list-keyword-alignment): New customizable user options.
13585 (lisp-indent-defun-method): Improve docstring.
13586 (extended-loop-p): Fix comment.
13587 (lisp-indent-lambda-list-keywords-regexp): New variable.
13588 (lisp-indent-lambda-list): New function.
13589 (lisp-indent-259): Use it.
13590 (lisp-indent-defmethod): Support for more than one
13591 method qualifier and properly indent methods lambda-lists.
13592 (defgeneric): Provide a missing common-lisp-indent-function property.
13593
13594 2011-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
13595
13596 * thingatpt.el (bounds-of-thing-at-point): Return nil rather than
13597 bounds for the empty string (bug#8667).
13598
13599 2011-05-13 Glenn Morris <rgm@gnu.org>
13600
13601 * mail/feedmail.el (feedmail-buffer-to-sendmail): Require sendmail.
13602
13603 * mail/sendmail.el (sendmail-program): Try executable-find first.
13604 (sendmail-send-it): `sendmail-program' cannot be unbound.
13605
13606 * calendar/appt.el (appt-make-list): Simplify.
13607 (appt-time-msg-list): Doc fix.
13608 (appt-check): Change mode-line message at the time of the appointment.
13609
13610 2011-05-12 Andreas Schwab <schwab@linux-m68k.org>
13611
13612 * progmodes/ld-script.el (ld-script-keywords)
13613 (ld-script-builtins): Update keywords list.
13614
13615 2011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
13616
13617 * progmodes/grep.el (grep-filter): Don't trip on partial lines.
13618
13619 * shell.el (shell-completion-vars): New function.
13620 (shell-mode):
13621 * simple.el (read-shell-command): Use it.
13622 (blink-matching-open): No need for " [...]" in minibuffer-message.
13623
13624 2011-05-12 Glenn Morris <rgm@gnu.org>
13625
13626 * calendar/appt.el (appt-now-displayed): Remove pointless variable.
13627 (appt-check): Simplify.
13628
13629 2011-05-12 Eli Zaretskii <eliz@gnu.org>
13630
13631 * vc/smerge-mode.el (smerge-resolve): Use null-device rather than a
13632 literal "/dev/null".
13633
13634 2011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
13635
13636 * emacs-lisp/lisp.el (lisp-complete-symbol, lisp-completion-at-point):
13637 Fix typo.
13638
13639 2011-05-12 Ralph Schleicher <rs@ralph-schleicher.de>
13640
13641 * progmodes/which-func.el (which-function):
13642 Use add-log-current-defun instead of add-log-current-defun-function,
13643 which might not be defined (Bug#8260).
13644
13645 2011-05-12 Glenn Morris <rgm@gnu.org>
13646
13647 * emacs-lisp/bytecomp.el (byte-compile-file-form-defmumble):
13648 Let byte-compile-initial-macro-environment always take precedence.
13649
13650 2011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
13651
13652 * net/rcirc.el: Add support for SSL/TLS connections.
13653 (rcirc-server-alist): New field `encryption'.
13654 (rcirc): Check `encryption' settings.
13655 (rcirc-connect): New arg `encryption'. Use open-network-stream.
13656 Merge make-local-variable into `set'.
13657 (rcirc--connection-open-p): New function.
13658 (rcirc-send-string, rcirc-clean-up-buffer): Use it to handle case where
13659 the process is not a network process (e.g. running gnutls-cli).
13660 (set-rcirc-decode-coding-system, set-rcirc-encode-coding-system):
13661 Make rcirc-(en|de)code-coding-system local here.
13662 (rcirc-mode): Merge make-local-variable into `set'.
13663 (rcirc-parent-buffer): Make permanent buffer-local.
13664 (rcirc-multiline-minor-mode): Don't do it here.
13665 (rcirc-switch-to-server-buffer): Don't switch to a random buffer if
13666 there's no server buffer.
13667
13668 2011-05-11 Glenn Morris <rgm@gnu.org>
13669
13670 * newcomment.el (comment-kill): Prefix "unused" local.
13671
13672 * term/w32console.el (get-screen-color): Declare.
13673
13674 * emacs-lisp/bytecomp.el (byte-compile-arglist-warn):
13675 Handle symbol elements of byte-compile-initial-macro-environment.
13676
13677 2011-05-10 Leo Liu <sdl.web@gmail.com>
13678
13679 * bookmark.el (bookmark-bmenu-mode-map):
13680 Bind bookmark-bmenu-search to `/'.
13681
13682 * mail/footnote.el: Convert to utf-8 encoding.
13683 (footnote-unicode-string, footnote-unicode-regexp): New variable.
13684 (Footnote-unicode): New function.
13685 (footnote-style-alist): Add unicode style to the list.
13686 (footnote-style): Doc fix.
13687
13688 2011-05-10 Jim Meyering <meyering@redhat.com>
13689
13690 Fix doubled-word typos.
13691 * international/quail.el (quail-insert-kbd-layout): and and -> and
13692 * kermit.el: and and -> and
13693 * net/ldap.el (ldap-search-internal): to to -> to
13694 * progmodes/vhdl-mode.el (vhdl-offsets-alist): Likewise.
13695 * progmodes/js.el (js-mode): and and -> and
13696 * textmodes/artist.el (artist-move-to-xy): at at -> at
13697 (artist-draw-region-trim-line-endings): if if -> if
13698 And Safetyc -> Safety.
13699 * textmodes/reftex-dcr.el (reftex-view-crossref): at at -> at a
13700
13701 2011-05-10 Glenn Morris <rgm@gnu.org>
13702 Stefan Monnier <monnier@iro.umontreal.ca>
13703
13704 * files.el (hack-one-local-variable-eval-safep):
13705 Consider "eval: (foo-mode)" to be safe. (Bug#8613)
13706
13707 2011-05-10 Glenn Morris <rgm@gnu.org>
13708
13709 * calendar/diary-lib.el (diary-list-entries-hook)
13710 (diary-mark-entries-hook, diary-nongregorian-listing-hook)
13711 (diary-nongregorian-marking-hook, diary-list-entries)
13712 (diary-include-other-diary-files, diary-mark-entries)
13713 (diary-mark-included-diary-files): Doc fixes.
13714
13715 2011-05-09 Juanma Barranquero <lekktu@gmail.com>
13716
13717 * misc.el: Require tabulated-list.el during compilation.
13718
13719 2011-05-09 Chong Yidong <cyd@stupidchicken.com>
13720
13721 * progmodes/compile.el (compilation-start):
13722 Run compilation-filter-hook for the async case too.
13723 (compilation-filter-hook): Doc fix.
13724
13725 2011-05-09 Deniz Dogan <deniz@dogan.se>
13726
13727 * wdired.el: Remove outdated installation comment. Fix usage
13728 comment.
13729
13730 2011-05-09 Juanma Barranquero <lekktu@gmail.com>
13731
13732 * misc.el: Implement new command `list-dynamic-libraries'.
13733 (list-dynamic-libraries--loaded-only-p): New variable.
13734 (list-dynamic-libraries--refresh): New function.
13735 (list-dynamic-libraries): New command.
13736
13737 2011-05-09 Chong Yidong <cyd@stupidchicken.com>
13738
13739 * progmodes/compile.el (compilation-error-regexp-alist-alist):
13740 Fix the ant regexp to handle end-line and end-column info from jikes.
13741 Re-introduce maven regexp. Give the ruby-Test::Unit regexp a
13742 higher priority to avoid clobbering by gnu.
13743
13744 2011-05-08 Chong Yidong <cyd@stupidchicken.com>
13745
13746 * cus-face.el (custom-declare-face): Call custom-theme-recalc-face
13747 if the face has existing theme settings (Bug#8454).
13748
13749 2011-05-08 Ralph Schleicher <rs@ralph-schleicher.de>
13750
13751 * progmodes/perl-mode.el (perl-imenu-generic-expression):
13752 Only match variables declared via `my' or `our' (Bug#8261).
13753
13754 * net/browse-url.el (browse-url-of-dired-file): Allow browsing of
13755 special file names `.' and `..' (Bug#8259).
13756
13757 2011-05-08 Chong Yidong <cyd@stupidchicken.com>
13758
13759 * progmodes/grep.el (grep-mode-font-lock-keywords):
13760 Remove buffer-changing entries.
13761 (grep-filter): New function.
13762 (grep-mode): Add it to compilation-filter-hook.
13763
13764 * progmodes/compile.el (compilation-filter-hook)
13765 (compilation-filter-start): New defvars.
13766 (compilation-filter): Call compilation-filter-hook prior to
13767 updating the process mark.
13768
13769 2011-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
13770
13771 * emacs-lisp/eieio.el (defmethod): Fix typo in last change.
13772
13773 2011-05-07 Eli Zaretskii <eliz@gnu.org>
13774
13775 * mail/sendmail.el (send-mail-function): On MS-Windows, default to
13776 mailclient-send-it even if window-system is nil. (Bug#8595)
13777
13778 * term/w32console.el (terminal-init-w32console):
13779 Call get-screen-color and use its output to set the frame
13780 background-mode. (Bug#8597)
13781
13782 2011-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
13783
13784 Make bytecomp.el understand that defmethod defines funs (bug#8631).
13785 * emacs-lisp/eieio.el (eieio--defalias, eieio--defgeneric-init-form):
13786 New functions.
13787 (defgeneric, eieio--defmethod): Use them.
13788 (eieio-defgeneric): Remove.
13789 (defmethod): Call defgeneric in a way visible to the byte-compiler.
13790
13791 2011-05-07 Glenn Morris <rgm@gnu.org>
13792
13793 * calendar/timeclock.el (timeclock-log-data): Remove unused local.
13794 Use let rather than let*.
13795 (timeclock-find-discrep): Remove unused local.
13796
13797 * calendar/diary-lib.el (diary-comment-start): Doc fix.
13798
13799 * calendar/appt.el (appt-time-msg-list): Doc fix.
13800
13801 2011-05-06 Noah Friedman <friedman@splode.com>
13802
13803 * apropos.el (apropos-print-doc): Only use
13804 emacs-lisp-docstring-fill-column when it is bound to an integer,
13805 per that variable's documentation.
13806
13807 2011-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
13808
13809 * lpr.el (print-region-1): Echo lpr-program's output, so error messages
13810 and warnings are not silently discarded (e.g. use -d instead of -P).
13811
13812 2011-05-06 Glenn Morris <rgm@gnu.org>
13813
13814 * calendar/appt.el (appt-message-warning-time): Doc fix.
13815 (appt-warning-time-regexp): New option.
13816 (appt-make-list): Respect appt-message-warning-time.
13817
13818 * calendar/diary-lib.el (diary-comment-start, diary-comment-end):
13819 New options.
13820 (diary-add-to-list): Strip comments from the displayed string.
13821 (diary-mode): Set comment-start and comment-end.
13822
13823 * vc/diff-mode.el (smerge-refine-subst): Declare.
13824 (diff-refine-hunk): Don't require smerge-mode when compiling.
13825
13826 2011-05-06 Juanma Barranquero <lekktu@gmail.com>
13827
13828 * simple.el (list-processes): Return nil as the docstring says.
13829
13830 2011-05-05 Michael Albinus <michael.albinus@gmx.de>
13831
13832 * net/ange-ftp.el (ange-ftp-binary-file-name-regexp): Set default
13833 to "".
13834 (ange-ftp-write-region, ange-ftp-insert-file-contents)
13835 (ange-ftp-copy-file-internal): Use only `ange-ftp-binary-file' for
13836 determining of binary transfer. (Bug#7383)
13837
13838 2011-05-05 Michael Albinus <michael.albinus@gmx.de>
13839
13840 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
13841 Fix port computation bug. (Bug#8618)
13842
13843 2011-05-05 Glenn Morris <rgm@gnu.org>
13844
13845 * allout-widgets.el (allout-widgets-mode-inhibit): Declare before use.
13846
13847 * simple.el (shell-dynamic-complete-functions)
13848 (comint-dynamic-complete-functions): Declare.
13849
13850 * net/network-stream.el (gnutls-negotiate):
13851 * simple.el (tabulated-list-print): Fix declarations.
13852
13853 * progmodes/gud.el (syntax-symbol, syntax-point):
13854 Remove unnecessary and incorrect declarations.
13855
13856 * emacs-lisp/check-declare.el (check-declare-scan):
13857 Handle byte-compile-initial-macro-environment in bytecomp.el
13858
13859 2011-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
13860
13861 Fix earlier half-done eieio-defmethod change (bug#8338).
13862 * emacs-lisp/eieio.el (eieio--defmethod): Rename from eieio-defmethod.
13863 Streamline and change calling convention.
13864 (defmethod): Adjust accordingly and simplify.
13865 (eieio-defclass): Fix broken calls to eieio-defmethod and redirect to
13866 new eieio--defmethod.
13867 (slot-boundp): Minor CSE simplification.
13868
13869 2011-05-05 Milan Zamazal <pdm@zamazal.org>
13870
13871 * progmodes/glasses.el (glasses-separate-capital-groups): New option.
13872 (glasses-make-readable): Use glasses-separate-capital-groups.
13873
13874 2011-05-05 Juanma Barranquero <lekktu@gmail.com>
13875
13876 * emacs-lisp/warnings.el (warning-level-aliases): Reflow docstring.
13877 (warning-series): Doc fix.
13878 (display-warning): Don't try to create the buffer if we just found it.
13879
13880 2011-05-04 Chong Yidong <cyd@stupidchicken.com>
13881
13882 * emacs-lisp/autoload.el (generated-autoload-file): Set to nil.
13883 (autoload-find-generated-file): New function.
13884 (generate-file-autoloads): Bind generated-autoload-file to
13885 buffer-file-name.
13886 (update-file-autoloads, update-directory-autoloads):
13887 Use autoload-find-generated-file. If called interactively, prompt for
13888 output file (Bug#7989).
13889 (batch-update-autoloads): Doc fix.
13890
13891 2011-05-04 Juanma Barranquero <lekktu@gmail.com>
13892
13893 * term/w32-win.el (dynamic-library-alist): Add `gnutls'.
13894
13895 2011-05-04 Glenn Morris <rgm@gnu.org>
13896
13897 * calendar/diary-lib.el (diary-fancy-date-pattern): Turn it into a
13898 function, so it follows changes in calendar-date-style.
13899 (diary-fancy-date-matcher): New function.
13900 (diary-fancy-font-lock-keywords): Use diary-fancy-date-matcher.
13901 (diary-fancy-font-lock-fontify-region-function):
13902 Use diary-fancy-date-pattern as a function.
13903
13904 * calendar/diary-lib.el (diary-fancy-date-pattern): Do not use
13905 non-numbers for `year' etc pseudo-variables. (Bug#8583)
13906
13907 2011-05-04 Teodor Zlatanov <tzz@lifelogs.com>
13908
13909 * net/gnutls.el (gnutls-negotiate): Use CL-style keyword arguments
13910 instead of positional arguments. Allow :keylist and :crlfiles
13911 arguments.
13912 (open-gnutls-stream): Call it.
13913
13914 * net/network-stream.el (network-stream-open-starttls): Adjust to
13915 call `gnutls-negotiate' with :process and :hostname arguments.
13916
13917 2011-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
13918
13919 * minibuffer.el (completion--message): New function.
13920 (completion--do-completion, minibuffer-complete)
13921 (minibuffer-force-complete, minibuffer-complete-word): Use it.
13922 (completion--do-completion): Don't ignore completion-auto-help when in
13923 icomplete-mode.
13924
13925 * whitespace.el (whitespace-trailing-regexp): Don't rely on the
13926 internal encoding (e.g. tibetan zero is not whitespace).
13927 (global-whitespace-mode): Prefer save-current-buffer.
13928 (whitespace-trailing-regexp): Remove useless save-match-data.
13929 (whitespace-empty-at-bob-regexp): Minor simplification.
13930
13931 2011-05-03 Chong Yidong <cyd@stupidchicken.com>
13932
13933 * emacs-lisp/autoload.el (generated-autoload-file): Doc fix (Bug#7989).
13934
13935 2011-05-03 Agustín Martín Domingo <agustin.martin@hispalinux.es>
13936
13937 * textmodes/ispell.el (ispell-add-per-file-word-list):
13938 Use `concat' to create string for insertion.
13939
13940 2011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
13941
13942 * textmodes/bibtex.el (bibtex-fill-field-bounds, bibtex-fill-entry):
13943 Avoid open-line which runs post-self-insert-hook.
13944 (bibtex-fill-entry): Remove unused `end' var.
13945
13946 2011-05-03 Dirk Ullrich <dirk.ullrich@googlemail.com> (tiny change)
13947
13948 * textmodes/ispell.el (ispell-add-per-file-word-list):
13949 Protect against `nil' value of `comment-start' (Bug#8579).
13950
13951 2011-05-03 Leo Liu <sdl.web@gmail.com>
13952
13953 * isearch.el (isearch-yank-pop): New command.
13954 (isearch-mode-map): Bind it to `M-y'.
13955 (isearch-forward): Mention it.
13956
13957 2011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
13958
13959 * simple.el (minibuffer-complete-shell-command): Remove.
13960 (minibuffer-local-shell-command-map): Use completion-at-point.
13961 (read-shell-command): Setup completion vars here instead.
13962 (read-expression-map): Bind TAB to symbol completion.
13963
13964 * textmodes/ispell.el (lookup-words): Use with-temp-buffer; signal
13965 error directly rather via storing it into `results'.
13966
13967 2011-05-02 Leo Liu <sdl.web@gmail.com>
13968
13969 * vc/diff.el: Fix description.
13970
13971 2011-05-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
13972
13973 * server.el (server-eval-at): New function.
13974
13975 2011-05-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
13976
13977 * net/network-stream.el (open-network-stream): Take a :nowait
13978 parameter and pass it on to `make-network-process'.
13979 (network-stream-open-plain): Ditto.
13980
13981 2011-04-30 Andreas Schwab <schwab@linux-m68k.org>
13982
13983 * faces.el (face-spec-set-match-display): Don't match toolkit
13984 options on terminal frames.
13985
13986 2011-04-29 Stefan Monnier <monnier@iro.umontreal.ca>
13987
13988 * progmodes/pascal.el: Use lexical binding.
13989 (pascal-mode-map): Remove author preferences.
13990
13991 * pcomplete.el (pcomplete-std-complete): Don't abuse
13992 completion-at-point.
13993
13994 2011-04-28 Juanma Barranquero <lekktu@gmail.com>
13995
13996 * calc/calccomp.el (math-comp-to-string-flat-term): Simplify by
13997 removing code that has been dead since 1991 or so.
13998
13999 * startup.el (command-line): When warning about "_emacs", use a
14000 delayed warning to allow the user to filter it out.
14001
14002 2011-04-28 Deniz Dogan <deniz@dogan.se>
14003
14004 * net/rcirc.el (rcirc-handler-353): Fix bug for channels which the
14005 user has not joined.
14006
14007 2011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
14008
14009 * pcomplete.el (pcomplete-completions-at-point): Return nil if there
14010 aren't any completions at point.
14011
14012 2011-04-28 Juanma Barranquero <lekktu@gmail.com>
14013
14014 * subr.el (display-delayed-warnings): New function.
14015 (delayed-warnings-hook): New variable.
14016
14017 2011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
14018
14019 * minibuffer.el (completion-at-point, completion-help-at-point):
14020 Don't presume that a given completion-at-point-function will always
14021 use the same calling convention.
14022
14023 * pcomplete.el (pcomplete-completions-at-point):
14024 Obey pcomplete-ignore-case. Don't call pcomplete-norm-func unless
14025 pcomplete-seen is non-nil.
14026 (pcomplete-comint-setup): Also recognize the new comint/shell
14027 completion functions.
14028 (pcomplete-do-complete): Don't call pcomplete-norm-func unless
14029 pcomplete-seen is non-nil.
14030
14031 2011-04-27 Niels Giesen <niels.giesen@gmail.com>
14032
14033 * calendar/icalendar.el (diary-lib): Add require statement.
14034 (icalendar--create-uid): Read out a uid from a text-property on
14035 the first character in the entry. This allows for code to add its
14036 own uid to the entry.
14037 (icalendar--convert-float-to-ical): Add export of
14038 `diary-float'-entries save for those with the optional DAY
14039 argument.
14040
14041 2011-04-27 Daniel Colascione <dan.colascione@gmail.com>
14042
14043 * subr.el (shell-quote-argument): Use alternate escaping strategy
14044 when we spot a variable reference in a string.
14045
14046 2011-04-26 Daniel Colascione <dan.colascione@gmail.com>
14047
14048 * cus-start.el (all): Define customization for debug-on-event.
14049
14050 2011-04-26 Daniel Colascione <dan.colascione@gmail.com>
14051
14052 * subr.el (shell-quote-argument): Escape correctly under Windows.
14053
14054 2011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
14055
14056 * emulation/cua-base.el (cua-selection-mode): Make it toggle again.
14057
14058 2011-04-25 Michael Albinus <michael.albinus@gmx.de>
14059
14060 * net/tramp.el (tramp-process-actions): Add POS argument.
14061 Delete region between POS and (pos).
14062
14063 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
14064 Use `nil' position in `tramp-process-actions' call.
14065 (tramp-maybe-open-connection): Call `tramp-process-actions' with pos.
14066
14067 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Use `nil'
14068 position in `tramp-process-actions' call.
14069
14070 * net/trampver.el: Update release number.
14071
14072 2011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
14073
14074 * custom.el (defcustom): Obey lexical-binding.
14075
14076 Fix octave-inf completion problems reported by Alexander Klimov.
14077 * progmodes/octave-inf.el (inferior-octave-mode-syntax-table):
14078 Inherit from octave-mode-syntax-table.
14079 (inferior-octave-mode): Set info-lookup-mode.
14080 (inferior-octave-completion-at-point): New function.
14081 (inferior-octave-complete): Use it and completion-in-region.
14082 (inferior-octave-dynamic-complete-functions): Use it as well, and use
14083 comint-filename-completion.
14084 * progmodes/octave-mod.el (octave-mode-syntax-table): Use _ syntax for
14085 symbol elements which shouldn't be word elements.
14086 (octave-font-lock-keywords, octave-beginning-of-defun)
14087 (octave-function-header-regexp): Adjust regexps accordingly.
14088 (octave-mode-map): Also use info-lookup-symbol for C-c C-h.
14089
14090 2011-04-25 Juanma Barranquero <lekktu@gmail.com>
14091
14092 * net/gnutls.el (gnutls-errorp): Declare before first use.
14093
14094 2011-04-24 Teodor Zlatanov <tzz@lifelogs.com>
14095
14096 * net/gnutls.el (gnutls-negotiate): Add hostname, verify-flags,
14097 verify-error, and verify-hostname-error parameters. Check whether
14098 default trustfile exists before going to use it. Add missing
14099 argument to gnutls-message-maybe call. Return value.
14100 Reported by Claudio Bley <claudio.bley@gmail.com>.
14101 (open-gnutls-stream): Add usage example.
14102
14103 * net/network-stream.el (network-stream-open-starttls): Give host
14104 parameter to `gnutls-negotiate'.
14105 (gnutls-negotiate): Adjust `gnutls-negotiate' declaration.
14106 * subr.el (shell-quote-argument): Escape correctly under Windows.
14107
14108 2011-04-24 Daniel Colascione <dan.colascione@gmail.com>
14109
14110 * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
14111 Use correct match group (bug#8438).
14112
14113 2011-04-24 Chong Yidong <cyd@stupidchicken.com>
14114
14115 * emacs-lisp/package.el (package-built-in-p): Fix typo.
14116 (package-menu--generate): New arg specifying packages to show.
14117 (package-menu-refresh, package-menu-execute, list-packages):
14118 Callers changed.
14119 (package-show-package-list): New function, replacing deleted
14120 package--list-packages (renamed because it is non-internal).
14121
14122 * finder.el (finder-list-matches): Use package-show-package-list
14123 instead of deleted package--list-packages.
14124
14125 * vc/vc-annotate.el (vc-annotate-goto-line): New command.
14126 Based on a previous implementation by Juanma Barranquero (Bug#8366).
14127 (vc-annotate-mode-map): Bind it to RET.
14128
14129 2011-04-24 Uday S Reddy <u.s.reddy@cs.bham.ac.uk> (tiny change)
14130
14131 * progmodes/etags.el (next-file): Don't use set-buffer to change
14132 buffers (Bug#8478).
14133
14134 2011-04-24 Chong Yidong <cyd@stupidchicken.com>
14135
14136 * files.el (auto-mode-alist): Use js-mode for .json (Bug#8529).
14137
14138 * apropos.el (apropos-label-face): Avoid variable-pitch face.
14139 (apropos-accumulator): Doc fix.
14140 (apropos-function, apropos-macro, apropos-command)
14141 (apropos-variable, apropos-face, apropos-group, apropos-widget)
14142 (apropos-plist): Add face property.
14143 (apropos-symbols-internal): Fix indentation.
14144 (apropos-print): Simplify help, and recognize apropos-multi-type.
14145 (apropos-print-doc): Use button-type-get to extract the button's
14146 face property. Fill docstring (Bug#8352).
14147
14148 2011-04-23 Juanma Barranquero <lekktu@gmail.com>
14149
14150 * buff-menu.el (Buffer-menu--buffers): Fix typo in docstring (bug#8535).
14151
14152 * play/mpuz.el (mpuz-silent): Doc fix.
14153 (mpuz-mode-map): Use mapc.
14154 (mpuz-put-number-on-board): Rename parameter L to COLUMNS.
14155 (mpuz-letter-to-digit, mpuz-check-all-solved, mpuz-create-buffer):
14156 Fix typos in docstrings.
14157
14158 * play/doctor.el (doc$, doctor-$, doctor-read-print, doctor-read-token)
14159 (doctor-nounp, doctor-pronounp): Fix typos in docstrings.
14160
14161 * mouse-drag.el (mouse-drag-throw): Fix typo in docstring.
14162
14163 2011-04-23 Chong Yidong <cyd@stupidchicken.com>
14164
14165 * minibuffer.el (completion--do-completion): Avoid the "Next char
14166 not unique" prompt if icomplete-mode is enabled (Bug#5849).
14167
14168 * mouse.el (mouse-drag-mode-line-1): Make sure that if we push
14169 mouse-2 into unread-command-events, it is interpreted correctly.
14170
14171 * image-mode.el (image-type, image-mode-map, image-minor-mode-map)
14172 (image-toggle-display): Doc fix.
14173
14174 2011-04-23 Stephen Berman <stephen.berman@gmx.net>
14175
14176 * textmodes/page.el (what-page): Use line-number-at-pos to
14177 calculate line number (Bug#6825).
14178
14179 2011-04-22 Juanma Barranquero <lekktu@gmail.com>
14180
14181 * eshell/esh-mode.el (find-tag-interactive): Declare function.
14182 (eshell-find-tag): Remove `with-no-warnings', unneeded now.
14183 Pass argument NO-DEFAULT to `find-tag-interactive'.
14184
14185 2011-04-22 Juanma Barranquero <lekktu@gmail.com>
14186
14187 Lexical-binding cleanup.
14188
14189 * progmodes/ada-mode.el (ada-after-change-function, ada-loose-case-word)
14190 (ada-no-auto-case, ada-capitalize-word, ada-untab, ada-narrow-to-defun):
14191 * progmodes/ada-prj.el (ada-prj-initialize-values)
14192 (ada-prj-display-page, ada-prj-field-modified, ada-prj-display-help)
14193 (ada-prj-show-value):
14194 * progmodes/ada-xref.el (ada-find-any-references, ada-gdb-application):
14195 * progmodes/antlr-mode.el (antlr-with-displaying-help-buffer)
14196 (antlr-invalidate-context-cache, antlr-options-menu-filter)
14197 (antlr-language-option-extra, antlr-c++-mode-extra, antlr-run-tool):
14198 * progmodes/bug-reference.el (bug-reference-push-button):
14199 * progmodes/fortran.el (fortran-line-length):
14200 * progmodes/glasses.el (glasses-change):
14201 * progmodes/octave-mod.el (octave-fill-paragraph):
14202 * progmodes/python.el (python-mode, python-pdbtrack-track-stack-file)
14203 (python-pdbtrack-grub-for-buffer, python-sentinel):
14204 * progmodes/sql.el (sql-save-connection):
14205 * progmodes/tcl.el (tcl-indent-command, tcl-popup-menu):
14206 * progmodes/xscheme.el (xscheme-enter-debugger-mode):
14207 Mark unused parameters.
14208
14209 * progmodes/compile.el (compilation--flush-directory-cache)
14210 (compilation--flush-parse, compile-internal): Mark unused parameters.
14211 (compilation-buffer-name): Rename parameter MODE-NAME to NAME-OF-MODE.
14212 (compilation-next-error-function): Remove unused variable `timestamp'.
14213
14214 * progmodes/cpp.el (cpp-parse-close): Remove unused variable `begin'.
14215 (cpp-signal-read-only, cpp-grow-overlay): Mark unused parameters.
14216
14217 * progmodes/dcl-mode.el (dcl-end-of-command):
14218 Remove unused variable `start'.
14219 (dcl-calc-command-indent-multiple, dcl-calc-cont-indent-relative)
14220 (dcl-option-value-basic, dcl-option-value-offset)
14221 (dcl-option-value-margin-offset, dcl-option-value-comment-line):
14222 Mark unused parameters.
14223 (dcl-save-local-variable): Remove unused variable `val'.
14224 (mode): Declare.
14225
14226 * progmodes/delphi.el (delphi-save-state, delphi-after-change):
14227 Mark unused parameters.
14228 (delphi-ignore-changes): Move before first use.
14229 (delphi-charset-token-at): Remove unused variable `start'.
14230 (delphi-else-start): Remove unused variable `if-count'.
14231 (delphi-comment-block-start, delphi-comment-block-end):
14232 Remove unused variable `kind'.
14233 (delphi-indent-line): Remove unused variable `new-point'.
14234
14235 * progmodes/ebrowse.el (ebrowse-files-list)
14236 (ebrowse-list-of-matching-members, ebrowse-tags-list-members-in-file):
14237 Mark unused parameters. Don't quote `lambda'.
14238 (ebrowse-sort-tree-list, ebrowse-same-tree-member-buffer-list):
14239 Don't quote `lambda'.
14240 (ebrowse-revert-tree-buffer-from-file, ebrowse-tags-choose-class)
14241 (ebrowse-goto-visible-member/all-member-lists): Mark unused parameters.
14242 (ebrowse-create-tree-buffer): Rename parameter OBARRAY to CLASSES.
14243 (ebrowse-toggle-mark-at-point): Remove unused variable `pnt'.
14244 Use `ignore-errors'.
14245 (ebrowse-frozen-tree-buffer-name, ebrowse-find-source-file)
14246 (ebrowse-view/find-file-and-search-pattern)
14247 (ebrowse-view/find-member-declaration/definition):
14248 Rename parameter TAGS-FILE-NAME to TAGS-FILE.
14249 (ebrowse-find-class-declaration, ebrowse-view-class-declaration):
14250 Rename parameter PREFIX-ARG to PREFIX.
14251 (ebrowse-tags-read-name): Remove unused variables `start' and
14252 `member-info'.
14253 (ebrowse-display-member-buffer): Rename variable `tags-file-name'
14254 to `tags-file'.
14255
14256 * progmodes/etags.el (local-find-tag-hook): Declare.
14257 (tag-partial-file-name-match-p, tag-any-match-p, list-tags):
14258 Mark unused parameters.
14259
14260 * progmodes/executable.el (compilation-error-regexp-alist): Declare.
14261 (executable-interpret): Mark unused parameter.
14262
14263 * progmodes/flymake.el (flymake-process-sentinel)
14264 (flymake-after-change-function)
14265 (flymake-create-temp-with-folder-structure)
14266 (flymake-get-include-dirs-dot): Mark unused parameters.
14267 (flymake-safe-delete-directory): Remove unused variable `err'.
14268
14269 * progmodes/gdb-mi.el (speedbar-change-initial-expansion-list)
14270 (speedbar-timer-fn, speedbar-line-text)
14271 (speedbar-change-expand-button-char, speedbar-delete-subblock)
14272 (speedbar-center-buffer-smartly): Declare functions.
14273 (gdb-find-watch-expression): Remove unused variable `array'.
14274 (gdb-edit-value, gdb-gdb, gdb-ignored-notification, gdb-thread-created)
14275 (gdb-starting): Mark unused parameters.
14276 (gud-gdbmi-marker-filter): Remove unused variable `output-record'.
14277 (gdb-table-string): Remove unused variable `res'.
14278 (gdb-place-breakpoints): Remove unused variables `flag' and `bptno'.
14279 (gdb-disassembly-handler-custom): Remove unused variable `pos'.
14280 (gdb-display-buffer): Remove unused variable `cur-size'.
14281
14282 * progmodes/gud.el (gud-def): Use `defalias' instead of `defun' to
14283 allow lexical-binding compilation.
14284 (gud-expansion-speedbar-buttons, gud-gdb-goto-stackframe)
14285 (gud-dbx-massage-args, gud-xdb-massage-args, gud-perldb-massage-args)
14286 (gud-jdb-massage-args, gud-jdb-find-source, gud-find-class):
14287 Mark unused parameters.
14288 (gud-gdb-marker-filter): Remove unused variable `match'.
14289 (gud-find-class): Bind `syntax-symbol' and `syntax-point' to suitable
14290 lambda expressions and funcall them, instead of using `fset'.
14291
14292 * progmodes/hideif.el (hif-parse-if-exp): Rename parameter
14293 HIF-TOKEN-LIST to TOKEN-LIST and let-bind `hif-token-list'.
14294
14295 * progmodes/hideshow.el (hs-hide-block-at-point): Remove unused
14296 variable `header-beg'; use `let'.
14297
14298 * progmodes/icon.el (indent-icon-exp): Remove unused variables
14299 `restart', `last-sexp' and `at-do'.
14300
14301 * progmodes/js.el (js--debug): Mark unused parameter.
14302 (js--parse-state-at-point): Remove unused variable `bound'; use `let'.
14303 (js--splice-into-items): Remove unused variable `item'.
14304 (js--read-symbol, js--read-tab): Pass 1/-1 to `ido-mode', not t/nil.
14305
14306 * progmodes/make-mode.el (makefile-make-font-lock-keywords):
14307 Rename parameter FONT-LOCK-KEYWORDS to FL-KEYWORDS.
14308 (makefile-complete): Remove unused variable `try'.
14309 (makefile-fill-paragraph, makefile-match-function-end):
14310 Mark unused parameters.
14311
14312 * progmodes/octave-inf.el (inferior-octave-complete):
14313 Remove unused variable `proc'.
14314 (inferior-octave-output-digest): Mark unused parameter.
14315
14316 * progmodes/perl-mode.el (perl-calculate-indent):
14317 Remove unused variable `err'.
14318
14319 * progmodes/prolog.el (prolog-mode-keybindings-inferior)
14320 (prolog-indent-line): Mark unused parameters.
14321 (prolog-indent-line): Remove unused variable `beg'.
14322
14323 * progmodes/ps-mode.el (reporter-prompt-for-summary-p)
14324 (reporter-dont-compact-list): Declare.
14325
14326 * progmodes/sh-script.el (sh-font-lock-quoted-subshell):
14327 Remove unused variable `char'.
14328 (sh-debug): Mark unused parameter.
14329 (sh-get-indent-info): Remove unused variable `start'.
14330 (sh-calculate-indent): Remove unused variable `var'.
14331
14332 * progmodes/simula.el (simula-popup-menu): Mark unused parameter.
14333 (simula-electric-keyword): Remove unused variable `null'.
14334 (simula-search-backward, simula-search-forward): Remove unused
14335 variables `begin' and `end'.
14336
14337 * progmodes/vera-mode.el (vera-guess-basic-syntax):
14338 Remove unused variable `pos'.
14339 (vera-electric-tab, vera-comment-uncomment-region):
14340 Mark unused parameters.
14341 (vera-electric-tab): Rename parameter PREFIX-ARG to PREFIX.
14342
14343 2011-04-22 Chong Yidong <cyd@stupidchicken.com>
14344
14345 * emacs-lisp/package.el (package--builtins, package-alist)
14346 (package-load-descriptor, package-built-in-p, package-activate)
14347 (define-package, package-installed-p)
14348 (package-compute-transaction, package-buffer-info)
14349 (package--push): Doc fix. Distinguish more clearly between
14350 version strings and version lists.
14351
14352 2011-04-21 Juanma Barranquero <lekktu@gmail.com>
14353
14354 Lexical-binding cleanup.
14355
14356 * play/5x5.el (5x5-make-random-solution, 5x5-make-mutate-current)
14357 (5x5-make-mutate-best):
14358 * play/fortune.el (fortune-in-buffer):
14359 * play/gomoku.el (gomoku-init-display):
14360 * play/solitaire.el (solitaire, solitaire-do-check):
14361 * play/tetris.el (tetris-default-update-speed-function):
14362 Mark unused parameters.
14363
14364 * play/bubbles.el (bubbles-mode): Set `show-trailing-whitespace'.
14365 (bubbles--shift): Remove unused variable `char-org'.
14366 (bubbles--set-faces): Remove unused variable `fg-col'. Simplify.
14367 (bubbles--show-images): Remove unused variable `char'.
14368
14369 * play/decipher.el (decipher-keypress, decipher-alphabet-keypress)
14370 (decipher-get-undo, decipher-set-map, decipher-complete-alphabet)
14371 (decipher-resync, decipher-loop-with-breaks, decipher--analyze)
14372 (decipher-analyze-buffer): Use ?\s.
14373 (decipher-make-checkpoint): Remove unused variable `mapping'.
14374
14375 * play/doctor.el (doctor-doc): Rename parameter DOCTOR-SENT to SENT.
14376
14377 * play/gamegrid.el (gamegrid-add-score-with-update-game-score):
14378 Remove unused variable `result'; use `let'.
14379
14380 * play/gametree.el (gametree-current-layout, gametree-apply-layout):
14381 Rename parameter TOP-LEVEL to FROM-TOP-LEVEL; use `ignore-errors'.
14382 (gametree-children-shown-p, gametree-compute-reduced-score):
14383 Use `ignore-errors'.
14384
14385 * play/handwrite.el (ps-lpr-switches): Declare.
14386 (handwrite): Remove unused variables `pmin' and `lastp'.
14387
14388 * play/hanoi.el (hanoi-move-ring): Remove unused variable `total-steps'.
14389
14390 * play/landmark.el (landmark-init-display)
14391 (landmark-update-naught-weights): Mark unused parameters.
14392 (landmark-y): Remove unused variable `noise'. Simplify.
14393 (landmark-human-plays): Remove unused variable `score'.
14394
14395 * play/mpuz.el (mpuz-try-letter): Remove unused variable `message'.
14396 (mpuz-try-proposal): Remove unused variable `game'.
14397
14398 * play/zone.el (life-patterns): Declare.
14399
14400 2011-04-20 Juanma Barranquero <lekktu@gmail.com>
14401
14402 * vc/vc.el (ediff-vc-internal): Declare function.
14403
14404 2011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
14405
14406 * shell.el: Use lexical-binding and std completion UI.
14407 (shell-filter-ctrl-a-ctrl-b): Work as a preoutput filter.
14408 (shell-mode): Put shell-filter-ctrl-a-ctrl-b on
14409 comint-preoutput-filter-functions rather than on
14410 comint-output-filter-functions.
14411 (shell-command-completion, shell--command-completion-data)
14412 (shell-filename-completion, shell-environment-variable-completion)
14413 (shell-c-a-p-replace-by-expanded-directory): New functions.
14414 (shell-dynamic-complete-functions, shell-dynamic-complete-command)
14415 (shell-dynamic-complete-filename, shell-replace-by-expanded-directory)
14416 (shell-dynamic-complete-environment-variable): Use them.
14417 (shell-dynamic-complete-as-environment-variable)
14418 (shell-dynamic-complete-as-command): Remove.
14419 (shell-match-partial-variable): Match past point.
14420 * comint.el: Clean up use of completion-at-point-functions.
14421 (comint-completion-at-point): New function.
14422 (comint-mode): Use it completion-at-point-functions.
14423 (comint-dynamic-complete): Make it obsolete.
14424 (comint-replace-by-expanded-history-before-point): Add dry-run arg.
14425 (comint-c-a-p-replace-by-expanded-history): New function.
14426 (comint-dynamic-complete-functions)
14427 (comint-replace-by-expanded-history): Use it.
14428 * minibuffer.el (completion-table-with-terminator): Allow dynamic
14429 termination strings. Try harder to avoid second try-completion.
14430 (completion-in-region-mode-map): Disable bindings that don't work yet.
14431
14432 * comint.el: Use lexical-binding. Require CL.
14433 (comint-dynamic-complete-functions): Use comint-filename-completion.
14434 (comint-completion-addsuffix): Tweak custom type.
14435 (comint-filename-completion, comint--common-suffix)
14436 (comint--common-quoted-suffix, comint--table-subvert)
14437 (comint--complete-file-name-data): New functions.
14438 (comint-dynamic-complete-as-filename, comint-dynamic-complete-filename)
14439 (comint-dynamic-list-filename-completions): Use them.
14440 (comint-dynamic-simple-complete): Make obsolete.
14441
14442 * minibuffer.el (completion-in-region-mode):
14443 Keep completion-in-region-mode--predicate global.
14444 (completion-in-region--postch):
14445 Assume completion-in-region-mode--predicate is not null.
14446
14447 * progmodes/flymake.el (flymake-start-syntax-check-process):
14448 Obey `dir'. Simplify.
14449
14450 * vc/vc.el (vc-version-ediff): Call ediff-vc-internal directly, since
14451 we're in VC after all.
14452
14453 2011-04-20 Christoph Scholtes <cschol2112@googlemail.com>
14454
14455 * vc/vc.el (vc-diff-build-argument-list-internal)
14456 (vc-version-ediff, vc-ediff): New commands.
14457 (vc-version-diff): Use vc-diff-build-argument-list-internal.
14458
14459 2011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
14460
14461 * emacs-lisp/byte-opt.el (byte-decompile-bytecode-1): Remove dead code,
14462 add sanity check.
14463
14464 * obsolete/erc-hecomplete.el: Make obsolete.
14465 * obsolete/: Standardize obsolescence info in the header.
14466
14467 2011-04-20 Glenn Morris <rgm@gnu.org>
14468
14469 * calendar/solar.el (solar-horizontal-coordinates):
14470 Use the longitude argument rather than `calendar-longitude'.
14471 (solar-date-next-longitude): Remove unused locals.
14472
14473 2011-04-20 Vinicius Jose Latorre <viniciusjl@ig.com.br>
14474
14475 * whitespace.el: New version 13.2.1.
14476
14477 2011-04-20 felix <EmacsWiki> (tiny change)
14478
14479 * whitespace.el (global-whitespace-mode): Keep highlight when
14480 switching between major modes on a file.
14481
14482 2011-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
14483
14484 * progmodes/octave-mod.el (octave-in-comment-p, octave-in-string-p)
14485 (octave-not-in-string-or-comment-p): Use syntax-ppss so it works with
14486 multi-line comments as well.
14487
14488 2011-04-19 Juanma Barranquero <lekktu@gmail.com>
14489
14490 Lexical-binding cleanup.
14491
14492 * arc-mode.el (archive-mode-revert):
14493 * cmuscheme.el (scheme-interactively-start-process):
14494 * custom.el (custom-initialize-delay):
14495 * dnd.el (dnd-open-local-file, dnd-open-remote-url):
14496 * dos-w32.el (direct-print-region-helper, direct-print-region-function):
14497 * emacs-lock.el (emacs-lock-clear-sentinel):
14498 * ezimage.el (defezimage):
14499 * follow.el (follow-avoid-tail-recenter):
14500 * fringe.el (set-fringe-mode-1):
14501 * generic-x.el (bat-generic-mode-compile):
14502 * help-mode.el (help-info-variable, help-do-xref)
14503 (help-mode-revert-buffer):
14504 * help.el (view-emacs-todo):
14505 * iswitchb.el (iswitchb-completion-help):
14506 * jka-compr.el (jka-compr-make-temp-name, jka-compr-load):
14507 * kmacro.el (kmacro-cycle-ring-next, kmacro-cycle-ring-previous)
14508 (kmacro-delete-ring-head, kmacro-bind-to-key, kmacro-view-macro):
14509 * locate.el (locate-update):
14510 * longlines.el (longlines-encode-region)
14511 (longlines-after-change-function):
14512 * outline.el (outline-isearch-open-invisible):
14513 * ps-def.el (declare-function, charset-dimension, char-width)
14514 (encode-char):
14515 * ps-mule.el (ps-mule-plot-string):
14516 * recentf.el (recentf-make-menu-items, recentf-cancel-dialog)
14517 (recentf-edit-list-select, recentf-edit-list-validate)
14518 (recentf-open-files-action):
14519 * rect.el (delete-whitespace-rectangle-line)
14520 (rectangle-number-line-callback):
14521 * register.el (window-configuration-to-register)
14522 (frame-configuration-to-register):
14523 * scroll-bar.el (scroll-bar-mode, toggle-horizontal-scroll-bar):
14524 * select.el (xselect-convert-to-string, xselect-convert-to-length)
14525 (xselect-convert-to-targets, xselect-convert-to-delete)
14526 (xselect-convert-to-filename, xselect-convert-to-charpos)
14527 (xselect-convert-to-lineno, xselect-convert-to-colno)
14528 (xselect-convert-to-os, xselect-convert-to-host)
14529 (xselect-convert-to-user, xselect-convert-to-class)
14530 (xselect-convert-to-name, xselect-convert-to-integer)
14531 (xselect-convert-to-atom, xselect-convert-to-identity):
14532 * subr.el (declare, ignore, process-kill-without-query)
14533 (text-clone-maintain):
14534 * terminal.el (te-get-char, te-tic-sentinel):
14535 * tool-bar.el (tool-bar-make-keymap):
14536 * tooltip.el (tooltip-timeout, tooltip-hide, tooltip-help-tips):
14537 * type-break.el (type-break-mode, type-break-noninteractive-query):
14538 * view.el (View-back-to-mark):
14539 * wid-browse.el (widget-browse-action, widget-browse-widget)
14540 (widget-browse-widgets, widget-browse-sexp):
14541 * widget.el (define-widget-keywords):
14542 * xt-mouse.el (xterm-mouse-translate, turn-off-xterm-mouse-tracking):
14543 Mark unused parameters.
14544
14545 * align.el (align-adjust-col-for-rule): Mark unused parameter.
14546 (align-areas): Remove unused variable `look'.
14547 (align-region): Remove unused variables `real-end' and `pos-list'.
14548
14549 * apropos.el (apropos-score-doc): Remove unused variable `i'.
14550
14551 * bindings.el (mode-line-modified, mode-line-remote):
14552 Mark unused parameters.
14553 (mode-line-mule-info): Mark unused parameter; don't quote `lambda'.
14554
14555 * buff-menu.el (Buffer-menu-revert-function): Mark unused parameters.
14556 (Buffer-menu-mode): Mark unused parameter; don't quote `lambda'.
14557
14558 * comint.el (comint-history-isearch-pop-state)
14559 (comint-postoutput-scroll-to-bottom, comint-truncate-buffer)
14560 (comint-strip-ctrl-m, comint-read-noecho): Mark unused parameters.
14561 (comint-substitute-in-file-name): Doc fix.
14562
14563 * completion.el (cmpl-statistics-block): Mark unused parameter.
14564 (add-completions-from-tags-table, add-completions-from-lisp-buffer)
14565 (save-completions-to-file, load-completions-from-file):
14566 Remove unused local variable `e'.
14567
14568 * composite.el (compose-chars): Remove unused variable `len'.
14569 (lgstring-insert-glyph): Remove unused variable `g'.
14570 (compose-glyph-string): Remove unused variables `ascent',
14571 `descent', `lbearing' and `rbearing'.
14572 (compose-glyph-string-relative): Remove unused variables
14573 `lbearing', `rbearing' and `wadjust'.
14574 (compose-gstring-for-graphic): Remove unused variables `header',
14575 `wadjust', `xoff' and `yoff'. Use `let', not `let*'.
14576 (compose-gstring-for-terminal): Remove unused variables `header'
14577 and `nchars'. Use `let', not `let*'.
14578
14579 * cus-edit.el (Custom-set, Custom-save, custom-reset)
14580 (Custom-reset-current, Custom-reset-saved, Custom-reset-standard)
14581 (Custom-buffer-done, custom-buffer-create-internal)
14582 (custom-browse-visibility-action, custom-browse-group-tag-action)
14583 (custom-browse-variable-tag-action, custom-browse-face-tag-action)
14584 (widget-magic-mouse-down-action, custom-toggle-parent)
14585 (custom-add-parent-links, custom-toggle-hide-variable)
14586 (custom-face-edit-value-visibility-action, custom-face-edit-fix-value)
14587 (custom-toggle-hide-face, face, hook, custom-group-link-action)
14588 (custom-face-menu-create, custom-variable-menu-create, get)
14589 (custom-group-menu-create, Custom-no-edit): Mark unused parameters.
14590 (custom-reset-standard-save-and-update): Remove unused variable `value'.
14591 (customize-apropos): Remove unused variable `tests'.
14592 (custom-group-value-create): Remove unused variable `hidden-p'.
14593 (sort-fold-case): Declare.
14594
14595 * cus-theme.el (custom-reset-standard-faces-list)
14596 (custom-reset-standard-variables-list): Declare.
14597 (customize-create-theme, custom-theme-revert, custom-theme-write)
14598 (custom-theme-choose-mode, customize-themes, custom-theme-save):
14599 Mark unused parameters.
14600
14601 * dabbrev.el (dabbrev-completion): Remove unused variable `init'.
14602
14603 * delim-col.el (delimit-columns-max): Move defvar before first use.
14604
14605 * descr-text.el (describe-char-categories): Don't quote `lambda'.
14606 (describe-char): Don't quote `lambda'. Mark unused parameter.
14607
14608 * desktop.el (desktop-save-buffer-p): Mark unused parameter.
14609 (auto-insert): Declare.
14610 (desktop-restore-file-buffer): Rename desktop-* parameters;
14611 mark unused ones.
14612 (desktop-create-buffer): Rename desktop-* parameters and bind them.
14613 (desktop-buffer): Rename desktop-* parameters.
14614
14615 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
14616 (dframe-reposition-frame-xemacs, dframe-help-echo)
14617 (dframe-hack-buffer-menu, dframe-set-timer, dframe-set-timer-internal):
14618 Mark unused parameters.
14619
14620 * dired-aux.el (backup-extract-version-start, overwrite-query)
14621 (overwrite-backup-query, rename-regexp-query)
14622 (rename-non-directory-query): Declare.
14623 (dired-shell-stuff-it, dired-do-create-files): Mark unused parameters.
14624 (dired-add-entry): Remove unused variable `orig-file-name'.
14625 (dired-copy-file-recursive): Remove unused variable `dirfailed'.
14626 Use parameter PRESERVE-TIME instead of accessing dynamic variable
14627 `dired-copy-preserve-time' directly.
14628 (dired-do-create-files-regexp): Remove unused variable `fn-count'.
14629 (dired-insert-subdir-newpos): Rename unused variable `pos'.
14630
14631 * dired-x.el (dired-omit-size-limit): Move defcustom before first use.
14632 (dired-virtual-revert, dired-make-relative-symlink):
14633 Mark unused parameters.
14634 (manual-program): Declare.
14635 (dired-x-hands-off-my-keys): Rename parameters of lambda expression.
14636 (inode, s, mode, nlink, uid, gid, size, time, name, sym): Declare them,
14637 wrapped in `with-no-warnings' to avoid replacing one warning by another.
14638
14639 * dirtrack.el (dirtrack): Remove unused variable `multi-line'.
14640
14641 * dos-fns.el (dos-8+3-filename): Remove unused variable `i'.
14642
14643 * echistory.el (electric-history-in-progress, Helper-return-blurb):
14644 Declare.
14645
14646 * edmacro.el (edmacro-finish-edit): Remove unused variable `kmacro'.
14647
14648 * electric.el (Electric-command-loop): Rename parameter
14649 INHIBIT-QUIT to INHIBIT-QUITTING and bind `inhibit-quit'.
14650
14651 * expand.el (expand-in-literal): Remove unused variable `here'.
14652
14653 * facemenu.el (facemenu-add-new-color):
14654 Remove unused variable `docstring'.
14655
14656 * faces.el (face-id, make-face-bold, make-face-unbold, make-face-italic)
14657 (make-face-unitalic, make-face-bold-italic): Mark unused parameters.
14658 (face-attr-construct): Mark unused parameter. Doc fix.
14659 (read-color): Remove unused variable `hex-string'.
14660
14661 * files.el (parse-colon-path): Rename argument CD-PATH to SEARCH-PATH.
14662 (locate-dominating-file): Remove unused vars `prev-file' and `user'.
14663 (remote-file-name-inhibit-cache, revert-buffer): Clean up docstrings.
14664 (display-buffer-other-frame): Remove unused variable `old-window'.
14665 (kill-buffer-hook): Declare.
14666 (insert-file-contents-literally, set-auto-mode, risky-local-variable-p):
14667 Mark unused parameters.
14668 (after-find-file): Pass 1 to `auto-save-mode', not t.
14669
14670 * files-x.el (auto-insert): Declare.
14671 (modify-file-local-variable-prop-line): Remove unused variable `val'.
14672
14673 * find-lisp.el (find-lisp-find-dired-internal): Remove unused
14674 variable `buf'. Mark unused parameter.
14675 (find-lisp-insert-directory): Mark unused parameter.
14676
14677 * format.el (format-decode-run-method): Mark unused parameter; doc fix.
14678 (format-encode-region): Remove unused variables `cur-buf' and `result'.
14679 (format-common-tail): Remove, unused.
14680 (format-deannotate-region): Remove unused variable `loc'.
14681 (format-annotate-region): Remove unused variable `p'.
14682 (format-annotate-single-property-change): Remove unused variables
14683 `default' and `tail'.
14684
14685 * forms.el (read-file-filter): Declare.
14686 (forms--iif-hook, forms--revert-buffer): Mark unused parameters.
14687
14688 * frame.el (frame-creation-function-alist): Mark unused parameter.
14689 (frame-geom-spec-cons): Pass FRAME to `frame-geom-value-cons'.
14690
14691 * hilit-chg.el (hilit-chg-cust-fix-changes-face-list, hilit-chg-clear):
14692 Remove unused parameters.
14693 (hilit-chg-set-face-on-change): Remove unused variable `beg-decr'.
14694 (highlight-compare-with-file): Remove unused variable `buf-b-read-only'.
14695
14696 * htmlfontify.el (hfy-default-footer, hfy-decor, hfy-invisible)
14697 (hfy-parse-tags-buffer, hfy-prepare-index-i, hfy-prepare-index)
14698 (hfy-prepare-tag-map): Mark unused parameters.
14699 (htmlfontify-buffer): Use `called-interactively-p'.
14700
14701 * ibuf-ext.el (ibuffer-do-kill-lines, ibuffer-jump-to-buffer)
14702 (ibuffer-copy-filename-as-kill, ibuffer-mark-on-buffer)
14703 (ibuffer-do-occur): Mark unused parameters.
14704 (ibuffer-forward-next-marked): Remove unused variable `curmark'.
14705 (ibuffer-diff-buffer-with-file-1): Remove unused variable `proc'.
14706
14707 * ibuffer.el: Don't quote `lambda'.
14708 (ibuffer-count-marked-lines, ibuffer-count-deletion-lines)
14709 (ibuffer-unmark-all, ibuffer-toggle-marks, ibuffer-redisplay-engine):
14710 Mark unused parameters.
14711
14712 * ido.el (ido-mode, ido-wide-find-dir-or-delete-dir)
14713 (ido-completing-read): Mark unused parameters.
14714 (ido-copy-current-word): Mark unused parameters;
14715 remove unused variable `name'.
14716 (ido-sort-merged-list): Remove unused parameter `dirs'.
14717
14718 * ielm.el (ielm-input-sender): Mark unused parameter.
14719 (ielm-string, ielm-form, ielm-pos, ielm-result, ielm-error-type)
14720 (ielm-output, ielm-wbuf, ielm-pmark): Declare.
14721 (ielm-eval-input): Rename argument IELM-STRING to INPUT-STRING to keep
14722 `ielm-string' as a dynamic variable accessible from the IELM prompt.
14723 Bind `ielm-string' to INPUT-STRING. Remove unused variable `err'.
14724
14725 * image-dired.el (image-dired-display-thumbs): Remove unused
14726 variables `curr-file' and `count'.
14727 (image-dired-remove-tag): Remove unused variable `start'.
14728 (image-dired-tag-files, image-dired-create-thumbs): Remove unused
14729 variable `curr-file'
14730 (image-dired-rotate-original): Remove unused variable `temp-file'.
14731 (image-dired-mouse-select-thumbnail, image-dired-mouse-toggle-mark):
14732 Remove unused variable `file'.
14733 (image-dired-gallery-generate): Remove unused variable `curr'.
14734 (image-dired-dired-edit-comment-and-tags): Mark unused parameters.
14735
14736 * indent.el (tab-to-tab-stop): Remove unused variable `opoint'.
14737
14738 * info-xref.el (info-xref-goto-node-p): Remove unused variable `err'.
14739
14740 * informat.el (texinfo-command-start, texinfo-command-end): Declare.
14741
14742 * isearch.el (minibuffer-history-symbol): Declare.
14743 (isearch-edit-string): Remove unused variable `err'.
14744 (isearch-message-prefix, isearch-message-suffix):
14745 Mark unused parameters.
14746
14747 * ls-lisp.el (ls-lisp-insert-directory): Remove unused variable `fil'.
14748
14749 * macros.el (insert-kbd-macro): Remove unused variable `mods'.
14750
14751 * makesum.el (double-column): Remove unused variable `cnt'.
14752
14753 * misearch.el (multi-isearch-pop-state): Mark unused parameter.
14754 (ido-ignore-item-temp-list): Declare.
14755
14756 * mouse-drag.el (mouse-drag-throw): Remove unused variables
14757 `mouse-delta', `window-last-row', `mouse-col-delta', `window-last-col',
14758 `adjusted-mouse-col-delta' and `adjusted-mouse-delta'.
14759 (mouse-drag-drag): Remove unused variables `mouse-delta' and
14760 `mouse-col-delta'.
14761
14762 * mouse-sel.el (mouse-extend-internal):
14763 Remove unused variable `orig-window-frame'.
14764
14765 * pcomplete.el (pcomplete-args, pcomplete-begins, pcomplete-last)
14766 (pcomplete-index, pcomplete-stub, pcomplete-seen, pcomplete-norm-func):
14767 Move declarations before first use.
14768 (pcomplete-opt): Mark unused parameters; doc fix.
14769
14770 * proced.el (proced-revert): Mark unused parameter.
14771 (proced-send-signal): Remove unused variable `err'.
14772
14773 * ps-print.el (ps-print-preprint-region, ps-print-preprint):
14774 Rename parameter PREFIX-ARG to ARG.
14775 (ps-basic-plot-string, ps-basic-plot-whitespace):
14776 Mark unused parameters.
14777
14778 * replace.el (replace-count): Define.
14779 (occur-revert-function): Mark unused parameters.
14780 (ido-ignore-item-temp-list, isearch-error, isearch-forward)
14781 (isearch-case-fold-search, isearch-string): Declare.
14782 (occur-engine): Rename parameter CASE-FOLD-SEARCH to CASE-FOLD and
14783 bind `case-fold-search'. Remove unused variables `beg' and `end',
14784 and simplify.
14785 (replace-eval-replacement): Rename parameter REPLACE-COUNT to
14786 COUNT and bind `replace-count'.
14787 (replace-loop-through-replacements): Rename parameter REPLACE-COUNT
14788 to COUNT.
14789
14790 * savehist.el (print-readably, print-string-length): Declare.
14791
14792 * shadowfile.el (shadow-expand-cluster-in-file-name):
14793 Remove unused variable `cluster'.
14794 (shadow-copy-file): Remove unused variable `i'.
14795 (shadow-noquery, shadow-clusters, shadow-site-cluster)
14796 (shadow-parse-fullname, shadow-parse-name, shadow-define-cluster)
14797 (shadow-define-literal-group, shadow-define-regexp-group)
14798 (shadow-make-group, shadow-shadows-of): Clean up docstrings.
14799
14800 * shell.el (shell-filter-ctrl-a-ctrl-b): Mark unused parameter.
14801 (shell): Use `called-interactively-p'.
14802 (shell-directory-tracker): Remove unused variable `chdir-failure'.
14803
14804 * simple.el (compilation-context-lines, comint-file-name-quote-list)
14805 (comint-file-name-chars, comint-delimiter-argument-list): Declare.
14806 (delete-backward-char): Remove unused variable `ocol'.
14807 (minibuffer-avoid-prompt, minibuffer-history-isearch-pop-state)
14808 (line-move-1, event-apply-alt-modifier, event-apply-super-modifier)
14809 (event-apply-hyper-modifier, event-apply-shift-modifier)
14810 (event-apply-control-modifier, event-apply-meta-modifier):
14811 Mark unused parameters.
14812 (undo-make-selective-list): Remove duplicate variable `undo-elt'.
14813 (normal-erase-is-backspace-mode): Remove unused variable `old-state'.
14814
14815 * speedbar.el (speedbar-ignored-directory-expressions)
14816 (speedbar-supported-extension-expressions, speedbar-directory-buttons)
14817 (speedbar-find-file, speedbar-dir-follow)
14818 (speedbar-directory-buttons-follow, speedbar-tag-find)
14819 (speedbar-buffer-buttons, speedbar-buffer-buttons-temp)
14820 (speedbar-buffers-line-directory, speedbar-buffer-click):
14821 Mark unused parameters.
14822 (speedbar-tag-file): Remove unused variable `mode'.
14823 (speedbar-buffers-tail-notes): Remove unused variable `mod'; simplify.
14824
14825 * strokes.el (strokes-decode-buffer): Remove unused variable `ext'.
14826
14827 * talk.el (talk): Remove unused variable `display'.
14828
14829 * tar-mode.el (tar-subfile-save-buffer): Remove unused variable `name'.
14830 (tar-write-region-annotate): Mark unused parameter.
14831
14832 * time.el (now, time, load, mail, 24-hours, hour, 12-hours, am-pm)
14833 (minutes, seconds, time-zone, day, year, monthname, month, dayname):
14834 Declare them, wrapped in `with-no-warnings' to avoid replacing one
14835 warning by another.
14836
14837 * time-stamp.el (time-stamp-string-preprocess):
14838 Remove unused variable `require-padding'.
14839
14840 * tree-widget.el (widget-glyph-enable): Declare.
14841 (tree-widget-action): Mark unused parameter.
14842
14843 * w32-fns.el (x-get-selection): Mark unused parameter.
14844 (autoload-make-program, generated-autoload-file): Declare.
14845
14846 * wdired.el (wdired-revert): Mark unused parameters.
14847 (wdired-xcase-word): Remove unused variable `err'.
14848
14849 * whitespace.el (whitespace-buffer-changed): Mark unused parameters.
14850 (whitespace-help-scroll): Remove unused variable `data-help'.
14851
14852 * wid-edit.el (widget-mouse-help, widget-overlay-inactive)
14853 (widget-image-insert, widget-after-change, default)
14854 (widget-default-format-handler, widget-default-notify)
14855 (widget-default-prompt-value, widget-info-link-action)
14856 (widget-url-link-action, widget-function-link-action)
14857 (widget-variable-link-action, widget-file-link-action)
14858 (widget-emacs-library-link-action, widget-emacs-commentary-link-action)
14859 (widget-field-prompt-internal, widget-field-action, widget-field-match)
14860 (widget-choice-mouse-down-action, toggle, widget-radio-button-notify)
14861 (widget-insert-button-action, widget-delete-button-action, visibility)
14862 (widget-documentation-link-action, widget-documentation-string-action)
14863 (widget-const-prompt-value, widget-regexp-match, symbol)
14864 (widget-coding-system-prompt-value)
14865 (widget-key-sequence-value-to-external, sexp)
14866 (widget-sexp-value-to-internal, character, vector, cons)
14867 (widget-choice-prompt-value, widget-boolean-prompt-value)
14868 (widget-color--choose-action): Mark unused parameters.
14869 (widget-item-match-inline, widget-choice-match-inline)
14870 (widget-checklist-match, widget-checklist-match-inline)
14871 (widget-group-match): Rename parameter VALUES to VALS.
14872 (widget-field-value-set): Remove unused variable `size'.
14873 (widget-color-action): Remove unused variables `value' and `start'.
14874
14875 * windmove.el (windmove-wrap-loc-for-movement): Remove unused
14876 variable `dir'. Doc fix.
14877 (windmove-find-other-window): Don't pass it.
14878
14879 * window.el (count-windows): Mark unused parameter.
14880 (bw-adjust-window): Remove unused variable `err'.
14881
14882 * woman.el (woman-file-name): Remove unused variable `default'.
14883 (woman-expand-directory-path): Rename parameters WOMAN-MANPATH and
14884 WOMAN-PATH to PATH-DIRS and PATH-REGEXPS, respectively.
14885 (global-font-lock-mode): Declare.
14886 (woman-decode-region): Mark unused parameter.
14887 (woman-get-tab-stop): Rename parameter TAB-STOP-LIST to TAB-STOPS.
14888
14889 * x-dnd.el (x-dnd-default-test-function, x-dnd-handle-old-kde)
14890 (x-dnd-handle-xdnd, x-dnd-handle-motif): Mark unused parameters.
14891 (x-dnd-handle-moz-url): Remove unused variable `title'.
14892 (x-dnd-handle-xdnd): Remove unused variables `x', `y' and `ret-action'.
14893
14894 * xml.el (xml-parse-tag, xml-parse-attlist):
14895 Remove unused variable `pos'.
14896
14897 2011-04-19 Glenn Morris <rgm@gnu.org>
14898
14899 * calendar/cal-tex.el (cal-tex-list-holidays, cal-tex-cursor-month)
14900 (cal-tex-cursor-week, cal-tex-cursor-week2, cal-tex-cursor-week-iso)
14901 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
14902 (cal-tex-cursor-filofax-daily, cal-tex-mini-calendar)
14903 * calendar/cal-html.el (cal-html-insert-minical):
14904 * calendar/diary-lib.el (diary-list-entries-1, diary-list-entries)
14905 (calendar-mark-date-pattern):
14906 Prefix "unused" locals.
14907
14908 * calendar/cal-dst.el (dst-adjust-time): Remove never-implemented
14909 optional argument `style'.
14910
14911 * calendar/appt.el (appt-make-list):
14912 * calendar/cal-china.el (calendar-chinese-date-string):
14913 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits)
14914 (diary-hebrew-yahrzeit):
14915 * calendar/cal-tex.el (cal-tex-last-blank-p, cal-tex-cursor-week2):
14916 * calendar/calendar.el (calendar-generate-window):
14917 * calendar/time-date.el (time-to-days):
14918 Remove unused local variables.
14919
14920 2011-04-18 Chong Yidong <cyd@stupidchicken.com>
14921
14922 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Use a custom
14923 glyphless-char-display table.
14924 (tabulated-list-glyphless-char-display): New var.
14925
14926 2011-04-18 Sam Steingold <sds@gnu.org>
14927
14928 * vc/add-log.el (change-log-font-lock-keywords): Add "Thanks to"
14929 to acknowledgments.
14930
14931 2011-04-17 Glenn Morris <rgm@gnu.org>
14932
14933 * calendar/diary-lib.el (diary-sexp-entry):
14934 * calendar/holidays.el (holiday-sexp):
14935 Set debug-on-error rather than the removed stack-trace-on-error.
14936
14937 2011-04-16 Glenn Morris <rgm@gnu.org>
14938
14939 * progmodes/f90.el: Use lexical-binding.
14940 (f90-get-correct-indent): Remove unnecessary local variable `cont'.
14941
14942 2011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
14943
14944 * mail/sendmail.el (mail-mode-map): Use completion-at-point.
14945 (mail-mode): Setup mailalias completion here instead.
14946 * mail/mailalias.el: Use lexical-binding.
14947 (pattern, mailalias-done): Declare dynamic.
14948 (mail-completion-at-point-function): New function, from mail-complete.
14949 (mail-complete): Use it.
14950 (mail-completion-expand): New function.
14951 (mail-get-names): Use it.
14952 (mail-directory, mail-directory-process, mail-directory-stream):
14953 Don't use `pattern' for lexically bound arg.
14954
14955 * emacs-lisp/lisp-mode.el (eval-defun-2): Use eval-sexp-add-defvars.
14956
14957 * htmlfontify.el (hfy-etags-cmd): Remove inoperant eval-and-compile.
14958 (hfy-e2x-etags-cmd, hfy-etags-cmd-alist-default)
14959 (hfy-etags-cmd-alist): Don't eval-and-compile any more.
14960
14961 * emacs-lisp/bytecomp.el (byte-temp-output-buffer-show)
14962 (byte-save-window-excursion, byte-temp-output-buffer-setup)
14963 (byte-interactive-p): Define them again, for use when inlining
14964 old code.
14965
14966 2011-04-15 Juanma Barranquero <lekktu@gmail.com>
14967
14968 * loadup.el: Use `string-to-number', not `string-to-int'.
14969
14970 2011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
14971
14972 * progmodes/gud.el (gud-gdb): Use completion-at-point instead of
14973 gud-gdb-complete-command.
14974 (gud-gdb-completions): New function, from gud-gdb-complete-command.
14975 (gud-gdb-completion-at-point): New function.
14976 (gud-gdb-completions): Remove.
14977
14978 2011-04-14 Michael Albinus <michael.albinus@gmx.de>
14979
14980 * net/tramp-sh.el (tramp-sh-handle-file-attributes): Handle the case
14981 when the scripts fail. Use `tramp-do-file-attributes-with-ls' then.
14982 (tramp-do-copy-or-rename-file-out-of-band): Do not check any longer
14983 whether `executable-find' is bound.
14984
14985 * net/tramp-smb.el (tramp-smb-handle-copy-file): Fix docstring.
14986
14987 2011-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
14988
14989 * minibuffer.el (completion-in-region-mode-predicate)
14990 (completion-in-region-mode--predicate): New vars.
14991 (completion-in-region, completion-in-region--postch)
14992 (completion-in-region-mode): Use them.
14993 (completion--capf-wrapper): Also return the hook function.
14994 (completion-at-point, completion-help-at-point):
14995 Adjust and provide a predicate.
14996
14997 Preserve arg names for advice of subr and lexical functions (bug#8457).
14998 * help-fns.el (help-function-arglist): Consolidate the subr and
14999 new-byte-code cases. Add argument `preserve-names' to extract names
15000 from the docstring when needed.
15001 * emacs-lisp/advice.el (ad-define-subr-args, ad-undefine-subr-args)
15002 (ad-subr-args-defined-p, ad-get-subr-args, ad-subr-arglist): Remove.
15003 (ad-arglist): Use help-function-arglist's new arg.
15004 (ad-definition-type): Use cond.
15005
15006 2011-04-13 Juanma Barranquero <lekktu@gmail.com>
15007
15008 * autorevert.el (auto-revert-handler):
15009 Bind `remote-file-name-inhibit-cache', not `tramp-cache-inhibit-cache',
15010 which was removed in 2010-10-02T13:21:43Z!michael.albinus@gmx.de.
15011 Don't quote lambda.
15012
15013 * image-mode.el (image-transform-set-scale):
15014 Fix change in 2011-04-09T20:28:01Z!cyd@stupidchicken.com.
15015
15016 2011-04-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
15017
15018 * net/network-stream.el (network-stream-open-starttls): Only do
15019 opportunistic STARTTLS upgrades if we have built-in GnuTLS support.
15020 Upgrades via gnutls-cli are too slow to be done opportunistically.
15021
15022 2011-04-12 Juanma Barranquero <lekktu@gmail.com>
15023
15024 * dframe.el (dframe-current-frame): Remove spurious quote.
15025
15026 2011-04-12 Glenn Morris <rgm@gnu.org>
15027
15028 * calendar/cal-tex.el (cal-tex-end-document):
15029 Try to automatically use latin1 input if needed.
15030
15031 * calendar/cal-hebrew.el (diary-hebrew-rosh-hodesh):
15032 Don't try to cons a mark onto an empty element.
15033
15034 2011-04-11 Leo Liu <sdl.web@gmail.com>
15035
15036 * ido.el (ido-buffer-internal): Allow method 'kill for virtual
15037 buffers.
15038 (ido-kill-buffer-at-head): Support killing virtual buffers.
15039
15040 2011-04-10 Chong Yidong <cyd@stupidchicken.com>
15041
15042 * minibuffer.el (completion-show-inline-help): New var.
15043 (completion--do-completion, minibuffer-complete)
15044 (minibuffer-force-complete, minibuffer-complete-word):
15045 Inhibit minibuffer messages if completion-show-inline-help is nil.
15046
15047 * icomplete.el (icomplete-mode): Bind completion-show-inline-help
15048 to avoid interference from inline help (Bug#5849).
15049
15050 2011-04-10 Leo Liu <sdl.web@gmail.com>
15051
15052 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
15053 Fix typo.
15054
15055 2011-04-09 Chong Yidong <cyd@stupidchicken.com>
15056
15057 * image-mode.el (image-toggle-display-image): Signal an error if
15058 not in Image mode.
15059 (image-transform-mode, image-transform-resize)
15060 (image-transform-set-rotation): Doc fix.
15061 (image-transform-set-resize): Delete.
15062 (image-transform-set-scale, image-transform-fit-to-height)
15063 (image-transform-fit-to-width): Handle image-toggle-display-image
15064 and image-transform-resize directly.
15065
15066 2011-04-08 Sho Nakatani <lay.sakura@gmail.com>
15067
15068 * doc-view.el (doc-view-fit-width-to-window)
15069 (doc-view-fit-height-to-window, doc-view-fit-page-to-window):
15070 New functions for fitting the shown image to the Emacs window size.
15071 (doc-view-mode-map): Add bindings for the new functions.
15072
15073 2011-04-08 Juanma Barranquero <lekktu@gmail.com>
15074
15075 * vc/vc-annotate.el (vc-annotate-show-log-revision-at-line):
15076 Fix typo in docstring.
15077
15078 2011-04-08 Eli Zaretskii <eliz@gnu.org>
15079
15080 * files.el (file-size-human-readable): Produce one digit after
15081 decimal, like "ls -lh" does.
15082
15083 * ls-lisp.el (ls-lisp-format-file-size): Allow for 7 characters in
15084 the file size representation.
15085
15086 * simple.el (list-processes): If async subprocesses are not
15087 available, error out with a clear error message.
15088
15089 2011-04-08 Chong Yidong <cyd@stupidchicken.com>
15090
15091 * help.el (help-form-show): New function, to be called from C.
15092 Put help-form output in a buffer named differently than *Help*.
15093
15094 2011-04-08 Eli Zaretskii <eliz@gnu.org>
15095
15096 * files.el (file-size-human-readable): New function.
15097
15098 * ls-lisp.el (ls-lisp-format-file-size): Use it, instead of
15099 computing the representation inline. Don't require `cl'.
15100
15101 2011-04-08 Glenn Morris <rgm@gnu.org>
15102
15103 * man.el (Man-page-header-regexp): Solaris < 2.6 no longer supported.
15104
15105 * net/browse-url.el (browse-url-firefox):
15106 Test system-type, not system-configuration.
15107
15108 * vc/log-edit.el (log-edit-empty-buffer-p): New function.
15109 (log-edit-insert-cvs-template, log-edit-insert-cvs-rcstemplate):
15110 Use log-edit-empty-buffer-p. (Bug#7598)
15111
15112 * net/rlogin.el (rlogin-process-connection-type): Simplify.
15113 (rlogin-mode-map): Initialize in the defvar.
15114 (rlogin): Use ignore-errors.
15115
15116 * replace.el (occur-mode-map): Some fixes for menu items.
15117
15118 2011-04-07 Aaron S. Hawley <aaron.s.hawley@gmail.com>
15119
15120 * play/morse.el (denato-region): Handle varying case. (Bug#8386)
15121
15122 2011-04-06 Chong Yidong <cyd@stupidchicken.com>
15123
15124 * emacs-lisp/cconv.el (cconv--analyse-use): Ignore "ignored" when
15125 issuing unused warnings.
15126
15127 * emacs-lisp/tabulated-list.el (tabulated-list-print): Use lambda
15128 macro directly.
15129
15130 * simple.el: Lisp reimplement of list-processes. Based on an
15131 earlier reimplementation by Leo Liu, but using tabulated-list.el.
15132 (process-menu-mode): New major mode.
15133 (list-processes--refresh, list-processes):
15134 (process-menu-visit-buffer): New functions.
15135
15136 * files.el (save-buffers-kill-emacs): Don't assume any return
15137 value of list-processes, which is undocumented anyway.
15138
15139 2011-04-06 Chong Yidong <cyd@stupidchicken.com>
15140
15141 * emacs-lisp/tabulated-list.el: New file.
15142
15143 * emacs-lisp/package.el: Use Tabulated List mode.
15144 (package-menu-mode-map): Inherit from tabulated-list-mode-map.
15145 (package-menu-mode): Derive from tabulated-list-mode. Set up the
15146 table format using Tabulated List mode variables.
15147 (package--push): New macro, replacing package-list-maybe-add.
15148 (package-menu--generate): Use package--push. Renamed from
15149 package--generate-package-list.
15150 (package-menu-refresh, list-packages): Use it.
15151 (package-menu--print-info): Rename from package-print-package.
15152 Return insertion data instead of inserting it directly.
15153 (package-menu-describe-package, package-menu-execute):
15154 Use tabulated-list-get-id.
15155 (package-menu-mark-delete, package-menu-mark-install)
15156 (package-menu-mark-unmark, package-menu-backup-unmark)
15157 (package-menu-mark-obsolete-for-deletion):
15158 Use tabulated-list-put-tag.
15159 (package--list-packages, package-menu-revert)
15160 (package-menu-get-package, package-menu-get-version)
15161 (package-menu-sort-by-column): Functions deleted.
15162 (package-menu-package-list, package-menu-sort-key): Vars deleted.
15163 (package-menu--status-predicate, package-menu--version-predicate)
15164 (package-menu--name-predicate)
15165 (package-menu--description-predicate): Handle arguments in the
15166 Tabulated List format.
15167 (package-list-packages-no-fetch): Call list-packages.
15168
15169 2011-04-06 Juanma Barranquero <lekktu@gmail.com>
15170
15171 * files.el (after-find-file-from-revert-buffer): Remove variable.
15172 (after-find-file): Don't bind it.
15173 (revert-buffer-in-progress-p): New variable.
15174 (revert-buffer): Bind it.
15175 Pass nil for `after-find-file-from-revert-buffer'.
15176
15177 * saveplace.el (save-place-find-file-hook): Use new variable
15178 `rever-buffer-in-progress-p', not `after-find-file-from-revert-buffer'.
15179
15180 2011-04-06 Glenn Morris <rgm@gnu.org>
15181
15182 * Makefile.in (AUTOGEN_VCS): New variable.
15183 (autoloads): Use $AUTOGEN_VCS.
15184
15185 * calendar/cal-move.el (calendar-scroll-toolkit-scroll): New function.
15186 * calendar/calendar.el (calendar-mode-map):
15187 Check for toolkit scroll bars. (Bug#8305)
15188
15189 2011-04-05 Chong Yidong <cyd@stupidchicken.com>
15190
15191 * minibuffer.el (completion-in-region--postch)
15192 (completion-in-region-mode): Remove unnecessary messages.
15193
15194 2011-04-05 Juanma Barranquero <lekktu@gmail.com>
15195
15196 * font-lock.el (font-lock-refresh-defaults):
15197 Don't bind `hi-lock--inhibit-font-lock-hook', removed in
15198 2010-10-09T04:09:19Z!cyd@stupidchicken.com and 2010-10-11T23:57:49Z!lekktu@gmail.com (2010-10-12).
15199
15200 * info.el (Info-directory-list, Info-read-node-name-2)
15201 (Info-split-parameter-string): Doc fixes.
15202 (Info-virtual-nodes): Reflow docstring.
15203 (Info-find-file, Info-directory-toc-nodes, Info-history-toc-nodes)
15204 (Info-apropos-toc-nodes, info-finder, Info-get-token)
15205 (Info-find-emacs-command-nodes, Info-speedbar-key-map):
15206 Fix typos in docstrings.
15207 (Info-revert-buffer-function, Info-search, Info-isearch-pop-state)
15208 (Info-speedbar-hierarchy-buttons, Info-speedbar-goto-node)
15209 (Info-speedbar-buttons, Info-desktop-buffer-misc-data)
15210 (Info-restore-desktop-buffer): Mark unused parameters.
15211 (Info-directory-find-file, Info-directory-find-node)
15212 (Info-history-find-file, Info-history-find-node, Info-toc-find-node)
15213 (Info-virtual-index-find-node, Info-apropos-find-file)
15214 (Info-apropos-find-node, Info-finder-find-file, Info-finder-find-node):
15215 Mark unused parameters; fix typos in docstrings.
15216 (Info-virtual-index): Remove unused local variable `nodename'.
15217
15218 2011-04-05 Deniz Dogan <deniz@dogan.se>
15219
15220 * net/rcirc.el: Update my e-mail address.
15221 (rcirc-mode-map): Remove M-o binding.
15222
15223 2011-04-05 Chong Yidong <cyd@stupidchicken.com>
15224
15225 * startup.el (command-line): Save the cursor's theme-face
15226 directly, instead of using face-override-spec.
15227
15228 * custom.el (load-theme): Minor optimization in assigning faces.
15229
15230 2011-04-04 Juanma Barranquero <lekktu@gmail.com>
15231
15232 * help-fns.el (describe-variable): Complete all variables having
15233 documentation, including keywords.
15234 http://lists.gnu.org/archive/html/emacs-devel/2011-04/msg00112.html
15235
15236 2011-04-04 Juanma Barranquero <lekktu@gmail.com>
15237
15238 Convert to lexical-binding.
15239
15240 * bs.el (bs-refresh, bs-sort-buffer-interns-are-last)
15241 (bs--get-marked-string, bs--get-modified-string)
15242 (bs--get-readonly-string, bs--get-size-string, bs--get-name)
15243 (bs--get-mode-name, bs--get-file-name): Mark unused arguments.
15244 (bs--configuration-name-for-prefix-arg): Rename argument PREFIX-ARG.
15245
15246 * ehelp.el (electric-help-execute-extended)
15247 (electric-help-ctrl-x-prefix):
15248 * hexl.el (hexl-revert-buffer-function):
15249 * linum.el (linum-after-change, linum-after-scroll):
15250 * emacs-lisp/re-builder.el (reb-auto-update): Mark unused arguments.
15251
15252 * help-fns.el (help-describe-category-set): Remove unused ERR variable.
15253
15254 2011-04-04 Daiki Ueno <ueno@unixuser.org>
15255
15256 * epa-dired.el:
15257 * epa-mail.el:
15258 * epa-hook.el:
15259 * epa-file.el:
15260 * epa.el:
15261 * epg.el: Use lexical binding.
15262
15263 2011-04-03 Chong Yidong <cyd@stupidchicken.com>
15264
15265 * dired-aux.el (dired-create-files): Add docstring (Bug#7970).
15266
15267 * textmodes/flyspell.el (flyspell-word): Recognize default
15268 dictionary case for flyspell-mark-duplications-exceptions.
15269 Use regexp matching for languages.
15270 (flyspell-mark-duplications-exceptions): Add "that" and "had" for
15271 default dictionary (Bug#7926).
15272
15273 2011-04-02 Chong Yidong <cyd@stupidchicken.com>
15274
15275 * emacs-lisp/package.el (package--with-work-buffer):
15276 Recognize https URLs.
15277
15278 * net/network-stream.el: Move from gnus/proto-stream.el.
15279 Change prefix to network-stream throughout.
15280 (open-protocol-stream): Merge into open-network-stream, leaving
15281 open-protocol-stream as an alias. Handle nil BUFFER args.
15282
15283 * subr.el (open-network-stream): Move to net/network-stream.el.
15284
15285 2011-04-02 Glenn Morris <rgm@gnu.org>
15286
15287 * find-dired.el (find-exec-terminator): New option.
15288 (find-ls-option): Test for -ls support.
15289 (find-ls-subdir-switches): Test for -b in find-ls-option.
15290 (find-dired, find-grep-dired): Doc fixes.
15291 (find-dired): Use find-exec-terminator.
15292
15293 * find-dired.el (find-ls-option, find-ls-subdir-switches)
15294 (find-grep-options): Do not autoload these defcustoms, remove purecopy.
15295 (find-name-arg): Remove purecopy.
15296
15297 * progmodes/grep.el (grep-find-use-xargs): Doc fix.
15298 (grep-compute-defaults): Check for `-exec COMMAND +' support.
15299 Set grep-find-use-xargs, grep-find-command, and grep-find-template
15300 accordingly. Don't add the null-device if not needed.
15301
15302 * files.el (save-some-buffers): Doc fix.
15303
15304 2011-04-02 Eli Zaretskii <eliz@gnu.org>
15305
15306 * makefile.w32-in (EMACS): Default to ../src/$(BLD)/emacs.exe.
15307
15308 2011-04-01 Juanma Barranquero <lekktu@gmail.com>
15309
15310 * progmodes/idlwave.el (idlwave-one-key-select, idlwave-list-abbrevs):
15311 Use `dolist' rather than `mapcar'.
15312
15313 2011-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
15314
15315 Add lexical binding.
15316
15317 * subr.el (apply-partially): Use new closures rather than CL.
15318 (--dolist-tail--, --dotimes-limit--): Don't declare dynamic.
15319 (dolist, dotimes): Use slightly different expansion for lexical code.
15320 (functionp): Move to C.
15321 (letrec): New macro.
15322 (with-wrapper-hook): Use it and apply-partially instead of CL.
15323 (eval-after-load): Preserve lexical-binding.
15324 (save-window-excursion, with-output-to-temp-buffer): Turn them
15325 into macros.
15326
15327 * simple.el (with-wrapper-hook, apply-partially): Move to subr.el.
15328
15329 * help-fns.el (help-split-fundoc): Return nil if there's nothing else
15330 than the arglist.
15331 (help-add-fundoc-usage): Don't add `Not documented'.
15332 (help-function-arglist): Handle closures, subroutines, and new
15333 byte-code-functions.
15334 (help-make-usage): Remove leading underscores.
15335 (describe-function-1): Handle closures.
15336 (describe-variable): Use special-variable-p for completion.
15337
15338 * files.el (lexical-binding): Declare safe.
15339
15340 * emacs-lisp/pcase.el: Don't use destructuring-bind.
15341 (pcase--memoize): Rename from pcase-memoize. Change weakness.
15342 (pcase): Add `let' pattern.
15343 Change memoization so it actually works.
15344 (pcase-mutually-exclusive-predicates): Add byte-code-function-p.
15345 (pcase--u1) <guard, pred>: Fix possible shadowing problem.
15346 <let>: New case.
15347
15348 * emacs-lisp/macroexp.el: Use lexical binding.
15349 (macroexpand-all-1): Check obsolete macros. Expand compiler-macros.
15350 Don't convert ' to #' without checking that it's indeed quoting
15351 a lambda.
15352
15353 * emacs-lisp/lisp-mode.el (eval-last-sexp-1):
15354 Use eval-sexp-add-defvars.
15355 (eval-sexp-add-defvars): New fun.
15356
15357 * emacs-lisp/float-sup.el (pi): Don't declare as dynamically bound.
15358
15359 * emacs-lisp/eieio.el (byte-compile-file-form-defmethod):
15360 Don't autoload.
15361 (eieio-defgeneric-form-primary-only-one): Use `byte-compile' rather
15362 than the internal `byte-compile-lambda'.
15363 (defmethod): Don't hide code under quotes.
15364 (eieio-defmethod): New `code' argument.
15365
15366 * emacs-lisp/eieio-comp.el: Remove.
15367
15368 * emacs-lisp/edebug.el (edebug-eval-defun)
15369 (edebug-eval-top-level-form): Use eval-sexp-add-defvars.
15370 (edebug-toggle): Avoid `eval'.
15371
15372 * emacs-lisp/disass.el (disassemble-internal): Handle new
15373 `closure' objects.
15374 (disassemble-1): Handle new byte codes.
15375
15376 * emacs-lisp/cl.el (pushnew): Silence warning.
15377
15378 * emacs-lisp/cl-macs.el (cl-byte-compile-block)
15379 (cl-byte-compile-throw): Remove.
15380 (cl-block-wrapper, cl-block-throw): Use compiler-macros instead.
15381
15382 * emacs-lisp/cl-extra.el (cl-macroexpand-all): Properly quote CL
15383 closures.
15384
15385 * emacs-lisp/cconv.el: New file.
15386
15387 * emacs-lisp/bytecomp.el: Use lexical binding instead of
15388 a "bytecomp-" prefix. Macroexpand everything as a separate phase.
15389 (byte-compile-initial-macro-environment):
15390 Handle declare-function here.
15391 (byte-compile--lexical-environment): New var.
15392 (byte-stack-ref, byte-stack-set, byte-discardN)
15393 (byte-discardN-preserve-tos): New lap codes.
15394 (byte-interactive-p): Don't use any more.
15395 (byte-compile-push-bytecodes, byte-compile-push-bytecode-const2):
15396 New macros.
15397 (byte-compile-lapcode): Use them and handle new lap codes.
15398 (byte-compile-obsolete): Remove.
15399 (byte-compile-arglist-signature): Handle new byte-code arg"lists".
15400 (byte-compile-arglist-warn): Check late def of inlinable funs.
15401 (byte-compile-cl-warn): Don't silence warnings for compiler-macros
15402 since they should have been expanded by now.
15403 (byte-compile--outbuffer): Rename from bytecomp-outbuffer.
15404 (byte-compile-from-buffer): Remove unused second arg.
15405 (byte-compile-preprocess): New function.
15406 (byte-compile-toplevel-file-form): New function to distinguish
15407 file-form calls from outside from file-form calls from hunk-handlers.
15408 (byte-compile-file-form): Simplify.
15409 (byte-compile-file-form-defsubst): Remove.
15410 (byte-compile-file-form-defmumble): Simplify now that
15411 byte-compile-lambda always returns a byte-code-function.
15412 (byte-compile): Preprocess.
15413 (byte-compile-byte-code-maker, byte-compile-byte-code-unmake):
15414 Remove, not used any more.
15415 (byte-compile-arglist-vars, byte-compile-make-lambda-lexenv)
15416 (byte-compile-make-args-desc): New funs.
15417 (byte-compile-lambda): Handle lexical functions. Always return
15418 a byte-code-function.
15419 (byte-compile-reserved-constants): New var, to make up room for
15420 closed-over variables.
15421 (byte-compile-constants-vector): Obey it.
15422 (byte-compile-top-level): New args `lexenv' and `reserved-csts'.
15423 (byte-compile-macroexpand-declare-function): New function.
15424 (byte-compile-form): Call byte-compile-unfold-bcf to inline immediate
15425 byte-code-functions.
15426 (byte-compile-form): Check obsolescence here.
15427 (byte-compile-inline-lapcode, byte-compile-unfold-bcf): New functions.
15428 (byte-compile-variable-ref): Remove.
15429 (byte-compile-dynamic-variable-op): New fun.
15430 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
15431 (byte-compile-variable-set): New funs.
15432 (byte-compile-discard): Add 2 args.
15433 (byte-compile-stack-ref, byte-compile-stack-set)
15434 (byte-compile-make-closure, byte-compile-get-closed-var): New funs.
15435 (byte-compile-funarg, byte-compile-funarg-2): Remove, handled in
15436 macroexpand-all instead.
15437 (byte-compile-quote-form): Remove.
15438 (byte-compile-push-binding-init, byte-compile-not-lexical-var-p)
15439 (byte-compile-bind, byte-compile-unbind): New funs.
15440 (byte-compile-let): Handle let* and lexical binding.
15441 (byte-compile-let*): Remove.
15442 (byte-compile-catch, byte-compile-unwind-protect)
15443 (byte-compile-track-mouse, byte-compile-condition-case):
15444 Handle a new :fun-body form, used for lexical scoping.
15445 (byte-compile-save-window-excursion)
15446 (byte-compile-with-output-to-temp-buffer): Remove.
15447 (byte-compile-defun): Simplify.
15448 (byte-compile-stack-adjustment): New fun.
15449 (byte-compile-out): Use it.
15450 (byte-compile-refresh-preloaded): Don't reload byte-compiler files.
15451
15452 * emacs-lisp/byte-run.el (make-obsolete): Don't set the `byte-compile'
15453 handler any more.
15454
15455 * emacs-lisp/byte-opt.el: Use lexical binding.
15456 (byte-inline-lapcode): Remove (to bytecomp).
15457 (byte-compile-inline-expand): Pay attention to inlining to/from
15458 lexically bound code.
15459 (byte-compile-unfold-lambda): Don't handle byte-code-functions
15460 any more.
15461 (byte-optimize-form-code-walker): Don't handle save-window-excursion
15462 any more and don't call compiler-macros.
15463 (byte-compile-splice-in-already-compiled-code): Remove.
15464 (byte-code): Don't inline any more.
15465 (disassemble-offset): Receive `bytes' as argument rather than via
15466 dynamic scoping.
15467 (byte-compile-tag-number): Declare before first use.
15468 (byte-decompile-bytecode-1): Handle new byte-codes, don't change
15469 `return' even if make-spliceable.
15470 (byte-compile-side-effect-and-error-free-ops): Add stack-ref, remove
15471 obsolete interactive-p.
15472 (byte-optimize-lapcode): Optimize new lap-codes.
15473 Don't trip up on new form of `byte-constant' lap code.
15474
15475 * emacs-lisp/autoload.el (make-autoload): Don't burp on trivial macros.
15476
15477 * emacs-lisp/advice.el (ad-arglist): Use help-function-arglist.
15478
15479 * custom.el (custom-initialize-default, custom-declare-variable):
15480 Use `defvar'.
15481
15482 * Makefile.in (BIG_STACK_DEPTH, BIG_STACK_OPTS, BYTE_COMPILE_FLAGS):
15483 New variables.
15484 (compile-onefile, .el.elc, compile-calc, recompile): Use them.
15485 (COMPILE_FIRST): Add macroexp and cconv.
15486 * makefile.w32-in: Mirror changes in Makefile.in.
15487
15488 * vc/cvs-status.el:
15489 * vc/diff-mode.el:
15490 * vc/log-edit.el:
15491 * vc/log-view.el:
15492 * vc/smerge-mode.el:
15493 * textmodes/bibtex-style.el:
15494 * textmodes/css.el:
15495 * startup.el:
15496 * uniquify.el:
15497 * minibuffer.el:
15498 * newcomment.el:
15499 * reveal.el:
15500 * server.el:
15501 * mpc.el:
15502 * emacs-lisp/smie.el:
15503 * doc-view.el:
15504 * dired.el:
15505 * abbrev.el: Use lexical binding.
15506
15507 2011-04-01 Eli Zaretskii <eliz@gnu.org>
15508
15509 * info.el (info-display-manual): New function.
15510
15511 2011-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
15512
15513 * loadup.el: Load minibuffer after loaddefs, to use define-minor-mode.
15514
15515 2011-03-31 Tassilo Horn <tassilo@member.fsf.org>
15516
15517 * net/rcirc.el (rcirc-handler-001): Only authenticate, if there's
15518 an entry for that server in rcirc-authinfo. (Bug#8385)
15519
15520 2011-03-31 Glenn Morris <rgm@gnu.org>
15521
15522 * progmodes/f90.el (f90-find-tag-default): Handle multiple `%'.
15523
15524 * generic-x.el (etc-fstab-generic-mode): Add ext4, sysfs keywords.
15525
15526 2011-03-30 Christoph Scholtes <cschol2112@googlemail.com>
15527
15528 * progmodes/python.el (python-default-interpreter)
15529 (python-python-command-args, python-jython-command-args)
15530 (python-which-shell, python-which-args, python-which-bufname)
15531 (python-file-queue, python-comint-output-filter-function)
15532 (python-toggle-shells, python-shell): Remove obsolete defcustoms,
15533 variables and functions.
15534
15535 2011-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
15536
15537 * minibuffer.el (completion-table-dynamic): Optimize `boundaries'.
15538 (completion-in-region-mode): New minor mode.
15539 (completion-in-region): Use it.
15540 (completion-in-region--data, completion-in-region-mode-map): New vars.
15541 (completion-in-region--postch): New function.
15542 (completion--capf-misbehave-funs, completion--capf-safe-funs):
15543 New vars.
15544 (completion--capf-wrapper): New function.
15545 (completion-at-point): Use it to track well-behavedness of
15546 hook functions.
15547 (completion-help-at-point): New command.
15548
15549 2011-03-30 Jason Merrill <jason@redhat.com> (tiny change)
15550
15551 * vc/add-log.el (add-change-log-entry): Don't use whitespace
15552 syntax class to search for whitespace on a single line
15553 (Message-ID: <4D938140.4030905@redhat.com>).
15554
15555 2011-03-30 Leo Liu <sdl.web@gmail.com>
15556
15557 * abbrev.el (abbrev-edit-save-to-file, abbrev-edit-save-buffer):
15558 New commands.
15559 (edit-abbrevs-map): Bind them here.
15560 (write-abbrev-file): New optinal arg VERBOSE. (Bug#5937)
15561
15562 2011-03-29 Ken Manheimer <ken.manheimer@gmail.com>
15563
15564 * allout.el (allout-hide-by-annotation, allout-flag-region):
15565 Reduce possibility of overlay leakage by making them volatile.
15566
15567 * allout-widgets.el (allout-widgets-tally): Define as nil so the
15568 hash is not shared between buffers. Mode initialization is
15569 responsible for giving it a useful starting value.
15570 (allout-item-span): Reduce possibility of overlay leakage by
15571 making them volatile.
15572 (allout-widgets-count-buttons-in-region): Add diagnostic function
15573 for tracking down button overlay leaks.
15574
15575 2011-03-29 Leo Liu <sdl.web@gmail.com>
15576
15577 * ido.el (ido-read-internal): Use the default history var
15578 minibuffer-history if no HISTORY is specified.
15579
15580 2011-03-28 Brian T. Sniffen <bsniffen@akamai.com> (tiny change)
15581
15582 * net/imap.el (imap-shell-open, imap-process-connection-type):
15583 Use imap-process-connection-type for 'shell' streams as well as
15584 Kerberos, SSL, other subprocesses.
15585
15586 2011-03-28 Leo Liu <sdl.web@gmail.com>
15587
15588 * abbrev.el (abbrev-table-empty-p): New function.
15589 (prepare-abbrev-list-buffer): Place empty abbrev tables after
15590 nonempty ones. (Bug#5937)
15591
15592 2011-03-27 Jan Djärv <jan.h.d@swipnet.se>
15593
15594 * cus-start.el (all): Add boolean ns-auto-hide-menu-bar.
15595
15596 2011-03-27 Leo Liu <sdl.web@gmail.com>
15597
15598 * ansi-color.el (ansi-color-names-vector): Allow cons cell value
15599 for foreground and background colors.
15600 (ansi-color-make-color-map): Adapt.
15601
15602 2011-03-25 Leo Liu <sdl.web@gmail.com>
15603
15604 * midnight.el (midnight-time-float): Remove. Note it calculates
15605 the microsecond component incorrectly and seconds-to-time does the
15606 same job.
15607 Remove redundant (require 'timer).
15608
15609 * ido.el (ido-read-internal): Simplify with read-from-minibuffer.
15610 (ido-completions): Remove unused arguments. (Bug#8329)
15611
15612 2011-03-24 Stefan Monnier <monnier@iro.umontreal.ca>
15613
15614 * minibuffer.el (completion--flush-all-sorted-completions):
15615 Remove itself from hook.
15616 (completion-at-point): Let the functions perform the completion
15617 immediately and return nil or t.
15618 * comint.el (comint-dynamic-complete-functions): Now identical to
15619 completion-at-point-functions.
15620 (comint-dynamic-list-input-ring): Remove unused var `index'.
15621 (comint--match-partial-filename, comint--unquote&expand-filename):
15622 New funs, split from comint-match-partial-filename.
15623 (comint-dynamic-complete): Use completion-at-point.
15624 (comint-dynamic-complete-filename): Use comint--match-partial-filename.
15625
15626 2011-03-24 Drew Adams <drew.adams@oracle.com>
15627
15628 * thingatpt.el: Support `defun'.
15629
15630 2011-03-23 Leo Liu <sdl.web@gmail.com>
15631
15632 * abbrevlist.el: Move to obsolete/abbrevlist.el.
15633
15634 * help-mode.el (help-mode-finish): Tweak regexp.
15635
15636 2011-03-23 Glenn Morris <rgm@gnu.org>
15637
15638 * eshell/esh-opt.el (eshell-eval-using-options):
15639 Do not bind unused local variable `eshell-option-stub'.
15640
15641 * progmodes/gdb-mi.el (gdb): Fix typo in previous change.
15642
15643 2011-03-22 Juanma Barranquero <lekktu@gmail.com>
15644
15645 * emacs-lisp/derived.el (define-derived-mode): Wrap declaration of
15646 keymap variable in `with-no-warnings' to avoid a warning when the
15647 keymap has been already `defconst'ed.
15648
15649 2011-03-22 Leo Liu <sdl.web@gmail.com>
15650
15651 * abbrev.el (write-abbrev-file): Use utf-8 for writing if it can
15652 encode all chars in abbrevs; otherwise use emacs-mule or
15653 utf-8-emacs. (Bug#8308)
15654
15655 2011-03-22 Juanma Barranquero <lekktu@gmail.com>
15656
15657 * simple.el (backward-delete-char-untabify):
15658 Avoid warning about using `delete-backward-char'.
15659
15660 * image.el (image-type-file-name-regexps): Make it variable.
15661 `imagemagick-register-types' modifies it, and the user may want
15662 to add new extensions for known image types.
15663 (imagemagick-register-types): Throw error if not using ImageMagick.
15664
15665 2011-03-22 Leo Liu <sdl.web@gmail.com>
15666
15667 * net/rcirc.el (rcirc-completion-at-point): Return nil if point is
15668 located before rcirc-prompt-end-marker.
15669 (rcirc-complete): Error if point is not after rcirc prompt.
15670 Handle the case when table is nil.
15671 (rcirc-user-authenticated): Define to fix compiler warning.
15672
15673 2011-03-22 Chong Yidong <cyd@stupidchicken.com>
15674
15675 * custom.el (custom--inhibit-theme-enable): Make it affect only
15676 custom-theme-set-variables and custom-theme-set-faces.
15677 (provide-theme): Ignore custom--inhibit-theme-enable.
15678 (load-theme): Enable the theme explicitly if NO-ENABLE is non-nil.
15679 (custom-enabling-themes): Delete variable.
15680 (enable-theme): Accept only loaded themes as arguments.
15681 Ignore the special custom-enabled-themes variable.
15682 (custom-enabled-themes): Forbid themes from setting this.
15683 Eliminate use of custom-enabling-themes.
15684 (custom-push-theme): Quote "changed" custom var entry.
15685
15686 2011-03-21 Leo Liu <sdl.web@gmail.com>
15687
15688 * ido.el (ido-read-internal): Add ido-selected to history instead
15689 of user input.
15690
15691 2011-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
15692
15693 * subr.el (deferred-action-list, deferred-action-function):
15694 Mark obsolete.
15695
15696 2011-03-21 Leo Liu <sdl.web@gmail.com>
15697
15698 * vc/log-view.el: Remove (require 'wid-edit), not needed after the
15699 change on 2011-02-13 (bug#8309).
15700
15701 * minibuffer.el (read-file-name-function): Change default value.
15702 (read-file-name--defaults): Rename from read-file-name-defaults.
15703 (read-file-name-default): Rename from read-file-name.
15704 (read-file-name): Call read-file-name-function.
15705
15706 2011-03-21 Glenn Morris <rgm@gnu.org>
15707
15708 * eshell/esh-opt.el (eshell-eval-using-options, eshell-process-args):
15709 Doc fixes.
15710
15711 2011-03-21 Chong Yidong <cyd@stupidchicken.com>
15712
15713 * cus-theme.el: Add missing provide statement.
15714 (customize-create-theme): Extract theme value correctly.
15715 (custom-theme-visit-theme): Autoload.
15716 (customize-create-theme): Prompt before inserting default faces.
15717
15718 2011-03-20 Jay Belanger <jay.p.belanger@gmail.com>
15719
15720 * calc/calc-menu.el (calc-units-menu): Add entries for logarithmic
15721 units and musical notes.
15722
15723 2011-03-20 Leo Liu <sdl.web@gmail.com>
15724
15725 * ido.el (ido-read-internal): Use completing-read-default.
15726 (ido-completing-read): Fix compatibility with completing-read.
15727
15728 2011-03-20 Christian Ohler <ohler@gnu.org>
15729
15730 * emacs-lisp/ert.el (ert-run-tests-batch): Remove unused variable.
15731 (ert-delete-all-tests): Use `called-interactively-p' rather than
15732 `interactive-p'.
15733 (ert--make-xrefs-region): Respect END.
15734
15735 2011-03-19 Chong Yidong <cyd@stupidchicken.com>
15736
15737 * dired-aux.el (dired-create-directory): Signal an error if the
15738 directory already exists (Bug#8246).
15739
15740 * facemenu.el (list-colors-display): Call list-faces-display
15741 inside with-help-window.
15742 (list-colors-print): Use display property to align the final
15743 column, instead of checking window-width.
15744
15745 2011-03-19 Eli Zaretskii <eliz@gnu.org>
15746
15747 * vc/emerge.el (emerge-metachars): Separate value for ms-dos and
15748 windows-nt systems.
15749 (emerge-protect-metachars): Quote correctly for ms-dos and
15750 windows-nt systems.
15751
15752 2011-03-19 Ralph Schleicher <rs@ralph-schleicher.de>
15753
15754 * info.el (info-initialize): Replace all uses of `:' with
15755 path-separator for compatibility with non-Unix systems.
15756 Cache quoting of path-separator. (Bug#8258)
15757
15758 2011-03-19 Juanma Barranquero <lekktu@gmail.com>
15759
15760 * avoid.el (mouse-avoidance-mode, mouse-avoidance-nudge-dist)
15761 (mouse-avoidance-threshold, mouse-avoidance-banish-destination)
15762 (mouse-avoidance-mode): Fix typos in docstrings.
15763
15764 2011-03-19 Chong Yidong <cyd@stupidchicken.com>
15765
15766 * startup.el (package-subdirectory-regexp): Move from package.el.
15767 Omit \\` and \\', and let callers add them.
15768
15769 * emacs-lisp/package.el (package-strip-version)
15770 (package-load-all-descriptors): Add \\` and \\' to
15771 package-subdirectory-regexp before using it.
15772 (package-untar-buffer): New arg DIR; ensure that file untars only
15773 into this expected directory. Remove superfluous delete-region.
15774 (package-unpack): Caller changed.
15775 (package-tar-file-info): Use package-subdirectory-regexp.
15776
15777 2011-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
15778
15779 * vc/diff-mode.el (diff-mode-map): Shadow problematic bindings from
15780 diff-mode-shared-map (bug#8284).
15781 (diff-mode-shared-map): Re-introduce some bindings that were problematic.
15782
15783 2011-03-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
15784
15785 * calendar/time-date.el (format-seconds): Use assoc instead of
15786 assoc-string, since assoc-string doesn't exist in XEmacs.
15787
15788 2011-03-17 Juanma Barranquero <lekktu@gmail.com>
15789
15790 * custom.el (custom-known-themes): Reflow docstring.
15791 (custom-theme-load-path): Fix typo in docstring.
15792 (load-theme): Fix typo in error message.
15793 (custom-available-themes, custom-variable-theme-value):
15794 Use `let', not `let*'.
15795
15796 2011-03-17 Jay Belanger <jay.p.belanger@gmail.com>
15797
15798 * calc/README: Mention inclusion of musical notes.
15799
15800 * calc/calc-units.el (calc-lu-quant): Rename from
15801 `calc-logunits-quantity'.
15802 (calcFunc-lupquant): Rename from `calcFunc-powerquant'.
15803 (calcFunc-lufquant): Rename from `calcFunc-fieldquant'.
15804 (calc-db): Rename from `calc-dblevel'.
15805 (calcFunc-dbpower): Rename from `calcFunc-dbpowerlevel'.
15806 (calcFunc-dbfield): Rename from `calcFunc-dbfieldlevel'.
15807 (calc-np): Rename from `calc-nplevel'.
15808 (calcFunc-nppower): Rename from `calcFunc-nppowerlevel'.
15809 (calcFunc-npfield): Rename from `calcFunc-npfieldlevel'.
15810 (calc-lu-plus): Rename from `calc-logunits-add'.
15811 (calcFunc-lupadd): Rename from `calcFunc-lupoweradd'.
15812 (calcFunc-lufadd): Rename from `calcFunc-lufieldadd'.
15813 (calc-lu-minus): Rename from `calc-logunits-sub'.
15814 (calcFunc-lupsub): Rename from `calcFunc-lupowersub'.
15815 (calcFunc-lufsub): Rename from `calcFunc-lufieldsub'.
15816 (calc-lu-times): Rename from `calc-logunits-mul'.
15817 (calcFunc-lupmul): Rename from `calcFunc-lupowermul'.
15818 (calcFunc-lufmul): Rename from `calcFunc-lufieldmul'.
15819 (calc-lu-divide): Rename from `calc-logunits-div'.
15820 (calcFunc-lupdiv): Rename from `calcFunc-lupowerdiv'.
15821 (calcFunc-lufdiv): Rename from `calcFunc-lufielddiv'.
15822
15823 * calc/calc-ext.el (calc-init-extensions): Update the names of the
15824 functions being autoloaded.
15825
15826 * calc/calc.el (calc-lu-power-reference): Rename from
15827 `calc-logunits-power-reference'.
15828 (calc-lu-field-reference): Rename from
15829 `calc-logunits-field-reference'.
15830
15831 * calc/calc-help.el (calc-l-prefix-help):
15832 Mention musical note functions.
15833
15834 2011-03-17 Stefan Monnier <monnier@iro.umontreal.ca>
15835
15836 * minibuffer.el (completion-all-sorted-completions):
15837 Use :completion-cycle-penalty text property if present.
15838
15839 2011-03-16 Ken Manheimer <ken.manheimer@gmail.com>
15840
15841 * allout.el (allout-yank-processing): Adjust for new rebulleting
15842 regime so bullet being yanked is used without prompting the user
15843 for a choice.
15844
15845 2011-03-16 Juanma Barranquero <lekktu@gmail.com>
15846
15847 * startup.el (command-line): Warn the user that _emacs is deprecated.
15848
15849 2011-03-16 Juanma Barranquero <lekktu@gmail.com>
15850
15851 * progmodes/delphi.el (delphi-search-path, delphi-indent-level)
15852 (delphi-verbose, delphi-comment-face, delphi-string-face)
15853 (delphi-keyword-face, delphi-ignore-changes, delphi-indent-line)
15854 (delphi-mode-abbrev-table, delphi-debug-buffer, delphi-tab)
15855 (delphi-find-unit, delphi-find-current-xdef, delphi-fill-comment)
15856 (delphi-new-comment-line, delphi-font-lock-defaults)
15857 (delphi-debug-mode-map, delphi-mode-syntax-table, delphi-mode):
15858 Fix typos in docstrings.
15859
15860 2011-03-15 Ken Manheimer <ken.manheimer@gmail.com>
15861
15862 * allout.el (allout-make-topic-prefix, allout-rebullet-heading):
15863 Invert the roles of character and string values for INSTEAD, so a
15864 string is used for the more common case of a defaulting prompt.
15865
15866 2011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
15867
15868 * progmodes/ruby-mode.el (ruby-backward-sexp):
15869 * progmodes/ebrowse.el (ebrowse-draw-file-member-info):
15870 * play/gamegrid.el (gamegrid-make-face):
15871 * play/bubbles.el (bubbles--grid-width, bubbles--grid-height)
15872 (bubbles--colors, bubbles--shift-mode, bubbles--initialize-images):
15873 * notifications.el (notifications-notify):
15874 * net/xesam.el (xesam-search-engines):
15875 * net/quickurl.el (quickurl-list-insert):
15876 * vc/vc-hg.el (vc-hg-dir-printer): Fix use of case.
15877
15878 2011-03-15 Chong Yidong <cyd@stupidchicken.com>
15879
15880 * startup.el (command-line): Update package subdirectory regexp.
15881
15882 2011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
15883
15884 * allout.el (allout-abbreviate-flattened-numbering)
15885 (allout-mode-deactivate-hook): Fix up obsolescence "date".
15886
15887 * subr.el (read-char-choice): Only show the cursor after the prompt,
15888 not after the answer.
15889
15890 2011-03-15 Kevin Ryde <user42@zip.com.au>
15891
15892 * help-fns.el (variable-at-point): Skip leading quotes, if any
15893 (bug#8253).
15894
15895 2011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
15896
15897 * emacs-lisp/bytecomp.el (byte-compile-save-excursion): Change the
15898 warning message.
15899
15900 2011-03-14 Michael Albinus <michael.albinus@gmx.de>
15901
15902 * shell.el (shell): When called interactively, offer to change the
15903 shell file name on remote hosts.
15904
15905 2011-03-13 Teodor Zlatanov <tzz@lifelogs.com>
15906
15907 * net/ldap.el (ldap-search-internal): Add `auth-source-search'
15908 integration for LDAP parameters. The host, base, user or binddn,
15909 and secret tokens can be specified in a netrc file, for instance.
15910 This is optional because an `auth-source' parameter must be
15911 specified in the search attributes.
15912
15913 2011-03-13 Juanma Barranquero <lekktu@gmail.com>
15914
15915 * help.el (describe-mode): Link to the mode's definition (bug#8185).
15916
15917 2011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
15918
15919 * ebuff-menu.el (electric-buffer-menu-mode-map): Move initialization
15920 into declaration. Remove redundant and harmful binding.
15921
15922 2011-03-12 Eli Zaretskii <eliz@gnu.org>
15923
15924 * files.el (file-ownership-preserved-p): Pass `integer' as an
15925 explicit 2nd argument to `file-attributes'. If the file's owner
15926 is the Administrators group on Windows, and the current user is
15927 Administrator, consider that a match.
15928
15929 * server.el (server-ensure-safe-dir): Consider server directory
15930 safe on MS-Windows if its owner is the Administrators group while
15931 the current Emacs user is Administrator. Use `=' to compare
15932 numerical UIDs, since they could be integers or floats.
15933
15934 2011-03-12 Juanma Barranquero <lekktu@gmail.com>
15935
15936 * vc/vc-bzr.el (vc-bzr-state): Handle bzr 2.3.0 (follow-up to bug#8170).
15937
15938 2011-03-12 Michael Albinus <michael.albinus@gmx.de>
15939
15940 Sync with Tramp 2.2.1.
15941
15942 * net/tramp-sh.el (tramp-methods): Exchange "%k" marker with options.
15943
15944 * net/trampver.el: Update release number.
15945
15946 2011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
15947
15948 * progmodes/compile.el (compilation--previous-directory): Fix up
15949 various nil/dead-marker mismatches (bug#8014).
15950 (compilation-directory-properties, compilation-error-properties):
15951 Don't call it at a position past the one we're about to change.
15952
15953 * emacs-lisp/bytecomp.el (byte-compile-make-obsolete-variable):
15954 Disable obsolescence warnings in the file that declares it.
15955
15956 2011-03-11 Ken Manheimer <ken.manheimer@gmail.com>
15957
15958 * allout-widgets.el (allout-widgets-tally):
15959 Initialize allout-widgets-tally as a hash table rather than nil to
15960 prevent mode-line redisplay warnings. Also, clarify the module
15961 description and fix a comment typo.
15962
15963 2011-03-11 Juanma Barranquero <lekktu@gmail.com>
15964
15965 * help-fns.el (describe-variable): Don't complete keywords.
15966 Suggested by Teodor Zlatanov <tzz@lifelogs.com>.
15967
15968 2011-03-10 Chong Yidong <cyd@stupidchicken.com>
15969
15970 * emacs-lisp/package.el (package-version-join): Impose a standard
15971 string representation for pre/alpha/beta version lists.
15972 (package-unpack-single): Standardize the directory name by passing
15973 it through package-version-join.
15974 (package-strip-rcs-id): Accept any version string that does not
15975 signal an error in version-to-list.
15976
15977 2011-03-10 Michael Albinus <michael.albinus@gmx.de>
15978
15979 * simple.el (delete-trailing-whitespace): Return nil for the
15980 benefit of `write-file-functions'.
15981
15982 2011-03-10 Glenn Morris <rgm@gnu.org>
15983
15984 * vc/vc-hg.el (vc-hg-pull, vc-hg-merge-branch): Use vc-hg-program.
15985
15986 * vc/vc-git.el (vc-git-program): New option.
15987 (vc-git-branches, vc-git-pull, vc-git-merge-branch, vc-git-command)
15988 (vc-git--call): Use it.
15989
15990 * eshell/esh-util.el (eshell-condition-case): Doc fix.
15991
15992 * cus-edit.el (Custom-newline): If no button at point, look
15993 for a subgroup button at start-of-line. (Bug#2298)
15994
15995 * mail/rmail.el (rmail-msgend, rmail-msgbeg): Doc fixes.
15996
15997 2011-03-10 Julien Danjou <julien@danjou.info>
15998
15999 * avoid.el (mouse-avoidance-ignore-p): Do not move the cursor if
16000 `cursor-type' is nil.
16001
16002 2011-03-09 Jay Belanger <jay.p.belanger@gmail.com>
16003
16004 * calc/calc.el (calc-mode-map): Don't bind "C-_" to `calc-missing-key'.
16005
16006 2011-03-09 Ken Manheimer <ken.manheimer@gmail.com>
16007
16008 * allout.el: Change so yank of distinctive-bullet items
16009 preserves the existing header prefix, rebulleting it if necessary,
16010 rather than replacing it. This is necessary for proper operation
16011 of cooperative addons like allout-widgets.
16012 (allout-make-topic-prefix, allout-rebullet-heading):
16013 Change SOLICIT arg to INSTEAD, and interpret additionally a string
16014 value as alternate bullet to be used, instead of prompting the user
16015 for a bullet character.
16016
16017 2011-03-09 Michael Albinus <michael.albinus@gmx.de>
16018
16019 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
16020 Do not use `tramp-file-name-port', because this returns also
16021 `tramp-default-port'.
16022
16023 2011-03-09 Deniz Dogan <deniz.a.m.dogan@gmail.com>
16024
16025 * net/rcirc.el (rcirc-handler-001): Remove useless
16026 with-rcirc-process-buffer.
16027 (rcirc-check-auth-status): Swap arguments to string-match.
16028
16029 2011-03-09 Glenn Morris <rgm@gnu.org>
16030
16031 * shell.el (shell-mode):
16032 Set comint-input-ring-size from HISTSIZE. (Bug#7889)
16033
16034 * progmodes/gdb-mi.el (gdb): Improve 2010-12-08 change.
16035 Check for GDBHISTFILE, HISTSIZE, etc. (Bug#7889)
16036
16037 2011-03-08 Chong Yidong <cyd@stupidchicken.com>
16038
16039 * emacs-lisp/package.el (package-refresh-contents)
16040 (package-menu-execute): Use condition-case-no-debug.
16041
16042 2011-03-08 Michael Albinus <michael.albinus@gmx.de>
16043
16044 * simple.el (shell-command-to-string): Use `process-file'.
16045
16046 * emacs-lisp/package.el (package-tar-file-info): Handle also
16047 remote files.
16048
16049 * emacs-lisp/package-x.el (package-upload-buffer-internal):
16050 Use `equal' for upload base check.
16051
16052 2011-03-08 Arni Magnusson <arnima@hafro.is> (tiny change)
16053
16054 * textmodes/texinfo.el (texinfo-environments):
16055 Add deftypecv, deftypeivar, deftypemethod, deftypeop, html. (Bug#2783)
16056
16057 2011-03-08 Glenn Morris <rgm@gnu.org>
16058
16059 * cus-start.el (cursor-in-non-selected-windows):
16060 Fix :set quoting oddness. (Bug#8192)
16061
16062 * font-lock.el (lisp-font-lock-keywords-1): Don't highlight `)'
16063 in some setf expressions. (Bug#2159)
16064
16065 2011-03-08 Chong Yidong <cyd@stupidchicken.com>
16066
16067 * custom.el (custom-available-themes): Return themes in
16068 alphabetical order.
16069
16070 See ChangeLog.15 for earlier changes.
16071
16072 ;; Local Variables:
16073 ;; coding: utf-8
16074 ;; End:
16075
16076 Copyright (C) 2011-2012 Free Software Foundation, Inc.
16077
16078 This file is part of GNU Emacs.
16079
16080 GNU Emacs is free software: you can redistribute it and/or modify
16081 it under the terms of the GNU General Public License as published by
16082 the Free Software Foundation, either version 3 of the License, or
16083 (at your option) any later version.
16084
16085 GNU Emacs is distributed in the hope that it will be useful,
16086 but WITHOUT ANY WARRANTY; without even the implied warranty of
16087 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16088 GNU General Public License for more details.
16089
16090 You should have received a copy of the GNU General Public License
16091 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.