* xml.el: Protect parser against XML bombs.
[bpt/emacs.git] / lisp / ChangeLog
CommitLineData
a76e6535
CY
12012-07-03 Chong Yidong <cyd@gnu.org>
2
3 * xml.el: Protect parser against XML bombs.
4 (xml-entity-expansion-limit): New variable.
5 (xml-parse-string, xml-substitute-special): Use it.
6 (xml-parse-dtd): Avoid infloop if the DTD is not terminated.
7
b544fef2
GM
82012-07-03 Glenn Morris <rgm@gnu.org>
9
10 * progmodes/bug-reference.el (bug-reference-bug-regexp):
11 Allow linking to specific messages in debbugs reports (eg 123#5).
12
a7aef6f5
CY
132012-07-02 Chong Yidong <cyd@gnu.org>
14
15 * xml.el: Fix entity and character reference expansion, allowing
16 them to expand into markup as per XML spec.
17 (xml-default-ns): New variable.
18 (xml-entity-alist): Use XML spec definitions for lt and amp.
19 (xml-parse-region): Make first two arguments optional. Discard
20 text properties.
21 (xml-parse-tag-1): New function, spun off from xml-parse-tag. All
22 callers changed.
23 (xml-parse-tag): Call xml-parse-tag-1. For backward
24 compatibility, this function should not modify buffer contents.
25 (xml-parse-tag-1): Fix opening-tag regexp.
26 (xml-parse-string): Rewrite, handling entity and character
27 references properly.
28 (xml--entity-replacement-text): Signal an error if a parameter
29 entity is undefined.
30
3df31c9f
SM
312012-07-02 Stefan Monnier <monnier@iro.umontreal.ca>
32
2b5208f1
SM
33 * comint.el (comint-output-filter): Filter out repeated prompts.
34
3df31c9f
SM
35 * net/ange-ftp.el (ange-ftp-expand-file-name): Use ange-ftp-ftp-name
36 and file-name-absolute-p.
37 (ange-ftp-file-exists-p): Use ange-ftp-file-exists-p for
38 internal calls.
39
e3ac1281
PE
402012-07-02 Paul Eggert <eggert@cs.ucla.edu>
41
42 Spelling fixes.
43 * emacs-lisp/bytecomp.el (byte-compile--reify-function):
44 Rename from byte-compile--refiy-function. All uses changed.
45
fbf2e7ad
CY
462012-07-01 Chong Yidong <cyd@gnu.org>
47
48 * xml.el (xml--parse-buffer): New function. Move most of
49 xml-parse-region here.
50 (xml-parse-region): Copy region into a temporary buffer, since
51 parameter entity substitution requires changing buffer contents.
52 Use xml--parse-buffer.
53 (xml-parse-file): Use xml--parse-buffer.
54 (xml-parse-dtd): Make parameter entity substitution work right.
6fe566a7 55 Use proper regexps for ELEMENT declarations (Bug#7172).
fbf2e7ad 56
9bf0aa15
GM
572012-06-30 Glenn Morris <rgm@gnu.org>
58
bbce2853
GM
59 * comint.el (follow-comint-scroll-to-bottom): Fix declaration.
60
9bf0aa15
GM
61 * net/secrets.el, net/tramp-gvfs.el, net/xesam.el, net/zeroconf.el:
62 Remove outdated and unnecessary dbus declarations.
63
0d23c240
EZ
642012-06-30 Eli Zaretskii <eliz@gnu.org>
65
66 * emacs-lisp/timer.el (timer-until): Subtract results of
67 float-time, instead of taking float-time of the result of
68 time-subtract, since float-time signals an error for negative time
69 arguments.
70
b3218de1
CY
712012-06-30 Chong Yidong <cyd@gnu.org>
72
73 * xml.el (xml-*-re): Convert defvars into defconsts, and
74 eval-and-compile them so eval-and-compile works on derivatives.
75 (xml--entity-replacement-text): Use eval-and-comple.
76
a40c87a0
MA
772012-06-30 Michael Albinus <michael.albinus@gmx.de>
78
79 * vc/vc-git.el (vc-git-registered): Use cache property
80 `git-registered'.
81 (vc-git-mode-line-string): Call `vc-working-revision' instead of
82 `vc-git-working-revision' in order to benefit from the cache.
83 (vc-git-root): Use cache property `git-root'.
84
ac87de97
DG
852012-06-30 Dmitry Gutov <dgutov@yandex.ru>
86
87 * vc/vc-hooks.el (vc-before-save): Clear cache if file has been
88 removed (likely outside Emacs).
89
ac10fe06
SM
902012-06-30 Stefan Monnier <monnier@iro.umontreal.ca>
91
3df31c9f 92 * emacs-lisp/cl-lib.el: Require macroexp.
ac10fe06 93
7f3fbd5d
CY
942012-06-30 Chong Yidong <cyd@gnu.org>
95
96 * xml.el: Implement XML parameter entities.
97 (xml-parameter-entity-alist): New variable.
98 (xml-parse-region, xml-parse-fragment): Preserve previous values
99 of xml-entity-alist and xml-parameter-entity-alist, so that
100 repeated calls on different documents do not change them.
101 (xml-parse-tag): Fix doctype regexp.
102 (xml--entity-replacement-text): New function.
103 (xml-parse-dtd): Use it. Don't handle system entities; doing that
104 properly requires url retrieval which is unimplemented.
105 (xml-escape-string): Doc fix.
106
3cfbebba
SM
1072012-06-30 Stefan Monnier <monnier@iro.umontreal.ca>
108
109 * emacs-lisp/cl-lib.el (cl-pushnew): Use macroexp-let2.
110
2af3565e
DA
1112012-06-29 Dmitry Antipov <dmantipov@yandex.ru>
112
113 * fringe.el (fringe-mode): Doc fix.
114
929df0e7
MA
1152012-06-29 Michael Albinus <michael.albinus@gmx.de>
116
117 * net/ange-ftp.el (ange-ftp-get-passwd): Throw if `non-essential'
118 is non-nil.
119 (ange-ftp-ignore-errors-if-non-essential): New defmacro.
120 (ange-ftp-file-name-all-completions): Use it. (Bug#11808)
121
c8d3a25c 1222012-06-29 Andreas Schwab <schwab@linux-m68k.org>
3d8b9024 123
c8d3a25c
GM
124 * calendar/cal-dst.el (calendar-current-time-zone):
125 Return calendar-current-time-zone-cache if non-nil.
3d8b9024 126
c8d3a25c 1272012-06-29 Masatake YAMATO <yamato@redhat.com>
26e8548e
MY
128
129 * progmodes/which-func.el (which-func-format):
130 Add mouse-face. (Bug#11698)
131
c8d3a25c
GM
1322012-06-29 Leo Liu <sdl.web@gmail.com>
133
134 * textmodes/enriched.el (enriched-next-annotation): Use eq (Bug#11528).
135
1362012-06-29 Stefan Monnier <monnier@iro.umontreal.ca>
137
138 * minibuffer.el (minibuffer-confirm-exit-commands):
139 Add completion-at-point (bug#11725).
140
1412012-06-29 Glenn Morris <rgm@gnu.org>
142
143 * progmodes/f90.el (f90-font-lock-keywords-2):
144 Add some preprocessor elements. (Bug#10499)
145
1462012-06-29 Stefan Monnier <monnier@iro.umontreal.ca>
147
148 * progmodes/cperl-mode.el (cperl-update-syntaxification):
149 Use syntax-propertize (bug#11739).
150
2badeec4
JB
1512012-06-28 Juanma Barranquero <lekktu@gmail.com>
152
153 * emacs-lisp/cl-lib.el (cl-pushnew): Don't capture X (bug#11811).
154
ae4969c2
JD
1552012-06-28 Julien Danjou <julien@danjou.info>
156
157 * term.el (term-handle-colors-array): Use a set of new faces to
158 color the terminal. Also uses :inverse-video property.
159 (term-default-fg-color): Set to nil by default, deprecate in favor
160 of `term-face'.
161 (term-default-bg-color): Set to nil by default, deprecate in favor
162 of `term-face'.
163 (term-current-face): Use `term-face' by default.
164 (term-bold-attribute): Variable deleted.
165
1c9bd870
GM
1662012-06-28 Glenn Morris <rgm@gnu.org>
167
168 * simple.el (completion-list-mode-finish):
169 Don't use toggle-read-only. (Since completion-list-mode has
170 a special mode-class, it wasn't doing anything extra anyway.)
171
c207708c
SM
1722012-06-28 Stefan Monnier <monnier@iro.umontreal.ca>
173
174 Make inlining of other-mode interpreted functions work (bug#11799).
175 * emacs-lisp/bytecomp.el (byte-compile--refiy-function): New fun.
176 (byte-compile): Use it to fix compilation of lexical-binding closures.
177 * emacs-lisp/byte-opt.el (byte-compile-inline-expand): Compile the
178 function, if needed.
179
3fd56834
SM
1802012-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
181
04901786
SM
182 * help-mode.el (help-make-xrefs): Don't just withstand
183 cyclic-variable-indirection but any error in documentation-property.
184
1ec4b7b2
SM
185 * loadup.el (purify-flag): Pre-grow the hash-table to reduce the
186 memory use.
187 * bindings.el (bindings--define-key): New function.
188 * vc/vc-hooks.el, replace.el, menu-bar.el, international/mule-cmds.el:
189 * emacs-lisp/lisp-mode.el, buff-menu.el, bookmark.el:
190 * bindings.el: Use it to purecopy define-key bindings.
191
e309e2a5
SM
192 * textmodes/rst.el (rst-adornment-faces-alist): Avoid copy-list.
193
d5c6faf9
SM
194 * emacs-lisp/cl.el (flet): Mark obsolete.
195 * emacs-lisp/cl-macs.el (cl-flet*): New macro.
196 * vc/vc-rcs.el (vc-rcs-annotate-command, vc-rcs-parse):
197 * progmodes/js.el (js-c-fill-paragraph):
198 * progmodes/ebrowse.el (ebrowse-switch-member-buffer-to-sibling-class)
199 (ebrowse-switch-member-buffer-to-derived-class):
200 * play/5x5.el (5x5-solver): Use cl-flet.
201
6e9590e2
SM
202 * emacs-lisp/cl.el: Use lexical-binding. Fix flet (bug#11780).
203 (cl--symbol-function): New macro.
204 (cl--letf, cl--letf*): Use it.
205
3fd56834
SM
206 * emacs-lisp/easy-mmode.el (easy-mmode-pretty-mode-name):
207 Strip "toggle-" if any.
208
35ff222c
GM
2092012-06-27 Glenn Morris <rgm@gnu.org>
210
1ba6038a
GM
211 * info.el (Info-default-directory-list): Move here from paths.el.
212 * paths.el: Remove file, which is now empty.
213 * loadup.el: No longer load "paths".
214
0ea0e51b
GM
215 * custom.el (custom-initialize-delay): Doc fix.
216
35ff222c
GM
217 * eshell/em-alias.el, eshell/em-banner.el, eshell/em-basic.el:
218 * eshell/em-cmpl.el, eshell/em-dirs.el, eshell/em-glob.el:
219 * eshell/em-hist.el, eshell/em-ls.el, eshell/em-pred.el:
220 * eshell/em-prompt.el, eshell/em-rebind.el, eshell/em-script.el:
221 * eshell/em-smart.el, eshell/em-term.el, eshell/em-unix.el:
222 * eshell/em-xtra.el: Replace eshell-defgroup with "(progn (defgroup".
223 * eshell/eshell.el (eshell-defgroup): Remove alias.
224
c89926a5
CY
2252012-06-27 Chong Yidong <cyd@gnu.org>
226
227 * help.el (help-enable-auto-load): New variable.
228
229 * help-fns.el (help-fns--autoloaded-p): New function.
230 (describe-function-1): Refer to a function as "autoloaded" if it
231 was autoloaded at any time in the past. Perform autoloading if
232 help-enable-auto-load is non-nil.
233
cc06e7e7
EZ
2342012-06-26 Eli Zaretskii <eliz@gnu.org>
235
236 * makefile.w32-in (compile, compile-always): Depend on
237 update-subdirs, not on subdirs.el. Otherwise, several different
238 sub-targets of 'bootstrap' running in parallel could
239 simultaneously write to subdirs.el, producing a garbled file.
240
d2c32364
SS
2412012-06-26 Sam Steingold <sds@gnu.org>
242
243 * files.el (file-name-base): New convenience function.
0d14cc21
GM
244 * autoinsert.el, cus-dep.el, doc-view.el, image-dired.el:
245 * woman.el, eshell/esh-cmd.el, progmodes/ada-xref.el:
246 * progmodes/cc-defs.el, progmodes/cperl-mode.el:
247 * progmodes/flymake.el, progmodes/gud.el, progmodes/idlwave.el:
248 * textmodes/ispell.el, textmodes/reftex-ref.el:
d2c32364
SS
249 * textmodes/tex-mode.el: Use it.
250 Did not touch cedet and org because they are maintained elsewhere.
251
5cf983b2
MR
2522012-06-26 Martin Rudalics <rudalics@gmx.at>
253
254 * calendar/calendar.el (calendar-exit): Don't try to delete or
255 iconify last frame. See:
256 http://lists.gnu.org/archive/html/emacs-devel/2012-06/msg00372.html
257
8c4f2952
JD
2582012-06-25 Jim Diamond <Jim.Diamond@AcadiaU.ca> (tiny change)
259
260 * server.el (server-process-filter): Remember dir in the
261 process's `server-client-directory' properties.
262
772b2e2c
CY
2632012-06-24 Chong Yidong <cyd@gnu.org>
264
265 * xml.el (xml-parse-tag): Correctly handle comment embedded in
266 non-tag text.
267
711b11e1
JB
2682012-06-23 Juanma Barranquero <lekktu@gmail.com>
269
270 * makefile.w32-in (COMPILE_FIRST): Synch with changes in 2012-06-22T21:24:54Z!monnier@iro.umontreal.ca.
271
dc5d230c
SM
2722012-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
273
274 * help-fns.el (describe-variable): Don't croak when doc is not found.
275 * vc/pcvs.el (cvs-retrieve-revision): Avoid toggle-read-only.
276 * menu-bar.el (menu-bar-line-wrapping-menu): Purecopy a tiny bit more.
277 * emacs-lisp/syntax.el (syntax-ppss): Simplify with new `if' place.
278 * emacs-lisp/smie.el (smie-next-sexp): CSE.
279 * emacs-lisp/macroexp.el (macroexp-let2): Fix edebug spec and avoid
280 ((lambda ..) ..).
281 * emacs-lisp/eieio.el (eieio-oref, slot-value): Use simpler defsetf.
282
136e1c1d
CY
2832012-06-23 Chong Yidong <cyd@gnu.org>
284
e8c1cabf
CY
285 * info.el (Info-mouse-follow-link): Accept symbol values of
286 link-args. Select window; suggested by Gerhard Kahl (Bug#11672).
136e1c1d
CY
287 (Info-fontify-node): Use Info-link-keymap for all navigation
288 buttons, with link-args property to perform the desired action.
289 (Info-link-keymap): Doc fix.
290 (Info-next-link-keymap, Info-prev-link-keymap)
291 (Info-up-link-keymap): Delete now-unused keymaps.
292
0e9e6c6a
CY
2932012-06-23 Chong Yidong <cyd@gnu.org>
294
05e89fea
CY
295 * mouse.el (mouse-drag-track): Deactivate the mark before popping.
296
0e9e6c6a
CY
297 * progmodes/python.el (python-skeleton-define): Mark abbrevs as
298 system abbrevs.
299
300 * ansi-color.el (ansi-color-apply-on-region): Doc fix.
301
e33c6771
SM
3022012-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
303
b68581e2
SM
304 * emacs-lisp/cl-macs.el (cl--make-usage-args): Handle improper lists
305 (bug#11719).
306
e33c6771
SM
307 * minibuffer.el (completion--twq-try): Try to fail more gracefully when
308 the requote function doesn't work properly (bug#11714).
309
7117e105
GM
3102012-06-23 Glenn Morris <rgm@gnu.org>
311
312 * pcmpl-rpm.el (pcmpl-rpm-packages): Give status messages.
313
36cec983
SM
3142012-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
315
316 Further GV/CL cleanups.
317 * emacs-lisp/gv.el (gv-get): Autoload functions to find their
318 gv-expander.
319 (gv--defun-declaration): New function.
320 (defun-declarations-alist): Use it.
321 (gv-define-modify-macro, gv-pushnew!, gv-inc!, gv-dec!): Remove.
322 (gv-place): Autoload.
323 * emacs-lisp/cl.el (cl--dotimes, cl--dolist): Remember subr.el's
324 original definition of dotimes and dolist.
325 * emacs-lisp/cl-macs.el (cl-expr-access-order): Remove unused.
326 (cl-dolist, cl-dotimes): Use `dolist' and `dotimes'.
327 * emacs-lisp/cl-lib.el: Move gv handlers from cl-macs to here.
328 (cl-fifth, cl-sixth, cl-seventh, cl-eighth)
329 (cl-ninth, cl-tenth): Move gv handler to the function's definition.
330 * emacs-lisp/cl-extra.el (cl-subseq, cl-get, cl-getf): Move gv handler
331 to the function's definition.
332 * Makefile.in (COMPILE_FIRST): Re-order to speed it up by about 50%.
333 * window.el:
334 * files.el:
335 * faces.el:
336 * env.el: Don't use CL.
337
d35af63c
PE
3382012-06-22 Paul Eggert <eggert@cs.ucla.edu>
339
340 Support higher-resolution time stamps (Bug#9000).
341
342 * calendar/time-date.el (with-decoded-time-value): New arg
343 PICO-SYMBOL in VARLIST. It's optional, for backward compatibility.
344 (encode-time-value): New optional arg PICO. New type 3.
345 (time-to-seconds) [!float-time]: Support the new picoseconds
346 component if it's used.
347 (seconds-to-time, time-subtract, time-add):
348 Support ps-resolution time stamps as well.
349
350 * emacs-lisp/timer.el (timer): New component psecs. All uses changed.
351 (timerp): Timer vectors now have length 9, not 8.
352 (timer--time): Support new-style (4-part) time stamps.
353 (timer-next-integral-multiple-of-time): Time stamps now have
354 picosecond resolution, so take a bit more care about rounding.
355 (timer-relative-time, timer-inc-time): New optional arg psecs.
356 (timer-set-time-with-usecs): Set psecs to 0.
357 (timer--activate): Check psecs component, too.
358
359 * proced.el (proced-time-lessp): Support ps-resolution stamps.
360
ac77b21a
SM
3612012-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
362
f143bfe3
SM
363 * icomplete.el (icomplete-minibuffer-setup, icomplete-completions):
364 Move the non-essential binding to the post/pre-command-hook where it is
365 more obviously correct.
366
ac77b21a
SM
367 * subr.el (read-passwd): Don't use a history at all.
368 * savehist.el (savehist-save): Remove password saved accidentally
369 because of the above bug.
370
76386c5a
BG
3712012-06-22 Bastien Guerry <bzg@gnu.org>
372
373 * files.el (toggle-read-only): Display a message telling whether
374 the buffer is read-only or not (bug#11726).
375
2ee3d7f0
SM
3762012-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
377
378 * emacs-lisp/gv.el: New file.
379 * subr.el (push, pop): Extend to generalized variables.
380 * loadup.el (macroexp): Unload if preloaded and uncompiled (bug#11657).
381 * emacs-lisp/cl-lib.el (cl-pop, cl-push, cl--set-nthcdr): Remove.
382 * emacs-lisp/cl-macs.el: Require gv. Use gv-define-setter,
383 gv-define-simple-setter, and gv-define-expander.
384 Remove setf-methods defined in gv. Rename cl-setf -> setf.
385 (cl-setf, cl-do-pop, cl-get-setf-method): Remove.
386 (cl-letf, cl-letf*, cl-define-modify-macro, cl-defsetf)
387 (cl-define-setf-expander, cl-struct-setf-expander): Move to cl.el.
388 (cl-remf, cl-shiftf, cl-rotatef, cl-callf, cl-callf2): Rewrite with
389 gv-letplace.
390 (cl-defstruct): Don't define setf-method any more.
391 * emacs-lisp/cl.el (flet): Don't autoload.
392 (cl--letf, letf, cl--letf*, letf*, cl--gv-adapt)
393 (define-setf-expander, defsetf, define-modify-macro)
394 (cl-struct-setf-expander): Move from cl-lib.el.
395 * emacs-lisp/syntax.el:
396 * emacs-lisp/ewoc.el:
397 * emacs-lisp/smie.el:
398 * emacs-lisp/cconv.el:
399 * emacs-lisp/timer.el: Rename cl-setf -> setf, cl-push -> push.
400 (timer--time): Use gv-define-simple-setter.
401 * emacs-lisp/macroexp.el (macroexp-let2): Rename from macroexp-let²
402 to avoid coding-system problems in subr.el. Adjust all users.
403 (macroexp--maxsize, macroexp-small-p): New functions.
404 * emacs-lisp/bytecomp.el (byte-compile-file): Don't use cl-letf.
405 * scroll-bar.el (scroll-bar-mode):
406 * simple.el (auto-fill-mode, overwrite-mode, binary-overwrite-mode)
407 (normal-erase-is-backspace-mode): Don't use the `eq' place.
408 * winner.el (winner-configuration, winner-make-point-alist)
409 (winner-set-conf, winner-get-point, winner-set): Don't abuse letf.
410 * files.el (locate-file-completion-table): Avoid list*.
411
c5695d1d
CY
4122012-06-22 Chong Yidong <cyd@gnu.org>
413
414 * dired-aux.el (dired-do-create-files): Doc fix (Bug#11327).
415 (dired-create-files): Doc fix (Bug#11329).
416 (dired-do-copy): Doc fix (Bug#11334).
417 (dired-mark-read-string): Doc fix (Bug#11553).
418
2ee3d7f0
SM
419 * dired.el (dired-recursive-copies, dired-recursive-deletes):
420 Doc fix (Bug#11326).
c5695d1d
CY
421 (dired-make-relative): Doc fix (Bug#11332). Remove unused arg.
422 (dired-dwim-target): Doc fix.
423
424 * wdired.el (wdired-mode): Doc fix.
425
89b5595a
GM
4262012-06-22 Glenn Morris <rgm@gnu.org>
427
575db3f1
GM
428 * pcmpl-rpm.el (pcmpl-rpm-cache): New option.
429 (pcmpl-rpm-cache-stamp-file): New constant.
430 (pcmpl-rpm-cache-time, pcmpl-rpm-packages): New variables.
431 (pcmpl-rpm-packages): Optionally cache list of packages.
432
a4c8dd51
GM
433 * pcmpl-rpm.el (pcmpl-rpm): New group.
434 (pcmpl-rpm-query-options): New option.
435 (pcmpl-rpm-packages): No need to inline it.
436 Use pcmpl-rpm-query-options.
437
89b5595a
GM
438 * calendar/calendar.el (calendar-in-read-only-buffer):
439 Avoid some needless mode changes.
440
e76f0800
CY
4412012-06-21 Chong Yidong <cyd@gnu.org>
442
443 * desktop.el (desktop-read): Don't prompt if daemon (Bug#11674).
444 (desktop-path): Remove . from the default value (Bug#10977).
6b67c0d4 445 (desktop-read): Use user-emacs-directory if desktop-path is nil.
e76f0800 446
297a8f1d
CY
4472012-06-20 Chong Yidong <cyd@gnu.org>
448
449 * term.el (term-send-raw-meta): Make C-M-<char> keys work (Bug#8172).
450
d34c18b1
DR
4512012-06-20 David Röthlisberger <david@rothlis.net> (tiny change)
452
453 * ido.el (ido-switch-buffer, ido-find-file): Fix up doc of C-j
454 (bug#11201).
455
32f7f28e
CY
4562012-06-20 Chong Yidong <cyd@gnu.org>
457
458 * term.el (term-window-width): Handle the case of a missing right
459 fringe (Bug#8837).
460 (term-check-size): Use window-text-height (Bug#5445).
d34c18b1
DR
461 (term-mode): Use define-derived-mode. Minor cleanups.
462 Set font-lock-defaults (Bug#7692).
6ff7caa8
CY
463 (term-move-columns, term-insert-char, term-emulate-terminal)
464 (term-erase-in-line, term-insert-spaces): Use font-lock-face.
32f7f28e 465
493c6688
MA
4662012-06-20 Michael Albinus <michael.albinus@gmx.de>
467
d34c18b1
DR
468 * net/ange-ftp.el (ange-ftp-get-passwd):
469 Bind `enable-recursive-minibuffers'.
493c6688
MA
470 (ange-ftp-get-process): Throw if `non-essential' is non-nil.
471
3f06ecf4
DR
4722012-06-19 David Röthlisberger <david@rothlis.net> (tiny change)
473
474 * ido.el (ido-find-file): Mention C-d binding in docstring (bug#11244).
475
68f12411
GM
4762012-06-19 Glenn Morris <rgm@gnu.org>
477
478 * progmodes/python.el (python-mode): Derive from prog-mode.
479
b3820318
KG
4802012-06-19 Kevin Gallagher <Kevin.Gallagher@boeing.com>
481
482 * emulation/edt.el (edt-default-menu-bar-update-buffers)
483 (edt-user-menu-bar-update-buffers): New functions.
484 (edt-default-emulation-setup, edt-user-emulation-setup): Use them.
485
c6bf3022
CY
4862012-06-19 Chong Yidong <cyd@gnu.org>
487
488 * subr.el (with-selected-window): Preserve the selected window's
489 terminal's top-frame (Bug#4702).
490
491 * window.el (save-selected-window): Likewise.
492
25f09295
SM
4932012-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
494
495 * progmodes/python.el (python-rx-constituents): Move backquote.
496 (python-skeleton-define, python-define-auxiliary-skeleton):
497 Use `declare'.
498
6b11952a
MA
4992012-06-18 Michael Albinus <michael.albinus@gmx.de>
500
501 * minibuffer.el (read-file-name-default): Revert the patch from
502 2012-06-17.
503
ee4b1330
SM
5042012-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
505
506 * emacs-lisp/pcase.el (pcase--expand): Warn for unused pattern.
507 (pcase--u1, pcase--q1): Don't use apply-partially.
508
35647f79
GM
5092012-06-18 Glenn Morris <rgm@gnu.org>
510
511 * progmodes/python.el (python-proc, python-buffer)
512 (python-send-receive, python-send-string): Fix obsolete versions.
513
24b0cff0
MR
5142012-06-18 Martin Rudalics <rudalics@gmx.at>
515
516 * window.el (special-display-p): Completely remove stringp
517 check. Suggested by Andreas Schwab <schwab@linux-m68k.org>.
518
29855149
MA
5192012-06-17 Michael Albinus <michael.albinus@gmx.de>
520
521 * minibuffer.el (read-file-name-default): Bind `non-essential' to `t'.
522
523 * net/tramp.el (tramp-file-name-handler): Catch 'non-essential.
524
525 * net/ange-ftp.el (ange-ftp-gwp-start, ange-ftp-start-process):
526 * net/tramp-sh.el (tramp-maybe-open-connection):
527 Throw if `non-essential' is non-nil.
528
07463363
MR
5292012-06-17 Martin Rudalics <rudalics@gmx.at>
530
531 * window.el (special-display-p): Signal an error if BUFFER-NAME
532 is not a string (Bug#11713).
533
48d1354e
PE
5342012-06-17 Paul Eggert <eggert@cs.ucla.edu>
535
536 * progmodes/python.el (python-info-beginning-of-backslash):
537 Rename from python-info-beginning-of-backlash, as a spelling fix.
538
eb4a8a9a
CY
5392012-06-17 Chong Yidong <cyd@gnu.org>
540
541 * term.el (term-emulate-terminal): If term-check-size is called,
542 move point to the process mark without resetting point (Bug#4635).
543
ddfbf826 5442012-06-17 Glenn Morris <rgm@gnu.org>
9c758578
GM
545
546 * international/mule-cmds.el (mule-menu-keymap)
547 (set-language-environment, set-locale-environment): Doc tweaks.
548
9b0e3eba
AA
5492012-06-16 Aurelien Aptel <aurelien.aptel@gmail.com>
550
551 * cus-face.el (custom-face-attributes): Add wave-style underline
552 attribute.
553 * faces.el (set-face-attribute): Update docstring to describe
554 wave-style underline attribute.
555
771e3eae
CY
5562012-06-16 Chong Yidong <cyd@gnu.org>
557
558 * term/xterm.el (terminal-init-xterm): Discard input before
559 querying background mode (Bug#10959).
560
7ae2ea10
SM
5612012-06-16 Stefan Merten <smerten@oekonux.de>
562
563 * textmodes/rst.el: Added and corrected some comments.
564 (rst-re-alist-def): Improve symbol syntax.
565 (rst-mode-syntax-table): Correct syntax entries.
6665a6fd
SM
566 (rst-cvs-header, rst-svn-rev, rst-svn-timestamp)
567 (rst-official-version, rst-official-cvs-rev): Update version
568 information.
7ae2ea10 569
b6974efa
JB
5702012-06-15 Juanma Barranquero <lekktu@gmail.com>
571
572 * makefile.w32-in (COMPILE_FIRST): Synch with makefile.in changes
573 in 2008-06-22T13:57:28Z!monnier@iro.umontreal.ca.
574
8826d473
GM
5752012-06-15 Fabián Ezequiel Gallina <fgallina@cuca>
576
577 * progmodes/python.el: New python.el merge.
578 (python-guess-indent): Obsolete var.
579 (python-indent-guess-indent-offset): New defcustom.
580 (python-indent): Obsolete var.
581 (python-indent-offset): New defcustom.
582 (python-python-command, python-jython-command): Delete var.
583 (python-shell-interpreter): New defcustom.
584 (python-pdbtrack-do-tracking-p): Delete var.
585 (python-pdbtrack-activate): New defcustom.
586 (python-use-skeletons): Obsolete var.
587 (python-skeleton-autoinsert): New defcustom.
588 (inferior-python-filter-regexp, python-continuation-offset)
589 (python-honour-comment-indentation, python-indent-string-contents)
590 (python-jython-packages, python-mode-hook)
591 (python-pdbtrack-minor-mode-string, python-remove-cwd-from-path)
592 (python-shell-prompt-alist)
593 (python-source-modes): Delete defcustoms.
594 (python-check-buffer-name, python-eldoc-setup-code)
595 (python-eldoc-string-code, python-ffap-setup-code)
596 (python-ffap-string-code, python-fill-comment-function)
597 (python-fill-decorator-function, python-fill-paren-function)
598 (python-fill-string-function, python-imenu-include-defun-type)
599 (python-imenu-make-tree, python-imenu-subtree-root-label)
600 (python-pdbtrack-stacktrace-info-regexp, python-shell-buffer-name)
601 (python-shell-compilation-regexp-alist)
602 (python-shell-completion-module-string-code)
603 (python-shell-completion-pdb-string-code)
604 (python-shell-completion-setup-code)
605 (python-shell-completion-string-code)
606 (python-shell-enable-font-lock, python-shell-exec-path)
607 (python-shell-extra-pythonpaths)
608 (python-shell-internal-buffer-name, python-shell-interpreter-args)
609 (python-shell-process-environment)
610 (python-shell-prompt-block-regexp)
611 (python-shell-prompt-output-regexp)
612 (python-shell-prompt-pdb-regexp, python-shell-prompt-regexp)
613 (python-shell-send-setup-max-wait, python-shell-setup-codes)
614 (python-shell-virtualenv-path): New defcustoms.
615 (brm-menu, eldoc-documentation-function, inferior-python-mode-map)
616 (inferior-python-mode-syntax-table, python--prompt-regexp)
617 (python-buffer, python-command python-python-command)
618 (python-default-template, python-imports, python-indent-index)
619 (python-indent-list, python-indent-list-length)
620 (python-mode-running, python-pdbtrack-is-tracking-p)
621 (python-preoutput-continuation, python-preoutput-leftover)
622 (python-preoutput-result, python-preoutput-skip-next-prompt)
623 (python-prev-dir/file, python-recursing)
624 (python-saved-check-command, python-version-checked)
625 (python-which-func-length-limit)
626 (view-return-to-alist): Delete vars.
627 (python-check-custom-command, python-dotty-syntax-table)
628 (python-imenu-index-alist, python-indent-current-level)
629 (python-indent-dedenters, python-indent-levels)
630 (python-nav-beginning-of-defun-regexp)
631 (python-nav-list-defun-positions-cache)
632 (python-pdbtrack-buffers-to-kill, python-pdbtrack-tracked-buffer)
633 (python-shell-internal-buffer)
634 (python-skeleton-available): New vars.
635 (def-python-skeleton): Delete macro.
636 (python-skeleton-define): New macro.
637 (python-define-auxiliary-skeleton, python-rx): New macros.
638 (python-insert-class): Delete command.
639 (python-skeleton-class): New command.
640 (python-insert-def): Delete command.
641 (python-skeleton-def): New command.
642 (python-insert-for): Delete command.
643 (python-skeleton-for): New command.
644 (python-insert-if): Delete command.
645 (python-skeleton-if): New command.
646 (python-insert-try/except, python-insert-try/finally): Delete commands.
647 (python-skeleton-try): New command.
648 (python-insert-while): Delete command.
649 (python-skeleton-while): New command.
650 (python-backspace): Delete command.
651 (python-indent-dedent-line-backspace): New command.
652 (python-electric-colon): Delete command.
653 (python-indent-electric-colon): New command.
654 (python-guess-indent): Delete command.
655 (python-indent-guess-indent-offset): New command.
656 (python-shift-left): Delete command.
657 (python-indent-shift-left): New command.
658 (python-shift-right): Delete command.
659 (python-indent-shift-right): New command.
660 (python-find-function): Delete command.
661 (python-nav-jump-to-defun): New command.
662 (python-next-statement): Delete command.
663 (python-nav-forward-sentence): New command.
664 (python-previous-statement): Delete command.
665 (python-nav-backward-sentence): New command.
666 (python-fill-paragraph): Delete command.
667 (python-fill-paragraph-function): New command.
668 (python-send-buffer): Delete command.
669 (python-shell-send-buffer): New command.
670 (python-send-defun): Delete command.
671 (python-shell-send-defun): New command.
672 (python-send-region, python-send-region-and-go): Delete commands.
673 (python-shell-send-region)
674 (python-shell-switch-to-shell): New commands.
675 (python-send-string): Delete command.
676 (python-shell-send-string): New command.
677 (python-switch-to-python): Delete command.
678 (python-shell-switch-to-shell): New command.
679 (python-describe-symbol): Delete command.
680 (python-eldoc-at-point): New command.
681 (python--set-prompt-regexp, python-args-to-list)
682 (python-after-info-look, python-check-version)
683 (python-check-comint-prompt, python-find-imports)
684 (python-execute-file, turn-off-pdbtrack, turn-on-pdbtrack)
685 (python-unload-function, python-expand-template)
686 (python-maybe-jython, python-preoutput-filter)
687 (python-pdbtrack-get-source-buffer)
688 (python-pdbtrack-grub-for-buffer, python-pdbtrack-overlay-arrow)
689 (python-pdbtrack-toggle-stack-tracking)
690 (python-pdbtrack-track-stack-file, python-initial-text)
691 (python-first-word, python-comment-line-p, python-send-command)
692 (python-setup-brm, python-sentinel, python-set-proc)
693 (python-skip-out, python-input-filter, python-outdent-p)
694 (python-outline-level, python-backslash-continuation-line-p)
695 (python-end-of-block, python-end-of-statement, python-mark-block)
696 (python-beginning-of-block, python-beginning-of-statement)
697 (python-blank-line-p, python-beginning-of-string)
698 (python-open-block-statement-p): Delete functions.
699 (python-indent-line, python-indent-line-1): Delete functions.
700 (python-indent-line): New function.
701 (python-indentation-levels): Delete function.
702 (python-indent-calculate-levels): New function.
703 (python-proc): Delete function.
704 (python-shell-get-process): New function.
705 (python-send-receive): Delete function.
706 (python-shell-send-string-no-output): New function.
707 (python-module-path): Delete function.
708 (python-ffap-module-path): New function.
709 (python-completion-at-point)
710 (python-symbol-completions): Delete functions.
711 (python-completion-complete-at-point): New function.
712 (python-load-file): Delete function.
713 (python-shell-send-file): New function.
714 (python-calculate-indentation): Delete function.
715 (python-indent-calculate-indentation): New function.
716 (python-skip-comments/blanks): Delete function.
717 (python-util-forward-comment): New function.
718 (python-continuation-line-p): Delete function.
719 (python-info-continuation-line-p): New function.
720 (python-which-func, python-current-defun): Delete function.
721 (python-info-current-defun): New function.
722 (python-beginning-of-defun): Delete function.
723 (python-nav-beginning-of-defun): New function.
724 (python-close-block-statement-p)
725 (python-block-end-p): Delete function.
726 (python-info-closing-block): New function.
727 (python-comint-output-filter-function)
728 (python-eldoc--get-doc-at-point, python-end-of-defun-function)
729 (python-fill-comment, python-fill-decorator, python-fill-paren)
730 (python-fill-string, python-imenu-make-element-tree)
731 (python-imenu-make-tree, python-imenu-tree-assoc)
732 (python-indent-context, python-indent-dedent-line)
733 (python-indent-line-function)
734 (python-indent-post-self-insert-function)
735 (python-indent-toggle-levels)
736 (python-info-assignment-continuation-line-p)
737 (python-info-beginning-of-backlash)
738 (python-info-block-continuation-line-p)
739 (python-info-closing-block-message)
740 (python-info-line-ends-backslash-p)
741 (python-info-looking-at-beginning-of-defun)
742 (python-info-ppss-context, python-info-ppss-context-type)
743 (python-nav-list-defun-positions, python-nav-read-defun)
744 (python-nav-sentence-end, python-nav-sentence-start)
745 (python-pdbtrack-comint-output-filter-function)
746 (python-pdbtrack-set-tracked-buffer)
747 (python-shell-calculate-exec-path)
748 (python-shell-calculate-process-environment)
749 (python-shell-completion--do-completion-at-point)
750 (python-shell-completion--get-completions)
751 (python-shell-completion-complete-at-point)
752 (python-shell-completion-complete-or-indent)
753 (python-shell-get-or-create-process)
754 (python-shell-get-process-name)
755 (python-shell-internal-get-or-create-process)
756 (python-shell-internal-get-process-name)
757 (python-shell-internal-send-string, python-shell-make-comint)
758 (python-shell-parse-command, python-shell-send-setup-code)
759 (python-skeleton-add-menu-items)
760 (python-util-clone-local-variables, python-util-position)
761 (run-python-internal, python-indentation-levels)
762 (python-nav-beginning-of-defun)
763 (python-completion-complete-at-point): New functions.
764 (run-python): Change arguments. New API requirements.
765
4302f5ba
SM
7662012-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
767
f38ea36d
SM
768 * emacs-lisp/cl-lib.el (cl--defsubst-expand): Autoload inliner
769 (bug#11649).
770
771 * emacs-lisp/macroexp.el (macroexp--compiler-macro): New function.
772 (macroexp--expand-all): Use it.
773
4302f5ba
SM
774 * emacs-lisp/cl-macs.el (cl--transform-function-property): Remove.
775 (cl-define-setf-expander, cl-deftype, cl-define-compiler-macro):
776 Use `cl-function' instead.
777
33377562
JB
7782012-06-14 Juanma Barranquero <lekktu@gmail.com>
779
780 * makefile.w32-in (COMPILE_FIRST): Remove subr.el.
781 Suggested by Stefan Monnier while discussing bug#11657.
782
54c5ba1a
SS
7832012-06-14 Sam Steingold <sds@gnu.org>
784
785 * files.el (abort-if-file-too-large): Use `file-size-human-readable'.
786
f9f1b1fe
AS
7872012-06-14 Andreas Schwab <schwab@linux-m68k.org>
788
789 * play/doctor.el (doctor-doc): Remove parameter and use
790 doctor-sent instead of sent.
791 (doctor-read-print): Use doctor-sent instead of sent. (Bug#11708)
792
a81068ba
SM
7932012-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
794
5a315f9c
SM
795 * files.el: Require cl-lib.
796 (file-name-non-special): Replace case -> cl-case.
797
798 * emacs-lisp/cl-macs.el (cl-defstruct): Don't add print-func.
799
a81068ba
SM
800 * emacs-lisp/edebug.el (edebug-read-function): Remove old incorrect
801 mapping from #' to function*.
802
8cca9703
CY
8032012-06-13 Chong Yidong <cyd@gnu.org>
804
805 * mouse.el (mouse-drag-track): Do not set the mark if the user
806 releases the mouse without selecting anything (Bug#11588).
807
a12ac9d7
SM
8082012-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
809
ccf1dc18
SM
810 * textmodes/tex-mode.el (latex-indent): Recognize tex-verbatim at EOB
811 as well (bug#11646).
812
ef62b23d
SM
813 * loadup.el: Count byte-code functions as well.
814
c4c8444a
SM
815 * emacs-lisp/byte-opt.el (featurep): Move compiler-macro...
816 * emacs-lisp/bytecomp.el (featurep): ...here (bug#11692).
817
a12ac9d7
SM
818 * emacs-lisp/autoload.el (make-autoload): Accept nil doc-string-elt
819 (bug#11649). Add cl-defun and cl-defmacro.
820
87e6e64f
DA
8212012-06-13 Drew Adams <drew.adams@oracle.com>
822
823 * help-mode.el (help-bookmark-make-record, help-bookmark-jump):
824 Fix last change.
825
682cefaf
MA
8262012-06-13 Michael Albinus <michael.albinus@gmx.de>
827
828 * net/dbus.el (dbus-call-method): Use timeout for `read-event'.
829 Otherwise, it blocks in batch mode.
830
773e1f08
JB
8312012-06-13 Juanma Barranquero <lekktu@gmail.com>
832
833 * help-mode.el (bookmark-make-record-default): Declare.
834
60057926
CY
8352012-06-13 Chong Yidong <cyd@gnu.org>
836
837 * emacs-lisp/package.el (list-packages): Compute a list of
838 packages that are newly-available since the last list-packages
839 invocation.
840 (package-menu--new-package-list): New var.
841 (package-menu--generate, package-menu--print-info)
842 (package-menu--status-predicate, package-menu-mark-install):
843 Handle new status label "new".
844
ad4d226c
SM
8452012-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
846
847 * emacs-lisp/cl-macs.el (cl-remf): Fix error in recent
848 conversion to backquotes.
849
f1a4e679
CY
8502012-06-12 Chong Yidong <cyd@gnu.org>
851
852 * emacs-lisp/edebug.el (edebug-inhibit-emacs-lisp-mode-bindings):
853 Rename from gud-inhibit-global-bindings.
854
855 * emacs-lisp/eieio.el (eieio-pre-method-execution-hooks): Doc fix.
856
857 * nxml/nxml-glyph.el (nxml-glyph-set-functions): Rename abnormal
858 hook from nxml-glyph-set-hook.
859
860 * progmodes/cwarn.el (cwarn-mode): Remove redundant variable
861 declaration.
862
863 * progmodes/pascal.el (pascal-toggle-completions): Doc fix.
864
865 * textmodes/bibtex.el (bibtex-string-file-path, bibtex-file-path):
866 Convert to defcustom.
867
0c9e42b5
DA
8682012-06-12 Drew Adams <drew.adams@oracle.com>
869
870 * help-mode.el (help-bookmark-make-record, help-bookmark-jump):
871 New functions.
872 (help-mode): Use them.
873
09e06855
GM
8742012-06-11 Glenn Morris <rgm@gnu.org>
875
876 * progmodes/fortran.el (fortran-font-lock-keywords-3):
877 Use preprocessor face for directives.
878 (fortran-directive-re): Doc fix.
879
71adb94b
SM
8802012-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
881
2eb87922
SM
882 * emacs-lisp/cl-macs.el (cl-parse-loop-clause): Fix error in recent
883 conversion to backquotes (bug#11652).
884
71adb94b
SM
885 Fix compiler-expansion of CL's cXXr functions (bug#11673).
886 * emacs-lisp/cl-lib.el (cl--defalias): New function.
887 (cl-values, cl-values-list, cl-copy-seq, cl-svref, cl-first)
888 (cl-second, cl-rest, cl-endp, cl-third, cl-fourth): Use it.
889 (cl-plusp, cl-minusp, cl-fifth, cl-sixth, cl-seventh, cl-eighth)
890 (cl-ninth, cl-tenth): Mark them as inlinable.
891 (cl-caaar, cl-caadr, cl-cadar, cl-caddr, cl-cdaar, cl-cdadr)
892 (cl-cddar, cl-cdddr, cl-caaaar, cl-caaadr, cl-caadar, cl-caaddr)
893 (cl-cadaar, cl-cadadr, cl-caddar, cl-cadddr, cl-cdaaar, cl-cdaadr)
894 (cl-cdadar, cl-cdaddr, cl-cddaar, cl-cddadr, cl-cdddar, cl-cddddr):
895 Add a compiler-macro declaration to use cl--compiler-macro-cXXr.
896 (cl-list*, cl-adjoin): Don't put an autoload manually.
897 * emacs-lisp/cl-macs.el (cl--compiler-macro-adjoin)
898 (cl--compiler-macro-list*): Add autoload cookie.
899 (cl--compiler-macro-cXXr): New function.
2eb87922 900
71adb94b
SM
901 * help-fns.el (help-fns--compiler-macro): New function extracted from
902 describe-function-1; follow aliases and use `compiler-macro' property.
903 (describe-function-1): Use it.
904
a6674402
CY
9052012-06-11 Chong Yidong <cyd@gnu.org>
906
907 * startup.el (fancy-splash-head): Use splash.svg even if librsvg
908 is uninstalled, if imagemagick is installed.
909
bb3faf5b
SM
9102012-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
911
912 * emacs-lisp/cl-lib.el: Use lexical-binding.
913 (cl-map-extents, cl-maclisp-member): Remove.
914 (cl--set-elt, cl--set-nthcdr, cl--set-buffer-substring)
915 (cl--set-substring, cl--block-wrapper, cl--block-throw)
916 (cl--compiling-file, cl--mapcar-many, cl--do-subst): Use "cl--" prefix.
917 * emacs-lisp/cl-extra.el: Use lexical-binding.
918 (cl--mapcar-many, cl--map-keymap-recursively, cl--map-intervals)
919 (cl--map-overlays, cl--set-frame-visible-p, cl--progv-save)
920 (cl--progv-before, cl--progv-after, cl--finite-do, cl--set-getf)
921 (cl--do-remf, cl--do-prettyprint): Use "cl--" prefix.
922 * emacs-lisp/cl-seq.el: Use lexical-binding.
923 (cl--parsing-keywords, cl--check-key, cl--check-test-nokey)
924 (cl--check-test, cl--check-match): Use "cl--" prefix and backquotes.
925 (cl--alist, cl--sublis-rec, cl--nsublis-rec, cl--tree-equal-rec):
926 * emacs-lisp/cl-macs.el (cl--lambda-list-keywords): Use "cl--" prefix.
927 * edmacro.el (edmacro-mismatch): Simplify to remove dependence on
928 CL's internals.
929
2fe4b125
MA
9302012-06-11 Michael Albinus <michael.albinus@gmx.de>
931
932 Sync with Tramp 2.2.6-pre.
933
934 * net/tramp-cache.el (tramp-dump-connection-properties): Let-bind
935 `print-length' and `print-level' to nil, in order to avoid
936 truncation. Reported by Christopher Schmidt
937 <christopher@ristopher.com>.
938
939 * net/tramp-cmds.el (tramp-cleanup-connection): Delete also process.
940
941 * net/tramp-compat.el (tramp-compat-condition-case-unless-debug):
942 New defmacro.
943 (tramp-compat-copy-directory): Add optional argument
944 COPY-CONTENTS. It is not handled yet.
945
946 * net/tramp-ftp.el (tramp-disable-ange-ftp): Fix docstring.
947 (tramp-ftp-file-name-p): Simplify.
948
949 * net/tramp-gvfs.el (tramp-gvfs-handle-expand-file-name):
950 * net/tramp-gw.el (tramp-gw-open-connection): Add hop to
951 connection vector.
952
953 * net/tramp-sh.el (tramp-copy-size-limit): Fix docstring.
954 (tramp-methods): Do not use `tramp-password-end-of-line'.
955 (tramp-completion-function-alist-putty): Handle UNIX case.
956 (tramp-remote-path): Add "/opt/bin", "/opt/sbin" and "/opt/local/bin".
957 (tramp-do-file-attributes-with-stat)
958 (tramp-do-directory-files-and-attributes-with-stat) Return uid and
959 gid as real numbers. They could run out of integer range on cygwin.
960 (tramp-do-copy-or-rename-file-out-of-band): Better trace format.
961 (tramp-sh-handle-expand-file-name): Handle hops.
87e6e64f
DA
962 (tramp-open-connection-setup-interactive-shell):
963 Use `tramp-cleanup'. Move check for busyboxes ...
964 (tramp-find-shell): ... here. Simplify implementation.
965 Set "remote-shell" property also for alternative shells.
966 (tramp-remote-coding-commands): Check "test -c /dev/stdout".
967 If failing, a regular file would be written otherwise.
968 Reported by Dmitry Kurochkin <dmitry.kurochkin@gmail.com>.
2fe4b125
MA
969 (tramp-find-inline-encoding): Cache the coding commands in the
970 process cache. Apply test command on the remote side, if defined.
971 (tramp-find-inline-compress): Cache the compress commands in the
972 process cache.
973 (tramp-compute-multi-hops): Save `tramp-default-proxies-alist'
974 when requested. Handle hops.
975 (tramp-current-connection): New defvar.
87e6e64f
DA
976 (tramp-maybe-open-connection): Use `tramp-cleanup'.
977 Throw `suppress', if there was a failed connection shortly before.
2fe4b125 978 Handle user interrupt. (Bug#10187)
87e6e64f
DA
979 (tramp-get-inline-compress, tramp-get-inline-coding):
980 Read connection properties from the process cache.
2fe4b125
MA
981
982 * net/tramp-smb.el (tramp-smb-server-version)
87e6e64f
DA
983 (tramp-smb-wrong-passwd-regexp, tramp-smb-actions-with-tar):
984 New defconsts.
2fe4b125
MA
985 (tramp-smb-prompt): Extend for powershell prompt.
986 (tramp-smb-file-name-handler-alist): Add handlers for
987 `process-file', `shell-command' and `start-file-process'.
988 (tramp-smb-winexe-program, tramp-smb-winexe-shell-command)
989 (tramp-smb-winexe-shell-command-switch): New defcustoms.
990 (tramp-smb-file-name-p): Simplify.
991 (tramp-smb-action-with-tar, tramp-smb-handle-process-file)
992 (tramp-smb-kill-winexe-function, tramp-smb-call-winexe)
993 (tramp-smb-shell-quote-argument): New defuns.
994 (tramp-smb-handle-copy-directory): Add COPY-CONTENTS argument.
995 Implement using "tar". By this, time-stamps are preserved.
996 (tramp-smb-handle-copy-file): Handle also the case of directories.
997 (tramp-smb-do-file-attributes-with-stat)
87e6e64f
DA
998 (tramp-smb-get-file-entries, tramp-smb-get-cifs-capabilities):
999 Use `tramp-get-connection-buffer').
2fe4b125
MA
1000 (tramp-smb-handle-rename-file): Use "rename", when source and
1001 target are on the same share.
87e6e64f
DA
1002 (tramp-smb-maybe-open-connection): Handle wrong passwords.
1003 Use `tramp-smb-server-version'.
2fe4b125
MA
1004 (tramp-smb-wait-for-output): Remove prompt.
1005
1006 * net/tramp.el (top): Require 'cl.
87e6e64f
DA
1007 (tramp-methods, tramp-rsh-end-of-line):
1008 Remove `tramp-password-end-of-line' from docstring.
2fe4b125
MA
1009 (tramp-save-ad-hoc-proxies): New defcustom.
1010 (tramp-completion-function-alist): Adapt docstring.
1011 (tramp-default-password-end-of-line): Remove defcustom.
1012 (tramp-shell-prompt-pattern): Allow "[]" style prompts. (Bug#11065)
1013 (tramp-user-regexp, tramp-file-name-regexp-unified)
1014 (tramp-file-name-regexp-url): Extend regexp by hop separator.
1015 (tramp-postfix-hop-format, tramp-postfix-hop-regexp)
1016 (tramp-remote-file-name-spec-regexp): New defconst.
1017 (tramp-file-name-structure): Extend structure for hops.
1018 (tramp-get-method-parameter): Move up.
1019 (tramp-file-name-p, tramp-dissect-file-name)
1020 (with-parsed-tramp-file-name): Handle hops.
1021 (tramp-file-name-hop): New defun.
1022 (tramp-make-tramp-file-name): New optional arg HOP.
1023 (tramp-message-show-progress-reporter-message): New defvar.
1024 (tramp-with-progress-reporter): Use it. We cannot use
1025 `tramp-message-show-message' here, because this suppresses also
1026 error buffers.
1027 (tramp-error-with-buffer): Suppress buffer view, if
87e6e64f
DA
1028 `tramp-message-show-message' is nil.
1029 Use `tramp-get-connection-buffer'.
2fe4b125
MA
1030 (tramp-cleanup): New defun.
1031 (tramp-rfn-eshadow-update-overlay): Let-bind `non-essential' to `t'.
1032 (tramp-file-name-handler): If `debug-on-error' is set, propagate
1033 an error unchanged.
1034 (tramp-completion-handle-file-name-all-completions): Handle hops.
1035 Fix an error when called from ido.
1036 (tramp-completion-dissect-file-name): Use better local variable
1037 name. Add hop to the vector.
1038 (tramp-handle-insert-file-contents): Use progress-reporter for the
1039 whole scenario.
1040 (tramp-action-password): Let-bind `enable-recursive-minibuffers'
1041 to `t'.
1042 (tramp-check-for-regexp): Simplify search.
1043 (tramp-enter-password): Remove it. Move implementation ...
1044 (tramp-action-password): ... here.
1045 (tramp-mode-string-to-int, tramp-local-host-p)
1046 (tramp-make-tramp-temp-file, tramp-read-passwd)
87e6e64f
DA
1047 (tramp-clear-passwd, tramp-time-less-p, tramp-time-diff):
1048 Set tramp-autoload cookie.
2fe4b125
MA
1049
1050 * net/trampver.el: Update release number.
1051
10522012-06-11 Thierry Volpiatto <thierry.volpiatto@gmail.com>
1053 Michael Albinus <michael.albinus@gmx.de>
1054
1055 * net/tramp.el (tramp-set-completion-function): Fix docstring.
1056 (tramp-parse-group, tramp-parse-file)
1057 (tramp-parse-shostkeys-sknownhosts): New defuns.
1058 (tramp-parse-rhosts, tramp-parse-rhosts-group, tramp-parse-shosts)
1059 (tramp-parse-shosts-group, tramp-parse-sconfig)
1060 (tramp-parse-sconfig-group, tramp-parse-shostkeys)
1061 (tramp-parse-sknownhosts, tramp-parse-hosts)
1062 (tramp-parse-hosts-group, tramp-parse-passwd, tramp-parse-netrc):
1063 Use them.
1064 (tramp-parse-passwd-group, tramp-parse-netrc-group)
1065 (tramp-parse-putty-group): Don't narrow.
1066 (tramp-parse-putty): Make a loop.
1067 (tramp-file-name-handler): Catch the `suppress' signal.
1068
72834e10
CY
10692012-06-11 Chong Yidong <cyd@gnu.org>
1070
1071 * image.el (imagemagick-register-types): Put the ImageMagick entry
1072 at the end of image-type-file-name-regexps.
1073
a4712e11
JB
10742012-06-11 Johan Bockgård <bojohan@gnu.org>
1075
1076 * emacs-lisp/pcase.el (pcase-UPAT, pcase-QPAT): New edebug specs.
1077 (pcase, pcase-let*, pcase-dolist): Use them.
1078
82ad98e3
SM
10792012-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
1080
1081 * emacs-lisp/pcase.el (pcase--let*): New function.
1082 (pcase-let*): Use it. Use pcase--memoize to avoid repeated expansions.
1083 (pcase--expand): Use macroexp-let².
1084
f80efb86
SM
10852012-06-10 Stefan Monnier <monnier@iro.umontreal.ca>
1086
1087 * emacs-lisp/timer.el, emacs-lisp/syntax.el, emacs-lisp/smie.el:
1088 * emacs-lisp/ewoc.el, emacs-lisp/cconv.el, emacs-lisp/bytecomp.el:
1089 * emacs-lisp/byte-opt.el, emacs-lisp/autoload.el: Convert to cl-lib.
1090 * emacs-lisp/easymenu.el, emacs-lisp/easy-mmode.el:
1091 * emacs-lisp/derived.el: Use pcase instead of `cl'.
1092 * emacs-lisp/cl-lib.el: Get rid of special cl-macs auto load.
1093
31ca4639 10942012-06-10 Glenn Morris <rgm@gnu.org>
94f0aa34 1095
31ca4639
CY
1096 * mail/rmail.el (rmail-yank-current-message): Leave point at
1097 correct position. (Bug#11660)
94f0aa34 1098
31ca4639 10992012-06-10 Chong Yidong <cyd@gnu.org>
9e1b8ec4 1100
31ca4639 1101 * allout-widgets.el: Fix code header.
9e1b8ec4 1102
31ca4639 11032012-06-10 Chong Yidong <cyd@gnu.org>
00cd0305 1104
f80efb86
SM
1105 * cus-edit.el (customize-changed-options-previous-release):
1106 Bump to 24.1.
31ca4639 1107
642b6d30
AS
11082012-06-09 Andreas Schwab <schwab@linux-m68k.org>
1109
1110 * Makefile.in (BIG_STACK_DEPTH): Enlarge to 2200.
1111
4f5d2ba1
CY
11122012-06-09 Chong Yidong <cyd@gnu.org>
1113
1114 * ebuff-menu.el (electric-buffer-list): Preserve header line.
1115
e75852fd
MR
11162012-06-09 Martin Rudalics <rudalics@gmx.at>
1117
1118 * window.el (special-display-popup-frame): Don't use
1119 window--display-buffer (Bug#11651).
1120
1e48e282
EZ
11212012-06-09 Eli Zaretskii <eliz@gnu.org>
1122
8a26b487
EZ
1123 Fix parallel builds: make sure loaddefs.el is not being written
1124 while Lisp files are compiled.
1125 (compile): Don't depend on 'mh-autoloads'.
1126 (compile-CMD, compile-SH): Depend on 'autoloads'.
1127 (bootstrap): Don't depend on 'autoloads' and 'mh-autoloads'.
1128
1e48e282
EZ
1129 * makefile.w32-in (BIG_STACK_DEPTH): Enlarge to 2200. (Bug#11649)
1130
6175e34b
CY
11312012-06-09 Chong Yidong <cyd@gnu.org>
1132
1133 * face-remap.el (face-remap-add-relative, face-remap-set-base)
1134 (buffer-face-set, buffer-face-toggle, buffer-face-mode-invoke):
1135 Doc fixes (Bug#11225).
1136
d9857e53
SM
11372012-06-09 Stefan Monnier <monnier@iro.umontreal.ca>
1138
1139 * emacs-lisp/macroexp.el (macroexp--expand-all): Only autoload
1140 a function if there's a clear indication that it has a compiler-macro.
1141 * emacs-lisp/byte-run.el (defun-declarations-alist, defmacro, defun)
1142 (macro-declarations-alist): Add arglist to declaration functions.
1143 (defun-declarations-alist): Add `obsolete' and `compiler-macro'.
1144 * emacs-lisp/cl-seq.el (cl-member, cl-assoc):
1145 * emacs-lisp/cl-lib.el (cl-list*, cl-adjoin):
1146 * emacs-lisp/cl-extra.el (cl-get): Use the new `declare' statement.
1147 Also add autoload to find the compiler macro.
1148 * emacs-lisp/cl-macs.el (eql) [compiler-macro]: Remove.
1149 (cl--compiler-macro-member, cl--compiler-macro-assoc)
1150 (cl--compiler-macro-adjoin, cl--compiler-macro-list*)
1151 (cl--compiler-macro-get): New functions, replacing calls to
1152 cl-define-compiler-macro.
1153 (cl-typep) [compiler-macro]: Use macroexp-let².
1154
f81298f8 11552012-06-08 Nick Dokos <nicholas.dokos@hp.com> (tiny change)
ee574791
UJ
1156
1157 * calendar/icalendar.el (icalendar--parse-vtimezone): Import TZID
1158 string properly, fixes Bug#11473.
1159
4b56d0fe
CY
11602012-06-08 Chong Yidong <cyd@gnu.org>
1161
1162 * faces.el (set-face-attribute): Doc fix.
1163 (modify-face): Don't use :bold and :italic.
1164 (error, warning, success): Tweak definitions.
1165
1166 * cus-edit.el (custom-modified, custom-invalid, custom-rogue)
1167 (custom-modified, custom-set, custom-changed, custom-themed)
1168 (custom-saved, custom-button, custom-button-mouse)
1169 (custom-button-pressed, custom-state, custom-comment-tag)
1170 (custom-variable-tag, custom-group-tag-1, custom-group-tag)
1171 (custom-group-subtitle): Use new-style face specs.
1172 (custom-invalid-face, custom-rogue-face, custom-modified-face)
1173 (custom-set-face, custom-changed-face, custom-saved-face)
1174 (custom-button-face, custom-button-pressed-face)
1175 (custom-documentation-face, custom-state-face)
1176 (custom-comment-face, custom-comment-tag-face)
1177 (custom-variable-tag-face, custom-variable-button-face)
1178 (custom-face-tag-face, custom-group-tag-face-1)
1179 (custom-group-tag-face): Remove obsolete face alias.
1180
1181 * epa.el (epa-validity-high, epa-validity-medium)
1182 (epa-validity-low, epa-mark, epa-field-name, epa-string)
1183 (epa-field-name, epa-field-body):
1184 * font-lock.el (font-lock-comment-face, font-lock-string-face)
1185 (font-lock-keyword-face, font-lock-builtin-face)
1186 (font-lock-function-name-face, font-lock-variable-name-face)
1187 (font-lock-type-face, font-lock-constant-face):
1188 * ido.el (ido-first-match, ido-only-match, ido-subdir)
1189 (ido-virtual, ido-indicator, ido-incomplete-regexp):
1190 * speedbar.el (speedbar-button-face, speedbar-file-face)
1191 (speedbar-directory-face, speedbar-tag-face)
1192 (speedbar-selected-face, speedbar-highlight-face)
1193 (speedbar-separator-face):
1194 * whitespace.el (whitespace-newline, whitespace-space)
1195 (whitespace-hspace, whitespace-tab, whitespace-trailing)
1196 (whitespace-line, whitespace-space-before-tab)
1197 (whitespace-space-after-tab, whitespace-indentation)
1198 (whitespace-empty):
1199 * emulation/cua-base.el (cua-global-mark):
1200 * eshell/em-prompt.el (eshell-prompt):
1201 * net/newst-plainview.el (newsticker-new-item-face)
1202 (newsticker-old-item-face, newsticker-immortal-item-face)
1203 (newsticker-obsolete-item-face, newsticker-date-face)
1204 (newsticker-statistics-face, newsticker-default-face):
1205 * net/newst-reader.el (newsticker-feed-face)
1206 (newsticker-extra-face, newsticker-enclosure-face):
1207 * net/newst-treeview.el (newsticker-treeview-face)
1208 (newsticker-treeview-new-face, newsticker-treeview-old-face)
1209 (newsticker-treeview-immortal-face)
1210 (newsticker-treeview-obsolete-face)
1211 (newsticker-treeview-selection-face):
1212 * net/rcirc.el (rcirc-my-nick, rcirc-other-nick)
1213 (rcirc-bright-nick, rcirc-server, rcirc-timestamp)
1214 (rcirc-nick-in-message, rcirc-nick-in-message-full-line)
1215 (rcirc-prompt, rcirc-track-keyword, rcirc-url, rcirc-keyword):
1216 * nxml/nxml-outln.el (nxml-heading, nxml-outline-indicator)
1217 (nxml-outline-active-indicator, nxml-outline-ellipsis):
1218 * play/mpuz.el (mpuz-unsolved, mpuz-solved, mpuz-trivial)
1219 (mpuz-text):
1220 * progmodes/vera-mode.el (vera-font-lock-number)
1221 (vera-font-lock-function, vera-font-lock-interface):
1222 * textmodes/table.el (table-cell): Use new-style face specs, and
1223 don't use the old :bold and :italic attributes.
1224
1225 * progmodes/ebrowse.el (ebrowse-tree-mark, ebrowse-root-class)
1226 (ebrowse-member-attribute, ebrowse-default, ebrowse-file-name)
1227 (ebrowse-member-class, ebrowse-progress): Likewise.
1228 (ebrowse-tree-mark-face, ebrowse-root-class-face)
1229 (ebrowse-file-name-face, ebrowse-default-face)
1230 (ebrowse-member-attribute-face, ebrowse-member-class-face)
1231 (ebrowse-progress-face): Remove obsolete faces.
1232
1233 * progmodes/flymake.el (flymake-errline, flymake-warnline):
1234 Inherit from error and warning faces respectively.
1235
1236 * textmodes/flyspell.el (flyspell-incorrect, flyspell-duplicate):
1237 Likewise.
f80efb86
SM
1238 (flyspell-incorrect-face, flyspell-duplicate-face):
1239 Remove obsolete aliases.
4b56d0fe 1240
03310646
MA
12412012-06-08 Michael Albinus <michael.albinus@gmx.de>
1242
1243 * net/tramp-compat.el (tramp-compat-temporary-file-directory):
1244 Avoid infloop.
1245
513749ee
SM
12462012-06-08 Stefan Monnier <monnier@iro.umontreal.ca>
1247
1248 * startup.el (argv, argi): Make lexically scoped.
1249 * emacs-lisp/float-sup.el (pi): Use internal-make-var-non-special.
1250 * emacs-lisp/cl-macs.el: Use lexical-binding.
1251 Rename cl-bind-* to cl--bind-*.
1252 * files.el: Don't require `cl' since it doesn't use it.
1253 * emacs-lisp/pcase.el, emacs-lisp/macroexp.el: Add coding cookie.
1254
595ef4ad
JB
12552012-06-08 Juanma Barranquero <lekktu@gmail.com>
1256
1257 * textmodes/texinfmt.el: Fix bug#11640 (reverts part of 2008-07-31T05:33:56Z!dann@ics.uci.edu).
1258 (texinfo-format-printindex): Use `texinfo-sort-region' in all platforms,
1259 instead of calling external sort utility.
1260 (texinfo-sort-region, texinfo-sort-startkeyfun): Restore functions.
1261
e9f66fcb
EZ
12622012-06-08 Eli Zaretskii <eliz@gnu.org>
1263
1264 * descr-text.el (describe-char): Mention how to insert the
1265 character, if the current input method doesn't support it.
1266 See the discussion in this thread for the details:
1267 http://lists.gnu.org/archive/html/emacs-devel/2012-05/msg00533.html.
1268
3d10db47
SS
12692012-06-08 Sam Steingold <sds@gnu.org>
1270
1271 * bindings.el (global-map): Bind XF86Forward to next-buffer and
1272 XF86Back to previous-buffer.
1273 (minibuffer-local-map): Bind them to next-history-element and
1274 previous-history-element respectively.
1275 * help-mode.el (help-mode-map): Bind them to help-go-forward and
1276 help-go-back respectively.
1277 * info.el (Info-mode-map): Bind them to Info-history-forward and
1278 Info-history-back respectively.
1279 These are the keys next to Up on the ThinkPad keyboard.
1280
de7e2b36
SM
12812012-06-08 Stefan Monnier <monnier@iro.umontreal.ca>
1282
1283 Get rid of cl-lexical-let, keeping only lexical-let for compatibility.
1284 * emacs-lisp/cl-macs.el: Provide itself.
1285 (cl--labels-convert-cache): New var.
1286 (cl--labels-convert): New function.
1287 (cl-flet, cl-labels): New implementation with new semantics, relying on
1288 lexical-binding.
1289 * emacs-lisp/cl.el: Mark compatibility aliases as obsolete.
1290 (cl-closure-vars, cl--function-convert-cache)
1291 (cl--function-convert): Move from cl-macs.el.
1292 (lexical-let, lexical-let*, flet, labels): Move from cl-macs.el and
1293 rename by removing the "cl-" prefix.
1294 * emacs-lisp/macroexp.el (macroexp-unprogn): New function.
1295
6fa6c4ae
SM
12962012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
1297
1298 * emacs-lisp/cl.el (cl-macroexpand, cl-macro-environment)
1299 (cl-macroexpand-all, cl-not-hash-table, cl-builtin-gethash)
1300 (cl-builtin-remhash, cl-builtin-clrhash, cl-builtin-maphash)
1301 (cl-map-keymap, cl-copy-tree, cl-gethash, cl-puthash, cl-remhash)
1302 (cl-clrhash, cl-maphash, cl-make-hash-table, cl-hash-table-p)
1303 (cl-hash-table-count): Add old compatibility aliases.
1304
1305 * emacs-lisp/cl-macs.el (cl-macro-environment): Remove var.
1306 Use macroexpand-all-environment instead.
1307 (cl--old-macroexpand): New var.
1308 (cl--sm-macroexpand): New function.
1309 (cl-symbol-macrolet): Use it during macro expansion.
1310 (cl--function-convert-cache): New var.
1311 (cl--function-convert): New function, extracted from
1312 cl-macroexpand-all.
1313 (cl-lexical-let): Use it.
1314
1315 * emacs-lisp/cl-lib.el (cl-macro-environment): Remove decl.
1316 (cl-macroexpand): Move to cl-macs.el and rename to cl--sm-macroexpand.
1317 (cl-member): Remove old alias.
1318
1319 * emacs-lisp/cl-extra.el (cl-map-keymap, cl-copy-tree)
1320 (cl-not-hash-table, cl-builtin-gethash, cl-builtin-remhash)
1321 (cl-builtin-clrhash, cl-builtin-maphash, cl-gethash, cl-puthash)
1322 (cl-remhash, cl-clrhash, cl-maphash, cl-make-hash-table)
1323 (cl-hash-table-p, cl-hash-table-count): Move to cl.el.
1324 (cl-macroexpand-cmacs): Remove var.
1325 (cl-macroexpand-all, cl-macroexpand-body): Remove funs.
1326 Use macroexpand-all instead.
1327
4dd1c416
SM
13282012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
1329
1330 * emacs-lisp/macroexp.el (macroexp-progn, macroexp-let*, macroexp-if)
1331 (macroexp-let², macroexp--const-symbol-p, macroexp-const-p)
1332 (macroexp-copyable-p): New functions and macros.
1333 * emacs-lisp/edebug.el (edebug-unwrap):
1334 * emacs-lisp/disass.el (disassemble-internal): Use macroexp-progn.
1335 * emacs-lisp/pcase.el: Use macroexp-let*, macroexp-if, ...
1336 (pcase--let*): Remove.
1337 * emacs-lisp/bytecomp.el (byte-compile-const-symbol-p)
1338 (byte-compile-constp): Remove. Use macroexp--const-symbol-p and
1339 macroexp-const-p instead.
1340 * emacs-lisp/byte-opt.el: Use macroexp-const-p and macroexp-progn.
1341
1342 * emacs-lisp/cl-macs.el: Clean up the name space by using "cl--"
1343 instead of "cl-" for internal definitions. Use macroexp-const-p.
1344 (cl-old-bc-file-form): Remove var.
1345 (cl-const-exprs-p): Remove fun.
1346 (cl-labels, cl-macrolet): Use backquote.
1347 (cl-lexical-let): Use cl-symbol-macrolet. Don't use cl-defun-expander.
1348 (cl-defun-expander, cl-byte-compile-compiler-macro): Remove fun.
1349 (cl-define-setf-expander): Rename from cl-define-setf-method.
1350 * emacs-lisp/cl.el: Adjust alias for define-setf-method.
1351
1352 * international/mule-cmds.el: Don't require CL.
1353 (view-hello-file): Don't use `letf'.
1354
ed8bd4d7
SM
13552012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
1356
7287f2f3
SM
1357 * tmm.el (tmm-prompt): Use string-prefix-p.
1358 (tmm-completion-delete-prompt): Don't affect current-buffer outside.
1359 (tmm-add-prompt): Use minibuffer-completion-help.
1360 (tmm-delete-map): Remove.
1361
ed8bd4d7
SM
1362 * subr.el (kbd): Make it its own function.
1363
7b4cdbf4
SM
13642012-06-07 Stefan Merten <smerten@oekonux.de>
1365
1366 * textmodes/rst.el: Use `eval-when-compile' for requiring `cl.el'.
1367 Silence compiler warnings. Fix versions.
ed8bd4d7 1368 (rst-position-if, rst-position, rst-some, rst-signum): New functions.
7b4cdbf4 1369 (rst-shift-region, rst-adornment-level, rst-compute-tabs)
ed8bd4d7 1370 (rst-indent-line, rst-shift-region, rst-forward-line): Use them.
7b4cdbf4
SM
1371 (rst-package-emacs-version-alist): Correct Emacs version to
1372 represent major merge with upstream.
ed8bd4d7 1373 (rst-transition, rst-adornment, rst-compile-toolsets): Fix versions.
7b4cdbf4 1374
2b48d721
GM
13752012-06-06 Glenn Morris <rgm@gnu.org>
1376
1377 * mail/emacsbug.el (report-emacs-bug): Add relevant EMACS env-vars.
1378 Only print environment variables if set.
1379
fa779ab0
SM
13802012-06-06 Stefan Monnier <monnier@iro.umontreal.ca>
1381
1382 * emacs-lisp/macroexp.el: Don't require CL since we don't use it.
1383 (macroexp--cons): Rename from maybe-cons.
1384 (macroexp--accumulate): Rename from macroexp-accumulate.
1385 (macroexp--all-forms): Rename from macroexpand-all-forms.
1386 (macroexp--all-clauses): Rename from macroexpand-all-clauses.
1387 (macroexp--expand-all): Rename from macroexpand-all-1.
1388
628299e0
SS
13892012-06-06 Sam Steingold <sds@gnu.org>
1390
1391 * calendar/calendar.el (calendar-in-read-only-buffer):
1392 Call `special-mode' to enable the standard read-only keybindings.
1393
b7bb5838
SM
13942012-06-06 Stefan Monnier <monnier@iro.umontreal.ca>
1395
1396 * emacs-lisp/macroexp.el (macroexpand-all-1): Don't spam the output
1397 with "loading" messages (bug#11635).
1398
dfb308ba
MA
13992012-06-06 Michael Albinus <michael.albinus@gmx.de>
1400
1401 * files.el (enable-remote-dir-locals): New option.
1402 (hack-dir-local-variables): Use it. (Bug#1933, Bug#6731)
1403
0372ee92
MA
1404 * net/tramp-compat.el (tramp-compat-temporary-file-directory):
1405 Ensure, that the temp directory is local.
1406
1407 * net/tramp-sh.el (tramp-sh-handle-write-region): Let-bind
1408 `temporary-file-directory'.
1409
eed0bb91
MA
1410 * progmodes/python.el (python-send-region): Ensure, that the
1411 temporary file is created also in the remote case.
1412
7a58f64d
GM
14132012-06-06 Glenn Morris <rgm@gnu.org>
1414
f7dd4e98
GM
1415 * vc/vc-rcs.el (vc-rcs-rcs2log-program): New.
1416 (vc-rcs-update-changelog): Use it.
1417
276d5f5d
GM
1418 * emacs-lisp/authors.el (authors-fixed-entries): Remove vcdiff
1419
7a58f64d
GM
1420 * vc/vc-sccs.el (vc-sccs-write-revision): New function.
1421 (vc-sccs-workfile-unchanged-p): Use vc-sccs-write-revision.
1422 (vc-sccs-diff): Replace use of the external vcdiff script.
1423
daed4003
GM
14242012-06-05 Glenn Morris <rgm@gnu.org>
1425
1426 * ledit.el: Move to obsolete/.
1427
48c455c7
SS
14282012-06-05 Sam Steingold <sds@gnu.org>
1429
1430 * calendar/calendar.el (calendar-exit): reinstate the 2012-03-28
1431 patch (Bug#11140).
1432
57a7d507
SM
14332012-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
1434
d32926ff
SM
1435 * emacs-list/cust-print.el: Move to obsolete.
1436
53aacf21
SM
1437 * emacs-lisp/macroexp.el (macroexpand-all-1): Tolerate errors during
1438 compiler-macro expansion.
1439
57a7d507
SM
1440 Add native compiler-macro support.
1441 * emacs-lisp/macroexp.el (macroexpand-all-1):
1442 Support compiler-macros directly. Properly follow aliases and apply
1443 the compiler macros more thoroughly.
1444 * emacs-lisp/cl.el: Don't copy compiler-macro properties any more since
1445 macroexpand now properly follows aliases.
1446 * emacs-lisp/cl-macs.el (toplevel, cl-define-compiler-macro)
1447 (cl-compiler-macroexpand): Use new prop.
1448 * emacs-lisp/byte-opt.el (featurep): Optimize earlier.
1449
1450 * emacs-lisp/cl-lib.el (custom-print-functions): Add alias.
1451
51a5f9d8
MR
14522012-06-05 Martin Rudalics <rudalics@gmx.at>
1453
1454 * window.el (get-lru-window, get-mru-window, get-largest-window):
1455 New argument NOT-SELECTED to avoid picking the selected window.
1456 (window--display-buffer-1, window--display-buffer-2): Replace by
1457 new function window--display-buffer
1458 (display-buffer-same-window, display-buffer-reuse-window)
57a7d507
SM
1459 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
1460 Use window--display-buffer.
51a5f9d8
MR
1461 (display-buffer-use-some-window): Remove temporary dedication
1462 hack by calling get-lru-window and get-largest-window with
1463 NOT-SELECTED argument non-nil. Call window--display-buffer.
1464
08f9f738
GM
14652012-06-05 Glenn Morris <rgm@gnu.org>
1466
1467 * vc/vc-sccs.el (vc-sccs-workfile-unchanged-p):
1468 Replace external vcdiff script.
1469
e364a2b7
SM
14702012-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
1471
1472 * emacs-lisp/cl-lib.el (cl-values, cl-values-list): Fix up last change.
1473
041df390
CY
14742012-06-04 Chong Yidong <cyd@gnu.org>
1475
e364a2b7
SM
1476 * image.el (imagemagick-types-inhibit): Revert last change.
1477 Add INFO and M.
47b36b94 1478 (imagemagick-enabled-types): Remove CIN and EPS*.
041df390 1479
7c1898a7
SM
14802012-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
1481
1482 * emacs-lisp/cl-lib.el: Rename from cl.el.
1483 * emacs-lisp/cl.el: New compatibility file.
1484 * emacs-lisp/cl-lib.el, emacs-lisp/cl-seq.el, emacs-lisp/cl-macs.el:
1485 * emacs-lisp/cl-extra.el: Rename all top-level functions and variables
1486 to obey the "cl-" prefix.
1487 * emacs-lisp/macroexp.el (macroexpand-all-1): Adjust to new name.
1488
0c3461de
GM
14892012-06-03 Glenn Morris <rgm@gnu.org>
1490
1e266c88
GM
1491 * emacs-lisp/authors.el (authors-aliases): Addition.
1492
0c3461de
GM
1493 * cus-start.el (tool-bar-style, tool-bar-max-label-size):
1494 Fix :version.
1495
d8a52e15
SM
14962012-06-03 Stefan Merten <smerten@oekonux.de>
1497
1498 * textmodes/rst.el: Add comments.
1499 (rst-transition, rst-adornment): New faces.
1500 (rst-adornment-faces-alist): Make default safe to reevaluate.
1501 Fixes
1502 http://sourceforge.net/tracker/?func=detail&atid=422030&aid=3479603&group_id=38414.
1503 Improve customization tags.
1504 (rst-define-level-faces): Clarify meaning.
1505
5205d6f6
CY
15062012-06-03 Chong Yidong <cyd@gnu.org>
1507
1508 * progmodes/compile.el (compilation-mode-line-fail)
7c1898a7
SM
1509 (compilation-mode-line-run, compilation-mode-line-exit):
1510 New faces.
5205d6f6
CY
1511 (compilation-start, compilation-handle-exit): Use them (Bug#11032).
1512
757ee657
JD
15132012-06-03 Jack Duthen <duthen.mac.01@gmail.com> (tiny change)
1514
7c1898a7
SM
1515 * progmodes/which-func.el (which-func-update-ediff-windows):
1516 New function. Use it in ediff-select-hook (Bug#11478).
757ee657 1517
5f2c76c6
CY
15182012-06-03 Chong Yidong <cyd@gnu.org>
1519
1520 * bindings.el: Remove explicit help text from format-mode-line.
1521 It is now supplied by mode-line-default-help-echo.
1522 (mode-line-front-space, mode-line-end-spaces)
1523 (mode-line-misc-info): New variables.
1524 (mode-line-modes, mode-line-position): Move the default value to
1525 the variable definition.
1526 (mode-line-default-help-echo): New defcustom.
383f7350
CY
1527 (mode-line-mule-info-help-echo, mode-line-read-only-help-echo)
1528 (mode-line-modified-help-echo): New functions.
1529 (mode-line-mule-info, mode-line-modified): Use them.
1530 (mode-line-eol-desc, propertized-buffer-identification):
1531 Consistency fixes for help text.
cbe46e5f
CY
1532 (mode-line-coding-system-map): Allow using mouse-3 to invoke
1533 set-buffer-file-coding-system (Bug#289).
1534 (mode-line-mule-info-help-echo): Update help text.
5f2c76c6 1535
f2d6a3df
SM
15362012-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
1537
1538 * simple.el (execute-extended-command): Set real-this-command
1539 (bug#11506).
1540
37269466
CY
15412012-06-02 Chong Yidong <cyd@gnu.org>
1542
1543 Remove incorrect uses of "modeline" in comments, docstrings, and
1544 function/variable names (Bug#10329).
1545
1546 * cus-edit.el (mode-line):
1547 * dframe.el (dframe-mouse-hscroll):
1548 * emacs-lisp/re-builder.el:
1549 * emacs-lisp/easy-mmode.el (define-minor-mode):
1550 * frame.el (set-frame-name):
1551 * help.el (lookup-minor-mode-from-indicator):
1552 * net/rcirc.el (rcirc-activity-string, rcirc-short-buffer-name):
1553 * progmodes/cc-cmds.el (c-toggle-auto-newline)
1554 (c-toggle-hungry-state):
1555 * progmodes/antlr-mode.el (antlr-language-alist):
1556 * progmodes/idlw-shell.el (idlwave-shell-electric-stop-line-face):
1557 * progmodes/vhdl-mode.el (vhdl-mode):
1558 * progmodes/which-func.el (which-func, which-func-cleanup-function):
1559 * term/ns-win.el (ns-face-at-pos):
1560 * term/sup-mouse.el (sup-mouse-report):
1561 * textmodes/flyspell.el (flyspell-mode-line-string):
1562 * textmodes/ispell.el (ispell-highlight-face):
1563 * textmodes/reftex-global.el:
1564 * vc/vc-arch.el (vc-arch-mode-line-string):
1565 * vc/vc-cvs.el (vc-cvs-mode-line-string):
1566 * vc/vc-git.el (vc-git-mode-line-string):
1567 * vc/vc-hooks.el (vc-display-status)
1568 (vc-default-mode-line-string):
1569 * vc/vc-mtn.el (vc-mtn-mode-line-string): Doc fixes.
1570
1571 * ansi-color.el (ansi-color-faces-vector): Change default faces.
1572
1573 * dired.el (dired-sort-set-mode-line): Rename from
1574 dired-sort-set-modeline. All callers changed.
1575
1576 * eshell/esh-mode.el (eshell-status-in-mode-line): Rename from
1577 eshell-status-in-modeline.
1578
1579 * foldout.el (foldout-mode-line-string): Rename from
1580 foldout-modeline-string. All callers changed.
1581 (foldout-update-mode-line): Rename from foldout-update-modeline.
1582
1583 * subr.el (redraw-modeline): Make into obsolete alias.
1584
1585 * calendar/timeclock.el (timeclock-mode-line-display): Rename from
1586 timeclock-modeline-display. Make old name an alias.
1587 (timeclock-update-mode-line): Likewise. All callers changed.
1588 (timeclock-mode-line-display): No need to check before using
1589 add-hook.
1590 (timeclock-relative, timeclock-day-over-hook)
1591 (timeclock-use-elapsed, timeclock-mode-string)
1592 (timeclock-mode-line-display): Doc fix, "modeline" -> "mode line".
1593
1594 * emulation/crisp.el (crisp-mode-mode-line-string): Rename from
1595 crisp-mode-modeline-string.
1596
1597 * play/solitaire.el (solitaire-build-mode-line): Rename from
1598 solitaire-build-modeline. All callers changed.
1599
1600 * play/zone.el (zone-hiding-mode-line): Rename from
1601 zone-hiding-modeline. All callers changed.
1602 (zone): Remove unusued `modeline-hidden-level' property.
1603
1604 * progmodes/xscheme.el (xscheme-mode-line-initialize): Rename from
1605 xscheme-modeline-initialize. All callers changed.
1606
1607 * strokes.el (strokes-lighter): Rename from
1608 strokes-modeline-string.
1609
1610 * textmodes/sgml-mode.el (html-face-tag-alist)
1611 (html-tag-face-alist): Use mode-line face instead of obsolete
1612 alias modeline.
1613
42152ee4
SM
16142012-06-02 Stefan Merten <smerten@oekonux.de>
1615
1616 * textmodes/rst.el: Always require `cl'.
4cf9b38d 1617 (rst-mode-map): Fix meaning of C-M-a / C-M-e.
42152ee4 1618
95f520b5
CY
16192012-06-02 Chong Yidong <cyd@gnu.org>
1620
1621 * image.el (imagemagick-enabled-types): Rename from
1622 imagemagick-types-enable. Add many more types.
1623 (imagemagick-types-inhibit): Change default to nil.
1624 (imagemagick-filter-types): Caller changed.
1625
4a5f187a
SM
16262012-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
1627
03fef3e6
SM
1628 * emacs-lisp/cl-macs.el: Use backquotes.
1629 (cl-transform-function-property): Use eval-and-compile rather than
1630 abusing `require'.
1631 (defstruct): Use declare-function instead of with-no-warnings.
1632
4a5f187a
SM
1633 * emacs-lisp/bytecomp.el: Fix last change (bug#11594).
1634 (byte-compile-output-docform): Re-add the print-circle bindings.
1635 (byte-compile-fix-header): Use #$ just because it's shorter.
1636 (byte-compile-output-file-form): Remove defun/defmacro.
1637
bd56924f
MR
16382012-06-01 Martin Rudalics <rudalics@gmx.at>
1639
1640 * simple.el (choose-completion): Remove now obsolete binding for
1641 owindow.
1642
046e38ce
MA
16432012-06-01 Michael Albinus <michael.albinus@gmx.de>
1644
1645 * net/tramp.el (tramp-check-for-regexp): Search from buffer end,
1646 in order to avoid "Stack overflow in regexp matcher".
1647
32d72c2f
GM
16482012-05-31 Glenn Morris <rgm@gnu.org>
1649
1650 * image.el: For clarity, call imagemagick-register-types at
1651 top-level, rather than relying on a custom :initialize.
1652 (imagemagick-types-enable): New option. (Bug#11557)
60b5f187
GM
1653 (imagemagick-filter-types): New function. (Bug#7406)
1654 (imagemagick-register-types): Use imagemagick-filter-types.
32d72c2f
GM
1655 If disabling support, remove elements altogether rather
1656 than using an impossible regexp.
1657 (imagemagick-types-inhibit): Give it the default init function.
1658
dd41169b
SM
16592012-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
1660
4a5f187a
SM
1661 * emacs-lisp/bytecomp.el (byte-compile-fix-header):
1662 Handle arbitrary file name lengths (Bug#11585).
dd41169b 1663
efc00ab1 16642012-05-31 Martin Rudalics <rudalics@gmx.at>
5221ccb9
MR
1665
1666 * desktop.el (desktop-read): Clear previous and next buffers for
1667 all windows and bury *Messages* buffer (bug#11556).
1668
500fcedc
SM
16692012-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
1670
1671 Add `declare' for `defun'. Align `defmacro's with it.
1672 * emacs-lisp/easy-mmode.el (define-minor-mode)
1673 (define-globalized-minor-mode): Don't autoload the var definitions.
1674 * emacs-lisp/byte-run.el: Use lexical-binding.
1675 (defun-declarations-alist, macro-declarations-alist): New vars.
1676 (defmacro, defun): Use them.
1677 (make-obsolete, define-obsolete-function-alias)
1678 (make-obsolete-variable, define-obsolete-variable-alias):
1679 Use `declare'.
1680 (macro-declaration-function): Mark obsolete.
1681 * emacs-lisp/autoload.el: Use lexical-binding.
1682 (make-autoload): Add `expansion' arg. Rely more on macro expansion.
1683
6e8a1786
AM
16842012-05-30 Agustín Martín Domingo <agustin.martin@hispalinux.es>
1685
1686 * textmodes/ispell.el (ispell-with-no-warnings):
1687 Define as a macro.
500fcedc
SM
1688 (ispell-kill-ispell, ispell-change-dictionary):
1689 Use `called-interactively-p' for Emacs instead of obsolete
6e8a1786
AM
1690 `interactive-p'.
1691
61b108cc
SM
16922012-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
1693
1694 * emacs-lisp/byte-run.el (defmacro, defun): Move from C.
1695 (macro-declaration-function): Move var from C code.
1696 (macro-declaration-function): Define function with defalias.
1697 * emacs-lisp/macroexp.el (macroexpand-all-1):
1698 * emacs-lisp/cconv.el (cconv-convert, cconv-analyse-form):
1699 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker): Don't handle
1700 defun/defmacro any more.
1701 * emacs-lisp/bytecomp.el (byte-compile-arglist-signature):
1702 Provide fallback for unknown arglist.
1703 (byte-compile-arglist-warn): Change calling convention.
1704 (byte-compile-output-file-form): Move print-vars binding.
1705 (byte-compile-output-docform): Simplify accordingly.
1706 (byte-compile-file-form-defun, byte-compile-file-form-defmacro)
1707 (byte-compile-defmacro-declaration): Remove.
1708 (byte-compile-file-form-defmumble): Generalize to defalias.
1709 (byte-compile-output-as-comment): Return byte-positions.
1710 Simplify callers accordingly.
1711 (byte-compile-lambda): Use `assert'.
1712 (byte-compile-defun, byte-compile-defmacro): Remove.
1713 (byte-compile-file-form-defalias):
1714 Use byte-compile-file-form-defmumble.
1715 (byte-compile-defalias-warn): Remove.
1716
6d3f7c2f
SM
17172012-05-29 Stefan Merten <smerten@oekonux.de>
1718
1719 * textmodes/rst.el: Silence `checkdoc-ispell' errors where
61b108cc 1720 possible. Fix authors. Improve comments. Improve loading of `cl'.
6d3f7c2f
SM
1721
1722 (rst-mode-abbrev-table): Merge definition.
1723 (rst-mode): Make sure `font-lock-defaults' is buffer local.
1724 (rst-define-key, rst-deprecated-keys, rst-call-deprecated): Refactor.
1725
6dbaa1c7
UJ
17262012-05-29 Ulf Jasper <ulf.jasper@web.de>
1727
1728 * calendar/icalendar.el
1729 (icalendar-export-region): Export UID properly.
1730
17312012-05-29 Leo <sdl.web@gmail.com>
61b108cc
SM
1732 * calendar/icalendar.el (icalendar-import-format):
1733 Add `icalendar-import-format-uid' (Bug#11525).
6dbaa1c7
UJ
1734 (icalendar-import-format-uid): New.
1735 (icalendar--parse-summary-and-rest, icalendar--format-ical-event):
1736 Export UID.
1737
6876a58d
SM
17382012-05-29 Stefan Monnier <monnier@iro.umontreal.ca>
1739
1740 * emacs-lisp/pcase.el (pcase--expand): Accept different sets of vars in
1741 different alternative patterns.
1742 (pcase-codegen): Be more careful to preserve identity.
1743 (pcase--u1): Don't forget to mark vars as used.
1744
1745 * emacs-lisp/bytecomp.el (byte-compile-constp): Treat #'v as a constant.
1746 (byte-compile-close-variables): Bind byte-compile--outbuffer here...
1747 (byte-compile-from-buffer): ...rather than here.
1748
1749 * emacs-lisp/byte-opt.el (byte-compile-inline-expand): Don't re-preprocess
1750 functions from byte-compile-function-environment.
1751
46b7967e
TN
17522012-05-29 Troels Nielsen <bn.troels@gmail.com>
1753
1754 * window.el (window-deletable-p): Avoid deleting the root window
1755 of a frame with an active minibuffer.
1756
69d565e2
MR
17572012-05-29 Martin Rudalics <rudalics@gmx.at>
1758
1759 * simple.el (choose-completion): Use quit-window (Bug#11567).
1760
a149fa51
CY
17612012-05-29 Chong Yidong <cyd@gnu.org>
1762
1763 * whitespace.el (whitespace-cleanup): Fix usage of
1764 whitespace-empty-at-bob-regexp (Bug#11492).
1765
2b311310
AH
17662012-05-29 Aaron S. Hawley <aaron.s.hawley@gmail.com>
1767
1768 * vc/vc.el (vc-revert, vc-rollback): Dont kill vc-diff buffer on
1769 revert (Bug#11488).
1770
b9cb2387
JL
17712012-05-29 Juri Linkov <juri@jurta.org>
1772
1773 * isearch.el (isearch-mode-map): Bind `M-s _' to
1774 `isearch-toggle-symbol'. Bind `M-s c' to
1775 `isearch-toggle-case-fold'.
1776 (search-map): Bind `M-s _' to `isearch-forward-symbol'.
1777 (isearch-forward): Add `M-s _' to the docstring.
1778 (isearch-forward-symbol, isearch-toggle-case-fold)
1779 (isearch-symbol-regexp): New functions. (Bug#11381)
1780
d5e61c1c
JL
17812012-05-29 Juri Linkov <juri@jurta.org>
1782
1783 * isearch.el (isearch-word): Add docstring. (Bug#11381)
1784 (isearch-occur, isearch-search-and-update): If `isearch-word' is
1785 a function, call it to get the regexp.
1786 (isearch-message-prefix): If `isearch-word' holds a symbol, use its
1787 property `isearch-message-prefix' instead of the string "word ".
1788 (isearch-search-fun-default): For the case of `isearch-word',
1789 return a lambda that calls re-search-forward/re-search-backward
1790 with a regexp returned by `word-search-regexp' or by the function
1791 in `isearch-word'.
1792
8cbd80f7
JL
17932012-05-29 Juri Linkov <juri@jurta.org>
1794
1795 * isearch.el (isearch-search-fun-default): New function.
1796 (isearch-search-fun): Move default part to the new function
1797 `isearch-search-fun-default'.
1798 (isearch-search-fun-function): Set the default value to
1799 `isearch-search-fun-default'. (Bug#11381)
1800
1801 * comint.el (comint-history-isearch-end):
1802 Use `isearch-search-fun-default'.
1803 (comint-history-isearch-search): Use `isearch-search-fun-default'
1804 and remove spacial case for `isearch-word'.
1805 (comint-history-isearch-wrap): Remove spacial case for
1806 `isearch-word'.
1807
1808 * hexl.el (hexl-isearch-search-function):
1809 Use `isearch-search-fun-default'.
1810
1811 * info.el (Info-isearch-search): Use `isearch-search-fun-default'.
1812 Use `word-search-regexp' for `isearch-word'.
1813
1814 * misearch.el (multi-isearch-search-fun):
1815 Use `isearch-search-fun-default'.
1816
1817 * simple.el (minibuffer-history-isearch-search):
1818 Use `isearch-search-fun-default' and remove spacial case for
1819 `isearch-word'.
1820 (minibuffer-history-isearch-wrap): Remove spacial case for
1821 `isearch-word'.
1822
1823 * textmodes/reftex-global.el (reftex-isearch-wrap-function):
1824 Remove spacial case for `isearch-word'.
1825 (reftex-isearch-isearch-search): Use `isearch-search-fun-default'.
1826
85c8c5b6
AM
18272012-05-28 Agustín Martín Domingo <agustin.martin@hispalinux.es>
1828
1829 Decrease XEmacs incompatibilities.
1830 * textmodes/flyspell.el (flyspell-check-pre-word-p):
1831 Use `string-match'.
1832 (flyspell-delete-region-overlays): Use alternative definition for
1833 XEmacs.
1834 (flyspell-delete-all-overlays): Use `flyspell-delete-region-overlays'.
1835 (flyspell-word): Use `process-kill-without-query' if XEmacs.
1836 (flyspell-mode-on): Use `interactive-p' if XEmacs.
1837 (flyspell-incorrect-face, flyspell-duplicate-face): Do not use
1838 `define-obsolete-face-alias' under XEmacs, but old method.
1839
1840 * textmodes/ispell.el (ispell-with-no-warnings): XEmacs alternative
1841 `with-no-warnings' definition or Emacs alias.
1842 (ispell-command-loop, ispell-message): Use `ispell-with-no-warnings'.
1843 (ispell-word): Do not use `region-p' if XEmacs.
1844
8cab9efc
AM
18452012-05-28 Agustín Martín Domingo <agustin.martin@hispalinux.es>
1846
1847 * textmodes/ispell.el (ispell-find-aspell-dictionaries):
1848 Check for `ispell-dictionary-base-alist' instead of full
1849 `ispell-dictionary-alist'.
1850 (ispell-init-process): Show spellchecker when starting new Ispell
1851 process.
1852
fda91268
RZ
18532012-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
1854
1855 * progmodes/vhdl-mode.el: Sync with upstream 3.33.28.
1856 http://www.iis.ee.ethz.ch/~zimmi/emacs/vhdl-mode.html#release-notes-3.33
1857
694ea8e3
JB
18582012-05-27 Juanma Barranquero <lekktu@gmail.com>
1859
1860 * version.el (motif-version-string, gtk-version-string)
1861 (ns-version-string): Declare.
1862
e4d4f539
JL
18632012-05-27 Juri Linkov <juri@jurta.org>
1864
1865 * emacs-lisp/lisp-mode.el (eval-defun-2): Use `eval-sexp-add-defvars'
1866 after the `eval-defun-1' specialcaseing
1867 like in `edebug-eval-defun' (bug#10181).
1868
1869 * emacs-lisp/edebug.el (edebug-eval-defun): Set `face-documentation'
1870 like in `eval-defun-1'.
1871
33017faf 18722012-05-27 Eli Zaretskii <eliz@gnu.org>
b30b64b9 1873
fda91268
RZ
1874 * mail/sendmail.el (mail-yank-region):
1875 Recognize rmail-yank-current-message in addition to insert-buffer.
1876 Fixes mail-mode's "C-c C-r" that otherwise does nothing when invoked in
b30b64b9
EZ
1877 a *mail* buffer created through rmail-start-mail with sendmail as
1878 mail-user-agent.
1879
33017faf
GM
18802012-05-27 Chong Yidong <cyd@gnu.org>
1881
1882 * net/gnutls.el (gnutls-min-prime-bits): Improve docstring.
1883 Default to 256 (Bug#11267).
1884
1885 * help.el (describe-mode): Doc fix.
1886
04188bb9
GM
18872012-05-26 Glenn Morris <rgm@gnu.org>
1888
38264cc9
GM
1889 * w32-fns.el (w32-init-info): Remove.
1890 * paths.el (Info-default-directory-list): Add w32-init-info equivalent.
1891
eb7afdad
GM
1892 * info.el (info-initialize): For self-contained NS builds, put the
1893 included info/ directory at the front. (Bug#2791)
1894
04188bb9
GM
1895 * paths.el (Info-default-directory-list): Make it a defcustom,
1896 mainly so that we can use custom-initialize-delay.
1897
a179e3f7
SM
18982012-05-26 Stefan Monnier <monnier@iro.umontreal.ca>
1899
43416392
SM
1900 * subr.el (buffer-has-markers-at): Mark obsolete.
1901
a179e3f7 1902 * subr.el (lambda): Use declare.
43416392 1903
a179e3f7
SM
1904 * emacs-lisp/lisp-mode.el (lambda):
1905 * emacs-lisp/edebug.el (lambda): Move properties to its definition.
1906
34a008d9
AH
19072012-05-26 Aaron S. Hawley <aaron.s.hawley@gmail.com>
1908
1909 * thingatpt.el (forward-same-syntax): Handle no ARG case. (Bug#11560)
1910
0a3b289f
GM
19112012-05-26 Glenn Morris <rgm@gnu.org>
1912
1913 * progmodes/cc-mode.el (auto-mode-alist): Fix typo.
1914
758c81e8
GM
19152012-05-25 Glenn Morris <rgm@gnu.org>
1916
f9f334f0
GM
1917 * paths.el: Remove no-byte-compile.
1918 * loadup.el: No need to load paths.el uncompiled.
1919
87eb79c2
GM
1920 * image.el (imagemagick-types-inhibit): Doc fix.
1921
758c81e8
GM
1922 * version.el: Remove no-byte-compile and associated formatting.
1923 * loadup.el: No need to load version.el uncompiled. AFAICS, this
1924 is ancient code from when there was an "inc-vers.el".
1925
e7e85dc0
SM
19262012-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
1927
1928 * progmodes/gdb-mi.el: Minor style changes.
1929 (gdb-enable-debug, gdb-speedbar-auto-raise, gdb-many-windows):
1930 Turn into minor modes.
1931 (gdb--if-arrow): Rename from gdb-if-arrow, make it hygienic.
1932 (gdb-mouse-until, gdb-mouse-jump): Adjust uses accordingly.
1933 (gdb-shell): Remove unneeded let-binding.
1934 (gdb-get-many-fields): Eliminate O(n²) behavior.
1935
f31237a4
EZ
19362012-05-25 Eli Zaretskii <eliz@gnu.org>
1937
1938 * cus-start.el <vertical-centering-font-regexp>: Avoid warning on
1939 platforms that don't link in fontset.c.
1940
bc1b21bb
JL
19412012-05-25 Juri Linkov <juri@jurta.org>
1942
1943 Use the same diff color scheme as in modern VCSes (bug#10181).
1944
1945 * vc/diff-mode.el (diff-header, diff-file-header): Remove "green"
1946 to avoid confusion with `diff-added' that now uses green colors.
1947 (diff-removed): Use shades of red.
1948 (diff-added): Use shades of green.
1949 (diff-changed): Leave just the yellow color.
1950 (diff-use-changed-face): New variable.
1951 (diff-font-lock-keywords): Use `diff-use-changed-face' to decide
1952 how to highlight context diff changes.
1953 (diff-refine-change): Use shades of yellow.
1954 (diff-refine-removed): New face that uses shades of red.
1955 (diff-refine-added): New face that uses shades of green.
1956 (diff-refine-hunk): Use `diff-refine-change', `diff-refine-added',
1957 `diff-refine-removed' in the call to `smerge-refine-subst'
1958 depending on the value of `diff-use-changed-face'.
1959
1960 * vc/smerge-mode.el (smerge-mine): Use shades of red.
1961 (smerge-other): Use shades of green.
1962 (smerge-base): Use shades of yellow.
1963 (smerge-refined-change): Empty face.
1964 (smerge-refined-removed): New face that uses shades of red.
1965 (smerge-refined-added): New face that uses shades of green.
1966 (smerge-refine-subst): Rename arg `props' to `props-c'. Add new
1967 args `props-r' and `props-a', and use them. Doc fix.
1968 (smerge-refine): Evaluate `smerge-use-changed-face' and depending
1969 on its value use different faces `smerge-refined-change',
1970 `smerge-refined-removed', `smerge-refined-added' in the call to
1971 `smerge-refine-subst'.
1972
1973 * vc/ediff-init.el (ediff-current-diff-A, ediff-fine-diff-A):
1974 Add face condition `min-colors 88' with shades of red.
1975 (ediff-current-diff-B, ediff-fine-diff-B): Add face condition
1976 `min-colors 88' with shades of green.
1977 (ediff-current-diff-C, ediff-fine-diff-C): Add face condition
1978 `min-colors 88' with shades of yellow.
1979
6df9112c
GM
19802012-05-24 Glenn Morris <rgm@gnu.org>
1981
ead5edc0
GM
1982 * paths.el (prune-directory-list, remote-shell-program): Move to...
1983 * files.el (prune-directory-list, remote-shell-program): ...here.
1984 For the latter, delay initialization, prefer ssh, just search PATH.
1985
f18b81e6
GM
1986 * paths.el (term-file-prefix): Move to faces.el (the only user).
1987 * faces.el (term-file-prefix): Move here, make it a defcustom.
1988
ee2f89a6
GM
1989 * paths.el (news-directory, news-path, news-inews-program):
1990 Move to gnus/nnspool.el.
61a583ca 1991
f8815e4c
GM
1992 * paths.el (gnus-default-nntp-server): Remove (gnus.el defines it).
1993
c8f3b42c
GM
1994 * paths.el (rmail-file-name, rmail-spool-directory): Move from here...
1995 * mail/rmail.el (rmail-file-name, rmail-spool-directory): ... to here.
1996 Make the latter a defcustom, with a delayed initialization.
1997
6df9112c
GM
1998 * paths.el (gnus-nntp-service, gnus-local-organization): Remove.
1999 These were deleted from Gnus itself late 2010.
2000
5dadff36
JB
20012012-05-22 Juanma Barranquero <lekktu@gmail.com>
2002
9e1701c6
JB
2003 * progmodes/which-func.el (which-func-ff-hook):
2004 Check against user-error, not error.
2005
bd7239f5 2006 * emacs-lisp/edebug.el (top): Do not load or set up loading of
5dadff36
JB
2007 cl-specs.el, which no longer exists.
2008
3290526d
GM
20092012-05-22 Glenn Morris <rgm@gnu.org>
2010
2011 * info.el (info-emacs-bug): New command.
2012 * menu-bar.el (menu-bar-help-menu): Add "How to Report a Bug" to Help.
2013 * mail/emacsbug.el (report-emacs-bug): Replace with info-emacs-bug.
2014
ff0c3cfb
GM
20152012-05-21 Glenn Morris <rgm@gnu.org>
2016
2017 * makefile.w32-in (update-subdirs-SH):
2018 * Makefile.in (update-subdirs): Update for moved update-subdirs.
2019
5814f126
SM
20202012-05-21 Stefan Monnier <monnier@iro.umontreal.ca>
2021
a52c0aa0
SM
2022 * hi-lock.el (hi-lock-face-defaults): Move obsolete before definition.
2023
5814f126
SM
2024 * progmodes/compile.el (compilation-error-regexp-alist-alist):
2025 Simplify Maven regexp, and make sure the file can't start with a space
2026 (bug#11517).
2027
b847032c
GM
20282012-05-21 Glenn Morris <rgm@gnu.org>
2029
2030 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
2031 Scrap superfluous subshells.
2032
3858bfe7
SM
20332012-05-19 Stefan Monnier <monnier@iro.umontreal.ca>
2034
2035 * emacs-lisp/bytecomp.el (byte-compile-root-dir): New var.
2036 (byte-compile-warning-prefix, batch-byte-compile-file): Use it.
2037
d14b0029
JB
20382012-05-19 Jay Belanger <jay.p.belanger@gmail.com>
2039
2040 * calc/calc.el (calc-ensure-consistent-units): New variable.
2041
a52c0aa0
SM
2042 * calc/calc-units.el (math-consistent-units-p)
2043 (math-check-unit-consistency): New functions.
2044 (calc-quick-units, calc-convert-units):
2045 Use `math-check-unit-consistency' when `calc-ensure-consistent-units'
2046 is non-nil.
d14b0029
JB
2047 (calc-extract-units): Fix typo.
2048
60c4db3a
SM
20492012-05-18 Stefan Monnier <monnier@iro.umontreal.ca>
2050
77f3b62e
SM
2051 * vc/vc-bzr.el (vc-bzr-state-heuristic): Save match-data around sha1.
2052
60c4db3a
SM
2053 * textmodes/flyspell.el: Commenting style, plus code simplifications.
2054 (flyspell-default-deplacement-commands): Don't spell check after
2055 repeated window/frame switches (e.g. triggered by mouse-movement).
2056 (flyspell-delay-commands, flyspell-deplacement-commands): Use mapc.
2057 (flyspell-debug-signal-word-checked): Simplify and fit in 80 cols.
2058 (flyspell-casechars-cache, flyspell-ispell-casechars-cache)
2059 (flyspell-not-casechars-cache, flyspell-ispell-not-casechars-cache):
2060 Remove unused vars.
2061 (flyspell-get-casechars, flyspell-get-not-casechars):
2062 Simplify; Don't bother removing a ] just to add it back.
2063 * textmodes/ispell.el (ispell-program-name): Use executable-find.
2064
b1a10716
RS
20652012-05-18 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
2066
2067 * calc/calc-lang.el (math-C-parse-bess, math-C-parse-fma):
2068 New functions.
bd7239f5 2069 (math-function-table): Add support for more C functions.
b1a10716 2070
3f1b25b5
AM
20712012-05-18 Agustín Martín Domingo <agustin.martin@hispalinux.es>
2072
2073 * flyspell.el (flyspell-check-pre-word-p, flyspell-check-word-p)
2074 (flyspell-debug-signal-word-checked): Protect delay handling for
2075 otherchars against empty otherchars.
2076
b581bb5c
SM
20772012-05-18 Stefan Monnier <monnier@iro.umontreal.ca>
2078
2079 * emacs-lisp/lisp-mode.el (doc-string-elt): Move those properties to
2080 their respective macro declarations.
2081 * skeleton.el (define-skeleton):
2082 * progmodes/compile.el (define-compilation-mode):
2083 * ibuf-macs.el (define-ibuffer-sorter, define-ibuffer-op)
2084 (define-ibuffer-filter):
2085 * emacs-lisp/generic.el (define-generic-mode):
2086 * emacs-lisp/easy-mmode.el (define-minor-mode)
2087 (define-globalized-minor-mode):
2088 * emacs-lisp/cl-macs.el (defun*, defmacro*, defstruct, deftype):
2089 * emacs-lisp/byte-run.el (defsubst):
2090 * custom.el (deftheme): Add doc-string metadata.
2091
70b8ef8f
SM
20922012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
2093
2094 * emacs-lisp/cl-macs.el, emacs-lisp/cl.el: Move indent info.
2095
b1198e17
SM
20962012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
2097
9abdc45d
SM
2098 * emacs-lisp/pcase.el (pcase--u1): Avoid ((lambda ...) ...).
2099
b1198e17
SM
2100 * emacs-lisp/cl.el: Add edebug specs from cl-specs.el.
2101 * emacs-lisp/cl-macs.el: Idem.
2102 * emacs-lisp/cl-specs.el: Remove.
2103
4735906a
SM
21042012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
2105
2106 Minor renaming of internal CL functions and variables.
2107 * emacs-lisp/cl-seq.el (cl--adjoin): Rename from cl-adjoin.
2108 (cl--position): Rename from cl-position.
2109 (cl--delete-duplicates): Rename from cl-delete-duplicates.
2110 * emacs-lisp/cl.el (cl--gensym-counter): Rename from *gensym-counter*.
2111 (cl--random-state): Rename from *random-state*.
2112
ac348012
SM
21132012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
2114
2115 * emacs-lisp/cl-macs.el (cl-transform-lambda): Don't add spurious
2116 parens around the arg list (bug#11499).
2117
a0a79cde
JL
21182012-05-17 Juri Linkov <juri@jurta.org>
2119
2120 * isearch.el (word-search-regexp, word-search-backward)
2121 (word-search-forward, word-search-backward-lax)
2122 (word-search-forward-lax): Move functions from search.c
2123 (bug#10145, bug#11381).
2124
65034a51
AM
21252012-05-16 Agustín Martín Domingo <agustin.martin@hispalinux.es>
2126
2127 * flyspell.el (flyspell-check-pre-word-p, flyspell-check-word-p)
2128 (flyspell-debug-signal-word-checked): Delay for otherchars as for
2129 normal word components.
2130
1a72a195
SM
21312012-05-16 Stefan Monnier <monnier@iro.umontreal.ca>
2132
2133 * minibuffer.el (completion--sifn-requote): Fix last change.
2134 (minibuffer-local-must-match-filename-map):
2135 Move define-obsolete-variable-alias before its var.
2136
fdb058c2
SM
21372012-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
2138
c41045e6
SM
2139 * emacs-lisp/pcase.el (pcase-let*, pcase-let): Fix edebug spec.
2140
036dfb8b
SM
2141 * minibuffer.el (completion--sifn-requote): Handle sifn's truncation
2142 behavior.
2143 (completion--string-equal-p): New function.
2144 (completion--twq-all): Use it to get better assertion failure data.
2145
2473256d
SM
2146 Only handle ".." and '..' quoting in shell-mode (bug#11466).
2147 * shell.el (shell--unquote&requote-argument, shell--unquote-argument)
2148 (shell--requote-argument): New functions.
2149 (shell-completion-vars): Use them.
2150 (shell--parse-pcomplete-arguments): Rename from
2151 shell-parse-pcomplete-arguments.
2152 * comint.el (comint-word): Obey comint-file-name-quote-list. Simplify.
2153 (comint--unquote&requote-argument): Don't handle ".." and '..' quoting.
2154 Obey comint-file-name-quote-list.
2155
fdb058c2
SM
2156 * emacs-lisp/smie.el (smie-indent--bolp-1): New function.
2157 (smie-indent-keyword): Use it.
2158
51fa99f1
SM
21592012-05-14 Stefan Merten <smerten@oekonux.de>
2160
2161 * textmodes/rst.el (rst-re-alist): Fix loading (bug#11462).
2162
e18afed7 21632012-05-14 Stefan Monnier <monnier@iro.umontreal.ca>
d9d1dfef
SM
2164
2165 * net/rlogin.el (rlogin-mode-map): Fix last change.
2166
e18afed7 21672012-05-14 Jason L. Wright <jason.wright@inl.gov> (tiny change)
8633b1f4
JW
2168
2169 * mail/smtpmail.el (smtpmail-send-command): Send the command and
2170 the following \r\n using a single `process-send-string', since the
2171 Lotus SMTP server refuses to accept any commands if they are sent
e18afed7 2172 with two `process-send-string's (Bug#11444).
8633b1f4 2173
e18afed7 21742012-05-14 Stefan Monnier <monnier@iro.umontreal.ca>
fe263b8f 2175
fdb058c2
SM
2176 * shell.el (shell-parse-pcomplete-arguments):
2177 Obey pcomplete-arg-quote-list inside double-quoted args (Bug#11348).
e18afed7 2178
2d21d7f6
WJ
21792012-05-14 Wolfgang Jenkner <wjenkner@inode.at>
2180
e18afed7 2181 * image-mode.el: Fit to width/height for rotated images (Bug#11431).
2d21d7f6
WJ
2182 (image-transform-scale, image-transform-right-angle-fudge): New vars.
2183 (image-transform-width, image-transform-fit-width): New functions.
2184 (image-transform-properties): Use them.
2185 (image-transform-check-size): New function.
2186 (image-toggle-display-image): Use it (for testing).
2187 (image-transform-set-rotation): Reduce angle mod 360.
2188 Delete obsolete comment.
2189
7102e6d0
WJ
21902012-05-14 Wolfgang Jenkner <wjenkner@inode.at>
2191
2192 * image-mode.el: Fix scaling (bug#11399).
2193 (image-transform-resize): Doc fix.
2194 (image-transform-properties): Default scale is 1 and height should
2195 be an integer.
2196
06bc5e6e
SM
21972012-05-13 Johan Bockgård <bojohan@gnu.org>
2198
2199 * emacs-lisp/smie.el (smie-next-sexp): Use accessor `op-forw' rather
2200 than hard-coding `car', to fix misbehavior when moving forward.
2201
0ae03b6a
CY
22022012-05-13 Chong Yidong <cyd@gnu.org>
2203
2204 * emacs-lisp/tabulated-list.el (tabulated-list-format)
2205 (tabulated-list-entries, tabulated-list-padding)
2206 (tabulated-list-sort-key): Make permanent-local.
2207
2208 * ebuff-menu.el: Adapt to Buffer Menu changes (Bug#11455).
2209 (electric-buffer-list): Put electric buffer menu
2210 command descriptions in this docstring, instead of the docstring
2211 of electric-buffer-menu-mode. Code cleanups.
2212 (electric-buffer-menu-mode): Use define-derived-mode. Rename from
2213 Electric-buffer-menu-mode.
2214 (electric-buffer-update-highlight): Minor code cleanup.
2215
205a7391
MA
22162012-05-13 Michael Albinus <michael.albinus@gmx.de>
2217
2218 * net/dbus.el (dbus-call-method): Restore events not from D-Bus.
2219 (Bug#11447)
2220
e5bd0a28
SM
22212012-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
2222
2223 Move define-obsolete-variable-alias before the var's definition.
2224 * vc/log-edit.el (vc-comment-ring, vc-comment-ring-index):
2225 * tooltip.el (tooltip-hook):
2226 * textmodes/reftex-toc.el (reftex-toc-map):
2227 * textmodes/reftex-sel.el (reftex-select-label-map)
2228 (reftex-select-bib-map):
2229 * textmodes/reftex-index.el (reftex-index-map)
2230 (reftex-index-phrases-map):
2231 * speedbar.el (speedbar-syntax-table, speedbar-key-map):
2232 * progmodes/meta-mode.el (meta-mode-map):
2233 * novice.el (disabled-command-hook):
2234 * loadhist.el (unload-hook-features-list):
2235 * frame.el (blink-cursor):
2236 * files.el (find-file-not-found-hooks, write-file-hooks)
2237 (write-contents-hooks):
2238 * emulation/tpu-edt.el (GOLD-map):
2239 * emacs-lock.el (emacs-lock-from-exiting):
2240 * emacs-lisp/generic.el (generic-font-lock-defaults):
2241 * emacs-lisp/chart.el (chart-map):
2242 * dos-fns.el (register-name-alist):
2243 * dired-x.el (dired-omit-files-p):
2244 * desktop.el (desktop-enable):
2245 * cus-edit.el (custom-mode-hook):
2246 * buff-menu.el (buffer-menu-mode-hook):
2247 * bookmark.el (bookmark-read-annotation-text-func)
2248 (bookmark-exit-hooks):
2249 * allout.el (allout-mode-deactivate-hook)
2250 (allout-exposure-change-hook, allout-structure-added-hook)
2251 (allout-structure-deleted-hook, allout-structure-shifted-hook):
2252 * dirtrack.el (dirtrack-toggle, dirtrackp, dirtrack-debug-toggle)
2253 (dirtrack-debug): Move call to define-obsolete-variable-alias so it
2254 comes before the corresponding variable's definition.
2255
ac59c2f6
CY
22562012-05-12 Chong Yidong <cyd@gnu.org>
2257
2258 * buff-menu.el (Buffer-menu-buffer+size-width): Doc fix (Bug#11454).
0d909786
CY
2259 (Buffer-menu-mouse-select): Restore function (Bug#11459).
2260 (Buffer-menu-mode-map): Bind it.
2261 (Buffer-menu--pretty-name): Add a mouse-face property.
ac59c2f6 2262
dee6c9a3
SM
22632012-05-11 Stefan Monnier <monnier@iro.umontreal.ca>
2264
2171cea5
SM
2265 * progmodes/prolog.el: Use SMIE. Cleanup regexp setup.
2266 (prolog-upper-case-string, prolog-lower-case-string)
2267 (prolog-atom-char-regexp, prolog-atom-regexp): Initialize in defconst.
2268 (prolog-use-smie, prolog-smie-grammar): New vars.
2269 (prolog-smie-forward-token, prolog-smie-backward-token)
2270 (prolog-smie-rules): New funs.
2271 (prolog-comment-indent): Remove.
2272 (prolog-mode-variables): Use default comment indentation instead.
2273 Setup SMIE.
2274 (prolog-build-case-strings, prolog-set-atom-regexps): Remove.
2275 (prolog-mode): Don't call them any more.
2276 (prolog-electric-colon, prolog-electric-dash)
2277 (prolog-edit-menu-insert-move): Use indent-according-to-mode.
2278
aa0382bd
SM
2279 * dabbrev.el (dabbrev-expand): Make "no expansion found" a user-error.
2280
dbacb4bd
SM
2281 * minibuffer.el (completion--twq-all): Again, allow case differences.
2282
13bdd94c
SM
2283 * term.el: Move keymap initialization code to be more idiomatic.
2284 (term-signals-menu, term-mode-map, term-raw-map, term-raw-escape-map)
2285 (term-terminal-menu): Move initialization into declaration.
2286 (term-escape-char): Let the user set it in her .emacs.
2287
ff46c759
SM
2288 * progmodes/sh-script.el: Use post-self-insert-hook&electric-pair-mode.
2289 Provide SMIE-based indentation (not enabled by default yet).
2290 (sh-mode-map): Don't bind electric keys.
2291 Use electric-pair-mode instead of skeleton-pair.
2292 (sh-assignment-regexp): Fit within 80 columns.
2293 (sh-indent-supported): Specify actual shell name instead of boolean.
2294 (sh--maybe-here-document): New fun, from sh-maybe-here-document.
2295 (sh-maybe-here-document): Use it. Make obsolete.
2296 (sh-electric-here-document-mode) New minor mode.
2297 (sh-mode): Use it. Don't set sh-indent-supported-here here.
2298 (sh-smie-sh-grammar, sh-smie--sh-operators, sh-smie--sh-operators-re)
2299 (sh-smie--sh-operators-back-re, sh-indent-after-continuation)
2300 (sh-smie-rc-grammar, sh-use-smie): New vars.
2301 (sh-smie--keyword-p, sh-smie--newline-semi-p, sh-smie--sh-keyword-p)
2302 (sh-smie-sh-forward-token, sh-smie--looking-back-at-continuation-p)
2303 (sh-smie-sh-backward-token, sh-smie--continuation-start-indent)
2304 (sh-smie-sh-rules, sh-smie-rc-rules, sh-smie--sh-keyword-in-p)
2305 (sh-smie--rc-after-special-arg-p, sh-smie-rc-backward-token)
2306 (sh-smie-sh-rules, sh-smie--rc-newline-semi-p): New functions.
2307 (sh-set-shell): Use smie-setup if requested.
2308
dee6c9a3
SM
2309 * term.el (term-set-escape-char): Properly set term-escape-char.
2310 See http://stackoverflow.com/questions/10524656.
2311
9f9aa044
CY
23122012-05-10 Chong Yidong <cyd@gnu.org>
2313
2314 * ffap.el (ffap-url-unwrap-local): Make it work right (Bug#9131).
2315 Use url-generic-parse-url, and handle host names and Windows
2316 filenames properly.
2317 (ffap-url-unwrap-remote): Use url-generic-parse-url.
2318 (ffap-url-unwrap-remote): Accept list values, specifying a list of
2319 URL schemes to work on.
2320 (ffap--toggle-read-only): New function.
2321 (ffap-read-only, ffap-read-only-other-window)
2322 (ffap-read-only-other-frame): Use it.
2323 (ffap-fixup-url): Don't check ffap-ftp-regexp, since it is not
2324 necessary for ffap-url-unwrap-remote.
2325
836d29b3
DA
23262012-05-10 Dave Abrahams <dave@boostpro.com>
2327
2328 * cus-start.el (create-lockfiles): Add it.
2329
00fd78ed
CY
23302012-05-09 Chong Yidong <cyd@gnu.org>
2331
2332 * net/browse-url.el (browse-url-url-encode-chars): Use upper-case.
2333 (browse-url-encode-url): Encode spaces and quotes (Bug#6300).
2334
666b903b 23352012-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
1cb51c12
SM
2336
2337 * shell.el (shell-completion-vars): Fix last change (bug#11348).
2338
666b903b 23392012-05-09 Chong Yidong <cyd@gnu.org>
18f00515
CY
2340
2341 * ansi-color.el (ansi-color-process-output): Check for validity of
2342 comint-last-output-start before using it. This avoids a bad
2343 interaction with gdb-mi's input/output buffer.
2344
666b903b 23452012-05-09 Glenn Morris <rgm@gnu.org>
fd075e7b
GM
2346
2347 * files.el (dir-locals-read-from-file):
2348 Mention dir-locals in any error message.
2349
666b903b 23502012-05-09 Chong Yidong <cyd@gnu.org>
25f292cd
CY
2351
2352 * emacs-lisp/package.el (package-built-in-p): Handle the `emacs'
2353 package (Bug#11410).
2354
f677562b
CY
2355 * emacs-lisp/package.el (package-buffer-info): Avoid putting local
2356 variables into description.
2357
666b903b 23582012-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
3d53ee1b
SM
2359
2360 * shell.el (shell-completion-vars): Set pcomplete-arg-quote-list like
2361 shell-delimiter-argument-list (bug#11348).
2362 (shell-parse-pcomplete-arguments): Obey pcomplete-arg-quote-list.
2363
b499d8d0
JB
23642012-05-09 Juanma Barranquero <lekktu@gmail.com>
2365
8f6b6da8
JB
2366 * textmodes/rst.el: Silence byte-compiler warnings.
2367 (rst-re-alist, rst-reset-section-caches): Move around.
2368 (rst-re): Use `characterp', not `char-valid-p'.
2369 (font-lock-beg, font-lock-end): Declare.
2370
4824146a
JB
2371 * progmodes/idlw-shell.el (specs): Remove reference to deleted
2372 variable `idlwave-shell-activate-alt-keybindings' and simplify.
2373
b499d8d0
JB
2374 * eshell/esh-cmd.el (eshell-debug-command): Fix typo in previous change.
2375
ad89bb83
GM
23762012-05-08 Glenn Morris <rgm@gnu.org>
2377
2378 * files.el (auto-mode-alist): Treat ".make" like ".mk".
2379
8bba5a75
SM
23802012-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
2381
49ed9c8e
SM
2382 * vc/log-edit.el: Add GNU coding standards highlighting.
2383 (log-edit-font-lock-gnu-style)
2384 (log-edit-font-lock-gnu-keywords): New vars.
2385 (log-edit-font-lock-keywords): New fun.
2386 (log-edit-mode): Don't fold case in font-lock.
2387 (log-edit-font-lock-keywords): Do not assume case-folding.
2388
07d00b56
SM
2389 * imenu.el: Misc cleanup. Make docstrings out of comments.
2390 Use lexical-binding.
2391 (imenu--index-alist, imenu--last-menubar-index-alist)
2392 (imenu-menubar-modified-tick): Use defvar-local.
2393 (imenu--split-menu): Remove unused var.
2394 (imenu--cleanup-seen): Declare as global.
2395 (imenu--cleanup): Use dolist.
2396
8bba5a75
SM
2397 * subr.el (defvar-local): Add debug spec and doc-string position.
2398
5075bdb5
GM
23992012-05-08 Glenn Morris <rgm@gnu.org>
2400
c052c904
GM
2401 * lisp/language/burmese.el, language/cham.el, language/czech.el:
2402 * language/english.el, language/georgian.el, language/greek.el:
2403 * language/japanese.el, language/khmer.el, language/korean.el:
2404 * language/lao.el, language/misc-lang.el, language/romanian.el:
2405 * language/sinhala.el, language/slovak.el, language/tai-viet.el:
2406 * language/thai.el, language/utf-8-lang.el:
2407 Remove no-byte-compile setting.
2408
5075bdb5
GM
2409 * play/zone.el (zone-pgm-stress): Don't pollute kill-ring. (Bug#11388)
2410
06f679a7
AH
24112012-05-08 Aaron S. Hawley <aaron.s.hawley@gmail.com>
2412
2413 * progmodes/make-mode.el (makefile-browse):
2414 Remove unnecessary interactive. (Bug#11324)
2415
03794570
GM
24162012-05-07 Glenn Morris <rgm@gnu.org>
2417
af8630f4
GM
2418 * forms-d2.el, forms-pass.el: Move to ../etc/forms directory.
2419
03794570
GM
2420 * international/mule.el (find-auto-coding): Make "unibyte: t" obsolete.
2421
f0809a9d
SM
24222012-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
2423
28be5ce7
SM
2424 * loadup.el: Preload newcomment.el.
2425 * newcomment.el: Move autoload-only code to toplevel.
2426
f0809a9d
SM
2427 * buff-menu.el (list-buffers--refresh): Mark `size' as right-align.
2428 * emacs-lisp/tabulated-list.el (tabulated-list-init-header):
2429 Handle new :right-align column property.
2430 (tabulated-list-print-col): Idem, plus use `display' text-property to
2431 try and preserve alignment for variable pitch fonts.
2432
1241b724
CY
24332012-05-07 Chong Yidong <cyd@gnu.org>
2434
2435 * emacs-lisp/tabulated-list.el: Add no-header-line alternative.
2436 (tabulated-list-use-header-line): New var.
2437 (tabulated-list-init-header): Use it.
2438 (tabulated-list-print-fake-header): New function.
2439 (tabulated-list-print): Use it.
2440 (tabulated-list-sort-button-map): Add non-header-line commands.
2441 (tabulated-list-init-header): Add column name property to basic
2442 labels as well.
2443 (tabulated-list-col-sort): Handle non-header-line button case.
2444 (tabulated-list--sort-by-column-name): Fix a corner case.
2445
f0809a9d
SM
2446 * buff-menu.el (list-buffers--refresh):
2447 Handle Buffer-menu-use-header-line.
1241b724 2448
e5f9458f
CY
24492012-05-06 Chong Yidong <cyd@gnu.org>
2450
2451 * buff-menu.el: Convert to Tabulated List mode.
2452 (Buffer-menu-buffer+size-width): Make obsolete.
2453 (Buffer-menu-name-width, Buffer-menu-size-width): New variables.
2454 (Buffer-menu-mode-map): Inherit from tabulated-list-mode-map.
2455 (Buffer-menu-mode): Derive from tabulated-list-mode. Move command
2456 documentation into docstring of buffer-menu.
2457 (Buffer-menu-toggle-files-only): Add an informative message.
2458 (Buffer-menu-sort): Convert to alias for tabulated-list-sort.
2459 (Buffer-menu-buffer, Buffer-menu-beginning, Buffer-menu-mark)
2460 (Buffer-menu-unmark, Buffer-menu-backup-unmark)
2461 (Buffer-menu-delete, Buffer-menu-save, Buffer-menu-not-modified)
2462 (Buffer-menu-execute, Buffer-menu-select)
2463 (Buffer-menu-marked-buffers, Buffer-menu-toggle-read-only)
2464 (Buffer-menu-bury): Use Tabulated List machinery.
2465 (Buffer-menu-mouse-select, Buffer-menu-sort-by-column)
2466 (Buffer-menu-sort-button-map, Buffer-menu-make-sort-button):
f0809a9d 2467 Delete.
e5f9458f
CY
2468 (list-buffers--refresh): New function.
2469 (list-buffers-noselect): Use it.
2470 (tabulated-list-entry-size->, Buffer-menu--pretty-name)
2471 (Buffer-menu--pretty-file-name): New helper functions.
2472
2473 * loadup.el: Preload tabulated-list.
2474
2475 * emacs-lisp/tabulated-list.el (tabulated-list-sort): Rename from
2476 tabulated-list-sort-column.
2477 (tabulated-list-init-header): Add the initial aligning space even
2478 if tabulated-list-padding is zero.
2479
e129292c
CS
24802012-05-06 Christopher Schmidt <christopher@ch.ristopher.com>
2481
2482 * emacs-lisp/cl-macs.el (cl-expr-contains): Handle cons cells
2483 whose cdr is not a cons cell correctly (bug#11038).
2484
6632d361
CY
24852012-05-06 Chong Yidong <cyd@gnu.org>
2486
e129292c
CS
2487 * emacs-lisp/tabulated-list.el (tabulated-list-format):
2488 Accept additional plist in column descriptors.
6632d361
CY
2489 (tabulated-list-init-header): Obey it.
2490 (tabulated-list-get-entry): New function.
2491 (tabulated-list-put-tag): Use it. Use string-width instead of
2492 length.
2493 (tabulated-list--column-number): New function.
2494 (tabulated-list-print): Use it.
e129292c
CS
2495 (tabulated-list-print-col): New function.
2496 Set `tabulated-list-column-name' property on each column's text.
6632d361 2497 (tabulated-list-print-entry): Use it.
e129292c
CS
2498 (tabulated-list-delete-entry, tabulated-list-set-col):
2499 New functions.
6632d361
CY
2500 (tabulated-list-sort-column): New command (Bug#11337).
2501
3cc99f68
CY
2502 * buff-menu.el (list-buffers): Move C-x C-b binding from
2503 buff-menu.el to bindings.el.
2504
2505 * ebuff-menu.el (Electric-buffer-menu-undefined): Use the
2506 :advertised-binding feature.
2507
52b61776
TN
25082012-05-06 Troels Nielsen <bn.troels@gmail.com> (tiny change)
2509
2510 * progmodes/compile.el (compilation-internal-error-properties):
2511 Calculate start position correctly when end-col is set but
2512 end-line is not (Bug#11382).
2513
ebfe2597
WJ
25142012-05-06 Wolfgang Jenkner <wjenkner@inode.at>
2515
2516 * man.el (Man-unindent): Use text-property-default-nonsticky to
2517 prevent untabify from inheriting face properties (Bug#11408).
2518
6d3f7c2f
SM
25192012-05-05 Stefan Merten <smerten@oekonux.de>
2520
2521 * textmodes/rst.el: Major merge with upstream development up to
2522 Docutils SVN r7399 / rst.el V1.2.1.
2523
2524 Clarify maintainership and authors.
2525
2526 (rst-extract-version, rst-cvs-header, rst-cvs-rev)
2527 (rst-cvs-timestamp, rst-svn-rev, rst-svn-timestamp)
2528 (rst-official-version, rst-official-cvs-rev, rst-version)
2529 (rst-package-emacs-version-alist): New functions and variables
2530 for version information.
2531
2532 (rst-bullets, rst-uri-schemes, rst-adornment-chars)
2533 (rst-max-inline-length, rst-re-alist-def, rst-re-alist)
2534 (rst-mode-syntax-table, rst-mode): New and corrected functions
2535 and variables representing reStructuredText features.
2536
2537 (rst-re): New function for reStructuredText regexes. Use in
2538 many places.
2539
2540 (rst-deprecated-keys, rst-call-deprecated, rst-define-key)
2541 (rst-mode-map): Rebind keys.
2542
2543 (rst-mode-lazy, rst-font-lock-keywords)
2544 (rst-font-lock-extend-region)
2545 (rst-font-lock-extend-region-internal)
2546 (rst-font-lock-extend-region-extend)
2547 (rst-font-lock-find-unindented-line-limit)
2548 (rst-font-lock-find-unindented-line-match)
2549 (rst-adornment-level, rst-font-lock-adornment-level)
2550 (rst-font-lock-adornment-match)
2551 (rst-font-lock-handle-adornment-pre-match-form)
2552 (rst-font-lock-handle-adornment-matcher): Major revision of
2553 font-locking. Integrate with other code. Use `jit-lock-mode'.
2554
2555 (rst-preferred-adornments, rst-adjust-hook)
2556 (rst-new-adornment-down, rst-preferred-bullets)
2557 (rst-preferred-bullets, rst-indent, rst-indent-width)
2558 (rst-indent-field, rst-indent-literal-normal)
2559 (rst-indent-literal-minimized, rst-indent-comment): Change,
2560 extend and improve customization.
2561
2562 (rst-line-homogeneous-p, rst-line-homogeneous-nodent-p)
2563 (rst-normalize-cursor-position, rst-get-decoration)
2564 (rst-straighten-deco-spacing, rst-re-bullets, rst-re-items)
2565 (rst-rstrip, rst-toc-insert-find-delete-contents)
2566 (rst-shift-fill-region, rst-compute-bullet-tabs)
2567 (rst-debug-print-tabs, rst-debug-mark-found)
2568 (rst-shift-region-guts, rst-shift-region-right)
2569 (rst-shift-region-left, rst-use-char-classes)
2570 (rst-font-lock-keywords-function)
2571 (rst-font-lock-indentation-point)
2572 (rst-font-lock-find-unindented-line-begin)
2573 (rst-font-lock-find-unindented-line-end)
2574 (rst-font-lock-find-unindented-line)
2575 (rst-font-lock-adornment-point, rst-font-lock-level)
2576 (rst-adornment-level-alist): Remove functions and variables.
2577
2578 (rst-compare-adornments, rst-get-adornment-match)
2579 (rst-suggest-new-adornment, rst-get-adornments-around)
2580 (rst-adornment-complete-p, rst-get-next-adornment)
2581 (rst-adjust-adornment, rst-display-adornments-hierarchy)
2582 (rst-straighten-adornments): Standardize function names to
2583 use "adornment" instead of "decoration". Correct callers.
2584 Similar standardizing in many places.
2585
2586 (rst-update-section, rst-adjust, rst-promote-region)
2587 (rst-enumerate-region, rst-bullet-list-region)
2588 (rst-repeat-last-character): Correct use of `interactive'.
2589
2590 (rst-classify-adornment, rst-find-all-adornments)
2591 (rst-get-hierarchy, rst-adjust-adornment, rst-toc-update)
2592 (rst-find-leftmost-column, rst-repeat-last-character):
2593 Refactor functions.
2594
2595 (rst-find-title-line, rst-reset-section-caches)
2596 (rst-get-adornments-around, rst-adjust-adornment-work)
2597 (rst-arabic-to-roman, rst-roman-to-arabic)
2598 (rst-insert-list-pos, rst-insert-list-new-item)
2599 (rst-insert-list-continue, rst-insert-list, rst-forward-line):
2600 New functions.
2601
2602 (rst-all-sections, rst-section-hierarchy)
2603 (rst-arabic-to-roman, rst-initial-enums, rst-initial-items):
2604 New variables.
2605
2606 (rst-toc-return-wincfg, rst-toc-quit-window): Use window
2607 configuration instead of only buffer. Change where necessary.
2608
2609 (rst-line-tabs, rst-compute-tabs, rst-indent-line)
2610 (rst-shift-region, rst-adaptive-fill): New functions for
2611 indentation and filling.
2612
2613 (rst-comment-line-break, rst-comment-indent)
2614 (rst-comment-insert-comment, rst-comment-region)
2615 (rst-uncomment-region): New functions for handling comments.
2616
2617 (rst-compile): Quote shell arguments.
2618
2619 (rst-compile-pdf-preview, rst-compile-slides-preview):
2620 Delete temporary files after use.
2621
a43f98b3
GM
26222012-05-05 Glenn Morris <rgm@gnu.org>
2623
48176e8b
GM
2624 * calendar/cal-html.el: Optionally include holidays in the output.
2625 Suggested by Ed Reingold <reingold@emr.cs.iit.edu>.
2626 (cal-html-holidays): New option.
2627 (cal-html-css-default): Add holiday entry.
2628 (holiday-in-range): Autoload it.
2629 (cal-html-htmlify-entry): Add optional class argument.
2630 (cal-html-htmlify-list): Add optional holidays argument.
2631 (cal-html-insert-agenda-days): Include holidays in the output.
2632 (cal-html-one-month): Maybe include holidays.
2633
a43f98b3
GM
2634 * calendar/holidays.el (holiday-in-range):
2635 Move here from cal-tex-list-holidays.
2636 * calendar/cal-tex.el (cal-tex-list-holidays):
2637 Make it an obsolete alias for holiday-in-range. Update all callers.
2638
fef9d149 26392012-05-05 Chong Yidong <cyd@gnu.org>
eceeb5fc
CY
2640
2641 * select.el (xselect--encode-string): Always use utf-8 for TEXT on
2642 Nextstep.
2643
248da2f4
RW
26442012-05-05 Ransom Williams <auvergnerw@gmail.com> (tiny change)
2645
2646 * files.el (file-auto-mode-skip): New var.
2647 (set-auto-mode-1): Use it.
2648
f95e9344
SM
26492012-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
2650
df96ab1e
SM
2651 * repeat.el: Use lexical-binding.
2652 (repeat-last-self-insert, repeat-num-input-keys-at-self-insert)
2653 (repeat-undo-count): Remove.
2654 (repeat):
2655 * progmodes/octave-mod.el (octave-abbrev-start):
2656 * progmodes/f90.el (f90-abbrev-start):
2657 * face-remap.el (text-scale-adjust):
2658 * kmacro.el (kmacro-call-macro): Use set-temporary-overlay-map.
2659
5342bb06
SM
2660 * emacs-lisp/pcase.el (pcase--let*): New function.
2661 (pcase--expand, pcase-codegen, pcase--q1): Use it to reduce nesting
2662 a bit more.
2663 (pcase--split-pred): Be more clever about ruling out overlap between
2664 a predicate and some constant pattern.
2665 (pcase--q1): Use `null' instead of (eq foo nil).
2666
f95e9344
SM
2667 * subr.el (setq-local, defvar-local): New macros.
2668 (kbd): Redefine as an alias.
2669 (with-selected-window): Leave unrelated frames alone.
2670 (set-temporary-overlay-map): New function.
2671
71873e2b
SM
26722012-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
2673
2674 * subr.el (user-error): New function.
2675 * window.el (switch-to-buffer):
2676 * vc/smerge-mode.el (smerge-resolve-function, smerge-resolve)
2677 (smerge-match-conflict):
2678 * simple.el (previous-matching-history-element)
2679 (next-matching-history-element, goto-history-element, undo-more)
2680 (undo-start):
2681 * progmodes/etags.el (visit-tags-table-buffer, find-tag-tag)
2682 (find-tag-noselect, find-tag-in-order, etags-goto-tag-location)
2683 (next-file, tags-loop-scan, list-tags, complete-tag):
2684 * progmodes/compile.el (compilation-loop):
2685 * mouse.el (mouse-minibuffer-check):
2686 * man.el (Man-bgproc-sentinel, Man-goto-page):
2687 * info.el (Info-find-node-2, Info-extract-pointer, Info-history-back)
2688 (Info-history-forward, Info-follow-reference, Info-menu)
2689 (Info-extract-menu-item, Info-extract-menu-counting)
2690 (Info-forward-node, Info-backward-node, Info-next-menu-item)
2691 (Info-last-menu-item, Info-next-preorder, Info-last-preorder)
2692 (Info-next-reference, Info-prev-reference, Info-index)
2693 (Info-index-next, Info-follow-nearest-node)
2694 (Info-copy-current-node-name):
2695 * imenu.el (imenu--make-index-alist)
2696 (imenu-default-create-index-function, imenu-add-to-menubar):
2697 * files.el (basic-save-buffer, recover-file):
2698 * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
2699 * emacs-lisp/checkdoc.el (checkdoc-continue, checkdoc-comments)
2700 (checkdoc-message-text, checkdoc-defun):
2701 * dabbrev.el (dabbrev-completion, dabbrev--abbrev-at-point):
2702 * cus-edit.el (customize-changed-options, customize-rogue)
2703 (customize-saved, custom-variable-set, custom-variable-mark-to-save)
2704 (custom-variable-mark-to-reset-standard)
2705 (custom-variable-reset-backup, custom-face-mark-to-reset-standard)
2706 (custom-file):
2707 * completion.el (check-completion-length):
2708 * comint.el (comint-search-arg)
2709 (comint-previous-matching-input-string-position)
2710 (comint-previous-matching-input)
2711 (comint-replace-by-expanded-history-before-point, comint-send-input)
2712 (comint-copy-old-input, comint-backward-matching-input)
2713 (comint-goto-process-mark, comint-set-process-mark):
2714 * calendar/calendar.el (calendar-cursor-to-date): Use it.
2715 * bindings.el (debug-ignored-errors): Remove regexps, add `user-error'.
2716
8a61ee22
SM
27172012-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
2718
66408d1e
SM
2719 * dabbrev.el (dabbrev--ignore-case-p): New function.
2720 (dabbrev-completion, dabbrev-expand, dabbrev--substitute-expansion):
2721 Use it.
2722
8a61ee22
SM
2723 * files.el (automount-dir-prefix): Mark as obsolete.
2724
3c74813a
GM
27252012-05-04 Glenn Morris <rgm@gnu.org>
2726
2727 * patcomp.el, play/bruce.el: Move to obsolete/.
2728
0bfcf5c5
PE
27292012-05-04 Paul Eggert <eggert@cs.ucla.edu>
2730
2731 Fix minor Y10k bugs.
2732 * arc-mode.el (archive-unixdate):
2733 * autoinsert.el (auto-insert-alist):
2734 * calc/calc-forms.el (math-this-year):
2735 * emacs-lisp/copyright.el (copyright-current-year)
2736 (copyright-update-year, copyright):
2737 * tar-mode.el (tar-clip-time-string):
2738 * time.el (display-time-update):
2739 Don't assume years have 4 digits.
2740
78f3273a
CY
27412012-05-04 Chong Yidong <cyd@gnu.org>
2742
2743 * dos-w32.el (file-name-buffer-file-type-alist)
2744 (direct-print-region-use-command-dot-com):
2745 * ffap.el (ffap-menu-regexp):
2746 * find-file.el (ff-special-constructs):
2747 * follow.el (follow-debug):
2748 * forms.el (forms--debug):
2749 * iswitchb.el (iswitchb-all-frames):
2750 * ido.el (ido-all-frames):
2751 * emacs-lisp/timer.el (timer-max-repeats):
2752 * mail/feedmail.el (feedmail-mail-send-hook)
2753 (feedmail-mail-send-hook-queued):
2754 * mail/footnote.el (footnote-signature-separator):
2755 * mail/mailabbrev.el (mail-alias-separator-string)
2756 (mail-abbrev-mode-regexp):
2757 * mail/rmail.el (rmail-speedbar-match-folder-regexp):
2758 * progmodes/idlwave.el (idlwave-libinfo-file)
2759 (idlwave-default-completion-case-is-down)
2760 (idlwave-library-routines): Convert defvars to defcustoms.
2761
2762 * mail/rmail.el (rmail-decode-mime-charset):
2763 * progmodes/idlw-shell.el (idlwave-shell-print-expression-function)
2764 (idlwave-shell-fix-inserted-breaks)
2765 (idlwave-shell-activate-alt-keybindings)
2766 (idlwave-shell-use-breakpoint-glyph):
2767 * facemenu.el (facemenu-unlisted-faces): Delete obsolete vars.
2768
f7ae6719
SM
27692012-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
2770
2771 * minibuffer.el (completion--twq-all): Beware completion-ignore-case.
2772
47086495
WS
27732012-05-03 Wilson Snyder <wsnyder@wsnyder.org>
2774
2775 * progmodes/verilog-mode.el (font-lock-keywords):
2776 Fix mis-highligting auto. Reported by Craig Barner.
2777 (verilog-auto, verilog-auto-undef): Add AUTOUNDEF to remove
2778 defines from global name space. Reported by Dan Dever.
2779 (verilog-auto-reset, verilog-auto-reset-widths)
2780 (verilog-auto-tieoff): Support using unbased numbers for
2781 AUTORESET and AUTOTIEOFF.
2782 (verilog-submit-bug-report): Update variable list.
2783 (verilog-read-auto-params): Fix AUTOINPUT regexps containing
2784 parenthesis from not matching. Reported by Michael Rytting.
2785 (verilog-auto-template-lint): Fix hash error when linting modules
2786 with no used templates.
2787 (verilog-warn, verilog-warn-error)
2788 (verilog-warn-fatal): When non-interactive report multiple
2789 warnings before exiting. Suggested by Brad Dobbie.
2790 (verilog-auto-template-lint, verilog-auto-template-warn-unused)
2791 (verilog-read-auto-template): Add `verilog-auto-template-warn-unused'
2792 to report unused template errors. Reported by Brad Dobbie.
2793 (verilog-read-decls): Fix AUTOWIRE etc on supply0, supply1 type
2794 nets, bug438. Reported by Vns Blore.
2795 (verilog-auto-inout-module, verilog-auto-reg)
2796 (verilog-read-decls, verilog-read-sub-decls-sig)
2797 (verilog-signals-edit-wire-reg, verilog-signals-with):
2798 Fix passing of Verilog data types in ANSI input/output ports
2799 such as "output logic" into the AUTOs. Special case "wire" and
2800 "reg" for backwards compatibility presuming Verilog 2001.
2801 (verilog-auto-ascii-enum): Add "auto enum" as alias.
2802 (verilog-preprocess): Fix replication of preprocess output.
2803 Reported by Brad Dobbie.
2804 (verilog-auto-inst-interfaced-ports):
2805 Create verilog-auto-inst-interfaced-ports, bug429.
2806 Reported by Julian Gorfajn.
2807 (verilog-after-save-font-hook)
2808 (verilog-before-save-font-hook): New variable.
2809 (verilog-modi-cache-results, verilog-save-font-mod-hooked)
2810 (verilog-save-font-mods): Wrap disabling fontification, reported
2811 by David Rogoff.
2812 (verilog-do-indent, verilog-pretty-declarations-auto)
2813 (verilog-sk-def-reg): Fix obeying `verilog-auto-lineup', bug305.
2814 Reported by Pierre-David Pfister.
2815 (verilog-set-auto-endcomments): Fix endtask auto comments outside
2816 of class declarations, bug292. Reported by Kevin Heilman.
2817 (verilog-read-decls): Fix 'parameter type' not appearing in
2818 AUTOINSTPARAM, bug340. Reported by Jonathan Greenlaw.
2819 (verilog-auto-logic): Fix when AUTOLOGIC present to properly do
2820 AUTOINPUTs, bug411. Reported by Jonathan Greenlaw.
2821 (verilog-read-auto-lisp): Avoid syntax-ppss warning on AUTOLISP.
2822 Reported by David Kravitz.
2823
28242012-05-03 Michael McNamara <mac@mail.brushroad.com>
2825
2826 * progmodes/verilog-mode.el (verilog-pretty-expr): Don't line up
2827 assignment with tests in ifs and for loops.
2828 (verilog-extended-complete-re, verilog-complete-reg): Change so
2829 that DPI inport functions don't look like fuction declarations.
2830 (verilog-pretty-expr): Don't line up assignment
2831 operations to the test and increment in if and for loops
2832 (verilog-extended-complete-re, verilog-complete-reg): Change so
2833 that DPI inport functions don't look like fuction declarations
2834
2e51d4b5
KH
28352012-05-03 Kenichi Handa <handa@m17n.org>
2836
2837 * mail/rmailmm.el (rmail-show-mime): Catch an error caused by text
c846da43 2838 decoding, and show a warning message without signaling an error
2e51d4b5
KH
2839 (Bug#11282).
2840
2bd785a2
SM
28412012-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
2842
2843 * emacs-lisp/bytecomp.el
2844 (byte-compile-file-form-custom-declare-variable): Compile all elements,
2845 since cconv.el might have introduced :fun-body, internal-make-closure,
2846 and friends for bytecomp to handle (bug#11391).
2847 * custom.el (defcustom): Avoid ((λ ..) ..).
2848
99d27583
SM
28492012-05-02 Stefan Monnier <monnier@iro.umontreal.ca>
2850
2851 * subr.el (read-passwd): Better clean after ourselves (bug#11392).
2852
55a71479
JB
28532012-05-02 Juanma Barranquero <lekktu@gmail.com>
2854
2855 * notifications.el (dbus-debug):
2856 * term/linux.el (gpm-mouse-enable):
2857 * term/screen.el (xterm-register-default-colors): Declare.
2858
7b97c764
CY
28592012-05-02 Chong Yidong <cyd@gnu.org>
2860
2bc356d7
CY
2861 * cus-start.el (gc-cons-percentage, exec-suffixes)
2862 (dos-display-scancodes, dos-hyper-key, dos-super-key)
2863 (dos-keypad-mode, debug-on-signal, vertical-centering-font-regexp)
2864 (make-cursor-line-fully-visible, void-text-area-pointer)
2865 (font-list-limit): Add customization data.
2866
7b97c764
CY
2867 * allout.el (allout-exposure-change-functions)
2868 (allout-structure-added-functions)
2869 (allout-structure-deleted-functions)
2870 (allout-structure-shifted-functions): Rename abnormal hooks from
2871 *-hook, and convert to defcustoms.
5d3385a0
JB
2872 (allout-after-copy-or-kill-hook, allout-post-undo-hook):
2873 Convert to defcustoms.
7b97c764
CY
2874 (allout-mode-hook, allout-mode-deactivate-hook): Doc fix.
2875
2876 * allout-widgets.el: Hook callers changed.
2877
90207a15 28782012-05-02 Eli Zaretskii <eliz@gnu.org>
91af76bf
EZ
2879
2880 * mail/rmail.el (rmail-yank-current-message): Use the encoding of
2881 the yanked message in preference to the default value of
2882 buffer-file-coding-system.
2883
90207a15 28842012-05-02 Martin Rudalics <rudalics@gmx.at>
d9558cad 2885
5d3385a0
JB
2886 * window.el (display-buffer--action-function-custom-type):
2887 Fix entry.
d9558cad 2888
90207a15 28892012-05-02 Alan Mackenzie <acm@muc.de>
09affde0
AM
2890
2891 * progmodes/cc-defs.el (c-version): Update to 5.32.3.
2892
d80ac57b
GM
28932012-05-01 Glenn Morris <rgm@gnu.org>
2894
976f7668
GM
2895 * cus-start.el (suggest-key-bindings): Remove, now it is in Lisp.
2896
beb83b5a
GM
2897 * eshell/esh-cmd.el (eshell-debug-command): Doc fix. Add :set.
2898
d80ac57b
GM
2899 * cus-edit.el (custom-variable-documentation): Simplify with format.
2900
b593d6a9
AH
29012012-05-01 Aaron S. Hawley <aaron.s.hawley@gmail.com>
2902 Stefan Monnier <monnier@iro.umontreal.ca>
2903
2904 * simple.el (suggest-key-bindings, execute-extended-command):
2905 Move from keyboard.c.
2906
782fbf2a
CY
29072012-05-01 Chong Yidong <cyd@gnu.org>
2908
2909 * follow.el: Eliminate advice.
2910 (set-process-filter, process-filter, sit-for): Advice deleted.
2911 (follow-mode-off-hook): Obsolete hook removed.
b593d6a9
AH
2912 (follow-avoid-tail-recenter-p, follow-process-filter-alist):
2913 Vars deleted.
782fbf2a
CY
2914 (follow-auto): Use a :set function.
2915 (follow-mode): Rewritten. Don't advise process filters.
2916 (follow-switch-to-current-buffer-all, follow-scroll-up)
2917 (follow-scroll-down): Assume follow-mode is bound.
2918 (follow-comint-scroll-to-bottom)
2919 (follow-align-compilation-windows): New functions.
2920 (follow--window-sorter): New function.
2921 (follow-all-followers): Use it to explicitly sort windows by their
2922 positions; don't make assumptions about next-window order.
2923 (follow-windows-start-end, follow-delete-other-windows-and-split)
2924 (follow-calc-win-start): Doc fix.
2925 (follow-windows-aligned-p, follow-select-if-visible): Don't call
2926 vertical-motion unnecessarily.
2927 (follow-adjust-window): New function.
2928 (follow-post-command-hook): Use it.
2929 (follow-call-set-process-filter, follow-call-process-filter)
2930 (follow-intercept-process-output, follow-tidy-process-filter-alist)
2931 (follow-stop-intercept-process-output, follow-generic-filter):
2932 Functions deleted.
2933 (follow-scroll-bar-toolkit-scroll, follow-scroll-bar-drag)
b593d6a9
AH
2934 (follow-scroll-bar-scroll-up, follow-scroll-bar-scroll-down):
2935 New functions, replacing advice on scroll-bar-* commands.
87233a14 2936 (follow-mwheel-scroll): New function (Bug#4112).
782fbf2a
CY
2937
2938 * comint.el (comint-adjust-point): New function.
b593d6a9
AH
2939 (comint-postoutput-scroll-to-bottom): Use it.
2940 Call follow-comint-scroll-to-bottom for Follow mode buffers.
782fbf2a 2941
290af740
GM
29422012-05-01 Glenn Morris <rgm@gnu.org>
2943
2944 * term/AT386.el, term/apollo.el, term/bobcat.el, term/cygwin.el:
2945 * term/iris-ansi.el, term/linux.el, term/lk201.el, term/news.el:
2946 * term/screen.el, term/vt102.el, term/vt125.el, term/vt200.el:
2947 * term/vt201.el, term/vt220.el, term/vt240.el, term/vt300.el:
2948 * term/vt320.el, term/vt400.el, term/vt420.el, term/wyse50.el:
2949 Remove no-byte-compile setting.
2950
6eac8dc9
SM
29512012-05-01 Stefan Monnier <monnier@iro.umontreal.ca>
2952
2953 * minibuffer.el (completion-table-with-quoting): Fix compatibility
2954 all-completions code to not return a number in the last cdr.
2955
9cc7819c
LL
29562012-04-30 Leo Liu <sdl.web@gmail.com>
2957
2958 * ibuf-ext.el (ibuffer-diff-buffer-with-file-1): Avoid buffer
2959 read-only error.
2960
c93b886f
CY
29612012-04-29 Chong Yidong <cyd@gnu.org>
2962
2963 * follow.el (follow-calc-win-end): Rewrite to handle partial
2964 screen lines correctly (Bug#8390).
2965 (follow-avoid-tail-recenter): Minor cleanup.
2966
8b6c19f4
SM
29672012-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
2968
2969 Avoid the obsolete `assoc' package.
2970 * speedbar.el (speedbar-refresh): Avoid adelete.
2971 (speedbar-file-lists): Simplify and avoid aput.
2972 * man.el (Man--sections, Man--refpages): New vars, replacing
2973 Man-sections-alist and Man-refpages-alist.
2974 (Man-build-section-alist, Man-build-references-alist):
2975 Use them; avoid aput.
2976 (Man--last-section, Man--last-refpage): New vars.
2977 (Man-follow-manual-reference): Use them.
2978 Use the `default' arg of completing-read.
2979 (Man-goto-section): Idem. Move prompt to the `interactive' spec.
2980
c5bb7569
CY
29812012-04-27 Chong Yidong <cyd@gnu.org>
2982
d1d2e2e8
CY
2983 * vc/diff.el (diff-sentinel): Go to bob (Bug#10259).
2984
15cd8efd
CY
2985 * startup.el (x-apply-session-resources): New function.
2986
2987 * term/ns-win.el (ns-initialize-window-system):
2988 * term/w32-win.el (w32-initialize-window-system):
2989 * term/x-win.el (x-initialize-window-system): Use it to properly
2990 set menu-bar-mode and other vars from X resources, even if the
2991 initial frame is not a window-system frame (Bug#2299).
2992
c5bb7569
CY
2993 * subr.el (read-key): Avoid running filter function when setting
2994 up temporary tool bar entries (Bug#9922).
2995
a8e7d6d7 29962012-04-27 Andreas Schwab <schwab@linux-m68k.org>
c4347ab9
AS
2997
2998 * vc/vc-git.el (vc-git-state): Fix regexp matching diff output.
2999 (Bug#11344)
3000
a8e7d6d7 30012012-04-27 Chong Yidong <cyd@gnu.org>
acb71f1d
CY
3002
3003 * select.el (xselect--encode-string): New function, split from
3004 xselect-convert-to-string.
3005 (xselect-convert-to-string): Use it.
3006 (xselect-convert-to-filename, xselect-convert-to-os)
3007 (xselect-convert-to-host, xselect-convert-to-user): Ensure that
3008 returned strings are properly encoded (Bug#11315).
3009
a8e7d6d7 30102012-04-27 Chong Yidong <cyd@gnu.org>
d55486c7
CY
3011
3012 * simple.el (delete-active-region): Move to killing custom group.
3013
a8e7d6d7 30142012-04-27 Andreas Schwab <schwab@linux-m68k.org>
581b6788
AS
3015
3016 * progmodes/which-func.el (which-func-current): Quote %
3017 characters for mode-line processing.
3018
578c1d4b 30192012-04-27 Chong Yidong <cyd@gnu.org>
18edb22d
CY
3020
3021 * xml.el (xml-parse-region, xml-parse-tag): Avoid errors due to
3022 reaching eob (Bug#11286).
3023
a8e7d6d7 30242012-04-27 Eli Zaretskii <eliz@gnu.org>
9ee9f470
EZ
3025
3026 * progmodes/gdb-mi.el (gdb-control-level): New variable.
3027 (gdb): Make it buffer-local and init to zero.
3028 (gdb-control-commands-regexp): New variable.
3029 (gdb-send): Don't wrap in "-interpreter-exec console" if
3030 gdb-control-level is positive. Increment gdb-control-level
3031 whenever the command matches gdb-control-commands-regexp, and
3032 decrement it each time the command is "end". (Bug#11279)
3033
a8e7d6d7 30342012-04-27 Martin Rudalics <rudalics@gmx.at>
41cfe0cb
MR
3035
3036 * window.el (adjust-window-trailing-edge, enlarge-window)
3037 (shrink-window, window-resize):
3038 * mouse.el (mouse-drag-line): Fix resizing of minibuffer
3039 windows (Bug#11276).
3040
b3608390
CY
30412012-04-27 Chong Yidong <cyd@gnu.org>
3042
3043 * progmodes/pascal.el (pascal--extra-indent): Rename from ind, to
a8e7d6d7 3044 fix "missing prefix" warning. All callers changed.
b3608390 3045
797e6e88
SM
30462012-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
3047
3048 * emacs-lisp/assoc.el: Move to obsolete/.
3049
e95a67dc
SM
30502012-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
3051
657c21e4 3052 * emacs-lisp/assoc.el (aget): Fix dynamic-scoping issue (bug#11352).
e95a67dc
SM
3053
3054 * term/ns-win.el (ns-define-service):
3055 * progmodes/pascal.el (pascal-goto-defun):
3056 * progmodes/js.el (js--read-tab):
3057 * progmodes/etags.el (tags-lazy-completion-table):
3058 * emacs-lisp/syntax.el (syntax-propertize-via-font-lock):
3059 * emacs-lisp/ewoc.el (ewoc--wrap):
3060 * emacs-lisp/assoc.el (aput, adelete, amake):
3061 * doc-view.el (doc-view-convert-current-doc):
3062 * vc/diff.el (diff-no-select): Replace lexical-let by lexical-binding.
3063
cb3e7ae0
CY
30642012-04-26 Chong Yidong <cyd@gnu.org>
3065
dce04f7f
CY
3066 * image.el (image-type-from-buffer): Only return supported image
3067 type (Bug#9045).
3068
cb3e7ae0
CY
3069 * vc/diff-mode.el (diff-beginning-of-hunk): Return a meaningful
3070 value, for symmetry with diff-end-of-hunk.
3071 (diff-split-hunk, diff-find-source-location)
3072 (diff-ignore-whitespace-hunk, diff-refine-hunk): Use it.
3073 (diff-bounds-of-hunk, diff-bounds-of-file): New functions.
3074 (diff-restrict-view, diff-hunk-kill, diff-file-kill): Use them to
3075 compute the relevant hunk or file properly (Bug#6005).
3076 (diff-file-junk-re): Add bzr's "modified file" tag (Bug#6041).
3077
0d42eb3e
SM
30782012-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
3079
3080 * vc/vc-mtn.el:
3081 * vc/vc-hg.el:
3082 * vc/vc-git.el:
3083 * vc/vc-dir.el:
3084 * vc/vc-cvs.el:
3085 * vc/vc-bzr.el:
3086 * vc/vc-arch.el:
3087 * vc/vc.el: Replace lexical-let by lexical-binding.
3088 * minibuffer.el (lazy-completion-table): Avoid ((λ ...) ...).
3089 * emacs-lisp/cl-macs.el (lexical-let): Fix use in lexical-binding.
3090 * emacs-lisp/cconv.el (cconv-analyse-form): Warn use of ((λ ...) ...).
3091
f08ae1c9
CY
30922012-04-26 Chong Yidong <cyd@gnu.org>
3093
8b71081d
CY
3094 * vc/diff-mode.el (diff-undo): New command (Bug#5302).
3095 (diff-mode-shared-map): Bind it to / and [remap undo].
3096
f08ae1c9
CY
3097 * vc/ediff-wind.el (ediff-setup-windows-default): New function.
3098 (ediff-window-setup-function): Use it as the default, to set up
3099 windows based on whether the current frame is graphical (Bug#2138).
3100 (ediff-choose-window-setup-function-automatically): Make obsolete.
3101
3102 * vc/ediff-init.el: Always define ediff-pixel-width/height.
3103
ef24141c
SM
31042012-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
3105
cc356a5d
SM
3106 * ffap.el: Remove old code for obsolete package.
3107 (ffap-complete-as-file-p): Remove.
3108
b4ff4f1f
SM
3109 Use completion-table-with-quoting for comint and pcomplete.
3110 * comint.el (comint--unquote&requote-argument)
3111 (comint--unquote-argument, comint--requote-argument): New functions.
3112 (comint--unquote&expand-filename, comint-unquote-filename): Obsolete.
3113 (comint-quote-filename): Use regexp-opt-charset.
3114 (comint--common-suffix, comint--common-quoted-suffix)
3115 (comint--table-subvert): Remove.
3116 (comint-unquote-function, comint-requote-function): New vars.
3117 (comint--complete-file-name-data): Use them with
3118 completion-table-with-quoting.
3119 * pcmpl-unix.el (pcomplete/scp): Use completion-table-subvert.
3120 * pcomplete.el (pcomplete-arg-quote-list)
3121 (pcomplete-quote-arg-hook, pcomplete-quote-argument): Obsolete.
3122 (pcomplete-unquote-argument-function): Default to non-nil.
3123 (pcomplete-unquote-argument): Simplify.
3124 (pcomplete--common-quoted-suffix): Remove.
3125 (pcomplete-requote-argument-function): New var.
3126 (pcomplete--common-suffix): New function.
3127 (pcomplete-completions-at-point): Use completion-table-with-quoting
3128 and completion-table-subvert.
3129
79c4eeb4
SM
3130 * minibuffer.el: Use completion-table-with-quoting for read-file-name.
3131 (minibuffer--double-dollars): Preserve properties.
3132 (completion--sifn-requote): New function.
3133 (completion--file-name-table): Rewrite using it and c-t-with-quoting.
3134
ef24141c
SM
3135 * minibuffer.el: Add support for completion of quoted/escaped data.
3136 (completion-table-with-quoting, completion-table-subvert): New funs.
3137 (completion--twq-try, completion--twq-all): New functions.
3138 (completion--nth-completion): New function.
3139 (completion-try-completion, completion-all-completions): Use it.
3140
784e7d6e
LL
31412012-04-25 Leo Liu <sdl.web@gmail.com>
3142
dd2ac746
SM
3143 * progmodes/python.el (python-pdbtrack-get-source-buffer):
3144 Use compilation-message if available to find real filename.
784e7d6e 3145
07875ee7
CY
31462012-04-25 Chong Yidong <cyd@gnu.org>
3147
3148 * vc/diff-mode.el (diff-setup-whitespace): New function.
3149 (diff-mode): Use it.
3150
3151 * vc/diff.el (diff-sentinel):
3152 * vc/vc.el (vc-diff-finish): Call diff-setup-whitespace to assign
3153 Whitespace mode variables based on diff style (Bug#8612).
3154
5055880d
LL
31552012-04-25 Leo Liu <sdl.web@gmail.com>
3156
daf75653
LL
3157 * progmodes/python.el (python-send-region): Add suffix .py to the
3158 temp file.
3159
5055880d
LL
3160 * files.el (auto-mode-alist): Use javascript-mode instead.
3161
db9b177b
AH
31622012-04-25 Alex Harsanyi <AlexHarsanyi@gmail.com>
3163
ef24141c 3164 Sync with soap-client repository. Support SOAP simpleType (Bug#10331).
db9b177b
AH
3165
3166 * soap-client.el (soap-resolve-references-for-sequence-type)
ef24141c 3167 (soap-resolve-references-for-array-type): Hack to prevent self
db9b177b 3168 references, see Bug#9.
ef24141c 3169 (soap-parse-envelope): Report the contents of the 'detail' node
db9b177b 3170 when receiving a fault reply.
ef24141c 3171 (soap-parse-envelope): Report the contents of the entire 'detail' node.
db9b177b
AH
3172
3173 * soap-inspect.el (soap-sample-value-for-simple-type)
ef24141c 3174 (soap-inspect-simple-type): New function.
db9b177b 3175
ef24141c 3176 * soap-client.el (soap-simple-type): New struct.
db9b177b 3177 (soap-default-xsd-types, soap-default-soapenc-types)
ef24141c
SM
3178 (soap-decode-basic-type, soap-encode-basic-type):
3179 support unsignedInt and double basic types.
db9b177b 3180 (soap-resolve-references-for-simple-type)
ef24141c
SM
3181 (soap-parse-simple-type, soap-encode-simple-type): New function.
3182 (soap-parse-schema): Parse xsd:simpleType declarations.
db9b177b
AH
3183
3184 * soap-client.el (soap-default-xsd-types)
ef24141c
SM
3185 (soap-default-soapenc-types): Add integer, byte and anyURI types.
3186 (soap-parse-complex-type-complex-content): Use `soap-wk2l' to find
3187 the local name of "soapenc:Array".
3188 (soap-decode-basic-type, soap-encode-basic-type): Support encoding
db9b177b
AH
3189 decoding integer, byte and anyURI xsd types.
3190
1fc6097b
CY
31912012-04-25 Chong Yidong <cyd@gnu.org>
3192
3193 * cus-edit.el (custom-buffer-create-internal): Update header text.
3194
afc6df87
EZ
31952012-04-25 Eli Zaretskii <eliz@gnu.org>
3196
3197 * progmodes/gdb-mi.el (gdb-init-1): Condition Windows-specific
3198 settings on 'system-type', not on 'window-system'. On MS-Windows,
3199 set interactive-mode on in GDB.
3200
dfbd787f
SM
32012012-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
3202
3203 * progmodes/ruby-mode.el: Simplify last change, and cleanup code.
3204 (ruby-syntax-propertize-regexp): Remove.
3205 (ruby-syntax-propertize-function): Split regexp into chunks.
3206 Match following code directly.
3207
85222d44
DG
32082012-04-24 Dmitry Gutov <dgutov@yandex.ru>
3209
51a8ea2a
DG
3210 * progmodes/ruby-mode.el: Handle Cucumber defs (bug#6286).
3211 (ruby-syntax-propertize-regexp): New function.
3212 (ruby-syntax-propertize-function): Use it to handle regexp not preceded
3213 by a special keyword.
3214
85222d44
DG
3215 * progmodes/ruby-mode.el: Handle general delimited literals (bug#6286).
3216 (ruby-syntax-general-delimiters-goto-beg)
3217 (ruby-syntax-propertize-general-delimiters): New functions.
3218 (ruby-syntax-propertize-function): Use them to handle GDL.
3219 (ruby-font-lock-keywords): Move old handling of GDL...
3220 (ruby-font-lock-syntactic-keywords): .. to here.
3221 (ruby-calculate-indent): Adjust indentation for GDL.
3222
b613912b
MA
32232012-04-24 Michael Albinus <michael.albinus@gmx.de>
3224
b5380639
MA
3225 * notifications.el (top): Remove unneeded declarations.
3226 (notifications-specification-version): Change to "1.2".
e43042fe 3227 (notifications-interface, notifications-notify-method)
b613912b
MA
3228 (notifications-close-notification-method): Fix docstring.
3229 (notifications-get-capabilities-method): New defconst.
e43042fe
MA
3230 (notifications-notify): Add :action-items, :resident and
3231 :transient hints. Change "image_data" to "image-data" and
3232 "image_path" to "image-path".
b613912b
MA
3233 (notifications-get-capabilities): New defun.
3234
257440aa
LL
32352012-04-24 Leo Liu <sdl.web@gmail.com>
3236
3237 * progmodes/python.el: Move hideshow setup to the end.
3238
b1bac16e
MR
32392012-04-24 Martin Rudalics <rudalics@gmx.at>
3240
3241 * window.el (handle-select-window): Clear echo area since this is
3242 no more done by read_char (Bug#11304).
3243
d81bd059
SM
32442012-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
3245
3246 * ibuffer.el (ibuffer-mode-map): Bind `/ m' to filter-used-mode
3247 and `/ M' to filter-derived-mode.
3248 * ibuf-ext.el (ibuffer-list-buffer-modes): Simplify; avoid add-to-list.
3249 (ibuffer-filter-by-mode, ibuffer-filter-by-used-mode)
3250 (ibuffer-mark-by-mode): Use default rather than initial-input.
3251 (ibuffer-filter-by-derived-mode): Autoload and require-match.
3252
c4cf6d91
IA
32532012-04-24 Ivan Andrus <darthandrus@gmail.com> (tiny change)
3254
3255 * ibuf-ext.el (ibuffer-list-buffer-modes): Add `include-parents' arg.
3256 (ibuffer-filter-by-derived-mode): New filter.
3257 * ibuffer.el (ibuffer-mode-map): Bind to `/ w'.
3258
7511ded8
CY
32592012-04-23 Andreas Politz <politza@fh-trier.de>
3260
3261 * subr.el (accept-change-group): Fix arg usage (Bug#6095).
3262
775c916b
CY
32632012-04-23 Chong Yidong <cyd@gnu.org>
3264
3265 * cus-edit.el (customize-apropos, customize-apropos-options):
3266 Disable matching of non-option variables (Bug#11176).
3267 (customize-option, customize-option-other-window)
3268 (customize-changed-options): Doc fix.
3269 (customize-apropos-options, customize-apropos-faces)
3270 (customize-apropos-groups): Use apropos-read-pattern (Bug#11124).
3271
3272 * apropos.el (apropos-read-pattern): Make prompt less cryptic.
922d37d3 3273 Fix word list splitting (Bug#11132).
46c71e23
CY
3274 (apropos-symbol, apropos-keybinding, apropos-label)
3275 (apropos-property, apropos-function-button)
3276 (apropos-variable-button, apropos-misc-button): New faces.
3277 (apropos-symbol-face, apropos-keybinding-face)
3278 (apropos-label-face, apropos-property-face, apropos-match-face):
3279 Variables removed (Bug#8396).
3280 (apropos-library-button, apropos-format-plist, apropos-print)
3281 (apropos-print-doc, apropos-describe-plist): Callers changed.
775c916b 3282
2df41f9c
MA
32832012-04-23 Michael Albinus <michael.albinus@gmx.de>
3284
3285 * net/xesam.el (xesam-mode-map): Use let-bound map in
3286 initialization. (Bug#11292)
3287
da00640a
AM
32882012-04-23 Agustín Martín Domingo <agustin.martin@hispalinux.es>
3289
3290 Preserve ispell session localwords when switching back to
3291 original buffer.
3292
3293 * ispell.el (ispell-buffer-session-localwords): New buffer-local
3294 variable to hold buffer session localwords.
3295 (ispell-kill-ispell): add option 'clear to delete session
3296 localwords.
3297 (ispell-command-loop, ispell-change-dictionary)
3298 (ispell-buffer-local-words): Preserve session localwords when
3299 needed.
3300
3301 * flyspell.el (flyspell-process-localwords, flyspell-do-correct):
3302 Preserve session localwords when needed.
3303
f621ccf5
AM
33042012-04-23 Agustín Martín Domingo <agustin.martin@hispalinux.es>
3305
3306 * ispell.el (ispell-insert-word) Remove unneeded function using
3307 obsolete `translation-table-for-input'.
ef24141c
SM
3308 (ispell-word, ispell-process-line, ispell-complete-word):
3309 Use plain `insert' instead of removed `ispell-insert-word'.
f621ccf5 3310
c2d1019e
CY
33112012-04-22 Chong Yidong <cyd@gnu.org>
3312
3313 * cus-edit.el (custom-variable-menu)
3314 (custom-variable-reset-saved, custom-face-menu)
3315 (custom-face-reset-saved): If there is no saved value, make the
3316 "reset-saved" operation bring back the default (Bug#9509).
3317 (custom-face-state): Properly detect themed faces.
3318
eeddc531
CY
3319 * faces.el (face-spec-set): Stop supporting deprecated form of
3320 third arg.
3321
dcbf5805
MA
33222012-04-22 Michael Albinus <michael.albinus@gmx.de>
3323
3324 Move functions from C to Lisp. Make non-blocking method calls
3325 the default. Implement further D-Bus standard interfaces.
3326
ef24141c
SM
3327 * net/dbus.el (dbus-message-internal): Declare function.
3328 Remove unneeded function declarations.
dcbf5805
MA
3329 (defvar dbus-message-type-invalid, dbus-message-type-method-call)
3330 (dbus-message-type-method-return, dbus-message-type-error)
3331 (dbus-message-type-signal): Declare variables. Remove local
3332 definitions.
3333 (dbus-interface-dbus, dbus-interface-peer)
3334 (dbus-interface-introspectable, dbus-interface-properties)
3335 (dbus-path-emacs, dbus-interface-emacs, dbus-return-values-table):
3336 Adapt docstring.
3337 (dbus-interface-objectmanager): New defconst.
3338 (dbus-call-method, dbus-call-method-asynchronously)
3339 (dbus-send-signal, dbus-method-return-internal)
3340 (dbus-method-error-internal, dbus-register-service)
3341 (dbus-register-signal, dbus-register-method): New defuns, moved
3342 from dbusbind.c
3343 (dbus-call-method-handler, dbus-setenv)
ef24141c
SM
3344 (dbus-get-all-managed-objects, dbus-managed-objects-handler):
3345 New defuns.
dcbf5805
MA
3346 (dbus-call-method-non-blocking): Make it an obsolete function.
3347 (dbus-unregister-object, dbus-unregister-service)
3348 (dbus-handle-event, dbus-register-property)
3349 (dbus-property-handler): Obey the new structure of
3350 `bus-registered-objects'.
3351 (dbus-introspect): Use `dbus-call-method'. Use a timeout.
3352 (dbus-get-property, dbus-set-property, dbus-get-all-properties):
3353 Use `dbus-call-method'.
3354
cf20dee0
CY
33552012-04-22 Chong Yidong <cyd@gnu.org>
3356
3357 * cus-edit.el (custom-commands, custom-reset-menu)
3358 (Custom-reset-standard): Tweak labels.
3359 (custom-reset-button-menu): Change default to t.
3360 (custom-buffer-create-internal): For the custom-reset-button-menu
3361 case, put the revert button first.
3362 (custom-group-subtitle): New face.
3363 (custom-group-value-create): Align docstring to a specific column.
3364
3365 * wid-edit.el (widget-documentation-link-add): Don't handle
3366 indentation in this function.
3367 (widget-documentation-string-indent-to): New function.
3368 (widget-documentation-string-value-create): Use it.
3369
3370 * autorevert.el (auto-revert):
3371 * epg-config.el (epg):
3372 * ibuffer.el (ibuffer):
3373 * mpc.el (mpc):
3374 * ses.el (ses):
3375 * eshell/eshell.el (eshell):
3376 * net/ange-ftp.el (ange-ftp):
3377 * progmodes/ebnf2ps.el (postscript):
3378 * progmodes/flymake.el (flymake):
3379 * progmodes/prolog.el (prolog):
3380 * progmodes/verilog-mode.el (verilog-mode):
3381 * progmodes/which-func.el (which-func):
3382 * term/xterm.el (xterm):
3383 * textmodes/picture.el (picture):
3384 * textmodes/tildify.el (tildify):
3385 * vc/ediff.el (ediff): Tweak defgroups to improve presentation in
3386 customization buffers.
3387
583e23bd
AM
33882012-04-22 Alan Mackenzie <acm@muc.de>
3389
3390 * progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache):
3391 Adding a ) can hide the resulting (..) from searches. Fix it.
3392 Bound the backward search to the position of the existing (.
3393
7dd51bf1
JB
33942012-04-21 Juanma Barranquero <lekktu@gmail.com>
3395
3396 * progmodes/verilog-mode.el (verilog-mode): Check whether
3397 which-func-modes is t before adding verilog-mode.
3398 Reported by Andy Moreton <andrewjmoreton@gmail.com>.
3399
d64a438f
LL
34002012-04-21 Leo Liu <sdl.web@gmail.com>
3401
7dd51bf1 3402 * net/rcirc.el (rcirc): Avoid error when process-contact returns t.
d64a438f 3403
081e8d65
MV
34042012-04-21 Michael Vehrs <Michael.Burschik@gmx.de>
3405
3406 * woman.el: Add support for "T{ T}" tbl syntax, and fix the
3407 filling of the last column of a table (Bug#5635).
3408 (woman-find-next-control-line): New arg, specifying an additional
3409 regexp component for the control line.
3410 (woman2-roff-buffer): Use it.
3411 (woman-break-table): New function.
3412 (woman2-TS): Use it.
3413
34142012-04-21 Chong Yidong <cyd@gnu.org>
3415
3416 * woman.el (woman-set-buffer-display-table, woman-decode-region)
3417 (woman-horizontal-escapes, woman-negative-vertical-space)
3418 (woman-tab-to-tab-stop, woman2-fc, woman2-TS)
3419 (WoMan-warn-ignored): Use ?\s instead of ?\ .
3420
ed571ccb
SM
34212012-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
3422
3423 * minibuffer.el (completion-file-name-table): Complete user names.
3424
39773899
LL
34252012-04-20 Leo Liu <sdl.web@gmail.com>
3426
3427 * font-lock.el (lisp-font-lock-keywords-2): Add pcase, pcase-let
3428 and pcase-let*.
3429
de6ff46d
CY
34302012-04-20 Chong Yidong <cyd@gnu.org>
3431
3432 * server.el (server-execute): Respect initial-buffer-choice if it
3433 is a string and there are no files to open (Bug#2825).
3434 (server-create-window-system-frame, server-create-tty-frame):
3435 Don't switch buffers here.
2d0e8e61
CY
3436 (server-process-filter): Only try to open a window system frame if
3437 compiled with graphical support (Bug#8314).
de6ff46d 3438
54071013
DN
34392012-04-20 Dan Nicolaescu <dann@gnu.org>
3440
3441 * battery.el (battery-echo-area-format): Display remaining time
3442 for sysfs backend too (Bug#11269).
3443 (battery-linux-sysfs): Fix conditional for the charge.
3444
f30d612a
CY
34452012-04-20 Chong Yidong <cyd@gnu.org>
3446
c07a4c0b 3447 * progmodes/gdb-mi.el (gdb): Revert previous change.
f30d612a
CY
3448 (gdb-inferior-io--init-proc): New function.
3449 (gdb-init-1): Use it.
3450 (gdb-inferior-io-sentinel): New sentinel for the gdb-inferior pty,
3451 responsible for allocating a new pty and hooking it to gdb when
3452 the old pty gets an EIO due to process exit.
3453 (gdb-delchar-or-quit): New command. Bind it in gdb-mi buffers.
3454 (gdb-tooltip-print): Don't use obsolete tooltip-use-echo-area.
3455 (gdb-inferior-io--maybe-delete-pty): Move into gdb-reset.
3456
2116e93c
EZ
34572012-04-20 Eli Zaretskii <eliz@gnu.org>
3458
3459 * window.el (window-min-size, window-sizable, window-min-delta)
3460 (window-max-delta, window--resizable, window-resizable)
3461 (window-total-size, window-full-height-p, window-full-width-p)
3462 (window-in-direction, window--resize-mini-window, window-resize)
3463 (window--resize-child-windows-normal)
3464 (window--resize-child-windows, window--resize-siblings)
3465 (window--resize-this-window, adjust-window-trailing-edge)
cd0f830c 3466 (enlarge-window, shrink-window): Doc fixes.
2116e93c 3467
c07a4c0b 34682012-04-20 Chong Yidong <cyd@gnu.org>
b668fa6e 3469
ef24141c
SM
3470 * progmodes/gdb-mi.el (gdb-inferior-io--maybe-delete-pty):
3471 New function to call delete-process on the gdb-inferior buffer's pty.
b668fa6e
CY
3472 (gdb-reset): Use it, instead of relying on kill-buffer to kill the
3473 pty process (Bug#11273).
3474 (gdb-update): New arg to suppress talking to the gdb process.
3475 (gdb-done-or-error): Use it.
3476 (gdb-stopped-functions): Rename from gdb-stopped-hooks.
3477 (gdb): Call gdb-inferior-io--maybe-delete-pty as a workaround for
3478 sentinel not being called.
3479
3480 * comint.el (make-comint-in-buffer, comint-exec): Doc fix.
3481
d02766ab
CY
3482 * progmodes/grep.el (grep, rgrep): Doc fix (Bug#11268).
3483
c07a4c0b 34842012-04-20 Glenn Morris <rgm@gnu.org>
016a35df
GM
3485
3486 * net/network-stream.el (open-network-stream): Doc fix.
3487
c07a4c0b 34882012-04-20 Chong Yidong <cyd@gnu.org>
2c070447
CY
3489
3490 * emacs-lisp/tabulated-list.el (tabulated-list-print): Fix typos.
3491
c07a4c0b 34922012-04-20 Alan Mackenzie <acm@muc.de>
f0f6bc35
AM
3493
3494 Ensure searching for keywords is case sensitive.
3495
3496 * progmodes/cc-cmds.el (c-electric-brace, c-electric-lt-gt)
3497 (c-electric-paren, c-beginning-of-defun, c-end-of-defun)
3498 (c-defun-name, c-mark-function, c-cpp-define-name)
3499 (c-comment-indent, c-scan-conditionals, c-indent-defun)
c07a4c0b 3500 (c-context-line-break): Bind case-fold-search to nil.
f0f6bc35 3501
ef24141c
SM
3502 * progmodes/cc-mode.el (c-font-lock-fontify-region):
3503 Bind case-fold-search to nil.
f0f6bc35 3504
c07a4c0b 35052012-04-20 Chong Yidong <cyd@gnu.org>
4fc2c72a
CY
3506
3507 * mail/sendmail.el (mail-bury): Call return action with the right
3508 Rmail buffer (Bug#11242).
3509
9a864fa2
CY
3510 * server.el (server-process-filter): Handle corner case where both
3511 tty and nowait options are present (Bug#11102).
3512
539aa513
EZ
35132012-04-20 Eli Zaretskii <eliz@gnu.org>
3514
3515 * version.el (emacs-bzr-version, emacs-bzr-get-version): Doc fixes.
6cf2a23e
EZ
3516 (top level): Put into the executable the ident-style '$Id:' tag on
3517 windows-nt as well.
539aa513 3518
cfc7d5da
SM
35192012-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
3520
3521 * electric.el (electric-indent-post-self-insert-function): Check that
3522 electric-indent-mode is enabled in current buffer.
3523
5b01685c
JB
35242012-04-19 Juanma Barranquero <lekktu@gmail.com>
3525
3526 * imenu.el (imenu-progress-message): Restore; it is "used" in
3527 erc/erc-imenu.el and net/snmp-mode.el.
3528
4d6769e1
JB
35292012-04-19 Juanma Barranquero <lekktu@gmail.com>
3530
3531 * avoid.el (mouse-avoidance-mode): Mark unused arg.
3532 (mouse-avoidance-nudge-mouse): Remove unused binding.
3533
3534 * bs.el (bs-toggle-readonly): Call `toggle-read-only' interactively.
3535
3536 * descr-text.el (describe-char):
3537 * progmodes/python.el (python-describe-symbol):
3538 Don't call `toggle-read-only', set `buffer-read-only'.
3539
3540 * imenu.el (imenu-default-goto-function): Mark unused args.
3541 (imenu-progress-message): Remove obsolete macro; all callers changed.
3542
3543 * subr.el (keymap-canonicalize): Remove unused binding.
3544 (read-passwd): Mark unused arg.
3545
3546 * tutorial.el (tutorial--display-changes): Remove unused binding.
3547 (tutorial--save-tutorial-to): Remove unused variable.
3548
3549 * emacs-lisp/package.el (define-package, package-menu-mark-delete)
3550 (package-menu-mark-install, package-menu-mark-unmark): Mark unused args.
3551 (package-generate-autoloads, package-menu--generate)
3552 (package-menu--find-upgrades): Remove unused bindings.
3553
3554 * emulation/cua-rect.el (cua-restrict-regexp-rectangle)
3555 (cua-restrict-prefix-rectangle): Doc fixes. Remove unused bindings.
3556 (cua--mouse-ignore, cua--delete-rectangle, cua--extract-rectangle)
3557 (cua--indent-rectangle, cua-open-rectangle, cua-close-rectangle)
3558 (cua-blank-rectangle, cua-string-rectangle, cua-replace-in-rectangle)
3559 (cua-incr-rectangle, cua-sequence-rectangle, cua--convert-rectangle-as)
3560 (cua--rectangle-aux-replace, cua--left-fill-rectangle)
3561 (cua-scroll-rectangle-up, cua-scroll-rectangle-down)
3562 (cua-delete-char-rectangle): Mark unused args.
3563 (cua-align-rectangle): Remove unused binding.
3564
3565 * mail/rmail.el (compilation--message->loc)
3566 (epa--find-coding-system-for-mime-charset): Declare.
3567
3568 * net/dbus.el (dbus-register-service): Declare.
3569 (dbus-name-owner-changed-handler): Remove unused binding.
3570
3571 * nxml/nxml-mode.el (nxml-electric-slash, nxml-in-mixed-content-p)
3572 (nxml-compute-indent-from-matching-start-tag): Remove unused variables.
3573 (nxml-scan-backward-within): Mark unused arg.
3574 (nxml-dynamic-markup-word): Remove unused binding.
3575
3576 * mouse.el (mouse-menu-major-mode-map):
3577 * emacs-lisp/authors.el (authors-scan-change-log)
3578 (authors-add-to-author-list):
3579 * emacs-lisp/avl-tree.el (avl-tree--enter-balance):
3580 * emacs-lisp/smie.el (smie-auto-fill):
3581 * mail/sendmail.el (mail-bury):
3582 * mail/unrmail.el (unrmail):
3583 * net/tls.el (open-tls-stream):
3584 * textmodes/picture.el (picture-mouse-set-point):
3585 Remove unused bindings.
3586
8c8fc5df
MA
35872012-04-19 Michael Albinus <michael.albinus@gmx.de>
3588
3589 * net/tramp.el (tramp-action-password): Let-bind
3590 `enable-recursive-minibuffers' to t.
3591
a77b0ac9
SS
35922012-04-18 Sam Steingold <sds@gnu.org>
3593
3594 * progmodes/gud.el (gud-key-prefix): Use :type 'key-sequence
3595 instead of 'string to accommodate values like [f11].
3596 Always use `vconcat' instead of `concat' on it, like in `gud-def'.
3597 * progmodes/gdb-mi.el: Likewise.
3598
12a106a9
LL
35992012-04-18 Leo Liu <sdl.web@gmail.com>
3600
3601 * abbrev.el (edit-abbrevs): Move point to the abbrev table of
3602 current buffer.
3603 (prepare-abbrev-list-buffer): Enter edit-abbrevs-mode only if
3604 LOCAL is nil.
3605
bc6494ef
CY
36062012-04-18 Chong Yidong <cyd@gnu.org>
3607
3608 * simple.el (line-move): Use forward-line if in batch mode
3609 (Bug#11053).
3610
c09c46b2
CS
36112012-04-18 Christopher Schmidt <christopher@ch.ristopher.com>
3612
3613 * files.el (after-find-file): Do not try to add a final newline if
3614 the buffer is read-only (Bug#11156).
3615
5f6530ea
RS
36162012-04-17 Richard Stallman <rms@gnu.org>
3617
3618 * mail/rmail.el (rmail-start-mail):
3619 Pass (rmail-mail-return...) for the return-action.
3620 Pass (rmail-yank-current-message...) for the yank-action.
3621 (rmail-yank-current-message): New function.
3622 (rmail-mail): Pass the Rmail buffer, not view buffer, for replybuffer.
3623 (rmail-reply): Likewise.
3624 (rmail-forward): Pass the Rmail buffer, not nil, for replybuffer.
3625
3626 * mail/sendmail.el (mail-bury): Choose the first rmail-mode
c09c46b2 3627 buffer, not the last. Reject temp buffers. Use the rmail-mode
5f6530ea
RS
3628 buffer, not newbuf.
3629
197b6f3c
JB
36302012-04-17 Juanma Barranquero <lekktu@gmail.com>
3631
3632 * server.el (server-ensure-safe-dir): Simplify.
3633
2311d8e5 36342012-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
98fb480e 3635
2311d8e5
GM
3636 * emacs-lisp/smie.el: Provide smarter auto-filling.
3637 (smie-auto-fill): New function.
3638 (smie-setup): Use it.
98fb480e 3639
2311d8e5
GM
3640 * newcomment.el (comment-choose-indent): Obey comment-inline-offset.
3641
36422012-04-17 Philipp Haselwarter <philipp.haselwarter@gmx.de> (tiny change)
8eb5d48f
PH
3643
3644 * newcomment.el (comment-inline-offset): New custom var (bug#11090).
3645 (comment-indent): Use it.
3646
2311d8e5 36472012-04-17 Vincent Belaïche <vincentb1@users.sourceforge.net>
4bdf2ad2
VB
3648
3649 * ses.el: The overall change is to add cell renaming, that is
3650 setting fancy names for cell symbols other than name matching
3651 "\\`[A-Z]+[0-9]+\\'" regexp .
2311d8e5 3652 (ses-localvars): Add ses--renamed-cell-symb-list.
4bdf2ad2 3653 (ses-create-cell-variable): New defun.
2311d8e5 3654 (ses-destroy-cell-variable-range): Respect ses--numrows, ses--numcols.
4bdf2ad2
VB
3655 (ses-relocate-formula): Relocate formulas only for cells the
3656 symbols of which are not renamed, i.e. symbols whose names do not
3657 match regexp "\\`[A-Z]+[0-9]+\\'".
3658 (ses-relocate-all): Relocate values only for cells the symbols of
3659 which are not renamed.
3660 (ses-load): Create cells variables as the (ses-cell ...) are read,
3661 in order to check row col consistency with cell symbol name only
3662 for cells that are not renamed.
3663 (ses-replace-name-in-formula): New defun.
3664 (ses-rename-cell): New defun.
4bdf2ad2 3665
fc72b15c
PO
36662012-04-17 Peter Oliver <bzr@mavit.org.uk> (tiny change)
3667
3668 * progmodes/perl-mode.el (perl-indent-parens-as-block):
3669 New option (bug#11118).
3670 (perl-calculate-indent): Respect it.
3671
12e10e61
GM
36722012-04-17 Glenn Morris <rgm@gnu.org>
3673
3674 * dired-aux.el (dired-mark-read-string): Doc fix.
3675
30009afd
DA
36762012-04-17 Dmitry Antipov <dmantipov@yandex.ru>
3677
3678 * dired-aux.el (dired-mark-read-string): Offer optional completion.
3679 (dired-do-chxxx): Complete chown, chgrp over users, groups. (Bug#7900)
3680
41f03f4d
GM
36812012-04-17 Glenn Morris <rgm@gnu.org>
3682
3683 * mouse.el (mouse-drag-track):
3684 * speedbar.el (speedbar-frame-mode):
3685 Use auto-hscroll-mode rather than the alias automatic-hscrolling.
3686
f45f90f3
LL
36872012-04-16 Leo Liu <sdl.web@gmail.com>
3688
3689 * progmodes/python.el: Trivial cleanup.
3690
94ee8db5
GM
36912012-04-16 Glenn Morris <rgm@gnu.org>
3692
121b8917
GM
3693 * vc/vc.el (vc-string-prefix-p):
3694 * vc/pcvs-util.el (cvs-string-prefix-p):
3695 * textmodes/tex-mode.el (latex-string-prefix-p, tex-string-prefix-p):
3696 * mpc.el (mpc-string-prefix-p):
3697 Make all of these into obsolete aliases for string-prefix-p.
3698 Update callers.
3699 * vc/pcvs.el, vc/vc-dispatcher.el, vc/vc-dir.el: Update callers.
3700
1197ecfa
GM
3701 * textmodes/two-column.el: Move custom options to the start.
3702 (frame-width): Remove compat definition.
3703 (2C-associate-buffer, 2C-dissociate):
3704 Use with-current-buffer rather than save-excursion.
3705 (2C-dissociate): Force a mode-line update.
3706 (2C-autoscroll): Use ignore-errors.
3707
099e7202
GM
3708 * emacs-lisp/eieio-opt.el (describe-class, describe-generic):
3709 Autoload trivia.
3710
bf350d6a
GM
3711 * emacs-lisp/cl-extra.el (*random-state*):
3712 Remove unnecessary declaration.
3713
0e829eab
GM
3714 * calendar/cal-tex.el (cal-tex-end-document): Trivial clarification.
3715
e3ad7552
GM
3716 * play/cookie1.el (cookie-snarf):
3717 Give an explicit error if input file cannot be read.
3718
68892d27
GM
3719 * play/yow.el (yow-file): Use expand-file-name rather than concat.
3720
20f0c46d
GM
3721 * progmodes/perl-mode.el (c-macro-expand):
3722 Remove unnecessary autoload (it is in loaddefs.el).
3723
5a0978ce
GM
3724 * textmodes/picture.el (picture-desired-column)
3725 (picture-update-desired-column): Convert comments to doc-strings.
3726 (picture-substitute): Remove function.
3727 (picture-mode-map): Initialize in the defvar.
3728
6b955486
GM
3729 * woman.el: Remove eval-after-load for tar-mode.
3730 * tar-mode.el (tar-mode-map): Add woman binding and menu entry.
3731 (woman-tar-extract-file): Autoload it.
3732
94ee8db5
GM
3733 * frame.el (automatic-hscrolling): Make this alias obsolete.
3734
177eca34
AM
37352012-04-12 Agustín Martín Domingo <agustin.martin@hispalinux.es>
3736
3737 * ispell.el (ispell-set-spellchecker-params): Post-process
4be3075e 3738 `ispell-dictionary-alist' to use [:alpha:] and utf-8 if possible.
3851314b
AM
3739 (ispell-dictionary-base-alist): Revert to original XEmacs
3740 friendly version for default. [:alpha:] will be added in
3741 `ispell-set-spellchecker-params' if needed
177eca34 3742
c505aaeb
CY
37432012-04-16 Chong Yidong <cyd@gnu.org>
3744
3745 * image.el (imagemagick--extension-regexp): New variable.
3746 (imagemagick-register-types): Use it.
3747 (imagemagick-types-inhibit): Add :set function. Allow new value
3748 of t to inhibit all types.
3749
3750 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Avoid cl macros,
3751 so we can preload it.
3752
3753 * loadup.el (fboundp): Preload regexp-opt, needed by
3754 imagemagick-register-types.
3755
60efac0f
CY
37562012-04-15 Chong Yidong <cyd@gnu.org>
3757
3758 * frame.el (scrolling): Remove nearly unused customization group.
3759
3760 * scroll-all.el (scroll-all-mode): Move to windows group.
3761
5dd1713e
CY
37622012-04-15 Chong Yidong <cyd@gnu.org>
3763
3764 * bindings.el (goto-map): Bind goto-char to M-g c (Bug#11240).
3765
e6fd457e
CY
37662012-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
3767
3768 Avoid the use of ((lambda ...) ...) in lexical-binding code.
4d6769e1 3769 * emacs-lisp/easy-mmode.el (define-minor-mode): Use funcall (bug#11241).
e6fd457e 3770
e153c136
GM
37712012-04-15 Glenn Morris <rgm@gnu.org>
3772
3773 * simple.el (process-file-side-effects): Doc fix.
3774
e6fd457e 37752012-04-15 Glenn Morris <rgm@gnu.org>
ca7d96c8
GM
3776
3777 * international/mule-cmds.el (set-language-environment): Doc fix.
3778
3603c3b1
JB
37792012-04-14 Juanma Barranquero <lekktu@gmail.com>
3780
3781 * server.el (server-auth-key, server-generate-key): Doc fixes.
3782 (server-get-auth-key): Doc fix. Use `string-match-p'.
3783 (server-start): Reflow docstring.
3784
e6de100c
LI
37852012-04-14 Lars Ingebrigtsen <larsi@gnus.org>
3786
3787 * server.el (server-generate-key): `called-interactively-p'
3788 requires a parameter.
3789
29734c21
MN
37902012-04-14 Michal Nazarewicz <mina86@mina86.com>
3791
3792 * server.el (server-auth-key): New variable.
75f1671a 3793 (server-generate-key, server-get-auth-key): New function.
29734c21
MN
3794 (server-start): Use the new variable and functions to allow
3795 setting a permanent server key (bug#9423).
3796
d65c9521
LL
37972012-04-14 Leo Liu <sdl.web@gmail.com>
3798
3799 * vc/diff-mode.el (diff-file-prev/next): Fix typo.
3800
5ae255c7
PE
38012012-04-14 Paul Eggert <eggert@cs.ucla.edu>
3802
3803 Spelling fixes.
3804 * hexl.el (hexl-rulerize): Rename from hexl-rulerise, since
3805 Emacs uses American spelling.
3806
d5e6342e
JB
38072012-04-14 Juanma Barranquero <lekktu@gmail.com>
3808
3809 * emacs-lock.el (emacs-lock-locked-buffer-functions): New hook.
3810 (emacs-lock--exit-locked-buffer): Return the locked buffer. Doc fix.
3811 (emacs-lock--kill-emacs-hook, emacs-lock--kill-emacs-query-functions)
3812 (emacs-lock--kill-buffer-query-functions): Run new hook. (Bug#11017)
3813
ab036cd7
SM
38142012-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
3815
3816 * progmodes/which-func.el (which-func-modes): Change default.
3817
35dc09a1 38182012-04-14 Kim F. Storm <storm@cua.dk>
9557e2be
CY
3819
3820 * emulation/cua-base.el (cua-exchange-point-and-mark): Just call
3821 exchange-point-and-mark if cua-enable-cua-keys is nil (Bug#11191).
3822
35dc09a1 38232012-04-14 Chong Yidong <cyd@gnu.org>
81927dd2
CY
3824
3825 * custom.el (custom-theme-set-variables): Doc fix.
3826
35dc09a1 38272012-04-14 Glenn Morris <rgm@gnu.org>
8edb942b
GM
3828
3829 * international/mule.el (set-auto-coding-for-load): Doc fix.
3830
35dc09a1 38312012-04-14 Alan Mackenzie <acm@muc.de>
0de3da9f 3832
35dc09a1
GM
3833 * progmodes/cc-menus.el (cc-imenu-objc-generic-expression): Make
3834 imenu work again for Objective C Mode. Correct the *-index values,
3835 these having been disturbed by a previous change in 2011-08.
57f845ee 3836
0de3da9f
AM
3837 * progmodes/cc-engine.el (c-before-change-check-<>-operators):
3838 Correct two search limits.
3839
35dc09a1 38402012-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
ede141ac
SM
3841
3842 * startup.el (command-line-1): Inhibit splash from daemon (bug#10996).
3843
35dc09a1 38442012-04-14 Andreas Schwab <schwab@linux-m68k.org>
d0203d61
AS
3845
3846 * international/characters.el: Fix sorting.
3847
35dc09a1 38482012-04-14 Eli Zaretskii <eliz@gnu.org>
cb80bcd1
EZ
3849
3850 * international/characters.el: Add more missing Latin case pairs.
3851
35dc09a1 38522012-04-14 Glenn Morris <rgm@gnu.org>
4a427f58
GM
3853
3854 * files.el (dir-locals-set-class-variables): Doc fix.
3855
35dc09a1 38562012-04-14 Eli Zaretskii <eliz@gnu.org>
9f847f41 3857
3f1b5bf8
EZ
3858 * international/characters.el: Add set-case-syntax-pair call for
3859 LATIN CAPITAL LETTER Y WITH DIAERESIS RET and its lower-case
3860 counterpart. (Bug#11209)
3861
9f847f41
EZ
3862 * simple.el (shell-command-on-region): Doc fix. (Bug#11208)
3863
35dc09a1 38642012-04-14 Glenn Morris <rgm@gnu.org>
0c2014a3
GM
3865
3866 * calendar/holidays.el (calendar-check-holidays): Doc fix.
3867
35dc09a1 38682012-04-14 Eli Zaretskii <eliz@gnu.org>
e2627d21 3869
35dc09a1
GM
3870 * textmodes/ispell.el (ispell-dictionary-base-alist):
3871 Add data for Hebrew.
e2627d21 3872
35dc09a1 38732012-04-14 Chong Yidong <cyd@gnu.org>
5c14e333 3874
35dc09a1
GM
3875 * net/rcirc.el (rcirc-cmd-quit):
3876 Revert 2012-03-18 change (Bug#11192).
5c14e333 3877
35dc09a1 38782012-04-14 Glenn Morris <rgm@gnu.org>
bf6fa423
GM
3879
3880 * pcmpl-rpm.el (pcomplete/rpm): Handle -qf.
3881
35dc09a1 38822012-04-14 Eli Zaretskii <eliz@gnu.org>
82b24fb2 3883
4517fe3a
SM
3884 * minibuffer.el (completion-in-region-mode-map):
3885 Bind completion-help-at-point to M-? rather than ?. (Bug#11182)
82b24fb2 3886
b472a594
VD
38872012-04-13 Vivek Dasmohapatra <vivek@etla.org>
3888
3889 * hexl.el (hexl-insert-char): Make display sizes other than 16 work.
3890
09b95ce3
MY
38912012-04-13 Masatake YAMATO <yamato@redhat.com>
3892
3893 * minibuffer.el (minibuffer-local-filename-syntax): New variable
3894 to allow `C-M-f' and `C-M-b' to move to the nearest path
3895 separator (bug#9511).
3896
4b63a9ca
LI
38972012-04-13 Lars Ingebrigtsen <larsi@gnus.org>
3898
3899 * avoid.el: Require cl when compiling. And also move the
3900 `provide' to the end.
3901
7b55b8bf
TV
39022012-04-13 Thierry Volpiatto <thierry.volpiatto@gmail.com>
3903
3904 * avoid.el (mouse-avoidance-banish-position): New variable.
3905 (mouse-avoidance-banish-destination): Use it (bug#10165).
3906
adedaa1f
LL
39072012-04-13 Leo Liu <sdl.web@gmail.com>
3908
3909 * progmodes/which-func.el (which-func-modes): Add objc-mode.
3910
70e74021
KB
39112012-04-13 Ken Brown <kbrown@cornell.edu>
3912
3913 * net/browse-url.el (browse-url-file-url): Remove Cygwin hack;
ab036cd7 3914 this is no longer needed now that cygstart understands file:// URLs.
70e74021
KB
3915 (browse-url-filename-alist): For the same reason, don't modify
3916 file:// URLs on Cygwin.
3917
e75e89ba
SM
39182012-04-13 Stefan Monnier <monnier@iro.umontreal.ca>
3919
3920 * emulation/cua-base.el (cua--pre-command-handler-1): Don't activate
3921 the region on shift if the binding is already shifted (bug#11221).
3922
82f289a4
GM
39232012-04-12 Glenn Morris <rgm@gnu.org>
3924
3925 * mail/mailpost.el: Move to obsolete/.
3926
d333dc4c
DA
39272012-04-12 Drew Adams <drew.adams@oracle.com>
3928
3929 * imenu.el (imenu--generic-function): Ignore invisible definitions
3930 (bug#10123).
3931
0d15b5ba
VD
39322012-04-12 Vivek Dasmohapatra <vivek@etla.org>
3933
3934 * hexl.el (hexl-bits): New variable.
3935 (hexl-options): Mention the variable in the doc string.
75f1671a 3936 (hexl-rulerise, hexl-line-displen): New functions.
0d15b5ba 3937 (hexl-mode): Mention the new variable.
75f1671a
JB
3938 (hexl-mode, hexl-current-address, hexl-current-address):
3939 Use the displen.
0d15b5ba
VD
3940 (hexl-ascii-start-column): New function.
3941 (hexl-address-to-marker, hexl-beginning-of-line, hexl-options)
3942 (hexl-insert-char, hexl-mode-ruler): Use the displen (bug#4941).
3943
64a440db
AM
39442012-04-12 Agustín Martín Domingo <agustin.martin@hispalinux.es>
3945
3946 * textmodes/flyspell.el (flyspell-large-region): For hunspell, use
3947 '("-i" ENCODING), in 2 separate command-line arguments, to specify
3948 the encoding, as expected by hunspell.
3949
6decb6c2
SM
39502012-04-12 Stefan Monnier <monnier@iro.umontreal.ca>
3951
3952 * battery.el (battery--linux-sysfs-regexp): New const.
3953 (battery-status-function): Use it. Remove yeeloong special case.
3954 (battery-yeeloong-sysfs): Remove.
3955 (battery-echo-area-format): Remove yeeloong special case.
3956
088be6fb
SM
39572012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
3958
6622e416
SM
3959 * imenu.el (imenu-add-to-menubar): `current-local-map' can be nil.
3960 Reported by Noah Friedman.
3961
088be6fb
SM
3962 * subr.el (read-passwd): Use read-string.
3963
b49f886e
LMI
39642012-04-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
3965
3966 * vcursor.el (vcursor-move): Increase the priority of the overlay
3967 (bug#9663).
3968
a63067fc
DD
39692012-04-11 Deniz Dogan <deniz.a.m.dogan@gmail.com>
3970
3971 * net/rcirc.el (rcirc-kill-channel-buffers): New variable.
3972 (rcirc-kill-buffer-hook): Use it to kill channel buffers (bug#5128).
3973
ac3cf14a
WS
39742012-04-11 William Stevenson <yhvh2000@gmail.com>
3975
3976 * textmodes/artist.el (artist-mode): Convert artist-mode to use
3977 define-minor-mode (bug#10760).
3978
c4fc691b 39792012-04-11 Wolfgang Jenkner <wjenkner@inode.at> (tiny change)
49a2697c 3980
4d6769e1 3981 * progmodes/grep.el (rgrep): Tweak the find command line so
49a2697c
WJ
3982 that directories matching `grep-find-ignored-files' won't be
3983 pruned (bug#10351).
3984
af23e2e5
CY
39852012-04-11 Chong Yidong <cyd@gnu.org>
3986
3987 * startup.el (command-line): Remove support for long-obsolete
3988 variable font-lock-face-attributes.
3989
ab7ce8c1
GM
39902012-04-11 Glenn Morris <rgm@gnu.org>
3991
3992 * vc/vc-bzr.el (vc-bzr-status): Avoid condition-case-unless-debug.
3993
de8c03dc
SM
39942012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
3995
3996 * window.el (window--state-get-1): Obey window-point-insertion-type.
3997
050cc68b
LB
39982012-04-11 Lennart Borgman <lennart.borgman@gmail.com>
3999
4000 * emacs-lisp/lisp.el (narrow-to-defun): `beginning-of-defun' goes
4001 to previous function when point is on the first character of a
75f1671a 4002 function. Take care of that in `narrow-to-defun' (bug#6157).
050cc68b 4003
a38c310c
GM
40042012-04-11 Glenn Morris <rgm@gnu.org>
4005
effed0c2
GM
4006 * vc/vc-bzr.el (vc-bzr-status): Handle all errors,
4007 not just file-errors.
4008
a38c310c
GM
4009 * vc/vc-bzr.el (vc-bzr-sha1-program, sha1-program): Remove.
4010 (vc-bzr-sha1): Use internal sha1.
4011
0221e323
SM
40122012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
4013
4014 * progmodes/flymake.el (flymake-mode): Beware read-only dirs (bug#8954).
4015
43956923
SG
40162012-04-10 Sébastien Gross <seb@chezwam.org> (tiny change)
4017
4018 * progmodes/hideshow.el (hs-hide-all): Don't infloop on comments
4019 that start in the middle of the line (bug#10496).
4020
6a8c9eaf
DN
40212012-04-10 Dan Nicolaescu <dann@gnu.org>
4022
4023 * battery.el (battery-linux-proc-acpi): Only one battery is
4024 discharged at a time, but that seems to confuse battery.el when
4025 computing `rate-type' for the battery not being discharged
4026 (bug#10332).
4027
1930bf5d
SM
40282012-04-10 Stefan Monnier <monnier@iro.umontreal.ca>
4029
2a718f6f
SM
4030 * emacs-lisp/autoload.el (autoload-make-program): Remove, unused.
4031
599430d0
SM
4032 * international/quail.el: Use dolist and simplify.
4033 (quail-define-package, quail-update-keyboard-layout)
4034 (quail-define-rules): Use dolist.
4035 (quail-insert-kbd-layout, quail-get-translation): CSE.
4036
a2754b6c
SM
4037 * tmm.el: Use dolist, remove left over hook.
4038 (tmm-prompt, tmm-define-keys, tmm-shortcut, tmm-get-keybind):
4039 Use dolist.
4040 (calendar-load-hook): Don't mess with it.
4041
1930bf5d
SM
4042 * vc/vc-annotate.el (vc-annotate-show-diff-revision-at-line-internal):
4043 Use derived-mode-p. Run the diff asynchronously.
4044
9f67961c
LMI
40452012-04-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
4046
4047 * obsolete/mouse-sel.el: Add an Obsolete-since header.
4048
2a8ce227
JB
40492012-04-10 Juanma Barranquero <lekktu@gmail.com>
4050
4051 * misc.el: Display absolute path of loaded DLLs (bug#10424).
4052 (list-dynamic-libraries--loaded): New function.
4053 (list-dynamic-libraries--refresh): Use it.
4054
8f33b5f8
NW
40552012-04-10 Nathan Weizenbaum <nweiz@google.com>
4056
1930bf5d
SM
4057 * progmodes/python.el (python-fill-paragraph):
4058 Make python-fill-region in a multiline string work when font-lock is
8f33b5f8
NW
4059 disabled (bug#7018).
4060
b12f0439
L
40612012-04-10 Laimonas VÄ—bra <laimonas.vebra@gmail.com> (tiny change)
4062
1930bf5d 4063 * language/european.el (cp775): Add oem/legacy (en)coding on
75f1671a
JB
4064 DOS/MS Windows for the Baltic languages. There are still plenty
4065 of texts written in this encoding/codepage (bug#6519).
b12f0439 4066
57c3bd01
GM
40672012-04-10 Glenn Morris <rgm@gnu.org>
4068
4069 * cus-start.el (eol-mnemonic-unix, eol-mnemonic-dos, eol-mnemonic-mac):
4070 Add :standard values, reducing "rogue" customs in emacs -Q a bit more.
4071
6c3eab30
FA
40722012-04-10 Florian Adamsky <florian@adamsky.it> (tiny change)
4073
1930bf5d 4074 * recentf.el (recentf-dialog-mode-map): Add two keybindings for
6c3eab30
FA
4075 next-line "n" and previous-line "p" in order to make recentf more
4076 consistent with ibuffer, dired or org-mode (bug#9387).
4077
24d78a88
LMI
40782012-04-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
4079
bc72b5d9
LMI
4080 * image.el (put-image): Return the overlay created instead of the
4081 optional input string (bug#7834). Note that this may break code
4082 that is (for some reason or other) depending on `put-image'
4083 returning the string.
4084
bd2dba5a
LMI
4085 * mouse-sel.el (mouse-sel-mode): Mark as obsolete (bug#6174).
4086
74beb59f
LMI
4087 * simple.el (zap-to-char): Allow zapping using input methods
4088 (bug#1580).
4089
24d78a88
LMI
4090 * textmodes/fill.el (fill-region): Leave point and mark where they
4091 were before filling (bug#5399).
4092
263f20cd
GM
40932012-04-09 Glenn Morris <rgm@gnu.org>
4094
4095 * version.el (emacs-bzr-get-version):
4096 Handle lightweight checkouts of local branches.
4097
58d1f797
AS
40982012-04-09 Andreas Schwab <schwab@linux-m68k.org>
4099
263f20cd 4100 * international/characters.el: Recover lost case pairs. (Bug#11209)
58d1f797 4101
b4d3bc10
CY
41022012-04-09 Chong Yidong <cyd@gnu.org>
4103
4104 * custom.el (custom-variable-p): Return nil for non-symbol
4105 arguments instead of signaling an error.
4106 (user-variable-p): Obsolete alias for custom-variable-p.
4107
4108 * apropos.el (apropos-variable):
4109 * files-x.el (read-file-local-variable):
4110 * simple.el (set-variable):
4111 * woman.el (woman-mini-help):
4112 * emacs-lisp/byte-opt.el (side-effect-free-fns): Callers changed.
4113
fd06db5d
GM
41142012-04-09 Glenn Morris <rgm@gnu.org>
4115
e5fcdb5e
GM
4116 * startup.el (normal-top-level): Don't look for leim-list.el
4117 in places where it will not be found. (Bug#910)
4118
fd06db5d
GM
4119 * international/mule-cmds.el (set-default-coding-systems):
4120 * files.el (normal-mode):
4121 Remove guarded calls to ucs-set-table-for-input. (Bug#9821)
4122 This function was removed with ucs-tables.el in 2008.
4123
b39bb7e1
EZ
41242012-04-08 Eli Zaretskii <eliz@gnu.org>
4125
4126 * textmodes/ispell.el (ispell-check-version): For hunspell, set
4127 ispell-encoding8-command to "-i", without a trailing space.
4128 (ispell-start-process): For hunspell, use '("-i" ENCODING), in 2
4129 separate command-line arguments, to specify the encoding, since
4130 that's how hunspell expects it.
4131
5c5b8e23
GM
41322012-04-08 Glenn Morris <rgm@gnu.org>
4133
4134 * loadup.el: Load bindings before cus-start.
4135 This reduces somewhat the number of "rogue" settings in emacs -Q.
4136
a1ed8b05
GM
41372012-04-07 Glenn Morris <rgm@gnu.org>
4138
4139 * version.el (emacs-bzr-get-version): New function.
dfae128a 4140 (emacs-bzr-version): New variable.
a1ed8b05
GM
4141 * loadup.el (emacs-bzr-version): Set it. (Bug#8054)
4142 * mail/emacsbug.el (report-emacs-bug): Include bzr version.
4143
b142f158
EZ
41442012-04-07 Eli Zaretskii <eliz@gnu.org>
4145
dfae128a
GM
4146 * international/uni-bidi.el, international/uni-category.el:
4147 * international/uni-combining.el, international/uni-decimal.el:
4148 * international/uni-decomposition.el, international/uni-digit.el:
4149 * international/uni-lowercase.el, international/uni-mirrored.el:
4150 * international/uni-name.el, international/uni-numeric.el:
4151 * international/uni-titlecase.el, international/uni-uppercase.el:
4152 Update for Unicode 6.1.
b142f158 4153
9078ead6
EZ
41542012-04-07 Eli Zaretskii <eliz@gnu.org>
4155
4156 * term/w32-win.el (dynamic-library-alist): Add libxml2 DLLs.
4157
f23d2c7d
LMI
41582012-04-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
4159
4160 * window.el (shrink-window): Mention the `window-min-height'
4161 variable in the doc string.
4162
0a0a3573
BG
41632012-04-05 Bastien Guerry <bzg@altern.org>
4164
4165 * color.el (color-lighten-name): Fix typo.
4166
e5248ac9
SM
41672012-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
4168
4169 * server.el (server--on-display-p): New function.
4170 (server--on-display-p): Use it.
4171
b4243e22
GV
41722012-04-04 Gabor Vida <vidagabor@gmail.com> (tiny change)
4173
4174 * ido.el (ido-wide-find-dirs-or-files): Use file-name-absolute-p
4175 (bug#11145).
4176
305d9f44
SM
41772012-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
4178
4179 * comint.el (comint--common-quoted-suffix): Check string boundary
4180 before comparing (bug#11158).
4181 * pcomplete.el (pcomplete--common-quoted-suffix): Idem.
4182
3d439cd1
CY
41832012-04-04 Chong Yidong <cyd@gnu.org>
4184
321cc491
CY
4185 * minibuffer.el (completion-extra-properties): Doc fix.
4186
3d439cd1
CY
4187 * subr.el (delayed-warnings-hook): Doc fix.
4188
2d562c0f
DU
41892012-04-04 Daiki Ueno <ueno@unixuser.org>
4190
4191 * epa.el (epa--select-keys): Bind C-c C-c to finish the key
4192 selection (Bug#11159).
4193 (epa-insert-keys): Inform that the default public key will be
4194 exported if no key is selected.
4195
4443f204
RS
41962012-04-04 Richard Stallman <rms@gnu.org>
4197
4198 * mail/emacsbug.el (report-emacs-bug): Bind inhibit-read-only.
4199
529c06b6
CY
42002012-04-03 Chong Yidong <cyd@gnu.org>
4201
4202 * mail/sendmail.el (mail-mode-map): Bind C-c C-i to
4203 mail-insert-file, not its obsolete alias mail-attach-file.
4204
66b907dc
MA
42052012-04-03 Michael Albinus <michael.albinus@gmx.de>
4206
4207 * notifications.el (notifications-notify): Fix docstring.
4208
c0ea195d
GM
42092012-04-02 Glenn Morris <rgm@gnu.org>
4210
4211 * emacs-lisp/authors.el (authors-aliases): Another addition.
4212
5ca64e00
MA
42132012-04-02 Michael Albinus <michael.albinus@gmx.de>
4214
4215 * net/tramp-gvfs.el (tramp-gvfs-send-command): Apply
4216 `tramp-compat-call-process' instead of `tramp-local-call-process'.
4217 Reported by Magnus Henoch <magnus.henoch@gmail.com>.
4218
42ee526b
CY
42192012-04-01 Chong Yidong <cyd@gnu.org>
4220
4221 * files.el (file-in-directory-p): Rename from file-subdir-of-p.
4222 Handle root directory properly.
4223 (copy-directory): Caller changed.
4224
4225 * dired-aux.el (dired-copy-file-recursive, dired-create-files):
4226 * net/tramp.el (tramp-file-name-for-operation): Callers changed.
4227
0b021094
GM
42282012-03-31 Glenn Morris <rgm@gnu.org>
4229
40f86458
GM
4230 * term/xterm.el (xterm-extra-capabilities): Doc fix.
4231
7019c177
GM
4232 * language/indian.el ("Devanagari"): Fix typo. (Bug#11103)
4233
a1daddd6
GM
4234 * calendar/calendar.el (calendar-window-list)
4235 (calendar-hide-window): Restore. (Bug#11140)
4236 (calendar-exit): Use calendar-window-list, calendar-hide-window again.
4237
0b021094
GM
4238 * emacs-lisp/edebug.el (edebug-unwrap-results): Doc fix.
4239
40311efc
TV
42402012-03-30 Thierry Volpiatto <thierry.volpiatto@gmail.com>
4241
4242 * dired-aux.el (dired-copy-file-recursive, dired-create-files):
4243 Check if file is a symlink (Bug#10489).
4244
4245 * files.el (copy-directory): Likewise.
4246
5319014e
CY
42472012-03-30 Chong Yidong <cyd@gnu.org>
4248
4249 * image.el (imagemagick-types-inhibit)
4250 (imagemagick-register-types): Doc fix.
4251
935d1290
AM
42522012-03-30 Agustín Martín Domingo <agustin.martin@hispalinux.es>
4253
ef24141c
SM
4254 * ispell.el (ispell-get-extended-character-mode):
4255 Disable extended-char-mode for hunspell. hunspell does not support it
75f1671a 4256 and treats ~word as ordinary words in pipe mode.
935d1290 4257
61c6e8fd
GM
42582012-03-30 Glenn Morris <rgm@gnu.org>
4259
4260 * tutorial.el (help-with-tutorial): Ensure local variables don't
4261 happen to make the buffer read-only. (Bug#11127)
4262
81fdff00
SM
42632012-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
4264
4265 * progmodes/perl-mode.el (perl-indent-line): Use `noindent' in strings.
4266 (perl-calculate-indent): Return `noindent' in strings.
4267
6e7a6ec0
SS
42682012-03-28 Sam Steingold <sds@gnu.org>
4269
4270 * calendar/calendar.el (calendar-exit): Use `quit-windows-on'
4271 instead of the broken adhockery which does not prevent calendar
4272 buffers from being displayed at random after exit.
4273 (calendar-window-list, calendar-hide-window): Remove the broken
4274 adhockery.
4275
fee88ca0
GM
42762012-03-28 Glenn Morris <rgm@gnu.org>
4277
4278 * replace.el (query-replace-map): Doc fix.
4279
38de3354
AS
42802012-03-28 Andreas Schwab <schwab@linux-m68k.org>
4281
4282 * vc/vc-git.el (vc-git-state): Don't try to match all of the diff
4283 contents. (Bug#11109)
4284
b973155e
SM
42852012-03-27 Stefan Monnier <monnier@iro.umontreal.ca>
4286
4287 * emacs-lisp/avl-tree.el (avl-tree--enter-balance): Fix paren typo
4288 (bug#11077).
4289 (avl-tree--check, avl-tree--check-node): New funs.
4290
dcb6e7b3
MR
42912012-03-27 Martin Rudalics <rudalics@gmx.at>
4292
4293 * window.el (switch-to-visible-buffer): New option.
b973155e
SM
4294 (switch-to-prev-buffer, switch-to-next-buffer):
4295 Observe switch-to-visible-buffer. Make sure that checking for a window
dcb6e7b3
MR
4296 showing a buffer already is done on the same frame.
4297
b4fa35fa
GM
42982012-03-27 Glenn Morris <rgm@gnu.org>
4299
4300 * startup.el (mail-host-address): Doc fix.
4301
f9210e18
SM
43022012-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
4303
4304 * emacs-lisp/bytecomp.el (byte-compile-constants-vector): Allow more
4305 than 197 variables.
4306
c0bf7753
AF
43072012-03-26 Ami Fischman <ami@fischman.org>
4308
4309 * vc/vc-git.el (vc-git-state): Avoid unnecessarily locking.
4310
33da7b16
GM
43112012-03-26 Glenn Morris <rgm@gnu.org>
4312
02243d9d
GM
4313 * files.el (save-buffers-kill-emacs): Doc fix.
4314
33da7b16
GM
4315 * startup.el (normal-top-level, command-line, command-line-1):
4316 Give them doc strings.
4317
e5a69fd0
EZ
43182012-03-25 Eli Zaretskii <eliz@gnu.org>
4319
4320 * makefile.w32-in (install): Use $(DIRNAME)_same-dir.tst instead
b973155e 4321 of same-dir.tst, to avoid stepping on other (parallel) Make job's toes.
e5a69fd0 4322
9a69676a
CY
43232012-03-25 Chong Yidong <cyd@gnu.org>
4324
4125cb8b
CY
4325 * custom.el (load-theme): Even if NO-ENABLE arg is t, reenable the
4326 theme if it was previously enabled before (Bug#11031).
4327
dd470960
CY
4328 * cus-theme.el (custom-theme-write-faces): Retrieve current face
4329 spec with custom-face-get-current-spec if its :shown-value is not
4330 determined yet (Bug#9337).
4125cb8b 4331 (customize-create-theme, custom-theme-revert): Doc fixes.
dd470960 4332
9a69676a
CY
4333 * button.el (button-at): Minor addition to docstring.
4334
6e7e90fa
SL
43352012-03-24 Simon Leinen <simon.leinen@gmail.com>
4336
4337 * vc/vc.el (vc-merge): Fix a prompt.
4338
f06e2758
CY
43392012-03-24 Chong Yidong <cyd@gnu.org>
4340
4341 * mwheel.el (mwheel-scroll): Call deactivate-mark at the right
4342 point (Bug#9623).
4343
6e7e90fa
SL
4344 * button.el (button-at): Minor addition to docstring.
4345
b9d0879b
SM
43462012-03-23 Stefan Monnier <monnier@iro.umontreal.ca>
4347
4348 * newcomment.el (comment-choose-indent): No space after BOL.
4349
e71cebb3
SS
43502012-03-22 Sam Steingold <sds@gnu.org>
4351
4352 * window.el (switch-to-prev-buffer): Revert last patch because the
4353 bug turned out to be an advertised feature (Elisp manual 28.14).
4354
335aff35
GM
43552012-03-22 Glenn Morris <rgm@gnu.org>
4356
4357 * vc/vc-bzr.el (vc-bzr-status-switches): New option. (Bug#6724)
4358 (vc-bzr-command): If running "status", pass vc-bzr-status-switches.
4359
c676576a
LMI
43602012-03-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
4361
4362 * net/network-stream.el (network-stream-open-starttls): Make error
4363 message under Windows be less misleading.
4364
126f3d39
LW
43652012-03-22 Liang Wang <netcasper@gmail.com> (tiny change)
4366
4367 * progmodes/etags.el (etags-list-tags): Only use tags which goto-func
4368 understands (bug#9942).
4369
64fee311
CY
43702012-03-22 Chong Yidong <cyd@gnu.org>
4371
4372 * simple.el (end-of-visible-line): Handle return value of
4373 next-single-property-change properly (Bug#9371).
4374
a640d29a
KH
43752012-03-22 Kenichi Handa <handa@m17n.org>
4376
4377 * international/quail.el (quail-insert-kbd-layout): Fix previous
4378 change. To avoid unwanted bidi reordering, use
4379 bidi-string-mark-left-to-right instead of inserting LRO and PDF.
4380
39675016
DG
43812012-03-21 Dmitry Gutov <dgutov@yandex.ru>
4382
4383 * progmodes/ruby-mode.el: Don't confuse "end:" for "end" (bug#10786).
4384 (ruby-block-end-re, ruby-delimiter, ruby-parse-partial)
4385 (ruby-beginning-of-indent): Be more careful with the difference
4386 between word-boundary and symbol boundary.
4387 (ruby-mode-syntax-table): Make : a symbol constituent.
4388
0a6934fc 43892012-03-21 Andreas Politz <politza@fh-trier.de>
1acad97c 4390
3d008e4f
SM
4391 * outline.el (outline-flag-region): Evaporate overlays (bug#10789).
4392
0a6934fc
SM
43932012-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
4394
af67c9d7
SM
4395 * progmodes/etags.el (tags-completion-at-point-function):
4396 Improve last fix.
4397
1acad97c
SM
4398 * files.el (move-file-to-trash): Files aren't regexps (bug#11055).
4399
e298b5da
SS
44002012-03-21 Sam Steingold <sds@gnu.org>
4401
4402 * progmodes/etags.el (tags-completion-at-point-function):
4403 Avoid the error when point is inside the pattern.
4404
91d82a70
JY
44052012-03-21 John Yates <john@yates-sheets.org> (tiny change)
4406
4407 * progmodes/hideshow.el (hs-inside-comment-p): Fix hiding of first
4408 line (Bug#10855).
4409
69188b79
CY
44102012-03-21 Drew Adams <drew.adams@oracle.com>
4411
4412 * info.el (Info-menu): Handle string value of FORK arg (Bug#10858).
4413
99fc91fe
AK
44142012-03-21 Anmol Khirbat <anmol@khirbat.net> (tiny change)
4415
4416 * ido.el (ido-set-current-directory, ido-read-internal)
4417 (ido-choose-completion-string, ido-completion-help): Handle nil
4418 value of ido-completion-buffer (Bug#11008).
4419
087bbb4c
SS
44202012-03-21 Sam Steingold <sds@gnu.org>
4421
4422 * window.el (switch-to-prev-buffer): Do not switch to a visible
4423 window previous buffer, just like with the frame previous buffers.
4424
fb5b8aca
CY
44252012-03-21 Chong Yidong <cyd@gnu.org>
4426
4427 * faces.el (make-face, make-empty-face, copy-face):
4428 * face-remap.el (face-remap-add-relative, face-remap-set-base):
4429 Doc fixes.
4430
dc9924b8
SM
44312012-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
4432
4433 * wid-edit.el (widget-complete-field): Remove (bug#11051).
4434 (widget-complete): Remove broken use of it.
4435
f0bcceb9
CY
44362012-03-20 Chong Yidong <cyd@gnu.org>
4437
dc9924b8
SM
4438 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
4439 Use string-width and truncate-string-width to handle arbitrary
f0bcceb9
CY
4440 characters.
4441
ee52ebf3
TH
44422012-03-20 Tassilo Horn <tassilo@member.fsf.org>
4443
4444 * textmodes/artist.el (artist-menu-map): Bind Rectangle menu item
4445 to draw rectangles, not squares. (Regression introduced by revno
4446 2011-03-02T03:48:01Z!cyd@stupidchicken.com)
4447
4c5779ab
CY
44482012-03-18 Chong Yidong <cyd@gnu.org>
4449
4450 * faces.el (face-spec-reset-face): Don't call display-graphic-p if
4451 it is not yet defined (for temacs).
4452
15360934
LL
44532012-03-18 Leo Liu <sdl.web@gmail.com>
4454
dc9924b8 4455 * net/rcirc.el (rcirc-cmd-quit): Allow quiting all servers with prefix.
15360934 4456
d9a8eb66
EZ
44572012-03-17 Eli Zaretskii <eliz@gnu.org>
4458
4459 * textmodes/ispell.el (ispell-skip-tib, ispell-keep-choices-win)
4460 (ispell-choices-win-default-height, ispell-silently-savep)
4461 (ispell-dictionary-alist, ispell-encoding8-command)
4462 (ispell-check-version, ispell-aspell-find-dictionary)
4463 (ispell-valid-dictionary-list, ispell-words-keyword)
4464 (ispell-get-word, ispell-internal-change-dictionary)
4465 (ispell-region, ispell-skip-region-list)
4466 (ispell-begin-skip-region-regexp, ispell-ignore-fcc)
4467 (ispell-process-line, ispell-minor-mode, ispell-minor-check)
4468 (ispell-message-text-end, ispell-message)
4469 (ispell-buffer-local-parsing): Doc fix.
4470
f02ff80d
J
44712012-03-13 Jambunathan K <kjambunathan@gmail.com>
4472
4473 * htmlfontify.el: Add support for code block fontification for ODT
4474 export (Bug #9914).
4475 (hfy-optimisations): Define new option
4476 `body-text-only'
4477 (hfy-fontify-buffer): Honor above setting.
4478 (hfy-begin-span, hfy-end-span): New routines factored out form
4479 `hfy-fontify-buffer'.
4480 (hfy-begin-span-handler, hfy-end-span-handler): New variables
4481 that permit insertion of custom tags.
4482 (hfy-fontify-buffer): Use above handlers.
4483 (hfy-face-to-css-default): Same as the earlier `hfy-face-to-css'.
4484 (hfy-face-to-css): Re-defined to be a variable.
dc9924b8 4485 (hfy-compile-stylesheet): Modify. Allow stylesheet to be built
75f1671a 4486 over multiple runs. This is made possible by having the caller let
f02ff80d
J
4487 bind a special variable `hfy-user-sheet-assoc'.
4488 (htmlfontify-string): New defun.
4489 (hfy-compile-face-map): Make sure that the last char in the
4490 buffer is correctly fontified.
4491 (hfy-face-resolve-face): Whitespace only change.
4492
9ac7a13f
EZ
44932012-03-17 Eli Zaretskii <eliz@gnu.org>
4494
4495 * textmodes/ispell.el (ispell-get-decoded-string): Make the error
4496 message more clear.
4497
e2b5bdd7
LL
44982012-03-16 Leo Liu <sdl.web@gmail.com>
4499
4500 * emacs-lisp/copyright.el (copyright-year-ranges): Fix typo.
4501
2e492df3
AM
45022012-03-16 Alan Mackenzie <acm@muc.de>
4503
4504 Further optimise the handling of large macros.
4505
4506 * progmodes/cc-engine.el (c-crosses-statement-barrier-p): Use a
4507 limit to a call of `c-literal-limits'.
4508 (c-determine-+ve-limit): New function.
dc9924b8
SM
4509 (c-at-macro-vsemi-p): Move `c-in-literal' to the bottom of an `and'.
4510 (c-guess-basic-syntax): In macros, restrict a search limit to 2000.
2e492df3
AM
4511 In CASE 5B, restrict a search limit to 500.
4512 (c-just-after-func-arglist-p): Obviouly wrong `or' -> `and'.
4513
4514 * progmodes/cc-mode.el (c-neutralize-syntax-in-and-mark-CPP):
4515 Restrict macro bounds to +-500 from after-change's BEG END.
4516
50e94f0c
LL
45172012-03-16 Leo Liu <sdl.web@gmail.com>
4518
4519 * font-lock.el (lisp-font-lock-keywords-2): Add letrec.
4520
6f09f6ed
AH
45212012-03-16 Aaron S. Hawley <Aaron.S.Hawley@gmail.com>
4522
4523 * tar-mode.el (tar-mode): Fix saving by conditionally undoing
dc9924b8 4524 `special-mode' setting of `buffer-read-only'. (Bug#11010)
6f09f6ed 4525
c7e73d51
GM
45262012-03-16 Glenn Morris <rgm@gnu.org>
4527
da986230
GM
4528 * view.el (view-buffer, view-buffer-other-window)
4529 (view-buffer-other-frame): Doc fixes re special mode-class.
4530
0835f01e
GM
4531 * subr.el (eval-after-load): If named feature is provided not from
4532 a file, run after-load forms. (Bug#10946)
4533
c7e73d51
GM
4534 * calendar/calendar.el (calendar-insert-at-column):
4535 Handle non-unit-width characters a bit better. (Bug#10978)
4536
3f2eafd1
CY
45372012-03-15 Chong Yidong <cyd@gnu.org>
4538
4539 * emacs-lisp/ring.el (ring-extend): New function.
4540 (ring-insert+extend): Extend the ring correctly (Bug#11019).
4541
4542 * comint.el (comint-read-input-ring)
4543 (comint-add-to-input-history): Grow comint-input-ring lazily.
4544
103af3fe
SM
45452012-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
4546
663b1677
SM
4547 * progmodes/perl-mode.el (perl-syntax-propertize-special-constructs):
4548 Fix up parsing of multiline twoarg non-paired elements (bug#11014).
4549
103af3fe
SM
4550 * imenu.el: Fix multiple inheritance breakage (bug#9199).
4551 (imenu-add-to-menubar): Don't add a redundant index.
4552 (imenu-update-menubar): Handle a dynamically composed keymap.
4553
899cb7cb
KY
45542012-03-13 Katsumi Yamaoka <yamaoka@jpl.org>
4555
4556 * mail/sendmail.el (mail-encode-header):
4557 Bind rfc2047-encode-encoded-words to nil.
4558
3809f91d
GM
45592012-03-13 Glenn Morris <rgm@gnu.org>
4560
4561 * calendar/calendar.el (calendar-string-spread):
4562 Handle non-unit-width characters a bit better. (Bug#10978)
4563
9e345a01
LL
45642012-03-13 Leo Liu <sdl.web@gmail.com>
4565
4566 * vc/vc-hg.el (vc-hg-working-revision): Rework to work with both
4567 directory and file as argument (Bug#10822).
4568
4a07df36
KS
45692012-03-13 Kaushik Srenevasan <ksrenevasan@gmail.com> (tiny change)
4570
4571 * progmodes/gdb-mi.el (gdb-invalidate-disassembly):
4572 For dynamically generated code, follow $PC.
4573 (gdb-disassembly-handler-custom): Handle no function name case.
4574
4aaa9356
TL
45752012-03-13 Tim Landscheidt <tim@tim-landscheidt.de> (tiny change)
4576
4577 * calendar/icalendar.el (icalendar-export-file, icalendar-import-file):
4578 * emulation/ws-mode.el (ws-query-replace):
4579 * sort.el (sort-regexp-fields):
4580 Fix missing trailing whitespace in interactive prompts. (Bug#11002)
4581
225979da
SM
45822012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
4583
4584 * dabbrev.el: Fix cycle completion order (bug#10963).
4585 (dabbrev--last-obarray, dabbrev--last-completion-buffer): Remove.
4586 (dabbrev-completion): Don't use an obarray; provide
4587 a cycle-sort-function.
4588
e2f1fdab
LL
45892012-03-12 Leo Liu <sdl.web@gmail.com>
4590
dc9924b8 4591 * simple.el (kill-new): Use equal-including-properties for comparison.
e2f1fdab
LL
4592 (kill-do-not-save-duplicates): Doc fix.
4593
b19490ed
SM
45942012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
4595
4596 * dabbrev.el: Fix cycle completion (bug#10963).
4597 Use lexical binding and wrap to 80 columns.
4598 (dabbrev-completion): Delay computing the list of completions.
4599
4b05d722
KH
46002012-03-12 Kenichi Handa <handa@m17n.org>
4601
4602 * international/quail.el (quail-insert-kbd-layout): Surround each
4603 row by LRO and PDF instead of inserting many LRMs. Pad the left
4604 and right of each non-spacing marks. Insert invisible space
4605 between lower and upper characters to prevent composition.
4606
dbbc2e69
SM
46072012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
4608
4609 * minibuffer.el (minibuffer-complete): Don't get confused when the
4610 function is run twice via different commands (bug#10958).
4611 (complete-with-action): Fix docstring.
4612
292112ed
CY
46132012-03-12 Chong Yidong <cyd@gnu.org>
4614
5d1ac394
CY
4615 * nxml/nxml-mode.el (nxml-mode-map): Do not bind C-RET (Bug#6776).
4616 (nxml-completion-at-point-function): New function.
4617 (nxml-mode): Use it.
4618 (nxml-bind-meta-tab-to-complete-flag): Default to t.
4619
292112ed
CY
4620 * emacs-lisp/package.el (package-unpack, package-unpack-single):
4621 Load generated autoloads file before byte compiling (Bug#10970).
4622 (package--make-autoloads-and-compile): New helper fun.
4623
4098f8f7
CS
46242012-03-12 Christopher Schmidt <christopher@ch.ristopher.com>
4625
4626 * ibuffer.el (ibuffer-redisplay): Remove another gratuitous error.
4627
8f754691
MA
46282012-03-11 Michael Albinus <michael.albinus@gmx.de>
4629
4630 * autorevert.el (auto-revert-handler): Ensure, that
4631 file-readable-p is applied only for local files or in
4632 auto-revert-tail-mode.
4633
e29ab36b
AS
46342012-03-11 Andreas Schwab <schwab@linux-m68k.org>
4635
dbbc2e69
SM
4636 * server.el (server-eval-at): Handle non-tcp connections.
4637 Decode result string.
ad0bf5b6 4638
e29ab36b
AS
4639 * server.el (server-msg-size): New constant.
4640 (server-reply-print): New function.
4641 (server-eval-and-print): Use it.
4642 (server-eval-at): Use server-quote-arg and server-unquote-arg.
4643 Handle -print-nonl.
4644
de5939ba
CS
46452012-03-11 Christopher Schmidt <christopher@ch.ristopher.com>
4646
4647 * ibuffer.el (ibuffer-redisplay): Remove gratuitous error
4648 (Bug#10987).
4649
0c93eabf
CY
46502012-03-11 Chong Yidong <cyd@gnu.org>
4651
397a688f
CY
4652 * simple.el (goto-line): Doc fix (Bug#9938).
4653
2cc775f9
CY
4654 * subr.el (save-window-excursion): Doc fix (Bug#9979).
4655
0c93eabf
CY
4656 * dabbrev.el (dabbrev--find-expansion): Update progress reporter
4657 when finished (Bug#10963).
4658
c491fa41
MR
46592012-03-11 Martin Rudalics <rudalics@gmx.at>
4660
4661 * window.el (split-window-below): Fix bug in case where
4662 split-window-keep-point is nil (Bug#10971).
4663
300e8fa5
JL
46642012-03-11 Juri Linkov <juri@jurta.org>
4665
4666 * replace.el (replace-highlight): Set isearch-word to nil
4667 unconditionally. (Bug#10887)
4668
dbf6c5a1
EZ
46692012-03-10 Eli Zaretskii <eliz@gnu.org>
4670
4671 * net/mairix.el (mairix-replace-invalid-chars): Rename from
4672 mairix-replace-illegal-chars; all callers changed. Don't remove
dc9924b8 4673 ^, ~, and = characters: they are meaningful in mairix search specs.
dbf6c5a1
EZ
4674 (mairix-widget-create-query): Add usage information about mairix
4675 search forms: negating words, searching for substrings, etc.
4676
b9e501de
JP
46772012-03-10 Jae-hyeon Park <jae-hyeon.park@desy.de> (tiny change)
4678
4679 * international/fontset.el (font-encoding-alist): Add an entry for
4680 ksx1001 (Bug#5667).
4681
92795c91
RS
46822012-03-10 Richard Stallman <rms@gnu.org>
4683
1694e6c1
RS
4684 * mail/sendmail.el (mail-encode-header):
4685 Set rfc2047-encode-encoded-words.
4686
607e8555
RS
4687 * mail/mail-utils.el (mail-quote-printable): Quote multibyte chars.
4688
de3bc99a
RS
4689 * mail/rmail.el (rmail-buffers-swapped-p): Don't assume dead
4690 view buffer means not swapped.
4691 (rmail-view-buffer-kill-buffer-hook): Give buf name in error msg.
4692 (rmail-write-region-annotate): Error if real text has disappeared.
4693
92795c91
RS
4694 * epa-mail.el (epa-mail-encrypt): Bind inhibit-read-only.
4695
699bd04e
CY
46962012-03-10 Chong Yidong <cyd@gnu.org>
4697
4698 * emulation/cua-rect.el (cua--init-rectangles):
dbbc2e69
SM
4699 * emulation/cua-base.el (cua--init-keymaps):
4700 Add delete-forward-char to remappings (Bug#9666).
699bd04e 4701
570a1714
MR
47022012-03-10 Martin Rudalics <rudalics@gmx.at>
4703
dbbc2e69
SM
4704 * speedbar.el (speedbar-unhighlight-one-tag-line):
4705 Avoid unhighlighting due to frame switching (Bug#10275).
570a1714 4706
82dcf4e4
CY
47072012-03-10 Chong Yidong <cyd@gnu.org>
4708
7a2c7ca7
CY
4709 * minibuffer.el (completion-in-region, completion-help-at-point):
4710 Give the completion field overlay a high priority (Bug#6830).
4711
82dcf4e4
CY
4712 * dired.el (dired-goto-file): Recognize absolute file name
4713 listings (Bug#7126).
4714 (dired-goto-file-1): New helper function.
4715 (dired-toggle-read-only): Inhibit warnings.
4716
052e28ac
MA
47172012-03-09 Michael Albinus <michael.albinus@gmx.de>
4718
75f1671a 4719 * net/dbus.el (dbus-property-handler): Return empty array if
052e28ac
MA
4720 there are no properties.
4721
95d5e396
LL
47222012-03-09 Leo Liu <sdl.web@gmail.com>
4723
4724 * savehist.el (savehist-printable): Stricter check for string
4725 value (Bug#10937).
4726
3f018d6d
EZ
47272012-03-09 Eli Zaretskii <eliz@gnu.org>
4728
dbbc2e69
SM
4729 * mail/smtpmail.el (smtpmail-send-it):
4730 Bind coding-system-for-write to *-unix, so that FCC files are kept in
3f018d6d
EZ
4731 valid mbox format.
4732
f7fd3d79
GM
47332012-03-09 Glenn Morris <rgm@gnu.org>
4734
4735 * files.el (dir-locals-find-file):
4736 Don't check result is regular, readable.
4737 (dir-locals-read-from-file): Demote errors.
4738
6ff6e72f
EZ
47392012-03-08 Eli Zaretskii <eliz@gnu.org>
4740
dbbc2e69
SM
4741 * international/quail.el (quail-insert-kbd-layout):
4742 Insert invisible LRM characters before each character in a keyboard
6ff6e72f
EZ
4743 layout cell, to prevent their reordering by bidi display engine.
4744 For details, see the discussion in
4745 http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00085.html.
4746
9cec7834
AM
47472012-03-08 Alan Mackenzie <acm@muc.de>
4748
4749 * progmodes/cc-cmds.el (c-mark-function): Make it leave a mark at
4750 the starting position; make it extend the marked region when
4751 invoked repeatedly - all under appropriate circumstances.
4752 Fixes bugs #5525, #10906.
4753
9a40b8d4
GM
47542012-03-08 Glenn Morris <rgm@gnu.org>
4755
4756 * files.el (locate-dominating-file, dir-locals-find-file):
4757 Undo 2012-03-06 change.
4758
7a08ed35
EZ
47592012-03-07 Eli Zaretskii <eliz@gnu.org>
4760
dbbc2e69
SM
4761 * international/quail.el (quail-help):
4762 Force bidi-paragraph-direction be left-to-right. See discussion in
7a08ed35
EZ
4763 http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00062.html
4764 for the reason.
4765
5aca4f71 47662012-03-07 Michael Albinus <michael.albinus@gmx.de>
6612a284
MA
4767
4768 Avoid superfluous registering of signals. (Bug#10807)
4769
4770 * notifications.el (notifications-on-action-object)
4771 (notifications-on-close-object): New defvars.
4772 (notifications-on-action-signal, notifications-on-closed-signal):
4773 Unregister the signal if not needed any longer.
4774 (notifications-notify): Register `notifications-action-signal' or
4775 `notifications-closed-signal', if :on-action or :on-close has been
4776 passed as argument.
4777
78e8b10a
CY
47782012-03-07 Chong Yidong <cyd@gnu.org>
4779
4780 * cus-start.el: Avoid x-select-enable-clipboard-manager warning on
4781 non-X platforms.
4782
69481eb8
GM
47832012-03-06 Glenn Morris <rgm@gnu.org>
4784
4785 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
4786 (x-disown-selection-internal, x-get-selection-internal):
4787 Doc fix (add arglist signatures). (Bug#10783)
4788
133b8e11
KS
47892012-03-06 Kaushik Srenevasan <ksrenevasan@gmail.com> (tiny change)
4790
4791 * progmodes/gdb-mi.el (gdb-breakpoints-list-handler-custom):
4792 Handle breakpoints with no "type".
4793
99a83064
GM
47942012-03-06 Glenn Morris <rgm@gnu.org>
4795
4796 * files.el (locate-dominating-file): Add optional predicate argument.
4797 (dir-locals-find-file): Make use of above change.
4798
17798e78
TTN
47992012-03-06 Thien-Thi Nguyen <ttn@gnuvola.org>
4800
4801 * info.el (Info-insert-dir): Also try "dir.gz".
4802
eb182446
GM
48032012-03-06 Glenn Morris <rgm@gnu.org>
4804
8f2114ee
GM
4805 * files.el (dir-locals-find-file):
4806 Ignore non-readable or non-regular files. (Bug#10928)
4807
eb182446
GM
4808 * files.el (locate-dominating-file): Doc fix.
4809
24679323
AS
48102012-03-06 Adam Spiers <emacs@adamspiers.org> (tiny change)
4811
4812 * calendar/calendar.el (calendar-set-mode-line):
4813 `getenv' returns a string. (Bug#10951)
4814
01d972a9
LL
48152012-03-05 Leo Liu <sdl.web@gmail.com>
4816
109aa8a9
LL
4817 * simple.el (backward-delete-char-untabify): Constrain point to
4818 field (Bug#10939).
4819
01d972a9
LL
4820 * eshell/em-cmpl.el (eshell-cmpl-initialize): Fix shift-tab key.
4821
10607bea
CY
48222012-03-05 Chong Yidong <cyd@gnu.org>
4823
4824 * simple.el (count-words): If called from Lisp, return the word
4825 count, for symmetry with `count-lines'. Arglist changed.
4826 (count-words--message): Args changed. Consolidate counting code
4827 from count-words and count-words-region.
4828 (count-words-region): Caller changed.
4829 (count-lines-region): Make it an obsolete alias.
4830
5dd11cfe
TH
48312012-03-04 Tassilo Horn <tassilo@member.fsf.org>
4832
4833 * saveplace.el (save-place-to-alist)
4834 (save-place-ignore-files-regexp): Allow value nil to disable this
4835 feature.
4836
c349f4e6
CY
48372012-03-04 Chong Yidong <cyd@gnu.org>
4838
4839 * faces.el (face-spec-reset-face): For the default face, reset the
4840 attributes to default values (Bug#10748).
4841
e627be4c
LMI
48422012-03-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
4843
4844 * mail/emacsbug.el (report-emacs-bug-hook): Fix up thinko in
4845 previous patch: Check `message-send-mail-function', and not the
4846 default function (bug#10897).
4847
ebeabff4
MA
48482012-03-04 Michael Albinus <michael.albinus@gmx.de>
4849
a41a6cf4
MA
4850 * notifications.el (notifications-on-action-signal)
4851 (notifications-on-closed-signal): Check for unique service name of
4852 incoming event. Fix error in removing entry.
ebeabff4 4853 (top): Register for signals with wildcard service name.
a41a6cf4 4854 (notifications-notify): Use daemon unique service name for map entries.
ebeabff4 4855
c1ca42b4
CY
48562012-03-04 Chong Yidong <cyd@gnu.org>
4857
dc9924b8 4858 * cus-start.el: Make x-select-enable-clipboard-manager customizable.
c1ca42b4 4859
ea16568d
GM
48602012-03-04 Glenn Morris <rgm@gnu.org>
4861
4862 * abbrev.el (copy-abbrev-table, abbrev-table-p)
4863 (abbrev-minor-mode-table-alist, define-abbrev, abbrev-insert)
4864 (expand-abbrev, define-abbrev-table): Doc fixes.
4865
fbae4637
LMI
48662012-03-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
4867
4868 * mail/emacsbug.el (report-emacs-bug-hook): Look at the value of
4869 `message-default-send-mail-function' and not `send-mail-function'
4870 when doing the prompting for `sendmail-query-once' before sending
4871 in Message buffers (bug#10897).
4872
a1e7225c
LMI
4873 * net/tls.el (open-tls-stream): Don't set the dont-query-on-exit flag.
4874 This is inconsistent with all the other stream functions, which leave
4875 the setting up to the higher levels (if so wanted) (bug#10931).
4876
56d093a9
AM
48772012-03-02 Alan Mackenzie <acm@muc.de>
4878
4879 Depessimize the handling of very large macros.
4880
4881 * progmodes/cc-engine.el (c-macro-cache, c-macro-cache-start-pos):
4882 (c-macro-cache-syntactic): New variables to implement a one
4883 element macro cache.
4884 (c-invalidate-macro-cache): New function.
4885 (c-beginning-of-macro, c-end-of-macro, c-syntactic-end-of-macro):
4886 Adapt to use the new cache.
4887 (c-state-safe-place): Use better the cache of safe positions.
4888 (c-state-semi-nonlit-pos-cache)
4889 (c-state-semi-nonlit-pos-cache-limit):
4890 New variables for...
4891 (c-state-semi-safe-place): New function. Here, in a macro is "safe".
4892 (c-invalidate-state-cache-1): New stuff for c-state-semi-safe-place.
dbbc2e69
SM
4893 (c-in-literal, c-literal-limits, c-determine-limit-get-base):
4894 Use c-state-semi-safe-place.
56d093a9 4895
dbbc2e69
SM
4896 * progmodes/cc-langs.el (c-get-state-before-change-functions):
4897 Add c-invalidate-macro-cache to the C, C++, Obj entries.
56d093a9 4898
817e5c3d
MA
48992012-03-02 Michael Albinus <michael.albinus@gmx.de>
4900
dbbc2e69
SM
4901 * jka-compr.el (jka-compr-call-process):
4902 Apply `file-accessible-directory-p' only when the default directory is
817e5c3d
MA
4903 not remote.
4904
a032a702
MA
49052012-03-01 Michael Albinus <michael.albinus@gmx.de>
4906
4907 * files.el (file-equal-p): Fix docstring. Avoid unnecessary
4908 access of FILE2, if FILE1 does not exist.
4909
99a54f21
MA
4910 * net/tramp-sh.el (tramp-remote-process-environment): Add "PAGER=\"\"".
4911 Reported by Robert Lupton the Good <rhl@astro.princeton.edu>.
4912
4913 * vc/vc-git.el (vc-git--call): Enable `inhibit-null-byte-detection'.
4914 Add "PAGER=" to `process-environment'.
4915
f6561e1f
MM
49162012-03-01 Michael R. Mauger <mmaug@yahoo.com>
4917
4918 * progmodes/sql.el: Bug fix
4919 (sql-get-login-ext): Save login values in globals.
4920 (sql-get-login): Use new version of `sql-get-login-ext'.
4921 (sql-interactive-mode): Set global `sql-connection' to nil.
4922 (sql-connect): Set global values for connection.
4923 (sql-product-interactive): Save global values as buffer local.
4924
2d44d9cc
LL
49252012-02-29 Leo Liu <sdl.web@gmail.com>
4926
4927 * abbrev.el (define-abbrevs): Reset sys to nil.
4928
96b49301 49292012-02-28 Thierry Volpiatto <thierry.volpiatto@gmail.com>
4930
bf7f9bc5
JB
4931 * files.el (file-equal-p): Rename from `files-equal-p'.
4932 Return nil when one or both files don't exist.
96b49301 4933 (file-subdir-of-p): Now only top directory must exists,
4934 return nil if it doesn't.
bf7f9bc5
JB
4935 (copy-directory): No need to test with `file-subdir-of-p' after
4936 creating dir.
4937 * net/tramp.el (tramp-file-name-for-operation): Rename `files-equal-p'
4938 to `file-equal-p'.
96b49301 4939
44e97401
GM
49402012-02-28 Glenn Morris <rgm@gnu.org>
4941
4942 * shell.el (shell-mode):
4943 * progmodes/vhdl-mode.el (wildcard-to-regexp, file-expand-wildcards):
4944 * play/landmark.el (landmark-font-lock-face-O):
4945 * play/handwrite.el (handwrite):
4946 * play/gomoku.el (gomoku-O):
4947 * net/browse-url.el (browse-url-browser-display):
4948 * international/mule.el (define-charset):
4949 * htmlfontify.el (hfy-etags-cmd, hfy-face-attr-for-class):
4950 * filesets.el (filesets-find-file-delay):
4951 * eshell/em-xtra.el (eshell-xtra):
4952 * eshell/em-unix.el (eshell-grep):
4953 * emulation/viper.el (viper-mode):
4954 * emacs-lisp/regexp-opt.el (regexp-opt-group):
4955 * emacs-lisp/easymenu.el (easy-menu-define):
4956 * calendar/timeclock.el (timeclock-use-display-time):
4957 * bs.el (bs-mode):
4958 * bookmark.el (bookmark-save-flag):
4959 Doc fix (standardize possessive apostrophe usage).
4960
c98c6276
CY
49612012-02-27 Chong Yidong <cyd@gnu.org>
4962
bf7f9bc5
JB
4963 * emulation/viper-cmd.el (viper-intercept-ESC-key):
4964 Fix key-binding lookup for ESC key (Bug#9146).
ecf5f74e 4965
c98c6276
CY
4966 * font-lock.el (font-lock-specified-p): Rename from
4967 font-lock-spec-present. Callers changed.
4968
9c62cd04 49692012-02-27 Daniel Hackney <dan@haxney.org>
8ac9e529 4970
bf7f9bc5
JB
4971 * emacs-lisp/package.el (package-compute-transaction):
4972 Handle holding a package version to t in package-load-list.
8ac9e529 4973
530739c9
MA
49742012-02-26 Michael Albinus <michael.albinus@gmx.de>
4975
4976 * net/tramp.el (tramp-inodes, tramp-devices): Initialize with 0.
4977 (tramp-get-inode, tramp-get-device): Use cached values.
4978
487915d7
AM
49792012-02-26 Alan Mackenzie <acm@muc.de>
4980
4981 Check there is a font-lock specification before doing initial
4982 fontification.
4983
4984 * font-core.el (font-lock-mode): Move the conditional from
4985 :after-hook to font-lock-initial-fontify.
4986 (font-lock-default-function): Move the check for a specification
4987 to font-lock-spec-present.
4988
dc9924b8 4989 * font-lock.el (font-lock-initial-fontify): Call ...
487915d7
AM
4990 (font-lock-spec-present): New function.
4991
4fd96557
JB
49922012-02-26 Jim Blandy <jimb@red-bean.com>
4993
4994 * progmodes/gdb-mi.el (gdb-mi-quote): New function.
4995 (gdb-send): Apply it to the operand of the '-interpreter-exec
4996 console' command, so that we can pass arguments with (say) quotes
4997 in them. Store exact string sent in gdb-debug-log (Bug#10765).
4998
9a4888c0
CY
49992012-02-26 Chong Yidong <cyd@gnu.org>
5000
07498861
CY
5001 * help-fns.el (describe-function-1): Clarify description of
5002 remapping (Bug#10844).
5003
9a4888c0
CY
5004 * files.el (files-equal-p): Doc fix.
5005 (file-subdir-of-p): Doc fix. Convert loop macro to plain Lisp,
5006 and quit the loop once a mismatch is found.
5007
ea8fb88d
JB
50082012-02-25 Juanma Barranquero <lekktu@gmail.com>
5009
5010 * bs.el (bs--show-with-configuration): Don't throw an error
5011 if the window cannot be split; otherwise, subsequent calls to
5012 bs-show fail, restoring a stale window config. (Bug#10882)
5013
525795c1
JD
50142012-02-25 Jan Djärv <jan.h.d@swipnet.se>
5015
5016 * term/ns-win.el (global-map): Bind ns-drag-file to
5017 ns-find-file (Bug#5855, Bug#10050).
5018
f008086f
AS
50192012-02-25 Andreas Schwab <schwab@linux-m68k.org>
5020
5021 * calendar/parse-time.el (parse-time-string): Allow extractor to
5022 return nil.
5023
a3fcfa99
MA
50242012-02-25 Michael Albinus <michael.albinus@gmx.de>
5025
91027d08
JB
5026 * net/tramp.el (tramp-file-name-for-operation):
5027 Add `files-equal-p' and `file-subdir-of-p'.
a3fcfa99
MA
5028
5029 * net/tramp-sh.el (tramp-sh-handle-copy-directory):
91027d08
JB
5030 * net/tramp-smb.el (tramp-smb-handle-copy-directory):
5031 Add COPY-CONTENTS argument.
a3fcfa99 5032
67b0de11
CY
50332012-02-25 Chong Yidong <cyd@gnu.org>
5034
5035 Add custom groups for VC backends, for consistency with vc-bzr.
5036
5037 * vc/vc-arch.el (vc-arch):
5038 * vc/vc-cvs.el (vc-cvs):
5039 * vc/vc-git.el (vc-git):
5040 * vc/vc-hg.el (vc-hg):
5041 * vc/vc-mtn.el (vc-mtn):
5042 * vc/vc-rcs.el (vc-rcs):
5043 * vc/vc-sccs.el (vc-sccs):
5044 * vc/vc-svn.el (vc-svn): New customization group (Bug#10871).
5045 All relevant defcustoms reassigned.
5046
3c9dfce6
CY
50472012-02-25 Chong Yidong <cyd@gnu.org>
5048
1339bf43
CY
5049 * newcomment.el (comment-styles): Add autoload (Bug#10868).
5050
3c9dfce6
CY
5051 * term/x-win.el (x-initialize-window-system): Reduce default for
5052 x-selection-timeout to 5 seconds (Bug#8869).
5053
25b2e303 50542012-02-24 Thierry Volpiatto <thierry.volpiatto@gmail.com>
5055
ec70a47d
GM
5056 * files.el (files-equal-p, file-subdir-of-p): New functions.
5057 (copy-directory): Error when trying to copy a directory on itself.
25b2e303 5058 Add missing copy-contents arg to tramp handler.
ec70a47d
GM
5059 * dired-aux.el (dired-copy-file-recursive): Same.
5060 (dired-create-files): Modify destination when source is equal to
5061 dest when copying files.
53a46cd0 5062 Return also when dest is a subdir of source. (Bug#10489)
25b2e303 5063
914260cd
MA
50642012-02-24 Michael Albinus <michael.albinus@gmx.de>
5065
5066 * net/ange-ftp.el (ange-ftp-parse-netrc): Suppress comment lines.
5067 (Bug#10874)
5068
2cb228f7
AM
50692012-02-23 Alan Mackenzie <acm@muc.de>
5070
5071 * emacs-lisp/easy-mmode.el (define-minor-mode): Add extra
5072 parameter "after-hook:" to allow the expansion to run code after
5073 the execution of the mode hooks.
5074
5075 * font-lock.el (font-lock-initial-fontify): New function extracted
91027d08 5076 from font-lock-mode-internal.
2cb228f7 5077
91027d08 5078 * font-core.el (font-lock-mode): Call font-lock-initial-fontify in
2cb228f7
AM
5079 :after-hook.
5080
8f0fde21
SM
50812012-02-23 Stefan Monnier <monnier@iro.umontreal.ca>
5082
3e88618b
SM
5083 * minibuffer.el: Make sure cycling is reset upon edit with icomplete.el.
5084 (completion--cache-all-sorted-completions): New function.
5085 (completion-all-sorted-completions): Use it.
5086 (completion--do-completion, minibuffer-force-complete):
5087 Use it to re-instate the flush hook.
5088
8f0fde21
SM
5089 * icomplete.el (icomplete-completions): Replace last fix with a better
5090 one (bug#10850).
5091
8e911f6f
DG
50922012-02-23 Dmitry Gutov <dgutov@yandex.ru>
5093
5094 * emacs-lisp/lisp.el (beginning-of-defun-raw): Don't call end-of-defun
5095 when it might call us back infinitely (bug#10797).
5096
49fe4321
GM
50972012-02-23 Glenn Morris <rgm@gnu.org>
5098
5099 * minibuffer.el (completion-category-overrides): Doc fix.
5100
b291b572
SM
51012012-02-23 Stefan Monnier <monnier@iro.umontreal.ca>
5102
5103 * minibuffer.el (completion-table-with-context): Fix inf-loop.
5104 Reported by Aaron S. Hawley <aaron.s.hawley@gmail.com>.
5105
31a9ef2e
GM
51062012-02-23 Glenn Morris <rgm@gnu.org>
5107
5e6e6794 5108 * emacs-lisp/authors.el (authors-aliases, authors-fixed-case)
31a9ef2e
GM
5109 (authors-obsolete-files-regexps, authors-ignored-files)
5110 (authors-ambiguous-files, authors-renamed-files-alist):
5111 Add more entries.
5112
0bd1e074
JL
51132012-02-23 Juri Linkov <juri@jurta.org>
5114
5115 * isearch.el (isearch-occur): Sync interactive spec with occur's
5116 new feature in `occur-read-primary-args'. Doc fix. (Bug#10705)
5117
b617673c
JL
5118 * replace.el (occur-menu-map): Add menu item for `occur-edit-mode'.
5119
19e9789e
JL
51202012-02-22 Juri Linkov <juri@jurta.org>
5121
5122 * international/mule-cmds.el (read-char-by-name): Use \` and \'.
5123 (ucs-insert): Doc fix. Check for hex digits in the string.
5124 Don't display `nil' in the error message. (Bug#10857)
5125
f41ce09d
AM
51262012-02-22 Alan Mackenzie <acm@muc.de>
5127
7a71b18d 5128 * progmodes/cc-mode.el: Revert change #2012-02-06T22:08:41Z!larsi@gnus.org from 2012-02-06.
f41ce09d 5129
ac2eceee
GM
51302012-02-22 Glenn Morris <rgm@gnu.org>
5131
5132 * ffap.el (ffap-c-path):
5133 * man.el (Man-header-file-path): Handle multiarch. (Bug#10702)
5134
abd1f678
CY
51352012-02-22 Chong Yidong <cyd@gnu.org>
5136
5137 * custom.el (load-theme): Doc fix.
5138
f25aef2e
GM
51392012-02-22 Glenn Morris <rgm@gnu.org>
5140
5141 * dired-x.el (dired-guess-shell-alist-default):
5142 Remove escape sequences from nroff output. (Bug#172)
5143
5f8dc2ca
GM
51442012-02-21 Glenn Morris <rgm@gnu.org>
5145
6ff86ec4
GM
5146 * vc/emerge.el (emerge-defvar-local):
5147 Set `permanent-local' property rather than unused `preserved'.
5148
be3223a3 5149 * textmodes/picture.el (picture-delete-char): New alias.
5f8dc2ca
GM
5150 (picture-mode-map): Use it. (Bug#10860)
5151 (picture-mode): Doc fix.
5152
3fe58f4f
JB
51532012-02-21 Juanma Barranquero <lekktu@gmail.com>
5154
5155 * newcomment.el (uncomment-region-default): Remove unused binding.
5156
f9a998c3
GM
51572012-02-21 Glenn Morris <rgm@gnu.org>
5158
5159 * textmodes/picture.el (picture-motion, picture-motion-reverse)
5160 (picture-self-insert, picture-tab-chars): Doc fix.
5161 (picture-mode-map): Fix C-a, C-e.
5162
c6029348
GM
51632012-02-20 Glenn Morris <rgm@gnu.org>
5164
5165 * emacs-lisp/authors.el (authors-aliases): Add another entry.
5166
ab1ce9d7
LL
51672012-02-20 Leo Liu <sdl.web@gmail.com>
5168
5169 * icomplete.el (icomplete-completions): Check FROM arg before
5170 passing to substring (Bug#10850).
5171
0fd40f89
CY
51722012-02-19 Chong Yidong <cyd@gnu.org>
5173
5174 * comint.el: Require ansi-color.
5175 (comint-output-filter-functions): Add ansi-color-process-output.
5176
5177 * ansi-color.el: Don't set comint-output-filter-functions; it is
5178 now in the initial value defined in comint.el.
5179 (ansi-color-apply-face-function): New variable.
5180 (ansi-color-apply-on-region): Use it.
5181 (ansi-color-apply-overlay-face): New function.
5182
5183 * shell.el (shell): No need to require ansi-color.
5184 (shell-mode): Use ansi-color-apply-face-function to highlight
5185 color escapes using font-lock-face property (Bug#10835).
5186
20af2394
CY
51872012-02-19 Chong Yidong <cyd@gnu.org>
5188
5189 * vc/ediff-init.el (ediff-strip-mode-line-format): Handle non-list
5190 mode-line formats (Bug#10839).
5191
e23a3fbe
GM
51922012-02-18 Glenn Morris <rgm@gnu.org>
5193
b474519e
GM
5194 * mail/rmail.el (rmail-dont-reply-to-names): Mark as obsolete.
5195
5196 * mail/undigest.el (unforward-rmail-message): Doc fix.
5197
e23a3fbe
GM
5198 * saveplace.el (save-place-ignore-files-regexp): Add :version.
5199
57939ff4
EZ
52002012-02-18 Eli Zaretskii <eliz@gnu.org>
5201
5202 * international/characters.el (script-list): Sync with the latest
5203 Unicode Character Database.
5204
0c23686e
AS
52052012-02-18 Andreas Schwab <schwab@linux-m68k.org>
5206
5207 * international/titdic-cnv.el: Remove duplicate coding tag.
5208 * language/cham.el: Likewise.
5209 * language/tai-viet.el: Likewise.
5210
6818b449
GM
52112012-02-18 Glenn Morris <rgm@gnu.org>
5212
5213 * calendar/cal-menu.el (cal-menu-diary-menu, cal-menu-goto-menu):
5214 * calendar/calendar.el (diary-file, diary-bahai-entry-symbol)
5215 (calendar-bahai-all-holidays-flag, calendar-other-dates):
5216 * calendar/diary-lib.el (diary-abbreviated-year-flag):
5217 * calendar/holidays.el (holiday-bahai-holidays)
5218 (calendar-holidays, list-holidays):
5219 Use utf-8 Bahá'í in doc-strings, menus, etc.
5220
0311a3fc
TH
52212012-02-17 Tassilo Horn <tassilo@member.fsf.org>
5222
5223 * saveplace.el (save-place-ignore-files-regexp): New variable
5224 allowing for excluding files from saving their location of point.
5225 The default value matches the temporary commit message editing
5226 files from Git, SVN, Bazaar, and Mercurial.
5227 (save-place-to-alist): Use it.
5228
eb864a71
LM
52292012-02-17 Lawrence Mitchell <wence@gmx.li>
5230 Stefan Monnier <monnier@iro.umontreal.ca>
5231
5232 * newcomment.el (uncomment-region-default): Don't leave extra space
5233 when an arg is provided (bug#8150).
5234
ee0ce425
TZ
52352012-02-17 Teodor Zlatanov <tzz@lifelogs.com>
5236
eb864a71 5237 * net/gnutls.el (gnutls-trustfiles): Fix Cygwin bundle location.
ee0ce425 5238
95ddf442
GM
52392012-02-17 Glenn Morris <rgm@gnu.org>
5240
5241 * net/socks.el: Require network-stream. (Bug#10599)
5242
48dd1e39 52432012-02-17 Kenichi Handa <handa@m17n.org>
c406be43
KH
5244
5245 * international/charprop.el:
5246 * international/uni-name.el:
5247 * international/uni-old-name.el:
5248 * international/uni-comment.el: Regenerate.
5249
d68cd087
GM
52502012-02-16 Glenn Morris <rgm@gnu.org>
5251
5252 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits):
5253 Interactively in calendar buffer, give an error if not on a date.
5254
13932042
GM
52552012-02-15 Glenn Morris <rgm@gnu.org>
5256
5257 * shell.el (shell-delimiter-argument-list):
5258 Revert 2011-02-17 change. (Bug#8027)
5259
c3a70e2b
CY
52602012-02-15 Chong Yidong <cyd@gnu.org>
5261
60236b0d
CY
5262 * minibuffer.el (completion-at-point-functions): Doc fix.
5263
c3a70e2b
CY
5264 * custom.el (defcustom): Doc fix; note use of defvar.
5265
9f26dc24
GM
52662012-02-15 Glenn Morris <rgm@gnu.org>
5267
5268 * mail/smtpmail.el (smtpmail-smtp-user, smtpmail-stream-type):
5269 Doc fixes.
5270
6546b134
GM
52712012-02-14 Glenn Morris <rgm@gnu.org>
5272
5273 * mail/smtpmail.el (smtpmail-query-smtp-server): Give it a doc.
5274
d29b2b4c
LI
52752012-02-14 Lars Ingebrigtsen <larsi@gnus.org>
5276
5277 * mail/smtpmail.el (smtpmail-query-smtp-server): Fix typo in the
5278 way the ports list is computed.
835bdcba
LI
5279 (smtpmail-query-smtp-server): Prompt the user for a port number if
5280 we can't connect to any of the standard ports (bug#10810).
d29b2b4c 5281
08dcdbc9
TZ
52822012-02-14 Teodor Zlatanov <tzz@lifelogs.com>
5283
5284 * net/gnutls.el (gnutls-trustfiles): Add Cygwin location.
5285
2605051a
GM
52862012-02-13 Glenn Morris <rgm@gnu.org>
5287
5288 * minibuffer.el (read-file-name): Doc fix. (Bug#10798)
5289
7ee99f32
TZ
52902012-02-13 Teodor Zlatanov <tzz@lifelogs.com>
5291
5292 * net/gnutls.el (gnutls-trustfiles): New variable.
5293 (gnutls-negotiate): Use it.
5294
5f0af64f
LI
52952012-02-13 Lars Ingebrigtsen <larsi@gnus.org>
5296
5297 * simple.el (mail-user-agent): Mention that `gnus-user-agent' only
5298 does its stuff if Gnus is running.
5299
c14fcc95
AM
53002012-02-13 Alan Mackenzie <acm@muc.de>
5301
5302 Fix a loop in c-set-fl-decl-start.
5303
7a71b18d 5304 * progmodes/cc-engine.el (c-set-fl-decl-start): Add a check that
c14fcc95
AM
5305 c-backward-syntactic-ws actually moves backwards.
5306
142b4d90
LL
53072012-02-13 Leo Liu <sdl.web@gmail.com>
5308
5309 * net/rcirc.el (rcirc-markup-attributes): Move point to the
5310 beginning so that all \C-o chars are removed.
5311
fa9958a6
TZ
53122012-02-12 Teodor Zlatanov <tzz@lifelogs.com>
5313
dc9924b8 5314 * net/gnutls.el (gnutls-algorithm-priority): Add missing :group tag.
fa9958a6 5315
0bc5886a
AM
53162012-02-12 Alan Mackenzie <acm@muc.de>
5317
5318 Fix infinite loop with long macros.
4d6769e1 5319 * progmodes/cc-engine.el (c-state-safe-place): Handle macros properly.
0bc5886a 5320
d4bd55e7
CY
53212012-02-12 Chong Yidong <cyd@gnu.org>
5322
5323 * window.el (display-buffer): Doc fix (Bug#10785).
5324
66f3fe22
GM
53252012-02-12 Glenn Morris <rgm@gnu.org>
5326
bd7da63e
GM
5327 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
5328 (x-disown-selection-internal, x-get-selection-internal):
5329 Sync docs with the xselect.c versions.
5330
66f3fe22
GM
5331 * allout-widgets.el: Add missing license notice.
5332
3e0d2fa7
GM
53332012-02-11 Glenn Morris <rgm@gnu.org>
5334
cfecdf09
GM
5335 * select.el (x-get-selection-internal, x-own-selection-internal)
5336 (x-disown-selection-internal):
5337 * x-dnd.el (x-get-selection-internal): Update declarations.
5338
6d216d7f
GM
5339 * vc/log-view.el (vc-diff-internal): Remove unneeded declaration.
5340
2bed3f04
GM
5341 * window.el (window-sides-slots):
5342 * tool-bar.el (tool-bar-position):
5343 * term/xterm.el (xterm-extra-capabilities):
5344 * ses.el (ses-self-reference-early-detection):
5345 * progmodes/verilog-mode.el (verilog-auto-declare-nettype)
5346 (verilog-auto-wire-type)
5347 (verilog-auto-delete-trailing-whitespace)
5348 (verilog-auto-reset-blocking-in-non, verilog-auto-inst-sort)
5349 (verilog-auto-tieoff-declaration):
5350 * progmodes/sql.el (sql-login-hook, sql-ansi-statement-starters)
5351 (sql-oracle-statement-starters, sql-oracle-scan-on):
5352 * progmodes/prolog.el (prolog-align-comments-flag)
5353 (prolog-indent-mline-comments-flag, prolog-object-end-to-0-flag)
5354 (prolog-left-indent-regexp, prolog-paren-indent-p)
5355 (prolog-paren-indent, prolog-parse-mode, prolog-keywords)
5356 (prolog-types, prolog-mode-specificators)
5357 (prolog-determinism-specificators, prolog-directives)
5358 (prolog-electric-newline-flag, prolog-hungry-delete-key-flag)
5359 (prolog-electric-dot-flag)
5360 (prolog-electric-dot-full-predicate-template)
5361 (prolog-electric-underscore-flag, prolog-electric-tab-flag)
5362 (prolog-electric-if-then-else-flag, prolog-electric-colon-flag)
5363 (prolog-electric-dash-flag, prolog-old-sicstus-keys-flag)
5364 (prolog-program-switches, prolog-prompt-regexp)
5365 (prolog-debug-on-string, prolog-debug-off-string)
5366 (prolog-trace-on-string, prolog-trace-off-string)
5367 (prolog-zip-on-string, prolog-zip-off-string)
5368 (prolog-use-standard-consult-compile-method-flag)
5369 (prolog-use-prolog-tokenizer-flag, prolog-imenu-flag)
5370 (prolog-imenu-max-lines, prolog-info-predicate-index)
5371 (prolog-underscore-wordchar-flag, prolog-use-sicstus-sd)
5372 (prolog-char-quote-workaround):
5373 * progmodes/cc-vars.el (c-defun-tactic):
5374 * net/tramp.el (tramp-encoding-command-interactive)
5375 (tramp-local-end-of-line):
5376 * net/soap-client.el (soap-client):
5377 * net/netrc.el (netrc-file):
5378 * net/gnutls.el (gnutls):
5379 * minibuffer.el (completion-category-overrides)
5380 (completion-cycle-threshold)
5381 (completion-pcm-complete-word-inserts-delimiters):
5382 * man.el (Man-name-local-regexp):
5383 * mail/feedmail.el (feedmail-display-full-frame):
5384 * international/characters.el (glyphless-char-display-control):
5385 * eshell/em-ls.el (eshell-ls-date-format):
5386 * emacs-lisp/cl-indent.el (lisp-lambda-list-keyword-alignment)
5387 (lisp-lambda-list-keyword-parameter-indentation)
5388 (lisp-lambda-list-keyword-parameter-alignment):
5389 * doc-view.el (doc-view-image-width, doc-view-unoconv-program):
5390 * dired-x.el (dired-omit-verbose):
5391 * cus-theme.el (custom-theme-allow-multiple-selections):
5392 * calc/calc.el (calc-highlight-selections-with-faces)
5393 (calc-lu-field-reference, calc-lu-power-reference)
5394 (calc-note-threshold):
5395 * battery.el (battery-mode-line-limit):
5396 * arc-mode.el (archive-7z-extract, archive-7z-expunge)
5397 (archive-7z-update):
5398 * allout.el (allout-prefixed-keybindings)
5399 (allout-unprefixed-keybindings)
5400 (allout-inhibit-auto-fill-on-headline)
5401 (allout-flattened-numbering-abbreviation):
5402 * allout-widgets.el (allout-widgets-auto-activation)
5403 (allout-widgets-icons-dark-subdir)
5404 (allout-widgets-icons-light-subdir, allout-widgets-icon-types)
5405 (allout-widgets-theme-dark-background)
5406 (allout-widgets-theme-light-background)
5407 (allout-widgets-item-image-properties-emacs)
5408 (allout-widgets-item-image-properties-xemacs)
5409 (allout-widgets-run-unit-tests-on-load)
5410 (allout-widgets-time-decoration-activity)
5411 (allout-widgets-hook-error-post-time)
5412 (allout-widgets-track-decoration):
5413 Add missing :version tags to new defcustoms and defgroups.
5414
5fec1b8e
GM
5415 * progmodes/sql.el (sql-ansi-statement-starters)
5416 (sql-oracle-statement-starters): Add custom type.
5417
3e0d2fa7
GM
5418 * progmodes/prolog.el: Remove leading '*' from defcustom docs.
5419 (prolog-system-version): Give it a type.
5420
90b671e2
EZ
54212012-02-11 Eli Zaretskii <eliz@gnu.org>
5422
5423 * term/pc-win.el (x-select-text, x-selection-owner-p)
5424 (x-own-selection-internal, x-disown-selection-internal)
5425 (x-get-selection-internal): Sync doc strings and argument lists
5426 with xselect.c, common-win.el and x-win.el. (Bug#10783)
5427
5eac0c02
LL
54282012-02-11 Leo Liu <sdl.web@gmail.com>
5429
5430 * progmodes/python.el (python-end-of-statement): Fix infinite
5431 loop. (Bug#10788)
5432
f82cb659
GM
54332012-02-10 Glenn Morris <rgm@gnu.org>
5434
5435 * international/mule-cmds.el (unify-8859-on-encoding-mode)
5436 (unify-8859-on-decoding-mode): Properly mark as obsolete.
5437
cc26d239
LI
54382012-02-10 Lars Ingebrigtsen <larsi@gnus.org>
5439
5440 * mail/emacsbug.el (report-emacs-bug-hook): Query the user first
5441 about SMTP before checking the From header.
5442
91027d08 5443 * mail/sendmail.el (sendmail-query-user-about-smtp): Refactor out
cc26d239
LI
5444 into own function for reuse by emacsbug.el.
5445
1be3ca5a
LL
54462012-02-10 Leo Liu <sdl.web@gmail.com>
5447
5448 * subr.el (condition-case-unless-debug): Rename from
5449 condition-case-no-debug. All callers changed.
5450 (with-demoted-errors): Fix caller.
5451
5452 * vc/diff-mode.el (diff-auto-refine-mode, diff-hunk):
5453 * nxml/rng-valid.el (rng-do-some-validation):
5454 * emacs-lisp/package.el (package-refresh-contents)
5455 (package-menu-execute):
5456 * desktop.el (desktop-create-buffer):
91027d08 5457 * font-lock.el (lisp-font-lock-keywords-2): Caller changed.
1be3ca5a 5458
b011fbfe
GM
54592012-02-10 Glenn Morris <rgm@gnu.org>
5460
b2096d72
GM
5461 * textmodes/bibtex.el:
5462 Add missing :version tags for new/changed defcustoms.
5463
b011fbfe
GM
5464 * files.el (remote-file-name-inhibit-cache): Doc fixes.
5465
4c7e65bf
LI
54662012-02-09 Lars Ingebrigtsen <larsi@rusty>
5467
5468 * mail/smtpmail.el (smtpmail-user-mail-address): New function.
5469 (smtpmail-via-smtp): Use it, or fall back on the From address.
5470 (smtpmail-send-it): Ditto.
5471
f3934f6f
SM
54722012-02-09 Stefan Monnier <monnier@iro.umontreal.ca>
5473
5474 * emacs-lisp/bytecomp.el (byte-compile-file-form-defvar):
5475 Don't fallback on byte-compile-defvar. Optimize (defvar foo) away.
5476 (byte-compile-tmp-var): New const.
5477 (byte-compile-defvar): Use it to minimize .elc size.
5478 Just use `defvar' rather than simulate it (bug#10761).
5479
a075a2c5
GM
54802012-02-09 Glenn Morris <rgm@gnu.org>
5481
cf3aa21b
GM
5482 * files.el (rename-uniquely): Doc fix. (Bug#3806)
5483
354998cd
GM
5484 * progmodes/cc-guess.el (c-guess-offset-threshold, c-guess-region-max):
5485 Add :version tags.
5486
dc9924b8
SM
5487 * progmodes/compile.el (compilation-error-screen-columns)
5488 (compilation-first-column, compilation-filter-start): Doc fixes.
83274125 5489
dab3703d
GM
5490 * vc/log-view.el (log-view-toggle-entry-display):
5491 * vc/vc.el (vc-merge, vc-pull): Doc fixes.
5492
3f88cd72
GM
5493 * mail/emacsbug.el (report-emacs-bug-can-use-osx-open)
5494 (report-emacs-bug-can-use-xdg-email):
5495 (report-emacs-bug-insert-to-mailer): Doc fixes.
5496 (report-emacs-bug): Message fix.
5497
d95b247d
GM
5498 * net/browse-url.el (browse-url-can-use-xdg-open)
5499 (browse-url-xdg-open): Doc fixes.
5500
a075a2c5
GM
5501 * electric.el (electric-indent-mode, electric-pair-mode)
5502 (electric-layout-rules, electric-layout-mode): Doc fixes.
5503 (electric-pair-pairs, electric-pair-skip-self): Add :version tags.
5504
ffb6157e
MR
55052012-02-08 Martin Rudalics <rudalics@gmx.at>
5506
5507 * server.el (server-unselect-display): Don't inadvertently kill
5508 the current buffer. (Bug#10729)
5509
e1ac4066
GM
55102012-02-08 Glenn Morris <rgm@gnu.org>
5511
34e8a2da
GM
5512 * progmodes/sql.el (sql-port, sql-connection-alist, sql-list-all)
5513 (sql-list-table): Doc fixes.
5514
b4ac6e8c
GM
5515 * image-mode.el (image-transform-minor-mode-map, image-transform-mode):
5516 Comment out (does nothing).
5517
e1ac4066
GM
5518 * completion.el (dynamic-completion-mode):
5519 * dirtrack.el (dirtrack-debug-mode):
5520 * electric.el (electric-layout-mode):
5521 * epa-mail.el (epa-mail-mode, epa-global-mail-mode):
5522 * face-remap.el (text-scale-mode, buffer-face-mode):
5523 * iimage.el (iimage-mode):
5524 * image-mode.el (image-transform-mode):
5525 * minibuffer.el (completion-in-region-mode):
5526 * scroll-lock.el (scroll-lock-mode):
5527 * simple.el (next-error-follow-minor-mode):
5528 * tar-mode.el (tar-subfile-mode):
5529 * tooltip.el (tooltip-mode):
5530 * vcursor.el (vcursor-use-vcursor-map):
5531 * wid-browse.el (widget-minor-mode):
5532 * emulation/tpu-edt.el (tpu-edt-mode):
5533 * emulation/tpu-extras.el (tpu-cursor-free-mode):
5534 * international/iso-ascii.el (iso-ascii-mode):
5535 * language/thai-util.el (thai-word-mode):
5536 * mail/supercite.el (sc-minor-mode):
5537 * net/goto-addr.el (goto-address-mode):
5538 * net/rcirc.el (rcirc-multiline-minor-mode, rcirc-track-minor-mode):
5539 * progmodes/cwarn.el (cwarn-mode):
5540 * progmodes/flymake.el (flymake-mode):
5541 * progmodes/glasses.el (glasses-mode):
5542 * progmodes/hideshow.el (hs-minor-mode):
5543 * progmodes/pascal.el (pascal-outline-mode):
5544 * textmodes/enriched.el (enriched-mode):
5545 * vc/smerge-mode.el (smerge-mode):
5546 Doc fixes (minor mode argument).
5547
5e0d957f
EZ
55482012-02-07 Eli Zaretskii <eliz@gnu.org>
5549
5550 * ls-lisp.el (ls-lisp-sanitize): New function.
5551 (ls-lisp-insert-directory): Use it to fix or remove any elements
5552 in file-alist with missing attributes. (Bug#4673)
5553
98d7371e
AM
55542012-02-07 Alan Mackenzie <acm@muc.de>
5555
5556 Fix spurious recognition of c-in-knr-argdecl.
5557
5558 * progmodes/cc-engine.el (c-in-knr-argdecl): Check for '=' in a
5559 putative K&R region.
5560
667ced3a
AM
55612012-02-07 Alan Mackenzie <acm@muc.de>
5562
eb864a71
LM
5563 * progmodes/cc-engine.el (c-forward-objc-directive):
5564 Prevent looping in "#pragma mark @implementation".
667ced3a 5565
5b77774d
MA
55662012-02-07 Michael Albinus <michael.albinus@gmx.de>
5567
5568 * notifications.el (notifications-on-closed-signal): Make `reason'
5569 optional. (Bug#10744)
5570
af008560
GM
55712012-02-07 Glenn Morris <rgm@gnu.org>
5572
60d47423
GM
5573 * emacs-lisp/easy-mmode.el (define-minor-mode):
5574 Doc fixes for the macro and the mode it defines.
5575
dd605cc4
GM
5576 * image.el (imagemagick-types-inhibit): Doc fix.
5577
af008560
GM
5578 * cus-start.el (imagemagick-render-type): Add it.
5579
5cc59a37
LI
55802012-02-06 Lars Ingebrigtsen <larsi@gnus.org>
5581
4d6769e1
JB
5582 * progmodes/cc-mode.el (c-standard-font-lock-fontify-region-function):
5583 Set the default at load time, too, so that `font-lock-fontify-buffer'
5584 can be called without setting up the entire mode first. This fixes
5585 a bug in `mm-inline-text' with C MIME parts.
5cc59a37 5586
9a6dd747
CY
55872012-02-06 Chong Yidong <cyd@gnu.org>
5588
2d16b285
CY
5589 * simple.el (list-processes--refresh): Delete exited processes
5590 (Bug#8094).
5591
171e9b6e
CY
5592 * comint.el (comint-next-prompt): next-single-char-property-change
5593 and prev-single-char-property-change never return nil (Bug#8657).
5594
9a6dd747
CY
5595 * custom.el (defcustom): Doc fix (Bug#9711).
5596
aa4589a7
CY
55972012-02-05 Chong Yidong <cyd@gnu.org>
5598
5c2a252f
CY
5599 * cus-edit.el (custom-variable-reset-backup): Quote the value
5600 before storing it in the customized-value property (Bug#6712).
4aab9006 5601 (custom-display): Add a customization type tag.
983b9602 5602 (custom-buffer-create-internal): Improve tooltip message.
5c2a252f 5603
aa4589a7
CY
5604 * wid-edit.el (widget-field-value-get): New optional arg to
5605 suppress trailing whitespace truncation.
5606 (character): Use it (Bug#2689).
5607
1ff980ae
AS
56082012-02-05 Andreas Schwab <schwab@linux-m68k.org>
5609
5610 * progmodes/gud.el (gud-pv): Use pv instead of pv1.
5611 * progmodes/gdb-mi.el (gud-pp): Use pp instead of pp1.
5612
03988c98
CY
56132012-02-05 Chong Yidong <cyd@gnu.org>
5614
eeb6cc88
CY
5615 * cus-edit.el (custom-variable-value-create): For mismatched
5616 types, show the current value (Bug#7600).
5617
03988c98
CY
5618 * custom.el (defcustom): Doc fix.
5619
f8cdeef0
GM
56202012-02-05 Glenn Morris <rgm@gnu.org>
5621
5622 * font-lock.el (lisp-font-lock-keywords-2): Add with-wrapper-hook.
5623
0696d255
JB
56242012-02-05 Juanma Barranquero <lekktu@gmail.com>
5625
5626 * emacs-lisp/pp.el (pp-to-string): Use `with-temp-buffer'.
5627 (pp-buffer): Use `ignore-errors', `looking-at-p'.
5628 (pp-last-sexp): Use `looking-at-p'.
5629
34c99998
GM
56302012-02-04 Glenn Morris <rgm@gnu.org>
5631
8f05da42
GM
5632 * files.el (revert-buffer):
5633 Doc fix (mention revert-buffer-in-progress-p).
5634
f160676e
GM
5635 * emacs-lisp/ert-x.el (ert-simulate-command):
5636 Check deferred-action-list (which is obsolete) is bound.
5637
c7291ad9
GM
5638 * subr.el (with-wrapper-hook): Doc fixes.
5639
34c99998
GM
5640 * simple.el (filter-buffer-substring-functions)
5641 (buffer-substring-filters, filter-buffer-substring): Doc fixes.
5642
6283a7d3
LL
56432012-02-04 Lars Ljung <lars@matholka.se> (tiny change)
5644
5645 * eshell/esh-ext.el (eshell-windows-shell-file): Match "cmdproxy"
5646 anywhere in shell-file-name, not just at the beginning. (Bug#10523)
5647
e96e3013
LL
56482012-02-04 Leo Liu <sdl.web@gmail.com>
5649
5650 * emacs-lisp/smie.el: Fix dead link (Bug#10711).
5651
8ded50f2
GM
56522012-02-04 Glenn Morris <rgm@gnu.org>
5653
82ff1d13
GM
5654 * image.el (image-extension-data): Add obsolete alias.
5655
987a0a16
GM
5656 * isearch.el (isearch-update): Doc fix.
5657
ea32ef46
GM
5658 * facemenu.el (list-colors-display): Doc fix (minor rephrasing).
5659
8ded50f2
GM
5660 * ido.el (ido-find-file): Doc fix (ido-toggle-vc not on any key).
5661
eea14f31
GM
56622012-02-03 Glenn Morris <rgm@gnu.org>
5663
5664 * image.el (image-animated-p): Doc fix. Use image-animated-types.
5665 (image-animate-timeout): Doc fix.
5666
5667 * image-mode.el (image-animate-loop, image-toggle-animation): Doc fixes.
5668
12f381b7
GM
56692012-02-02 Glenn Morris <rgm@gnu.org>
5670
953cebf5
GM
5671 * server.el (server-auth-dir): Doc fix.
5672 (server-eval-at): Doc fix. Give an explicit error if !server-use-tcp.
5673
12f381b7
GM
5674 * subr.el (run-mode-hooks): Doc fix.
5675
953a8c3b
JL
56762012-02-02 Juri Linkov <juri@jurta.org>
5677
5678 * image-mode.el (image-toggle-display-image): Remove tautological
5679 `major-mode' from the `derived-mode-p' test.
5680
c5d3843c
KH
56812012-02-02 Kenichi Handa <handa@m17n.org>
5682
9f6e692e 5683 * composite.el (compose-region): Cancel previous change.
c5d3843c 5684
159462d4 56852012-02-02 Kenichi Handa <handa@m17n.org>
d2a51fd7
KH
5686
5687 * composite.el (compose-region, compose-string): Signal error for
5688 a null string component (Bug#6988).
5689
9f562668
CY
56902012-02-01 Chong Yidong <cyd@gnu.org>
5691
e2cef717
CY
5692 * view.el (view-buffer-other-window, view-buffer-other-frame):
5693 Handle special modes like view-buffer (Bug#10650).
5694 (view-buffer): Simplify.
5695
9f562668
CY
5696 * frame.el (set-frame-font): Tweak meaning of third argument.
5697
9f6e692e
JB
5698 * dynamic-setting.el (font-setting-change-default-font):
5699 Use set-frame-font (Bug#9982).
9f562668 5700
781acb9f
GM
57012012-02-01 Glenn Morris <rgm@gnu.org>
5702
6035be52
GM
5703 * progmodes/compile.el (compilation-internal-error-properties):
5704 Respect compilation-first-column in the "*compilation*" buffer.
5705
781acb9f
GM
5706 * emacs-lisp/easy-mmode.el (define-minor-mode):
5707 Relax :variable's test for a named function.
5708
abbceb00
AM
57092012-01-31 Alan Mackenzie <acm@muc.de>
5710
5711 * progmodes/cc-engine.el (c-guess-basic-syntax): CASE 5B.1: Fix an
5712 off by one error.
5713
fce3fdeb
CY
57142012-01-31 Chong Yidong <cyd@gnu.org>
5715
5716 * frame.el (set-frame-font): New arg ALL-FRAMES.
5717
5718 * menu-bar.el (menu-set-font): Use set-frame-font.
5719
5720 * faces.el (face-spec-reset-face): Don't apply unspecified
5721 attribute values to the default face.
5722
47893581
JB
57232012-01-31 Juanma Barranquero <lekktu@gmail.com>
5724
5725 * progmodes/cwarn.el (cwarn): Remove dead link.
5726 (cwarn-configuration, cwarn-verbose, cwarn-mode-text, cwarn-load-hook):
5727 Remove * from defcustom docstrings.
5728 (turn-on-cwarn-mode): Make obsolete.
5729 (c-at-toplevel-p): Remove compatibility code for Emacs 20.3 and older.
5730 (turn-on-cwarn-mode-if-enabled): Call `cwarn-mode'.
5731
e58e988a
GM
57322012-01-31 Glenn Morris <rgm@gnu.org>
5733
60dc2671 5734 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix.
6c9b47ae 5735 Fix :variable handling of mode a symbol not equal to modefun.
60dc2671 5736 Allow named functions to be used as the cdr of :variable.
e58e988a 5737
7a3f511d
GM
57382012-01-30 Glenn Morris <rgm@gnu.org>
5739
5740 * emacs-lisp/authors.el (authors-fixed-entries):
5741 Remove reference to deleted file rnewspost.el.
5742
cb882333
JB
57432012-01-29 Juanma Barranquero <lekktu@gmail.com>
5744
5745 * window.el (window-with-parameter): Remove unused variable `windows'.
5746 (window--side-check): Remove unused variable `code'.
5747 (window--resize-siblings): Remove unused variable `first'.
5748 (adjust-window-trailing-edge): Remove unused variable `failed'.
5749 (window-deletable-p, window--delete): Remove unused variable `buffer'.
5750 Use `let', not `let*'.
5751 (balance-windows-2): Remove unused variable `found'.
5752 (window--state-put-2): Remove unused variable `splits'.
5753 (window-state-put): Remove unused variable `selected'.
5754 (same-window-p): Use `string-match-p'.
5755 (display-buffer-assq-regexp): Remove unused variable `value'.
5756 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
5757 Mark argument ALIST as ignored.
5758 (pop-to-buffer): Remove unused variable `old-window'.
5759
907201af
EZ
57602012-01-29 Eli Zaretskii <eliz@gnu.org>
5761
5762 * jka-cmpr-hook.el (jka-compr-compression-info-list): Support .lz
5763 and .lzma compressed files.
5764
ea162670
CY
57652012-01-29 Chong Yidong <cyd@gnu.org>
5766
5b95ee8a
CY
5767 * frame.el (window-system-default-frame-alist): Doc fix.
5768
ea162670
CY
5769 * dynamic-setting.el (font-setting-change-default-font): Don't
5770 change the default face if SET-FONT argument is non-nil (Bug#9982).
5771
d6e6f4b1
SB
57722012-01-29 Samuel Bronson <naesten@gmail.com> (tiny change)
5773
5774 * custom.el (defcustom): Add doc link to Lisp manual (Bug#10635).
5775
0f29fa41 57762012-01-29 Syver Enstad <syver.enstad@cisco.com> (tiny change)
6b25e4e2
SE
5777
5778 * progmodes/gud.el (pdb): Give pdb full paths, to allow setting
5779 breakpoints in files outside current directory (Bug#6098).
5780
db174434
CY
57812012-01-29 Chong Yidong <cyd@gnu.org>
5782
6b25e4e2
SE
5783 * progmodes/python.el: Require ansi-color at top-level.
5784
6df6ae42
JB
5785 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-abbrev-table):
5786 Define and use in Emacs Lisp mode (Bug#9360).
db174434
CY
5787 (lisp-mode-abbrev-table): Add doc.
5788 (lisp-mode-variables): Don't set local-abbrev-table.
5789 (lisp-interaction-mode): Use emacs-lisp-mode-abbrev-table.
5790
e70ee681
RW
57912012-01-28 Roland Winkler <winkler@gnu.org>
5792
5793 * textmodes/bibtex.el (bibtex-vec-incr): Fix docstring.
5794
ace88aa2
RW
57952012-01-28 Roland Winkler <winkler@gnu.org>
5796
5797 * textmodes/bibtex.el (bibtex-entry-alist): New function.
5798 (bibtex-set-dialect): Use it. Either set global values of
5799 dialect-dependent variables or bind these variables buffer-locally
5800 (Bug#10254).
5801 (bibtex-mode): Call bibtex-set-dialect via
5802 hack-local-variables-hook.
eb864a71
LM
5803 (bibtex-dialect): Update docstring.
5804 Add safe-local-variable predicate.
ace88aa2
RW
5805 (bibtex-entry-alist, bibtex-field-alist): Initialize via
5806 bibtex-set-dialect.
5807 (bibtex-mode-map): Define menu for each dialect.
5808 (bibtex-entry): Fix docstring.
5809
93376c5b
CY
58102012-01-28 Chong Yidong <cyd@gnu.org>
5811
5812 * eshell/esh-arg.el (eshell-quote-argument): New function.
5813
5814 * eshell/esh-ext.el (eshell-invoke-batch-file):
5815 * eshell/em-unix.el (eshell/cat, eshell/du): Use it to quote the
5816 first arg to eshell-parse-command (Bug#10523).
5817
4372494f
DA
58182012-01-28 Drew Adams <drew.adams@oracle.com>
5819
5820 * net/ange-ftp.el (ange-ftp-canonize-filename): Check, that
5821 `default-directory' is non-nil.
5822
4d4ec1f8
EZ
58232012-01-28 Eli Zaretskii <eliz@gnu.org>
5824
5825 * mail/emacsbug.el (report-emacs-bug): Fill the potentially long
5826 line that displays system-configuration-options. (Bug#9924)
5827
7c188927
DA
58282012-01-28 Drew Adams <drew.adams@oracle.com>
5829
5830 * descr-text.el (describe-char): Show information about POS, in
5831 addition to information about the character at POS. Improve and
5832 update the doc string. Change "code point" to "code point in
5833 charset", to avoid confusion with the character's Unicode code
5834 point shown above that. (Bug#10129)
5835
e0da685a
EZ
58362012-01-28 Eli Zaretskii <eliz@gnu.org>
5837
5838 * descr-text.el (describe-char): Show the raw character, not only
5839 its display form at POS. Suggested by Kenichi Handa <handa@m17n.org>.
5840 See http://lists.gnu.org/archive/html/emacs-devel/2012-01/msg00760.html
5841 for the reasons.
5842
70550acf
PH
58432012-01-28 Phil Hagelberg <phil@hagelb.org>
5844
eb864a71
LM
5845 * emacs-lisp/package.el (package-install):
5846 Run package-refresh-contents if there is no archive yet (Bug#9798).
70550acf 5847
0ce8e868
CY
58482012-01-28 Chong Yidong <cyd@gnu.org>
5849
cb882333
JB
5850 * emacs-lisp/package.el (package-maybe-load-descriptor):
5851 New function, split from package-maybe-load-descriptor.
0ce8e868
CY
5852 (package-maybe-load-descriptor): Use it.
5853 (package-download-transaction): Fully load required packages
5854 inside the loop, so that `require' calls work (Bug#10593).
5855 (package-install): No need to call package-initialize now.
5856
2e7f3bea
CY
58572012-01-28 Chong Yidong <cyd@gnu.org>
5858
6e9bad14
CY
5859 * simple.el (deactivate-mark): Doc fix (Bug#8614).
5860
f823b8ca
CY
5861 * tooltip.el (tooltip-mode): Doc fix.
5862 (tooltip-use-echo-area): Mark as obsolete (Bug#6595).
5863
2680c309
CY
5864 * frame.el (set-cursor-color): Doc fix (Bug#352).
5865
d7a9e63b
CY
5866 * mail/rmail.el (rmail-start-mail): Add send-action again (Bug#10625).
5867 (rmail-mail-return): Switch to NEWBUF only if it is non-nil.
5868
2e7f3bea
CY
5869 * cus-edit.el (custom-buffer-create-internal): Fix search button
5870 action (Bug#10542).
2ae01800 5871 (customize-unsaved, customize-saved): Doc fix (Bug#10541).
2e7f3bea 5872
fc4f7a23
EW
58732012-01-27 Eduard Wiebe <usenet@pusto.de>
5874
5875 * dired.el (dired-mark-files-regexp):
5876 Include any subdirectory components. (Bug#10445)
5877
7dd37071
ML
58782012-01-27 Mike Lamb <mrlamb@gmail.com> (tiny change)
5879
5880 * pcmpl-unix.el (pcmpl-ssh-known-hosts):
5881 Handle [host]:port syntax. (Bug#10533)
5882
a268160b
AH
58832012-01-27 Alex Harsanyi <harsanyi@mac.com>
5884
5885 * xml.el (xml-parse-tag): Fix parsing of comments (Bug#10405).
5886
e43273ef
GM
58872012-01-26 Glenn Morris <rgm@gnu.org>
5888
5889 * dired-x.el (dired-bind-jump): Use ctl-x-map and ctl-x-4-map.
5890 * term.el (term-raw-escape-map): Use Control-X-prefix.
5891 * vc/vc-hooks.el (vc-prefix-map): Use ctl-x-map. (Bug#10566)
5892
1edf595d
MR
58932012-01-25 Martin Rudalics <rudalics@gmx.at>
5894
5895 * window.el (window-state-get, window--state-get-1): Don't deal
5896 with fixed-sizeness of windows. Simplify code.
5897
fa8eafef
JC
58982012-01-25 Jérémy Compostella <jeremy.compostella@gmail.com>
5899
6df6ae42
JB
5900 * window.el (window--state-get-1, window--state-put-2):
5901 Don't save and restore the mark.
fa8eafef 5902
0b21c100
CY
59032012-01-25 Chong Yidong <cyd@gnu.org>
5904
5905 * custom.el (custom-variable-p): Doc fix.
5906
5ae1a6c8
GM
59072012-01-25 Glenn Morris <rgm@gnu.org>
5908
40047858
GM
5909 * dired.el (dired-goto-file): Handle some of the more common
5910 characters that `ls -b' escapes. (Bug#10596)
5911
5ddce96c
GM
5912 * progmodes/compile.el (compilation-next-error-function):
5913 Respect compilation-first-column in the "*compilation*" buffer.
5914 * progmodes/grep.el (grep-first-column): New variable. (Bug#10594)
5915
5ae1a6c8
GM
5916 * vc/vc.el (vc-modify-change-comment): Scoping fix. (Bug#10513)
5917
b559f1a9
GM
59182012-01-24 Glenn Morris <rgm@gnu.org>
5919
5920 * pcmpl-gnu.el (pcomplete/tar): Handle " - ". (Bug#10457)
5921
6725d21a
JD
59222012-01-24 Julien Danjou <julien@danjou.info>
5923
5924 * color.el (color-rgb-to-hsl): Fix value computing.
5925 (color-hue-to-rgb): New function.
5926 (color-hsl-to-rgb): New function.
5927 (color-clamp, color-saturate-hsl, color-saturate-name)
5928 (color-desaturate-hsl, color-desaturate-name, color-lighten-hsl)
5929 (color-lighten-name, color-darken-hsl, color-darken-name): New function.
5930
70df4bbe
GM
59312012-01-24 Glenn Morris <rgm@gnu.org>
5932
5933 * vc/vc-rcs.el (vc-rcs-create-tag):
5934 * vc/vc-sccs.el (vc-sccs-create-tag):
5935 Fix argument spec to be what vc-create-tag expects. (Bug#10515)
5936
802a2ae2
ML
59372012-01-23 Mike Lamb <mrlamb@gmail.com> (tiny change)
5938
5939 * eshell/esh-util.el (eshell-read-hosts-file):
5940 Skip comment lines. (Bug#10549)
5941
d7128bb1
ML
5942 * eshell/em-unix.el (pcomplete/ssh): Remove. (Bug#10548)
5943
d1a5c3b4
JB
59442012-01-23 Juanma Barranquero <lekktu@gmail.com>
5945
2724d9c7
JB
5946 * subr.el (display-delayed-warnings): Doc fix.
5947 (collapse-delayed-warnings): New function to collapse identical
5948 adjacent warnings.
5949 (delayed-warnings-hook): Add it.
d1a5c3b4 5950
a5509865
MA
59512012-01-22 Michael Albinus <michael.albinus@gmx.de>
5952
5953 * net/tramp.el (tramp-action-login): Set connection property "login-as".
5954
a5509865
MA
5955 * net/tramp-sh.el (tramp-methods): Add user spec to "pscp" and "psftp".
5956 (tramp-default-user-alist): Don't add "pscp".
5957 (tramp-do-copy-or-rename-file-out-of-band): Use connection
5958 property "login-as", if set. (Bug#10530)
5959
cc6d5805
MA
59602012-01-21 Michael Albinus <michael.albinus@gmx.de>
5961
5962 * net/tramp-sh.el (tramp-default-user-alist): Don't add "plink",
5963 "plink1" and "psftp". (Bug#10530)
5964
59652012-01-21 Kenichi Handa <handa@m17n.org>
71784361
KH
5966
5967 * international/mule-cmds.el (prefer-coding-system): Show a
5968 warning message if the default value of file-name-coding-system
5969 was not changed.
5970
f0960428
JC
59712012-01-21 Jérémy Compostella <jeremy.compostella@gmail.com>
5972
cb882333
JB
5973 * windmove.el (windmove-reference-loc):
5974 Fix windmove-reference-loc miscalculation.
f0960428 5975
dd6f2a63
JB
59762012-01-21 Jay Belanger <jay.p.belanger@gmail.com>
5977
5978 * calc/calc-units.el (math-put-default-units): Don't use "1" as a
5979 default unit.
5980
7b447e9b
GM
59812012-01-21 Glenn Morris <rgm@gnu.org>
5982
117a9ea1
GM
5983 * international/mule.el (auto-coding-alist): Add .tbz.
5984
7b447e9b
GM
5985 * files.el (local-enable-local-variables): Doc fix.
5986 (inhibit-local-variables-regexps): Rename from
5987 inhibit-first-line-modes-regexps. Keep old name as obsolete alias.
5988 Doc fix. Add some extensions from auto-coding-alist.
5989 (inhibit-local-variables-suffixes):
5990 Rename from inhibit-first-line-modes-suffixes. Doc fix.
5991 (inhibit-local-variables-p):
5992 New function, extracted from set-auto-mode-1.
5993 (set-auto-mode): Doc fix. Respect inhibit-local-variables-regexps.
5994 (set-auto-mode-1): Doc fix. Use inhibit-local-variables-p.
5995 (hack-local-variables): Doc fix. Make the mode-only case
5996 respect enable-local-variables and friends.
5997 Respect inhibit-local-variables-regexps for file-locals, but
5998 not for directory-locals.
5999 (set-visited-file-name):
6000 Take account of inhibit-local-variables-regexps.
6001 Whether it applies may change as the file name is changed.
6002 * jka-cmpr-hook.el (jka-compr-install):
6003 * jka-compr.el (jka-compr-uninstall):
6004 Update for inhibit-first-line-modes-suffixes name change.
6005
dd6e3cdd
MR
60062012-01-20 Martin Rudalics <rudalics@gmx.at>
6007
6008 * help-macro.el (make-help-screen): Temporarily restore original
6009 binding for minor-mode-map-alist (Bug#10454).
6010
0d0deb38
JD
60112012-01-19 Julien Danjou <julien@danjou.info>
6012
6013 * color.el (color-name-to-rgb): Use the white color to find the max
6014 color component value and return correctly computed values.
6015 (color-name-to-rgb): Add missing float conversion for max value.
6016
34a02f46
MR
60172012-01-19 Martin Rudalics <rudalics@gmx.at>
6018
6019 * window.el (window--state-get-1, window-state-get): Do not use
eb864a71
LM
6020 special state value for window-persistent-parameters.
6021 Rename argument IGNORE to WRITABLE. Rewrite doc-string.
34a02f46
MR
6022 (window--state-put-2): Reset all window parameters to nil before
6023 assigning values of persistent parameters.
6024
606c44c4
AM
60252012-01-18 Alan Mackenzie <acm@muc.de>
6026
6027 Eliminate sluggishness and hangs in fontification of "semicolon
6028 deserts".
6029
cb882333
JB
6030 * progmodes/cc-engine.el (c-state-nonlit-pos-interval):
6031 Change value 10000 -> 3000.
606c44c4
AM
6032 (c-state-safe-place): Reformulate so it doesn't stack up an
6033 infinite number of wrong entries in c-state-nonlit-pos-cache.
6034 (c-determine-limit-get-base, c-determine-limit): New functions to
6035 determine backward search limits disregarding literals.
6036 (c-find-decl-spots): Amend commenting.
6037 (c-cheap-inside-bracelist-p): New function which detects "={".
6038
6039 * progmodes/cc-fonts.el
6040 (c-make-font-lock-BO-decl-search-function): Give a limit to a
6041 backward search.
6042 (c-font-lock-declarations): Fix an occurrence of point being
6043 undefined. Check additionally for point being in a bracelist or
6044 near a macro invocation without a semicolon so as to avoid a
6045 fruitless time consuming search for a declarator. Give a more
6046 precise search limit for declarators using the new
6047 c-determine-limit.
6048
f3860cea
GM
60492012-01-18 Glenn Morris <rgm@gnu.org>
6050
6051 * files.el (auto-mode-alist, inhibit-first-line-modes-regexps)
6052 (set-auto-mode): Doc fixes.
6053
1db03b16
GM
60542012-01-17 Glenn Morris <rgm@gnu.org>
6055
0e6038be
GM
6056 * isearch.el (search-nonincremental-instead): Fix doc typo.
6057
1db03b16
GM
6058 * dired.el (dired-insert-directory): Handle newlines in directory name.
6059 (dired-build-subdir-alist): Unescape newlines in directory name.
6060
4cb0aa75
MA
60612012-01-17 Michael Albinus <michael.albinus@gmx.de>
6062
6063 * net/tramp.el (tramp-local-end-of-line): New defcustom.
6064 (tramp-action-login, tramp-action-yesno, tramp-action-yn)
6065 (tramp-action-terminal): Use it. (Bug#10530)
6066
1d00653d
SM
60672012-01-16 Stefan Monnier <monnier@iro.umontreal.ca>
6068
6069 * minibuffer.el (completion--replace): Strip properties (bug#10062).
6070
6a6ee00d
MR
60712012-01-16 Martin Rudalics <rudalics@gmx.at>
6072
6073 * window.el (window-state-ignored-parameters): Remove variable.
6074 (window--state-get-1): Rename argument MARKERS to IGNORE.
6075 Handle persistent window parameters. Make copy of clone-of
6076 parameter only if requested. (Bug#10348)
6077 (window--state-put-2): Install a window parameter only if it has
6078 a non-nil value or an existing parameter shall be overwritten.
6079
97912def
MA
60802012-01-15 Michael Albinus <michael.albinus@gmx.de>
6081
6082 * net/tramp-sh.el (tramp-remote-path): Set tramp-autoload cookie.
6083
688070a5
EZ
60842012-01-14 Eli Zaretskii <eliz@gnu.org>
6085
6086 * info.el (Info-toc-build): If the Info file has no "Up" pointer,
6087 don't pass the (nil) value of `upnode' to string-match.
6088
301afadc
CY
60892012-01-14 Chong Yidong <cyd@gnu.org>
6090
6091 * startup.el (command-line): Fix X resource class for cursorColor.
04877ddb 6092 Fix values recognized by the cursorBlink resource.
301afadc 6093
9e5788aa
PE
60942012-01-14 Paul Eggert <eggert@cs.ucla.edu>
6095
6096 * epg.el (epg--make-temp-file): Avoid permission race condition
6097 when running on old Emacs versions (bug#10403).
6098
3cdb7f5a
GM
60992012-01-14 Glenn Morris <rgm@gnu.org>
6100
6101 * dired.el (dired-get-filename): Fix 'verbatim case of previous change.
6102
8c82b1b4
AM
61032012-01-13 Alan Mackenzie <acm@muc.de>
6104
6105 Fix filling for when filladapt mode is enabled.
6106
6107 * progmodes/cc-cmds.el (c-fill-paragraph): In the invocation of
6108 c-mask-paragraph, pass in `fill-paragraph' rather than
6109 `fill-region-as-paragraph'. (This is a reversion of a previous
6110 change.)
eb864a71
LM
6111 * progmodes/cc-mode.el (c-basic-common-init):
6112 Make fill-paragraph-handle-comment buffer local and set it to nil.
8c82b1b4 6113
e517eda4
GM
61142012-01-13 Glenn Morris <rgm@gnu.org>
6115
1498536e
GM
6116 * dired.el (dired-switches-escape-p): New function.
6117 (dired-insert-directory): Use dired-switches-escape-p.
6118 (dired-get-filename): Undo "\ " quoting if needed. (Bug#10469)
6119
e517eda4
GM
6120 * find-dired.el (find-ls-option): Doc fix. (Bug#10262)
6121
328f984d
GM
61222012-01-12 Glenn Morris <rgm@gnu.org>
6123
6124 * mail/sendmail.el (mail-mode): Update paragraph-separate for
6125 changes in adaptive-fill-regexp. (Bug#10276)
6126
2cc769a8
AM
61272012-01-11 Alan Mackenzie <acm@muc.de>
6128
6129 Fix Emacs bug #10463 - put `widen's around the critical spots.
6130
1d00653d 6131 * progmodes/cc-engine.el (c-in-literal, c-literal-limits): Put a
2cc769a8
AM
6132 widen around each invocation of c-state-pp-to-literal. Remove an
6133 unused let variable.
6134
e52c37fa
GM
61352012-01-11 Glenn Morris <rgm@gnu.org>
6136
6137 * dired-aux.el (dired-do-shell-command): Fix */? logic. (Bug#6561)
09044622 6138 Doc fix.
e52c37fa 6139
96f8741e
CY
61402012-01-10 Chong Yidong <cyd@gnu.org>
6141
1d00653d
SM
6142 * net/network-stream.el (network-stream-open-starttls):
6143 Avoid emitting a confusing error message when the server gives a bad
96f8741e
CY
6144 response to the capability command.
6145
b09a806e
GM
61462012-01-10 Glenn Morris <rgm@gnu.org>
6147
6148 * mail/unrmail.el (unrmail): Tweak previous change.
6149
7655cb66
CY
61502012-01-09 Chong Yidong <cyd@gnu.org>
6151
6152 * custom.el (custom-safe-themes): Use SHA-256 for hashing.
6153
9d5a8f0b
AM
61542012-01-08 Alan Mackenzie <acm@muc.de>
6155
6156 Optimise font locking in long enum definitions.
6157
6158 * progmodes/cc-fonts.el (c-font-lock-declarations): Add an extra
6159 arm to a cond form to handle enums.
6160 * progmodes/cc-langs.el (c-enums-contain-decls): New lang variable.
6161 * progmodes/cc-mode.el (c-font-lock-fontify-region): Correct a typo.
6162
9a0115ab 61632012-01-07 Paul Eggert <eggert@cs.ucla.edu>
6bb72cbd
PE
6164
6165 * files.el (move-file-to-trash): Preserve default file modes on error.
a0562b3d 6166 (Bug#10401)
6bb72cbd 6167
f186bb95
LMI
61682012-01-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
6169
29232a68
LMI
6170 * faces.el (set-face-attribute): Clarify the meaning of the nil
6171 frame (bug#10294).
6172
4e5d086d
LMI
6173 * subr.el (with-selected-frame): Mention that the selected frame
6174 is restored (bug#9980).
6175
8e66aebe
LMI
6176 * ibuffer.el (ibuffer-mode): List the bindings in the corrent map
6177 (bug#9759).
6178
cd394be1 6179 * mail/smtpmail.el (password-cache-add): Remove unused declaration.
f186bb95
LMI
6180 (password-read): Don't autoload unused function.
6181
adf4e762
JB
61822012-01-07 Juanma Barranquero <lekktu@gmail.com>
6183
6184 * progmodes/which-func.el (which-func-mode): Turn into a
6185 non-interactive function and mark as obsolete (bug#10428).
6186
89bd9ccd
CY
61872012-01-06 Chong Yidong <cyd@gnu.org>
6188
6189 * files.el (hack-dir-local-variables-non-file-buffer): Add doc.
6190 (hack-one-local-variable-eval-safep): Allow 0 arg for minor mode
6191 functions, along with 1 and -1.
6192
4afee9d5
EZ
61932012-01-06 Eli Zaretskii <eliz@gnu.org>
6194
6195 * time.el (display-time-load-average)
6196 (display-time-default-load-average): Doc fixes. See the thread
6197 starting at
6198 http://lists.gnu.org/archive/html/help-gnu-emacs/2012-01/msg00059.html
6199 for the details.
6200
536aea70
GM
62012012-01-06 Glenn Morris <rgm@gnu.org>
6202
665ae865
GM
6203 * mail/unrmail.el (unrmail): Give an explicit error if the input file
6204 has no messages. (Bug#10377)
6205
c869783d
GM
6206 * info.el (Info-mode-map): Bind e to end-of-buffer, rather
6207 than Info-edit. (Bug#10385)
6208
2bb4227e
GM
6209 * time.el (display-time-load-average, display-time-next-load-average):
6210 Doc fixes.
6211
7d5944b9
GM
6212 * emacs-lisp/bytecomp.el (byte-compile-file): Do not propagate a file
6213 local setting of buffer-read-only to the input buffer. (Bug#10419)
6214
536aea70
GM
6215 * calendar/calendar.el (calendar-mode):
6216 Locally set scroll-margin to 0. (Bug#10379)
6217
7dccca16
UM
62182012-01-06 Ulrich Mueller <ulm@gentoo.org>
6219
6220 * play/doctor.el (doctor-death): Escape "," characters. (Bug#10370)
6221
afbb7930
GM
62222012-01-05 Glenn Morris <rgm@gnu.org>
6223
6224 * eshell/em-unix.el (diff-no-select): Autoload it.
6225 (eshell/diff): Use diff-no-select. (Bug#10420)
6226
04482335
CY
62272012-01-05 Chong Yidong <cyd@gnu.org>
6228
7baca3bc
CY
6229 * shell.el (shell-dynamic-complete-functions): Revert last change.
6230 (shell-command-completion-function): New function.
6231 (shell-completion-vars): Use it to implement
6232 shell-completion-execonly (Bug#10417).
6233
04482335
CY
6234 * custom.el (enable-theme): Don't set custom-safe-themes.
6235
1d00653d
SM
6236 * cus-theme.el (custom-theme-merge-theme):
6237 Ignore custom-enabled-themes and custom-safe-themes.
04482335 6238
bb5aa5d6
MM
62392012-01-05 Michael R. Mauger <mmaug@yahoo.com>
6240
6241 * progmodes/sql.el (sql-login-hook): Add hook to respond to the
6242 first prompt in `sql-interacive-mode'.
6243 (sql-mode-oracle-font-lock-keywords): Add CONNECT_BY_* builtin
04482335 6244 keywords.
6df6ae42 6245 (sql-mode-mysql-font-lock-keywords): Add ELSEIF keyword.
bb5aa5d6
MM
6246 (sql-product-interactive): Bug fix: Set `sql-buffer' in
6247 context of original buffer. Invoke `sql-login-hook'.
6248
a7183d7c
EZ
62492012-01-04 Eli Zaretskii <eliz@gnu.org>
6250
6251 * mail/rmail.el (rmail-font-lock-keywords): Accept non-ASCII
6252 letters in cite-prefix.
6253
a1eacd1e
LMI
62542012-01-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
6255
6256 * mail/smtpmail.el (smtpmail-stream-type): Mention the `ssl' value.
6257
787cdb34
CY
62582012-01-03 Chong Yidong <cyd@gnu.org>
6259
1d00653d
SM
6260 * shell.el (shell-dynamic-complete-functions):
6261 Put pcomplete-completions-at-point, so as to try
787cdb34
CY
6262 comint-filename-completion first (Bug#10417).
6263
30710442
RS
62642012-01-02 Richard Stallman <rms@gnu.org>
6265
6266 * battery.el (battery-status-function):
6267 Detect when to use battery-yeeloong-sysfs.
6268 (battery-echo-area-format): Add string for Yeeloong.
6269 (battery-linux-proc-apm, battery-linux-proc-acpi): Doc fixes.
6270 (battery-yeeloong-sysfs): New function.
6271
f75bfc33
CY
62722012-01-02 Chong Yidong <cyd@gnu.org>
6273
6274 * dirtrack.el (dirtrack-list): Eliminate unused third element.
6275 (dirtrack): Merge code for handling relative filenames in prompt
6276 from shell-dir-cookie-watcher.
6277 (dirtrack-debug-message): New arg to avoid excess format calls.
6278
6279 * shell.el (shell-dir-cookie-re): Variable deleted.
6280 (shell-dir-cookie-watcher): Function deleted.
6281 (shell-mode): Don't use shell-dir-cookie-re, since it is redundant
6282 with dirtrack-mode.
6283
651e947e
EZ
62842012-01-01 Eli Zaretskii <eliz@gnu.org>
6285
1d00653d
SM
6286 * term/w32-win.el (dynamic-library-alist) <gnutls>:
6287 Load libgnutls-28.dll, from GnuTLS version 3.x, in preference to
651e947e
EZ
6288 libgnutls-26.dll.
6289
94d4c7dc
AS
62902011-12-31 Andreas Schwab <schwab@linux-m68k.org>
6291
6292 * emacs-lisp/bytecomp.el (byte-compile-file): Fix indentation.
6293
8d43f3cd
EZ
62942011-12-31 Eli Zaretskii <eliz@gnu.org>
6295
6296 * mail/rmail.el (rmail-show-message-1): Decode any RFC2047 encoded
6297 headers of non-MIME messages, when rmail-enable-mime is non-nil.
6298
98c8795a
MA
62992011-12-29 Michael Albinus <michael.albinus@gmx.de>
6300
6301 * net/tramp-sh.el (tramp-find-shell): Set "remote-shell" property
6302 also for alternative shells.
6303 (tramp-open-connection-setup-interactive-shell): Check, whether
6304 the shell is a busybox.
6305 (tramp-send-command): Don't suppress multiple prompts for
6306 busyboxes, it hurts.
6307
51281b32
CY
63082011-12-28 Chong Yidong <cyd@gnu.org>
6309
6310 * progmodes/gdb-mi.el (gdb-get-source-file-list)
6311 (gdb-get-source-file): Move mode line update to
6312 gdb-get-source-file (Bug#10087).
6313
2170cb53
CY
63142011-12-25 Chong Yidong <cyd@gnu.org>
6315
6316 * progmodes/gud.el (gud-gdb-fetch-lines-filter): Just use
6317 gud-gdb-marker-filter without taking it as an argument.
6318 (gud-gdb-run-command-fetch-lines): Caller changed.
6319 (gud-gdb-completion-function): New variable.
6320 (gud-gdb-completion-at-point): Use it.
6321 (gud-gdb-completions-1): Split from gud-gdb-completions.
6322
6323 * progmodes/gdb-mi.el (gdb-input): Accept command and handler
6324 function as separate arguments.
6325 (gdb-init-1, gdb-non-stop-handler, gdb-check-target-async)
6326 (gdb-tooltip-print-1, gud-watch, gdb-speedbar-update)
6327 (gdb-var-list-children, gdb-var-set-format, gdb-var-delete-1)
6328 (gdb-var-delete-children, gdb-edit-value, gdb-var-update)
6329 (gdb-stopped, def-gdb-auto-update-trigger)
6330 (gdb-place-breakpoints, gdb-select-thread, gdb-select-frame)
b81d40f0
JB
6331 (gdb-get-changed-registers, gdb-get-main-selected-frame):
6332 Callers changed.
2170cb53
CY
6333 (gud-gdbmi-completions): New function.
6334 (gdb): Use it for generating the completion table.
6335
be8b11bb
AM
63362011-12-24 Alan Mackenzie <acm@muc.de>
6337
6338 Introduce a mechanism to widen the region used in context font
1d00653d 6339 locking. Use this to protect declarations from losing their contexts.
be8b11bb 6340
1d00653d
SM
6341 * progmodes/cc-langs.el (c-before-font-lock-functions):
6342 Replace c-set-fl-decl-start with c-change-set-fl-decl-start (Renaming).
b81d40f0 6343 (c-before-context-fontification-functions): New defvar, a list of
be8b11bb
AM
6344 functions to be run just before context (etc.) font locking.
6345
6346 * progmodes/cc-mode.el (c-extend-font-lock-region-for-macros):
b81d40f0 6347 New, functionality extracted from
be8b11bb 6348 c-neutralize-syntax-in-and-mark-CPP.
b81d40f0 6349 (c-in-after-change-fontification): New variable.
be8b11bb
AM
6350 (c-after-change): Set c-in-after-change-fontification.
6351 (c-set-fl-decl-start): Rejig its interface, so it can be called
6352 from both after-change and context fontifying.
b81d40f0
JB
6353 (c-change-set-fl-decl-start, c-context-set-fl-decl-start):
6354 New functions.
6355 (c-standard-font-lock-fontify-region-function): New variable.
6356 (c-font-lock-fontify-region): New function.
be8b11bb 6357
341cf6ac
JL
63582011-12-24 Juri Linkov <juri@jurta.org>
6359
6360 * window.el (window--state-get-1): Set `FORCE' arg of `mark' to t.
6361 (Bug#10348)
6362
bffcee0a
MA
63632011-12-23 Michael Albinus <michael.albinus@gmx.de>
6364
6365 * net/ange-ftp.el (ange-ftp-copy-file-internal): Check for
6366 existence of source file. (Bug#10325)
6367
cb5e207c
AM
63682011-12-23 Alan Mackenzie <acm@muc.de>
6369
6370 Fix unstable fontification inside templates.
6371
b81d40f0
JB
6372 * progmodes/cc-langs.el (c-before-font-lock-functions):
6373 Newly created from the singular version. The (c c++ objc) entry now
cb5e207c
AM
6374 additionally has c-set-fl-decl-start. The other languages (apart
6375 from AWK) have that as a single entry.
6376
b81d40f0
JB
6377 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
6378 The functionality for "local" declarations has been extracted to
cb5e207c
AM
6379 c-set-fl-decl-start.
6380
b81d40f0
JB
6381 * progmodes/cc-mode.el (c-common-init, c-after-change):
6382 Changes due to pluralisation of c-before-font-lock-functions.
cb5e207c
AM
6383 (c-set-fl-decl-start): New function, extracted from
6384 c-font-lock-enclosing-decls and enhanced.
6385
60ff536c
JB
63862011-12-23 Juanma Barranquero <lekktu@gmail.com>
6387
6388 * desktop.el (desktop-internal-v2s): Fix typos in docstring (bug#10353).
6389
1c4757d6
JL
63902011-12-22 Juri Linkov <juri@jurta.org>
6391
6392 * progmodes/grep.el (rgrep): Fix docstring. (Bug#10185)
6393
d031f2c7
CY
63942011-12-22 Chong Yidong <cyd@gnu.org>
6395
6396 * vc/vc-hooks.el (vc-keep-workfiles): Doc fix.
6397
bace743a
DA
63982011-12-21 Drew Adams <drew.adams@oracle.com>
6399
6400 * files.el (file-remote-p): Fix docstring. (Bug#10319)
6401
728a1f2b
JC
64022011-12-21 Jérémy Compostella <jeremy.compostella@gmail.com>
6403
6404 * battery.el (battery-linux-sysfs): Add missing parameters from acpi.
6405
0d373f73
TZ
64062011-12-21 Teodor Zlatanov <tzz@lifelogs.com>
6407
fec0aaa4
TZ
6408 * progmodes/cfengine.el: Add Version. Improve CFEngine 3.x syntax
6409 highlighting and support. Fix up comments for capitalization.
6410 (cfengine-mode-debug): New var.
6411 (cfengine3-mode): Change the modeline indicator to "CFE3".
6412 (cfengine3-font-lock-keywords): Improve defun highlighting.
6413 (cfengine2-actions): Rename from `cfengine-actions'.
6414 (cfengine2-font-lock-keywords): Rename from
6415 `cfengine-font-lock-keywords'.
6416 (cfengine2-imenu-expression): Rename from
6417 `cfengine-imenu-expression'.
6418 (cfengine2-outline-level): Rename from `cfengine-outline-level'.
6419 (cfengine2-beginning-of-defun): Rename from
6420 `cfengine-beginning-of-defun'.
6421 (cfengine2-end-of-defun): Rename from `cfengine-end-of-defun'.
6422 (cfengine2-indent-line): Rename from `cfengine-indent-line'.
6423 (cfengine2-mode): Rename from `cfengine-mode'. Change the
6424 modeline indicator to "CFE2".
6425 (cfengine-mode): Defalias to `cfengine-auto-mode'.
6426 (cfengine-mode-abbrevs): Mark obsolete.
0d373f73 6427
bc86f573
CY
64282011-12-21 Chong Yidong <cyd@gnu.org>
6429
6430 * vc/vc-bzr.el (vc-bzr-rename-file): Don't pass ~ to Bzr in
6431 filename argument.
6432
d45ba96b
MR
64332011-12-20 Martin Rudalics <rudalics@gmx.at>
6434
6435 * window.el (window-normalize-buffer-to-display): Remove.
6436 (display-buffer): Handle buffer-or-name argument as in Emacs 23.
6437
a6198c90
CY
64382011-12-19 Chong Yidong <cyd@gnu.org>
6439
6440 * vc/vc-dir.el (vc-dir-parent-marked-p, vc-dir-children-marked-p):
6441 Don't signal an error in a predicate function; return non-nil.
6442 (vc-dir-mark-file): Move the error here.
6443 (vc-dir-mark-unmark): If acting on the region, keep going if one
6444 of the entries cannot be marked/unmarked.
6445 (vc-dir-mark-all-files): If current entry is a directory, mark
6446 only child files, as documented.
6447
34c5fb55
VB
64482011-12-19 Vincent Belaïche <vincentb1@users.sourceforge.net>
6449
6450 * ses.el: Ooops... undo changes of 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net, as trunk
6451 branch is feature frozen, and 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net was a feature
6452 addition.
6453
c803b2b7
JD
64542011-12-18 Jan Djärv <jan.h.d@swipnet.se>
6455
6456 * term/ns-win.el (ns-get-selection-internal)
6457 (ns-store-selection-internal): Declare.
1154d12e
JB
6458 (ns-store-cut-buffer-internal, ns-get-cut-buffer-internal):
6459 Declare as obsolete.
6460 (ns-get-pasteboard, ns-paste-secondary):
6461 Use ns-get-selection-internal.
6462 (ns-set-pasteboard, ns-copy-including-secondary):
6463 Use ns-store-selection-internal.
c803b2b7 6464
9cff91f8 64652011-12-17 Chong Yidong <cyd@gnu.org>
99a289d9
CY
6466
6467 * vc/vc.el (vc-next-action): Doc fix; remove CVS-isms.
9cff91f8 6468 (vc-deduce-fileset): Doc fix.
99a289d9 6469
f16c898a
AS
64702011-12-16 Andreas Schwab <schwab@linux-m68k.org>
6471
6472 * calc/calc-misc.el (calc-help): Avoid wrapping help message.
6473
763237c4
SS
64742011-12-13 Sam Steingold <sds@gnu.org>
6475
6476 * man.el (Man-getpage-in-background): When running under a
6477 window-system, ignore $MANWIDTH and $COLUMNS.
6478
5fc1c122
KH
64792011-12-15 Kenichi Handa <handa@m17n.org>
6480
6481 * language/ethio-util.el: Change coding tag to utf-8-emacs.
6482 (setup-ethiopic-environment-internal): Comment out key-binding for
6483 ethio-toggle-punctuation.
6484
13d49cbb
AM
64852011-12-13 Alan Mackenzie <acm@muc.de>
6486
898169a2
AM
6487 Add the switch statement to AWK Mode.
6488
7a71b18d 6489 * progmodes/cc-awk.el (awk-font-lock-keywords): Add "switch", "case",
898169a2
AM
6490 "default" to the keywords regexp.
6491
7a71b18d 6492 * progmodes/cc-langs.el (c-label-kwds): Let AWK take the same
898169a2 6493 expression as the rest.
1d00653d
SM
6494 (c-nonlabel-token-key): Allow string literals for AWK.
6495 Refactor for the other modes.
898169a2 6496
13d49cbb 6497 Large brace-block initialisation makes CC Mode slow: Fix.
1d00653d 6498 Tidy up and accelerate c-in-literal, etc. by using the c-parse-state
13d49cbb
AM
6499 routines. Limit backward searching in c-font-lock-enclosing.decl.
6500
6501 * progmodes/cc-engine.el (c-state-pp-to-literal): Return the
6502 pp-state and literal type in addition to the limits.
1d00653d 6503 (c-state-safe-place): New defun, extracted from c-state-literal-at.
13d49cbb 6504 (c-state-literal-at): Use the above new defun.
1d00653d
SM
6505 (c-slow-in-literal, c-fast-in-literal): Remove.
6506 (c-in-literal, c-literal-limits): Amend to use c-state-pp-to-literal.
13d49cbb
AM
6507
6508 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls): Check for
6509 being in a literal. Add a limit for backward searching.
6510
6511 * progmodes/cc-mode.el (awk-mode): Don't alias c-in-literal to
6512 c-slow-in-literal.
6513
15e0efc7
SM
65142011-12-13 Stefan Monnier <monnier@iro.umontreal.ca>
6515
6516 * progmodes/pascal.el: Declare `ind' as dyn-bound (bug#10264).
6517
454592a6
MR
65182011-12-13 Martin Rudalics <rudalics@gmx.at>
6519
6520 * window.el (delete-other-windows): Use correct frame in call to
6521 window-with-parameter.
6522
87393f26
DP
65232011-12-12 Daniel Pfeiffer <occitan@t-online.de>
6524
6525 * progmodes/make-mode.el: Bring it up to date with makepp V2.0.
6526 (makefile-make-font-lock-keywords): Extend meaning of `keywords'.
6527 (makefile-gmake-statements, makefile-makepp-statements):
6528 Use it and add new makepp keywords.
6529 (makefile-makepp-font-lock-keywords): Add new patterns.
6530 (makefile-match-function-end): Match new [...] and [[...]].
6531
11636b22
JB
65322011-12-11 Juanma Barranquero <lekktu@gmail.com>
6533
6534 * ses.el (ses-call-printer-return, ses-cell-property-get)
6535 (ses-sym-rowcol, ses-printer-validate, ses-formula-record)
6536 (ses-create-cell-variable, ses-reset-header-string)
6537 (ses-cell-set-formula, ses-repair-cell-reference-all)
6538 (ses-self-reference-early-detection, ses-in-print-area, ses-set-curcell)
6539 (ses-check-curcell, ses-call-printer, ses-adjust-print-width)
6540 (ses-print-cell-new-width, ses-formula-references, ses-relocate-formula)
6541 (ses-aset-with-undo, ses-load, ses-truncate-cell)
6542 (ses-read-column-printer, ses-read-default-printer, ses-insert-row)
6543 (ses-delete-row, ses-delete-column, ses-append-row-jump-first-column)
6544 (ses-kill-override, ses-yank-pop, ses-yank-cells, ses-yank-tsf)
6545 (ses-yank-resize, ses-export-tab, ses-mark-row, ses-mark-column)
6546 (ses-renarrow-buffer, ses-insert-range, ses-insert-ses-range)
6547 (ses-safe-printer, ses-safe-formula, ses-warn-unsafe, ses--clean-!)
6548 (ses--clean-_, ses-range, ses-select, ses-center, ses-center-span)
6549 (ses-dashfill, ses-unsafe): Fix typos and reflow docstrings.
6550
cf018193
VB
65512011-12-11 Vincent Belaïche <vincentb1@users.sourceforge.net>
6552
6553 * ses.el: The overall change is to add cell renaming, that is
6554 setting fancy names for cell symbols other than name matching
6555 "\\`[A-Z]+[0-9]+\\'" regexp .
6556 (ses-create-cell-variable): New defun.
6557 (ses-relocate-formula): Relocate formulas only for cells the
6558 symbols of which are not renamed, i.e. symbols whose names do not
6559 match regexp "\\`[A-Z]+[0-9]+\\'".
6560 (ses-relocate-all): Relocate values only for cells the symbols of
6561 which are not renamed.
6562 (ses-load): Create cells variables as the (ses-cell ...) are read,
6563 in order to check row col consistency with cell symbol name only
6564 for cells that are not renamed.
6565 (ses-replace-name-in-formula): New defun.
6566 (ses-rename-cell): New defun.
6567
ee957461
CY
65682011-12-11 Chong Yidong <cyd@gnu.org>
6569
6570 * progmodes/gdb-mi.el (gdb): Set comint-prompt-regexp, required
6571 for completion via gud-gdb-fetch-lines-filter (Bug#10274).
6572
9a9e9ef0
MR
65732011-12-11 Eric Hanchrow <eric.hanchrow@gmail.com>
6574
6575 * window.el (other-window): Fix docstring.
6576
92a8eba5
EZ
65772011-12-10 Eli Zaretskii <eliz@gnu.org>
6578
6579 * mail/rmailsum.el (rmail-header-summary): RFC2047 decode the
1d00653d
SM
6580 `from' or `to' address before taking its substring.
6581 Fixes incorrect display in Rmail summary buffer whereby an RFC2047
92a8eba5
EZ
6582 encoded name is chopped in the middle of the encoded string, and
6583 thus displayed encoded.
6584
e152e577
JB
65852011-12-10 Juanma Barranquero <lekktu@gmail.com>
6586
6587 * makefile.w32-in (update-subdirs-CMD): Use a Local Variables section.
6588
e5d84bfe
EZ
65892011-12-10 Eli Zaretskii <eliz@gnu.org>
6590
6591 * textmodes/texnfo-upd.el: Update commentary. Add a warning not
6592 to use texinfo-update-node and commands that call it if the
6593 Texinfo file uses @node lines without next/prev/up pointers.
b8830d28 6594 Correct outdated description about texinfo-master-menu.
e5d84bfe
EZ
6595 (texinfo-all-menus-update, texinfo-master-menu)
6596 (texinfo-update-node, texinfo-every-node-update)
6597 (texinfo-multiple-files-update): Doc fix. Warn against updating
6598 all the @node lines.
6599 (texinfo-master-menu): Only call texinfo-update-node if the prefix
b8830d28
EZ
6600 argument is numeric. Explain better in the doc string what the
6601 function really does.
6602 (texinfo-insert-master-menu-list): Improve the error message
6603 displayed if there's no menu in the Top node.
6604 (Bug#2975) See also this thread:
e5d84bfe
EZ
6605 http://lists.gnu.org/archive/html/emacs-devel/2011-12/msg00156.html.
6606
1d84e9bb
MG
66072011-12-09 Manuel Gómez <mgrojo@gmail.com> (tiny change)
6608
6609 * speedbar.el (speedbar-supported-extension-expressions):
6610 Add .adb and .ads, commonly used for Ada source code (bug#10256).
6611
382c953b
JB
66122011-12-09 Juanma Barranquero <lekktu@gmail.com>
6613
6614 * printing.el (pr-mode-alist):
6615 * simple.el (filter-buffer-substring-functions)
6616 (completion-list-insert-choice-function):
6617 * window.el (window-with-parameter, window-atom-root)
6618 (window-sides-slots, window-size-fixed, window-min-delta)
6619 (window-max-delta, window--resize-mini-window)
6620 (window--resize-child-windows-normal, window-tree)
6621 (delete-other-windows, quit-window, split-window)
6622 (display-buffer-record-window, special-display-buffer-names)
6623 (special-display-regexps, special-display-popup-frame)
6624 (same-window-p, split-window-sensibly)
6625 (display-buffer-overriding-action, display-buffer-alist)
6626 (display-buffer-base-action, display-buffer, switch-to-buffer)
6627 (switch-to-buffer-other-window, switch-to-buffer-other-frame)
6628 (fit-window-to-buffer, recenter-positions)
6629 (mouse-autoselect-window-state, mouse-autoselect-window-select):
6630 * emacs-lisp/syntax.el (syntax-propertize-function): Fix typos
6631 and remove unneeded backslashes in docstrings.
6632
39c9faef
SM
66332011-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
6634
98449af8
SM
6635 * emacs-lisp/lisp-mode.el (defmethod): Add doc-string-elt (bug#10244).
6636
39c9faef
SM
6637 * pcmpl-gnu.el: Don't fail when there is no Makefile nor -f arg.
6638 (pcmpl-gnu-makefile-regexps): Accept "makefile" as well as files that
6639 end in ".mk".
6640 (pcmpl-gnu-make-rule-names): Check "makefile" and ignore errors
6641 when reading the makefile (bug#10116).
6642
86ed9fdc
SM
66432011-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
6644
6645 * pcmpl-gnu.el (pcomplete/make): Also allow filename arguments
6646 (bug#10116).
6647
5580f89d
GM
66482011-12-06 Glenn Morris <rgm@gnu.org>
6649
6650 * emacs-lisp/package.el (package-archives): Doc fix re riskiness.
6651
28d3917c
CY
66522011-12-06 Chong Yidong <cyd@gnu.org>
6653
6654 * progmodes/cc-fonts.el (c-annotation-face): Use defface.
6655
a98edce9
JB
66562011-12-06 Juanma Barranquero <lekktu@gmail.com>
6657
6658 * textmodes/table.el (table-shorten-cell): Fix typo.
6659
e65adfac
CG
66602011-12-05 Christopher Genovese <genovese.cr@gmail.com> (tiny change)
6661
6662 * emacs-lisp/assoc.el (aput): Fix return value (bug#10146)
6663
71cc0b74
EZ
66642011-12-05 Eli Zaretskii <eliz@gnu.org>
6665
6666 * descr-text.el (describe-char): Fix display of strong
6667 right-to-left characters and directional embeddings and overrides.
6668
6669 * simple.el (what-cursor-position): Fix display of codepoints of
6670 strong right-to-left characters.
6671
315bc30d
CY
66722011-12-05 Chong Yidong <cyd@gnu.org>
6673
6674 * faces.el (read-color): Doc fix.
6675
58a70b94
GM
66762011-12-05 Glenn Morris <rgm@gnu.org>
6677
6678 * align.el (align--set-marker): Add doc-string.
6679 Don't try to move something that is not a marker. (Bug#10216)
6680
5158face
GM
66812011-12-04 Glenn Morris <rgm@gnu.org>
6682
6683 * calendar/appt.el (appt-add): Rewrite the interactive-spec to avoid
6684 overly zealous deletion of trailing whitespace.
6685
520fca41
JB
66862011-12-04 Juanma Barranquero <lekktu@gmail.com>
6687
6688 * server.el (server-delete-client): On Windows, do not try to delete
6689 the only terminal.
6690 (server-process-filter): On Windows, treat requests for a tty frame as
6691 if they were for a GUI frame if the running server is in GUI mode.
6692
5e605a2e
GM
66932011-12-03 Glenn Morris <rgm@gnu.org>
6694
6695 * textmodes/texinfmt.el (batch-texinfo-format): Doc fix. (Bug#10207)
6696
5c3fe83f
SM
66972011-12-03 Stefan Monnier <monnier@iro.umontreal.ca>
6698
6f5e57e7
SM
6699 * electric.el: Streamline electric-indent's hook.
6700 (electric-indent-chars): Revert to simple list.
6701 (electric-indent-functions): New var.
6702 (electric-indent-post-self-insert-function): Use it.
6703
5c3fe83f
SM
6704 * progmodes/prolog.el (prolog-find-value-by-system): Avoid error when
6705 there's no inferior buffer (bug#10196).
6706 (prolog-consult-compile): Don't use toggle-read-only.
6707
6bdac736
MA
67082011-12-02 Michael Albinus <michael.albinus@gmx.de>
6709
6710 * net/tramp-sh.el (tramp-maybe-open-connection): Handle user
6711 interrupt. (Bug#10187)
6712
6131ba7f
SM
67132011-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
6714
99c79fee
SM
6715 * pcmpl-gnu.el (pcomplete/tar): large-file-warn-threshold can be nil
6716 (bug#9160).
6717
6131ba7f
SM
6718 * dired-aux.el (dired-query): Don't assume help-char is modifier-free
6719 (bug#10191).
6720
cb0a02ea
JL
67212011-12-02 Juri Linkov <juri@jurta.org>
6722
6723 * info.el (Info-search): Display "end of manual" when Isearch
6724 reaches the end of single-file Info manual. (Bug#9918)
6725
66e0570c
EZ
67262011-12-02 Eli Zaretskii <eliz@gnu.org>
6727
6728 * isearch.el (isearch-message-prefix): Run the input method part
6729 of the prompt through bidi-string-mark-left-to-right. (Bug#10183)
6730
02b16839
JL
67312011-12-02 Juri Linkov <juri@jurta.org>
6732
6733 * isearch.el (isearch-occur): Use `word-search-regexp' for
6734 `isearch-word'.
6735 (isearch-search-and-update): Add condition for `isearch-word' and
6736 call `word-search-regexp'. (Bug#10145)
6737
0b950688
GM
67382011-12-01 Glenn Morris <rgm@gnu.org>
6739
6740 * eshell/em-hist.el (eshell-hist-initialize):
6741 Handle eshell-history-size nil and HISTSIZE set or unset.
e8087a76 6742 (eshell-history-file-name, eshell-history-size): Fix custom type.
0b950688 6743
9505c3c7
SM
67442011-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
6745
6746 * man.el (Man-completion-table): Fix the lambda case (bug#10168).
6747
1bbe96b2 67482011-12-01 Michael McNamara <mac@mail.brushroad.com>
6288f0ca 6749
a1beca85
SM
6750 * progmodes/verilog-mode.el (verilog-pretty-expr):
6751 Rework verilog-pretty-expr to handle new assignment operators in system
6288f0ca
WS
6752 verilog, such as += *= and the like.
6753 (verilog-assignment-operator-re): Regular expression to find the
6754 assigment operator in a verilog assignment.
6755 (verilog-assignment-operation-re): Regular expression to find an
6756 assignment statement for pretty-expr.
6757 (verilog-in-attribute-p): Query returns true if point is in an
6758 attribute context; used to skip these for expression line up from
6759 pretty-expr.
6760 (verilog-in-parameter-p): Query returns true if point is in an
6761 parameter definition context; used to skip these for expression
6762 line up from pretty-expr.
6763 (verilog-in-parenthesis-p): Query returns true if point is in a
6764 parenthetical expression, specifically ( ) but not [ ] or { };
6765 used by pretty-expr.
6766 (verilog-just-one-space): If there is no space, don't add one.
6767 (verilog-get-lineup-indent-2): Specifically skip just attribute
6768 contexts for expression lineup, rather than skipping all
6769 parenthetical expressions.
6770 (verilog-calculate-indent): Fix comment, and fix indent.
6771 (verilog-do-indent): Indent declarations in lists (suggested by
6772 Joachim Lechner).
6773 (verilog-mode-abbrev-table): Populate abbrev mode with the various
6774 skeleton items.
6775 (verilog-sk-ovm-class): Add skeleton for OVM classes (reported
6776 by Alain Mellan).
6777
1bbe96b2 67782011-12-01 Wilson Snyder <wsnyder@wsnyder.org>
6288f0ca
WS
6779
6780 * progmodes/verilog-mode.el (verilog-read-defines): Fix reading
6781 parameters with embedded comments. Reported by Ray Stevens.
6782 (verilog-calc-1, verilog-fork-wait-re) (verilog-forward-sexp,
6783 verilog-wait-fork-re): Fix indentation of "wait fork", bug407.
6784 Reported by Tim Holt.
6785 (verilog-auto): Fix AUTOing a upper module then AUTOing module
6786 instantiated by upper module causing wrong expansion until AUTOed a
6787 second time. Reported by K C Buckenmaier.
6788 (verilog-diff-auto): Fix showing .* as a difference when
6789 `verilog-auto-star-save' off. Reported by Dan Dever.
6790 (verilog-auto-reset, verilog-read-always-signals)
6791 (verilog-auto-reset-blocking-in-non): Fix AUTORESET including
6792 temporary signals in reset list if
6793 verilog-auto-reset-blocking-in-non is nil, and match assignment
a1beca85
SM
6794 style to each signal's assignment type, bug381.
6795 Reported by Thomas Esposito.
6288f0ca
WS
6796 (verilog-sk-uvm-class, verilog-uvm-begin-re, verilog-uvm-end-re)
6797 (verilog-uvm-statement-re): Support UVM indentation and
6798 highlighting, with old OVM keywords only.
a1beca85 6799 (verilog-auto-tieoff, verilog-auto-tieoff-declaration):
1d00653d
SM
6800 Support AUTOTIEOFF creating non-wire data types.
6801 Suggested by Jonathan Greenlaw.
6288f0ca
WS
6802 (verilog-auto-insert-lisp, verilog-delete-to-paren)
6803 (verilog-forward-sexp-cmt, verilog-forward-sexp-ign-cmt)
6804 (verilog-inject-sense, verilog-read-inst-pins)
a1beca85
SM
6805 (verilog-read-sub-decls, verilog-read-sub-decls-line):
6806 Fix mismatching parenthesis inside commented out code when deleting
382c953b 6807 AUTOINST, bug383. Reported by Jonathan Greenlaw.
6288f0ca
WS
6808 (verilog-auto-ascii-enum): Fix AUTOASCIIENUM one-hot with
6809 non-numeric vector width. Reported by Alex Reed.
6810 (verilog-auto-ascii-enum): Add "onehot" option to work around not
382c953b 6811 detecting signals with parameter widths. Reported by Alex Reed.
a1beca85
SM
6812 (verilog-auto-delete-trailing-whitespace):
6813 With `verilog-auto-delete-trailing-whitespace' remove trailing
6288f0ca
WS
6814 whitespace in auto expansion, bug371. Reported by Brad Dobbie.
6815 (verilog-run-hooks, verilog-scan-cache-flush, verilog-syntax-ppss):
6816 Fix verilog-scan-cache corruption when running user AUTO expansion
6817 hooks that call indentation routines.
6818 (verilog-simplify-range-expression): Fix typo ignoring lower case
6819 identifiers.
6820 (verilog-delete-auto): Fix delete-autos to also remove user created
6821 automatics, as long as they start with AUTO.
6822 (verilog-batch-diff-auto, verilog-diff-auto)
6823 (verilog-diff-function): Add `verilog-diff-auto' and bind to
6824 "C-c?" to report differences in AUTO expansion, ignoring spaces.
6825 (verilog-backward-syntactic-ws-quick, verilog-beg-of-defun-quick)
6826 (verilog-in-paren-quick, verilog-re-search-backward-quick)
a1beca85
SM
6827 (verilog-re-search-forward-quick, verilog-syntax-ppss):
6828 Fix calling `syntax-ppss' when inside auto expansions as the ppss hook
6288f0ca
WS
6829 is disabled and its cache will get corrupt, causing AUTOS not to
6830 expand. Instead use only -quick functions.
6831 (verilog-scan-region): Fix scanning over escaped quotes.
6832 (verilog-inside-comment-or-string-p, verilog-inside-comment-p)
6833 (verilog-re-search-backward-quick)
6834 (verilog-re-search-forward-quick, verilog-scan): verilog-scan and
6835 related functions now ignore strings, to fix misparsing of strings
6836 with magic comments embedded in them.
a1beca85
SM
6837 (verilog-read-auto-template):
6838 Fix 'verilog-auto-inst-template-numbers' with extra newline before (.
6839 Reported by Brad Dobbie.
6840 (verilog-read-auto-template):
6841 Fix 'verilog-auto-inst-template-numbers' with comments.
6288f0ca 6842 Reported by Brad Dobbie.
6288f0ca
WS
6843 (verilog-auto-inst, verilog-auto-inst-param)
6844 (verilog-auto-inst-sort): Add 'verilog-auto-inst-sort' to reduce
6845 merge conflicts with AUTOINST, bug358. Reported by Brad Dobbie.
6846 (verilog-auto-inst-template-numbers): Add 'lhs' policy for
a1beca85
SM
6847 debugging templates without merge conflicts, bug357.
6848 Reported by Brad Dobbie.
6849 (verilog-read-auto-template):
6850 Fix verilog-auto-inst-template-numbers with multiple templates.
6288f0ca
WS
6851 Reported by Brad Dobbie.
6852 (verilog-define-abbrev): Fix verilog-mode abbrevs to be system
6853 abbrevs so user won't be asked to save.
6854 (verilog-read-auto-lisp-present): Fix to start at beginning of
6855 buffer in case called outside of verilog-auto.
6856 (verilog-simplify-range-expression): Fix AUTOWIRE expanding "X-1+1"
6857 to "X-2". Reported by Matthew Myers.
6858 (verilog-auto, verilog-auto-inout-in): Add AUTOINOUTIN for creating
6859 all inputs from module templates. Reported by Leith Johnson.
6860 (verilog-module-inside-filename-p): Fix locating programs as with
6861 modules.
6862 (verilog-auto-inst-port): Fix vl-width expressions when using
6863 verilog-auto-inst-param-value, bug331. Reported by Julian Gorfajn.
6864 (verilog-decls-get-regs, verilog-decls-get-signals,
6865 verilog-decls-get-vars, verilog-decls-get-wires, verilog-decls-new,
6866 verilog-modi-cache-add-vars, verilog-modi-cache-add-wires,
6867 verilog-read-decls): Combine reg and wire structures into one var
6868 structure to represent SystemVerilog concepts.
6869 (verilog-auto-ascii-enum, verilog-auto-logic, verilog-auto-reg)
6870 (verilog-auto-reg-input, verilog-auto-tieoff, verilog-auto-wire)
a1beca85
SM
6871 (verilog-auto-wire-type, verilog-insert-definition):
6872 Add verilog-auto-wire-type and AUTOLOGIC to support using
6288f0ca
WS
6873 SystemVerilog "logic" keyword instead of "wire"/"reg".
6874 (verilog-auto-reg-input, verilog-decls-get-signals): Fix AUTOWIRE
6875 to declares outputs that also have assignments (presumably in an
a1beca85
SM
6876 ifdef or generate if so there's not a driver conflict).
6877 Reported by Matthew Myers.
6878 (verilog-auto-declare-nettype, verilog-insert-definition):
6879 Add verilog-auto-declare-nettype to fix declarations using
6288f0ca
WS
6880 `default_nettype none. Reported by Julian Gorfajn.
6881 (verilog-read-always-signals-recurse, verilog-read-decls)
6882 (verilog-read-sub-decls-gate): Fix infinite loop with (*) and
6883 malformed end statement, bug325. Reported by Joshua Wise and
6884 Andrew Drake.
6885 (verilog-auto-star-safe, verilog-delete-auto-star-implicit)
6886 (verilog-inst-comment-re): Fix not deleting Interfaced comment
1d00653d
SM
6887 when expanding .* in interfaces, bug320.
6888 Reported by Pierre-David Pfister.
6288f0ca 6889 (verilog-read-module-name): Fix import statements between module
1d00653d
SM
6890 name and open parenthesis, bug317.
6891 Reported by Pierre-David Pfister.
6288f0ca
WS
6892 (verilog-simplify-range-expression): Fix simplification of
6893 multiplications inside AUTOWIRE connections, bug303.
6894 (verilog-auto-inst-port): Support parameter expansion in
6895 multidimensional arrays.
6896 (verilog-read-decls): Fix AUTOREG etc looking for "endproperty"
6897 after "assert property". Reported by Julian Gorfajn.
6898 (verilog-simplify-range-expression): Fix "couldn't merge" errors
6899 with multiplication, bug303.
6900 (verilog-read-decls): Fix parsing of unsigned data types, bug302.
6901 Reported by Jan Frode Lonnum.
6902
1bbe96b2
GM
69032011-11-30 Juanma Barranquero <lekktu@gmail.com>
6904
6905 * htmlfontify.el (hfy-page-header, hfy-post-html-hooks)
6906 (hfy-shell-file-name, hfy-shell):
6907 * international/fontset.el (x-decompose-font-name): Fix typos.
6908
69092011-11-29 Ken Brown <kbrown@cornell.edu>
6910
6911 * progmodes/gdb-mi.el: Fix bug#9853, bug#9858, and bug#9878.
6912 (gdb-version): Remove defvar.
6913 (gdb-supports-non-stop): New defvar, replacing `gdb-version'.
6914 (gdb-gud-context-command, gdb-non-stop-handler)
6915 (gdb-current-context-command, gdb-stopped): Use it.
6916 (gdb-init-1): Enable pretty printing here.
6131ba7f
SM
6917 (gdb-non-stop-handler): Don't enable pretty-printing here.
6918 Check to see if the target supports non-stop mode; if not, turn off
1bbe96b2
GM
6919 non-stop mode. Use the following.
6920 (gdb-check-target-async): New defun.
6921 (gud-watch, gdb-stopped): Fix whitespace.
6922 (gdb-get-source-file): Don't try to display the source file if
6923 `gdb-main-file' is nil.
6924
69252011-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
6926
6927 * align.el: Try to generate fewer markers (bug#10047).
6928 (align--set-marker): New macro.
6929 (align-region): Use it.
6930
c935221f
SM
69312011-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
6932
6933 * isearch.el (isearch-yank-x-selection): Deactivate mark (bug#10022).
6934
e70b5064
CY
69352011-11-29 Chong Yidong <cyd@gnu.org>
6936
6937 * indent.el (indent-for-tab-command, indent-according-to-mode):
6938 Doc fix.
6939 (indent-region): Doc fix. Switch nested ifs to equivalent cond.
6940
f3af92b7
MA
69412011-11-29 Michael Albinus <michael.albinus@gmx.de>
6942
6943 * vc/diff-mode.el (diff-find-file-name): Make `read-file-name'
6944 aware of remote file names. (Bug#10124)
6945
ed472be9
CY
69462011-11-29 Chong Yidong <cyd@gnu.org>
6947
6948 * frame.el (auto-raise-mode, auto-lower-mode): Doc fix.
6949
24510c22
SM
69502011-11-28 Stefan Monnier <monnier@iro.umontreal.ca>
6951
6952 * files.el (find-file): Don't use force-same-window (bug#10144).
6953 * window.el (switch-to-buffer): Better match Emacs-23 behavior and only
6954 use pop-to-buffer if the selected window can't be used.
6955 (pop-to-buffer-same-window): Use display-buffer--same-window-action.
6956
c60c3703
EZ
69572011-11-28 Eli Zaretskii <eliz@gnu.org>
6958
6959 * vc/diff-mode.el (diff-mode-map): Don't inherit 'z' => 'M-z' from
6960 special-mode-map.
6961
e95def75
CY
69622011-11-28 Chong Yidong <cyd@gnu.org>
6963
6964 * emacs-lisp/easy-mmode.el (define-minor-mode): Fix default doc.
6965
c3f1c606
NR
69662011-11-27 Nick Roberts <nickrob@snap.net.nz>
6967
6968 * progmodes/gdb-mi.el (gdb-init-1): Condition execution of
6969 gdb-get-source-file-list on gdb-create-source-file-list.
6970
00db469c
EZ
69712011-11-26 Eli Zaretskii <eliz@gnu.org>
6972
6973 * whitespace.el (whitespace-newline): Use a different foreground
6974 color for 16-color light-background displays.
6975
4ad3bc2a
CY
69762011-11-24 Chong Yidong <cyd@gnu.org>
6977
6978 * window.el (display-buffer--special-action): Doc fix.
6979
e9fce1ac
JB
69802011-11-25 Juanma Barranquero <lekktu@gmail.com>
6981
6982 * emacs-lisp/avl-tree.el (avl-tree--do-copy, avl-tree-create)
6983 (avl-tree-compare-function, avl-tree-empty, avl-tree-enter)
6984 (avl-tree-delete, avl-tree-member, avl-tree-member-p, avl-tree-map)
6985 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar, avl-tree-copy)
6986 (avl-tree-clear, avl-tree-stack, avl-tree-stack-pop)
6987 (avl-tree-stack-first):
6988 * emacs-lisp/cconv.el (cconv--analyse-use):
6989 * net/gnutls.el (gnutls-negotiate): Fix typos.
6990
cb825e5d
GM
69912011-11-24 Glenn Morris <rgm@gnu.org>
6992
3adbe224
GM
6993 * lpr.el (lpr-windows-system, lpr-lp-system):
6994 * mail/binhex.el (binhex-begin-line):
6995 * progmodes/grep.el (grep-history, grep-find-history):
6996 * textmodes/flyspell.el:
6997 * vc/pcvs-defs.el (cvs-global-menu):
6998 * vc/vc-bzr.el (vc-bzr-admin-checkout-format-file):
6999 * vc/vc-mtn.el (vc-mtn-admin-dir, vc-mtn-admin-format):
7000 * vc/vc-cvs.el (vc-cvs-registered): Give them basic doc-strings.
7001
321decc8
GM
7002 * net/tls.el: Fix case of "GnuTLS".
7003
420b63ad
GM
7004 * paths.el (rmail-file-name): Format doc-string for make-docfile.
7005
cb825e5d
GM
7006 * version.el (emacs-build-system): Give it a doc-string.
7007
a0649f08
JL
70082011-11-24 Juri Linkov <juri@jurta.org>
7009
7010 * view.el (view-buffer): Revert 2011-07-19T15:01:49Z!larsi@gnus.org from 2011-07-19 (bug#8615).
7011
c0bc0fd4
GM
70122011-11-24 Glenn Morris <rgm@gnu.org>
7013
7014 * mail/rmailmm.el (rmail-mime): When rmail-enable-mime is non-nil,
7015 if called on a non-mime message just toggle the headers. (Bug#8006)
7016
20db1522
JB
70172011-11-24 Juanma Barranquero <lekktu@gmail.com>
7018
7019 * allout.el (allout-setup, allout-auto-save-temporarily-disabled)
7020 (allout-lead-with-comment-string, allout-structure-deleted-hook)
7021 (allout-mode, allout-chart-subtree, allout-hotspot-key-handler)
7022 (allout-rebullet-heading, allout-open-sibtopic)
7023 (allout-toggle-current-subtree-encryption)
7024 (allout-toggle-subtree-encryption, allout-encrypt-string)
7025 (allout-next-topic-pending-encryption, allout-adjust-file-variable)
7026 (allout-distinctive-bullets-string, allout-auto-activation):
7027 * window.el (window-normalize-buffer-to-display):
7028 * progmodes/verilog-mode.el (verilog-batch-indent):
7029 * textmodes/bibtex.el (bibtex-field-braces-opt)
7030 (bibtex-field-strings-opt):
7031 * vc/cvs-status.el (cvs-tree-merge):
7032 Fix typos.
7033
7262a87c
MA
70342011-11-23 Michael Albinus <michael.albinus@gmx.de>
7035
7036 * rfn-eshadow.el (rfn-eshadow-update-overlay): Let-bind
7037 `non-essential' to t, in order to avoid remote connections.
7038
283430a1
EZ
70392011-11-23 Eli Zaretskii <eliz@gnu.org>
7040
a1beca85
SM
7041 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
7042 On MS-DOS and MS-Windows, compare with loaddefs.el
283430a1
EZ
7043 case-insensitively.
7044
d2992a38
ML
70452011-11-23 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
7046
7047 * mail/unrmail.el (unrmail): Always add blank line. (Bug#7743)
7048
50419064
GM
70492011-11-23 Glenn Morris <rgm@gnu.org>
7050
da94eca1
GM
7051 * paths.el (rmail-file-name): Reformat the doc-string so that it
7052 is picked up.
7053
9aac4de2
GM
7054 * mail/rmail.el (rmail-message-filter, rmail-auto-file): Doc fixes.
7055 (rmail-auto-file): Ignore case in the "special" field names,
7056 as mail-fetch-field does for all others.
7057
8038d2d2
GM
7058 * mail/rmail.el (rmail-forward):
7059 * mail/rmailkwd.el (rmail-set-label):
7060 * mail/rmailout.el (rmail-output, rmail-output-as-seen)
7061 (rmail-output-body-to-file): Give error if no message. (Bug#10082)
7062
f3fe222a
GM
7063 * mail/rmail.el (rmail-current-message): Doc fix.
7064
50419064
GM
7065 * mail/rmail.el (rmail-message-filter): Mark as obsolete. (Bug#2624)
7066
28109f49
SM
70672011-11-22 Stefan Monnier <monnier@iro.umontreal.ca>
7068
7069 * server.el (server-eval-and-print): Allow C-g (bug#6585).
7070
394c65f1
GM
70712011-11-22 Glenn Morris <rgm@gnu.org>
7072
7073 * mail/rmailmm.el (test-rmail-mime-handler)
7074 (test-rmail-mime-bulk-handler)
7075 (test-rmail-mime-multipart-handler): Move tests to test/ directory.
7076
f2a0aa3a
JL
70772011-11-21 Juri Linkov <juri@jurta.org>
7078
1154d12e
JB
7079 * calc/calc.el (calc-read-key-sequence):
7080 Let-bind `input-method-function' to nil. (Bug#10018)
f2a0aa3a 7081
9c34a344
LMI
70822011-11-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
7083
7084 * emacs-lisp/cl-indent.el (common-lisp-loop-part-indentation):
7085 Tell the caller that the next line needs recomputation, even
7086 though it doesn't start a sexp (bug#10094).
7087
f04a3be9
SM
70882011-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
7089
7090 * emacs-lisp/autoload.el (autoload-generate-file-autoloads): Simplify.
7091
7978747f
SM
70922011-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
7093
f04a3be9
SM
7094 * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
7095 Use force-same-window.
7978747f 7096
fe7a3057
JB
70972011-11-20 Juanma Barranquero <lekktu@gmail.com>
7098
7099 * descr-text.el (describe-char-unicode-data):
7100 * json.el (json-string-escape):
7101 * mail/footnote.el (footnote-unicode-string, footnote-unicode-regexp)
7102 (Footnote-unicode, Footnote-style-p):
7103 * net/ntlm.el (ntlm-get-password-hashes): Fix typos.
7104
24901d61
CY
71052011-11-20 Chong Yidong <cyd@gnu.org>
7106
7107 * window.el (replace-buffer-in-windows): Restore interactive spec.
7108
bac7ff22
SM
71092011-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
7110
24f3d7b9
SM
7111 * electric.el (electric-indent-mode): Fix last change (too optimistic).
7112
bac7ff22
SM
7113 * emacs-lisp/bytecomp.el: Silence obsolete warnings more reliably.
7114 (byte-compile-global-not-obsolete-vars): New var.
7115 (byte-compile-check-variable, byte-compile-make-obsolete-variable):
7116 Use it.
7117 (byte-compile-warn-obsolete): Align text with the one in *Help*.
7118
cd1181db
JB
71192011-11-20 Juanma Barranquero <lekktu@gmail.com>
7120
7121 * progmodes/cwarn.el (cwarn-is-enabled, cwarn-font-lock-keywords):
7122 * progmodes/pascal.el (electric-pascal-equal):
7123 * textmodes/reftex-dcr.el (reftex-view-crossref-from-bibtex):
7124 * xml.el (xml-substitute-special): Fix typos.
7125
7fb18e9e
GM
71262011-11-20 Glenn Morris <rgm@gnu.org>
7127
7128 * mail/rmail.el (rmail-enable-mime-composing): Make it a defcustom.
7129 (rmail-insert-mime-forwarded-message-function, rmail-mime-feature):
7130 Doc fixes.
7131 (rmail-decode-mime-charset): Mark as obsolete.
7132
7133 * mail/rmailsum.el (rmail-message-regexp-p-1):
7134 * mail/rmail.el (rmail-search-message, rmail-forward, rmail-resend):
7135 Before using mime functions, check they are set. (Bug#10077)
7136
d5a6b3ba
JL
71372011-11-19 Juri Linkov <juri@jurta.org>
7138
7139 * info.el (Info-finder-find-node): Use `package--builtins' instead
7140 of `package-alist'. Use node names formed by the pattern "Keyword "
7141 and the keyword name.
7142
e981b61f
AS
71432011-11-19 Andreas Schwab <schwab@linux-m68k.org>
7144
1d00653d 7145 * progmodes/sh-script.el (sh-assignment-regexp): Add entry for bash.
e981b61f 7146
3ffbc301
JL
71472011-11-19 Juri Linkov <juri@jurta.org>
7148
7149 * info.el (Info-hide-note-references): Add `:set' tag to `defcustom'
7150 that calls `revert-buffer' on all Info buffers. (Bug#9915)
7151 (Info-revert-find-node): Remove let-bindings `old-buffer-name',
7152 `old-history', `old-history-forward'. Add let-binding
7153 `window-selected'. Remove calls to `kill-buffer',
7154 `switch-to-buffer' and `Info-mode'. Set `Info-current-file' to nil
7155 before calling `Info-find-node', so `Info-find-node-2' will reread
7156 the Info file. Restore window positions only when `window-selected'
7157 is non-nil.
7158
30c62133
JL
71592011-11-19 Juri Linkov <juri@jurta.org>
7160
7161 * isearch.el (isearch-lazy-highlight-new-loop):
7162 Remove condition `(not isearch-error)'. (Bug#9918)
7163
7164 * misearch.el (multi-isearch-search-fun): Add condition
7165 `(not bound)' to ignore lazy-highlighting search.
7166 Add the search-failed message "end of multi" when the end of
7167 multi-sequence is reached. Uncapitalize the search-failed
7168 message "Repeat for next buffer".
7169
7170 * info.el (Info-search): Add the search-failed message
7171 "end of the manual" when the end of the manual is reached
7172 in Isearch mode.
7173
645ca9cf
JL
71742011-11-19 Juri Linkov <juri@jurta.org>
7175
7176 * info.el (Info-find-node-2, Info-select-node, Info-history-find-node):
7177 Use non-destructive `remove' instead of `delete' because
7178 `Info-history-list' stored to `Info-isearch-initial-history-list' in
7179 `Info-isearch-start' might need to be restored in `Info-isearch-end'.
7180
df754f66
JL
71812011-11-19 Juri Linkov <juri@jurta.org>
7182
7183 * isearch.el (isearch-edit-string): Let-bind `history-add-new-input'
7184 to nil instead of binding `search-ring' and `regexp-search-ring'.
7185 (Bug#9185)
7186
0e23d96a
EZ
71872011-11-19 Eli Zaretskii <eliz@gnu.org>
7188
7189 * simple.el (line-move): Force movement by logical lines for any
7190 hscrolled window, not only when auto-hscroll-mode is on.
7191 (line-move-visual): Update doc string to that effect. (Bug#10076)
7192
8a6ccb66
AS
71932011-11-19 Andreas Schwab <schwab@linux-m68k.org>
7194
7195 * language/european.el (macintosh): Define as alias for mac-roman.
7196
49ae5b39
EZ
71972011-11-19 Eli Zaretskii <eliz@gnu.org>
7198
7199 * mail/rmailmm.el (rmail-mime-display-header)
7200 (rmail-mime-display-tagline, rmail-mime-display-body): New defsubsts.
7201 (rmail-mime-entity-segment, rmail-mime-toggle-raw)
7202 (rmail-mime-toggle-hidden, rmail-mime-insert-text)
7203 (rmail-mime-insert-bulk, rmail-mime-insert-multipart)
7204 (rmail-mime-insert, rmail-mime-insert-tagline): Use them instead
7205 of a raw aref.
7206 (rmail-mime-entity-segment): To get past the tagline, move forward
7207 2 more lines, to account for the 2 empty lines that precede and
7208 follow the line with the buttons.
7209 (rmail-mime-update-tagline): Move one more line, to get past the
7210 empty line that follows the buttons in the tagline. (Bug#9520)
7211
c56cad4a
MR
72122011-11-19 Martin Rudalics <rudalics@gmx.at>
7213
7214 * window.el (window-max-delta-1, window-min-delta-1)
7215 (window-min-size-1, window-state-get-1, window-state-put-1)
7216 (window-state-put-2): Use "window--" prefix.
7217
cbe71af3
SM
72182011-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
7219
2ad52c60
SM
7220 * emacs-lisp/smie.el: Improve warnings and conflict detection.
7221 (smie-warning-count): New var.
7222 (smie-set-prec2tab): Use it.
7223 (smie-bnf->prec2): Improve warnings. Add docstring.
7224 (smie-bnf--closer-alist): Rename from smie-bnf-closer-alist.
7225 (smie-bnf--set-class): New function.
7226 (smie-bnf--classify): Rename from smie-bnf-classify. Rewrite to fix
7227 corner case.
7228
6944dbc1
SM
7229 * progmodes/compile.el: Obey compilation-first-column in dest buffer.
7230 (compilation-error-properties, compilation-move-to-column):
7231 Handle compilation-first-column while in the target buffer.
7232
c400c4d7
SM
7233 * progmodes/cc-engine.el (c-remove-stale-state-cache-backwards):
7234 Don't hardcode point-min==1.
7235
6dbe3e96
SM
7236 * eshell/esh-cmd.el (eshell-do-eval): Handle `setq' (bug#9907).
7237 (eshell-rewrite-for-command): Remove workaround.
7238 (eshell-do-pipelines, eshell-do-pipelines-synchronously)
7239 (eshell-do-eval, eshell-exec-lisp): Avoid gratuitous setq.
7240 * eshell/esh-util.el (eshell-condition-case, eshell-for): Use declare.
7241
cbe71af3
SM
7242 * files-x.el (modify-file-local-variable): Obey commenting conventions.
7243
a8e1496d
GM
72442011-11-17 Glenn Morris <rgm@gnu.org>
7245
7246 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
7247 Ignore buffer-local generated-autoload-file if it is the same
7248 as the global value. (Bug#10049)
7249
df85d315
JB
72502011-11-17 Juanma Barranquero <lekktu@gmail.com>
7251
7252 * textmodes/reftex-toc.el (reftex-toc-return-marker, reftex-toc-help)
7253 (reftex-toc, reftex-toc, reftex-toc-dframe-p, reftex-toc-next-heading)
7254 (reftex-toc-previous-heading, reftex-toc-max-level)
7255 (reftex-toc-goto-line-and-hide, reftex-toc-show-calling-point)
7256 (reftex-toc-quit, reftex-toc-revert, reftex-toc-jump)
7257 (reftex-toc-do-promote, reftex-toc-promote-prepare)
7258 (reftex-toc-promote-action, reftex-toc-extract-section-number)
7259 (reftex-toc-load-all-files-for-promotion, reftex-toc-rename-label)
7260 (reftex-toc-rename-label, reftex-toc-visit-location)
7261 (reftex-toc-visit-location, reftex-toggle-auto-toc-recenter)
7262 (reftex-toggle-auto-toc-recenter, reftex-toggle-auto-toc-recenter)
7263 (reftex-make-separate-toc-frame): Fix typos, and use TOC consistently,
7264 leaving "*toc*" only for references to the buffer.
7265
a0c2d0ae
MR
72662011-11-17 Martin Rudalics <rudalics@gmx.at>
7267
7268 * window.el (window-resize, delete-window, split-window):
7269 Replace window-splits by window-combination-resize.
1d00653d 7270 * cus-start.el (window-splits): Replace by window-combination-resize.
a0c2d0ae 7271
35c0bac8
GM
72722011-11-17 Glenn Morris <rgm@gnu.org>
7273
7274 * progmodes/sh-script.el (sh-font-lock-keywords-var):
7275 Make bash entry derive from sh entry, not shell entry.
7276
d0c8fc8a
MA
72772011-11-16 Michael Albinus <michael.albinus@gmx.de>
7278
7262a87c
MA
7279 * net/tramp-sh.el (tramp-sh-handle-file-truename): Cache only the
7280 local file name.
7281
7877f373
JB
72822011-11-16 Juanma Barranquero <lekktu@gmail.com>
7283
7284 * menu-bar.el (menu-bar-file-menu):
7285 * printing.el (pr-ps-utility):
7286 * calendar/icalendar.el (icalendar, icalendar--convert-tz-offset)
7287 (icalendar--convert-to-ical, icalendar--convert-ordinary-to-ical)
7288 (icalendar--convert-weekly-to-ical, icalendar--convert-yearly-to-ical)
7289 (icalendar--convert-sexp-to-ical, icalendar--convert-block-to-ical)
7290 (icalendar--convert-float-to-ical, icalendar--convert-date-to-ical)
7291 (icalendar--convert-cyclic-to-ical)
7292 (icalendar--convert-anniversary-to-ical, icalendar-import-buffer)
7293 (icalendar--convert-ical-to-diary)
7294 (icalendar--convert-recurring-to-diary)
7295 (icalendar--convert-non-recurring-all-day-to-diary)
7296 (icalendar-import-format-sample):
7297 * progmodes/idlw-shell.el (idlwave-shell-mode):
7298 * progmodes/vhdl-mode.el (vhdl-mode, vhdl-print-two-column)
7299 (vhdl-print-customize-faces, vhdl-mode, vhdl-ps-print-settings)
7300 (vhdl-ps-print-init): Fix typos.
7301
10649b82
KM
73022011-11-16 Ken Manheimer <ken.manheimer@gmail.com>
7303
9d0cfcd6
GM
7304 * allout.el, allout-widgets.el (file metadata): Attribute copyright to
7305 FSF and collapse date sequence, obscure author/maintainer email address
7306 better, remove extra version line, track relocation of author's webpage.
10649b82 7307
9d0cfcd6
GM
7308 * progmodes/python.el (python-pdbtrack-input-prompt)
7309 (python-pdbtrack-track-stack-file): Adjust to recognize ipdb as well as
7310 regular python pdb prompts. Adjustments shamelessly taken exactly as
7311 suggested in EmacsWiki page (tiny change):
7312 http://www.emacswiki.org/PythonProgrammingInEmacs#toc14
8642c216 7313
58179cce
JB
73142011-11-16 Juanma Barranquero <lekktu@gmail.com>
7315
7316 * expand.el (expand-pos, expand-index, expand-point):
7317 Remove redundant info from docstring.
7318 (expand-add-abbrevs): Doc fix.
7319 (expand-c-sample-expand-list, expand-sample-lisp-mode-expand-list)
7320 (expand-sample-perl-mode-expand-list): Fix typos.
7321
7322 * net/dbus.el (dbus-event-member-name):
7323 * play/5x5.el (5x5-solve-rotate-left, 5x5-solver-output):
7324 * term/pc-win.el (msdos-create-frame-with-faces):
7325 * textmodes/texinfmt.el (texinfo-format-image): Fix typos.
7326
b6f67890
MR
73272011-11-16 Martin Rudalics <rudalics@gmx.at>
7328
7329 * window.el (split-window, window-state-get-1)
7330 (window-state-put-1, window-state-put-2): Rename occurrences of
7331 window-nest to window-combination-limit.
1d00653d 7332 * cus-start.el (window-nest): Rename to window-combination-limit.
b6f67890 7333
ce7ddba0
CY
73342011-11-16 Chong Yidong <cyd@gnu.org>
7335
7336 * progmodes/autoconf.el (autoconf-mode): Fix comment-start-skip
7337 regexp (Bug#10033).
7338
3ae704f4
SM
73392011-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
7340
7341 * tmm.el (tmm-prompt): Use minibuffer-with-setup-hook (bug#10053).
7342 `completing-read' will remove *Completions* and will preserve
7343 current-buffer for us.
7344 (tmm-add-prompt): Users of *Completions* will always (re)set its
7345 major mode.
7346 (tmm-old-comp-map): Remove.
7347
6ad1cdde
GM
73482011-11-16 Glenn Morris <rgm@gnu.org>
7349
7350 * mail/rmailedit.el: Require rmailmm when compiling.
7351 (rmail-old-mime-state): New declaration.
7352 (rmail-edit-current-message): If editing a mime message,
7353 edit the "raw" message from the mbox buffer.
7354 (rmail-cease-edit): Handle mime messages. (Bug#9840)
7355
d20faa20
GM
73562011-11-15 Glenn Morris <rgm@gnu.org>
7357
7358 * mail/rmailmm.el (rmail-mime-toggle-raw): Remove entity arg,
7359 which wasn't being used. Add optional arg to force given state.
7360 (rmail-mime): Add optional arg to force given state.
7361
c7015153
JB
73622011-11-15 Juanma Barranquero <lekktu@gmail.com>
7363
7364 * allout.el (allout-encryption-plaintext-sanitization-regexps):
7365 * frame.el (display-mm-dimensions-alist):
7366 * outline.el (outline-mode-menu-bar-map, outline-move-subtree-up)
7367 (outline-move-subtree-down):
7368 * net/newst-treeview.el (newsticker--treeview-do-get-node-of-feed)
7369 (newsticker--treeview-do-get-node):
7370 * net/quickurl.el (quickurl-list-buffer-name):
7371 * progmodes/dcl-mode.el (dcl-mode):
7372 * progmodes/gdb-mi.el (gdb-mapcar*):
7373 * progmodes/sql.el (sql-mode-oracle-font-lock-keywords): Fix typos.
7374
45261b50
GM
73752011-11-15 Glenn Morris <rgm@gnu.org>
7376
7377 * mail/rmail.el (rmail-file-coding-system): It's only ever used
7378 in a boolean sense, so just make it a boolean, and fix the doc.
7379 (rmail-show-mime-function, rmail-mime-feature)
7380 (rmail-require-mime-maybe): Doc fixes.
7381 (rmail-show-message-1): Check rmail-show-mime-function is non-nil.
7382
7383 * mail/rmailmm.el (rmail-show-mime): Doc fix.
7384
0d26e0b6
JB
73852011-11-15 Juanma Barranquero <lekktu@gmail.com>
7386
7387 * epg.el (epg-start-decrypt, epg-start-verify, epg-start-sign)
7388 (epg-start-encrypt, epg-start-export-keys, epg-start-import-keys)
7389 (epg-start-receive-keys, epg-start-delete-keys, epg-start-sign-keys)
7390 (epg-start-generate-key, epg-context-set-progress-callback): Fix typos.
7391
447f30f6
GM
73922011-11-15 Glenn Morris <rgm@gnu.org>
7393
672b871d
GM
7394 * mail/rmailmm.el (rmail-mime-entity, rmail-mime-entity-segment)
7395 (rmail-mime-shown-mode, rmail-mime-hidden-mode, rmail-mime-raw-mode)
7396 (rmail-mime-toggle-hidden, rmail-mime-insert-tagline)
7397 (rmail-mime-insert-header, rmail-mime-handle, rmail-mime-parse)
7398 (rmail-mime, rmail-show-mime): Doc fixes.
7399
f6aa5bb1
GM
7400 * term/ns-win.el (mode-line-frame-identification):
7401 Leave it alone. (Bug#10051)
7402
947cd66b
GM
7403 * simple.el (mark-whole-buffer): Doc fix. (Bug#10023)
7404
447f30f6
GM
7405 * mail/rmailout.el (rmail-output-to-rmail-buffer):
7406 Handle empty buffers. (Bug#9978)
7407
0b381c7e
JB
74082011-11-14 Juanma Barranquero <lekktu@gmail.com>
7409
7410 * international/mule.el (define-charset):
7411 * mail/rmailmm.el (rmail-mime-find-header-encoding):
7412 * progmodes/prolog.el (prolog-mode-hook, prolog-inferior-mode-hook):
7413 * progmodes/verilog-mode.el (verilog-backward-token):
7414 * textmodes/ispell.el (lookup-words):
7415 * textmodes/sgml-mode.el (sgml-guess-indent): Fix typos.
7416
71e027ac
GM
74172011-11-14 Glenn Morris <rgm@gnu.org>
7418
56632ce4
GM
7419 * progmodes/executable.el
7420 (executable-make-buffer-file-executable-if-script-p):
7421 Handle file-modes returning nil.
7422
40500957
GM
7423 * mail/rmailsum.el (rmail-summary): Remove movement to beginning of
7424 message - not necessary, and causes problems. (Bug#9831)
7425
071c2340
GM
7426 * mail/rmailsum.el (rmail-new-summary): Preserve message number.
7427
d3cfca60
GM
7428 * mail/rmail.el (rmail-no-mail-p): Remove mode-line N/M indicator.
7429
71e027ac
GM
7430 * mail/rmailsum.el (rmail-summary, rmail-new-summary)
7431 (rmail-new-summary-1): Allow empty summaries. (Bug#9964)
7432 (rmail-new-summary): Remember that rmail-summary-buffer is buffer-local.
7433
89d61221
MR
74342011-11-12 Martin Rudalics <rudalics@gmx.at>
7435
7436 * window.el (window-resize, delete-window): Use window-splits
7437 variable instead of function.
7438 (window-state-get-1, window-state-put-2, window-state-put):
7439 Don't deal with windows' splits status.
7440
98282f6f
GM
74412011-11-12 Glenn Morris <rgm@gnu.org>
7442
7443 * apropos.el (apropos-do-all, apropos-library, apropos-value)
7444 (apropos-documentation): Doc fixes.
7445
40a8bdf6
JB
74462011-11-11 Juanma Barranquero <lekktu@gmail.com>
7447
7448 * progmodes/idlw-shell.el (idlwave-shell-make-new-bp-overlay):
7449 * textmodes/sgml-mode.el (html-tag-help): Fix typos.
7450
65bd19ff
SM
74512011-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
7452
7453 * electric.el (electric-indent-post-self-insert-function): Make it
7454 possible for a char to only indent in some circumstances.
7455 (electric-indent-mode): Simplify.
7456
54f9154c
MR
74572011-11-11 Martin Rudalics <rudalics@gmx.at>
7458
7459 * window.el (windows-with-parameter): Remove unused function.
7460 (windows-at-side): Rename to window-at-side-list.
7461 (window-check, window-atom-check, window-atom-check-1)
5e92ca23
MR
7462 (window-side-check, window-size-ignore, window-size-fixed-1)
7463 (window-in-direction-2): Prefix with "window--".
7464 (window-tree-1): Rename to window--subtree, fix doc-string.
54f9154c 7465
68cbc58b
GM
74662011-11-11 Glenn Morris <rgm@gnu.org>
7467
7468 * subr.el (eval-after-load): If FILE is already loaded,
7469 evaluate FORM before it gets wrapped in more stuff. (Bug#10009)
7470
b2621720
GM
74712011-11-10 Glenn Morris <rgm@gnu.org>
7472
9a4de110
GM
7473 * vc/vc-svn.el (vc-svn-create-repo, vc-svn-modify-change-comment):
7474 Call svn via vc-svn-command rather than vc-do-command.
7475 (vc-svn-command): Add --non-interactive. (Bug#9993)
7476 (vc-svn-update, vc-svn-merge-news): No need for --non-interactive.
7477
b2621720
GM
7478 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
7479 Add toggle-read-only. (Bug#7292)
7480 * files.el (toggle-read-only): Mention that it should only
7481 be used interactively. (Bug#10006)
7482
1dce7193
SM
74832011-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
7484
d9ac1a1e
SM
7485 * progmodes/compile.el (compilation-error-regexp-alist-alist):
7486 Adjust regexp for OCaml warnings.
7487
0c325082
SM
7488 * electric.el (electric-pair-post-self-insert-function): Let user
7489 turn it off buffer-locally (bug#9932).
7490
90132c14
SM
7491 * progmodes/python.el (python-beginning-of-statement):
7492 Rewrite (bug#2703).
7493
1dce7193
SM
7494 * progmodes/compile.el: Better handle TABs (bug#9749).
7495 (compilation-internal-error-properties)
7496 (compilation-next-error-function): Obey the target buffer's
7497 compilation-error-screen-columns.
7498
c4e7c63a
JB
74992011-11-09 Juanma Barranquero <lekktu@gmail.com>
7500
7501 * progmodes/meta-mode.el: Remove obsolete comments.
7502 (meta-right-comment-regexp, meta-ignore-comment-regexp):
7503 Fix typos in docstrings.
7504
2cffd681
MR
75052011-11-09 Martin Rudalics <rudalics@gmx.at>
7506
7507 * window.el (window-size-fixed-p): Rewrite doc-string.
1dce7193 7508 (window-resizable-p): Rename to window--resizable-p. Update callers.
2cffd681
MR
7509 (window--resizable): New function. Make all callers of
7510 window-resizable call window--resizable instead.
7511 (window-resizable): Rewrite in terms of window--resizable.
7512
0edcba87
GM
75132011-11-08 Glenn Morris <rgm@gnu.org>
7514
7515 * progmodes/delphi.el (delphi-mode-syntax-table):
7516 Let define-derived-mode define a proper syntax table. (Bug#9994)
7517
4b0d61e3
SM
75182011-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
7519
7520 * window.el: Stay away from defsubst.
7521 (window-list-no-nils): Remove.
7522 (window-state-get-1, window-state-get): Use backquote instead.
7523
cd394be1 75242011-11-08 Thierry Volpiatto <thierry.volpiatto@gmail.com>
fcbcac2e 7525
4b0d61e3 7526 * emacs-lisp/find-func.el (find-function-read):
fcbcac2e 7527 Fix incorrect use of default argument in `completing-read'.
7528
e1c2c6f2
MR
75292011-11-08 Martin Rudalics <rudalics@gmx.at>
7530
7531 * window.el (display-buffer-function, special-display-function):
7532 Mention display-buffer-record-window but do not mention
7533 help-setup parameter in doc-strings.
b3f4a882 7534 (window-min-delta): Fix doc-string typo.
e1c2c6f2 7535
105216ed
CY
75362011-11-08 Chong Yidong <cyd@gnu.org>
7537
7538 * window.el (window-total-height, window-total-width): Doc fix.
7539 (window-body-size): Move from C.
7540 (window-body-height, window-body-width): Move to C.
7541
0a9f9ab5
SM
75422011-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
7543
7544 * window.el: Make special-display like display-buffer-alist (bug#9532).
7545 (display-buffer--special-action): New function, morphed
7546 from display-buffer--special.
7547 (display-buffer): Use it to handle special-display-buffers at higher
7548 priority (just after display-buffer-alist).
7549 (display-buffer-fallback-action, display-buffer--other-frame-action)
7550 (pop-to-buffer-same-window): Remove display-buffer--special.
7551
a769dd15
GM
75522011-11-07 Glenn Morris <rgm@gnu.org>
7553
7554 * calendar/cal-menu.el (cal-menu-set-date-title):
7555 Do nothing if not in a calendar. (Bug#9976)
7556
05a61ee3
SM
75572011-11-07 Stefan Monnier <monnier@iro.umontreal.ca>
7558
7559 * files.el (find-file): Always use selected-window.
7560
be7f5545
MR
75612011-11-07 Martin Rudalics <rudalics@gmx.at>
7562
7563 * window.el (window-combinations): Make WINDOW argument
7564 mandatory. Rewrite doc-string.
7565 (walk-window-subtree, window-atom-check, window-min-delta)
7566 (window-max-delta, window--resize-this-window)
7567 (window--resize-root-window-vertically, window-tree)
7568 (balance-windows, window-state-put): Rewrite doc-strings as to
7569 not mention the term "subwindow".
7570 (window--resize-subwindows-skip-p): Rename to
7571 window--resize-child-windows-skip-p.
7572 (window--resize-subwindows-normal): Rename to
7573 window--resize-child-windows-normal.
7574 (window--resize-subwindows): Rename to
7575 window--resize-child-windows.
7576 (window-or-subwindow-p): Rename to window--in-subtree-p.
7577
3c6702ef
ML
75782011-11-07 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
7579
7580 * mail/rmail.el (rmail-get-new-mail, rmail-insert-inbox-text):
7581 Ensure that mbox format messages end in two newlines (Bug#9974).
7582
49745b39
CY
75832011-11-06 Chong Yidong <cyd@gnu.org>
7584
7585 * window.el (window-combination-p): Function deleted; its
7586 side-effect is not used in any existing code.
7587 (window-combinations, window-combined-p): Call window-*-child
7588 directly.
7589
24300f5f
CY
75902011-11-05 Chong Yidong <cyd@gnu.org>
7591
7592 * window.el (window-valid-p): Rename from window-any-p.
447f16b8
CY
7593 (window-size-ignore, window-state-get): Callers changed.
7594 (window-normalize-window): Rename from window-normalize-any-window.
7595 New arg LIVE-ONLY, replacing window-normalize-live-window.
1dce7193 7596 (window-normalize-live-window): Delete.
447f16b8
CY
7597 (window-combination-p, window-combined-p, window-combinations)
7598 (walk-window-subtree, window-atom-root, window-min-size)
7599 (window-sizable, window-sizable-p, window-size-fixed-p)
7600 (window-min-delta, window-max-delta, window-resizable)
7601 (window-resizable-p, window-full-height-p, window-full-width-p)
7602 (window-current-scroll-bars, window-point-1, set-window-point-1)
7603 (window-at-side-p, window-in-direction, window-resize)
7604 (adjust-window-trailing-edge, maximize-window, minimize-window)
7605 (window-deletable-p, delete-window, delete-other-windows)
7606 (record-window-buffer, unrecord-window-buffer)
7607 (switch-to-prev-buffer, switch-to-next-buffer, window--delete)
7608 (quit-window, split-window, window-state-put)
7609 (set-window-text-height, fit-window-to-buffer)
7610 (shrink-window-if-larger-than-buffer): Callers changed.
24300f5f 7611
89bd5ee1
EZ
76122011-11-04 Eli Zaretskii <eliz@gnu.org>
7613
53479029
EZ
7614 * mail/rmail.el (rmail-simplified-subject): Decode subject with
7615 rfc2047-decode-string.
7616 (rmail-mime-toggle-hidden): Declare to avoid byte-compilation
7617 warnings.
7618
89bd5ee1
EZ
7619 * window.el (window-body-height, window-body-width): Mention in
7620 the doc string that the return values are in frame's canonical
7621 units. (Bug#9949)
7622
bd17fdee
AM
76232011-11-03 Alan Mackenzie <acm@muc.de>
7624
7625 * progmodes/cc-langs.el (c-nonlabel-token-2-key): New variable for
7626 change in cc-engine.el.
7627
acc825c5
SM
76282011-11-02 Stefan Monnier <monnier@iro.umontreal.ca>
7629
7630 * window.el (switch-to-buffer): Use `force-same-window' interactively.
7631
1885e5b8
MR
76322011-11-02 Martin Rudalics <rudalics@gmx.at>
7633
7634 * window.el (quit-window): Call unrecord-window-buffer after
7635 showing another buffer in the window. (Bug#9937)
acc825c5 7636 (bury-buffer): Call switch-to-prev-buffer with second argument `bury'.
1885e5b8 7637
ebe06da9
JB
76382011-11-02 Juanma Barranquero <lekktu@gmail.com>
7639
7640 * vc/vc-bzr.el (vc-bzr-state, vc-bzr-after-dir-status):
7641 Accept status with more than 9 shelves. (Bug#9935)
7642 Reported by Colin D Bennett <colin@gibibit.com>.
7643
4ee88440
MR
76442011-11-01 Martin Rudalics <rudalics@gmx.at>
7645
7646 * help.el (with-help-window): Don't reference
7647 temp-buffer-show-specifiers in doc-string.
7648
08e1d82c
AS
76492011-10-31 Andreas Schwab <schwab@linux-m68k.org>
7650
7651 * subr.el (keymap--menu-item-with-binding): Ignore item if not a
7652 menu-item.
7653
84bd6e9e
VJL
76542011-10-30 Vinicius Jose Latorre <viniciusjl@ig.com.br>
7655
7656 * whitespace.el: New version 13.2.2.
7657 (whitespace-newline-mode): Disable properly. Reported by Sarah
7658 <EmacsWiki>.
7659
dba0634a
UJ
76602011-10-30 Ulf Jasper <ulf.jasper@web.de>
7661
7662 * net/newst-treeview.el: Remove "Time-stamp".
7663 (newsticker--group-manage-orphan-feeds): Do not call
7664 newsticker--treeview-tree-update.
db22a3c2
JB
7665 (newsticker-treeview-update, newsticker-treeview):
7666 Call newsticker--treeview-tree-update if necessary.
dba0634a 7667
3d8daefe
MR
76682011-10-30 Martin Rudalics <rudalics@gmx.at>
7669
7670 * window.el (window-iso-combination-p, window-iso-combined-p)
acc825c5
SM
7671 (window-iso-combinations): Remove "iso-" infix.
7672 Suggested by Chong Yidong.
3d8daefe
MR
7673 (window-min-size-1, window-size-fixed-1, window-min-delta-1)
7674 (window-max-delta-1, window-resize, window--resize-siblings)
7675 (window--resize-this-window, adjust-window-trailing-edge)
7676 (split-window, balance-windows-1)
7677 (shrink-window-if-larger-than-buffer):
7678 * calendar/calendar.el (calendar-generate-window):
db22a3c2 7679 * help.el (resize-temp-buffer-window): Adjust callers accordingly.
3d8daefe 7680
1bc4c3ae
SM
76812011-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
7682
7683 * eshell/esh-cmd.el (eshell-rewrite-for-command): Don't modify the list
7684 in place (bug#9907).
7685 (eshell-subcommand-arg-values, eshell-rewrite-named-command)
7686 (eshell-rewrite-if-command, eshell-rewrite-for-command)
7687 (eshell-structure-basic-command, eshell-rewrite-while-command)
7688 (eshell-invokify-arg, eshell-parse-pipeline, eshell-parse-command)
7689 (eshell-parse-subcommand-argument, eshell-parse-lisp-argument)
7690 (eshell-trap-errors, eshell-do-pipelines, eshell-do-eval)
7691 (eshell-do-pipelines-synchronously, eshell-eval-command):
7692 Use backquotes and prefer setq to set.
7693 (eshell-lookup-function, function-p-func, eshell-functionp): Remove.
7694 (eshell-macrop): Use functionp.
c1e2f5fa 7695 (eshell-do-eval): Handle multiple expressions in `while' body.
1bc4c3ae 7696
30b65d9c
CY
76972011-10-30 Chong Yidong <cyd@gnu.org>
7698
7699 * emulation/viper-cmd.el (viper-exec-change): Use push-mark
7700 instead of set-mark (Bug#9810).
7701
2d197ffb
CY
77022011-10-30 Chong Yidong <cyd@gnu.org>
7703
7704 * window.el (split-window-below, split-window-right): Rename from
7705 split-window-above-each-other and split-window-side-by-side
7706 respectively. All callers changed.
7707 (split-window-sensibly, split-window-sensibly): Use them.
7708 (split-window-keep-point): Doc fix.
7709
7710 * isearch.el: Add isearch-scroll property to split-window-below
7711 and split-window-right.
7712
7713 * follow.el (follow-mode):
7714 * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
7715 * progmodes/ada-xref.el (ada-gdb-application):
7716 * emulation/vip.el (vip-buffer-in-two-windows):
7717 * image-dired.el (image-dired-dired-with-window-configuration):
7718 * dired-x.el (dired-do-find-marked-files):
7719 * dired.el (dired-pop-to-buffer):
7720 * bs.el (bs--show-with-configuration):
7721 * vc/emerge.el (emerge-setup-windows):
7722 * textmodes/two-column.el (2C-two-columns):
7723 * textmodes/reftex-toc.el (reftex-toc):
7724 * progmodes/gdb-mi.el (gdb-setup-windows):
7725 * progmodes/fortran.el (fortran-window-create):
7726 * net/newst-treeview.el (newsticker--treeview-window-init):
7727 * emulation/ws-mode.el (wordstar-C-o-map, wordstar-mode):
7728 * emulation/tpu-edt.el (tpu-gold-map):
7729 * emulation/crisp.el (crisp-mode-map):
7730 * calendar/calendar.el (calendar-basic-setup): Callers changed.
7731
38bb2ca8
CY
77322011-10-29 Chong Yidong <cyd@gnu.org>
7733
aa4de341
CY
7734 * subr.el (y-or-n-p): Add code for batch mode (Bug#9818).
7735
e1eb5385
CY
7736 * mouse.el (mouse-yank-primary): Push the mark (Bug#9894).
7737
5d2ece3c
CY
7738 * textmodes/flyspell.el (flyspell-word): Fix char offset for
7739 forged Ispell output (Bug#7904).
7740
38bb2ca8
CY
7741 * emacs-lisp/package.el (package-refresh-contents): Add autoload.
7742
d0af9f77
SM
77432011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
7744
7745 * doc-view.el: Avoid ugly errors about not finding nil.
7746 (doc-view-ghostscript-program, doc-view-dvipdfm-program)
7747 (doc-view-dvipdf-program, doc-view-unoconv-program)
7748 (doc-view-ps2pdf-program, doc-view-pdftotext-program):
7749 Avoid nil or absolute file name as default value.
7750 (doc-view-pdf->txt, doc-view-ps->pdf): Use executable-find here.
7751
52bedd34
AM
77522011-10-28 Alan Mackenzie <acm@muc.de>
7753
db22a3c2 7754 * progmodes/cc-defs.el (c-version): -> 5.32.2.
52bedd34 7755
7e43cfa5
AM
77562011-10-28 Alan Mackenzie <acm@muc.de>
7757
7758 Amend the handling of c-beginning/end-of-defun in nested declaration
7759 scopes.
7760
52bedd34
AM
7761 * progmodes/cc-vars.el (c-defun-tactic): Move here from
7762 cc-langs.el. Change it to a defcustom.
7e43cfa5 7763
52bedd34
AM
7764 * progmodes/cc-langs.el (c-defun-tactic): Move this variable to
7765 cc-vars.el.
7e43cfa5 7766
d0af9f77
SM
7767 * progmodes/cc-engine.el (c-beginning-of-statement-1):
7768 Prevent "class foo : bar" being spuriously recognized as a label.
7e43cfa5 7769
52bedd34 7770 * progmodes/cc-cmds.el (c-narrow-to-most-enclosing-decl-block):
acc825c5 7771 Add parameter `inclusive' (to include enclosing braces in the region).
7e43cfa5
AM
7772 (c-widen-to-enclosing-decl-scope): New function.
7773 (c-while-widening-to-decl-block): New macro.
7774 (c-beginning-of-defun, c-end-of-defun): Change algorithm to keep going
7775 outward for defun boundaries, and correspondingly change symbol
7776 `respect-enclosure' to `go-outward'.
7777 (c-declaration-limits): Change algorithm to report only the "innermost"
7778 defun's boundaries.
7779
1a2ce9ee
DD
77802011-10-28 Deniz Dogan <deniz@dogan.se>
7781
7782 * net/rcirc.el (rcirc-mode): Use hard newlines.
7783
bc97a826
AM
77842011-10-28 Alan Mackenzie <acm@muc.de>
7785
7786 Amend to indent and fontify macros "which include their own semicolon"
7787 correctly, using the "virtual semicolon" mechanism.
7788
52bedd34 7789 * progmodes/cc-defs.el: Update "virtual semicolon" comments.
bc97a826 7790
d0af9f77 7791 * progmodes/cc-engine.el (c-crosses-statement-barrier-p):
7877f373 7792 Recode to scan one line at a time rather than having \n and \r
58179cce 7793 explicitly in c-stmt-delim-chars (for some modes, e.g. AWK).
bc97a826 7794 (c-forward-label): Amend for virtual semicolons.
58179cce 7795 (c-at-macro-vsemi-p, c-macro-vsemi-status-unknown-p): New functions.
bc97a826 7796
52bedd34
AM
7797 * progmodes/cc-fonts.el (c-font-lock-declarations): Take account
7798 of the new C macros.
bc97a826 7799
52bedd34 7800 * progmodes/cc-langs.el (c-at-vsemi-p-fn):
acc825c5
SM
7801 (c-vsemi-status-unknown-p-fn): Move to earlier in the file.
7802 (c-opt-cpp-symbol, c-line-comment-start-regexp): New language vars.
bc97a826
AM
7803 (c-opt-cpp-macro-define): Make into a full language variable.
7804 (c-stmt-delim-chars, c-stmt-delim-chars-with-comma): Special value for
7805 AWK Mode (including \n, \r) removed, no longer needed.
7806
d0af9f77
SM
7807 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode):
7808 Invoke c-make-macro-with-semi-re.
bc97a826 7809
52bedd34
AM
7810 * progmodes/cc-vars.el (c-macro-with-semi-re):
7811 (c-macro-names-with-semicolon): New variables.
58179cce 7812 (c-make-macro-with-semi-re): New function.
bc97a826 7813
7a6c0941
SM
78142011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
7815
7816 * vc/log-edit.el: Fill empty field rather than adding new one.
7817 (log-edit-add-field): New function.
7818 (log-edit-insert-changelog): Use it.
7819
b0c4cdcf
ML
78202011-10-28 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
7821
7822 * mail/rmail.el (rmail-mode-map): Add M-C-f as in rmailsum (bug#9802).
7823
ee1f1da9
SM
78242011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
7825
7826 * progmodes/gdb-mi.el: Warn the user when -i=mi is missing.
7827 (gdb--check-interpreter): New function.
7828 (gdb): Use it.
7829
51bc5f8b
GM
78302011-10-27 Glenn Morris <rgm@gnu.org>
7831
416a2c45
GM
7832 * emacs-lisp/cl-extra.el (most-positive-float, most-negative-float)
7833 (least-positive-float, least-negative-float)
7834 (least-positive-normalized-float, least-negative-normalized-float)
7835 (float-epsilon, float-negative-epsilon):
7836 Remove unnecessary declarations.
7837
7838 * emacs-lisp/cl-extra.el (cl-float-limits): Add doc string.
7839 * emacs-lisp/cl.el (most-positive-float, most-negative-float)
7840 (least-positive-float, least-negative-float)
7841 (least-positive-normalized-float, least-negative-normalized-float)
7842 (float-epsilon, float-negative-epsilon): Add doc-strings,
7843 based on those in cl.texi.
7844
51bc5f8b
GM
7845 * files.el (set-visited-file-name): If the major-mode changed,
7846 reload the local variables. (Bug#9796)
7847
15de15c6
CY
78482011-10-27 Chong Yidong <cyd@gnu.org>
7849
7850 * subr.el (change-major-mode-after-body-hook): New hook.
7851 (run-mode-hooks): Run it.
7852
ee1f1da9
SM
7853 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
7854 Use change-major-mode-before-body-hook.
15de15c6
CY
7855
7856 * simple.el (fundamental-mode):
7857 * emacs-lisp/derived.el (define-derived-mode): Revert 2010-04-28
7858 change introducing fundamental-mode-hook.
7859
5430d399
JB
78602011-10-26 Juanma Barranquero <lekktu@gmail.com>
7861
acc825c5 7862 * term/w32-win.el (w32-default-color-map): Declare obsolete (Bug#9785).
5430d399 7863
ad74a69e
MA
78642011-10-26 Michael Albinus <michael.albinus@gmx.de>
7865
7866 * ido.el (ido-file-name-all-completions-1): Do not require
c7015153 7867 tramp.el explicitly. (Bug#7583)
ad74a69e 7868
71d4c2a5
SM
78692011-10-26 Stefan Monnier <monnier@iro.umontreal.ca>
7870
7871 * progmodes/octave-mod.el:
7872 * progmodes/octave-inf.el: Update maintainer.
7873
b1f6fa26
CY
78742011-10-26 Chong Yidong <cyd@gnu.org>
7875
7876 * subr.el (with-wrapper-hook): Rewrite doc.
7877
3f04efd6
MA
78782011-10-25 Michael Albinus <michael.albinus@gmx.de>
7879
7880 * net/tramp-sh.el (tramp-sh-handle-file-directory-p): Return t for
ad74a69e 7881 filenames "/method:foo:". (Bug#9793)
3f04efd6 7882
410488d3
SM
78832011-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
7884
7885 * comint.el (comint-get-old-input-default): Fix use-prompt-regexp case
7886 (bug#9865).
7887
c1ebb47e
GM
78882011-10-24 Glenn Morris <rgm@gnu.org>
7889
7890 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix. (Bug#9819)
7891
7f5c46c7
MA
78922011-10-24 Michael Albinus <michael.albinus@gmx.de>
7893
7894 * notifications.el: Add the requirement of a running D-Bus session
7895 bus to the Commentary.
7896
db2440b6
JL
78972011-10-24 Juri Linkov <juri@jurta.org>
7898
7899 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
7900 `search-whitespace-regexp' only when `isearch-regexp' is non-nil.
7901 (Bug#9364)
7902
feecf435
JL
79032011-10-24 Juri Linkov <juri@jurta.org>
7904
7905 * info.el (Info-following-node-name-re): Add newline to the list
7906 of allowed characters for leading space. (Bug#9824)
7907
a3839de2
SM
79082011-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
7909
acc825c5
SM
7910 * progmodes/octave-inf.el (inferior-octave-mode-map):
7911 Fix C-c C-h binding.
a3839de2
SM
7912 * progmodes/octave-mod.el (octave-help): Remove.
7913
09388e76
MA
79142011-10-23 Michael Albinus <michael.albinus@gmx.de>
7915
7916 Sync with Tramp 2.2.3.
7917
7918 * net/tramp-cache.el (top): Pacify byte-compiler using
7919 `init-file-user' and `site-run-file'.
7920
7921 * net/trampver.el: Update release number.
7922
86c60681
CY
79232011-10-23 Chong Yidong <cyd@gnu.org>
7924
7925 * files.el (toggle-read-only): Remove obsolete comment about
7926 version control.
7927
7928 * vc/vc-hooks.el (vc-toggle-read-only): Make it an obsolete alias
7929 for toggle-read-only. Note that this hasn't called vc-next-action
7930 since 2008-05-02, though it wasn't documented at the time.
7931
a3839de2
SM
7932 * vc/ediff-init.el (ediff-toggle-read-only-function):
7933 Use toggle-read-only.
86c60681 7934
cd5495ff
AM
79352011-10-22 Alan Mackenzie <bug-cc-mode@gnu.org>
7936
7937 Fix bug #9560, sporadic wrong indentation; improve instrumentation
7938 of c-parse-state.
7939
00b77525 7940 * progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache):
a3839de2 7941 correct faulty logical expression.
cd5495ff
AM
7942 (c-parse-state-state, c-record-parse-state-state):
7943 (c-replay-parse-state-state): New defvar/defuns.
7944 (c-debug-parse-state): Use new functions.
7945
42ee24ed
MR
79462011-10-22 Martin Rudalics <rudalics@gmx.at>
7947
7948 * mouse.el (mouse-drag-line): Fix minibuffer resizing broken by
53ebff1f 7949 last fix. Use window-in-direction correctly.
42ee24ed 7950
a7dee7e7
CY
79512011-10-21 Chong Yidong <cyd@gnu.org>
7952
7953 * progmodes/idlwave.el (idlwave-mode):
7954 * progmodes/vera-mode.el (vera-mode): No need to set
a3839de2
SM
7955 require-final-newline; that's done in prog-mode.
7956 Suggested by Stefan Monnier.
a7dee7e7 7957
e07b9a6d
MR
79582011-10-21 Martin Rudalics <rudalics@gmx.at>
7959
7960 * mouse.el (mouse-drag-window-above)
7961 (mouse-drag-move-window-bottom, mouse-drag-move-window-top)
7962 (mouse-drag-mode-line-1, mouse-drag-header-line)
7963 (mouse-drag-vertical-line-rightward-window): Remove.
7964 (mouse-drag-line): New function.
7965 (mouse-drag-mode-line, mouse-drag-header-line)
7966 (mouse-drag-vertical-line): Call mouse-drag-line.
7967 * window.el (window-at-side-p, windows-at-side): New functions.
7968
7e1361d9
UM
79692011-10-21 Ulrich Mueller <ulm@gentoo.org>
7970
7971 * tar-mode.el (tar-grind-file-mode):
7972 Fix handling of setuid/setgid, handle sticky bit. (Bug#9817)
7973
30fcaf3a
CY
79742011-10-21 Chong Yidong <cyd@gnu.org>
7975
7976 * progmodes/idlwave.el (idlwave-mode):
a3839de2
SM
7977 * progmodes/vera-mode.el (vera-mode):
7978 Use mode-require-final-newline.
30fcaf3a 7979
516eddb0
GM
79802011-10-20 Glenn Morris <rgm@gnu.org>
7981
db22a3c2 7982 * vc/vc.el (vc-next-action): Handle removed directories. (Bug#9781)
516eddb0 7983
10d5f513
CS
79842011-10-20 Christoph Scholtes <cschol2112@googlemail.com>
7985
7986 * emulation/cua-base.el (cua-set-mark): Fix case of string.
7987
ac6c8639
CY
79882011-10-20 Chong Yidong <cyd@gnu.org>
7989
7990 * emulation/cua-base.el (cua-mode):
7991 * mail/footnote.el (footnote-mode):
7992 * mail/mailabbrev.el (mail-abbrevs-mode):
7993 * net/xesam.el (xesam-minor-mode):
7994 * progmodes/bug-reference.el (bug-reference-mode):
7995 * progmodes/cap-words.el (capitalized-words-mode):
7996 * progmodes/compile.el (compilation-minor-mode)
7997 (compilation-shell-minor-mode):
7998 * progmodes/gud.el (gud-tooltip-mode):
7999 * progmodes/hideif.el (hide-ifdef-mode):
8000 * progmodes/idlw-shell.el (idlwave-shell-electric-debug-mode):
8001 * progmodes/subword.el (subword-mode):
8002 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
8003 * progmodes/which-func.el (which-function-mode):
8004 * term/tvi970.el (tvi970-set-keypad-mode):
8005 * term/vt100.el (vt100-wide-mode):
8006 * textmodes/flyspell.el (flyspell-mode):
8007 * textmodes/ispell.el (ispell-minor-mode):
8008 * textmodes/nroff-mode.el (nroff-electric-mode):
8009 * textmodes/paragraphs.el (use-hard-newlines):
8010 * textmodes/refill.el (refill-mode):
8011 * textmodes/reftex.el (reftex-mode):
8012 * textmodes/rst.el (rst-minor-mode):
8013 * textmodes/sgml-mode.el (html-autoview-mode)
8014 (sgml-electric-tag-pair-mode):
8015 * textmodes/tex-mode.el (latex-electric-env-pair-mode):
8016 * vc/diff-mode.el (diff-auto-refine-mode, diff-minor-mode):
8017 * emulation/crisp.el (crisp-mode):
8018 * emacs-lisp/eldoc.el (eldoc-mode):
8019 * emacs-lisp/checkdoc.el (checkdoc-minor-mode): Doc fixes for new
8020 minor mode behavior.
8021
aa42ab43
JL
80222011-10-19 Juri Linkov <juri@jurta.org>
8023
8024 * descr-text.el (describe-char): Add #x2010 and #x2011 to
8025 the list of hard-coded chars with escape-glyph face.
8026
89400f1d
SM
80272011-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
8028
8029 * vc/log-edit.el (log-edit-empty-buffer-p): Ignore empty headers.
8030
305c07f6
MA
80312011-10-19 Michael Albinus <michael.albinus@gmx.de>
8032
8033 * net/tramp.el (tramp-connectable-p): Make a stronger check on a
8034 running process.
8035
13754b54
GM
80362011-10-19 Glenn Morris <rgm@gnu.org>
8037
8038 * vc/vc-bzr.el (vc-bzr-after-dir-status):
8039 Ignore ignored files. (Bug#9726)
8040
06e21633
CY
80412011-10-19 Chong Yidong <cyd@gnu.org>
8042
8043 Doc fix for minor modes, stating that an omitted argument enables
8044 the mode unconditionally when called from Lisp.
8045
8046 * abbrev.el (abbrev-mode):
8047 * allout.el (allout-mode):
8048 * autoinsert.el (auto-insert-mode):
8049 * autoarg.el (autoarg-mode, autoarg-kp-mode):
8050 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
8051 (global-auto-revert-mode):
8052 * battery.el (display-battery-mode):
8053 * composite.el (global-auto-composition-mode)
8054 (auto-composition-mode):
8055 * delsel.el (delete-selection-mode):
8056 * desktop.el (desktop-save-mode):
8057 * dired-x.el (dired-omit-mode):
8058 * dirtrack.el (dirtrack-mode):
8059 * doc-view.el (doc-view-minor-mode):
8060 * double.el (double-mode):
8061 * electric.el (electric-indent-mode, electric-pair-mode):
8062 * emacs-lock.el (emacs-lock-mode):
8063 * epa-hook.el (auto-encryption-mode):
8064 * follow.el (follow-mode):
8065 * font-core.el (font-lock-mode):
8066 * frame.el (auto-raise-mode, auto-lower-mode, blink-cursor-mode):
8067 * help.el (temp-buffer-resize-mode):
8068 * hilit-chg.el (highlight-changes-mode)
8069 (highlight-changes-visible-mode):
8070 * hi-lock.el (hi-lock-mode):
8071 * hl-line.el (hl-line-mode, global-hl-line-mode):
8072 * icomplete.el (icomplete-mode):
8073 * ido.el (ido-everywhere):
8074 * image-file.el (auto-image-file-mode):
8075 * image-mode.el (image-minor-mode):
8076 * iswitchb.el (iswitchb-mode):
8077 * jka-cmpr-hook.el (auto-compression-mode):
8078 * linum.el (linum-mode):
8079 * longlines.el (longlines-mode):
8080 * master.el (master-mode):
8081 * mb-depth.el (minibuffer-depth-indicate-mode):
8082 * menu-bar.el (menu-bar-mode):
8083 * minibuf-eldef.el (minibuffer-electric-default-mode):
8084 * mouse-sel.el (mouse-sel-mode):
8085 * msb.el (msb-mode):
8086 * mwheel.el (mouse-wheel-mode):
8087 * outline.el (outline-minor-mode):
8088 * paren.el (show-paren-mode):
8089 * recentf.el (recentf-mode):
8090 * reveal.el (reveal-mode, global-reveal-mode):
8091 * rfn-eshadow.el (file-name-shadow-mode):
8092 * ruler-mode.el (ruler-mode):
8093 * savehist.el (savehist-mode):
8094 * scroll-all.el (scroll-all-mode):
8095 * scroll-bar.el (scroll-bar-mode):
8096 * server.el (server-mode):
8097 * shell.el (shell-dirtrack-mode):
8098 * simple.el (auto-fill-mode, transient-mark-mode)
8099 (visual-line-mode, overwrite-mode, binary-overwrite-mode)
8100 (line-number-mode, column-number-mode, size-indication-mode)
8101 (auto-save-mode, normal-erase-is-backspace-mode, visible-mode):
8102 * strokes.el (strokes-mode):
8103 * time.el (display-time-mode):
8104 * t-mouse.el (gpm-mouse-mode):
8105 * tool-bar.el (tool-bar-mode):
8106 * tooltip.el (tooltip-mode):
8107 * type-break.el (type-break-mode-line-message-mode)
8108 (type-break-query-mode):
8109 * view.el (view-mode):
8110 * whitespace.el (whitespace-mode, whitespace-newline-mode)
8111 (global-whitespace-mode, global-whitespace-newline-mode):
8112 * xt-mouse.el (xterm-mouse-mode): Doc fix.
8113
a3839de2
SM
8114 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
8115 Fix autogenerated docstring.
06e21633 8116
5214e501
JL
81172011-10-19 Juri Linkov <juri@jurta.org>
8118
8119 * net/browse-url.el (browse-url-can-use-xdg-open): Support LXDE
8120 by checking environment variables "DESKTOP_SESSION" and
8121 "XDG_CURRENT_DESKTOP". (Bug#9779)
8122
195f8db9
JL
81232011-10-19 Juri Linkov <juri@jurta.org>
8124
8125 * net/browse-url.el (browse-url-browser-function): Add "Chromium".
8126 (browse-url-chromium-program, browse-url-chromium-arguments):
8127 New defcustoms.
8128 (browse-url-default-browser): Check for `browse-url-chromium' and
8129 call `browse-url-chromium-program'.
8130 (browse-url-chromium): New command. (Bug#9779)
8131
343a34ff
JB
81322011-10-18 Juanma Barranquero <lekktu@gmail.com>
8133
8134 * facemenu.el (list-colors-duplicates): On Windows, detect more
8135 duplicates by assuming that only colors matching "^System" are
8136 special "system colors". (Bug#9722)
8137
6978a151
SM
81382011-10-18 Stefan Monnier <monnier@iro.umontreal.ca>
8139
8140 * vc/log-edit.el (log-edit): Add "Author:" header to encourage people
8141 to distinguish the author from the committer.
8142
6a80b297
MA
81432011-10-18 Michael Albinus <michael.albinus@gmx.de>
8144
8145 * net/tramp.el (tramp-file-name-handler): Load Tramp packages silently.
8146
b31a5677
JK
81472011-10-18 Jirka Kosek <jirka@kosek.cz> (tiny change)
8148
8149 * international/mule.el (sgml-html-meta-auto-coding-function):
8150 Add support for detecting encoding in HTML5 specified only as
8151 <meta charset="UTF-8">. Implementation just makes http-equiv and
8152 content-type parts from HTML4 encoding string optional. (Bug#9716)
8153
80c6d77f
GM
81542011-10-18 Glenn Morris <rgm@gnu.org>
8155
8156 * vc/vc.el (vc-initial-comment): Mark as obsolete. (Bug#9745)
8157
08b0fee8
CY
81582011-10-18 Chong Yidong <cyd@gnu.org>
8159
8160 * faces.el (cursor): Doc fix.
8161
67e729a5
CY
81622011-10-17 Chong Yidong <cyd@gnu.org>
8163
8164 * font-lock.el (font-lock-maximum-size): Mark as obsolete.
8165
343a34ff 81662011-10-17 Ryan Barrett <emacs@ryanb.org> (tiny change)
87e478b3
RB
8167
8168 * dirtrack.el (dirtrack): Support shell buffers with path
8169 prefixes, e.g. tramp-based remote shells. (Bug#9647)
8170
0bc06380
TZ
81712011-10-17 Teodor Zlatanov <tzz@lifelogs.com>
8172
8173 * json.el: Bump version to 1.3 and note change in History.
8174 (json-alist-p, json-plist-p): Rewrite to avoid recursion.
8175
8b79f3e0
SM
81762011-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
8177
5a7c536b
SM
8178 * comint.el (comint-insert-input, comint-send-input)
8179 (comint-get-old-input-default, comint-backward-matching-input)
8180 (comint-next-prompt): Use nil instead of `input' for field property of
8181 past user input (bug#114).
8182
96a8a0df
SM
8183 * minibuffer.el (completion--replace): Inherit surrounding properties
8184 (bug#114).
8185 (minibuffer-complete-and-exit): Use it.
8186
8b79f3e0
SM
8187 * comint.el (comint--table-subvert): Quote the all-completions output
8188 (bug#9160).
8189
b8f7ff0d
MR
81902011-10-17 Martin Rudalics <rudalics@gmx.at>
8191
8b79f3e0 8192 * ido.el (ido-default-buffer-method): Remove redundant :type entry.
4e5c3d2b 8193
b8f7ff0d 8194 * menu-bar.el (menu-bar-file-menu): Add entry for making new
d912bdcf 8195 window on right of selected. (Bug#9350) Reword other window
b8f7ff0d
MR
8196 entries and separate them from frame entries.
8197
c235b555
GM
81982011-10-15 Glenn Morris <rgm@gnu.org>
8199
8200 * emacs-lisp/ert.el (ert--explain-equal-rec, ert-select-tests):
8201 Doc fixes.
8202
6bbfa6e1
CY
82032011-10-15 Chong Yidong <cyd@stupidchicken.com>
8204
8b79f3e0
SM
8205 * net/network-stream.el (network-stream-open-starttls):
8206 Improve detection of failure due to lack of TLS support.
ec5c990d 8207
6bbfa6e1
CY
8208 * mail/sendmail.el (sendmail-query-once): Tweak prompt message,
8209 putting the input text in front and in bold.
8210
98488977
SM
82112011-10-14 Stefan Monnier <monnier@iro.umontreal.ca>
8212
3d1337be
SM
8213 * pcmpl-unix.el (pcomplete/ssh): SSH does allow ganging.
8214
ee0b45e4
SM
8215 * mpc.el (mpc-songs-jump-to): Don't burp if the user clicks in an
8216 empty buffer.
8217
98488977
SM
8218 * mouse.el (mouse-drag-mode-line-1): Modify the end-event we pushed on
8219 unread-command-events rather than pushing yet-another event.
8220
186f4720
EZ
82212011-10-14 Eli Zaretskii <eliz@gnu.org>
8222
8223 * mail/sendmail.el (sendmail-query-once): Improve the wording of
8224 the explanation of the possible choices. Make the options passed
8225 to completing-read shorter.
8226
8b7a997c
AM
82272011-10-13 Agustín Martín Domingo <agustin.martin@hispalinux.es>
8228
8229 * textmodes/flyspell.el (flyspell-large-region): Make sure
8230 extended character mode is used if defined (Bug#1339).
8231
12587bbb
EZ
82322011-10-13 Eli Zaretskii <eliz@gnu.org>
8233
8234 * simple.el (what-cursor-position): Fix the display of the
e7e2364b
EZ
8235 character info for LRE, LRO, RLE, and RLO characters by appending
8236 an invisible PDF.
12587bbb 8237
bad41229
SM
82382011-10-13 Stefan Monnier <monnier@iro.umontreal.ca>
8239
8240 * emacs-lisp/timer.el (with-timeout): Make sure we cancel the timer
8241 even in case of error; add debug spec; simplify data flow.
8242 (with-timeout-handler): Remove.
8243
28dbc92f
MA
82442011-10-12 Michael Albinus <michael.albinus@gmx.de>
8245
8246 Fix Bug#6019, Bug#9315.
8247
8248 * files.el (set-auto-mode): Call `file-name-sans-versions' for the
8249 complete `buffer-file-name', the local file name part could look
8250 remotely (for example on VMS).
8251
8252 * net/ange-ftp.el (ange-ftp-run-real-handler): Make it an alias of
8253 `tramp-run-real-handler'.
8254 (ange-ftp-fix-name-for-vms): Handle the case, where `name' is
8255 already quoted by '"'.
8256
8257 * net/tramp.el (tramp-rfn-eshadow-update-overlay): Ignore errors.
8258 Let `file-name-handler-alist' be nil, the local file name part
8259 could look remotely (for example on VMS).
8260
e1b0b23a
SM
82612011-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
8262
8263 * textmodes/flyspell.el (flyspell-word): Move with-local-quit
8264 from here...
8265 (flyspell-post-command-hook): ...to here.
8266
a120bde9
SM
82672011-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
8268
8269 * mail/sendmail.el (send-mail-function): Don't use sendmail-query-once
8270 if not needed.
8271 (sendmail-query-once): Remove OS dependencies. Make it a 3-way choice
8272 using completion. Protect against "slow" callers.
8273 Remove the "message hack".
8274
7ce7717b
JL
82752011-10-11 Juri Linkov <juri@jurta.org>
8276
8277 * isearch.el (isearch-lazy-highlight-word): New variable.
8278 (isearch-lazy-highlight-new-loop, isearch-lazy-highlight-search):
8279 Use it. (Bug#9727)
8280
c02ee9d6
GM
82812011-10-11 Glenn Morris <rgm@gnu.org>
8282
8283 * progmodes/f90.el (f90-next-statement): Ignore preprocessor lines,
8284 like f90-previous-statement does.
8285
93e616fd 82862011-10-11 Thierry Volpiatto <thierry.volpiatto@gmail.com>
8287
1f190e73 8288 * eshell/eshell.el (eshell-command): History should be saved
c02ee9d6
GM
8289 only in interactive use, to avoid error.
8290
af7b6078
SM
82912011-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
8292
8293 * minibuffer.el (completion-file-name-table): Fix last change,
8294 i.e. ignore normal errors but not the other ones.
8295
0563dae9
MR
82962011-10-10 Martin Rudalics <rudalics@gmx.at>
8297
8298 * window.el (special-display-buffer-names)
8299 (special-display-regexps): Remove some remnants of earlier
8300 changes from doc-strings.
366ca7f3
MR
8301 (quit-windows-on): New function.
8302
8303 * vc/vc.el (vc-revert, vc-rollback):
8304 * vc/vc-dispatcher.el (vc-finish-logentry): Call quit-windows-on
8305 instead of deleting windows. (Bug#4557) (Bug#5310) (Bug#5556)
9ac13c31 8306 (Bug#6183) (Bug#7074) (Bug#7447)
0563dae9 8307
49677495
MR
83082011-10-09 Martin Rudalics <rudalics@gmx.at>
8309
8310 * window.el (frame-auto-hide-function): Add version tag.
8311 (Bug#9699)
8312
56f2d1e1
MA
83132011-10-09 Michael Albinus <michael.albinus@gmx.de>
8314
8315 * net/tramp.el (tramp-file-name-handler): Add 'debug to the error
8316 condition.
8317
112a6592
LL
83182011-10-09 Leo Liu <sdl.web@gmail.com>
8319
8320 * mail/smtpmail.el (smtpmail-send-data): Add a missing space.
8321 (Bug#9701)
8322
0812589b
GM
83232011-10-08 Glenn Morris <rgm@gnu.org>
8324
8325 * progmodes/f90.el (f90-calculate-indent): Give preprocessor lines
8326 before the first code statement zero indent. (Bug#9690)
8327
b2b0776e
CY
83282011-10-08 Chong Yidong <cyd@stupidchicken.com>
8329
8330 * simple.el (count-words-region): Always count in the region.
8331 Report the number of lines and characters too.
8332 (count-words): New command, which counts in the buffer if the
8333 region is inactive, as count-words-region used to.
8334 (count-words--message): New function. Handle plurals.
8335 (count-lines-region): Make it an alias for count-words-region.
8336
8337 * bindings.el (esc-map): Replace count-lines-region with
8338 count-words-region.
8339
c557cd6b
MR
83402011-10-08 Martin Rudalics <rudalics@gmx.at>
8341
8342 * window.el (window--delete): Delete dedicated frame
8343 unconditionally when argument KILL is non-nil. (Bug#9699)
235ce86f 8344 (switch-to-buffer): Fix doc-string typo.
c557cd6b 8345
61a57ef4 83462011-10-08 Thierry Volpiatto <thierry.volpiatto@gmail.com>
8347
3a7d293b 8348 * eshell/eshell.el (eshell-command): Avoid using hooks.
61a57ef4 8349
c3833279
CY
83502011-10-07 Chong Yidong <cyd@stupidchicken.com>
8351
8352 * bindings.el ([M-left],[M-right]): Bind to left-word and
8353 right-word respectively.
8354
21ce8245
GM
83552011-10-07 Glenn Morris <rgm@gnu.org>
8356
8357 * cus-start.el (debug-on-quit): Fix custom type.
8358
6d823bb2
LMI
83592011-10-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
8360
0181e193
LMI
8361 * subr.el (define-key-after): Clarify that the function is not
8362 useful for non-menu keymaps.
8363
6d823bb2
LMI
8364 * progmodes/gdb-mi.el (gdb): Fix typo in doc string.
8365
8e3459ce 83662011-10-06 Thierry Volpiatto <thierry.volpiatto@gmail.com>
8367
21ce8245 8368 * eshell/eshell.el (eshell-command): Enable `eshell-mode' only
8e3459ce 8369 in current minibuffer (Fix bug with recursive minibuffers).
8370
a1c2d21e
CY
83712011-10-06 Chong Yidong <cyd@stupidchicken.com>
8372
8373 * progmodes/gdb-mi.el (gdb): Doc fix.
8374
5a4cf282
MR
83752011-10-05 Martin Rudalics <rudalics@gmx.at>
8376
8377 * window.el (frame-auto-hide-function): New option replacing
8378 frame-auto-delete. Suggested by Stefan Monnier.
8379 (window--delete): Call frame-auto-hide-function instead of
8380 investigating frame-auto-delete.
c96111ea
MR
8381 (window-point-1, set-window-point-1): New functions.
8382 (window-in-direction, record-window-buffer, window-state-get-1)
8383 (display-buffer-record-window): Use window-point-1 instead of
8384 window-point.
8385 (set-window-buffer-start-and-point): Use set-window-point-1.
5a4cf282 8386
9854542e
SM
83872011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
8388
8389 * emacs-lisp/edebug.el: Heed checkdoc recommendations.
8390
8943cfb0
GM
83912011-10-05 Glenn Morris <rgm@gnu.org>
8392
8393 * progmodes/perl-mode.el (perl-electric-terminator): Doc fix.
8394 (perl-calculate-indent): Suppress scan errors. (Bug#2205)
8395
647ab967
LL
83962011-10-05 Leo Liu <sdl.web@gmail.com>
8397
8398 * subr.el (read-char-choice): Fix argument to buffer-live-p which
8399 works with buffer object.
8400
3ddfbced
SM
84012011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
8402
8403 * mpc.el (mpc-tool-bar-map): Add labels.
8404
bdfa5dd2
GM
84052011-10-04 Glenn Morris <rgm@gnu.org>
8406
8407 * calendar/holidays.el (calendar-check-holidays): Doc fix.
8408
0e2070b5
MR
84092011-10-04 Martin Rudalics <rudalics@gmx.at>
8410
8411 * window.el (window--delete): New function.
8412 (frame-auto-delete): Resuscitate option.
8413 (bury-buffer, replace-buffer-in-windows)
8414 (quit-window): Rewrite using window--delete.
8415 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
8416 Pass display-buffer-mark-dedicated to window--display-buffer-2
8417 (Bug#9639).
8418
3dc61a09
SM
84192011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
8420
915a9b64
SM
8421 * pcmpl-unix.el (pcomplete/scp): Don't assume pcomplete-all-entries
8422 returns a list (bug#9554). Add remote file name completion.
8423 * comint.el (comint--table-subvert): Curry and get quote&unquote
8424 functions as arguments.
8425 (comint--complete-file-name-data): Adjust call accordingly.
8426 * pcomplete.el (pcomplete--table-subvert): Remove.
8427 (pcomplete-completions-at-point): Use comint--table-subvert instead.
8428
3dc61a09
SM
8429 * minibuffer.el (completion-table-case-fold): Use currying.
8430 (completion--styles-type, completion--cycling-threshold-type):
8431 New constants.
8432 (completion-styles, completion-category-overrides)
8433 (completion-cycle-threshold): Use them.
8434 * pcomplete.el (pcomplete-completions-at-point): Adjust call to
8435 completion-table-case-fold.
8436
8ea0a993
SB
84372011-10-03 Stephen Berman <stephen.berman@gmx.net>
8438
8439 * minibuffer.el (completion-category-overrides): Fix type of styles
8440 and add more user friendly tags (bug#9660).
8441
8c24b7f6
SM
84422011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
8443
8444 * international/mule-cmds.el: Fix abuses of apply-partially (bug#9661).
8445 (mule-input-method-string): New widget.
8446 (default-input-method, language-info-custom-alist): Use it.
8447
428fe61a
SM
84482011-10-02 Stefan Monnier <monnier@iro.umontreal.ca>
8449
32c1fffd
SM
8450 * pcomplete.el: Require comint.
8451 (pcomplete--common-suffix): Remove.
8452 (pcomplete--common-quoted-suffix): Use comint--common-suffix instead.
8453 (pcomplete--table-subvert): Sync with comint--table-subvert.
8454 (pcomplete--entries): Use comint-completion-file-name-table.
8455 * comint.el (comint-unquote-filename): Simplify.
8456 (comint-completion-file-name-table): New function (bug#9616).
8457 (comint--complete-file-name-data): Use it.
8458
428fe61a
SM
8459 * pcmpl-gnu.el (pcmpl-gnu-with-file-buffer): New macro (bug#9643).
8460 (pcmpl-gnu-tar-buffer): Remove.
8461 (pcmpl-gnu-with-file-buffer): Use it to avoid leaving the tar's buffer
9aaf2b9c
GM
8462 around. Make sure pcomplete-suffix-list is only changed temporarily.
8463 Don't look inside the tar's file if it's too large.
428fe61a 8464
04c52e2f
CY
84652011-10-01 Chong Yidong <cyd@stupidchicken.com>
8466
ce3cefcc
CY
8467 * cus-edit.el (custom-mode-map):
8468 * epa.el (epa-key-list-mode-map):
8469 * man.el (Man-mode-map):
8470 * startup.el (splash-screen-keymap):
8471 * simple.el (special-mode-map): Use scroll-up-command and
8472 scroll-down-command.
8473
8474 * progmodes/idlw-help.el (idlwave-help-mode-map):
8475 * progmodes/ebrowse.el (ebrowse-electric-position-mode-map):
8476 * net/newst-plainview.el (newsticker-mode-map):
8477 * emulation/ws-mode.el (wordstar-mode-map):
8478 * emulation/vi.el (vi-com-map):
8479 * calc/calc-graph.el (calc-graph-show-dumb):
8480 * term/sun.el (terminal-init-sun):
8481 * term/ns-win.el (global-map):
8482 * progmodes/grep.el (grep-mode-map):
8483 * progmodes/ebrowse.el (ebrowse-electric-list-mode-map):
8484 * mail/rmail.el (rmail-mode-map):
8485 * progmodes/cpp.el (cpp-edit-mode-map): Likewise.
8486
04c52e2f
CY
8487 * custom.el (custom-safe-themes, load-theme): Treat value of t for
8488 custom-safe-themes as special.
8489
79adf8c8
JD
84902011-10-01 Julien Danjou <julien@danjou.info>
8491
8492 * notifications.el (notifications-notify): Fix docstring.
8493
63bd50d3
PS
84942011-10-01 Per Starbäck <per@starback.se>
8495
8496 * pcmpl-gnu.el (pcomplete/tar): Fix tar-header-name call. (Bug#9643)
8497
199e4c7e
MR
84982011-09-30 Martin Rudalics <rudalics@gmx.at>
8499
8500 * startup.el (command-line-1): Fix last fix by inserting
8501 initial-scratch-message into *scratch* before displaying it.
cbc5ee22 8502 (Bug#9605) and (Bug#9636)
199e4c7e 8503
fe5f08dd
EZ
85042011-09-29 Eli Zaretskii <eliz@gnu.org>
8505
8506 * simple.el (line-move): If auto-hscroll-mode is disabled and the
8507 window is hscrolled, move by logical lines. (Bug#9607)
8508 (line-move-visual): Update the doc string to the above effect.
8509
b5516bbd
MR
85102011-09-29 Martin Rudalics <rudalics@gmx.at>
8511
ccee00c0
MR
8512 * window.el (display-buffer-record-window): When WINDOW is the
8513 selected window use `point' instead of `window-point'. (Bug#9626)
8514
b5516bbd
MR
8515 * startup.el (command-line-1): Use insert-before-markers when
8516 inserting initial-scratch-message. (Bug#9605)
ccee00c0 8517
b5516bbd
MR
8518 * help.el (help-window): Remove variable.
8519
52aa0014
GM
85202011-09-29 Glenn Morris <rgm@gnu.org>
8521
8522 * pcmpl-cvs.el (pcomplete/cvs): Add "status" handler.
8523
df9a7357
JB
85242011-09-29 Juanma Barranquero <lekktu@gmail.com>
8525
8526 * descr-text.el (describe-char-categories): Accept category
8527 descriptions more than one line long.
8528
a8406c20
SM
85292011-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
8530
88d9610c
SM
8531 * simple.el (delete-trailing-whitespace): Fix last change.
8532
a5daf810
SM
8533 * progmodes/perl-mode.el (perl-syntax-propertize-function):
8534 Don't confuse "y => 3" as the beginning of a `y' operation.
8535
a8406c20
SM
8536 * emacs-lisp/debug.el (debug-convert-byte-code): Don't assume the
8537 object has more than 4 slots (bug#9613).
8538
a239d4e9
JB
85392011-09-28 Juanma Barranquero <lekktu@gmail.com>
8540
8541 * subr.el (with-output-to-temp-buffer):
8542 * net/quickurl.el (quickurl, quickurl-browse-url):
8543 Fix typos in docstrings.
8544
693fbdb6
EZ
85452011-09-27 Eli Zaretskii <eliz@gnu.org>
8546
8547 * minibuffer.el (completion-styles)
8548 (completion-category-overrides): Cross reference each other in doc
8549 strings.
8550
8b457e28
GM
85512011-09-27 Glenn Morris <rgm@gnu.org>
8552
8553 * pcmpl-cvs.el (pcmpl-cvs-entries): Update for Emacs 22.1 changes
8554 to split-string. (Bug#9606)
8555
85a16208
LMI
85562011-09-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
8557
8558 * mail/smtpmail.el (smtpmail-via-smtp): Fix STARTTLS detection
8559 (bug#9615).
8560
502f9ebd
CY
85612011-09-27 Chong Yidong <cyd@stupidchicken.com>
8562
8563 * emacs-lisp/package.el (list-packages): Fix echo area message.
8564
7690bdea
LL
85652011-09-27 Leo Liu <sdl.web@gmail.com>
8566
8567 * ido.el (ido-read-internal): Accept cons cell HIST arg.
8568
e2ee6f30
MA
85692011-09-25 Michael Albinus <michael.albinus@gmx.de>
8570
8571 * net/dbus.el (dbus-unregister-object): Don't release services for
8572 registered signals. (Bug#9581)
8573
f3f98342
TZ
85742011-09-25 Teodor Zlatanov <tzz@lifelogs.com>
8575
8576 * progmodes/cfengine.el (cfengine-auto-mode): Add convenience
8577 function that picks between cfengine 2 and 3 support
8578 automatically. Update docs accordingly.
8579
dd7aa8dd
KH
85802011-09-22 Kenichi Handa <handa@m17n.org>
8581
8582 * language/ind-util.el (indian-tml-base-table): Add TAMIL DIGIT
8583 ZERO.
8584 (indian-itrans-v5-table-for-tamil): New variable.
8585 (indian-tml-itrans-v5-hash): Use the above variable (Bug#9336).
8586
3f2b07f8
KM
85872011-09-22 Ken Manheimer <ken.manheimer@gmail.com>
8588
8589 * allout.el (allout-this-command-hid-stuff): Buffer-local variable
8590 that's true if the current command involved collapsing of text.
8591 It's reset to false at the beginning of the next command.
8592 (allout-post-command-business): Move the cursor to the beginning
8593 of entry if the cursor is hidden and collapsing activity just
8594 happened.
8595
371d6a61
CY
85962011-09-24 Chong Yidong <cyd@stupidchicken.com>
8597
8598 * mouse.el (mouse-drag-track): Set scroll-margin to 0 while
8599 tracking (Bug#9541).
8600
2ac2721a
UJ
86012011-09-24 Ulf Jasper <ulf.jasper@web.de>
8602
8603 * net/newst-reader.el (newsticker-html-renderer)
1154d12e
JB
8604 (newsticker-show-news): Automatically load html rendering package
8605 if newsticker-html-renderer is set. Fixes "Warning: defvar ignored
8606 because w3m-fill-column is let-bound" and the error "Symbol's value
8607 as variable is void: w3m-fill-column".
2ac2721a 8608
fac7ae53
MA
86092011-09-24 Michael Albinus <michael.albinus@gmx.de>
8610
8611 * net/dbus.el (dbus-unregister-object): Remove match rule of signals.
8612 Release services only if they are defined. (Bug#9581)
8613
e08b633b
RS
86142011-09-23 Richard Stallman <rms@gnu.org>
8615
e488d29c
RS
8616 * textmodes/paragraphs.el (forward-sentence): For backwards case,
8617 distinguish start of paragraph from start of its text.
8618
19c38752
RS
8619 * mail/emacsbug.el (report-emacs-bug-query-existing-bugs): Autoload.
8620
e08b633b
RS
8621 * mail/rmail.el (rmail-view-buffer-kill-buffer-hook): New function.
8622 (rmail-generate-viewer-buffer): Put that hook on view buffer.
8623 (rmail-mode-kill-buffer-hook): Override that hook, to kill view buffer.
8624
0a39f27e
AS
86252011-09-23 Andreas Schwab <schwab@linux-m68k.org>
8626
8627 * international/mule-diag.el (mule-diag): Insert a newline after
8628 each fontset description.
8629
db4e950d
SM
86302011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
8631
8632 * simple.el (delete-trailing-whitespace):
8633 Document last change; simplify.
8634
eca3f3ea
PW
86352011-09-23 Peter J. Weisberg <pj@irregularexpressions.net>
8636
d68e189a
PW
8637 * simple.el (delete-trailing-whitespace): Also delete
8638 extra newlines at the end of the buffer.
8639
eca3f3ea
PW
8640 * textmodes/picture.el: Make motion commands obey shift-select-mode.
8641 (picture-newline): Use forward-line so as to ignore fields.
8642
01c157cc
SM
86432011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
8644
8645 * subr.el (with-wrapper-hook): Fix edebug spec.
8646
022de23e
LMI
86472011-09-23 Lars Magne Ingebrigtsen <larsi@gnus.org>
8648
8649 * simple.el (kill-line): Note effect of `show-trailing-whitespace'
8650 (bug#4538).
8651
91683089
MA
86522011-09-23 Michael Albinus <michael.albinus@gmx.de>
8653
eca3f3ea
PW
8654 * net/tramp-sh.el (tramp-sh-handle-file-name-all-completions):
8655 Fix nasty bug using wrong cached values.
91683089 8656
5bdd6fa4
AM
86572011-09-23 Alan Mackenzie <acm@muc.de>
8658
8659 * progmodes/cc-defs.el (c-version): Increase to 5.31.9.
8660
97adfb97
CY
86612011-09-23 Chong Yidong <cyd@stupidchicken.com>
8662
8663 * window.el (pop-to-buffer): Ensure right window is selected if we
8664 chose another frame.
8665
d4ef2b50
EZ
86662011-09-22 Eli Zaretskii <eliz@gnu.org>
8667
8668 * simple.el (what-cursor-position): Use get-char-property-change
8669 and next-single-char-property-change, to be able to show display
8670 properties that come from overlays as well as text properties.
8671
72258fe5
CY
86722011-09-22 Chong Yidong <cyd@stupidchicken.com>
8673
8674 * window.el (pop-to-buffer-same-window): New (reinstated) fun.
8675
8676 * cmuscheme.el (run-scheme, switch-to-scheme):
8677 * cus-edit.el (customize-group, custom-buffer-create)
8678 (customize-browse):
8679 * info.el (info):
8680 * shell.el (shell):
8681 * mail/sendmail.el (mail):
8682 * progmodes/inf-lisp.el (inferior-lisp): Use it (Bug#9532).
8683
8f098516
RS
86842011-09-22 Richard Stallman <rms@gnu.org>
8685
8686 * textmodes/paragraphs.el (forward-sentence): When setting PAR-BEG,
8687 move back only to line beg, don't move back over blank lines.
8688
e74f1bb6
MA
86892011-09-22 Michael Albinus <michael.albinus@gmx.de>
8690
8691 * files.el (copy-directory): Set directory attributes only in case
8692 they could be retrieved from the source directory. (Bug#9565)
8693
bfeef8b6
DK
86942011-09-22 Dima Kogan <dkogan@secretsauce.net> (tiny change)
8695
8696 * progmodes/hideshow.el (hs-looking-at-block-start-p)
8697 (hs-find-block-beginning, hs-hide-level-recursive):
8698 Ignore strings as well as comments. (Bug#9502)
8699
7e423bb8
AS
87002011-09-22 Andrew Schein <andrew@andrewschein.com> (tiny change)
8701
8702 * progmodes/sql.el (sql-comint-postgres):
8703 Convert port number to a string. (Bug#9566)
8704
b4d72fcf
MR
87052011-09-22 Martin Rudalics <rudalics@gmx.at>
8706
8707 * window.el (quit-window): Undedicate window when switching to
8708 previous buffer. Reported by Thierry Volpiatto
8709 <thierry.volpiatto@gmail.com>.
7f80c86d
MR
8710 (special-display-popup-frame): When popping up a new frame reset
8711 its previous buffers to nil. Simplify code.
b4d72fcf 8712
a7b88dc6
MA
87132011-09-21 Michael Albinus <michael.albinus@gmx.de>
8714
8715 * net/tramp.el (tramp-handle-shell-command): Set process sentinel
8716 and process filter, as done also in `shell-command'.
8717
cf4eacfd
MR
87182011-09-21 Martin Rudalics <rudalics@gmx.at>
8719
eca3f3ea 8720 * window.el (set-window-buffer-start-and-point):
1154d12e
JB
8721 Call set-window-start with NOFORCE argument t.
8722 Suggested by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
cf4eacfd
MR
8723 (quit-window): Reword doc-string. Handle new format of
8724 quit-restore parameter. Don't delete window if it has a
8725 previous buffer we can show instead of the present one.
8726 (display-buffer-record-window): Rewrite using a new format for
8727 the quit-restore window parameter
8728 (special-display-popup-frame, display-buffer-same-window)
8729 (display-buffer-reuse-window, display-buffer-pop-up-frame)
8730 (display-buffer-pop-up-window, display-buffer-use-some-window):
8731 Adapt symbol passed to display-buffer-record-window.
8732 * help.el (help-window-setup): Handle new format of quit-restore
8733 parameter.
8734
8d28cb95
SM
87352011-09-21 Stefan Monnier <monnier@iro.umontreal.ca>
8736
94ab793f
SM
8737 * faces.el (face-list): Fix docstring (bug#9564).
8738
8d28cb95
SM
8739 * window.el (display-buffer--action-function-custom-type):
8740 Don't include internal functions in the Custom interface.
8741
3820edeb
JL
87422011-09-20 Juri Linkov <juri@jurta.org>
8743
8744 * info.el (Info-history-skip-intermediate-nodes): New defcustom.
8745 (Info-forward-node, Info-backward-node, Info-next-preorder)
8746 (Info-last-preorder): Use it. (Bug#9528)
8747
5147931d
JL
87482011-09-20 Juri Linkov <juri@jurta.org>
8749
8750 * info.el (Info-last-preorder): Visit last menu item only when
8751 `Info-scroll-prefer-subnodes' is non-nil (third test-case of bug#9528).
8752
cf499a1a
JD
87532011-09-20 Julien Danjou <julien@danjou.info>
8754
8755 * password-cache.el (password-cache-remove): Remove entries even if the
8756 value is nil, so that password with a nil value (negative caching) is
8757 possible to invalidate.
8758
f84e2fe2
LM
87592011-09-20 Lawrence Mitchell <wence@gmx.li>
8760
8761 * progmodes/f90.el (f90-break-line): If breaking inside comment delete
8762 all whitespace around breakpoint. (Bug#9553)
8763 (f90-find-breakpoint): Only break at whitespace inside a comment.
8764
78054a46
SM
87652011-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
8766
8767 * minibuffer.el (completion-file-name-table): Keep track of errors.
8768 (completion-table-with-predicate): Handle the case where pred1 is nil.
8769 * pcomplete.el (pcomplete-completions-at-point): Simplify.
8770
345083b2
SM
87712011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
8772
e24e27be
SM
8773 * emacs-lisp/debug.el (debugger-args): Give it a docstring.
8774 (debugger-return-value): Signal an error if the debugging context does
8775 not await any return value.
8776
345083b2
SM
8777 * ps-mule.el (ps-mule-plot-string): Don't inf-loop (bug#5108).
8778 * image-mode.el (image-toggle-display-text)
8779 (image-toggle-display-image): Stay away from evil `intangible'.
8780
08d355e3
LL
87812011-09-19 Leo Liu <sdl.web@gmail.com>
8782
8783 * replace.el (occur-revert-arguments): Make it permanent-local.
8784 (occur-mode): Don't call font-lock-defontify.
8785
f01da43f
CY
87862011-09-19 Chong Yidong <cyd@stupidchicken.com>
8787
8788 * net/ldap.el (ldap-search-internal): Don't push empty search
8789 result (Bug#9508).
8790
b6072fa6
SM
87912011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
8792
8793 * whitespace.el (whitespace-newline-mode): Disable it right (bug#9550).
8794
443d6696
MA
87952011-09-19 Michael Albinus <michael.albinus@gmx.de>
8796
8797 * net/tramp-sh.el (tramp-inline-compress-commands): Add "xz".
8798 Suggested by Liam Stitt <stittl@cuug.ab.ca>.
8799
7cc6e154
JL
88002011-09-18 Juri Linkov <juri@jurta.org>
8801
8802 * buff-menu.el (Buffer-menu-mode-map):
8803 * dired.el (dired-mode-map):
8804 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map)
8805 (lisp-interaction-mode-map):
8806 * emacs-lisp/package.el (package-menu-mode-map):
8807 * epa.el (epa-key-list-mode-map):
8808 * menu-bar.el (menu-bar-showhide-tool-bar-menu)
8809 (menu-bar-options-menu):
8810 * outline.el (outline-mode-menu-bar-map):
8811 * vc/vc-bzr.el (vc-bzr-shelve-menu-map, vc-bzr-extra-menu-map):
8812 * vc/vc-dir.el (vc-dir-menu-map):
8813 * vc/vc-git.el (vc-git-stash-menu-map, vc-git-extra-menu-map):
8814 Capitalize non-function content words in menu item strings.
8815
8816 * dired.el (dired-mode-map): Add menu item for
8817 `image-dired-dired-toggle-marked-thumbs'.
8818
80302a81
JL
88192011-09-18 Juri Linkov <juri@jurta.org>
8820
8821 * isearch.el (isearch-edit-string): Bind `isearch-new-case-fold'
8822 to `isearch-case-fold-search' and restore its original value
8823 after the `isearch-mode' call.
8824
46c5cf66
JL
88252011-09-18 Juri Linkov <juri@jurta.org>
8826
8827 * progmodes/grep.el (grep-process-setup): Don't check code for 1
8828 because `zgrep' returns 1 for successful matches (bug#9226).
8829
d18b513b
JL
88302011-09-18 Juri Linkov <juri@jurta.org>
8831
8832 * info.el (Info-extract-menu-node-name): Check the second match
8833 for empty string (second test-case of bug#9528).
8834 (Info-last-preorder): Let-bind `Info-history' to nil to not add
8835 intermediate nodes to the history (first test-case of bug#9528).
8836
72753f87
JL
88372011-09-18 Juri Linkov <juri@jurta.org>
8838
8839 * info.el (Info-mode-syntax-table): New variable.
1154d12e 8840 (Info-mode): Set `:syntax-table' to `Info-mode-syntax-table' (bug#3312).
72753f87 8841
c9384295
JL
88422011-09-18 Juri Linkov <juri@jurta.org>
8843
1154d12e
JB
8844 * info.el (Info-file-supports-index-cookies):
8845 Increment line-beginning-position's arg from 3 to 4 because makeinfo
8846 outputs one more line for long file names (bug#4142).
c9384295 8847
d473dce8
CY
88482011-09-18 Chong Yidong <cyd@stupidchicken.com>
8849
8850 * newcomment.el (comment-normalize-vars): If prompting for
8851 comment-start, set comment-start-skip too (Bug#8424).
8852
2176854d
JB
88532011-09-18 Johan Bockgård <bojohan@gnu.org>
8854
8855 * icomplete.el: Fix previous fix of Bug#5849.
8856 (icomplete-mode): Don't set completion-show-inline-help.
8857 (icomplete-minibuffer-setup): Set completion-show-inline-help
8858 locally during icompletion.
8859
3aace4e4
CY
88602011-09-18 Chong Yidong <cyd@stupidchicken.com>
8861
c940224f
CY
8862 * woman.el (woman2-process-escapes): Don't delete unrecognized
8863 escapes (Bug#7843).
8864
3aace4e4
CY
8865 * files.el (inhibit-first-line-modes-regexps): Add image files.
8866 (hack-local-variables-prop-line): Return nil for malformed
8867 prop-lines (Bug#9044).
8868
710dec63
MA
88692011-09-18 Michael Albinus <michael.albinus@gmx.de>
8870
8871 * net/tramp.el (top): Don't require 'shell.
8872 (tramp-methods): Fix docstring.
8873 (tramp-get-remote-tmpdir): New defun, moved from tramp-sh.el.
8d28cb95
SM
8874 Return complete remote file name. Handle "smb" case.
8875 Use `tramp-tmpdir', if defined for the respective method.
710dec63
MA
8876 (tramp-make-tramp-temp-file): Adapt call of `tramp-get-remote-tmpdir'.
8877
8878 * net/tramp-compat.el (top): Require 'shell.
8879
8880 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
8881 (tramp-maybe-open-connection): Use `tramp-file-name-real-host' for
8882 `tramp-current-host'.
8883 (tramp-get-remote-tmpdir): Remove.
8884
8885 * net/tramp-smb.el (tramp-methods): Add `tramp-remote-shell' and
8886 `tramp-tmpdir' entries.
8887 (tramp-smb-errors): Add "NT_STATUS_IMAGE_ALREADY_LOADED".
8888 (tramp-smb-handle-file-attributes): Ignore errors.
8889 (tramp-smb-wait-for-output): Check also for process end.
8890
5d5ac8ec
LMI
88912011-09-18 Lars Magne Ingebrigtsen <larsi@gnus.org>
8892
8893 * mail/smtpmail.el (smtpmail-via-smtp): Ignore errors that arise
8894 when sending QUIT (bug#9312).
8895
8c0f49f0
CY
88962011-09-17 Chong Yidong <cyd@stupidchicken.com>
8897
8898 * replace.el (occur-mode-map): Rebind occur-edit-mode to "e" (Bug#8463).
8899 (occur-edit-mode-map): Bind C-c C-c to occur-cease-edit and C-o to
8900 occur-mode-display-occurrence.
8901 (occur-edit-mode): Add usage message.
8902 (occur-cease-edit): New command.
8903 (occur-after-change-function): Use text properties to find the
8904 position of the prefix text.
8905 (occur-engine): Set stickiness of prefix text properties.
8906
8f1383f7
GM
89072011-09-17 Glenn Morris <rgm@gnu.org>
8908
8909 * progmodes/etags.el (complete-tag):
8910 Fix call to completion-in-region. (Bug#9526)
8911
744ba0e3
JL
89122011-09-17 Juri Linkov <juri@jurta.org>
8913
8914 * textmodes/ispell.el (ispell-word): Add to the error message
8915 the word, ispell program name and current dictionary (bug#9121).
8916 (ispell-tex-arg-end): Capitalize "error" in the error message.
8917
d9bbf400
AS
89182011-09-17 Andreas Schwab <schwab@linux-m68k.org>
8919
8920 * emacs-lisp/bytecomp.el (byte-compile-lapcode): Fix overflow
8921 check. (Bug#4251)
8922
8da11505
JL
89232011-09-17 Juri Linkov <juri@jurta.org>
8924
8925 * window.el (window-safe-min-height, window-safe-min-width):
8926 Fix typos (followup to bug#9522).
8927
a91adc7e
SJ
89282011-09-17 Sven Joachim <svenjoac@gmx.de>
8929
8930 * window.el (window-min-width, window-state-put): Fix typos (bug#9522).
8931
064f328a
EZ
89322011-09-16 Eli Zaretskii <eliz@gnu.org>
8933
8934 * simple.el (line-move): If goal-column is set, move by logical
8935 lines, not by display lines. (Bug#971)
8936 (next-line, previous-line, goal-column, line-move-visual): Doc fix
8937 to reflect the above change.
8938
e69df516
SM
89392011-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
8940
8941 * image.el (imagemagick-register-types): Use regexp-opt.
8942
cbb0f9ab
CY
89432011-09-15 Chong Yidong <cyd@stupidchicken.com>
8944
8945 * window.el (display-buffer-base-action): Rename from
8946 display-buffer-default-action. Make default value empty.
8947 (display-buffer-overriding-action): Convert to defvar.
8948 (display-buffer-fallback-action): New var.
8949
25322144
CY
89502011-09-15 Chong Yidong <cyd@stupidchicken.com>
8951
8952 * emacs-lisp/package.el (package-alist): Fix risky-local-variable
8953 declaration.
8954 (package--add-to-archive-contents): If there is a duplicate entry
8955 with an older version, remove it.
8956 (package-menu-mark-delete, package-menu-mark-install)
8957 (package-menu-mark-unmark): Make unused args optional.
e69df516
SM
8958 (package-menu-mark-obsolete-for-deletion):
8959 Use package-menu-get-status instead of a regexp search.
25322144
CY
8960 (package-menu-get-status): Use tabulated-list-entry.
8961 (package-menu-mark-upgrades): New command.
d770725a 8962 (package-menu-mode-map): Bind it to U. Add it to menu bar.
25322144
CY
8963 (package-menu-execute): Do installation before deletion.
8964 (package-menu-refresh, package-menu-execute): Use derived-mode-p
8965 instead of checking major-mode.
8966 (package-menu--find-upgrades): New function.
8967
7520339c
LMI
89682011-09-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
8969
8970 * mail/smtpmail.el (smtpmail-send-command): Don't include AUTH
8971 passwords in the log buffer.
65a046c4
LMI
8972 (smtpmail-process-filter): Update the process marker so that the
8973 "broken by peer" status message is inserted in the right place.
7520339c 8974
d3c30954
SM
89752011-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
8976
3fe48822
SM
8977 * textmodes/bibtex.el (bibtex-complete-string-cleanup)
8978 (bibtex-complete-crossref-cleanup): Adjust to accommodate needs of
8979 bibtex-completion-at-point-function.
8980 (bibtex-completion-at-point-function): Use them.
8981
1b8b3954
SM
8982 * newcomment.el (comment-add, comment-valid-prefix-p): Docfix.
8983
d3c30954
SM
8984 * mpc.el (mpc-constraints-tag-lookup): New function.
8985 (mpc-constraints-restore): Use it to make jumping to "album=Foo" apply
8986 also to browser "album|playlist".
8987
72779976
JL
89882011-09-14 Juri Linkov <juri@jurta.org>
8989
8990 * isearch.el (isearch-fail-pos): Add new arg `msg'. Doc fix.
8991 (isearch-edit-string): Use length of `isearch-string' when
8992 `isearch-fail-pos' returns nil.
8993 (isearch-message): Remove duplicate code and call
8994 `isearch-fail-pos' with arg `t'.
8995
a0bf2bcd
CY
89962011-09-14 Chong Yidong <cyd@stupidchicken.com>
8997
17bb0a2d
CY
8998 * replace.el (occur-mode-goto-occurrence): Don't force using other
8999 window (Bug#9499).
9000
a0bf2bcd
CY
9001 * dired-aux.el (dired-do-chmod): Don't provide initial input.
9002
f678e0b6
MR
90032011-09-14 Martin Rudalics <rudalics@gmx.at>
9004
9005 * window.el (display-buffer-window): Remove.
9006 (display-buffer-record-window): Use help-setup window parameter
9007 instead of variable display-buffer-window.
9008 (display-buffer-function, special-display-buffer-names)
9009 (special-display-function): Mention help-setup parameter instead
9010 of display-buffer-window in doc-string.
d3c30954
SM
9011 * help.el (help-window-setup): New argument help-window.
9012 Use help-window-setup parameter instead of display-buffer-window.
f678e0b6
MR
9013 Reword some messages.
9014 (with-help-window): Pass window used for displaying the buffer
9015 to help-window-setup. Don't set display-buffer-window.
9016
8e39b2e8
GM
90172011-09-13 Glenn Morris <rgm@gnu.org>
9018
9019 * emacs-lisp/debug.el (debugger-make-xrefs):
9020 Preserve point. (Bug#9462)
9021
85e9c04b
CY
90222011-09-13 Chong Yidong <cyd@stupidchicken.com>
9023
9024 * window.el (window-deletable-p): Use next-frame.
9025
1b36ed6a
MR
90262011-09-13 Martin Rudalics <rudalics@gmx.at>
9027
9028 * window.el (window-auto-delete): Remove.
9029 (window-deletable-p): Remove argument FORCE. Don't deal with
e4769531 9030 dedication and previous buffers.
1b36ed6a
MR
9031 (switch-to-prev-buffer): Don't delete window.
9032 (delete-windows-on): Delete a window's frame if and only if the
9033 window is dedicated.
9034 (replace-buffer-in-windows): Delete buffer's window or frame if
9035 and only if window is dedicated.
9036 (quit-window): Handle quit-restore as before last change.
4d61f28d 9037 (bury-buffer): Delete window only if window-deletable-p returns t.
1b36ed6a 9038
ef8ef9fb
CY
90392011-09-13 Chong Yidong <cyd@stupidchicken.com>
9040
9041 * window.el (window-deletable-p): Never delete the last frame on a
9042 given terminal.
9043
b2cba41e
GM
90442011-09-13 Glenn Morris <rgm@gnu.org>
9045
9046 * help.el (describe-key-briefly): Copy previous standard-output change.
9047
51553db6 90482011-09-13 PJ Weisberg <pj@irregularexpressions.net>
e3ce671f
PW
9049
9050 * help.el (where-is): Respect non-standard standard-output. (Bug#9030)
9051
b7556719
GM
90522011-09-13 Glenn Morris <rgm@gnu.org>
9053
9054 * emacs-lisp/lisp-mode.el (lisp-indent-function):
9055 * progmodes/scheme.el (scheme-indent-function): Doc fixes.
9056
64b51947
CY
90572011-09-12 Chong Yidong <cyd@stupidchicken.com>
9058
9059 * dired-aux.el (dired-mark-read-string): Don't return default
9060 value on empty input (Bug#9361).
9061 (dired-do-chxxx): Treat empty input for "touch" as no -t option.
9062 Omit initial minibuffer contents.
9063 (dired-do-chmod): Signal an error on empty input.
9064 (dired-mark-read-string): Don't return default on empty input.
9065
9066 * files.el (file-modes-symbolic-to-number): Doc fix.
9067
393a301e
SM
90682011-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
9069
9070 * international/mule-cmds.el (ucs-completions): Remove.
9071 (read-char-by-name): Use complete-with-action instead; add metadata.
9072
fa5660f9
CY
90732011-09-11 Chong Yidong <cyd@stupidchicken.com>
9074
9075 * window.el (display-buffer--action-function-custom-type)
9076 (display-buffer--action-custom-type): New vars.
9077 (display-buffer-alist, display-buffer-default-action)
9078 (display-buffer-overriding-action): Add defcustom types.
9079
4a592f66
CY
9080 * frame.el (delete-other-frames): Doc fix (Bug#276).
9081
73d56dbd
LMI
90822011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
9083
9084 * play/doctor.el (make-doctor-variables): Define `doctor-sent'.
9085
37ac18a3
CY
90862011-09-11 Chong Yidong <cyd@stupidchicken.com>
9087
9088 Change modes that used same-window-* vars to use switch-to-buffer.
9089
9090 * progmodes/gdb-mi.el (gdb-restore-windows, gdb-setup-windows):
9091 Use switch-to-buffer.
9092
9093 * cus-edit.el (customize-group, custom-buffer-create)
393a301e
SM
9094 (customize-browse, custom-buffer-create-other-window):
9095 Use switch-to-buffer or switch-to-buffer-other-window.
37ac18a3
CY
9096
9097 * info.el (info, Info-find-node, Info-revert-find-node, Info-next)
9098 (Info-prev, Info-up, Info-speedbar-goto-node)
9099 (info-display-manual): Use switch-to-buffer.
9100 (Info-speedbar-goto-node): Use switch-to-buffer-other-frame.
9101
9102 * mail/sendmail.el (mail): Use switch-to-buffer.
9103 (mail-recover): Use switch-to-buffer-other-window.
9104
9105 * cmuscheme.el (run-scheme, switch-to-scheme):
9106 * ielm.el (ielm):
9107 * shell.el (shell):
9108 * net/rlogin.el (rlogin):
9109 * net/telnet.el (telnet, rsh):
9110 * progmodes/inf-lisp.el (inferior-lisp): Use switch-to-buffer.
9111
10195bd6
AS
91122011-09-11 Andreas Schwab <schwab@linux-m68k.org>
9113
9114 * dired.el (dired-sort-toggle-or-edit): Revert last changes.
9115
b322f63a
LMI
91162011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
9117
39d7fed6
LMI
9118 * dired.el (dired-sort-toggle-or-edit): -o doesn't exist on *BSD,
9119 so don't mention it (bug#9301).
ba5a81f1 9120 (dired-sort-toggle-or-edit): Clarify string further.
39d7fed6 9121
ee0e9f11
LMI
9122 * faces.el (face-spec-set-match-display): Make `(type graphic)'
9123 match `x', `w32' and `ns', like the manual says (bug#9029).
9124
0b1c89c1 9125 * subr.el (eval-after-load): Doc string clarification (bug#9125).
da9fcb93
LMI
9126 (process-kill-buffer-query-function): Mention the buffer name in
9127 the query.
0b1c89c1 9128
77549ea8
LMI
9129 * image-mode.el (image-next-line): The line parameter is mandatory
9130 (bug#9258).
9131
803ef892
LMI
9132 * dired.el (dired-sort-toggle-or-edit): Mention -o and -g, too,
9133 which can be useful (bug#9301).
9134
12980837
LMI
9135 * textmodes/flyspell.el: Remove obsolete comment (bug#9368).
9136
91054f8f
LMI
9137 * subr.el (match-string): Mention that the current buffer should
9138 be the same as the search was done in (bug#9282).
9139
b322f63a
LMI
9140 * facemenu.el: Disable the remove-* commands if the mark isn't
9141 active (bug#9162).
9142
3199b96f
CY
91432011-09-10 Chong Yidong <cyd@stupidchicken.com>
9144
9145 * buff-menu.el (Buffer-menu-switch-other-window): Use second arg
9146 of display-buffer.
9147 (Buffer-menu-2-window): Use switch-to-buffer-other-window.
9148
9149 * replace.el (occur-mode-goto-occurrence)
9150 (occur-mode-display-occurrence) Use second arg of pop-to-buffer
9151 and display-buffer.
9152
9153 * mail/reporter.el (reporter-submit-bug-report): Use second arg of
9154 display-buffer.
9155
9156 * mail/sendmail.el (sendmail-user-agent-compose): Don't bind the
9157 special-display and same-window variables.
9158 (mail-other-window): Use switch-to-buffer-other-window.
9159 (mail-other-frame): USe switch-to-buffer-other-frame.
9160
393a301e
SM
9161 * progmodes/gdb-mi.el (gdb-frame-gdb-buffer):
9162 Use display-buffer-other-frame.
3199b96f
CY
9163 (gdb-display-gdb-buffer): Use pop-to-buffer.
9164
9165 * progmodes/gud.el (gud-goto-info): Use info-other-window.
9166
9167 * progmodes/python.el: Don't set same-window-buffer-names.
9168
9169 * textmodes/bibtex.el (bibtex-search-entry): Use switch-to-buffer.
9170
9171 * window.el (display-buffer-alist): Add *Python*.
9172
8319e0bf
CY
91732011-09-10 Chong Yidong <cyd@stupidchicken.com>
9174
9175 * window.el (display-buffer-alist): Add entry for buffers
9176 previously handled same-window-*.
9177 (display-buffer-alist, display-buffer-default-action)
9178 (display-buffer-overriding-action): Mark as risky.
9179 (display-buffer-alist): Document action function changes.
9180 (display-buffer--same-window-action)
9181 (display-buffer--other-frame-action): New variables.
9182 (switch-to-buffer, display-buffer-other-frame): Use them.
9183 (display-buffer): Rename reuse-frame entry to reusable-frames.
9184 (display-buffer-reuse-selected-window): Function deleted.
9185 (display-buffer-reuse-window): Handle reusable-frames alist entry.
9186 If it's omitted, check pop-up-frames/display-buffer-reuse-frames.
9187 (display-buffer-special): New function.
9188 (display-buffer--maybe-pop-up-frame-or-window): Rename from
9189 display-buffer-reuse-or-pop-window. Split off special-display
9190 part into display-buffer-special.
9191 (display-buffer-use-some-window): Don't perform any special
9192 pop-up-frames handling.
9193 (pop-to-buffer): Use window-normalize-buffer-to-switch-to.
393a301e 9194 (display-buffer--maybe-same-window): Rename from
0d3ff375 9195 display-buffer-maybe-same-window.
8319e0bf 9196
919a69aa
CY
9197 * info.el: Don't set same-window-regexps.
9198 (info-setup): New function.
9199 (info-other-window, info): Call it.
9200
9201 * cus-edit.el: Don't set same-window-regexps.
9202 (customize-group): New argument.
9203 (customize-group-other-window): Use it.
9204 (customize-face, customize-face-other-window): Likewise.
9205 (custom-buffer-create-other-window): Use pop-to-buffer directly.
9206
8319e0bf
CY
9207 * net/rlogin.el:
9208 * net/telnet.el:
9209 * progmodes/gud.el: Don't set same-window-regexps.
9210
9211 * cmuscheme.el:
9212 * ielm.el:
9213 * shell.el:
9214 * mail/sendmail.el:
9215 * progmodes/inf-lisp.el: Don't set same-window-buffer-names.
9216
25173000
JL
92172011-09-10 Juri Linkov <juri@jurta.org>
9218
9219 * isearch.el (isearch-edit-string): Remove obsolete mention of
9220 `C-w' (`isearch-yank-word-or-char') from docstring.
9221 (isearch-query-replace): Fix typo in docstring (bug#9466).
9222
056e44ef
JL
92232011-09-10 Juri Linkov <juri@jurta.org>
9224
9225 * paren.el (show-paren-function): Don't show escaped parens.
9226 Let-bind `unescaped' to `t' when paren is not escaped. (Bug#9461)
9227
c3760c17
EZ
92282011-09-10 Eli Zaretskii <eliz@gnu.org>
9229
9230 * mail/sendmail.el (mml-to-mime, mml-attach-file)
9231 (mm-default-file-encoding): Remove autoload forms, they are
9232 replaced with autoload cookies in mml.el and mm-encode.el.
9233 (mail-add-attachment): New command.
9234 (mail-mode-map): Add a menu-bar item for mail-add-attachment.
9235 (mail-mode): Mention mail-insert-file and mail-add-attachment in
9236 the doc string.
9237 (mml-to-mime, mml-attach-file, mm-default-file-encoding): Declare.
9238
fece895e
RT
92392011-09-10 Reuben Thomas <rrt@sc3d.org>
9240
e69df516
SM
9241 * simple.el (count-words-region): Use buffer if there's no region
9242 (bug#9429).
fece895e 9243
5e68ce4a
JL
92442011-09-09 Juri Linkov <juri@jurta.org>
9245
9246 * wdired.el (wdired-change-to-wdired-mode): Set buffer-local
9247 `isearch-filter-predicate' to `wdired-isearch-filter-read-only'.
9248 (wdired-isearch-filter-read-only): New function. (Bug#6362)
9249
0a6b9622
AM
92502011-09-09 Alan Mackenzie <acm@muc.de>
9251
9252 * progmodes/cc-mode.el (awk-mode): Prevent `define-derived-mode'
9253 spuriously generating `awk-mode-syntax-table'. (Bug #9448).
9254
14a29deb
EZ
92552011-09-09 Eli Zaretskii <eliz@gnu.org>
9256
9257 Fix for Savannah bug#9392.
9258 * simple.el (mail-encode-mml): New defvar.
9259
9260 * mail/rmail.el (mail-encode-mml): Add a defvar.
9261 (rmail-enable-mime-composing): Default to t.
9262 (rmail-forward): Use MIME method of forwarding only if both
9263 rmail-enable-mime-composing and rmail-enable-mime are non-nil.
9264 Set mail-encode-mml non-nil if the MIME method was used.
9265
9266 * mail/sendmail.el (mml-to-mime): Add autoload form.
9267 (mail-encode-mml): Add a defvar.
9268 (mail-mode): Make mail-encode-mml buffer-local and initialize it
9269 to nil.
9270 (mail-send): If mail-encode-mml is non-nil, run the outgoing
9271 message through mml-to-mime, and reset mail-encode-mml to nil.
9272
28c45130
GM
92732011-09-09 Glenn Morris <rgm@gnu.org>
9274
9275 * woman.el (woman-if-body): When processing an .el block,
9276 do not delete the next .el block as well. (Bug#9447)
69f4b618 9277 (woman-special-characters): Add oq, cq, and hy characters.
28c45130 9278
9b1c252e
MR
92792011-09-08 Martin Rudalics <rudalics@gmx.at>
9280
9281 * window.el (window-deletable-p): Make sure window is live before
9282 invoking window-prev-buffers.
9283
567457e3
LL
92842011-09-08 Leo Liu <sdl.web@gmail.com>
9285
9286 * net/rcirc.el (rcirc-cmd-invite): New rcirc command. (Bug#9453)
9287
97f05794
JL
92882011-09-08 Juri Linkov <juri@jurta.org>
9289
9290 * progmodes/compile.el (compilation-environment): Make it
9291 a defcustom (bug#8340).
9292
8b0874b5
MR
92932011-09-08 Martin Rudalics <rudalics@gmx.at>
9294
9295 * window.el (frame-auto-delete): Rename to window-auto-delete.
9296 Make it control auto-deletion of windows and/or frames.
9297 (window-deletable-p): New argument FORCE. Rewrite conditions
5e617bc2 9298 for deleting window/frame. (Bug#9419)
8b0874b5
MR
9299 (switch-to-prev-buffer, replace-buffer-in-windows, quit-window):
9300 Rewrite handling of case when window/frame can be deleted.
9301 (delete-windows-on): Call window-deletable-p with new FORCE
5e617bc2 9302 argument t. (Bug#9456)
8b0874b5 9303
4feb6e73
CY
93042011-09-07 Chong Yidong <cyd@stupidchicken.com>
9305
9306 * help-mode.el (help-mode): Restore autoload.
9307
91ab9c13
JL
93082011-09-07 Juri Linkov <juri@jurta.org>
9309
9310 * progmodes/compile.el (compilation-start): Let-bind `thisenv' to
9311 `compilation-environment'. Set buffer-local
9312 `compilation-environment' to `thisenv' later after (funcall mode).
9313 (Bug#8340)
9314
9315 * vc/vc-git.el (vc-git-grep): Remove --no-color. (Bug#9408)
9316 (vc-git-grep): Prepend "PAGER=" to `compilation-environment'
9317 instead of replacing its value. (Bug#8340)
9318
0527e251
JL
93192011-09-07 Juri Linkov <juri@jurta.org>
9320
9321 * progmodes/grep.el (grep-regexp-alist): Calculate column positions
9322 based on text properties put by `grep-filter' instead of matching
9323 escape sequences.
9324 (grep-mode): Set buffer-local `compilation-error-screen-columns'
9325 to the value of `grep-error-screen-columns' (bug#9438).
9326
249f792c
JL
93272011-09-07 Juri Linkov <juri@jurta.org>
9328
9329 * simple.el (next-error-highlight, next-error-highlight-no-select):
9330 Doc fix (bug#9432).
9331
ff7271b9
OT
93322011-09-07 OKAZAKI Tetsurou <okazaki.tetsurou@gmail.com> (tiny change)
9333
9334 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
9335 Check for null c-opt-block-decls-with-vars-key. (Bug#9443)
9336
183fc730
LL
93372011-09-07 Leo Liu <sdl.web@gmail.com>
9338
9339 * net/rcirc.el (rcirc-mode): Conditionally initialize
9340 rcirc-input-ring.
9341
77694924
SM
93422011-09-07 Stefan Monnier <monnier@iro.umontreal.ca>
9343
9344 * emacs-lisp/find-func.el (find-function-C-source): Only set
9345 find-function-C-source-directory after checking that we found a source
9346 file there (bug#9440).
9347
d809b8eb
AM
93482011-09-06 Alan Mackenzie <acm@muc.de>
9349
9350 * isearch.el (isearch-other-meta-char): Wherever a key list is
9351 unread, "unread" the prefix arg, too. This fixes bug #8901.
9352
453de99f
OG
93532011-09-05 Oleksandr Gavenko <gavenkoa@gmail.com> (tiny change)
9354
9355 * progmodes/grep.el (rgrep): Add "-type d" (bug#9414).
9356
90439906
JL
93572011-09-05 Juri Linkov <juri@jurta.org>
9358
9359 * progmodes/grep.el (grep-process-setup): Fix comments (bug#8084).
9360
f62bd846
JL
93612011-09-05 Juri Linkov <juri@jurta.org>
9362
9363 * progmodes/grep.el (grep-filter): Avoid incomplete processing by
9364 keeping point where processing of grep matches begins, and
9365 continue to delete remaining escape sequences from the same point.
9366 (grep-filter): Make leading zero optional in "0?1;31m" because
9367 git-grep emits "\033[1;31m" escape sequences unlike expected
9368 "\033[01;31m" as GNU Grep does (bug#9408).
9369 (grep-process-setup): Replace obsolete "ml=" with newer "sl=".
9370
045820ec
JL
93712011-09-05 Juri Linkov <juri@jurta.org>
9372
9373 * subr.el (y-or-n-p): Capitalize "yes".
9374
f5e29b9b
MA
93752011-09-04 Michael Albinus <michael.albinus@gmx.de>
9376
9377 * net/tramp.el (top): Require 'shell. Use `tramp-unload-hook' but
9378 `tramp-cache-unload-hook' where appropriate.
9379 (tramp-methods): Rename `tramp-remote-sh' to
9380 `tramp-remote-shell'. Add `tramp-remote-shell-args'.
9381 (tramp-handle-shell-command): New defun, moved from tramp-sh.el.
9382
9383 * net/tramp-sh.el (top): Don't require 'shell.
9384 (tramp-methods): Add `tramp-remote-shell' and
9385 `tramp-remote-shell-args' entries.
9386 (tramp-sh-file-name-handler-alist): Use `tramp-handle-shell-command'.
9387 (tramp-sh-handle-shell-command): Remove.
9388 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
9389 Use `tramp-remote-shell'.
9390
2784c434
CY
93912011-09-03 Chong Yidong <cyd@stupidchicken.com>
9392
393a301e 9393 * mail/sendmail.el (sendmail-query-once-function): Delete.
2784c434
CY
9394 (sendmail-query-once): Save directly to send-mail-function.
9395 Update message-send-mail-function too.
9396
9397 * mail/smtpmail.el (smtpmail-try-auth-methods): Clarify prompt.
9398
464cdf56
CS
93992011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
9400
9401 * progmodes/python.el (python-mode-map): Use correct function to
9402 start python interpreter from menu-bar (as reported by Geert
9403 Kloosterman).
9404 (inferior-python-mode-map): Fix typo.
393a301e 9405 (python-shell-map): Remove.
464cdf56 9406
d37e5c87
DD
94072011-09-03 Deniz Dogan <deniz@dogan.se>
9408
9409 * net/rcirc.el (rcirc-print): Simplify code for
9410 rcirc-scroll-show-maximum-output. There is no need to walk
9411 through all windows to find the right one.
9412
f3ada0ee
CS
94132011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
9414
9415 * help.el (help-return-method): Doc fix.
9416
1f3c99ca
MR
94172011-09-03 Martin Rudalics <rudalics@gmx.at>
9418
9419 * window.el (window-deletable-p): Don't return a non-nil value
9420 when there's a buffer that was shown in the window before.
9421 (Bug#9419)
393a301e
SM
9422 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
9423 Set window's previous buffers to nil.
1f3c99ca 9424
a3cf097f
EZ
94252011-09-03 Eli Zaretskii <eliz@gnu.org>
9426
9427 * mail/rmailmm.el (rmail-mime-insert-tagline): Insert an extra
9428 newline before and after the tag line, so it doesn't interfere
9429 with determining the paragraph direction of bidirectional text.
9430
3d03de90
LL
94312011-09-03 Leo Liu <sdl.web@gmail.com>
9432
9433 * files.el (find-file-not-true-dirname-list): Remove. (Bug#9422)
9434
c3313451
CY
94352011-09-02 Chong Yidong <cyd@stupidchicken.com>
9436
393a301e 9437 * window.el (pop-to-buffer-1, pop-to-buffer-same-window): Delete.
c3313451
CY
9438 (pop-to-buffer): Change interactive spec. Pass second argument
9439 directly to display-buffer.
9440 (display-buffer): Fix interactive spec. Use functionp to
9441 distinguish between a function and a list of functions.
9442
9443 * abbrev.el (edit-abbrevs):
9444 * arc-mode.el (archive-extract):
9445 * autoinsert.el (auto-insert):
9446 * bookmark.el (bookmark-bmenu-list):
9447 * files.el (find-file):
9448 * view.el (view-buffer):
9449 * progmodes/compile.el (compilation-goto-locus):
9450 * textmodes/bibtex.el (bibtex-initialize): Use switch-to-buffer.
9451
89894cd8
CY
94522011-09-02 Chong Yidong <cyd@stupidchicken.com>
9453
9454 * window.el (display-buffer-alist): Doc fix.
9455 (display-buffer): Add docstring. Don't treat
9456 display-buffer-default specially.
9457 (display-buffer-reuse-selected-window)
9458 (display-buffer-same-window, display-buffer-maybe-same-window)
9459 (display-buffer-reuse-window, display-buffer-pop-up-frame)
9460 (display-buffer-pop-up-window)
9461 (display-buffer-reuse-or-pop-window)
9462 (display-buffer-use-some-window): New functions.
9463 (display-buffer-default-action): Use them.
393a301e 9464 (display-buffer-default): Delete.
89894cd8
CY
9465 (pop-to-buffer-1): Fix choice of actions.
9466
ae0bc9fb
SM
94672011-09-02 Stefan Monnier <monnier@iro.umontreal.ca>
9468
9469 * minibuffer.el (completion--insert-strings): Don't get confused by
9470 completion entries that end with an LF char.
9471
e9d90883
EZ
94722011-09-01 Eli Zaretskii <eliz@gnu.org>
9473
9474 * window.el (frame-auto-delete, window-deletable-p): Doc fix.
9475
437014c8
CY
94762011-09-01 Chong Yidong <cyd@stupidchicken.com>
9477
9478 * window.el (display-buffer): Restore interactive spec.
ae0bc9fb
SM
9479 (display-buffer-same-window, display-buffer-other-window):
9480 New functions.
437014c8
CY
9481 (pop-to-buffer-1): New function. Use the above.
9482 (pop-to-buffer, pop-to-buffer-same-window): Use it.
ae0bc9fb 9483 (pop-to-buffer-other-window, pop-to-buffer-other-frame): Delete.
437014c8
CY
9484
9485 * view.el (view-buffer-other-window, view-buffer-other-frame):
9486 Just use pop-to-buffer.
9487
a5e063d5
TV
94882011-09-01 Thierry Volpiatto <thierry.volpiatto@gmail.com>
9489
9490 * vc/vc-rcs.el (vc-rcs-responsible-p): Handle directories. (Bug#9391)
9491
793d32bb
WH
94922011-09-01 Wilfred Hughes <wilfred@potatolondon.com> (tiny change)
9493
9494 * vc/vc-git.el (vc-git-grep): Use --no-color. (Bug#9408)
9495
d65e4c15
RS
94962011-08-31 Richard Stallman <rms@gnu.org>
9497
9498 * mail/rmail.el (rmail-epa-decrypt): Rewrite to take account
9499 of the separation of rmail-view-buffer from rmail-buffer.
9500 If you say no to "replace original", the decrypt is in the
9501 view buffer. If you say yes, the decrypt goes into the
9502 rmail buffer also.
9503
f818cd2a
MR
95042011-08-31 Martin Rudalics <rudalics@gmx.at>
9505
9506 * window.el (display-buffer-window): Rewrite doc-string.
9507 (display-buffer-record-window): New function.
9508 (display-buffer-macro-specifiers)
9509 (display-buffer-even-window-sizes, display-buffer-set-height)
9510 (display-buffer-set-width, display-buffer-in-window)
9511 (display-buffer-reuse-window, display-buffer-split-specifiers)
9512 (display-buffer-side-specifiers, display-buffer-split-window-1)
9513 (display-buffer-split-window, display-buffer-split-atom-window)
9514 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
9515 (display-buffer-pop-up-side-window, display-buffer-in-side-window)
9516 (display-buffer-other-window-means-other-frame)
9517 (display-buffer-normalize-special)
9518 (display-buffer-normalize-default)
9519 (display-buffer-normalize-argument)
9520 (display-buffer-normalize-alist-1, display-buffer-normalize-alist)
9521 (display-buffer-normalize-specifiers, display-buffer-frame)
9522 (display-buffer-same-window, display-buffer-same-frame)
9523 (display-buffer-other-window)
9524 (display-buffer-same-frame-other-window)
9525 (display-buffer-other-frame, pop-to-buffer-same-window)
9526 (pop-to-buffer-same-frame, pop-to-buffer-other-window)
9527 (pop-to-buffer-same-frame-other-window, pop-to-buffer-other-frame)
9528 (switch-to-buffer-same-frame)
9529 (switch-to-buffer-other-window-same-frame)
9530 (display-buffer-alist-of-strings-p, display-buffer-alist-add)
9531 (display-buffer-alist-set-1, display-buffer-alist-set-2)
9532 (display-buffer-alist-set): Remove.
9533 (display-buffer-function, special-display-buffer-names)
ae0bc9fb
SM
9534 (special-display-regexps, special-display-function):
9535 In doc-string refer to display-buffer-window and quit-restore
f818cd2a
MR
9536 parameter.
9537 (pop-up-frame-alist, pop-up-frame-function, special-display-p)
9538 (special-display-frame-alist, special-display-popup-frame)
9539 (same-window-buffer-names, same-window-regexps, same-window-p)
9540 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
9541 (split-window-preferred-function, split-height-threshold)
9542 (split-width-threshold, window-splittable-p)
9543 (split-window-sensibly, window--try-to-split-window)
9544 (window--frame-usable-p, even-window-heights)
9545 (window--even-window-heights, window--display-buffer-1)
ae0bc9fb
SM
9546 (window--display-buffer-2, display-buffer-other-frame):
9547 Restore old Emacs 23 code, order and doc-strings where applicable.
f818cd2a
MR
9548 (display-buffer-default, display-buffer-assq-regexp): New functions.
9549 (display-buffer-alist): Rewrite doc-string.
9550 (display-buffer-default-action)
9551 (display-buffer-overriding-action): New variables.
9552 (display-buffer, switch-to-buffer): Rewrite.
9553 (pop-to-buffer): Restore Emacs 23 behavior but use
9554 window-normalize-buffer-to-display.
9555 (switch-to-buffer-other-window, switch-to-buffer-other-frame):
9556 Restore Emacs 23 behavior but use
9557 window-normalize-buffer-to-switch-to.
9558 (pop-to-buffer-same-window): Rewrite.
ae0bc9fb
SM
9559 (pop-to-buffer-other-window, pop-to-buffer-other-frame):
9560 Rewrite using Emacs 23 options.
f818cd2a 9561
5bc3b51d
MA
95622011-08-31 Michael Albinus <michael.albinus@gmx.de>
9563
9564 * net/tramp.el (tramp-root-regexp): Remove.
9565 (tramp-completion-file-name-regexp-unified)
9566 (tramp-completion-file-name-regexp-separate)
9567 (tramp-completion-file-name-regexp-url): Don't use leading volume
9568 letter on win32 systems. (Bug#5303, Bug#9311)
ae0bc9fb
SM
9569 (tramp-drop-volume-letter): Simplify definition.
9570 Suggested by Stefan Monnier <monnier@iro.umontreal.ca>.
5bc3b51d 9571
b1a4f8e1
SM
95722011-08-30 Stefan Monnier <monnier@iro.umontreal.ca>
9573
9574 * subr.el (event-modifiers): Fix "missing modifier" part of docstring
9575 (bug#9356).
9576
5664fa7b
RT
95772011-08-30 Reuben Thomas <rrt@sc3d.org> (tiny change)
9578
b1a4f8e1 9579 * vc/pcvs-defs.el (cvs-find-file-and-jump): Docstring typo (bug#9369).
5664fa7b 9580
9a45d6c3
JL
95812011-08-29 Juri Linkov <juri@jurta.org>
9582
9583 * isearch.el (isearch-done): Don't display message "Mark saved"
9584 when arg `edit' is non-nil to prevent its flicker in the echo area.
9585
fb87e0fb
CY
95862011-08-28 Chong Yidong <cyd@stupidchicken.com>
9587
9588 * emacs-lisp/package.el (package-menu-mark-delete): Allow marking
9589 obsolete packages for deletion.
9590
09ac1c2a
CS
95912011-08-28 Christoph Scholtes <cschol2112@googlemail.com>
9592
9593 * help-mode.el (help-mode-map): Add special-mode-map to parent.
5e617bc2 9594 (help-mode): Derive help-mode from special-mode. Don't invoke
09ac1c2a
CS
9595 view-mode from help-mode.
9596 (help-xref-override-view-map): Remove.
9597 (help-make-xrefs): Remove minor-mode-overriding-map-alist since
9598 view-mode is not used anymore.
9599
7a1ff57f
CY
96002011-08-28 Chong Yidong <cyd@stupidchicken.com>
9601
9602 * server.el (server-port): Doc fix.
9603
b9696605
CY
9604 * cus-theme.el (custom-theme-choose-mode): Inherit from
9605 special-mode (Bug#9124).
9606 (custom-theme-choose-mode-map): Add special-mode to parent.
9607
ef8cdf8c
AM
96082011-08-28 Alan Mackenzie <acm@muc.de>
9609
9610 * progmodes/cc-fonts.el
9611 (c-make-font-lock-BO-decl-search-function): New function.
9612 (c-basic-matchers-after - "Fontify the clauses after various
9613 keywords"): Extract the three keyword lists for the 3 erroneous
9614 constructs from the list of four, and use the new function above
9615 in place of an old one.
9616
27de4e20
DD
96172011-08-28 Deniz Dogan <deniz@dogan.se>
9618
9619 * net/rcirc.el (rcirc-insert-prev-input)
9620 (rcirc-insert-next-input): Remove unused argument.
9621
356a3681
SM
96222011-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
9623
9624 * shell.el (shell-parse-pcomplete-arguments): Unquote args (bug#9160).
9625
3fc9b218
AM
96262011-08-27 Alan Mackenzie <acm@muc.de>
9627
9628 * progmodes/cc-menus.el (cc-imenu-c++-generic-expression): Make it
9629 handle function pointer parameters properly.
9630
538a061c
MR
96312011-08-27 Martin Rudalics <rudalics@gmx.at>
9632
9633 * window.el (display-buffer-reuse-window): Fix case where
9634 selected window was reused with non-nil OTHER-WINDOW argument.
9635 (Bug#9381)
9636
35b1c40c
DD
96372011-08-27 Deniz Dogan <deniz@dogan.se>
9638
9639 * net/rcirc.el (rcirc-check-auth-status): Adding support for
9640 oftc's NickServ messages.
9641
2f6a3e79
GM
96422011-08-27 Glenn Morris <rgm@gnu.org>
9643
9644 * saveplace.el (save-place-limit): Make it finite. (Bug#9352)
9645
7254299e
CY
96462011-08-26 Chong Yidong <cyd@stupidchicken.com>
9647
9648 * emacs-lisp/package.el (package-install): Call package-initialize
9649 if called interactively.
9650
f8ccf167
LL
96512011-08-26 Leo Liu <sdl.web@gmail.com>
9652
9653 * emacs-lisp/cl-macs.el (defstruct): Fix format. (Bug#9357)
9654
3e8cd5ce
JL
96552011-08-25 Juri Linkov <juri@jurta.org>
9656
9657 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
9658 `search-whitespace-regexp' (bug#9364).
9659
93eb7113
JL
96602011-08-25 Juri Linkov <juri@jurta.org>
9661
9662 * isearch.el (isearch-edit-string): Let-bind `search-ring' and
9663 `regexp-search-ring' to their global values to protect from
9664 updating by `read-from-minibuffer' (bug#9185).
9665
f65d1611
JL
96662011-08-25 Juri Linkov <juri@jurta.org>
9667
9668 * textmodes/ispell.el (ispell-command-loop): Add newline
9669 at the end of the "Use option `i'..." line.
9670
f1cf7a31
JL
96712011-08-25 Juri Linkov <juri@jurta.org>
9672
9673 * battery.el (display-battery-mode): If `battery-status-function'
9674 or `battery-mode-line-format' is nil, display the message and set
9675 `display-battery-mode' to nil (bug#9363).
9676
0c95fcf7
EZ
96772011-08-25 Eli Zaretskii <eliz@gnu.org>
9678
9679 * buff-menu.el (Buffer-menu-buffer+size): Remove calls to
9680 bidi-string-mark-left-to-right; they are unnecessary now.
9681
a2ebe600
DD
96822011-08-25 Deniz Dogan <deniz@dogan.se>
9683
9684 * net/quickurl.el: Documentation typo fixes.
9685
e4ed06f1
CY
96862011-08-25 Chong Yidong <cyd@stupidchicken.com>
9687
9688 * window.el (bury-buffer, quit-window): Use bury-buffer-internal.
9689
e5f1c99e
GM
96902011-08-25 Glenn Morris <rgm@gnu.org>
9691
b2948976
GM
9692 * emacs-lisp/derived.el (define-derived-mode): Doc fix.
9693
e5f1c99e
GM
9694 * mail/smtpmail.el (smtpmail-smtp-user): Add version: tag.
9695 (smtpmail-via-smtp): Handle nil response from smtp.
9696
f22f4808
JL
96972011-08-24 Juri Linkov <juri@jurta.org>
9698
9699 * proced.el (proced-marked): Inherit from `error' instead of
9700 `font-lock-warning-face'.
9701
9702 * ibuffer.el (ibuffer-marked-face): Change default face from
9703 `font-lock-warning-face' to `warning'.
9704 (ibuffer-deletion-face): Change default face from
9705 `font-lock-type-face' to `error'.
9706
9707 * battery.el (battery-update): Use the face `error' instead of
9708 `font-lock-warning-face' (bug#6117).
9709
6a93965e
JL
97102011-08-24 Juri Linkov <juri@jurta.org>
9711
9712 * faces.el (success): Change face color from "Green3" to
9713 "ForestGreen" on light background (bug#9353).
9714
1ed43b09
CY
97152011-08-24 Chong Yidong <cyd@stupidchicken.com>
9716
5664fa7b
RT
9717 * window.el (quit-window): Rename from quit-restore-window.
9718 Use same arglist as old quit-window.
1ed43b09
CY
9719 (frame-auto-delete): Doc fix.
9720
9721 * view.el (view-mode-exit): Use quit-window.
9722
11dcdbb2
JL
97232011-08-24 Juri Linkov <juri@jurta.org>
9724
9725 * isearch.el (isearch-ring-adjust1): Start visiting previous
9726 search strings from the index 0 (-1 + 1) instead of 1 (0 + 1).
9727 (isearch-repeat, isearch-edit-string): Call `isearch-ring-adjust1'
9728 for empty search string (when the last search string is reused
9729 automatically) to adjust the isearch ring to the last element and
9730 prepare the correct index for further M-p commands (bug#9185).
9731
de62b4df
KH
97322011-08-24 Kenichi Handa <handa@m17n.org>
9733
9734 * international/ucs-normalize.el: If decomposition property of
9735 CHAR is the default one (i.e. a list of CHAR itself), treat it as
9736 nil.
9737 (nfd, nfkd): Likewise.
9738
963b492b
SM
97392011-08-24 Stefan Monnier <monnier@iro.umontreal.ca>
9740
9741 * mpc.el (mpc--proc-filter): Don't signal mpc-proc-error since signals
9742 from process filters aren't reliably transmitted to the surrounding
9743 accept-process-output.
9744 (mpc-proc-check): New function.
9745 (mpc-proc-sync): Use it (bug#8293)
9746
93b6b5e1
SM
97472011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
9748
9749 * emacs-lisp/eieio.el (eieio-defmethod, eieio-defgeneric):
9750 Add compatibility functions (bug#9313).
9751
bca633fb
EZ
97522011-08-23 Eli Zaretskii <eliz@gnu.org>
9753
b177498a
EZ
9754 * cus-start.el (all): Add entry for bidi-paragraph-direction.
9755
6df6ae42 9756 * international/uni-bidi.el: Regenerate.
bca633fb 9757
0902a04e
KH
97582011-08-23 Kenichi Handa <handa@m17n.org>
9759
9760 * international/charprop.el:
9761 * international/uni-bidi.el:
9762 * international/uni-category.el:
9763 * international/uni-combining.el:
9764 * international/uni-comment.el:
9765 * international/uni-decimal.el:
9766 * international/uni-decomposition.el:
9767 * international/uni-digit.el:
9768 * international/uni-lowercase.el:
9769 * international/uni-mirrored.el:
9770 * international/uni-name.el:
9771 * international/uni-numeric.el:
9772 * international/uni-old-name.el:
9773 * international/uni-titlecase.el:
9774 * international/uni-uppercase.el: Regenerate.
9775
3bbf23bc
MR
97762011-08-23 Martin Rudalics <rudalics@gmx.at>
9777
9778 * help.el (help-window-setup): Fix message displayed when other
9779 window is reused. (Bug#9341)
9780
b3fd59bd
SM
97812011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
9782
1802e444
SM
9783 * shell.el (shell-completion-vars): Set pcomplete-arg-quote-list.
9784 * pcomplete.el (pcomplete-quote-argument): Fix thinko (bug#9161).
9785
b3fd59bd
SM
9786 * pcomplete.el (pcomplete-parse-comint-arguments): Fix inf-loop.
9787 Mark obsolete.
9788 * shell.el (shell-parse-pcomplete-arguments): New function.
9789 (shell-completion-vars): Use it instead (bug#9160).
9790
4eb61348
SM
97912011-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
9792
867cab74
SM
9793 * progmodes/sh-script.el (sh-maybe-here-document): Disable magic in
9794 strings and comments (bug#9333).
9795
4eb61348
SM
9796 * emacs-lisp/debug.el (debug-arglist): New function.
9797 (debug-convert-byte-code): Use it. Handle lexical byte-codes.
9798 (debug-on-entry-1): Handle interpreted closures (bug#9120).
9799
262a1439
JL
98002011-08-22 Juri Linkov <juri@jurta.org>
9801
56ee679c
JL
9802 * progmodes/compile.el (compilation-mode-font-lock-keywords):
9803 Revert regexp that highlights output switches to its old
9804 pre-2010-10-28 value and remove one `?' from it (bug#9319).
9805
262a1439
JL
9806 * progmodes/grep.el (grep-process-setup): Use `buffer-modified-p'
9807 to check for empty output (bug#9226).
9808
f13f86fb
CY
98092011-08-22 Chong Yidong <cyd@stupidchicken.com>
9810
9811 * progmodes/scheme.el (scheme-mode-syntax-table): Don't use
9812 symbol-constituent as the default, as that stops font-lock from
9813 working properly (Bug#8843).
9814
c65c9622
LMI
98152011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
9816
9817 * mail/smtpmail.el (smtpmail-via-smtp): Only bind
9818 `coding-system-for-*' around the process open call to avoid
9819 auth-source side effects.
e7f2c178 9820 (smtpmail-try-auth-methods): Expand the secret password.
7185da52
LMI
9821 (smtpmail-query-smtp-server): Allow `quit'-ing out in case the
9822 probe hangs.
c65c9622 9823
23a8a5ab
CY
98242011-08-21 Chong Yidong <cyd@stupidchicken.com>
9825
ff98b2dd
CY
9826 * term.el (term-mouse-paste): Yank primary selection (Bug#6845).
9827
23a8a5ab
CY
9828 * emacs-lisp/find-func.el (find-function-noselect): New arg
9829 lisp-only.
9830
9831 * emacs-lisp/edebug.el (edebug-instrument-function): Use it to
9832 signal an error for built-in functions (Bug#6664).
9833
f5e3c598
LMI
98342011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
9835
9836 * mail/smtpmail.el (smtpmail-smtp-user): New variable.
9837 (smtpmail-try-auth-methods): Use it.
9838
a3f2468a
CY
98392011-08-21 Chong Yidong <cyd@stupidchicken.com>
9840
2c34e8da
CY
9841 * font-lock.el (font-lock-fontify-region)
9842 (font-lock-unfontify-region, font-lock-default-fontify-buffer)
9843 (font-lock-default-unfontify-buffer)
9844 (font-lock-default-fontify-region)
9845 (font-lock-default-unfontify-region): Add docstrings (Bug#8624).
9846
b3fd59bd
SM
9847 * progmodes/compile.el (compilation-error-properties):
9848 Fix confusion between file struct and message struct (Bug#9319).
02e5c89e
CY
9849 (compilation-error-regexp-alist-alist): Fix 2011-05-09 change to
9850 `ant' regexp.
ee31aabc 9851
a3f2468a
CY
9852 * net/browse-url.el (browse-url-firefox): Don't call
9853 browse-url-firefox-sentinel unless using -remote (Bug#9328).
9854
8e999f70
GM
98552011-08-20 Glenn Morris <rgm@gnu.org>
9856
c21a496a
GM
9857 * tutorial.el (help-with-tutorial): Avoid an error on short screens.
9858
59ee0542
GM
9859 * tutorial.el (tutorial--default-keys): Update some default bindings.
9860
8e999f70
GM
9861 * files.el (hack-local-variables): Fully ignore case for "mode:".
9862
e3715033
AM
98632011-08-20 Alan Mackenzie <acm@muc.de>
9864
9865 Resolve invalid use of a regexp in regexp-opt.
9866
4d61f28d
JB
9867 * progmodes/cc-fonts.el (c-complex-decl-matchers): Add in special
9868 detection for a java annotation.
e3715033 9869
4d61f28d 9870 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Add in special
e3715033
AM
9871 detection for a java annotation.
9872
4d61f28d
JB
9873 * progmodes/cc-langs.el (c-prefix-spec-kwds-re): Remove the special
9874 handling for java.
e3715033
AM
9875 (c-modifier-kwds): Remove the regexp "@[A-za-z0-9]+".
9876
04ed2e9c
CY
98772011-08-20 Chong Yidong <cyd@stupidchicken.com>
9878
9879 * startup.el (normal-top-level-add-subdirs-to-load-path): Doc fix
9880 (Bug#9274).
9881
826cee64
AM
98822011-08-20 Alan Mackenzie <acm@muc.de>
9883
58179cce 9884 Fontify CPP expressions correctly when starting in the middle of
826cee64
AM
9885 such a construct. Mainly for when jit-lock etc. starts a chunk
9886 here.
9887
58179cce 9888 * progmodes/cc-fonts.el (c-font-lock-context): New buffer local
826cee64 9889 variable.
58179cce 9890 (c-make-font-lock-search-form): New function, extracted from
826cee64
AM
9891 c-make-font-lock-search-function.
9892 (c-make-font-lock-search-function): Use the above function.
9893 (c-make-font-lock-context-search-function): New function.
9894 (c-cpp-matchers): Enhance the preprocessor expression case with
9895 the above function
9896 (c-font-lock-complex-decl-prepare): Test for being in a CPP form
9897 which takes an expression.
9898
9899 * progmodes/cc-langs.el (c-cpp-expr-intro-re): New lang-variable.
9900
13009bd8
MR
99012011-08-20 Martin Rudalics <rudalics@gmx.at>
9902
9903 * window.el (display-buffer-reuse-window)
9904 (display-buffer-pop-up-window): Don't reuse or split a side
9905 window.
9906
9234ff7f
GM
99072011-08-19 Glenn Morris <rgm@gnu.org>
9908
9909 * files.el (hack-local-variables-prop-line, hack-local-variables):
5e617bc2 9910 Downcase "Mode:". (Bug#9331)
9234ff7f 9911
f635daa1
CY
99122011-08-18 Chong Yidong <cyd@stupidchicken.com>
9913
9914 * international/characters.el: Add L and R categories.
9915
9916 * subr.el (bidi-string-mark-left-to-right): Rename from
9917 string-mark-left-to-right. Use category search.
9918
9919 * buff-menu.el (Buffer-menu-buffer+size): Callers changed.
9920
bc987f8b
JL
99212011-08-18 Juri Linkov <juri@jurta.org>
9922
9923 * faces.el (error, warning, success): New faces with definitions
9924 copied from old default values of `font-lock-warning-face',
9925 `compilation-warning', `compilation-info' (bug#6117).
9926
9927 * font-lock.el (font-lock-warning-face): Inherit from `error'.
9928
9929 * progmodes/compile.el (compilation-error): Inherit from `error'.
9930 (compilation-warning): Inherit from `warning'.
9931 (compilation-info): Inherit from `success'.
9932
9933 * dired.el (dired-marked): Inherit from `warning'.
9934 (dired-flagged): Inherit from `error'.
9935
57173b96
LMI
99362011-08-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
9937
3e79eb87
LMI
9938 * mail/smtpmail.el (auth-source): Require to avoid problems with
9939 binding variables (bug#9298). Also clean up some unused
9940 autoloads.
9941
b3fd59bd
SM
9942 * net/network-stream.el (network-stream-open-starttls):
9943 Support using starttls.el without using gnutls-cli.
57173b96 9944
02b404de
JL
99452011-08-17 Juri Linkov <juri@jurta.org>
9946
9947 * progmodes/grep.el (rgrep): Handle the case when
9948 `grep-find-command' is a cons cell (bug#9278).
9949
8c9177f2
MR
99502011-08-17 Martin Rudalics <rudalics@gmx.at>
9951
9952 * window.el (display-buffer-pop-up-frame): Run frame creation
9953 function with BUFFER current (as special-display-popup-frame
9954 does). Reported by Drew Adams.
9955
3644a0ab
DU
99562011-08-17 Daiki Ueno <ueno@unixuser.org>
9957
9958 * epa-mail.el: Simplify GnuPG group expansion using
9959 epg-expand-group.
9960 (epa-mail-group-alist, epa-mail-group-modtime)
9961 (epa-mail-gnupg-conf-file, epa-mail-parse-groups)
9962 (epa-mail-sync-groups, epa-mail-expand-recipient-1)
9963 (epa-mail-expand-recipients-2, epa-mail-expand-recipients):
9964 Remove.
9965
5e617bc2 99662011-08-16 Feng Li <fengli@gmail.com> (tiny change)
7c643369
FL
9967
9968 * calc/calc-ext.el (math-defintegral-2): Remove nested backquote.
9969
9c4aeabf
AM
99702011-08-16 Alan Mackenzie <acm@muc.de>
9971
9972 * progmodes/cc-engine.el (c-state-cache-non-literal-place):
9973 Correct, to avoid the inside of macros.
9974
3a99bf64
RS
99752011-08-16 Richard Stallman <rms@gnu.org>
9976
04963aa8
RS
9977 * epa-mail.el: Handle GnuPG group definitions.
9978 (epa-mail-group-alist, epa-mail-group-modtime)
9979 (epa-mail-gnupg-conf-file): New variables.
9980 (epa-mail-parse-groups, epa-mail-sync-groups)
9981 (epa-mail-expand-recipient-1, epa-mail-expand-recipients-2)
9982 (epa-mail-expand-recipients): New functions.
9983 (epa-mail-encrypt): Call epa-mail-expand-recipients.
9984
177549d0
RS
9985 * mail/rmail.el (rmail-epa-decrypt): New command.
9986
fe38beef
RS
9987 * epa.el (epa-decrypt-region): New arg MAKE-BUFFER-FUNCTION.
9988 Don't bind buffer-read-only, just inhibit-read-only.
3a99bf64
RS
9989 (epa--find-coding-system-for-mime-charset): Fix the non-xemacs case.
9990 (epa-decrypt-armor-in-region): Make error message clearer.
9991
934eacb9
SM
99922011-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
9993
9994 * minibuffer.el (completion-pcm--merge-completions): Don't merge "a1b"
9995 and "a2b" to "ab" for `prefix'.
9996
d024fb4e
CY
99972011-08-14 Chong Yidong <cyd@stupidchicken.com>
9998
9999 * ibuf-ext.el (ibuffer-filter-disable): New arg for deleting
10000 filter groups.
de148fee
CY
10001 (ibuffer-included-in-filter-p-1): Use it. Suggested by Rafaël
10002 Fourquet (Bug#8804).
d024fb4e 10003
62f1ca49
JB
100042011-08-12 Juanma Barranquero <lekktu@gmail.com>
10005
10006 * startup.el (argi): Declare as global variable (bug#9275).
10007
9ccaaa4b
CY
100082011-08-12 Chong Yidong <cyd@stupidchicken.com>
10009
10010 * subr.el (string-mark-left-to-right): Search the entire string
10011 for RTL script, not just the terminating character. Doc fix.
10012
a3dae87a
SM
100132011-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
10014
6cd18349
SM
10015 * progmodes/js.el (js-syntax-propertize, js-syntax-propertize-regexp):
10016 New function.
10017 (js--regexp-literal, js-syntax-propertize-function): Remove.
10018 (js-mode): Use js-syntax-propertize to handle multilines (bug#9183).
10019 (js-mode-map): Don't rebind electric keys.
10020 (js-insert-and-indent): Remove.
10021 (js-mode): Setup electric-layout and electric-indent instead.
10022
a3dae87a
SM
10023 * epa-file.el (epa-file-select-keys): Revert to nil default (bug#9280).
10024
9d5cb631
DU
100252011-08-12 Daiki Ueno <ueno@unixuser.org>
10026
10027 * epa.el (epa-progress-callback-function): Fix the logic of
10028 displaying progress.
10029 * epa-file.el (epa-file-insert-file-contents): Make progress
10030 display more user-friendly.
10031 (epa-file-write-region): Ditto.
10032
3e26a4a2
CY
100332011-08-10 Chong Yidong <cyd@stupidchicken.com>
10034
10035 * subr.el (string-mark-left-to-right): New function.
10036
10037 * buff-menu.el (Buffer-menu-buffer+size): Remove LRM argument.
10038 Use string-mark-left-to-right.
10039 (list-buffers-noselect): Caller changed.
10040
a3dae87a
SM
10041 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
10042 Use string-mark-left-to-right.
3e26a4a2
CY
10043 (tabulated-list-print): Recenter after moving point.
10044
ac8cf6e6
JL
100452011-08-10 Juri Linkov <juri@jurta.org>
10046
10047 * progmodes/grep.el (rgrep): Don't bind `process-connection-type'.
10048 This finishes incomplete reversion of 2011-06-30T01:09:13Z!larsi@gnus.org
10049 intended by 2011-07-06T15:49:19Z!larsi@gnus.org.
10050
8d96c9a4
CY
100512011-08-09 Chong Yidong <cyd@stupidchicken.com>
10052
10053 * hi-lock.el (hi-lock-unface-buffer): Fix interactive spec
10054 (Bug#7554).
10055
7be1c708 100562011-08-09 Andreas Schwab <schwab@linux-m68k.org>
29bbcfa7
AS
10057
10058 * xt-mouse.el (xterm-mouse-event-read): Try to recover the raw
10059 character. (Bug#6594)
10060
37e11a63
CY
100612011-08-08 Chong Yidong <cyd@stupidchicken.com>
10062
839dde57
CY
10063 * image-dired.el: Don't use find-file for temporary work (Bug#7895).
10064 (image-dired--with-db-file): New macro.
10065 (image-dired-write-tags, image-dired-remove-tag)
10066 (image-dired-create-gallery-lists, image-dired-write-comments)
10067 (image-dired-get-comment, image-dired-mark-tagged-files)
10068 (image-dired-list-tags, image-dired-gallery-generate): Use it.
10069 (image-dired-gallery-generate): Use insert-file-contents.
10070
37e11a63
CY
10071 * time.el (display-time-world-list, display-time-world-display):
10072 * time-stamp.el (time-stamp-string):
10073 * vc/add-log.el (add-change-log-entry): Use setenv instead of
10074 set-time-zone-rule (Bug#7337).
10075
0b4946c4
DU
100762011-08-08 Daiki Ueno <ueno@unixuser.org>
10077
10078 * epg.el (epg--status-KEYEXPIRED, epg--status-KEYREVOKED): Fix typo.
10079 (epg-error-to-string, epg-errors-to-string): New function.
10080 (epg-wait-for-completion): Reverse errors list.
10081 (epg--check-error-for-decrypt, epg-sign-file, epg-sign-string)
10082 (epg-encrypt-file, epg-encrypt-string, epg-export-keys-to-file)
10083 (epg--import-keys-1, epg-receive-keys, epg-delete-keys)
10084 (epg-sign-keys, epg-generate-key-from-file)
10085 (epg-generate-key-from-string): Format errors by using
10086 epg-errors-to-string (bug#9255).
10087 (epg--status-INV_SGNR, epg--status-NO_SGNR): New status handler.
10088
75bfc667
JL
100892011-08-07 Juri Linkov <juri@jurta.org>
10090
10091 * faces.el (list-faces-display): Remove extra angle bracket
10092 from `help-mode-map'.
10093
10094 * info.el (Info-history-toc-nodes): Doc fix.
10095
10096 * longlines.el (longlines-mode): Doc fix.
10097
673e08bb
SM
100982011-08-05 Stefan Monnier <monnier@iro.umontreal.ca>
10099
4640dd88
SM
10100 * progmodes/js.el (js--regexp-literal): Accept regexps at the beginning
10101 of statements and in a few more cases (bug#9183).
10102
673e08bb
SM
10103 * emacs-lisp/cl-macs.el (cl--make-usage-var, cl--make-usage-args):
10104 New functions.
10105 (cl-transform-lambda): Use them (bug#9239).
10106
89b3f019
MR
101072011-08-05 Martin Rudalics <rudalics@gmx.at>
10108
10109 * window.el (display-buffer-same-window)
10110 (display-buffer-same-frame, display-buffer-other-window)
10111 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
10112 (pop-to-buffer-other-window)
10113 (pop-to-buffer-same-frame-other-window)
10114 (pop-to-buffer-other-frame): Make them defuns.
10115 (switch-to-buffer): Don't set LABEL argument of pop-to-buffer.
10116
640c8776
SM
101172011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
10118
10119 * subr.el (make-composed-keymap): Move from C. Change calling
10120 convention, and improve docstring to bring attention to a subtle point.
10121 * minibuffer.el (completing-read-default): Adjust accordingly.
10122
63648a95
MA
101232011-08-03 Michael Albinus <michael.albinus@gmx.de>
10124
10125 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
10126 (tramp-open-shell): Use `tramp-shell-quote-argument'.
10127
10128 * net/trampver.el: Update release number.
10129
b796c9b7
SM
101302011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
10131
10132 * progmodes/sh-script.el (sh-font-lock-paren): Don't mistake "main" for
10133 "in" (bug#9190).
10134
2239d7d5
LMI
101352011-08-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
10136
e07dd7c3
LMI
10137 * mail/sendmail.el (sendmail-query-once): Restore the current
10138 buffer after querying (bug#9074).
10139
0e6a2bd7
LMI
10140 * dired.el (dired-flagged): Use different faces for marked and
10141 flagged files (bug#6117).
10142
ce887515
LMI
10143 * emacs-lisp/cl-macs.el (dolist): Mention that there's a nil block
10144 (bug#4433).
10145
92f2affc
LMI
10146 * ido.el (ido-mode): Switch off the message if called
10147 non-interactively.
10148
57d5aff0
LMI
10149 * mail/smtpmail.el (smtpmail-query-smtp-server): Try port 25
10150 before 587, since it appears that that's more likely to work for
10151 more people.
10152
98cd6c18 10153 * cus-edit.el (custom-file): When running under emacs -q, always
e1dbe924 10154 refuse to save the customizations, even if the .emacs file doesn't
98cd6c18
LMI
10155 exist.
10156
b96dec83
LMI
10157 * info.el: Remove the `Info-beginning-of-buffer' function
10158 (bug#8325).
10159
b796c9b7
SM
10160 * net/network-stream.el (network-stream-open-starttls):
10161 Use `starttls-available-p' to see whether starttls.el can be used.
2239d7d5 10162
d90e2ea0
MR
101632011-08-01 Martin Rudalics <rudalics@gmx.at>
10164
10165 * window.el (display-buffer-in-window): Don't set dedicated status
10166 of window here (Bug#9215).
10167 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
10168 (display-buffer-pop-up-side-window)
b796c9b7 10169 (display-buffer-in-side-window): Set dedicated status of window here.
d90e2ea0 10170
cca09170
SM
101712011-08-01 Stefan Monnier <monnier@iro.umontreal.ca>
10172
10173 * emacs-lisp/package.el (package-generate-autoloads): Load autoloads
10174 before binding generated-autoload-file.
10175
027b979c
DD
101762011-08-01 Deniz Dogan <deniz@dogan.se>
10177
10178 * net/rcirc.el (rcirc-handler-333): Clarify docstring.
10179
3c7ee4f3
MA
101802011-07-30 Michael Albinus <michael.albinus@gmx.de>
10181
10182 Sync with Tramp 2.2.2.
10183
10184 * net/trampver.el: Update release number.
10185
2cc8e51a
JL
101862011-07-30 Juri Linkov <juri@jurta.org>
10187
10188 * dired-aux.el (dired-touch-initial): Remove function.
10189 (dired-do-chxxx): For op-symbol `touch', set `initial' to the
10190 current time, and `default' to the last modification time of the
10191 current marked file (bug#6887).
10192
a514d856
JM
101932011-07-28 Jose E. Marchesi <jemarch@gnu.org>
10194
10195 * simple.el (goto-line): Use string-to-number to provide a
2cc8e51a 10196 numeric argument to read-number (bug#9163).
a514d856 10197
8a7eddd7
MA
101982011-07-27 Michael Albinus <michael.albinus@gmx.de>
10199
10200 * net/tramp-sh.el (tramp-maybe-send-script): Don't let-bind the
10201 connection process, it could be nil.
10202
1ddd96f5
LL
102032011-07-27 Leo Liu <sdl.web@gmail.com>
10204
10205 Simplify url handling in rcirc-mode.
10206
10207 * net/rcirc.el (rcirc-browse-url-map, rcirc-browse-url-at-point)
10208 (rcirc-browse-url-at-mouse): Remove.
10209 * net/rcirc.el (rcirc-markup-urls): Use `make-button'.
10210
b248a85d
AM
102112011-07-26 Alan Mackenzie <acm@muc.de>
10212
10213 Fontify bitfield declarations properly.
10214
10215 * progmodes/cc-langs.el (c-has-bitfields): New lang variable.
10216 (c-symbol-chars): Now exported as a lang variable.
10217 (c-not-primitive-type-keywords): New lang variable.
10218
10219 * progmodes/cc-fonts.el (c-font-lock-declarations): Jump over the
10220 QT keyword "more" to prevent "more slots: ...." being spuriously
58179cce 10221 parsed as a bitfield declaration.
b248a85d 10222
b796c9b7
SM
10223 * progmodes/cc-engine.el (c-beginning-of-statement-1):
10224 Refactor and enhance to handle bitfield declarations.
b248a85d
AM
10225 (c-punctuation-in): New function.
10226 (c-forward-decl-or-cast-1): Enhance CASE 3 to handle bitfield
10227 declarations properly.
10228
68575ab0
UJ
102292011-07-26 Ulf Jasper <ulf.jasper@web.de>
10230
10231 * calendar/icalendar.el (icalendar--all-events): Take care of
10232 multiple vcalendars in a single file.
b796c9b7 10233 (icalendar--convert-float-to-ical): Checkdoc fixes.
68575ab0 10234
0f0a88b9
DD
102352011-07-25 Deniz Dogan <deniz@dogan.se>
10236
10237 * image.el (insert-image): Clarifying docstring.
10238
0b3f36df
MA
102392011-07-24 Michael Albinus <michael.albinus@gmx.de>
10240
10241 * net/tramp-sh.el (tramp-barf-unless-okay): Return the value of
10242 `tramp-send-command-and-check' if there is no error.
10243 (tramp-send-command-and-read): Suppress *all* errors if NOERROR.
10244
a9901f61
AM
102452011-07-22 Alan Mackenzie <acm@muc.de>
10246
10247 Prevent cc-langs.elc being loaded at run time.
10248
10249 * progmodes/cc-mode.el: Remove two autoload forms which loaded
10250 cc-langs.
10251
4d61f28d 10252 * progmodes/cc-langs.el (c-make-init-lang-vars-fun): Don't emit
a9901f61
AM
10253 "(require 'cc-langs)". Quote a form so it will evaluate at
10254 (cc-mode's) compilation time.
10255
11d074b2
MA
102562011-07-22 Michael Albinus <michael.albinus@gmx.de>
10257
10258 * net/tramp.el (tramp-file-name-handler): Avoid recursive
10259 loading. (Bug#9114)
10260
938b94c8
MR
102612011-07-21 Martin Rudalics <rudalics@gmx.at>
10262
10263 * window.el (display-buffer-pop-up-window)
10264 (display-buffer-pop-up-side-window)
10265 (display-buffer-in-side-window): Call display-buffer-set-height
10266 and display-buffer-set-width after setting the new window's
b796c9b7 10267 buffer so `fit-window-to-buffer' and friends work on the right buffer.
938b94c8 10268
bfa4f190
SS
102692011-07-20 Sam Steingold <sds@gnu.org>
10270
10271 * progmodes/etags.el (etags-file-of-tag, etags-tags-table-files)
10272 (etags-tags-included-tables): Call `convert-standard-filename' on
10273 the file names contained in TAGS so that windows Emacs can handle
10274 TAGS files created by cygwin ctags.
10275
8ca42262
LMI
102762011-07-20 Lars Magne Ingebrigtsen <larsi@gnus.org>
10277
10278 * proced.el (proced-update): Revert yesterday's bug#1779 patch,
10279 which apparently didn't work.
10280
5db2afd2 102812011-07-19 Roland Winkler <winkler@gnu.org>
2ecab2b5 10282
5db2afd2
RW
10283 * proced.el (proced-send-signal): For *Marked Processes* buffer
10284 put point at beginning of buffer.
10285
92e15d10
SB
102862011-07-19 Stephen Berman <stephen.berman@gmx.net>
10287
10288 * proced.el (proced-format): Make header lines align with the text
10289 (bug#1779).
10290
1bfd59e5
LMI
102912011-07-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
10292
10293 * view.el (view-buffer): Allow running in `special' modes if we're
10294 visiting a file (bug#8615).
10295
f5aae37c
MR
102962011-07-19 Martin Rudalics <rudalics@gmx.at>
10297
10298 * window.el (display-buffer-alist-of-strings-p)
b796c9b7
SM
10299 (display-buffer-alist-set-1, display-buffer-alist-set-2):
10300 New functions.
f5aae37c
MR
10301 (display-buffer-alist-set): Rewrite to handle Emacs 23 options
10302 more accurately.
10303
bf2c1571
AM
103042011-07-18 Alan Mackenzie <acm@muc.de>
10305
10306 Fontify declarators properly when, e.g., a jit-lock chunk begins
10307 inside a declaration.
10308
10309 * progmodes/cc-langs.el (c-symbol-chars): Correct a typo.
10310
b796c9b7
SM
10311 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
10312 New function.
bf2c1571
AM
10313 (c-complex-decl-matchers): Insert reference to
10314 c-font-lock-enclosing-decls.
10315
10316 * progmodes/cc-engine.el (c-backward-single-comment):
10317 (c-backward-comments): Bind open-paren-in-column-0-is-defun-start
10318 to nil around calls to (forward-comment -1).
10319
4e190b80
LMI
103202011-07-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
10321
12dc863d
LMI
10322 * image.el (put-image): Doc typo fix.
10323
a762e966
LMI
10324 * progmodes/etags.el (tags-search): Doc typo fix.
10325
4e190b80
LMI
10326 * mail/smtpmail.el (smtpmail-via-smtp): Query the user for
10327 password if we get errors 550 to 554.
10328
f019fb21
LMI
103292011-07-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
10330
b796c9b7 10331 * net/gnutls.el (gnutls-log-level): Remove.
750c33f7 10332
81746738
LMI
10333 * textmodes/fill.el (adaptive-fill-regexp): Include EN DASH as an
10334 indentation character (bug#6380).
10335
3ee3a1b5
LMI
10336 * files.el (buffer-offer-save): Made permanently local (bug#6241).
10337
c82f64de
LMI
10338 * doc-view.el (doc-view-make-safe-dir): Rewrite the error message
10339 to clarify what the problem is (bug#4291).
10340
f019fb21
LMI
10341 * simple.el (current-kill): Clarify what
10342 `interprogram-paste-function' does (bug#7500).
ca425c7c
LMI
10343 (auto-fill-mode): Document `auto-fill-function' in relation to
10344 `auto-fill-mode' (bug#2470).
f019fb21 10345
0794775d
LM
103462011-07-16 Lawrence Mitchell <wence@gmx.li>
10347
10348 * emacs-lisp/cl-macs.el (defstruct): Ignore argument to setf
10349 method if slot is read-only (bug#9035).
10350
be39b8cc
MR
103512011-07-16 Martin Rudalics <rudalics@gmx.at>
10352
b796c9b7 10353 * frame.el (select-frame-set-input-focus): New argument NORECORD.
be39b8cc 10354 * window.el (pop-to-buffer): Select window used even if it was
b796c9b7
SM
10355 selected before, see discussion of (Bug#8615), (Bug#6954).
10356 Pass argument NORECORD on to select-frame-set-input-focus.
be39b8cc 10357
6ccf7859
GM
103582011-07-15 Glenn Morris <rgm@gnu.org>
10359
10360 * subr.el (read-char-choice): Allow quitting. (Bug#9001)
03ea5b87 10361 Respect help-form.
6ccf7859 10362
87e86684
LM
103632011-07-09 Lawrence Mitchell <wence@gmx.li>
10364
10365 * net/gnutls.el (gnutls-min-prime-bits): New variable.
10366 (gnutls-negotiate): Use it.
10367
d6066239
LMI
103682011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
10369
b796c9b7
SM
10370 * net/gnutls.el (gnutls-negotiate):
10371 Upcase `gnutls-algorithm-priority'.
d6066239 10372
bd23ebc0
GM
103732011-07-15 Glenn Morris <rgm@gnu.org>
10374
c65bca65
GM
10375 * jka-compr.el (jka-compr-verbose): Move from here...
10376 * jka-cmpr-hook.el (jka-compr-verbose): ... to here. (Bug#9090)
10377 Add missing :version tag.
10378 * info.el: No need to require jka-compr when compiling.
bd23ebc0 10379
478615cc
LMI
103802011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
10381
7b41decb
LMI
10382 * net/gnutls.el (gnutls-algorithm-priority): New variable.
10383 (gnutls-negotiate): Use it.
10384
dbc44fcd
LMI
10385 * emacs-lisp/cl-macs.el (declare): Link to the "Declarations" node.
10386
06789f97
LMI
10387 * info.el (Info-beginning-of-buffer): New command.
10388 (Info-mode-map): Use it instead of `beginning-of-buffer' to allow
10389 announcing `b' as the key (bug#8325).
ab896c37 10390 (Info-mode-menu): Use `Info-beginning-of-buffer' for consistency.
06789f97 10391
c39da690
LMI
10392 * emacs-lisp/cl-macs.el (declare): Doc string fix-up.
10393
3aa5f34b
LMI
10394 * international/mule-cmds.el
10395 (describe-specified-language-support): Make the error message
10396 clearer (bug#8905).
10397
4bf0979f
LMI
10398 * emacs-lisp/cl-macs.el (declare): Add a doc string (bug#8690).
10399
478615cc
LMI
10400 * isearch.el (isearch-barrier): Add a doc string, since it's
10401 mentioned in a function doc string (bug#8678).
10402
75c68aa1
MR
104032011-07-15 Martin Rudalics <rudalics@gmx.at>
10404
10405 * window.el (switch-to-buffer): Call pop-to-buffer with normalized
10406 buffer argument (Bug#9083) and self-identifying label argument.
10407
a7c33da2
GM
104082011-07-15 Glenn Morris <rgm@gnu.org>
10409
10410 * emacs-lisp/debug.el (debug): Doc fix. (Bug#8273)
10411
2f5c6024
LMI
104122011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
10413
10414 * man.el (Man-fontify-manpage): Fix message when formatting the
10415 man page (bug#7929).
10416
0bb23927 104172011-07-14 Eli Zaretskii <eliz@gnu.org>
cce4b0a7
EZ
10418
10419 * buff-menu.el (Buffer-menu-buffer+size): Accept an additional
10420 argument LRM; if non-nil, append an invisible LRM character to the
10421 buffer name.
10422 (list-buffers-noselect): Call Buffer-menu-buffer+size with the
10423 last argument non-nil, when formatting buffer names.
0bb23927
EZ
10424 (Buffer-menu-mode, list-buffers-noselect): Force left-to-right
10425 paragraph direction.
cce4b0a7 10426
621ef9ab
LMI
104272011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
10428
d1583c48
LMI
10429 * man.el (Man-bgproc-sentinel): Skip any arguments and only output
10430 the man page name (bug#7929).
10431
6a57fb5f
LMI
10432 * image.el (put-image): Mention the `put-image' overlay property
10433 (bug#7834).
10434
d7956b14
LMI
10435 * scroll-bar.el (set-scroll-bar-mode): Mention that
10436 `scroll-bar-mode' lists the values (bug#7772).
10437
5b2d4a66
LMI
10438 * image-mode.el (image-mode-fit-frame): Mention that it's a toggle
10439 command (bug#7729).
10440
7509a874
LMI
10441 * rect.el (apply-on-rectangle): Return the point after the last
10442 operation.
10443 (string-rectangle): Go to the point after the last operation
10444 (bug#7522).
10445
4fe74b19
LMI
10446 * printing.el (pr-toggle-region): Clarify the documentation
10447 slightly (bug#7493).
10448
b796c9b7
SM
10449 * time.el (display-time-update):
10450 Allow `display-time-mail-function' to return nil (bug#7158).
10451 Fix suggested by Detlev Zundel.
ab283561 10452
fc233c9d
LMI
10453 * vc/diff.el (diff): Clarify the order the file names are read
10454 (bug#7111).
10455
43f5740b
LMI
10456 * mouse.el (mouse-set-region): Link to `mouse-drag-copy-region' in
10457 the doc string (bug#7015).
10458
f2182a76
LMI
10459 * font-lock.el (font-lock-maximum-decoration): Mention what
10460 numeric levels mean (bug#6935).
10461
621ef9ab
LMI
10462 * startup.el (initial-buffer-choice): Don't mention the `none'
10463 selection, which is against policy.
10464
adc47434
MR
104652011-07-14 Martin Rudalics <rudalics@gmx.at>
10466
b796c9b7
SM
10467 * window.el (display-buffer-normalize-special):
10468 Replace `dedicated' by `dedicate' to dedicate window (Bug#9072).
adc47434 10469
7e5bfb8f
EZ
104702011-07-14 Eli Zaretskii <eliz@gnu.org>
10471
10472 * subr.el (version<, version<=, version=): Mention "-CVS" and
10473 "-12345" alpha version numbers.
10474
27fa387a
CY
104752011-07-14 Chong Yidong <cyd@stupidchicken.com>
10476
10477 * bindings.el: Add advertised binding for set-mark-command
10478 (Bug#5772).
10479
8bdfa064
CY
104802011-07-14 Chong Yidong <cyd@stupidchicken.com>
10481
10482 * bindings.el (mode-line-other-buffer):
10483 * bookmark.el (bookmark-bmenu-2-window):
10484 * bs.el (bs-cycle-next, bs-cycle-previous):
10485 * net/tramp-cmds.el (tramp-append-tramp-buffers): Revert to using
10486 switch-to-buffer.
10487
10488 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
b796c9b7 10489 Delete.
8bdfa064 10490
5eba16a3
JB
104912011-07-14 Juanma Barranquero <lekktu@gmail.com>
10492
10493 * follow.el (follow-debug-message, follow-redisplay):
10494 * jka-cmpr-hook.el (with-auto-compression-mode):
10495 Fix typos in docstrings.
10496
15853710
LMI
104972011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
10498
a28e4607
LMI
10499 * subr.el (with-silent-modifications): Clarify somewhat what the
10500 macro inhibits (bug#6525).
10501
15853710
LMI
10502 * simple.el (eval-expression): Note what it does if called
10503 interactively (bug#6495).
10504
bee0fcef
CY
105052011-07-13 Chong Yidong <cyd@stupidchicken.com>
10506
b796c9b7
SM
10507 * window.el (switch-to-buffer): New arg FORCE-SAME-WINDOW.
10508 Use pop-to-buffer buffer-or-name if it is nil.
bee0fcef
CY
10509
10510 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
10511 Remove switch-to-buffer.
10512
58274504
LMI
105132011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
10514
bd2fcc8d
LMI
10515 * files.el (make-directory): Clarify that an error will be raised
10516 if there's an error (bug#6397).
10517
0f04b32c
LMI
10518 * startup.el (initial-buffer-choice): Add `none' as a choice
10519 (bug#6234).
10520
465c5fc8
LMI
10521 * subr.el (add-hook): Clarify section about buffer-local hooks
10522 (bug#6218).
10523
58274504
LMI
10524 * dired.el (dired-flagged): Clarify doc string (bug#6117).
10525
bead9a43
JB
105262011-07-13 Juanma Barranquero <lekktu@gmail.com>
10527
10528 * tabify.el (untabify): Preserve the current column so that point
10529 doesn't move (bug#6032).
10530
3af98a7b
LMI
105312011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
10532
b796c9b7
SM
10533 * progmodes/cperl-mode.el (cperl-syntaxify-by-font-lock):
10534 Rewrite to avoid awkward possessive "s" (bug#5986).
3af98a7b 10535
6240145a
GM
105362011-07-13 Glenn Morris <rgm@gnu.org>
10537
10538 * dired.el (dired-use-ls-dired): Doc fix. (Bug#9039).
10539 (dired-insert-directory): Give a message the first time
10540 if ls is found not to support --dired.
10541
1d8c2ccc
LMI
105422011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
10543
10544 * simple.el (toggle-truncate-lines): Clarify what is toggled
10545 (bug#5580). Text by Drew Adams.
10546
5fc4038e
CY
105472011-07-13 Chong Yidong <cyd@stupidchicken.com>
10548
10549 * simple.el (blink-matching-open): Make the error message from the
10550 last change less verbose.
10551
bf6012e5
DN
105522011-07-13 Dan Nicolaescu <dann@ics.uci.edu>
10553
10554 * font-lock.el (font-lock-comment-face): Use the high contrast
10555 "yellow" color for font-lock-comment-face on low color terminals
10556 using a dark background color (bug#4221).
10557
343c3b5a
LMI
105582011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
10559
7e9505c5
LMI
10560 * dired.el (dired-insert-set-properties): Make the doc string
10561 reflect what it does now (bug#5325).
10562
c26fdcf5
LMI
10563 * simple.el (blink-matching-open): Say that we were unable to find
10564 the match within the limit, if we're limited (bug#5122).
10565
bb388cc5
LMI
10566 * international/mule-cmds.el (prefer-coding-system): Add an
10567 example (bug#4869).
10568
343c3b5a
LMI
10569 * progmodes/etags.el (tags-search): Document `file-list-form'
10570 (bug#4731).
10571
2a517d45
LM
105722011-07-13 Lawrence Mitchell <wence@gmx.li>
10573
10574 * net/browse-url.el (browse-url-default-browser)
10575 (browse-url-browser-function): Make the default browser choice a
10576 bit more logical (bug#4300). Also clean up the doc string.
10577
b6c78ef2
JB
105782011-07-13 Juanma Barranquero <lekktu@gmail.com>
10579
10580 * bindings.el (completion-ignored-extensions): Add OpenMCL/Clozure
10581 binary endings (bug#4440).
10582
1c4dd947
LMI
105832011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
10584
a2014063
LMI
10585 * info.el (info-insert-file-contents): Inhibit jka-compr messages,
10586 which can be pretty annoying (bug#8971).
10587
9c9c2d88
LMI
10588 * jka-compr.el (jka-compr-verbose): New variable, and use
10589 throughout (bug#8971).
10590
1c4dd947
LMI
10591 * info.el (Info-find-file): Fall back on the installation
10592 directory if we can't find the info node anywhere else.
10593
a1c9f41b
SO
105942011-07-13 Sergei Organov <osv@javad.com> (tiny change)
10595
10596 * vc/vc.el (vc-revert-file):
10597 Don't set file time-stamp in the past. (Bug#5181)
10598
536f3d36
LMI
105992011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
10600
7152b011
LMI
10601 * files.el (after-find-file): Give a better error message when
10602 trying to find a symlink that points to a file that doesn't exist
10603 (bug#4398).
10604
536f3d36
LMI
10605 * progmodes/cc-vars.el: Remove (probably) misleading comment
10606 (bug#4396).
10607
460c0fba
JB
106082011-07-12 Johan Bockgård <bojohan@gnu.org>
10609
10610 * mouse-sel.el (mouse-sel-primary-overlay): Use the `region' face.
10611
7a6bda45
CY
106122011-07-12 Chong Yidong <cyd@stupidchicken.com>
10613
10614 * mouse-sel.el: Hack restoring functionality, while keeping
10615 compatibility with 2010-07-03 changes to mouse selection.
10616 (mouse-sel-primary-overlay): New var.
10617 (mouse-sel-selection-alist): Use it.
10618 (mouse-sel-mode): Doc fix; remove points that are default features
10619 of mouse.el.
10620
c79598ef
JB
106212011-07-12 Johan Bockgård <bojohan@gnu.org>
10622
10623 * progmodes/compile.el (compilation-error-regexp-alist-alist):
10624 Fix previous fix (bug#2490).
10625
ff8be6ef
RW
106262011-07-12 Roland Winkler <winkler@gnu.org>
10627
b796c9b7
SM
10628 * textmodes/bibtex.el (bibtex-initialize):
10629 Use pop-to-buffer-same-window.
ff8be6ef
RW
10630 (bibtex-search-entries): Fix interactive call.
10631
296ba3ee
LMI
106322011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
10633
f5242a02 10634 * progmodes/compile.el (compilation-error-regexp-alist-alist):
b796c9b7
SM
10635 Fontise bytecomp Error lines more correctly (bug#2490).
10636 Fix suggested by Johan Bockgård.
f5242a02 10637
296ba3ee
LMI
10638 * subr.el (remove-duplicates): Remove; `delete-dups' is sufficient.
10639
10640 * dired-x.el (dired-guess-default): Use `delete-dups'.
10641
f69fd0d2
CY
106422011-07-12 Chong Yidong <cyd@stupidchicken.com>
10643
10644 * dired.el (dired-mark-prompt):
10645 * dired-aux.el (dired-read-shell-command): Doc fix.
10646
eab5dc07
LMI
106472011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
10648
b796c9b7
SM
10649 * mail/sendmail.el (sendmail-query-once):
10650 Use `customize-save-variable' unconditionally, now that it works under
9988520a
LMI
10651 emacs -Q.
10652
10653 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
10654
eab5dc07
LMI
10655 * cus-edit.el (custom-file): Take an optional no-error variable.
10656 (customize-save-variable): Set the variable, and give a warning if
10657 running under "emacs -q".
10658
a1e65d42
JB
106592011-07-11 Juanma Barranquero <lekktu@gmail.com>
10660
10661 * loadhist.el (unload-feature-special-hooks):
10662 Add `auto-coding-functions', `fill-nobreak-predicate' and
10663 `find-directory-functions' (bug#5327).
10664
1d52da10
LMI
106652011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
10666
be958f1d
LMI
10667 * vc/ediff.el (ediff-patch-file): Clarify doc string (bug#3138).
10668
5bedb26c
LMI
10669 * cus-edit.el (custom-guess-name-alist): -alist variables should
10670 use the `alist' type (bug#3120). Suggested by Drew Adams.
10671
1d52da10
LMI
10672 * printing.el: Add documentation to all the `pr-toggle-' commands.
10673
cd394be1 106742011-07-11 Leo Liu <sdl.web@gmail.com>
481a51b6
LL
10675
10676 * files.el (toggle-read-only): Only do the `C-x C-q' warning on VC
10677 backends where it makes sense (bug#2623).
10678
dcc88d8a
LMI
106792011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
10680
c3de9feb
LMI
10681 * dired-x.el (dired-guess-default): Remove duplicate shell command
10682 entries (bug#2028).
8a93078b 10683 (dired-guess-default): Fix grammar in doc string (bug#2028).
eea84fe5 10684 (dired-guess-shell-alist-user): Clarify the example a bit (bug#2030).
c3de9feb 10685
dcc88d8a
LMI
10686 * subr.el (remove-duplicates): New conveniency function.
10687
505e3645
LMI
106882011-07-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
10689
10690 * tool-bar.el (tool-bar-mode): Clarify positive/negative arguments
10691 (bug#1526).
10692
106932011-07-10 Martin Rudalics <rudalics@gmx.at>
10694
10695 * window.el (display-buffer-normalize-default): Don't invert
10696 meaning of even-window-heights. Reported by Eli Zaretskii
10697 <eliz@gnu.org>.
10698
455e4fa1
BR
106992011-07-10 Bob Rogers <rogers@rgrjr.dyndns.org>
10700
10701 * vc/vc.el (vc-diff-internal): Fix race condition (Bug#1256).
10702
8e0bc3e9
CY
107032011-07-10 Chong Yidong <cyd@stupidchicken.com>
10704
10705 * window.el (display-buffer): Fix arguments to
10706 display-buffer-reuse-window in last change.
10707
fa7c3228
CY
10708 * faces.el (link): Use a less saturated blue on light backgrounds.
10709
10710 * startup.el (fancy-startup-text, fancy-about-text)
10711 (fancy-startup-tail): Use font-lock faces, for background safety.
10712
c0a7f300
BN
107132011-07-09 Bob Nnamtrop <bobnnamtrop@gmail.com> (tiny change)
10714
b796c9b7
SM
10715 * emulation/viper-cmd.el (viper-change-state-to-vi):
10716 Limit triggering of abbrev expansion (Bug#9038).
c0a7f300 10717
4dc2a129
MR
107182011-07-09 Martin Rudalics <rudalics@gmx.at>
10719
10720 * window.el (display-buffer-default-specifiers): Remove.
10721 (display-buffer-macro-specifiers): Remove default specifiers.
10722 (display-buffer-alist): Default to nil.
b796c9b7 10723 (display-buffer-reuse-window): New optional argument other-window.
4dc2a129
MR
10724 (display-buffer-pop-up-window): Allow splitting internal
10725 windows. Check whether a live window was created.
10726 (display-buffer-other-window-means-other-frame)
10727 (display-buffer-normalize-arguments): Rename to
10728 display-buffer-normalize-argument and rewrite. Set the
10729 other-window specifier.
10730 (display-buffer-normalize-special): New function.
10731 (display-buffer-normalize-options): Rename to
10732 display-buffer-normalize-default and rewrite.
10733 (display-buffer-normalize-options-inhibit): Remove.
10734 (display-buffer-normalize-specifiers): Rewrite.
10735 (display-buffer): Process other-window specifier and call
10736 display-buffer-reuse-window with it. Emulate Emacs 23 behavior
10737 more faithfully.
b796c9b7 10738 (pop-up-windows, even-window-heights): Restore Emacs 23 default values.
4dc2a129 10739 (display-buffer-alist-set): Don't handle 'unset default values.
b796c9b7
SM
10740 (display-buffer-in-window, display-buffer-alist-set):
10741 Replace symbol "dedicated" by "dedicate". Reported by Tassilo Horn
4dc2a129
MR
10742 <tassilo@member.fsf.org>.
10743
2d43b8c9
LL
107442011-07-09 Leo Liu <sdl.web@gmail.com>
10745
10746 * register.el (insert-register): Restore accidental change on
10747 2011-06-26. (Bug#9028)
10748
7f9b7c53
GM
107492011-07-09 Glenn Morris <rgm@gnu.org>
10750
10751 * subr.el (remq): Handle the empty list. (Bug#9024)
10752
f042cfd8
AS
107532011-07-08 Andreas Schwab <schwab@linux-m68k.org>
10754
10755 * mail/sendmail.el (send-mail-function): No longer delay custom
10756 initialization.
10757 * custom.el (custom-initialize-delay): Doc fix.
10758
856b2f11
SM
107592011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
10760
10761 * abbrev.el (expand-abbrev): Try to preserve point (bug#5805).
10762
afae1d68
MA
107632011-07-08 Michael Albinus <michael.albinus@gmx.de>
10764
10765 * net/tramp-sh.el (tramp-sh-handle-start-file-process): Use a
10766 human-friendly prompt.
10767
0757af94
SM
107682011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
10769
10770 * vc/vc-bzr.el (vc-bzr-revision-keywords): Remove svn, it's only
10771 provided by a particular plugin.
10772
d760b731
LMI
107732011-07-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
10774
10775 * mail/sendmail.el (sendmail-query-once): If we aren't allowed to
10776 save customizations (with "emacs -Q"), just set the variable
10777 instead of erroring out.
10778
10779 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
10780
cd79ce90
JL
107812011-07-08 Juri Linkov <juri@jurta.org>
10782
10783 * arc-mode.el (archive-zip-expunge, archive-zip-update)
10784 (archive-zip-update-case): Use 7z if found by `executable-find'.
10785 The order of searching the available programs is the same as in
10786 `archive-zip-extract' (bug#8968).
10787
14cc04aa
CY
107882011-07-07 Chong Yidong <cyd@stupidchicken.com>
10789
10790 * menu-bar.el (menu-bar-line-wrapping-menu): Revert last change.
10791 (menu-bar-options-menu): Tweak descriptions.
10792
0a1848ec
LMI
107932011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
10794
10795 * menu-bar.el (menu-bar-line-wrapping-menu): Make all the Options
10796 menu items into verb phrases (bug#1421). Also refill to fit under
10797 80 columns.
10798
f5bd0689
CY
107992011-07-07 Chong Yidong <cyd@stupidchicken.com>
10800
538e85c6
CY
10801 * info.el (info, Info-read-node-name-2, Info-read-node-name-1)
10802 (Info-read-node-name): Doc fix (Bug#1084).
10803
f5bd0689
CY
10804 * thingatpt.el (forward-thing, bounds-of-thing-at-point)
10805 (thing-at-point, beginning-of-thing, end-of-thing, in-string-p)
10806 (end-of-sexp, beginning-of-sexp)
10807 (thing-at-point-bounds-of-list-at-point, forward-whitespace)
10808 (forward-symbol, forward-same-syntax, word-at-point)
10809 (sentence-at-point): Doc fix (Bug#1144).
10810
56ec5115
LMI
108112011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
10812
f3f8e37f
LMI
10813 * info.el (Info-mode-map): Remove S-TAB binding, since [backtab]
10814 should cover it (bug#1281).
10815
0757af94 10816 * cus-edit.el (custom-show): Mark as obsolete.
af0905c8 10817
e9fce1ac 10818 * net/network-stream.el (network-stream-open-starttls): If GnuTLS
12b9eb35
LMI
10819 negotiation fails, then possibly try again with a non-encrypted
10820 connection (bug#9017).
10821
56ec5115
LMI
10822 * mail/smtpmail.el (smtpmail-stream-type): Note that `plain' can
10823 be used.
10824
c2f9aec8
RS
108252011-07-07 Richard Stallman <rms@gnu.org>
10826
10827 * mail/rmail.el (rmail-next-error-move): Use `compilation-message'
10828 property, and handle its changed format.
10829 Look for the correct line number.
10830 Use file's line contents (but not past first =) to find
10831 correct line in message.
10832
ef7b981d 108332011-07-07 Kenichi Handa <handa@m17n.org>
c805dec0
KH
10834
10835 * international/characters.el (build-unicode-category-table):
10836 Delete it.
0757af94 10837 (unicode-category-table): Set it by unicode-property-table-internal.
c805dec0 10838
0757af94 10839 * international/mule-cmds.el (char-code-property-alist): Move to
c805dec0
KH
10840 to src/chartab.c.
10841 (get-char-code-property): Call unicode-property-table-internal to
10842 load a file. Call get-unicode-property-internal where necessary.
10843 (put-char-code-property): Call unicode-property-table-internal to
10844 load a file. Call put-unicode-property-internal where necessary.
10845 put-unicode-property-internal where necessary.
0757af94
SM
10846 (char-code-property-description):
10847 Call unicode-property-table-internal to load a file.
c805dec0
KH
10848
10849 * international/charprop.el:
10850 * international/uni-bidi.el:
10851 * international/uni-category.el:
10852 * international/uni-combining.el:
10853 * international/uni-comment.el:
10854 * international/uni-decimal.el:
10855 * international/uni-decomposition.el:
10856 * international/uni-digit.el:
10857 * international/uni-lowercase.el:
10858 * international/uni-mirrored.el:
10859 * international/uni-name.el:
10860 * international/uni-numeric.el:
10861 * international/uni-old-name.el:
10862 * international/uni-titlecase.el:
10863 * international/uni-uppercase.el: Regenerate.
10864
10865 * loadup.el: Load international/charprop.el before
10866 international/characters.
10867
e14b388a
CY
108682011-07-07 Chong Yidong <cyd@stupidchicken.com>
10869
10870 * window.el (next-buffer, previous-buffer): Signal an error if
10871 called from a minibuffer window.
10872
10873 * bindings.el: Revert 2011-07-04 change.
10874
354cf0ba
RS
108752011-07-06 Richard Stallman <rms@gnu.org>
10876
10877 * mail/rmailmm.el (rmail-mime-process): Use markers for buf positions.
10878 (rmail-mime-insert-bulk, rmail-mime-insert-text):
10879 Treat markers like ints.
10880 (rmail-mime-entity): Doc fix.
10881
a48868a7
LMI
108822011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
10883
4906cd3d
LMI
10884 * mail/smtpmail.el (smtpmail-default-smtp-server): Made into a
10885 defcustom again for backwards compatibility.
10886
e0457abe
LMI
10887 * simple.el (shell-command-on-region): Fill.
10888
d67f7e1f
LMI
10889 * dired-aux.el (dired-kill-line): Add a doc string.
10890
fe204702
LMI
10891 * dabbrev.el (dabbrev-abbrev-char-regexp): Note that nil defaults
10892 to "\\sw\\|\\s_" (bug#358).
10893
a48868a7
LMI
10894 * dired.el (dired-mode): Clarify "unmark or unflag" (bug#8770).
10895 (dired-unmark-backward): Ditto.
10896 (dired-flag-backup-files): Ditto.
10897
10898 * dired-x.el (dired-mark-sexp): Ditto.
10899
aa8a705c
RS
109002011-07-06 Richard Stallman <rms@gnu.org>
10901
10902 * mail/rmailmm.el: Give entity a new slot, TRUNCATED.
10903 (rmail-mime-entity): New arg TRUNCATED.
10904 (rmail-mime-entity-truncated, rmail-mime-entity-set-truncated):
10905 New functions.
10906 (rmail-mime-save): Warn if entity is truncated.
10907 (rmail-mime-toggle-hidden): Likewise, for showing.
10908 (rmail-mime-process-multipart): Record when an entity is truncated.
10909
a9a936b9
RS
10910 * mail/rmailmm.el (rmail-search-mime-message): Don't get confused
10911 if ENTITY is a string.
10912
1f2b92cb
LMI
109132011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
10914
f4f73198 10915 * emacs-lisp/lisp-mode.el (eval-defun-1): Update the documentation
0757af94
SM
10916 of faces when `M-C-x'-ing their definitions (bug#8378).
10917 Also clean up the code slightly.
f4f73198 10918
12b16734 10919 * progmodes/grep.el (rgrep): Don't bind `process-connection-type',
da6062e6 10920 because that makes the colors go away.
12b16734 10921
f0691d22
LMI
10922 * mail/sendmail.el (send-mail-function): Change the default to
10923 `sendmail-query-once'.
9e87df06 10924 (sendmail-query-once): Add an autoload cookie.
f0691d22 10925
1f2b92cb
LMI
10926 * net/network-stream.el (network-stream-open-starttls): Try using
10927 a plain connection even if the server offered STARTTLS, and we
10928 kinda wanted to use it, if Emacs doesn't have any STARTTLS
10929 capability. This should make smtpmail.el work in slightly more
10930 configurations.
10931
1cdd2a1b
MA
109322011-07-06 Michael Albinus <michael.albinus@gmx.de>
10933
10934 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
10935 New defun.
10936 * net/tramp-cmds.el (tramp-append-tramp-buffers): Use it.
10937
fbcc67e2
MM
109382011-07-06 Michael R. Mauger <mmaug@yahoo.com>
10939
10940 * progmodes/sql.el: Version 3.0
0757af94 10941 (sql-product-alist): Add product :completion-object,
fbcc67e2 10942 :completion-column, and :statement attributes.
0757af94 10943 (sql-mode-menu, sql-interactive-mode-map): Fix List entries.
fbcc67e2 10944 (sql-mode-syntax-table): Mark all punctuation.
0757af94 10945 (sql-font-lock-keywords-builder): Temporarily remove fallback on
fbcc67e2
MM
10946 ansi keywords.
10947 (sql-regexp-abbrev, sql-regexp-abbrev-list): New functions.
0757af94 10948 (sql-mode-oracle-font-lock-keywords): Improve.
fbcc67e2
MM
10949 (sql-oracle-show-reserved-words): New function for development.
10950 (sql-product-font-lock): Simplify for source code buffers.
10951 (sql-product-syntax-table, sql-product-font-lock-syntax-alist):
10952 New functions.
10953 (sql-highlight-product): Set product specific syntax table.
0757af94
SM
10954 (sql-mode-map): Add statement movement functions.
10955 (sql-ansi-statement-starters, sql-oracle-statement-starters):
10956 New variable.
fbcc67e2
MM
10957 (sql-statement-regexp, sql-beginning-of-statement)
10958 (sql-end-of-statement, sql-signum): New functions.
0757af94 10959 (sql-buffer-live-p, sql=find-sqli-buffer): Add CONNECTION parameter.
fbcc67e2
MM
10960 (sql-show-sqli-buffer): Bug fix.
10961 (sql-interactive-mode): Store connection data as buffer local.
0757af94 10962 (sql-connect): Add NEW-NAME parameter. Redesign interaction
fbcc67e2
MM
10963 with sql-interactive-mode.
10964 (sql-save-connection): Save buffer local settings.
0757af94 10965 (sql-connection-menu-filter): Change menu entry name.
fbcc67e2
MM
10966 (sql-product-interactive): Bug fix.
10967 (sql-preoutput-hold): New variable.
10968 (sql-interactive-remove-continuation-prompt): Bug fixes.
10969 (sql-debug-redirect): New variable.
10970 (sql-str-literal): New function.
10971 (sql-redirect, sql-redirect-one, sql-redirect-value, sql-execute):
0757af94 10972 Redesign.
fbcc67e2
MM
10973 (sql-oracle-save-settings, sql-oracle-restore-settings)
10974 (sql-oracle-list-all, sql-oracle-list-table): New functions.
10975 (sql-completion-object, sql-completion-column)
10976 (sql-completion-sqlbuf): New variables.
10977 (sql-build-completions-1, sql-build-completions)
10978 (sql-try-completion): New functions.
10979 (sql-read-table-name): Use them.
10980 (sql-contains-names): New buffer local variable.
10981 (sql-list-all, sql-list-table): Use it.
10982 (sql-oracle-completion-types): New variable.
10983 (sql-oracle-completion-object, sql-sqlite-completion-object)
10984 (sql-postgres-completion-object): New functions.
10985
d4eaeab1
GM
109862011-07-06 Glenn Morris <rgm@gnu.org>
10987
10988 * window.el (pop-to-buffer): Doc fix.
10989
322b7dab 109902011-07-06 Markus Heiser <markus.heiser@darmarit.de> (tiny change)
a1d3a912
CY
10991
10992 * progmodes/gud.el (gud-pdb-marker-regexp): Accept \r char (Bug#5653).
10993
322b7dab 109942011-07-06 Chong Yidong <cyd@stupidchicken.com>
0484d600 10995
322b7dab 10996 * window.el (special-display-popup-frame): Doc fix (Bug#8853).
4f8f657f 10997
322b7dab 10998 * info.el (Info-directory-toc-nodes): Minor doc fix (Bug#8833).
8f43cbf3 10999
605dd5bf
CY
110002011-07-05 Chong Yidong <cyd@stupidchicken.com>
11001
11002 * button.el (button): Inherit from link face. Suggested by Dan
11003 Nicolaescu.
11004
7dbfa719
SM
110052011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
11006
3db614b0
SM
11007 * progmodes/gdb-mi.el: Fit in 80 columns.
11008 (gdb-setup-windows, gdb-restore-windows): Avoid other-window and
11009 switch-to-buffer.
11010
7dbfa719
SM
11011 * progmodes/which-func.el (which-func-ff-hook): Don't output a message
11012 if imenu is simply not configured (bug#8941).
11013
919d884a
KM
110142011-07-05 Ken Manheimer <ken.manheimer@gmail.com>
11015
11016 * allout.el (allout-post-undo-hook): New allout outline-change
11017 event hook to signal undo activity.
11018 (allout-post-command-business): Run allout-post-undo-hook if an
11019 undo just occurred.
7dbfa719
SM
11020 (allout-after-copy-or-kill-hook, allout-mode): Minor docstring changes.
11021 * allout-widgets.el (allout-widgets-after-undo-function):
11022 Ensure the integrity of the current item's decoration after it has been
919d884a
KM
11023 in the vicinity of an undo.
11024 (allout-widgets-mode): Include allout-widgets-after-undo-function
11025 on the new allout-post-undo-hook.
11026
450a0f09
SM
110272011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
11028
11029 * emacs-lisp/lisp-mode.el (lisp-interaction-mode-abbrev-table):
11030 Let define-derived-mode define it.
11031 * emacs-lisp/derived.el (define-derived-mode): Try to avoid creating
11032 cycles of abbrev-table inheritance (bug#8998).
11033
2de69e00
RW
110342011-07-05 Roland Winkler <winkler@gnu.org>
11035
11036 * textmodes/bibtex.el: Add support for biblatex.
11037 (bibtex-BibTeX-entry-alist, bibtex-biblatex-entry-alist)
11038 (bibtex-BibTeX-field-alist, bibtex-biblatex-field-alist)
11039 (bibtex-dialect-list, bibtex-dialect, bibtex-no-opt-remove-re)
11040 (bibtex-entry-alist, bibtex-field-alist): New variables.
11041 (bibtex-entry-field-alist): Obsolete alias for
11042 bibtex-BibTeX-entry-alist.
11043 (bibtex-entry-alist, bibtex-field-alist): New widgets.
11044 (bibtex-set-dialect): New command.
11045 (bibtex-entry-type, bibtex-entry-head)
450a0f09
SM
11046 (bibtex-entry-maybe-empty-head, bibtex-any-valid-entry-type):
11047 Bind via bibtex-set-dialect.
2de69e00
RW
11048 (bibtex-Article, bibtex-Book, bibtex-Booklet, bibtex-InBook)
11049 (bibtex-InCollection, bibtex-InProceedings, bibtex-Manual)
11050 (bibtex-MastersThesis, bibtex-Misc, bibtex-PhdThesis)
11051 (bibtex-Proceedings, bibtex-TechReport, bibtex-Unpublished):
11052 Define via bibtex-set-dialect.
450a0f09
SM
11053 (bibtex-name-in-field, bibtex-remove-OPT-or-ALT):
11054 Obey bibtex-no-opt-remove-re.
2de69e00
RW
11055 (bibtex-vec-push, bibtex-vec-incr): New functions.
11056 (bibtex-format-entry, bibtex-field-list)
11057 (bibtex-print-help-message, bibtex-validate)
11058 (bibtex-search-entries): Use new format of bibtex-entry-alist.
11059
2dcdbdd9
SM
110602011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
11061
11062 * progmodes/compile.el (compilation-goto-locus):
11063 * net/tramp-cmds.el (tramp-append-tramp-buffers):
11064 * bs.el (bs-cycle-next, bs-cycle-previous):
11065 * bookmark.el (bookmark-bmenu-list, bookmark-bmenu-2-window):
11066 * bindings.el (mode-line-other-buffer):
11067 * autoinsert.el (auto-insert):
11068 * arc-mode.el (archive-extract):
11069 * abbrev.el (edit-abbrevs): Fix some uses of switch-to-buffer.
11070
b27640fe
JB
110712011-07-05 Juanma Barranquero <lekktu@gmail.com>
11072
11073 * emacs-lock.el (emacs-lock-mode): Fix typo in variable name.
11074 Fix check of `emacs-lock-unlockable-modes'.
11075 Coerce true values of `emacs-lock--try-unlocking' to t.
11076
53bbe3ad
JB
110772011-07-05 Juanma Barranquero <lekktu@gmail.com>
11078
11079 * obsolete/old-emacs-lock.el: Rename from emacs-lock.el.
11080 * emacs-lock.el: New file.
11081
1d3cdbc7
JD
110822011-07-05 Julien Danjou <julien@danjou.info>
11083
11084 * textmodes/rst.el (rst-define-level-faces): Use `facep' rather
11085 than `boundp' to check if face is set.
11086
9173deec
JB
110872011-07-05 Juanma Barranquero <lekktu@gmail.com>
11088
11089 * register.el (registerv-make):
11090 * window.el (window-min-height): Fix typos in docstrings.
11091
869795d6
JD
110922011-07-05 Jan Djärv <jan.h.d@swipnet.se>
11093
9173deec 11094 * dynamic-setting.el (dynamic-setting-handle-config-changed-event):
869795d6
JD
11095 Update doc string.
11096
b768cdcd
JB
110972011-07-04 Juanma Barranquero <lekktu@gmail.com>
11098
11099 * server.el (server-execute): Catch quit and call
11100 `server-return-error' to pass the error back to emacsclient and
11101 close the connection (bug#8942).
11102
13aa217b
KM
111032011-07-04 Ken Manheimer <ken.manheimer@gmail.com>
11104
11105 * allout.el (allout-encrypt-unencrypted-on-saves): Do not provide
11106 insecure exception for current topic. Also note that auto-saves
11107 are handled differently.
11108
5d3385a0 11109 (allout-auto-save-temporarily-disabled, allout-just-did-undo):
13aa217b
KM
11110 State variables for tracking auto-save inhibition situation.
11111
11112 (allout-write-contents-hook-handler): Rename from
11113 'allout-write-file-hook-handler', and describe how it depends on
11114 write-contents-functions sensitivity to non-nil value to prevent
11115 file write.
11116
11117 (allout-auto-save-hook-handler): Remove. auto-save does not check
11118 this in individual buffers, only in the starting buffer, so this
11119 is not the right way for us to inhibit auto-save in a buffer
11120 according to its condition.
11121
11122 (allout-mode): Use new allout-write-contents-hook-handler, and
11123 only with write-contents-functions. Remove auto-save provisions -
11124 they're implemented elsewhere.
11125
11126 (allout-before-change-handler): If undo is in progress, note that
11127 for attention of allout-post-command-business.
11128
11129 (allout-post-command-business): If the command we're following was
11130 an undo, check for change in the status of encrypted items and
11131 adjust auto-save inhibitions accordingly.
11132
11133 (allout-toggle-subtree-encryption): Adjust auto-save inhibition
11134 according to whether there are or aren't any plain-text topics
11135 pending encryption.
11136
2dcdbdd9 11137 (allout-inhibit-auto-save-info-for-decryption):
1154d12e
JB
11138 Adjust buffer-saved-size and some allout state to inhibit auto-saves
11139 if there are plain-text topics pending encryption.
13aa217b
KM
11140
11141 (allout-maybe-resume-auto-save-info-after-encryption): Adjust
11142 buffer-saved-size and some allout state to not inhibit auto-saves
11143 if there are no longer any plain-text topics pending encryption.
11144
0757af94
SM
11145 (allout-next-topic-pending-encryption, allout-encrypt-decrypted):
11146 No longer provide for exemption of the current topic.
13aa217b 11147
ac89b32c
JL
111482011-07-04 Juri Linkov <juri@jurta.org>
11149
11150 Add 7z operations to delete and save changed members (bug#8968).
11151 * arc-mode.el (archive-7z-expunge, archive-7z-update):
11152 New defcustoms.
11153 (archive-7z-write-file-member): New function.
11154 (archive-7z-summarize): Fix the number of dashes in the
11155 listing output.
11156
8fa39615
SM
111572011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
11158
11159 * pcmpl-linux.el (pcomplete-pare-list): Re-add, from pcomplete.el
11160 (bug#8958).
11161
2f11b3f1
CY
111622011-07-04 Chong Yidong <cyd@stupidchicken.com>
11163
d66fef2b
CY
11164 * bindings.el: Ignore next-buffer and previous-buffer in
11165 minibuffer-local-map.
11166
2f11b3f1
CY
11167 * font-lock.el (font-lock-builtin-face): Change light background
11168 color to dark slate blue (Bug#6693).
11169
f932a347
WD
111702011-07-04 Wang Diancheng <dcwang@kingbase.com.cn> (tiny change)
11171
11172 * progmodes/gdb-mi.el (gdb): Use completion-at-point.
11173
c8af70e1
SM
111742011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
11175
11176 * files.el (find-file): Use pop-to-buffer-same-window (bug#8911).
11177 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
11178 Add switch-to-buffer.
11179
f158badc
LMI
111802011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
11181
11182 * isearch.el (isearch-search-fun-function): Clarify further the
11183 meaning of the function returned.
11184
6d95bd46
MA
111852011-07-04 Michael Albinus <michael.albinus@gmx.de>
11186
11187 * net/tramp-cmds.el (tramp-cleanup-this-connection): New command.
11188
11189 * net/tramp-sh.el (tramp-color-escape-sequence-regexp): New defconst.
11190 (tramp-sh-handle-insert-directory, tramp-convert-file-attributes):
11191 Use it.
11192 (tramp-remote-path): Add "/bin" and "/usr/bin". On busyboxes,
11193 `tramp-default-remote-path' does not exist.
11194 (tramp-send-command-and-read): New optional argument NOERROR.
11195 (tramp-open-connection-setup-interactive-shell)
11196 (tramp-get-remote-path, tramp-get-remote-stat): Use it.
11197 (tramp-get-remote-readlink): Do not mask with `ignore-errors'.
11198 (tramp-process-sentinel): Flush also process' connection property.
11199 (tramp-sh-handle-start-file-process): Do not set process
11200 sentinel. It is done now ...
11201 (tramp-maybe-open-connection): ... here. (Bug#8929)
11202
909e6b67
MK
112032011-07-04 MON KEY <monkey@sandpframing.com>
11204
11205 * play/animate.el (animate-string): Doc fixes and allow changing
11206 the buffer name (bug#5417).
11207
112082011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
11209
c8af70e1 11210 * play/animate.el (animation-buffer-name): Rename from *animate*.
909e6b67 11211
f34755dc
PE
112122011-07-04 Paul Eggert <eggert@cs.ucla.edu>
11213
396cec72
PE
11214 * emacs-lisp/timer.el: Use time-date fns rather than rolling our own.
11215 This is simpler and helps future-proof the code.
11216 (timer-until): Use time-subtract and float-time.
08235028 11217 (timer--time-less-p): Use time-less-p.
f34755dc 11218
56e6cc31
JB
112192011-07-04 Juanma Barranquero <lekktu@gmail.com>
11220
3abb79e5
JB
11221 * type-break.el (timep): Use the value of `float-time' to avoid a
11222 byte-compiler warning.
11223
56e6cc31
JB
11224 * server.el (server-eval-and-print): Return any result, even nil.
11225
7b9430b4
PE
112262011-07-03 Paul Eggert <eggert@cs.ucla.edu>
11227
11228 * type-break.el: Accept time formats that the builtins accept.
11229 (timep, type-break-time-difference): Accept any format that
11230 float-time accepts, rather than insisting on (HIGH LOW USECS) format.
11231 This is simpler and helps future-proof the code.
11232 (type-break-time-difference): Round rather than ignoring
11233 subseconds components.
11234
3034e9e7
LMI
112352011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
11236
11237 * info.el (Info-apropos-matches): Make non-interactive, since it
11238 doesn't seem to do anything useful as a command (bug#8829).
11239
1485f4c0
CY
112402011-07-03 Chong Yidong <cyd@stupidchicken.com>
11241
11242 * frame.el (frame-background-mode, frame-set-background-mode):
c8af70e1 11243 Move from faces.el.
1485f4c0
CY
11244 (frame-default-terminal-background): New function.
11245
11246 * custom.el (custom-push-theme): Don't record faces in `changed'
11247 theme; this doesn't work correctly for per-frame face settings.
11248 (disable-theme): Use face-set-after-frame-default to reset faces.
11249 (custom--frame-color-default): New function.
11250
9fa3dd45
LMI
112512011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
11252
c8af70e1 11253 * dired.el (dired-flagging-regexp): Remove unused variable
9fa3dd45
LMI
11254 (bug#8769).
11255
6cbbc20c
KR
112562011-03-29 Kevin Ryde <user42@zip.com.au>
11257
11258 * progmodes/compile.el (compilation-error-regexp-alist-alist):
11259 `perl-Test2' extend to match possible "fail #N" rep count
11260 (bug#8377).
11261
c7f98048
LMI
112622011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
11263
65676592
LMI
11264 * mail/feedmail.el (feedmail-buffer-to-smtpmail):
11265 `smtpmail-via-smtp' now returns the error instead of nil.
11266
c7f98048
LMI
11267 * isearch.el (isearch-search-fun-function): Clarify the doc string
11268 (bug#8101).
11269
56e6cc31 112702011-07-03 Richard Kim <emacs18@gmail.com> (tiny change)
9a51c6c7
RK
11271
11272 * textmodes/texnfo-upd.el (texinfo-insert-menu): Don't insert
11273 unnecessary spaces (bug#8987).
11274
2b216704
LMI
112752011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
11276
11277 * net/network-stream.el (open-network-stream): Use the
11278 :end-of-capability command thoughout.
11279
112802011-07-03 Wolfgang Jenkner <wjenkner@inode.at> (tiny change)
11281
11282 * net/network-stream.el (open-network-stream): Add the
11283 :end-of-capability command parameter, used by pop3.el.
11284
36adf6ce
LMI
112852011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
11286
1ca0da0e
LMI
11287 * dired.el (dired-map-over-marks): Refill the doc string (bug#6814).
11288
fc00f69c
LMI
11289 * fringe.el (fringe-query-style): Remove redundant text " (type ?
11290 for list)" (bug#6475).
11291
28fd8759 11292 * files.el (file-expand-wildcards): Ignore non-readable
8350f087 11293 sub-directories while trying to find matches instead of signaling
28fd8759
LMI
11294 an error (bug#6297).
11295
0dd8b6da
LMI
11296 * man.el (Man-reference-regexp): Allow matching possible
11297 word-wrapped references (bug#6289).
11298
ce1438d6
LMI
11299 * vc/vc.el (vc-modify-change-comment): Change *VC-log* to *vc-log*
11300 for consistency with the other vc buffers (bug#6197).
11301 (vc-checkin): Ditto.
11302
11303 * vc/vc-arch.el: Fix comments to match the *VC-log* name change.
11304
36adf6ce
LMI
11305 * longlines.el (longlines-mode): Document what ARG does (bug#6150).
11306
e83cc1f7
LMI
113072011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
11308
8a20ca4c
LMI
11309 * custom.el (defcustom): Clarify that :set is only used in the
11310 Customize user interface (bug#6089).
11311
83319045
LMI
11312 * progmodes/flymake.el (flymake-mode): If the buffer isn't
11313 associated with a file, refuse to run instead of erroring out
11314 (bug#6084).
11315
a8392169
LMI
11316 * textmodes/fill.el (fill-region): Remove the "Ordinarily" from
11317 the doc string, since it appears that using `fill-column' always
11318 controls the width (bug#7845).
11319
e83cc1f7
LMI
11320 * simple.el (shell-command-on-region): Say where the error output
11321 went if `shell-command-default-error-buffer' is set (bug#6857).
11322
e47ca23b
KM
113232011-07-02 Ken Manheimer <ken.manheimer@gmail.com>
11324
11325 * allout.el (allout-yank-processing): Adjust cursor position for
11326 backwards-deleted space.
11327
11328 (allout-rebullet-heading): Register changes with
11329 allout-exposure-changed-hook, so the modified topic is properly
11330 decorated.
11331
5cf56143
LMI
113322011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
11333
08549772
LMI
11334 * minibuffer.el (completion-in-region): Document PREDICATE
11335 (bug#7136).
11336
48e96771
LMI
11337 * info-look.el (info-lookup-add-help): Clarify that ARGS is a list
11338 of keyword/argument pairs (bug#6904).
11339
c8af70e1
SM
11340 * replace.el (multi-occur):
11341 Mention `multi-occur-in-matching-buffers' in the doc string (bug#7566).
5cf56143 11342
e17d05e2
LMI
113432011-07-02 Drew Adams <drew.adams@oracle.com>
11344
11345 * dired.el (dired-mark-if): Make the message about whether it's
11346 marking or unmarking clearer (bug#8523).
11347
063b0e45
LMI
113482011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
11349
11350 * disp-table.el (display-table-print-array): New function.
11351 (describe-display-table): Use it to print the vectors more pretty
11352 (Bug#8859).
11353
28545e04
MR
113542011-07-02 Martin Rudalics <rudalics@gmx.at>
11355
11356 * window.el (window-state-get-1): Don't assign clone numbers.
11357 Add clone-of item to list of window parameters.
11358 (window-state-put-2): Don't process clone numbers.
11359 (display-buffer-alist): Fix doc-string.
11360
3349e122
SM
113612011-07-02 Stefan Monnier <monnier@iro.umontreal.ca>
11362
11363 * subr.el (remq): Don't allocate if it's not needed.
11364 (keymap--menu-item-binding, keymap--menu-item-with-binding)
11365 (keymap--merge-bindings): New functions.
11366 (keymap-canonicalize): Use them to refine the canonicalization.
11367 * minibuffer.el (minibuffer-local-completion-map)
11368 (minibuffer-local-must-match-map): Move initialization from C.
11369 (minibuffer-local-filename-completion-map): Move initialization from C;
11370 don't inherit from anything here.
11371 (minibuffer-local-filename-must-match-map): Make obsolete.
11372 (completing-read-default): Use make-composed-keymap to combine
11373 minibuffer-local-filename-completion-map with either
11374 minibuffer-local-must-match-map or
11375 minibuffer-local-filename-completion-map.
11376
d224ac83
GM
113772011-07-01 Glenn Morris <rgm@gnu.org>
11378
3de63bf8
GM
11379 * type-break.el (type-break-time-sum): Use dolist.
11380
d224ac83
GM
11381 * textmodes/flyspell.el (flyspell-word-search-backward):
11382 Replace CL function.
11383
1a1e3f32
SM
113842011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
11385
fe3f64d5
SM
11386 * mouse.el (mouse--strip-first-event): New function.
11387 (function-key-map): Use it to map fringe clicks to normal clicks
11388 by default.
11389
eb604e34
SM
11390 * vc/vc-bzr.el (vc-bzr-revision-keywords): Update.
11391 (vc-bzr-revision-completion-table): Add support for annotate and date.
11392
1a1e3f32
SM
11393 * emacs-lisp/derived.el (define-derived-mode): Make abbrev-table
11394 inherit from parent.
11395
5bd35902
LMI
113962011-07-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
11397
ace6c69c 11398 * dired-aux.el (dired-diff): Doc fixup (bug#8816).
26bde865 11399 (dired-show-file-type): Doc fixup (bug#8818).
ace6c69c 11400
191e2bed
LMI
11401 * dired.el (dired-mode): Fix up the doc string as suggested by
11402 Drew Adams (bug#8817).
11403
5bd35902
LMI
11404 * progmodes/flymake.el (flymake-find-file-hook): Add an `autoload'
11405 cookie, since the manual says that it should be possible to add
11406 this function to `find-file-hook' (bug#8709).
11407
eee8207a
TZ
114082011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
11409
11410 * progmodes/cfengine.el: Moved all cfengine3.el functionality
11411 here. Noted Ted Zlatanov as the maintainer.
11412 (cfengine-common-settings, cfengine-common-syntax): New functions
11413 to set up common things between `cfengine-mode' and
11414 `cfengine3-mode'.
11415 (cfengine3-mode): New mode.
11416 (cfengine3-defuns cfengine3-defuns-regex
11417 (cfengine3-class-selector-regex cfengine3-category-regex)
11418 (cfengine3-vartypes cfengine3-font-lock-keywords)
11419 (cfengine3-beginning-of-defun, cfengine3-end-of-defun)
eb604e34 11420 (cfengine3-indent-line): Add from cfengine3.el.
eee8207a 11421
36b148cf
MA
114222011-07-01 Michael Albinus <michael.albinus@gmx.de>
11423
11424 * net/tramp.el (tramp-encoding-command-interactive): New defcustom.
11425
11426 * net/tramp-sh.el (tramp-maybe-open-connection): Use it.
11427
0bf4ba9a
MR
114282011-07-01 Martin Rudalics <rudalics@gmx.at>
11429
11430 * window.el (same-window-buffer-names, same-window-regexps)
11431 (same-window-p, special-display-frame-alist)
11432 (special-display-popup-frame, special-display-function)
11433 (special-display-buffer-names, special-display-regexps)
11434 (special-display-p, pop-up-frame-alist, pop-up-frame-function)
11435 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
11436 (split-window-preferred-function, split-height-threshold)
11437 (split-width-threshold, even-window-heights)
11438 (display-buffer-mark-dedicated, window-splittable-p)
11439 (split-window-sensibly, window-safely-shrinkable-p):
11440 Un-obsolete.
11441 (display-buffer): Don't spread args with function specifier
11442 because special-display-popup-frame won't like it.
11443
35837f51
PE
114442011-07-01 Paul Eggert <eggert@cs.ucla.edu>
11445
d0672f86
PE
11446 Time-stamp simplifications and fixes.
11447 These improve accuracy slightly, and future-proof the code
11448 against some potential changes to current-time format.
11449
b9444d97
PE
11450 * woman.el (woman-decode-buffer, WoMan-log-end): Log fractional secs
11451 by using time-since and float-time.
11452
0ef923dc
PE
11453 * vc/ediff-util.el (ediff-calc-command-time): Use time-since
11454 and float-time. Say "NNN.NNN seconds" rather than "NNN seconds
11455 + NNN microseconds".
11456
2f81380d
PE
11457 * type-break.el (type-break-time-sum): Rewrite using time-add.
11458
845b5c3e
PE
11459 * play/hanoi.el (hanoi-current-time-float): Remove.
11460 All uses replaced by float-time.
11461
ee6f1be0
PE
11462 * nxml/rng-maint.el (rng-time-function): Rewrite using time-subtract.
11463 This yields a more-accurate answer.
11464 (rng-time-to-float): Remove; no longer needed.
11465
fe955043
PE
11466 * emacs-lisp/timer.el (timer-relative-time): Use time-add.
11467
5777162a
PE
11468 * calendar/timeclock.el (timeclock-seconds-to-time):
11469 Defalias to seconds-to-time, since they're the same thing.
11470
3103f8b6 11471 * emacs-lisp/elp.el (elp-elapsed-time):
e2bac5f6 11472 * emacs-lisp/benchmark.el (benchmark-elapse):
35837f51
PE
11473 * allout-widgets.el (allout-elapsed-time-seconds): Use float-time.
11474
0e61a35f
SM
114752011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
11476
11477 * window.el (bury-buffer): Don't iconify the only frame.
11478 (switch-to-buffer): Revert to Emacs<23 behavior, i.e. do not fallback
11479 to pop-to-buffer. Use pop-to-buffer-same-frame if you don't like that.
11480
ddd63a1e
CY
114812011-07-01 Chong Yidong <cyd@stupidchicken.com>
11482
0e61a35f
SM
11483 * eshell/em-smart.el (eshell-smart-display-navigate-list):
11484 Add mouse-yank-primary.
ddd63a1e 11485
055f4923
TZ
114862011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
11487
11488 * progmodes/cfengine3.el: New file to support CFEngine 3.x.
11489
6a2fb145
SM
114902011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
11491
11492 * emacs-lisp/find-func.el (find-library--load-name): New fun.
11493 (find-library-name): Use it to find relative load names when provided
11494 absolute file name (bug#8803).
11495
fd4983f2
LMI
114962011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
11497
887d14ad
LMI
11498 * textmodes/flyspell.el (flyspell-word): Consider words that
11499 differ only in case as potential doublons (bug#5687).
11500
c53dc7fc
LMI
11501 * net/soap-client.el (soap-invoke, soap-wsdl-resolve-references):
11502 Remove two rather uninteresting debugging-like messages to make
11503 debbugs.el more silent.
11504
fd4983f2
LMI
11505 * comint.el (comint-password-prompt-regexp): Accept "Response" as
11506 a password-like phrase.
11507
7a71b18d 115082011-06-30 Masatake YAMATO <yamato@redhat.com>
b14c0c55
AM
11509
11510 * progmodes/cc-guess.el: New file.
11511
6a2fb145 11512 * progmodes/cc-langs.el (c-mode-menu): Add "Style..." submenu.
b14c0c55
AM
11513
11514 * progmodes/cc-styles.el (cc-choose-style-for-mode): New function
11515 derived from `c-basic-common-init'.
11516
11517 * progmodes/cc-mode.el (top-level): Require cc-guess.
11518 (c-basic-common-init): Use `cc-choose-style-for-mode'.
11519
1fa280a3
LM
115202011-06-30 Lawrence Mitchell <wence@gmx.li>
11521
11522 * progmodes/js.el (js-mode): Don't stomp on global settings (bug#8933).
11523
e6597158
AM
115242011-06-30 Alan Mackenzie <acm@muc.de>
11525
1fa280a3
LM
11526 * progmodes/cc-engine.el (c-guess-continued-construct):
11527 Correct the handling of template-args-cont, particularly for when font
e6597158
AM
11528 lock is disabled. Name this case as "CASE G".
11529
68ba37fb
KM
115302011-06-30 Ken Manheimer <ken.manheimer@gmail.com>
11531
11532 * allout.el (allout-yank-processing): Fix injection of extra space
11533 between bullet and non-whitespace character in first topic when
11534 pasting, ensuring that the actual spacing in the pasted topic
11535 following the bullet char is preserved. This extra space was
11536 causing pasted encrypted topics to get a decrypted status even
11537 when the content was actually still encrypted. Now the decryption
11538 status from before the paste is preserved.
11539
11540 (allout-flag-region): Set all allout overlays so they evaporate
11541 when reduced to zero length (evanescent), to prevent overlay
11542 leakage.
11543
887a0b34
GM
115442011-06-30 Glenn Morris <rgm@gnu.org>
11545
94b9acce
GM
11546 * w32-fns.el (w32-charset-info-alist): Declare.
11547
1d9b46d4
GM
11548 * find-dired.el (find-grep-options): Simplify.
11549
cc232200
GM
11550 * term/ns-win.el (ns-set-resource): Declare.
11551
28e77c46
GM
11552 * ses.el (row, col): Declare dynamic variables honestly.
11553
887a0b34
GM
11554 * textmodes/reftex-parse.el (index-tags): Declare.
11555
658d8eb8
CY
115562011-06-30 Chong Yidong <cyd@stupidchicken.com>
11557
11558 * cus-edit.el (customize-push-and-save): New function.
11559
11560 * files.el (hack-local-variables-confirm): Use it.
11561
1fa280a3
LM
11562 * custom.el (load-theme): New arg NO-CONFIRM.
11563 Use customize-push-and-save (Bug#8720).
658d8eb8
CY
11564 (custom-enabled-themes): Doc fix.
11565
11566 * cus-theme.el (customize-create-theme)
11567 (custom-theme-merge-theme): Callers to load-theme changed.
11568
bb617717
LMI
115692011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
11570
d61bdd5d
LMI
11571 * thingatpt.el (thing-at-point-short-url-regexp): Require that
11572 short URLs have at least one dot in them (bug #7614).
11573
bb617717
LMI
11574 * progmodes/grep.el (rgrep): Bind `process-connection-type' to
11575 nil, because using a pty is apparently too slow (bug #895).
11576
2f31f37a
LMI
115772011-06-29 Lars Magne Ingebrigtsen <larsi@gnus.org>
11578
11579 * mail/sendmail.el (sendmail-query-once): New function.
11580 (sendmail-query-once-function): New variable.
11581
3076b24e
GM
115822011-06-29 Glenn Morris <rgm@gnu.org>
11583
faf2a174
GM
11584 * files.el (auto-mode-alist): Add .f03, .f08 for f90-mode.
11585
3076b24e
GM
11586 * ses.el (top-level): Require cl when compiling.
11587 (ses-set-localvars): Fix error statement.
11588 Call it at compile time to silence a storm of warnings.
11589
5386012d
MR
115902011-06-29 Martin Rudalics <rudalics@gmx.at>
11591
11592 * window.el (normalize-live-buffer): Rename to
11593 window-normalize-buffer.
11594 (normalize-live-frame): Rename to window-normalize-frame.
11595 (normalize-any-window): Rename to window-normalize-any-window.
11596 (normalize-live-window): Rename to window-normalize-live-window.
11597 (make-window-atom): Rename to window-make-atom.
11598 (window-resize-reset): Rename to window--resize-reset.
11599 (window-resize-reset-1): Rename to window--resize-reset-1.
11600 (resize-mini-window): Rename to window--resize-mini-window.
11601 (resize-subwindows-skip-p): Rename to
11602 window--resize-subwindows-skip-p.
11603 (resize-subwindows-normal): Rename to
11604 window--resize-subwindows-normal.
11605 (resize-subwindows): Rename to window--resize-subwindows.
11606 (resize-other-windows): Rename to window--resize-siblings.
11607 (resize-this-window): Rename to window--resize-this-window.
11608 (resize-root-window): Rename to window--resize-root-window.
11609 (resize-root-window-vertically): Rename to
11610 window--resize-root-window-vertically.
11611 (normalize-buffer-to-display): Rename to
11612 window-normalize-buffer-to-display.
11613 (normalize-buffer-to-switch-to): Rename to
11614 window-normalize-buffer-to-switch-to.
11615 Correspondingly update all callers of the functions listed
11616 above.
11617 (display-buffer-alist, display-buffer-normalize-arguments)
11618 (display-buffer-normalize-options, display-buffer)
11619 (display-buffer-alist-set): Use "function" instead of
11620 "fun-with-args".
11621
1176868d
CY
116222011-06-28 Chong Yidong <cyd@stupidchicken.com>
11623
11624 * mail/emacsbug.el (report-emacs-bug): Handle non-gnu bug
11625 addresses more clearly. Add hyperlinks for bug-gnu-emacs and
11626 debbugs.gnu.org. Mention acknowledgment email.
11627
20a7a65f
LMI
116282011-06-28 Lars Magne Ingebrigtsen <larsi@gnus.org>
11629
11630 * mail/smtpmail.el (smtpmail-send-it): Leave off changing the
11631 buffer multibyteness, since it shouldn't matter.
11632
5f45cca5
MR
116332011-06-28 Martin Rudalics <rudalics@gmx.at>
11634
11635 * window.el (display-buffer-in-side-window): Handle dedicated
11636 windows as in display-buffer-reuse-window.
11637 (display-buffer-normalize-alist): Use value of override
11638 specifier.
11639 (display-buffer-normalize-specifiers): Use value of
11640 other-window-means-other-frame specifier.
11641 (display-buffer-alist): Rewrite some texts in widgets.
11642 (display-buffer): Spread arguments when calling function
11643 specified by fun-with-args.
11644
ad85fe1f
DD
116452011-06-28 Deniz Dogan <deniz@dogan.se>
11646
1fa280a3
LM
11647 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-syntax-table):
11648 Unnest `let'.
da68c4c8 11649
ad85fe1f
DD
11650 * textmodes/css-mode.el (css-font-lock-keywords): Fix grouped
11651 selectors (Bug#5732).
ec49bd31 11652 (css-proprietary-nmstart-re): Use `regexp-opt'.
ad85fe1f 11653
a08cc025
JA
116542011-06-27 Jari Aalto <jari.aalto@cante.net>
11655
11656 * eshell/em-ls.el: Display `ls -l' dates in ISO format (Bug#8440).
11657 (eshell-ls-date-format): New defcustom.
11658 (eshell-ls-file): Use it.
11659
e2b551c5
SM
116602011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
11661
11662 * help-fns.el (describe-variable): Fix message for terminal-local vars.
11663
8982b231
KY
116642011-06-27 Katsumi Yamaoka <yamaoka@jpl.org>
11665
11666 * net/ange-ftp.el: Allow loading .gz files (Bug#6923).
11667 (ange-ftp-make-tmp-name): New arg.
11668 (ange-ftp-file-local-copy): Use it.
11669
36c9fa27
J
116702011-06-27 Jambunathan K <kjambunathan@gmail.com>
11671
11672 * tar-mode.el (tar-untar-buffer): Set coding-system-for-write to
11673 no-conversion (Bug#8870).
11674
d68443dc
MR
116752011-06-27 Martin Rudalics <rudalics@gmx.at>
11676
11677 * window.el (window-right, window-left, window-child)
11678 (window-child-count, window-last-child)
11679 (window-iso-combination-p, walk-window-tree-1)
11680 (window-atom-check-1, window-tree-1, delete-window)
11681 (window-state-get-1, display-buffer-even-window-sizes): Adapt to
11682 new naming conventions - window-vchild, window-hchild,
11683 window-next and window-prev are now called window-top-child,
11684 window-left-child, window-next-sibling and window-prev-sibling
11685 respectively.
d615d6d2
MR
11686 (resize-window-reset): Rename to window-resize-reset.
11687 (resize-window-reset-1): Rename to window-resize-reset-1.
11688 (resize-window): Rename to window-resize.
11689 (window-min-height, window-min-width)
11690 (resize-mini-window, resize-this-window, resize-root-window)
11691 (resize-root-window-vertically, adjust-window-trailing-edge)
11692 (enlarge-window, shrink-window, maximize-window)
11693 (minimize-window, delete-window, quit-restore-window)
11694 (split-window, balance-windows, balance-windows-area-adjust)
11695 (balance-windows-area, window-state-put-2)
11696 (display-buffer-even-window-sizes, display-buffer-set-height)
11697 (display-buffer-set-width, set-window-text-height)
11698 (fit-window-to-buffer): Rename all "resize-window" prefixed
11699 calls to use the "window-resize" prefix convention.
11700 (display-buffer-alist): Fix symbol for label specifier.
11701 (display-buffer-reuse-window): Set reuse-dedicated to cdr of
11702 corresponding specifier.
11703 Reported by Juanma Barranquero <lekktu@gmail.com>.
d68443dc 11704
b6458526
VB
117052011-06-27 Vincent Belaïche <vincentb1@users.sourceforge.net>
11706
11707 * ses.el (ses-destroy-cell-variable-range): Fix heading comment
11708 convention.
11709 (ses-call-printer): Does not pass an empty string to formatter when the
11710 cell is empty to keep from barking printer Calc math-format-value.
11711
d31fd9ac
RS
117122011-06-27 Richard Stallman <rms@gnu.org>
11713
43d5bf84
RS
11714 * battery.el (battery-mode-line-limit): New variable.
11715 (battery-update): Handle it.
11716
d31fd9ac
RS
11717 * mail/rmailmm.el (rmail-mime-process-multipart):
11718 Handle truncated messages.
11719
819a6054
GM
117202011-06-27 Glenn Morris <rgm@gnu.org>
11721
11722 * progmodes/flymake.el (flymake-err-line-patterns):
11723 Allow for column numbers in the ant/javac pattern. (Bug#8866)
11724
cedc73f2
VB
117252011-06-27 Vincent Belaïche <vincentb1@users.sourceforge.net>
11726
819a6054 11727 * ses.el (ses-relocate-range): Keep rest of arguments for ses-range.
cedc73f2
VB
11728 (ses--clean-!, ses--clean-_): New functions.
11729 (ses-range): Add configurability of readout order, and conversion
11730 to Calc vector.
11731
5e5d49b6
VB
11732 * ses.el (ses-repair-cell-reference-all): New function.
11733 (ses-cell-symbol): Set macro as safe, so that it can be used in
11734 formulas.
11735
56e6cc31 11736 * ses.el: Update cycle detection algorithm.
90ca8b49 11737 (ses-localvars): Add ses--Dijkstra-attempt-nb and
819a6054 11738 ses--Dijkstra-weight-bound, and initial values thereof when applicable.
90ca8b49
VB
11739 (ses-set-localvars): New function.
11740 (ses-make-cell): Add property-list as a cell element.
11741 (ses-cell-property-get-fun, ses-cell-property-get)
11742 (ses-cell-property-delq-fun, ses-cell-property-set-fun)
819a6054
GM
11743 (ses-cell-property-pop-fun, ses-cell-property-get-handle-fun):
11744 New functions.
90ca8b49
VB
11745 (ses-cell-property-set, ses-cell-property-pop)
11746 (ses-cell-property-get-handle): New macro.
11747 (ses-cell-property-handle-car, ses-cell-property-handle-setcar):
11748 New aliases, used for code readability.
11749 (ses-calculate-cell, ses-update-cells): Use Dijkstra algorithm for
11750 cycle detection.
11751 (ses-self-reference-early-detection): New defcustom.
fac916bf 11752 (ses-formula-references): Robustify against self-referring cells.
90ca8b49
VB
11753 (ses-mode): Use ses-set-localvars.
11754 (ses-command-hook): Add call to ses-initialize-Dijkstra-attempt
11755 before lauching the update processing.
11756 (ses-initialize-Dijkstra-attempt): New function.
11757 (ses-recalculate-cell): Update for cycle detection based on
11758 Dijkstra algorithm.
11759
2bb63e81
VB
11760 * ses.el: Fix commenting and indenting convention.
11761
c9d29fb8
SM
117622011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
11763
11764 * bs.el (bs-cycle-next): Complete last change.
11765
d8e4b68b
JB
117662011-06-27 Drew Adams <drew.adams@oracle.com>
11767
11768 * faces.el (list-faces-display): Add help-mode-map to output (bug#8939).
11769
40098786
LMI
117702011-06-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
11771
c9d29fb8
SM
11772 * net/network-stream.el (network-stream-open-starttls):
11773 Don't re-get capabilities unless we've reestablished connection.
f6ab314e
LMI
11774 (network-stream-open-starttls): Fix stupid typo with gnutls-clii.
11775
40098786
LMI
11776 * mail/smtpmail.el (smtpmail-via-smtp): Bind coding-system-for-*
11777 to binary to possibly avoid line encoding issues on Windows (among
11778 other things).
11779
468d09d4
LMI
117802011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
11781
11782 * net/network-stream.el (open-network-stream): Return an :error
11783 saying what the problem was, if possible.
11784
11785 * mail/smtpmail.el (smtpmail-via-smtp): Report the error from the
11786 server.
11787
11788 * net/network-stream.el (network-stream-open-starttls): If we
11789 wanted to use STARTTLS, and the server offered it, but we weren't
11790 able to because we had no STARTTLS support, then close the connection.
11791 (open-network-stream): Return an :error element, if present.
11792
16f07dd7
CY
117932011-06-26 Chong Yidong <cyd@stupidchicken.com>
11794
88821ca0
CY
11795 * hl-line.el (hl-line-sticky-flag): Doc fix.
11796 (global-hl-line-sticky-flag): New option (Bug#8323).
11797 (global-hl-line-highlight): Obey it.
11798
16f07dd7
CY
11799 * vc/vc.el (vc-revert-show-diff): Default to t.
11800
6b5ccddf
KM
118012011-06-26 Ken Manheimer <ken.manheimer@gmail.com>
11802
c9d29fb8
SM
11803 * allout-widgets.el (allout-widgets-post-command-business):
11804 Stop decorating intermediate isearch matches. They're not being
6b5ccddf
KM
11805 undecorated when an isearch is continued past, and isearch
11806 automatically collapses them. This leads to "widget leaks", where
11807 decorated items accumulate in collapsed areas. Lines with lots of
c9d29fb8
SM
11808 hidden widgets can slow down cursor travel, substantially.
11809 Too much complicated machinery would be needed to ensure undecoration,
6b5ccddf
KM
11810 so we're doing without this nicety.
11811
11812 (allout-widgets-tally-string): Don't try to do a hash-table-count
11813 of allout-widgets-tally when it's nil. This eliminates spurious "Error
11814 during redisplay: (wrong-type-argument hash-table-p nil)" warnings in
11815 *Messages* when allout-widgets-maintain-tally is t.
11816
355f2e07
MR
118172011-06-26 Martin Rudalics <rudalics@gmx.at>
11818
11819 * window.el (display-buffer-normalize-argument): Rename to
11820 display-buffer-normalize-arguments. Handle special meaning of
6b5ccddf
KM
11821 LABEL argument. Respect special-display-function when popping up
11822 a new frame. Fix code searching for a window showing the buffer
11823 on another frame.
c9d29fb8
SM
11824 (display-buffer-normalize-specifiers):
11825 Call display-buffer-normalize-arguments.
355f2e07
MR
11826 (display-buffer-in-window): Don't undedicate the window if its
11827 buffer remains the same.
11828 Reported by Drew Adams <drew.adams@oracle.com>.
11829 (display-buffer-alist): Add choice for same-window macro
11830 specfier.
11831 (display-buffer): Mention special meaning of LABEL argument in
11832 doc-string. Fix quoting. Don't pop up a new frame even as
11833 fallback.
11834
7ca8fc42
JB
118352011-06-26 Juanma Barranquero <lekktu@gmail.com>
11836
11837 * bs.el (bs-cycle-next): Pass current buffer to `bury-buffer' to
11838 avoid deleting the current window in some cases (bug#8911).
11839
bc312254
AS
118402011-06-26 Andreas Schwab <schwab@linux-m68k.org>
11841
11842 * emacs-lisp/smie.el (smie-bnf->prec2): Fix last change.
11843 (Bug#8934)
11844
2db18f3f
LMI
118452011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
11846
c9d29fb8
SM
11847 * net/network-stream.el (network-stream-open-starttls):
11848 Use built-in TLS support if `gnutls-available-p' is true.
2db18f3f
LMI
11849 (network-stream-open-tls): Ditto.
11850
6302e0d3
LL
118512011-06-26 Leo Liu <sdl.web@gmail.com>
11852
11853 * register.el (registerv): New struct.
11854 (registerv-make): New function.
c9d29fb8
SM
11855 (jump-to-register, describe-register-1, insert-register):
11856 Support the jump-func, print-func and insert-func slot of a registerv
6302e0d3
LL
11857 struct. (Bug#8415)
11858
5fdd4046
CY
118592011-06-26 Chong Yidong <cyd@stupidchicken.com>
11860
2afef60a
CY
11861 * vc/vc.el (vc-revert-show-diff): New defcustom.
11862 (vc-diff-internal): New arg specifying diff buffer.
11863 (vc-revert): Obey vc-revert-show-diff. If we show a diff, don't
11864 reuse an existing *vc-diff* buffer (Bug#8927).
11865
5fdd4046
CY
11866 * progmodes/cperl-mode.el (cperl-mode): Derive from prog-mode.
11867
e93db24a
GM
118682011-06-26 Glenn Morris <rgm@gnu.org>
11869
11870 * progmodes/f90.el (f90-critical-indent): New option.
11871 (f90-font-lock-keywords-2, f90-blocks-re, f90-end-block-re)
11872 (f90-start-block-re, f90-mode-abbrev-table): Add block, critical.
11873 (f90-mode): Doc fix.
11874 (f90-looking-at-critical, f90-looking-at-end-critical): New funcs.
11875 (f90-no-block-limit, f90-calculate-indent, f90-end-of-block)
11876 (f90-beginning-of-block, f90-next-block, f90-indent-region)
11877 (f90-match-end): Handle block, critical.
11878
eefff499
GM
118792011-06-25 Glenn Morris <rgm@gnu.org>
11880
f6ba4cc9
GM
11881 * calendar/diary-lib.el (diary-included-files): Doc fix.
11882 (diary-include-files): New function, extracted from
11883 diary-include-other-diary-files and diary-mark-included-diary-files.
11884 (diary-include-other-diary-files, diary-mark-included-diary-files):
11885 Just call diary-include-files.
11886 (diary-mark-entries): Reset diary-included-files on first call.
11887
16712304
GM
11888 * calendar/diary-lib.el (diary-mark-entries)
11889 (diary-mark-included-diary-files):
11890 Visit included diary-files in temp buffers.
11891
5d8e0d43
GM
11892 * progmodes/f90.el (f90-keywords-re, f90-font-lock-keywords-1)
11893 (f90-blocks-re, f90-program-block-re, f90-end-block-re)
11894 (f90-start-block-re, f90-imenu-generic-expression)
11895 (f90-looking-at-program-block-start, f90-no-block-limit):
11896 Add support for submodules.
11897
ccf7a5d5
GM
11898 * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
11899 (f90-procedures-re, f90-constants-re): Add some F2008 stuff.
eefff499 11900
11fdef7d 119012011-06-25 Eli Zaretskii <eliz@gnu.org>
638e9005
EZ
11902
11903 * net/ange-ftp.el (ange-ftp-insert-file-contents): Let-bind
11904 buffer-file-type before setting its value, to avoid disastrous
eefff499 11905 global effects on decoding files for DOS/Windows systems. (Bug#8780)
638e9005 11906
74f53697
JB
119072011-06-25 Juanma Barranquero <lekktu@gmail.com>
11908
11909 * allout.el (allout-unload-function): Pass -1 to `allout-mode'.
11910
11911 * ses.el (ses-unload-function):
11912 * emacs-lisp/re-builder.el (re-builder-unload-function): Simplify.
11913
11914 * proced.el (proced-unload-function):
11915 * progmodes/cperl-mode.el (cperl-mode-unload-function): Remove.
11916
18a4ce5e
AR
119172011-06-25 Andreas Rottmann <a.rottmann@gmx.at>
11918
11919 * server.el (server-create-window-system-frame): Add parameters arg.
11920 (server-process-filter): Doc fix. Handle frame-parameters.
11921
519d22cc
JB
119222011-06-25 Juanma Barranquero <lekktu@gmail.com>
11923
11924 Fix bug#8730, bug#8781.
11925
11926 * loadhist.el (unload--set-major-mode): New function.
11927 (unload-feature): Use it.
11928
11929 * progmodes/python.el (python-after-info-look): Add autoload cookie.
11930 (python-unload-function): New function.
11931
c206f5b0
SM
119322011-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
11933
11934 * mail/rmail.el (rmail-show-message-1): Use restore-buffer-modified-p.
11935
f9ad64f3
GS
119362011-06-25 Giuseppe Scrivano <gscrivano@gnu.org>
11937
11938 * net/browse-url.el (browse-url-firefox-program): Add icecat to
11939 the candidates list.
11940
7d0da90e
JB
119412011-06-24 Juanma Barranquero <lekktu@gmail.com>
11942
11943 * progmodes/verilog-mode.el (verilog-mode): Fix test for bound variable.
11944
14b4e83d
RS
119452011-06-23 Richard Stallman <rms@gnu.org>
11946
11947 * mail/rmail.el: Going to grep hit in Rmail buffer finds the message.
11948 (rmail-variables): Set next-error-move-function.
11949 (rmail-what-message): Take argument POS.
11950 (rmail-next-error-move): New function.
11951
273d2baf
SM
119522011-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
11953
11954 * emacs-lisp/smie.el (smie-bnf->prec2): Give more understandable error
11955 messages for adjacent non-terminals.
11956
56c2cc9a
RS
119572011-06-23 Richard Stallman <rms@gnu.org>
11958
11959 * mail/rmail.el (rmail-retry-ignored-headers): Add message-id.
f444564c 11960 (rmail-show-message-1): Preserve buffer modified flag.
8050daa1
RS
11961 (rmail-start-mail): Don't specify use of rmail-mail-return;
11962 that's done by mail-bury now.
11963 (rmail-mail-return): Handle arg NEWBUF.
56c2cc9a 11964
d59eb518
MA
119652011-06-23 Michael Albinus <michael.albinus@gmx.de>
11966
11967 * net/tramp-sh.el (tramp-method-out-of-band-p): Check, whether
11968 SIZE is a number.
11969
02cfc6d6
MR
119702011-06-23 Martin Rudalics <rudalics@gmx.at>
11971
11972 * window.el (get-lru-window, get-mru-window)
11973 (get-largest-window): Never return a minibuffer window.
11974 (display-buffer-pop-up-window): Fix a bug that could lead to
11975 reusing the minibuffer window.
11976 (display-buffer): Pass original specifier argument to
11977 display-buffer-function instead of the normalized one.
11978 Reported by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
11979
4e323265
LL
119802011-06-22 Leo Liu <sdl.web@gmail.com>
11981
11982 * minibuffer.el (completing-read-function)
11983 (completing-read-default): Move from minibuf.c
11984
7a70468f
RS
119852011-06-22 Richard Stallman <rms@gnu.org>
11986
50718fc2
RS
11987 * mail/sendmail.el (mail-bury): If Rmail is in use, return nicely
11988 to Rmail even if not started by a special Rmail command.
11989
7a70468f
RS
11990 * mail/rmailmm.el (rmail-insert-mime-forwarded-message):
11991 Copy the buffer currently showing just one message.
11992
297dde5a
RW
119932011-06-22 Roland Winkler <winkler@gnu.org>
11994
11995 * textmodes/bibtex.el (bibtex-entry-update): Use mapc.
11996 (bibtex-clean-entry): First delete the old key so that a
11997 customized algorithm for generating the new key does not get
11998 confused by the old key.
11999 (bibtex-url): Obey regexp of first step.
12000 (bibtex-search-entries): Do not use add-to-list with local
12001 list-var.
12002
97bb1093
LMI
120032011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
12004
12005 * mail/smtpmail.el (smtpmail-try-auth-methods): If the user has
12006 stored a user name, then query for the password first, instead of
12007 waiting for SMTP to give an error message and the trying again.
12008
1c0f1a19
JD
120092011-06-22 Lawrence Mitchell <wence@gmx.li>
12010
12011 * net/browse-url.el (browse-url-xdg-open): Use 0, rather than nil
12012 BUFFER in call-process.
12013
396f7c9d
LMI
120142011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
12015
12016 * mail/smtpmail.el (smtpmail-via-smtp): Make sure we don't send
12017 QUIT twice.
ddb7ffee
LMI
12018 (smtpmail-try-auth-methods): Require user name and password from
12019 auth-source.
396f7c9d 12020
8998d1b3
MR
120212011-06-22 Martin Rudalics <rudalics@gmx.at>
12022
12023 * window.el (display-buffer-default-specifiers)
12024 (display-buffer-alist): Remove entries for pop-up-frame-alist.
12025 Suggested by Katsumi Yamaoka <yamaoka@jpl.org>.
130e3e11 12026 (split-window): Normalize SIDE argument (Bug#8916).
8998d1b3
MR
12027
12028 * frame.el (pop-up-frame-alist, pop-up-frame-function)
12029 (special-display-frame-alist, special-display-popup-frame):
12030 Remove duplicate declarations. These are now in window.el.
12031
4ea31e07
LMI
120322011-06-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
12033
c9d29fb8
SM
12034 * mail/smtpmail.el (smtpmail-via-smtp):
12035 Set :use-starttls-if-possible so that we always use STARTTLS if the
6af7a784
LMI
12036 server supports it. SMTP servers that support STARTTLS commonly
12037 require it.
12038
12039 * net/network-stream.el (network-stream-open-starttls): Support
12040 upgrading to STARTTLS always, even if we don't have built-in support.
fa463103 12041 (open-network-stream): Add the :always-query-capabilities keyword.
6af7a784 12042
95f41d9a
LMI
12043 * mail/smtpmail.el: Rewritten to do opportunistic STARTTLS
12044 upgrades with `open-network-stream', and rely solely on
12045 auth-source for all credentials. Big changes throughout the file,
12046 but in particular:
c9d29fb8
SM
12047 (smtpmail-auth-credentials): Remove.
12048 (smtpmail-starttls-credentials): Remove.
7d36ad46
LMI
12049 (smtpmail-via-smtp): Check for servers saying they want AUTH after
12050 MAIL FROM, too.
95f41d9a 12051
c9d29fb8
SM
12052 * net/network-stream.el (network-stream-open-starttls):
12053 Provide support for client certificates both for external and built-in
4ea31e07
LMI
12054 STARTTLS.
12055 (auth-source): Require.
12056 (open-network-stream): Document the :client-certificate keyword.
eb8c9362
LMI
12057 (network-stream-certificate): Change cert-cert to cert and
12058 cert-key to key.
4ea31e07 12059
065ec2c7
MA
120602011-06-21 Michael Albinus <michael.albinus@gmx.de>
12061
12062 * net/tramp-cache.el (top): Don't load the persistency file when
12063 "emacs -Q" has been called.
12064
cd93b359
DR
120652011-06-21 Tim Harper <timcharper@gmail.com>
12066
d8e4b68b
JB
12067 * term/ns-win.el (ns-initialize-window-system):
12068 Set application-specific `ApplePressAndHoldEnabled' system
cd93b359
DR
12069 resource to NO as it is not yet supported by the NS port.
12070
ae9c0411
JB
120712011-06-21 Juanma Barranquero <lekktu@gmail.com>
12072
12073 * misc.el (list-dynamic-libraries--refresh): Compute header here...
12074 (list-dynamic-libraries): ...not here.
12075
7f3f739f
LL
120762011-06-21 Leo Liu <sdl.web@gmail.com>
12077
12078 * subr.el (sha1): Implement sha1 using secure-hash.
12079
327c8fb1
MR
120802011-06-21 Martin Rudalics <rudalics@gmx.at>
12081
12082 * window.el (display-buffer-alist): In default value do not
12083 enforce searching a window on any but the selected frame.
12084 Reported by Katsumi Yamaoka <yamaoka@jpl.org>.
12085 (display-buffer-select-window): Remove function.
12086 (display-buffer-in-window): When a window on another frame gets
12087 reused, do not select it any more but just raise its frame if
12088 necessary (Bug#8851) and (Bug#8856).
12089 (display-buffer-normalize-options): Handle pop-up-frames related
12090 options more faithfully.
12091 (pop-to-buffer): Don't rely on `display-buffer' selecting the
12092 window if it is on another frame.
c9d29fb8
SM
12093 (display-buffer-alist, display-buffer-default-specifiers):
12094 Don't make new frame unsplittable by default.
9e9de014
MR
12095 (display-buffer-normalize-argument): Fix doc-string typo and use
12096 'same-frame-other-window instead of 'other-window when associating
12097 with display-buffer-macro-specifiers.
327c8fb1 12098
7cf3f556
VB
120992011-06-21 Vincent Belaïche <vincent.b.1@hotmail.fr>
12100
12101 * play/5x5.el (5x5-solve-rotate-left, 5x5-solve-rotate-right):
12102 New functions.
12103 (5x5-mode-map, 5x5-mode-menu): Bind them.
12104 (5x5-draw-grid): Tweak the solver's rendering.
12105
60a406cf
SM
121062011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
12107
12108 * progmodes/compile.el (compilation-error-regexp-alist-alist): Rename
12109 `caml' to `python-tracebacks-and-caml'; allow leading tabs (bug#8585).
12110
d8e4b68b 121112011-06-21 Drew Adams <drew.adams@oracle.com>
5d907d6c
DA
12112
12113 * menu-bar.el: Use function variable instead of switch-to-buffer.
12114 (menu-bar-select-buffer-function): New variable.
60a406cf 12115 (menu-bar-update-buffers): Use it (bug#8876).
5d907d6c 12116
478d6f95
SM
121172011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
12118
12119 * emacs-lisp/bytecomp.el (add-to-list): Add handler to check the
12120 variable's status.
12121
ca530739
JD
121222011-06-20 Jan Djärv <jan.h.d@swipnet.se>
12123
12124 * x-dnd.el (x-dnd-version-from-flags)
12125 (x-dnd-more-than-3-from-flags): New functions that handle long-as-cons
12126 and long as number (Bug#8899).
12127 (x-dnd-handle-xdnd): Call functions above (Bug#8899).
12128
bcd70d97
SM
121292011-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
12130
60a406cf 12131 * minibuffer.el (completion-metadata): Add `metadata' to the alist.
4cb3bfa0
SM
12132 (completion-try-completion, completion-all-completions): Compute the
12133 metadata argument if it's missing; make it optional (bug#8795).
12134
60a406cf 12135 * wid-edit.el: Use lex-bind and move towards completion-at-point.
bcd70d97
SM
12136 (widget-complete): Use new :completion-function property.
12137 (widget-completions-at-point): New function.
12138 (default): Use :completion-function instead of :complete.
60a406cf
SM
12139 (widget-default-completions): Rename from widget-default-complete;
12140 Rewrite.
bcd70d97
SM
12141 (widget-string-complete, widget-file-complete, widget-color-complete):
12142 Remove functions.
12143 (file, symbol, function, variable, coding-system, color):
12144 * international/mule-cmds.el (default-input-method, charset)
12145 (language-info-custom-alist):
12146 * cus-edit.el (face): Use new property :completions.
12147
12148 * progmodes/pascal.el (pascal-completions-at-point): New function.
12149 (pascal-mode): Use it.
12150 (pascal-mode-map): Use completion-at-point.
12151 (pascal-toggle-completions): Make obsolete.
12152 (pascal-complete-word, pascal-show-completions):
12153 * progmodes/octave-mod.el (octave-complete-symbol):
12154 Redefine as obsolete alias.
12155 * progmodes/octave-inf.el (inferior-octave-completion-at-point):
12156 Signal absence of completion info for old Octave,
12157 (inferior-octave-complete): Redefine as obsolete alias.
12158 * progmodes/meta-mode.el: Use lexical-binding and completion-at-point.
12159 (meta-completions-at-point): Rename from meta-complete-symbol and
12160 adapt it for use on completion-at-point-functions.
12161 (meta-common-mode): Use it.
12162 (meta-looking-at-backward, meta-match-buffer): Remove.
12163 (meta-complete-symbol): Redefine as obsolete alias.
12164 (meta-common-mode-map): Use completion-at-point.
12165 * progmodes/make-mode.el: Use lexical-binding and completion-at-point.
12166 (makefile-mode-map): Use completion-at-point.
12167 (makefile-completions-at-point): Rename from makefile-complete and
12168 adapt it for use on completion-at-point-functions.
12169 (makefile-mode): Use it.
12170 (makefile-complete): Redefine as obsolete alias.
12171
aebf69c8
DD
121722011-06-20 Deniz Dogan <deniz@dogan.se>
12173
12174 * net/rcirc.el: Delete trailing whitespaces once and for all.
12175
bfbbb27d
DC
121762011-06-20 Daniel Colascione <dan.colascione@gmail.com>
12177
12178 * emacs-lisp/syntax.el (syntax-ppss): Further improve docstring.
12179
d264a46b
CY
121802011-06-19 Chong Yidong <cyd@stupidchicken.com>
12181
4ca009e5
CY
12182 * files.el (auto-mode-alist): Entry for m2-mode (Bug#8852).
12183
d264a46b
CY
12184 * info.el (Info-apropos-toc-nodes): Minor doc fix (Bug#8833).
12185
fbf5b3ce
MR
121862011-06-19 Martin Rudalics <rudalics@gmx.at>
12187
12188 * window.el (display-buffer-other-window-means-other-frame):
12189 Call display-buffer-normalize-alist.
12190 (display-buffer-normalize-specifiers-1): Rename to
12191 display-buffer-normalize-argument. New argument other-frame.
12192 Rewrite.
12193 (display-buffer-normalize-specifiers-2): Rename to
12194 display-buffer-normalize-options.
12195 (display-buffer-normalize-alist-1): New function.
12196 (display-buffer-normalize-specifiers-3): Rename to
bcd70d97
SM
12197 display-buffer-normalize-alist.
12198 Call display-buffer-normalize-alist-1.
fbf5b3ce
MR
12199 (display-buffer-normalize-options-inhibit): New variable.
12200 (display-buffer-normalize-specifiers): Rewrite calling
12201 display-buffer-normalize-alist,
12202 display-buffer-normalize-argument, and
12203 display-buffer-normalize-options. Don't call the latter if
12204 display-buffer-normalize-options-inhibit is non-nil.
12205 (frame-auto-delete): New option.
12206 (window-deletable-p): Use frame-auto-delete.
9d89fec7
MR
12207 (window-list-no-nils, window-state-ignored-parameters)
12208 (window-state-get-1, window-state-get, window-state-put-list)
bcd70d97
SM
12209 (window-state-put-1, window-state-put-2, window-state-put):
12210 New functions.
9a028c23
MR
12211 (display-buffer-normalize-options): Move special-display-p group
12212 after pop-up-frame group (Bug#8851) and (Bug#8856).
fbf5b3ce 12213
6d10d800
CY
122142011-06-18 Chong Yidong <cyd@stupidchicken.com>
12215
6420d28b
CY
12216 * emacs-lisp/rx.el (rx-constituents): Add support for numbered
12217 groups (Bug#8776).
12218 (rx-submatch-n): New function.
12219 (rx): Document it.
12220
ddb8b596
CY
12221 * dired-x.el (dired-mark-unmarked-files): Fix interactive spec
12222 (Bug#8768).
12223
12224 * replace.el (occur-mode-map): Set occur-edit-mode binding to "e".
12225
77080289
CY
12226 * textmodes/fill.el (default-justification): Add :safe (Bug#8879).
12227
61dfb316
CY
12228 * cus-face.el (custom-declare-face): Call custom-theme-recalc face
12229 anytime existing face settings are present (Bug#8889).
12230
6d10d800
CY
12231 * progmodes/delphi.el (delphi-mode-syntax-table): Use defvar.
12232 (delphi-mode): Use define-derived-mode to inherit from prog-mode.
12233 Remove unused argument.
12234
be3fb2b8
MR
122352011-06-18 Martin Rudalics <rudalics@gmx.at>
12236
bcd70d97
SM
12237 * window.el (display-buffer-default-specifiers):
12238 Remove pop-up-frame. Add pop-up-window-min-height,
be3fb2b8
MR
12239 pop-up-window-min-width, and another reuse-window specifier
12240 (Bug#8882). Reported by Dan Nicolaescu <dann@gnu.org>.
bcd70d97
SM
12241 (display-buffer-normalize-specifiers-2):
12242 Handle split-height-threshold and split-width-threshold also when
be3fb2b8
MR
12243 pop-up-windows is unset. Add a reuse-window specifier for the
12244 case popping up a new window fails.
12245 (special-display-popup-frame): Remove double quoting.
28dec25a 12246 (display-buffer-normalize-specifiers-1): Fix thinko.
be3fb2b8 12247
1c6d8c76
SM
122482011-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
12249
12250 * shell.el (shell-completion-vars): Set pcomplete-termination-string
12251 according to comint-completion-addsuffix.
12252
12253 * pcomplete.el: Convert to lexical binding and fix bug#8819.
12254 (pcomplete-suffix-list): Mark as obsolete.
12255 (pcomplete-completions-at-point): Capture pcomplete-norm-func and
12256 pcomplete-seen in the closure.
12257 (pcomplete-comint-setup): Setup completion-at-point as well.
12258 (pcomplete--entries): New function.
12259 (pcomplete--env-regexp): New var.
12260 (pcomplete-entries): Rewrite to work with partial-completion and
12261 without relying on pcomplete-suffix-list.
12262 (pcomplete-pare-list): Remove, unused.
12263
25aef8b8
MR
122642011-06-17 Martin Rudalics <rudalics@gmx.at>
12265
12266 * window.el (display-buffer-alist): Set pop-up-window-min-height
12267 and pop-up-window-min-width in default value. Reported by
12268 Thierry Volpiatto <thierry.volpiatto@gmail.com>. New specifier
12269 other-window-means-other-frame.
12270 (display-buffer-macro-specifiers): Comment out entry for
12271 other-window specifier.
12272 (display-buffer-other-window-means-other-frame): New function.
12273 (display-buffer-normalize-specifiers-1): New arguments
12274 buffer-name and label. Treat other-window case specially.
12275 (display-buffer-normalize-specifiers-2): Treat other-window case
12276 specially.
12277 (display-buffer-normalize-specifiers-3): New function.
bcd70d97
SM
12278 (display-buffer-normalize-specifiers):
12279 Call display-buffer-normalize-specifiers-3.
25aef8b8 12280
dbad4f69
MR
122812011-06-17 Martin Rudalics <rudalics@gmx.at>
12282
12283 * window.el (same-window-p): Fix two typos introduced when
12284 adding with-no-warnings.
d1067961
MR
12285 (display-buffer-normalize-specifiers-1): Don't check
12286 pop-up-frames for 'unset initialization.
12287 (display-buffer-normalize-specifiers-2): Major rewrite using
12288 special-display-p and same-window-p (Bug#8851) and (Bug#8856).
12289 (pop-up-frames, display-buffer-reuse-frames)
12290 (display-buffer-mark-dedicated): Don't initialize to 'unset.
12291 Suggested by David Engster <deng@randomsample.de>.
12292 (even-window-heights): Initialize to 'unset.
12293 (display-buffer-alist-set): Handle new 'unset initializations.
25aef8b8
MR
12294 (display-buffer-macro-specifiers): Don't pop up a new frame in the
12295 other window case.
dbad4f69 12296
9b9c9e3a
MR
122972011-06-16 Martin Rudalics <rudalics@gmx.at>
12298
bcd70d97
SM
12299 * window.el (display-buffer-normalize-specifiers-1):
12300 Respect current value of pop-up-frames for most reasonable values of
9b9c9e3a 12301 second argument of display-buffer (Bug#8865).
981d5c09
MR
12302 (switch-to-buffer-same-frame, switch-to-buffer-other-window)
12303 (switch-to-buffer-other-window-same-frame)
12304 (switch-to-buffer-other-frame): Fix doc-strings. Reported by Drew
12305 Adams (Bug#8875).
9c2755e9
MR
12306 (display-buffer): Don't check noninteractive when calling
12307 display-buffer-pop-up-frame.
12308 (display-buffer-pop-up-frame): Never pop up a frame in
12309 noninteractive mode (Bug#8857).
67222e1d
MR
12310 (enlarge-window, shrink-window): Don't report an error when the
12311 window can't be resized as requested (Bug#8862).
9b9c9e3a 12312
2b75be67
SM
123132011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
12314
9ffdd3ba
SM
12315 * pcmpl-rpm.el (pcomplete/rpm): Minor simplification.
12316
cb581a67
SM
12317 * emacs-lisp/debug.el (debug): Don't leave the buffer in Debugger.
12318
2b75be67
SM
12319 * abbrev.el (define-abbrev-table): Don't add a table multiple times.
12320
8c0e3589
AM
123212011-06-15 Alan Mackenzie <acm@muc.de>
12322
cb581a67
SM
12323 * progmodes/cc-fonts.el (c-font-lock-declarations): 1: Whilst checking
12324 for declarators, disable knr checking to speed up for normal files.
12325 2: Refactor, replacing a sequence of nested if forms by a cond form.
8c0e3589 12326
b96e6cde
LMI
123272011-06-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
12328
4bba86e6
LMI
12329 * net/network-stream.el (open-network-stream): Add the keyword
12330 :always-query-capabilities for the case where you want to force a
12331 `plain' network connection, but the protocol still requires the
12332 capabilitiy command (i.e., SMTP and EHLO).
12333
2b75be67 12334 * subr.el (process-live-p): Rename from `process-alive-p' for
b96e6cde
LMI
12335 consistency with other `-live-p' functions.
12336
efdcdbf8
SM
123372011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
12338
12339 * window.el (same-window-buffer-names, same-window-regexps)
12340 (special-display-frame-alist, special-display-popup-frame)
12341 (special-display-function, special-display-buffer-names)
12342 (special-display-regexps, pop-up-frame-alist)
12343 (pop-up-frame-function, pop-up-frames, display-buffer-reuse-frames)
12344 (pop-up-windows, split-window-preferred-function)
12345 (split-height-threshold, split-width-threshold, even-window-heights)
12346 (display-buffer-mark-dedicated): Don't encourage the use of
12347 display-buffer-alist from Elisp code.
12348
c5cde042
DN
123492011-06-15 Dan Nicolaescu <dann@ics.uci.edu>
12350
12351 * progmodes/python.el (python-mode): Derive from prog-mode.
12352 * progmodes/ps-mode.el (ps-mode):
12353 * progmodes/mixal-mode.el (mixal-mode):
50328a1b 12354 * progmodes/cfengine.el (cfengine-mode):
c5cde042
DN
12355 * progmodes/ld-script.el (ld-script-mode): Likewise.
12356
baa1c9ab
MR
123572011-06-15 Martin Rudalics <rudalics@gmx.at>
12358
12359 * window.el (display-buffer-alist): Trim default value to avoid
12360 popping up a new frame (Bug#8857) or reusing an arbitrary window
12361 on another frame.
12362 (display-buffer): Do not fall back on popping up a new frame in
12363 batch mode (Bug#8857).
12364
c5dd5a51
CY
123652011-06-14 Chong Yidong <cyd@stupidchicken.com>
12366
12367 * cus-theme.el (describe-theme-1): Use custom-theme-p.
12368 (custom-theme-summary): New function.
12369 (customize-themes): Use it.
12370
d647b7c4
GM
123712011-06-13 Glenn Morris <rgm@gnu.org>
12372
12373 * cus-dep.el (custom-make-dependencies): Use up command-line-args-left.
12374
9481c002
MR
123752011-06-13 Martin Rudalics <rudalics@gmx.at>
12376
357f93d2
MR
12377 * help.el (help-window): Remove variable.
12378 (help-window-point-marker, temp-buffer-max-height)
12379 (temp-buffer-resize-mode, help-window-select): Rewrite doc-strings.
12380 (help-print-return-message): Don't set help-window.
12381 (resize-temp-buffer-window): Rewrite cod eand doc-string.
12382 (help-window-setup-finish): Remove.
12383 (help-window-display-message, help-window-setup)
12384 (with-help-window): Major rewrite based on new
12385 display-buffer-window variable.
12386
12387 * help-mode.el (help-mode-finish): Remove help-window related
12388 code.
12389
12390 * view.el (view-exits-all-viewing-windows): Remove reference to
12391 view-return-to-alist in doc-string.
12392 (view-return-to-alist): Make obsolete.
12393 (view-buffer): Call pop-to-buffer-same-window and remove
12394 undo-window code.
12395 (view-buffer-other-window): Call pop-to-buffer-other-window and
12396 simplify code. Ignore second argument.
12397 (view-buffer-other-frame): Call pop-to-buffer-other-frame and
12398 simplify code. Ignore second argument.
12399 (view-return-to-alist-update): Make obsolete.
12400 (view-mode-enter): Rename second argument to QUIT-RESTORE.
12401 Rewrite using quit-restore window parameters.
2b75be67
SM
12402 (view-mode-exit): Rename second argument to EXIT-ONLY.
12403 Rewrite using quit-restore-window.
357f93d2
MR
12404 (View-exit, View-exit-and-edit, View-leave, View-quit)
12405 (View-quit-all, View-kill-and-leave): Call view-mode-exit with
12406 appropriate arguments.
12407 (view-end-message): Use quit-restore window parameter.
12408
9481c002
MR
12409 * window.el (display-buffer-function): Rewrite doc-string.
12410 (display-buffer-window, display-buffer-alist): New variables.
12411 (display-buffer-split-specifiers)
12412 (display-buffer-side-specifiers)
12413 (display-buffer-macro-specifiers): New constants.
12414 (display-buffer-even-window-sizes, display-buffer-set-height)
12415 (display-buffer-set-width, display-buffer-select-window)
12416 (display-buffer-in-window, display-buffer-reuse-window)
12417 (display-buffer-split-window-1, display-buffer-split-window)
12418 (display-buffer-split-atom-window, display-buffer-pop-up-window)
12419 (display-buffer-pop-up-frame, display-buffer-pop-up-side-window)
12420 (display-buffer-in-side-window, normalize-buffer-to-display)
12421 (display-buffer-normalize-specifiers-1)
12422 (display-buffer-normalize-specifiers-2)
2b75be67
SM
12423 (display-buffer-normalize-specifiers, display-buffer-frame):
12424 New functions.
9481c002
MR
12425 (display-buffer): Major rewrite.
12426 (display-buffer-other-window, display-buffer-other-frame)
12427 (pop-to-buffer, switch-to-buffer-other-window)
12428 (switch-to-buffer-other-frame): Rewrite.
12429 (display-buffer-same-window, display-buffer-same-frame)
12430 (display-buffer-same-frame-other-window)
12431 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
12432 (pop-to-buffer-other-window)
12433 (pop-to-buffer-same-frame-other-window)
12434 (pop-to-buffer-other-frame, switch-to-buffer-same-frame)
12435 (switch-to-buffer-other-window-same-frame): New functions.
12436 (same-window-p, special-display-p): Rewrite disabling warnings.
12437 Make obsolete.
12438 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
12439 (display-buffer-mark-dedicated): Initialize to symbol 'unset.
12440 Make obsolete
12441 (same-window-buffer-names, same-window-regexps)
12442 (special-display-frame-alist, special-display-popup-frame)
12443 (special-display-function, special-display-buffer-names)
12444 (special-display-regexps, pop-up-frame-alist)
12445 (pop-up-frame-function, split-window-preferred-function)
12446 (split-height-threshold, split-width-threshold)
12447 (even-window-heights): Make obsolete.
12448
9db51aca
GM
124492011-06-12 Glenn Morris <rgm@gnu.org>
12450
12451 * term/xterm.el (terminal-init-xterm): `version' may be nil. (Bug#8838)
7cb363eb 12452 Misc simplifications.
9db51aca 12453
39cffb44
MR
124542011-06-12 Martin Rudalics <rudalics@gmx.at>
12455
12456 * window.el (window-safely-shrinkable-p): Restore function which
12457 was inadvertently removed in change from 2011-06-11. Declare as
12458 obsolete.
12459
2b75be67
SM
12460 * calendar/calendar.el (calendar-generate-window):
12461 Use window-iso-combined-p instead of combination of one-window-p and
39cffb44
MR
12462 window-safely-shrinkable-p.
12463
a8955be7
GM
124642011-06-12 Glenn Morris <rgm@gnu.org>
12465
12466 * progmodes/fortran.el (fortran-mode-syntax-table):
12467 * progmodes/f90.el (f90-mode-syntax-table):
12468 Set % to punctuation. (Bug#8820)
12469 (f90-find-tag-default): Remove, no longer needed.
12470
f0d4059d
DC
124712011-06-12 Daniel Colascione <dan.colascione@gmail.com>
12472
12473 * emacs-lisp/syntax.el (syntax-ppss): Clarify which items are invalid.
12474
1100a63c
CY
124752011-06-11 Chong Yidong <cyd@stupidchicken.com>
12476
12477 * image.el (image-animated-p): Return animation delay in seconds.
12478 Avoid bit manipulation in Lisp; use `delay' entry in the metadata.
12479 (image-animate-timeout): Remove DELAY argument. Don't assume
12480 every subimage has the same delay; get it from image-animated-p.
12481 (image-animate): Caller changed.
12482
def722bf
MA
124832011-06-11 Michael Albinus <michael.albinus@gmx.de>
12484
12485 * net/tramp.el (tramp-debug-message): Add `tramp-with-progress-reporter'
12486 to ignored backtrace functions.
12487
0a2bb1a9
GM
124882011-06-11 Glenn Morris <rgm@gnu.org>
12489
12490 * calendar/appt.el (appt-disp-window-function): Doc fix.
12491 (appt-check): Handle overlapping appointments. (Bug#8337)
12492
6198ccd0
MR
124932011-06-11 Martin Rudalics <rudalics@gmx.at>
12494
12495 * window.el (window-tree-1, window-tree): New functions, moving
12496 the latter to window.el.
12497 (bw-get-tree, bw-get-tree-1, bw-find-tree-sub)
12498 (bw-find-tree-sub-1, bw-l, bw-t, bw-r, bw-b, bw-dir, bw-eqdir)
12499 (bw-refresh-edges): Remove.
12500 (balance-windows-1, balance-windows-2): New functions.
12501 (balance-windows): Rewrite in terms of window tree functions,
12502 balance-windows-1 and balance-windows-2.
12503 (bw-adjust-window): Remove.
12504 (balance-windows-area-adjust): New function with functionality of
12505 bw-adjust-window but using resize-window.
2b75be67
SM
12506 (set-window-text-height): Rewrite doc-string.
12507 Use normalize-live-window and resize-window.
12508 (enlarge-window-horizontally, shrink-window-horizontally):
12509 Rename argument to DELTA.
6198ccd0
MR
12510 (window-buffer-height): New function.
12511 (fit-window-to-buffer, shrink-window-if-larger-than-buffer):
12512 Rewrite using new window resize routines.
2b75be67
SM
12513 (kill-buffer-and-window, mouse-autoselect-window-select):
12514 Use ignore-errors instead of condition-case.
6198ccd0
MR
12515 (quit-window): Call delete-frame instead of delete-windows-on
12516 for the only buffer on frame.
12517
9397e56f
MR
125182011-06-10 Martin Rudalics <rudalics@gmx.at>
12519
12520 * loadup.el (top-level): Load window before files for the sake
12521 of replace-buffer-in-windows.
12522
12523 * files.el (read-buffer-to-switch)
12524 (switch-to-buffer-other-window)
2b75be67
SM
12525 (switch-to-buffer-other-frame, display-buffer-other-frame):
12526 Move to window.el.
9397e56f
MR
12527
12528 * simple.el (get-next-valid-buffer, last-buffer, next-buffer)
12529 (previous-buffer): Move to window.el.
12530
12531 * bindings.el (unbury-buffer): Move to window.el.
12532
12533 * window.el (delete-other-windows-vertically): Move after
12534 definition of delete-other-windows.
12535 (other-window, delete-windows-on, replace-buffer-in-windows):
12536 Move here from window.c.
12537 (record-window-buffer, unrecord-window-buffer)
12538 (set-window-buffer-start-and-point, switch-to-prev-buffer)
12539 (switch-to-next-buffer): New functions.
12540 (get-next-valid-buffer, last-buffer, next-buffer): Move here
12541 from simple.el. Call switch-to-next-buffer.
2b75be67
SM
12542 (previous-buffer): Move here from simple.el.
12543 Call switch-to-prev-buffer.
9397e56f
MR
12544 (bury-buffer): Move here from buffer.c. Switch to previous
12545 buffer when window cannot be deleted.
12546 (unbury-buffer): Move here from bindings.el.
12547 (ctl-x-map): Move binding for other-window from window.c to
12548 here.
12549 (read-buffer-to-switch, switch-to-buffer-other-window)
12550 (switch-to-buffer-other-frame): Move here from files.el.
12551 (normalize-buffer-to-switch-to): New functions.
2b75be67
SM
12552 (switch-to-buffer): Move here from buffer.c.
12553 Use read-buffer-to-switch and normalize-buffer-to-switch-to.
9397e56f 12554
562dd5e9
MR
125552011-06-10 Martin Rudalics <rudalics@gmx.at>
12556
12557 * window.el (window-min-height, window-min-width): Move here
12558 from window.c. Add defcustoms and rewrite doc-strings.
12559 (resize-mini-window, resize-window): New functions.
12560 (adjust-window-trailing-edge, enlarge-window, shrink-window):
12561 Move here from window.c.
12562 (maximize-window, minimize-window): New functions.
12563 (delete-window, delete-other-windows, split-window): Move here
12564 from window.c.
12565 (window-split-min-size): New function.
12566 (split-window-keep-point): Mention split-window-above-each-other
12567 instead of split-window-vertically.
2b75be67 12568 (split-window-above-each-other, split-window-vertically):
1154d12e
JB
12569 Rename split-window-vertically to split-window-above-each-other
12570 and provide defalias for old definition.
12571 (split-window-side-by-side, split-window-horizontally):
12572 Rename split-window-horizontally to split-window-side-by-side
12573 and provide defalias for the old definition.
562dd5e9
MR
12574 (ctl-x-map): Move bindings for delete-window,
12575 delete-other-windows and enlarge-window here from window.c.
12576 Replace bindings for split-window-vertically and
12577 split-window-horizontally by bindings for
12578 split-window-above-each-other and split-window-side-by-side.
12579
12580 * cus-start.el (all): Remove entries for window-min-height and
12581 window-min-width. Add entries for window-splits and
12582 window-nest.
12583
f0da764a
GM
125842011-06-09 Glenn Morris <rgm@gnu.org>
12585
80675c21
GM
12586 * calendar/appt.el (appt-mode-line): New function.
12587 (appt-check, appt-disp-window): Use it.
12588
f0da764a
GM
12589 * files.el (hack-one-local-variable-eval-safep):
12590 Allow minor-modes with explicit +/-1 arguments.
12591
59f623b7
TZ
125922011-06-09 Teodor Zlatanov <tzz@lifelogs.com>
12593
12594 * term/xterm.el (xterm): Add defgroup.
12595 (xterm-extra-capabilities): Add defcustom to supply known xterm
12596 capabilities, skip querying them, or query them (default).
12597 (terminal-init-xterm): Use it.
12598 (terminal-init-xterm-modify-other-keys): New function to set up
12599 modifyOtherKeys support to simplify `terminal-init-xterm'.
12600
9aab8e0d
MR
126012011-06-09 Martin Rudalics <rudalics@gmx.at>
12602
12603 * window.el (resize-window-reset, resize-window-reset-1)
12604 (resize-subwindows-skip-p, resize-subwindows-normal)
12605 (resize-subwindows, resize-other-windows, resize-this-window)
12606 (resize-root-window, resize-root-window-vertically)
12607 (window-deletable-p, window-or-subwindow-p)
12608 (frame-root-window-p): New functions.
12609
e8b08aee
GM
126102011-06-09 Glenn Morris <rgm@gnu.org>
12611
12612 * net/ange-ftp.el (ange-ftp-switches-ok): New function.
12613 (ange-ftp-get-files): Use it.
12614
254c37a5
AK
126152011-06-09 Alexander Klimov <alserkli@inbox.ru> (tiny change)
12616
12617 * mail/sendmail.el (mail-recover-1, mail-recover):
12618 * files.el (recover-file, recover-session):
12619 Handle dired-listing-switches not being just a single short option.
12620
35d7dbd3
GM
126212011-06-09 Glenn Morris <rgm@gnu.org>
12622
12623 * calendar/appt.el (appt-display-message, appt-disp-window):
12624 Handle lists of appointments.
12625
387522b2
MR
126262011-06-08 Martin Rudalics <rudalics@gmx.at>
12627
2b75be67
SM
12628 * window.el (one-window-p): Move down in code.
12629 Rewrite doc-string.
12630 (window-current-scroll-bars): Rewrite doc-string.
12631 Normalize live window argument.
387522b2
MR
12632 (walk-windows, get-window-with-predicate, count-windows):
12633 Rewrite doc-string. Use window-list-1.
12634 (window-in-direction-2, window-in-direction, get-mru-window):
12635 New functions.
12636
d8e4b68b 126372011-06-08 Reuben Thomas <rrt@sc3d.org>
2c587104
GM
12638
12639 * progmodes/flymake.el (flymake-compilation-prevents-syntax-check):
12640 Doc fix (Bug#8713).
12641
126422011-06-08 Chong Yidong <cyd@stupidchicken.com>
12643
12644 * repeat.el (repeat-on-final-keystroke): Fix type (Bug#8696).
12645
126462011-06-08 Juanma Barranquero <lekktu@gmail.com>
12647
12648 * loadhist.el (unload-feature-special-hooks):
12649 Add `comint-output-filter-functions'.
12650
0de12c52
IK
126512011-06-08 Ivan Kanis <gnu@kanis.fr>
12652
12653 * calendar/appt.el (appt-check): Move some initializations into the let.
12654
f3d1777e
MR
126552011-06-08 Martin Rudalics <rudalics@gmx.at>
12656
12657 * window.el (window-height): Defalias to window-total-height.
12658 (window-width): Defalias to window-body-width.
12659
18af70d0
CY
126602011-06-07 Chong Yidong <cyd@stupidchicken.com>
12661
12662 * image-mode.el (image-toggle-animation): New command.
12663 (image-mode-map): Bind it to RET.
12664 (image-mode): Update message.
12665 (image-toggle-display-image): Avoid a spurious cache flush.
12666 (image-transform-rotation): Doc fix.
12667 (image-transform-properties): Return quickly in the normal case.
12668 (image-animate-loop): Rename from image-animate-max-time.
12669
2b75be67 12670 * image.el (image-animate-max-time): Move to image-mode.el.
18af70d0
CY
12671 (create-animated-image): Remove unnecessary function.
12672 (image-animate): Rename from image-animate-start. New arg.
2b75be67 12673 (image-animate-stop): Remove; just use image-animate-timer.
18af70d0
CY
12674 (image-animate-timer): Use car-safe.
12675 (image-animate-timeout): Rename argument.
12676
190b47e6
MR
126772011-06-07 Martin Rudalics <rudalics@gmx.at>
12678
12679 * window.el (get-lru-window, get-largest-window): Move here from
2b75be67
SM
12680 window.c. Rename first argument to ALL-FRAMES.
12681 Rephrase doc-strings.
12682 (get-buffer-window-list): Rewrite using window-list-1.
12683 Rephrase doc-string.
a1511caf
MR
12684 (window-safe-min-height, window-safe-min-width): New constants.
12685 (window-size-ignore, window-min-size, window-min-size-1)
12686 (window-sizable, window-sizable-p, window-size-fixed-1)
12687 (window-size-fixed-p, window-min-delta-1, window-min-delta)
12688 (window-max-delta-1, window-max-delta, window-resizable)
12689 (window-resizable-p, window-total-height, window-total-width)
12690 (window-body-width): New functions.
12691 (window-full-height-p, window-full-width-p): Rewrite using
12692 window-total-size.
12693 (window-body-height): Rewrite using window-body-size.
190b47e6 12694
85cc1f11
MR
126952011-06-06 Martin Rudalics <rudalics@gmx.at>
12696
12697 * window.el (window-right, window-left, window-child)
12698 (window-child-count, window-last-child, window-any-p)
12699 (normalize-live-buffer, normalize-live-frame)
12700 (normalize-any-window, normalize-live-window)
12701 (window-iso-combination-p, window-iso-combined-p)
12702 (window-iso-combinations)
12703 (walk-window-tree-1, walk-window-tree, walk-window-subtree)
12704 (windows-with-parameter, window-with-parameter)
12705 (window-atom-root, make-window-atom, window-atom-check-1)
2b75be67
SM
12706 (window-atom-check, window-side-check, window-check):
12707 New functions.
85cc1f11
MR
12708 (ignore-window-parameters, window-sides, window-sides-vertical)
12709 (window-sides-slots): New variables.
12710 (window-size-fixed): Move down in code. Minor doc-string fix.
12711
e7156492
AS
127122011-06-05 Andreas Schwab <schwab@linux-m68k.org>
12713
12714 * comint.el (comint-dynamic-complete-as-filename)
12715 (comint-dynamic-complete-filename): Correctly call
12716 completion-in-region.
12717
7e821d0d
DD
127182011-06-05 Deniz Dogan <deniz@dogan.se>
12719
12720 * net/rcirc.el (rcirc-prompt-for-encryption): Fix bug introduced
12721 in last change.
12722
ac09b8a1
DD
127232011-06-05 Deniz Dogan <deniz@dogan.se>
12724
12725 * net/rcirc.el (rcirc-prompt-for-encryption): New function.
12726 (rcirc): Use it to prompt for encryption.
12727
34699b85
RW
127282011-06-05 Roland Winkler <winkler@gnu.org>
12729
12730 * textmodes/bibtex.el (bibtex-search-buffer): New variable.
12731 (bibtex-search-entries): New command bound to C-c C-a.
12732 (bibtex-display-entries): New function.
12733
004dedd3
RW
127342011-06-05 Roland Winkler <winkler@gnu.org>
12735
12736 * textmodes/bibtex.el (bibtex-generate-url-list): Fix docstring.
12737 (bibtex-insert-kill): After yanking insert newline if necessary.
12738 (bibtex-initialize): Call bibtex-string-files-init only once.
12739 (bibtex-mode): Do not call easy-menu-add.
12740 (bibtex-validate-globally): Use save-excursion in bibtex buffers.
12741 (bibtex-yank): Set arg properly if nil.
12742
022fe7ce
RW
127432011-06-05 Roland Winkler <winkler@gnu.org>
12744
2b75be67
SM
12745 * textmodes/bibtex.el (bibtex-search-entry-globally):
12746 New variable.
022fe7ce
RW
12747 (bibtex-search-entry): Use it.
12748
b7c3692a
RW
127492011-06-05 Roland Winkler <winkler@gnu.org>
12750
12751 * textmodes/bibtex.el (bibtex-entry-format): New option
12752 sort-fields.
12753 (bibtex-format-entry, bibtex-reformat): Honor this option.
12754 (bibtex-parse-entry): Return fields in proper order.
12755
8eda563d
JB
127562011-06-05 Juanma Barranquero <lekktu@gmail.com>
12757
12758 * doc-view.el (doc-view-remove-if): Move computation of result out
12759 of `dolist' to silence misleading lexical-binding warning.
12760
7dbe3dbc
CY
127612011-06-04 Chong Yidong <cyd@stupidchicken.com>
12762
12763 * emacs-lisp/timer.el (timer-activate): Remove unused arg.
12764 (timer-activate, timer-activate-when-idle): Doc fix (Bug#8793).
12765
0c33dd17
MA
127662011-06-04 Michael Albinus <michael.albinus@gmx.de>
12767
12768 * net/tramp-sh.el (tramp-find-shell): Apply workaround also for
12769 "SunOS 5.10".
12770
f8f91c2b
MA
127712011-06-04 Michael Albinus <michael.albinus@gmx.de>
12772
12773 * net/tramp.el (tramp-set-completion-function, tramp-parse-rhosts)
12774 (tramp-parse-shosts, tramp-parse-sconfig, tramp-parse-shostkeys)
12775 (tramp-parse-hosts, tramp-parse-passwd, tramp-parse-netrc)
12776 (tramp-parse-putty):
12777 * net/tramp-sh.el (tramp-completion-function-alist-rsh)
12778 (tramp-completion-function-alist-ssh)
12779 (tramp-completion-function-alist-telnet)
12780 (tramp-completion-function-alist-su)
12781 (tramp-completion-function-alist-putty): Set `tramp-autoload'
12782 cookie.
12783
12784 * net/tramp-ftp.el:
12785 * net/tramp-sh.el:
12786 * net/tramp-smb.el: Set `tramp-autoload' cookie, and eval after
12787 load "tramp.el" `tramp-set-completion-function'.
12788
e17d9003
SM
127892011-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
12790
12791 * shell.el: Require and use pcomplete.
12792 (shell-dynamic-complete-functions): Add pcomplete-completions-at-point.
12793 (shell-completion-vars): Set pcomplete-default-completion-function.
12794
6c4cab03
DD
127952011-06-04 Deniz Dogan <deniz@dogan.se>
12796
12797 * iswitchb.el (iswitchb-window-buffer-p): Use `member' instead of
12798 `memq' (Bug#8799).
12799
ea9fafe0
SM
128002011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
12801
12802 * subr.el (make-progress-reporter): Add "..." by default (bug#8785).
12803
b3e945d3
JB
128042011-06-02 Juanma Barranquero <lekktu@gmail.com>
12805
12806 * bs.el (bs--mark-unmark, bs--nth-wrapper):
12807 * mpc.el (mpc-select-extend, mpc-songpointer-context):
12808 * vc/log-view.el (log-view-beginning-of-defun):
12809 * vc/smerge-mode.el (smerge-apply-resolution-patch)
12810 (smerge-refine-forward, smerge-refine-chopup-region):
12811 Silence warning for unused `dotimes' counter variables.
12812
7d520089
SM
128132011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
12814
12815 * net/tramp.el (tramp-with-progress-reporter): Rename from
12816 with-progress-reporter. Use `declare'.
12817 * net/tramp-smb.el:
12818 * net/tramp-sh.el:
12819 * net/tramp-gvfs.el: Update all uses.
12820
a1c2400f
JB
128212011-06-02 Jay Belanger <jay.p.belanger@gmail.com>
12822
12823 * calc/calc.el (calc-kill-stack-buffer): Make sure that the trail
12824 buffer isn't killed before making it current.
12825
2403c841
SM
128262011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
12827
12828 Silence various byte-compiler warnings.
12829 * emacs-lisp/byte-run.el (make-obsolete-variable): New argument
12830 `access-type' and new obsolescence format.
12831 * emacs-lisp/bytecomp.el (byte-compile-warn-obsolete): Adjust to
12832 new format.
12833 (byte-compile-check-variable): New `access-type' argument.
12834 Only warn if the access-type is obsolete.
12835 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
12836 (byte-compile-variable-set): Adjust callers.
12837 * help-fns.el (describe-variable): Adjust to new obsolescence format.
12838 * mail/sendmail.el (mail-mailer-swallows-blank-line): Only mark
12839 setting it as obsolete.
12840 * simple.el (minibuffer-completing-symbol):
12841 * font-lock.el (font-lock-beginning-of-syntax-function): Only mark read
12842 access as obsolete.
12843 * minibuffer.el (minibuffer-completing-file-name): Don't make it
12844 obsolete yet.
12845 * international/quail.el (quail-mouse-choose-completion): Remove unused
12846 code referring to obsolete var.
12847 (quail-choose-completion-string): Remove.
12848 * server.el (server-clients-with, server-kill-buffer-query-function)
12849 (server-kill-emacs-query-function): Silence "unused `proc'" warnings.
12850 * proced.el (proced-send-signal):
12851 * emacs-lisp/lisp.el (lisp-complete-symbol):
12852 Replace completion-annotate-function with completion-extra-properties.
12853
2462470b
SM
128542011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
12855
fb5b2591
SM
12856 * simple.el (goto-line): Use read-number.
12857 (overriding-map-is-bound): Remove.
12858 (saved-overriding-map): Change default.
12859 (save&set-overriding-map): Rename from ensure-overriding-map-is-bound;
12860 Take the map as argument.
12861 (universal-argument, negative-argument, digit-argument): Use it.
12862 (restore-overriding-map): Adjust.
12863 (do-auto-fill): Use fill-forward-paragraph.
12864 (keyboard-quit): Don't signal an error when debug-on-quit is non-nil.
12865
fd6fa53f
SM
12866 * minibuffer.el (minibuffer-inactive-mode-map): New var.
12867 (minibuffer-inactive-mode): New major mode.
12868 * mouse.el (mouse-drag-region): Remove the "mouse-1 pops up
12869 the *Messages* buffer" hack.
12870 (mouse-popup-menubar): Don't burp if the event is a normal key.
12871
2462470b
SM
12872 Miscellaneous tweaks.
12873 * emacs-lisp/cl-macs.el (dolist, dotimes): Use the same strategy for
12874 lexical scoping as in subr.el's dolist and dotimes.
12875 * emacs-lisp/bytecomp.el (byte-compile-unfold-bcf):
12876 Silence compiler warning.
12877 * thingatpt.el (forward-whitespace): Trivial coding style fix.
12878 * subr.el (with-output-to-temp-buffer): Provide an edebug spec.
12879 * international/ccl.el (ccl-compile): Trivial simplification.
12880 * help-fns.el (help-do-arg-highlight): Silence compiler warning.
12881 * emacs-lisp/testcover.el (testcover-end): Remove spurious
12882 `printflag' argument.
12883 * emacs-lisp/byte-run.el (make-obsolete, make-obsolete-variable):
12884 Purecopy the whole obsolescence data.
12885
108bf785
LL
128862011-06-01 Leo Liu <sdl.web@gmail.com>
12887
12888 * net/rcirc.el (rcirc-decode-coding-system): Revert last change;
12889 improve doc-string as suggested by Marco Pessotto
12890 <melmothx@gmail.com>.
12891 (rcirc-print): Fix last change.
12892
30a23501
SM
128932011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
12894
12895 * minibuffer.el (complete-with-action): Return nil for the metadata and
12896 boundaries of non-functional tables.
12897 (completion-table-dynamic): Return nil for the metadata.
12898 (completion-table-with-terminator): Add default case, using
12899 complete-with-action.
12900 (completion--metadata): New function.
12901 (completion-all-sorted-completions, minibuffer-completion-help): Use it
12902 to try and avoid pathological performance problems.
12903 (completion--embedded-envvar-table): Return `category' metadata.
12904
bcd54f83
LMI
129052011-05-31 Lars Magne Ingebrigtsen <larsi@gnus.org>
12906
12907 * subr.el (process-alive-p): New tiny convenience function.
12908
e227544d
SM
129092011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
12910
12911 * emacs-lisp/debug.el (debug): Save&restore not just the buffer's
12912 content but also its previous major mode.
12913
e8296fdc
HE
129142011-05-31 Helmut Eller <eller.helmut@gmail.com>
12915
4d61f28d 12916 * emacs-lisp/debug.el (debug): Restore the previous content of the
e8296fdc
HE
12917 *Backtrace* buffer when we exit with C-M-c.
12918
620c53a6
SM
129192011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
12920
12921 * minibuffer.el: Add metadata method to completion tables.
12922 (completion-category-overrides): New defcustom.
12923 (completion-metadata, completion--field-metadata)
12924 (completion-metadata-get, completion--styles)
12925 (completion--cycle-threshold): New functions.
12926 (completion-try-completion, completion-all-completions):
12927 Add `metadata' argument to choose completion-styles.
12928 (completion--do-completion): Use metadata to choose cycling.
12929 (completion-all-sorted-completions): Use metadata for sorting.
12930 Remove :completion-cycle-penalty which is not needed any more.
12931 (completion--try-word-completion): Add `metadata' argument.
12932 (minibuffer-completion-help): Check metadata for annotation function
12933 and sorting.
12934 (completion-file-name-table): Return `category' metadata.
12935 (minibuffer-completing-file-name): Make obsolete.
12936 * simple.el (minibuffer-completing-symbol): Make obsolete.
12937 * icomplete.el (icomplete-completions): Pass new `metadata' param to
12938 completion-try-completion.
12939
1257e755
SM
129402011-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
12941
12942 * mail/smtpmail.el (smtpmail-send-data): Add progress reporter.
12943
3767e706
LL
129442011-05-30 Leo Liu <sdl.web@gmail.com>
12945
12946 * net/rcirc.el (rcirc-debug-buffer): Use visible buffer name.
5ab33f2b
LL
12947 (rcirc-print): Decode all incoming messages (bug#8744).
12948 (rcirc-decode-coding-system): Allow value nil for automatic coding
12949 system detection.
3767e706 12950
d1a5d56a
GM
129512011-06-01 Glenn Morris <rgm@gnu.org>
12952
12953 * mail/emacsbug.el (report-emacs-bug-hook): Mailclient ignores From.
12954
e8cbec34
CY
129552011-05-29 Chong Yidong <cyd@stupidchicken.com>
12956
12957 * image.el (image-animate-max-time): Allow nil and t values.
12958 Default to nil.
12959 (create-animated-image): Doc fix.
12960 (image-animate-start): Remove second arg; just use
12961 image-animate-max-time.
12962 (image-animate-timeout): Doc fix. Args changed.
12963
12964 * image-mode.el (image-toggle-display-image): Ensure that the
12965 image spec passed to the animate timer is the same object as in
58179cce 12966 the buffer's display property (Bug#6981).
e8cbec34
CY
12967 (image-transform-properties): Doc fix.
12968
12969 * image.el (image-animate-max-time): Default to nil.
12970
159daf87
MR
129712011-05-29 Martin Rudalics <rudalics@gmx.at>
12972
12973 * menu-bar.el (kill-this-buffer-enabled-p): Avoid looping over
12974 entire buffer list (Bug#8184).
12975
d66c4c7c
CY
129762011-05-29 Chong Yidong <cyd@stupidchicken.com>
12977
12978 * image.el (imagemagick-types-inhibit)
12979 (imagemagick-register-types): Doc fix.
12980
80aec780
DD
129812011-05-29 Deniz Dogan <deniz@dogan.se>
12982
12983 * net/rcirc.el (rcirc): Use the user's stored encryption method by
12984 default.
12985
1dd3c2d9
CY
129862011-05-29 Chong Yidong <cyd@stupidchicken.com>
12987
12988 * select.el: Don't perform clipboard-manager saving in hooks;
12989 leave the hooks empty.
12990
60e56523
LL
129912011-05-28 Leo Liu <sdl.web@gmail.com>
12992
12993 * replace.el (occur-menu-map, occur-edit-mode-map): New vars.
12994 (occur-mode-map): Bind occur-edit-mode. Use occur-menu-map.
12995 (occur-edit-mode): New major mode (Bug#8463).
12996 (occur-after-change-function): New function.
12997 (occur-engine): Give Occur tags a read-only property.
12998
2b1e1a22
KR
129992011-05-28 Kevin Ryde <user42@zip.com.au>
13000
13001 * subr.el (def-edebug-spec): Doc fix (Bug#8430).
13002
5d344e88
CY
130032011-05-28 Chong Yidong <cyd@stupidchicken.com>
13004
8e6ca83d
CY
13005 * bindings.el (help-echo): Make the initial non-indicator dash
13006 empty on graphical terminals (Bug#7295).
13007
5d344e88
CY
13008 * files.el (auto-mode-alist): Move config rule after the
13009 in-stripping one (Bug#8547).
13010
bfbbace7
CY
13011 * newcomment.el (comment-end-skip): Doc fix (Bug#8659).
13012
fbeba6e2
CY
13013 * startup.el (normal-splash-screen): Remove gratuitous mode-line
13014 setting (Bug#8740).
13015
60ed8c72
AA
130162011-05-28 Alp Aker <aker@pitt.edu> (tiny change)
13017
4ac619f0
AA
13018 * buff-menu.el (Buffer-menu-revert-function, Buffer-menu-sort)
13019 (Buffer-menu-buffer+size): Use Buffer-menu-buffer-column
13020 (Bug#8539).
60ed8c72 13021
23db196e
CY
130222011-05-28 Chong Yidong <cyd@stupidchicken.com>
13023
13024 * emacs-lisp/re-builder.el (re-builder): Improve doc (Bug#8286).
13025
5012f24c
DK
130262011-05-28 Dima Kogan <dkogan@cds.caltech.edu> (tiny change)
13027
13028 * progmodes/hideshow.el (hs-looking-at-block-start-p): New fun.
13029 (hs-hide-block-at-point, hs-find-block-beginning)
13030 (hs-already-hidden-p, hs-hide-block, hs-show-block): Use it
13031 (Bug#8279).
13032
6a639b16
GM
130332011-05-28 Glenn Morris <rgm@gnu.org>
13034
13035 * startup.el (fancy-about-screen): Use standard mode line. (Bug#8740)
13036
d43eaf2c
CY
130372011-05-28 Chong Yidong <cyd@stupidchicken.com>
13038
5199bde1
CY
13039 * help-fns.el (describe-function-1): If the function is a derived
13040 major mode, print the parent mode.
13041
d43eaf2c
CY
13042 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode, java-mode)
13043 (idl-mode, pike-mode, awk-mode): Inherit from prog-mode.
13044
423428a8
SM
130452011-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
13046
0ff8e1ba 13047 * minibuffer.el (completion--capf-wrapper): Check applicability before
0b381c7e 13048 returning non-nil for non-exclusive completion data.
0ff8e1ba
SM
13049 * progmodes/etags.el (tags-completion-at-point-function):
13050 * info-look.el (info-lookup-completions-at-point): Mark as
13051 non-exclusive.
13052 (info-complete): Adjust accordingly.
13053
423428a8
SM
13054 * info-look.el: Convert to lexical-binding and completion-at-point.
13055 (info-lookup-completions-at-point): New function.
13056 (info-complete): Use it and completion-in-region.
13057
b74aa22b
DA
130582011-05-28 Drew Adams <drew.adams@oracle.com>
13059
13060 * isearch.el: Let M-e start with point at the first mismatched char.
13061 (isearch-fail-pos): New function.
13062 (isearch-edit-string): Use it.
13063
66e2e71d
DK
130642011-05-28 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
13065
13066 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
13067
b1890b0f 130682011-05-27 Toby Cubitt <toby-predictive@dr-qubit.org>
eb95d01d
TC
13069
13070 * emacs-lisp/avl-tree.el: New avl-tree-stack datatype. Add new
13071 traversal functions for avl-trees.
13072 (avl-tree--stack): New struct.
13073 (avl-tree-stack-p, avl-tree--stack-repopulate): New funs.
13074 (avl-tree-enter): Add optional `updatefun' arg.
93a1c12a
TC
13075 (avl-tree--do-enter): Add optional `updatefun' arg.
13076 Change return value.
eb95d01d 13077 (avl-tree-delete): Add optional `test' and `nilflag' args.
93a1c12a
TC
13078 (avl-tree--do-delete): Add `test' and `nilflag' args.
13079 Change return value.
eb95d01d
TC
13080 (avl-tree-member): Add optional `nilflag'
13081 (avl-tree-member-p): New function.
13082 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar): New functions.
13083 (avl-tree-stack, avl-tree-stack-pop, avl-tree-stack-first)
13084 (avl-tree-stack-empty-p): New functions.
13085
3769ddcf
TC
13086 * emacs-lisp/avl-tree.el (avl-tree--del-balance): Rename from
13087 avl-tree--del-balance1 and make it work both ways.
13088 (avl-tree--del-balance2): Remove.
13089 (avl-tree--enter-balance): Rename from avl-tree--enter-balance1 and
13090 make it work both ways.
13091 (avl-tree--enter-balance2): Remove.
13092 (avl-tree--switch-dir, avl-tree--dir-to-sign, avl-tree--sign-to-dir):
13093 New macros.
13094 (avl-tree--mapc, avl-tree-map): Add direction argument.
13095
eb95d01d 130962011-05-27 David Michael <fedora.dm0@gmail.com> (tiny change)
7a6b1aef
DM
13097
13098 * files.el (interpreter-mode-alist): Add rbash (bug#8745).
13099
a9f737ee
CY
131002011-05-27 Chong Yidong <cyd@stupidchicken.com>
13101
13102 * select.el: Support clipboard managers with built-in function
13103 x-clipboard-manager-save, via delete-frame-functions and
13104 kill-emacs-hook.
13105 (xselect-convert-to-targets): Add MULTIPLE target to list.
13106 (xselect-convert-to-save-targets): New function.
13107
c92a1e54
KH
131082011-05-27 Kenichi Handa <handa@m17n.org>
13109
13110 * mail/sendmail.el (mail-encode-header): Avoid double encoding by
13111 let-binding rfc2047-encode-encoded-words to nil.
13112
e145f188
GM
131132011-05-27 Glenn Morris <rgm@gnu.org>
13114
5ec8a862
GM
13115 * mail/emacsbug.el: Don't require url-util.
13116
4b29d9fb
GM
13117 * shell.el (shell-directory-tracker): Case matters. (Bug#8735)
13118
e145f188
GM
13119 * files.el (set-auto-mode):
13120 Also respect mode: entries at the end of the file. (Bug#8586)
13121
7d15102b
GM
131222011-05-26 Glenn Morris <rgm@gnu.org>
13123
98f593b8
GM
13124 * files.el (hack-local-variables-prop-line, hack-local-variables):
13125 Downcase mode names, as seems to be traditional.
27b48e63 13126 (hack-local-variables, hack-local-variables-apply): Doc fixes.
98f593b8 13127
7d15102b
GM
13128 * mail/emacsbug.el (report-emacs-bug): Mention checking From address.
13129 (report-emacs-bug-hook): Try to validate the From address. (Bug#8038)
13130
51d5b4ec
JD
131312011-05-25 Julien Danjou <julien@danjou.info>
13132
13133 * textmodes/rst.el (rst-define-level-faces): Do not define face
13134 symbol if it is already defined.
13135
91513f63
VB
131362011-05-24 Vincent Belaïche <vincentb1@users.sourceforge.net>
13137
13138 * play/5x5.el (5x5-new-game, 5x5-randomize):
13139 Reset 5x5-solver-output to nil when a new grid is cast.
13140 (5x5-log-init, 5x5-log): Use defsubst instead of defmacro to shunt
13141 these debugging traces, as defmacro breaks the compiled code.
13142
4d90d6d0
DK
131432011-05-24 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
13144
13145 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
13146
e1b90ef6
LL
131472011-05-24 Leo Liu <sdl.web@gmail.com>
13148
13149 * vc/vc-bzr.el (vc-bzr-sha1-program): Rename from sha1-program.
13150 (vc-bzr-sha1): Adapt.
13151
d8e4b68b 13152 * sha1.el: Remove. Function `sha1' is now builtin.
e1b90ef6
LL
13153
13154 * bindings.el: Provide sha1 feature.
13155
db0406bb 131562011-05-24 Kenichi Handa <handa@m17n.org>
b8d747b9
KH
13157
13158 * mail/sendmail.el: Require `rfc2047'.
13159 (mail-insert-from-field): Do not perform RFC2047 encoding.
13160 (mail-encode-header): New function.
13161 (sendmail-send-it): Set buffer-file-coding-system of the work
4d90d6d0
DK
13162 buffer to the return value of select-message-coding-system.
13163 Call mail-encode-header.
b8d747b9
KH
13164
13165 * mail/smtpmail.el (smtpmail-send-it): Call mail-encode-header.
13166
db0406bb 131672011-05-24 Sean Neakums <sneakums@zork.net> (tiny change)
7261f6ce 13168
4d90d6d0
DK
13169 * mail/supercite.el (sc-default-cite-frame):
13170 Handle sc-nested-citation-p when sc-cite-blank-lines-p is non-nil.
7261f6ce 13171
eb8a5e9b
GM
131722011-05-24 Glenn Morris <rgm@gnu.org>
13173
f8630703
GM
13174 * progmodes/python.el (brm-menu): Declare.
13175
8831bbed
GM
13176 * emulation/viper.el (viper-set-hooks): Declare.
13177
eb8a5e9b
GM
13178 * play/5x5.el (5x5-log-init, 5x5-log): Evaluate when compiling.
13179 (5x5-log-init, 5x5-log, 5x5-solver): Doc fixes.
13180 (math-map-vec, math-sub, math-mul, math-make-intv, math-reduce-vec)
13181 (math-format-number, math-pow, calcFunc-arrange, calcFunc-cvec)
13182 (calcFunc-diag, calcFunc-trn, calcFunc-inv, calcFunc-mrow)
13183 (calcFunc-mcol, calcFunc-vconcat, calcFunc-index): Declare.
13184
a2a25d24
SM
131852011-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
13186
13187 Add an :exit-function for completion-at-point.
13188
13189 * minibuffer.el (completion--done): New fun.
13190 (completion--do-completion): Use it. New arg `expect-exact'.
13191 (minibuffer-complete, minibuffer-complete-word): Don't output message,
13192 since completion--do-completion does it for us now.
13193 (minibuffer-force-complete): Use completion--done and
13194 completion--replace. Handle sole-completion case with more care.
13195 (minibuffer-complete-and-exit): Use new `expect-exact' arg.
13196 (completion-extra-properties): New var.
13197 (completion-annotate-function): Make obsolete.
13198 (minibuffer-completion-help): Adjust accordingly.
13199 Use completion-list-insert-choice-function.
13200 (completion-at-point, completion-help-at-point):
13201 Bind completion-extra-properties.
13202 (completion-pcm-word-delimiters): Add | (for uniquify, for example).
13203 * simple.el (completion-list-insert-choice-function): New var.
13204 (completion-setup-function): Preserve it.
13205 (choose-completion): Pay attention to it, shuffle the code a bit.
13206 (choose-completion-string): New arg `insert-function'.
13207
13208 * textmodes/bibtex.el: Convert to lexical binding.
13209 (bibtex-mode-map): Use completion-at-point.
13210 (bibtex-mode): Use define-derived-mode&completion-at-point-functions.
13211 (bibtex-completion-at-point-function): New fun, from bibtex-complete.
13212 (bibtex-complete): Define as obsolete alias.
13213 (bibtex-complete-internal): Remove.
13214 (bibtex-format-entry): Remove unused sub-group in regexp.
13215 * shell.el (shell--command-completion-data)
13216 (shell-environment-variable-completion):
13217 * pcomplete.el (pcomplete-completions-at-point):
13218 * comint.el (comint--complete-file-name-data): Use :exit-function
13219 instead of completion-table-with-terminator so it also works for
13220 choose-completion.
13221
e44e373d
SM
132222011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
13223
4f91a816
SM
13224 * <lots-of-files>.el: Don't quote lambda expressions with `quote'.
13225
782fc819
SM
13226 * vc/smerge-mode.el (smerge-refine-subst): Don't deactivate the mark
13227 (bug#8710).
13228
e44e373d
SM
13229 * emacs-lisp/lisp.el (up-list): Fix forward movement (bug#8708).
13230
381987c3
KM
132312011-05-23 Ken Manheimer <ken.manheimer@gmail.com>
13232
13233 * allout.el (allout-inhibit-auto-fill-on-headline): Create new
13234 customization variable and implement: If non-nil, auto-fill will
13235 be inhibited while on topic's header line.
13236
b776bc70
VB
132372011-05-23 Vincent Belaïche <vincentb1@users.sourceforge.net>
13238
13239 * play/5x5.el: I/ Add an arithmetic solver to suggest positions to
d8e4b68b 13240 click on. II/ Make 5x5 multisession. III/ Ensure that random grids
b776bc70
VB
13241 always have a solution in grid size = 5 cases.
13242 (5x5-mode-map): Add keybinding to function `5x5-solve-suggest'.
13243 (5x5-solver-output, 5x5-log-buffer): New vars.
13244 (5x5-grid, 5x5-x-pos, 5x5-y-pos, 5x5-moves, 5x5-cracking):
13245 Make these variables buffer local to achieve 5x5 multi-session-ness.
13246 (5x5): Set 5x5-grid-size only if SIZE is non-negative.
13247 (5x5-grid-to-vec, 5x5-vec-to-grid, 5x5-log-init, 5x5-log, 5x5-solver)
13248 (5x5-solve-suggest): New funs.
13249 (5x5-randomize): Use 5x5-make-move instead of 5x5-flip-cell to
13250 randomize a grid so that we ensure that there is always a solution.
13251 (5x5-make-random-grid): Allow other movement than flipping.
13252
7de88b6e
KR
132532011-05-23 Kevin Ryde <user42@zip.com.au>
13254
13255 * emacs-lisp/advice.el (ad-read-advised-function):
5a5fa834 13256 Use `function-called-at-point' as the default, if it has
7de88b6e
KR
13257 advice and passes PREDICATE.
13258
b1ef1257
SM
132592011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
13260
bbca48fe
SM
13261 * emacs-lisp/bytecomp.el (byte-compile-function-form): Only call
13262 byte-compile-lambda if it's actually a lambda.
13263
b1ef1257
SM
13264 * emacs-lisp/eieio.el (eieio-defgeneric-form-primary-only-one):
13265 Fix function quoting. Use backquote better.
13266
92a9cc65
YS
132672011-05-22 Yuanle Song <sylecn@gmail.com>
13268
13269 * nxml/rng-xsd.el (rng-xsd-check-pattern): Use case-sensitive
13270 matching (Bug#8516).
13271
f0fb8059
JA
132722011-01-22 Jari Aalto <jari.aalto@cante.net>
13273
13274 * vc/vc-dir.el (vc-default-dir-printer): Give edited tag a
13275 different face (Bug#8178).
13276
d5b44c93
CY
132772011-05-22 Chong Yidong <cyd@stupidchicken.com>
13278
13279 * vc/diff-mode.el (diff-changed): Don't use terminal specs for
13280 defface (Bug#8144).
13281
79106a44
SM
132822011-05-22 Stefan Monnier <monnier@iro.umontreal.ca>
13283
9c848d8a
SM
13284 * emacs-lisp/macroexp.el (macroexpand-all-1): Convert ' to #' for
13285 funcall as well (bug#8712). Warn when performing those conversions.
13286 * emacs-lisp/bytecomp.el (byte-compile-form): Fix error report.
13287
79106a44
SM
13288 * progmodes/grep.el (grep-mode): Fix it for good (bug#8684)!
13289
88dfa756
GM
132902011-05-22 Glenn Morris <rgm@gnu.org>
13291
13292 * files.el (hack-local-variables-prop-line): Small simplifications.
13293 (hack-local-variables, hack-local-variables-prop-line):
13294 If MODE-ONLY, return the mode, rather than just `t'.
13295
b7cf2c79
SM
132962011-05-21 Stefan Monnier <monnier@iro.umontreal.ca>
13297
13298 * progmodes/grep.el (grep-mode): Fix last change (bug#8684).
13299
3f1a8558
GM
133002011-05-21 Glenn Morris <rgm@gnu.org>
13301
7e4ccca3
GM
13302 * files.el (hack-local-variables-prop-line, hack-local-variables):
13303 If only interested in the mode, don't bother doing the other stuff.
13304
637d46ca
GM
13305 * image-mode.el (image-after-revert-hook):
13306 Redraw all frames on which the image is visible. (Bug#8567)
13307
973d955b
GM
13308 * dired-aux.el (dired-touch-initial): Just use current-time. (Bug#6887)
13309
3f1a8558
GM
13310 * wid-edit.el (widget-checklist-match-inline):
13311 Fix 2011-04-19 change. (Bug#8649)
13312
96479927
SM
133132011-05-20 Stefan Monnier <monnier@iro.umontreal.ca>
13314
1dcf791f
SM
13315 * emacs-lisp/checkdoc.el (checkdoc-sentencespace-region-engine):
13316 Also allow singlespace after single-letter capitals followed by a dot.
13317
96479927
SM
13318 * nxml/nxml-mode.el (nxml-electric-slash): Reindent when completion is
13319 enabled. Suggested by James Ahlborn <jahlborn@gmail.com> (bug#8704).
13320
35fd0881
N
133212011-05-20 Nix <nix@esperi.org.uk>
13322
13323 * files.el (basic-save-buffer-2):
13324 Fix handling of break-hardlink-on-save with non-existent files.
13325
82745640
DD
133262011-05-19 Deniz Dogan <deniz@dogan.se>
13327
13328 * net/rcirc.el (rcirc-mode): Initialize rcirc-urls to nil.
9ff90d99 13329 (rcirc-markup-urls): Check if rcirc-url-regexp is nil.
82745640 13330
4a720484
GM
133312011-05-19 Glenn Morris <rgm@gnu.org>
13332
d1f21341
GM
13333 * progmodes/f90.el (f90-type-def-re):
13334 Handle "type, bind(c)". (Bug#8691)
13335
4a720484
GM
13336 * emacs-lisp/autoload.el (batch-update-autoloads):
13337 Set autoload-excludes by parsing loadup.el rather than Makefiles.
13338
2fb0a219
MA
133392011-05-18 Michael Albinus <michael.albinus@gmx.de>
13340
13341 * net/tramp.el (tramp-process-actions): Set "first-password-request"
13342 property for the correct connection in case of multihops.
13343
e565dd37
GM
133442011-05-18 Glenn Morris <rgm@gnu.org>
13345
c2571358 13346 * emacs-lisp/authors.el (authors-fixed-entries): Remove fakemail.c.
c136e5cd
GM
13347 * mail/sendmail.el (sendmail-program): Fall back to just "sendmail".
13348
e565dd37
GM
13349 Rationalize calendar handling of day and month abbrev-arrays.
13350 * calendar/calendar.el (calendar-customized-p): New function.
13351 (calendar-abbrev-construct, calendar-make-alist): Change what it does.
13352 (calendar-day-name-array, calendar-month-name-array): Doc fix.
13353 Add :set function.
13354 (calendar-abbrev-length, calendar-day-abbrev-array)
13355 (calendar-month-abbrev-array): Make defcustoms, with appropriate :set.
13356 (calendar-day-abbrev-array, calendar-month-abbrev-array):
13357 Elements may no longer be nil.
13358 (calendar-day-name, calendar-month-name):
13359 Update for changed nature of abbrev arrays.
13360 * calendar/diary-lib.el (diary-name-pattern):
13361 Update for changed nature of abbrev arrays.
13362 (diary-mark-entries-1): Update calendar-make-alist calls.
13363 (diary-font-lock-date-forms): Doc fix for changed abbrev arrays.
13364 * calendar/cal-html.el (cal-html-day-abbrev-array):
13365 Simply inherit from calendar-day-abbrev-array.
13366
1d99a745
SM
133672011-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
13368
13369 * progmodes/grep.el (grep-mode): Disable default
13370 compilation-directory-matcher setting (bug#8684).
13371
7c1d9aa0
MA
133722011-05-17 Michael Albinus <michael.albinus@gmx.de>
13373
13374 * net/tramp.el (tramp-handle-insert-file-contents): Use "dd"
13375 instead of "head" and "tail". There were problems with SunOS 5.9,
13376 and it performs better.
13377
3952e9d8
GM
133782011-05-17 Glenn Morris <rgm@gnu.org>
13379
2dd12e7f
GM
13380 * mail/mail-utils.el (mail-dont-reply-to): Silence compiler.
13381
e4157b9c
GM
13382 * progmodes/idlw-shell.el (idlwave-shell-complete-filename):
13383 Replace obsolete function.
13384
8e249bbd
GM
13385 * shell.el (pcomplete-parse-arguments-function): Declare.
13386
3952e9d8
GM
13387 * calendar/appt.el (appt-message-warning-time, appt-display-mode-line)
13388 (appt-display-diary, appt-display-interval, appt-prev-comp-time)
13389 (appt-check): Doc fixes.
13390 (appt-disp-window-function, appt-delete-window-function):
13391 Remove needless special case in custom :type.
13392 (appt-display-count): Default to 0, not nil.
13393 (appt-check): Reset appt-display-count to 0, not nil.
13394
c71a0d48 133952011-05-17 Juanma Barranquero <lekktu@gmail.com>
165fd2df 13396
c71a0d48
GM
13397 * progmodes/python.el (python-font-lock-keywords):
13398 Add the Python 3.X keyword "nonlocal" (bug#8639).
165fd2df 13399
31d55be9
SM
134002011-05-16 Stefan Monnier <monnier@iro.umontreal.ca>
13401
13402 * emacs-lisp/eieio.el (defmethod): Fix quoting of code (bug#8677).
13403
3bfacb2f
KR
134042011-05-16 Kevin Ryde <user42@zip.com.au>
13405
13406 * info-look.el (makefile-automake-mode): New setups, looking in
13407 automake manual, then makefile-mode.
13408 (makefile-mode): Remove automake manual, have it just in
13409 makefile-automake-mode since there's various things different or
13410 not relevant to plain make.
13411 (makefile-mode): Remove "other-modes" non-existent automake-mode,
13412 believe a hypothetical automake-mode would go to makefile-mode,
13413 not the other way around.
13414
c8e83751
CY
134152011-05-15 Chong Yidong <cyd@stupidchicken.com>
13416
5e9e35cd
CY
13417 * vc/diff-mode.el (diff-fixup-modifs): Locate correct position for
13418 hunk-end tags (Bug#8672).
13419
c8e83751
CY
13420 * vc/vc-annotate.el (vc-annotate-mode-map): Bind = to
13421 vc-annotate-show-diff-revision-at-line (Bug#8671).
13422
50b23e5a
GM
134232011-05-14 Glenn Morris <rgm@gnu.org>
13424
7210a739
GM
13425 * vc/add-log.el (add-change-log-entry): Don't start adding a new entry
13426 in the middle of an existing one with multiple authors. (Bug#8645)
375cb676
GM
13427 (change-log-font-lock-keywords): Also handle multiple author lines
13428 with leading tabs. (Bug#8644)
7210a739 13429
4691905a
GM
13430 * calendar/appt.el (appt-check): Rename some local variables.
13431 Some simplification/reordering.
13432
50b23e5a
GM
13433 * mail/feedmail.el (feedmail-confirm-outgoing-timeout)
13434 (feedmail-sendmail-f-doesnt-sell-me-out)
13435 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
13436 (feedmail-debug-sit-for, feedmail-queue-express-hook)
13437 (feedmail-queue-runner-message-sender): Set :version.
1aa64307
GM
13438 (bbdb-search, bbdb-records, smtp-via-smtp, smtp-server)
13439 (bbdb-dwim-net-address, vm-mail): Declare.
50b23e5a
GM
13440 (feedmail-binmail-gnulinuxish-template):
13441 Rename from feedmail-binmail-linuxish-template.
13442 (feedmail-buffer-to-smtp, feedmail-vm-mail-mode):
13443 Use insert-buffer-substring.
13444
215cda7c
BC
134452011-05-14 Bill Carpenter <bill@carpenter.org>
13446
13447 * mail/feedmail.el (feedmail-patch-level): Increase.
13448 (feedmail-debug): New custom group.
13449 (feedmail-confirm-outgoing-timeout)
13450 (feedmail-sendmail-f-doesnt-sell-me-out)
13451 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
13452 (feedmail-debug-sit-for, feedmail-queue-express-hook): New options.
13453 (feedmail-sender-line, feedmail-from-line)
13454 (feedmail-fiddle-headers-upwardly, feedmail-enable-spray)
c2571358 13455 (feedmail-spray-this-address)
215cda7c
BC
13456 (feedmail-spray-address-fiddle-plex-list)
13457 (feedmail-queue-use-send-time-for-date)
13458 (feedmail-queue-use-send-time-for-message-id)
13459 (feedmail-last-chance-hook, feedmail-queue-runner-mode-setter)
13460 (feedmail-buffer-eating-function):
13461 Doc fixes.
13462 (feedmail-spray-via-bbdb, feedmail-buffer-to-smtp)
13463 (feedmail-vm-mail-mode, feedmail-message-action-scroll-up)
13464 (feedmail-message-action-scroll-down): New functions.
13465 (feedmail-queue-directory, feedmail-queue-draft-directory):
13466 Use expand-file-name.
13467 (feedmail-prompt-before-queue-standard-alist): Add scroll entries.
13468 Remove C-v help entry.
13469 (feedmail-queue-buffer-file-name): New variable.
13470 (feedmail-mail-send-hook-splitter, feedmail-buffer-to-binmail)
13471 (feedmail-buffer-to-smtpmail, feedmail-queue-express-to-draft)
13472 (feedmail-message-action-send-strong, feedmail-message-action-edit)
13473 (feedmail-message-action-draft, feedmail-message-action-draft-strong)
13474 (feedmail-message-action-queue, feedmail-message-action-queue-strong)
13475 (feedmail-message-action-toggle-spray)
13476 (feedmail-run-the-queue-no-prompts)
13477 (feedmail-run-the-queue-global-prompt, feedmail-queue-reminder)
13478 (feedmail-look-at-queue-directory, feedmail-queue-subject-slug-maker)
13479 (feedmail-create-queue-filename, feedmail-rfc822-time-zone):
13480 (feedmail-fiddle-header, feedmail-give-it-to-buffer-eater)
13481 (feedmail-envelope-deducer, feedmail-fiddle-from)
13482 (feedmail-fiddle-sender, feedmail-default-date-generator)
13483 (feedmail-fiddle-date, feedmail-fiddle-message-id)
13484 (feedmail-fiddle-spray-address)
13485 (feedmail-fiddle-list-of-spray-fiddle-plexes)
13486 (feedmail-fiddle-list-of-fiddle-plexes)
13487 (feedmail-fill-to-cc-function, feedmail-fill-this-one)
13488 (feedmail-one-last-look, feedmail-fqm-p): Add debug calls.
13489 (feedmail-queue-runner-message-sender, feedmail-binmail-template):
13490 Change default. Doc fix.
13491 (feedmail-queue-runner-cleaner-upper): Use feedmail-say-chatter.
13492 (feedmail-binmail-linuxish-template): New constant.
13493 (feedmail-buffer-to-sendmail): Doc fix. Add debug call.
13494 Respect feedmail-sendmail-f-doesnt-sell-me-out.
13495 (feedmail-send-it): Add debug call.
13496 Use feedmail-queue-buffer-file-name, and
13497 feedmail-send-it-immediately-wrapper.
13498 (feedmail-message-action-send): Add debug call.
13499 Use feedmail-send-it-immediately-wrapper.
13500 (feedmail-queue-express-to-queue): Add debug call.
13501 Run feedmail-queue-express-hook.
13502 (feedmail-message-action-help): Add debug call. Use feedmail-p-h-b-n.
13503 (feedmail-message-action-help-blat):
13504 Rename from feedmail-queue-send-edit-prompt-help-first.
13505 (feedmail-run-the-queue): Add debug call. Set buffer-file-type.
13506 Check line-endings. Handle errors better.
13507 (feedmail-queue-reminder-brief, feedmail-queue-reminder-medium):
13508 Doc fix. Add debug call.
13509 (feedmail-queue-send-edit-prompt): Doc fix. Add debug call.
13510 Use feedmail-queue-send-edit-prompt-inner.
13511 (feedmail-queue-runner-prompt, feedmail-scroll-buffer): New functions.
13512 (feedmail-queue-send-edit-prompt-inner): New function, extracted
13513 from feedmail-queue-send-edit-prompt.
13514 (feedmail-queue-send-edit-prompt-help)
13515 (feedmail-queue-send-edit-prompt-help-later): Remove functions.
13516 (feedmail-tidy-up-slug): Add debug call.
13517 Respect feedmail-queue-slug-suspect-regexp.
13518 (feedmail-queue-subject-slug-maker): Use buffer-substring-no-properties.
13519 (feedmail-dump-message-to-queue): Add debug call.
13520 Expand queue-directory.
13521 (feedmail-dump-message-to-queue): Change message slightly.
13522 Use feedmail-say-chatter.
13523 (feedmail-rfc822-date): Add debug call. Bind system-time-locale.
13524 (feedmail-send-it-immediately-wrapper): New function.
13525 (feedmail-send-it-immediately): Add debug calls. Use let not let*.
13526 Insert empty string rather than newline. Handle full-frame case.
13527 Use catch/throw. Use feedmail-say-chatter.
13528 (feedmail-fiddle-from): Try mail-host-address.
13529 (feedmail-default-message-id-generator): Doc fix.
13530 Bind system-time-locale. Handle missing end.
13531 (feedmail-fiddle-x-mailer): Add debug call.
13532 Handle feedmail-x-mailer-line being nil.
13533 (feedmail-accume-n-nuke-header, feedmail-deduce-address-list):
13534 Add debug call. Use buffer-substring-no-properties.
13535 (feedmail-say-debug, feedmail-say-chatter): New functions.
13536 (feedmail-find-eoh): Give an explicit error.
13537
42c7e61e
UJ
135382011-05-13 Ulf Jasper <ulf.jasper@web.de>
13539
c2571358 13540 * net/newst-treeview.el (newsticker-treeview-face): Change default
42c7e61e 13541 family from helvetica to sans.
c2571358 13542 (newsticker-treeview-tool-bar-map): Move tool-bar icons to
42c7e61e
UJ
13543 etc/images/newsticker.
13544
c2571358 13545 * net/newst-reader.el (newsticker-feed-face): Change default
42c7e61e
UJ
13546 family from helvetica to sans.
13547
13548 * net/newst-plainview.el (newsticker-new-item-face)
13549 (newsticker-old-item-face, newsticker-immortal-item-face)
13550 (newsticker-obsolete-item-face, newsticker-date-face)
c2571358 13551 (newsticker-statistics-face): Change default family from
42c7e61e 13552 helvetica to sans.
c2571358 13553 (newsticker--plainview-tool-bar-map): Move tool-bar icons to
42c7e61e
UJ
13554 etc/images/newsticker.
13555
5d3385a0
JB
13556 * net/newst-backend.el (newsticker--do-run-auto-mark-filter)
13557 (newsticker--process-auto-mark-filter-match): Tell user about
42c7e61e
UJ
13558 auto-marking.
13559
8497a297
DV
135602011-05-13 Didier Verna <didier@xemacs.org>
13561
13562 Common Lisp indentation improvements on defmethod and lambda-lists.
4d61f28d
JB
13563 * emacs-lisp/cl-indent.el: Advertise the changes and remove obsolete
13564 TODO entries.
8497a297
DV
13565 (lisp-lambda-list-keyword-parameter-indentation)
13566 (lisp-lambda-list-keyword-parameter-alignment)
13567 (lisp-lambda-list-keyword-alignment): New customizable user options.
13568 (lisp-indent-defun-method): Improve docstring.
13569 (extended-loop-p): Fix comment.
13570 (lisp-indent-lambda-list-keywords-regexp): New variable.
13571 (lisp-indent-lambda-list): New function.
13572 (lisp-indent-259): Use it.
13573 (lisp-indent-defmethod): Support for more than one
13574 method qualifier and properly indent methods lambda-lists.
13575 (defgeneric): Provide a missing common-lisp-indent-function property.
13576
f278f87f
SM
135772011-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
13578
13579 * thingatpt.el (bounds-of-thing-at-point): Return nil rather than
13580 bounds for the empty string (bug#8667).
13581
5233edd7
GM
135822011-05-13 Glenn Morris <rgm@gnu.org>
13583
5237a44f
GM
13584 * mail/feedmail.el (feedmail-buffer-to-sendmail): Require sendmail.
13585
8340026c 13586 * mail/sendmail.el (sendmail-program): Try executable-find first.
f278f87f 13587 (sendmail-send-it): `sendmail-program' cannot be unbound.
8340026c 13588
5233edd7 13589 * calendar/appt.el (appt-make-list): Simplify.
4accbca6 13590 (appt-time-msg-list): Doc fix.
a5464014 13591 (appt-check): Change mode-line message at the time of the appointment.
5233edd7 13592
92d10796
AS
135932011-05-12 Andreas Schwab <schwab@linux-m68k.org>
13594
13595 * progmodes/ld-script.el (ld-script-keywords)
13596 (ld-script-builtins): Update keywords list.
13597
914a0ae1
SM
135982011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
13599
c89be45f
SM
13600 * progmodes/grep.el (grep-filter): Don't trip on partial lines.
13601
914a0ae1
SM
13602 * shell.el (shell-completion-vars): New function.
13603 (shell-mode):
13604 * simple.el (read-shell-command): Use it.
13605 (blink-matching-open): No need for " [...]" in minibuffer-message.
13606
98dc3df3
GM
136072011-05-12 Glenn Morris <rgm@gnu.org>
13608
13609 * calendar/appt.el (appt-now-displayed): Remove pointless variable.
13610 (appt-check): Simplify.
13611
d2fc7e3d 136122011-05-12 Eli Zaretskii <eliz@gnu.org>
0e39ec21 13613
4d61f28d 13614 * vc/smerge-mode.el (smerge-resolve): Use null-device rather than a
0e39ec21
EZ
13615 literal "/dev/null".
13616
d2fc7e3d 136172011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
3f254caa
SM
13618
13619 * emacs-lisp/lisp.el (lisp-complete-symbol, lisp-completion-at-point):
13620 Fix typo.
13621
d2fc7e3d 136222011-05-12 Ralph Schleicher <rs@ralph-schleicher.de>
6eea50c7 13623
3f254caa
SM
13624 * progmodes/which-func.el (which-function):
13625 Use add-log-current-defun instead of add-log-current-defun-function,
6eea50c7
RS
13626 which might not be defined (Bug#8260).
13627
d45885f7
GM
136282011-05-12 Glenn Morris <rgm@gnu.org>
13629
13630 * emacs-lisp/bytecomp.el (byte-compile-file-form-defmumble):
13631 Let byte-compile-initial-macro-environment always take precedence.
13632
488086f4
SM
136332011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
13634
13635 * net/rcirc.el: Add support for SSL/TLS connections.
13636 (rcirc-server-alist): New field `encryption'.
13637 (rcirc): Check `encryption' settings.
13638 (rcirc-connect): New arg `encryption'. Use open-network-stream.
13639 Merge make-local-variable into `set'.
13640 (rcirc--connection-open-p): New function.
13641 (rcirc-send-string, rcirc-clean-up-buffer): Use it to handle case where
13642 the process is not a network process (e.g. running gnutls-cli).
13643 (set-rcirc-decode-coding-system, set-rcirc-encode-coding-system):
13644 Make rcirc-(en|de)code-coding-system local here.
13645 (rcirc-mode): Merge make-local-variable into `set'.
13646 (rcirc-parent-buffer): Make permanent buffer-local.
13647 (rcirc-multiline-minor-mode): Don't do it here.
13648 (rcirc-switch-to-server-buffer): Don't switch to a random buffer if
13649 there's no server buffer.
13650
7d3b9d44
GM
136512011-05-11 Glenn Morris <rgm@gnu.org>
13652
f64049c6
GM
13653 * newcomment.el (comment-kill): Prefix "unused" local.
13654
93c9df73
GM
13655 * term/w32console.el (get-screen-color): Declare.
13656
7d3b9d44
GM
13657 * emacs-lisp/bytecomp.el (byte-compile-arglist-warn):
13658 Handle symbol elements of byte-compile-initial-macro-environment.
13659
9e2dd53f
LL
136602011-05-10 Leo Liu <sdl.web@gmail.com>
13661
488086f4
SM
13662 * bookmark.el (bookmark-bmenu-mode-map):
13663 Bind bookmark-bmenu-search to `/'.
8b340240 13664
9e2dd53f 13665 * mail/footnote.el: Convert to utf-8 encoding.
b4044869
LL
13666 (footnote-unicode-string, footnote-unicode-regexp): New variable.
13667 (Footnote-unicode): New function.
13668 (footnote-style-alist): Add unicode style to the list.
13669 (footnote-style): Doc fix.
9e2dd53f 13670
79b70037
GM
136712011-05-10 Jim Meyering <meyering@redhat.com>
13672
13673 Fix doubled-word typos.
13674 * international/quail.el (quail-insert-kbd-layout): and and -> and
13675 * kermit.el: and and -> and
13676 * net/ldap.el (ldap-search-internal): to to -> to
13677 * progmodes/vhdl-mode.el (vhdl-offsets-alist): Likewise.
13678 * progmodes/js.el (js-mode): and and -> and
13679 * textmodes/artist.el (artist-move-to-xy): at at -> at
13680 (artist-draw-region-trim-line-endings): if if -> if
13681 And Safetyc -> Safety.
13682 * textmodes/reftex-dcr.el (reftex-view-crossref): at at -> at a
13683
b8f82dc1 136842011-05-10 Glenn Morris <rgm@gnu.org>
c2571358 13685 Stefan Monnier <monnier@iro.umontreal.ca>
b8f82dc1
GM
13686
13687 * files.el (hack-one-local-variable-eval-safep):
13688 Consider "eval: (foo-mode)" to be safe. (Bug#8613)
13689
4f99f44b
GM
136902011-05-10 Glenn Morris <rgm@gnu.org>
13691
13692 * calendar/diary-lib.el (diary-list-entries-hook)
13693 (diary-mark-entries-hook, diary-nongregorian-listing-hook)
13694 (diary-nongregorian-marking-hook, diary-list-entries)
13695 (diary-include-other-diary-files, diary-mark-entries)
13696 (diary-mark-included-diary-files): Doc fixes.
13697
84f29e6b
JB
136982011-05-09 Juanma Barranquero <lekktu@gmail.com>
13699
13700 * misc.el: Require tabulated-list.el during compilation.
13701
9bedd73a
CY
137022011-05-09 Chong Yidong <cyd@stupidchicken.com>
13703
488086f4
SM
13704 * progmodes/compile.el (compilation-start):
13705 Run compilation-filter-hook for the async case too.
9bedd73a
CY
13706 (compilation-filter-hook): Doc fix.
13707
797c735c
DD
137082011-05-09 Deniz Dogan <deniz@dogan.se>
13709
13710 * wdired.el: Remove outdated installation comment. Fix usage
13711 comment.
13712
5f4b1dfe
JB
137132011-05-09 Juanma Barranquero <lekktu@gmail.com>
13714
13715 * misc.el: Implement new command `list-dynamic-libraries'.
13716 (list-dynamic-libraries--loaded-only-p): New variable.
13717 (list-dynamic-libraries--refresh): New function.
13718 (list-dynamic-libraries): New command.
13719
4c44026c
CY
137202011-05-09 Chong Yidong <cyd@stupidchicken.com>
13721
488086f4
SM
13722 * progmodes/compile.el (compilation-error-regexp-alist-alist):
13723 Fix the ant regexp to handle end-line and end-column info from jikes.
4c44026c
CY
13724 Re-introduce maven regexp. Give the ruby-Test::Unit regexp a
13725 higher priority to avoid clobbering by gnu.
13726
027f966d
CY
137272011-05-08 Chong Yidong <cyd@stupidchicken.com>
13728
13729 * cus-face.el (custom-declare-face): Call custom-theme-recalc-face
13730 if the face has existing theme settings (Bug#8454).
13731
085f5d7d
CY
137322011-05-08 Ralph Schleicher <rs@ralph-schleicher.de>
13733
488086f4
SM
13734 * progmodes/perl-mode.el (perl-imenu-generic-expression):
13735 Only match variables declared via `my' or `our' (Bug#8261).
085f5d7d 13736
2a86a00c
RS
13737 * net/browse-url.el (browse-url-of-dired-file): Allow browsing of
13738 special file names `.' and `..' (Bug#8259).
13739
d9c54a06
CY
137402011-05-08 Chong Yidong <cyd@stupidchicken.com>
13741
488086f4
SM
13742 * progmodes/grep.el (grep-mode-font-lock-keywords):
13743 Remove buffer-changing entries.
d9c54a06
CY
13744 (grep-filter): New function.
13745 (grep-mode): Add it to compilation-filter-hook.
13746
13747 * progmodes/compile.el (compilation-filter-hook)
13748 (compilation-filter-start): New defvars.
13749 (compilation-filter): Call compilation-filter-hook prior to
13750 updating the process mark.
13751
c4662635
SM
137522011-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
13753
13754 * emacs-lisp/eieio.el (defmethod): Fix typo in last change.
13755
b0512a1d
EZ
137562011-05-07 Eli Zaretskii <eliz@gnu.org>
13757
605c9376
EZ
13758 * mail/sendmail.el (send-mail-function): On MS-Windows, default to
13759 mailclient-send-it even if window-system is nil. (Bug#8595)
13760
c4662635
SM
13761 * term/w32console.el (terminal-init-w32console):
13762 Call get-screen-color and use its output to set the frame
b0512a1d
EZ
13763 background-mode. (Bug#8597)
13764
d1dc2cc2
SM
137652011-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
13766
13767 Make bytecomp.el understand that defmethod defines funs (bug#8631).
13768 * emacs-lisp/eieio.el (eieio--defalias, eieio--defgeneric-init-form):
13769 New functions.
13770 (defgeneric, eieio--defmethod): Use them.
13771 (eieio-defgeneric): Remove.
13772 (defmethod): Call defgeneric in a way visible to the byte-compiler.
13773
915d1300
GM
137742011-05-07 Glenn Morris <rgm@gnu.org>
13775
a3961c3e
GM
13776 * calendar/timeclock.el (timeclock-log-data): Remove unused local.
13777 Use let rather than let*.
13778 (timeclock-find-discrep): Remove unused local.
13779
314347b9
GM
13780 * calendar/diary-lib.el (diary-comment-start): Doc fix.
13781
915d1300
GM
13782 * calendar/appt.el (appt-time-msg-list): Doc fix.
13783
275b59b0
NF
137842011-05-06 Noah Friedman <friedman@splode.com>
13785
13786 * apropos.el (apropos-print-doc): Only use
13787 emacs-lisp-docstring-fill-column when it is bound to an integer,
13788 per that variable's documentation.
13789
6c19f744
SM
137902011-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
13791
13792 * lpr.el (print-region-1): Echo lpr-program's output, so error messages
d1dc2cc2 13793 and warnings are not silently discarded (e.g. use -d instead of -P).
6c19f744 13794
60f884b2
GM
137952011-05-06 Glenn Morris <rgm@gnu.org>
13796
5006e634
GM
13797 * calendar/appt.el (appt-message-warning-time): Doc fix.
13798 (appt-warning-time-regexp): New option.
13799 (appt-make-list): Respect appt-message-warning-time.
13800
548d0a63
GM
13801 * calendar/diary-lib.el (diary-comment-start, diary-comment-end):
13802 New options.
13803 (diary-add-to-list): Strip comments from the displayed string.
13804 (diary-mode): Set comment-start and comment-end.
13805
60f884b2
GM
13806 * vc/diff-mode.el (smerge-refine-subst): Declare.
13807 (diff-refine-hunk): Don't require smerge-mode when compiling.
13808
989681bb
JB
138092011-05-06 Juanma Barranquero <lekktu@gmail.com>
13810
13811 * simple.el (list-processes): Return nil as the docstring says.
13812
a6bc05e1
MA
138132011-05-05 Michael Albinus <michael.albinus@gmx.de>
13814
13815 * net/ange-ftp.el (ange-ftp-binary-file-name-regexp): Set default
13816 to "".
13817 (ange-ftp-write-region, ange-ftp-insert-file-contents)
13818 (ange-ftp-copy-file-internal): Use only `ange-ftp-binary-file' for
13819 determining of binary transfer. (Bug#7383)
13820
23c22e9a
MA
138212011-05-05 Michael Albinus <michael.albinus@gmx.de>
13822
c4662635
SM
13823 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
13824 Fix port computation bug. (Bug#8618)
23c22e9a 13825
0bff894f
GM
138262011-05-05 Glenn Morris <rgm@gnu.org>
13827
b8296902
GM
13828 * allout-widgets.el (allout-widgets-mode-inhibit): Declare before use.
13829
1f522ce8
GM
13830 * simple.el (shell-dynamic-complete-functions)
13831 (comint-dynamic-complete-functions): Declare.
13832
cf5bee67
GM
13833 * net/network-stream.el (gnutls-negotiate):
13834 * simple.el (tabulated-list-print): Fix declarations.
13835
13836 * progmodes/gud.el (syntax-symbol, syntax-point):
13837 Remove unnecessary and incorrect declarations.
13838
0bff894f
GM
13839 * emacs-lisp/check-declare.el (check-declare-scan):
13840 Handle byte-compile-initial-macro-environment in bytecomp.el
13841
9869b3ae
SM
138422011-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
13843
13844 Fix earlier half-done eieio-defmethod change (bug#8338).
13845 * emacs-lisp/eieio.el (eieio--defmethod): Rename from eieio-defmethod.
13846 Streamline and change calling convention.
13847 (defmethod): Adjust accordingly and simplify.
13848 (eieio-defclass): Fix broken calls to eieio-defmethod and redirect to
13849 new eieio--defmethod.
13850 (slot-boundp): Minor CSE simplification.
13851
9c1d5ac5
MZ
138522011-05-05 Milan Zamazal <pdm@zamazal.org>
13853
13854 * progmodes/glasses.el (glasses-separate-capital-groups): New option.
13855 (glasses-make-readable): Use glasses-separate-capital-groups.
13856
455c834e
JB
138572011-05-05 Juanma Barranquero <lekktu@gmail.com>
13858
13859 * emacs-lisp/warnings.el (warning-level-aliases): Reflow docstring.
13860 (warning-series): Doc fix.
13861 (display-warning): Don't try to create the buffer if we just found it.
13862
9ed7c8cb
CY
138632011-05-04 Chong Yidong <cyd@stupidchicken.com>
13864
13865 * emacs-lisp/autoload.el (generated-autoload-file): Set to nil.
13866 (autoload-find-generated-file): New function.
13867 (generate-file-autoloads): Bind generated-autoload-file to
13868 buffer-file-name.
9869b3ae
SM
13869 (update-file-autoloads, update-directory-autoloads):
13870 Use autoload-find-generated-file. If called interactively, prompt for
9ed7c8cb
CY
13871 output file (Bug#7989).
13872 (batch-update-autoloads): Doc fix.
13873
0898ca10
JB
138742011-05-04 Juanma Barranquero <lekktu@gmail.com>
13875
13876 * term/w32-win.el (dynamic-library-alist): Add `gnutls'.
13877
31dfb76c
GM
138782011-05-04 Glenn Morris <rgm@gnu.org>
13879
f330b642
GM
13880 * calendar/diary-lib.el (diary-fancy-date-pattern): Turn it into a
13881 function, so it follows changes in calendar-date-style.
13882 (diary-fancy-date-matcher): New function.
13883 (diary-fancy-font-lock-keywords): Use diary-fancy-date-matcher.
13884 (diary-fancy-font-lock-fontify-region-function):
13885 Use diary-fancy-date-pattern as a function.
13886
31dfb76c
GM
13887 * calendar/diary-lib.el (diary-fancy-date-pattern): Do not use
13888 non-numbers for `year' etc pseudo-variables. (Bug#8583)
13889
48e79d6a
TZ
138902011-05-04 Teodor Zlatanov <tzz@lifelogs.com>
13891
13892 * net/gnutls.el (gnutls-negotiate): Use CL-style keyword arguments
13893 instead of positional arguments. Allow :keylist and :crlfiles
13894 arguments.
13895 (open-gnutls-stream): Call it.
13896
13897 * net/network-stream.el (network-stream-open-starttls): Adjust to
13898 call `gnutls-negotiate' with :process and :hostname arguments.
13899
dd5a5ee0
SM
139002011-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
13901
ef80fc09
SM
13902 * minibuffer.el (completion--message): New function.
13903 (completion--do-completion, minibuffer-complete)
13904 (minibuffer-force-complete, minibuffer-complete-word): Use it.
13905 (completion--do-completion): Don't ignore completion-auto-help when in
13906 icomplete-mode.
13907
dd5a5ee0
SM
13908 * whitespace.el (whitespace-trailing-regexp): Don't rely on the
13909 internal encoding (e.g. tibetan zero is not whitespace).
13910 (global-whitespace-mode): Prefer save-current-buffer.
13911 (whitespace-trailing-regexp): Remove useless save-match-data.
13912 (whitespace-empty-at-bob-regexp): Minor simplification.
13913
b7d22a83
CY
139142011-05-03 Chong Yidong <cyd@stupidchicken.com>
13915
13916 * emacs-lisp/autoload.el (generated-autoload-file): Doc fix (Bug#7989).
13917
5192af46
AM
139182011-05-03 Agustín Martín Domingo <agustin.martin@hispalinux.es>
13919
13920 * textmodes/ispell.el (ispell-add-per-file-word-list):
cdc4a047 13921 Use `concat' to create string for insertion.
5192af46 13922
5767d190
SM
139232011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
13924
13925 * textmodes/bibtex.el (bibtex-fill-field-bounds, bibtex-fill-entry):
13926 Avoid open-line which runs post-self-insert-hook.
13927 (bibtex-fill-entry): Remove unused `end' var.
13928
bf242939
AM
139292011-05-03 Dirk Ullrich <dirk.ullrich@googlemail.com> (tiny change)
13930
5767d190
SM
13931 * textmodes/ispell.el (ispell-add-per-file-word-list):
13932 Protect against `nil' value of `comment-start' (Bug#8579).
bf242939 13933
25666126
LL
139342011-05-03 Leo Liu <sdl.web@gmail.com>
13935
13936 * isearch.el (isearch-yank-pop): New command.
5767d190 13937 (isearch-mode-map): Bind it to `M-y'.
25666126
LL
13938 (isearch-forward): Mention it.
13939
52d3c2d0
SM
139402011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
13941
1bcace58
SM
13942 * simple.el (minibuffer-complete-shell-command): Remove.
13943 (minibuffer-local-shell-command-map): Use completion-at-point.
13944 (read-shell-command): Setup completion vars here instead.
13945 (read-expression-map): Bind TAB to symbol completion.
13946
52d3c2d0
SM
13947 * textmodes/ispell.el (lookup-words): Use with-temp-buffer; signal
13948 error directly rather via storing it into `results'.
13949
35813471
LL
139502011-05-02 Leo Liu <sdl.web@gmail.com>
13951
13952 * vc/diff.el: Fix description.
13953
e793a940
LMI
139542011-05-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
13955
13956 * server.el (server-eval-at): New function.
13957
8de66e05
LMI
139582011-05-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
13959
13960 * net/network-stream.el (open-network-stream): Take a :nowait
13961 parameter and pass it on to `make-network-process'.
13962 (network-stream-open-plain): Ditto.
13963
dcb79f20
AS
139642011-04-30 Andreas Schwab <schwab@linux-m68k.org>
13965
13966 * faces.el (face-spec-set-match-display): Don't match toolkit
13967 options on terminal frames.
13968
14a7fbd8
SM
139692011-04-29 Stefan Monnier <monnier@iro.umontreal.ca>
13970
7eabc1be
SM
13971 * progmodes/pascal.el: Use lexical binding.
13972 (pascal-mode-map): Remove author preferences.
13973
14a7fbd8
SM
13974 * pcomplete.el (pcomplete-std-complete): Don't abuse
13975 completion-at-point.
13976
50f84510
JB
139772011-04-28 Juanma Barranquero <lekktu@gmail.com>
13978
6e087a44
JB
13979 * calc/calccomp.el (math-comp-to-string-flat-term): Simplify by
13980 removing code that has been dead since 1991 or so.
13981
50f84510
JB
13982 * startup.el (command-line): When warning about "_emacs", use a
13983 delayed warning to allow the user to filter it out.
13984
0ba690bd
DD
139852011-04-28 Deniz Dogan <deniz@dogan.se>
13986
13987 * net/rcirc.el (rcirc-handler-353): Fix bug for channels which the
13988 user has not joined.
13989
08abfaad
SM
139902011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
13991
13992 * pcomplete.el (pcomplete-completions-at-point): Return nil if there
13993 aren't any completions at point.
13994
638f053a
JB
139952011-04-28 Juanma Barranquero <lekktu@gmail.com>
13996
13997 * subr.el (display-delayed-warnings): New function.
13998 (delayed-warnings-hook): New variable.
13999
8fff8daa
SM
140002011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
14001
08abfaad
SM
14002 * minibuffer.el (completion-at-point, completion-help-at-point):
14003 Don't presume that a given completion-at-point-function will always
14004 use the same calling convention.
14005
8fff8daa
SM
14006 * pcomplete.el (pcomplete-completions-at-point):
14007 Obey pcomplete-ignore-case. Don't call pcomplete-norm-func unless
14008 pcomplete-seen is non-nil.
14009 (pcomplete-comint-setup): Also recognize the new comint/shell
14010 completion functions.
14011 (pcomplete-do-complete): Don't call pcomplete-norm-func unless
14012 pcomplete-seen is non-nil.
14013
841a1577 140142011-04-27 Niels Giesen <niels.giesen@gmail.com>
211ec907 14015
841a1577 14016 * calendar/icalendar.el (diary-lib): Add require statement.
211ec907 14017 (icalendar--create-uid): Read out a uid from a text-property on
841a1577 14018 the first character in the entry. This allows for code to add its
211ec907
UJ
14019 own uid to the entry.
14020 (icalendar--convert-float-to-ical): Add export of
14021 `diary-float'-entries save for those with the optional DAY
14022 argument.
14023
2a782793
DC
140242011-04-27 Daniel Colascione <dan.colascione@gmail.com>
14025
14026 * subr.el (shell-quote-argument): Use alternate escaping strategy
14027 when we spot a variable reference in a string.
14028
0438ce91
DC
140292011-04-26 Daniel Colascione <dan.colascione@gmail.com>
14030
14031 * cus-start.el (all): Define customization for debug-on-event.
14032
841a1577 140332011-04-26 Daniel Colascione <dan.colascione@gmail.com>
8f91bf93
DC
14034
14035 * subr.el (shell-quote-argument): Escape correctly under Windows.
14036
d090ed6c
SM
140372011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
14038
14039 * emulation/cua-base.el (cua-selection-mode): Make it toggle again.
14040
bfd31217
MA
140412011-04-25 Michael Albinus <michael.albinus@gmx.de>
14042
d090ed6c
SM
14043 * net/tramp.el (tramp-process-actions): Add POS argument.
14044 Delete region between POS and (pos).
bfd31217 14045
d090ed6c
SM
14046 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
14047 Use `nil' position in `tramp-process-actions' call.
bfd31217
MA
14048 (tramp-maybe-open-connection): Call `tramp-process-actions' with pos.
14049
14050 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Use `nil'
14051 position in `tramp-process-actions' call.
14052
14053 * net/trampver.el: Update release number.
14054
e92f3bd3
SM
140552011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
14056
850256b5
SM
14057 * custom.el (defcustom): Obey lexical-binding.
14058
e92f3bd3
SM
14059 Fix octave-inf completion problems reported by Alexander Klimov.
14060 * progmodes/octave-inf.el (inferior-octave-mode-syntax-table):
14061 Inherit from octave-mode-syntax-table.
14062 (inferior-octave-mode): Set info-lookup-mode.
14063 (inferior-octave-completion-at-point): New function.
14064 (inferior-octave-complete): Use it and completion-in-region.
14065 (inferior-octave-dynamic-complete-functions): Use it as well, and use
14066 comint-filename-completion.
14067 * progmodes/octave-mod.el (octave-mode-syntax-table): Use _ syntax for
14068 symbol elements which shouldn't be word elements.
14069 (octave-font-lock-keywords, octave-beginning-of-defun)
14070 (octave-function-header-regexp): Adjust regexps accordingly.
14071 (octave-mode-map): Also use info-lookup-symbol for C-c C-h.
14072
cd22b309
JB
140732011-04-25 Juanma Barranquero <lekktu@gmail.com>
14074
14075 * net/gnutls.el (gnutls-errorp): Declare before first use.
14076
8b492194
TZ
140772011-04-24 Teodor Zlatanov <tzz@lifelogs.com>
14078
14079 * net/gnutls.el (gnutls-negotiate): Add hostname, verify-flags,
14080 verify-error, and verify-hostname-error parameters. Check whether
cd22b309 14081 default trustfile exists before going to use it. Add missing
5a5fa834 14082 argument to gnutls-message-maybe call. Return value.
8b492194
TZ
14083 Reported by Claudio Bley <claudio.bley@gmail.com>.
14084 (open-gnutls-stream): Add usage example.
14085
14086 * net/network-stream.el (network-stream-open-starttls): Give host
14087 parameter to `gnutls-negotiate'.
14088 (gnutls-negotiate): Adjust `gnutls-negotiate' declaration.
8f91bf93 14089 * subr.el (shell-quote-argument): Escape correctly under Windows.
8b492194 14090
841a1577 140912011-04-24 Daniel Colascione <dan.colascione@gmail.com>
05842630 14092
cd22b309
JB
14093 * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
14094 Use correct match group (bug#8438).
05842630 14095
3ba7869c
CY
140962011-04-24 Chong Yidong <cyd@stupidchicken.com>
14097
512e3ae1
CY
14098 * emacs-lisp/package.el (package-built-in-p): Fix typo.
14099 (package-menu--generate): New arg specifying packages to show.
14100 (package-menu-refresh, package-menu-execute, list-packages):
14101 Callers changed.
14102 (package-show-package-list): New function, replacing deleted
14103 package--list-packages (renamed because it is non-internal).
14104
14105 * finder.el (finder-list-matches): Use package-show-package-list
14106 instead of deleted package--list-packages.
14107
e92f3bd3
SM
14108 * vc/vc-annotate.el (vc-annotate-goto-line): New command.
14109 Based on a previous implementation by Juanma Barranquero (Bug#8366).
3ba7869c
CY
14110 (vc-annotate-mode-map): Bind it to RET.
14111
7031be6d
UR
141122011-04-24 Uday S Reddy <u.s.reddy@cs.bham.ac.uk> (tiny change)
14113
14114 * progmodes/etags.el (next-file): Don't use set-buffer to change
14115 buffers (Bug#8478).
14116
4ef177aa
CY
141172011-04-24 Chong Yidong <cyd@stupidchicken.com>
14118
c8d173eb
CY
14119 * files.el (auto-mode-alist): Use js-mode for .json (Bug#8529).
14120
4ef177aa
CY
14121 * apropos.el (apropos-label-face): Avoid variable-pitch face.
14122 (apropos-accumulator): Doc fix.
14123 (apropos-function, apropos-macro, apropos-command)
14124 (apropos-variable, apropos-face, apropos-group, apropos-widget)
14125 (apropos-plist): Add face property.
14126 (apropos-symbols-internal): Fix indentation.
14127 (apropos-print): Simplify help, and recognize apropos-multi-type.
14128 (apropos-print-doc): Use button-type-get to extract the button's
14129 face property. Fill docstring (Bug#8352).
14130
4ffd0d6b 141312011-04-23 Juanma Barranquero <lekktu@gmail.com>
be71f810
JB
14132
14133 * buff-menu.el (Buffer-menu--buffers): Fix typo in docstring (bug#8535).
14134
c6c32125 14135 * play/mpuz.el (mpuz-silent): Doc fix.
4ffd0d6b 14136 (mpuz-mode-map): Use mapc.
c6c32125
JB
14137 (mpuz-put-number-on-board): Rename parameter L to COLUMNS.
14138 (mpuz-letter-to-digit, mpuz-check-all-solved, mpuz-create-buffer):
14139 Fix typos in docstrings.
14140
58d468b4
JB
14141 * play/doctor.el (doc$, doctor-$, doctor-read-print, doctor-read-token)
14142 (doctor-nounp, doctor-pronounp): Fix typos in docstrings.
14143
6470c3c6
JB
14144 * mouse-drag.el (mouse-drag-throw): Fix typo in docstring.
14145
4ffd0d6b 141462011-04-23 Chong Yidong <cyd@stupidchicken.com>
6f21a319
CY
14147
14148 * minibuffer.el (completion--do-completion): Avoid the "Next char
14149 not unique" prompt if icomplete-mode is enabled (Bug#5849).
14150
3ad8bad0
CY
14151 * mouse.el (mouse-drag-mode-line-1): Make sure that if we push
14152 mouse-2 into unread-command-events, it is interpreted correctly.
14153
71d73c9c 14154 * image-mode.el (image-type, image-mode-map, image-minor-mode-map)
6395aab9 14155 (image-toggle-display): Doc fix.
71d73c9c 14156
841a1577 141572011-04-23 Stephen Berman <stephen.berman@gmx.net>
e935c6a2 14158
4ffd0d6b
GM
14159 * textmodes/page.el (what-page): Use line-number-at-pos to
14160 calculate line number (Bug#6825).
6e1dbaa9 14161
c2fb1b60
JB
141622011-04-22 Juanma Barranquero <lekktu@gmail.com>
14163
14164 * eshell/esh-mode.el (find-tag-interactive): Declare function.
14165 (eshell-find-tag): Remove `with-no-warnings', unneeded now.
14166 Pass argument NO-DEFAULT to `find-tag-interactive'.
14167
e02f48d7
JB
141682011-04-22 Juanma Barranquero <lekktu@gmail.com>
14169
14170 Lexical-binding cleanup.
14171
14172 * progmodes/ada-mode.el (ada-after-change-function, ada-loose-case-word)
14173 (ada-no-auto-case, ada-capitalize-word, ada-untab, ada-narrow-to-defun):
14174 * progmodes/ada-prj.el (ada-prj-initialize-values)
14175 (ada-prj-display-page, ada-prj-field-modified, ada-prj-display-help)
14176 (ada-prj-show-value):
14177 * progmodes/ada-xref.el (ada-find-any-references, ada-gdb-application):
14178 * progmodes/antlr-mode.el (antlr-with-displaying-help-buffer)
14179 (antlr-invalidate-context-cache, antlr-options-menu-filter)
14180 (antlr-language-option-extra, antlr-c++-mode-extra, antlr-run-tool):
14181 * progmodes/bug-reference.el (bug-reference-push-button):
14182 * progmodes/fortran.el (fortran-line-length):
14183 * progmodes/glasses.el (glasses-change):
14184 * progmodes/octave-mod.el (octave-fill-paragraph):
14185 * progmodes/python.el (python-mode, python-pdbtrack-track-stack-file)
14186 (python-pdbtrack-grub-for-buffer, python-sentinel):
14187 * progmodes/sql.el (sql-save-connection):
14188 * progmodes/tcl.el (tcl-indent-command, tcl-popup-menu):
14189 * progmodes/xscheme.el (xscheme-enter-debugger-mode):
14190 Mark unused parameters.
14191
14192 * progmodes/compile.el (compilation--flush-directory-cache)
14193 (compilation--flush-parse, compile-internal): Mark unused parameters.
14194 (compilation-buffer-name): Rename parameter MODE-NAME to NAME-OF-MODE.
14195 (compilation-next-error-function): Remove unused variable `timestamp'.
14196
14197 * progmodes/cpp.el (cpp-parse-close): Remove unused variable `begin'.
14198 (cpp-signal-read-only, cpp-grow-overlay): Mark unused parameters.
14199
14200 * progmodes/dcl-mode.el (dcl-end-of-command):
14201 Remove unused variable `start'.
14202 (dcl-calc-command-indent-multiple, dcl-calc-cont-indent-relative)
14203 (dcl-option-value-basic, dcl-option-value-offset)
14204 (dcl-option-value-margin-offset, dcl-option-value-comment-line):
14205 Mark unused parameters.
14206 (dcl-save-local-variable): Remove unused variable `val'.
14207 (mode): Declare.
14208
14209 * progmodes/delphi.el (delphi-save-state, delphi-after-change):
14210 Mark unused parameters.
14211 (delphi-ignore-changes): Move before first use.
14212 (delphi-charset-token-at): Remove unused variable `start'.
14213 (delphi-else-start): Remove unused variable `if-count'.
14214 (delphi-comment-block-start, delphi-comment-block-end):
14215 Remove unused variable `kind'.
14216 (delphi-indent-line): Remove unused variable `new-point'.
14217
14218 * progmodes/ebrowse.el (ebrowse-files-list)
14219 (ebrowse-list-of-matching-members, ebrowse-tags-list-members-in-file):
14220 Mark unused parameters. Don't quote `lambda'.
14221 (ebrowse-sort-tree-list, ebrowse-same-tree-member-buffer-list):
14222 Don't quote `lambda'.
14223 (ebrowse-revert-tree-buffer-from-file, ebrowse-tags-choose-class)
14224 (ebrowse-goto-visible-member/all-member-lists): Mark unused parameters.
14225 (ebrowse-create-tree-buffer): Rename parameter OBARRAY to CLASSES.
14226 (ebrowse-toggle-mark-at-point): Remove unused variable `pnt'.
14227 Use `ignore-errors'.
14228 (ebrowse-frozen-tree-buffer-name, ebrowse-find-source-file)
14229 (ebrowse-view/find-file-and-search-pattern)
14230 (ebrowse-view/find-member-declaration/definition):
14231 Rename parameter TAGS-FILE-NAME to TAGS-FILE.
14232 (ebrowse-find-class-declaration, ebrowse-view-class-declaration):
14233 Rename parameter PREFIX-ARG to PREFIX.
14234 (ebrowse-tags-read-name): Remove unused variables `start' and
14235 `member-info'.
14236 (ebrowse-display-member-buffer): Rename variable `tags-file-name'
14237 to `tags-file'.
14238
14239 * progmodes/etags.el (local-find-tag-hook): Declare.
14240 (tag-partial-file-name-match-p, tag-any-match-p, list-tags):
14241 Mark unused parameters.
14242
14243 * progmodes/executable.el (compilation-error-regexp-alist): Declare.
14244 (executable-interpret): Mark unused parameter.
14245
14246 * progmodes/flymake.el (flymake-process-sentinel)
14247 (flymake-after-change-function)
14248 (flymake-create-temp-with-folder-structure)
14249 (flymake-get-include-dirs-dot): Mark unused parameters.
14250 (flymake-safe-delete-directory): Remove unused variable `err'.
14251
14252 * progmodes/gdb-mi.el (speedbar-change-initial-expansion-list)
14253 (speedbar-timer-fn, speedbar-line-text)
14254 (speedbar-change-expand-button-char, speedbar-delete-subblock)
14255 (speedbar-center-buffer-smartly): Declare functions.
14256 (gdb-find-watch-expression): Remove unused variable `array'.
14257 (gdb-edit-value, gdb-gdb, gdb-ignored-notification, gdb-thread-created)
14258 (gdb-starting): Mark unused parameters.
14259 (gud-gdbmi-marker-filter): Remove unused variable `output-record'.
14260 (gdb-table-string): Remove unused variable `res'.
14261 (gdb-place-breakpoints): Remove unused variables `flag' and `bptno'.
14262 (gdb-disassembly-handler-custom): Remove unused variable `pos'.
14263 (gdb-display-buffer): Remove unused variable `cur-size'.
14264
14265 * progmodes/gud.el (gud-def): Use `defalias' instead of `defun' to
14266 allow lexical-binding compilation.
14267 (gud-expansion-speedbar-buttons, gud-gdb-goto-stackframe)
14268 (gud-dbx-massage-args, gud-xdb-massage-args, gud-perldb-massage-args)
14269 (gud-jdb-massage-args, gud-jdb-find-source, gud-find-class):
14270 Mark unused parameters.
14271 (gud-gdb-marker-filter): Remove unused variable `match'.
14272 (gud-find-class): Bind `syntax-symbol' and `syntax-point' to suitable
14273 lambda expressions and funcall them, instead of using `fset'.
14274
14275 * progmodes/hideif.el (hif-parse-if-exp): Rename parameter
14276 HIF-TOKEN-LIST to TOKEN-LIST and let-bind `hif-token-list'.
14277
14278 * progmodes/hideshow.el (hs-hide-block-at-point): Remove unused
14279 variable `header-beg'; use `let'.
14280
14281 * progmodes/icon.el (indent-icon-exp): Remove unused variables
14282 `restart', `last-sexp' and `at-do'.
14283
14284 * progmodes/js.el (js--debug): Mark unused parameter.
14285 (js--parse-state-at-point): Remove unused variable `bound'; use `let'.
14286 (js--splice-into-items): Remove unused variable `item'.
14287 (js--read-symbol, js--read-tab): Pass 1/-1 to `ido-mode', not t/nil.
14288
14289 * progmodes/make-mode.el (makefile-make-font-lock-keywords):
14290 Rename parameter FONT-LOCK-KEYWORDS to FL-KEYWORDS.
14291 (makefile-complete): Remove unused variable `try'.
14292 (makefile-fill-paragraph, makefile-match-function-end):
14293 Mark unused parameters.
14294
14295 * progmodes/octave-inf.el (inferior-octave-complete):
14296 Remove unused variable `proc'.
14297 (inferior-octave-output-digest): Mark unused parameter.
14298
14299 * progmodes/perl-mode.el (perl-calculate-indent):
14300 Remove unused variable `err'.
14301
14302 * progmodes/prolog.el (prolog-mode-keybindings-inferior)
14303 (prolog-indent-line): Mark unused parameters.
14304 (prolog-indent-line): Remove unused variable `beg'.
14305
14306 * progmodes/ps-mode.el (reporter-prompt-for-summary-p)
14307 (reporter-dont-compact-list): Declare.
14308
14309 * progmodes/sh-script.el (sh-font-lock-quoted-subshell):
14310 Remove unused variable `char'.
14311 (sh-debug): Mark unused parameter.
14312 (sh-get-indent-info): Remove unused variable `start'.
14313 (sh-calculate-indent): Remove unused variable `var'.
14314
14315 * progmodes/simula.el (simula-popup-menu): Mark unused parameter.
14316 (simula-electric-keyword): Remove unused variable `null'.
14317 (simula-search-backward, simula-search-forward): Remove unused
14318 variables `begin' and `end'.
14319
14320 * progmodes/vera-mode.el (vera-guess-basic-syntax):
14321 Remove unused variable `pos'.
14322 (vera-electric-tab, vera-comment-uncomment-region):
14323 Mark unused parameters.
14324 (vera-electric-tab): Rename parameter PREFIX-ARG to PREFIX.
14325
7ede3b65
CY
143262011-04-22 Chong Yidong <cyd@stupidchicken.com>
14327
14328 * emacs-lisp/package.el (package--builtins, package-alist)
14329 (package-load-descriptor, package-built-in-p, package-activate)
14330 (define-package, package-installed-p)
14331 (package-compute-transaction, package-buffer-info)
14332 (package--push): Doc fix. Distinguish more clearly between
14333 version strings and version lists.
14334
121656e9
JB
143352011-04-21 Juanma Barranquero <lekktu@gmail.com>
14336
14337 Lexical-binding cleanup.
14338
14339 * play/5x5.el (5x5-make-random-solution, 5x5-make-mutate-current)
14340 (5x5-make-mutate-best):
14341 * play/fortune.el (fortune-in-buffer):
14342 * play/gomoku.el (gomoku-init-display):
14343 * play/solitaire.el (solitaire, solitaire-do-check):
14344 * play/tetris.el (tetris-default-update-speed-function):
14345 Mark unused parameters.
14346
14347 * play/bubbles.el (bubbles-mode): Set `show-trailing-whitespace'.
14348 (bubbles--shift): Remove unused variable `char-org'.
14349 (bubbles--set-faces): Remove unused variable `fg-col'. Simplify.
14350 (bubbles--show-images): Remove unused variable `char'.
14351
14352 * play/decipher.el (decipher-keypress, decipher-alphabet-keypress)
14353 (decipher-get-undo, decipher-set-map, decipher-complete-alphabet)
14354 (decipher-resync, decipher-loop-with-breaks, decipher--analyze)
14355 (decipher-analyze-buffer): Use ?\s.
14356 (decipher-make-checkpoint): Remove unused variable `mapping'.
14357
14358 * play/doctor.el (doctor-doc): Rename parameter DOCTOR-SENT to SENT.
14359
14360 * play/gamegrid.el (gamegrid-add-score-with-update-game-score):
14361 Remove unused variable `result'; use `let'.
14362
14363 * play/gametree.el (gametree-current-layout, gametree-apply-layout):
14364 Rename parameter TOP-LEVEL to FROM-TOP-LEVEL; use `ignore-errors'.
14365 (gametree-children-shown-p, gametree-compute-reduced-score):
14366 Use `ignore-errors'.
14367
14368 * play/handwrite.el (ps-lpr-switches): Declare.
14369 (handwrite): Remove unused variables `pmin' and `lastp'.
14370
14371 * play/hanoi.el (hanoi-move-ring): Remove unused variable `total-steps'.
14372
14373 * play/landmark.el (landmark-init-display)
14374 (landmark-update-naught-weights): Mark unused parameters.
14375 (landmark-y): Remove unused variable `noise'. Simplify.
14376 (landmark-human-plays): Remove unused variable `score'.
14377
14378 * play/mpuz.el (mpuz-try-letter): Remove unused variable `message'.
14379 (mpuz-try-proposal): Remove unused variable `game'.
14380
14381 * play/zone.el (life-patterns): Declare.
14382
80f499c7
JB
143832011-04-20 Juanma Barranquero <lekktu@gmail.com>
14384
14385 * vc/vc.el (ediff-vc-internal): Declare function.
14386
024ff170
SM
143872011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
14388
c0a193ea
SM
14389 * shell.el: Use lexical-binding and std completion UI.
14390 (shell-filter-ctrl-a-ctrl-b): Work as a preoutput filter.
14391 (shell-mode): Put shell-filter-ctrl-a-ctrl-b on
14392 comint-preoutput-filter-functions rather than on
14393 comint-output-filter-functions.
14394 (shell-command-completion, shell--command-completion-data)
14395 (shell-filename-completion, shell-environment-variable-completion)
14396 (shell-c-a-p-replace-by-expanded-directory): New functions.
14397 (shell-dynamic-complete-functions, shell-dynamic-complete-command)
14398 (shell-dynamic-complete-filename, shell-replace-by-expanded-directory)
14399 (shell-dynamic-complete-environment-variable): Use them.
14400 (shell-dynamic-complete-as-environment-variable)
14401 (shell-dynamic-complete-as-command): Remove.
14402 (shell-match-partial-variable): Match past point.
14403 * comint.el: Clean up use of completion-at-point-functions.
14404 (comint-completion-at-point): New function.
14405 (comint-mode): Use it completion-at-point-functions.
14406 (comint-dynamic-complete): Make it obsolete.
14407 (comint-replace-by-expanded-history-before-point): Add dry-run arg.
14408 (comint-c-a-p-replace-by-expanded-history): New function.
14409 (comint-dynamic-complete-functions)
14410 (comint-replace-by-expanded-history): Use it.
14411 * minibuffer.el (completion-table-with-terminator): Allow dynamic
14412 termination strings. Try harder to avoid second try-completion.
14413 (completion-in-region-mode-map): Disable bindings that don't work yet.
14414
2dbaa080
SM
14415 * comint.el: Use lexical-binding. Require CL.
14416 (comint-dynamic-complete-functions): Use comint-filename-completion.
14417 (comint-completion-addsuffix): Tweak custom type.
14418 (comint-filename-completion, comint--common-suffix)
14419 (comint--common-quoted-suffix, comint--table-subvert)
14420 (comint--complete-file-name-data): New functions.
14421 (comint-dynamic-complete-as-filename, comint-dynamic-complete-filename)
14422 (comint-dynamic-list-filename-completions): Use them.
14423 (comint-dynamic-simple-complete): Make obsolete.
c0a193ea 14424
2dbaa080
SM
14425 * minibuffer.el (completion-in-region-mode):
14426 Keep completion-in-region-mode--predicate global.
14427 (completion-in-region--postch):
14428 Assume completion-in-region-mode--predicate is not null.
14429
c79a6f38
SM
14430 * progmodes/flymake.el (flymake-start-syntax-check-process):
14431 Obey `dir'. Simplify.
14432
024ff170
SM
14433 * vc/vc.el (vc-version-ediff): Call ediff-vc-internal directly, since
14434 we're in VC after all.
14435
1c6c854e
CS
144362011-04-20 Christoph Scholtes <cschol2112@googlemail.com>
14437
14438 * vc/vc.el (vc-diff-build-argument-list-internal)
024ff170 14439 (vc-version-ediff, vc-ediff): New commands.
1c6c854e
CS
14440 (vc-version-diff): Use vc-diff-build-argument-list-internal.
14441
bed7f140
SM
144422011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
14443
332e62ab
SM
14444 * emacs-lisp/byte-opt.el (byte-decompile-bytecode-1): Remove dead code,
14445 add sanity check.
14446
bed7f140
SM
14447 * obsolete/erc-hecomplete.el: Make obsolete.
14448 * obsolete/: Standardize obsolescence info in the header.
14449
f195c582
GM
144502011-04-20 Glenn Morris <rgm@gnu.org>
14451
14452 * calendar/solar.el (solar-horizontal-coordinates):
14453 Use the longitude argument rather than `calendar-longitude'.
14454 (solar-date-next-longitude): Remove unused locals.
14455
cb79b8c0
VJL
144562011-04-20 Vinicius Jose Latorre <viniciusjl@ig.com.br>
14457
14458 * whitespace.el: New version 13.2.1.
14459
144602011-04-20 felix <EmacsWiki> (tiny change)
14461
d8e4b68b 14462 * whitespace.el (global-whitespace-mode): Keep highlight when
cb79b8c0
VJL
14463 switching between major modes on a file.
14464
602ea69d
SM
144652011-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
14466
14467 * progmodes/octave-mod.el (octave-in-comment-p, octave-in-string-p)
14468 (octave-not-in-string-or-comment-p): Use syntax-ppss so it works with
14469 multi-line comments as well.
14470
06b60517
JB
144712011-04-19 Juanma Barranquero <lekktu@gmail.com>
14472
14473 Lexical-binding cleanup.
14474
14475 * arc-mode.el (archive-mode-revert):
14476 * cmuscheme.el (scheme-interactively-start-process):
14477 * custom.el (custom-initialize-delay):
14478 * dnd.el (dnd-open-local-file, dnd-open-remote-url):
14479 * dos-w32.el (direct-print-region-helper, direct-print-region-function):
14480 * emacs-lock.el (emacs-lock-clear-sentinel):
14481 * ezimage.el (defezimage):
14482 * follow.el (follow-avoid-tail-recenter):
14483 * fringe.el (set-fringe-mode-1):
14484 * generic-x.el (bat-generic-mode-compile):
14485 * help-mode.el (help-info-variable, help-do-xref)
14486 (help-mode-revert-buffer):
14487 * help.el (view-emacs-todo):
14488 * iswitchb.el (iswitchb-completion-help):
14489 * jka-compr.el (jka-compr-make-temp-name, jka-compr-load):
14490 * kmacro.el (kmacro-cycle-ring-next, kmacro-cycle-ring-previous)
14491 (kmacro-delete-ring-head, kmacro-bind-to-key, kmacro-view-macro):
14492 * locate.el (locate-update):
14493 * longlines.el (longlines-encode-region)
14494 (longlines-after-change-function):
14495 * outline.el (outline-isearch-open-invisible):
14496 * ps-def.el (declare-function, charset-dimension, char-width)
14497 (encode-char):
14498 * ps-mule.el (ps-mule-plot-string):
14499 * recentf.el (recentf-make-menu-items, recentf-cancel-dialog)
14500 (recentf-edit-list-select, recentf-edit-list-validate)
14501 (recentf-open-files-action):
14502 * rect.el (delete-whitespace-rectangle-line)
14503 (rectangle-number-line-callback):
14504 * register.el (window-configuration-to-register)
14505 (frame-configuration-to-register):
14506 * scroll-bar.el (scroll-bar-mode, toggle-horizontal-scroll-bar):
14507 * select.el (xselect-convert-to-string, xselect-convert-to-length)
14508 (xselect-convert-to-targets, xselect-convert-to-delete)
14509 (xselect-convert-to-filename, xselect-convert-to-charpos)
14510 (xselect-convert-to-lineno, xselect-convert-to-colno)
14511 (xselect-convert-to-os, xselect-convert-to-host)
14512 (xselect-convert-to-user, xselect-convert-to-class)
14513 (xselect-convert-to-name, xselect-convert-to-integer)
14514 (xselect-convert-to-atom, xselect-convert-to-identity):
14515 * subr.el (declare, ignore, process-kill-without-query)
14516 (text-clone-maintain):
14517 * terminal.el (te-get-char, te-tic-sentinel):
14518 * tool-bar.el (tool-bar-make-keymap):
14519 * tooltip.el (tooltip-timeout, tooltip-hide, tooltip-help-tips):
14520 * type-break.el (type-break-mode, type-break-noninteractive-query):
14521 * view.el (View-back-to-mark):
14522 * wid-browse.el (widget-browse-action, widget-browse-widget)
14523 (widget-browse-widgets, widget-browse-sexp):
14524 * widget.el (define-widget-keywords):
14525 * xt-mouse.el (xterm-mouse-translate, turn-off-xterm-mouse-tracking):
14526 Mark unused parameters.
14527
14528 * align.el (align-adjust-col-for-rule): Mark unused parameter.
14529 (align-areas): Remove unused variable `look'.
14530 (align-region): Remove unused variables `real-end' and `pos-list'.
14531
14532 * apropos.el (apropos-score-doc): Remove unused variable `i'.
14533
14534 * bindings.el (mode-line-modified, mode-line-remote):
14535 Mark unused parameters.
14536 (mode-line-mule-info): Mark unused parameter; don't quote `lambda'.
14537
14538 * buff-menu.el (Buffer-menu-revert-function): Mark unused parameters.
14539 (Buffer-menu-mode): Mark unused parameter; don't quote `lambda'.
14540
14541 * comint.el (comint-history-isearch-pop-state)
14542 (comint-postoutput-scroll-to-bottom, comint-truncate-buffer)
14543 (comint-strip-ctrl-m, comint-read-noecho): Mark unused parameters.
14544 (comint-substitute-in-file-name): Doc fix.
14545
14546 * completion.el (cmpl-statistics-block): Mark unused parameter.
14547 (add-completions-from-tags-table, add-completions-from-lisp-buffer)
14548 (save-completions-to-file, load-completions-from-file):
14549 Remove unused local variable `e'.
14550
14551 * composite.el (compose-chars): Remove unused variable `len'.
14552 (lgstring-insert-glyph): Remove unused variable `g'.
14553 (compose-glyph-string): Remove unused variables `ascent',
14554 `descent', `lbearing' and `rbearing'.
14555 (compose-glyph-string-relative): Remove unused variables
14556 `lbearing', `rbearing' and `wadjust'.
14557 (compose-gstring-for-graphic): Remove unused variables `header',
14558 `wadjust', `xoff' and `yoff'. Use `let', not `let*'.
14559 (compose-gstring-for-terminal): Remove unused variables `header'
14560 and `nchars'. Use `let', not `let*'.
14561
14562 * cus-edit.el (Custom-set, Custom-save, custom-reset)
14563 (Custom-reset-current, Custom-reset-saved, Custom-reset-standard)
14564 (Custom-buffer-done, custom-buffer-create-internal)
14565 (custom-browse-visibility-action, custom-browse-group-tag-action)
14566 (custom-browse-variable-tag-action, custom-browse-face-tag-action)
14567 (widget-magic-mouse-down-action, custom-toggle-parent)
14568 (custom-add-parent-links, custom-toggle-hide-variable)
14569 (custom-face-edit-value-visibility-action, custom-face-edit-fix-value)
14570 (custom-toggle-hide-face, face, hook, custom-group-link-action)
14571 (custom-face-menu-create, custom-variable-menu-create, get)
14572 (custom-group-menu-create, Custom-no-edit): Mark unused parameters.
14573 (custom-reset-standard-save-and-update): Remove unused variable `value'.
14574 (customize-apropos): Remove unused variable `tests'.
14575 (custom-group-value-create): Remove unused variable `hidden-p'.
14576 (sort-fold-case): Declare.
14577
14578 * cus-theme.el (custom-reset-standard-faces-list)
14579 (custom-reset-standard-variables-list): Declare.
14580 (customize-create-theme, custom-theme-revert, custom-theme-write)
14581 (custom-theme-choose-mode, customize-themes, custom-theme-save):
14582 Mark unused parameters.
14583
14584 * dabbrev.el (dabbrev-completion): Remove unused variable `init'.
14585
14586 * delim-col.el (delimit-columns-max): Move defvar before first use.
14587
14588 * descr-text.el (describe-char-categories): Don't quote `lambda'.
bd0d2ee2 14589 (describe-char): Don't quote `lambda'. Mark unused parameter.
06b60517
JB
14590
14591 * desktop.el (desktop-save-buffer-p): Mark unused parameter.
14592 (auto-insert): Declare.
14593 (desktop-restore-file-buffer): Rename desktop-* parameters;
14594 mark unused ones.
14595 (desktop-create-buffer): Rename desktop-* parameters and bind them.
14596 (desktop-buffer): Rename desktop-* parameters.
14597
14598 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
14599 (dframe-reposition-frame-xemacs, dframe-help-echo)
14600 (dframe-hack-buffer-menu, dframe-set-timer, dframe-set-timer-internal):
14601 Mark unused parameters.
14602
14603 * dired-aux.el (backup-extract-version-start, overwrite-query)
14604 (overwrite-backup-query, rename-regexp-query)
14605 (rename-non-directory-query): Declare.
14606 (dired-shell-stuff-it, dired-do-create-files): Mark unused parameters.
14607 (dired-add-entry): Remove unused variable `orig-file-name'.
14608 (dired-copy-file-recursive): Remove unused variable `dirfailed'.
14609 Use parameter PRESERVE-TIME instead of accessing dynamic variable
14610 `dired-copy-preserve-time' directly.
14611 (dired-do-create-files-regexp): Remove unused variable `fn-count'.
14612 (dired-insert-subdir-newpos): Rename unused variable `pos'.
14613
14614 * dired-x.el (dired-omit-size-limit): Move defcustom before first use.
14615 (dired-virtual-revert, dired-make-relative-symlink):
14616 Mark unused parameters.
14617 (manual-program): Declare.
14618 (dired-x-hands-off-my-keys): Rename parameters of lambda expression.
14619 (inode, s, mode, nlink, uid, gid, size, time, name, sym): Declare them,
14620 wrapped in `with-no-warnings' to avoid replacing one warning by another.
14621
14622 * dirtrack.el (dirtrack): Remove unused variable `multi-line'.
14623
14624 * dos-fns.el (dos-8+3-filename): Remove unused variable `i'.
14625
14626 * echistory.el (electric-history-in-progress, Helper-return-blurb):
14627 Declare.
14628
14629 * edmacro.el (edmacro-finish-edit): Remove unused variable `kmacro'.
14630
14631 * electric.el (Electric-command-loop): Rename parameter
14632 INHIBIT-QUIT to INHIBIT-QUITTING and bind `inhibit-quit'.
14633
14634 * expand.el (expand-in-literal): Remove unused variable `here'.
14635
14636 * facemenu.el (facemenu-add-new-color):
14637 Remove unused variable `docstring'.
14638
14639 * faces.el (face-id, make-face-bold, make-face-unbold, make-face-italic)
14640 (make-face-unitalic, make-face-bold-italic): Mark unused parameters.
14641 (face-attr-construct): Mark unused parameter. Doc fix.
14642 (read-color): Remove unused variable `hex-string'.
14643
14644 * files.el (parse-colon-path): Rename argument CD-PATH to SEARCH-PATH.
14645 (locate-dominating-file): Remove unused vars `prev-file' and `user'.
14646 (remote-file-name-inhibit-cache, revert-buffer): Clean up docstrings.
14647 (display-buffer-other-frame): Remove unused variable `old-window'.
14648 (kill-buffer-hook): Declare.
14649 (insert-file-contents-literally, set-auto-mode, risky-local-variable-p):
14650 Mark unused parameters.
14651 (after-find-file): Pass 1 to `auto-save-mode', not t.
14652
14653 * files-x.el (auto-insert): Declare.
14654 (modify-file-local-variable-prop-line): Remove unused variable `val'.
14655
14656 * find-lisp.el (find-lisp-find-dired-internal): Remove unused
bd0d2ee2 14657 variable `buf'. Mark unused parameter.
06b60517
JB
14658 (find-lisp-insert-directory): Mark unused parameter.
14659
14660 * format.el (format-decode-run-method): Mark unused parameter; doc fix.
14661 (format-encode-region): Remove unused variables `cur-buf' and `result'.
14662 (format-common-tail): Remove, unused.
14663 (format-deannotate-region): Remove unused variable `loc'.
14664 (format-annotate-region): Remove unused variable `p'.
14665 (format-annotate-single-property-change): Remove unused variables
14666 `default' and `tail'.
14667
14668 * forms.el (read-file-filter): Declare.
14669 (forms--iif-hook, forms--revert-buffer): Mark unused parameters.
14670
14671 * frame.el (frame-creation-function-alist): Mark unused parameter.
14672 (frame-geom-spec-cons): Pass FRAME to `frame-geom-value-cons'.
14673
14674 * hilit-chg.el (hilit-chg-cust-fix-changes-face-list, hilit-chg-clear):
14675 Remove unused parameters.
14676 (hilit-chg-set-face-on-change): Remove unused variable `beg-decr'.
14677 (highlight-compare-with-file): Remove unused variable `buf-b-read-only'.
14678
14679 * htmlfontify.el (hfy-default-footer, hfy-decor, hfy-invisible)
14680 (hfy-parse-tags-buffer, hfy-prepare-index-i, hfy-prepare-index)
14681 (hfy-prepare-tag-map): Mark unused parameters.
14682 (htmlfontify-buffer): Use `called-interactively-p'.
14683
14684 * ibuf-ext.el (ibuffer-do-kill-lines, ibuffer-jump-to-buffer)
14685 (ibuffer-copy-filename-as-kill, ibuffer-mark-on-buffer)
14686 (ibuffer-do-occur): Mark unused parameters.
14687 (ibuffer-forward-next-marked): Remove unused variable `curmark'.
14688 (ibuffer-diff-buffer-with-file-1): Remove unused variable `proc'.
14689
14690 * ibuffer.el: Don't quote `lambda'.
14691 (ibuffer-count-marked-lines, ibuffer-count-deletion-lines)
14692 (ibuffer-unmark-all, ibuffer-toggle-marks, ibuffer-redisplay-engine):
14693 Mark unused parameters.
14694
14695 * ido.el (ido-mode, ido-wide-find-dir-or-delete-dir)
14696 (ido-completing-read): Mark unused parameters.
14697 (ido-copy-current-word): Mark unused parameters;
14698 remove unused variable `name'.
14699 (ido-sort-merged-list): Remove unused parameter `dirs'.
14700
14701 * ielm.el (ielm-input-sender): Mark unused parameter.
14702 (ielm-string, ielm-form, ielm-pos, ielm-result, ielm-error-type)
14703 (ielm-output, ielm-wbuf, ielm-pmark): Declare.
14704 (ielm-eval-input): Rename argument IELM-STRING to INPUT-STRING to keep
14705 `ielm-string' as a dynamic variable accessible from the IELM prompt.
14706 Bind `ielm-string' to INPUT-STRING. Remove unused variable `err'.
14707
14708 * image-dired.el (image-dired-display-thumbs): Remove unused
14709 variables `curr-file' and `count'.
14710 (image-dired-remove-tag): Remove unused variable `start'.
14711 (image-dired-tag-files, image-dired-create-thumbs): Remove unused
14712 variable `curr-file'
14713 (image-dired-rotate-original): Remove unused variable `temp-file'.
14714 (image-dired-mouse-select-thumbnail, image-dired-mouse-toggle-mark):
14715 Remove unused variable `file'.
14716 (image-dired-gallery-generate): Remove unused variable `curr'.
14717 (image-dired-dired-edit-comment-and-tags): Mark unused parameters.
14718
14719 * indent.el (tab-to-tab-stop): Remove unused variable `opoint'.
14720
14721 * info-xref.el (info-xref-goto-node-p): Remove unused variable `err'.
14722
14723 * informat.el (texinfo-command-start, texinfo-command-end): Declare.
14724
14725 * isearch.el (minibuffer-history-symbol): Declare.
14726 (isearch-edit-string): Remove unused variable `err'.
14727 (isearch-message-prefix, isearch-message-suffix):
14728 Mark unused parameters.
14729
14730 * ls-lisp.el (ls-lisp-insert-directory): Remove unused variable `fil'.
14731
14732 * macros.el (insert-kbd-macro): Remove unused variable `mods'.
14733
14734 * makesum.el (double-column): Remove unused variable `cnt'.
14735
14736 * misearch.el (multi-isearch-pop-state): Mark unused parameter.
14737 (ido-ignore-item-temp-list): Declare.
14738
14739 * mouse-drag.el (mouse-drag-throw): Remove unused variables
14740 `mouse-delta', `window-last-row', `mouse-col-delta', `window-last-col',
14741 `adjusted-mouse-col-delta' and `adjusted-mouse-delta'.
14742 (mouse-drag-drag): Remove unused variables `mouse-delta' and
14743 `mouse-col-delta'.
14744
14745 * mouse-sel.el (mouse-extend-internal):
14746 Remove unused variable `orig-window-frame'.
14747
14748 * pcomplete.el (pcomplete-args, pcomplete-begins, pcomplete-last)
14749 (pcomplete-index, pcomplete-stub, pcomplete-seen, pcomplete-norm-func):
14750 Move declarations before first use.
14751 (pcomplete-opt): Mark unused parameters; doc fix.
14752
14753 * proced.el (proced-revert): Mark unused parameter.
14754 (proced-send-signal): Remove unused variable `err'.
14755
14756 * ps-print.el (ps-print-preprint-region, ps-print-preprint):
14757 Rename parameter PREFIX-ARG to ARG.
14758 (ps-basic-plot-string, ps-basic-plot-whitespace):
14759 Mark unused parameters.
14760
14761 * replace.el (replace-count): Define.
14762 (occur-revert-function): Mark unused parameters.
14763 (ido-ignore-item-temp-list, isearch-error, isearch-forward)
14764 (isearch-case-fold-search, isearch-string): Declare.
14765 (occur-engine): Rename parameter CASE-FOLD-SEARCH to CASE-FOLD and
14766 bind `case-fold-search'. Remove unused variables `beg' and `end',
14767 and simplify.
14768 (replace-eval-replacement): Rename parameter REPLACE-COUNT to
14769 COUNT and bind `replace-count'.
14770 (replace-loop-through-replacements): Rename parameter REPLACE-COUNT
14771 to COUNT.
14772
14773 * savehist.el (print-readably, print-string-length): Declare.
14774
14775 * shadowfile.el (shadow-expand-cluster-in-file-name):
14776 Remove unused variable `cluster'.
14777 (shadow-copy-file): Remove unused variable `i'.
14778 (shadow-noquery, shadow-clusters, shadow-site-cluster)
14779 (shadow-parse-fullname, shadow-parse-name, shadow-define-cluster)
14780 (shadow-define-literal-group, shadow-define-regexp-group)
14781 (shadow-make-group, shadow-shadows-of): Clean up docstrings.
14782
14783 * shell.el (shell-filter-ctrl-a-ctrl-b): Mark unused parameter.
14784 (shell): Use `called-interactively-p'.
14785 (shell-directory-tracker): Remove unused variable `chdir-failure'.
14786
14787 * simple.el (compilation-context-lines, comint-file-name-quote-list)
14788 (comint-file-name-chars, comint-delimiter-argument-list): Declare.
14789 (delete-backward-char): Remove unused variable `ocol'.
14790 (minibuffer-avoid-prompt, minibuffer-history-isearch-pop-state)
14791 (line-move-1, event-apply-alt-modifier, event-apply-super-modifier)
14792 (event-apply-hyper-modifier, event-apply-shift-modifier)
14793 (event-apply-control-modifier, event-apply-meta-modifier):
14794 Mark unused parameters.
14795 (undo-make-selective-list): Remove duplicate variable `undo-elt'.
14796 (normal-erase-is-backspace-mode): Remove unused variable `old-state'.
14797
14798 * speedbar.el (speedbar-ignored-directory-expressions)
14799 (speedbar-supported-extension-expressions, speedbar-directory-buttons)
14800 (speedbar-find-file, speedbar-dir-follow)
14801 (speedbar-directory-buttons-follow, speedbar-tag-find)
14802 (speedbar-buffer-buttons, speedbar-buffer-buttons-temp)
14803 (speedbar-buffers-line-directory, speedbar-buffer-click):
14804 Mark unused parameters.
14805 (speedbar-tag-file): Remove unused variable `mode'.
14806 (speedbar-buffers-tail-notes): Remove unused variable `mod'; simplify.
14807
14808 * strokes.el (strokes-decode-buffer): Remove unused variable `ext'.
14809
14810 * talk.el (talk): Remove unused variable `display'.
14811
14812 * tar-mode.el (tar-subfile-save-buffer): Remove unused variable `name'.
14813 (tar-write-region-annotate): Mark unused parameter.
14814
14815 * time.el (now, time, load, mail, 24-hours, hour, 12-hours, am-pm)
14816 (minutes, seconds, time-zone, day, year, monthname, month, dayname):
14817 Declare them, wrapped in `with-no-warnings' to avoid replacing one
14818 warning by another.
14819
14820 * time-stamp.el (time-stamp-string-preprocess):
14821 Remove unused variable `require-padding'.
14822
14823 * tree-widget.el (widget-glyph-enable): Declare.
14824 (tree-widget-action): Mark unused parameter.
14825
14826 * w32-fns.el (x-get-selection): Mark unused parameter.
14827 (autoload-make-program, generated-autoload-file): Declare.
14828
14829 * wdired.el (wdired-revert): Mark unused parameters.
14830 (wdired-xcase-word): Remove unused variable `err'.
14831
14832 * whitespace.el (whitespace-buffer-changed): Mark unused parameters.
14833 (whitespace-help-scroll): Remove unused variable `data-help'.
14834
14835 * wid-edit.el (widget-mouse-help, widget-overlay-inactive)
14836 (widget-image-insert, widget-after-change, default)
14837 (widget-default-format-handler, widget-default-notify)
14838 (widget-default-prompt-value, widget-info-link-action)
14839 (widget-url-link-action, widget-function-link-action)
14840 (widget-variable-link-action, widget-file-link-action)
14841 (widget-emacs-library-link-action, widget-emacs-commentary-link-action)
14842 (widget-field-prompt-internal, widget-field-action, widget-field-match)
14843 (widget-choice-mouse-down-action, toggle, widget-radio-button-notify)
14844 (widget-insert-button-action, widget-delete-button-action, visibility)
14845 (widget-documentation-link-action, widget-documentation-string-action)
14846 (widget-const-prompt-value, widget-regexp-match, symbol)
14847 (widget-coding-system-prompt-value)
14848 (widget-key-sequence-value-to-external, sexp)
14849 (widget-sexp-value-to-internal, character, vector, cons)
14850 (widget-choice-prompt-value, widget-boolean-prompt-value)
14851 (widget-color--choose-action): Mark unused parameters.
14852 (widget-item-match-inline, widget-choice-match-inline)
14853 (widget-checklist-match, widget-checklist-match-inline)
14854 (widget-group-match): Rename parameter VALUES to VALS.
14855 (widget-field-value-set): Remove unused variable `size'.
14856 (widget-color-action): Remove unused variables `value' and `start'.
14857
14858 * windmove.el (windmove-wrap-loc-for-movement): Remove unused
bd0d2ee2 14859 variable `dir'. Doc fix.
06b60517
JB
14860 (windmove-find-other-window): Don't pass it.
14861
14862 * window.el (count-windows): Mark unused parameter.
14863 (bw-adjust-window): Remove unused variable `err'.
14864
14865 * woman.el (woman-file-name): Remove unused variable `default'.
14866 (woman-expand-directory-path): Rename parameters WOMAN-MANPATH and
14867 WOMAN-PATH to PATH-DIRS and PATH-REGEXPS, respectively.
14868 (global-font-lock-mode): Declare.
14869 (woman-decode-region): Mark unused parameter.
14870 (woman-get-tab-stop): Rename parameter TAB-STOP-LIST to TAB-STOPS.
14871
14872 * x-dnd.el (x-dnd-default-test-function, x-dnd-handle-old-kde)
14873 (x-dnd-handle-xdnd, x-dnd-handle-motif): Mark unused parameters.
14874 (x-dnd-handle-moz-url): Remove unused variable `title'.
14875 (x-dnd-handle-xdnd): Remove unused variables `x', `y' and `ret-action'.
14876
14877 * xml.el (xml-parse-tag, xml-parse-attlist):
14878 Remove unused variable `pos'.
14879
bc4f7f3d
GM
148802011-04-19 Glenn Morris <rgm@gnu.org>
14881
14882 * calendar/cal-tex.el (cal-tex-list-holidays, cal-tex-cursor-month)
14883 (cal-tex-cursor-week, cal-tex-cursor-week2, cal-tex-cursor-week-iso)
14884 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
14885 (cal-tex-cursor-filofax-daily, cal-tex-mini-calendar)
14886 * calendar/cal-html.el (cal-html-insert-minical):
14887 * calendar/diary-lib.el (diary-list-entries-1, diary-list-entries)
14888 (calendar-mark-date-pattern):
14889 Prefix "unused" locals.
14890
14891 * calendar/cal-dst.el (dst-adjust-time): Remove never-implemented
14892 optional argument `style'.
14893
14894 * calendar/appt.el (appt-make-list):
14895 * calendar/cal-china.el (calendar-chinese-date-string):
14896 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits)
14897 (diary-hebrew-yahrzeit):
14898 * calendar/cal-tex.el (cal-tex-last-blank-p, cal-tex-cursor-week2):
14899 * calendar/calendar.el (calendar-generate-window):
14900 * calendar/time-date.el (time-to-days):
14901 Remove unused local variables.
14902
16a43933
CY
149032011-04-18 Chong Yidong <cyd@stupidchicken.com>
14904
14905 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Use a custom
14906 glyphless-char-display table.
14907 (tabulated-list-glyphless-char-display): New var.
14908
7eed1860
SS
149092011-04-18 Sam Steingold <sds@gnu.org>
14910
14911 * vc/add-log.el (change-log-font-lock-keywords): Add "Thanks to"
14912 to acknowledgments.
14913
4d2d1ccd
GM
149142011-04-17 Glenn Morris <rgm@gnu.org>
14915
14916 * calendar/diary-lib.el (diary-sexp-entry):
14917 * calendar/holidays.el (holiday-sexp):
14918 Set debug-on-error rather than the removed stack-trace-on-error.
14919
239da61d
GM
149202011-04-16 Glenn Morris <rgm@gnu.org>
14921
14922 * progmodes/f90.el: Use lexical-binding.
14923 (f90-get-correct-indent): Remove unnecessary local variable `cont'.
14924
8b05752a
SM
149252011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
14926
daca8ba5
SM
14927 * mail/sendmail.el (mail-mode-map): Use completion-at-point.
14928 (mail-mode): Setup mailalias completion here instead.
14929 * mail/mailalias.el: Use lexical-binding.
14930 (pattern, mailalias-done): Declare dynamic.
14931 (mail-completion-at-point-function): New function, from mail-complete.
14932 (mail-complete): Use it.
14933 (mail-completion-expand): New function.
14934 (mail-get-names): Use it.
14935 (mail-directory, mail-directory-process, mail-directory-stream):
14936 Don't use `pattern' for lexically bound arg.
14937
6f542485
SM
14938 * emacs-lisp/lisp-mode.el (eval-defun-2): Use eval-sexp-add-defvars.
14939
037e7c3f
SM
14940 * htmlfontify.el (hfy-etags-cmd): Remove inoperant eval-and-compile.
14941 (hfy-e2x-etags-cmd, hfy-etags-cmd-alist-default)
14942 (hfy-etags-cmd-alist): Don't eval-and-compile any more.
14943
8b05752a
SM
14944 * emacs-lisp/bytecomp.el (byte-temp-output-buffer-show)
14945 (byte-save-window-excursion, byte-temp-output-buffer-setup)
14946 (byte-interactive-p): Define them again, for use when inlining
14947 old code.
14948
49093f60
JB
149492011-04-15 Juanma Barranquero <lekktu@gmail.com>
14950
14951 * loadup.el: Use `string-to-number', not `string-to-int'.
14952
b5b8e7de
SM
149532011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
14954
14955 * progmodes/gud.el (gud-gdb): Use completion-at-point instead of
14956 gud-gdb-complete-command.
14957 (gud-gdb-completions): New function, from gud-gdb-complete-command.
14958 (gud-gdb-completion-at-point): New function.
14959 (gud-gdb-completions): Remove.
14960
f42efeb5
MA
149612011-04-14 Michael Albinus <michael.albinus@gmx.de>
14962
49093f60
JB
14963 * net/tramp-sh.el (tramp-sh-handle-file-attributes): Handle the case
14964 when the scripts fail. Use `tramp-do-file-attributes-with-ls' then.
14965 (tramp-do-copy-or-rename-file-out-of-band): Do not check any longer
14966 whether `executable-find' is bound.
f42efeb5
MA
14967
14968 * net/tramp-smb.el (tramp-smb-handle-copy-file): Fix docstring.
14969
e240cc21
SM
149702011-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
14971
14972 * minibuffer.el (completion-in-region-mode-predicate)
14973 (completion-in-region-mode--predicate): New vars.
14974 (completion-in-region, completion-in-region--postch)
14975 (completion-in-region-mode): Use them.
14976 (completion--capf-wrapper): Also return the hook function.
14977 (completion-at-point, completion-help-at-point):
14978 Adjust and provide a predicate.
c2bd2ab0
SM
14979
14980 Preserve arg names for advice of subr and lexical functions (bug#8457).
14981 * help-fns.el (help-function-arglist): Consolidate the subr and
14982 new-byte-code cases. Add argument `preserve-names' to extract names
14983 from the docstring when needed.
14984 * emacs-lisp/advice.el (ad-define-subr-args, ad-undefine-subr-args)
14985 (ad-subr-args-defined-p, ad-get-subr-args, ad-subr-arglist): Remove.
14986 (ad-arglist): Use help-function-arglist's new arg.
14987 (ad-definition-type): Use cond.
14988
c183f693
JB
149892011-04-13 Juanma Barranquero <lekktu@gmail.com>
14990
06641a47
JB
14991 * autorevert.el (auto-revert-handler):
14992 Bind `remote-file-name-inhibit-cache', not `tramp-cache-inhibit-cache',
14993 which was removed in 2010-10-02T13:21:43Z!michael.albinus@gmx.de.
14994 Don't quote lambda.
14995
c183f693
JB
14996 * image-mode.el (image-transform-set-scale):
14997 Fix change in 2011-04-09T20:28:01Z!cyd@stupidchicken.com.
14998
1e3b6001
G
149992011-04-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
15000
15001 * net/network-stream.el (network-stream-open-starttls): Only do
e9fce1ac 15002 opportunistic STARTTLS upgrades if we have built-in GnuTLS support.
1e3b6001
G
15003 Upgrades via gnutls-cli are too slow to be done opportunistically.
15004
2d6af8dd
JB
150052011-04-12 Juanma Barranquero <lekktu@gmail.com>
15006
15007 * dframe.el (dframe-current-frame): Remove spurious quote.
15008
c0749a51
GM
150092011-04-12 Glenn Morris <rgm@gnu.org>
15010
088d0d61
GM
15011 * calendar/cal-tex.el (cal-tex-end-document):
15012 Try to automatically use latin1 input if needed.
15013
c0749a51
GM
15014 * calendar/cal-hebrew.el (diary-hebrew-rosh-hodesh):
15015 Don't try to cons a mark onto an empty element.
15016
5c90fde0
LL
150172011-04-11 Leo Liu <sdl.web@gmail.com>
15018
15019 * ido.el (ido-buffer-internal): Allow method 'kill for virtual
15020 buffers.
15021 (ido-kill-buffer-at-head): Support killing virtual buffers.
15022
369e974d
CY
150232011-04-10 Chong Yidong <cyd@stupidchicken.com>
15024
15025 * minibuffer.el (completion-show-inline-help): New var.
15026 (completion--do-completion, minibuffer-complete)
daca8ba5
SM
15027 (minibuffer-force-complete, minibuffer-complete-word):
15028 Inhibit minibuffer messages if completion-show-inline-help is nil.
369e974d
CY
15029
15030 * icomplete.el (icomplete-mode): Bind completion-show-inline-help
15031 to avoid interference from inline help (Bug#5849).
15032
37f1c930
LL
150332011-04-10 Leo Liu <sdl.web@gmail.com>
15034
099c39a4
JB
15035 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
15036 Fix typo.
37f1c930 15037
a32d4040
CY
150382011-04-09 Chong Yidong <cyd@stupidchicken.com>
15039
15040 * image-mode.el (image-toggle-display-image): Signal an error if
15041 not in Image mode.
15042 (image-transform-mode, image-transform-resize)
15043 (image-transform-set-rotation): Doc fix.
daca8ba5 15044 (image-transform-set-resize): Delete.
a32d4040
CY
15045 (image-transform-set-scale, image-transform-fit-to-height)
15046 (image-transform-fit-to-width): Handle image-toggle-display-image
15047 and image-transform-resize directly.
15048
099c39a4 150492011-04-08 Sho Nakatani <lay.sakura@gmail.com>
d7b89879
TH
15050
15051 * doc-view.el (doc-view-fit-width-to-window)
099c39a4
JB
15052 (doc-view-fit-height-to-window, doc-view-fit-page-to-window):
15053 New functions for fitting the shown image to the Emacs window size.
d7b89879
TH
15054 (doc-view-mode-map): Add bindings for the new functions.
15055
099c39a4 150562011-04-08 Juanma Barranquero <lekktu@gmail.com>
ddc20cdb 15057
4d61f28d 15058 * vc/vc-annotate.el (vc-annotate-show-log-revision-at-line):
ddc20cdb
JB
15059 Fix typo in docstring.
15060
3726838a
EZ
150612011-04-08 Eli Zaretskii <eliz@gnu.org>
15062
04f33f1e
EZ
15063 * files.el (file-size-human-readable): Produce one digit after
15064 decimal, like "ls -lh" does.
15065
15066 * ls-lisp.el (ls-lisp-format-file-size): Allow for 7 characters in
15067 the file size representation.
15068
3726838a
EZ
15069 * simple.el (list-processes): If async subprocesses are not
15070 available, error out with a clear error message.
15071
cbb59342
CY
150722011-04-08 Chong Yidong <cyd@stupidchicken.com>
15073
15074 * help.el (help-form-show): New function, to be called from C.
15075 Put help-form output in a buffer named differently than *Help*.
15076
e3971c44
EZ
150772011-04-08 Eli Zaretskii <eliz@gnu.org>
15078
15079 * files.el (file-size-human-readable): New function.
15080
15081 * ls-lisp.el (ls-lisp-format-file-size): Use it, instead of
15082 computing the representation inline. Don't require `cl'.
15083
12544bbe
GM
150842011-04-08 Glenn Morris <rgm@gnu.org>
15085
a1de6c6a
GM
15086 * man.el (Man-page-header-regexp): Solaris < 2.6 no longer supported.
15087
3c4671f4
GM
15088 * net/browse-url.el (browse-url-firefox):
15089 Test system-type, not system-configuration.
15090
b605679c
GM
15091 * vc/log-edit.el (log-edit-empty-buffer-p): New function.
15092 (log-edit-insert-cvs-template, log-edit-insert-cvs-rcstemplate):
15093 Use log-edit-empty-buffer-p. (Bug#7598)
15094
56442f0c
GM
15095 * net/rlogin.el (rlogin-process-connection-type): Simplify.
15096 (rlogin-mode-map): Initialize in the defvar.
15097 (rlogin): Use ignore-errors.
15098
12544bbe
GM
15099 * replace.el (occur-mode-map): Some fixes for menu items.
15100
eb237b0f
AH
151012011-04-07 Aaron S. Hawley <aaron.s.hawley@gmail.com>
15102
15103 * play/morse.el (denato-region): Handle varying case. (Bug#8386)
15104
7d668f2c
CY
151052011-04-06 Chong Yidong <cyd@stupidchicken.com>
15106
e67a13ab
CY
15107 * emacs-lisp/cconv.el (cconv--analyse-use): Ignore "ignored" when
15108 issuing unused warnings.
15109
15110 * emacs-lisp/tabulated-list.el (tabulated-list-print): Use lambda
15111 macro directly.
15112
7d668f2c
CY
15113 * simple.el: Lisp reimplement of list-processes. Based on an
15114 earlier reimplementation by Leo Liu, but using tabulated-list.el.
15115 (process-menu-mode): New major mode.
15116 (list-processes--refresh, list-processes):
15117 (process-menu-visit-buffer): New functions.
15118
15119 * files.el (save-buffers-kill-emacs): Don't assume any return
15120 value of list-processes, which is undocumented anyway.
15121
a83ec3c9
CY
151222011-04-06 Chong Yidong <cyd@stupidchicken.com>
15123
15124 * emacs-lisp/tabulated-list.el: New file.
15125
e91a96fe
CY
15126 * emacs-lisp/package.el: Use Tabulated List mode.
15127 (package-menu-mode-map): Inherit from tabulated-list-mode-map.
15128 (package-menu-mode): Derive from tabulated-list-mode. Set up the
15129 table format using Tabulated List mode variables.
15130 (package--push): New macro, replacing package-list-maybe-add.
15131 (package-menu--generate): Use package--push. Renamed from
15132 package--generate-package-list.
15133 (package-menu-refresh, list-packages): Use it.
daca8ba5 15134 (package-menu--print-info): Rename from package-print-package.
e91a96fe 15135 Return insertion data instead of inserting it directly.
099c39a4
JB
15136 (package-menu-describe-package, package-menu-execute):
15137 Use tabulated-list-get-id.
e91a96fe
CY
15138 (package-menu-mark-delete, package-menu-mark-install)
15139 (package-menu-mark-unmark, package-menu-backup-unmark)
099c39a4
JB
15140 (package-menu-mark-obsolete-for-deletion):
15141 Use tabulated-list-put-tag.
e91a96fe
CY
15142 (package--list-packages, package-menu-revert)
15143 (package-menu-get-package, package-menu-get-version)
15144 (package-menu-sort-by-column): Functions deleted.
15145 (package-menu-package-list, package-menu-sort-key): Vars deleted.
15146 (package-menu--status-predicate, package-menu--version-predicate)
15147 (package-menu--name-predicate)
15148 (package-menu--description-predicate): Handle arguments in the
15149 Tabulated List format.
15150 (package-list-packages-no-fetch): Call list-packages.
15151
3e214b50
JB
151522011-04-06 Juanma Barranquero <lekktu@gmail.com>
15153
15154 * files.el (after-find-file-from-revert-buffer): Remove variable.
c9d0ec6d 15155 (after-find-file): Don't bind it.
3e214b50
JB
15156 (revert-buffer-in-progress-p): New variable.
15157 (revert-buffer): Bind it.
15158 Pass nil for `after-find-file-from-revert-buffer'.
15159
15160 * saveplace.el (save-place-find-file-hook): Use new variable
15161 `rever-buffer-in-progress-p', not `after-find-file-from-revert-buffer'.
15162
3f0f1700
GM
151632011-04-06 Glenn Morris <rgm@gnu.org>
15164
c0274801
GM
15165 * Makefile.in (AUTOGEN_VCS): New variable.
15166 (autoloads): Use $AUTOGEN_VCS.
15167
3f0f1700
GM
15168 * calendar/cal-move.el (calendar-scroll-toolkit-scroll): New function.
15169 * calendar/calendar.el (calendar-mode-map):
15170 Check for toolkit scroll bars. (Bug#8305)
15171
41ea9e48
CY
151722011-04-05 Chong Yidong <cyd@stupidchicken.com>
15173
15174 * minibuffer.el (completion-in-region--postch)
15175 (completion-in-region-mode): Remove unnecessary messages.
15176
6194c800
JB
151772011-04-05 Juanma Barranquero <lekktu@gmail.com>
15178
33256f14
JB
15179 * font-lock.el (font-lock-refresh-defaults):
15180 Don't bind `hi-lock--inhibit-font-lock-hook', removed in
15181 2010-10-09T04:09:19Z!cyd@stupidchicken.com and 2010-10-11T23:57:49Z!lekktu@gmail.com (2010-10-12).
15182
6194c800
JB
15183 * info.el (Info-directory-list, Info-read-node-name-2)
15184 (Info-split-parameter-string): Doc fixes.
15185 (Info-virtual-nodes): Reflow docstring.
15186 (Info-find-file, Info-directory-toc-nodes, Info-history-toc-nodes)
15187 (Info-apropos-toc-nodes, info-finder, Info-get-token)
15188 (Info-find-emacs-command-nodes, Info-speedbar-key-map):
15189 Fix typos in docstrings.
15190 (Info-revert-buffer-function, Info-search, Info-isearch-pop-state)
15191 (Info-speedbar-hierarchy-buttons, Info-speedbar-goto-node)
15192 (Info-speedbar-buttons, Info-desktop-buffer-misc-data)
15193 (Info-restore-desktop-buffer): Mark unused parameters.
15194 (Info-directory-find-file, Info-directory-find-node)
15195 (Info-history-find-file, Info-history-find-node, Info-toc-find-node)
15196 (Info-virtual-index-find-node, Info-apropos-find-file)
15197 (Info-apropos-find-node, Info-finder-find-file, Info-finder-find-node):
33256f14 15198 Mark unused parameters; fix typos in docstrings.
6194c800
JB
15199 (Info-virtual-index): Remove unused local variable `nodename'.
15200
b87a8200 152012011-04-05 Deniz Dogan <deniz@dogan.se>
0f6ee7d2 15202
b87a8200
DD
15203 * net/rcirc.el: Update my e-mail address.
15204 (rcirc-mode-map): Remove M-o binding.
0f6ee7d2 15205
3b2ff876
CY
152062011-04-05 Chong Yidong <cyd@stupidchicken.com>
15207
15208 * startup.el (command-line): Save the cursor's theme-face
15209 directly, instead of using face-override-spec.
15210
15211 * custom.el (load-theme): Minor optimization in assigning faces.
15212
8d17e7ca
JB
152132011-04-04 Juanma Barranquero <lekktu@gmail.com>
15214
15215 * help-fns.el (describe-variable): Complete all variables having
15216 documentation, including keywords.
15217 http://lists.gnu.org/archive/html/emacs-devel/2011-04/msg00112.html
15218
2fbc1934
JB
152192011-04-04 Juanma Barranquero <lekktu@gmail.com>
15220
15221 Convert to lexical-binding.
15222
15223 * bs.el (bs-refresh, bs-sort-buffer-interns-are-last)
15224 (bs--get-marked-string, bs--get-modified-string)
15225 (bs--get-readonly-string, bs--get-size-string, bs--get-name)
15226 (bs--get-mode-name, bs--get-file-name): Mark unused arguments.
15227 (bs--configuration-name-for-prefix-arg): Rename argument PREFIX-ARG.
15228
15229 * ehelp.el (electric-help-execute-extended)
15230 (electric-help-ctrl-x-prefix):
15231 * hexl.el (hexl-revert-buffer-function):
15232 * linum.el (linum-after-change, linum-after-scroll):
15233 * emacs-lisp/re-builder.el (reb-auto-update): Mark unused arguments.
15234
15235 * help-fns.el (help-describe-category-set): Remove unused ERR variable.
15236
74f50695
DU
152372011-04-04 Daiki Ueno <ueno@unixuser.org>
15238
15239 * epa-dired.el:
15240 * epa-mail.el:
15241 * epa-hook.el:
15242 * epa-file.el:
15243 * epa.el:
15244 * epg.el: Use lexical binding.
15245
c11325f7
CY
152462011-04-03 Chong Yidong <cyd@stupidchicken.com>
15247
0d9e9a12
CY
15248 * dired-aux.el (dired-create-files): Add docstring (Bug#7970).
15249
c11325f7 15250 * textmodes/flyspell.el (flyspell-word): Recognize default
daca8ba5
SM
15251 dictionary case for flyspell-mark-duplications-exceptions.
15252 Use regexp matching for languages.
c11325f7
CY
15253 (flyspell-mark-duplications-exceptions): Add "that" and "had" for
15254 default dictionary (Bug#7926).
15255
da91b5f2
CY
152562011-04-02 Chong Yidong <cyd@stupidchicken.com>
15257
099c39a4
JB
15258 * emacs-lisp/package.el (package--with-work-buffer):
15259 Recognize https URLs.
da91b5f2 15260
099c39a4
JB
15261 * net/network-stream.el: Move from gnus/proto-stream.el.
15262 Change prefix to network-stream throughout.
da91b5f2
CY
15263 (open-protocol-stream): Merge into open-network-stream, leaving
15264 open-protocol-stream as an alias. Handle nil BUFFER args.
15265
15266 * subr.el (open-network-stream): Move to net/network-stream.el.
15267
afa8e9f6
GM
152682011-04-02 Glenn Morris <rgm@gnu.org>
15269
1d2e369d
GM
15270 * find-dired.el (find-exec-terminator): New option.
15271 (find-ls-option): Test for -ls support.
15272 (find-ls-subdir-switches): Test for -b in find-ls-option.
15273 (find-dired, find-grep-dired): Doc fixes.
15274 (find-dired): Use find-exec-terminator.
15275
8abb7da8 15276 * find-dired.el (find-ls-option, find-ls-subdir-switches)
e7a395b5
GM
15277 (find-grep-options): Do not autoload these defcustoms, remove purecopy.
15278 (find-name-arg): Remove purecopy.
8abb7da8 15279
f3ca7378
GM
15280 * progmodes/grep.el (grep-find-use-xargs): Doc fix.
15281 (grep-compute-defaults): Check for `-exec COMMAND +' support.
15282 Set grep-find-use-xargs, grep-find-command, and grep-find-template
15283 accordingly. Don't add the null-device if not needed.
15284
afa8e9f6
GM
15285 * files.el (save-some-buffers): Doc fix.
15286
35eae264
EZ
152872011-04-02 Eli Zaretskii <eliz@gnu.org>
15288
15289 * makefile.w32-in (EMACS): Default to ../src/$(BLD)/emacs.exe.
15290
26b51db5
JB
152912011-04-01 Juanma Barranquero <lekktu@gmail.com>
15292
15293 * progmodes/idlwave.el (idlwave-one-key-select, idlwave-list-abbrevs):
15294 Use `dolist' rather than `mapcar'.
15295
7200d79c
SM
152962011-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
15297
03408648 15298 Add lexical binding.
7200d79c 15299
03408648
SM
15300 * subr.el (apply-partially): Use new closures rather than CL.
15301 (--dolist-tail--, --dotimes-limit--): Don't declare dynamic.
15302 (dolist, dotimes): Use slightly different expansion for lexical code.
15303 (functionp): Move to C.
15304 (letrec): New macro.
15305 (with-wrapper-hook): Use it and apply-partially instead of CL.
15306 (eval-after-load): Preserve lexical-binding.
15307 (save-window-excursion, with-output-to-temp-buffer): Turn them
15308 into macros.
7200d79c 15309
03408648
SM
15310 * simple.el (with-wrapper-hook, apply-partially): Move to subr.el.
15311
15312 * help-fns.el (help-split-fundoc): Return nil if there's nothing else
15313 than the arglist.
15314 (help-add-fundoc-usage): Don't add `Not documented'.
15315 (help-function-arglist): Handle closures, subroutines, and new
15316 byte-code-functions.
15317 (help-make-usage): Remove leading underscores.
15318 (describe-function-1): Handle closures.
15319 (describe-variable): Use special-variable-p for completion.
15320
15321 * files.el (lexical-binding): Declare safe.
f488fb65 15322
03408648
SM
15323 * emacs-lisp/pcase.el: Don't use destructuring-bind.
15324 (pcase--memoize): Rename from pcase-memoize. Change weakness.
15325 (pcase): Add `let' pattern.
15326 Change memoization so it actually works.
15327 (pcase-mutually-exclusive-predicates): Add byte-code-function-p.
15328 (pcase--u1) <guard, pred>: Fix possible shadowing problem.
15329 <let>: New case.
f488fb65 15330
03408648
SM
15331 * emacs-lisp/macroexp.el: Use lexical binding.
15332 (macroexpand-all-1): Check obsolete macros. Expand compiler-macros.
15333 Don't convert ' to #' without checking that it's indeed quoting
15334 a lambda.
15335
15336 * emacs-lisp/lisp-mode.el (eval-last-sexp-1):
f488fb65 15337 Use eval-sexp-add-defvars.
03408648
SM
15338 (eval-sexp-add-defvars): New fun.
15339
15340 * emacs-lisp/float-sup.el (pi): Don't declare as dynamically bound.
15341
15342 * emacs-lisp/eieio.el (byte-compile-file-form-defmethod):
15343 Don't autoload.
15344 (eieio-defgeneric-form-primary-only-one): Use `byte-compile' rather
15345 than the internal `byte-compile-lambda'.
15346 (defmethod): Don't hide code under quotes.
15347 (eieio-defmethod): New `code' argument.
15348
15349 * emacs-lisp/eieio-comp.el: Remove.
15350
15351 * emacs-lisp/edebug.el (edebug-eval-defun)
15352 (edebug-eval-top-level-form): Use eval-sexp-add-defvars.
15353 (edebug-toggle): Avoid `eval'.
15354
15355 * emacs-lisp/disass.el (disassemble-internal): Handle new
15356 `closure' objects.
15357 (disassemble-1): Handle new byte codes.
15358
15359 * emacs-lisp/cl.el (pushnew): Silence warning.
15360
15361 * emacs-lisp/cl-macs.el (cl-byte-compile-block)
15362 (cl-byte-compile-throw): Remove.
15363 (cl-block-wrapper, cl-block-throw): Use compiler-macros instead.
15364
15365 * emacs-lisp/cl-extra.el (cl-macroexpand-all): Properly quote CL
15366 closures.
15367
15368 * emacs-lisp/cconv.el: New file.
15369
15370 * emacs-lisp/bytecomp.el: Use lexical binding instead of
15371 a "bytecomp-" prefix. Macroexpand everything as a separate phase.
15372 (byte-compile-initial-macro-environment):
15373 Handle declare-function here.
15374 (byte-compile--lexical-environment): New var.
15375 (byte-stack-ref, byte-stack-set, byte-discardN)
15376 (byte-discardN-preserve-tos): New lap codes.
15377 (byte-interactive-p): Don't use any more.
15378 (byte-compile-push-bytecodes, byte-compile-push-bytecode-const2):
15379 New macros.
15380 (byte-compile-lapcode): Use them and handle new lap codes.
15381 (byte-compile-obsolete): Remove.
15382 (byte-compile-arglist-signature): Handle new byte-code arg"lists".
15383 (byte-compile-arglist-warn): Check late def of inlinable funs.
15384 (byte-compile-cl-warn): Don't silence warnings for compiler-macros
15385 since they should have been expanded by now.
15386 (byte-compile--outbuffer): Rename from bytecomp-outbuffer.
15387 (byte-compile-from-buffer): Remove unused second arg.
15388 (byte-compile-preprocess): New function.
15389 (byte-compile-toplevel-file-form): New function to distinguish
15390 file-form calls from outside from file-form calls from hunk-handlers.
15391 (byte-compile-file-form): Simplify.
15392 (byte-compile-file-form-defsubst): Remove.
15393 (byte-compile-file-form-defmumble): Simplify now that
15394 byte-compile-lambda always returns a byte-code-function.
15395 (byte-compile): Preprocess.
15396 (byte-compile-byte-code-maker, byte-compile-byte-code-unmake):
15397 Remove, not used any more.
15398 (byte-compile-arglist-vars, byte-compile-make-lambda-lexenv)
15399 (byte-compile-make-args-desc): New funs.
15400 (byte-compile-lambda): Handle lexical functions. Always return
15401 a byte-code-function.
15402 (byte-compile-reserved-constants): New var, to make up room for
15403 closed-over variables.
15404 (byte-compile-constants-vector): Obey it.
15405 (byte-compile-top-level): New args `lexenv' and `reserved-csts'.
15406 (byte-compile-macroexpand-declare-function): New function.
15407 (byte-compile-form): Call byte-compile-unfold-bcf to inline immediate
15408 byte-code-functions.
15409 (byte-compile-form): Check obsolescence here.
15410 (byte-compile-inline-lapcode, byte-compile-unfold-bcf): New functions.
15411 (byte-compile-variable-ref): Remove.
15412 (byte-compile-dynamic-variable-op): New fun.
15413 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
15414 (byte-compile-variable-set): New funs.
15415 (byte-compile-discard): Add 2 args.
15416 (byte-compile-stack-ref, byte-compile-stack-set)
15417 (byte-compile-make-closure, byte-compile-get-closed-var): New funs.
15418 (byte-compile-funarg, byte-compile-funarg-2): Remove, handled in
15419 macroexpand-all instead.
15420 (byte-compile-quote-form): Remove.
15421 (byte-compile-push-binding-init, byte-compile-not-lexical-var-p)
15422 (byte-compile-bind, byte-compile-unbind): New funs.
15423 (byte-compile-let): Handle let* and lexical binding.
15424 (byte-compile-let*): Remove.
15425 (byte-compile-catch, byte-compile-unwind-protect)
15426 (byte-compile-track-mouse, byte-compile-condition-case):
15427 Handle a new :fun-body form, used for lexical scoping.
15428 (byte-compile-save-window-excursion)
15429 (byte-compile-with-output-to-temp-buffer): Remove.
15430 (byte-compile-defun): Simplify.
15431 (byte-compile-stack-adjustment): New fun.
15432 (byte-compile-out): Use it.
15433 (byte-compile-refresh-preloaded): Don't reload byte-compiler files.
15434
15435 * emacs-lisp/byte-run.el (make-obsolete): Don't set the `byte-compile'
15436 handler any more.
15437
15438 * emacs-lisp/byte-opt.el: Use lexical binding.
15439 (byte-inline-lapcode): Remove (to bytecomp).
15440 (byte-compile-inline-expand): Pay attention to inlining to/from
15441 lexically bound code.
15442 (byte-compile-unfold-lambda): Don't handle byte-code-functions
15443 any more.
15444 (byte-optimize-form-code-walker): Don't handle save-window-excursion
15445 any more and don't call compiler-macros.
15446 (byte-compile-splice-in-already-compiled-code): Remove.
15447 (byte-code): Don't inline any more.
15448 (disassemble-offset): Receive `bytes' as argument rather than via
15449 dynamic scoping.
15450 (byte-compile-tag-number): Declare before first use.
15451 (byte-decompile-bytecode-1): Handle new byte-codes, don't change
15452 `return' even if make-spliceable.
15453 (byte-compile-side-effect-and-error-free-ops): Add stack-ref, remove
15454 obsolete interactive-p.
15455 (byte-optimize-lapcode): Optimize new lap-codes.
15456 Don't trip up on new form of `byte-constant' lap code.
15457
15458 * emacs-lisp/autoload.el (make-autoload): Don't burp on trivial macros.
15459
15460 * emacs-lisp/advice.el (ad-arglist): Use help-function-arglist.
15461
15462 * custom.el (custom-initialize-default, custom-declare-variable):
15463 Use `defvar'.
15464
15465 * Makefile.in (BIG_STACK_DEPTH, BIG_STACK_OPTS, BYTE_COMPILE_FLAGS):
15466 New variables.
15467 (compile-onefile, .el.elc, compile-calc, recompile): Use them.
15468 (COMPILE_FIRST): Add macroexp and cconv.
15469 * makefile.w32-in: Mirror changes in Makefile.in.
15470
15471 * vc/cvs-status.el:
15472 * vc/diff-mode.el:
15473 * vc/log-edit.el:
15474 * vc/log-view.el:
15475 * vc/smerge-mode.el:
15476 * textmodes/bibtex-style.el:
15477 * textmodes/css.el:
15478 * startup.el:
15479 * uniquify.el:
da91b5f2
CY
15480 * minibuffer.el:
15481 * newcomment.el:
15482 * reveal.el:
15483 * server.el:
15484 * mpc.el:
15485 * emacs-lisp/smie.el:
15486 * doc-view.el:
15487 * dired.el:
03408648
SM
15488 * abbrev.el: Use lexical binding.
15489
0f0c1f27
EZ
154902011-04-01 Eli Zaretskii <eliz@gnu.org>
15491
15492 * info.el (info-display-manual): New function.
15493
c82b2579
SM
154942011-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
15495
15496 * loadup.el: Load minibuffer after loaddefs, to use define-minor-mode.
15497
221ddf68
TH
154982011-03-31 Tassilo Horn <tassilo@member.fsf.org>
15499
15500 * net/rcirc.el (rcirc-handler-001): Only authenticate, if there's
2fbc1934 15501 an entry for that server in rcirc-authinfo. (Bug#8385)
221ddf68 15502
cba6e77e
GM
155032011-03-31 Glenn Morris <rgm@gnu.org>
15504
e040639f
GM
15505 * progmodes/f90.el (f90-find-tag-default): Handle multiple `%'.
15506
cba6e77e
GM
15507 * generic-x.el (etc-fstab-generic-mode): Add ext4, sysfs keywords.
15508
6d0f1c9e
CS
155092011-03-30 Christoph Scholtes <cschol2112@googlemail.com>
15510
15511 * progmodes/python.el (python-default-interpreter)
15512 (python-python-command-args, python-jython-command-args)
15513 (python-which-shell, python-which-args, python-which-bufname)
15514 (python-file-queue, python-comint-output-filter-function)
15515 (python-toggle-shells, python-shell): Remove obsolete defcustoms,
15516 variables and functions.
15517
3e2d70fd
SM
155182011-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
15519
15520 * minibuffer.el (completion-table-dynamic): Optimize `boundaries'.
15521 (completion-in-region-mode): New minor mode.
15522 (completion-in-region): Use it.
15523 (completion-in-region--data, completion-in-region-mode-map): New vars.
15524 (completion-in-region--postch): New function.
15525 (completion--capf-misbehave-funs, completion--capf-safe-funs):
15526 New vars.
15527 (completion--capf-wrapper): New function.
15528 (completion-at-point): Use it to track well-behavedness of
15529 hook functions.
15530 (completion-help-at-point): New command.
15531
f3e4086c
JM
155322011-03-30 Jason Merrill <jason@redhat.com> (tiny change)
15533
15534 * vc/add-log.el (add-change-log-entry): Don't use whitespace
15535 syntax class to search for whitespace on a single line
15536 (Message-ID: <4D938140.4030905@redhat.com>).
15537
eb7ffc14
LL
155382011-03-30 Leo Liu <sdl.web@gmail.com>
15539
15540 * abbrev.el (abbrev-edit-save-to-file, abbrev-edit-save-buffer):
15541 New commands.
15542 (edit-abbrevs-map): Bind them here.
15543 (write-abbrev-file): New optinal arg VERBOSE. (Bug#5937)
15544
d806ab68
KM
155452011-03-29 Ken Manheimer <ken.manheimer@gmail.com>
15546
15547 * allout.el (allout-hide-by-annotation, allout-flag-region):
15548 Reduce possibility of overlay leakage by making them volatile.
15549
15550 * allout-widgets.el (allout-widgets-tally): Define as nil so the
15551 hash is not shared between buffers. Mode initialization is
15552 responsible for giving it a useful starting value.
15553 (allout-item-span): Reduce possibility of overlay leakage by
15554 making them volatile.
15555 (allout-widgets-count-buttons-in-region): Add diagnostic function
15556 for tracking down button overlay leaks.
15557
ea622834
LL
155582011-03-29 Leo Liu <sdl.web@gmail.com>
15559
15560 * ido.el (ido-read-internal): Use the default history var
15561 minibuffer-history if no HISTORY is specified.
15562
b62f8267
G
155632011-03-28 Brian T. Sniffen <bsniffen@akamai.com> (tiny change)
15564
03408648
SM
15565 * net/imap.el (imap-shell-open, imap-process-connection-type):
15566 Use imap-process-connection-type for 'shell' streams as well as
b62f8267
G
15567 Kerberos, SSL, other subprocesses.
15568
947b6566
LL
155692011-03-28 Leo Liu <sdl.web@gmail.com>
15570
15571 * abbrev.el (abbrev-table-empty-p): New function.
15572 (prepare-abbrev-list-buffer): Place empty abbrev tables after
15573 nonempty ones. (Bug#5937)
15574
5ffb62aa
JD
155752011-03-27 Jan Djärv <jan.h.d@swipnet.se>
15576
15577 * cus-start.el (all): Add boolean ns-auto-hide-menu-bar.
15578
7a097943
LL
155792011-03-27 Leo Liu <sdl.web@gmail.com>
15580
15581 * ansi-color.el (ansi-color-names-vector): Allow cons cell value
15582 for foreground and background colors.
15583 (ansi-color-make-color-map): Adapt.
15584
c5b40130
LL
155852011-03-25 Leo Liu <sdl.web@gmail.com>
15586
1f48f7d2
LL
15587 * midnight.el (midnight-time-float): Remove. Note it calculates
15588 the microsecond component incorrectly and seconds-to-time does the
15589 same job.
625897ec 15590 Remove redundant (require 'timer).
1f48f7d2 15591
c5b40130
LL
15592 * ido.el (ido-read-internal): Simplify with read-from-minibuffer.
15593 (ido-completions): Remove unused arguments. (Bug#8329)
15594
d86d2721
SM
155952011-03-24 Stefan Monnier <monnier@iro.umontreal.ca>
15596
15597 * minibuffer.el (completion--flush-all-sorted-completions):
15598 Remove itself from hook.
15599 (completion-at-point): Let the functions perform the completion
15600 immediately and return nil or t.
15601 * comint.el (comint-dynamic-complete-functions): Now identical to
15602 completion-at-point-functions.
15603 (comint-dynamic-list-input-ring): Remove unused var `index'.
15604 (comint--match-partial-filename, comint--unquote&expand-filename):
15605 New funs, split from comint-match-partial-filename.
15606 (comint-dynamic-complete): Use completion-at-point.
15607 (comint-dynamic-complete-filename): Use comint--match-partial-filename.
15608
e8974c48
DA
156092011-03-24 Drew Adams <drew.adams@oracle.com>
15610
15611 * thingatpt.el: Support `defun'.
15612
def71b5e
LL
156132011-03-23 Leo Liu <sdl.web@gmail.com>
15614
cb5af48e
LL
15615 * abbrevlist.el: Move to obsolete/abbrevlist.el.
15616
def71b5e
LL
15617 * help-mode.el (help-mode-finish): Tweak regexp.
15618
927c53e7
GM
156192011-03-23 Glenn Morris <rgm@gnu.org>
15620
18d05bed
GM
15621 * eshell/esh-opt.el (eshell-eval-using-options):
15622 Do not bind unused local variable `eshell-option-stub'.
15623
927c53e7
GM
15624 * progmodes/gdb-mi.el (gdb): Fix typo in previous change.
15625
9d0da923
JB
156262011-03-22 Juanma Barranquero <lekktu@gmail.com>
15627
15628 * emacs-lisp/derived.el (define-derived-mode): Wrap declaration of
15629 keymap variable in `with-no-warnings' to avoid a warning when the
15630 keymap has been already `defconst'ed.
15631
4b978a67
LL
156322011-03-22 Leo Liu <sdl.web@gmail.com>
15633
15634 * abbrev.el (write-abbrev-file): Use utf-8 for writing if it can
15635 encode all chars in abbrevs; otherwise use emacs-mule or
15636 utf-8-emacs. (Bug#8308)
15637
5fd62452
JB
156382011-03-22 Juanma Barranquero <lekktu@gmail.com>
15639
0b1596c6
JB
15640 * simple.el (backward-delete-char-untabify):
15641 Avoid warning about using `delete-backward-char'.
15642
5fd62452
JB
15643 * image.el (image-type-file-name-regexps): Make it variable.
15644 `imagemagick-register-types' modifies it, and the user may want
15645 to add new extensions for known image types.
15646 (imagemagick-register-types): Throw error if not using ImageMagick.
15647
0b4e93f1
LL
156482011-03-22 Leo Liu <sdl.web@gmail.com>
15649
15650 * net/rcirc.el (rcirc-completion-at-point): Return nil if point is
15651 located before rcirc-prompt-end-marker.
15652 (rcirc-complete): Error if point is not after rcirc prompt.
15653 Handle the case when table is nil.
9882e214 15654 (rcirc-user-authenticated): Define to fix compiler warning.
0b4e93f1 15655
fccee4ab
CY
156562011-03-22 Chong Yidong <cyd@stupidchicken.com>
15657
15658 * custom.el (custom--inhibit-theme-enable): Make it affect only
15659 custom-theme-set-variables and custom-theme-set-faces.
15660 (provide-theme): Ignore custom--inhibit-theme-enable.
15661 (load-theme): Enable the theme explicitly if NO-ENABLE is non-nil.
15662 (custom-enabling-themes): Delete variable.
d86d2721
SM
15663 (enable-theme): Accept only loaded themes as arguments.
15664 Ignore the special custom-enabled-themes variable.
fccee4ab
CY
15665 (custom-enabled-themes): Forbid themes from setting this.
15666 Eliminate use of custom-enabling-themes.
15667 (custom-push-theme): Quote "changed" custom var entry.
0357c7ae 15668
af896da6
LL
156692011-03-21 Leo Liu <sdl.web@gmail.com>
15670
15671 * ido.el (ido-read-internal): Add ido-selected to history instead
15672 of user input.
15673
78f64af0
SM
156742011-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
15675
15676 * subr.el (deferred-action-list, deferred-action-function):
15677 Mark obsolete.
15678
b16ac1ec
LL
156792011-03-21 Leo Liu <sdl.web@gmail.com>
15680
810f7698
LL
15681 * vc/log-view.el: Remove (require 'wid-edit), not needed after the
15682 change on 2011-02-13 (bug#8309).
15683
b16ac1ec
LL
15684 * minibuffer.el (read-file-name-function): Change default value.
15685 (read-file-name--defaults): Rename from read-file-name-defaults.
15686 (read-file-name-default): Rename from read-file-name.
15687 (read-file-name): Call read-file-name-function.
15688
4e05e67e
GM
156892011-03-21 Glenn Morris <rgm@gnu.org>
15690
15691 * eshell/esh-opt.el (eshell-eval-using-options, eshell-process-args):
15692 Doc fixes.
15693
4359915b
CY
156942011-03-21 Chong Yidong <cyd@stupidchicken.com>
15695
15696 * cus-theme.el: Add missing provide statement.
15697 (customize-create-theme): Extract theme value correctly.
15698 (custom-theme-visit-theme): Autoload.
15699 (customize-create-theme): Prompt before inserting default faces.
15700
1fe275ee
JB
157012011-03-20 Jay Belanger <jay.p.belanger@gmail.com>
15702
15703 * calc/calc-menu.el (calc-units-menu): Add entries for logarithmic
15704 units and musical notes.
15705
cd394be1 157062011-03-20 Leo Liu <sdl.web@gmail.com>
3ec03f7e
LL
15707
15708 * ido.el (ido-read-internal): Use completing-read-default.
15709 (ido-completing-read): Fix compatibility with completing-read.
15710
7d476bde
CO
157112011-03-20 Christian Ohler <ohler@gnu.org>
15712
15713 * emacs-lisp/ert.el (ert-run-tests-batch): Remove unused variable.
15714 (ert-delete-all-tests): Use `called-interactively-p' rather than
15715 `interactive-p'.
15716 (ert--make-xrefs-region): Respect END.
15717
fe0fb33e
CY
157182011-03-19 Chong Yidong <cyd@stupidchicken.com>
15719
ff854b0b
CY
15720 * dired-aux.el (dired-create-directory): Signal an error if the
15721 directory already exists (Bug#8246).
15722
fe0fb33e
CY
15723 * facemenu.el (list-colors-display): Call list-faces-display
15724 inside with-help-window.
15725 (list-colors-print): Use display property to align the final
15726 column, instead of checking window-width.
15727
576bce32
EZ
157282011-03-19 Eli Zaretskii <eliz@gnu.org>
15729
4d61f28d 15730 * vc/emerge.el (emerge-metachars): Separate value for ms-dos and
576bce32
EZ
15731 windows-nt systems.
15732 (emerge-protect-metachars): Quote correctly for ms-dos and
15733 windows-nt systems.
15734
89c41d68 157352011-03-19 Ralph Schleicher <rs@ralph-schleicher.de>
e6ce307c
RS
15736
15737 * info.el (info-initialize): Replace all uses of `:' with
15738 path-separator for compatibility with non-Unix systems.
15739 Cache quoting of path-separator. (Bug#8258)
15740
b14e3e21 157412011-03-19 Juanma Barranquero <lekktu@gmail.com>
ad22b7f7
JB
15742
15743 * avoid.el (mouse-avoidance-mode, mouse-avoidance-nudge-dist)
15744 (mouse-avoidance-threshold, mouse-avoidance-banish-destination)
15745 (mouse-avoidance-mode): Fix typos in docstrings.
15746
4525ce3e
CY
157472011-03-19 Chong Yidong <cyd@stupidchicken.com>
15748
15749 * startup.el (package-subdirectory-regexp): Move from package.el.
15750 Omit \\` and \\', and let callers add them.
15751
15752 * emacs-lisp/package.el (package-strip-version)
15753 (package-load-all-descriptors): Add \\` and \\' to
15754 package-subdirectory-regexp before using it.
15755 (package-untar-buffer): New arg DIR; ensure that file untars only
15756 into this expected directory. Remove superfluous delete-region.
15757 (package-unpack): Caller changed.
15758 (package-tar-file-info): Use package-subdirectory-regexp.
15759
a904a09a 157602011-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
1518e4f0 15761
a904a09a
SM
15762 * vc/diff-mode.el (diff-mode-map): Shadow problematic bindings from
15763 diff-mode-shared-map (bug#8284).
15764 (diff-mode-shared-map): Re-introduce some bindings that were problematic.
1518e4f0
G
15765
157662011-03-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
15767
15768 * calendar/time-date.el (format-seconds): Use assoc instead of
15769 assoc-string, since assoc-string doesn't exist in XEmacs.
15770
171fc304
JB
157712011-03-17 Juanma Barranquero <lekktu@gmail.com>
15772
15773 * custom.el (custom-known-themes): Reflow docstring.
15774 (custom-theme-load-path): Fix typo in docstring.
15775 (load-theme): Fix typo in error message.
15776 (custom-available-themes, custom-variable-theme-value):
15777 Use `let', not `let*'.
15778
d71990a1
JB
157792011-03-17 Jay Belanger <jay.p.belanger@gmail.com>
15780
15781 * calc/README: Mention inclusion of musical notes.
15782
15783 * calc/calc-units.el (calc-lu-quant): Rename from
15784 `calc-logunits-quantity'.
15785 (calcFunc-lupquant): Rename from `calcFunc-powerquant'.
15786 (calcFunc-lufquant): Rename from `calcFunc-fieldquant'.
15787 (calc-db): Rename from `calc-dblevel'.
15788 (calcFunc-dbpower): Rename from `calcFunc-dbpowerlevel'.
15789 (calcFunc-dbfield): Rename from `calcFunc-dbfieldlevel'.
15790 (calc-np): Rename from `calc-nplevel'.
15791 (calcFunc-nppower): Rename from `calcFunc-nppowerlevel'.
15792 (calcFunc-npfield): Rename from `calcFunc-npfieldlevel'.
15793 (calc-lu-plus): Rename from `calc-logunits-add'.
15794 (calcFunc-lupadd): Rename from `calcFunc-lupoweradd'.
15795 (calcFunc-lufadd): Rename from `calcFunc-lufieldadd'.
15796 (calc-lu-minus): Rename from `calc-logunits-sub'.
15797 (calcFunc-lupsub): Rename from `calcFunc-lupowersub'.
15798 (calcFunc-lufsub): Rename from `calcFunc-lufieldsub'.
15799 (calc-lu-times): Rename from `calc-logunits-mul'.
15800 (calcFunc-lupmul): Rename from `calcFunc-lupowermul'.
15801 (calcFunc-lufmul): Rename from `calcFunc-lufieldmul'.
15802 (calc-lu-divide): Rename from `calc-logunits-div'.
15803 (calcFunc-lupdiv): Rename from `calcFunc-lupowerdiv'.
15804 (calcFunc-lufdiv): Rename from `calcFunc-lufielddiv'.
15805
15806 * calc/calc-ext.el (calc-init-extensions): Update the names of the
15807 functions being autoloaded.
15808
15809 * calc/calc.el (calc-lu-power-reference): Rename from
15810 `calc-logunits-power-reference'.
15811 (calc-lu-field-reference): Rename from
15812 `calc-logunits-field-reference'.
15813
7a71b18d
GM
15814 * calc/calc-help.el (calc-l-prefix-help):
15815 Mention musical note functions.
d71990a1 15816
40c2934b
SM
158172011-03-17 Stefan Monnier <monnier@iro.umontreal.ca>
15818
15819 * minibuffer.el (completion-all-sorted-completions):
15820 Use :completion-cycle-penalty text property if present.
15821
b0911414
KM
158222011-03-16 Ken Manheimer <ken.manheimer@gmail.com>
15823
15824 * allout.el (allout-yank-processing): Adjust for new rebulleting
15825 regime so bullet being yanked is used without prompting the user
15826 for a choice.
15827
8a05b668
JB
158282011-03-16 Juanma Barranquero <lekktu@gmail.com>
15829
15830 * startup.el (command-line): Warn the user that _emacs is deprecated.
15831
5ba5fb81
JB
158322011-03-16 Juanma Barranquero <lekktu@gmail.com>
15833
15834 * progmodes/delphi.el (delphi-search-path, delphi-indent-level)
15835 (delphi-verbose, delphi-comment-face, delphi-string-face)
15836 (delphi-keyword-face, delphi-ignore-changes, delphi-indent-line)
15837 (delphi-mode-abbrev-table, delphi-debug-buffer, delphi-tab)
15838 (delphi-find-unit, delphi-find-current-xdef, delphi-fill-comment)
15839 (delphi-new-comment-line, delphi-font-lock-defaults)
15840 (delphi-debug-mode-map, delphi-mode-syntax-table, delphi-mode):
15841 Fix typos in docstrings.
15842
2dab465b
KM
158432011-03-15 Ken Manheimer <ken.manheimer@gmail.com>
15844
5ba5fb81 15845 * allout.el (allout-make-topic-prefix, allout-rebullet-heading):
2dab465b
KM
15846 Invert the roles of character and string values for INSTEAD, so a
15847 string is used for the more common case of a defaulting prompt.
15848
0adf5618
SM
158492011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
15850
15851 * progmodes/ruby-mode.el (ruby-backward-sexp):
15852 * progmodes/ebrowse.el (ebrowse-draw-file-member-info):
15853 * play/gamegrid.el (gamegrid-make-face):
15854 * play/bubbles.el (bubbles--grid-width, bubbles--grid-height)
15855 (bubbles--colors, bubbles--shift-mode, bubbles--initialize-images):
15856 * notifications.el (notifications-notify):
15857 * net/xesam.el (xesam-search-engines):
15858 * net/quickurl.el (quickurl-list-insert):
15859 * vc/vc-hg.el (vc-hg-dir-printer): Fix use of case.
15860
d72700e5
CY
158612011-03-15 Chong Yidong <cyd@stupidchicken.com>
15862
15863 * startup.el (command-line): Update package subdirectory regexp.
15864
49c5410a
SM
158652011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
15866
c6eee9aa
SM
15867 * allout.el (allout-abbreviate-flattened-numbering)
15868 (allout-mode-deactivate-hook): Fix up obsolescence "date".
15869
49c5410a
SM
15870 * subr.el (read-char-choice): Only show the cursor after the prompt,
15871 not after the answer.
15872
047b2bb9
KR
158732011-03-15 Kevin Ryde <user42@zip.com.au>
15874
15875 * help-fns.el (variable-at-point): Skip leading quotes, if any
15876 (bug#8253).
15877
0a57d256
SM
158782011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
15879
15880 * emacs-lisp/bytecomp.el (byte-compile-save-excursion): Change the
15881 warning message.
15882
77c992bc
MA
158832011-03-14 Michael Albinus <michael.albinus@gmx.de>
15884
15885 * shell.el (shell): When called interactively, offer to change the
15886 shell file name on remote hosts.
15887
eebc475d
TZ
158882011-03-13 Teodor Zlatanov <tzz@lifelogs.com>
15889
15890 * net/ldap.el (ldap-search-internal): Add `auth-source-search'
15891 integration for LDAP parameters. The host, base, user or binddn,
15892 and secret tokens can be specified in a netrc file, for instance.
15893 This is optional because an `auth-source' parameter must be
15894 specified in the search attributes.
15895
9d05d1ba
JB
158962011-03-13 Juanma Barranquero <lekktu@gmail.com>
15897
15898 * help.el (describe-mode): Link to the mode's definition (bug#8185).
15899
09d9db2c
GM
159002011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
15901
15902 * ebuff-menu.el (electric-buffer-menu-mode-map): Move initialization
15903 into declaration. Remove redundant and harmful binding.
15904
159052011-03-12 Eli Zaretskii <eliz@gnu.org>
15906
15907 * files.el (file-ownership-preserved-p): Pass `integer' as an
15908 explicit 2nd argument to `file-attributes'. If the file's owner
15909 is the Administrators group on Windows, and the current user is
15910 Administrator, consider that a match.
15911
15912 * server.el (server-ensure-safe-dir): Consider server directory
15913 safe on MS-Windows if its owner is the Administrators group while
15914 the current Emacs user is Administrator. Use `=' to compare
15915 numerical UIDs, since they could be integers or floats.
15916
219bd536
JB
159172011-03-12 Juanma Barranquero <lekktu@gmail.com>
15918
15919 * vc/vc-bzr.el (vc-bzr-state): Handle bzr 2.3.0 (follow-up to bug#8170).
15920
f3afd36b
MA
159212011-03-12 Michael Albinus <michael.albinus@gmx.de>
15922
15923 Sync with Tramp 2.2.1.
15924
15925 * net/tramp-sh.el (tramp-methods): Exchange "%k" marker with options.
15926
15927 * net/trampver.el: Update release number.
15928
3aaaa6f1
SM
159292011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
15930
94642599
SM
15931 * progmodes/compile.el (compilation--previous-directory): Fix up
15932 various nil/dead-marker mismatches (bug#8014).
15933 (compilation-directory-properties, compilation-error-properties):
15934 Don't call it at a position past the one we're about to change.
15935
3aaaa6f1
SM
15936 * emacs-lisp/bytecomp.el (byte-compile-make-obsolete-variable):
15937 Disable obsolescence warnings in the file that declares it.
15938
14239447
KM
159392011-03-11 Ken Manheimer <ken.manheimer@gmail.com>
15940
099c39a4
JB
15941 * allout-widgets.el (allout-widgets-tally):
15942 Initialize allout-widgets-tally as a hash table rather than nil to
15943 prevent mode-line redisplay warnings. Also, clarify the module
15944 description and fix a comment typo.
14239447 15945
135e287c
JB
159462011-03-11 Juanma Barranquero <lekktu@gmail.com>
15947
15948 * help-fns.el (describe-variable): Don't complete keywords.
15949 Suggested by Teodor Zlatanov <tzz@lifelogs.com>.
15950
ffbf300e
CY
159512011-03-10 Chong Yidong <cyd@stupidchicken.com>
15952
ba08b241
CY
15953 * emacs-lisp/package.el (package-version-join): Impose a standard
15954 string representation for pre/alpha/beta version lists.
15955 (package-unpack-single): Standardize the directory name by passing
15956 it through package-version-join.
15957 (package-strip-rcs-id): Accept any version string that does not
15958 signal an error in version-to-list.
ffbf300e 15959
f346fd6b
MA
159602011-03-10 Michael Albinus <michael.albinus@gmx.de>
15961
15962 * simple.el (delete-trailing-whitespace): Return nil for the
15963 benefit of `write-file-functions'.
15964
ccb55d27
GM
159652011-03-10 Glenn Morris <rgm@gnu.org>
15966
5ceaac0c
GM
15967 * vc/vc-hg.el (vc-hg-pull, vc-hg-merge-branch): Use vc-hg-program.
15968
02da65ff
GM
15969 * vc/vc-git.el (vc-git-program): New option.
15970 (vc-git-branches, vc-git-pull, vc-git-merge-branch, vc-git-command)
15971 (vc-git--call): Use it.
15972
b2f603cc
GM
15973 * eshell/esh-util.el (eshell-condition-case): Doc fix.
15974
5772caab
GM
15975 * cus-edit.el (Custom-newline): If no button at point, look
15976 for a subgroup button at start-of-line. (Bug#2298)
15977
ccb55d27
GM
15978 * mail/rmail.el (rmail-msgend, rmail-msgbeg): Doc fixes.
15979
ec6ecaed
JD
159802011-03-10 Julien Danjou <julien@danjou.info>
15981
15982 * avoid.el (mouse-avoidance-ignore-p): Do not move the cursor if
15983 `cursor-type' is nil.
15984
9d5aa01d
JB
159852011-03-09 Jay Belanger <jay.p.belanger@gmail.com>
15986
15987 * calc/calc.el (calc-mode-map): Don't bind "C-_" to `calc-missing-key'.
15988
b6a5875b
KM
159892011-03-09 Ken Manheimer <ken.manheimer@gmail.com>
15990
7a71b18d 15991 * allout.el: Change so yank of distinctive-bullet items
b6a5875b
KM
15992 preserves the existing header prefix, rebulleting it if necessary,
15993 rather than replacing it. This is necessary for proper operation
15994 of cooperative addons like allout-widgets.
1154d12e
JB
15995 (allout-make-topic-prefix, allout-rebullet-heading):
15996 Change SOLICIT arg to INSTEAD, and interpret additionally a string
15997 value as alternate bullet to be used, instead of prompting the user
15998 for a bullet character.
b6a5875b 15999
ee545c35
MA
160002011-03-09 Michael Albinus <michael.albinus@gmx.de>
16001
d86d2721
SM
16002 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
16003 Do not use `tramp-file-name-port', because this returns also
ee545c35
MA
16004 `tramp-default-port'.
16005
c47971d7
DD
160062011-03-09 Deniz Dogan <deniz.a.m.dogan@gmail.com>
16007
16008 * net/rcirc.el (rcirc-handler-001): Remove useless
16009 with-rcirc-process-buffer.
16010 (rcirc-check-auth-status): Swap arguments to string-match.
16011
13522cb4
GM
160122011-03-09 Glenn Morris <rgm@gnu.org>
16013
0be6f4f1
GM
16014 * shell.el (shell-mode):
16015 Set comint-input-ring-size from HISTSIZE. (Bug#7889)
16016
13522cb4
GM
16017 * progmodes/gdb-mi.el (gdb): Improve 2010-12-08 change.
16018 Check for GDBHISTFILE, HISTSIZE, etc. (Bug#7889)
16019
515de2e3
CY
160202011-03-08 Chong Yidong <cyd@stupidchicken.com>
16021
16022 * emacs-lisp/package.el (package-refresh-contents)
16023 (package-menu-execute): Use condition-case-no-debug.
16024
b511b994
MA
160252011-03-08 Michael Albinus <michael.albinus@gmx.de>
16026
16027 * simple.el (shell-command-to-string): Use `process-file'.
16028
16029 * emacs-lisp/package.el (package-tar-file-info): Handle also
16030 remote files.
16031
d86d2721
SM
16032 * emacs-lisp/package-x.el (package-upload-buffer-internal):
16033 Use `equal' for upload base check.
b511b994 16034
25bbfb31
AM
160352011-03-08 Arni Magnusson <arnima@hafro.is> (tiny change)
16036
16037 * textmodes/texinfo.el (texinfo-environments):
16038 Add deftypecv, deftypeivar, deftypemethod, deftypeop, html. (Bug#2783)
16039
be996521
GM
160402011-03-08 Glenn Morris <rgm@gnu.org>
16041
e9c8529f
GM
16042 * cus-start.el (cursor-in-non-selected-windows):
16043 Fix :set quoting oddness. (Bug#8192)
16044
be996521
GM
16045 * font-lock.el (lisp-font-lock-keywords-1): Don't highlight `)'
16046 in some setf expressions. (Bug#2159)
16047
2bb5649e
CY
160482011-03-08 Chong Yidong <cyd@stupidchicken.com>
16049
16050 * custom.el (custom-available-themes): Return themes in
16051 alphabetical order.
16052
33383987 16053See ChangeLog.15 for earlier changes.
e3d51b27
MR
16054
16055;; Local Variables:
16056;; coding: utf-8
e3d51b27
MR
16057;; End:
16058
acaf905b 16059 Copyright (C) 2011-2012 Free Software Foundation, Inc.
e3d51b27
MR
16060
16061 This file is part of GNU Emacs.
16062
16063 GNU Emacs is free software: you can redistribute it and/or modify
16064 it under the terms of the GNU General Public License as published by
16065 the Free Software Foundation, either version 3 of the License, or
16066 (at your option) any later version.
16067
16068 GNU Emacs is distributed in the hope that it will be useful,
16069 but WITHOUT ANY WARRANTY; without even the implied warranty of
16070 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16071 GNU General Public License for more details.
16072
16073 You should have received a copy of the GNU General Public License
16074 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.