* lisp/files.el (locate-dominating-file): Allow `name' to be a predicate.
[bpt/emacs.git] / lisp / ChangeLog
CommitLineData
30eabd7a
SM
12012-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
2
0781098a
SM
3 * files.el (locate-dominating-file): Allow `name' to be a predicate.
4 (find-file--read-only): New function.
5 (find-file-read-only, find-file-read-only-other-window)
6 (find-file-read-only-other-frame): Use it.
7 (insert-file-contents-literally): Don't `fset'.
8 (get-free-disk-space): Use locate-dominating-file.
9
b5771c0d
SM
10 * emacs-lisp/bytecomp.el (byte-compile): Don't signal an error if the
11 function is already compiled.
12
30eabd7a
SM
13 * xml.el (xml-name-regexp): Remove, redundant. Use xml-name-re.
14
b4886f6e
MA
152012-07-03 Michael Albinus <michael.albinus@gmx.de>
16
17 * vc/ediff-diff.el (ediff-same-file-contents): Fix it for remote
18 files on the same host.
19
b9d82339
AS
202012-07-03 Andreas Schwab <schwab@linux-m68k.org>
21
22 * help-fns.el (describe-function-1): Only call
23 help-fns--autoloaded-p when we have a file name. (Bug#11848)
24
a76e6535
CY
252012-07-03 Chong Yidong <cyd@gnu.org>
26
27 * xml.el: Protect parser against XML bombs.
28 (xml-entity-expansion-limit): New variable.
29 (xml-parse-string, xml-substitute-special): Use it.
30 (xml-parse-dtd): Avoid infloop if the DTD is not terminated.
31
b544fef2
GM
322012-07-03 Glenn Morris <rgm@gnu.org>
33
34 * progmodes/bug-reference.el (bug-reference-bug-regexp):
35 Allow linking to specific messages in debbugs reports (eg 123#5).
36
a7aef6f5
CY
372012-07-02 Chong Yidong <cyd@gnu.org>
38
39 * xml.el: Fix entity and character reference expansion, allowing
40 them to expand into markup as per XML spec.
41 (xml-default-ns): New variable.
42 (xml-entity-alist): Use XML spec definitions for lt and amp.
30eabd7a
SM
43 (xml-parse-region): Make first two arguments optional.
44 Discard text properties.
45 (xml-parse-tag-1): New function, spun off from xml-parse-tag.
46 All callers changed.
a7aef6f5
CY
47 (xml-parse-tag): Call xml-parse-tag-1. For backward
48 compatibility, this function should not modify buffer contents.
49 (xml-parse-tag-1): Fix opening-tag regexp.
50 (xml-parse-string): Rewrite, handling entity and character
51 references properly.
52 (xml--entity-replacement-text): Signal an error if a parameter
53 entity is undefined.
54
3df31c9f
SM
552012-07-02 Stefan Monnier <monnier@iro.umontreal.ca>
56
2b5208f1
SM
57 * comint.el (comint-output-filter): Filter out repeated prompts.
58
3df31c9f
SM
59 * net/ange-ftp.el (ange-ftp-expand-file-name): Use ange-ftp-ftp-name
60 and file-name-absolute-p.
61 (ange-ftp-file-exists-p): Use ange-ftp-file-exists-p for
62 internal calls.
63
e3ac1281
PE
642012-07-02 Paul Eggert <eggert@cs.ucla.edu>
65
66 Spelling fixes.
67 * emacs-lisp/bytecomp.el (byte-compile--reify-function):
68 Rename from byte-compile--refiy-function. All uses changed.
69
fbf2e7ad
CY
702012-07-01 Chong Yidong <cyd@gnu.org>
71
72 * xml.el (xml--parse-buffer): New function. Move most of
73 xml-parse-region here.
74 (xml-parse-region): Copy region into a temporary buffer, since
75 parameter entity substitution requires changing buffer contents.
76 Use xml--parse-buffer.
77 (xml-parse-file): Use xml--parse-buffer.
78 (xml-parse-dtd): Make parameter entity substitution work right.
6fe566a7 79 Use proper regexps for ELEMENT declarations (Bug#7172).
fbf2e7ad 80
9bf0aa15
GM
812012-06-30 Glenn Morris <rgm@gnu.org>
82
bbce2853
GM
83 * comint.el (follow-comint-scroll-to-bottom): Fix declaration.
84
9bf0aa15
GM
85 * net/secrets.el, net/tramp-gvfs.el, net/xesam.el, net/zeroconf.el:
86 Remove outdated and unnecessary dbus declarations.
87
0d23c240
EZ
882012-06-30 Eli Zaretskii <eliz@gnu.org>
89
90 * emacs-lisp/timer.el (timer-until): Subtract results of
91 float-time, instead of taking float-time of the result of
92 time-subtract, since float-time signals an error for negative time
93 arguments.
94
b3218de1
CY
952012-06-30 Chong Yidong <cyd@gnu.org>
96
97 * xml.el (xml-*-re): Convert defvars into defconsts, and
98 eval-and-compile them so eval-and-compile works on derivatives.
99 (xml--entity-replacement-text): Use eval-and-comple.
100
a40c87a0
MA
1012012-06-30 Michael Albinus <michael.albinus@gmx.de>
102
103 * vc/vc-git.el (vc-git-registered): Use cache property
104 `git-registered'.
105 (vc-git-mode-line-string): Call `vc-working-revision' instead of
106 `vc-git-working-revision' in order to benefit from the cache.
107 (vc-git-root): Use cache property `git-root'.
108
ac87de97
DG
1092012-06-30 Dmitry Gutov <dgutov@yandex.ru>
110
111 * vc/vc-hooks.el (vc-before-save): Clear cache if file has been
112 removed (likely outside Emacs).
113
ac10fe06
SM
1142012-06-30 Stefan Monnier <monnier@iro.umontreal.ca>
115
3df31c9f 116 * emacs-lisp/cl-lib.el: Require macroexp.
ac10fe06 117
7f3fbd5d
CY
1182012-06-30 Chong Yidong <cyd@gnu.org>
119
120 * xml.el: Implement XML parameter entities.
121 (xml-parameter-entity-alist): New variable.
122 (xml-parse-region, xml-parse-fragment): Preserve previous values
123 of xml-entity-alist and xml-parameter-entity-alist, so that
124 repeated calls on different documents do not change them.
125 (xml-parse-tag): Fix doctype regexp.
126 (xml--entity-replacement-text): New function.
127 (xml-parse-dtd): Use it. Don't handle system entities; doing that
128 properly requires url retrieval which is unimplemented.
129 (xml-escape-string): Doc fix.
130
3cfbebba
SM
1312012-06-30 Stefan Monnier <monnier@iro.umontreal.ca>
132
133 * emacs-lisp/cl-lib.el (cl-pushnew): Use macroexp-let2.
134
2af3565e
DA
1352012-06-29 Dmitry Antipov <dmantipov@yandex.ru>
136
137 * fringe.el (fringe-mode): Doc fix.
138
929df0e7
MA
1392012-06-29 Michael Albinus <michael.albinus@gmx.de>
140
141 * net/ange-ftp.el (ange-ftp-get-passwd): Throw if `non-essential'
142 is non-nil.
143 (ange-ftp-ignore-errors-if-non-essential): New defmacro.
144 (ange-ftp-file-name-all-completions): Use it. (Bug#11808)
145
c8d3a25c 1462012-06-29 Andreas Schwab <schwab@linux-m68k.org>
3d8b9024 147
c8d3a25c
GM
148 * calendar/cal-dst.el (calendar-current-time-zone):
149 Return calendar-current-time-zone-cache if non-nil.
3d8b9024 150
c8d3a25c 1512012-06-29 Masatake YAMATO <yamato@redhat.com>
26e8548e
MY
152
153 * progmodes/which-func.el (which-func-format):
154 Add mouse-face. (Bug#11698)
155
c8d3a25c
GM
1562012-06-29 Leo Liu <sdl.web@gmail.com>
157
158 * textmodes/enriched.el (enriched-next-annotation): Use eq (Bug#11528).
159
1602012-06-29 Stefan Monnier <monnier@iro.umontreal.ca>
161
162 * minibuffer.el (minibuffer-confirm-exit-commands):
163 Add completion-at-point (bug#11725).
164
1652012-06-29 Glenn Morris <rgm@gnu.org>
166
167 * progmodes/f90.el (f90-font-lock-keywords-2):
168 Add some preprocessor elements. (Bug#10499)
169
1702012-06-29 Stefan Monnier <monnier@iro.umontreal.ca>
171
172 * progmodes/cperl-mode.el (cperl-update-syntaxification):
173 Use syntax-propertize (bug#11739).
174
2badeec4
JB
1752012-06-28 Juanma Barranquero <lekktu@gmail.com>
176
177 * emacs-lisp/cl-lib.el (cl-pushnew): Don't capture X (bug#11811).
178
ae4969c2
JD
1792012-06-28 Julien Danjou <julien@danjou.info>
180
181 * term.el (term-handle-colors-array): Use a set of new faces to
182 color the terminal. Also uses :inverse-video property.
183 (term-default-fg-color): Set to nil by default, deprecate in favor
184 of `term-face'.
185 (term-default-bg-color): Set to nil by default, deprecate in favor
186 of `term-face'.
187 (term-current-face): Use `term-face' by default.
188 (term-bold-attribute): Variable deleted.
189
1c9bd870
GM
1902012-06-28 Glenn Morris <rgm@gnu.org>
191
192 * simple.el (completion-list-mode-finish):
193 Don't use toggle-read-only. (Since completion-list-mode has
194 a special mode-class, it wasn't doing anything extra anyway.)
195
c207708c
SM
1962012-06-28 Stefan Monnier <monnier@iro.umontreal.ca>
197
198 Make inlining of other-mode interpreted functions work (bug#11799).
199 * emacs-lisp/bytecomp.el (byte-compile--refiy-function): New fun.
200 (byte-compile): Use it to fix compilation of lexical-binding closures.
201 * emacs-lisp/byte-opt.el (byte-compile-inline-expand): Compile the
202 function, if needed.
203
3fd56834
SM
2042012-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
205
04901786
SM
206 * help-mode.el (help-make-xrefs): Don't just withstand
207 cyclic-variable-indirection but any error in documentation-property.
208
1ec4b7b2
SM
209 * loadup.el (purify-flag): Pre-grow the hash-table to reduce the
210 memory use.
211 * bindings.el (bindings--define-key): New function.
212 * vc/vc-hooks.el, replace.el, menu-bar.el, international/mule-cmds.el:
213 * emacs-lisp/lisp-mode.el, buff-menu.el, bookmark.el:
214 * bindings.el: Use it to purecopy define-key bindings.
215
e309e2a5
SM
216 * textmodes/rst.el (rst-adornment-faces-alist): Avoid copy-list.
217
d5c6faf9
SM
218 * emacs-lisp/cl.el (flet): Mark obsolete.
219 * emacs-lisp/cl-macs.el (cl-flet*): New macro.
220 * vc/vc-rcs.el (vc-rcs-annotate-command, vc-rcs-parse):
221 * progmodes/js.el (js-c-fill-paragraph):
222 * progmodes/ebrowse.el (ebrowse-switch-member-buffer-to-sibling-class)
223 (ebrowse-switch-member-buffer-to-derived-class):
224 * play/5x5.el (5x5-solver): Use cl-flet.
225
6e9590e2
SM
226 * emacs-lisp/cl.el: Use lexical-binding. Fix flet (bug#11780).
227 (cl--symbol-function): New macro.
228 (cl--letf, cl--letf*): Use it.
229
3fd56834
SM
230 * emacs-lisp/easy-mmode.el (easy-mmode-pretty-mode-name):
231 Strip "toggle-" if any.
232
35ff222c
GM
2332012-06-27 Glenn Morris <rgm@gnu.org>
234
1ba6038a
GM
235 * info.el (Info-default-directory-list): Move here from paths.el.
236 * paths.el: Remove file, which is now empty.
237 * loadup.el: No longer load "paths".
238
0ea0e51b
GM
239 * custom.el (custom-initialize-delay): Doc fix.
240
35ff222c
GM
241 * eshell/em-alias.el, eshell/em-banner.el, eshell/em-basic.el:
242 * eshell/em-cmpl.el, eshell/em-dirs.el, eshell/em-glob.el:
243 * eshell/em-hist.el, eshell/em-ls.el, eshell/em-pred.el:
244 * eshell/em-prompt.el, eshell/em-rebind.el, eshell/em-script.el:
245 * eshell/em-smart.el, eshell/em-term.el, eshell/em-unix.el:
246 * eshell/em-xtra.el: Replace eshell-defgroup with "(progn (defgroup".
247 * eshell/eshell.el (eshell-defgroup): Remove alias.
248
c89926a5
CY
2492012-06-27 Chong Yidong <cyd@gnu.org>
250
251 * help.el (help-enable-auto-load): New variable.
252
253 * help-fns.el (help-fns--autoloaded-p): New function.
254 (describe-function-1): Refer to a function as "autoloaded" if it
255 was autoloaded at any time in the past. Perform autoloading if
256 help-enable-auto-load is non-nil.
257
cc06e7e7
EZ
2582012-06-26 Eli Zaretskii <eliz@gnu.org>
259
260 * makefile.w32-in (compile, compile-always): Depend on
261 update-subdirs, not on subdirs.el. Otherwise, several different
262 sub-targets of 'bootstrap' running in parallel could
263 simultaneously write to subdirs.el, producing a garbled file.
264
d2c32364
SS
2652012-06-26 Sam Steingold <sds@gnu.org>
266
267 * files.el (file-name-base): New convenience function.
0d14cc21
GM
268 * autoinsert.el, cus-dep.el, doc-view.el, image-dired.el:
269 * woman.el, eshell/esh-cmd.el, progmodes/ada-xref.el:
270 * progmodes/cc-defs.el, progmodes/cperl-mode.el:
271 * progmodes/flymake.el, progmodes/gud.el, progmodes/idlwave.el:
272 * textmodes/ispell.el, textmodes/reftex-ref.el:
d2c32364
SS
273 * textmodes/tex-mode.el: Use it.
274 Did not touch cedet and org because they are maintained elsewhere.
275
5cf983b2
MR
2762012-06-26 Martin Rudalics <rudalics@gmx.at>
277
278 * calendar/calendar.el (calendar-exit): Don't try to delete or
279 iconify last frame. See:
280 http://lists.gnu.org/archive/html/emacs-devel/2012-06/msg00372.html
281
8c4f2952
JD
2822012-06-25 Jim Diamond <Jim.Diamond@AcadiaU.ca> (tiny change)
283
284 * server.el (server-process-filter): Remember dir in the
285 process's `server-client-directory' properties.
286
772b2e2c
CY
2872012-06-24 Chong Yidong <cyd@gnu.org>
288
289 * xml.el (xml-parse-tag): Correctly handle comment embedded in
290 non-tag text.
291
711b11e1
JB
2922012-06-23 Juanma Barranquero <lekktu@gmail.com>
293
294 * makefile.w32-in (COMPILE_FIRST): Synch with changes in 2012-06-22T21:24:54Z!monnier@iro.umontreal.ca.
295
dc5d230c
SM
2962012-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
297
298 * help-fns.el (describe-variable): Don't croak when doc is not found.
299 * vc/pcvs.el (cvs-retrieve-revision): Avoid toggle-read-only.
300 * menu-bar.el (menu-bar-line-wrapping-menu): Purecopy a tiny bit more.
301 * emacs-lisp/syntax.el (syntax-ppss): Simplify with new `if' place.
302 * emacs-lisp/smie.el (smie-next-sexp): CSE.
303 * emacs-lisp/macroexp.el (macroexp-let2): Fix edebug spec and avoid
304 ((lambda ..) ..).
305 * emacs-lisp/eieio.el (eieio-oref, slot-value): Use simpler defsetf.
306
136e1c1d
CY
3072012-06-23 Chong Yidong <cyd@gnu.org>
308
e8c1cabf
CY
309 * info.el (Info-mouse-follow-link): Accept symbol values of
310 link-args. Select window; suggested by Gerhard Kahl (Bug#11672).
136e1c1d
CY
311 (Info-fontify-node): Use Info-link-keymap for all navigation
312 buttons, with link-args property to perform the desired action.
313 (Info-link-keymap): Doc fix.
314 (Info-next-link-keymap, Info-prev-link-keymap)
315 (Info-up-link-keymap): Delete now-unused keymaps.
316
0e9e6c6a
CY
3172012-06-23 Chong Yidong <cyd@gnu.org>
318
05e89fea
CY
319 * mouse.el (mouse-drag-track): Deactivate the mark before popping.
320
0e9e6c6a
CY
321 * progmodes/python.el (python-skeleton-define): Mark abbrevs as
322 system abbrevs.
323
324 * ansi-color.el (ansi-color-apply-on-region): Doc fix.
325
e33c6771
SM
3262012-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
327
b68581e2
SM
328 * emacs-lisp/cl-macs.el (cl--make-usage-args): Handle improper lists
329 (bug#11719).
330
e33c6771
SM
331 * minibuffer.el (completion--twq-try): Try to fail more gracefully when
332 the requote function doesn't work properly (bug#11714).
333
7117e105
GM
3342012-06-23 Glenn Morris <rgm@gnu.org>
335
336 * pcmpl-rpm.el (pcmpl-rpm-packages): Give status messages.
337
36cec983
SM
3382012-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
339
340 Further GV/CL cleanups.
341 * emacs-lisp/gv.el (gv-get): Autoload functions to find their
342 gv-expander.
343 (gv--defun-declaration): New function.
344 (defun-declarations-alist): Use it.
345 (gv-define-modify-macro, gv-pushnew!, gv-inc!, gv-dec!): Remove.
346 (gv-place): Autoload.
347 * emacs-lisp/cl.el (cl--dotimes, cl--dolist): Remember subr.el's
348 original definition of dotimes and dolist.
349 * emacs-lisp/cl-macs.el (cl-expr-access-order): Remove unused.
350 (cl-dolist, cl-dotimes): Use `dolist' and `dotimes'.
351 * emacs-lisp/cl-lib.el: Move gv handlers from cl-macs to here.
352 (cl-fifth, cl-sixth, cl-seventh, cl-eighth)
353 (cl-ninth, cl-tenth): Move gv handler to the function's definition.
354 * emacs-lisp/cl-extra.el (cl-subseq, cl-get, cl-getf): Move gv handler
355 to the function's definition.
356 * Makefile.in (COMPILE_FIRST): Re-order to speed it up by about 50%.
357 * window.el:
358 * files.el:
359 * faces.el:
360 * env.el: Don't use CL.
361
d35af63c
PE
3622012-06-22 Paul Eggert <eggert@cs.ucla.edu>
363
364 Support higher-resolution time stamps (Bug#9000).
365
366 * calendar/time-date.el (with-decoded-time-value): New arg
367 PICO-SYMBOL in VARLIST. It's optional, for backward compatibility.
368 (encode-time-value): New optional arg PICO. New type 3.
369 (time-to-seconds) [!float-time]: Support the new picoseconds
370 component if it's used.
371 (seconds-to-time, time-subtract, time-add):
372 Support ps-resolution time stamps as well.
373
374 * emacs-lisp/timer.el (timer): New component psecs. All uses changed.
375 (timerp): Timer vectors now have length 9, not 8.
376 (timer--time): Support new-style (4-part) time stamps.
377 (timer-next-integral-multiple-of-time): Time stamps now have
378 picosecond resolution, so take a bit more care about rounding.
379 (timer-relative-time, timer-inc-time): New optional arg psecs.
380 (timer-set-time-with-usecs): Set psecs to 0.
381 (timer--activate): Check psecs component, too.
382
383 * proced.el (proced-time-lessp): Support ps-resolution stamps.
384
ac77b21a
SM
3852012-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
386
f143bfe3
SM
387 * icomplete.el (icomplete-minibuffer-setup, icomplete-completions):
388 Move the non-essential binding to the post/pre-command-hook where it is
389 more obviously correct.
390
ac77b21a
SM
391 * subr.el (read-passwd): Don't use a history at all.
392 * savehist.el (savehist-save): Remove password saved accidentally
393 because of the above bug.
394
76386c5a
BG
3952012-06-22 Bastien Guerry <bzg@gnu.org>
396
397 * files.el (toggle-read-only): Display a message telling whether
398 the buffer is read-only or not (bug#11726).
399
2ee3d7f0
SM
4002012-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
401
402 * emacs-lisp/gv.el: New file.
403 * subr.el (push, pop): Extend to generalized variables.
404 * loadup.el (macroexp): Unload if preloaded and uncompiled (bug#11657).
405 * emacs-lisp/cl-lib.el (cl-pop, cl-push, cl--set-nthcdr): Remove.
406 * emacs-lisp/cl-macs.el: Require gv. Use gv-define-setter,
407 gv-define-simple-setter, and gv-define-expander.
408 Remove setf-methods defined in gv. Rename cl-setf -> setf.
409 (cl-setf, cl-do-pop, cl-get-setf-method): Remove.
410 (cl-letf, cl-letf*, cl-define-modify-macro, cl-defsetf)
411 (cl-define-setf-expander, cl-struct-setf-expander): Move to cl.el.
412 (cl-remf, cl-shiftf, cl-rotatef, cl-callf, cl-callf2): Rewrite with
413 gv-letplace.
414 (cl-defstruct): Don't define setf-method any more.
415 * emacs-lisp/cl.el (flet): Don't autoload.
416 (cl--letf, letf, cl--letf*, letf*, cl--gv-adapt)
417 (define-setf-expander, defsetf, define-modify-macro)
418 (cl-struct-setf-expander): Move from cl-lib.el.
419 * emacs-lisp/syntax.el:
420 * emacs-lisp/ewoc.el:
421 * emacs-lisp/smie.el:
422 * emacs-lisp/cconv.el:
423 * emacs-lisp/timer.el: Rename cl-setf -> setf, cl-push -> push.
424 (timer--time): Use gv-define-simple-setter.
425 * emacs-lisp/macroexp.el (macroexp-let2): Rename from macroexp-let²
426 to avoid coding-system problems in subr.el. Adjust all users.
427 (macroexp--maxsize, macroexp-small-p): New functions.
428 * emacs-lisp/bytecomp.el (byte-compile-file): Don't use cl-letf.
429 * scroll-bar.el (scroll-bar-mode):
430 * simple.el (auto-fill-mode, overwrite-mode, binary-overwrite-mode)
431 (normal-erase-is-backspace-mode): Don't use the `eq' place.
432 * winner.el (winner-configuration, winner-make-point-alist)
433 (winner-set-conf, winner-get-point, winner-set): Don't abuse letf.
434 * files.el (locate-file-completion-table): Avoid list*.
435
c5695d1d
CY
4362012-06-22 Chong Yidong <cyd@gnu.org>
437
438 * dired-aux.el (dired-do-create-files): Doc fix (Bug#11327).
439 (dired-create-files): Doc fix (Bug#11329).
440 (dired-do-copy): Doc fix (Bug#11334).
441 (dired-mark-read-string): Doc fix (Bug#11553).
442
2ee3d7f0
SM
443 * dired.el (dired-recursive-copies, dired-recursive-deletes):
444 Doc fix (Bug#11326).
c5695d1d
CY
445 (dired-make-relative): Doc fix (Bug#11332). Remove unused arg.
446 (dired-dwim-target): Doc fix.
447
448 * wdired.el (wdired-mode): Doc fix.
449
89b5595a
GM
4502012-06-22 Glenn Morris <rgm@gnu.org>
451
575db3f1
GM
452 * pcmpl-rpm.el (pcmpl-rpm-cache): New option.
453 (pcmpl-rpm-cache-stamp-file): New constant.
454 (pcmpl-rpm-cache-time, pcmpl-rpm-packages): New variables.
455 (pcmpl-rpm-packages): Optionally cache list of packages.
456
a4c8dd51
GM
457 * pcmpl-rpm.el (pcmpl-rpm): New group.
458 (pcmpl-rpm-query-options): New option.
459 (pcmpl-rpm-packages): No need to inline it.
460 Use pcmpl-rpm-query-options.
461
89b5595a
GM
462 * calendar/calendar.el (calendar-in-read-only-buffer):
463 Avoid some needless mode changes.
464
e76f0800
CY
4652012-06-21 Chong Yidong <cyd@gnu.org>
466
467 * desktop.el (desktop-read): Don't prompt if daemon (Bug#11674).
468 (desktop-path): Remove . from the default value (Bug#10977).
6b67c0d4 469 (desktop-read): Use user-emacs-directory if desktop-path is nil.
e76f0800 470
297a8f1d
CY
4712012-06-20 Chong Yidong <cyd@gnu.org>
472
473 * term.el (term-send-raw-meta): Make C-M-<char> keys work (Bug#8172).
474
d34c18b1
DR
4752012-06-20 David Röthlisberger <david@rothlis.net> (tiny change)
476
477 * ido.el (ido-switch-buffer, ido-find-file): Fix up doc of C-j
478 (bug#11201).
479
32f7f28e
CY
4802012-06-20 Chong Yidong <cyd@gnu.org>
481
482 * term.el (term-window-width): Handle the case of a missing right
483 fringe (Bug#8837).
484 (term-check-size): Use window-text-height (Bug#5445).
d34c18b1
DR
485 (term-mode): Use define-derived-mode. Minor cleanups.
486 Set font-lock-defaults (Bug#7692).
6ff7caa8
CY
487 (term-move-columns, term-insert-char, term-emulate-terminal)
488 (term-erase-in-line, term-insert-spaces): Use font-lock-face.
32f7f28e 489
493c6688
MA
4902012-06-20 Michael Albinus <michael.albinus@gmx.de>
491
d34c18b1
DR
492 * net/ange-ftp.el (ange-ftp-get-passwd):
493 Bind `enable-recursive-minibuffers'.
493c6688
MA
494 (ange-ftp-get-process): Throw if `non-essential' is non-nil.
495
3f06ecf4
DR
4962012-06-19 David Röthlisberger <david@rothlis.net> (tiny change)
497
498 * ido.el (ido-find-file): Mention C-d binding in docstring (bug#11244).
499
68f12411
GM
5002012-06-19 Glenn Morris <rgm@gnu.org>
501
502 * progmodes/python.el (python-mode): Derive from prog-mode.
503
b3820318
KG
5042012-06-19 Kevin Gallagher <Kevin.Gallagher@boeing.com>
505
506 * emulation/edt.el (edt-default-menu-bar-update-buffers)
507 (edt-user-menu-bar-update-buffers): New functions.
508 (edt-default-emulation-setup, edt-user-emulation-setup): Use them.
509
c6bf3022
CY
5102012-06-19 Chong Yidong <cyd@gnu.org>
511
512 * subr.el (with-selected-window): Preserve the selected window's
513 terminal's top-frame (Bug#4702).
514
515 * window.el (save-selected-window): Likewise.
516
25f09295
SM
5172012-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
518
519 * progmodes/python.el (python-rx-constituents): Move backquote.
520 (python-skeleton-define, python-define-auxiliary-skeleton):
521 Use `declare'.
522
6b11952a
MA
5232012-06-18 Michael Albinus <michael.albinus@gmx.de>
524
525 * minibuffer.el (read-file-name-default): Revert the patch from
526 2012-06-17.
527
ee4b1330
SM
5282012-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
529
530 * emacs-lisp/pcase.el (pcase--expand): Warn for unused pattern.
531 (pcase--u1, pcase--q1): Don't use apply-partially.
532
35647f79
GM
5332012-06-18 Glenn Morris <rgm@gnu.org>
534
535 * progmodes/python.el (python-proc, python-buffer)
536 (python-send-receive, python-send-string): Fix obsolete versions.
537
24b0cff0
MR
5382012-06-18 Martin Rudalics <rudalics@gmx.at>
539
540 * window.el (special-display-p): Completely remove stringp
541 check. Suggested by Andreas Schwab <schwab@linux-m68k.org>.
542
29855149
MA
5432012-06-17 Michael Albinus <michael.albinus@gmx.de>
544
545 * minibuffer.el (read-file-name-default): Bind `non-essential' to `t'.
546
547 * net/tramp.el (tramp-file-name-handler): Catch 'non-essential.
548
549 * net/ange-ftp.el (ange-ftp-gwp-start, ange-ftp-start-process):
550 * net/tramp-sh.el (tramp-maybe-open-connection):
551 Throw if `non-essential' is non-nil.
552
07463363
MR
5532012-06-17 Martin Rudalics <rudalics@gmx.at>
554
555 * window.el (special-display-p): Signal an error if BUFFER-NAME
556 is not a string (Bug#11713).
557
48d1354e
PE
5582012-06-17 Paul Eggert <eggert@cs.ucla.edu>
559
560 * progmodes/python.el (python-info-beginning-of-backslash):
561 Rename from python-info-beginning-of-backlash, as a spelling fix.
562
eb4a8a9a
CY
5632012-06-17 Chong Yidong <cyd@gnu.org>
564
565 * term.el (term-emulate-terminal): If term-check-size is called,
566 move point to the process mark without resetting point (Bug#4635).
567
ddfbf826 5682012-06-17 Glenn Morris <rgm@gnu.org>
9c758578
GM
569
570 * international/mule-cmds.el (mule-menu-keymap)
571 (set-language-environment, set-locale-environment): Doc tweaks.
572
9b0e3eba
AA
5732012-06-16 Aurelien Aptel <aurelien.aptel@gmail.com>
574
575 * cus-face.el (custom-face-attributes): Add wave-style underline
576 attribute.
577 * faces.el (set-face-attribute): Update docstring to describe
578 wave-style underline attribute.
579
771e3eae
CY
5802012-06-16 Chong Yidong <cyd@gnu.org>
581
582 * term/xterm.el (terminal-init-xterm): Discard input before
583 querying background mode (Bug#10959).
584
7ae2ea10
SM
5852012-06-16 Stefan Merten <smerten@oekonux.de>
586
587 * textmodes/rst.el: Added and corrected some comments.
588 (rst-re-alist-def): Improve symbol syntax.
589 (rst-mode-syntax-table): Correct syntax entries.
6665a6fd
SM
590 (rst-cvs-header, rst-svn-rev, rst-svn-timestamp)
591 (rst-official-version, rst-official-cvs-rev): Update version
592 information.
7ae2ea10 593
b6974efa
JB
5942012-06-15 Juanma Barranquero <lekktu@gmail.com>
595
596 * makefile.w32-in (COMPILE_FIRST): Synch with makefile.in changes
597 in 2008-06-22T13:57:28Z!monnier@iro.umontreal.ca.
598
8826d473
GM
5992012-06-15 Fabián Ezequiel Gallina <fgallina@cuca>
600
601 * progmodes/python.el: New python.el merge.
602 (python-guess-indent): Obsolete var.
603 (python-indent-guess-indent-offset): New defcustom.
604 (python-indent): Obsolete var.
605 (python-indent-offset): New defcustom.
606 (python-python-command, python-jython-command): Delete var.
607 (python-shell-interpreter): New defcustom.
608 (python-pdbtrack-do-tracking-p): Delete var.
609 (python-pdbtrack-activate): New defcustom.
610 (python-use-skeletons): Obsolete var.
611 (python-skeleton-autoinsert): New defcustom.
612 (inferior-python-filter-regexp, python-continuation-offset)
613 (python-honour-comment-indentation, python-indent-string-contents)
614 (python-jython-packages, python-mode-hook)
615 (python-pdbtrack-minor-mode-string, python-remove-cwd-from-path)
616 (python-shell-prompt-alist)
617 (python-source-modes): Delete defcustoms.
618 (python-check-buffer-name, python-eldoc-setup-code)
619 (python-eldoc-string-code, python-ffap-setup-code)
620 (python-ffap-string-code, python-fill-comment-function)
621 (python-fill-decorator-function, python-fill-paren-function)
622 (python-fill-string-function, python-imenu-include-defun-type)
623 (python-imenu-make-tree, python-imenu-subtree-root-label)
624 (python-pdbtrack-stacktrace-info-regexp, python-shell-buffer-name)
625 (python-shell-compilation-regexp-alist)
626 (python-shell-completion-module-string-code)
627 (python-shell-completion-pdb-string-code)
628 (python-shell-completion-setup-code)
629 (python-shell-completion-string-code)
630 (python-shell-enable-font-lock, python-shell-exec-path)
631 (python-shell-extra-pythonpaths)
632 (python-shell-internal-buffer-name, python-shell-interpreter-args)
633 (python-shell-process-environment)
634 (python-shell-prompt-block-regexp)
635 (python-shell-prompt-output-regexp)
636 (python-shell-prompt-pdb-regexp, python-shell-prompt-regexp)
637 (python-shell-send-setup-max-wait, python-shell-setup-codes)
638 (python-shell-virtualenv-path): New defcustoms.
639 (brm-menu, eldoc-documentation-function, inferior-python-mode-map)
640 (inferior-python-mode-syntax-table, python--prompt-regexp)
641 (python-buffer, python-command python-python-command)
642 (python-default-template, python-imports, python-indent-index)
643 (python-indent-list, python-indent-list-length)
644 (python-mode-running, python-pdbtrack-is-tracking-p)
645 (python-preoutput-continuation, python-preoutput-leftover)
646 (python-preoutput-result, python-preoutput-skip-next-prompt)
647 (python-prev-dir/file, python-recursing)
648 (python-saved-check-command, python-version-checked)
649 (python-which-func-length-limit)
650 (view-return-to-alist): Delete vars.
651 (python-check-custom-command, python-dotty-syntax-table)
652 (python-imenu-index-alist, python-indent-current-level)
653 (python-indent-dedenters, python-indent-levels)
654 (python-nav-beginning-of-defun-regexp)
655 (python-nav-list-defun-positions-cache)
656 (python-pdbtrack-buffers-to-kill, python-pdbtrack-tracked-buffer)
657 (python-shell-internal-buffer)
658 (python-skeleton-available): New vars.
659 (def-python-skeleton): Delete macro.
660 (python-skeleton-define): New macro.
661 (python-define-auxiliary-skeleton, python-rx): New macros.
662 (python-insert-class): Delete command.
663 (python-skeleton-class): New command.
664 (python-insert-def): Delete command.
665 (python-skeleton-def): New command.
666 (python-insert-for): Delete command.
667 (python-skeleton-for): New command.
668 (python-insert-if): Delete command.
669 (python-skeleton-if): New command.
670 (python-insert-try/except, python-insert-try/finally): Delete commands.
671 (python-skeleton-try): New command.
672 (python-insert-while): Delete command.
673 (python-skeleton-while): New command.
674 (python-backspace): Delete command.
675 (python-indent-dedent-line-backspace): New command.
676 (python-electric-colon): Delete command.
677 (python-indent-electric-colon): New command.
678 (python-guess-indent): Delete command.
679 (python-indent-guess-indent-offset): New command.
680 (python-shift-left): Delete command.
681 (python-indent-shift-left): New command.
682 (python-shift-right): Delete command.
683 (python-indent-shift-right): New command.
684 (python-find-function): Delete command.
685 (python-nav-jump-to-defun): New command.
686 (python-next-statement): Delete command.
687 (python-nav-forward-sentence): New command.
688 (python-previous-statement): Delete command.
689 (python-nav-backward-sentence): New command.
690 (python-fill-paragraph): Delete command.
691 (python-fill-paragraph-function): New command.
692 (python-send-buffer): Delete command.
693 (python-shell-send-buffer): New command.
694 (python-send-defun): Delete command.
695 (python-shell-send-defun): New command.
696 (python-send-region, python-send-region-and-go): Delete commands.
697 (python-shell-send-region)
698 (python-shell-switch-to-shell): New commands.
699 (python-send-string): Delete command.
700 (python-shell-send-string): New command.
701 (python-switch-to-python): Delete command.
702 (python-shell-switch-to-shell): New command.
703 (python-describe-symbol): Delete command.
704 (python-eldoc-at-point): New command.
705 (python--set-prompt-regexp, python-args-to-list)
706 (python-after-info-look, python-check-version)
707 (python-check-comint-prompt, python-find-imports)
708 (python-execute-file, turn-off-pdbtrack, turn-on-pdbtrack)
709 (python-unload-function, python-expand-template)
710 (python-maybe-jython, python-preoutput-filter)
711 (python-pdbtrack-get-source-buffer)
712 (python-pdbtrack-grub-for-buffer, python-pdbtrack-overlay-arrow)
713 (python-pdbtrack-toggle-stack-tracking)
714 (python-pdbtrack-track-stack-file, python-initial-text)
715 (python-first-word, python-comment-line-p, python-send-command)
716 (python-setup-brm, python-sentinel, python-set-proc)
717 (python-skip-out, python-input-filter, python-outdent-p)
718 (python-outline-level, python-backslash-continuation-line-p)
719 (python-end-of-block, python-end-of-statement, python-mark-block)
720 (python-beginning-of-block, python-beginning-of-statement)
721 (python-blank-line-p, python-beginning-of-string)
722 (python-open-block-statement-p): Delete functions.
723 (python-indent-line, python-indent-line-1): Delete functions.
724 (python-indent-line): New function.
725 (python-indentation-levels): Delete function.
726 (python-indent-calculate-levels): New function.
727 (python-proc): Delete function.
728 (python-shell-get-process): New function.
729 (python-send-receive): Delete function.
730 (python-shell-send-string-no-output): New function.
731 (python-module-path): Delete function.
732 (python-ffap-module-path): New function.
733 (python-completion-at-point)
734 (python-symbol-completions): Delete functions.
735 (python-completion-complete-at-point): New function.
736 (python-load-file): Delete function.
737 (python-shell-send-file): New function.
738 (python-calculate-indentation): Delete function.
739 (python-indent-calculate-indentation): New function.
740 (python-skip-comments/blanks): Delete function.
741 (python-util-forward-comment): New function.
742 (python-continuation-line-p): Delete function.
743 (python-info-continuation-line-p): New function.
744 (python-which-func, python-current-defun): Delete function.
745 (python-info-current-defun): New function.
746 (python-beginning-of-defun): Delete function.
747 (python-nav-beginning-of-defun): New function.
748 (python-close-block-statement-p)
749 (python-block-end-p): Delete function.
750 (python-info-closing-block): New function.
751 (python-comint-output-filter-function)
752 (python-eldoc--get-doc-at-point, python-end-of-defun-function)
753 (python-fill-comment, python-fill-decorator, python-fill-paren)
754 (python-fill-string, python-imenu-make-element-tree)
755 (python-imenu-make-tree, python-imenu-tree-assoc)
756 (python-indent-context, python-indent-dedent-line)
757 (python-indent-line-function)
758 (python-indent-post-self-insert-function)
759 (python-indent-toggle-levels)
760 (python-info-assignment-continuation-line-p)
761 (python-info-beginning-of-backlash)
762 (python-info-block-continuation-line-p)
763 (python-info-closing-block-message)
764 (python-info-line-ends-backslash-p)
765 (python-info-looking-at-beginning-of-defun)
766 (python-info-ppss-context, python-info-ppss-context-type)
767 (python-nav-list-defun-positions, python-nav-read-defun)
768 (python-nav-sentence-end, python-nav-sentence-start)
769 (python-pdbtrack-comint-output-filter-function)
770 (python-pdbtrack-set-tracked-buffer)
771 (python-shell-calculate-exec-path)
772 (python-shell-calculate-process-environment)
773 (python-shell-completion--do-completion-at-point)
774 (python-shell-completion--get-completions)
775 (python-shell-completion-complete-at-point)
776 (python-shell-completion-complete-or-indent)
777 (python-shell-get-or-create-process)
778 (python-shell-get-process-name)
779 (python-shell-internal-get-or-create-process)
780 (python-shell-internal-get-process-name)
781 (python-shell-internal-send-string, python-shell-make-comint)
782 (python-shell-parse-command, python-shell-send-setup-code)
783 (python-skeleton-add-menu-items)
784 (python-util-clone-local-variables, python-util-position)
785 (run-python-internal, python-indentation-levels)
786 (python-nav-beginning-of-defun)
787 (python-completion-complete-at-point): New functions.
788 (run-python): Change arguments. New API requirements.
789
4302f5ba
SM
7902012-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
791
f38ea36d
SM
792 * emacs-lisp/cl-lib.el (cl--defsubst-expand): Autoload inliner
793 (bug#11649).
794
795 * emacs-lisp/macroexp.el (macroexp--compiler-macro): New function.
796 (macroexp--expand-all): Use it.
797
4302f5ba
SM
798 * emacs-lisp/cl-macs.el (cl--transform-function-property): Remove.
799 (cl-define-setf-expander, cl-deftype, cl-define-compiler-macro):
800 Use `cl-function' instead.
801
33377562
JB
8022012-06-14 Juanma Barranquero <lekktu@gmail.com>
803
804 * makefile.w32-in (COMPILE_FIRST): Remove subr.el.
805 Suggested by Stefan Monnier while discussing bug#11657.
806
54c5ba1a
SS
8072012-06-14 Sam Steingold <sds@gnu.org>
808
809 * files.el (abort-if-file-too-large): Use `file-size-human-readable'.
810
f9f1b1fe
AS
8112012-06-14 Andreas Schwab <schwab@linux-m68k.org>
812
813 * play/doctor.el (doctor-doc): Remove parameter and use
814 doctor-sent instead of sent.
815 (doctor-read-print): Use doctor-sent instead of sent. (Bug#11708)
816
a81068ba
SM
8172012-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
818
5a315f9c
SM
819 * files.el: Require cl-lib.
820 (file-name-non-special): Replace case -> cl-case.
821
822 * emacs-lisp/cl-macs.el (cl-defstruct): Don't add print-func.
823
a81068ba
SM
824 * emacs-lisp/edebug.el (edebug-read-function): Remove old incorrect
825 mapping from #' to function*.
826
8cca9703
CY
8272012-06-13 Chong Yidong <cyd@gnu.org>
828
829 * mouse.el (mouse-drag-track): Do not set the mark if the user
830 releases the mouse without selecting anything (Bug#11588).
831
a12ac9d7
SM
8322012-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
833
ccf1dc18
SM
834 * textmodes/tex-mode.el (latex-indent): Recognize tex-verbatim at EOB
835 as well (bug#11646).
836
ef62b23d
SM
837 * loadup.el: Count byte-code functions as well.
838
c4c8444a
SM
839 * emacs-lisp/byte-opt.el (featurep): Move compiler-macro...
840 * emacs-lisp/bytecomp.el (featurep): ...here (bug#11692).
841
a12ac9d7
SM
842 * emacs-lisp/autoload.el (make-autoload): Accept nil doc-string-elt
843 (bug#11649). Add cl-defun and cl-defmacro.
844
87e6e64f
DA
8452012-06-13 Drew Adams <drew.adams@oracle.com>
846
847 * help-mode.el (help-bookmark-make-record, help-bookmark-jump):
848 Fix last change.
849
682cefaf
MA
8502012-06-13 Michael Albinus <michael.albinus@gmx.de>
851
852 * net/dbus.el (dbus-call-method): Use timeout for `read-event'.
853 Otherwise, it blocks in batch mode.
854
773e1f08
JB
8552012-06-13 Juanma Barranquero <lekktu@gmail.com>
856
857 * help-mode.el (bookmark-make-record-default): Declare.
858
60057926
CY
8592012-06-13 Chong Yidong <cyd@gnu.org>
860
861 * emacs-lisp/package.el (list-packages): Compute a list of
862 packages that are newly-available since the last list-packages
863 invocation.
864 (package-menu--new-package-list): New var.
865 (package-menu--generate, package-menu--print-info)
866 (package-menu--status-predicate, package-menu-mark-install):
867 Handle new status label "new".
868
ad4d226c
SM
8692012-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
870
871 * emacs-lisp/cl-macs.el (cl-remf): Fix error in recent
872 conversion to backquotes.
873
f1a4e679
CY
8742012-06-12 Chong Yidong <cyd@gnu.org>
875
876 * emacs-lisp/edebug.el (edebug-inhibit-emacs-lisp-mode-bindings):
877 Rename from gud-inhibit-global-bindings.
878
879 * emacs-lisp/eieio.el (eieio-pre-method-execution-hooks): Doc fix.
880
881 * nxml/nxml-glyph.el (nxml-glyph-set-functions): Rename abnormal
882 hook from nxml-glyph-set-hook.
883
884 * progmodes/cwarn.el (cwarn-mode): Remove redundant variable
885 declaration.
886
887 * progmodes/pascal.el (pascal-toggle-completions): Doc fix.
888
889 * textmodes/bibtex.el (bibtex-string-file-path, bibtex-file-path):
890 Convert to defcustom.
891
0c9e42b5
DA
8922012-06-12 Drew Adams <drew.adams@oracle.com>
893
894 * help-mode.el (help-bookmark-make-record, help-bookmark-jump):
895 New functions.
896 (help-mode): Use them.
897
09e06855
GM
8982012-06-11 Glenn Morris <rgm@gnu.org>
899
900 * progmodes/fortran.el (fortran-font-lock-keywords-3):
901 Use preprocessor face for directives.
902 (fortran-directive-re): Doc fix.
903
71adb94b
SM
9042012-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
905
2eb87922
SM
906 * emacs-lisp/cl-macs.el (cl-parse-loop-clause): Fix error in recent
907 conversion to backquotes (bug#11652).
908
71adb94b
SM
909 Fix compiler-expansion of CL's cXXr functions (bug#11673).
910 * emacs-lisp/cl-lib.el (cl--defalias): New function.
911 (cl-values, cl-values-list, cl-copy-seq, cl-svref, cl-first)
912 (cl-second, cl-rest, cl-endp, cl-third, cl-fourth): Use it.
913 (cl-plusp, cl-minusp, cl-fifth, cl-sixth, cl-seventh, cl-eighth)
914 (cl-ninth, cl-tenth): Mark them as inlinable.
915 (cl-caaar, cl-caadr, cl-cadar, cl-caddr, cl-cdaar, cl-cdadr)
916 (cl-cddar, cl-cdddr, cl-caaaar, cl-caaadr, cl-caadar, cl-caaddr)
917 (cl-cadaar, cl-cadadr, cl-caddar, cl-cadddr, cl-cdaaar, cl-cdaadr)
918 (cl-cdadar, cl-cdaddr, cl-cddaar, cl-cddadr, cl-cdddar, cl-cddddr):
919 Add a compiler-macro declaration to use cl--compiler-macro-cXXr.
920 (cl-list*, cl-adjoin): Don't put an autoload manually.
921 * emacs-lisp/cl-macs.el (cl--compiler-macro-adjoin)
922 (cl--compiler-macro-list*): Add autoload cookie.
923 (cl--compiler-macro-cXXr): New function.
2eb87922 924
71adb94b
SM
925 * help-fns.el (help-fns--compiler-macro): New function extracted from
926 describe-function-1; follow aliases and use `compiler-macro' property.
927 (describe-function-1): Use it.
928
a6674402
CY
9292012-06-11 Chong Yidong <cyd@gnu.org>
930
931 * startup.el (fancy-splash-head): Use splash.svg even if librsvg
932 is uninstalled, if imagemagick is installed.
933
bb3faf5b
SM
9342012-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
935
936 * emacs-lisp/cl-lib.el: Use lexical-binding.
937 (cl-map-extents, cl-maclisp-member): Remove.
938 (cl--set-elt, cl--set-nthcdr, cl--set-buffer-substring)
939 (cl--set-substring, cl--block-wrapper, cl--block-throw)
940 (cl--compiling-file, cl--mapcar-many, cl--do-subst): Use "cl--" prefix.
941 * emacs-lisp/cl-extra.el: Use lexical-binding.
942 (cl--mapcar-many, cl--map-keymap-recursively, cl--map-intervals)
943 (cl--map-overlays, cl--set-frame-visible-p, cl--progv-save)
944 (cl--progv-before, cl--progv-after, cl--finite-do, cl--set-getf)
945 (cl--do-remf, cl--do-prettyprint): Use "cl--" prefix.
946 * emacs-lisp/cl-seq.el: Use lexical-binding.
947 (cl--parsing-keywords, cl--check-key, cl--check-test-nokey)
948 (cl--check-test, cl--check-match): Use "cl--" prefix and backquotes.
949 (cl--alist, cl--sublis-rec, cl--nsublis-rec, cl--tree-equal-rec):
950 * emacs-lisp/cl-macs.el (cl--lambda-list-keywords): Use "cl--" prefix.
951 * edmacro.el (edmacro-mismatch): Simplify to remove dependence on
952 CL's internals.
953
2fe4b125
MA
9542012-06-11 Michael Albinus <michael.albinus@gmx.de>
955
956 Sync with Tramp 2.2.6-pre.
957
958 * net/tramp-cache.el (tramp-dump-connection-properties): Let-bind
959 `print-length' and `print-level' to nil, in order to avoid
960 truncation. Reported by Christopher Schmidt
961 <christopher@ristopher.com>.
962
963 * net/tramp-cmds.el (tramp-cleanup-connection): Delete also process.
964
965 * net/tramp-compat.el (tramp-compat-condition-case-unless-debug):
966 New defmacro.
967 (tramp-compat-copy-directory): Add optional argument
968 COPY-CONTENTS. It is not handled yet.
969
970 * net/tramp-ftp.el (tramp-disable-ange-ftp): Fix docstring.
971 (tramp-ftp-file-name-p): Simplify.
972
973 * net/tramp-gvfs.el (tramp-gvfs-handle-expand-file-name):
974 * net/tramp-gw.el (tramp-gw-open-connection): Add hop to
975 connection vector.
976
977 * net/tramp-sh.el (tramp-copy-size-limit): Fix docstring.
978 (tramp-methods): Do not use `tramp-password-end-of-line'.
979 (tramp-completion-function-alist-putty): Handle UNIX case.
980 (tramp-remote-path): Add "/opt/bin", "/opt/sbin" and "/opt/local/bin".
981 (tramp-do-file-attributes-with-stat)
982 (tramp-do-directory-files-and-attributes-with-stat) Return uid and
983 gid as real numbers. They could run out of integer range on cygwin.
984 (tramp-do-copy-or-rename-file-out-of-band): Better trace format.
985 (tramp-sh-handle-expand-file-name): Handle hops.
87e6e64f
DA
986 (tramp-open-connection-setup-interactive-shell):
987 Use `tramp-cleanup'. Move check for busyboxes ...
988 (tramp-find-shell): ... here. Simplify implementation.
989 Set "remote-shell" property also for alternative shells.
990 (tramp-remote-coding-commands): Check "test -c /dev/stdout".
991 If failing, a regular file would be written otherwise.
992 Reported by Dmitry Kurochkin <dmitry.kurochkin@gmail.com>.
2fe4b125
MA
993 (tramp-find-inline-encoding): Cache the coding commands in the
994 process cache. Apply test command on the remote side, if defined.
995 (tramp-find-inline-compress): Cache the compress commands in the
996 process cache.
997 (tramp-compute-multi-hops): Save `tramp-default-proxies-alist'
998 when requested. Handle hops.
999 (tramp-current-connection): New defvar.
87e6e64f
DA
1000 (tramp-maybe-open-connection): Use `tramp-cleanup'.
1001 Throw `suppress', if there was a failed connection shortly before.
2fe4b125 1002 Handle user interrupt. (Bug#10187)
87e6e64f
DA
1003 (tramp-get-inline-compress, tramp-get-inline-coding):
1004 Read connection properties from the process cache.
2fe4b125
MA
1005
1006 * net/tramp-smb.el (tramp-smb-server-version)
87e6e64f
DA
1007 (tramp-smb-wrong-passwd-regexp, tramp-smb-actions-with-tar):
1008 New defconsts.
2fe4b125
MA
1009 (tramp-smb-prompt): Extend for powershell prompt.
1010 (tramp-smb-file-name-handler-alist): Add handlers for
1011 `process-file', `shell-command' and `start-file-process'.
1012 (tramp-smb-winexe-program, tramp-smb-winexe-shell-command)
1013 (tramp-smb-winexe-shell-command-switch): New defcustoms.
1014 (tramp-smb-file-name-p): Simplify.
1015 (tramp-smb-action-with-tar, tramp-smb-handle-process-file)
1016 (tramp-smb-kill-winexe-function, tramp-smb-call-winexe)
1017 (tramp-smb-shell-quote-argument): New defuns.
1018 (tramp-smb-handle-copy-directory): Add COPY-CONTENTS argument.
1019 Implement using "tar". By this, time-stamps are preserved.
1020 (tramp-smb-handle-copy-file): Handle also the case of directories.
1021 (tramp-smb-do-file-attributes-with-stat)
87e6e64f
DA
1022 (tramp-smb-get-file-entries, tramp-smb-get-cifs-capabilities):
1023 Use `tramp-get-connection-buffer').
2fe4b125
MA
1024 (tramp-smb-handle-rename-file): Use "rename", when source and
1025 target are on the same share.
87e6e64f
DA
1026 (tramp-smb-maybe-open-connection): Handle wrong passwords.
1027 Use `tramp-smb-server-version'.
2fe4b125
MA
1028 (tramp-smb-wait-for-output): Remove prompt.
1029
1030 * net/tramp.el (top): Require 'cl.
87e6e64f
DA
1031 (tramp-methods, tramp-rsh-end-of-line):
1032 Remove `tramp-password-end-of-line' from docstring.
2fe4b125
MA
1033 (tramp-save-ad-hoc-proxies): New defcustom.
1034 (tramp-completion-function-alist): Adapt docstring.
1035 (tramp-default-password-end-of-line): Remove defcustom.
1036 (tramp-shell-prompt-pattern): Allow "[]" style prompts. (Bug#11065)
1037 (tramp-user-regexp, tramp-file-name-regexp-unified)
1038 (tramp-file-name-regexp-url): Extend regexp by hop separator.
1039 (tramp-postfix-hop-format, tramp-postfix-hop-regexp)
1040 (tramp-remote-file-name-spec-regexp): New defconst.
1041 (tramp-file-name-structure): Extend structure for hops.
1042 (tramp-get-method-parameter): Move up.
1043 (tramp-file-name-p, tramp-dissect-file-name)
1044 (with-parsed-tramp-file-name): Handle hops.
1045 (tramp-file-name-hop): New defun.
1046 (tramp-make-tramp-file-name): New optional arg HOP.
1047 (tramp-message-show-progress-reporter-message): New defvar.
1048 (tramp-with-progress-reporter): Use it. We cannot use
1049 `tramp-message-show-message' here, because this suppresses also
1050 error buffers.
1051 (tramp-error-with-buffer): Suppress buffer view, if
87e6e64f
DA
1052 `tramp-message-show-message' is nil.
1053 Use `tramp-get-connection-buffer'.
2fe4b125
MA
1054 (tramp-cleanup): New defun.
1055 (tramp-rfn-eshadow-update-overlay): Let-bind `non-essential' to `t'.
1056 (tramp-file-name-handler): If `debug-on-error' is set, propagate
1057 an error unchanged.
1058 (tramp-completion-handle-file-name-all-completions): Handle hops.
1059 Fix an error when called from ido.
1060 (tramp-completion-dissect-file-name): Use better local variable
1061 name. Add hop to the vector.
1062 (tramp-handle-insert-file-contents): Use progress-reporter for the
1063 whole scenario.
1064 (tramp-action-password): Let-bind `enable-recursive-minibuffers'
1065 to `t'.
1066 (tramp-check-for-regexp): Simplify search.
1067 (tramp-enter-password): Remove it. Move implementation ...
1068 (tramp-action-password): ... here.
1069 (tramp-mode-string-to-int, tramp-local-host-p)
1070 (tramp-make-tramp-temp-file, tramp-read-passwd)
87e6e64f
DA
1071 (tramp-clear-passwd, tramp-time-less-p, tramp-time-diff):
1072 Set tramp-autoload cookie.
2fe4b125
MA
1073
1074 * net/trampver.el: Update release number.
1075
10762012-06-11 Thierry Volpiatto <thierry.volpiatto@gmail.com>
1077 Michael Albinus <michael.albinus@gmx.de>
1078
1079 * net/tramp.el (tramp-set-completion-function): Fix docstring.
1080 (tramp-parse-group, tramp-parse-file)
1081 (tramp-parse-shostkeys-sknownhosts): New defuns.
1082 (tramp-parse-rhosts, tramp-parse-rhosts-group, tramp-parse-shosts)
1083 (tramp-parse-shosts-group, tramp-parse-sconfig)
1084 (tramp-parse-sconfig-group, tramp-parse-shostkeys)
1085 (tramp-parse-sknownhosts, tramp-parse-hosts)
1086 (tramp-parse-hosts-group, tramp-parse-passwd, tramp-parse-netrc):
1087 Use them.
1088 (tramp-parse-passwd-group, tramp-parse-netrc-group)
1089 (tramp-parse-putty-group): Don't narrow.
1090 (tramp-parse-putty): Make a loop.
1091 (tramp-file-name-handler): Catch the `suppress' signal.
1092
72834e10
CY
10932012-06-11 Chong Yidong <cyd@gnu.org>
1094
1095 * image.el (imagemagick-register-types): Put the ImageMagick entry
1096 at the end of image-type-file-name-regexps.
1097
a4712e11
JB
10982012-06-11 Johan Bockgård <bojohan@gnu.org>
1099
1100 * emacs-lisp/pcase.el (pcase-UPAT, pcase-QPAT): New edebug specs.
1101 (pcase, pcase-let*, pcase-dolist): Use them.
1102
82ad98e3
SM
11032012-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
1104
1105 * emacs-lisp/pcase.el (pcase--let*): New function.
1106 (pcase-let*): Use it. Use pcase--memoize to avoid repeated expansions.
1107 (pcase--expand): Use macroexp-let².
1108
f80efb86
SM
11092012-06-10 Stefan Monnier <monnier@iro.umontreal.ca>
1110
1111 * emacs-lisp/timer.el, emacs-lisp/syntax.el, emacs-lisp/smie.el:
1112 * emacs-lisp/ewoc.el, emacs-lisp/cconv.el, emacs-lisp/bytecomp.el:
1113 * emacs-lisp/byte-opt.el, emacs-lisp/autoload.el: Convert to cl-lib.
1114 * emacs-lisp/easymenu.el, emacs-lisp/easy-mmode.el:
1115 * emacs-lisp/derived.el: Use pcase instead of `cl'.
1116 * emacs-lisp/cl-lib.el: Get rid of special cl-macs auto load.
1117
31ca4639 11182012-06-10 Glenn Morris <rgm@gnu.org>
94f0aa34 1119
31ca4639
CY
1120 * mail/rmail.el (rmail-yank-current-message): Leave point at
1121 correct position. (Bug#11660)
94f0aa34 1122
31ca4639 11232012-06-10 Chong Yidong <cyd@gnu.org>
9e1b8ec4 1124
31ca4639 1125 * allout-widgets.el: Fix code header.
9e1b8ec4 1126
31ca4639 11272012-06-10 Chong Yidong <cyd@gnu.org>
00cd0305 1128
f80efb86
SM
1129 * cus-edit.el (customize-changed-options-previous-release):
1130 Bump to 24.1.
31ca4639 1131
642b6d30
AS
11322012-06-09 Andreas Schwab <schwab@linux-m68k.org>
1133
1134 * Makefile.in (BIG_STACK_DEPTH): Enlarge to 2200.
1135
4f5d2ba1
CY
11362012-06-09 Chong Yidong <cyd@gnu.org>
1137
1138 * ebuff-menu.el (electric-buffer-list): Preserve header line.
1139
e75852fd
MR
11402012-06-09 Martin Rudalics <rudalics@gmx.at>
1141
1142 * window.el (special-display-popup-frame): Don't use
1143 window--display-buffer (Bug#11651).
1144
1e48e282
EZ
11452012-06-09 Eli Zaretskii <eliz@gnu.org>
1146
8a26b487
EZ
1147 Fix parallel builds: make sure loaddefs.el is not being written
1148 while Lisp files are compiled.
1149 (compile): Don't depend on 'mh-autoloads'.
1150 (compile-CMD, compile-SH): Depend on 'autoloads'.
1151 (bootstrap): Don't depend on 'autoloads' and 'mh-autoloads'.
1152
1e48e282
EZ
1153 * makefile.w32-in (BIG_STACK_DEPTH): Enlarge to 2200. (Bug#11649)
1154
6175e34b
CY
11552012-06-09 Chong Yidong <cyd@gnu.org>
1156
1157 * face-remap.el (face-remap-add-relative, face-remap-set-base)
1158 (buffer-face-set, buffer-face-toggle, buffer-face-mode-invoke):
1159 Doc fixes (Bug#11225).
1160
d9857e53
SM
11612012-06-09 Stefan Monnier <monnier@iro.umontreal.ca>
1162
1163 * emacs-lisp/macroexp.el (macroexp--expand-all): Only autoload
1164 a function if there's a clear indication that it has a compiler-macro.
1165 * emacs-lisp/byte-run.el (defun-declarations-alist, defmacro, defun)
1166 (macro-declarations-alist): Add arglist to declaration functions.
1167 (defun-declarations-alist): Add `obsolete' and `compiler-macro'.
1168 * emacs-lisp/cl-seq.el (cl-member, cl-assoc):
1169 * emacs-lisp/cl-lib.el (cl-list*, cl-adjoin):
1170 * emacs-lisp/cl-extra.el (cl-get): Use the new `declare' statement.
1171 Also add autoload to find the compiler macro.
1172 * emacs-lisp/cl-macs.el (eql) [compiler-macro]: Remove.
1173 (cl--compiler-macro-member, cl--compiler-macro-assoc)
1174 (cl--compiler-macro-adjoin, cl--compiler-macro-list*)
1175 (cl--compiler-macro-get): New functions, replacing calls to
1176 cl-define-compiler-macro.
1177 (cl-typep) [compiler-macro]: Use macroexp-let².
1178
f81298f8 11792012-06-08 Nick Dokos <nicholas.dokos@hp.com> (tiny change)
ee574791
UJ
1180
1181 * calendar/icalendar.el (icalendar--parse-vtimezone): Import TZID
1182 string properly, fixes Bug#11473.
1183
4b56d0fe
CY
11842012-06-08 Chong Yidong <cyd@gnu.org>
1185
1186 * faces.el (set-face-attribute): Doc fix.
1187 (modify-face): Don't use :bold and :italic.
1188 (error, warning, success): Tweak definitions.
1189
1190 * cus-edit.el (custom-modified, custom-invalid, custom-rogue)
1191 (custom-modified, custom-set, custom-changed, custom-themed)
1192 (custom-saved, custom-button, custom-button-mouse)
1193 (custom-button-pressed, custom-state, custom-comment-tag)
1194 (custom-variable-tag, custom-group-tag-1, custom-group-tag)
1195 (custom-group-subtitle): Use new-style face specs.
1196 (custom-invalid-face, custom-rogue-face, custom-modified-face)
1197 (custom-set-face, custom-changed-face, custom-saved-face)
1198 (custom-button-face, custom-button-pressed-face)
1199 (custom-documentation-face, custom-state-face)
1200 (custom-comment-face, custom-comment-tag-face)
1201 (custom-variable-tag-face, custom-variable-button-face)
1202 (custom-face-tag-face, custom-group-tag-face-1)
1203 (custom-group-tag-face): Remove obsolete face alias.
1204
1205 * epa.el (epa-validity-high, epa-validity-medium)
1206 (epa-validity-low, epa-mark, epa-field-name, epa-string)
1207 (epa-field-name, epa-field-body):
1208 * font-lock.el (font-lock-comment-face, font-lock-string-face)
1209 (font-lock-keyword-face, font-lock-builtin-face)
1210 (font-lock-function-name-face, font-lock-variable-name-face)
1211 (font-lock-type-face, font-lock-constant-face):
1212 * ido.el (ido-first-match, ido-only-match, ido-subdir)
1213 (ido-virtual, ido-indicator, ido-incomplete-regexp):
1214 * speedbar.el (speedbar-button-face, speedbar-file-face)
1215 (speedbar-directory-face, speedbar-tag-face)
1216 (speedbar-selected-face, speedbar-highlight-face)
1217 (speedbar-separator-face):
1218 * whitespace.el (whitespace-newline, whitespace-space)
1219 (whitespace-hspace, whitespace-tab, whitespace-trailing)
1220 (whitespace-line, whitespace-space-before-tab)
1221 (whitespace-space-after-tab, whitespace-indentation)
1222 (whitespace-empty):
1223 * emulation/cua-base.el (cua-global-mark):
1224 * eshell/em-prompt.el (eshell-prompt):
1225 * net/newst-plainview.el (newsticker-new-item-face)
1226 (newsticker-old-item-face, newsticker-immortal-item-face)
1227 (newsticker-obsolete-item-face, newsticker-date-face)
1228 (newsticker-statistics-face, newsticker-default-face):
1229 * net/newst-reader.el (newsticker-feed-face)
1230 (newsticker-extra-face, newsticker-enclosure-face):
1231 * net/newst-treeview.el (newsticker-treeview-face)
1232 (newsticker-treeview-new-face, newsticker-treeview-old-face)
1233 (newsticker-treeview-immortal-face)
1234 (newsticker-treeview-obsolete-face)
1235 (newsticker-treeview-selection-face):
1236 * net/rcirc.el (rcirc-my-nick, rcirc-other-nick)
1237 (rcirc-bright-nick, rcirc-server, rcirc-timestamp)
1238 (rcirc-nick-in-message, rcirc-nick-in-message-full-line)
1239 (rcirc-prompt, rcirc-track-keyword, rcirc-url, rcirc-keyword):
1240 * nxml/nxml-outln.el (nxml-heading, nxml-outline-indicator)
1241 (nxml-outline-active-indicator, nxml-outline-ellipsis):
1242 * play/mpuz.el (mpuz-unsolved, mpuz-solved, mpuz-trivial)
1243 (mpuz-text):
1244 * progmodes/vera-mode.el (vera-font-lock-number)
1245 (vera-font-lock-function, vera-font-lock-interface):
1246 * textmodes/table.el (table-cell): Use new-style face specs, and
1247 don't use the old :bold and :italic attributes.
1248
1249 * progmodes/ebrowse.el (ebrowse-tree-mark, ebrowse-root-class)
1250 (ebrowse-member-attribute, ebrowse-default, ebrowse-file-name)
1251 (ebrowse-member-class, ebrowse-progress): Likewise.
1252 (ebrowse-tree-mark-face, ebrowse-root-class-face)
1253 (ebrowse-file-name-face, ebrowse-default-face)
1254 (ebrowse-member-attribute-face, ebrowse-member-class-face)
1255 (ebrowse-progress-face): Remove obsolete faces.
1256
1257 * progmodes/flymake.el (flymake-errline, flymake-warnline):
1258 Inherit from error and warning faces respectively.
1259
1260 * textmodes/flyspell.el (flyspell-incorrect, flyspell-duplicate):
1261 Likewise.
f80efb86
SM
1262 (flyspell-incorrect-face, flyspell-duplicate-face):
1263 Remove obsolete aliases.
4b56d0fe 1264
03310646
MA
12652012-06-08 Michael Albinus <michael.albinus@gmx.de>
1266
1267 * net/tramp-compat.el (tramp-compat-temporary-file-directory):
1268 Avoid infloop.
1269
513749ee
SM
12702012-06-08 Stefan Monnier <monnier@iro.umontreal.ca>
1271
1272 * startup.el (argv, argi): Make lexically scoped.
1273 * emacs-lisp/float-sup.el (pi): Use internal-make-var-non-special.
1274 * emacs-lisp/cl-macs.el: Use lexical-binding.
1275 Rename cl-bind-* to cl--bind-*.
1276 * files.el: Don't require `cl' since it doesn't use it.
1277 * emacs-lisp/pcase.el, emacs-lisp/macroexp.el: Add coding cookie.
1278
595ef4ad
JB
12792012-06-08 Juanma Barranquero <lekktu@gmail.com>
1280
1281 * textmodes/texinfmt.el: Fix bug#11640 (reverts part of 2008-07-31T05:33:56Z!dann@ics.uci.edu).
1282 (texinfo-format-printindex): Use `texinfo-sort-region' in all platforms,
1283 instead of calling external sort utility.
1284 (texinfo-sort-region, texinfo-sort-startkeyfun): Restore functions.
1285
e9f66fcb
EZ
12862012-06-08 Eli Zaretskii <eliz@gnu.org>
1287
1288 * descr-text.el (describe-char): Mention how to insert the
1289 character, if the current input method doesn't support it.
1290 See the discussion in this thread for the details:
1291 http://lists.gnu.org/archive/html/emacs-devel/2012-05/msg00533.html.
1292
3d10db47
SS
12932012-06-08 Sam Steingold <sds@gnu.org>
1294
1295 * bindings.el (global-map): Bind XF86Forward to next-buffer and
1296 XF86Back to previous-buffer.
1297 (minibuffer-local-map): Bind them to next-history-element and
1298 previous-history-element respectively.
1299 * help-mode.el (help-mode-map): Bind them to help-go-forward and
1300 help-go-back respectively.
1301 * info.el (Info-mode-map): Bind them to Info-history-forward and
1302 Info-history-back respectively.
1303 These are the keys next to Up on the ThinkPad keyboard.
1304
de7e2b36
SM
13052012-06-08 Stefan Monnier <monnier@iro.umontreal.ca>
1306
1307 Get rid of cl-lexical-let, keeping only lexical-let for compatibility.
1308 * emacs-lisp/cl-macs.el: Provide itself.
1309 (cl--labels-convert-cache): New var.
1310 (cl--labels-convert): New function.
1311 (cl-flet, cl-labels): New implementation with new semantics, relying on
1312 lexical-binding.
1313 * emacs-lisp/cl.el: Mark compatibility aliases as obsolete.
1314 (cl-closure-vars, cl--function-convert-cache)
1315 (cl--function-convert): Move from cl-macs.el.
1316 (lexical-let, lexical-let*, flet, labels): Move from cl-macs.el and
1317 rename by removing the "cl-" prefix.
1318 * emacs-lisp/macroexp.el (macroexp-unprogn): New function.
1319
6fa6c4ae
SM
13202012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
1321
1322 * emacs-lisp/cl.el (cl-macroexpand, cl-macro-environment)
1323 (cl-macroexpand-all, cl-not-hash-table, cl-builtin-gethash)
1324 (cl-builtin-remhash, cl-builtin-clrhash, cl-builtin-maphash)
1325 (cl-map-keymap, cl-copy-tree, cl-gethash, cl-puthash, cl-remhash)
1326 (cl-clrhash, cl-maphash, cl-make-hash-table, cl-hash-table-p)
1327 (cl-hash-table-count): Add old compatibility aliases.
1328
1329 * emacs-lisp/cl-macs.el (cl-macro-environment): Remove var.
1330 Use macroexpand-all-environment instead.
1331 (cl--old-macroexpand): New var.
1332 (cl--sm-macroexpand): New function.
1333 (cl-symbol-macrolet): Use it during macro expansion.
1334 (cl--function-convert-cache): New var.
1335 (cl--function-convert): New function, extracted from
1336 cl-macroexpand-all.
1337 (cl-lexical-let): Use it.
1338
1339 * emacs-lisp/cl-lib.el (cl-macro-environment): Remove decl.
1340 (cl-macroexpand): Move to cl-macs.el and rename to cl--sm-macroexpand.
1341 (cl-member): Remove old alias.
1342
1343 * emacs-lisp/cl-extra.el (cl-map-keymap, cl-copy-tree)
1344 (cl-not-hash-table, cl-builtin-gethash, cl-builtin-remhash)
1345 (cl-builtin-clrhash, cl-builtin-maphash, cl-gethash, cl-puthash)
1346 (cl-remhash, cl-clrhash, cl-maphash, cl-make-hash-table)
1347 (cl-hash-table-p, cl-hash-table-count): Move to cl.el.
1348 (cl-macroexpand-cmacs): Remove var.
1349 (cl-macroexpand-all, cl-macroexpand-body): Remove funs.
1350 Use macroexpand-all instead.
1351
4dd1c416
SM
13522012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
1353
1354 * emacs-lisp/macroexp.el (macroexp-progn, macroexp-let*, macroexp-if)
1355 (macroexp-let², macroexp--const-symbol-p, macroexp-const-p)
1356 (macroexp-copyable-p): New functions and macros.
1357 * emacs-lisp/edebug.el (edebug-unwrap):
1358 * emacs-lisp/disass.el (disassemble-internal): Use macroexp-progn.
1359 * emacs-lisp/pcase.el: Use macroexp-let*, macroexp-if, ...
1360 (pcase--let*): Remove.
1361 * emacs-lisp/bytecomp.el (byte-compile-const-symbol-p)
1362 (byte-compile-constp): Remove. Use macroexp--const-symbol-p and
1363 macroexp-const-p instead.
1364 * emacs-lisp/byte-opt.el: Use macroexp-const-p and macroexp-progn.
1365
1366 * emacs-lisp/cl-macs.el: Clean up the name space by using "cl--"
1367 instead of "cl-" for internal definitions. Use macroexp-const-p.
1368 (cl-old-bc-file-form): Remove var.
1369 (cl-const-exprs-p): Remove fun.
1370 (cl-labels, cl-macrolet): Use backquote.
1371 (cl-lexical-let): Use cl-symbol-macrolet. Don't use cl-defun-expander.
1372 (cl-defun-expander, cl-byte-compile-compiler-macro): Remove fun.
1373 (cl-define-setf-expander): Rename from cl-define-setf-method.
1374 * emacs-lisp/cl.el: Adjust alias for define-setf-method.
1375
1376 * international/mule-cmds.el: Don't require CL.
1377 (view-hello-file): Don't use `letf'.
1378
ed8bd4d7
SM
13792012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
1380
7287f2f3
SM
1381 * tmm.el (tmm-prompt): Use string-prefix-p.
1382 (tmm-completion-delete-prompt): Don't affect current-buffer outside.
1383 (tmm-add-prompt): Use minibuffer-completion-help.
1384 (tmm-delete-map): Remove.
1385
ed8bd4d7
SM
1386 * subr.el (kbd): Make it its own function.
1387
7b4cdbf4
SM
13882012-06-07 Stefan Merten <smerten@oekonux.de>
1389
1390 * textmodes/rst.el: Use `eval-when-compile' for requiring `cl.el'.
1391 Silence compiler warnings. Fix versions.
ed8bd4d7 1392 (rst-position-if, rst-position, rst-some, rst-signum): New functions.
7b4cdbf4 1393 (rst-shift-region, rst-adornment-level, rst-compute-tabs)
ed8bd4d7 1394 (rst-indent-line, rst-shift-region, rst-forward-line): Use them.
7b4cdbf4
SM
1395 (rst-package-emacs-version-alist): Correct Emacs version to
1396 represent major merge with upstream.
ed8bd4d7 1397 (rst-transition, rst-adornment, rst-compile-toolsets): Fix versions.
7b4cdbf4 1398
2b48d721
GM
13992012-06-06 Glenn Morris <rgm@gnu.org>
1400
1401 * mail/emacsbug.el (report-emacs-bug): Add relevant EMACS env-vars.
1402 Only print environment variables if set.
1403
fa779ab0
SM
14042012-06-06 Stefan Monnier <monnier@iro.umontreal.ca>
1405
1406 * emacs-lisp/macroexp.el: Don't require CL since we don't use it.
1407 (macroexp--cons): Rename from maybe-cons.
1408 (macroexp--accumulate): Rename from macroexp-accumulate.
1409 (macroexp--all-forms): Rename from macroexpand-all-forms.
1410 (macroexp--all-clauses): Rename from macroexpand-all-clauses.
1411 (macroexp--expand-all): Rename from macroexpand-all-1.
1412
628299e0
SS
14132012-06-06 Sam Steingold <sds@gnu.org>
1414
1415 * calendar/calendar.el (calendar-in-read-only-buffer):
1416 Call `special-mode' to enable the standard read-only keybindings.
1417
b7bb5838
SM
14182012-06-06 Stefan Monnier <monnier@iro.umontreal.ca>
1419
1420 * emacs-lisp/macroexp.el (macroexpand-all-1): Don't spam the output
1421 with "loading" messages (bug#11635).
1422
dfb308ba
MA
14232012-06-06 Michael Albinus <michael.albinus@gmx.de>
1424
1425 * files.el (enable-remote-dir-locals): New option.
1426 (hack-dir-local-variables): Use it. (Bug#1933, Bug#6731)
1427
0372ee92
MA
1428 * net/tramp-compat.el (tramp-compat-temporary-file-directory):
1429 Ensure, that the temp directory is local.
1430
1431 * net/tramp-sh.el (tramp-sh-handle-write-region): Let-bind
1432 `temporary-file-directory'.
1433
eed0bb91
MA
1434 * progmodes/python.el (python-send-region): Ensure, that the
1435 temporary file is created also in the remote case.
1436
7a58f64d
GM
14372012-06-06 Glenn Morris <rgm@gnu.org>
1438
f7dd4e98
GM
1439 * vc/vc-rcs.el (vc-rcs-rcs2log-program): New.
1440 (vc-rcs-update-changelog): Use it.
1441
276d5f5d
GM
1442 * emacs-lisp/authors.el (authors-fixed-entries): Remove vcdiff
1443
7a58f64d
GM
1444 * vc/vc-sccs.el (vc-sccs-write-revision): New function.
1445 (vc-sccs-workfile-unchanged-p): Use vc-sccs-write-revision.
1446 (vc-sccs-diff): Replace use of the external vcdiff script.
1447
daed4003
GM
14482012-06-05 Glenn Morris <rgm@gnu.org>
1449
1450 * ledit.el: Move to obsolete/.
1451
48c455c7
SS
14522012-06-05 Sam Steingold <sds@gnu.org>
1453
1454 * calendar/calendar.el (calendar-exit): reinstate the 2012-03-28
1455 patch (Bug#11140).
1456
57a7d507
SM
14572012-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
1458
d32926ff
SM
1459 * emacs-list/cust-print.el: Move to obsolete.
1460
53aacf21
SM
1461 * emacs-lisp/macroexp.el (macroexpand-all-1): Tolerate errors during
1462 compiler-macro expansion.
1463
57a7d507
SM
1464 Add native compiler-macro support.
1465 * emacs-lisp/macroexp.el (macroexpand-all-1):
1466 Support compiler-macros directly. Properly follow aliases and apply
1467 the compiler macros more thoroughly.
1468 * emacs-lisp/cl.el: Don't copy compiler-macro properties any more since
1469 macroexpand now properly follows aliases.
1470 * emacs-lisp/cl-macs.el (toplevel, cl-define-compiler-macro)
1471 (cl-compiler-macroexpand): Use new prop.
1472 * emacs-lisp/byte-opt.el (featurep): Optimize earlier.
1473
1474 * emacs-lisp/cl-lib.el (custom-print-functions): Add alias.
1475
51a5f9d8
MR
14762012-06-05 Martin Rudalics <rudalics@gmx.at>
1477
1478 * window.el (get-lru-window, get-mru-window, get-largest-window):
1479 New argument NOT-SELECTED to avoid picking the selected window.
1480 (window--display-buffer-1, window--display-buffer-2): Replace by
1481 new function window--display-buffer
1482 (display-buffer-same-window, display-buffer-reuse-window)
57a7d507
SM
1483 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
1484 Use window--display-buffer.
51a5f9d8
MR
1485 (display-buffer-use-some-window): Remove temporary dedication
1486 hack by calling get-lru-window and get-largest-window with
1487 NOT-SELECTED argument non-nil. Call window--display-buffer.
1488
08f9f738
GM
14892012-06-05 Glenn Morris <rgm@gnu.org>
1490
1491 * vc/vc-sccs.el (vc-sccs-workfile-unchanged-p):
1492 Replace external vcdiff script.
1493
e364a2b7
SM
14942012-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
1495
1496 * emacs-lisp/cl-lib.el (cl-values, cl-values-list): Fix up last change.
1497
041df390
CY
14982012-06-04 Chong Yidong <cyd@gnu.org>
1499
e364a2b7
SM
1500 * image.el (imagemagick-types-inhibit): Revert last change.
1501 Add INFO and M.
47b36b94 1502 (imagemagick-enabled-types): Remove CIN and EPS*.
041df390 1503
7c1898a7
SM
15042012-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
1505
1506 * emacs-lisp/cl-lib.el: Rename from cl.el.
1507 * emacs-lisp/cl.el: New compatibility file.
1508 * emacs-lisp/cl-lib.el, emacs-lisp/cl-seq.el, emacs-lisp/cl-macs.el:
1509 * emacs-lisp/cl-extra.el: Rename all top-level functions and variables
1510 to obey the "cl-" prefix.
1511 * emacs-lisp/macroexp.el (macroexpand-all-1): Adjust to new name.
1512
0c3461de
GM
15132012-06-03 Glenn Morris <rgm@gnu.org>
1514
1e266c88
GM
1515 * emacs-lisp/authors.el (authors-aliases): Addition.
1516
0c3461de
GM
1517 * cus-start.el (tool-bar-style, tool-bar-max-label-size):
1518 Fix :version.
1519
d8a52e15
SM
15202012-06-03 Stefan Merten <smerten@oekonux.de>
1521
1522 * textmodes/rst.el: Add comments.
1523 (rst-transition, rst-adornment): New faces.
1524 (rst-adornment-faces-alist): Make default safe to reevaluate.
1525 Fixes
1526 http://sourceforge.net/tracker/?func=detail&atid=422030&aid=3479603&group_id=38414.
1527 Improve customization tags.
1528 (rst-define-level-faces): Clarify meaning.
1529
5205d6f6
CY
15302012-06-03 Chong Yidong <cyd@gnu.org>
1531
1532 * progmodes/compile.el (compilation-mode-line-fail)
7c1898a7
SM
1533 (compilation-mode-line-run, compilation-mode-line-exit):
1534 New faces.
5205d6f6
CY
1535 (compilation-start, compilation-handle-exit): Use them (Bug#11032).
1536
757ee657
JD
15372012-06-03 Jack Duthen <duthen.mac.01@gmail.com> (tiny change)
1538
7c1898a7
SM
1539 * progmodes/which-func.el (which-func-update-ediff-windows):
1540 New function. Use it in ediff-select-hook (Bug#11478).
757ee657 1541
5f2c76c6
CY
15422012-06-03 Chong Yidong <cyd@gnu.org>
1543
1544 * bindings.el: Remove explicit help text from format-mode-line.
1545 It is now supplied by mode-line-default-help-echo.
1546 (mode-line-front-space, mode-line-end-spaces)
1547 (mode-line-misc-info): New variables.
1548 (mode-line-modes, mode-line-position): Move the default value to
1549 the variable definition.
1550 (mode-line-default-help-echo): New defcustom.
383f7350
CY
1551 (mode-line-mule-info-help-echo, mode-line-read-only-help-echo)
1552 (mode-line-modified-help-echo): New functions.
1553 (mode-line-mule-info, mode-line-modified): Use them.
1554 (mode-line-eol-desc, propertized-buffer-identification):
1555 Consistency fixes for help text.
cbe46e5f
CY
1556 (mode-line-coding-system-map): Allow using mouse-3 to invoke
1557 set-buffer-file-coding-system (Bug#289).
1558 (mode-line-mule-info-help-echo): Update help text.
5f2c76c6 1559
f2d6a3df
SM
15602012-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
1561
1562 * simple.el (execute-extended-command): Set real-this-command
1563 (bug#11506).
1564
37269466
CY
15652012-06-02 Chong Yidong <cyd@gnu.org>
1566
1567 Remove incorrect uses of "modeline" in comments, docstrings, and
1568 function/variable names (Bug#10329).
1569
1570 * cus-edit.el (mode-line):
1571 * dframe.el (dframe-mouse-hscroll):
1572 * emacs-lisp/re-builder.el:
1573 * emacs-lisp/easy-mmode.el (define-minor-mode):
1574 * frame.el (set-frame-name):
1575 * help.el (lookup-minor-mode-from-indicator):
1576 * net/rcirc.el (rcirc-activity-string, rcirc-short-buffer-name):
1577 * progmodes/cc-cmds.el (c-toggle-auto-newline)
1578 (c-toggle-hungry-state):
1579 * progmodes/antlr-mode.el (antlr-language-alist):
1580 * progmodes/idlw-shell.el (idlwave-shell-electric-stop-line-face):
1581 * progmodes/vhdl-mode.el (vhdl-mode):
1582 * progmodes/which-func.el (which-func, which-func-cleanup-function):
1583 * term/ns-win.el (ns-face-at-pos):
1584 * term/sup-mouse.el (sup-mouse-report):
1585 * textmodes/flyspell.el (flyspell-mode-line-string):
1586 * textmodes/ispell.el (ispell-highlight-face):
1587 * textmodes/reftex-global.el:
1588 * vc/vc-arch.el (vc-arch-mode-line-string):
1589 * vc/vc-cvs.el (vc-cvs-mode-line-string):
1590 * vc/vc-git.el (vc-git-mode-line-string):
1591 * vc/vc-hooks.el (vc-display-status)
1592 (vc-default-mode-line-string):
1593 * vc/vc-mtn.el (vc-mtn-mode-line-string): Doc fixes.
1594
1595 * ansi-color.el (ansi-color-faces-vector): Change default faces.
1596
1597 * dired.el (dired-sort-set-mode-line): Rename from
1598 dired-sort-set-modeline. All callers changed.
1599
1600 * eshell/esh-mode.el (eshell-status-in-mode-line): Rename from
1601 eshell-status-in-modeline.
1602
1603 * foldout.el (foldout-mode-line-string): Rename from
1604 foldout-modeline-string. All callers changed.
1605 (foldout-update-mode-line): Rename from foldout-update-modeline.
1606
1607 * subr.el (redraw-modeline): Make into obsolete alias.
1608
1609 * calendar/timeclock.el (timeclock-mode-line-display): Rename from
1610 timeclock-modeline-display. Make old name an alias.
1611 (timeclock-update-mode-line): Likewise. All callers changed.
1612 (timeclock-mode-line-display): No need to check before using
1613 add-hook.
1614 (timeclock-relative, timeclock-day-over-hook)
1615 (timeclock-use-elapsed, timeclock-mode-string)
1616 (timeclock-mode-line-display): Doc fix, "modeline" -> "mode line".
1617
1618 * emulation/crisp.el (crisp-mode-mode-line-string): Rename from
1619 crisp-mode-modeline-string.
1620
1621 * play/solitaire.el (solitaire-build-mode-line): Rename from
1622 solitaire-build-modeline. All callers changed.
1623
1624 * play/zone.el (zone-hiding-mode-line): Rename from
1625 zone-hiding-modeline. All callers changed.
1626 (zone): Remove unusued `modeline-hidden-level' property.
1627
1628 * progmodes/xscheme.el (xscheme-mode-line-initialize): Rename from
1629 xscheme-modeline-initialize. All callers changed.
1630
1631 * strokes.el (strokes-lighter): Rename from
1632 strokes-modeline-string.
1633
1634 * textmodes/sgml-mode.el (html-face-tag-alist)
1635 (html-tag-face-alist): Use mode-line face instead of obsolete
1636 alias modeline.
1637
42152ee4
SM
16382012-06-02 Stefan Merten <smerten@oekonux.de>
1639
1640 * textmodes/rst.el: Always require `cl'.
4cf9b38d 1641 (rst-mode-map): Fix meaning of C-M-a / C-M-e.
42152ee4 1642
95f520b5
CY
16432012-06-02 Chong Yidong <cyd@gnu.org>
1644
1645 * image.el (imagemagick-enabled-types): Rename from
1646 imagemagick-types-enable. Add many more types.
1647 (imagemagick-types-inhibit): Change default to nil.
1648 (imagemagick-filter-types): Caller changed.
1649
4a5f187a
SM
16502012-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
1651
03fef3e6
SM
1652 * emacs-lisp/cl-macs.el: Use backquotes.
1653 (cl-transform-function-property): Use eval-and-compile rather than
1654 abusing `require'.
1655 (defstruct): Use declare-function instead of with-no-warnings.
1656
4a5f187a
SM
1657 * emacs-lisp/bytecomp.el: Fix last change (bug#11594).
1658 (byte-compile-output-docform): Re-add the print-circle bindings.
1659 (byte-compile-fix-header): Use #$ just because it's shorter.
1660 (byte-compile-output-file-form): Remove defun/defmacro.
1661
bd56924f
MR
16622012-06-01 Martin Rudalics <rudalics@gmx.at>
1663
1664 * simple.el (choose-completion): Remove now obsolete binding for
1665 owindow.
1666
046e38ce
MA
16672012-06-01 Michael Albinus <michael.albinus@gmx.de>
1668
1669 * net/tramp.el (tramp-check-for-regexp): Search from buffer end,
1670 in order to avoid "Stack overflow in regexp matcher".
1671
32d72c2f
GM
16722012-05-31 Glenn Morris <rgm@gnu.org>
1673
1674 * image.el: For clarity, call imagemagick-register-types at
1675 top-level, rather than relying on a custom :initialize.
1676 (imagemagick-types-enable): New option. (Bug#11557)
60b5f187
GM
1677 (imagemagick-filter-types): New function. (Bug#7406)
1678 (imagemagick-register-types): Use imagemagick-filter-types.
32d72c2f
GM
1679 If disabling support, remove elements altogether rather
1680 than using an impossible regexp.
1681 (imagemagick-types-inhibit): Give it the default init function.
1682
dd41169b
SM
16832012-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
1684
4a5f187a
SM
1685 * emacs-lisp/bytecomp.el (byte-compile-fix-header):
1686 Handle arbitrary file name lengths (Bug#11585).
dd41169b 1687
efc00ab1 16882012-05-31 Martin Rudalics <rudalics@gmx.at>
5221ccb9
MR
1689
1690 * desktop.el (desktop-read): Clear previous and next buffers for
1691 all windows and bury *Messages* buffer (bug#11556).
1692
500fcedc
SM
16932012-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
1694
1695 Add `declare' for `defun'. Align `defmacro's with it.
1696 * emacs-lisp/easy-mmode.el (define-minor-mode)
1697 (define-globalized-minor-mode): Don't autoload the var definitions.
1698 * emacs-lisp/byte-run.el: Use lexical-binding.
1699 (defun-declarations-alist, macro-declarations-alist): New vars.
1700 (defmacro, defun): Use them.
1701 (make-obsolete, define-obsolete-function-alias)
1702 (make-obsolete-variable, define-obsolete-variable-alias):
1703 Use `declare'.
1704 (macro-declaration-function): Mark obsolete.
1705 * emacs-lisp/autoload.el: Use lexical-binding.
1706 (make-autoload): Add `expansion' arg. Rely more on macro expansion.
1707
6e8a1786
AM
17082012-05-30 Agustín Martín Domingo <agustin.martin@hispalinux.es>
1709
1710 * textmodes/ispell.el (ispell-with-no-warnings):
1711 Define as a macro.
500fcedc
SM
1712 (ispell-kill-ispell, ispell-change-dictionary):
1713 Use `called-interactively-p' for Emacs instead of obsolete
6e8a1786
AM
1714 `interactive-p'.
1715
61b108cc
SM
17162012-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
1717
1718 * emacs-lisp/byte-run.el (defmacro, defun): Move from C.
1719 (macro-declaration-function): Move var from C code.
1720 (macro-declaration-function): Define function with defalias.
1721 * emacs-lisp/macroexp.el (macroexpand-all-1):
1722 * emacs-lisp/cconv.el (cconv-convert, cconv-analyse-form):
1723 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker): Don't handle
1724 defun/defmacro any more.
1725 * emacs-lisp/bytecomp.el (byte-compile-arglist-signature):
1726 Provide fallback for unknown arglist.
1727 (byte-compile-arglist-warn): Change calling convention.
1728 (byte-compile-output-file-form): Move print-vars binding.
1729 (byte-compile-output-docform): Simplify accordingly.
1730 (byte-compile-file-form-defun, byte-compile-file-form-defmacro)
1731 (byte-compile-defmacro-declaration): Remove.
1732 (byte-compile-file-form-defmumble): Generalize to defalias.
1733 (byte-compile-output-as-comment): Return byte-positions.
1734 Simplify callers accordingly.
1735 (byte-compile-lambda): Use `assert'.
1736 (byte-compile-defun, byte-compile-defmacro): Remove.
1737 (byte-compile-file-form-defalias):
1738 Use byte-compile-file-form-defmumble.
1739 (byte-compile-defalias-warn): Remove.
1740
6d3f7c2f
SM
17412012-05-29 Stefan Merten <smerten@oekonux.de>
1742
1743 * textmodes/rst.el: Silence `checkdoc-ispell' errors where
61b108cc 1744 possible. Fix authors. Improve comments. Improve loading of `cl'.
6d3f7c2f
SM
1745
1746 (rst-mode-abbrev-table): Merge definition.
1747 (rst-mode): Make sure `font-lock-defaults' is buffer local.
1748 (rst-define-key, rst-deprecated-keys, rst-call-deprecated): Refactor.
1749
6dbaa1c7
UJ
17502012-05-29 Ulf Jasper <ulf.jasper@web.de>
1751
1752 * calendar/icalendar.el
1753 (icalendar-export-region): Export UID properly.
1754
17552012-05-29 Leo <sdl.web@gmail.com>
61b108cc
SM
1756 * calendar/icalendar.el (icalendar-import-format):
1757 Add `icalendar-import-format-uid' (Bug#11525).
6dbaa1c7
UJ
1758 (icalendar-import-format-uid): New.
1759 (icalendar--parse-summary-and-rest, icalendar--format-ical-event):
1760 Export UID.
1761
6876a58d
SM
17622012-05-29 Stefan Monnier <monnier@iro.umontreal.ca>
1763
1764 * emacs-lisp/pcase.el (pcase--expand): Accept different sets of vars in
1765 different alternative patterns.
1766 (pcase-codegen): Be more careful to preserve identity.
1767 (pcase--u1): Don't forget to mark vars as used.
1768
1769 * emacs-lisp/bytecomp.el (byte-compile-constp): Treat #'v as a constant.
1770 (byte-compile-close-variables): Bind byte-compile--outbuffer here...
1771 (byte-compile-from-buffer): ...rather than here.
1772
1773 * emacs-lisp/byte-opt.el (byte-compile-inline-expand): Don't re-preprocess
1774 functions from byte-compile-function-environment.
1775
46b7967e
TN
17762012-05-29 Troels Nielsen <bn.troels@gmail.com>
1777
1778 * window.el (window-deletable-p): Avoid deleting the root window
1779 of a frame with an active minibuffer.
1780
69d565e2
MR
17812012-05-29 Martin Rudalics <rudalics@gmx.at>
1782
1783 * simple.el (choose-completion): Use quit-window (Bug#11567).
1784
a149fa51
CY
17852012-05-29 Chong Yidong <cyd@gnu.org>
1786
1787 * whitespace.el (whitespace-cleanup): Fix usage of
1788 whitespace-empty-at-bob-regexp (Bug#11492).
1789
2b311310
AH
17902012-05-29 Aaron S. Hawley <aaron.s.hawley@gmail.com>
1791
1792 * vc/vc.el (vc-revert, vc-rollback): Dont kill vc-diff buffer on
1793 revert (Bug#11488).
1794
b9cb2387
JL
17952012-05-29 Juri Linkov <juri@jurta.org>
1796
1797 * isearch.el (isearch-mode-map): Bind `M-s _' to
1798 `isearch-toggle-symbol'. Bind `M-s c' to
1799 `isearch-toggle-case-fold'.
1800 (search-map): Bind `M-s _' to `isearch-forward-symbol'.
1801 (isearch-forward): Add `M-s _' to the docstring.
1802 (isearch-forward-symbol, isearch-toggle-case-fold)
1803 (isearch-symbol-regexp): New functions. (Bug#11381)
1804
d5e61c1c
JL
18052012-05-29 Juri Linkov <juri@jurta.org>
1806
1807 * isearch.el (isearch-word): Add docstring. (Bug#11381)
1808 (isearch-occur, isearch-search-and-update): If `isearch-word' is
1809 a function, call it to get the regexp.
1810 (isearch-message-prefix): If `isearch-word' holds a symbol, use its
1811 property `isearch-message-prefix' instead of the string "word ".
1812 (isearch-search-fun-default): For the case of `isearch-word',
1813 return a lambda that calls re-search-forward/re-search-backward
1814 with a regexp returned by `word-search-regexp' or by the function
1815 in `isearch-word'.
1816
8cbd80f7
JL
18172012-05-29 Juri Linkov <juri@jurta.org>
1818
1819 * isearch.el (isearch-search-fun-default): New function.
1820 (isearch-search-fun): Move default part to the new function
1821 `isearch-search-fun-default'.
1822 (isearch-search-fun-function): Set the default value to
1823 `isearch-search-fun-default'. (Bug#11381)
1824
1825 * comint.el (comint-history-isearch-end):
1826 Use `isearch-search-fun-default'.
1827 (comint-history-isearch-search): Use `isearch-search-fun-default'
1828 and remove spacial case for `isearch-word'.
1829 (comint-history-isearch-wrap): Remove spacial case for
1830 `isearch-word'.
1831
1832 * hexl.el (hexl-isearch-search-function):
1833 Use `isearch-search-fun-default'.
1834
1835 * info.el (Info-isearch-search): Use `isearch-search-fun-default'.
1836 Use `word-search-regexp' for `isearch-word'.
1837
1838 * misearch.el (multi-isearch-search-fun):
1839 Use `isearch-search-fun-default'.
1840
1841 * simple.el (minibuffer-history-isearch-search):
1842 Use `isearch-search-fun-default' and remove spacial case for
1843 `isearch-word'.
1844 (minibuffer-history-isearch-wrap): Remove spacial case for
1845 `isearch-word'.
1846
1847 * textmodes/reftex-global.el (reftex-isearch-wrap-function):
1848 Remove spacial case for `isearch-word'.
1849 (reftex-isearch-isearch-search): Use `isearch-search-fun-default'.
1850
85c8c5b6
AM
18512012-05-28 Agustín Martín Domingo <agustin.martin@hispalinux.es>
1852
1853 Decrease XEmacs incompatibilities.
1854 * textmodes/flyspell.el (flyspell-check-pre-word-p):
1855 Use `string-match'.
1856 (flyspell-delete-region-overlays): Use alternative definition for
1857 XEmacs.
1858 (flyspell-delete-all-overlays): Use `flyspell-delete-region-overlays'.
1859 (flyspell-word): Use `process-kill-without-query' if XEmacs.
1860 (flyspell-mode-on): Use `interactive-p' if XEmacs.
1861 (flyspell-incorrect-face, flyspell-duplicate-face): Do not use
1862 `define-obsolete-face-alias' under XEmacs, but old method.
1863
1864 * textmodes/ispell.el (ispell-with-no-warnings): XEmacs alternative
1865 `with-no-warnings' definition or Emacs alias.
1866 (ispell-command-loop, ispell-message): Use `ispell-with-no-warnings'.
1867 (ispell-word): Do not use `region-p' if XEmacs.
1868
8cab9efc
AM
18692012-05-28 Agustín Martín Domingo <agustin.martin@hispalinux.es>
1870
1871 * textmodes/ispell.el (ispell-find-aspell-dictionaries):
1872 Check for `ispell-dictionary-base-alist' instead of full
1873 `ispell-dictionary-alist'.
1874 (ispell-init-process): Show spellchecker when starting new Ispell
1875 process.
1876
fda91268
RZ
18772012-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
1878
1879 * progmodes/vhdl-mode.el: Sync with upstream 3.33.28.
1880 http://www.iis.ee.ethz.ch/~zimmi/emacs/vhdl-mode.html#release-notes-3.33
1881
694ea8e3
JB
18822012-05-27 Juanma Barranquero <lekktu@gmail.com>
1883
1884 * version.el (motif-version-string, gtk-version-string)
1885 (ns-version-string): Declare.
1886
e4d4f539
JL
18872012-05-27 Juri Linkov <juri@jurta.org>
1888
1889 * emacs-lisp/lisp-mode.el (eval-defun-2): Use `eval-sexp-add-defvars'
1890 after the `eval-defun-1' specialcaseing
1891 like in `edebug-eval-defun' (bug#10181).
1892
1893 * emacs-lisp/edebug.el (edebug-eval-defun): Set `face-documentation'
1894 like in `eval-defun-1'.
1895
33017faf 18962012-05-27 Eli Zaretskii <eliz@gnu.org>
b30b64b9 1897
fda91268
RZ
1898 * mail/sendmail.el (mail-yank-region):
1899 Recognize rmail-yank-current-message in addition to insert-buffer.
1900 Fixes mail-mode's "C-c C-r" that otherwise does nothing when invoked in
b30b64b9
EZ
1901 a *mail* buffer created through rmail-start-mail with sendmail as
1902 mail-user-agent.
1903
33017faf
GM
19042012-05-27 Chong Yidong <cyd@gnu.org>
1905
1906 * net/gnutls.el (gnutls-min-prime-bits): Improve docstring.
1907 Default to 256 (Bug#11267).
1908
1909 * help.el (describe-mode): Doc fix.
1910
04188bb9
GM
19112012-05-26 Glenn Morris <rgm@gnu.org>
1912
38264cc9
GM
1913 * w32-fns.el (w32-init-info): Remove.
1914 * paths.el (Info-default-directory-list): Add w32-init-info equivalent.
1915
eb7afdad
GM
1916 * info.el (info-initialize): For self-contained NS builds, put the
1917 included info/ directory at the front. (Bug#2791)
1918
04188bb9
GM
1919 * paths.el (Info-default-directory-list): Make it a defcustom,
1920 mainly so that we can use custom-initialize-delay.
1921
a179e3f7
SM
19222012-05-26 Stefan Monnier <monnier@iro.umontreal.ca>
1923
43416392
SM
1924 * subr.el (buffer-has-markers-at): Mark obsolete.
1925
a179e3f7 1926 * subr.el (lambda): Use declare.
43416392 1927
a179e3f7
SM
1928 * emacs-lisp/lisp-mode.el (lambda):
1929 * emacs-lisp/edebug.el (lambda): Move properties to its definition.
1930
34a008d9
AH
19312012-05-26 Aaron S. Hawley <aaron.s.hawley@gmail.com>
1932
1933 * thingatpt.el (forward-same-syntax): Handle no ARG case. (Bug#11560)
1934
0a3b289f
GM
19352012-05-26 Glenn Morris <rgm@gnu.org>
1936
1937 * progmodes/cc-mode.el (auto-mode-alist): Fix typo.
1938
758c81e8
GM
19392012-05-25 Glenn Morris <rgm@gnu.org>
1940
f9f334f0
GM
1941 * paths.el: Remove no-byte-compile.
1942 * loadup.el: No need to load paths.el uncompiled.
1943
87eb79c2
GM
1944 * image.el (imagemagick-types-inhibit): Doc fix.
1945
758c81e8
GM
1946 * version.el: Remove no-byte-compile and associated formatting.
1947 * loadup.el: No need to load version.el uncompiled. AFAICS, this
1948 is ancient code from when there was an "inc-vers.el".
1949
e7e85dc0
SM
19502012-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
1951
1952 * progmodes/gdb-mi.el: Minor style changes.
1953 (gdb-enable-debug, gdb-speedbar-auto-raise, gdb-many-windows):
1954 Turn into minor modes.
1955 (gdb--if-arrow): Rename from gdb-if-arrow, make it hygienic.
1956 (gdb-mouse-until, gdb-mouse-jump): Adjust uses accordingly.
1957 (gdb-shell): Remove unneeded let-binding.
1958 (gdb-get-many-fields): Eliminate O(n²) behavior.
1959
f31237a4
EZ
19602012-05-25 Eli Zaretskii <eliz@gnu.org>
1961
1962 * cus-start.el <vertical-centering-font-regexp>: Avoid warning on
1963 platforms that don't link in fontset.c.
1964
bc1b21bb
JL
19652012-05-25 Juri Linkov <juri@jurta.org>
1966
1967 Use the same diff color scheme as in modern VCSes (bug#10181).
1968
1969 * vc/diff-mode.el (diff-header, diff-file-header): Remove "green"
1970 to avoid confusion with `diff-added' that now uses green colors.
1971 (diff-removed): Use shades of red.
1972 (diff-added): Use shades of green.
1973 (diff-changed): Leave just the yellow color.
1974 (diff-use-changed-face): New variable.
1975 (diff-font-lock-keywords): Use `diff-use-changed-face' to decide
1976 how to highlight context diff changes.
1977 (diff-refine-change): Use shades of yellow.
1978 (diff-refine-removed): New face that uses shades of red.
1979 (diff-refine-added): New face that uses shades of green.
1980 (diff-refine-hunk): Use `diff-refine-change', `diff-refine-added',
1981 `diff-refine-removed' in the call to `smerge-refine-subst'
1982 depending on the value of `diff-use-changed-face'.
1983
1984 * vc/smerge-mode.el (smerge-mine): Use shades of red.
1985 (smerge-other): Use shades of green.
1986 (smerge-base): Use shades of yellow.
1987 (smerge-refined-change): Empty face.
1988 (smerge-refined-removed): New face that uses shades of red.
1989 (smerge-refined-added): New face that uses shades of green.
1990 (smerge-refine-subst): Rename arg `props' to `props-c'. Add new
1991 args `props-r' and `props-a', and use them. Doc fix.
1992 (smerge-refine): Evaluate `smerge-use-changed-face' and depending
1993 on its value use different faces `smerge-refined-change',
1994 `smerge-refined-removed', `smerge-refined-added' in the call to
1995 `smerge-refine-subst'.
1996
1997 * vc/ediff-init.el (ediff-current-diff-A, ediff-fine-diff-A):
1998 Add face condition `min-colors 88' with shades of red.
1999 (ediff-current-diff-B, ediff-fine-diff-B): Add face condition
2000 `min-colors 88' with shades of green.
2001 (ediff-current-diff-C, ediff-fine-diff-C): Add face condition
2002 `min-colors 88' with shades of yellow.
2003
6df9112c
GM
20042012-05-24 Glenn Morris <rgm@gnu.org>
2005
ead5edc0
GM
2006 * paths.el (prune-directory-list, remote-shell-program): Move to...
2007 * files.el (prune-directory-list, remote-shell-program): ...here.
2008 For the latter, delay initialization, prefer ssh, just search PATH.
2009
f18b81e6
GM
2010 * paths.el (term-file-prefix): Move to faces.el (the only user).
2011 * faces.el (term-file-prefix): Move here, make it a defcustom.
2012
ee2f89a6
GM
2013 * paths.el (news-directory, news-path, news-inews-program):
2014 Move to gnus/nnspool.el.
61a583ca 2015
f8815e4c
GM
2016 * paths.el (gnus-default-nntp-server): Remove (gnus.el defines it).
2017
c8f3b42c
GM
2018 * paths.el (rmail-file-name, rmail-spool-directory): Move from here...
2019 * mail/rmail.el (rmail-file-name, rmail-spool-directory): ... to here.
2020 Make the latter a defcustom, with a delayed initialization.
2021
6df9112c
GM
2022 * paths.el (gnus-nntp-service, gnus-local-organization): Remove.
2023 These were deleted from Gnus itself late 2010.
2024
5dadff36
JB
20252012-05-22 Juanma Barranquero <lekktu@gmail.com>
2026
9e1701c6
JB
2027 * progmodes/which-func.el (which-func-ff-hook):
2028 Check against user-error, not error.
2029
bd7239f5 2030 * emacs-lisp/edebug.el (top): Do not load or set up loading of
5dadff36
JB
2031 cl-specs.el, which no longer exists.
2032
3290526d
GM
20332012-05-22 Glenn Morris <rgm@gnu.org>
2034
2035 * info.el (info-emacs-bug): New command.
2036 * menu-bar.el (menu-bar-help-menu): Add "How to Report a Bug" to Help.
2037 * mail/emacsbug.el (report-emacs-bug): Replace with info-emacs-bug.
2038
ff0c3cfb
GM
20392012-05-21 Glenn Morris <rgm@gnu.org>
2040
2041 * makefile.w32-in (update-subdirs-SH):
2042 * Makefile.in (update-subdirs): Update for moved update-subdirs.
2043
5814f126
SM
20442012-05-21 Stefan Monnier <monnier@iro.umontreal.ca>
2045
a52c0aa0
SM
2046 * hi-lock.el (hi-lock-face-defaults): Move obsolete before definition.
2047
5814f126
SM
2048 * progmodes/compile.el (compilation-error-regexp-alist-alist):
2049 Simplify Maven regexp, and make sure the file can't start with a space
2050 (bug#11517).
2051
b847032c
GM
20522012-05-21 Glenn Morris <rgm@gnu.org>
2053
2054 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
2055 Scrap superfluous subshells.
2056
3858bfe7
SM
20572012-05-19 Stefan Monnier <monnier@iro.umontreal.ca>
2058
2059 * emacs-lisp/bytecomp.el (byte-compile-root-dir): New var.
2060 (byte-compile-warning-prefix, batch-byte-compile-file): Use it.
2061
d14b0029
JB
20622012-05-19 Jay Belanger <jay.p.belanger@gmail.com>
2063
2064 * calc/calc.el (calc-ensure-consistent-units): New variable.
2065
a52c0aa0
SM
2066 * calc/calc-units.el (math-consistent-units-p)
2067 (math-check-unit-consistency): New functions.
2068 (calc-quick-units, calc-convert-units):
2069 Use `math-check-unit-consistency' when `calc-ensure-consistent-units'
2070 is non-nil.
d14b0029
JB
2071 (calc-extract-units): Fix typo.
2072
60c4db3a
SM
20732012-05-18 Stefan Monnier <monnier@iro.umontreal.ca>
2074
77f3b62e
SM
2075 * vc/vc-bzr.el (vc-bzr-state-heuristic): Save match-data around sha1.
2076
60c4db3a
SM
2077 * textmodes/flyspell.el: Commenting style, plus code simplifications.
2078 (flyspell-default-deplacement-commands): Don't spell check after
2079 repeated window/frame switches (e.g. triggered by mouse-movement).
2080 (flyspell-delay-commands, flyspell-deplacement-commands): Use mapc.
2081 (flyspell-debug-signal-word-checked): Simplify and fit in 80 cols.
2082 (flyspell-casechars-cache, flyspell-ispell-casechars-cache)
2083 (flyspell-not-casechars-cache, flyspell-ispell-not-casechars-cache):
2084 Remove unused vars.
2085 (flyspell-get-casechars, flyspell-get-not-casechars):
2086 Simplify; Don't bother removing a ] just to add it back.
2087 * textmodes/ispell.el (ispell-program-name): Use executable-find.
2088
b1a10716
RS
20892012-05-18 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
2090
2091 * calc/calc-lang.el (math-C-parse-bess, math-C-parse-fma):
2092 New functions.
bd7239f5 2093 (math-function-table): Add support for more C functions.
b1a10716 2094
3f1b25b5
AM
20952012-05-18 Agustín Martín Domingo <agustin.martin@hispalinux.es>
2096
2097 * flyspell.el (flyspell-check-pre-word-p, flyspell-check-word-p)
2098 (flyspell-debug-signal-word-checked): Protect delay handling for
2099 otherchars against empty otherchars.
2100
b581bb5c
SM
21012012-05-18 Stefan Monnier <monnier@iro.umontreal.ca>
2102
2103 * emacs-lisp/lisp-mode.el (doc-string-elt): Move those properties to
2104 their respective macro declarations.
2105 * skeleton.el (define-skeleton):
2106 * progmodes/compile.el (define-compilation-mode):
2107 * ibuf-macs.el (define-ibuffer-sorter, define-ibuffer-op)
2108 (define-ibuffer-filter):
2109 * emacs-lisp/generic.el (define-generic-mode):
2110 * emacs-lisp/easy-mmode.el (define-minor-mode)
2111 (define-globalized-minor-mode):
2112 * emacs-lisp/cl-macs.el (defun*, defmacro*, defstruct, deftype):
2113 * emacs-lisp/byte-run.el (defsubst):
2114 * custom.el (deftheme): Add doc-string metadata.
2115
70b8ef8f
SM
21162012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
2117
2118 * emacs-lisp/cl-macs.el, emacs-lisp/cl.el: Move indent info.
2119
b1198e17
SM
21202012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
2121
9abdc45d
SM
2122 * emacs-lisp/pcase.el (pcase--u1): Avoid ((lambda ...) ...).
2123
b1198e17
SM
2124 * emacs-lisp/cl.el: Add edebug specs from cl-specs.el.
2125 * emacs-lisp/cl-macs.el: Idem.
2126 * emacs-lisp/cl-specs.el: Remove.
2127
4735906a
SM
21282012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
2129
2130 Minor renaming of internal CL functions and variables.
2131 * emacs-lisp/cl-seq.el (cl--adjoin): Rename from cl-adjoin.
2132 (cl--position): Rename from cl-position.
2133 (cl--delete-duplicates): Rename from cl-delete-duplicates.
2134 * emacs-lisp/cl.el (cl--gensym-counter): Rename from *gensym-counter*.
2135 (cl--random-state): Rename from *random-state*.
2136
ac348012
SM
21372012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
2138
2139 * emacs-lisp/cl-macs.el (cl-transform-lambda): Don't add spurious
2140 parens around the arg list (bug#11499).
2141
a0a79cde
JL
21422012-05-17 Juri Linkov <juri@jurta.org>
2143
2144 * isearch.el (word-search-regexp, word-search-backward)
2145 (word-search-forward, word-search-backward-lax)
2146 (word-search-forward-lax): Move functions from search.c
2147 (bug#10145, bug#11381).
2148
65034a51
AM
21492012-05-16 Agustín Martín Domingo <agustin.martin@hispalinux.es>
2150
2151 * flyspell.el (flyspell-check-pre-word-p, flyspell-check-word-p)
2152 (flyspell-debug-signal-word-checked): Delay for otherchars as for
2153 normal word components.
2154
1a72a195
SM
21552012-05-16 Stefan Monnier <monnier@iro.umontreal.ca>
2156
2157 * minibuffer.el (completion--sifn-requote): Fix last change.
2158 (minibuffer-local-must-match-filename-map):
2159 Move define-obsolete-variable-alias before its var.
2160
fdb058c2
SM
21612012-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
2162
c41045e6
SM
2163 * emacs-lisp/pcase.el (pcase-let*, pcase-let): Fix edebug spec.
2164
036dfb8b
SM
2165 * minibuffer.el (completion--sifn-requote): Handle sifn's truncation
2166 behavior.
2167 (completion--string-equal-p): New function.
2168 (completion--twq-all): Use it to get better assertion failure data.
2169
2473256d
SM
2170 Only handle ".." and '..' quoting in shell-mode (bug#11466).
2171 * shell.el (shell--unquote&requote-argument, shell--unquote-argument)
2172 (shell--requote-argument): New functions.
2173 (shell-completion-vars): Use them.
2174 (shell--parse-pcomplete-arguments): Rename from
2175 shell-parse-pcomplete-arguments.
2176 * comint.el (comint-word): Obey comint-file-name-quote-list. Simplify.
2177 (comint--unquote&requote-argument): Don't handle ".." and '..' quoting.
2178 Obey comint-file-name-quote-list.
2179
fdb058c2
SM
2180 * emacs-lisp/smie.el (smie-indent--bolp-1): New function.
2181 (smie-indent-keyword): Use it.
2182
51fa99f1
SM
21832012-05-14 Stefan Merten <smerten@oekonux.de>
2184
2185 * textmodes/rst.el (rst-re-alist): Fix loading (bug#11462).
2186
e18afed7 21872012-05-14 Stefan Monnier <monnier@iro.umontreal.ca>
d9d1dfef
SM
2188
2189 * net/rlogin.el (rlogin-mode-map): Fix last change.
2190
e18afed7 21912012-05-14 Jason L. Wright <jason.wright@inl.gov> (tiny change)
8633b1f4
JW
2192
2193 * mail/smtpmail.el (smtpmail-send-command): Send the command and
2194 the following \r\n using a single `process-send-string', since the
2195 Lotus SMTP server refuses to accept any commands if they are sent
e18afed7 2196 with two `process-send-string's (Bug#11444).
8633b1f4 2197
e18afed7 21982012-05-14 Stefan Monnier <monnier@iro.umontreal.ca>
fe263b8f 2199
fdb058c2
SM
2200 * shell.el (shell-parse-pcomplete-arguments):
2201 Obey pcomplete-arg-quote-list inside double-quoted args (Bug#11348).
e18afed7 2202
2d21d7f6
WJ
22032012-05-14 Wolfgang Jenkner <wjenkner@inode.at>
2204
e18afed7 2205 * image-mode.el: Fit to width/height for rotated images (Bug#11431).
2d21d7f6
WJ
2206 (image-transform-scale, image-transform-right-angle-fudge): New vars.
2207 (image-transform-width, image-transform-fit-width): New functions.
2208 (image-transform-properties): Use them.
2209 (image-transform-check-size): New function.
2210 (image-toggle-display-image): Use it (for testing).
2211 (image-transform-set-rotation): Reduce angle mod 360.
2212 Delete obsolete comment.
2213
7102e6d0
WJ
22142012-05-14 Wolfgang Jenkner <wjenkner@inode.at>
2215
2216 * image-mode.el: Fix scaling (bug#11399).
2217 (image-transform-resize): Doc fix.
2218 (image-transform-properties): Default scale is 1 and height should
2219 be an integer.
2220
06bc5e6e
SM
22212012-05-13 Johan Bockgård <bojohan@gnu.org>
2222
2223 * emacs-lisp/smie.el (smie-next-sexp): Use accessor `op-forw' rather
2224 than hard-coding `car', to fix misbehavior when moving forward.
2225
0ae03b6a
CY
22262012-05-13 Chong Yidong <cyd@gnu.org>
2227
2228 * emacs-lisp/tabulated-list.el (tabulated-list-format)
2229 (tabulated-list-entries, tabulated-list-padding)
2230 (tabulated-list-sort-key): Make permanent-local.
2231
2232 * ebuff-menu.el: Adapt to Buffer Menu changes (Bug#11455).
2233 (electric-buffer-list): Put electric buffer menu
2234 command descriptions in this docstring, instead of the docstring
2235 of electric-buffer-menu-mode. Code cleanups.
2236 (electric-buffer-menu-mode): Use define-derived-mode. Rename from
2237 Electric-buffer-menu-mode.
2238 (electric-buffer-update-highlight): Minor code cleanup.
2239
205a7391
MA
22402012-05-13 Michael Albinus <michael.albinus@gmx.de>
2241
2242 * net/dbus.el (dbus-call-method): Restore events not from D-Bus.
2243 (Bug#11447)
2244
e5bd0a28
SM
22452012-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
2246
2247 Move define-obsolete-variable-alias before the var's definition.
2248 * vc/log-edit.el (vc-comment-ring, vc-comment-ring-index):
2249 * tooltip.el (tooltip-hook):
2250 * textmodes/reftex-toc.el (reftex-toc-map):
2251 * textmodes/reftex-sel.el (reftex-select-label-map)
2252 (reftex-select-bib-map):
2253 * textmodes/reftex-index.el (reftex-index-map)
2254 (reftex-index-phrases-map):
2255 * speedbar.el (speedbar-syntax-table, speedbar-key-map):
2256 * progmodes/meta-mode.el (meta-mode-map):
2257 * novice.el (disabled-command-hook):
2258 * loadhist.el (unload-hook-features-list):
2259 * frame.el (blink-cursor):
2260 * files.el (find-file-not-found-hooks, write-file-hooks)
2261 (write-contents-hooks):
2262 * emulation/tpu-edt.el (GOLD-map):
2263 * emacs-lock.el (emacs-lock-from-exiting):
2264 * emacs-lisp/generic.el (generic-font-lock-defaults):
2265 * emacs-lisp/chart.el (chart-map):
2266 * dos-fns.el (register-name-alist):
2267 * dired-x.el (dired-omit-files-p):
2268 * desktop.el (desktop-enable):
2269 * cus-edit.el (custom-mode-hook):
2270 * buff-menu.el (buffer-menu-mode-hook):
2271 * bookmark.el (bookmark-read-annotation-text-func)
2272 (bookmark-exit-hooks):
2273 * allout.el (allout-mode-deactivate-hook)
2274 (allout-exposure-change-hook, allout-structure-added-hook)
2275 (allout-structure-deleted-hook, allout-structure-shifted-hook):
2276 * dirtrack.el (dirtrack-toggle, dirtrackp, dirtrack-debug-toggle)
2277 (dirtrack-debug): Move call to define-obsolete-variable-alias so it
2278 comes before the corresponding variable's definition.
2279
ac59c2f6
CY
22802012-05-12 Chong Yidong <cyd@gnu.org>
2281
2282 * buff-menu.el (Buffer-menu-buffer+size-width): Doc fix (Bug#11454).
0d909786
CY
2283 (Buffer-menu-mouse-select): Restore function (Bug#11459).
2284 (Buffer-menu-mode-map): Bind it.
2285 (Buffer-menu--pretty-name): Add a mouse-face property.
ac59c2f6 2286
dee6c9a3
SM
22872012-05-11 Stefan Monnier <monnier@iro.umontreal.ca>
2288
2171cea5
SM
2289 * progmodes/prolog.el: Use SMIE. Cleanup regexp setup.
2290 (prolog-upper-case-string, prolog-lower-case-string)
2291 (prolog-atom-char-regexp, prolog-atom-regexp): Initialize in defconst.
2292 (prolog-use-smie, prolog-smie-grammar): New vars.
2293 (prolog-smie-forward-token, prolog-smie-backward-token)
2294 (prolog-smie-rules): New funs.
2295 (prolog-comment-indent): Remove.
2296 (prolog-mode-variables): Use default comment indentation instead.
2297 Setup SMIE.
2298 (prolog-build-case-strings, prolog-set-atom-regexps): Remove.
2299 (prolog-mode): Don't call them any more.
2300 (prolog-electric-colon, prolog-electric-dash)
2301 (prolog-edit-menu-insert-move): Use indent-according-to-mode.
2302
aa0382bd
SM
2303 * dabbrev.el (dabbrev-expand): Make "no expansion found" a user-error.
2304
dbacb4bd
SM
2305 * minibuffer.el (completion--twq-all): Again, allow case differences.
2306
13bdd94c
SM
2307 * term.el: Move keymap initialization code to be more idiomatic.
2308 (term-signals-menu, term-mode-map, term-raw-map, term-raw-escape-map)
2309 (term-terminal-menu): Move initialization into declaration.
2310 (term-escape-char): Let the user set it in her .emacs.
2311
ff46c759
SM
2312 * progmodes/sh-script.el: Use post-self-insert-hook&electric-pair-mode.
2313 Provide SMIE-based indentation (not enabled by default yet).
2314 (sh-mode-map): Don't bind electric keys.
2315 Use electric-pair-mode instead of skeleton-pair.
2316 (sh-assignment-regexp): Fit within 80 columns.
2317 (sh-indent-supported): Specify actual shell name instead of boolean.
2318 (sh--maybe-here-document): New fun, from sh-maybe-here-document.
2319 (sh-maybe-here-document): Use it. Make obsolete.
2320 (sh-electric-here-document-mode) New minor mode.
2321 (sh-mode): Use it. Don't set sh-indent-supported-here here.
2322 (sh-smie-sh-grammar, sh-smie--sh-operators, sh-smie--sh-operators-re)
2323 (sh-smie--sh-operators-back-re, sh-indent-after-continuation)
2324 (sh-smie-rc-grammar, sh-use-smie): New vars.
2325 (sh-smie--keyword-p, sh-smie--newline-semi-p, sh-smie--sh-keyword-p)
2326 (sh-smie-sh-forward-token, sh-smie--looking-back-at-continuation-p)
2327 (sh-smie-sh-backward-token, sh-smie--continuation-start-indent)
2328 (sh-smie-sh-rules, sh-smie-rc-rules, sh-smie--sh-keyword-in-p)
2329 (sh-smie--rc-after-special-arg-p, sh-smie-rc-backward-token)
2330 (sh-smie-sh-rules, sh-smie--rc-newline-semi-p): New functions.
2331 (sh-set-shell): Use smie-setup if requested.
2332
dee6c9a3
SM
2333 * term.el (term-set-escape-char): Properly set term-escape-char.
2334 See http://stackoverflow.com/questions/10524656.
2335
9f9aa044
CY
23362012-05-10 Chong Yidong <cyd@gnu.org>
2337
2338 * ffap.el (ffap-url-unwrap-local): Make it work right (Bug#9131).
2339 Use url-generic-parse-url, and handle host names and Windows
2340 filenames properly.
2341 (ffap-url-unwrap-remote): Use url-generic-parse-url.
2342 (ffap-url-unwrap-remote): Accept list values, specifying a list of
2343 URL schemes to work on.
2344 (ffap--toggle-read-only): New function.
2345 (ffap-read-only, ffap-read-only-other-window)
2346 (ffap-read-only-other-frame): Use it.
2347 (ffap-fixup-url): Don't check ffap-ftp-regexp, since it is not
2348 necessary for ffap-url-unwrap-remote.
2349
836d29b3
DA
23502012-05-10 Dave Abrahams <dave@boostpro.com>
2351
2352 * cus-start.el (create-lockfiles): Add it.
2353
00fd78ed
CY
23542012-05-09 Chong Yidong <cyd@gnu.org>
2355
2356 * net/browse-url.el (browse-url-url-encode-chars): Use upper-case.
2357 (browse-url-encode-url): Encode spaces and quotes (Bug#6300).
2358
666b903b 23592012-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
1cb51c12
SM
2360
2361 * shell.el (shell-completion-vars): Fix last change (bug#11348).
2362
666b903b 23632012-05-09 Chong Yidong <cyd@gnu.org>
18f00515
CY
2364
2365 * ansi-color.el (ansi-color-process-output): Check for validity of
2366 comint-last-output-start before using it. This avoids a bad
2367 interaction with gdb-mi's input/output buffer.
2368
666b903b 23692012-05-09 Glenn Morris <rgm@gnu.org>
fd075e7b
GM
2370
2371 * files.el (dir-locals-read-from-file):
2372 Mention dir-locals in any error message.
2373
666b903b 23742012-05-09 Chong Yidong <cyd@gnu.org>
25f292cd
CY
2375
2376 * emacs-lisp/package.el (package-built-in-p): Handle the `emacs'
2377 package (Bug#11410).
2378
f677562b
CY
2379 * emacs-lisp/package.el (package-buffer-info): Avoid putting local
2380 variables into description.
2381
666b903b 23822012-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
3d53ee1b
SM
2383
2384 * shell.el (shell-completion-vars): Set pcomplete-arg-quote-list like
2385 shell-delimiter-argument-list (bug#11348).
2386 (shell-parse-pcomplete-arguments): Obey pcomplete-arg-quote-list.
2387
b499d8d0
JB
23882012-05-09 Juanma Barranquero <lekktu@gmail.com>
2389
8f6b6da8
JB
2390 * textmodes/rst.el: Silence byte-compiler warnings.
2391 (rst-re-alist, rst-reset-section-caches): Move around.
2392 (rst-re): Use `characterp', not `char-valid-p'.
2393 (font-lock-beg, font-lock-end): Declare.
2394
4824146a
JB
2395 * progmodes/idlw-shell.el (specs): Remove reference to deleted
2396 variable `idlwave-shell-activate-alt-keybindings' and simplify.
2397
b499d8d0
JB
2398 * eshell/esh-cmd.el (eshell-debug-command): Fix typo in previous change.
2399
ad89bb83
GM
24002012-05-08 Glenn Morris <rgm@gnu.org>
2401
2402 * files.el (auto-mode-alist): Treat ".make" like ".mk".
2403
8bba5a75
SM
24042012-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
2405
49ed9c8e
SM
2406 * vc/log-edit.el: Add GNU coding standards highlighting.
2407 (log-edit-font-lock-gnu-style)
2408 (log-edit-font-lock-gnu-keywords): New vars.
2409 (log-edit-font-lock-keywords): New fun.
2410 (log-edit-mode): Don't fold case in font-lock.
2411 (log-edit-font-lock-keywords): Do not assume case-folding.
2412
07d00b56
SM
2413 * imenu.el: Misc cleanup. Make docstrings out of comments.
2414 Use lexical-binding.
2415 (imenu--index-alist, imenu--last-menubar-index-alist)
2416 (imenu-menubar-modified-tick): Use defvar-local.
2417 (imenu--split-menu): Remove unused var.
2418 (imenu--cleanup-seen): Declare as global.
2419 (imenu--cleanup): Use dolist.
2420
8bba5a75
SM
2421 * subr.el (defvar-local): Add debug spec and doc-string position.
2422
5075bdb5
GM
24232012-05-08 Glenn Morris <rgm@gnu.org>
2424
c052c904
GM
2425 * lisp/language/burmese.el, language/cham.el, language/czech.el:
2426 * language/english.el, language/georgian.el, language/greek.el:
2427 * language/japanese.el, language/khmer.el, language/korean.el:
2428 * language/lao.el, language/misc-lang.el, language/romanian.el:
2429 * language/sinhala.el, language/slovak.el, language/tai-viet.el:
2430 * language/thai.el, language/utf-8-lang.el:
2431 Remove no-byte-compile setting.
2432
5075bdb5
GM
2433 * play/zone.el (zone-pgm-stress): Don't pollute kill-ring. (Bug#11388)
2434
06f679a7
AH
24352012-05-08 Aaron S. Hawley <aaron.s.hawley@gmail.com>
2436
2437 * progmodes/make-mode.el (makefile-browse):
2438 Remove unnecessary interactive. (Bug#11324)
2439
03794570
GM
24402012-05-07 Glenn Morris <rgm@gnu.org>
2441
af8630f4
GM
2442 * forms-d2.el, forms-pass.el: Move to ../etc/forms directory.
2443
03794570
GM
2444 * international/mule.el (find-auto-coding): Make "unibyte: t" obsolete.
2445
f0809a9d
SM
24462012-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
2447
28be5ce7
SM
2448 * loadup.el: Preload newcomment.el.
2449 * newcomment.el: Move autoload-only code to toplevel.
2450
f0809a9d
SM
2451 * buff-menu.el (list-buffers--refresh): Mark `size' as right-align.
2452 * emacs-lisp/tabulated-list.el (tabulated-list-init-header):
2453 Handle new :right-align column property.
2454 (tabulated-list-print-col): Idem, plus use `display' text-property to
2455 try and preserve alignment for variable pitch fonts.
2456
1241b724
CY
24572012-05-07 Chong Yidong <cyd@gnu.org>
2458
2459 * emacs-lisp/tabulated-list.el: Add no-header-line alternative.
2460 (tabulated-list-use-header-line): New var.
2461 (tabulated-list-init-header): Use it.
2462 (tabulated-list-print-fake-header): New function.
2463 (tabulated-list-print): Use it.
2464 (tabulated-list-sort-button-map): Add non-header-line commands.
2465 (tabulated-list-init-header): Add column name property to basic
2466 labels as well.
2467 (tabulated-list-col-sort): Handle non-header-line button case.
2468 (tabulated-list--sort-by-column-name): Fix a corner case.
2469
f0809a9d
SM
2470 * buff-menu.el (list-buffers--refresh):
2471 Handle Buffer-menu-use-header-line.
1241b724 2472
e5f9458f
CY
24732012-05-06 Chong Yidong <cyd@gnu.org>
2474
2475 * buff-menu.el: Convert to Tabulated List mode.
2476 (Buffer-menu-buffer+size-width): Make obsolete.
2477 (Buffer-menu-name-width, Buffer-menu-size-width): New variables.
2478 (Buffer-menu-mode-map): Inherit from tabulated-list-mode-map.
2479 (Buffer-menu-mode): Derive from tabulated-list-mode. Move command
2480 documentation into docstring of buffer-menu.
2481 (Buffer-menu-toggle-files-only): Add an informative message.
2482 (Buffer-menu-sort): Convert to alias for tabulated-list-sort.
2483 (Buffer-menu-buffer, Buffer-menu-beginning, Buffer-menu-mark)
2484 (Buffer-menu-unmark, Buffer-menu-backup-unmark)
2485 (Buffer-menu-delete, Buffer-menu-save, Buffer-menu-not-modified)
2486 (Buffer-menu-execute, Buffer-menu-select)
2487 (Buffer-menu-marked-buffers, Buffer-menu-toggle-read-only)
2488 (Buffer-menu-bury): Use Tabulated List machinery.
2489 (Buffer-menu-mouse-select, Buffer-menu-sort-by-column)
2490 (Buffer-menu-sort-button-map, Buffer-menu-make-sort-button):
f0809a9d 2491 Delete.
e5f9458f
CY
2492 (list-buffers--refresh): New function.
2493 (list-buffers-noselect): Use it.
2494 (tabulated-list-entry-size->, Buffer-menu--pretty-name)
2495 (Buffer-menu--pretty-file-name): New helper functions.
2496
2497 * loadup.el: Preload tabulated-list.
2498
2499 * emacs-lisp/tabulated-list.el (tabulated-list-sort): Rename from
2500 tabulated-list-sort-column.
2501 (tabulated-list-init-header): Add the initial aligning space even
2502 if tabulated-list-padding is zero.
2503
e129292c
CS
25042012-05-06 Christopher Schmidt <christopher@ch.ristopher.com>
2505
2506 * emacs-lisp/cl-macs.el (cl-expr-contains): Handle cons cells
2507 whose cdr is not a cons cell correctly (bug#11038).
2508
6632d361
CY
25092012-05-06 Chong Yidong <cyd@gnu.org>
2510
e129292c
CS
2511 * emacs-lisp/tabulated-list.el (tabulated-list-format):
2512 Accept additional plist in column descriptors.
6632d361
CY
2513 (tabulated-list-init-header): Obey it.
2514 (tabulated-list-get-entry): New function.
2515 (tabulated-list-put-tag): Use it. Use string-width instead of
2516 length.
2517 (tabulated-list--column-number): New function.
2518 (tabulated-list-print): Use it.
e129292c
CS
2519 (tabulated-list-print-col): New function.
2520 Set `tabulated-list-column-name' property on each column's text.
6632d361 2521 (tabulated-list-print-entry): Use it.
e129292c
CS
2522 (tabulated-list-delete-entry, tabulated-list-set-col):
2523 New functions.
6632d361
CY
2524 (tabulated-list-sort-column): New command (Bug#11337).
2525
3cc99f68
CY
2526 * buff-menu.el (list-buffers): Move C-x C-b binding from
2527 buff-menu.el to bindings.el.
2528
2529 * ebuff-menu.el (Electric-buffer-menu-undefined): Use the
2530 :advertised-binding feature.
2531
52b61776
TN
25322012-05-06 Troels Nielsen <bn.troels@gmail.com> (tiny change)
2533
2534 * progmodes/compile.el (compilation-internal-error-properties):
2535 Calculate start position correctly when end-col is set but
2536 end-line is not (Bug#11382).
2537
ebfe2597
WJ
25382012-05-06 Wolfgang Jenkner <wjenkner@inode.at>
2539
2540 * man.el (Man-unindent): Use text-property-default-nonsticky to
2541 prevent untabify from inheriting face properties (Bug#11408).
2542
6d3f7c2f
SM
25432012-05-05 Stefan Merten <smerten@oekonux.de>
2544
2545 * textmodes/rst.el: Major merge with upstream development up to
2546 Docutils SVN r7399 / rst.el V1.2.1.
2547
2548 Clarify maintainership and authors.
2549
2550 (rst-extract-version, rst-cvs-header, rst-cvs-rev)
2551 (rst-cvs-timestamp, rst-svn-rev, rst-svn-timestamp)
2552 (rst-official-version, rst-official-cvs-rev, rst-version)
2553 (rst-package-emacs-version-alist): New functions and variables
2554 for version information.
2555
2556 (rst-bullets, rst-uri-schemes, rst-adornment-chars)
2557 (rst-max-inline-length, rst-re-alist-def, rst-re-alist)
2558 (rst-mode-syntax-table, rst-mode): New and corrected functions
2559 and variables representing reStructuredText features.
2560
2561 (rst-re): New function for reStructuredText regexes. Use in
2562 many places.
2563
2564 (rst-deprecated-keys, rst-call-deprecated, rst-define-key)
2565 (rst-mode-map): Rebind keys.
2566
2567 (rst-mode-lazy, rst-font-lock-keywords)
2568 (rst-font-lock-extend-region)
2569 (rst-font-lock-extend-region-internal)
2570 (rst-font-lock-extend-region-extend)
2571 (rst-font-lock-find-unindented-line-limit)
2572 (rst-font-lock-find-unindented-line-match)
2573 (rst-adornment-level, rst-font-lock-adornment-level)
2574 (rst-font-lock-adornment-match)
2575 (rst-font-lock-handle-adornment-pre-match-form)
2576 (rst-font-lock-handle-adornment-matcher): Major revision of
2577 font-locking. Integrate with other code. Use `jit-lock-mode'.
2578
2579 (rst-preferred-adornments, rst-adjust-hook)
2580 (rst-new-adornment-down, rst-preferred-bullets)
2581 (rst-preferred-bullets, rst-indent, rst-indent-width)
2582 (rst-indent-field, rst-indent-literal-normal)
2583 (rst-indent-literal-minimized, rst-indent-comment): Change,
2584 extend and improve customization.
2585
2586 (rst-line-homogeneous-p, rst-line-homogeneous-nodent-p)
2587 (rst-normalize-cursor-position, rst-get-decoration)
2588 (rst-straighten-deco-spacing, rst-re-bullets, rst-re-items)
2589 (rst-rstrip, rst-toc-insert-find-delete-contents)
2590 (rst-shift-fill-region, rst-compute-bullet-tabs)
2591 (rst-debug-print-tabs, rst-debug-mark-found)
2592 (rst-shift-region-guts, rst-shift-region-right)
2593 (rst-shift-region-left, rst-use-char-classes)
2594 (rst-font-lock-keywords-function)
2595 (rst-font-lock-indentation-point)
2596 (rst-font-lock-find-unindented-line-begin)
2597 (rst-font-lock-find-unindented-line-end)
2598 (rst-font-lock-find-unindented-line)
2599 (rst-font-lock-adornment-point, rst-font-lock-level)
2600 (rst-adornment-level-alist): Remove functions and variables.
2601
2602 (rst-compare-adornments, rst-get-adornment-match)
2603 (rst-suggest-new-adornment, rst-get-adornments-around)
2604 (rst-adornment-complete-p, rst-get-next-adornment)
2605 (rst-adjust-adornment, rst-display-adornments-hierarchy)
2606 (rst-straighten-adornments): Standardize function names to
2607 use "adornment" instead of "decoration". Correct callers.
2608 Similar standardizing in many places.
2609
2610 (rst-update-section, rst-adjust, rst-promote-region)
2611 (rst-enumerate-region, rst-bullet-list-region)
2612 (rst-repeat-last-character): Correct use of `interactive'.
2613
2614 (rst-classify-adornment, rst-find-all-adornments)
2615 (rst-get-hierarchy, rst-adjust-adornment, rst-toc-update)
2616 (rst-find-leftmost-column, rst-repeat-last-character):
2617 Refactor functions.
2618
2619 (rst-find-title-line, rst-reset-section-caches)
2620 (rst-get-adornments-around, rst-adjust-adornment-work)
2621 (rst-arabic-to-roman, rst-roman-to-arabic)
2622 (rst-insert-list-pos, rst-insert-list-new-item)
2623 (rst-insert-list-continue, rst-insert-list, rst-forward-line):
2624 New functions.
2625
2626 (rst-all-sections, rst-section-hierarchy)
2627 (rst-arabic-to-roman, rst-initial-enums, rst-initial-items):
2628 New variables.
2629
2630 (rst-toc-return-wincfg, rst-toc-quit-window): Use window
2631 configuration instead of only buffer. Change where necessary.
2632
2633 (rst-line-tabs, rst-compute-tabs, rst-indent-line)
2634 (rst-shift-region, rst-adaptive-fill): New functions for
2635 indentation and filling.
2636
2637 (rst-comment-line-break, rst-comment-indent)
2638 (rst-comment-insert-comment, rst-comment-region)
2639 (rst-uncomment-region): New functions for handling comments.
2640
2641 (rst-compile): Quote shell arguments.
2642
2643 (rst-compile-pdf-preview, rst-compile-slides-preview):
2644 Delete temporary files after use.
2645
a43f98b3
GM
26462012-05-05 Glenn Morris <rgm@gnu.org>
2647
48176e8b
GM
2648 * calendar/cal-html.el: Optionally include holidays in the output.
2649 Suggested by Ed Reingold <reingold@emr.cs.iit.edu>.
2650 (cal-html-holidays): New option.
2651 (cal-html-css-default): Add holiday entry.
2652 (holiday-in-range): Autoload it.
2653 (cal-html-htmlify-entry): Add optional class argument.
2654 (cal-html-htmlify-list): Add optional holidays argument.
2655 (cal-html-insert-agenda-days): Include holidays in the output.
2656 (cal-html-one-month): Maybe include holidays.
2657
a43f98b3
GM
2658 * calendar/holidays.el (holiday-in-range):
2659 Move here from cal-tex-list-holidays.
2660 * calendar/cal-tex.el (cal-tex-list-holidays):
2661 Make it an obsolete alias for holiday-in-range. Update all callers.
2662
fef9d149 26632012-05-05 Chong Yidong <cyd@gnu.org>
eceeb5fc
CY
2664
2665 * select.el (xselect--encode-string): Always use utf-8 for TEXT on
2666 Nextstep.
2667
248da2f4
RW
26682012-05-05 Ransom Williams <auvergnerw@gmail.com> (tiny change)
2669
2670 * files.el (file-auto-mode-skip): New var.
2671 (set-auto-mode-1): Use it.
2672
f95e9344
SM
26732012-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
2674
df96ab1e
SM
2675 * repeat.el: Use lexical-binding.
2676 (repeat-last-self-insert, repeat-num-input-keys-at-self-insert)
2677 (repeat-undo-count): Remove.
2678 (repeat):
2679 * progmodes/octave-mod.el (octave-abbrev-start):
2680 * progmodes/f90.el (f90-abbrev-start):
2681 * face-remap.el (text-scale-adjust):
2682 * kmacro.el (kmacro-call-macro): Use set-temporary-overlay-map.
2683
5342bb06
SM
2684 * emacs-lisp/pcase.el (pcase--let*): New function.
2685 (pcase--expand, pcase-codegen, pcase--q1): Use it to reduce nesting
2686 a bit more.
2687 (pcase--split-pred): Be more clever about ruling out overlap between
2688 a predicate and some constant pattern.
2689 (pcase--q1): Use `null' instead of (eq foo nil).
2690
f95e9344
SM
2691 * subr.el (setq-local, defvar-local): New macros.
2692 (kbd): Redefine as an alias.
2693 (with-selected-window): Leave unrelated frames alone.
2694 (set-temporary-overlay-map): New function.
2695
71873e2b
SM
26962012-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
2697
2698 * subr.el (user-error): New function.
2699 * window.el (switch-to-buffer):
2700 * vc/smerge-mode.el (smerge-resolve-function, smerge-resolve)
2701 (smerge-match-conflict):
2702 * simple.el (previous-matching-history-element)
2703 (next-matching-history-element, goto-history-element, undo-more)
2704 (undo-start):
2705 * progmodes/etags.el (visit-tags-table-buffer, find-tag-tag)
2706 (find-tag-noselect, find-tag-in-order, etags-goto-tag-location)
2707 (next-file, tags-loop-scan, list-tags, complete-tag):
2708 * progmodes/compile.el (compilation-loop):
2709 * mouse.el (mouse-minibuffer-check):
2710 * man.el (Man-bgproc-sentinel, Man-goto-page):
2711 * info.el (Info-find-node-2, Info-extract-pointer, Info-history-back)
2712 (Info-history-forward, Info-follow-reference, Info-menu)
2713 (Info-extract-menu-item, Info-extract-menu-counting)
2714 (Info-forward-node, Info-backward-node, Info-next-menu-item)
2715 (Info-last-menu-item, Info-next-preorder, Info-last-preorder)
2716 (Info-next-reference, Info-prev-reference, Info-index)
2717 (Info-index-next, Info-follow-nearest-node)
2718 (Info-copy-current-node-name):
2719 * imenu.el (imenu--make-index-alist)
2720 (imenu-default-create-index-function, imenu-add-to-menubar):
2721 * files.el (basic-save-buffer, recover-file):
2722 * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
2723 * emacs-lisp/checkdoc.el (checkdoc-continue, checkdoc-comments)
2724 (checkdoc-message-text, checkdoc-defun):
2725 * dabbrev.el (dabbrev-completion, dabbrev--abbrev-at-point):
2726 * cus-edit.el (customize-changed-options, customize-rogue)
2727 (customize-saved, custom-variable-set, custom-variable-mark-to-save)
2728 (custom-variable-mark-to-reset-standard)
2729 (custom-variable-reset-backup, custom-face-mark-to-reset-standard)
2730 (custom-file):
2731 * completion.el (check-completion-length):
2732 * comint.el (comint-search-arg)
2733 (comint-previous-matching-input-string-position)
2734 (comint-previous-matching-input)
2735 (comint-replace-by-expanded-history-before-point, comint-send-input)
2736 (comint-copy-old-input, comint-backward-matching-input)
2737 (comint-goto-process-mark, comint-set-process-mark):
2738 * calendar/calendar.el (calendar-cursor-to-date): Use it.
2739 * bindings.el (debug-ignored-errors): Remove regexps, add `user-error'.
2740
8a61ee22
SM
27412012-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
2742
66408d1e
SM
2743 * dabbrev.el (dabbrev--ignore-case-p): New function.
2744 (dabbrev-completion, dabbrev-expand, dabbrev--substitute-expansion):
2745 Use it.
2746
8a61ee22
SM
2747 * files.el (automount-dir-prefix): Mark as obsolete.
2748
3c74813a
GM
27492012-05-04 Glenn Morris <rgm@gnu.org>
2750
2751 * patcomp.el, play/bruce.el: Move to obsolete/.
2752
0bfcf5c5
PE
27532012-05-04 Paul Eggert <eggert@cs.ucla.edu>
2754
2755 Fix minor Y10k bugs.
2756 * arc-mode.el (archive-unixdate):
2757 * autoinsert.el (auto-insert-alist):
2758 * calc/calc-forms.el (math-this-year):
2759 * emacs-lisp/copyright.el (copyright-current-year)
2760 (copyright-update-year, copyright):
2761 * tar-mode.el (tar-clip-time-string):
2762 * time.el (display-time-update):
2763 Don't assume years have 4 digits.
2764
78f3273a
CY
27652012-05-04 Chong Yidong <cyd@gnu.org>
2766
2767 * dos-w32.el (file-name-buffer-file-type-alist)
2768 (direct-print-region-use-command-dot-com):
2769 * ffap.el (ffap-menu-regexp):
2770 * find-file.el (ff-special-constructs):
2771 * follow.el (follow-debug):
2772 * forms.el (forms--debug):
2773 * iswitchb.el (iswitchb-all-frames):
2774 * ido.el (ido-all-frames):
2775 * emacs-lisp/timer.el (timer-max-repeats):
2776 * mail/feedmail.el (feedmail-mail-send-hook)
2777 (feedmail-mail-send-hook-queued):
2778 * mail/footnote.el (footnote-signature-separator):
2779 * mail/mailabbrev.el (mail-alias-separator-string)
2780 (mail-abbrev-mode-regexp):
2781 * mail/rmail.el (rmail-speedbar-match-folder-regexp):
2782 * progmodes/idlwave.el (idlwave-libinfo-file)
2783 (idlwave-default-completion-case-is-down)
2784 (idlwave-library-routines): Convert defvars to defcustoms.
2785
2786 * mail/rmail.el (rmail-decode-mime-charset):
2787 * progmodes/idlw-shell.el (idlwave-shell-print-expression-function)
2788 (idlwave-shell-fix-inserted-breaks)
2789 (idlwave-shell-activate-alt-keybindings)
2790 (idlwave-shell-use-breakpoint-glyph):
2791 * facemenu.el (facemenu-unlisted-faces): Delete obsolete vars.
2792
f7ae6719
SM
27932012-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
2794
2795 * minibuffer.el (completion--twq-all): Beware completion-ignore-case.
2796
47086495
WS
27972012-05-03 Wilson Snyder <wsnyder@wsnyder.org>
2798
2799 * progmodes/verilog-mode.el (font-lock-keywords):
2800 Fix mis-highligting auto. Reported by Craig Barner.
2801 (verilog-auto, verilog-auto-undef): Add AUTOUNDEF to remove
2802 defines from global name space. Reported by Dan Dever.
2803 (verilog-auto-reset, verilog-auto-reset-widths)
2804 (verilog-auto-tieoff): Support using unbased numbers for
2805 AUTORESET and AUTOTIEOFF.
2806 (verilog-submit-bug-report): Update variable list.
2807 (verilog-read-auto-params): Fix AUTOINPUT regexps containing
2808 parenthesis from not matching. Reported by Michael Rytting.
2809 (verilog-auto-template-lint): Fix hash error when linting modules
2810 with no used templates.
2811 (verilog-warn, verilog-warn-error)
2812 (verilog-warn-fatal): When non-interactive report multiple
2813 warnings before exiting. Suggested by Brad Dobbie.
2814 (verilog-auto-template-lint, verilog-auto-template-warn-unused)
2815 (verilog-read-auto-template): Add `verilog-auto-template-warn-unused'
2816 to report unused template errors. Reported by Brad Dobbie.
2817 (verilog-read-decls): Fix AUTOWIRE etc on supply0, supply1 type
2818 nets, bug438. Reported by Vns Blore.
2819 (verilog-auto-inout-module, verilog-auto-reg)
2820 (verilog-read-decls, verilog-read-sub-decls-sig)
2821 (verilog-signals-edit-wire-reg, verilog-signals-with):
2822 Fix passing of Verilog data types in ANSI input/output ports
2823 such as "output logic" into the AUTOs. Special case "wire" and
2824 "reg" for backwards compatibility presuming Verilog 2001.
2825 (verilog-auto-ascii-enum): Add "auto enum" as alias.
2826 (verilog-preprocess): Fix replication of preprocess output.
2827 Reported by Brad Dobbie.
2828 (verilog-auto-inst-interfaced-ports):
2829 Create verilog-auto-inst-interfaced-ports, bug429.
2830 Reported by Julian Gorfajn.
2831 (verilog-after-save-font-hook)
2832 (verilog-before-save-font-hook): New variable.
2833 (verilog-modi-cache-results, verilog-save-font-mod-hooked)
2834 (verilog-save-font-mods): Wrap disabling fontification, reported
2835 by David Rogoff.
2836 (verilog-do-indent, verilog-pretty-declarations-auto)
2837 (verilog-sk-def-reg): Fix obeying `verilog-auto-lineup', bug305.
2838 Reported by Pierre-David Pfister.
2839 (verilog-set-auto-endcomments): Fix endtask auto comments outside
2840 of class declarations, bug292. Reported by Kevin Heilman.
2841 (verilog-read-decls): Fix 'parameter type' not appearing in
2842 AUTOINSTPARAM, bug340. Reported by Jonathan Greenlaw.
2843 (verilog-auto-logic): Fix when AUTOLOGIC present to properly do
2844 AUTOINPUTs, bug411. Reported by Jonathan Greenlaw.
2845 (verilog-read-auto-lisp): Avoid syntax-ppss warning on AUTOLISP.
2846 Reported by David Kravitz.
2847
28482012-05-03 Michael McNamara <mac@mail.brushroad.com>
2849
2850 * progmodes/verilog-mode.el (verilog-pretty-expr): Don't line up
2851 assignment with tests in ifs and for loops.
2852 (verilog-extended-complete-re, verilog-complete-reg): Change so
2853 that DPI inport functions don't look like fuction declarations.
2854 (verilog-pretty-expr): Don't line up assignment
2855 operations to the test and increment in if and for loops
2856 (verilog-extended-complete-re, verilog-complete-reg): Change so
2857 that DPI inport functions don't look like fuction declarations
2858
2e51d4b5
KH
28592012-05-03 Kenichi Handa <handa@m17n.org>
2860
2861 * mail/rmailmm.el (rmail-show-mime): Catch an error caused by text
c846da43 2862 decoding, and show a warning message without signaling an error
2e51d4b5
KH
2863 (Bug#11282).
2864
2bd785a2
SM
28652012-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
2866
2867 * emacs-lisp/bytecomp.el
2868 (byte-compile-file-form-custom-declare-variable): Compile all elements,
2869 since cconv.el might have introduced :fun-body, internal-make-closure,
2870 and friends for bytecomp to handle (bug#11391).
2871 * custom.el (defcustom): Avoid ((λ ..) ..).
2872
99d27583
SM
28732012-05-02 Stefan Monnier <monnier@iro.umontreal.ca>
2874
2875 * subr.el (read-passwd): Better clean after ourselves (bug#11392).
2876
55a71479
JB
28772012-05-02 Juanma Barranquero <lekktu@gmail.com>
2878
2879 * notifications.el (dbus-debug):
2880 * term/linux.el (gpm-mouse-enable):
2881 * term/screen.el (xterm-register-default-colors): Declare.
2882
7b97c764
CY
28832012-05-02 Chong Yidong <cyd@gnu.org>
2884
2bc356d7
CY
2885 * cus-start.el (gc-cons-percentage, exec-suffixes)
2886 (dos-display-scancodes, dos-hyper-key, dos-super-key)
2887 (dos-keypad-mode, debug-on-signal, vertical-centering-font-regexp)
2888 (make-cursor-line-fully-visible, void-text-area-pointer)
2889 (font-list-limit): Add customization data.
2890
7b97c764
CY
2891 * allout.el (allout-exposure-change-functions)
2892 (allout-structure-added-functions)
2893 (allout-structure-deleted-functions)
2894 (allout-structure-shifted-functions): Rename abnormal hooks from
2895 *-hook, and convert to defcustoms.
5d3385a0
JB
2896 (allout-after-copy-or-kill-hook, allout-post-undo-hook):
2897 Convert to defcustoms.
7b97c764
CY
2898 (allout-mode-hook, allout-mode-deactivate-hook): Doc fix.
2899
2900 * allout-widgets.el: Hook callers changed.
2901
90207a15 29022012-05-02 Eli Zaretskii <eliz@gnu.org>
91af76bf
EZ
2903
2904 * mail/rmail.el (rmail-yank-current-message): Use the encoding of
2905 the yanked message in preference to the default value of
2906 buffer-file-coding-system.
2907
90207a15 29082012-05-02 Martin Rudalics <rudalics@gmx.at>
d9558cad 2909
5d3385a0
JB
2910 * window.el (display-buffer--action-function-custom-type):
2911 Fix entry.
d9558cad 2912
90207a15 29132012-05-02 Alan Mackenzie <acm@muc.de>
09affde0
AM
2914
2915 * progmodes/cc-defs.el (c-version): Update to 5.32.3.
2916
d80ac57b
GM
29172012-05-01 Glenn Morris <rgm@gnu.org>
2918
976f7668
GM
2919 * cus-start.el (suggest-key-bindings): Remove, now it is in Lisp.
2920
beb83b5a
GM
2921 * eshell/esh-cmd.el (eshell-debug-command): Doc fix. Add :set.
2922
d80ac57b
GM
2923 * cus-edit.el (custom-variable-documentation): Simplify with format.
2924
b593d6a9
AH
29252012-05-01 Aaron S. Hawley <aaron.s.hawley@gmail.com>
2926 Stefan Monnier <monnier@iro.umontreal.ca>
2927
2928 * simple.el (suggest-key-bindings, execute-extended-command):
2929 Move from keyboard.c.
2930
782fbf2a
CY
29312012-05-01 Chong Yidong <cyd@gnu.org>
2932
2933 * follow.el: Eliminate advice.
2934 (set-process-filter, process-filter, sit-for): Advice deleted.
2935 (follow-mode-off-hook): Obsolete hook removed.
b593d6a9
AH
2936 (follow-avoid-tail-recenter-p, follow-process-filter-alist):
2937 Vars deleted.
782fbf2a
CY
2938 (follow-auto): Use a :set function.
2939 (follow-mode): Rewritten. Don't advise process filters.
2940 (follow-switch-to-current-buffer-all, follow-scroll-up)
2941 (follow-scroll-down): Assume follow-mode is bound.
2942 (follow-comint-scroll-to-bottom)
2943 (follow-align-compilation-windows): New functions.
2944 (follow--window-sorter): New function.
2945 (follow-all-followers): Use it to explicitly sort windows by their
2946 positions; don't make assumptions about next-window order.
2947 (follow-windows-start-end, follow-delete-other-windows-and-split)
2948 (follow-calc-win-start): Doc fix.
2949 (follow-windows-aligned-p, follow-select-if-visible): Don't call
2950 vertical-motion unnecessarily.
2951 (follow-adjust-window): New function.
2952 (follow-post-command-hook): Use it.
2953 (follow-call-set-process-filter, follow-call-process-filter)
2954 (follow-intercept-process-output, follow-tidy-process-filter-alist)
2955 (follow-stop-intercept-process-output, follow-generic-filter):
2956 Functions deleted.
2957 (follow-scroll-bar-toolkit-scroll, follow-scroll-bar-drag)
b593d6a9
AH
2958 (follow-scroll-bar-scroll-up, follow-scroll-bar-scroll-down):
2959 New functions, replacing advice on scroll-bar-* commands.
87233a14 2960 (follow-mwheel-scroll): New function (Bug#4112).
782fbf2a
CY
2961
2962 * comint.el (comint-adjust-point): New function.
b593d6a9
AH
2963 (comint-postoutput-scroll-to-bottom): Use it.
2964 Call follow-comint-scroll-to-bottom for Follow mode buffers.
782fbf2a 2965
290af740
GM
29662012-05-01 Glenn Morris <rgm@gnu.org>
2967
2968 * term/AT386.el, term/apollo.el, term/bobcat.el, term/cygwin.el:
2969 * term/iris-ansi.el, term/linux.el, term/lk201.el, term/news.el:
2970 * term/screen.el, term/vt102.el, term/vt125.el, term/vt200.el:
2971 * term/vt201.el, term/vt220.el, term/vt240.el, term/vt300.el:
2972 * term/vt320.el, term/vt400.el, term/vt420.el, term/wyse50.el:
2973 Remove no-byte-compile setting.
2974
6eac8dc9
SM
29752012-05-01 Stefan Monnier <monnier@iro.umontreal.ca>
2976
2977 * minibuffer.el (completion-table-with-quoting): Fix compatibility
2978 all-completions code to not return a number in the last cdr.
2979
9cc7819c
LL
29802012-04-30 Leo Liu <sdl.web@gmail.com>
2981
2982 * ibuf-ext.el (ibuffer-diff-buffer-with-file-1): Avoid buffer
2983 read-only error.
2984
c93b886f
CY
29852012-04-29 Chong Yidong <cyd@gnu.org>
2986
2987 * follow.el (follow-calc-win-end): Rewrite to handle partial
2988 screen lines correctly (Bug#8390).
2989 (follow-avoid-tail-recenter): Minor cleanup.
2990
8b6c19f4
SM
29912012-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
2992
2993 Avoid the obsolete `assoc' package.
2994 * speedbar.el (speedbar-refresh): Avoid adelete.
2995 (speedbar-file-lists): Simplify and avoid aput.
2996 * man.el (Man--sections, Man--refpages): New vars, replacing
2997 Man-sections-alist and Man-refpages-alist.
2998 (Man-build-section-alist, Man-build-references-alist):
2999 Use them; avoid aput.
3000 (Man--last-section, Man--last-refpage): New vars.
3001 (Man-follow-manual-reference): Use them.
3002 Use the `default' arg of completing-read.
3003 (Man-goto-section): Idem. Move prompt to the `interactive' spec.
3004
c5bb7569
CY
30052012-04-27 Chong Yidong <cyd@gnu.org>
3006
d1d2e2e8
CY
3007 * vc/diff.el (diff-sentinel): Go to bob (Bug#10259).
3008
15cd8efd
CY
3009 * startup.el (x-apply-session-resources): New function.
3010
3011 * term/ns-win.el (ns-initialize-window-system):
3012 * term/w32-win.el (w32-initialize-window-system):
3013 * term/x-win.el (x-initialize-window-system): Use it to properly
3014 set menu-bar-mode and other vars from X resources, even if the
3015 initial frame is not a window-system frame (Bug#2299).
3016
c5bb7569
CY
3017 * subr.el (read-key): Avoid running filter function when setting
3018 up temporary tool bar entries (Bug#9922).
3019
a8e7d6d7 30202012-04-27 Andreas Schwab <schwab@linux-m68k.org>
c4347ab9
AS
3021
3022 * vc/vc-git.el (vc-git-state): Fix regexp matching diff output.
3023 (Bug#11344)
3024
a8e7d6d7 30252012-04-27 Chong Yidong <cyd@gnu.org>
acb71f1d
CY
3026
3027 * select.el (xselect--encode-string): New function, split from
3028 xselect-convert-to-string.
3029 (xselect-convert-to-string): Use it.
3030 (xselect-convert-to-filename, xselect-convert-to-os)
3031 (xselect-convert-to-host, xselect-convert-to-user): Ensure that
3032 returned strings are properly encoded (Bug#11315).
3033
a8e7d6d7 30342012-04-27 Chong Yidong <cyd@gnu.org>
d55486c7
CY
3035
3036 * simple.el (delete-active-region): Move to killing custom group.
3037
a8e7d6d7 30382012-04-27 Andreas Schwab <schwab@linux-m68k.org>
581b6788
AS
3039
3040 * progmodes/which-func.el (which-func-current): Quote %
3041 characters for mode-line processing.
3042
578c1d4b 30432012-04-27 Chong Yidong <cyd@gnu.org>
18edb22d
CY
3044
3045 * xml.el (xml-parse-region, xml-parse-tag): Avoid errors due to
3046 reaching eob (Bug#11286).
3047
a8e7d6d7 30482012-04-27 Eli Zaretskii <eliz@gnu.org>
9ee9f470
EZ
3049
3050 * progmodes/gdb-mi.el (gdb-control-level): New variable.
3051 (gdb): Make it buffer-local and init to zero.
3052 (gdb-control-commands-regexp): New variable.
3053 (gdb-send): Don't wrap in "-interpreter-exec console" if
3054 gdb-control-level is positive. Increment gdb-control-level
3055 whenever the command matches gdb-control-commands-regexp, and
3056 decrement it each time the command is "end". (Bug#11279)
3057
a8e7d6d7 30582012-04-27 Martin Rudalics <rudalics@gmx.at>
41cfe0cb
MR
3059
3060 * window.el (adjust-window-trailing-edge, enlarge-window)
3061 (shrink-window, window-resize):
3062 * mouse.el (mouse-drag-line): Fix resizing of minibuffer
3063 windows (Bug#11276).
3064
b3608390
CY
30652012-04-27 Chong Yidong <cyd@gnu.org>
3066
3067 * progmodes/pascal.el (pascal--extra-indent): Rename from ind, to
a8e7d6d7 3068 fix "missing prefix" warning. All callers changed.
b3608390 3069
797e6e88
SM
30702012-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
3071
3072 * emacs-lisp/assoc.el: Move to obsolete/.
3073
e95a67dc
SM
30742012-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
3075
657c21e4 3076 * emacs-lisp/assoc.el (aget): Fix dynamic-scoping issue (bug#11352).
e95a67dc
SM
3077
3078 * term/ns-win.el (ns-define-service):
3079 * progmodes/pascal.el (pascal-goto-defun):
3080 * progmodes/js.el (js--read-tab):
3081 * progmodes/etags.el (tags-lazy-completion-table):
3082 * emacs-lisp/syntax.el (syntax-propertize-via-font-lock):
3083 * emacs-lisp/ewoc.el (ewoc--wrap):
3084 * emacs-lisp/assoc.el (aput, adelete, amake):
3085 * doc-view.el (doc-view-convert-current-doc):
3086 * vc/diff.el (diff-no-select): Replace lexical-let by lexical-binding.
3087
cb3e7ae0
CY
30882012-04-26 Chong Yidong <cyd@gnu.org>
3089
dce04f7f
CY
3090 * image.el (image-type-from-buffer): Only return supported image
3091 type (Bug#9045).
3092
cb3e7ae0
CY
3093 * vc/diff-mode.el (diff-beginning-of-hunk): Return a meaningful
3094 value, for symmetry with diff-end-of-hunk.
3095 (diff-split-hunk, diff-find-source-location)
3096 (diff-ignore-whitespace-hunk, diff-refine-hunk): Use it.
3097 (diff-bounds-of-hunk, diff-bounds-of-file): New functions.
3098 (diff-restrict-view, diff-hunk-kill, diff-file-kill): Use them to
3099 compute the relevant hunk or file properly (Bug#6005).
3100 (diff-file-junk-re): Add bzr's "modified file" tag (Bug#6041).
3101
0d42eb3e
SM
31022012-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
3103
3104 * vc/vc-mtn.el:
3105 * vc/vc-hg.el:
3106 * vc/vc-git.el:
3107 * vc/vc-dir.el:
3108 * vc/vc-cvs.el:
3109 * vc/vc-bzr.el:
3110 * vc/vc-arch.el:
3111 * vc/vc.el: Replace lexical-let by lexical-binding.
3112 * minibuffer.el (lazy-completion-table): Avoid ((λ ...) ...).
3113 * emacs-lisp/cl-macs.el (lexical-let): Fix use in lexical-binding.
3114 * emacs-lisp/cconv.el (cconv-analyse-form): Warn use of ((λ ...) ...).
3115
f08ae1c9
CY
31162012-04-26 Chong Yidong <cyd@gnu.org>
3117
8b71081d
CY
3118 * vc/diff-mode.el (diff-undo): New command (Bug#5302).
3119 (diff-mode-shared-map): Bind it to / and [remap undo].
3120
f08ae1c9
CY
3121 * vc/ediff-wind.el (ediff-setup-windows-default): New function.
3122 (ediff-window-setup-function): Use it as the default, to set up
3123 windows based on whether the current frame is graphical (Bug#2138).
3124 (ediff-choose-window-setup-function-automatically): Make obsolete.
3125
3126 * vc/ediff-init.el: Always define ediff-pixel-width/height.
3127
ef24141c
SM
31282012-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
3129
cc356a5d
SM
3130 * ffap.el: Remove old code for obsolete package.
3131 (ffap-complete-as-file-p): Remove.
3132
b4ff4f1f
SM
3133 Use completion-table-with-quoting for comint and pcomplete.
3134 * comint.el (comint--unquote&requote-argument)
3135 (comint--unquote-argument, comint--requote-argument): New functions.
3136 (comint--unquote&expand-filename, comint-unquote-filename): Obsolete.
3137 (comint-quote-filename): Use regexp-opt-charset.
3138 (comint--common-suffix, comint--common-quoted-suffix)
3139 (comint--table-subvert): Remove.
3140 (comint-unquote-function, comint-requote-function): New vars.
3141 (comint--complete-file-name-data): Use them with
3142 completion-table-with-quoting.
3143 * pcmpl-unix.el (pcomplete/scp): Use completion-table-subvert.
3144 * pcomplete.el (pcomplete-arg-quote-list)
3145 (pcomplete-quote-arg-hook, pcomplete-quote-argument): Obsolete.
3146 (pcomplete-unquote-argument-function): Default to non-nil.
3147 (pcomplete-unquote-argument): Simplify.
3148 (pcomplete--common-quoted-suffix): Remove.
3149 (pcomplete-requote-argument-function): New var.
3150 (pcomplete--common-suffix): New function.
3151 (pcomplete-completions-at-point): Use completion-table-with-quoting
3152 and completion-table-subvert.
3153
79c4eeb4
SM
3154 * minibuffer.el: Use completion-table-with-quoting for read-file-name.
3155 (minibuffer--double-dollars): Preserve properties.
3156 (completion--sifn-requote): New function.
3157 (completion--file-name-table): Rewrite using it and c-t-with-quoting.
3158
ef24141c
SM
3159 * minibuffer.el: Add support for completion of quoted/escaped data.
3160 (completion-table-with-quoting, completion-table-subvert): New funs.
3161 (completion--twq-try, completion--twq-all): New functions.
3162 (completion--nth-completion): New function.
3163 (completion-try-completion, completion-all-completions): Use it.
3164
784e7d6e
LL
31652012-04-25 Leo Liu <sdl.web@gmail.com>
3166
dd2ac746
SM
3167 * progmodes/python.el (python-pdbtrack-get-source-buffer):
3168 Use compilation-message if available to find real filename.
784e7d6e 3169
07875ee7
CY
31702012-04-25 Chong Yidong <cyd@gnu.org>
3171
3172 * vc/diff-mode.el (diff-setup-whitespace): New function.
3173 (diff-mode): Use it.
3174
3175 * vc/diff.el (diff-sentinel):
3176 * vc/vc.el (vc-diff-finish): Call diff-setup-whitespace to assign
3177 Whitespace mode variables based on diff style (Bug#8612).
3178
5055880d
LL
31792012-04-25 Leo Liu <sdl.web@gmail.com>
3180
daf75653
LL
3181 * progmodes/python.el (python-send-region): Add suffix .py to the
3182 temp file.
3183
5055880d
LL
3184 * files.el (auto-mode-alist): Use javascript-mode instead.
3185
db9b177b
AH
31862012-04-25 Alex Harsanyi <AlexHarsanyi@gmail.com>
3187
ef24141c 3188 Sync with soap-client repository. Support SOAP simpleType (Bug#10331).
db9b177b
AH
3189
3190 * soap-client.el (soap-resolve-references-for-sequence-type)
ef24141c 3191 (soap-resolve-references-for-array-type): Hack to prevent self
db9b177b 3192 references, see Bug#9.
ef24141c 3193 (soap-parse-envelope): Report the contents of the 'detail' node
db9b177b 3194 when receiving a fault reply.
ef24141c 3195 (soap-parse-envelope): Report the contents of the entire 'detail' node.
db9b177b
AH
3196
3197 * soap-inspect.el (soap-sample-value-for-simple-type)
ef24141c 3198 (soap-inspect-simple-type): New function.
db9b177b 3199
ef24141c 3200 * soap-client.el (soap-simple-type): New struct.
db9b177b 3201 (soap-default-xsd-types, soap-default-soapenc-types)
ef24141c
SM
3202 (soap-decode-basic-type, soap-encode-basic-type):
3203 support unsignedInt and double basic types.
db9b177b 3204 (soap-resolve-references-for-simple-type)
ef24141c
SM
3205 (soap-parse-simple-type, soap-encode-simple-type): New function.
3206 (soap-parse-schema): Parse xsd:simpleType declarations.
db9b177b
AH
3207
3208 * soap-client.el (soap-default-xsd-types)
ef24141c
SM
3209 (soap-default-soapenc-types): Add integer, byte and anyURI types.
3210 (soap-parse-complex-type-complex-content): Use `soap-wk2l' to find
3211 the local name of "soapenc:Array".
3212 (soap-decode-basic-type, soap-encode-basic-type): Support encoding
db9b177b
AH
3213 decoding integer, byte and anyURI xsd types.
3214
1fc6097b
CY
32152012-04-25 Chong Yidong <cyd@gnu.org>
3216
3217 * cus-edit.el (custom-buffer-create-internal): Update header text.
3218
afc6df87
EZ
32192012-04-25 Eli Zaretskii <eliz@gnu.org>
3220
3221 * progmodes/gdb-mi.el (gdb-init-1): Condition Windows-specific
3222 settings on 'system-type', not on 'window-system'. On MS-Windows,
3223 set interactive-mode on in GDB.
3224
dfbd787f
SM
32252012-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
3226
3227 * progmodes/ruby-mode.el: Simplify last change, and cleanup code.
3228 (ruby-syntax-propertize-regexp): Remove.
3229 (ruby-syntax-propertize-function): Split regexp into chunks.
3230 Match following code directly.
3231
85222d44
DG
32322012-04-24 Dmitry Gutov <dgutov@yandex.ru>
3233
51a8ea2a
DG
3234 * progmodes/ruby-mode.el: Handle Cucumber defs (bug#6286).
3235 (ruby-syntax-propertize-regexp): New function.
3236 (ruby-syntax-propertize-function): Use it to handle regexp not preceded
3237 by a special keyword.
3238
85222d44
DG
3239 * progmodes/ruby-mode.el: Handle general delimited literals (bug#6286).
3240 (ruby-syntax-general-delimiters-goto-beg)
3241 (ruby-syntax-propertize-general-delimiters): New functions.
3242 (ruby-syntax-propertize-function): Use them to handle GDL.
3243 (ruby-font-lock-keywords): Move old handling of GDL...
3244 (ruby-font-lock-syntactic-keywords): .. to here.
3245 (ruby-calculate-indent): Adjust indentation for GDL.
3246
b613912b
MA
32472012-04-24 Michael Albinus <michael.albinus@gmx.de>
3248
b5380639
MA
3249 * notifications.el (top): Remove unneeded declarations.
3250 (notifications-specification-version): Change to "1.2".
e43042fe 3251 (notifications-interface, notifications-notify-method)
b613912b
MA
3252 (notifications-close-notification-method): Fix docstring.
3253 (notifications-get-capabilities-method): New defconst.
e43042fe
MA
3254 (notifications-notify): Add :action-items, :resident and
3255 :transient hints. Change "image_data" to "image-data" and
3256 "image_path" to "image-path".
b613912b
MA
3257 (notifications-get-capabilities): New defun.
3258
257440aa
LL
32592012-04-24 Leo Liu <sdl.web@gmail.com>
3260
3261 * progmodes/python.el: Move hideshow setup to the end.
3262
b1bac16e
MR
32632012-04-24 Martin Rudalics <rudalics@gmx.at>
3264
3265 * window.el (handle-select-window): Clear echo area since this is
3266 no more done by read_char (Bug#11304).
3267
d81bd059
SM
32682012-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
3269
3270 * ibuffer.el (ibuffer-mode-map): Bind `/ m' to filter-used-mode
3271 and `/ M' to filter-derived-mode.
3272 * ibuf-ext.el (ibuffer-list-buffer-modes): Simplify; avoid add-to-list.
3273 (ibuffer-filter-by-mode, ibuffer-filter-by-used-mode)
3274 (ibuffer-mark-by-mode): Use default rather than initial-input.
3275 (ibuffer-filter-by-derived-mode): Autoload and require-match.
3276
c4cf6d91
IA
32772012-04-24 Ivan Andrus <darthandrus@gmail.com> (tiny change)
3278
3279 * ibuf-ext.el (ibuffer-list-buffer-modes): Add `include-parents' arg.
3280 (ibuffer-filter-by-derived-mode): New filter.
3281 * ibuffer.el (ibuffer-mode-map): Bind to `/ w'.
3282
7511ded8
CY
32832012-04-23 Andreas Politz <politza@fh-trier.de>
3284
3285 * subr.el (accept-change-group): Fix arg usage (Bug#6095).
3286
775c916b
CY
32872012-04-23 Chong Yidong <cyd@gnu.org>
3288
3289 * cus-edit.el (customize-apropos, customize-apropos-options):
3290 Disable matching of non-option variables (Bug#11176).
3291 (customize-option, customize-option-other-window)
3292 (customize-changed-options): Doc fix.
3293 (customize-apropos-options, customize-apropos-faces)
3294 (customize-apropos-groups): Use apropos-read-pattern (Bug#11124).
3295
3296 * apropos.el (apropos-read-pattern): Make prompt less cryptic.
922d37d3 3297 Fix word list splitting (Bug#11132).
46c71e23
CY
3298 (apropos-symbol, apropos-keybinding, apropos-label)
3299 (apropos-property, apropos-function-button)
3300 (apropos-variable-button, apropos-misc-button): New faces.
3301 (apropos-symbol-face, apropos-keybinding-face)
3302 (apropos-label-face, apropos-property-face, apropos-match-face):
3303 Variables removed (Bug#8396).
3304 (apropos-library-button, apropos-format-plist, apropos-print)
3305 (apropos-print-doc, apropos-describe-plist): Callers changed.
775c916b 3306
2df41f9c
MA
33072012-04-23 Michael Albinus <michael.albinus@gmx.de>
3308
3309 * net/xesam.el (xesam-mode-map): Use let-bound map in
3310 initialization. (Bug#11292)
3311
da00640a
AM
33122012-04-23 Agustín Martín Domingo <agustin.martin@hispalinux.es>
3313
3314 Preserve ispell session localwords when switching back to
3315 original buffer.
3316
3317 * ispell.el (ispell-buffer-session-localwords): New buffer-local
3318 variable to hold buffer session localwords.
3319 (ispell-kill-ispell): add option 'clear to delete session
3320 localwords.
3321 (ispell-command-loop, ispell-change-dictionary)
3322 (ispell-buffer-local-words): Preserve session localwords when
3323 needed.
3324
3325 * flyspell.el (flyspell-process-localwords, flyspell-do-correct):
3326 Preserve session localwords when needed.
3327
f621ccf5
AM
33282012-04-23 Agustín Martín Domingo <agustin.martin@hispalinux.es>
3329
3330 * ispell.el (ispell-insert-word) Remove unneeded function using
3331 obsolete `translation-table-for-input'.
ef24141c
SM
3332 (ispell-word, ispell-process-line, ispell-complete-word):
3333 Use plain `insert' instead of removed `ispell-insert-word'.
f621ccf5 3334
c2d1019e
CY
33352012-04-22 Chong Yidong <cyd@gnu.org>
3336
3337 * cus-edit.el (custom-variable-menu)
3338 (custom-variable-reset-saved, custom-face-menu)
3339 (custom-face-reset-saved): If there is no saved value, make the
3340 "reset-saved" operation bring back the default (Bug#9509).
3341 (custom-face-state): Properly detect themed faces.
3342
eeddc531
CY
3343 * faces.el (face-spec-set): Stop supporting deprecated form of
3344 third arg.
3345
dcbf5805
MA
33462012-04-22 Michael Albinus <michael.albinus@gmx.de>
3347
3348 Move functions from C to Lisp. Make non-blocking method calls
3349 the default. Implement further D-Bus standard interfaces.
3350
ef24141c
SM
3351 * net/dbus.el (dbus-message-internal): Declare function.
3352 Remove unneeded function declarations.
dcbf5805
MA
3353 (defvar dbus-message-type-invalid, dbus-message-type-method-call)
3354 (dbus-message-type-method-return, dbus-message-type-error)
3355 (dbus-message-type-signal): Declare variables. Remove local
3356 definitions.
3357 (dbus-interface-dbus, dbus-interface-peer)
3358 (dbus-interface-introspectable, dbus-interface-properties)
3359 (dbus-path-emacs, dbus-interface-emacs, dbus-return-values-table):
3360 Adapt docstring.
3361 (dbus-interface-objectmanager): New defconst.
3362 (dbus-call-method, dbus-call-method-asynchronously)
3363 (dbus-send-signal, dbus-method-return-internal)
3364 (dbus-method-error-internal, dbus-register-service)
3365 (dbus-register-signal, dbus-register-method): New defuns, moved
3366 from dbusbind.c
3367 (dbus-call-method-handler, dbus-setenv)
ef24141c
SM
3368 (dbus-get-all-managed-objects, dbus-managed-objects-handler):
3369 New defuns.
dcbf5805
MA
3370 (dbus-call-method-non-blocking): Make it an obsolete function.
3371 (dbus-unregister-object, dbus-unregister-service)
3372 (dbus-handle-event, dbus-register-property)
3373 (dbus-property-handler): Obey the new structure of
3374 `bus-registered-objects'.
3375 (dbus-introspect): Use `dbus-call-method'. Use a timeout.
3376 (dbus-get-property, dbus-set-property, dbus-get-all-properties):
3377 Use `dbus-call-method'.
3378
cf20dee0
CY
33792012-04-22 Chong Yidong <cyd@gnu.org>
3380
3381 * cus-edit.el (custom-commands, custom-reset-menu)
3382 (Custom-reset-standard): Tweak labels.
3383 (custom-reset-button-menu): Change default to t.
3384 (custom-buffer-create-internal): For the custom-reset-button-menu
3385 case, put the revert button first.
3386 (custom-group-subtitle): New face.
3387 (custom-group-value-create): Align docstring to a specific column.
3388
3389 * wid-edit.el (widget-documentation-link-add): Don't handle
3390 indentation in this function.
3391 (widget-documentation-string-indent-to): New function.
3392 (widget-documentation-string-value-create): Use it.
3393
3394 * autorevert.el (auto-revert):
3395 * epg-config.el (epg):
3396 * ibuffer.el (ibuffer):
3397 * mpc.el (mpc):
3398 * ses.el (ses):
3399 * eshell/eshell.el (eshell):
3400 * net/ange-ftp.el (ange-ftp):
3401 * progmodes/ebnf2ps.el (postscript):
3402 * progmodes/flymake.el (flymake):
3403 * progmodes/prolog.el (prolog):
3404 * progmodes/verilog-mode.el (verilog-mode):
3405 * progmodes/which-func.el (which-func):
3406 * term/xterm.el (xterm):
3407 * textmodes/picture.el (picture):
3408 * textmodes/tildify.el (tildify):
3409 * vc/ediff.el (ediff): Tweak defgroups to improve presentation in
3410 customization buffers.
3411
583e23bd
AM
34122012-04-22 Alan Mackenzie <acm@muc.de>
3413
3414 * progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache):
3415 Adding a ) can hide the resulting (..) from searches. Fix it.
3416 Bound the backward search to the position of the existing (.
3417
7dd51bf1
JB
34182012-04-21 Juanma Barranquero <lekktu@gmail.com>
3419
3420 * progmodes/verilog-mode.el (verilog-mode): Check whether
3421 which-func-modes is t before adding verilog-mode.
3422 Reported by Andy Moreton <andrewjmoreton@gmail.com>.
3423
d64a438f
LL
34242012-04-21 Leo Liu <sdl.web@gmail.com>
3425
7dd51bf1 3426 * net/rcirc.el (rcirc): Avoid error when process-contact returns t.
d64a438f 3427
081e8d65
MV
34282012-04-21 Michael Vehrs <Michael.Burschik@gmx.de>
3429
3430 * woman.el: Add support for "T{ T}" tbl syntax, and fix the
3431 filling of the last column of a table (Bug#5635).
3432 (woman-find-next-control-line): New arg, specifying an additional
3433 regexp component for the control line.
3434 (woman2-roff-buffer): Use it.
3435 (woman-break-table): New function.
3436 (woman2-TS): Use it.
3437
34382012-04-21 Chong Yidong <cyd@gnu.org>
3439
3440 * woman.el (woman-set-buffer-display-table, woman-decode-region)
3441 (woman-horizontal-escapes, woman-negative-vertical-space)
3442 (woman-tab-to-tab-stop, woman2-fc, woman2-TS)
3443 (WoMan-warn-ignored): Use ?\s instead of ?\ .
3444
ed571ccb
SM
34452012-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
3446
3447 * minibuffer.el (completion-file-name-table): Complete user names.
3448
39773899
LL
34492012-04-20 Leo Liu <sdl.web@gmail.com>
3450
3451 * font-lock.el (lisp-font-lock-keywords-2): Add pcase, pcase-let
3452 and pcase-let*.
3453
de6ff46d
CY
34542012-04-20 Chong Yidong <cyd@gnu.org>
3455
3456 * server.el (server-execute): Respect initial-buffer-choice if it
3457 is a string and there are no files to open (Bug#2825).
3458 (server-create-window-system-frame, server-create-tty-frame):
3459 Don't switch buffers here.
2d0e8e61
CY
3460 (server-process-filter): Only try to open a window system frame if
3461 compiled with graphical support (Bug#8314).
de6ff46d 3462
54071013
DN
34632012-04-20 Dan Nicolaescu <dann@gnu.org>
3464
3465 * battery.el (battery-echo-area-format): Display remaining time
3466 for sysfs backend too (Bug#11269).
3467 (battery-linux-sysfs): Fix conditional for the charge.
3468
f30d612a
CY
34692012-04-20 Chong Yidong <cyd@gnu.org>
3470
c07a4c0b 3471 * progmodes/gdb-mi.el (gdb): Revert previous change.
f30d612a
CY
3472 (gdb-inferior-io--init-proc): New function.
3473 (gdb-init-1): Use it.
3474 (gdb-inferior-io-sentinel): New sentinel for the gdb-inferior pty,
3475 responsible for allocating a new pty and hooking it to gdb when
3476 the old pty gets an EIO due to process exit.
3477 (gdb-delchar-or-quit): New command. Bind it in gdb-mi buffers.
3478 (gdb-tooltip-print): Don't use obsolete tooltip-use-echo-area.
3479 (gdb-inferior-io--maybe-delete-pty): Move into gdb-reset.
3480
2116e93c
EZ
34812012-04-20 Eli Zaretskii <eliz@gnu.org>
3482
3483 * window.el (window-min-size, window-sizable, window-min-delta)
3484 (window-max-delta, window--resizable, window-resizable)
3485 (window-total-size, window-full-height-p, window-full-width-p)
3486 (window-in-direction, window--resize-mini-window, window-resize)
3487 (window--resize-child-windows-normal)
3488 (window--resize-child-windows, window--resize-siblings)
3489 (window--resize-this-window, adjust-window-trailing-edge)
cd0f830c 3490 (enlarge-window, shrink-window): Doc fixes.
2116e93c 3491
c07a4c0b 34922012-04-20 Chong Yidong <cyd@gnu.org>
b668fa6e 3493
ef24141c
SM
3494 * progmodes/gdb-mi.el (gdb-inferior-io--maybe-delete-pty):
3495 New function to call delete-process on the gdb-inferior buffer's pty.
b668fa6e
CY
3496 (gdb-reset): Use it, instead of relying on kill-buffer to kill the
3497 pty process (Bug#11273).
3498 (gdb-update): New arg to suppress talking to the gdb process.
3499 (gdb-done-or-error): Use it.
3500 (gdb-stopped-functions): Rename from gdb-stopped-hooks.
3501 (gdb): Call gdb-inferior-io--maybe-delete-pty as a workaround for
3502 sentinel not being called.
3503
3504 * comint.el (make-comint-in-buffer, comint-exec): Doc fix.
3505
d02766ab
CY
3506 * progmodes/grep.el (grep, rgrep): Doc fix (Bug#11268).
3507
c07a4c0b 35082012-04-20 Glenn Morris <rgm@gnu.org>
016a35df
GM
3509
3510 * net/network-stream.el (open-network-stream): Doc fix.
3511
c07a4c0b 35122012-04-20 Chong Yidong <cyd@gnu.org>
2c070447
CY
3513
3514 * emacs-lisp/tabulated-list.el (tabulated-list-print): Fix typos.
3515
c07a4c0b 35162012-04-20 Alan Mackenzie <acm@muc.de>
f0f6bc35
AM
3517
3518 Ensure searching for keywords is case sensitive.
3519
3520 * progmodes/cc-cmds.el (c-electric-brace, c-electric-lt-gt)
3521 (c-electric-paren, c-beginning-of-defun, c-end-of-defun)
3522 (c-defun-name, c-mark-function, c-cpp-define-name)
3523 (c-comment-indent, c-scan-conditionals, c-indent-defun)
c07a4c0b 3524 (c-context-line-break): Bind case-fold-search to nil.
f0f6bc35 3525
ef24141c
SM
3526 * progmodes/cc-mode.el (c-font-lock-fontify-region):
3527 Bind case-fold-search to nil.
f0f6bc35 3528
c07a4c0b 35292012-04-20 Chong Yidong <cyd@gnu.org>
4fc2c72a
CY
3530
3531 * mail/sendmail.el (mail-bury): Call return action with the right
3532 Rmail buffer (Bug#11242).
3533
9a864fa2
CY
3534 * server.el (server-process-filter): Handle corner case where both
3535 tty and nowait options are present (Bug#11102).
3536
539aa513
EZ
35372012-04-20 Eli Zaretskii <eliz@gnu.org>
3538
3539 * version.el (emacs-bzr-version, emacs-bzr-get-version): Doc fixes.
6cf2a23e
EZ
3540 (top level): Put into the executable the ident-style '$Id:' tag on
3541 windows-nt as well.
539aa513 3542
cfc7d5da
SM
35432012-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
3544
3545 * electric.el (electric-indent-post-self-insert-function): Check that
3546 electric-indent-mode is enabled in current buffer.
3547
5b01685c
JB
35482012-04-19 Juanma Barranquero <lekktu@gmail.com>
3549
3550 * imenu.el (imenu-progress-message): Restore; it is "used" in
3551 erc/erc-imenu.el and net/snmp-mode.el.
3552
4d6769e1
JB
35532012-04-19 Juanma Barranquero <lekktu@gmail.com>
3554
3555 * avoid.el (mouse-avoidance-mode): Mark unused arg.
3556 (mouse-avoidance-nudge-mouse): Remove unused binding.
3557
3558 * bs.el (bs-toggle-readonly): Call `toggle-read-only' interactively.
3559
3560 * descr-text.el (describe-char):
3561 * progmodes/python.el (python-describe-symbol):
3562 Don't call `toggle-read-only', set `buffer-read-only'.
3563
3564 * imenu.el (imenu-default-goto-function): Mark unused args.
3565 (imenu-progress-message): Remove obsolete macro; all callers changed.
3566
3567 * subr.el (keymap-canonicalize): Remove unused binding.
3568 (read-passwd): Mark unused arg.
3569
3570 * tutorial.el (tutorial--display-changes): Remove unused binding.
3571 (tutorial--save-tutorial-to): Remove unused variable.
3572
3573 * emacs-lisp/package.el (define-package, package-menu-mark-delete)
3574 (package-menu-mark-install, package-menu-mark-unmark): Mark unused args.
3575 (package-generate-autoloads, package-menu--generate)
3576 (package-menu--find-upgrades): Remove unused bindings.
3577
3578 * emulation/cua-rect.el (cua-restrict-regexp-rectangle)
3579 (cua-restrict-prefix-rectangle): Doc fixes. Remove unused bindings.
3580 (cua--mouse-ignore, cua--delete-rectangle, cua--extract-rectangle)
3581 (cua--indent-rectangle, cua-open-rectangle, cua-close-rectangle)
3582 (cua-blank-rectangle, cua-string-rectangle, cua-replace-in-rectangle)
3583 (cua-incr-rectangle, cua-sequence-rectangle, cua--convert-rectangle-as)
3584 (cua--rectangle-aux-replace, cua--left-fill-rectangle)
3585 (cua-scroll-rectangle-up, cua-scroll-rectangle-down)
3586 (cua-delete-char-rectangle): Mark unused args.
3587 (cua-align-rectangle): Remove unused binding.
3588
3589 * mail/rmail.el (compilation--message->loc)
3590 (epa--find-coding-system-for-mime-charset): Declare.
3591
3592 * net/dbus.el (dbus-register-service): Declare.
3593 (dbus-name-owner-changed-handler): Remove unused binding.
3594
3595 * nxml/nxml-mode.el (nxml-electric-slash, nxml-in-mixed-content-p)
3596 (nxml-compute-indent-from-matching-start-tag): Remove unused variables.
3597 (nxml-scan-backward-within): Mark unused arg.
3598 (nxml-dynamic-markup-word): Remove unused binding.
3599
3600 * mouse.el (mouse-menu-major-mode-map):
3601 * emacs-lisp/authors.el (authors-scan-change-log)
3602 (authors-add-to-author-list):
3603 * emacs-lisp/avl-tree.el (avl-tree--enter-balance):
3604 * emacs-lisp/smie.el (smie-auto-fill):
3605 * mail/sendmail.el (mail-bury):
3606 * mail/unrmail.el (unrmail):
3607 * net/tls.el (open-tls-stream):
3608 * textmodes/picture.el (picture-mouse-set-point):
3609 Remove unused bindings.
3610
8c8fc5df
MA
36112012-04-19 Michael Albinus <michael.albinus@gmx.de>
3612
3613 * net/tramp.el (tramp-action-password): Let-bind
3614 `enable-recursive-minibuffers' to t.
3615
a77b0ac9
SS
36162012-04-18 Sam Steingold <sds@gnu.org>
3617
3618 * progmodes/gud.el (gud-key-prefix): Use :type 'key-sequence
3619 instead of 'string to accommodate values like [f11].
3620 Always use `vconcat' instead of `concat' on it, like in `gud-def'.
3621 * progmodes/gdb-mi.el: Likewise.
3622
12a106a9
LL
36232012-04-18 Leo Liu <sdl.web@gmail.com>
3624
3625 * abbrev.el (edit-abbrevs): Move point to the abbrev table of
3626 current buffer.
3627 (prepare-abbrev-list-buffer): Enter edit-abbrevs-mode only if
3628 LOCAL is nil.
3629
bc6494ef
CY
36302012-04-18 Chong Yidong <cyd@gnu.org>
3631
3632 * simple.el (line-move): Use forward-line if in batch mode
3633 (Bug#11053).
3634
c09c46b2
CS
36352012-04-18 Christopher Schmidt <christopher@ch.ristopher.com>
3636
3637 * files.el (after-find-file): Do not try to add a final newline if
3638 the buffer is read-only (Bug#11156).
3639
5f6530ea
RS
36402012-04-17 Richard Stallman <rms@gnu.org>
3641
3642 * mail/rmail.el (rmail-start-mail):
3643 Pass (rmail-mail-return...) for the return-action.
3644 Pass (rmail-yank-current-message...) for the yank-action.
3645 (rmail-yank-current-message): New function.
3646 (rmail-mail): Pass the Rmail buffer, not view buffer, for replybuffer.
3647 (rmail-reply): Likewise.
3648 (rmail-forward): Pass the Rmail buffer, not nil, for replybuffer.
3649
3650 * mail/sendmail.el (mail-bury): Choose the first rmail-mode
c09c46b2 3651 buffer, not the last. Reject temp buffers. Use the rmail-mode
5f6530ea
RS
3652 buffer, not newbuf.
3653
197b6f3c
JB
36542012-04-17 Juanma Barranquero <lekktu@gmail.com>
3655
3656 * server.el (server-ensure-safe-dir): Simplify.
3657
2311d8e5 36582012-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
98fb480e 3659
2311d8e5
GM
3660 * emacs-lisp/smie.el: Provide smarter auto-filling.
3661 (smie-auto-fill): New function.
3662 (smie-setup): Use it.
98fb480e 3663
2311d8e5
GM
3664 * newcomment.el (comment-choose-indent): Obey comment-inline-offset.
3665
36662012-04-17 Philipp Haselwarter <philipp.haselwarter@gmx.de> (tiny change)
8eb5d48f
PH
3667
3668 * newcomment.el (comment-inline-offset): New custom var (bug#11090).
3669 (comment-indent): Use it.
3670
2311d8e5 36712012-04-17 Vincent Belaïche <vincentb1@users.sourceforge.net>
4bdf2ad2
VB
3672
3673 * ses.el: The overall change is to add cell renaming, that is
3674 setting fancy names for cell symbols other than name matching
3675 "\\`[A-Z]+[0-9]+\\'" regexp .
2311d8e5 3676 (ses-localvars): Add ses--renamed-cell-symb-list.
4bdf2ad2 3677 (ses-create-cell-variable): New defun.
2311d8e5 3678 (ses-destroy-cell-variable-range): Respect ses--numrows, ses--numcols.
4bdf2ad2
VB
3679 (ses-relocate-formula): Relocate formulas only for cells the
3680 symbols of which are not renamed, i.e. symbols whose names do not
3681 match regexp "\\`[A-Z]+[0-9]+\\'".
3682 (ses-relocate-all): Relocate values only for cells the symbols of
3683 which are not renamed.
3684 (ses-load): Create cells variables as the (ses-cell ...) are read,
3685 in order to check row col consistency with cell symbol name only
3686 for cells that are not renamed.
3687 (ses-replace-name-in-formula): New defun.
3688 (ses-rename-cell): New defun.
4bdf2ad2 3689
fc72b15c
PO
36902012-04-17 Peter Oliver <bzr@mavit.org.uk> (tiny change)
3691
3692 * progmodes/perl-mode.el (perl-indent-parens-as-block):
3693 New option (bug#11118).
3694 (perl-calculate-indent): Respect it.
3695
12e10e61
GM
36962012-04-17 Glenn Morris <rgm@gnu.org>
3697
3698 * dired-aux.el (dired-mark-read-string): Doc fix.
3699
30009afd
DA
37002012-04-17 Dmitry Antipov <dmantipov@yandex.ru>
3701
3702 * dired-aux.el (dired-mark-read-string): Offer optional completion.
3703 (dired-do-chxxx): Complete chown, chgrp over users, groups. (Bug#7900)
3704
41f03f4d
GM
37052012-04-17 Glenn Morris <rgm@gnu.org>
3706
3707 * mouse.el (mouse-drag-track):
3708 * speedbar.el (speedbar-frame-mode):
3709 Use auto-hscroll-mode rather than the alias automatic-hscrolling.
3710
f45f90f3
LL
37112012-04-16 Leo Liu <sdl.web@gmail.com>
3712
3713 * progmodes/python.el: Trivial cleanup.
3714
94ee8db5
GM
37152012-04-16 Glenn Morris <rgm@gnu.org>
3716
121b8917
GM
3717 * vc/vc.el (vc-string-prefix-p):
3718 * vc/pcvs-util.el (cvs-string-prefix-p):
3719 * textmodes/tex-mode.el (latex-string-prefix-p, tex-string-prefix-p):
3720 * mpc.el (mpc-string-prefix-p):
3721 Make all of these into obsolete aliases for string-prefix-p.
3722 Update callers.
3723 * vc/pcvs.el, vc/vc-dispatcher.el, vc/vc-dir.el: Update callers.
3724
1197ecfa
GM
3725 * textmodes/two-column.el: Move custom options to the start.
3726 (frame-width): Remove compat definition.
3727 (2C-associate-buffer, 2C-dissociate):
3728 Use with-current-buffer rather than save-excursion.
3729 (2C-dissociate): Force a mode-line update.
3730 (2C-autoscroll): Use ignore-errors.
3731
099e7202
GM
3732 * emacs-lisp/eieio-opt.el (describe-class, describe-generic):
3733 Autoload trivia.
3734
bf350d6a
GM
3735 * emacs-lisp/cl-extra.el (*random-state*):
3736 Remove unnecessary declaration.
3737
0e829eab
GM
3738 * calendar/cal-tex.el (cal-tex-end-document): Trivial clarification.
3739
e3ad7552
GM
3740 * play/cookie1.el (cookie-snarf):
3741 Give an explicit error if input file cannot be read.
3742
68892d27
GM
3743 * play/yow.el (yow-file): Use expand-file-name rather than concat.
3744
20f0c46d
GM
3745 * progmodes/perl-mode.el (c-macro-expand):
3746 Remove unnecessary autoload (it is in loaddefs.el).
3747
5a0978ce
GM
3748 * textmodes/picture.el (picture-desired-column)
3749 (picture-update-desired-column): Convert comments to doc-strings.
3750 (picture-substitute): Remove function.
3751 (picture-mode-map): Initialize in the defvar.
3752
6b955486
GM
3753 * woman.el: Remove eval-after-load for tar-mode.
3754 * tar-mode.el (tar-mode-map): Add woman binding and menu entry.
3755 (woman-tar-extract-file): Autoload it.
3756
94ee8db5
GM
3757 * frame.el (automatic-hscrolling): Make this alias obsolete.
3758
177eca34
AM
37592012-04-12 Agustín Martín Domingo <agustin.martin@hispalinux.es>
3760
3761 * ispell.el (ispell-set-spellchecker-params): Post-process
4be3075e 3762 `ispell-dictionary-alist' to use [:alpha:] and utf-8 if possible.
3851314b
AM
3763 (ispell-dictionary-base-alist): Revert to original XEmacs
3764 friendly version for default. [:alpha:] will be added in
3765 `ispell-set-spellchecker-params' if needed
177eca34 3766
c505aaeb
CY
37672012-04-16 Chong Yidong <cyd@gnu.org>
3768
3769 * image.el (imagemagick--extension-regexp): New variable.
3770 (imagemagick-register-types): Use it.
3771 (imagemagick-types-inhibit): Add :set function. Allow new value
3772 of t to inhibit all types.
3773
3774 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Avoid cl macros,
3775 so we can preload it.
3776
3777 * loadup.el (fboundp): Preload regexp-opt, needed by
3778 imagemagick-register-types.
3779
60efac0f
CY
37802012-04-15 Chong Yidong <cyd@gnu.org>
3781
3782 * frame.el (scrolling): Remove nearly unused customization group.
3783
3784 * scroll-all.el (scroll-all-mode): Move to windows group.
3785
5dd1713e
CY
37862012-04-15 Chong Yidong <cyd@gnu.org>
3787
3788 * bindings.el (goto-map): Bind goto-char to M-g c (Bug#11240).
3789
e6fd457e
CY
37902012-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
3791
3792 Avoid the use of ((lambda ...) ...) in lexical-binding code.
4d6769e1 3793 * emacs-lisp/easy-mmode.el (define-minor-mode): Use funcall (bug#11241).
e6fd457e 3794
e153c136
GM
37952012-04-15 Glenn Morris <rgm@gnu.org>
3796
3797 * simple.el (process-file-side-effects): Doc fix.
3798
e6fd457e 37992012-04-15 Glenn Morris <rgm@gnu.org>
ca7d96c8
GM
3800
3801 * international/mule-cmds.el (set-language-environment): Doc fix.
3802
3603c3b1
JB
38032012-04-14 Juanma Barranquero <lekktu@gmail.com>
3804
3805 * server.el (server-auth-key, server-generate-key): Doc fixes.
3806 (server-get-auth-key): Doc fix. Use `string-match-p'.
3807 (server-start): Reflow docstring.
3808
e6de100c
LI
38092012-04-14 Lars Ingebrigtsen <larsi@gnus.org>
3810
3811 * server.el (server-generate-key): `called-interactively-p'
3812 requires a parameter.
3813
29734c21
MN
38142012-04-14 Michal Nazarewicz <mina86@mina86.com>
3815
3816 * server.el (server-auth-key): New variable.
75f1671a 3817 (server-generate-key, server-get-auth-key): New function.
29734c21
MN
3818 (server-start): Use the new variable and functions to allow
3819 setting a permanent server key (bug#9423).
3820
d65c9521
LL
38212012-04-14 Leo Liu <sdl.web@gmail.com>
3822
3823 * vc/diff-mode.el (diff-file-prev/next): Fix typo.
3824
5ae255c7
PE
38252012-04-14 Paul Eggert <eggert@cs.ucla.edu>
3826
3827 Spelling fixes.
3828 * hexl.el (hexl-rulerize): Rename from hexl-rulerise, since
3829 Emacs uses American spelling.
3830
d5e6342e
JB
38312012-04-14 Juanma Barranquero <lekktu@gmail.com>
3832
3833 * emacs-lock.el (emacs-lock-locked-buffer-functions): New hook.
3834 (emacs-lock--exit-locked-buffer): Return the locked buffer. Doc fix.
3835 (emacs-lock--kill-emacs-hook, emacs-lock--kill-emacs-query-functions)
3836 (emacs-lock--kill-buffer-query-functions): Run new hook. (Bug#11017)
3837
ab036cd7
SM
38382012-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
3839
3840 * progmodes/which-func.el (which-func-modes): Change default.
3841
35dc09a1 38422012-04-14 Kim F. Storm <storm@cua.dk>
9557e2be
CY
3843
3844 * emulation/cua-base.el (cua-exchange-point-and-mark): Just call
3845 exchange-point-and-mark if cua-enable-cua-keys is nil (Bug#11191).
3846
35dc09a1 38472012-04-14 Chong Yidong <cyd@gnu.org>
81927dd2
CY
3848
3849 * custom.el (custom-theme-set-variables): Doc fix.
3850
35dc09a1 38512012-04-14 Glenn Morris <rgm@gnu.org>
8edb942b
GM
3852
3853 * international/mule.el (set-auto-coding-for-load): Doc fix.
3854
35dc09a1 38552012-04-14 Alan Mackenzie <acm@muc.de>
0de3da9f 3856
35dc09a1
GM
3857 * progmodes/cc-menus.el (cc-imenu-objc-generic-expression): Make
3858 imenu work again for Objective C Mode. Correct the *-index values,
3859 these having been disturbed by a previous change in 2011-08.
57f845ee 3860
0de3da9f
AM
3861 * progmodes/cc-engine.el (c-before-change-check-<>-operators):
3862 Correct two search limits.
3863
35dc09a1 38642012-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
ede141ac
SM
3865
3866 * startup.el (command-line-1): Inhibit splash from daemon (bug#10996).
3867
35dc09a1 38682012-04-14 Andreas Schwab <schwab@linux-m68k.org>
d0203d61
AS
3869
3870 * international/characters.el: Fix sorting.
3871
35dc09a1 38722012-04-14 Eli Zaretskii <eliz@gnu.org>
cb80bcd1
EZ
3873
3874 * international/characters.el: Add more missing Latin case pairs.
3875
35dc09a1 38762012-04-14 Glenn Morris <rgm@gnu.org>
4a427f58
GM
3877
3878 * files.el (dir-locals-set-class-variables): Doc fix.
3879
35dc09a1 38802012-04-14 Eli Zaretskii <eliz@gnu.org>
9f847f41 3881
3f1b5bf8
EZ
3882 * international/characters.el: Add set-case-syntax-pair call for
3883 LATIN CAPITAL LETTER Y WITH DIAERESIS RET and its lower-case
3884 counterpart. (Bug#11209)
3885
9f847f41
EZ
3886 * simple.el (shell-command-on-region): Doc fix. (Bug#11208)
3887
35dc09a1 38882012-04-14 Glenn Morris <rgm@gnu.org>
0c2014a3
GM
3889
3890 * calendar/holidays.el (calendar-check-holidays): Doc fix.
3891
35dc09a1 38922012-04-14 Eli Zaretskii <eliz@gnu.org>
e2627d21 3893
35dc09a1
GM
3894 * textmodes/ispell.el (ispell-dictionary-base-alist):
3895 Add data for Hebrew.
e2627d21 3896
35dc09a1 38972012-04-14 Chong Yidong <cyd@gnu.org>
5c14e333 3898
35dc09a1
GM
3899 * net/rcirc.el (rcirc-cmd-quit):
3900 Revert 2012-03-18 change (Bug#11192).
5c14e333 3901
35dc09a1 39022012-04-14 Glenn Morris <rgm@gnu.org>
bf6fa423
GM
3903
3904 * pcmpl-rpm.el (pcomplete/rpm): Handle -qf.
3905
35dc09a1 39062012-04-14 Eli Zaretskii <eliz@gnu.org>
82b24fb2 3907
4517fe3a
SM
3908 * minibuffer.el (completion-in-region-mode-map):
3909 Bind completion-help-at-point to M-? rather than ?. (Bug#11182)
82b24fb2 3910
b472a594
VD
39112012-04-13 Vivek Dasmohapatra <vivek@etla.org>
3912
3913 * hexl.el (hexl-insert-char): Make display sizes other than 16 work.
3914
09b95ce3
MY
39152012-04-13 Masatake YAMATO <yamato@redhat.com>
3916
3917 * minibuffer.el (minibuffer-local-filename-syntax): New variable
3918 to allow `C-M-f' and `C-M-b' to move to the nearest path
3919 separator (bug#9511).
3920
4b63a9ca
LI
39212012-04-13 Lars Ingebrigtsen <larsi@gnus.org>
3922
3923 * avoid.el: Require cl when compiling. And also move the
3924 `provide' to the end.
3925
7b55b8bf
TV
39262012-04-13 Thierry Volpiatto <thierry.volpiatto@gmail.com>
3927
3928 * avoid.el (mouse-avoidance-banish-position): New variable.
3929 (mouse-avoidance-banish-destination): Use it (bug#10165).
3930
adedaa1f
LL
39312012-04-13 Leo Liu <sdl.web@gmail.com>
3932
3933 * progmodes/which-func.el (which-func-modes): Add objc-mode.
3934
70e74021
KB
39352012-04-13 Ken Brown <kbrown@cornell.edu>
3936
3937 * net/browse-url.el (browse-url-file-url): Remove Cygwin hack;
ab036cd7 3938 this is no longer needed now that cygstart understands file:// URLs.
70e74021
KB
3939 (browse-url-filename-alist): For the same reason, don't modify
3940 file:// URLs on Cygwin.
3941
e75e89ba
SM
39422012-04-13 Stefan Monnier <monnier@iro.umontreal.ca>
3943
3944 * emulation/cua-base.el (cua--pre-command-handler-1): Don't activate
3945 the region on shift if the binding is already shifted (bug#11221).
3946
82f289a4
GM
39472012-04-12 Glenn Morris <rgm@gnu.org>
3948
3949 * mail/mailpost.el: Move to obsolete/.
3950
d333dc4c
DA
39512012-04-12 Drew Adams <drew.adams@oracle.com>
3952
3953 * imenu.el (imenu--generic-function): Ignore invisible definitions
3954 (bug#10123).
3955
0d15b5ba
VD
39562012-04-12 Vivek Dasmohapatra <vivek@etla.org>
3957
3958 * hexl.el (hexl-bits): New variable.
3959 (hexl-options): Mention the variable in the doc string.
75f1671a 3960 (hexl-rulerise, hexl-line-displen): New functions.
0d15b5ba 3961 (hexl-mode): Mention the new variable.
75f1671a
JB
3962 (hexl-mode, hexl-current-address, hexl-current-address):
3963 Use the displen.
0d15b5ba
VD
3964 (hexl-ascii-start-column): New function.
3965 (hexl-address-to-marker, hexl-beginning-of-line, hexl-options)
3966 (hexl-insert-char, hexl-mode-ruler): Use the displen (bug#4941).
3967
64a440db
AM
39682012-04-12 Agustín Martín Domingo <agustin.martin@hispalinux.es>
3969
3970 * textmodes/flyspell.el (flyspell-large-region): For hunspell, use
3971 '("-i" ENCODING), in 2 separate command-line arguments, to specify
3972 the encoding, as expected by hunspell.
3973
6decb6c2
SM
39742012-04-12 Stefan Monnier <monnier@iro.umontreal.ca>
3975
3976 * battery.el (battery--linux-sysfs-regexp): New const.
3977 (battery-status-function): Use it. Remove yeeloong special case.
3978 (battery-yeeloong-sysfs): Remove.
3979 (battery-echo-area-format): Remove yeeloong special case.
3980
088be6fb
SM
39812012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
3982
6622e416
SM
3983 * imenu.el (imenu-add-to-menubar): `current-local-map' can be nil.
3984 Reported by Noah Friedman.
3985
088be6fb
SM
3986 * subr.el (read-passwd): Use read-string.
3987
b49f886e
LMI
39882012-04-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
3989
3990 * vcursor.el (vcursor-move): Increase the priority of the overlay
3991 (bug#9663).
3992
a63067fc
DD
39932012-04-11 Deniz Dogan <deniz.a.m.dogan@gmail.com>
3994
3995 * net/rcirc.el (rcirc-kill-channel-buffers): New variable.
3996 (rcirc-kill-buffer-hook): Use it to kill channel buffers (bug#5128).
3997
ac3cf14a
WS
39982012-04-11 William Stevenson <yhvh2000@gmail.com>
3999
4000 * textmodes/artist.el (artist-mode): Convert artist-mode to use
4001 define-minor-mode (bug#10760).
4002
c4fc691b 40032012-04-11 Wolfgang Jenkner <wjenkner@inode.at> (tiny change)
49a2697c 4004
4d6769e1 4005 * progmodes/grep.el (rgrep): Tweak the find command line so
49a2697c
WJ
4006 that directories matching `grep-find-ignored-files' won't be
4007 pruned (bug#10351).
4008
af23e2e5
CY
40092012-04-11 Chong Yidong <cyd@gnu.org>
4010
4011 * startup.el (command-line): Remove support for long-obsolete
4012 variable font-lock-face-attributes.
4013
ab7ce8c1
GM
40142012-04-11 Glenn Morris <rgm@gnu.org>
4015
4016 * vc/vc-bzr.el (vc-bzr-status): Avoid condition-case-unless-debug.
4017
de8c03dc
SM
40182012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
4019
4020 * window.el (window--state-get-1): Obey window-point-insertion-type.
4021
050cc68b
LB
40222012-04-11 Lennart Borgman <lennart.borgman@gmail.com>
4023
4024 * emacs-lisp/lisp.el (narrow-to-defun): `beginning-of-defun' goes
4025 to previous function when point is on the first character of a
75f1671a 4026 function. Take care of that in `narrow-to-defun' (bug#6157).
050cc68b 4027
a38c310c
GM
40282012-04-11 Glenn Morris <rgm@gnu.org>
4029
effed0c2
GM
4030 * vc/vc-bzr.el (vc-bzr-status): Handle all errors,
4031 not just file-errors.
4032
a38c310c
GM
4033 * vc/vc-bzr.el (vc-bzr-sha1-program, sha1-program): Remove.
4034 (vc-bzr-sha1): Use internal sha1.
4035
0221e323
SM
40362012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
4037
4038 * progmodes/flymake.el (flymake-mode): Beware read-only dirs (bug#8954).
4039
43956923
SG
40402012-04-10 Sébastien Gross <seb@chezwam.org> (tiny change)
4041
4042 * progmodes/hideshow.el (hs-hide-all): Don't infloop on comments
4043 that start in the middle of the line (bug#10496).
4044
6a8c9eaf
DN
40452012-04-10 Dan Nicolaescu <dann@gnu.org>
4046
4047 * battery.el (battery-linux-proc-acpi): Only one battery is
4048 discharged at a time, but that seems to confuse battery.el when
4049 computing `rate-type' for the battery not being discharged
4050 (bug#10332).
4051
1930bf5d
SM
40522012-04-10 Stefan Monnier <monnier@iro.umontreal.ca>
4053
2a718f6f
SM
4054 * emacs-lisp/autoload.el (autoload-make-program): Remove, unused.
4055
599430d0
SM
4056 * international/quail.el: Use dolist and simplify.
4057 (quail-define-package, quail-update-keyboard-layout)
4058 (quail-define-rules): Use dolist.
4059 (quail-insert-kbd-layout, quail-get-translation): CSE.
4060
a2754b6c
SM
4061 * tmm.el: Use dolist, remove left over hook.
4062 (tmm-prompt, tmm-define-keys, tmm-shortcut, tmm-get-keybind):
4063 Use dolist.
4064 (calendar-load-hook): Don't mess with it.
4065
1930bf5d
SM
4066 * vc/vc-annotate.el (vc-annotate-show-diff-revision-at-line-internal):
4067 Use derived-mode-p. Run the diff asynchronously.
4068
9f67961c
LMI
40692012-04-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
4070
4071 * obsolete/mouse-sel.el: Add an Obsolete-since header.
4072
2a8ce227
JB
40732012-04-10 Juanma Barranquero <lekktu@gmail.com>
4074
4075 * misc.el: Display absolute path of loaded DLLs (bug#10424).
4076 (list-dynamic-libraries--loaded): New function.
4077 (list-dynamic-libraries--refresh): Use it.
4078
8f33b5f8
NW
40792012-04-10 Nathan Weizenbaum <nweiz@google.com>
4080
1930bf5d
SM
4081 * progmodes/python.el (python-fill-paragraph):
4082 Make python-fill-region in a multiline string work when font-lock is
8f33b5f8
NW
4083 disabled (bug#7018).
4084
b12f0439
L
40852012-04-10 Laimonas VÄ—bra <laimonas.vebra@gmail.com> (tiny change)
4086
1930bf5d 4087 * language/european.el (cp775): Add oem/legacy (en)coding on
75f1671a
JB
4088 DOS/MS Windows for the Baltic languages. There are still plenty
4089 of texts written in this encoding/codepage (bug#6519).
b12f0439 4090
57c3bd01
GM
40912012-04-10 Glenn Morris <rgm@gnu.org>
4092
4093 * cus-start.el (eol-mnemonic-unix, eol-mnemonic-dos, eol-mnemonic-mac):
4094 Add :standard values, reducing "rogue" customs in emacs -Q a bit more.
4095
6c3eab30
FA
40962012-04-10 Florian Adamsky <florian@adamsky.it> (tiny change)
4097
1930bf5d 4098 * recentf.el (recentf-dialog-mode-map): Add two keybindings for
6c3eab30
FA
4099 next-line "n" and previous-line "p" in order to make recentf more
4100 consistent with ibuffer, dired or org-mode (bug#9387).
4101
24d78a88
LMI
41022012-04-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
4103
bc72b5d9
LMI
4104 * image.el (put-image): Return the overlay created instead of the
4105 optional input string (bug#7834). Note that this may break code
4106 that is (for some reason or other) depending on `put-image'
4107 returning the string.
4108
bd2dba5a
LMI
4109 * mouse-sel.el (mouse-sel-mode): Mark as obsolete (bug#6174).
4110
74beb59f
LMI
4111 * simple.el (zap-to-char): Allow zapping using input methods
4112 (bug#1580).
4113
24d78a88
LMI
4114 * textmodes/fill.el (fill-region): Leave point and mark where they
4115 were before filling (bug#5399).
4116
263f20cd
GM
41172012-04-09 Glenn Morris <rgm@gnu.org>
4118
4119 * version.el (emacs-bzr-get-version):
4120 Handle lightweight checkouts of local branches.
4121
58d1f797
AS
41222012-04-09 Andreas Schwab <schwab@linux-m68k.org>
4123
263f20cd 4124 * international/characters.el: Recover lost case pairs. (Bug#11209)
58d1f797 4125
b4d3bc10
CY
41262012-04-09 Chong Yidong <cyd@gnu.org>
4127
4128 * custom.el (custom-variable-p): Return nil for non-symbol
4129 arguments instead of signaling an error.
4130 (user-variable-p): Obsolete alias for custom-variable-p.
4131
4132 * apropos.el (apropos-variable):
4133 * files-x.el (read-file-local-variable):
4134 * simple.el (set-variable):
4135 * woman.el (woman-mini-help):
4136 * emacs-lisp/byte-opt.el (side-effect-free-fns): Callers changed.
4137
fd06db5d
GM
41382012-04-09 Glenn Morris <rgm@gnu.org>
4139
e5fcdb5e
GM
4140 * startup.el (normal-top-level): Don't look for leim-list.el
4141 in places where it will not be found. (Bug#910)
4142
fd06db5d
GM
4143 * international/mule-cmds.el (set-default-coding-systems):
4144 * files.el (normal-mode):
4145 Remove guarded calls to ucs-set-table-for-input. (Bug#9821)
4146 This function was removed with ucs-tables.el in 2008.
4147
b39bb7e1
EZ
41482012-04-08 Eli Zaretskii <eliz@gnu.org>
4149
4150 * textmodes/ispell.el (ispell-check-version): For hunspell, set
4151 ispell-encoding8-command to "-i", without a trailing space.
4152 (ispell-start-process): For hunspell, use '("-i" ENCODING), in 2
4153 separate command-line arguments, to specify the encoding, since
4154 that's how hunspell expects it.
4155
5c5b8e23
GM
41562012-04-08 Glenn Morris <rgm@gnu.org>
4157
4158 * loadup.el: Load bindings before cus-start.
4159 This reduces somewhat the number of "rogue" settings in emacs -Q.
4160
a1ed8b05
GM
41612012-04-07 Glenn Morris <rgm@gnu.org>
4162
4163 * version.el (emacs-bzr-get-version): New function.
dfae128a 4164 (emacs-bzr-version): New variable.
a1ed8b05
GM
4165 * loadup.el (emacs-bzr-version): Set it. (Bug#8054)
4166 * mail/emacsbug.el (report-emacs-bug): Include bzr version.
4167
b142f158
EZ
41682012-04-07 Eli Zaretskii <eliz@gnu.org>
4169
dfae128a
GM
4170 * international/uni-bidi.el, international/uni-category.el:
4171 * international/uni-combining.el, international/uni-decimal.el:
4172 * international/uni-decomposition.el, international/uni-digit.el:
4173 * international/uni-lowercase.el, international/uni-mirrored.el:
4174 * international/uni-name.el, international/uni-numeric.el:
4175 * international/uni-titlecase.el, international/uni-uppercase.el:
4176 Update for Unicode 6.1.
b142f158 4177
9078ead6
EZ
41782012-04-07 Eli Zaretskii <eliz@gnu.org>
4179
4180 * term/w32-win.el (dynamic-library-alist): Add libxml2 DLLs.
4181
f23d2c7d
LMI
41822012-04-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
4183
4184 * window.el (shrink-window): Mention the `window-min-height'
4185 variable in the doc string.
4186
0a0a3573
BG
41872012-04-05 Bastien Guerry <bzg@altern.org>
4188
4189 * color.el (color-lighten-name): Fix typo.
4190
e5248ac9
SM
41912012-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
4192
4193 * server.el (server--on-display-p): New function.
4194 (server--on-display-p): Use it.
4195
b4243e22
GV
41962012-04-04 Gabor Vida <vidagabor@gmail.com> (tiny change)
4197
4198 * ido.el (ido-wide-find-dirs-or-files): Use file-name-absolute-p
4199 (bug#11145).
4200
305d9f44
SM
42012012-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
4202
4203 * comint.el (comint--common-quoted-suffix): Check string boundary
4204 before comparing (bug#11158).
4205 * pcomplete.el (pcomplete--common-quoted-suffix): Idem.
4206
3d439cd1
CY
42072012-04-04 Chong Yidong <cyd@gnu.org>
4208
321cc491
CY
4209 * minibuffer.el (completion-extra-properties): Doc fix.
4210
3d439cd1
CY
4211 * subr.el (delayed-warnings-hook): Doc fix.
4212
2d562c0f
DU
42132012-04-04 Daiki Ueno <ueno@unixuser.org>
4214
4215 * epa.el (epa--select-keys): Bind C-c C-c to finish the key
4216 selection (Bug#11159).
4217 (epa-insert-keys): Inform that the default public key will be
4218 exported if no key is selected.
4219
4443f204
RS
42202012-04-04 Richard Stallman <rms@gnu.org>
4221
4222 * mail/emacsbug.el (report-emacs-bug): Bind inhibit-read-only.
4223
529c06b6
CY
42242012-04-03 Chong Yidong <cyd@gnu.org>
4225
4226 * mail/sendmail.el (mail-mode-map): Bind C-c C-i to
4227 mail-insert-file, not its obsolete alias mail-attach-file.
4228
66b907dc
MA
42292012-04-03 Michael Albinus <michael.albinus@gmx.de>
4230
4231 * notifications.el (notifications-notify): Fix docstring.
4232
c0ea195d
GM
42332012-04-02 Glenn Morris <rgm@gnu.org>
4234
4235 * emacs-lisp/authors.el (authors-aliases): Another addition.
4236
5ca64e00
MA
42372012-04-02 Michael Albinus <michael.albinus@gmx.de>
4238
4239 * net/tramp-gvfs.el (tramp-gvfs-send-command): Apply
4240 `tramp-compat-call-process' instead of `tramp-local-call-process'.
4241 Reported by Magnus Henoch <magnus.henoch@gmail.com>.
4242
42ee526b
CY
42432012-04-01 Chong Yidong <cyd@gnu.org>
4244
4245 * files.el (file-in-directory-p): Rename from file-subdir-of-p.
4246 Handle root directory properly.
4247 (copy-directory): Caller changed.
4248
4249 * dired-aux.el (dired-copy-file-recursive, dired-create-files):
4250 * net/tramp.el (tramp-file-name-for-operation): Callers changed.
4251
0b021094
GM
42522012-03-31 Glenn Morris <rgm@gnu.org>
4253
40f86458
GM
4254 * term/xterm.el (xterm-extra-capabilities): Doc fix.
4255
7019c177
GM
4256 * language/indian.el ("Devanagari"): Fix typo. (Bug#11103)
4257
a1daddd6
GM
4258 * calendar/calendar.el (calendar-window-list)
4259 (calendar-hide-window): Restore. (Bug#11140)
4260 (calendar-exit): Use calendar-window-list, calendar-hide-window again.
4261
0b021094
GM
4262 * emacs-lisp/edebug.el (edebug-unwrap-results): Doc fix.
4263
40311efc
TV
42642012-03-30 Thierry Volpiatto <thierry.volpiatto@gmail.com>
4265
4266 * dired-aux.el (dired-copy-file-recursive, dired-create-files):
4267 Check if file is a symlink (Bug#10489).
4268
4269 * files.el (copy-directory): Likewise.
4270
5319014e
CY
42712012-03-30 Chong Yidong <cyd@gnu.org>
4272
4273 * image.el (imagemagick-types-inhibit)
4274 (imagemagick-register-types): Doc fix.
4275
935d1290
AM
42762012-03-30 Agustín Martín Domingo <agustin.martin@hispalinux.es>
4277
ef24141c
SM
4278 * ispell.el (ispell-get-extended-character-mode):
4279 Disable extended-char-mode for hunspell. hunspell does not support it
75f1671a 4280 and treats ~word as ordinary words in pipe mode.
935d1290 4281
61c6e8fd
GM
42822012-03-30 Glenn Morris <rgm@gnu.org>
4283
4284 * tutorial.el (help-with-tutorial): Ensure local variables don't
4285 happen to make the buffer read-only. (Bug#11127)
4286
81fdff00
SM
42872012-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
4288
4289 * progmodes/perl-mode.el (perl-indent-line): Use `noindent' in strings.
4290 (perl-calculate-indent): Return `noindent' in strings.
4291
6e7a6ec0
SS
42922012-03-28 Sam Steingold <sds@gnu.org>
4293
4294 * calendar/calendar.el (calendar-exit): Use `quit-windows-on'
4295 instead of the broken adhockery which does not prevent calendar
4296 buffers from being displayed at random after exit.
4297 (calendar-window-list, calendar-hide-window): Remove the broken
4298 adhockery.
4299
fee88ca0
GM
43002012-03-28 Glenn Morris <rgm@gnu.org>
4301
4302 * replace.el (query-replace-map): Doc fix.
4303
38de3354
AS
43042012-03-28 Andreas Schwab <schwab@linux-m68k.org>
4305
4306 * vc/vc-git.el (vc-git-state): Don't try to match all of the diff
4307 contents. (Bug#11109)
4308
b973155e
SM
43092012-03-27 Stefan Monnier <monnier@iro.umontreal.ca>
4310
4311 * emacs-lisp/avl-tree.el (avl-tree--enter-balance): Fix paren typo
4312 (bug#11077).
4313 (avl-tree--check, avl-tree--check-node): New funs.
4314
dcb6e7b3
MR
43152012-03-27 Martin Rudalics <rudalics@gmx.at>
4316
4317 * window.el (switch-to-visible-buffer): New option.
b973155e
SM
4318 (switch-to-prev-buffer, switch-to-next-buffer):
4319 Observe switch-to-visible-buffer. Make sure that checking for a window
dcb6e7b3
MR
4320 showing a buffer already is done on the same frame.
4321
b4fa35fa
GM
43222012-03-27 Glenn Morris <rgm@gnu.org>
4323
4324 * startup.el (mail-host-address): Doc fix.
4325
f9210e18
SM
43262012-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
4327
4328 * emacs-lisp/bytecomp.el (byte-compile-constants-vector): Allow more
4329 than 197 variables.
4330
c0bf7753
AF
43312012-03-26 Ami Fischman <ami@fischman.org>
4332
4333 * vc/vc-git.el (vc-git-state): Avoid unnecessarily locking.
4334
33da7b16
GM
43352012-03-26 Glenn Morris <rgm@gnu.org>
4336
02243d9d
GM
4337 * files.el (save-buffers-kill-emacs): Doc fix.
4338
33da7b16
GM
4339 * startup.el (normal-top-level, command-line, command-line-1):
4340 Give them doc strings.
4341
e5a69fd0
EZ
43422012-03-25 Eli Zaretskii <eliz@gnu.org>
4343
4344 * makefile.w32-in (install): Use $(DIRNAME)_same-dir.tst instead
b973155e 4345 of same-dir.tst, to avoid stepping on other (parallel) Make job's toes.
e5a69fd0 4346
9a69676a
CY
43472012-03-25 Chong Yidong <cyd@gnu.org>
4348
4125cb8b
CY
4349 * custom.el (load-theme): Even if NO-ENABLE arg is t, reenable the
4350 theme if it was previously enabled before (Bug#11031).
4351
dd470960
CY
4352 * cus-theme.el (custom-theme-write-faces): Retrieve current face
4353 spec with custom-face-get-current-spec if its :shown-value is not
4354 determined yet (Bug#9337).
4125cb8b 4355 (customize-create-theme, custom-theme-revert): Doc fixes.
dd470960 4356
9a69676a
CY
4357 * button.el (button-at): Minor addition to docstring.
4358
6e7e90fa
SL
43592012-03-24 Simon Leinen <simon.leinen@gmail.com>
4360
4361 * vc/vc.el (vc-merge): Fix a prompt.
4362
f06e2758
CY
43632012-03-24 Chong Yidong <cyd@gnu.org>
4364
4365 * mwheel.el (mwheel-scroll): Call deactivate-mark at the right
4366 point (Bug#9623).
4367
6e7e90fa
SL
4368 * button.el (button-at): Minor addition to docstring.
4369
b9d0879b
SM
43702012-03-23 Stefan Monnier <monnier@iro.umontreal.ca>
4371
4372 * newcomment.el (comment-choose-indent): No space after BOL.
4373
e71cebb3
SS
43742012-03-22 Sam Steingold <sds@gnu.org>
4375
4376 * window.el (switch-to-prev-buffer): Revert last patch because the
4377 bug turned out to be an advertised feature (Elisp manual 28.14).
4378
335aff35
GM
43792012-03-22 Glenn Morris <rgm@gnu.org>
4380
4381 * vc/vc-bzr.el (vc-bzr-status-switches): New option. (Bug#6724)
4382 (vc-bzr-command): If running "status", pass vc-bzr-status-switches.
4383
c676576a
LMI
43842012-03-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
4385
4386 * net/network-stream.el (network-stream-open-starttls): Make error
4387 message under Windows be less misleading.
4388
126f3d39
LW
43892012-03-22 Liang Wang <netcasper@gmail.com> (tiny change)
4390
4391 * progmodes/etags.el (etags-list-tags): Only use tags which goto-func
4392 understands (bug#9942).
4393
64fee311
CY
43942012-03-22 Chong Yidong <cyd@gnu.org>
4395
4396 * simple.el (end-of-visible-line): Handle return value of
4397 next-single-property-change properly (Bug#9371).
4398
a640d29a
KH
43992012-03-22 Kenichi Handa <handa@m17n.org>
4400
4401 * international/quail.el (quail-insert-kbd-layout): Fix previous
4402 change. To avoid unwanted bidi reordering, use
4403 bidi-string-mark-left-to-right instead of inserting LRO and PDF.
4404
39675016
DG
44052012-03-21 Dmitry Gutov <dgutov@yandex.ru>
4406
4407 * progmodes/ruby-mode.el: Don't confuse "end:" for "end" (bug#10786).
4408 (ruby-block-end-re, ruby-delimiter, ruby-parse-partial)
4409 (ruby-beginning-of-indent): Be more careful with the difference
4410 between word-boundary and symbol boundary.
4411 (ruby-mode-syntax-table): Make : a symbol constituent.
4412
0a6934fc 44132012-03-21 Andreas Politz <politza@fh-trier.de>
1acad97c 4414
3d008e4f
SM
4415 * outline.el (outline-flag-region): Evaporate overlays (bug#10789).
4416
0a6934fc
SM
44172012-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
4418
af67c9d7
SM
4419 * progmodes/etags.el (tags-completion-at-point-function):
4420 Improve last fix.
4421
1acad97c
SM
4422 * files.el (move-file-to-trash): Files aren't regexps (bug#11055).
4423
e298b5da
SS
44242012-03-21 Sam Steingold <sds@gnu.org>
4425
4426 * progmodes/etags.el (tags-completion-at-point-function):
4427 Avoid the error when point is inside the pattern.
4428
91d82a70
JY
44292012-03-21 John Yates <john@yates-sheets.org> (tiny change)
4430
4431 * progmodes/hideshow.el (hs-inside-comment-p): Fix hiding of first
4432 line (Bug#10855).
4433
69188b79
CY
44342012-03-21 Drew Adams <drew.adams@oracle.com>
4435
4436 * info.el (Info-menu): Handle string value of FORK arg (Bug#10858).
4437
99fc91fe
AK
44382012-03-21 Anmol Khirbat <anmol@khirbat.net> (tiny change)
4439
4440 * ido.el (ido-set-current-directory, ido-read-internal)
4441 (ido-choose-completion-string, ido-completion-help): Handle nil
4442 value of ido-completion-buffer (Bug#11008).
4443
087bbb4c
SS
44442012-03-21 Sam Steingold <sds@gnu.org>
4445
4446 * window.el (switch-to-prev-buffer): Do not switch to a visible
4447 window previous buffer, just like with the frame previous buffers.
4448
fb5b8aca
CY
44492012-03-21 Chong Yidong <cyd@gnu.org>
4450
4451 * faces.el (make-face, make-empty-face, copy-face):
4452 * face-remap.el (face-remap-add-relative, face-remap-set-base):
4453 Doc fixes.
4454
dc9924b8
SM
44552012-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
4456
4457 * wid-edit.el (widget-complete-field): Remove (bug#11051).
4458 (widget-complete): Remove broken use of it.
4459
f0bcceb9
CY
44602012-03-20 Chong Yidong <cyd@gnu.org>
4461
dc9924b8
SM
4462 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
4463 Use string-width and truncate-string-width to handle arbitrary
f0bcceb9
CY
4464 characters.
4465
ee52ebf3
TH
44662012-03-20 Tassilo Horn <tassilo@member.fsf.org>
4467
4468 * textmodes/artist.el (artist-menu-map): Bind Rectangle menu item
4469 to draw rectangles, not squares. (Regression introduced by revno
4470 2011-03-02T03:48:01Z!cyd@stupidchicken.com)
4471
4c5779ab
CY
44722012-03-18 Chong Yidong <cyd@gnu.org>
4473
4474 * faces.el (face-spec-reset-face): Don't call display-graphic-p if
4475 it is not yet defined (for temacs).
4476
15360934
LL
44772012-03-18 Leo Liu <sdl.web@gmail.com>
4478
dc9924b8 4479 * net/rcirc.el (rcirc-cmd-quit): Allow quiting all servers with prefix.
15360934 4480
d9a8eb66
EZ
44812012-03-17 Eli Zaretskii <eliz@gnu.org>
4482
4483 * textmodes/ispell.el (ispell-skip-tib, ispell-keep-choices-win)
4484 (ispell-choices-win-default-height, ispell-silently-savep)
4485 (ispell-dictionary-alist, ispell-encoding8-command)
4486 (ispell-check-version, ispell-aspell-find-dictionary)
4487 (ispell-valid-dictionary-list, ispell-words-keyword)
4488 (ispell-get-word, ispell-internal-change-dictionary)
4489 (ispell-region, ispell-skip-region-list)
4490 (ispell-begin-skip-region-regexp, ispell-ignore-fcc)
4491 (ispell-process-line, ispell-minor-mode, ispell-minor-check)
4492 (ispell-message-text-end, ispell-message)
4493 (ispell-buffer-local-parsing): Doc fix.
4494
f02ff80d
J
44952012-03-13 Jambunathan K <kjambunathan@gmail.com>
4496
4497 * htmlfontify.el: Add support for code block fontification for ODT
4498 export (Bug #9914).
4499 (hfy-optimisations): Define new option
4500 `body-text-only'
4501 (hfy-fontify-buffer): Honor above setting.
4502 (hfy-begin-span, hfy-end-span): New routines factored out form
4503 `hfy-fontify-buffer'.
4504 (hfy-begin-span-handler, hfy-end-span-handler): New variables
4505 that permit insertion of custom tags.
4506 (hfy-fontify-buffer): Use above handlers.
4507 (hfy-face-to-css-default): Same as the earlier `hfy-face-to-css'.
4508 (hfy-face-to-css): Re-defined to be a variable.
dc9924b8 4509 (hfy-compile-stylesheet): Modify. Allow stylesheet to be built
75f1671a 4510 over multiple runs. This is made possible by having the caller let
f02ff80d
J
4511 bind a special variable `hfy-user-sheet-assoc'.
4512 (htmlfontify-string): New defun.
4513 (hfy-compile-face-map): Make sure that the last char in the
4514 buffer is correctly fontified.
4515 (hfy-face-resolve-face): Whitespace only change.
4516
9ac7a13f
EZ
45172012-03-17 Eli Zaretskii <eliz@gnu.org>
4518
4519 * textmodes/ispell.el (ispell-get-decoded-string): Make the error
4520 message more clear.
4521
e2b5bdd7
LL
45222012-03-16 Leo Liu <sdl.web@gmail.com>
4523
4524 * emacs-lisp/copyright.el (copyright-year-ranges): Fix typo.
4525
2e492df3
AM
45262012-03-16 Alan Mackenzie <acm@muc.de>
4527
4528 Further optimise the handling of large macros.
4529
4530 * progmodes/cc-engine.el (c-crosses-statement-barrier-p): Use a
4531 limit to a call of `c-literal-limits'.
4532 (c-determine-+ve-limit): New function.
dc9924b8
SM
4533 (c-at-macro-vsemi-p): Move `c-in-literal' to the bottom of an `and'.
4534 (c-guess-basic-syntax): In macros, restrict a search limit to 2000.
2e492df3
AM
4535 In CASE 5B, restrict a search limit to 500.
4536 (c-just-after-func-arglist-p): Obviouly wrong `or' -> `and'.
4537
4538 * progmodes/cc-mode.el (c-neutralize-syntax-in-and-mark-CPP):
4539 Restrict macro bounds to +-500 from after-change's BEG END.
4540
50e94f0c
LL
45412012-03-16 Leo Liu <sdl.web@gmail.com>
4542
4543 * font-lock.el (lisp-font-lock-keywords-2): Add letrec.
4544
6f09f6ed
AH
45452012-03-16 Aaron S. Hawley <Aaron.S.Hawley@gmail.com>
4546
4547 * tar-mode.el (tar-mode): Fix saving by conditionally undoing
dc9924b8 4548 `special-mode' setting of `buffer-read-only'. (Bug#11010)
6f09f6ed 4549
c7e73d51
GM
45502012-03-16 Glenn Morris <rgm@gnu.org>
4551
da986230
GM
4552 * view.el (view-buffer, view-buffer-other-window)
4553 (view-buffer-other-frame): Doc fixes re special mode-class.
4554
0835f01e
GM
4555 * subr.el (eval-after-load): If named feature is provided not from
4556 a file, run after-load forms. (Bug#10946)
4557
c7e73d51
GM
4558 * calendar/calendar.el (calendar-insert-at-column):
4559 Handle non-unit-width characters a bit better. (Bug#10978)
4560
3f2eafd1
CY
45612012-03-15 Chong Yidong <cyd@gnu.org>
4562
4563 * emacs-lisp/ring.el (ring-extend): New function.
4564 (ring-insert+extend): Extend the ring correctly (Bug#11019).
4565
4566 * comint.el (comint-read-input-ring)
4567 (comint-add-to-input-history): Grow comint-input-ring lazily.
4568
103af3fe
SM
45692012-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
4570
663b1677
SM
4571 * progmodes/perl-mode.el (perl-syntax-propertize-special-constructs):
4572 Fix up parsing of multiline twoarg non-paired elements (bug#11014).
4573
103af3fe
SM
4574 * imenu.el: Fix multiple inheritance breakage (bug#9199).
4575 (imenu-add-to-menubar): Don't add a redundant index.
4576 (imenu-update-menubar): Handle a dynamically composed keymap.
4577
899cb7cb
KY
45782012-03-13 Katsumi Yamaoka <yamaoka@jpl.org>
4579
4580 * mail/sendmail.el (mail-encode-header):
4581 Bind rfc2047-encode-encoded-words to nil.
4582
3809f91d
GM
45832012-03-13 Glenn Morris <rgm@gnu.org>
4584
4585 * calendar/calendar.el (calendar-string-spread):
4586 Handle non-unit-width characters a bit better. (Bug#10978)
4587
9e345a01
LL
45882012-03-13 Leo Liu <sdl.web@gmail.com>
4589
4590 * vc/vc-hg.el (vc-hg-working-revision): Rework to work with both
4591 directory and file as argument (Bug#10822).
4592
4a07df36
KS
45932012-03-13 Kaushik Srenevasan <ksrenevasan@gmail.com> (tiny change)
4594
4595 * progmodes/gdb-mi.el (gdb-invalidate-disassembly):
4596 For dynamically generated code, follow $PC.
4597 (gdb-disassembly-handler-custom): Handle no function name case.
4598
4aaa9356
TL
45992012-03-13 Tim Landscheidt <tim@tim-landscheidt.de> (tiny change)
4600
4601 * calendar/icalendar.el (icalendar-export-file, icalendar-import-file):
4602 * emulation/ws-mode.el (ws-query-replace):
4603 * sort.el (sort-regexp-fields):
4604 Fix missing trailing whitespace in interactive prompts. (Bug#11002)
4605
225979da
SM
46062012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
4607
4608 * dabbrev.el: Fix cycle completion order (bug#10963).
4609 (dabbrev--last-obarray, dabbrev--last-completion-buffer): Remove.
4610 (dabbrev-completion): Don't use an obarray; provide
4611 a cycle-sort-function.
4612
e2f1fdab
LL
46132012-03-12 Leo Liu <sdl.web@gmail.com>
4614
dc9924b8 4615 * simple.el (kill-new): Use equal-including-properties for comparison.
e2f1fdab
LL
4616 (kill-do-not-save-duplicates): Doc fix.
4617
b19490ed
SM
46182012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
4619
4620 * dabbrev.el: Fix cycle completion (bug#10963).
4621 Use lexical binding and wrap to 80 columns.
4622 (dabbrev-completion): Delay computing the list of completions.
4623
4b05d722
KH
46242012-03-12 Kenichi Handa <handa@m17n.org>
4625
4626 * international/quail.el (quail-insert-kbd-layout): Surround each
4627 row by LRO and PDF instead of inserting many LRMs. Pad the left
4628 and right of each non-spacing marks. Insert invisible space
4629 between lower and upper characters to prevent composition.
4630
dbbc2e69
SM
46312012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
4632
4633 * minibuffer.el (minibuffer-complete): Don't get confused when the
4634 function is run twice via different commands (bug#10958).
4635 (complete-with-action): Fix docstring.
4636
292112ed
CY
46372012-03-12 Chong Yidong <cyd@gnu.org>
4638
5d1ac394
CY
4639 * nxml/nxml-mode.el (nxml-mode-map): Do not bind C-RET (Bug#6776).
4640 (nxml-completion-at-point-function): New function.
4641 (nxml-mode): Use it.
4642 (nxml-bind-meta-tab-to-complete-flag): Default to t.
4643
292112ed
CY
4644 * emacs-lisp/package.el (package-unpack, package-unpack-single):
4645 Load generated autoloads file before byte compiling (Bug#10970).
4646 (package--make-autoloads-and-compile): New helper fun.
4647
4098f8f7
CS
46482012-03-12 Christopher Schmidt <christopher@ch.ristopher.com>
4649
4650 * ibuffer.el (ibuffer-redisplay): Remove another gratuitous error.
4651
8f754691
MA
46522012-03-11 Michael Albinus <michael.albinus@gmx.de>
4653
4654 * autorevert.el (auto-revert-handler): Ensure, that
4655 file-readable-p is applied only for local files or in
4656 auto-revert-tail-mode.
4657
e29ab36b
AS
46582012-03-11 Andreas Schwab <schwab@linux-m68k.org>
4659
dbbc2e69
SM
4660 * server.el (server-eval-at): Handle non-tcp connections.
4661 Decode result string.
ad0bf5b6 4662
e29ab36b
AS
4663 * server.el (server-msg-size): New constant.
4664 (server-reply-print): New function.
4665 (server-eval-and-print): Use it.
4666 (server-eval-at): Use server-quote-arg and server-unquote-arg.
4667 Handle -print-nonl.
4668
de5939ba
CS
46692012-03-11 Christopher Schmidt <christopher@ch.ristopher.com>
4670
4671 * ibuffer.el (ibuffer-redisplay): Remove gratuitous error
4672 (Bug#10987).
4673
0c93eabf
CY
46742012-03-11 Chong Yidong <cyd@gnu.org>
4675
397a688f
CY
4676 * simple.el (goto-line): Doc fix (Bug#9938).
4677
2cc775f9
CY
4678 * subr.el (save-window-excursion): Doc fix (Bug#9979).
4679
0c93eabf
CY
4680 * dabbrev.el (dabbrev--find-expansion): Update progress reporter
4681 when finished (Bug#10963).
4682
c491fa41
MR
46832012-03-11 Martin Rudalics <rudalics@gmx.at>
4684
4685 * window.el (split-window-below): Fix bug in case where
4686 split-window-keep-point is nil (Bug#10971).
4687
300e8fa5
JL
46882012-03-11 Juri Linkov <juri@jurta.org>
4689
4690 * replace.el (replace-highlight): Set isearch-word to nil
4691 unconditionally. (Bug#10887)
4692
dbf6c5a1
EZ
46932012-03-10 Eli Zaretskii <eliz@gnu.org>
4694
4695 * net/mairix.el (mairix-replace-invalid-chars): Rename from
4696 mairix-replace-illegal-chars; all callers changed. Don't remove
dc9924b8 4697 ^, ~, and = characters: they are meaningful in mairix search specs.
dbf6c5a1
EZ
4698 (mairix-widget-create-query): Add usage information about mairix
4699 search forms: negating words, searching for substrings, etc.
4700
b9e501de
JP
47012012-03-10 Jae-hyeon Park <jae-hyeon.park@desy.de> (tiny change)
4702
4703 * international/fontset.el (font-encoding-alist): Add an entry for
4704 ksx1001 (Bug#5667).
4705
92795c91
RS
47062012-03-10 Richard Stallman <rms@gnu.org>
4707
1694e6c1
RS
4708 * mail/sendmail.el (mail-encode-header):
4709 Set rfc2047-encode-encoded-words.
4710
607e8555
RS
4711 * mail/mail-utils.el (mail-quote-printable): Quote multibyte chars.
4712
de3bc99a
RS
4713 * mail/rmail.el (rmail-buffers-swapped-p): Don't assume dead
4714 view buffer means not swapped.
4715 (rmail-view-buffer-kill-buffer-hook): Give buf name in error msg.
4716 (rmail-write-region-annotate): Error if real text has disappeared.
4717
92795c91
RS
4718 * epa-mail.el (epa-mail-encrypt): Bind inhibit-read-only.
4719
699bd04e
CY
47202012-03-10 Chong Yidong <cyd@gnu.org>
4721
4722 * emulation/cua-rect.el (cua--init-rectangles):
dbbc2e69
SM
4723 * emulation/cua-base.el (cua--init-keymaps):
4724 Add delete-forward-char to remappings (Bug#9666).
699bd04e 4725
570a1714
MR
47262012-03-10 Martin Rudalics <rudalics@gmx.at>
4727
dbbc2e69
SM
4728 * speedbar.el (speedbar-unhighlight-one-tag-line):
4729 Avoid unhighlighting due to frame switching (Bug#10275).
570a1714 4730
82dcf4e4
CY
47312012-03-10 Chong Yidong <cyd@gnu.org>
4732
7a2c7ca7
CY
4733 * minibuffer.el (completion-in-region, completion-help-at-point):
4734 Give the completion field overlay a high priority (Bug#6830).
4735
82dcf4e4
CY
4736 * dired.el (dired-goto-file): Recognize absolute file name
4737 listings (Bug#7126).
4738 (dired-goto-file-1): New helper function.
4739 (dired-toggle-read-only): Inhibit warnings.
4740
052e28ac
MA
47412012-03-09 Michael Albinus <michael.albinus@gmx.de>
4742
75f1671a 4743 * net/dbus.el (dbus-property-handler): Return empty array if
052e28ac
MA
4744 there are no properties.
4745
95d5e396
LL
47462012-03-09 Leo Liu <sdl.web@gmail.com>
4747
4748 * savehist.el (savehist-printable): Stricter check for string
4749 value (Bug#10937).
4750
3f018d6d
EZ
47512012-03-09 Eli Zaretskii <eliz@gnu.org>
4752
dbbc2e69
SM
4753 * mail/smtpmail.el (smtpmail-send-it):
4754 Bind coding-system-for-write to *-unix, so that FCC files are kept in
3f018d6d
EZ
4755 valid mbox format.
4756
f7fd3d79
GM
47572012-03-09 Glenn Morris <rgm@gnu.org>
4758
4759 * files.el (dir-locals-find-file):
4760 Don't check result is regular, readable.
4761 (dir-locals-read-from-file): Demote errors.
4762
6ff6e72f
EZ
47632012-03-08 Eli Zaretskii <eliz@gnu.org>
4764
dbbc2e69
SM
4765 * international/quail.el (quail-insert-kbd-layout):
4766 Insert invisible LRM characters before each character in a keyboard
6ff6e72f
EZ
4767 layout cell, to prevent their reordering by bidi display engine.
4768 For details, see the discussion in
4769 http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00085.html.
4770
9cec7834
AM
47712012-03-08 Alan Mackenzie <acm@muc.de>
4772
4773 * progmodes/cc-cmds.el (c-mark-function): Make it leave a mark at
4774 the starting position; make it extend the marked region when
4775 invoked repeatedly - all under appropriate circumstances.
4776 Fixes bugs #5525, #10906.
4777
9a40b8d4
GM
47782012-03-08 Glenn Morris <rgm@gnu.org>
4779
4780 * files.el (locate-dominating-file, dir-locals-find-file):
4781 Undo 2012-03-06 change.
4782
7a08ed35
EZ
47832012-03-07 Eli Zaretskii <eliz@gnu.org>
4784
dbbc2e69
SM
4785 * international/quail.el (quail-help):
4786 Force bidi-paragraph-direction be left-to-right. See discussion in
7a08ed35
EZ
4787 http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00062.html
4788 for the reason.
4789
5aca4f71 47902012-03-07 Michael Albinus <michael.albinus@gmx.de>
6612a284
MA
4791
4792 Avoid superfluous registering of signals. (Bug#10807)
4793
4794 * notifications.el (notifications-on-action-object)
4795 (notifications-on-close-object): New defvars.
4796 (notifications-on-action-signal, notifications-on-closed-signal):
4797 Unregister the signal if not needed any longer.
4798 (notifications-notify): Register `notifications-action-signal' or
4799 `notifications-closed-signal', if :on-action or :on-close has been
4800 passed as argument.
4801
78e8b10a
CY
48022012-03-07 Chong Yidong <cyd@gnu.org>
4803
4804 * cus-start.el: Avoid x-select-enable-clipboard-manager warning on
4805 non-X platforms.
4806
69481eb8
GM
48072012-03-06 Glenn Morris <rgm@gnu.org>
4808
4809 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
4810 (x-disown-selection-internal, x-get-selection-internal):
4811 Doc fix (add arglist signatures). (Bug#10783)
4812
133b8e11
KS
48132012-03-06 Kaushik Srenevasan <ksrenevasan@gmail.com> (tiny change)
4814
4815 * progmodes/gdb-mi.el (gdb-breakpoints-list-handler-custom):
4816 Handle breakpoints with no "type".
4817
99a83064
GM
48182012-03-06 Glenn Morris <rgm@gnu.org>
4819
4820 * files.el (locate-dominating-file): Add optional predicate argument.
4821 (dir-locals-find-file): Make use of above change.
4822
17798e78
TTN
48232012-03-06 Thien-Thi Nguyen <ttn@gnuvola.org>
4824
4825 * info.el (Info-insert-dir): Also try "dir.gz".
4826
eb182446
GM
48272012-03-06 Glenn Morris <rgm@gnu.org>
4828
8f2114ee
GM
4829 * files.el (dir-locals-find-file):
4830 Ignore non-readable or non-regular files. (Bug#10928)
4831
eb182446
GM
4832 * files.el (locate-dominating-file): Doc fix.
4833
24679323
AS
48342012-03-06 Adam Spiers <emacs@adamspiers.org> (tiny change)
4835
4836 * calendar/calendar.el (calendar-set-mode-line):
4837 `getenv' returns a string. (Bug#10951)
4838
01d972a9
LL
48392012-03-05 Leo Liu <sdl.web@gmail.com>
4840
109aa8a9
LL
4841 * simple.el (backward-delete-char-untabify): Constrain point to
4842 field (Bug#10939).
4843
01d972a9
LL
4844 * eshell/em-cmpl.el (eshell-cmpl-initialize): Fix shift-tab key.
4845
10607bea
CY
48462012-03-05 Chong Yidong <cyd@gnu.org>
4847
4848 * simple.el (count-words): If called from Lisp, return the word
4849 count, for symmetry with `count-lines'. Arglist changed.
4850 (count-words--message): Args changed. Consolidate counting code
4851 from count-words and count-words-region.
4852 (count-words-region): Caller changed.
4853 (count-lines-region): Make it an obsolete alias.
4854
5dd11cfe
TH
48552012-03-04 Tassilo Horn <tassilo@member.fsf.org>
4856
4857 * saveplace.el (save-place-to-alist)
4858 (save-place-ignore-files-regexp): Allow value nil to disable this
4859 feature.
4860
c349f4e6
CY
48612012-03-04 Chong Yidong <cyd@gnu.org>
4862
4863 * faces.el (face-spec-reset-face): For the default face, reset the
4864 attributes to default values (Bug#10748).
4865
e627be4c
LMI
48662012-03-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
4867
4868 * mail/emacsbug.el (report-emacs-bug-hook): Fix up thinko in
4869 previous patch: Check `message-send-mail-function', and not the
4870 default function (bug#10897).
4871
ebeabff4
MA
48722012-03-04 Michael Albinus <michael.albinus@gmx.de>
4873
a41a6cf4
MA
4874 * notifications.el (notifications-on-action-signal)
4875 (notifications-on-closed-signal): Check for unique service name of
4876 incoming event. Fix error in removing entry.
ebeabff4 4877 (top): Register for signals with wildcard service name.
a41a6cf4 4878 (notifications-notify): Use daemon unique service name for map entries.
ebeabff4 4879
c1ca42b4
CY
48802012-03-04 Chong Yidong <cyd@gnu.org>
4881
dc9924b8 4882 * cus-start.el: Make x-select-enable-clipboard-manager customizable.
c1ca42b4 4883
ea16568d
GM
48842012-03-04 Glenn Morris <rgm@gnu.org>
4885
4886 * abbrev.el (copy-abbrev-table, abbrev-table-p)
4887 (abbrev-minor-mode-table-alist, define-abbrev, abbrev-insert)
4888 (expand-abbrev, define-abbrev-table): Doc fixes.
4889
fbae4637
LMI
48902012-03-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
4891
4892 * mail/emacsbug.el (report-emacs-bug-hook): Look at the value of
4893 `message-default-send-mail-function' and not `send-mail-function'
4894 when doing the prompting for `sendmail-query-once' before sending
4895 in Message buffers (bug#10897).
4896
a1e7225c
LMI
4897 * net/tls.el (open-tls-stream): Don't set the dont-query-on-exit flag.
4898 This is inconsistent with all the other stream functions, which leave
4899 the setting up to the higher levels (if so wanted) (bug#10931).
4900
56d093a9
AM
49012012-03-02 Alan Mackenzie <acm@muc.de>
4902
4903 Depessimize the handling of very large macros.
4904
4905 * progmodes/cc-engine.el (c-macro-cache, c-macro-cache-start-pos):
4906 (c-macro-cache-syntactic): New variables to implement a one
4907 element macro cache.
4908 (c-invalidate-macro-cache): New function.
4909 (c-beginning-of-macro, c-end-of-macro, c-syntactic-end-of-macro):
4910 Adapt to use the new cache.
4911 (c-state-safe-place): Use better the cache of safe positions.
4912 (c-state-semi-nonlit-pos-cache)
4913 (c-state-semi-nonlit-pos-cache-limit):
4914 New variables for...
4915 (c-state-semi-safe-place): New function. Here, in a macro is "safe".
4916 (c-invalidate-state-cache-1): New stuff for c-state-semi-safe-place.
dbbc2e69
SM
4917 (c-in-literal, c-literal-limits, c-determine-limit-get-base):
4918 Use c-state-semi-safe-place.
56d093a9 4919
dbbc2e69
SM
4920 * progmodes/cc-langs.el (c-get-state-before-change-functions):
4921 Add c-invalidate-macro-cache to the C, C++, Obj entries.
56d093a9 4922
817e5c3d
MA
49232012-03-02 Michael Albinus <michael.albinus@gmx.de>
4924
dbbc2e69
SM
4925 * jka-compr.el (jka-compr-call-process):
4926 Apply `file-accessible-directory-p' only when the default directory is
817e5c3d
MA
4927 not remote.
4928
a032a702
MA
49292012-03-01 Michael Albinus <michael.albinus@gmx.de>
4930
4931 * files.el (file-equal-p): Fix docstring. Avoid unnecessary
4932 access of FILE2, if FILE1 does not exist.
4933
99a54f21
MA
4934 * net/tramp-sh.el (tramp-remote-process-environment): Add "PAGER=\"\"".
4935 Reported by Robert Lupton the Good <rhl@astro.princeton.edu>.
4936
4937 * vc/vc-git.el (vc-git--call): Enable `inhibit-null-byte-detection'.
4938 Add "PAGER=" to `process-environment'.
4939
f6561e1f
MM
49402012-03-01 Michael R. Mauger <mmaug@yahoo.com>
4941
4942 * progmodes/sql.el: Bug fix
4943 (sql-get-login-ext): Save login values in globals.
4944 (sql-get-login): Use new version of `sql-get-login-ext'.
4945 (sql-interactive-mode): Set global `sql-connection' to nil.
4946 (sql-connect): Set global values for connection.
4947 (sql-product-interactive): Save global values as buffer local.
4948
2d44d9cc
LL
49492012-02-29 Leo Liu <sdl.web@gmail.com>
4950
4951 * abbrev.el (define-abbrevs): Reset sys to nil.
4952
96b49301 49532012-02-28 Thierry Volpiatto <thierry.volpiatto@gmail.com>
4954
bf7f9bc5
JB
4955 * files.el (file-equal-p): Rename from `files-equal-p'.
4956 Return nil when one or both files don't exist.
96b49301 4957 (file-subdir-of-p): Now only top directory must exists,
4958 return nil if it doesn't.
bf7f9bc5
JB
4959 (copy-directory): No need to test with `file-subdir-of-p' after
4960 creating dir.
4961 * net/tramp.el (tramp-file-name-for-operation): Rename `files-equal-p'
4962 to `file-equal-p'.
96b49301 4963
44e97401
GM
49642012-02-28 Glenn Morris <rgm@gnu.org>
4965
4966 * shell.el (shell-mode):
4967 * progmodes/vhdl-mode.el (wildcard-to-regexp, file-expand-wildcards):
4968 * play/landmark.el (landmark-font-lock-face-O):
4969 * play/handwrite.el (handwrite):
4970 * play/gomoku.el (gomoku-O):
4971 * net/browse-url.el (browse-url-browser-display):
4972 * international/mule.el (define-charset):
4973 * htmlfontify.el (hfy-etags-cmd, hfy-face-attr-for-class):
4974 * filesets.el (filesets-find-file-delay):
4975 * eshell/em-xtra.el (eshell-xtra):
4976 * eshell/em-unix.el (eshell-grep):
4977 * emulation/viper.el (viper-mode):
4978 * emacs-lisp/regexp-opt.el (regexp-opt-group):
4979 * emacs-lisp/easymenu.el (easy-menu-define):
4980 * calendar/timeclock.el (timeclock-use-display-time):
4981 * bs.el (bs-mode):
4982 * bookmark.el (bookmark-save-flag):
4983 Doc fix (standardize possessive apostrophe usage).
4984
c98c6276
CY
49852012-02-27 Chong Yidong <cyd@gnu.org>
4986
bf7f9bc5
JB
4987 * emulation/viper-cmd.el (viper-intercept-ESC-key):
4988 Fix key-binding lookup for ESC key (Bug#9146).
ecf5f74e 4989
c98c6276
CY
4990 * font-lock.el (font-lock-specified-p): Rename from
4991 font-lock-spec-present. Callers changed.
4992
9c62cd04 49932012-02-27 Daniel Hackney <dan@haxney.org>
8ac9e529 4994
bf7f9bc5
JB
4995 * emacs-lisp/package.el (package-compute-transaction):
4996 Handle holding a package version to t in package-load-list.
8ac9e529 4997
530739c9
MA
49982012-02-26 Michael Albinus <michael.albinus@gmx.de>
4999
5000 * net/tramp.el (tramp-inodes, tramp-devices): Initialize with 0.
5001 (tramp-get-inode, tramp-get-device): Use cached values.
5002
487915d7
AM
50032012-02-26 Alan Mackenzie <acm@muc.de>
5004
5005 Check there is a font-lock specification before doing initial
5006 fontification.
5007
5008 * font-core.el (font-lock-mode): Move the conditional from
5009 :after-hook to font-lock-initial-fontify.
5010 (font-lock-default-function): Move the check for a specification
5011 to font-lock-spec-present.
5012
dc9924b8 5013 * font-lock.el (font-lock-initial-fontify): Call ...
487915d7
AM
5014 (font-lock-spec-present): New function.
5015
4fd96557
JB
50162012-02-26 Jim Blandy <jimb@red-bean.com>
5017
5018 * progmodes/gdb-mi.el (gdb-mi-quote): New function.
5019 (gdb-send): Apply it to the operand of the '-interpreter-exec
5020 console' command, so that we can pass arguments with (say) quotes
5021 in them. Store exact string sent in gdb-debug-log (Bug#10765).
5022
9a4888c0
CY
50232012-02-26 Chong Yidong <cyd@gnu.org>
5024
07498861
CY
5025 * help-fns.el (describe-function-1): Clarify description of
5026 remapping (Bug#10844).
5027
9a4888c0
CY
5028 * files.el (files-equal-p): Doc fix.
5029 (file-subdir-of-p): Doc fix. Convert loop macro to plain Lisp,
5030 and quit the loop once a mismatch is found.
5031
ea8fb88d
JB
50322012-02-25 Juanma Barranquero <lekktu@gmail.com>
5033
5034 * bs.el (bs--show-with-configuration): Don't throw an error
5035 if the window cannot be split; otherwise, subsequent calls to
5036 bs-show fail, restoring a stale window config. (Bug#10882)
5037
525795c1
JD
50382012-02-25 Jan Djärv <jan.h.d@swipnet.se>
5039
5040 * term/ns-win.el (global-map): Bind ns-drag-file to
5041 ns-find-file (Bug#5855, Bug#10050).
5042
f008086f
AS
50432012-02-25 Andreas Schwab <schwab@linux-m68k.org>
5044
5045 * calendar/parse-time.el (parse-time-string): Allow extractor to
5046 return nil.
5047
a3fcfa99
MA
50482012-02-25 Michael Albinus <michael.albinus@gmx.de>
5049
91027d08
JB
5050 * net/tramp.el (tramp-file-name-for-operation):
5051 Add `files-equal-p' and `file-subdir-of-p'.
a3fcfa99
MA
5052
5053 * net/tramp-sh.el (tramp-sh-handle-copy-directory):
91027d08
JB
5054 * net/tramp-smb.el (tramp-smb-handle-copy-directory):
5055 Add COPY-CONTENTS argument.
a3fcfa99 5056
67b0de11
CY
50572012-02-25 Chong Yidong <cyd@gnu.org>
5058
5059 Add custom groups for VC backends, for consistency with vc-bzr.
5060
5061 * vc/vc-arch.el (vc-arch):
5062 * vc/vc-cvs.el (vc-cvs):
5063 * vc/vc-git.el (vc-git):
5064 * vc/vc-hg.el (vc-hg):
5065 * vc/vc-mtn.el (vc-mtn):
5066 * vc/vc-rcs.el (vc-rcs):
5067 * vc/vc-sccs.el (vc-sccs):
5068 * vc/vc-svn.el (vc-svn): New customization group (Bug#10871).
5069 All relevant defcustoms reassigned.
5070
3c9dfce6
CY
50712012-02-25 Chong Yidong <cyd@gnu.org>
5072
1339bf43
CY
5073 * newcomment.el (comment-styles): Add autoload (Bug#10868).
5074
3c9dfce6
CY
5075 * term/x-win.el (x-initialize-window-system): Reduce default for
5076 x-selection-timeout to 5 seconds (Bug#8869).
5077
25b2e303 50782012-02-24 Thierry Volpiatto <thierry.volpiatto@gmail.com>
5079
ec70a47d
GM
5080 * files.el (files-equal-p, file-subdir-of-p): New functions.
5081 (copy-directory): Error when trying to copy a directory on itself.
25b2e303 5082 Add missing copy-contents arg to tramp handler.
ec70a47d
GM
5083 * dired-aux.el (dired-copy-file-recursive): Same.
5084 (dired-create-files): Modify destination when source is equal to
5085 dest when copying files.
53a46cd0 5086 Return also when dest is a subdir of source. (Bug#10489)
25b2e303 5087
914260cd
MA
50882012-02-24 Michael Albinus <michael.albinus@gmx.de>
5089
5090 * net/ange-ftp.el (ange-ftp-parse-netrc): Suppress comment lines.
5091 (Bug#10874)
5092
2cb228f7
AM
50932012-02-23 Alan Mackenzie <acm@muc.de>
5094
5095 * emacs-lisp/easy-mmode.el (define-minor-mode): Add extra
5096 parameter "after-hook:" to allow the expansion to run code after
5097 the execution of the mode hooks.
5098
5099 * font-lock.el (font-lock-initial-fontify): New function extracted
91027d08 5100 from font-lock-mode-internal.
2cb228f7 5101
91027d08 5102 * font-core.el (font-lock-mode): Call font-lock-initial-fontify in
2cb228f7
AM
5103 :after-hook.
5104
8f0fde21
SM
51052012-02-23 Stefan Monnier <monnier@iro.umontreal.ca>
5106
3e88618b
SM
5107 * minibuffer.el: Make sure cycling is reset upon edit with icomplete.el.
5108 (completion--cache-all-sorted-completions): New function.
5109 (completion-all-sorted-completions): Use it.
5110 (completion--do-completion, minibuffer-force-complete):
5111 Use it to re-instate the flush hook.
5112
8f0fde21
SM
5113 * icomplete.el (icomplete-completions): Replace last fix with a better
5114 one (bug#10850).
5115
8e911f6f
DG
51162012-02-23 Dmitry Gutov <dgutov@yandex.ru>
5117
5118 * emacs-lisp/lisp.el (beginning-of-defun-raw): Don't call end-of-defun
5119 when it might call us back infinitely (bug#10797).
5120
49fe4321
GM
51212012-02-23 Glenn Morris <rgm@gnu.org>
5122
5123 * minibuffer.el (completion-category-overrides): Doc fix.
5124
b291b572
SM
51252012-02-23 Stefan Monnier <monnier@iro.umontreal.ca>
5126
5127 * minibuffer.el (completion-table-with-context): Fix inf-loop.
5128 Reported by Aaron S. Hawley <aaron.s.hawley@gmail.com>.
5129
31a9ef2e
GM
51302012-02-23 Glenn Morris <rgm@gnu.org>
5131
5e6e6794 5132 * emacs-lisp/authors.el (authors-aliases, authors-fixed-case)
31a9ef2e
GM
5133 (authors-obsolete-files-regexps, authors-ignored-files)
5134 (authors-ambiguous-files, authors-renamed-files-alist):
5135 Add more entries.
5136
0bd1e074
JL
51372012-02-23 Juri Linkov <juri@jurta.org>
5138
5139 * isearch.el (isearch-occur): Sync interactive spec with occur's
5140 new feature in `occur-read-primary-args'. Doc fix. (Bug#10705)
5141
b617673c
JL
5142 * replace.el (occur-menu-map): Add menu item for `occur-edit-mode'.
5143
19e9789e
JL
51442012-02-22 Juri Linkov <juri@jurta.org>
5145
5146 * international/mule-cmds.el (read-char-by-name): Use \` and \'.
5147 (ucs-insert): Doc fix. Check for hex digits in the string.
5148 Don't display `nil' in the error message. (Bug#10857)
5149
f41ce09d
AM
51502012-02-22 Alan Mackenzie <acm@muc.de>
5151
7a71b18d 5152 * progmodes/cc-mode.el: Revert change #2012-02-06T22:08:41Z!larsi@gnus.org from 2012-02-06.
f41ce09d 5153
ac2eceee
GM
51542012-02-22 Glenn Morris <rgm@gnu.org>
5155
5156 * ffap.el (ffap-c-path):
5157 * man.el (Man-header-file-path): Handle multiarch. (Bug#10702)
5158
abd1f678
CY
51592012-02-22 Chong Yidong <cyd@gnu.org>
5160
5161 * custom.el (load-theme): Doc fix.
5162
f25aef2e
GM
51632012-02-22 Glenn Morris <rgm@gnu.org>
5164
5165 * dired-x.el (dired-guess-shell-alist-default):
5166 Remove escape sequences from nroff output. (Bug#172)
5167
5f8dc2ca
GM
51682012-02-21 Glenn Morris <rgm@gnu.org>
5169
6ff86ec4
GM
5170 * vc/emerge.el (emerge-defvar-local):
5171 Set `permanent-local' property rather than unused `preserved'.
5172
be3223a3 5173 * textmodes/picture.el (picture-delete-char): New alias.
5f8dc2ca
GM
5174 (picture-mode-map): Use it. (Bug#10860)
5175 (picture-mode): Doc fix.
5176
3fe58f4f
JB
51772012-02-21 Juanma Barranquero <lekktu@gmail.com>
5178
5179 * newcomment.el (uncomment-region-default): Remove unused binding.
5180
f9a998c3
GM
51812012-02-21 Glenn Morris <rgm@gnu.org>
5182
5183 * textmodes/picture.el (picture-motion, picture-motion-reverse)
5184 (picture-self-insert, picture-tab-chars): Doc fix.
5185 (picture-mode-map): Fix C-a, C-e.
5186
c6029348
GM
51872012-02-20 Glenn Morris <rgm@gnu.org>
5188
5189 * emacs-lisp/authors.el (authors-aliases): Add another entry.
5190
ab1ce9d7
LL
51912012-02-20 Leo Liu <sdl.web@gmail.com>
5192
5193 * icomplete.el (icomplete-completions): Check FROM arg before
5194 passing to substring (Bug#10850).
5195
0fd40f89
CY
51962012-02-19 Chong Yidong <cyd@gnu.org>
5197
5198 * comint.el: Require ansi-color.
5199 (comint-output-filter-functions): Add ansi-color-process-output.
5200
5201 * ansi-color.el: Don't set comint-output-filter-functions; it is
5202 now in the initial value defined in comint.el.
5203 (ansi-color-apply-face-function): New variable.
5204 (ansi-color-apply-on-region): Use it.
5205 (ansi-color-apply-overlay-face): New function.
5206
5207 * shell.el (shell): No need to require ansi-color.
5208 (shell-mode): Use ansi-color-apply-face-function to highlight
5209 color escapes using font-lock-face property (Bug#10835).
5210
20af2394
CY
52112012-02-19 Chong Yidong <cyd@gnu.org>
5212
5213 * vc/ediff-init.el (ediff-strip-mode-line-format): Handle non-list
5214 mode-line formats (Bug#10839).
5215
e23a3fbe
GM
52162012-02-18 Glenn Morris <rgm@gnu.org>
5217
b474519e
GM
5218 * mail/rmail.el (rmail-dont-reply-to-names): Mark as obsolete.
5219
5220 * mail/undigest.el (unforward-rmail-message): Doc fix.
5221
e23a3fbe
GM
5222 * saveplace.el (save-place-ignore-files-regexp): Add :version.
5223
57939ff4
EZ
52242012-02-18 Eli Zaretskii <eliz@gnu.org>
5225
5226 * international/characters.el (script-list): Sync with the latest
5227 Unicode Character Database.
5228
0c23686e
AS
52292012-02-18 Andreas Schwab <schwab@linux-m68k.org>
5230
5231 * international/titdic-cnv.el: Remove duplicate coding tag.
5232 * language/cham.el: Likewise.
5233 * language/tai-viet.el: Likewise.
5234
6818b449
GM
52352012-02-18 Glenn Morris <rgm@gnu.org>
5236
5237 * calendar/cal-menu.el (cal-menu-diary-menu, cal-menu-goto-menu):
5238 * calendar/calendar.el (diary-file, diary-bahai-entry-symbol)
5239 (calendar-bahai-all-holidays-flag, calendar-other-dates):
5240 * calendar/diary-lib.el (diary-abbreviated-year-flag):
5241 * calendar/holidays.el (holiday-bahai-holidays)
5242 (calendar-holidays, list-holidays):
5243 Use utf-8 Bahá'í in doc-strings, menus, etc.
5244
0311a3fc
TH
52452012-02-17 Tassilo Horn <tassilo@member.fsf.org>
5246
5247 * saveplace.el (save-place-ignore-files-regexp): New variable
5248 allowing for excluding files from saving their location of point.
5249 The default value matches the temporary commit message editing
5250 files from Git, SVN, Bazaar, and Mercurial.
5251 (save-place-to-alist): Use it.
5252
eb864a71
LM
52532012-02-17 Lawrence Mitchell <wence@gmx.li>
5254 Stefan Monnier <monnier@iro.umontreal.ca>
5255
5256 * newcomment.el (uncomment-region-default): Don't leave extra space
5257 when an arg is provided (bug#8150).
5258
ee0ce425
TZ
52592012-02-17 Teodor Zlatanov <tzz@lifelogs.com>
5260
eb864a71 5261 * net/gnutls.el (gnutls-trustfiles): Fix Cygwin bundle location.
ee0ce425 5262
95ddf442
GM
52632012-02-17 Glenn Morris <rgm@gnu.org>
5264
5265 * net/socks.el: Require network-stream. (Bug#10599)
5266
48dd1e39 52672012-02-17 Kenichi Handa <handa@m17n.org>
c406be43
KH
5268
5269 * international/charprop.el:
5270 * international/uni-name.el:
5271 * international/uni-old-name.el:
5272 * international/uni-comment.el: Regenerate.
5273
d68cd087
GM
52742012-02-16 Glenn Morris <rgm@gnu.org>
5275
5276 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits):
5277 Interactively in calendar buffer, give an error if not on a date.
5278
13932042
GM
52792012-02-15 Glenn Morris <rgm@gnu.org>
5280
5281 * shell.el (shell-delimiter-argument-list):
5282 Revert 2011-02-17 change. (Bug#8027)
5283
c3a70e2b
CY
52842012-02-15 Chong Yidong <cyd@gnu.org>
5285
60236b0d
CY
5286 * minibuffer.el (completion-at-point-functions): Doc fix.
5287
c3a70e2b
CY
5288 * custom.el (defcustom): Doc fix; note use of defvar.
5289
9f26dc24
GM
52902012-02-15 Glenn Morris <rgm@gnu.org>
5291
5292 * mail/smtpmail.el (smtpmail-smtp-user, smtpmail-stream-type):
5293 Doc fixes.
5294
6546b134
GM
52952012-02-14 Glenn Morris <rgm@gnu.org>
5296
5297 * mail/smtpmail.el (smtpmail-query-smtp-server): Give it a doc.
5298
d29b2b4c
LI
52992012-02-14 Lars Ingebrigtsen <larsi@gnus.org>
5300
5301 * mail/smtpmail.el (smtpmail-query-smtp-server): Fix typo in the
5302 way the ports list is computed.
835bdcba
LI
5303 (smtpmail-query-smtp-server): Prompt the user for a port number if
5304 we can't connect to any of the standard ports (bug#10810).
d29b2b4c 5305
08dcdbc9
TZ
53062012-02-14 Teodor Zlatanov <tzz@lifelogs.com>
5307
5308 * net/gnutls.el (gnutls-trustfiles): Add Cygwin location.
5309
2605051a
GM
53102012-02-13 Glenn Morris <rgm@gnu.org>
5311
5312 * minibuffer.el (read-file-name): Doc fix. (Bug#10798)
5313
7ee99f32
TZ
53142012-02-13 Teodor Zlatanov <tzz@lifelogs.com>
5315
5316 * net/gnutls.el (gnutls-trustfiles): New variable.
5317 (gnutls-negotiate): Use it.
5318
5f0af64f
LI
53192012-02-13 Lars Ingebrigtsen <larsi@gnus.org>
5320
5321 * simple.el (mail-user-agent): Mention that `gnus-user-agent' only
5322 does its stuff if Gnus is running.
5323
c14fcc95
AM
53242012-02-13 Alan Mackenzie <acm@muc.de>
5325
5326 Fix a loop in c-set-fl-decl-start.
5327
7a71b18d 5328 * progmodes/cc-engine.el (c-set-fl-decl-start): Add a check that
c14fcc95
AM
5329 c-backward-syntactic-ws actually moves backwards.
5330
142b4d90
LL
53312012-02-13 Leo Liu <sdl.web@gmail.com>
5332
5333 * net/rcirc.el (rcirc-markup-attributes): Move point to the
5334 beginning so that all \C-o chars are removed.
5335
fa9958a6
TZ
53362012-02-12 Teodor Zlatanov <tzz@lifelogs.com>
5337
dc9924b8 5338 * net/gnutls.el (gnutls-algorithm-priority): Add missing :group tag.
fa9958a6 5339
0bc5886a
AM
53402012-02-12 Alan Mackenzie <acm@muc.de>
5341
5342 Fix infinite loop with long macros.
4d6769e1 5343 * progmodes/cc-engine.el (c-state-safe-place): Handle macros properly.
0bc5886a 5344
d4bd55e7
CY
53452012-02-12 Chong Yidong <cyd@gnu.org>
5346
5347 * window.el (display-buffer): Doc fix (Bug#10785).
5348
66f3fe22
GM
53492012-02-12 Glenn Morris <rgm@gnu.org>
5350
bd7da63e
GM
5351 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
5352 (x-disown-selection-internal, x-get-selection-internal):
5353 Sync docs with the xselect.c versions.
5354
66f3fe22
GM
5355 * allout-widgets.el: Add missing license notice.
5356
3e0d2fa7
GM
53572012-02-11 Glenn Morris <rgm@gnu.org>
5358
cfecdf09
GM
5359 * select.el (x-get-selection-internal, x-own-selection-internal)
5360 (x-disown-selection-internal):
5361 * x-dnd.el (x-get-selection-internal): Update declarations.
5362
6d216d7f
GM
5363 * vc/log-view.el (vc-diff-internal): Remove unneeded declaration.
5364
2bed3f04
GM
5365 * window.el (window-sides-slots):
5366 * tool-bar.el (tool-bar-position):
5367 * term/xterm.el (xterm-extra-capabilities):
5368 * ses.el (ses-self-reference-early-detection):
5369 * progmodes/verilog-mode.el (verilog-auto-declare-nettype)
5370 (verilog-auto-wire-type)
5371 (verilog-auto-delete-trailing-whitespace)
5372 (verilog-auto-reset-blocking-in-non, verilog-auto-inst-sort)
5373 (verilog-auto-tieoff-declaration):
5374 * progmodes/sql.el (sql-login-hook, sql-ansi-statement-starters)
5375 (sql-oracle-statement-starters, sql-oracle-scan-on):
5376 * progmodes/prolog.el (prolog-align-comments-flag)
5377 (prolog-indent-mline-comments-flag, prolog-object-end-to-0-flag)
5378 (prolog-left-indent-regexp, prolog-paren-indent-p)
5379 (prolog-paren-indent, prolog-parse-mode, prolog-keywords)
5380 (prolog-types, prolog-mode-specificators)
5381 (prolog-determinism-specificators, prolog-directives)
5382 (prolog-electric-newline-flag, prolog-hungry-delete-key-flag)
5383 (prolog-electric-dot-flag)
5384 (prolog-electric-dot-full-predicate-template)
5385 (prolog-electric-underscore-flag, prolog-electric-tab-flag)
5386 (prolog-electric-if-then-else-flag, prolog-electric-colon-flag)
5387 (prolog-electric-dash-flag, prolog-old-sicstus-keys-flag)
5388 (prolog-program-switches, prolog-prompt-regexp)
5389 (prolog-debug-on-string, prolog-debug-off-string)
5390 (prolog-trace-on-string, prolog-trace-off-string)
5391 (prolog-zip-on-string, prolog-zip-off-string)
5392 (prolog-use-standard-consult-compile-method-flag)
5393 (prolog-use-prolog-tokenizer-flag, prolog-imenu-flag)
5394 (prolog-imenu-max-lines, prolog-info-predicate-index)
5395 (prolog-underscore-wordchar-flag, prolog-use-sicstus-sd)
5396 (prolog-char-quote-workaround):
5397 * progmodes/cc-vars.el (c-defun-tactic):
5398 * net/tramp.el (tramp-encoding-command-interactive)
5399 (tramp-local-end-of-line):
5400 * net/soap-client.el (soap-client):
5401 * net/netrc.el (netrc-file):
5402 * net/gnutls.el (gnutls):
5403 * minibuffer.el (completion-category-overrides)
5404 (completion-cycle-threshold)
5405 (completion-pcm-complete-word-inserts-delimiters):
5406 * man.el (Man-name-local-regexp):
5407 * mail/feedmail.el (feedmail-display-full-frame):
5408 * international/characters.el (glyphless-char-display-control):
5409 * eshell/em-ls.el (eshell-ls-date-format):
5410 * emacs-lisp/cl-indent.el (lisp-lambda-list-keyword-alignment)
5411 (lisp-lambda-list-keyword-parameter-indentation)
5412 (lisp-lambda-list-keyword-parameter-alignment):
5413 * doc-view.el (doc-view-image-width, doc-view-unoconv-program):
5414 * dired-x.el (dired-omit-verbose):
5415 * cus-theme.el (custom-theme-allow-multiple-selections):
5416 * calc/calc.el (calc-highlight-selections-with-faces)
5417 (calc-lu-field-reference, calc-lu-power-reference)
5418 (calc-note-threshold):
5419 * battery.el (battery-mode-line-limit):
5420 * arc-mode.el (archive-7z-extract, archive-7z-expunge)
5421 (archive-7z-update):
5422 * allout.el (allout-prefixed-keybindings)
5423 (allout-unprefixed-keybindings)
5424 (allout-inhibit-auto-fill-on-headline)
5425 (allout-flattened-numbering-abbreviation):
5426 * allout-widgets.el (allout-widgets-auto-activation)
5427 (allout-widgets-icons-dark-subdir)
5428 (allout-widgets-icons-light-subdir, allout-widgets-icon-types)
5429 (allout-widgets-theme-dark-background)
5430 (allout-widgets-theme-light-background)
5431 (allout-widgets-item-image-properties-emacs)
5432 (allout-widgets-item-image-properties-xemacs)
5433 (allout-widgets-run-unit-tests-on-load)
5434 (allout-widgets-time-decoration-activity)
5435 (allout-widgets-hook-error-post-time)
5436 (allout-widgets-track-decoration):
5437 Add missing :version tags to new defcustoms and defgroups.
5438
5fec1b8e
GM
5439 * progmodes/sql.el (sql-ansi-statement-starters)
5440 (sql-oracle-statement-starters): Add custom type.
5441
3e0d2fa7
GM
5442 * progmodes/prolog.el: Remove leading '*' from defcustom docs.
5443 (prolog-system-version): Give it a type.
5444
90b671e2
EZ
54452012-02-11 Eli Zaretskii <eliz@gnu.org>
5446
5447 * term/pc-win.el (x-select-text, x-selection-owner-p)
5448 (x-own-selection-internal, x-disown-selection-internal)
5449 (x-get-selection-internal): Sync doc strings and argument lists
5450 with xselect.c, common-win.el and x-win.el. (Bug#10783)
5451
5eac0c02
LL
54522012-02-11 Leo Liu <sdl.web@gmail.com>
5453
5454 * progmodes/python.el (python-end-of-statement): Fix infinite
5455 loop. (Bug#10788)
5456
f82cb659
GM
54572012-02-10 Glenn Morris <rgm@gnu.org>
5458
5459 * international/mule-cmds.el (unify-8859-on-encoding-mode)
5460 (unify-8859-on-decoding-mode): Properly mark as obsolete.
5461
cc26d239
LI
54622012-02-10 Lars Ingebrigtsen <larsi@gnus.org>
5463
5464 * mail/emacsbug.el (report-emacs-bug-hook): Query the user first
5465 about SMTP before checking the From header.
5466
91027d08 5467 * mail/sendmail.el (sendmail-query-user-about-smtp): Refactor out
cc26d239
LI
5468 into own function for reuse by emacsbug.el.
5469
1be3ca5a
LL
54702012-02-10 Leo Liu <sdl.web@gmail.com>
5471
5472 * subr.el (condition-case-unless-debug): Rename from
5473 condition-case-no-debug. All callers changed.
5474 (with-demoted-errors): Fix caller.
5475
5476 * vc/diff-mode.el (diff-auto-refine-mode, diff-hunk):
5477 * nxml/rng-valid.el (rng-do-some-validation):
5478 * emacs-lisp/package.el (package-refresh-contents)
5479 (package-menu-execute):
5480 * desktop.el (desktop-create-buffer):
91027d08 5481 * font-lock.el (lisp-font-lock-keywords-2): Caller changed.
1be3ca5a 5482
b011fbfe
GM
54832012-02-10 Glenn Morris <rgm@gnu.org>
5484
b2096d72
GM
5485 * textmodes/bibtex.el:
5486 Add missing :version tags for new/changed defcustoms.
5487
b011fbfe
GM
5488 * files.el (remote-file-name-inhibit-cache): Doc fixes.
5489
4c7e65bf
LI
54902012-02-09 Lars Ingebrigtsen <larsi@rusty>
5491
5492 * mail/smtpmail.el (smtpmail-user-mail-address): New function.
5493 (smtpmail-via-smtp): Use it, or fall back on the From address.
5494 (smtpmail-send-it): Ditto.
5495
f3934f6f
SM
54962012-02-09 Stefan Monnier <monnier@iro.umontreal.ca>
5497
5498 * emacs-lisp/bytecomp.el (byte-compile-file-form-defvar):
5499 Don't fallback on byte-compile-defvar. Optimize (defvar foo) away.
5500 (byte-compile-tmp-var): New const.
5501 (byte-compile-defvar): Use it to minimize .elc size.
5502 Just use `defvar' rather than simulate it (bug#10761).
5503
a075a2c5
GM
55042012-02-09 Glenn Morris <rgm@gnu.org>
5505
cf3aa21b
GM
5506 * files.el (rename-uniquely): Doc fix. (Bug#3806)
5507
354998cd
GM
5508 * progmodes/cc-guess.el (c-guess-offset-threshold, c-guess-region-max):
5509 Add :version tags.
5510
dc9924b8
SM
5511 * progmodes/compile.el (compilation-error-screen-columns)
5512 (compilation-first-column, compilation-filter-start): Doc fixes.
83274125 5513
dab3703d
GM
5514 * vc/log-view.el (log-view-toggle-entry-display):
5515 * vc/vc.el (vc-merge, vc-pull): Doc fixes.
5516
3f88cd72
GM
5517 * mail/emacsbug.el (report-emacs-bug-can-use-osx-open)
5518 (report-emacs-bug-can-use-xdg-email):
5519 (report-emacs-bug-insert-to-mailer): Doc fixes.
5520 (report-emacs-bug): Message fix.
5521
d95b247d
GM
5522 * net/browse-url.el (browse-url-can-use-xdg-open)
5523 (browse-url-xdg-open): Doc fixes.
5524
a075a2c5
GM
5525 * electric.el (electric-indent-mode, electric-pair-mode)
5526 (electric-layout-rules, electric-layout-mode): Doc fixes.
5527 (electric-pair-pairs, electric-pair-skip-self): Add :version tags.
5528
ffb6157e
MR
55292012-02-08 Martin Rudalics <rudalics@gmx.at>
5530
5531 * server.el (server-unselect-display): Don't inadvertently kill
5532 the current buffer. (Bug#10729)
5533
e1ac4066
GM
55342012-02-08 Glenn Morris <rgm@gnu.org>
5535
34e8a2da
GM
5536 * progmodes/sql.el (sql-port, sql-connection-alist, sql-list-all)
5537 (sql-list-table): Doc fixes.
5538
b4ac6e8c
GM
5539 * image-mode.el (image-transform-minor-mode-map, image-transform-mode):
5540 Comment out (does nothing).
5541
e1ac4066
GM
5542 * completion.el (dynamic-completion-mode):
5543 * dirtrack.el (dirtrack-debug-mode):
5544 * electric.el (electric-layout-mode):
5545 * epa-mail.el (epa-mail-mode, epa-global-mail-mode):
5546 * face-remap.el (text-scale-mode, buffer-face-mode):
5547 * iimage.el (iimage-mode):
5548 * image-mode.el (image-transform-mode):
5549 * minibuffer.el (completion-in-region-mode):
5550 * scroll-lock.el (scroll-lock-mode):
5551 * simple.el (next-error-follow-minor-mode):
5552 * tar-mode.el (tar-subfile-mode):
5553 * tooltip.el (tooltip-mode):
5554 * vcursor.el (vcursor-use-vcursor-map):
5555 * wid-browse.el (widget-minor-mode):
5556 * emulation/tpu-edt.el (tpu-edt-mode):
5557 * emulation/tpu-extras.el (tpu-cursor-free-mode):
5558 * international/iso-ascii.el (iso-ascii-mode):
5559 * language/thai-util.el (thai-word-mode):
5560 * mail/supercite.el (sc-minor-mode):
5561 * net/goto-addr.el (goto-address-mode):
5562 * net/rcirc.el (rcirc-multiline-minor-mode, rcirc-track-minor-mode):
5563 * progmodes/cwarn.el (cwarn-mode):
5564 * progmodes/flymake.el (flymake-mode):
5565 * progmodes/glasses.el (glasses-mode):
5566 * progmodes/hideshow.el (hs-minor-mode):
5567 * progmodes/pascal.el (pascal-outline-mode):
5568 * textmodes/enriched.el (enriched-mode):
5569 * vc/smerge-mode.el (smerge-mode):
5570 Doc fixes (minor mode argument).
5571
5e0d957f
EZ
55722012-02-07 Eli Zaretskii <eliz@gnu.org>
5573
5574 * ls-lisp.el (ls-lisp-sanitize): New function.
5575 (ls-lisp-insert-directory): Use it to fix or remove any elements
5576 in file-alist with missing attributes. (Bug#4673)
5577
98d7371e
AM
55782012-02-07 Alan Mackenzie <acm@muc.de>
5579
5580 Fix spurious recognition of c-in-knr-argdecl.
5581
5582 * progmodes/cc-engine.el (c-in-knr-argdecl): Check for '=' in a
5583 putative K&R region.
5584
667ced3a
AM
55852012-02-07 Alan Mackenzie <acm@muc.de>
5586
eb864a71
LM
5587 * progmodes/cc-engine.el (c-forward-objc-directive):
5588 Prevent looping in "#pragma mark @implementation".
667ced3a 5589
5b77774d
MA
55902012-02-07 Michael Albinus <michael.albinus@gmx.de>
5591
5592 * notifications.el (notifications-on-closed-signal): Make `reason'
5593 optional. (Bug#10744)
5594
af008560
GM
55952012-02-07 Glenn Morris <rgm@gnu.org>
5596
60d47423
GM
5597 * emacs-lisp/easy-mmode.el (define-minor-mode):
5598 Doc fixes for the macro and the mode it defines.
5599
dd605cc4
GM
5600 * image.el (imagemagick-types-inhibit): Doc fix.
5601
af008560
GM
5602 * cus-start.el (imagemagick-render-type): Add it.
5603
5cc59a37
LI
56042012-02-06 Lars Ingebrigtsen <larsi@gnus.org>
5605
4d6769e1
JB
5606 * progmodes/cc-mode.el (c-standard-font-lock-fontify-region-function):
5607 Set the default at load time, too, so that `font-lock-fontify-buffer'
5608 can be called without setting up the entire mode first. This fixes
5609 a bug in `mm-inline-text' with C MIME parts.
5cc59a37 5610
9a6dd747
CY
56112012-02-06 Chong Yidong <cyd@gnu.org>
5612
2d16b285
CY
5613 * simple.el (list-processes--refresh): Delete exited processes
5614 (Bug#8094).
5615
171e9b6e
CY
5616 * comint.el (comint-next-prompt): next-single-char-property-change
5617 and prev-single-char-property-change never return nil (Bug#8657).
5618
9a6dd747
CY
5619 * custom.el (defcustom): Doc fix (Bug#9711).
5620
aa4589a7
CY
56212012-02-05 Chong Yidong <cyd@gnu.org>
5622
5c2a252f
CY
5623 * cus-edit.el (custom-variable-reset-backup): Quote the value
5624 before storing it in the customized-value property (Bug#6712).
4aab9006 5625 (custom-display): Add a customization type tag.
983b9602 5626 (custom-buffer-create-internal): Improve tooltip message.
5c2a252f 5627
aa4589a7
CY
5628 * wid-edit.el (widget-field-value-get): New optional arg to
5629 suppress trailing whitespace truncation.
5630 (character): Use it (Bug#2689).
5631
1ff980ae
AS
56322012-02-05 Andreas Schwab <schwab@linux-m68k.org>
5633
5634 * progmodes/gud.el (gud-pv): Use pv instead of pv1.
5635 * progmodes/gdb-mi.el (gud-pp): Use pp instead of pp1.
5636
03988c98
CY
56372012-02-05 Chong Yidong <cyd@gnu.org>
5638
eeb6cc88
CY
5639 * cus-edit.el (custom-variable-value-create): For mismatched
5640 types, show the current value (Bug#7600).
5641
03988c98
CY
5642 * custom.el (defcustom): Doc fix.
5643
f8cdeef0
GM
56442012-02-05 Glenn Morris <rgm@gnu.org>
5645
5646 * font-lock.el (lisp-font-lock-keywords-2): Add with-wrapper-hook.
5647
0696d255
JB
56482012-02-05 Juanma Barranquero <lekktu@gmail.com>
5649
5650 * emacs-lisp/pp.el (pp-to-string): Use `with-temp-buffer'.
5651 (pp-buffer): Use `ignore-errors', `looking-at-p'.
5652 (pp-last-sexp): Use `looking-at-p'.
5653
34c99998
GM
56542012-02-04 Glenn Morris <rgm@gnu.org>
5655
8f05da42
GM
5656 * files.el (revert-buffer):
5657 Doc fix (mention revert-buffer-in-progress-p).
5658
f160676e
GM
5659 * emacs-lisp/ert-x.el (ert-simulate-command):
5660 Check deferred-action-list (which is obsolete) is bound.
5661
c7291ad9
GM
5662 * subr.el (with-wrapper-hook): Doc fixes.
5663
34c99998
GM
5664 * simple.el (filter-buffer-substring-functions)
5665 (buffer-substring-filters, filter-buffer-substring): Doc fixes.
5666
6283a7d3
LL
56672012-02-04 Lars Ljung <lars@matholka.se> (tiny change)
5668
5669 * eshell/esh-ext.el (eshell-windows-shell-file): Match "cmdproxy"
5670 anywhere in shell-file-name, not just at the beginning. (Bug#10523)
5671
e96e3013
LL
56722012-02-04 Leo Liu <sdl.web@gmail.com>
5673
5674 * emacs-lisp/smie.el: Fix dead link (Bug#10711).
5675
8ded50f2
GM
56762012-02-04 Glenn Morris <rgm@gnu.org>
5677
82ff1d13
GM
5678 * image.el (image-extension-data): Add obsolete alias.
5679
987a0a16
GM
5680 * isearch.el (isearch-update): Doc fix.
5681
ea32ef46
GM
5682 * facemenu.el (list-colors-display): Doc fix (minor rephrasing).
5683
8ded50f2
GM
5684 * ido.el (ido-find-file): Doc fix (ido-toggle-vc not on any key).
5685
eea14f31
GM
56862012-02-03 Glenn Morris <rgm@gnu.org>
5687
5688 * image.el (image-animated-p): Doc fix. Use image-animated-types.
5689 (image-animate-timeout): Doc fix.
5690
5691 * image-mode.el (image-animate-loop, image-toggle-animation): Doc fixes.
5692
12f381b7
GM
56932012-02-02 Glenn Morris <rgm@gnu.org>
5694
953cebf5
GM
5695 * server.el (server-auth-dir): Doc fix.
5696 (server-eval-at): Doc fix. Give an explicit error if !server-use-tcp.
5697
12f381b7
GM
5698 * subr.el (run-mode-hooks): Doc fix.
5699
953a8c3b
JL
57002012-02-02 Juri Linkov <juri@jurta.org>
5701
5702 * image-mode.el (image-toggle-display-image): Remove tautological
5703 `major-mode' from the `derived-mode-p' test.
5704
c5d3843c
KH
57052012-02-02 Kenichi Handa <handa@m17n.org>
5706
9f6e692e 5707 * composite.el (compose-region): Cancel previous change.
c5d3843c 5708
159462d4 57092012-02-02 Kenichi Handa <handa@m17n.org>
d2a51fd7
KH
5710
5711 * composite.el (compose-region, compose-string): Signal error for
5712 a null string component (Bug#6988).
5713
9f562668
CY
57142012-02-01 Chong Yidong <cyd@gnu.org>
5715
e2cef717
CY
5716 * view.el (view-buffer-other-window, view-buffer-other-frame):
5717 Handle special modes like view-buffer (Bug#10650).
5718 (view-buffer): Simplify.
5719
9f562668
CY
5720 * frame.el (set-frame-font): Tweak meaning of third argument.
5721
9f6e692e
JB
5722 * dynamic-setting.el (font-setting-change-default-font):
5723 Use set-frame-font (Bug#9982).
9f562668 5724
781acb9f
GM
57252012-02-01 Glenn Morris <rgm@gnu.org>
5726
6035be52
GM
5727 * progmodes/compile.el (compilation-internal-error-properties):
5728 Respect compilation-first-column in the "*compilation*" buffer.
5729
781acb9f
GM
5730 * emacs-lisp/easy-mmode.el (define-minor-mode):
5731 Relax :variable's test for a named function.
5732
abbceb00
AM
57332012-01-31 Alan Mackenzie <acm@muc.de>
5734
5735 * progmodes/cc-engine.el (c-guess-basic-syntax): CASE 5B.1: Fix an
5736 off by one error.
5737
fce3fdeb
CY
57382012-01-31 Chong Yidong <cyd@gnu.org>
5739
5740 * frame.el (set-frame-font): New arg ALL-FRAMES.
5741
5742 * menu-bar.el (menu-set-font): Use set-frame-font.
5743
5744 * faces.el (face-spec-reset-face): Don't apply unspecified
5745 attribute values to the default face.
5746
47893581
JB
57472012-01-31 Juanma Barranquero <lekktu@gmail.com>
5748
5749 * progmodes/cwarn.el (cwarn): Remove dead link.
5750 (cwarn-configuration, cwarn-verbose, cwarn-mode-text, cwarn-load-hook):
5751 Remove * from defcustom docstrings.
5752 (turn-on-cwarn-mode): Make obsolete.
5753 (c-at-toplevel-p): Remove compatibility code for Emacs 20.3 and older.
5754 (turn-on-cwarn-mode-if-enabled): Call `cwarn-mode'.
5755
e58e988a
GM
57562012-01-31 Glenn Morris <rgm@gnu.org>
5757
60dc2671 5758 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix.
6c9b47ae 5759 Fix :variable handling of mode a symbol not equal to modefun.
60dc2671 5760 Allow named functions to be used as the cdr of :variable.
e58e988a 5761
7a3f511d
GM
57622012-01-30 Glenn Morris <rgm@gnu.org>
5763
5764 * emacs-lisp/authors.el (authors-fixed-entries):
5765 Remove reference to deleted file rnewspost.el.
5766
cb882333
JB
57672012-01-29 Juanma Barranquero <lekktu@gmail.com>
5768
5769 * window.el (window-with-parameter): Remove unused variable `windows'.
5770 (window--side-check): Remove unused variable `code'.
5771 (window--resize-siblings): Remove unused variable `first'.
5772 (adjust-window-trailing-edge): Remove unused variable `failed'.
5773 (window-deletable-p, window--delete): Remove unused variable `buffer'.
5774 Use `let', not `let*'.
5775 (balance-windows-2): Remove unused variable `found'.
5776 (window--state-put-2): Remove unused variable `splits'.
5777 (window-state-put): Remove unused variable `selected'.
5778 (same-window-p): Use `string-match-p'.
5779 (display-buffer-assq-regexp): Remove unused variable `value'.
5780 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
5781 Mark argument ALIST as ignored.
5782 (pop-to-buffer): Remove unused variable `old-window'.
5783
907201af
EZ
57842012-01-29 Eli Zaretskii <eliz@gnu.org>
5785
5786 * jka-cmpr-hook.el (jka-compr-compression-info-list): Support .lz
5787 and .lzma compressed files.
5788
ea162670
CY
57892012-01-29 Chong Yidong <cyd@gnu.org>
5790
5b95ee8a
CY
5791 * frame.el (window-system-default-frame-alist): Doc fix.
5792
ea162670
CY
5793 * dynamic-setting.el (font-setting-change-default-font): Don't
5794 change the default face if SET-FONT argument is non-nil (Bug#9982).
5795
d6e6f4b1
SB
57962012-01-29 Samuel Bronson <naesten@gmail.com> (tiny change)
5797
5798 * custom.el (defcustom): Add doc link to Lisp manual (Bug#10635).
5799
0f29fa41 58002012-01-29 Syver Enstad <syver.enstad@cisco.com> (tiny change)
6b25e4e2
SE
5801
5802 * progmodes/gud.el (pdb): Give pdb full paths, to allow setting
5803 breakpoints in files outside current directory (Bug#6098).
5804
db174434
CY
58052012-01-29 Chong Yidong <cyd@gnu.org>
5806
6b25e4e2
SE
5807 * progmodes/python.el: Require ansi-color at top-level.
5808
6df6ae42
JB
5809 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-abbrev-table):
5810 Define and use in Emacs Lisp mode (Bug#9360).
db174434
CY
5811 (lisp-mode-abbrev-table): Add doc.
5812 (lisp-mode-variables): Don't set local-abbrev-table.
5813 (lisp-interaction-mode): Use emacs-lisp-mode-abbrev-table.
5814
e70ee681
RW
58152012-01-28 Roland Winkler <winkler@gnu.org>
5816
5817 * textmodes/bibtex.el (bibtex-vec-incr): Fix docstring.
5818
ace88aa2
RW
58192012-01-28 Roland Winkler <winkler@gnu.org>
5820
5821 * textmodes/bibtex.el (bibtex-entry-alist): New function.
5822 (bibtex-set-dialect): Use it. Either set global values of
5823 dialect-dependent variables or bind these variables buffer-locally
5824 (Bug#10254).
5825 (bibtex-mode): Call bibtex-set-dialect via
5826 hack-local-variables-hook.
eb864a71
LM
5827 (bibtex-dialect): Update docstring.
5828 Add safe-local-variable predicate.
ace88aa2
RW
5829 (bibtex-entry-alist, bibtex-field-alist): Initialize via
5830 bibtex-set-dialect.
5831 (bibtex-mode-map): Define menu for each dialect.
5832 (bibtex-entry): Fix docstring.
5833
93376c5b
CY
58342012-01-28 Chong Yidong <cyd@gnu.org>
5835
5836 * eshell/esh-arg.el (eshell-quote-argument): New function.
5837
5838 * eshell/esh-ext.el (eshell-invoke-batch-file):
5839 * eshell/em-unix.el (eshell/cat, eshell/du): Use it to quote the
5840 first arg to eshell-parse-command (Bug#10523).
5841
4372494f
DA
58422012-01-28 Drew Adams <drew.adams@oracle.com>
5843
5844 * net/ange-ftp.el (ange-ftp-canonize-filename): Check, that
5845 `default-directory' is non-nil.
5846
4d4ec1f8
EZ
58472012-01-28 Eli Zaretskii <eliz@gnu.org>
5848
5849 * mail/emacsbug.el (report-emacs-bug): Fill the potentially long
5850 line that displays system-configuration-options. (Bug#9924)
5851
7c188927
DA
58522012-01-28 Drew Adams <drew.adams@oracle.com>
5853
5854 * descr-text.el (describe-char): Show information about POS, in
5855 addition to information about the character at POS. Improve and
5856 update the doc string. Change "code point" to "code point in
5857 charset", to avoid confusion with the character's Unicode code
5858 point shown above that. (Bug#10129)
5859
e0da685a
EZ
58602012-01-28 Eli Zaretskii <eliz@gnu.org>
5861
5862 * descr-text.el (describe-char): Show the raw character, not only
5863 its display form at POS. Suggested by Kenichi Handa <handa@m17n.org>.
5864 See http://lists.gnu.org/archive/html/emacs-devel/2012-01/msg00760.html
5865 for the reasons.
5866
70550acf
PH
58672012-01-28 Phil Hagelberg <phil@hagelb.org>
5868
eb864a71
LM
5869 * emacs-lisp/package.el (package-install):
5870 Run package-refresh-contents if there is no archive yet (Bug#9798).
70550acf 5871
0ce8e868
CY
58722012-01-28 Chong Yidong <cyd@gnu.org>
5873
cb882333
JB
5874 * emacs-lisp/package.el (package-maybe-load-descriptor):
5875 New function, split from package-maybe-load-descriptor.
0ce8e868
CY
5876 (package-maybe-load-descriptor): Use it.
5877 (package-download-transaction): Fully load required packages
5878 inside the loop, so that `require' calls work (Bug#10593).
5879 (package-install): No need to call package-initialize now.
5880
2e7f3bea
CY
58812012-01-28 Chong Yidong <cyd@gnu.org>
5882
6e9bad14
CY
5883 * simple.el (deactivate-mark): Doc fix (Bug#8614).
5884
f823b8ca
CY
5885 * tooltip.el (tooltip-mode): Doc fix.
5886 (tooltip-use-echo-area): Mark as obsolete (Bug#6595).
5887
2680c309
CY
5888 * frame.el (set-cursor-color): Doc fix (Bug#352).
5889
d7a9e63b
CY
5890 * mail/rmail.el (rmail-start-mail): Add send-action again (Bug#10625).
5891 (rmail-mail-return): Switch to NEWBUF only if it is non-nil.
5892
2e7f3bea
CY
5893 * cus-edit.el (custom-buffer-create-internal): Fix search button
5894 action (Bug#10542).
2ae01800 5895 (customize-unsaved, customize-saved): Doc fix (Bug#10541).
2e7f3bea 5896
fc4f7a23
EW
58972012-01-27 Eduard Wiebe <usenet@pusto.de>
5898
5899 * dired.el (dired-mark-files-regexp):
5900 Include any subdirectory components. (Bug#10445)
5901
7dd37071
ML
59022012-01-27 Mike Lamb <mrlamb@gmail.com> (tiny change)
5903
5904 * pcmpl-unix.el (pcmpl-ssh-known-hosts):
5905 Handle [host]:port syntax. (Bug#10533)
5906
a268160b
AH
59072012-01-27 Alex Harsanyi <harsanyi@mac.com>
5908
5909 * xml.el (xml-parse-tag): Fix parsing of comments (Bug#10405).
5910
e43273ef
GM
59112012-01-26 Glenn Morris <rgm@gnu.org>
5912
5913 * dired-x.el (dired-bind-jump): Use ctl-x-map and ctl-x-4-map.
5914 * term.el (term-raw-escape-map): Use Control-X-prefix.
5915 * vc/vc-hooks.el (vc-prefix-map): Use ctl-x-map. (Bug#10566)
5916
1edf595d
MR
59172012-01-25 Martin Rudalics <rudalics@gmx.at>
5918
5919 * window.el (window-state-get, window--state-get-1): Don't deal
5920 with fixed-sizeness of windows. Simplify code.
5921
fa8eafef
JC
59222012-01-25 Jérémy Compostella <jeremy.compostella@gmail.com>
5923
6df6ae42
JB
5924 * window.el (window--state-get-1, window--state-put-2):
5925 Don't save and restore the mark.
fa8eafef 5926
0b21c100
CY
59272012-01-25 Chong Yidong <cyd@gnu.org>
5928
5929 * custom.el (custom-variable-p): Doc fix.
5930
5ae1a6c8
GM
59312012-01-25 Glenn Morris <rgm@gnu.org>
5932
40047858
GM
5933 * dired.el (dired-goto-file): Handle some of the more common
5934 characters that `ls -b' escapes. (Bug#10596)
5935
5ddce96c
GM
5936 * progmodes/compile.el (compilation-next-error-function):
5937 Respect compilation-first-column in the "*compilation*" buffer.
5938 * progmodes/grep.el (grep-first-column): New variable. (Bug#10594)
5939
5ae1a6c8
GM
5940 * vc/vc.el (vc-modify-change-comment): Scoping fix. (Bug#10513)
5941
b559f1a9
GM
59422012-01-24 Glenn Morris <rgm@gnu.org>
5943
5944 * pcmpl-gnu.el (pcomplete/tar): Handle " - ". (Bug#10457)
5945
6725d21a
JD
59462012-01-24 Julien Danjou <julien@danjou.info>
5947
5948 * color.el (color-rgb-to-hsl): Fix value computing.
5949 (color-hue-to-rgb): New function.
5950 (color-hsl-to-rgb): New function.
5951 (color-clamp, color-saturate-hsl, color-saturate-name)
5952 (color-desaturate-hsl, color-desaturate-name, color-lighten-hsl)
5953 (color-lighten-name, color-darken-hsl, color-darken-name): New function.
5954
70df4bbe
GM
59552012-01-24 Glenn Morris <rgm@gnu.org>
5956
5957 * vc/vc-rcs.el (vc-rcs-create-tag):
5958 * vc/vc-sccs.el (vc-sccs-create-tag):
5959 Fix argument spec to be what vc-create-tag expects. (Bug#10515)
5960
802a2ae2
ML
59612012-01-23 Mike Lamb <mrlamb@gmail.com> (tiny change)
5962
5963 * eshell/esh-util.el (eshell-read-hosts-file):
5964 Skip comment lines. (Bug#10549)
5965
d7128bb1
ML
5966 * eshell/em-unix.el (pcomplete/ssh): Remove. (Bug#10548)
5967
d1a5c3b4
JB
59682012-01-23 Juanma Barranquero <lekktu@gmail.com>
5969
2724d9c7
JB
5970 * subr.el (display-delayed-warnings): Doc fix.
5971 (collapse-delayed-warnings): New function to collapse identical
5972 adjacent warnings.
5973 (delayed-warnings-hook): Add it.
d1a5c3b4 5974
a5509865
MA
59752012-01-22 Michael Albinus <michael.albinus@gmx.de>
5976
5977 * net/tramp.el (tramp-action-login): Set connection property "login-as".
5978
a5509865
MA
5979 * net/tramp-sh.el (tramp-methods): Add user spec to "pscp" and "psftp".
5980 (tramp-default-user-alist): Don't add "pscp".
5981 (tramp-do-copy-or-rename-file-out-of-band): Use connection
5982 property "login-as", if set. (Bug#10530)
5983
cc6d5805
MA
59842012-01-21 Michael Albinus <michael.albinus@gmx.de>
5985
5986 * net/tramp-sh.el (tramp-default-user-alist): Don't add "plink",
5987 "plink1" and "psftp". (Bug#10530)
5988
59892012-01-21 Kenichi Handa <handa@m17n.org>
71784361
KH
5990
5991 * international/mule-cmds.el (prefer-coding-system): Show a
5992 warning message if the default value of file-name-coding-system
5993 was not changed.
5994
f0960428
JC
59952012-01-21 Jérémy Compostella <jeremy.compostella@gmail.com>
5996
cb882333
JB
5997 * windmove.el (windmove-reference-loc):
5998 Fix windmove-reference-loc miscalculation.
f0960428 5999
dd6f2a63
JB
60002012-01-21 Jay Belanger <jay.p.belanger@gmail.com>
6001
6002 * calc/calc-units.el (math-put-default-units): Don't use "1" as a
6003 default unit.
6004
7b447e9b
GM
60052012-01-21 Glenn Morris <rgm@gnu.org>
6006
117a9ea1
GM
6007 * international/mule.el (auto-coding-alist): Add .tbz.
6008
7b447e9b
GM
6009 * files.el (local-enable-local-variables): Doc fix.
6010 (inhibit-local-variables-regexps): Rename from
6011 inhibit-first-line-modes-regexps. Keep old name as obsolete alias.
6012 Doc fix. Add some extensions from auto-coding-alist.
6013 (inhibit-local-variables-suffixes):
6014 Rename from inhibit-first-line-modes-suffixes. Doc fix.
6015 (inhibit-local-variables-p):
6016 New function, extracted from set-auto-mode-1.
6017 (set-auto-mode): Doc fix. Respect inhibit-local-variables-regexps.
6018 (set-auto-mode-1): Doc fix. Use inhibit-local-variables-p.
6019 (hack-local-variables): Doc fix. Make the mode-only case
6020 respect enable-local-variables and friends.
6021 Respect inhibit-local-variables-regexps for file-locals, but
6022 not for directory-locals.
6023 (set-visited-file-name):
6024 Take account of inhibit-local-variables-regexps.
6025 Whether it applies may change as the file name is changed.
6026 * jka-cmpr-hook.el (jka-compr-install):
6027 * jka-compr.el (jka-compr-uninstall):
6028 Update for inhibit-first-line-modes-suffixes name change.
6029
dd6e3cdd
MR
60302012-01-20 Martin Rudalics <rudalics@gmx.at>
6031
6032 * help-macro.el (make-help-screen): Temporarily restore original
6033 binding for minor-mode-map-alist (Bug#10454).
6034
0d0deb38
JD
60352012-01-19 Julien Danjou <julien@danjou.info>
6036
6037 * color.el (color-name-to-rgb): Use the white color to find the max
6038 color component value and return correctly computed values.
6039 (color-name-to-rgb): Add missing float conversion for max value.
6040
34a02f46
MR
60412012-01-19 Martin Rudalics <rudalics@gmx.at>
6042
6043 * window.el (window--state-get-1, window-state-get): Do not use
eb864a71
LM
6044 special state value for window-persistent-parameters.
6045 Rename argument IGNORE to WRITABLE. Rewrite doc-string.
34a02f46
MR
6046 (window--state-put-2): Reset all window parameters to nil before
6047 assigning values of persistent parameters.
6048
606c44c4
AM
60492012-01-18 Alan Mackenzie <acm@muc.de>
6050
6051 Eliminate sluggishness and hangs in fontification of "semicolon
6052 deserts".
6053
cb882333
JB
6054 * progmodes/cc-engine.el (c-state-nonlit-pos-interval):
6055 Change value 10000 -> 3000.
606c44c4
AM
6056 (c-state-safe-place): Reformulate so it doesn't stack up an
6057 infinite number of wrong entries in c-state-nonlit-pos-cache.
6058 (c-determine-limit-get-base, c-determine-limit): New functions to
6059 determine backward search limits disregarding literals.
6060 (c-find-decl-spots): Amend commenting.
6061 (c-cheap-inside-bracelist-p): New function which detects "={".
6062
6063 * progmodes/cc-fonts.el
6064 (c-make-font-lock-BO-decl-search-function): Give a limit to a
6065 backward search.
6066 (c-font-lock-declarations): Fix an occurrence of point being
6067 undefined. Check additionally for point being in a bracelist or
6068 near a macro invocation without a semicolon so as to avoid a
6069 fruitless time consuming search for a declarator. Give a more
6070 precise search limit for declarators using the new
6071 c-determine-limit.
6072
f3860cea
GM
60732012-01-18 Glenn Morris <rgm@gnu.org>
6074
6075 * files.el (auto-mode-alist, inhibit-first-line-modes-regexps)
6076 (set-auto-mode): Doc fixes.
6077
1db03b16
GM
60782012-01-17 Glenn Morris <rgm@gnu.org>
6079
0e6038be
GM
6080 * isearch.el (search-nonincremental-instead): Fix doc typo.
6081
1db03b16
GM
6082 * dired.el (dired-insert-directory): Handle newlines in directory name.
6083 (dired-build-subdir-alist): Unescape newlines in directory name.
6084
4cb0aa75
MA
60852012-01-17 Michael Albinus <michael.albinus@gmx.de>
6086
6087 * net/tramp.el (tramp-local-end-of-line): New defcustom.
6088 (tramp-action-login, tramp-action-yesno, tramp-action-yn)
6089 (tramp-action-terminal): Use it. (Bug#10530)
6090
1d00653d
SM
60912012-01-16 Stefan Monnier <monnier@iro.umontreal.ca>
6092
6093 * minibuffer.el (completion--replace): Strip properties (bug#10062).
6094
6a6ee00d
MR
60952012-01-16 Martin Rudalics <rudalics@gmx.at>
6096
6097 * window.el (window-state-ignored-parameters): Remove variable.
6098 (window--state-get-1): Rename argument MARKERS to IGNORE.
6099 Handle persistent window parameters. Make copy of clone-of
6100 parameter only if requested. (Bug#10348)
6101 (window--state-put-2): Install a window parameter only if it has
6102 a non-nil value or an existing parameter shall be overwritten.
6103
97912def
MA
61042012-01-15 Michael Albinus <michael.albinus@gmx.de>
6105
6106 * net/tramp-sh.el (tramp-remote-path): Set tramp-autoload cookie.
6107
688070a5
EZ
61082012-01-14 Eli Zaretskii <eliz@gnu.org>
6109
6110 * info.el (Info-toc-build): If the Info file has no "Up" pointer,
6111 don't pass the (nil) value of `upnode' to string-match.
6112
301afadc
CY
61132012-01-14 Chong Yidong <cyd@gnu.org>
6114
6115 * startup.el (command-line): Fix X resource class for cursorColor.
04877ddb 6116 Fix values recognized by the cursorBlink resource.
301afadc 6117
9e5788aa
PE
61182012-01-14 Paul Eggert <eggert@cs.ucla.edu>
6119
6120 * epg.el (epg--make-temp-file): Avoid permission race condition
6121 when running on old Emacs versions (bug#10403).
6122
3cdb7f5a
GM
61232012-01-14 Glenn Morris <rgm@gnu.org>
6124
6125 * dired.el (dired-get-filename): Fix 'verbatim case of previous change.
6126
8c82b1b4
AM
61272012-01-13 Alan Mackenzie <acm@muc.de>
6128
6129 Fix filling for when filladapt mode is enabled.
6130
6131 * progmodes/cc-cmds.el (c-fill-paragraph): In the invocation of
6132 c-mask-paragraph, pass in `fill-paragraph' rather than
6133 `fill-region-as-paragraph'. (This is a reversion of a previous
6134 change.)
eb864a71
LM
6135 * progmodes/cc-mode.el (c-basic-common-init):
6136 Make fill-paragraph-handle-comment buffer local and set it to nil.
8c82b1b4 6137
e517eda4
GM
61382012-01-13 Glenn Morris <rgm@gnu.org>
6139
1498536e
GM
6140 * dired.el (dired-switches-escape-p): New function.
6141 (dired-insert-directory): Use dired-switches-escape-p.
6142 (dired-get-filename): Undo "\ " quoting if needed. (Bug#10469)
6143
e517eda4
GM
6144 * find-dired.el (find-ls-option): Doc fix. (Bug#10262)
6145
328f984d
GM
61462012-01-12 Glenn Morris <rgm@gnu.org>
6147
6148 * mail/sendmail.el (mail-mode): Update paragraph-separate for
6149 changes in adaptive-fill-regexp. (Bug#10276)
6150
2cc769a8
AM
61512012-01-11 Alan Mackenzie <acm@muc.de>
6152
6153 Fix Emacs bug #10463 - put `widen's around the critical spots.
6154
1d00653d 6155 * progmodes/cc-engine.el (c-in-literal, c-literal-limits): Put a
2cc769a8
AM
6156 widen around each invocation of c-state-pp-to-literal. Remove an
6157 unused let variable.
6158
e52c37fa
GM
61592012-01-11 Glenn Morris <rgm@gnu.org>
6160
6161 * dired-aux.el (dired-do-shell-command): Fix */? logic. (Bug#6561)
09044622 6162 Doc fix.
e52c37fa 6163
96f8741e
CY
61642012-01-10 Chong Yidong <cyd@gnu.org>
6165
1d00653d
SM
6166 * net/network-stream.el (network-stream-open-starttls):
6167 Avoid emitting a confusing error message when the server gives a bad
96f8741e
CY
6168 response to the capability command.
6169
b09a806e
GM
61702012-01-10 Glenn Morris <rgm@gnu.org>
6171
6172 * mail/unrmail.el (unrmail): Tweak previous change.
6173
7655cb66
CY
61742012-01-09 Chong Yidong <cyd@gnu.org>
6175
6176 * custom.el (custom-safe-themes): Use SHA-256 for hashing.
6177
9d5a8f0b
AM
61782012-01-08 Alan Mackenzie <acm@muc.de>
6179
6180 Optimise font locking in long enum definitions.
6181
6182 * progmodes/cc-fonts.el (c-font-lock-declarations): Add an extra
6183 arm to a cond form to handle enums.
6184 * progmodes/cc-langs.el (c-enums-contain-decls): New lang variable.
6185 * progmodes/cc-mode.el (c-font-lock-fontify-region): Correct a typo.
6186
9a0115ab 61872012-01-07 Paul Eggert <eggert@cs.ucla.edu>
6bb72cbd
PE
6188
6189 * files.el (move-file-to-trash): Preserve default file modes on error.
a0562b3d 6190 (Bug#10401)
6bb72cbd 6191
f186bb95
LMI
61922012-01-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
6193
29232a68
LMI
6194 * faces.el (set-face-attribute): Clarify the meaning of the nil
6195 frame (bug#10294).
6196
4e5d086d
LMI
6197 * subr.el (with-selected-frame): Mention that the selected frame
6198 is restored (bug#9980).
6199
8e66aebe
LMI
6200 * ibuffer.el (ibuffer-mode): List the bindings in the corrent map
6201 (bug#9759).
6202
cd394be1 6203 * mail/smtpmail.el (password-cache-add): Remove unused declaration.
f186bb95
LMI
6204 (password-read): Don't autoload unused function.
6205
adf4e762
JB
62062012-01-07 Juanma Barranquero <lekktu@gmail.com>
6207
6208 * progmodes/which-func.el (which-func-mode): Turn into a
6209 non-interactive function and mark as obsolete (bug#10428).
6210
89bd9ccd
CY
62112012-01-06 Chong Yidong <cyd@gnu.org>
6212
6213 * files.el (hack-dir-local-variables-non-file-buffer): Add doc.
6214 (hack-one-local-variable-eval-safep): Allow 0 arg for minor mode
6215 functions, along with 1 and -1.
6216
4afee9d5
EZ
62172012-01-06 Eli Zaretskii <eliz@gnu.org>
6218
6219 * time.el (display-time-load-average)
6220 (display-time-default-load-average): Doc fixes. See the thread
6221 starting at
6222 http://lists.gnu.org/archive/html/help-gnu-emacs/2012-01/msg00059.html
6223 for the details.
6224
536aea70
GM
62252012-01-06 Glenn Morris <rgm@gnu.org>
6226
665ae865
GM
6227 * mail/unrmail.el (unrmail): Give an explicit error if the input file
6228 has no messages. (Bug#10377)
6229
c869783d
GM
6230 * info.el (Info-mode-map): Bind e to end-of-buffer, rather
6231 than Info-edit. (Bug#10385)
6232
2bb4227e
GM
6233 * time.el (display-time-load-average, display-time-next-load-average):
6234 Doc fixes.
6235
7d5944b9
GM
6236 * emacs-lisp/bytecomp.el (byte-compile-file): Do not propagate a file
6237 local setting of buffer-read-only to the input buffer. (Bug#10419)
6238
536aea70
GM
6239 * calendar/calendar.el (calendar-mode):
6240 Locally set scroll-margin to 0. (Bug#10379)
6241
7dccca16
UM
62422012-01-06 Ulrich Mueller <ulm@gentoo.org>
6243
6244 * play/doctor.el (doctor-death): Escape "," characters. (Bug#10370)
6245
afbb7930
GM
62462012-01-05 Glenn Morris <rgm@gnu.org>
6247
6248 * eshell/em-unix.el (diff-no-select): Autoload it.
6249 (eshell/diff): Use diff-no-select. (Bug#10420)
6250
04482335
CY
62512012-01-05 Chong Yidong <cyd@gnu.org>
6252
7baca3bc
CY
6253 * shell.el (shell-dynamic-complete-functions): Revert last change.
6254 (shell-command-completion-function): New function.
6255 (shell-completion-vars): Use it to implement
6256 shell-completion-execonly (Bug#10417).
6257
04482335
CY
6258 * custom.el (enable-theme): Don't set custom-safe-themes.
6259
1d00653d
SM
6260 * cus-theme.el (custom-theme-merge-theme):
6261 Ignore custom-enabled-themes and custom-safe-themes.
04482335 6262
bb5aa5d6
MM
62632012-01-05 Michael R. Mauger <mmaug@yahoo.com>
6264
6265 * progmodes/sql.el (sql-login-hook): Add hook to respond to the
6266 first prompt in `sql-interacive-mode'.
6267 (sql-mode-oracle-font-lock-keywords): Add CONNECT_BY_* builtin
04482335 6268 keywords.
6df6ae42 6269 (sql-mode-mysql-font-lock-keywords): Add ELSEIF keyword.
bb5aa5d6
MM
6270 (sql-product-interactive): Bug fix: Set `sql-buffer' in
6271 context of original buffer. Invoke `sql-login-hook'.
6272
a7183d7c
EZ
62732012-01-04 Eli Zaretskii <eliz@gnu.org>
6274
6275 * mail/rmail.el (rmail-font-lock-keywords): Accept non-ASCII
6276 letters in cite-prefix.
6277
a1eacd1e
LMI
62782012-01-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
6279
6280 * mail/smtpmail.el (smtpmail-stream-type): Mention the `ssl' value.
6281
787cdb34
CY
62822012-01-03 Chong Yidong <cyd@gnu.org>
6283
1d00653d
SM
6284 * shell.el (shell-dynamic-complete-functions):
6285 Put pcomplete-completions-at-point, so as to try
787cdb34
CY
6286 comint-filename-completion first (Bug#10417).
6287
30710442
RS
62882012-01-02 Richard Stallman <rms@gnu.org>
6289
6290 * battery.el (battery-status-function):
6291 Detect when to use battery-yeeloong-sysfs.
6292 (battery-echo-area-format): Add string for Yeeloong.
6293 (battery-linux-proc-apm, battery-linux-proc-acpi): Doc fixes.
6294 (battery-yeeloong-sysfs): New function.
6295
f75bfc33
CY
62962012-01-02 Chong Yidong <cyd@gnu.org>
6297
6298 * dirtrack.el (dirtrack-list): Eliminate unused third element.
6299 (dirtrack): Merge code for handling relative filenames in prompt
6300 from shell-dir-cookie-watcher.
6301 (dirtrack-debug-message): New arg to avoid excess format calls.
6302
6303 * shell.el (shell-dir-cookie-re): Variable deleted.
6304 (shell-dir-cookie-watcher): Function deleted.
6305 (shell-mode): Don't use shell-dir-cookie-re, since it is redundant
6306 with dirtrack-mode.
6307
651e947e
EZ
63082012-01-01 Eli Zaretskii <eliz@gnu.org>
6309
1d00653d
SM
6310 * term/w32-win.el (dynamic-library-alist) <gnutls>:
6311 Load libgnutls-28.dll, from GnuTLS version 3.x, in preference to
651e947e
EZ
6312 libgnutls-26.dll.
6313
94d4c7dc
AS
63142011-12-31 Andreas Schwab <schwab@linux-m68k.org>
6315
6316 * emacs-lisp/bytecomp.el (byte-compile-file): Fix indentation.
6317
8d43f3cd
EZ
63182011-12-31 Eli Zaretskii <eliz@gnu.org>
6319
6320 * mail/rmail.el (rmail-show-message-1): Decode any RFC2047 encoded
6321 headers of non-MIME messages, when rmail-enable-mime is non-nil.
6322
98c8795a
MA
63232011-12-29 Michael Albinus <michael.albinus@gmx.de>
6324
6325 * net/tramp-sh.el (tramp-find-shell): Set "remote-shell" property
6326 also for alternative shells.
6327 (tramp-open-connection-setup-interactive-shell): Check, whether
6328 the shell is a busybox.
6329 (tramp-send-command): Don't suppress multiple prompts for
6330 busyboxes, it hurts.
6331
51281b32
CY
63322011-12-28 Chong Yidong <cyd@gnu.org>
6333
6334 * progmodes/gdb-mi.el (gdb-get-source-file-list)
6335 (gdb-get-source-file): Move mode line update to
6336 gdb-get-source-file (Bug#10087).
6337
2170cb53
CY
63382011-12-25 Chong Yidong <cyd@gnu.org>
6339
6340 * progmodes/gud.el (gud-gdb-fetch-lines-filter): Just use
6341 gud-gdb-marker-filter without taking it as an argument.
6342 (gud-gdb-run-command-fetch-lines): Caller changed.
6343 (gud-gdb-completion-function): New variable.
6344 (gud-gdb-completion-at-point): Use it.
6345 (gud-gdb-completions-1): Split from gud-gdb-completions.
6346
6347 * progmodes/gdb-mi.el (gdb-input): Accept command and handler
6348 function as separate arguments.
6349 (gdb-init-1, gdb-non-stop-handler, gdb-check-target-async)
6350 (gdb-tooltip-print-1, gud-watch, gdb-speedbar-update)
6351 (gdb-var-list-children, gdb-var-set-format, gdb-var-delete-1)
6352 (gdb-var-delete-children, gdb-edit-value, gdb-var-update)
6353 (gdb-stopped, def-gdb-auto-update-trigger)
6354 (gdb-place-breakpoints, gdb-select-thread, gdb-select-frame)
b81d40f0
JB
6355 (gdb-get-changed-registers, gdb-get-main-selected-frame):
6356 Callers changed.
2170cb53
CY
6357 (gud-gdbmi-completions): New function.
6358 (gdb): Use it for generating the completion table.
6359
be8b11bb
AM
63602011-12-24 Alan Mackenzie <acm@muc.de>
6361
6362 Introduce a mechanism to widen the region used in context font
1d00653d 6363 locking. Use this to protect declarations from losing their contexts.
be8b11bb 6364
1d00653d
SM
6365 * progmodes/cc-langs.el (c-before-font-lock-functions):
6366 Replace c-set-fl-decl-start with c-change-set-fl-decl-start (Renaming).
b81d40f0 6367 (c-before-context-fontification-functions): New defvar, a list of
be8b11bb
AM
6368 functions to be run just before context (etc.) font locking.
6369
6370 * progmodes/cc-mode.el (c-extend-font-lock-region-for-macros):
b81d40f0 6371 New, functionality extracted from
be8b11bb 6372 c-neutralize-syntax-in-and-mark-CPP.
b81d40f0 6373 (c-in-after-change-fontification): New variable.
be8b11bb
AM
6374 (c-after-change): Set c-in-after-change-fontification.
6375 (c-set-fl-decl-start): Rejig its interface, so it can be called
6376 from both after-change and context fontifying.
b81d40f0
JB
6377 (c-change-set-fl-decl-start, c-context-set-fl-decl-start):
6378 New functions.
6379 (c-standard-font-lock-fontify-region-function): New variable.
6380 (c-font-lock-fontify-region): New function.
be8b11bb 6381
341cf6ac
JL
63822011-12-24 Juri Linkov <juri@jurta.org>
6383
6384 * window.el (window--state-get-1): Set `FORCE' arg of `mark' to t.
6385 (Bug#10348)
6386
bffcee0a
MA
63872011-12-23 Michael Albinus <michael.albinus@gmx.de>
6388
6389 * net/ange-ftp.el (ange-ftp-copy-file-internal): Check for
6390 existence of source file. (Bug#10325)
6391
cb5e207c
AM
63922011-12-23 Alan Mackenzie <acm@muc.de>
6393
6394 Fix unstable fontification inside templates.
6395
b81d40f0
JB
6396 * progmodes/cc-langs.el (c-before-font-lock-functions):
6397 Newly created from the singular version. The (c c++ objc) entry now
cb5e207c
AM
6398 additionally has c-set-fl-decl-start. The other languages (apart
6399 from AWK) have that as a single entry.
6400
b81d40f0
JB
6401 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
6402 The functionality for "local" declarations has been extracted to
cb5e207c
AM
6403 c-set-fl-decl-start.
6404
b81d40f0
JB
6405 * progmodes/cc-mode.el (c-common-init, c-after-change):
6406 Changes due to pluralisation of c-before-font-lock-functions.
cb5e207c
AM
6407 (c-set-fl-decl-start): New function, extracted from
6408 c-font-lock-enclosing-decls and enhanced.
6409
60ff536c
JB
64102011-12-23 Juanma Barranquero <lekktu@gmail.com>
6411
6412 * desktop.el (desktop-internal-v2s): Fix typos in docstring (bug#10353).
6413
1c4757d6
JL
64142011-12-22 Juri Linkov <juri@jurta.org>
6415
6416 * progmodes/grep.el (rgrep): Fix docstring. (Bug#10185)
6417
d031f2c7
CY
64182011-12-22 Chong Yidong <cyd@gnu.org>
6419
6420 * vc/vc-hooks.el (vc-keep-workfiles): Doc fix.
6421
bace743a
DA
64222011-12-21 Drew Adams <drew.adams@oracle.com>
6423
6424 * files.el (file-remote-p): Fix docstring. (Bug#10319)
6425
728a1f2b
JC
64262011-12-21 Jérémy Compostella <jeremy.compostella@gmail.com>
6427
6428 * battery.el (battery-linux-sysfs): Add missing parameters from acpi.
6429
0d373f73
TZ
64302011-12-21 Teodor Zlatanov <tzz@lifelogs.com>
6431
fec0aaa4
TZ
6432 * progmodes/cfengine.el: Add Version. Improve CFEngine 3.x syntax
6433 highlighting and support. Fix up comments for capitalization.
6434 (cfengine-mode-debug): New var.
6435 (cfengine3-mode): Change the modeline indicator to "CFE3".
6436 (cfengine3-font-lock-keywords): Improve defun highlighting.
6437 (cfengine2-actions): Rename from `cfengine-actions'.
6438 (cfengine2-font-lock-keywords): Rename from
6439 `cfengine-font-lock-keywords'.
6440 (cfengine2-imenu-expression): Rename from
6441 `cfengine-imenu-expression'.
6442 (cfengine2-outline-level): Rename from `cfengine-outline-level'.
6443 (cfengine2-beginning-of-defun): Rename from
6444 `cfengine-beginning-of-defun'.
6445 (cfengine2-end-of-defun): Rename from `cfengine-end-of-defun'.
6446 (cfengine2-indent-line): Rename from `cfengine-indent-line'.
6447 (cfengine2-mode): Rename from `cfengine-mode'. Change the
6448 modeline indicator to "CFE2".
6449 (cfengine-mode): Defalias to `cfengine-auto-mode'.
6450 (cfengine-mode-abbrevs): Mark obsolete.
0d373f73 6451
bc86f573
CY
64522011-12-21 Chong Yidong <cyd@gnu.org>
6453
6454 * vc/vc-bzr.el (vc-bzr-rename-file): Don't pass ~ to Bzr in
6455 filename argument.
6456
d45ba96b
MR
64572011-12-20 Martin Rudalics <rudalics@gmx.at>
6458
6459 * window.el (window-normalize-buffer-to-display): Remove.
6460 (display-buffer): Handle buffer-or-name argument as in Emacs 23.
6461
a6198c90
CY
64622011-12-19 Chong Yidong <cyd@gnu.org>
6463
6464 * vc/vc-dir.el (vc-dir-parent-marked-p, vc-dir-children-marked-p):
6465 Don't signal an error in a predicate function; return non-nil.
6466 (vc-dir-mark-file): Move the error here.
6467 (vc-dir-mark-unmark): If acting on the region, keep going if one
6468 of the entries cannot be marked/unmarked.
6469 (vc-dir-mark-all-files): If current entry is a directory, mark
6470 only child files, as documented.
6471
34c5fb55
VB
64722011-12-19 Vincent Belaïche <vincentb1@users.sourceforge.net>
6473
6474 * ses.el: Ooops... undo changes of 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net, as trunk
6475 branch is feature frozen, and 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net was a feature
6476 addition.
6477
c803b2b7
JD
64782011-12-18 Jan Djärv <jan.h.d@swipnet.se>
6479
6480 * term/ns-win.el (ns-get-selection-internal)
6481 (ns-store-selection-internal): Declare.
1154d12e
JB
6482 (ns-store-cut-buffer-internal, ns-get-cut-buffer-internal):
6483 Declare as obsolete.
6484 (ns-get-pasteboard, ns-paste-secondary):
6485 Use ns-get-selection-internal.
6486 (ns-set-pasteboard, ns-copy-including-secondary):
6487 Use ns-store-selection-internal.
c803b2b7 6488
9cff91f8 64892011-12-17 Chong Yidong <cyd@gnu.org>
99a289d9
CY
6490
6491 * vc/vc.el (vc-next-action): Doc fix; remove CVS-isms.
9cff91f8 6492 (vc-deduce-fileset): Doc fix.
99a289d9 6493
f16c898a
AS
64942011-12-16 Andreas Schwab <schwab@linux-m68k.org>
6495
6496 * calc/calc-misc.el (calc-help): Avoid wrapping help message.
6497
763237c4
SS
64982011-12-13 Sam Steingold <sds@gnu.org>
6499
6500 * man.el (Man-getpage-in-background): When running under a
6501 window-system, ignore $MANWIDTH and $COLUMNS.
6502
5fc1c122
KH
65032011-12-15 Kenichi Handa <handa@m17n.org>
6504
6505 * language/ethio-util.el: Change coding tag to utf-8-emacs.
6506 (setup-ethiopic-environment-internal): Comment out key-binding for
6507 ethio-toggle-punctuation.
6508
13d49cbb
AM
65092011-12-13 Alan Mackenzie <acm@muc.de>
6510
898169a2
AM
6511 Add the switch statement to AWK Mode.
6512
7a71b18d 6513 * progmodes/cc-awk.el (awk-font-lock-keywords): Add "switch", "case",
898169a2
AM
6514 "default" to the keywords regexp.
6515
7a71b18d 6516 * progmodes/cc-langs.el (c-label-kwds): Let AWK take the same
898169a2 6517 expression as the rest.
1d00653d
SM
6518 (c-nonlabel-token-key): Allow string literals for AWK.
6519 Refactor for the other modes.
898169a2 6520
13d49cbb 6521 Large brace-block initialisation makes CC Mode slow: Fix.
1d00653d 6522 Tidy up and accelerate c-in-literal, etc. by using the c-parse-state
13d49cbb
AM
6523 routines. Limit backward searching in c-font-lock-enclosing.decl.
6524
6525 * progmodes/cc-engine.el (c-state-pp-to-literal): Return the
6526 pp-state and literal type in addition to the limits.
1d00653d 6527 (c-state-safe-place): New defun, extracted from c-state-literal-at.
13d49cbb 6528 (c-state-literal-at): Use the above new defun.
1d00653d
SM
6529 (c-slow-in-literal, c-fast-in-literal): Remove.
6530 (c-in-literal, c-literal-limits): Amend to use c-state-pp-to-literal.
13d49cbb
AM
6531
6532 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls): Check for
6533 being in a literal. Add a limit for backward searching.
6534
6535 * progmodes/cc-mode.el (awk-mode): Don't alias c-in-literal to
6536 c-slow-in-literal.
6537
15e0efc7
SM
65382011-12-13 Stefan Monnier <monnier@iro.umontreal.ca>
6539
6540 * progmodes/pascal.el: Declare `ind' as dyn-bound (bug#10264).
6541
454592a6
MR
65422011-12-13 Martin Rudalics <rudalics@gmx.at>
6543
6544 * window.el (delete-other-windows): Use correct frame in call to
6545 window-with-parameter.
6546
87393f26
DP
65472011-12-12 Daniel Pfeiffer <occitan@t-online.de>
6548
6549 * progmodes/make-mode.el: Bring it up to date with makepp V2.0.
6550 (makefile-make-font-lock-keywords): Extend meaning of `keywords'.
6551 (makefile-gmake-statements, makefile-makepp-statements):
6552 Use it and add new makepp keywords.
6553 (makefile-makepp-font-lock-keywords): Add new patterns.
6554 (makefile-match-function-end): Match new [...] and [[...]].
6555
11636b22
JB
65562011-12-11 Juanma Barranquero <lekktu@gmail.com>
6557
6558 * ses.el (ses-call-printer-return, ses-cell-property-get)
6559 (ses-sym-rowcol, ses-printer-validate, ses-formula-record)
6560 (ses-create-cell-variable, ses-reset-header-string)
6561 (ses-cell-set-formula, ses-repair-cell-reference-all)
6562 (ses-self-reference-early-detection, ses-in-print-area, ses-set-curcell)
6563 (ses-check-curcell, ses-call-printer, ses-adjust-print-width)
6564 (ses-print-cell-new-width, ses-formula-references, ses-relocate-formula)
6565 (ses-aset-with-undo, ses-load, ses-truncate-cell)
6566 (ses-read-column-printer, ses-read-default-printer, ses-insert-row)
6567 (ses-delete-row, ses-delete-column, ses-append-row-jump-first-column)
6568 (ses-kill-override, ses-yank-pop, ses-yank-cells, ses-yank-tsf)
6569 (ses-yank-resize, ses-export-tab, ses-mark-row, ses-mark-column)
6570 (ses-renarrow-buffer, ses-insert-range, ses-insert-ses-range)
6571 (ses-safe-printer, ses-safe-formula, ses-warn-unsafe, ses--clean-!)
6572 (ses--clean-_, ses-range, ses-select, ses-center, ses-center-span)
6573 (ses-dashfill, ses-unsafe): Fix typos and reflow docstrings.
6574
cf018193
VB
65752011-12-11 Vincent Belaïche <vincentb1@users.sourceforge.net>
6576
6577 * ses.el: The overall change is to add cell renaming, that is
6578 setting fancy names for cell symbols other than name matching
6579 "\\`[A-Z]+[0-9]+\\'" regexp .
6580 (ses-create-cell-variable): New defun.
6581 (ses-relocate-formula): Relocate formulas only for cells the
6582 symbols of which are not renamed, i.e. symbols whose names do not
6583 match regexp "\\`[A-Z]+[0-9]+\\'".
6584 (ses-relocate-all): Relocate values only for cells the symbols of
6585 which are not renamed.
6586 (ses-load): Create cells variables as the (ses-cell ...) are read,
6587 in order to check row col consistency with cell symbol name only
6588 for cells that are not renamed.
6589 (ses-replace-name-in-formula): New defun.
6590 (ses-rename-cell): New defun.
6591
ee957461
CY
65922011-12-11 Chong Yidong <cyd@gnu.org>
6593
6594 * progmodes/gdb-mi.el (gdb): Set comint-prompt-regexp, required
6595 for completion via gud-gdb-fetch-lines-filter (Bug#10274).
6596
9a9e9ef0
MR
65972011-12-11 Eric Hanchrow <eric.hanchrow@gmail.com>
6598
6599 * window.el (other-window): Fix docstring.
6600
92a8eba5
EZ
66012011-12-10 Eli Zaretskii <eliz@gnu.org>
6602
6603 * mail/rmailsum.el (rmail-header-summary): RFC2047 decode the
1d00653d
SM
6604 `from' or `to' address before taking its substring.
6605 Fixes incorrect display in Rmail summary buffer whereby an RFC2047
92a8eba5
EZ
6606 encoded name is chopped in the middle of the encoded string, and
6607 thus displayed encoded.
6608
e152e577
JB
66092011-12-10 Juanma Barranquero <lekktu@gmail.com>
6610
6611 * makefile.w32-in (update-subdirs-CMD): Use a Local Variables section.
6612
e5d84bfe
EZ
66132011-12-10 Eli Zaretskii <eliz@gnu.org>
6614
6615 * textmodes/texnfo-upd.el: Update commentary. Add a warning not
6616 to use texinfo-update-node and commands that call it if the
6617 Texinfo file uses @node lines without next/prev/up pointers.
b8830d28 6618 Correct outdated description about texinfo-master-menu.
e5d84bfe
EZ
6619 (texinfo-all-menus-update, texinfo-master-menu)
6620 (texinfo-update-node, texinfo-every-node-update)
6621 (texinfo-multiple-files-update): Doc fix. Warn against updating
6622 all the @node lines.
6623 (texinfo-master-menu): Only call texinfo-update-node if the prefix
b8830d28
EZ
6624 argument is numeric. Explain better in the doc string what the
6625 function really does.
6626 (texinfo-insert-master-menu-list): Improve the error message
6627 displayed if there's no menu in the Top node.
6628 (Bug#2975) See also this thread:
e5d84bfe
EZ
6629 http://lists.gnu.org/archive/html/emacs-devel/2011-12/msg00156.html.
6630
1d84e9bb
MG
66312011-12-09 Manuel Gómez <mgrojo@gmail.com> (tiny change)
6632
6633 * speedbar.el (speedbar-supported-extension-expressions):
6634 Add .adb and .ads, commonly used for Ada source code (bug#10256).
6635
382c953b
JB
66362011-12-09 Juanma Barranquero <lekktu@gmail.com>
6637
6638 * printing.el (pr-mode-alist):
6639 * simple.el (filter-buffer-substring-functions)
6640 (completion-list-insert-choice-function):
6641 * window.el (window-with-parameter, window-atom-root)
6642 (window-sides-slots, window-size-fixed, window-min-delta)
6643 (window-max-delta, window--resize-mini-window)
6644 (window--resize-child-windows-normal, window-tree)
6645 (delete-other-windows, quit-window, split-window)
6646 (display-buffer-record-window, special-display-buffer-names)
6647 (special-display-regexps, special-display-popup-frame)
6648 (same-window-p, split-window-sensibly)
6649 (display-buffer-overriding-action, display-buffer-alist)
6650 (display-buffer-base-action, display-buffer, switch-to-buffer)
6651 (switch-to-buffer-other-window, switch-to-buffer-other-frame)
6652 (fit-window-to-buffer, recenter-positions)
6653 (mouse-autoselect-window-state, mouse-autoselect-window-select):
6654 * emacs-lisp/syntax.el (syntax-propertize-function): Fix typos
6655 and remove unneeded backslashes in docstrings.
6656
39c9faef
SM
66572011-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
6658
98449af8
SM
6659 * emacs-lisp/lisp-mode.el (defmethod): Add doc-string-elt (bug#10244).
6660
39c9faef
SM
6661 * pcmpl-gnu.el: Don't fail when there is no Makefile nor -f arg.
6662 (pcmpl-gnu-makefile-regexps): Accept "makefile" as well as files that
6663 end in ".mk".
6664 (pcmpl-gnu-make-rule-names): Check "makefile" and ignore errors
6665 when reading the makefile (bug#10116).
6666
86ed9fdc
SM
66672011-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
6668
6669 * pcmpl-gnu.el (pcomplete/make): Also allow filename arguments
6670 (bug#10116).
6671
5580f89d
GM
66722011-12-06 Glenn Morris <rgm@gnu.org>
6673
6674 * emacs-lisp/package.el (package-archives): Doc fix re riskiness.
6675
28d3917c
CY
66762011-12-06 Chong Yidong <cyd@gnu.org>
6677
6678 * progmodes/cc-fonts.el (c-annotation-face): Use defface.
6679
a98edce9
JB
66802011-12-06 Juanma Barranquero <lekktu@gmail.com>
6681
6682 * textmodes/table.el (table-shorten-cell): Fix typo.
6683
e65adfac
CG
66842011-12-05 Christopher Genovese <genovese.cr@gmail.com> (tiny change)
6685
6686 * emacs-lisp/assoc.el (aput): Fix return value (bug#10146)
6687
71cc0b74
EZ
66882011-12-05 Eli Zaretskii <eliz@gnu.org>
6689
6690 * descr-text.el (describe-char): Fix display of strong
6691 right-to-left characters and directional embeddings and overrides.
6692
6693 * simple.el (what-cursor-position): Fix display of codepoints of
6694 strong right-to-left characters.
6695
315bc30d
CY
66962011-12-05 Chong Yidong <cyd@gnu.org>
6697
6698 * faces.el (read-color): Doc fix.
6699
58a70b94
GM
67002011-12-05 Glenn Morris <rgm@gnu.org>
6701
6702 * align.el (align--set-marker): Add doc-string.
6703 Don't try to move something that is not a marker. (Bug#10216)
6704
5158face
GM
67052011-12-04 Glenn Morris <rgm@gnu.org>
6706
6707 * calendar/appt.el (appt-add): Rewrite the interactive-spec to avoid
6708 overly zealous deletion of trailing whitespace.
6709
520fca41
JB
67102011-12-04 Juanma Barranquero <lekktu@gmail.com>
6711
6712 * server.el (server-delete-client): On Windows, do not try to delete
6713 the only terminal.
6714 (server-process-filter): On Windows, treat requests for a tty frame as
6715 if they were for a GUI frame if the running server is in GUI mode.
6716
5e605a2e
GM
67172011-12-03 Glenn Morris <rgm@gnu.org>
6718
6719 * textmodes/texinfmt.el (batch-texinfo-format): Doc fix. (Bug#10207)
6720
5c3fe83f
SM
67212011-12-03 Stefan Monnier <monnier@iro.umontreal.ca>
6722
6f5e57e7
SM
6723 * electric.el: Streamline electric-indent's hook.
6724 (electric-indent-chars): Revert to simple list.
6725 (electric-indent-functions): New var.
6726 (electric-indent-post-self-insert-function): Use it.
6727
5c3fe83f
SM
6728 * progmodes/prolog.el (prolog-find-value-by-system): Avoid error when
6729 there's no inferior buffer (bug#10196).
6730 (prolog-consult-compile): Don't use toggle-read-only.
6731
6bdac736
MA
67322011-12-02 Michael Albinus <michael.albinus@gmx.de>
6733
6734 * net/tramp-sh.el (tramp-maybe-open-connection): Handle user
6735 interrupt. (Bug#10187)
6736
6131ba7f
SM
67372011-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
6738
99c79fee
SM
6739 * pcmpl-gnu.el (pcomplete/tar): large-file-warn-threshold can be nil
6740 (bug#9160).
6741
6131ba7f
SM
6742 * dired-aux.el (dired-query): Don't assume help-char is modifier-free
6743 (bug#10191).
6744
cb0a02ea
JL
67452011-12-02 Juri Linkov <juri@jurta.org>
6746
6747 * info.el (Info-search): Display "end of manual" when Isearch
6748 reaches the end of single-file Info manual. (Bug#9918)
6749
66e0570c
EZ
67502011-12-02 Eli Zaretskii <eliz@gnu.org>
6751
6752 * isearch.el (isearch-message-prefix): Run the input method part
6753 of the prompt through bidi-string-mark-left-to-right. (Bug#10183)
6754
02b16839
JL
67552011-12-02 Juri Linkov <juri@jurta.org>
6756
6757 * isearch.el (isearch-occur): Use `word-search-regexp' for
6758 `isearch-word'.
6759 (isearch-search-and-update): Add condition for `isearch-word' and
6760 call `word-search-regexp'. (Bug#10145)
6761
0b950688
GM
67622011-12-01 Glenn Morris <rgm@gnu.org>
6763
6764 * eshell/em-hist.el (eshell-hist-initialize):
6765 Handle eshell-history-size nil and HISTSIZE set or unset.
e8087a76 6766 (eshell-history-file-name, eshell-history-size): Fix custom type.
0b950688 6767
9505c3c7
SM
67682011-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
6769
6770 * man.el (Man-completion-table): Fix the lambda case (bug#10168).
6771
1bbe96b2 67722011-12-01 Michael McNamara <mac@mail.brushroad.com>
6288f0ca 6773
a1beca85
SM
6774 * progmodes/verilog-mode.el (verilog-pretty-expr):
6775 Rework verilog-pretty-expr to handle new assignment operators in system
6288f0ca
WS
6776 verilog, such as += *= and the like.
6777 (verilog-assignment-operator-re): Regular expression to find the
6778 assigment operator in a verilog assignment.
6779 (verilog-assignment-operation-re): Regular expression to find an
6780 assignment statement for pretty-expr.
6781 (verilog-in-attribute-p): Query returns true if point is in an
6782 attribute context; used to skip these for expression line up from
6783 pretty-expr.
6784 (verilog-in-parameter-p): Query returns true if point is in an
6785 parameter definition context; used to skip these for expression
6786 line up from pretty-expr.
6787 (verilog-in-parenthesis-p): Query returns true if point is in a
6788 parenthetical expression, specifically ( ) but not [ ] or { };
6789 used by pretty-expr.
6790 (verilog-just-one-space): If there is no space, don't add one.
6791 (verilog-get-lineup-indent-2): Specifically skip just attribute
6792 contexts for expression lineup, rather than skipping all
6793 parenthetical expressions.
6794 (verilog-calculate-indent): Fix comment, and fix indent.
6795 (verilog-do-indent): Indent declarations in lists (suggested by
6796 Joachim Lechner).
6797 (verilog-mode-abbrev-table): Populate abbrev mode with the various
6798 skeleton items.
6799 (verilog-sk-ovm-class): Add skeleton for OVM classes (reported
6800 by Alain Mellan).
6801
1bbe96b2 68022011-12-01 Wilson Snyder <wsnyder@wsnyder.org>
6288f0ca
WS
6803
6804 * progmodes/verilog-mode.el (verilog-read-defines): Fix reading
6805 parameters with embedded comments. Reported by Ray Stevens.
6806 (verilog-calc-1, verilog-fork-wait-re) (verilog-forward-sexp,
6807 verilog-wait-fork-re): Fix indentation of "wait fork", bug407.
6808 Reported by Tim Holt.
6809 (verilog-auto): Fix AUTOing a upper module then AUTOing module
6810 instantiated by upper module causing wrong expansion until AUTOed a
6811 second time. Reported by K C Buckenmaier.
6812 (verilog-diff-auto): Fix showing .* as a difference when
6813 `verilog-auto-star-save' off. Reported by Dan Dever.
6814 (verilog-auto-reset, verilog-read-always-signals)
6815 (verilog-auto-reset-blocking-in-non): Fix AUTORESET including
6816 temporary signals in reset list if
6817 verilog-auto-reset-blocking-in-non is nil, and match assignment
a1beca85
SM
6818 style to each signal's assignment type, bug381.
6819 Reported by Thomas Esposito.
6288f0ca
WS
6820 (verilog-sk-uvm-class, verilog-uvm-begin-re, verilog-uvm-end-re)
6821 (verilog-uvm-statement-re): Support UVM indentation and
6822 highlighting, with old OVM keywords only.
a1beca85 6823 (verilog-auto-tieoff, verilog-auto-tieoff-declaration):
1d00653d
SM
6824 Support AUTOTIEOFF creating non-wire data types.
6825 Suggested by Jonathan Greenlaw.
6288f0ca
WS
6826 (verilog-auto-insert-lisp, verilog-delete-to-paren)
6827 (verilog-forward-sexp-cmt, verilog-forward-sexp-ign-cmt)
6828 (verilog-inject-sense, verilog-read-inst-pins)
a1beca85
SM
6829 (verilog-read-sub-decls, verilog-read-sub-decls-line):
6830 Fix mismatching parenthesis inside commented out code when deleting
382c953b 6831 AUTOINST, bug383. Reported by Jonathan Greenlaw.
6288f0ca
WS
6832 (verilog-auto-ascii-enum): Fix AUTOASCIIENUM one-hot with
6833 non-numeric vector width. Reported by Alex Reed.
6834 (verilog-auto-ascii-enum): Add "onehot" option to work around not
382c953b 6835 detecting signals with parameter widths. Reported by Alex Reed.
a1beca85
SM
6836 (verilog-auto-delete-trailing-whitespace):
6837 With `verilog-auto-delete-trailing-whitespace' remove trailing
6288f0ca
WS
6838 whitespace in auto expansion, bug371. Reported by Brad Dobbie.
6839 (verilog-run-hooks, verilog-scan-cache-flush, verilog-syntax-ppss):
6840 Fix verilog-scan-cache corruption when running user AUTO expansion
6841 hooks that call indentation routines.
6842 (verilog-simplify-range-expression): Fix typo ignoring lower case
6843 identifiers.
6844 (verilog-delete-auto): Fix delete-autos to also remove user created
6845 automatics, as long as they start with AUTO.
6846 (verilog-batch-diff-auto, verilog-diff-auto)
6847 (verilog-diff-function): Add `verilog-diff-auto' and bind to
6848 "C-c?" to report differences in AUTO expansion, ignoring spaces.
6849 (verilog-backward-syntactic-ws-quick, verilog-beg-of-defun-quick)
6850 (verilog-in-paren-quick, verilog-re-search-backward-quick)
a1beca85
SM
6851 (verilog-re-search-forward-quick, verilog-syntax-ppss):
6852 Fix calling `syntax-ppss' when inside auto expansions as the ppss hook
6288f0ca
WS
6853 is disabled and its cache will get corrupt, causing AUTOS not to
6854 expand. Instead use only -quick functions.
6855 (verilog-scan-region): Fix scanning over escaped quotes.
6856 (verilog-inside-comment-or-string-p, verilog-inside-comment-p)
6857 (verilog-re-search-backward-quick)
6858 (verilog-re-search-forward-quick, verilog-scan): verilog-scan and
6859 related functions now ignore strings, to fix misparsing of strings
6860 with magic comments embedded in them.
a1beca85
SM
6861 (verilog-read-auto-template):
6862 Fix 'verilog-auto-inst-template-numbers' with extra newline before (.
6863 Reported by Brad Dobbie.
6864 (verilog-read-auto-template):
6865 Fix 'verilog-auto-inst-template-numbers' with comments.
6288f0ca 6866 Reported by Brad Dobbie.
6288f0ca
WS
6867 (verilog-auto-inst, verilog-auto-inst-param)
6868 (verilog-auto-inst-sort): Add 'verilog-auto-inst-sort' to reduce
6869 merge conflicts with AUTOINST, bug358. Reported by Brad Dobbie.
6870 (verilog-auto-inst-template-numbers): Add 'lhs' policy for
a1beca85
SM
6871 debugging templates without merge conflicts, bug357.
6872 Reported by Brad Dobbie.
6873 (verilog-read-auto-template):
6874 Fix verilog-auto-inst-template-numbers with multiple templates.
6288f0ca
WS
6875 Reported by Brad Dobbie.
6876 (verilog-define-abbrev): Fix verilog-mode abbrevs to be system
6877 abbrevs so user won't be asked to save.
6878 (verilog-read-auto-lisp-present): Fix to start at beginning of
6879 buffer in case called outside of verilog-auto.
6880 (verilog-simplify-range-expression): Fix AUTOWIRE expanding "X-1+1"
6881 to "X-2". Reported by Matthew Myers.
6882 (verilog-auto, verilog-auto-inout-in): Add AUTOINOUTIN for creating
6883 all inputs from module templates. Reported by Leith Johnson.
6884 (verilog-module-inside-filename-p): Fix locating programs as with
6885 modules.
6886 (verilog-auto-inst-port): Fix vl-width expressions when using
6887 verilog-auto-inst-param-value, bug331. Reported by Julian Gorfajn.
6888 (verilog-decls-get-regs, verilog-decls-get-signals,
6889 verilog-decls-get-vars, verilog-decls-get-wires, verilog-decls-new,
6890 verilog-modi-cache-add-vars, verilog-modi-cache-add-wires,
6891 verilog-read-decls): Combine reg and wire structures into one var
6892 structure to represent SystemVerilog concepts.
6893 (verilog-auto-ascii-enum, verilog-auto-logic, verilog-auto-reg)
6894 (verilog-auto-reg-input, verilog-auto-tieoff, verilog-auto-wire)
a1beca85
SM
6895 (verilog-auto-wire-type, verilog-insert-definition):
6896 Add verilog-auto-wire-type and AUTOLOGIC to support using
6288f0ca
WS
6897 SystemVerilog "logic" keyword instead of "wire"/"reg".
6898 (verilog-auto-reg-input, verilog-decls-get-signals): Fix AUTOWIRE
6899 to declares outputs that also have assignments (presumably in an
a1beca85
SM
6900 ifdef or generate if so there's not a driver conflict).
6901 Reported by Matthew Myers.
6902 (verilog-auto-declare-nettype, verilog-insert-definition):
6903 Add verilog-auto-declare-nettype to fix declarations using
6288f0ca
WS
6904 `default_nettype none. Reported by Julian Gorfajn.
6905 (verilog-read-always-signals-recurse, verilog-read-decls)
6906 (verilog-read-sub-decls-gate): Fix infinite loop with (*) and
6907 malformed end statement, bug325. Reported by Joshua Wise and
6908 Andrew Drake.
6909 (verilog-auto-star-safe, verilog-delete-auto-star-implicit)
6910 (verilog-inst-comment-re): Fix not deleting Interfaced comment
1d00653d
SM
6911 when expanding .* in interfaces, bug320.
6912 Reported by Pierre-David Pfister.
6288f0ca 6913 (verilog-read-module-name): Fix import statements between module
1d00653d
SM
6914 name and open parenthesis, bug317.
6915 Reported by Pierre-David Pfister.
6288f0ca
WS
6916 (verilog-simplify-range-expression): Fix simplification of
6917 multiplications inside AUTOWIRE connections, bug303.
6918 (verilog-auto-inst-port): Support parameter expansion in
6919 multidimensional arrays.
6920 (verilog-read-decls): Fix AUTOREG etc looking for "endproperty"
6921 after "assert property". Reported by Julian Gorfajn.
6922 (verilog-simplify-range-expression): Fix "couldn't merge" errors
6923 with multiplication, bug303.
6924 (verilog-read-decls): Fix parsing of unsigned data types, bug302.
6925 Reported by Jan Frode Lonnum.
6926
1bbe96b2
GM
69272011-11-30 Juanma Barranquero <lekktu@gmail.com>
6928
6929 * htmlfontify.el (hfy-page-header, hfy-post-html-hooks)
6930 (hfy-shell-file-name, hfy-shell):
6931 * international/fontset.el (x-decompose-font-name): Fix typos.
6932
69332011-11-29 Ken Brown <kbrown@cornell.edu>
6934
6935 * progmodes/gdb-mi.el: Fix bug#9853, bug#9858, and bug#9878.
6936 (gdb-version): Remove defvar.
6937 (gdb-supports-non-stop): New defvar, replacing `gdb-version'.
6938 (gdb-gud-context-command, gdb-non-stop-handler)
6939 (gdb-current-context-command, gdb-stopped): Use it.
6940 (gdb-init-1): Enable pretty printing here.
6131ba7f
SM
6941 (gdb-non-stop-handler): Don't enable pretty-printing here.
6942 Check to see if the target supports non-stop mode; if not, turn off
1bbe96b2
GM
6943 non-stop mode. Use the following.
6944 (gdb-check-target-async): New defun.
6945 (gud-watch, gdb-stopped): Fix whitespace.
6946 (gdb-get-source-file): Don't try to display the source file if
6947 `gdb-main-file' is nil.
6948
69492011-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
6950
6951 * align.el: Try to generate fewer markers (bug#10047).
6952 (align--set-marker): New macro.
6953 (align-region): Use it.
6954
c935221f
SM
69552011-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
6956
6957 * isearch.el (isearch-yank-x-selection): Deactivate mark (bug#10022).
6958
e70b5064
CY
69592011-11-29 Chong Yidong <cyd@gnu.org>
6960
6961 * indent.el (indent-for-tab-command, indent-according-to-mode):
6962 Doc fix.
6963 (indent-region): Doc fix. Switch nested ifs to equivalent cond.
6964
f3af92b7
MA
69652011-11-29 Michael Albinus <michael.albinus@gmx.de>
6966
6967 * vc/diff-mode.el (diff-find-file-name): Make `read-file-name'
6968 aware of remote file names. (Bug#10124)
6969
ed472be9
CY
69702011-11-29 Chong Yidong <cyd@gnu.org>
6971
6972 * frame.el (auto-raise-mode, auto-lower-mode): Doc fix.
6973
24510c22
SM
69742011-11-28 Stefan Monnier <monnier@iro.umontreal.ca>
6975
6976 * files.el (find-file): Don't use force-same-window (bug#10144).
6977 * window.el (switch-to-buffer): Better match Emacs-23 behavior and only
6978 use pop-to-buffer if the selected window can't be used.
6979 (pop-to-buffer-same-window): Use display-buffer--same-window-action.
6980
c60c3703
EZ
69812011-11-28 Eli Zaretskii <eliz@gnu.org>
6982
6983 * vc/diff-mode.el (diff-mode-map): Don't inherit 'z' => 'M-z' from
6984 special-mode-map.
6985
e95def75
CY
69862011-11-28 Chong Yidong <cyd@gnu.org>
6987
6988 * emacs-lisp/easy-mmode.el (define-minor-mode): Fix default doc.
6989
c3f1c606
NR
69902011-11-27 Nick Roberts <nickrob@snap.net.nz>
6991
6992 * progmodes/gdb-mi.el (gdb-init-1): Condition execution of
6993 gdb-get-source-file-list on gdb-create-source-file-list.
6994
00db469c
EZ
69952011-11-26 Eli Zaretskii <eliz@gnu.org>
6996
6997 * whitespace.el (whitespace-newline): Use a different foreground
6998 color for 16-color light-background displays.
6999
4ad3bc2a
CY
70002011-11-24 Chong Yidong <cyd@gnu.org>
7001
7002 * window.el (display-buffer--special-action): Doc fix.
7003
e9fce1ac
JB
70042011-11-25 Juanma Barranquero <lekktu@gmail.com>
7005
7006 * emacs-lisp/avl-tree.el (avl-tree--do-copy, avl-tree-create)
7007 (avl-tree-compare-function, avl-tree-empty, avl-tree-enter)
7008 (avl-tree-delete, avl-tree-member, avl-tree-member-p, avl-tree-map)
7009 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar, avl-tree-copy)
7010 (avl-tree-clear, avl-tree-stack, avl-tree-stack-pop)
7011 (avl-tree-stack-first):
7012 * emacs-lisp/cconv.el (cconv--analyse-use):
7013 * net/gnutls.el (gnutls-negotiate): Fix typos.
7014
cb825e5d
GM
70152011-11-24 Glenn Morris <rgm@gnu.org>
7016
3adbe224
GM
7017 * lpr.el (lpr-windows-system, lpr-lp-system):
7018 * mail/binhex.el (binhex-begin-line):
7019 * progmodes/grep.el (grep-history, grep-find-history):
7020 * textmodes/flyspell.el:
7021 * vc/pcvs-defs.el (cvs-global-menu):
7022 * vc/vc-bzr.el (vc-bzr-admin-checkout-format-file):
7023 * vc/vc-mtn.el (vc-mtn-admin-dir, vc-mtn-admin-format):
7024 * vc/vc-cvs.el (vc-cvs-registered): Give them basic doc-strings.
7025
321decc8
GM
7026 * net/tls.el: Fix case of "GnuTLS".
7027
420b63ad
GM
7028 * paths.el (rmail-file-name): Format doc-string for make-docfile.
7029
cb825e5d
GM
7030 * version.el (emacs-build-system): Give it a doc-string.
7031
a0649f08
JL
70322011-11-24 Juri Linkov <juri@jurta.org>
7033
7034 * view.el (view-buffer): Revert 2011-07-19T15:01:49Z!larsi@gnus.org from 2011-07-19 (bug#8615).
7035
c0bc0fd4
GM
70362011-11-24 Glenn Morris <rgm@gnu.org>
7037
7038 * mail/rmailmm.el (rmail-mime): When rmail-enable-mime is non-nil,
7039 if called on a non-mime message just toggle the headers. (Bug#8006)
7040
20db1522
JB
70412011-11-24 Juanma Barranquero <lekktu@gmail.com>
7042
7043 * allout.el (allout-setup, allout-auto-save-temporarily-disabled)
7044 (allout-lead-with-comment-string, allout-structure-deleted-hook)
7045 (allout-mode, allout-chart-subtree, allout-hotspot-key-handler)
7046 (allout-rebullet-heading, allout-open-sibtopic)
7047 (allout-toggle-current-subtree-encryption)
7048 (allout-toggle-subtree-encryption, allout-encrypt-string)
7049 (allout-next-topic-pending-encryption, allout-adjust-file-variable)
7050 (allout-distinctive-bullets-string, allout-auto-activation):
7051 * window.el (window-normalize-buffer-to-display):
7052 * progmodes/verilog-mode.el (verilog-batch-indent):
7053 * textmodes/bibtex.el (bibtex-field-braces-opt)
7054 (bibtex-field-strings-opt):
7055 * vc/cvs-status.el (cvs-tree-merge):
7056 Fix typos.
7057
7262a87c
MA
70582011-11-23 Michael Albinus <michael.albinus@gmx.de>
7059
7060 * rfn-eshadow.el (rfn-eshadow-update-overlay): Let-bind
7061 `non-essential' to t, in order to avoid remote connections.
7062
283430a1
EZ
70632011-11-23 Eli Zaretskii <eliz@gnu.org>
7064
a1beca85
SM
7065 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
7066 On MS-DOS and MS-Windows, compare with loaddefs.el
283430a1
EZ
7067 case-insensitively.
7068
d2992a38
ML
70692011-11-23 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
7070
7071 * mail/unrmail.el (unrmail): Always add blank line. (Bug#7743)
7072
50419064
GM
70732011-11-23 Glenn Morris <rgm@gnu.org>
7074
da94eca1
GM
7075 * paths.el (rmail-file-name): Reformat the doc-string so that it
7076 is picked up.
7077
9aac4de2
GM
7078 * mail/rmail.el (rmail-message-filter, rmail-auto-file): Doc fixes.
7079 (rmail-auto-file): Ignore case in the "special" field names,
7080 as mail-fetch-field does for all others.
7081
8038d2d2
GM
7082 * mail/rmail.el (rmail-forward):
7083 * mail/rmailkwd.el (rmail-set-label):
7084 * mail/rmailout.el (rmail-output, rmail-output-as-seen)
7085 (rmail-output-body-to-file): Give error if no message. (Bug#10082)
7086
f3fe222a
GM
7087 * mail/rmail.el (rmail-current-message): Doc fix.
7088
50419064
GM
7089 * mail/rmail.el (rmail-message-filter): Mark as obsolete. (Bug#2624)
7090
28109f49
SM
70912011-11-22 Stefan Monnier <monnier@iro.umontreal.ca>
7092
7093 * server.el (server-eval-and-print): Allow C-g (bug#6585).
7094
394c65f1
GM
70952011-11-22 Glenn Morris <rgm@gnu.org>
7096
7097 * mail/rmailmm.el (test-rmail-mime-handler)
7098 (test-rmail-mime-bulk-handler)
7099 (test-rmail-mime-multipart-handler): Move tests to test/ directory.
7100
f2a0aa3a
JL
71012011-11-21 Juri Linkov <juri@jurta.org>
7102
1154d12e
JB
7103 * calc/calc.el (calc-read-key-sequence):
7104 Let-bind `input-method-function' to nil. (Bug#10018)
f2a0aa3a 7105
9c34a344
LMI
71062011-11-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
7107
7108 * emacs-lisp/cl-indent.el (common-lisp-loop-part-indentation):
7109 Tell the caller that the next line needs recomputation, even
7110 though it doesn't start a sexp (bug#10094).
7111
f04a3be9
SM
71122011-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
7113
7114 * emacs-lisp/autoload.el (autoload-generate-file-autoloads): Simplify.
7115
7978747f
SM
71162011-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
7117
f04a3be9
SM
7118 * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
7119 Use force-same-window.
7978747f 7120
fe7a3057
JB
71212011-11-20 Juanma Barranquero <lekktu@gmail.com>
7122
7123 * descr-text.el (describe-char-unicode-data):
7124 * json.el (json-string-escape):
7125 * mail/footnote.el (footnote-unicode-string, footnote-unicode-regexp)
7126 (Footnote-unicode, Footnote-style-p):
7127 * net/ntlm.el (ntlm-get-password-hashes): Fix typos.
7128
24901d61
CY
71292011-11-20 Chong Yidong <cyd@gnu.org>
7130
7131 * window.el (replace-buffer-in-windows): Restore interactive spec.
7132
bac7ff22
SM
71332011-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
7134
24f3d7b9
SM
7135 * electric.el (electric-indent-mode): Fix last change (too optimistic).
7136
bac7ff22
SM
7137 * emacs-lisp/bytecomp.el: Silence obsolete warnings more reliably.
7138 (byte-compile-global-not-obsolete-vars): New var.
7139 (byte-compile-check-variable, byte-compile-make-obsolete-variable):
7140 Use it.
7141 (byte-compile-warn-obsolete): Align text with the one in *Help*.
7142
cd1181db
JB
71432011-11-20 Juanma Barranquero <lekktu@gmail.com>
7144
7145 * progmodes/cwarn.el (cwarn-is-enabled, cwarn-font-lock-keywords):
7146 * progmodes/pascal.el (electric-pascal-equal):
7147 * textmodes/reftex-dcr.el (reftex-view-crossref-from-bibtex):
7148 * xml.el (xml-substitute-special): Fix typos.
7149
7fb18e9e
GM
71502011-11-20 Glenn Morris <rgm@gnu.org>
7151
7152 * mail/rmail.el (rmail-enable-mime-composing): Make it a defcustom.
7153 (rmail-insert-mime-forwarded-message-function, rmail-mime-feature):
7154 Doc fixes.
7155 (rmail-decode-mime-charset): Mark as obsolete.
7156
7157 * mail/rmailsum.el (rmail-message-regexp-p-1):
7158 * mail/rmail.el (rmail-search-message, rmail-forward, rmail-resend):
7159 Before using mime functions, check they are set. (Bug#10077)
7160
d5a6b3ba
JL
71612011-11-19 Juri Linkov <juri@jurta.org>
7162
7163 * info.el (Info-finder-find-node): Use `package--builtins' instead
7164 of `package-alist'. Use node names formed by the pattern "Keyword "
7165 and the keyword name.
7166
e981b61f
AS
71672011-11-19 Andreas Schwab <schwab@linux-m68k.org>
7168
1d00653d 7169 * progmodes/sh-script.el (sh-assignment-regexp): Add entry for bash.
e981b61f 7170
3ffbc301
JL
71712011-11-19 Juri Linkov <juri@jurta.org>
7172
7173 * info.el (Info-hide-note-references): Add `:set' tag to `defcustom'
7174 that calls `revert-buffer' on all Info buffers. (Bug#9915)
7175 (Info-revert-find-node): Remove let-bindings `old-buffer-name',
7176 `old-history', `old-history-forward'. Add let-binding
7177 `window-selected'. Remove calls to `kill-buffer',
7178 `switch-to-buffer' and `Info-mode'. Set `Info-current-file' to nil
7179 before calling `Info-find-node', so `Info-find-node-2' will reread
7180 the Info file. Restore window positions only when `window-selected'
7181 is non-nil.
7182
30c62133
JL
71832011-11-19 Juri Linkov <juri@jurta.org>
7184
7185 * isearch.el (isearch-lazy-highlight-new-loop):
7186 Remove condition `(not isearch-error)'. (Bug#9918)
7187
7188 * misearch.el (multi-isearch-search-fun): Add condition
7189 `(not bound)' to ignore lazy-highlighting search.
7190 Add the search-failed message "end of multi" when the end of
7191 multi-sequence is reached. Uncapitalize the search-failed
7192 message "Repeat for next buffer".
7193
7194 * info.el (Info-search): Add the search-failed message
7195 "end of the manual" when the end of the manual is reached
7196 in Isearch mode.
7197
645ca9cf
JL
71982011-11-19 Juri Linkov <juri@jurta.org>
7199
7200 * info.el (Info-find-node-2, Info-select-node, Info-history-find-node):
7201 Use non-destructive `remove' instead of `delete' because
7202 `Info-history-list' stored to `Info-isearch-initial-history-list' in
7203 `Info-isearch-start' might need to be restored in `Info-isearch-end'.
7204
df754f66
JL
72052011-11-19 Juri Linkov <juri@jurta.org>
7206
7207 * isearch.el (isearch-edit-string): Let-bind `history-add-new-input'
7208 to nil instead of binding `search-ring' and `regexp-search-ring'.
7209 (Bug#9185)
7210
0e23d96a
EZ
72112011-11-19 Eli Zaretskii <eliz@gnu.org>
7212
7213 * simple.el (line-move): Force movement by logical lines for any
7214 hscrolled window, not only when auto-hscroll-mode is on.
7215 (line-move-visual): Update doc string to that effect. (Bug#10076)
7216
8a6ccb66
AS
72172011-11-19 Andreas Schwab <schwab@linux-m68k.org>
7218
7219 * language/european.el (macintosh): Define as alias for mac-roman.
7220
49ae5b39
EZ
72212011-11-19 Eli Zaretskii <eliz@gnu.org>
7222
7223 * mail/rmailmm.el (rmail-mime-display-header)
7224 (rmail-mime-display-tagline, rmail-mime-display-body): New defsubsts.
7225 (rmail-mime-entity-segment, rmail-mime-toggle-raw)
7226 (rmail-mime-toggle-hidden, rmail-mime-insert-text)
7227 (rmail-mime-insert-bulk, rmail-mime-insert-multipart)
7228 (rmail-mime-insert, rmail-mime-insert-tagline): Use them instead
7229 of a raw aref.
7230 (rmail-mime-entity-segment): To get past the tagline, move forward
7231 2 more lines, to account for the 2 empty lines that precede and
7232 follow the line with the buttons.
7233 (rmail-mime-update-tagline): Move one more line, to get past the
7234 empty line that follows the buttons in the tagline. (Bug#9520)
7235
c56cad4a
MR
72362011-11-19 Martin Rudalics <rudalics@gmx.at>
7237
7238 * window.el (window-max-delta-1, window-min-delta-1)
7239 (window-min-size-1, window-state-get-1, window-state-put-1)
7240 (window-state-put-2): Use "window--" prefix.
7241
cbe71af3
SM
72422011-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
7243
2ad52c60
SM
7244 * emacs-lisp/smie.el: Improve warnings and conflict detection.
7245 (smie-warning-count): New var.
7246 (smie-set-prec2tab): Use it.
7247 (smie-bnf->prec2): Improve warnings. Add docstring.
7248 (smie-bnf--closer-alist): Rename from smie-bnf-closer-alist.
7249 (smie-bnf--set-class): New function.
7250 (smie-bnf--classify): Rename from smie-bnf-classify. Rewrite to fix
7251 corner case.
7252
6944dbc1
SM
7253 * progmodes/compile.el: Obey compilation-first-column in dest buffer.
7254 (compilation-error-properties, compilation-move-to-column):
7255 Handle compilation-first-column while in the target buffer.
7256
c400c4d7
SM
7257 * progmodes/cc-engine.el (c-remove-stale-state-cache-backwards):
7258 Don't hardcode point-min==1.
7259
6dbe3e96
SM
7260 * eshell/esh-cmd.el (eshell-do-eval): Handle `setq' (bug#9907).
7261 (eshell-rewrite-for-command): Remove workaround.
7262 (eshell-do-pipelines, eshell-do-pipelines-synchronously)
7263 (eshell-do-eval, eshell-exec-lisp): Avoid gratuitous setq.
7264 * eshell/esh-util.el (eshell-condition-case, eshell-for): Use declare.
7265
cbe71af3
SM
7266 * files-x.el (modify-file-local-variable): Obey commenting conventions.
7267
a8e1496d
GM
72682011-11-17 Glenn Morris <rgm@gnu.org>
7269
7270 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
7271 Ignore buffer-local generated-autoload-file if it is the same
7272 as the global value. (Bug#10049)
7273
df85d315
JB
72742011-11-17 Juanma Barranquero <lekktu@gmail.com>
7275
7276 * textmodes/reftex-toc.el (reftex-toc-return-marker, reftex-toc-help)
7277 (reftex-toc, reftex-toc, reftex-toc-dframe-p, reftex-toc-next-heading)
7278 (reftex-toc-previous-heading, reftex-toc-max-level)
7279 (reftex-toc-goto-line-and-hide, reftex-toc-show-calling-point)
7280 (reftex-toc-quit, reftex-toc-revert, reftex-toc-jump)
7281 (reftex-toc-do-promote, reftex-toc-promote-prepare)
7282 (reftex-toc-promote-action, reftex-toc-extract-section-number)
7283 (reftex-toc-load-all-files-for-promotion, reftex-toc-rename-label)
7284 (reftex-toc-rename-label, reftex-toc-visit-location)
7285 (reftex-toc-visit-location, reftex-toggle-auto-toc-recenter)
7286 (reftex-toggle-auto-toc-recenter, reftex-toggle-auto-toc-recenter)
7287 (reftex-make-separate-toc-frame): Fix typos, and use TOC consistently,
7288 leaving "*toc*" only for references to the buffer.
7289
a0c2d0ae
MR
72902011-11-17 Martin Rudalics <rudalics@gmx.at>
7291
7292 * window.el (window-resize, delete-window, split-window):
7293 Replace window-splits by window-combination-resize.
1d00653d 7294 * cus-start.el (window-splits): Replace by window-combination-resize.
a0c2d0ae 7295
35c0bac8
GM
72962011-11-17 Glenn Morris <rgm@gnu.org>
7297
7298 * progmodes/sh-script.el (sh-font-lock-keywords-var):
7299 Make bash entry derive from sh entry, not shell entry.
7300
d0c8fc8a
MA
73012011-11-16 Michael Albinus <michael.albinus@gmx.de>
7302
7262a87c
MA
7303 * net/tramp-sh.el (tramp-sh-handle-file-truename): Cache only the
7304 local file name.
7305
7877f373
JB
73062011-11-16 Juanma Barranquero <lekktu@gmail.com>
7307
7308 * menu-bar.el (menu-bar-file-menu):
7309 * printing.el (pr-ps-utility):
7310 * calendar/icalendar.el (icalendar, icalendar--convert-tz-offset)
7311 (icalendar--convert-to-ical, icalendar--convert-ordinary-to-ical)
7312 (icalendar--convert-weekly-to-ical, icalendar--convert-yearly-to-ical)
7313 (icalendar--convert-sexp-to-ical, icalendar--convert-block-to-ical)
7314 (icalendar--convert-float-to-ical, icalendar--convert-date-to-ical)
7315 (icalendar--convert-cyclic-to-ical)
7316 (icalendar--convert-anniversary-to-ical, icalendar-import-buffer)
7317 (icalendar--convert-ical-to-diary)
7318 (icalendar--convert-recurring-to-diary)
7319 (icalendar--convert-non-recurring-all-day-to-diary)
7320 (icalendar-import-format-sample):
7321 * progmodes/idlw-shell.el (idlwave-shell-mode):
7322 * progmodes/vhdl-mode.el (vhdl-mode, vhdl-print-two-column)
7323 (vhdl-print-customize-faces, vhdl-mode, vhdl-ps-print-settings)
7324 (vhdl-ps-print-init): Fix typos.
7325
10649b82
KM
73262011-11-16 Ken Manheimer <ken.manheimer@gmail.com>
7327
9d0cfcd6
GM
7328 * allout.el, allout-widgets.el (file metadata): Attribute copyright to
7329 FSF and collapse date sequence, obscure author/maintainer email address
7330 better, remove extra version line, track relocation of author's webpage.
10649b82 7331
9d0cfcd6
GM
7332 * progmodes/python.el (python-pdbtrack-input-prompt)
7333 (python-pdbtrack-track-stack-file): Adjust to recognize ipdb as well as
7334 regular python pdb prompts. Adjustments shamelessly taken exactly as
7335 suggested in EmacsWiki page (tiny change):
7336 http://www.emacswiki.org/PythonProgrammingInEmacs#toc14
8642c216 7337
58179cce
JB
73382011-11-16 Juanma Barranquero <lekktu@gmail.com>
7339
7340 * expand.el (expand-pos, expand-index, expand-point):
7341 Remove redundant info from docstring.
7342 (expand-add-abbrevs): Doc fix.
7343 (expand-c-sample-expand-list, expand-sample-lisp-mode-expand-list)
7344 (expand-sample-perl-mode-expand-list): Fix typos.
7345
7346 * net/dbus.el (dbus-event-member-name):
7347 * play/5x5.el (5x5-solve-rotate-left, 5x5-solver-output):
7348 * term/pc-win.el (msdos-create-frame-with-faces):
7349 * textmodes/texinfmt.el (texinfo-format-image): Fix typos.
7350
b6f67890
MR
73512011-11-16 Martin Rudalics <rudalics@gmx.at>
7352
7353 * window.el (split-window, window-state-get-1)
7354 (window-state-put-1, window-state-put-2): Rename occurrences of
7355 window-nest to window-combination-limit.
1d00653d 7356 * cus-start.el (window-nest): Rename to window-combination-limit.
b6f67890 7357
ce7ddba0
CY
73582011-11-16 Chong Yidong <cyd@gnu.org>
7359
7360 * progmodes/autoconf.el (autoconf-mode): Fix comment-start-skip
7361 regexp (Bug#10033).
7362
3ae704f4
SM
73632011-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
7364
7365 * tmm.el (tmm-prompt): Use minibuffer-with-setup-hook (bug#10053).
7366 `completing-read' will remove *Completions* and will preserve
7367 current-buffer for us.
7368 (tmm-add-prompt): Users of *Completions* will always (re)set its
7369 major mode.
7370 (tmm-old-comp-map): Remove.
7371
6ad1cdde
GM
73722011-11-16 Glenn Morris <rgm@gnu.org>
7373
7374 * mail/rmailedit.el: Require rmailmm when compiling.
7375 (rmail-old-mime-state): New declaration.
7376 (rmail-edit-current-message): If editing a mime message,
7377 edit the "raw" message from the mbox buffer.
7378 (rmail-cease-edit): Handle mime messages. (Bug#9840)
7379
d20faa20
GM
73802011-11-15 Glenn Morris <rgm@gnu.org>
7381
7382 * mail/rmailmm.el (rmail-mime-toggle-raw): Remove entity arg,
7383 which wasn't being used. Add optional arg to force given state.
7384 (rmail-mime): Add optional arg to force given state.
7385
c7015153
JB
73862011-11-15 Juanma Barranquero <lekktu@gmail.com>
7387
7388 * allout.el (allout-encryption-plaintext-sanitization-regexps):
7389 * frame.el (display-mm-dimensions-alist):
7390 * outline.el (outline-mode-menu-bar-map, outline-move-subtree-up)
7391 (outline-move-subtree-down):
7392 * net/newst-treeview.el (newsticker--treeview-do-get-node-of-feed)
7393 (newsticker--treeview-do-get-node):
7394 * net/quickurl.el (quickurl-list-buffer-name):
7395 * progmodes/dcl-mode.el (dcl-mode):
7396 * progmodes/gdb-mi.el (gdb-mapcar*):
7397 * progmodes/sql.el (sql-mode-oracle-font-lock-keywords): Fix typos.
7398
45261b50
GM
73992011-11-15 Glenn Morris <rgm@gnu.org>
7400
7401 * mail/rmail.el (rmail-file-coding-system): It's only ever used
7402 in a boolean sense, so just make it a boolean, and fix the doc.
7403 (rmail-show-mime-function, rmail-mime-feature)
7404 (rmail-require-mime-maybe): Doc fixes.
7405 (rmail-show-message-1): Check rmail-show-mime-function is non-nil.
7406
7407 * mail/rmailmm.el (rmail-show-mime): Doc fix.
7408
0d26e0b6
JB
74092011-11-15 Juanma Barranquero <lekktu@gmail.com>
7410
7411 * epg.el (epg-start-decrypt, epg-start-verify, epg-start-sign)
7412 (epg-start-encrypt, epg-start-export-keys, epg-start-import-keys)
7413 (epg-start-receive-keys, epg-start-delete-keys, epg-start-sign-keys)
7414 (epg-start-generate-key, epg-context-set-progress-callback): Fix typos.
7415
447f30f6
GM
74162011-11-15 Glenn Morris <rgm@gnu.org>
7417
672b871d
GM
7418 * mail/rmailmm.el (rmail-mime-entity, rmail-mime-entity-segment)
7419 (rmail-mime-shown-mode, rmail-mime-hidden-mode, rmail-mime-raw-mode)
7420 (rmail-mime-toggle-hidden, rmail-mime-insert-tagline)
7421 (rmail-mime-insert-header, rmail-mime-handle, rmail-mime-parse)
7422 (rmail-mime, rmail-show-mime): Doc fixes.
7423
f6aa5bb1
GM
7424 * term/ns-win.el (mode-line-frame-identification):
7425 Leave it alone. (Bug#10051)
7426
947cd66b
GM
7427 * simple.el (mark-whole-buffer): Doc fix. (Bug#10023)
7428
447f30f6
GM
7429 * mail/rmailout.el (rmail-output-to-rmail-buffer):
7430 Handle empty buffers. (Bug#9978)
7431
0b381c7e
JB
74322011-11-14 Juanma Barranquero <lekktu@gmail.com>
7433
7434 * international/mule.el (define-charset):
7435 * mail/rmailmm.el (rmail-mime-find-header-encoding):
7436 * progmodes/prolog.el (prolog-mode-hook, prolog-inferior-mode-hook):
7437 * progmodes/verilog-mode.el (verilog-backward-token):
7438 * textmodes/ispell.el (lookup-words):
7439 * textmodes/sgml-mode.el (sgml-guess-indent): Fix typos.
7440
71e027ac
GM
74412011-11-14 Glenn Morris <rgm@gnu.org>
7442
56632ce4
GM
7443 * progmodes/executable.el
7444 (executable-make-buffer-file-executable-if-script-p):
7445 Handle file-modes returning nil.
7446
40500957
GM
7447 * mail/rmailsum.el (rmail-summary): Remove movement to beginning of
7448 message - not necessary, and causes problems. (Bug#9831)
7449
071c2340
GM
7450 * mail/rmailsum.el (rmail-new-summary): Preserve message number.
7451
d3cfca60
GM
7452 * mail/rmail.el (rmail-no-mail-p): Remove mode-line N/M indicator.
7453
71e027ac
GM
7454 * mail/rmailsum.el (rmail-summary, rmail-new-summary)
7455 (rmail-new-summary-1): Allow empty summaries. (Bug#9964)
7456 (rmail-new-summary): Remember that rmail-summary-buffer is buffer-local.
7457
89d61221
MR
74582011-11-12 Martin Rudalics <rudalics@gmx.at>
7459
7460 * window.el (window-resize, delete-window): Use window-splits
7461 variable instead of function.
7462 (window-state-get-1, window-state-put-2, window-state-put):
7463 Don't deal with windows' splits status.
7464
98282f6f
GM
74652011-11-12 Glenn Morris <rgm@gnu.org>
7466
7467 * apropos.el (apropos-do-all, apropos-library, apropos-value)
7468 (apropos-documentation): Doc fixes.
7469
40a8bdf6
JB
74702011-11-11 Juanma Barranquero <lekktu@gmail.com>
7471
7472 * progmodes/idlw-shell.el (idlwave-shell-make-new-bp-overlay):
7473 * textmodes/sgml-mode.el (html-tag-help): Fix typos.
7474
65bd19ff
SM
74752011-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
7476
7477 * electric.el (electric-indent-post-self-insert-function): Make it
7478 possible for a char to only indent in some circumstances.
7479 (electric-indent-mode): Simplify.
7480
54f9154c
MR
74812011-11-11 Martin Rudalics <rudalics@gmx.at>
7482
7483 * window.el (windows-with-parameter): Remove unused function.
7484 (windows-at-side): Rename to window-at-side-list.
7485 (window-check, window-atom-check, window-atom-check-1)
5e92ca23
MR
7486 (window-side-check, window-size-ignore, window-size-fixed-1)
7487 (window-in-direction-2): Prefix with "window--".
7488 (window-tree-1): Rename to window--subtree, fix doc-string.
54f9154c 7489
68cbc58b
GM
74902011-11-11 Glenn Morris <rgm@gnu.org>
7491
7492 * subr.el (eval-after-load): If FILE is already loaded,
7493 evaluate FORM before it gets wrapped in more stuff. (Bug#10009)
7494
b2621720
GM
74952011-11-10 Glenn Morris <rgm@gnu.org>
7496
9a4de110
GM
7497 * vc/vc-svn.el (vc-svn-create-repo, vc-svn-modify-change-comment):
7498 Call svn via vc-svn-command rather than vc-do-command.
7499 (vc-svn-command): Add --non-interactive. (Bug#9993)
7500 (vc-svn-update, vc-svn-merge-news): No need for --non-interactive.
7501
b2621720
GM
7502 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
7503 Add toggle-read-only. (Bug#7292)
7504 * files.el (toggle-read-only): Mention that it should only
7505 be used interactively. (Bug#10006)
7506
1dce7193
SM
75072011-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
7508
d9ac1a1e
SM
7509 * progmodes/compile.el (compilation-error-regexp-alist-alist):
7510 Adjust regexp for OCaml warnings.
7511
0c325082
SM
7512 * electric.el (electric-pair-post-self-insert-function): Let user
7513 turn it off buffer-locally (bug#9932).
7514
90132c14
SM
7515 * progmodes/python.el (python-beginning-of-statement):
7516 Rewrite (bug#2703).
7517
1dce7193
SM
7518 * progmodes/compile.el: Better handle TABs (bug#9749).
7519 (compilation-internal-error-properties)
7520 (compilation-next-error-function): Obey the target buffer's
7521 compilation-error-screen-columns.
7522
c4e7c63a
JB
75232011-11-09 Juanma Barranquero <lekktu@gmail.com>
7524
7525 * progmodes/meta-mode.el: Remove obsolete comments.
7526 (meta-right-comment-regexp, meta-ignore-comment-regexp):
7527 Fix typos in docstrings.
7528
2cffd681
MR
75292011-11-09 Martin Rudalics <rudalics@gmx.at>
7530
7531 * window.el (window-size-fixed-p): Rewrite doc-string.
1dce7193 7532 (window-resizable-p): Rename to window--resizable-p. Update callers.
2cffd681
MR
7533 (window--resizable): New function. Make all callers of
7534 window-resizable call window--resizable instead.
7535 (window-resizable): Rewrite in terms of window--resizable.
7536
0edcba87
GM
75372011-11-08 Glenn Morris <rgm@gnu.org>
7538
7539 * progmodes/delphi.el (delphi-mode-syntax-table):
7540 Let define-derived-mode define a proper syntax table. (Bug#9994)
7541
4b0d61e3
SM
75422011-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
7543
7544 * window.el: Stay away from defsubst.
7545 (window-list-no-nils): Remove.
7546 (window-state-get-1, window-state-get): Use backquote instead.
7547
cd394be1 75482011-11-08 Thierry Volpiatto <thierry.volpiatto@gmail.com>
fcbcac2e 7549
4b0d61e3 7550 * emacs-lisp/find-func.el (find-function-read):
fcbcac2e 7551 Fix incorrect use of default argument in `completing-read'.
7552
e1c2c6f2
MR
75532011-11-08 Martin Rudalics <rudalics@gmx.at>
7554
7555 * window.el (display-buffer-function, special-display-function):
7556 Mention display-buffer-record-window but do not mention
7557 help-setup parameter in doc-strings.
b3f4a882 7558 (window-min-delta): Fix doc-string typo.
e1c2c6f2 7559
105216ed
CY
75602011-11-08 Chong Yidong <cyd@gnu.org>
7561
7562 * window.el (window-total-height, window-total-width): Doc fix.
7563 (window-body-size): Move from C.
7564 (window-body-height, window-body-width): Move to C.
7565
0a9f9ab5
SM
75662011-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
7567
7568 * window.el: Make special-display like display-buffer-alist (bug#9532).
7569 (display-buffer--special-action): New function, morphed
7570 from display-buffer--special.
7571 (display-buffer): Use it to handle special-display-buffers at higher
7572 priority (just after display-buffer-alist).
7573 (display-buffer-fallback-action, display-buffer--other-frame-action)
7574 (pop-to-buffer-same-window): Remove display-buffer--special.
7575
a769dd15
GM
75762011-11-07 Glenn Morris <rgm@gnu.org>
7577
7578 * calendar/cal-menu.el (cal-menu-set-date-title):
7579 Do nothing if not in a calendar. (Bug#9976)
7580
05a61ee3
SM
75812011-11-07 Stefan Monnier <monnier@iro.umontreal.ca>
7582
7583 * files.el (find-file): Always use selected-window.
7584
be7f5545
MR
75852011-11-07 Martin Rudalics <rudalics@gmx.at>
7586
7587 * window.el (window-combinations): Make WINDOW argument
7588 mandatory. Rewrite doc-string.
7589 (walk-window-subtree, window-atom-check, window-min-delta)
7590 (window-max-delta, window--resize-this-window)
7591 (window--resize-root-window-vertically, window-tree)
7592 (balance-windows, window-state-put): Rewrite doc-strings as to
7593 not mention the term "subwindow".
7594 (window--resize-subwindows-skip-p): Rename to
7595 window--resize-child-windows-skip-p.
7596 (window--resize-subwindows-normal): Rename to
7597 window--resize-child-windows-normal.
7598 (window--resize-subwindows): Rename to
7599 window--resize-child-windows.
7600 (window-or-subwindow-p): Rename to window--in-subtree-p.
7601
3c6702ef
ML
76022011-11-07 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
7603
7604 * mail/rmail.el (rmail-get-new-mail, rmail-insert-inbox-text):
7605 Ensure that mbox format messages end in two newlines (Bug#9974).
7606
49745b39
CY
76072011-11-06 Chong Yidong <cyd@gnu.org>
7608
7609 * window.el (window-combination-p): Function deleted; its
7610 side-effect is not used in any existing code.
7611 (window-combinations, window-combined-p): Call window-*-child
7612 directly.
7613
24300f5f
CY
76142011-11-05 Chong Yidong <cyd@gnu.org>
7615
7616 * window.el (window-valid-p): Rename from window-any-p.
447f16b8
CY
7617 (window-size-ignore, window-state-get): Callers changed.
7618 (window-normalize-window): Rename from window-normalize-any-window.
7619 New arg LIVE-ONLY, replacing window-normalize-live-window.
1dce7193 7620 (window-normalize-live-window): Delete.
447f16b8
CY
7621 (window-combination-p, window-combined-p, window-combinations)
7622 (walk-window-subtree, window-atom-root, window-min-size)
7623 (window-sizable, window-sizable-p, window-size-fixed-p)
7624 (window-min-delta, window-max-delta, window-resizable)
7625 (window-resizable-p, window-full-height-p, window-full-width-p)
7626 (window-current-scroll-bars, window-point-1, set-window-point-1)
7627 (window-at-side-p, window-in-direction, window-resize)
7628 (adjust-window-trailing-edge, maximize-window, minimize-window)
7629 (window-deletable-p, delete-window, delete-other-windows)
7630 (record-window-buffer, unrecord-window-buffer)
7631 (switch-to-prev-buffer, switch-to-next-buffer, window--delete)
7632 (quit-window, split-window, window-state-put)
7633 (set-window-text-height, fit-window-to-buffer)
7634 (shrink-window-if-larger-than-buffer): Callers changed.
24300f5f 7635
89bd5ee1
EZ
76362011-11-04 Eli Zaretskii <eliz@gnu.org>
7637
53479029
EZ
7638 * mail/rmail.el (rmail-simplified-subject): Decode subject with
7639 rfc2047-decode-string.
7640 (rmail-mime-toggle-hidden): Declare to avoid byte-compilation
7641 warnings.
7642
89bd5ee1
EZ
7643 * window.el (window-body-height, window-body-width): Mention in
7644 the doc string that the return values are in frame's canonical
7645 units. (Bug#9949)
7646
bd17fdee
AM
76472011-11-03 Alan Mackenzie <acm@muc.de>
7648
7649 * progmodes/cc-langs.el (c-nonlabel-token-2-key): New variable for
7650 change in cc-engine.el.
7651
acc825c5
SM
76522011-11-02 Stefan Monnier <monnier@iro.umontreal.ca>
7653
7654 * window.el (switch-to-buffer): Use `force-same-window' interactively.
7655
1885e5b8
MR
76562011-11-02 Martin Rudalics <rudalics@gmx.at>
7657
7658 * window.el (quit-window): Call unrecord-window-buffer after
7659 showing another buffer in the window. (Bug#9937)
acc825c5 7660 (bury-buffer): Call switch-to-prev-buffer with second argument `bury'.
1885e5b8 7661
ebe06da9
JB
76622011-11-02 Juanma Barranquero <lekktu@gmail.com>
7663
7664 * vc/vc-bzr.el (vc-bzr-state, vc-bzr-after-dir-status):
7665 Accept status with more than 9 shelves. (Bug#9935)
7666 Reported by Colin D Bennett <colin@gibibit.com>.
7667
4ee88440
MR
76682011-11-01 Martin Rudalics <rudalics@gmx.at>
7669
7670 * help.el (with-help-window): Don't reference
7671 temp-buffer-show-specifiers in doc-string.
7672
08e1d82c
AS
76732011-10-31 Andreas Schwab <schwab@linux-m68k.org>
7674
7675 * subr.el (keymap--menu-item-with-binding): Ignore item if not a
7676 menu-item.
7677
84bd6e9e
VJL
76782011-10-30 Vinicius Jose Latorre <viniciusjl@ig.com.br>
7679
7680 * whitespace.el: New version 13.2.2.
7681 (whitespace-newline-mode): Disable properly. Reported by Sarah
7682 <EmacsWiki>.
7683
dba0634a
UJ
76842011-10-30 Ulf Jasper <ulf.jasper@web.de>
7685
7686 * net/newst-treeview.el: Remove "Time-stamp".
7687 (newsticker--group-manage-orphan-feeds): Do not call
7688 newsticker--treeview-tree-update.
db22a3c2
JB
7689 (newsticker-treeview-update, newsticker-treeview):
7690 Call newsticker--treeview-tree-update if necessary.
dba0634a 7691
3d8daefe
MR
76922011-10-30 Martin Rudalics <rudalics@gmx.at>
7693
7694 * window.el (window-iso-combination-p, window-iso-combined-p)
acc825c5
SM
7695 (window-iso-combinations): Remove "iso-" infix.
7696 Suggested by Chong Yidong.
3d8daefe
MR
7697 (window-min-size-1, window-size-fixed-1, window-min-delta-1)
7698 (window-max-delta-1, window-resize, window--resize-siblings)
7699 (window--resize-this-window, adjust-window-trailing-edge)
7700 (split-window, balance-windows-1)
7701 (shrink-window-if-larger-than-buffer):
7702 * calendar/calendar.el (calendar-generate-window):
db22a3c2 7703 * help.el (resize-temp-buffer-window): Adjust callers accordingly.
3d8daefe 7704
1bc4c3ae
SM
77052011-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
7706
7707 * eshell/esh-cmd.el (eshell-rewrite-for-command): Don't modify the list
7708 in place (bug#9907).
7709 (eshell-subcommand-arg-values, eshell-rewrite-named-command)
7710 (eshell-rewrite-if-command, eshell-rewrite-for-command)
7711 (eshell-structure-basic-command, eshell-rewrite-while-command)
7712 (eshell-invokify-arg, eshell-parse-pipeline, eshell-parse-command)
7713 (eshell-parse-subcommand-argument, eshell-parse-lisp-argument)
7714 (eshell-trap-errors, eshell-do-pipelines, eshell-do-eval)
7715 (eshell-do-pipelines-synchronously, eshell-eval-command):
7716 Use backquotes and prefer setq to set.
7717 (eshell-lookup-function, function-p-func, eshell-functionp): Remove.
7718 (eshell-macrop): Use functionp.
c1e2f5fa 7719 (eshell-do-eval): Handle multiple expressions in `while' body.
1bc4c3ae 7720
30b65d9c
CY
77212011-10-30 Chong Yidong <cyd@gnu.org>
7722
7723 * emulation/viper-cmd.el (viper-exec-change): Use push-mark
7724 instead of set-mark (Bug#9810).
7725
2d197ffb
CY
77262011-10-30 Chong Yidong <cyd@gnu.org>
7727
7728 * window.el (split-window-below, split-window-right): Rename from
7729 split-window-above-each-other and split-window-side-by-side
7730 respectively. All callers changed.
7731 (split-window-sensibly, split-window-sensibly): Use them.
7732 (split-window-keep-point): Doc fix.
7733
7734 * isearch.el: Add isearch-scroll property to split-window-below
7735 and split-window-right.
7736
7737 * follow.el (follow-mode):
7738 * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
7739 * progmodes/ada-xref.el (ada-gdb-application):
7740 * emulation/vip.el (vip-buffer-in-two-windows):
7741 * image-dired.el (image-dired-dired-with-window-configuration):
7742 * dired-x.el (dired-do-find-marked-files):
7743 * dired.el (dired-pop-to-buffer):
7744 * bs.el (bs--show-with-configuration):
7745 * vc/emerge.el (emerge-setup-windows):
7746 * textmodes/two-column.el (2C-two-columns):
7747 * textmodes/reftex-toc.el (reftex-toc):
7748 * progmodes/gdb-mi.el (gdb-setup-windows):
7749 * progmodes/fortran.el (fortran-window-create):
7750 * net/newst-treeview.el (newsticker--treeview-window-init):
7751 * emulation/ws-mode.el (wordstar-C-o-map, wordstar-mode):
7752 * emulation/tpu-edt.el (tpu-gold-map):
7753 * emulation/crisp.el (crisp-mode-map):
7754 * calendar/calendar.el (calendar-basic-setup): Callers changed.
7755
38bb2ca8
CY
77562011-10-29 Chong Yidong <cyd@gnu.org>
7757
aa4de341
CY
7758 * subr.el (y-or-n-p): Add code for batch mode (Bug#9818).
7759
e1eb5385
CY
7760 * mouse.el (mouse-yank-primary): Push the mark (Bug#9894).
7761
5d2ece3c
CY
7762 * textmodes/flyspell.el (flyspell-word): Fix char offset for
7763 forged Ispell output (Bug#7904).
7764
38bb2ca8
CY
7765 * emacs-lisp/package.el (package-refresh-contents): Add autoload.
7766
d0af9f77
SM
77672011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
7768
7769 * doc-view.el: Avoid ugly errors about not finding nil.
7770 (doc-view-ghostscript-program, doc-view-dvipdfm-program)
7771 (doc-view-dvipdf-program, doc-view-unoconv-program)
7772 (doc-view-ps2pdf-program, doc-view-pdftotext-program):
7773 Avoid nil or absolute file name as default value.
7774 (doc-view-pdf->txt, doc-view-ps->pdf): Use executable-find here.
7775
52bedd34
AM
77762011-10-28 Alan Mackenzie <acm@muc.de>
7777
db22a3c2 7778 * progmodes/cc-defs.el (c-version): -> 5.32.2.
52bedd34 7779
7e43cfa5
AM
77802011-10-28 Alan Mackenzie <acm@muc.de>
7781
7782 Amend the handling of c-beginning/end-of-defun in nested declaration
7783 scopes.
7784
52bedd34
AM
7785 * progmodes/cc-vars.el (c-defun-tactic): Move here from
7786 cc-langs.el. Change it to a defcustom.
7e43cfa5 7787
52bedd34
AM
7788 * progmodes/cc-langs.el (c-defun-tactic): Move this variable to
7789 cc-vars.el.
7e43cfa5 7790
d0af9f77
SM
7791 * progmodes/cc-engine.el (c-beginning-of-statement-1):
7792 Prevent "class foo : bar" being spuriously recognized as a label.
7e43cfa5 7793
52bedd34 7794 * progmodes/cc-cmds.el (c-narrow-to-most-enclosing-decl-block):
acc825c5 7795 Add parameter `inclusive' (to include enclosing braces in the region).
7e43cfa5
AM
7796 (c-widen-to-enclosing-decl-scope): New function.
7797 (c-while-widening-to-decl-block): New macro.
7798 (c-beginning-of-defun, c-end-of-defun): Change algorithm to keep going
7799 outward for defun boundaries, and correspondingly change symbol
7800 `respect-enclosure' to `go-outward'.
7801 (c-declaration-limits): Change algorithm to report only the "innermost"
7802 defun's boundaries.
7803
1a2ce9ee
DD
78042011-10-28 Deniz Dogan <deniz@dogan.se>
7805
7806 * net/rcirc.el (rcirc-mode): Use hard newlines.
7807
bc97a826
AM
78082011-10-28 Alan Mackenzie <acm@muc.de>
7809
7810 Amend to indent and fontify macros "which include their own semicolon"
7811 correctly, using the "virtual semicolon" mechanism.
7812
52bedd34 7813 * progmodes/cc-defs.el: Update "virtual semicolon" comments.
bc97a826 7814
d0af9f77 7815 * progmodes/cc-engine.el (c-crosses-statement-barrier-p):
7877f373 7816 Recode to scan one line at a time rather than having \n and \r
58179cce 7817 explicitly in c-stmt-delim-chars (for some modes, e.g. AWK).
bc97a826 7818 (c-forward-label): Amend for virtual semicolons.
58179cce 7819 (c-at-macro-vsemi-p, c-macro-vsemi-status-unknown-p): New functions.
bc97a826 7820
52bedd34
AM
7821 * progmodes/cc-fonts.el (c-font-lock-declarations): Take account
7822 of the new C macros.
bc97a826 7823
52bedd34 7824 * progmodes/cc-langs.el (c-at-vsemi-p-fn):
acc825c5
SM
7825 (c-vsemi-status-unknown-p-fn): Move to earlier in the file.
7826 (c-opt-cpp-symbol, c-line-comment-start-regexp): New language vars.
bc97a826
AM
7827 (c-opt-cpp-macro-define): Make into a full language variable.
7828 (c-stmt-delim-chars, c-stmt-delim-chars-with-comma): Special value for
7829 AWK Mode (including \n, \r) removed, no longer needed.
7830
d0af9f77
SM
7831 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode):
7832 Invoke c-make-macro-with-semi-re.
bc97a826 7833
52bedd34
AM
7834 * progmodes/cc-vars.el (c-macro-with-semi-re):
7835 (c-macro-names-with-semicolon): New variables.
58179cce 7836 (c-make-macro-with-semi-re): New function.
bc97a826 7837
7a6c0941
SM
78382011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
7839
7840 * vc/log-edit.el: Fill empty field rather than adding new one.
7841 (log-edit-add-field): New function.
7842 (log-edit-insert-changelog): Use it.
7843
b0c4cdcf
ML
78442011-10-28 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
7845
7846 * mail/rmail.el (rmail-mode-map): Add M-C-f as in rmailsum (bug#9802).
7847
ee1f1da9
SM
78482011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
7849
7850 * progmodes/gdb-mi.el: Warn the user when -i=mi is missing.
7851 (gdb--check-interpreter): New function.
7852 (gdb): Use it.
7853
51bc5f8b
GM
78542011-10-27 Glenn Morris <rgm@gnu.org>
7855
416a2c45
GM
7856 * emacs-lisp/cl-extra.el (most-positive-float, most-negative-float)
7857 (least-positive-float, least-negative-float)
7858 (least-positive-normalized-float, least-negative-normalized-float)
7859 (float-epsilon, float-negative-epsilon):
7860 Remove unnecessary declarations.
7861
7862 * emacs-lisp/cl-extra.el (cl-float-limits): Add doc string.
7863 * emacs-lisp/cl.el (most-positive-float, most-negative-float)
7864 (least-positive-float, least-negative-float)
7865 (least-positive-normalized-float, least-negative-normalized-float)
7866 (float-epsilon, float-negative-epsilon): Add doc-strings,
7867 based on those in cl.texi.
7868
51bc5f8b
GM
7869 * files.el (set-visited-file-name): If the major-mode changed,
7870 reload the local variables. (Bug#9796)
7871
15de15c6
CY
78722011-10-27 Chong Yidong <cyd@gnu.org>
7873
7874 * subr.el (change-major-mode-after-body-hook): New hook.
7875 (run-mode-hooks): Run it.
7876
ee1f1da9
SM
7877 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
7878 Use change-major-mode-before-body-hook.
15de15c6
CY
7879
7880 * simple.el (fundamental-mode):
7881 * emacs-lisp/derived.el (define-derived-mode): Revert 2010-04-28
7882 change introducing fundamental-mode-hook.
7883
5430d399
JB
78842011-10-26 Juanma Barranquero <lekktu@gmail.com>
7885
acc825c5 7886 * term/w32-win.el (w32-default-color-map): Declare obsolete (Bug#9785).
5430d399 7887
ad74a69e
MA
78882011-10-26 Michael Albinus <michael.albinus@gmx.de>
7889
7890 * ido.el (ido-file-name-all-completions-1): Do not require
c7015153 7891 tramp.el explicitly. (Bug#7583)
ad74a69e 7892
71d4c2a5
SM
78932011-10-26 Stefan Monnier <monnier@iro.umontreal.ca>
7894
7895 * progmodes/octave-mod.el:
7896 * progmodes/octave-inf.el: Update maintainer.
7897
b1f6fa26
CY
78982011-10-26 Chong Yidong <cyd@gnu.org>
7899
7900 * subr.el (with-wrapper-hook): Rewrite doc.
7901
3f04efd6
MA
79022011-10-25 Michael Albinus <michael.albinus@gmx.de>
7903
7904 * net/tramp-sh.el (tramp-sh-handle-file-directory-p): Return t for
ad74a69e 7905 filenames "/method:foo:". (Bug#9793)
3f04efd6 7906
410488d3
SM
79072011-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
7908
7909 * comint.el (comint-get-old-input-default): Fix use-prompt-regexp case
7910 (bug#9865).
7911
c1ebb47e
GM
79122011-10-24 Glenn Morris <rgm@gnu.org>
7913
7914 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix. (Bug#9819)
7915
7f5c46c7
MA
79162011-10-24 Michael Albinus <michael.albinus@gmx.de>
7917
7918 * notifications.el: Add the requirement of a running D-Bus session
7919 bus to the Commentary.
7920
db2440b6
JL
79212011-10-24 Juri Linkov <juri@jurta.org>
7922
7923 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
7924 `search-whitespace-regexp' only when `isearch-regexp' is non-nil.
7925 (Bug#9364)
7926
feecf435
JL
79272011-10-24 Juri Linkov <juri@jurta.org>
7928
7929 * info.el (Info-following-node-name-re): Add newline to the list
7930 of allowed characters for leading space. (Bug#9824)
7931
a3839de2
SM
79322011-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
7933
acc825c5
SM
7934 * progmodes/octave-inf.el (inferior-octave-mode-map):
7935 Fix C-c C-h binding.
a3839de2
SM
7936 * progmodes/octave-mod.el (octave-help): Remove.
7937
09388e76
MA
79382011-10-23 Michael Albinus <michael.albinus@gmx.de>
7939
7940 Sync with Tramp 2.2.3.
7941
7942 * net/tramp-cache.el (top): Pacify byte-compiler using
7943 `init-file-user' and `site-run-file'.
7944
7945 * net/trampver.el: Update release number.
7946
86c60681
CY
79472011-10-23 Chong Yidong <cyd@gnu.org>
7948
7949 * files.el (toggle-read-only): Remove obsolete comment about
7950 version control.
7951
7952 * vc/vc-hooks.el (vc-toggle-read-only): Make it an obsolete alias
7953 for toggle-read-only. Note that this hasn't called vc-next-action
7954 since 2008-05-02, though it wasn't documented at the time.
7955
a3839de2
SM
7956 * vc/ediff-init.el (ediff-toggle-read-only-function):
7957 Use toggle-read-only.
86c60681 7958
cd5495ff
AM
79592011-10-22 Alan Mackenzie <bug-cc-mode@gnu.org>
7960
7961 Fix bug #9560, sporadic wrong indentation; improve instrumentation
7962 of c-parse-state.
7963
00b77525 7964 * progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache):
a3839de2 7965 correct faulty logical expression.
cd5495ff
AM
7966 (c-parse-state-state, c-record-parse-state-state):
7967 (c-replay-parse-state-state): New defvar/defuns.
7968 (c-debug-parse-state): Use new functions.
7969
42ee24ed
MR
79702011-10-22 Martin Rudalics <rudalics@gmx.at>
7971
7972 * mouse.el (mouse-drag-line): Fix minibuffer resizing broken by
53ebff1f 7973 last fix. Use window-in-direction correctly.
42ee24ed 7974
a7dee7e7
CY
79752011-10-21 Chong Yidong <cyd@gnu.org>
7976
7977 * progmodes/idlwave.el (idlwave-mode):
7978 * progmodes/vera-mode.el (vera-mode): No need to set
a3839de2
SM
7979 require-final-newline; that's done in prog-mode.
7980 Suggested by Stefan Monnier.
a7dee7e7 7981
e07b9a6d
MR
79822011-10-21 Martin Rudalics <rudalics@gmx.at>
7983
7984 * mouse.el (mouse-drag-window-above)
7985 (mouse-drag-move-window-bottom, mouse-drag-move-window-top)
7986 (mouse-drag-mode-line-1, mouse-drag-header-line)
7987 (mouse-drag-vertical-line-rightward-window): Remove.
7988 (mouse-drag-line): New function.
7989 (mouse-drag-mode-line, mouse-drag-header-line)
7990 (mouse-drag-vertical-line): Call mouse-drag-line.
7991 * window.el (window-at-side-p, windows-at-side): New functions.
7992
7e1361d9
UM
79932011-10-21 Ulrich Mueller <ulm@gentoo.org>
7994
7995 * tar-mode.el (tar-grind-file-mode):
7996 Fix handling of setuid/setgid, handle sticky bit. (Bug#9817)
7997
30fcaf3a
CY
79982011-10-21 Chong Yidong <cyd@gnu.org>
7999
8000 * progmodes/idlwave.el (idlwave-mode):
a3839de2
SM
8001 * progmodes/vera-mode.el (vera-mode):
8002 Use mode-require-final-newline.
30fcaf3a 8003
516eddb0
GM
80042011-10-20 Glenn Morris <rgm@gnu.org>
8005
db22a3c2 8006 * vc/vc.el (vc-next-action): Handle removed directories. (Bug#9781)
516eddb0 8007
10d5f513
CS
80082011-10-20 Christoph Scholtes <cschol2112@googlemail.com>
8009
8010 * emulation/cua-base.el (cua-set-mark): Fix case of string.
8011
ac6c8639
CY
80122011-10-20 Chong Yidong <cyd@gnu.org>
8013
8014 * emulation/cua-base.el (cua-mode):
8015 * mail/footnote.el (footnote-mode):
8016 * mail/mailabbrev.el (mail-abbrevs-mode):
8017 * net/xesam.el (xesam-minor-mode):
8018 * progmodes/bug-reference.el (bug-reference-mode):
8019 * progmodes/cap-words.el (capitalized-words-mode):
8020 * progmodes/compile.el (compilation-minor-mode)
8021 (compilation-shell-minor-mode):
8022 * progmodes/gud.el (gud-tooltip-mode):
8023 * progmodes/hideif.el (hide-ifdef-mode):
8024 * progmodes/idlw-shell.el (idlwave-shell-electric-debug-mode):
8025 * progmodes/subword.el (subword-mode):
8026 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
8027 * progmodes/which-func.el (which-function-mode):
8028 * term/tvi970.el (tvi970-set-keypad-mode):
8029 * term/vt100.el (vt100-wide-mode):
8030 * textmodes/flyspell.el (flyspell-mode):
8031 * textmodes/ispell.el (ispell-minor-mode):
8032 * textmodes/nroff-mode.el (nroff-electric-mode):
8033 * textmodes/paragraphs.el (use-hard-newlines):
8034 * textmodes/refill.el (refill-mode):
8035 * textmodes/reftex.el (reftex-mode):
8036 * textmodes/rst.el (rst-minor-mode):
8037 * textmodes/sgml-mode.el (html-autoview-mode)
8038 (sgml-electric-tag-pair-mode):
8039 * textmodes/tex-mode.el (latex-electric-env-pair-mode):
8040 * vc/diff-mode.el (diff-auto-refine-mode, diff-minor-mode):
8041 * emulation/crisp.el (crisp-mode):
8042 * emacs-lisp/eldoc.el (eldoc-mode):
8043 * emacs-lisp/checkdoc.el (checkdoc-minor-mode): Doc fixes for new
8044 minor mode behavior.
8045
aa42ab43
JL
80462011-10-19 Juri Linkov <juri@jurta.org>
8047
8048 * descr-text.el (describe-char): Add #x2010 and #x2011 to
8049 the list of hard-coded chars with escape-glyph face.
8050
89400f1d
SM
80512011-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
8052
8053 * vc/log-edit.el (log-edit-empty-buffer-p): Ignore empty headers.
8054
305c07f6
MA
80552011-10-19 Michael Albinus <michael.albinus@gmx.de>
8056
8057 * net/tramp.el (tramp-connectable-p): Make a stronger check on a
8058 running process.
8059
13754b54
GM
80602011-10-19 Glenn Morris <rgm@gnu.org>
8061
8062 * vc/vc-bzr.el (vc-bzr-after-dir-status):
8063 Ignore ignored files. (Bug#9726)
8064
06e21633
CY
80652011-10-19 Chong Yidong <cyd@gnu.org>
8066
8067 Doc fix for minor modes, stating that an omitted argument enables
8068 the mode unconditionally when called from Lisp.
8069
8070 * abbrev.el (abbrev-mode):
8071 * allout.el (allout-mode):
8072 * autoinsert.el (auto-insert-mode):
8073 * autoarg.el (autoarg-mode, autoarg-kp-mode):
8074 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
8075 (global-auto-revert-mode):
8076 * battery.el (display-battery-mode):
8077 * composite.el (global-auto-composition-mode)
8078 (auto-composition-mode):
8079 * delsel.el (delete-selection-mode):
8080 * desktop.el (desktop-save-mode):
8081 * dired-x.el (dired-omit-mode):
8082 * dirtrack.el (dirtrack-mode):
8083 * doc-view.el (doc-view-minor-mode):
8084 * double.el (double-mode):
8085 * electric.el (electric-indent-mode, electric-pair-mode):
8086 * emacs-lock.el (emacs-lock-mode):
8087 * epa-hook.el (auto-encryption-mode):
8088 * follow.el (follow-mode):
8089 * font-core.el (font-lock-mode):
8090 * frame.el (auto-raise-mode, auto-lower-mode, blink-cursor-mode):
8091 * help.el (temp-buffer-resize-mode):
8092 * hilit-chg.el (highlight-changes-mode)
8093 (highlight-changes-visible-mode):
8094 * hi-lock.el (hi-lock-mode):
8095 * hl-line.el (hl-line-mode, global-hl-line-mode):
8096 * icomplete.el (icomplete-mode):
8097 * ido.el (ido-everywhere):
8098 * image-file.el (auto-image-file-mode):
8099 * image-mode.el (image-minor-mode):
8100 * iswitchb.el (iswitchb-mode):
8101 * jka-cmpr-hook.el (auto-compression-mode):
8102 * linum.el (linum-mode):
8103 * longlines.el (longlines-mode):
8104 * master.el (master-mode):
8105 * mb-depth.el (minibuffer-depth-indicate-mode):
8106 * menu-bar.el (menu-bar-mode):
8107 * minibuf-eldef.el (minibuffer-electric-default-mode):
8108 * mouse-sel.el (mouse-sel-mode):
8109 * msb.el (msb-mode):
8110 * mwheel.el (mouse-wheel-mode):
8111 * outline.el (outline-minor-mode):
8112 * paren.el (show-paren-mode):
8113 * recentf.el (recentf-mode):
8114 * reveal.el (reveal-mode, global-reveal-mode):
8115 * rfn-eshadow.el (file-name-shadow-mode):
8116 * ruler-mode.el (ruler-mode):
8117 * savehist.el (savehist-mode):
8118 * scroll-all.el (scroll-all-mode):
8119 * scroll-bar.el (scroll-bar-mode):
8120 * server.el (server-mode):
8121 * shell.el (shell-dirtrack-mode):
8122 * simple.el (auto-fill-mode, transient-mark-mode)
8123 (visual-line-mode, overwrite-mode, binary-overwrite-mode)
8124 (line-number-mode, column-number-mode, size-indication-mode)
8125 (auto-save-mode, normal-erase-is-backspace-mode, visible-mode):
8126 * strokes.el (strokes-mode):
8127 * time.el (display-time-mode):
8128 * t-mouse.el (gpm-mouse-mode):
8129 * tool-bar.el (tool-bar-mode):
8130 * tooltip.el (tooltip-mode):
8131 * type-break.el (type-break-mode-line-message-mode)
8132 (type-break-query-mode):
8133 * view.el (view-mode):
8134 * whitespace.el (whitespace-mode, whitespace-newline-mode)
8135 (global-whitespace-mode, global-whitespace-newline-mode):
8136 * xt-mouse.el (xterm-mouse-mode): Doc fix.
8137
a3839de2
SM
8138 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
8139 Fix autogenerated docstring.
06e21633 8140
5214e501
JL
81412011-10-19 Juri Linkov <juri@jurta.org>
8142
8143 * net/browse-url.el (browse-url-can-use-xdg-open): Support LXDE
8144 by checking environment variables "DESKTOP_SESSION" and
8145 "XDG_CURRENT_DESKTOP". (Bug#9779)
8146
195f8db9
JL
81472011-10-19 Juri Linkov <juri@jurta.org>
8148
8149 * net/browse-url.el (browse-url-browser-function): Add "Chromium".
8150 (browse-url-chromium-program, browse-url-chromium-arguments):
8151 New defcustoms.
8152 (browse-url-default-browser): Check for `browse-url-chromium' and
8153 call `browse-url-chromium-program'.
8154 (browse-url-chromium): New command. (Bug#9779)
8155
343a34ff
JB
81562011-10-18 Juanma Barranquero <lekktu@gmail.com>
8157
8158 * facemenu.el (list-colors-duplicates): On Windows, detect more
8159 duplicates by assuming that only colors matching "^System" are
8160 special "system colors". (Bug#9722)
8161
6978a151
SM
81622011-10-18 Stefan Monnier <monnier@iro.umontreal.ca>
8163
8164 * vc/log-edit.el (log-edit): Add "Author:" header to encourage people
8165 to distinguish the author from the committer.
8166
6a80b297
MA
81672011-10-18 Michael Albinus <michael.albinus@gmx.de>
8168
8169 * net/tramp.el (tramp-file-name-handler): Load Tramp packages silently.
8170
b31a5677
JK
81712011-10-18 Jirka Kosek <jirka@kosek.cz> (tiny change)
8172
8173 * international/mule.el (sgml-html-meta-auto-coding-function):
8174 Add support for detecting encoding in HTML5 specified only as
8175 <meta charset="UTF-8">. Implementation just makes http-equiv and
8176 content-type parts from HTML4 encoding string optional. (Bug#9716)
8177
80c6d77f
GM
81782011-10-18 Glenn Morris <rgm@gnu.org>
8179
8180 * vc/vc.el (vc-initial-comment): Mark as obsolete. (Bug#9745)
8181
08b0fee8
CY
81822011-10-18 Chong Yidong <cyd@gnu.org>
8183
8184 * faces.el (cursor): Doc fix.
8185
67e729a5
CY
81862011-10-17 Chong Yidong <cyd@gnu.org>
8187
8188 * font-lock.el (font-lock-maximum-size): Mark as obsolete.
8189
343a34ff 81902011-10-17 Ryan Barrett <emacs@ryanb.org> (tiny change)
87e478b3
RB
8191
8192 * dirtrack.el (dirtrack): Support shell buffers with path
8193 prefixes, e.g. tramp-based remote shells. (Bug#9647)
8194
0bc06380
TZ
81952011-10-17 Teodor Zlatanov <tzz@lifelogs.com>
8196
8197 * json.el: Bump version to 1.3 and note change in History.
8198 (json-alist-p, json-plist-p): Rewrite to avoid recursion.
8199
8b79f3e0
SM
82002011-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
8201
5a7c536b
SM
8202 * comint.el (comint-insert-input, comint-send-input)
8203 (comint-get-old-input-default, comint-backward-matching-input)
8204 (comint-next-prompt): Use nil instead of `input' for field property of
8205 past user input (bug#114).
8206
96a8a0df
SM
8207 * minibuffer.el (completion--replace): Inherit surrounding properties
8208 (bug#114).
8209 (minibuffer-complete-and-exit): Use it.
8210
8b79f3e0
SM
8211 * comint.el (comint--table-subvert): Quote the all-completions output
8212 (bug#9160).
8213
b8f7ff0d
MR
82142011-10-17 Martin Rudalics <rudalics@gmx.at>
8215
8b79f3e0 8216 * ido.el (ido-default-buffer-method): Remove redundant :type entry.
4e5c3d2b 8217
b8f7ff0d 8218 * menu-bar.el (menu-bar-file-menu): Add entry for making new
d912bdcf 8219 window on right of selected. (Bug#9350) Reword other window
b8f7ff0d
MR
8220 entries and separate them from frame entries.
8221
c235b555
GM
82222011-10-15 Glenn Morris <rgm@gnu.org>
8223
8224 * emacs-lisp/ert.el (ert--explain-equal-rec, ert-select-tests):
8225 Doc fixes.
8226
6bbfa6e1
CY
82272011-10-15 Chong Yidong <cyd@stupidchicken.com>
8228
8b79f3e0
SM
8229 * net/network-stream.el (network-stream-open-starttls):
8230 Improve detection of failure due to lack of TLS support.
ec5c990d 8231
6bbfa6e1
CY
8232 * mail/sendmail.el (sendmail-query-once): Tweak prompt message,
8233 putting the input text in front and in bold.
8234
98488977
SM
82352011-10-14 Stefan Monnier <monnier@iro.umontreal.ca>
8236
3d1337be
SM
8237 * pcmpl-unix.el (pcomplete/ssh): SSH does allow ganging.
8238
ee0b45e4
SM
8239 * mpc.el (mpc-songs-jump-to): Don't burp if the user clicks in an
8240 empty buffer.
8241
98488977
SM
8242 * mouse.el (mouse-drag-mode-line-1): Modify the end-event we pushed on
8243 unread-command-events rather than pushing yet-another event.
8244
186f4720
EZ
82452011-10-14 Eli Zaretskii <eliz@gnu.org>
8246
8247 * mail/sendmail.el (sendmail-query-once): Improve the wording of
8248 the explanation of the possible choices. Make the options passed
8249 to completing-read shorter.
8250
8b7a997c
AM
82512011-10-13 Agustín Martín Domingo <agustin.martin@hispalinux.es>
8252
8253 * textmodes/flyspell.el (flyspell-large-region): Make sure
8254 extended character mode is used if defined (Bug#1339).
8255
12587bbb
EZ
82562011-10-13 Eli Zaretskii <eliz@gnu.org>
8257
8258 * simple.el (what-cursor-position): Fix the display of the
e7e2364b
EZ
8259 character info for LRE, LRO, RLE, and RLO characters by appending
8260 an invisible PDF.
12587bbb 8261
bad41229
SM
82622011-10-13 Stefan Monnier <monnier@iro.umontreal.ca>
8263
8264 * emacs-lisp/timer.el (with-timeout): Make sure we cancel the timer
8265 even in case of error; add debug spec; simplify data flow.
8266 (with-timeout-handler): Remove.
8267
28dbc92f
MA
82682011-10-12 Michael Albinus <michael.albinus@gmx.de>
8269
8270 Fix Bug#6019, Bug#9315.
8271
8272 * files.el (set-auto-mode): Call `file-name-sans-versions' for the
8273 complete `buffer-file-name', the local file name part could look
8274 remotely (for example on VMS).
8275
8276 * net/ange-ftp.el (ange-ftp-run-real-handler): Make it an alias of
8277 `tramp-run-real-handler'.
8278 (ange-ftp-fix-name-for-vms): Handle the case, where `name' is
8279 already quoted by '"'.
8280
8281 * net/tramp.el (tramp-rfn-eshadow-update-overlay): Ignore errors.
8282 Let `file-name-handler-alist' be nil, the local file name part
8283 could look remotely (for example on VMS).
8284
e1b0b23a
SM
82852011-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
8286
8287 * textmodes/flyspell.el (flyspell-word): Move with-local-quit
8288 from here...
8289 (flyspell-post-command-hook): ...to here.
8290
a120bde9
SM
82912011-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
8292
8293 * mail/sendmail.el (send-mail-function): Don't use sendmail-query-once
8294 if not needed.
8295 (sendmail-query-once): Remove OS dependencies. Make it a 3-way choice
8296 using completion. Protect against "slow" callers.
8297 Remove the "message hack".
8298
7ce7717b
JL
82992011-10-11 Juri Linkov <juri@jurta.org>
8300
8301 * isearch.el (isearch-lazy-highlight-word): New variable.
8302 (isearch-lazy-highlight-new-loop, isearch-lazy-highlight-search):
8303 Use it. (Bug#9727)
8304
c02ee9d6
GM
83052011-10-11 Glenn Morris <rgm@gnu.org>
8306
8307 * progmodes/f90.el (f90-next-statement): Ignore preprocessor lines,
8308 like f90-previous-statement does.
8309
93e616fd 83102011-10-11 Thierry Volpiatto <thierry.volpiatto@gmail.com>
8311
1f190e73 8312 * eshell/eshell.el (eshell-command): History should be saved
c02ee9d6
GM
8313 only in interactive use, to avoid error.
8314
af7b6078
SM
83152011-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
8316
8317 * minibuffer.el (completion-file-name-table): Fix last change,
8318 i.e. ignore normal errors but not the other ones.
8319
0563dae9
MR
83202011-10-10 Martin Rudalics <rudalics@gmx.at>
8321
8322 * window.el (special-display-buffer-names)
8323 (special-display-regexps): Remove some remnants of earlier
8324 changes from doc-strings.
366ca7f3
MR
8325 (quit-windows-on): New function.
8326
8327 * vc/vc.el (vc-revert, vc-rollback):
8328 * vc/vc-dispatcher.el (vc-finish-logentry): Call quit-windows-on
8329 instead of deleting windows. (Bug#4557) (Bug#5310) (Bug#5556)
9ac13c31 8330 (Bug#6183) (Bug#7074) (Bug#7447)
0563dae9 8331
49677495
MR
83322011-10-09 Martin Rudalics <rudalics@gmx.at>
8333
8334 * window.el (frame-auto-hide-function): Add version tag.
8335 (Bug#9699)
8336
56f2d1e1
MA
83372011-10-09 Michael Albinus <michael.albinus@gmx.de>
8338
8339 * net/tramp.el (tramp-file-name-handler): Add 'debug to the error
8340 condition.
8341
112a6592
LL
83422011-10-09 Leo Liu <sdl.web@gmail.com>
8343
8344 * mail/smtpmail.el (smtpmail-send-data): Add a missing space.
8345 (Bug#9701)
8346
0812589b
GM
83472011-10-08 Glenn Morris <rgm@gnu.org>
8348
8349 * progmodes/f90.el (f90-calculate-indent): Give preprocessor lines
8350 before the first code statement zero indent. (Bug#9690)
8351
b2b0776e
CY
83522011-10-08 Chong Yidong <cyd@stupidchicken.com>
8353
8354 * simple.el (count-words-region): Always count in the region.
8355 Report the number of lines and characters too.
8356 (count-words): New command, which counts in the buffer if the
8357 region is inactive, as count-words-region used to.
8358 (count-words--message): New function. Handle plurals.
8359 (count-lines-region): Make it an alias for count-words-region.
8360
8361 * bindings.el (esc-map): Replace count-lines-region with
8362 count-words-region.
8363
c557cd6b
MR
83642011-10-08 Martin Rudalics <rudalics@gmx.at>
8365
8366 * window.el (window--delete): Delete dedicated frame
8367 unconditionally when argument KILL is non-nil. (Bug#9699)
235ce86f 8368 (switch-to-buffer): Fix doc-string typo.
c557cd6b 8369
61a57ef4 83702011-10-08 Thierry Volpiatto <thierry.volpiatto@gmail.com>
8371
3a7d293b 8372 * eshell/eshell.el (eshell-command): Avoid using hooks.
61a57ef4 8373
c3833279
CY
83742011-10-07 Chong Yidong <cyd@stupidchicken.com>
8375
8376 * bindings.el ([M-left],[M-right]): Bind to left-word and
8377 right-word respectively.
8378
21ce8245
GM
83792011-10-07 Glenn Morris <rgm@gnu.org>
8380
8381 * cus-start.el (debug-on-quit): Fix custom type.
8382
6d823bb2
LMI
83832011-10-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
8384
0181e193
LMI
8385 * subr.el (define-key-after): Clarify that the function is not
8386 useful for non-menu keymaps.
8387
6d823bb2
LMI
8388 * progmodes/gdb-mi.el (gdb): Fix typo in doc string.
8389
8e3459ce 83902011-10-06 Thierry Volpiatto <thierry.volpiatto@gmail.com>
8391
21ce8245 8392 * eshell/eshell.el (eshell-command): Enable `eshell-mode' only
8e3459ce 8393 in current minibuffer (Fix bug with recursive minibuffers).
8394
a1c2d21e
CY
83952011-10-06 Chong Yidong <cyd@stupidchicken.com>
8396
8397 * progmodes/gdb-mi.el (gdb): Doc fix.
8398
5a4cf282
MR
83992011-10-05 Martin Rudalics <rudalics@gmx.at>
8400
8401 * window.el (frame-auto-hide-function): New option replacing
8402 frame-auto-delete. Suggested by Stefan Monnier.
8403 (window--delete): Call frame-auto-hide-function instead of
8404 investigating frame-auto-delete.
c96111ea
MR
8405 (window-point-1, set-window-point-1): New functions.
8406 (window-in-direction, record-window-buffer, window-state-get-1)
8407 (display-buffer-record-window): Use window-point-1 instead of
8408 window-point.
8409 (set-window-buffer-start-and-point): Use set-window-point-1.
5a4cf282 8410
9854542e
SM
84112011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
8412
8413 * emacs-lisp/edebug.el: Heed checkdoc recommendations.
8414
8943cfb0
GM
84152011-10-05 Glenn Morris <rgm@gnu.org>
8416
8417 * progmodes/perl-mode.el (perl-electric-terminator): Doc fix.
8418 (perl-calculate-indent): Suppress scan errors. (Bug#2205)
8419
647ab967
LL
84202011-10-05 Leo Liu <sdl.web@gmail.com>
8421
8422 * subr.el (read-char-choice): Fix argument to buffer-live-p which
8423 works with buffer object.
8424
3ddfbced
SM
84252011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
8426
8427 * mpc.el (mpc-tool-bar-map): Add labels.
8428
bdfa5dd2
GM
84292011-10-04 Glenn Morris <rgm@gnu.org>
8430
8431 * calendar/holidays.el (calendar-check-holidays): Doc fix.
8432
0e2070b5
MR
84332011-10-04 Martin Rudalics <rudalics@gmx.at>
8434
8435 * window.el (window--delete): New function.
8436 (frame-auto-delete): Resuscitate option.
8437 (bury-buffer, replace-buffer-in-windows)
8438 (quit-window): Rewrite using window--delete.
8439 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
8440 Pass display-buffer-mark-dedicated to window--display-buffer-2
8441 (Bug#9639).
8442
3dc61a09
SM
84432011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
8444
915a9b64
SM
8445 * pcmpl-unix.el (pcomplete/scp): Don't assume pcomplete-all-entries
8446 returns a list (bug#9554). Add remote file name completion.
8447 * comint.el (comint--table-subvert): Curry and get quote&unquote
8448 functions as arguments.
8449 (comint--complete-file-name-data): Adjust call accordingly.
8450 * pcomplete.el (pcomplete--table-subvert): Remove.
8451 (pcomplete-completions-at-point): Use comint--table-subvert instead.
8452
3dc61a09
SM
8453 * minibuffer.el (completion-table-case-fold): Use currying.
8454 (completion--styles-type, completion--cycling-threshold-type):
8455 New constants.
8456 (completion-styles, completion-category-overrides)
8457 (completion-cycle-threshold): Use them.
8458 * pcomplete.el (pcomplete-completions-at-point): Adjust call to
8459 completion-table-case-fold.
8460
8ea0a993
SB
84612011-10-03 Stephen Berman <stephen.berman@gmx.net>
8462
8463 * minibuffer.el (completion-category-overrides): Fix type of styles
8464 and add more user friendly tags (bug#9660).
8465
8c24b7f6
SM
84662011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
8467
8468 * international/mule-cmds.el: Fix abuses of apply-partially (bug#9661).
8469 (mule-input-method-string): New widget.
8470 (default-input-method, language-info-custom-alist): Use it.
8471
428fe61a
SM
84722011-10-02 Stefan Monnier <monnier@iro.umontreal.ca>
8473
32c1fffd
SM
8474 * pcomplete.el: Require comint.
8475 (pcomplete--common-suffix): Remove.
8476 (pcomplete--common-quoted-suffix): Use comint--common-suffix instead.
8477 (pcomplete--table-subvert): Sync with comint--table-subvert.
8478 (pcomplete--entries): Use comint-completion-file-name-table.
8479 * comint.el (comint-unquote-filename): Simplify.
8480 (comint-completion-file-name-table): New function (bug#9616).
8481 (comint--complete-file-name-data): Use it.
8482
428fe61a
SM
8483 * pcmpl-gnu.el (pcmpl-gnu-with-file-buffer): New macro (bug#9643).
8484 (pcmpl-gnu-tar-buffer): Remove.
8485 (pcmpl-gnu-with-file-buffer): Use it to avoid leaving the tar's buffer
9aaf2b9c
GM
8486 around. Make sure pcomplete-suffix-list is only changed temporarily.
8487 Don't look inside the tar's file if it's too large.
428fe61a 8488
04c52e2f
CY
84892011-10-01 Chong Yidong <cyd@stupidchicken.com>
8490
ce3cefcc
CY
8491 * cus-edit.el (custom-mode-map):
8492 * epa.el (epa-key-list-mode-map):
8493 * man.el (Man-mode-map):
8494 * startup.el (splash-screen-keymap):
8495 * simple.el (special-mode-map): Use scroll-up-command and
8496 scroll-down-command.
8497
8498 * progmodes/idlw-help.el (idlwave-help-mode-map):
8499 * progmodes/ebrowse.el (ebrowse-electric-position-mode-map):
8500 * net/newst-plainview.el (newsticker-mode-map):
8501 * emulation/ws-mode.el (wordstar-mode-map):
8502 * emulation/vi.el (vi-com-map):
8503 * calc/calc-graph.el (calc-graph-show-dumb):
8504 * term/sun.el (terminal-init-sun):
8505 * term/ns-win.el (global-map):
8506 * progmodes/grep.el (grep-mode-map):
8507 * progmodes/ebrowse.el (ebrowse-electric-list-mode-map):
8508 * mail/rmail.el (rmail-mode-map):
8509 * progmodes/cpp.el (cpp-edit-mode-map): Likewise.
8510
04c52e2f
CY
8511 * custom.el (custom-safe-themes, load-theme): Treat value of t for
8512 custom-safe-themes as special.
8513
79adf8c8
JD
85142011-10-01 Julien Danjou <julien@danjou.info>
8515
8516 * notifications.el (notifications-notify): Fix docstring.
8517
63bd50d3
PS
85182011-10-01 Per Starbäck <per@starback.se>
8519
8520 * pcmpl-gnu.el (pcomplete/tar): Fix tar-header-name call. (Bug#9643)
8521
199e4c7e
MR
85222011-09-30 Martin Rudalics <rudalics@gmx.at>
8523
8524 * startup.el (command-line-1): Fix last fix by inserting
8525 initial-scratch-message into *scratch* before displaying it.
cbc5ee22 8526 (Bug#9605) and (Bug#9636)
199e4c7e 8527
fe5f08dd
EZ
85282011-09-29 Eli Zaretskii <eliz@gnu.org>
8529
8530 * simple.el (line-move): If auto-hscroll-mode is disabled and the
8531 window is hscrolled, move by logical lines. (Bug#9607)
8532 (line-move-visual): Update the doc string to the above effect.
8533
b5516bbd
MR
85342011-09-29 Martin Rudalics <rudalics@gmx.at>
8535
ccee00c0
MR
8536 * window.el (display-buffer-record-window): When WINDOW is the
8537 selected window use `point' instead of `window-point'. (Bug#9626)
8538
b5516bbd
MR
8539 * startup.el (command-line-1): Use insert-before-markers when
8540 inserting initial-scratch-message. (Bug#9605)
ccee00c0 8541
b5516bbd
MR
8542 * help.el (help-window): Remove variable.
8543
52aa0014
GM
85442011-09-29 Glenn Morris <rgm@gnu.org>
8545
8546 * pcmpl-cvs.el (pcomplete/cvs): Add "status" handler.
8547
df9a7357
JB
85482011-09-29 Juanma Barranquero <lekktu@gmail.com>
8549
8550 * descr-text.el (describe-char-categories): Accept category
8551 descriptions more than one line long.
8552
a8406c20
SM
85532011-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
8554
88d9610c
SM
8555 * simple.el (delete-trailing-whitespace): Fix last change.
8556
a5daf810
SM
8557 * progmodes/perl-mode.el (perl-syntax-propertize-function):
8558 Don't confuse "y => 3" as the beginning of a `y' operation.
8559
a8406c20
SM
8560 * emacs-lisp/debug.el (debug-convert-byte-code): Don't assume the
8561 object has more than 4 slots (bug#9613).
8562
a239d4e9
JB
85632011-09-28 Juanma Barranquero <lekktu@gmail.com>
8564
8565 * subr.el (with-output-to-temp-buffer):
8566 * net/quickurl.el (quickurl, quickurl-browse-url):
8567 Fix typos in docstrings.
8568
693fbdb6
EZ
85692011-09-27 Eli Zaretskii <eliz@gnu.org>
8570
8571 * minibuffer.el (completion-styles)
8572 (completion-category-overrides): Cross reference each other in doc
8573 strings.
8574
8b457e28
GM
85752011-09-27 Glenn Morris <rgm@gnu.org>
8576
8577 * pcmpl-cvs.el (pcmpl-cvs-entries): Update for Emacs 22.1 changes
8578 to split-string. (Bug#9606)
8579
85a16208
LMI
85802011-09-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
8581
8582 * mail/smtpmail.el (smtpmail-via-smtp): Fix STARTTLS detection
8583 (bug#9615).
8584
502f9ebd
CY
85852011-09-27 Chong Yidong <cyd@stupidchicken.com>
8586
8587 * emacs-lisp/package.el (list-packages): Fix echo area message.
8588
7690bdea
LL
85892011-09-27 Leo Liu <sdl.web@gmail.com>
8590
8591 * ido.el (ido-read-internal): Accept cons cell HIST arg.
8592
e2ee6f30
MA
85932011-09-25 Michael Albinus <michael.albinus@gmx.de>
8594
8595 * net/dbus.el (dbus-unregister-object): Don't release services for
8596 registered signals. (Bug#9581)
8597
f3f98342
TZ
85982011-09-25 Teodor Zlatanov <tzz@lifelogs.com>
8599
8600 * progmodes/cfengine.el (cfengine-auto-mode): Add convenience
8601 function that picks between cfengine 2 and 3 support
8602 automatically. Update docs accordingly.
8603
dd7aa8dd
KH
86042011-09-22 Kenichi Handa <handa@m17n.org>
8605
8606 * language/ind-util.el (indian-tml-base-table): Add TAMIL DIGIT
8607 ZERO.
8608 (indian-itrans-v5-table-for-tamil): New variable.
8609 (indian-tml-itrans-v5-hash): Use the above variable (Bug#9336).
8610
3f2b07f8
KM
86112011-09-22 Ken Manheimer <ken.manheimer@gmail.com>
8612
8613 * allout.el (allout-this-command-hid-stuff): Buffer-local variable
8614 that's true if the current command involved collapsing of text.
8615 It's reset to false at the beginning of the next command.
8616 (allout-post-command-business): Move the cursor to the beginning
8617 of entry if the cursor is hidden and collapsing activity just
8618 happened.
8619
371d6a61
CY
86202011-09-24 Chong Yidong <cyd@stupidchicken.com>
8621
8622 * mouse.el (mouse-drag-track): Set scroll-margin to 0 while
8623 tracking (Bug#9541).
8624
2ac2721a
UJ
86252011-09-24 Ulf Jasper <ulf.jasper@web.de>
8626
8627 * net/newst-reader.el (newsticker-html-renderer)
1154d12e
JB
8628 (newsticker-show-news): Automatically load html rendering package
8629 if newsticker-html-renderer is set. Fixes "Warning: defvar ignored
8630 because w3m-fill-column is let-bound" and the error "Symbol's value
8631 as variable is void: w3m-fill-column".
2ac2721a 8632
fac7ae53
MA
86332011-09-24 Michael Albinus <michael.albinus@gmx.de>
8634
8635 * net/dbus.el (dbus-unregister-object): Remove match rule of signals.
8636 Release services only if they are defined. (Bug#9581)
8637
e08b633b
RS
86382011-09-23 Richard Stallman <rms@gnu.org>
8639
e488d29c
RS
8640 * textmodes/paragraphs.el (forward-sentence): For backwards case,
8641 distinguish start of paragraph from start of its text.
8642
19c38752
RS
8643 * mail/emacsbug.el (report-emacs-bug-query-existing-bugs): Autoload.
8644
e08b633b
RS
8645 * mail/rmail.el (rmail-view-buffer-kill-buffer-hook): New function.
8646 (rmail-generate-viewer-buffer): Put that hook on view buffer.
8647 (rmail-mode-kill-buffer-hook): Override that hook, to kill view buffer.
8648
0a39f27e
AS
86492011-09-23 Andreas Schwab <schwab@linux-m68k.org>
8650
8651 * international/mule-diag.el (mule-diag): Insert a newline after
8652 each fontset description.
8653
db4e950d
SM
86542011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
8655
8656 * simple.el (delete-trailing-whitespace):
8657 Document last change; simplify.
8658
eca3f3ea
PW
86592011-09-23 Peter J. Weisberg <pj@irregularexpressions.net>
8660
d68e189a
PW
8661 * simple.el (delete-trailing-whitespace): Also delete
8662 extra newlines at the end of the buffer.
8663
eca3f3ea
PW
8664 * textmodes/picture.el: Make motion commands obey shift-select-mode.
8665 (picture-newline): Use forward-line so as to ignore fields.
8666
01c157cc
SM
86672011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
8668
8669 * subr.el (with-wrapper-hook): Fix edebug spec.
8670
022de23e
LMI
86712011-09-23 Lars Magne Ingebrigtsen <larsi@gnus.org>
8672
8673 * simple.el (kill-line): Note effect of `show-trailing-whitespace'
8674 (bug#4538).
8675
91683089
MA
86762011-09-23 Michael Albinus <michael.albinus@gmx.de>
8677
eca3f3ea
PW
8678 * net/tramp-sh.el (tramp-sh-handle-file-name-all-completions):
8679 Fix nasty bug using wrong cached values.
91683089 8680
5bdd6fa4
AM
86812011-09-23 Alan Mackenzie <acm@muc.de>
8682
8683 * progmodes/cc-defs.el (c-version): Increase to 5.31.9.
8684
97adfb97
CY
86852011-09-23 Chong Yidong <cyd@stupidchicken.com>
8686
8687 * window.el (pop-to-buffer): Ensure right window is selected if we
8688 chose another frame.
8689
d4ef2b50
EZ
86902011-09-22 Eli Zaretskii <eliz@gnu.org>
8691
8692 * simple.el (what-cursor-position): Use get-char-property-change
8693 and next-single-char-property-change, to be able to show display
8694 properties that come from overlays as well as text properties.
8695
72258fe5
CY
86962011-09-22 Chong Yidong <cyd@stupidchicken.com>
8697
8698 * window.el (pop-to-buffer-same-window): New (reinstated) fun.
8699
8700 * cmuscheme.el (run-scheme, switch-to-scheme):
8701 * cus-edit.el (customize-group, custom-buffer-create)
8702 (customize-browse):
8703 * info.el (info):
8704 * shell.el (shell):
8705 * mail/sendmail.el (mail):
8706 * progmodes/inf-lisp.el (inferior-lisp): Use it (Bug#9532).
8707
8f098516
RS
87082011-09-22 Richard Stallman <rms@gnu.org>
8709
8710 * textmodes/paragraphs.el (forward-sentence): When setting PAR-BEG,
8711 move back only to line beg, don't move back over blank lines.
8712
e74f1bb6
MA
87132011-09-22 Michael Albinus <michael.albinus@gmx.de>
8714
8715 * files.el (copy-directory): Set directory attributes only in case
8716 they could be retrieved from the source directory. (Bug#9565)
8717
bfeef8b6
DK
87182011-09-22 Dima Kogan <dkogan@secretsauce.net> (tiny change)
8719
8720 * progmodes/hideshow.el (hs-looking-at-block-start-p)
8721 (hs-find-block-beginning, hs-hide-level-recursive):
8722 Ignore strings as well as comments. (Bug#9502)
8723
7e423bb8
AS
87242011-09-22 Andrew Schein <andrew@andrewschein.com> (tiny change)
8725
8726 * progmodes/sql.el (sql-comint-postgres):
8727 Convert port number to a string. (Bug#9566)
8728
b4d72fcf
MR
87292011-09-22 Martin Rudalics <rudalics@gmx.at>
8730
8731 * window.el (quit-window): Undedicate window when switching to
8732 previous buffer. Reported by Thierry Volpiatto
8733 <thierry.volpiatto@gmail.com>.
7f80c86d
MR
8734 (special-display-popup-frame): When popping up a new frame reset
8735 its previous buffers to nil. Simplify code.
b4d72fcf 8736
a7b88dc6
MA
87372011-09-21 Michael Albinus <michael.albinus@gmx.de>
8738
8739 * net/tramp.el (tramp-handle-shell-command): Set process sentinel
8740 and process filter, as done also in `shell-command'.
8741
cf4eacfd
MR
87422011-09-21 Martin Rudalics <rudalics@gmx.at>
8743
eca3f3ea 8744 * window.el (set-window-buffer-start-and-point):
1154d12e
JB
8745 Call set-window-start with NOFORCE argument t.
8746 Suggested by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
cf4eacfd
MR
8747 (quit-window): Reword doc-string. Handle new format of
8748 quit-restore parameter. Don't delete window if it has a
8749 previous buffer we can show instead of the present one.
8750 (display-buffer-record-window): Rewrite using a new format for
8751 the quit-restore window parameter
8752 (special-display-popup-frame, display-buffer-same-window)
8753 (display-buffer-reuse-window, display-buffer-pop-up-frame)
8754 (display-buffer-pop-up-window, display-buffer-use-some-window):
8755 Adapt symbol passed to display-buffer-record-window.
8756 * help.el (help-window-setup): Handle new format of quit-restore
8757 parameter.
8758
8d28cb95
SM
87592011-09-21 Stefan Monnier <monnier@iro.umontreal.ca>
8760
94ab793f
SM
8761 * faces.el (face-list): Fix docstring (bug#9564).
8762
8d28cb95
SM
8763 * window.el (display-buffer--action-function-custom-type):
8764 Don't include internal functions in the Custom interface.
8765
3820edeb
JL
87662011-09-20 Juri Linkov <juri@jurta.org>
8767
8768 * info.el (Info-history-skip-intermediate-nodes): New defcustom.
8769 (Info-forward-node, Info-backward-node, Info-next-preorder)
8770 (Info-last-preorder): Use it. (Bug#9528)
8771
5147931d
JL
87722011-09-20 Juri Linkov <juri@jurta.org>
8773
8774 * info.el (Info-last-preorder): Visit last menu item only when
8775 `Info-scroll-prefer-subnodes' is non-nil (third test-case of bug#9528).
8776
cf499a1a
JD
87772011-09-20 Julien Danjou <julien@danjou.info>
8778
8779 * password-cache.el (password-cache-remove): Remove entries even if the
8780 value is nil, so that password with a nil value (negative caching) is
8781 possible to invalidate.
8782
f84e2fe2
LM
87832011-09-20 Lawrence Mitchell <wence@gmx.li>
8784
8785 * progmodes/f90.el (f90-break-line): If breaking inside comment delete
8786 all whitespace around breakpoint. (Bug#9553)
8787 (f90-find-breakpoint): Only break at whitespace inside a comment.
8788
78054a46
SM
87892011-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
8790
8791 * minibuffer.el (completion-file-name-table): Keep track of errors.
8792 (completion-table-with-predicate): Handle the case where pred1 is nil.
8793 * pcomplete.el (pcomplete-completions-at-point): Simplify.
8794
345083b2
SM
87952011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
8796
e24e27be
SM
8797 * emacs-lisp/debug.el (debugger-args): Give it a docstring.
8798 (debugger-return-value): Signal an error if the debugging context does
8799 not await any return value.
8800
345083b2
SM
8801 * ps-mule.el (ps-mule-plot-string): Don't inf-loop (bug#5108).
8802 * image-mode.el (image-toggle-display-text)
8803 (image-toggle-display-image): Stay away from evil `intangible'.
8804
08d355e3
LL
88052011-09-19 Leo Liu <sdl.web@gmail.com>
8806
8807 * replace.el (occur-revert-arguments): Make it permanent-local.
8808 (occur-mode): Don't call font-lock-defontify.
8809
f01da43f
CY
88102011-09-19 Chong Yidong <cyd@stupidchicken.com>
8811
8812 * net/ldap.el (ldap-search-internal): Don't push empty search
8813 result (Bug#9508).
8814
b6072fa6
SM
88152011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
8816
8817 * whitespace.el (whitespace-newline-mode): Disable it right (bug#9550).
8818
443d6696
MA
88192011-09-19 Michael Albinus <michael.albinus@gmx.de>
8820
8821 * net/tramp-sh.el (tramp-inline-compress-commands): Add "xz".
8822 Suggested by Liam Stitt <stittl@cuug.ab.ca>.
8823
7cc6e154
JL
88242011-09-18 Juri Linkov <juri@jurta.org>
8825
8826 * buff-menu.el (Buffer-menu-mode-map):
8827 * dired.el (dired-mode-map):
8828 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map)
8829 (lisp-interaction-mode-map):
8830 * emacs-lisp/package.el (package-menu-mode-map):
8831 * epa.el (epa-key-list-mode-map):
8832 * menu-bar.el (menu-bar-showhide-tool-bar-menu)
8833 (menu-bar-options-menu):
8834 * outline.el (outline-mode-menu-bar-map):
8835 * vc/vc-bzr.el (vc-bzr-shelve-menu-map, vc-bzr-extra-menu-map):
8836 * vc/vc-dir.el (vc-dir-menu-map):
8837 * vc/vc-git.el (vc-git-stash-menu-map, vc-git-extra-menu-map):
8838 Capitalize non-function content words in menu item strings.
8839
8840 * dired.el (dired-mode-map): Add menu item for
8841 `image-dired-dired-toggle-marked-thumbs'.
8842
80302a81
JL
88432011-09-18 Juri Linkov <juri@jurta.org>
8844
8845 * isearch.el (isearch-edit-string): Bind `isearch-new-case-fold'
8846 to `isearch-case-fold-search' and restore its original value
8847 after the `isearch-mode' call.
8848
46c5cf66
JL
88492011-09-18 Juri Linkov <juri@jurta.org>
8850
8851 * progmodes/grep.el (grep-process-setup): Don't check code for 1
8852 because `zgrep' returns 1 for successful matches (bug#9226).
8853
d18b513b
JL
88542011-09-18 Juri Linkov <juri@jurta.org>
8855
8856 * info.el (Info-extract-menu-node-name): Check the second match
8857 for empty string (second test-case of bug#9528).
8858 (Info-last-preorder): Let-bind `Info-history' to nil to not add
8859 intermediate nodes to the history (first test-case of bug#9528).
8860
72753f87
JL
88612011-09-18 Juri Linkov <juri@jurta.org>
8862
8863 * info.el (Info-mode-syntax-table): New variable.
1154d12e 8864 (Info-mode): Set `:syntax-table' to `Info-mode-syntax-table' (bug#3312).
72753f87 8865
c9384295
JL
88662011-09-18 Juri Linkov <juri@jurta.org>
8867
1154d12e
JB
8868 * info.el (Info-file-supports-index-cookies):
8869 Increment line-beginning-position's arg from 3 to 4 because makeinfo
8870 outputs one more line for long file names (bug#4142).
c9384295 8871
d473dce8
CY
88722011-09-18 Chong Yidong <cyd@stupidchicken.com>
8873
8874 * newcomment.el (comment-normalize-vars): If prompting for
8875 comment-start, set comment-start-skip too (Bug#8424).
8876
2176854d
JB
88772011-09-18 Johan Bockgård <bojohan@gnu.org>
8878
8879 * icomplete.el: Fix previous fix of Bug#5849.
8880 (icomplete-mode): Don't set completion-show-inline-help.
8881 (icomplete-minibuffer-setup): Set completion-show-inline-help
8882 locally during icompletion.
8883
3aace4e4
CY
88842011-09-18 Chong Yidong <cyd@stupidchicken.com>
8885
c940224f
CY
8886 * woman.el (woman2-process-escapes): Don't delete unrecognized
8887 escapes (Bug#7843).
8888
3aace4e4
CY
8889 * files.el (inhibit-first-line-modes-regexps): Add image files.
8890 (hack-local-variables-prop-line): Return nil for malformed
8891 prop-lines (Bug#9044).
8892
710dec63
MA
88932011-09-18 Michael Albinus <michael.albinus@gmx.de>
8894
8895 * net/tramp.el (top): Don't require 'shell.
8896 (tramp-methods): Fix docstring.
8897 (tramp-get-remote-tmpdir): New defun, moved from tramp-sh.el.
8d28cb95
SM
8898 Return complete remote file name. Handle "smb" case.
8899 Use `tramp-tmpdir', if defined for the respective method.
710dec63
MA
8900 (tramp-make-tramp-temp-file): Adapt call of `tramp-get-remote-tmpdir'.
8901
8902 * net/tramp-compat.el (top): Require 'shell.
8903
8904 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
8905 (tramp-maybe-open-connection): Use `tramp-file-name-real-host' for
8906 `tramp-current-host'.
8907 (tramp-get-remote-tmpdir): Remove.
8908
8909 * net/tramp-smb.el (tramp-methods): Add `tramp-remote-shell' and
8910 `tramp-tmpdir' entries.
8911 (tramp-smb-errors): Add "NT_STATUS_IMAGE_ALREADY_LOADED".
8912 (tramp-smb-handle-file-attributes): Ignore errors.
8913 (tramp-smb-wait-for-output): Check also for process end.
8914
5d5ac8ec
LMI
89152011-09-18 Lars Magne Ingebrigtsen <larsi@gnus.org>
8916
8917 * mail/smtpmail.el (smtpmail-via-smtp): Ignore errors that arise
8918 when sending QUIT (bug#9312).
8919
8c0f49f0
CY
89202011-09-17 Chong Yidong <cyd@stupidchicken.com>
8921
8922 * replace.el (occur-mode-map): Rebind occur-edit-mode to "e" (Bug#8463).
8923 (occur-edit-mode-map): Bind C-c C-c to occur-cease-edit and C-o to
8924 occur-mode-display-occurrence.
8925 (occur-edit-mode): Add usage message.
8926 (occur-cease-edit): New command.
8927 (occur-after-change-function): Use text properties to find the
8928 position of the prefix text.
8929 (occur-engine): Set stickiness of prefix text properties.
8930
8f1383f7
GM
89312011-09-17 Glenn Morris <rgm@gnu.org>
8932
8933 * progmodes/etags.el (complete-tag):
8934 Fix call to completion-in-region. (Bug#9526)
8935
744ba0e3
JL
89362011-09-17 Juri Linkov <juri@jurta.org>
8937
8938 * textmodes/ispell.el (ispell-word): Add to the error message
8939 the word, ispell program name and current dictionary (bug#9121).
8940 (ispell-tex-arg-end): Capitalize "error" in the error message.
8941
d9bbf400
AS
89422011-09-17 Andreas Schwab <schwab@linux-m68k.org>
8943
8944 * emacs-lisp/bytecomp.el (byte-compile-lapcode): Fix overflow
8945 check. (Bug#4251)
8946
8da11505
JL
89472011-09-17 Juri Linkov <juri@jurta.org>
8948
8949 * window.el (window-safe-min-height, window-safe-min-width):
8950 Fix typos (followup to bug#9522).
8951
a91adc7e
SJ
89522011-09-17 Sven Joachim <svenjoac@gmx.de>
8953
8954 * window.el (window-min-width, window-state-put): Fix typos (bug#9522).
8955
064f328a
EZ
89562011-09-16 Eli Zaretskii <eliz@gnu.org>
8957
8958 * simple.el (line-move): If goal-column is set, move by logical
8959 lines, not by display lines. (Bug#971)
8960 (next-line, previous-line, goal-column, line-move-visual): Doc fix
8961 to reflect the above change.
8962
e69df516
SM
89632011-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
8964
8965 * image.el (imagemagick-register-types): Use regexp-opt.
8966
cbb0f9ab
CY
89672011-09-15 Chong Yidong <cyd@stupidchicken.com>
8968
8969 * window.el (display-buffer-base-action): Rename from
8970 display-buffer-default-action. Make default value empty.
8971 (display-buffer-overriding-action): Convert to defvar.
8972 (display-buffer-fallback-action): New var.
8973
25322144
CY
89742011-09-15 Chong Yidong <cyd@stupidchicken.com>
8975
8976 * emacs-lisp/package.el (package-alist): Fix risky-local-variable
8977 declaration.
8978 (package--add-to-archive-contents): If there is a duplicate entry
8979 with an older version, remove it.
8980 (package-menu-mark-delete, package-menu-mark-install)
8981 (package-menu-mark-unmark): Make unused args optional.
e69df516
SM
8982 (package-menu-mark-obsolete-for-deletion):
8983 Use package-menu-get-status instead of a regexp search.
25322144
CY
8984 (package-menu-get-status): Use tabulated-list-entry.
8985 (package-menu-mark-upgrades): New command.
d770725a 8986 (package-menu-mode-map): Bind it to U. Add it to menu bar.
25322144
CY
8987 (package-menu-execute): Do installation before deletion.
8988 (package-menu-refresh, package-menu-execute): Use derived-mode-p
8989 instead of checking major-mode.
8990 (package-menu--find-upgrades): New function.
8991
7520339c
LMI
89922011-09-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
8993
8994 * mail/smtpmail.el (smtpmail-send-command): Don't include AUTH
8995 passwords in the log buffer.
65a046c4
LMI
8996 (smtpmail-process-filter): Update the process marker so that the
8997 "broken by peer" status message is inserted in the right place.
7520339c 8998
d3c30954
SM
89992011-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
9000
3fe48822
SM
9001 * textmodes/bibtex.el (bibtex-complete-string-cleanup)
9002 (bibtex-complete-crossref-cleanup): Adjust to accommodate needs of
9003 bibtex-completion-at-point-function.
9004 (bibtex-completion-at-point-function): Use them.
9005
1b8b3954
SM
9006 * newcomment.el (comment-add, comment-valid-prefix-p): Docfix.
9007
d3c30954
SM
9008 * mpc.el (mpc-constraints-tag-lookup): New function.
9009 (mpc-constraints-restore): Use it to make jumping to "album=Foo" apply
9010 also to browser "album|playlist".
9011
72779976
JL
90122011-09-14 Juri Linkov <juri@jurta.org>
9013
9014 * isearch.el (isearch-fail-pos): Add new arg `msg'. Doc fix.
9015 (isearch-edit-string): Use length of `isearch-string' when
9016 `isearch-fail-pos' returns nil.
9017 (isearch-message): Remove duplicate code and call
9018 `isearch-fail-pos' with arg `t'.
9019
a0bf2bcd
CY
90202011-09-14 Chong Yidong <cyd@stupidchicken.com>
9021
17bb0a2d
CY
9022 * replace.el (occur-mode-goto-occurrence): Don't force using other
9023 window (Bug#9499).
9024
a0bf2bcd
CY
9025 * dired-aux.el (dired-do-chmod): Don't provide initial input.
9026
f678e0b6
MR
90272011-09-14 Martin Rudalics <rudalics@gmx.at>
9028
9029 * window.el (display-buffer-window): Remove.
9030 (display-buffer-record-window): Use help-setup window parameter
9031 instead of variable display-buffer-window.
9032 (display-buffer-function, special-display-buffer-names)
9033 (special-display-function): Mention help-setup parameter instead
9034 of display-buffer-window in doc-string.
d3c30954
SM
9035 * help.el (help-window-setup): New argument help-window.
9036 Use help-window-setup parameter instead of display-buffer-window.
f678e0b6
MR
9037 Reword some messages.
9038 (with-help-window): Pass window used for displaying the buffer
9039 to help-window-setup. Don't set display-buffer-window.
9040
8e39b2e8
GM
90412011-09-13 Glenn Morris <rgm@gnu.org>
9042
9043 * emacs-lisp/debug.el (debugger-make-xrefs):
9044 Preserve point. (Bug#9462)
9045
85e9c04b
CY
90462011-09-13 Chong Yidong <cyd@stupidchicken.com>
9047
9048 * window.el (window-deletable-p): Use next-frame.
9049
1b36ed6a
MR
90502011-09-13 Martin Rudalics <rudalics@gmx.at>
9051
9052 * window.el (window-auto-delete): Remove.
9053 (window-deletable-p): Remove argument FORCE. Don't deal with
e4769531 9054 dedication and previous buffers.
1b36ed6a
MR
9055 (switch-to-prev-buffer): Don't delete window.
9056 (delete-windows-on): Delete a window's frame if and only if the
9057 window is dedicated.
9058 (replace-buffer-in-windows): Delete buffer's window or frame if
9059 and only if window is dedicated.
9060 (quit-window): Handle quit-restore as before last change.
4d61f28d 9061 (bury-buffer): Delete window only if window-deletable-p returns t.
1b36ed6a 9062
ef8ef9fb
CY
90632011-09-13 Chong Yidong <cyd@stupidchicken.com>
9064
9065 * window.el (window-deletable-p): Never delete the last frame on a
9066 given terminal.
9067
b2cba41e
GM
90682011-09-13 Glenn Morris <rgm@gnu.org>
9069
9070 * help.el (describe-key-briefly): Copy previous standard-output change.
9071
51553db6 90722011-09-13 PJ Weisberg <pj@irregularexpressions.net>
e3ce671f
PW
9073
9074 * help.el (where-is): Respect non-standard standard-output. (Bug#9030)
9075
b7556719
GM
90762011-09-13 Glenn Morris <rgm@gnu.org>
9077
9078 * emacs-lisp/lisp-mode.el (lisp-indent-function):
9079 * progmodes/scheme.el (scheme-indent-function): Doc fixes.
9080
64b51947
CY
90812011-09-12 Chong Yidong <cyd@stupidchicken.com>
9082
9083 * dired-aux.el (dired-mark-read-string): Don't return default
9084 value on empty input (Bug#9361).
9085 (dired-do-chxxx): Treat empty input for "touch" as no -t option.
9086 Omit initial minibuffer contents.
9087 (dired-do-chmod): Signal an error on empty input.
9088 (dired-mark-read-string): Don't return default on empty input.
9089
9090 * files.el (file-modes-symbolic-to-number): Doc fix.
9091
393a301e
SM
90922011-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
9093
9094 * international/mule-cmds.el (ucs-completions): Remove.
9095 (read-char-by-name): Use complete-with-action instead; add metadata.
9096
fa5660f9
CY
90972011-09-11 Chong Yidong <cyd@stupidchicken.com>
9098
9099 * window.el (display-buffer--action-function-custom-type)
9100 (display-buffer--action-custom-type): New vars.
9101 (display-buffer-alist, display-buffer-default-action)
9102 (display-buffer-overriding-action): Add defcustom types.
9103
4a592f66
CY
9104 * frame.el (delete-other-frames): Doc fix (Bug#276).
9105
73d56dbd
LMI
91062011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
9107
9108 * play/doctor.el (make-doctor-variables): Define `doctor-sent'.
9109
37ac18a3
CY
91102011-09-11 Chong Yidong <cyd@stupidchicken.com>
9111
9112 Change modes that used same-window-* vars to use switch-to-buffer.
9113
9114 * progmodes/gdb-mi.el (gdb-restore-windows, gdb-setup-windows):
9115 Use switch-to-buffer.
9116
9117 * cus-edit.el (customize-group, custom-buffer-create)
393a301e
SM
9118 (customize-browse, custom-buffer-create-other-window):
9119 Use switch-to-buffer or switch-to-buffer-other-window.
37ac18a3
CY
9120
9121 * info.el (info, Info-find-node, Info-revert-find-node, Info-next)
9122 (Info-prev, Info-up, Info-speedbar-goto-node)
9123 (info-display-manual): Use switch-to-buffer.
9124 (Info-speedbar-goto-node): Use switch-to-buffer-other-frame.
9125
9126 * mail/sendmail.el (mail): Use switch-to-buffer.
9127 (mail-recover): Use switch-to-buffer-other-window.
9128
9129 * cmuscheme.el (run-scheme, switch-to-scheme):
9130 * ielm.el (ielm):
9131 * shell.el (shell):
9132 * net/rlogin.el (rlogin):
9133 * net/telnet.el (telnet, rsh):
9134 * progmodes/inf-lisp.el (inferior-lisp): Use switch-to-buffer.
9135
10195bd6
AS
91362011-09-11 Andreas Schwab <schwab@linux-m68k.org>
9137
9138 * dired.el (dired-sort-toggle-or-edit): Revert last changes.
9139
b322f63a
LMI
91402011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
9141
39d7fed6
LMI
9142 * dired.el (dired-sort-toggle-or-edit): -o doesn't exist on *BSD,
9143 so don't mention it (bug#9301).
ba5a81f1 9144 (dired-sort-toggle-or-edit): Clarify string further.
39d7fed6 9145
ee0e9f11
LMI
9146 * faces.el (face-spec-set-match-display): Make `(type graphic)'
9147 match `x', `w32' and `ns', like the manual says (bug#9029).
9148
0b1c89c1 9149 * subr.el (eval-after-load): Doc string clarification (bug#9125).
da9fcb93
LMI
9150 (process-kill-buffer-query-function): Mention the buffer name in
9151 the query.
0b1c89c1 9152
77549ea8
LMI
9153 * image-mode.el (image-next-line): The line parameter is mandatory
9154 (bug#9258).
9155
803ef892
LMI
9156 * dired.el (dired-sort-toggle-or-edit): Mention -o and -g, too,
9157 which can be useful (bug#9301).
9158
12980837
LMI
9159 * textmodes/flyspell.el: Remove obsolete comment (bug#9368).
9160
91054f8f
LMI
9161 * subr.el (match-string): Mention that the current buffer should
9162 be the same as the search was done in (bug#9282).
9163
b322f63a
LMI
9164 * facemenu.el: Disable the remove-* commands if the mark isn't
9165 active (bug#9162).
9166
3199b96f
CY
91672011-09-10 Chong Yidong <cyd@stupidchicken.com>
9168
9169 * buff-menu.el (Buffer-menu-switch-other-window): Use second arg
9170 of display-buffer.
9171 (Buffer-menu-2-window): Use switch-to-buffer-other-window.
9172
9173 * replace.el (occur-mode-goto-occurrence)
9174 (occur-mode-display-occurrence) Use second arg of pop-to-buffer
9175 and display-buffer.
9176
9177 * mail/reporter.el (reporter-submit-bug-report): Use second arg of
9178 display-buffer.
9179
9180 * mail/sendmail.el (sendmail-user-agent-compose): Don't bind the
9181 special-display and same-window variables.
9182 (mail-other-window): Use switch-to-buffer-other-window.
9183 (mail-other-frame): USe switch-to-buffer-other-frame.
9184
393a301e
SM
9185 * progmodes/gdb-mi.el (gdb-frame-gdb-buffer):
9186 Use display-buffer-other-frame.
3199b96f
CY
9187 (gdb-display-gdb-buffer): Use pop-to-buffer.
9188
9189 * progmodes/gud.el (gud-goto-info): Use info-other-window.
9190
9191 * progmodes/python.el: Don't set same-window-buffer-names.
9192
9193 * textmodes/bibtex.el (bibtex-search-entry): Use switch-to-buffer.
9194
9195 * window.el (display-buffer-alist): Add *Python*.
9196
8319e0bf
CY
91972011-09-10 Chong Yidong <cyd@stupidchicken.com>
9198
9199 * window.el (display-buffer-alist): Add entry for buffers
9200 previously handled same-window-*.
9201 (display-buffer-alist, display-buffer-default-action)
9202 (display-buffer-overriding-action): Mark as risky.
9203 (display-buffer-alist): Document action function changes.
9204 (display-buffer--same-window-action)
9205 (display-buffer--other-frame-action): New variables.
9206 (switch-to-buffer, display-buffer-other-frame): Use them.
9207 (display-buffer): Rename reuse-frame entry to reusable-frames.
9208 (display-buffer-reuse-selected-window): Function deleted.
9209 (display-buffer-reuse-window): Handle reusable-frames alist entry.
9210 If it's omitted, check pop-up-frames/display-buffer-reuse-frames.
9211 (display-buffer-special): New function.
9212 (display-buffer--maybe-pop-up-frame-or-window): Rename from
9213 display-buffer-reuse-or-pop-window. Split off special-display
9214 part into display-buffer-special.
9215 (display-buffer-use-some-window): Don't perform any special
9216 pop-up-frames handling.
9217 (pop-to-buffer): Use window-normalize-buffer-to-switch-to.
393a301e 9218 (display-buffer--maybe-same-window): Rename from
0d3ff375 9219 display-buffer-maybe-same-window.
8319e0bf 9220
919a69aa
CY
9221 * info.el: Don't set same-window-regexps.
9222 (info-setup): New function.
9223 (info-other-window, info): Call it.
9224
9225 * cus-edit.el: Don't set same-window-regexps.
9226 (customize-group): New argument.
9227 (customize-group-other-window): Use it.
9228 (customize-face, customize-face-other-window): Likewise.
9229 (custom-buffer-create-other-window): Use pop-to-buffer directly.
9230
8319e0bf
CY
9231 * net/rlogin.el:
9232 * net/telnet.el:
9233 * progmodes/gud.el: Don't set same-window-regexps.
9234
9235 * cmuscheme.el:
9236 * ielm.el:
9237 * shell.el:
9238 * mail/sendmail.el:
9239 * progmodes/inf-lisp.el: Don't set same-window-buffer-names.
9240
25173000
JL
92412011-09-10 Juri Linkov <juri@jurta.org>
9242
9243 * isearch.el (isearch-edit-string): Remove obsolete mention of
9244 `C-w' (`isearch-yank-word-or-char') from docstring.
9245 (isearch-query-replace): Fix typo in docstring (bug#9466).
9246
056e44ef
JL
92472011-09-10 Juri Linkov <juri@jurta.org>
9248
9249 * paren.el (show-paren-function): Don't show escaped parens.
9250 Let-bind `unescaped' to `t' when paren is not escaped. (Bug#9461)
9251
c3760c17
EZ
92522011-09-10 Eli Zaretskii <eliz@gnu.org>
9253
9254 * mail/sendmail.el (mml-to-mime, mml-attach-file)
9255 (mm-default-file-encoding): Remove autoload forms, they are
9256 replaced with autoload cookies in mml.el and mm-encode.el.
9257 (mail-add-attachment): New command.
9258 (mail-mode-map): Add a menu-bar item for mail-add-attachment.
9259 (mail-mode): Mention mail-insert-file and mail-add-attachment in
9260 the doc string.
9261 (mml-to-mime, mml-attach-file, mm-default-file-encoding): Declare.
9262
fece895e
RT
92632011-09-10 Reuben Thomas <rrt@sc3d.org>
9264
e69df516
SM
9265 * simple.el (count-words-region): Use buffer if there's no region
9266 (bug#9429).
fece895e 9267
5e68ce4a
JL
92682011-09-09 Juri Linkov <juri@jurta.org>
9269
9270 * wdired.el (wdired-change-to-wdired-mode): Set buffer-local
9271 `isearch-filter-predicate' to `wdired-isearch-filter-read-only'.
9272 (wdired-isearch-filter-read-only): New function. (Bug#6362)
9273
0a6b9622
AM
92742011-09-09 Alan Mackenzie <acm@muc.de>
9275
9276 * progmodes/cc-mode.el (awk-mode): Prevent `define-derived-mode'
9277 spuriously generating `awk-mode-syntax-table'. (Bug #9448).
9278
14a29deb
EZ
92792011-09-09 Eli Zaretskii <eliz@gnu.org>
9280
9281 Fix for Savannah bug#9392.
9282 * simple.el (mail-encode-mml): New defvar.
9283
9284 * mail/rmail.el (mail-encode-mml): Add a defvar.
9285 (rmail-enable-mime-composing): Default to t.
9286 (rmail-forward): Use MIME method of forwarding only if both
9287 rmail-enable-mime-composing and rmail-enable-mime are non-nil.
9288 Set mail-encode-mml non-nil if the MIME method was used.
9289
9290 * mail/sendmail.el (mml-to-mime): Add autoload form.
9291 (mail-encode-mml): Add a defvar.
9292 (mail-mode): Make mail-encode-mml buffer-local and initialize it
9293 to nil.
9294 (mail-send): If mail-encode-mml is non-nil, run the outgoing
9295 message through mml-to-mime, and reset mail-encode-mml to nil.
9296
28c45130
GM
92972011-09-09 Glenn Morris <rgm@gnu.org>
9298
9299 * woman.el (woman-if-body): When processing an .el block,
9300 do not delete the next .el block as well. (Bug#9447)
69f4b618 9301 (woman-special-characters): Add oq, cq, and hy characters.
28c45130 9302
9b1c252e
MR
93032011-09-08 Martin Rudalics <rudalics@gmx.at>
9304
9305 * window.el (window-deletable-p): Make sure window is live before
9306 invoking window-prev-buffers.
9307
567457e3
LL
93082011-09-08 Leo Liu <sdl.web@gmail.com>
9309
9310 * net/rcirc.el (rcirc-cmd-invite): New rcirc command. (Bug#9453)
9311
97f05794
JL
93122011-09-08 Juri Linkov <juri@jurta.org>
9313
9314 * progmodes/compile.el (compilation-environment): Make it
9315 a defcustom (bug#8340).
9316
8b0874b5
MR
93172011-09-08 Martin Rudalics <rudalics@gmx.at>
9318
9319 * window.el (frame-auto-delete): Rename to window-auto-delete.
9320 Make it control auto-deletion of windows and/or frames.
9321 (window-deletable-p): New argument FORCE. Rewrite conditions
5e617bc2 9322 for deleting window/frame. (Bug#9419)
8b0874b5
MR
9323 (switch-to-prev-buffer, replace-buffer-in-windows, quit-window):
9324 Rewrite handling of case when window/frame can be deleted.
9325 (delete-windows-on): Call window-deletable-p with new FORCE
5e617bc2 9326 argument t. (Bug#9456)
8b0874b5 9327
4feb6e73
CY
93282011-09-07 Chong Yidong <cyd@stupidchicken.com>
9329
9330 * help-mode.el (help-mode): Restore autoload.
9331
91ab9c13
JL
93322011-09-07 Juri Linkov <juri@jurta.org>
9333
9334 * progmodes/compile.el (compilation-start): Let-bind `thisenv' to
9335 `compilation-environment'. Set buffer-local
9336 `compilation-environment' to `thisenv' later after (funcall mode).
9337 (Bug#8340)
9338
9339 * vc/vc-git.el (vc-git-grep): Remove --no-color. (Bug#9408)
9340 (vc-git-grep): Prepend "PAGER=" to `compilation-environment'
9341 instead of replacing its value. (Bug#8340)
9342
0527e251
JL
93432011-09-07 Juri Linkov <juri@jurta.org>
9344
9345 * progmodes/grep.el (grep-regexp-alist): Calculate column positions
9346 based on text properties put by `grep-filter' instead of matching
9347 escape sequences.
9348 (grep-mode): Set buffer-local `compilation-error-screen-columns'
9349 to the value of `grep-error-screen-columns' (bug#9438).
9350
249f792c
JL
93512011-09-07 Juri Linkov <juri@jurta.org>
9352
9353 * simple.el (next-error-highlight, next-error-highlight-no-select):
9354 Doc fix (bug#9432).
9355
ff7271b9
OT
93562011-09-07 OKAZAKI Tetsurou <okazaki.tetsurou@gmail.com> (tiny change)
9357
9358 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
9359 Check for null c-opt-block-decls-with-vars-key. (Bug#9443)
9360
183fc730
LL
93612011-09-07 Leo Liu <sdl.web@gmail.com>
9362
9363 * net/rcirc.el (rcirc-mode): Conditionally initialize
9364 rcirc-input-ring.
9365
77694924
SM
93662011-09-07 Stefan Monnier <monnier@iro.umontreal.ca>
9367
9368 * emacs-lisp/find-func.el (find-function-C-source): Only set
9369 find-function-C-source-directory after checking that we found a source
9370 file there (bug#9440).
9371
d809b8eb
AM
93722011-09-06 Alan Mackenzie <acm@muc.de>
9373
9374 * isearch.el (isearch-other-meta-char): Wherever a key list is
9375 unread, "unread" the prefix arg, too. This fixes bug #8901.
9376
453de99f
OG
93772011-09-05 Oleksandr Gavenko <gavenkoa@gmail.com> (tiny change)
9378
9379 * progmodes/grep.el (rgrep): Add "-type d" (bug#9414).
9380
90439906
JL
93812011-09-05 Juri Linkov <juri@jurta.org>
9382
9383 * progmodes/grep.el (grep-process-setup): Fix comments (bug#8084).
9384
f62bd846
JL
93852011-09-05 Juri Linkov <juri@jurta.org>
9386
9387 * progmodes/grep.el (grep-filter): Avoid incomplete processing by
9388 keeping point where processing of grep matches begins, and
9389 continue to delete remaining escape sequences from the same point.
9390 (grep-filter): Make leading zero optional in "0?1;31m" because
9391 git-grep emits "\033[1;31m" escape sequences unlike expected
9392 "\033[01;31m" as GNU Grep does (bug#9408).
9393 (grep-process-setup): Replace obsolete "ml=" with newer "sl=".
9394
045820ec
JL
93952011-09-05 Juri Linkov <juri@jurta.org>
9396
9397 * subr.el (y-or-n-p): Capitalize "yes".
9398
f5e29b9b
MA
93992011-09-04 Michael Albinus <michael.albinus@gmx.de>
9400
9401 * net/tramp.el (top): Require 'shell. Use `tramp-unload-hook' but
9402 `tramp-cache-unload-hook' where appropriate.
9403 (tramp-methods): Rename `tramp-remote-sh' to
9404 `tramp-remote-shell'. Add `tramp-remote-shell-args'.
9405 (tramp-handle-shell-command): New defun, moved from tramp-sh.el.
9406
9407 * net/tramp-sh.el (top): Don't require 'shell.
9408 (tramp-methods): Add `tramp-remote-shell' and
9409 `tramp-remote-shell-args' entries.
9410 (tramp-sh-file-name-handler-alist): Use `tramp-handle-shell-command'.
9411 (tramp-sh-handle-shell-command): Remove.
9412 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
9413 Use `tramp-remote-shell'.
9414
2784c434
CY
94152011-09-03 Chong Yidong <cyd@stupidchicken.com>
9416
393a301e 9417 * mail/sendmail.el (sendmail-query-once-function): Delete.
2784c434
CY
9418 (sendmail-query-once): Save directly to send-mail-function.
9419 Update message-send-mail-function too.
9420
9421 * mail/smtpmail.el (smtpmail-try-auth-methods): Clarify prompt.
9422
464cdf56
CS
94232011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
9424
9425 * progmodes/python.el (python-mode-map): Use correct function to
9426 start python interpreter from menu-bar (as reported by Geert
9427 Kloosterman).
9428 (inferior-python-mode-map): Fix typo.
393a301e 9429 (python-shell-map): Remove.
464cdf56 9430
d37e5c87
DD
94312011-09-03 Deniz Dogan <deniz@dogan.se>
9432
9433 * net/rcirc.el (rcirc-print): Simplify code for
9434 rcirc-scroll-show-maximum-output. There is no need to walk
9435 through all windows to find the right one.
9436
f3ada0ee
CS
94372011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
9438
9439 * help.el (help-return-method): Doc fix.
9440
1f3c99ca
MR
94412011-09-03 Martin Rudalics <rudalics@gmx.at>
9442
9443 * window.el (window-deletable-p): Don't return a non-nil value
9444 when there's a buffer that was shown in the window before.
9445 (Bug#9419)
393a301e
SM
9446 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
9447 Set window's previous buffers to nil.
1f3c99ca 9448
a3cf097f
EZ
94492011-09-03 Eli Zaretskii <eliz@gnu.org>
9450
9451 * mail/rmailmm.el (rmail-mime-insert-tagline): Insert an extra
9452 newline before and after the tag line, so it doesn't interfere
9453 with determining the paragraph direction of bidirectional text.
9454
3d03de90
LL
94552011-09-03 Leo Liu <sdl.web@gmail.com>
9456
9457 * files.el (find-file-not-true-dirname-list): Remove. (Bug#9422)
9458
c3313451
CY
94592011-09-02 Chong Yidong <cyd@stupidchicken.com>
9460
393a301e 9461 * window.el (pop-to-buffer-1, pop-to-buffer-same-window): Delete.
c3313451
CY
9462 (pop-to-buffer): Change interactive spec. Pass second argument
9463 directly to display-buffer.
9464 (display-buffer): Fix interactive spec. Use functionp to
9465 distinguish between a function and a list of functions.
9466
9467 * abbrev.el (edit-abbrevs):
9468 * arc-mode.el (archive-extract):
9469 * autoinsert.el (auto-insert):
9470 * bookmark.el (bookmark-bmenu-list):
9471 * files.el (find-file):
9472 * view.el (view-buffer):
9473 * progmodes/compile.el (compilation-goto-locus):
9474 * textmodes/bibtex.el (bibtex-initialize): Use switch-to-buffer.
9475
89894cd8
CY
94762011-09-02 Chong Yidong <cyd@stupidchicken.com>
9477
9478 * window.el (display-buffer-alist): Doc fix.
9479 (display-buffer): Add docstring. Don't treat
9480 display-buffer-default specially.
9481 (display-buffer-reuse-selected-window)
9482 (display-buffer-same-window, display-buffer-maybe-same-window)
9483 (display-buffer-reuse-window, display-buffer-pop-up-frame)
9484 (display-buffer-pop-up-window)
9485 (display-buffer-reuse-or-pop-window)
9486 (display-buffer-use-some-window): New functions.
9487 (display-buffer-default-action): Use them.
393a301e 9488 (display-buffer-default): Delete.
89894cd8
CY
9489 (pop-to-buffer-1): Fix choice of actions.
9490
ae0bc9fb
SM
94912011-09-02 Stefan Monnier <monnier@iro.umontreal.ca>
9492
9493 * minibuffer.el (completion--insert-strings): Don't get confused by
9494 completion entries that end with an LF char.
9495
e9d90883
EZ
94962011-09-01 Eli Zaretskii <eliz@gnu.org>
9497
9498 * window.el (frame-auto-delete, window-deletable-p): Doc fix.
9499
437014c8
CY
95002011-09-01 Chong Yidong <cyd@stupidchicken.com>
9501
9502 * window.el (display-buffer): Restore interactive spec.
ae0bc9fb
SM
9503 (display-buffer-same-window, display-buffer-other-window):
9504 New functions.
437014c8
CY
9505 (pop-to-buffer-1): New function. Use the above.
9506 (pop-to-buffer, pop-to-buffer-same-window): Use it.
ae0bc9fb 9507 (pop-to-buffer-other-window, pop-to-buffer-other-frame): Delete.
437014c8
CY
9508
9509 * view.el (view-buffer-other-window, view-buffer-other-frame):
9510 Just use pop-to-buffer.
9511
a5e063d5
TV
95122011-09-01 Thierry Volpiatto <thierry.volpiatto@gmail.com>
9513
9514 * vc/vc-rcs.el (vc-rcs-responsible-p): Handle directories. (Bug#9391)
9515
793d32bb
WH
95162011-09-01 Wilfred Hughes <wilfred@potatolondon.com> (tiny change)
9517
9518 * vc/vc-git.el (vc-git-grep): Use --no-color. (Bug#9408)
9519
d65e4c15
RS
95202011-08-31 Richard Stallman <rms@gnu.org>
9521
9522 * mail/rmail.el (rmail-epa-decrypt): Rewrite to take account
9523 of the separation of rmail-view-buffer from rmail-buffer.
9524 If you say no to "replace original", the decrypt is in the
9525 view buffer. If you say yes, the decrypt goes into the
9526 rmail buffer also.
9527
f818cd2a
MR
95282011-08-31 Martin Rudalics <rudalics@gmx.at>
9529
9530 * window.el (display-buffer-window): Rewrite doc-string.
9531 (display-buffer-record-window): New function.
9532 (display-buffer-macro-specifiers)
9533 (display-buffer-even-window-sizes, display-buffer-set-height)
9534 (display-buffer-set-width, display-buffer-in-window)
9535 (display-buffer-reuse-window, display-buffer-split-specifiers)
9536 (display-buffer-side-specifiers, display-buffer-split-window-1)
9537 (display-buffer-split-window, display-buffer-split-atom-window)
9538 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
9539 (display-buffer-pop-up-side-window, display-buffer-in-side-window)
9540 (display-buffer-other-window-means-other-frame)
9541 (display-buffer-normalize-special)
9542 (display-buffer-normalize-default)
9543 (display-buffer-normalize-argument)
9544 (display-buffer-normalize-alist-1, display-buffer-normalize-alist)
9545 (display-buffer-normalize-specifiers, display-buffer-frame)
9546 (display-buffer-same-window, display-buffer-same-frame)
9547 (display-buffer-other-window)
9548 (display-buffer-same-frame-other-window)
9549 (display-buffer-other-frame, pop-to-buffer-same-window)
9550 (pop-to-buffer-same-frame, pop-to-buffer-other-window)
9551 (pop-to-buffer-same-frame-other-window, pop-to-buffer-other-frame)
9552 (switch-to-buffer-same-frame)
9553 (switch-to-buffer-other-window-same-frame)
9554 (display-buffer-alist-of-strings-p, display-buffer-alist-add)
9555 (display-buffer-alist-set-1, display-buffer-alist-set-2)
9556 (display-buffer-alist-set): Remove.
9557 (display-buffer-function, special-display-buffer-names)
ae0bc9fb
SM
9558 (special-display-regexps, special-display-function):
9559 In doc-string refer to display-buffer-window and quit-restore
f818cd2a
MR
9560 parameter.
9561 (pop-up-frame-alist, pop-up-frame-function, special-display-p)
9562 (special-display-frame-alist, special-display-popup-frame)
9563 (same-window-buffer-names, same-window-regexps, same-window-p)
9564 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
9565 (split-window-preferred-function, split-height-threshold)
9566 (split-width-threshold, window-splittable-p)
9567 (split-window-sensibly, window--try-to-split-window)
9568 (window--frame-usable-p, even-window-heights)
9569 (window--even-window-heights, window--display-buffer-1)
ae0bc9fb
SM
9570 (window--display-buffer-2, display-buffer-other-frame):
9571 Restore old Emacs 23 code, order and doc-strings where applicable.
f818cd2a
MR
9572 (display-buffer-default, display-buffer-assq-regexp): New functions.
9573 (display-buffer-alist): Rewrite doc-string.
9574 (display-buffer-default-action)
9575 (display-buffer-overriding-action): New variables.
9576 (display-buffer, switch-to-buffer): Rewrite.
9577 (pop-to-buffer): Restore Emacs 23 behavior but use
9578 window-normalize-buffer-to-display.
9579 (switch-to-buffer-other-window, switch-to-buffer-other-frame):
9580 Restore Emacs 23 behavior but use
9581 window-normalize-buffer-to-switch-to.
9582 (pop-to-buffer-same-window): Rewrite.
ae0bc9fb
SM
9583 (pop-to-buffer-other-window, pop-to-buffer-other-frame):
9584 Rewrite using Emacs 23 options.
f818cd2a 9585
5bc3b51d
MA
95862011-08-31 Michael Albinus <michael.albinus@gmx.de>
9587
9588 * net/tramp.el (tramp-root-regexp): Remove.
9589 (tramp-completion-file-name-regexp-unified)
9590 (tramp-completion-file-name-regexp-separate)
9591 (tramp-completion-file-name-regexp-url): Don't use leading volume
9592 letter on win32 systems. (Bug#5303, Bug#9311)
ae0bc9fb
SM
9593 (tramp-drop-volume-letter): Simplify definition.
9594 Suggested by Stefan Monnier <monnier@iro.umontreal.ca>.
5bc3b51d 9595
b1a4f8e1
SM
95962011-08-30 Stefan Monnier <monnier@iro.umontreal.ca>
9597
9598 * subr.el (event-modifiers): Fix "missing modifier" part of docstring
9599 (bug#9356).
9600
5664fa7b
RT
96012011-08-30 Reuben Thomas <rrt@sc3d.org> (tiny change)
9602
b1a4f8e1 9603 * vc/pcvs-defs.el (cvs-find-file-and-jump): Docstring typo (bug#9369).
5664fa7b 9604
9a45d6c3
JL
96052011-08-29 Juri Linkov <juri@jurta.org>
9606
9607 * isearch.el (isearch-done): Don't display message "Mark saved"
9608 when arg `edit' is non-nil to prevent its flicker in the echo area.
9609
fb87e0fb
CY
96102011-08-28 Chong Yidong <cyd@stupidchicken.com>
9611
9612 * emacs-lisp/package.el (package-menu-mark-delete): Allow marking
9613 obsolete packages for deletion.
9614
09ac1c2a
CS
96152011-08-28 Christoph Scholtes <cschol2112@googlemail.com>
9616
9617 * help-mode.el (help-mode-map): Add special-mode-map to parent.
5e617bc2 9618 (help-mode): Derive help-mode from special-mode. Don't invoke
09ac1c2a
CS
9619 view-mode from help-mode.
9620 (help-xref-override-view-map): Remove.
9621 (help-make-xrefs): Remove minor-mode-overriding-map-alist since
9622 view-mode is not used anymore.
9623
7a1ff57f
CY
96242011-08-28 Chong Yidong <cyd@stupidchicken.com>
9625
9626 * server.el (server-port): Doc fix.
9627
b9696605
CY
9628 * cus-theme.el (custom-theme-choose-mode): Inherit from
9629 special-mode (Bug#9124).
9630 (custom-theme-choose-mode-map): Add special-mode to parent.
9631
ef8cdf8c
AM
96322011-08-28 Alan Mackenzie <acm@muc.de>
9633
9634 * progmodes/cc-fonts.el
9635 (c-make-font-lock-BO-decl-search-function): New function.
9636 (c-basic-matchers-after - "Fontify the clauses after various
9637 keywords"): Extract the three keyword lists for the 3 erroneous
9638 constructs from the list of four, and use the new function above
9639 in place of an old one.
9640
27de4e20
DD
96412011-08-28 Deniz Dogan <deniz@dogan.se>
9642
9643 * net/rcirc.el (rcirc-insert-prev-input)
9644 (rcirc-insert-next-input): Remove unused argument.
9645
356a3681
SM
96462011-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
9647
9648 * shell.el (shell-parse-pcomplete-arguments): Unquote args (bug#9160).
9649
3fc9b218
AM
96502011-08-27 Alan Mackenzie <acm@muc.de>
9651
9652 * progmodes/cc-menus.el (cc-imenu-c++-generic-expression): Make it
9653 handle function pointer parameters properly.
9654
538a061c
MR
96552011-08-27 Martin Rudalics <rudalics@gmx.at>
9656
9657 * window.el (display-buffer-reuse-window): Fix case where
9658 selected window was reused with non-nil OTHER-WINDOW argument.
9659 (Bug#9381)
9660
35b1c40c
DD
96612011-08-27 Deniz Dogan <deniz@dogan.se>
9662
9663 * net/rcirc.el (rcirc-check-auth-status): Adding support for
9664 oftc's NickServ messages.
9665
2f6a3e79
GM
96662011-08-27 Glenn Morris <rgm@gnu.org>
9667
9668 * saveplace.el (save-place-limit): Make it finite. (Bug#9352)
9669
7254299e
CY
96702011-08-26 Chong Yidong <cyd@stupidchicken.com>
9671
9672 * emacs-lisp/package.el (package-install): Call package-initialize
9673 if called interactively.
9674
f8ccf167
LL
96752011-08-26 Leo Liu <sdl.web@gmail.com>
9676
9677 * emacs-lisp/cl-macs.el (defstruct): Fix format. (Bug#9357)
9678
3e8cd5ce
JL
96792011-08-25 Juri Linkov <juri@jurta.org>
9680
9681 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
9682 `search-whitespace-regexp' (bug#9364).
9683
93eb7113
JL
96842011-08-25 Juri Linkov <juri@jurta.org>
9685
9686 * isearch.el (isearch-edit-string): Let-bind `search-ring' and
9687 `regexp-search-ring' to their global values to protect from
9688 updating by `read-from-minibuffer' (bug#9185).
9689
f65d1611
JL
96902011-08-25 Juri Linkov <juri@jurta.org>
9691
9692 * textmodes/ispell.el (ispell-command-loop): Add newline
9693 at the end of the "Use option `i'..." line.
9694
f1cf7a31
JL
96952011-08-25 Juri Linkov <juri@jurta.org>
9696
9697 * battery.el (display-battery-mode): If `battery-status-function'
9698 or `battery-mode-line-format' is nil, display the message and set
9699 `display-battery-mode' to nil (bug#9363).
9700
0c95fcf7
EZ
97012011-08-25 Eli Zaretskii <eliz@gnu.org>
9702
9703 * buff-menu.el (Buffer-menu-buffer+size): Remove calls to
9704 bidi-string-mark-left-to-right; they are unnecessary now.
9705
a2ebe600
DD
97062011-08-25 Deniz Dogan <deniz@dogan.se>
9707
9708 * net/quickurl.el: Documentation typo fixes.
9709
e4ed06f1
CY
97102011-08-25 Chong Yidong <cyd@stupidchicken.com>
9711
9712 * window.el (bury-buffer, quit-window): Use bury-buffer-internal.
9713
e5f1c99e
GM
97142011-08-25 Glenn Morris <rgm@gnu.org>
9715
b2948976
GM
9716 * emacs-lisp/derived.el (define-derived-mode): Doc fix.
9717
e5f1c99e
GM
9718 * mail/smtpmail.el (smtpmail-smtp-user): Add version: tag.
9719 (smtpmail-via-smtp): Handle nil response from smtp.
9720
f22f4808
JL
97212011-08-24 Juri Linkov <juri@jurta.org>
9722
9723 * proced.el (proced-marked): Inherit from `error' instead of
9724 `font-lock-warning-face'.
9725
9726 * ibuffer.el (ibuffer-marked-face): Change default face from
9727 `font-lock-warning-face' to `warning'.
9728 (ibuffer-deletion-face): Change default face from
9729 `font-lock-type-face' to `error'.
9730
9731 * battery.el (battery-update): Use the face `error' instead of
9732 `font-lock-warning-face' (bug#6117).
9733
6a93965e
JL
97342011-08-24 Juri Linkov <juri@jurta.org>
9735
9736 * faces.el (success): Change face color from "Green3" to
9737 "ForestGreen" on light background (bug#9353).
9738
1ed43b09
CY
97392011-08-24 Chong Yidong <cyd@stupidchicken.com>
9740
5664fa7b
RT
9741 * window.el (quit-window): Rename from quit-restore-window.
9742 Use same arglist as old quit-window.
1ed43b09
CY
9743 (frame-auto-delete): Doc fix.
9744
9745 * view.el (view-mode-exit): Use quit-window.
9746
11dcdbb2
JL
97472011-08-24 Juri Linkov <juri@jurta.org>
9748
9749 * isearch.el (isearch-ring-adjust1): Start visiting previous
9750 search strings from the index 0 (-1 + 1) instead of 1 (0 + 1).
9751 (isearch-repeat, isearch-edit-string): Call `isearch-ring-adjust1'
9752 for empty search string (when the last search string is reused
9753 automatically) to adjust the isearch ring to the last element and
9754 prepare the correct index for further M-p commands (bug#9185).
9755
de62b4df
KH
97562011-08-24 Kenichi Handa <handa@m17n.org>
9757
9758 * international/ucs-normalize.el: If decomposition property of
9759 CHAR is the default one (i.e. a list of CHAR itself), treat it as
9760 nil.
9761 (nfd, nfkd): Likewise.
9762
963b492b
SM
97632011-08-24 Stefan Monnier <monnier@iro.umontreal.ca>
9764
9765 * mpc.el (mpc--proc-filter): Don't signal mpc-proc-error since signals
9766 from process filters aren't reliably transmitted to the surrounding
9767 accept-process-output.
9768 (mpc-proc-check): New function.
9769 (mpc-proc-sync): Use it (bug#8293)
9770
93b6b5e1
SM
97712011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
9772
9773 * emacs-lisp/eieio.el (eieio-defmethod, eieio-defgeneric):
9774 Add compatibility functions (bug#9313).
9775
bca633fb
EZ
97762011-08-23 Eli Zaretskii <eliz@gnu.org>
9777
b177498a
EZ
9778 * cus-start.el (all): Add entry for bidi-paragraph-direction.
9779
6df6ae42 9780 * international/uni-bidi.el: Regenerate.
bca633fb 9781
0902a04e
KH
97822011-08-23 Kenichi Handa <handa@m17n.org>
9783
9784 * international/charprop.el:
9785 * international/uni-bidi.el:
9786 * international/uni-category.el:
9787 * international/uni-combining.el:
9788 * international/uni-comment.el:
9789 * international/uni-decimal.el:
9790 * international/uni-decomposition.el:
9791 * international/uni-digit.el:
9792 * international/uni-lowercase.el:
9793 * international/uni-mirrored.el:
9794 * international/uni-name.el:
9795 * international/uni-numeric.el:
9796 * international/uni-old-name.el:
9797 * international/uni-titlecase.el:
9798 * international/uni-uppercase.el: Regenerate.
9799
3bbf23bc
MR
98002011-08-23 Martin Rudalics <rudalics@gmx.at>
9801
9802 * help.el (help-window-setup): Fix message displayed when other
9803 window is reused. (Bug#9341)
9804
b3fd59bd
SM
98052011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
9806
1802e444
SM
9807 * shell.el (shell-completion-vars): Set pcomplete-arg-quote-list.
9808 * pcomplete.el (pcomplete-quote-argument): Fix thinko (bug#9161).
9809
b3fd59bd
SM
9810 * pcomplete.el (pcomplete-parse-comint-arguments): Fix inf-loop.
9811 Mark obsolete.
9812 * shell.el (shell-parse-pcomplete-arguments): New function.
9813 (shell-completion-vars): Use it instead (bug#9160).
9814
4eb61348
SM
98152011-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
9816
867cab74
SM
9817 * progmodes/sh-script.el (sh-maybe-here-document): Disable magic in
9818 strings and comments (bug#9333).
9819
4eb61348
SM
9820 * emacs-lisp/debug.el (debug-arglist): New function.
9821 (debug-convert-byte-code): Use it. Handle lexical byte-codes.
9822 (debug-on-entry-1): Handle interpreted closures (bug#9120).
9823
262a1439
JL
98242011-08-22 Juri Linkov <juri@jurta.org>
9825
56ee679c
JL
9826 * progmodes/compile.el (compilation-mode-font-lock-keywords):
9827 Revert regexp that highlights output switches to its old
9828 pre-2010-10-28 value and remove one `?' from it (bug#9319).
9829
262a1439
JL
9830 * progmodes/grep.el (grep-process-setup): Use `buffer-modified-p'
9831 to check for empty output (bug#9226).
9832
f13f86fb
CY
98332011-08-22 Chong Yidong <cyd@stupidchicken.com>
9834
9835 * progmodes/scheme.el (scheme-mode-syntax-table): Don't use
9836 symbol-constituent as the default, as that stops font-lock from
9837 working properly (Bug#8843).
9838
c65c9622
LMI
98392011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
9840
9841 * mail/smtpmail.el (smtpmail-via-smtp): Only bind
9842 `coding-system-for-*' around the process open call to avoid
9843 auth-source side effects.
e7f2c178 9844 (smtpmail-try-auth-methods): Expand the secret password.
7185da52
LMI
9845 (smtpmail-query-smtp-server): Allow `quit'-ing out in case the
9846 probe hangs.
c65c9622 9847
23a8a5ab
CY
98482011-08-21 Chong Yidong <cyd@stupidchicken.com>
9849
ff98b2dd
CY
9850 * term.el (term-mouse-paste): Yank primary selection (Bug#6845).
9851
23a8a5ab
CY
9852 * emacs-lisp/find-func.el (find-function-noselect): New arg
9853 lisp-only.
9854
9855 * emacs-lisp/edebug.el (edebug-instrument-function): Use it to
9856 signal an error for built-in functions (Bug#6664).
9857
f5e3c598
LMI
98582011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
9859
9860 * mail/smtpmail.el (smtpmail-smtp-user): New variable.
9861 (smtpmail-try-auth-methods): Use it.
9862
a3f2468a
CY
98632011-08-21 Chong Yidong <cyd@stupidchicken.com>
9864
2c34e8da
CY
9865 * font-lock.el (font-lock-fontify-region)
9866 (font-lock-unfontify-region, font-lock-default-fontify-buffer)
9867 (font-lock-default-unfontify-buffer)
9868 (font-lock-default-fontify-region)
9869 (font-lock-default-unfontify-region): Add docstrings (Bug#8624).
9870
b3fd59bd
SM
9871 * progmodes/compile.el (compilation-error-properties):
9872 Fix confusion between file struct and message struct (Bug#9319).
02e5c89e
CY
9873 (compilation-error-regexp-alist-alist): Fix 2011-05-09 change to
9874 `ant' regexp.
ee31aabc 9875
a3f2468a
CY
9876 * net/browse-url.el (browse-url-firefox): Don't call
9877 browse-url-firefox-sentinel unless using -remote (Bug#9328).
9878
8e999f70
GM
98792011-08-20 Glenn Morris <rgm@gnu.org>
9880
c21a496a
GM
9881 * tutorial.el (help-with-tutorial): Avoid an error on short screens.
9882
59ee0542
GM
9883 * tutorial.el (tutorial--default-keys): Update some default bindings.
9884
8e999f70
GM
9885 * files.el (hack-local-variables): Fully ignore case for "mode:".
9886
e3715033
AM
98872011-08-20 Alan Mackenzie <acm@muc.de>
9888
9889 Resolve invalid use of a regexp in regexp-opt.
9890
4d61f28d
JB
9891 * progmodes/cc-fonts.el (c-complex-decl-matchers): Add in special
9892 detection for a java annotation.
e3715033 9893
4d61f28d 9894 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Add in special
e3715033
AM
9895 detection for a java annotation.
9896
4d61f28d
JB
9897 * progmodes/cc-langs.el (c-prefix-spec-kwds-re): Remove the special
9898 handling for java.
e3715033
AM
9899 (c-modifier-kwds): Remove the regexp "@[A-za-z0-9]+".
9900
04ed2e9c
CY
99012011-08-20 Chong Yidong <cyd@stupidchicken.com>
9902
9903 * startup.el (normal-top-level-add-subdirs-to-load-path): Doc fix
9904 (Bug#9274).
9905
826cee64
AM
99062011-08-20 Alan Mackenzie <acm@muc.de>
9907
58179cce 9908 Fontify CPP expressions correctly when starting in the middle of
826cee64
AM
9909 such a construct. Mainly for when jit-lock etc. starts a chunk
9910 here.
9911
58179cce 9912 * progmodes/cc-fonts.el (c-font-lock-context): New buffer local
826cee64 9913 variable.
58179cce 9914 (c-make-font-lock-search-form): New function, extracted from
826cee64
AM
9915 c-make-font-lock-search-function.
9916 (c-make-font-lock-search-function): Use the above function.
9917 (c-make-font-lock-context-search-function): New function.
9918 (c-cpp-matchers): Enhance the preprocessor expression case with
9919 the above function
9920 (c-font-lock-complex-decl-prepare): Test for being in a CPP form
9921 which takes an expression.
9922
9923 * progmodes/cc-langs.el (c-cpp-expr-intro-re): New lang-variable.
9924
13009bd8
MR
99252011-08-20 Martin Rudalics <rudalics@gmx.at>
9926
9927 * window.el (display-buffer-reuse-window)
9928 (display-buffer-pop-up-window): Don't reuse or split a side
9929 window.
9930
9234ff7f
GM
99312011-08-19 Glenn Morris <rgm@gnu.org>
9932
9933 * files.el (hack-local-variables-prop-line, hack-local-variables):
5e617bc2 9934 Downcase "Mode:". (Bug#9331)
9234ff7f 9935
f635daa1
CY
99362011-08-18 Chong Yidong <cyd@stupidchicken.com>
9937
9938 * international/characters.el: Add L and R categories.
9939
9940 * subr.el (bidi-string-mark-left-to-right): Rename from
9941 string-mark-left-to-right. Use category search.
9942
9943 * buff-menu.el (Buffer-menu-buffer+size): Callers changed.
9944
bc987f8b
JL
99452011-08-18 Juri Linkov <juri@jurta.org>
9946
9947 * faces.el (error, warning, success): New faces with definitions
9948 copied from old default values of `font-lock-warning-face',
9949 `compilation-warning', `compilation-info' (bug#6117).
9950
9951 * font-lock.el (font-lock-warning-face): Inherit from `error'.
9952
9953 * progmodes/compile.el (compilation-error): Inherit from `error'.
9954 (compilation-warning): Inherit from `warning'.
9955 (compilation-info): Inherit from `success'.
9956
9957 * dired.el (dired-marked): Inherit from `warning'.
9958 (dired-flagged): Inherit from `error'.
9959
57173b96
LMI
99602011-08-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
9961
3e79eb87
LMI
9962 * mail/smtpmail.el (auth-source): Require to avoid problems with
9963 binding variables (bug#9298). Also clean up some unused
9964 autoloads.
9965
b3fd59bd
SM
9966 * net/network-stream.el (network-stream-open-starttls):
9967 Support using starttls.el without using gnutls-cli.
57173b96 9968
02b404de
JL
99692011-08-17 Juri Linkov <juri@jurta.org>
9970
9971 * progmodes/grep.el (rgrep): Handle the case when
9972 `grep-find-command' is a cons cell (bug#9278).
9973
8c9177f2
MR
99742011-08-17 Martin Rudalics <rudalics@gmx.at>
9975
9976 * window.el (display-buffer-pop-up-frame): Run frame creation
9977 function with BUFFER current (as special-display-popup-frame
9978 does). Reported by Drew Adams.
9979
3644a0ab
DU
99802011-08-17 Daiki Ueno <ueno@unixuser.org>
9981
9982 * epa-mail.el: Simplify GnuPG group expansion using
9983 epg-expand-group.
9984 (epa-mail-group-alist, epa-mail-group-modtime)
9985 (epa-mail-gnupg-conf-file, epa-mail-parse-groups)
9986 (epa-mail-sync-groups, epa-mail-expand-recipient-1)
9987 (epa-mail-expand-recipients-2, epa-mail-expand-recipients):
9988 Remove.
9989
5e617bc2 99902011-08-16 Feng Li <fengli@gmail.com> (tiny change)
7c643369
FL
9991
9992 * calc/calc-ext.el (math-defintegral-2): Remove nested backquote.
9993
9c4aeabf
AM
99942011-08-16 Alan Mackenzie <acm@muc.de>
9995
9996 * progmodes/cc-engine.el (c-state-cache-non-literal-place):
9997 Correct, to avoid the inside of macros.
9998
3a99bf64
RS
99992011-08-16 Richard Stallman <rms@gnu.org>
10000
04963aa8
RS
10001 * epa-mail.el: Handle GnuPG group definitions.
10002 (epa-mail-group-alist, epa-mail-group-modtime)
10003 (epa-mail-gnupg-conf-file): New variables.
10004 (epa-mail-parse-groups, epa-mail-sync-groups)
10005 (epa-mail-expand-recipient-1, epa-mail-expand-recipients-2)
10006 (epa-mail-expand-recipients): New functions.
10007 (epa-mail-encrypt): Call epa-mail-expand-recipients.
10008
177549d0
RS
10009 * mail/rmail.el (rmail-epa-decrypt): New command.
10010
fe38beef
RS
10011 * epa.el (epa-decrypt-region): New arg MAKE-BUFFER-FUNCTION.
10012 Don't bind buffer-read-only, just inhibit-read-only.
3a99bf64
RS
10013 (epa--find-coding-system-for-mime-charset): Fix the non-xemacs case.
10014 (epa-decrypt-armor-in-region): Make error message clearer.
10015
934eacb9
SM
100162011-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
10017
10018 * minibuffer.el (completion-pcm--merge-completions): Don't merge "a1b"
10019 and "a2b" to "ab" for `prefix'.
10020
d024fb4e
CY
100212011-08-14 Chong Yidong <cyd@stupidchicken.com>
10022
10023 * ibuf-ext.el (ibuffer-filter-disable): New arg for deleting
10024 filter groups.
de148fee
CY
10025 (ibuffer-included-in-filter-p-1): Use it. Suggested by Rafaël
10026 Fourquet (Bug#8804).
d024fb4e 10027
62f1ca49
JB
100282011-08-12 Juanma Barranquero <lekktu@gmail.com>
10029
10030 * startup.el (argi): Declare as global variable (bug#9275).
10031
9ccaaa4b
CY
100322011-08-12 Chong Yidong <cyd@stupidchicken.com>
10033
10034 * subr.el (string-mark-left-to-right): Search the entire string
10035 for RTL script, not just the terminating character. Doc fix.
10036
a3dae87a
SM
100372011-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
10038
6cd18349
SM
10039 * progmodes/js.el (js-syntax-propertize, js-syntax-propertize-regexp):
10040 New function.
10041 (js--regexp-literal, js-syntax-propertize-function): Remove.
10042 (js-mode): Use js-syntax-propertize to handle multilines (bug#9183).
10043 (js-mode-map): Don't rebind electric keys.
10044 (js-insert-and-indent): Remove.
10045 (js-mode): Setup electric-layout and electric-indent instead.
10046
a3dae87a
SM
10047 * epa-file.el (epa-file-select-keys): Revert to nil default (bug#9280).
10048
9d5cb631
DU
100492011-08-12 Daiki Ueno <ueno@unixuser.org>
10050
10051 * epa.el (epa-progress-callback-function): Fix the logic of
10052 displaying progress.
10053 * epa-file.el (epa-file-insert-file-contents): Make progress
10054 display more user-friendly.
10055 (epa-file-write-region): Ditto.
10056
3e26a4a2
CY
100572011-08-10 Chong Yidong <cyd@stupidchicken.com>
10058
10059 * subr.el (string-mark-left-to-right): New function.
10060
10061 * buff-menu.el (Buffer-menu-buffer+size): Remove LRM argument.
10062 Use string-mark-left-to-right.
10063 (list-buffers-noselect): Caller changed.
10064
a3dae87a
SM
10065 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
10066 Use string-mark-left-to-right.
3e26a4a2
CY
10067 (tabulated-list-print): Recenter after moving point.
10068
ac8cf6e6
JL
100692011-08-10 Juri Linkov <juri@jurta.org>
10070
10071 * progmodes/grep.el (rgrep): Don't bind `process-connection-type'.
10072 This finishes incomplete reversion of 2011-06-30T01:09:13Z!larsi@gnus.org
10073 intended by 2011-07-06T15:49:19Z!larsi@gnus.org.
10074
8d96c9a4
CY
100752011-08-09 Chong Yidong <cyd@stupidchicken.com>
10076
10077 * hi-lock.el (hi-lock-unface-buffer): Fix interactive spec
10078 (Bug#7554).
10079
7be1c708 100802011-08-09 Andreas Schwab <schwab@linux-m68k.org>
29bbcfa7
AS
10081
10082 * xt-mouse.el (xterm-mouse-event-read): Try to recover the raw
10083 character. (Bug#6594)
10084
37e11a63
CY
100852011-08-08 Chong Yidong <cyd@stupidchicken.com>
10086
839dde57
CY
10087 * image-dired.el: Don't use find-file for temporary work (Bug#7895).
10088 (image-dired--with-db-file): New macro.
10089 (image-dired-write-tags, image-dired-remove-tag)
10090 (image-dired-create-gallery-lists, image-dired-write-comments)
10091 (image-dired-get-comment, image-dired-mark-tagged-files)
10092 (image-dired-list-tags, image-dired-gallery-generate): Use it.
10093 (image-dired-gallery-generate): Use insert-file-contents.
10094
37e11a63
CY
10095 * time.el (display-time-world-list, display-time-world-display):
10096 * time-stamp.el (time-stamp-string):
10097 * vc/add-log.el (add-change-log-entry): Use setenv instead of
10098 set-time-zone-rule (Bug#7337).
10099
0b4946c4
DU
101002011-08-08 Daiki Ueno <ueno@unixuser.org>
10101
10102 * epg.el (epg--status-KEYEXPIRED, epg--status-KEYREVOKED): Fix typo.
10103 (epg-error-to-string, epg-errors-to-string): New function.
10104 (epg-wait-for-completion): Reverse errors list.
10105 (epg--check-error-for-decrypt, epg-sign-file, epg-sign-string)
10106 (epg-encrypt-file, epg-encrypt-string, epg-export-keys-to-file)
10107 (epg--import-keys-1, epg-receive-keys, epg-delete-keys)
10108 (epg-sign-keys, epg-generate-key-from-file)
10109 (epg-generate-key-from-string): Format errors by using
10110 epg-errors-to-string (bug#9255).
10111 (epg--status-INV_SGNR, epg--status-NO_SGNR): New status handler.
10112
75bfc667
JL
101132011-08-07 Juri Linkov <juri@jurta.org>
10114
10115 * faces.el (list-faces-display): Remove extra angle bracket
10116 from `help-mode-map'.
10117
10118 * info.el (Info-history-toc-nodes): Doc fix.
10119
10120 * longlines.el (longlines-mode): Doc fix.
10121
673e08bb
SM
101222011-08-05 Stefan Monnier <monnier@iro.umontreal.ca>
10123
4640dd88
SM
10124 * progmodes/js.el (js--regexp-literal): Accept regexps at the beginning
10125 of statements and in a few more cases (bug#9183).
10126
673e08bb
SM
10127 * emacs-lisp/cl-macs.el (cl--make-usage-var, cl--make-usage-args):
10128 New functions.
10129 (cl-transform-lambda): Use them (bug#9239).
10130
89b3f019
MR
101312011-08-05 Martin Rudalics <rudalics@gmx.at>
10132
10133 * window.el (display-buffer-same-window)
10134 (display-buffer-same-frame, display-buffer-other-window)
10135 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
10136 (pop-to-buffer-other-window)
10137 (pop-to-buffer-same-frame-other-window)
10138 (pop-to-buffer-other-frame): Make them defuns.
10139 (switch-to-buffer): Don't set LABEL argument of pop-to-buffer.
10140
640c8776
SM
101412011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
10142
10143 * subr.el (make-composed-keymap): Move from C. Change calling
10144 convention, and improve docstring to bring attention to a subtle point.
10145 * minibuffer.el (completing-read-default): Adjust accordingly.
10146
63648a95
MA
101472011-08-03 Michael Albinus <michael.albinus@gmx.de>
10148
10149 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
10150 (tramp-open-shell): Use `tramp-shell-quote-argument'.
10151
10152 * net/trampver.el: Update release number.
10153
b796c9b7
SM
101542011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
10155
10156 * progmodes/sh-script.el (sh-font-lock-paren): Don't mistake "main" for
10157 "in" (bug#9190).
10158
2239d7d5
LMI
101592011-08-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
10160
e07dd7c3
LMI
10161 * mail/sendmail.el (sendmail-query-once): Restore the current
10162 buffer after querying (bug#9074).
10163
0e6a2bd7
LMI
10164 * dired.el (dired-flagged): Use different faces for marked and
10165 flagged files (bug#6117).
10166
ce887515
LMI
10167 * emacs-lisp/cl-macs.el (dolist): Mention that there's a nil block
10168 (bug#4433).
10169
92f2affc
LMI
10170 * ido.el (ido-mode): Switch off the message if called
10171 non-interactively.
10172
57d5aff0
LMI
10173 * mail/smtpmail.el (smtpmail-query-smtp-server): Try port 25
10174 before 587, since it appears that that's more likely to work for
10175 more people.
10176
98cd6c18 10177 * cus-edit.el (custom-file): When running under emacs -q, always
e1dbe924 10178 refuse to save the customizations, even if the .emacs file doesn't
98cd6c18
LMI
10179 exist.
10180
b96dec83
LMI
10181 * info.el: Remove the `Info-beginning-of-buffer' function
10182 (bug#8325).
10183
b796c9b7
SM
10184 * net/network-stream.el (network-stream-open-starttls):
10185 Use `starttls-available-p' to see whether starttls.el can be used.
2239d7d5 10186
d90e2ea0
MR
101872011-08-01 Martin Rudalics <rudalics@gmx.at>
10188
10189 * window.el (display-buffer-in-window): Don't set dedicated status
10190 of window here (Bug#9215).
10191 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
10192 (display-buffer-pop-up-side-window)
b796c9b7 10193 (display-buffer-in-side-window): Set dedicated status of window here.
d90e2ea0 10194
cca09170
SM
101952011-08-01 Stefan Monnier <monnier@iro.umontreal.ca>
10196
10197 * emacs-lisp/package.el (package-generate-autoloads): Load autoloads
10198 before binding generated-autoload-file.
10199
027b979c
DD
102002011-08-01 Deniz Dogan <deniz@dogan.se>
10201
10202 * net/rcirc.el (rcirc-handler-333): Clarify docstring.
10203
3c7ee4f3
MA
102042011-07-30 Michael Albinus <michael.albinus@gmx.de>
10205
10206 Sync with Tramp 2.2.2.
10207
10208 * net/trampver.el: Update release number.
10209
2cc8e51a
JL
102102011-07-30 Juri Linkov <juri@jurta.org>
10211
10212 * dired-aux.el (dired-touch-initial): Remove function.
10213 (dired-do-chxxx): For op-symbol `touch', set `initial' to the
10214 current time, and `default' to the last modification time of the
10215 current marked file (bug#6887).
10216
a514d856
JM
102172011-07-28 Jose E. Marchesi <jemarch@gnu.org>
10218
10219 * simple.el (goto-line): Use string-to-number to provide a
2cc8e51a 10220 numeric argument to read-number (bug#9163).
a514d856 10221
8a7eddd7
MA
102222011-07-27 Michael Albinus <michael.albinus@gmx.de>
10223
10224 * net/tramp-sh.el (tramp-maybe-send-script): Don't let-bind the
10225 connection process, it could be nil.
10226
1ddd96f5
LL
102272011-07-27 Leo Liu <sdl.web@gmail.com>
10228
10229 Simplify url handling in rcirc-mode.
10230
10231 * net/rcirc.el (rcirc-browse-url-map, rcirc-browse-url-at-point)
10232 (rcirc-browse-url-at-mouse): Remove.
10233 * net/rcirc.el (rcirc-markup-urls): Use `make-button'.
10234
b248a85d
AM
102352011-07-26 Alan Mackenzie <acm@muc.de>
10236
10237 Fontify bitfield declarations properly.
10238
10239 * progmodes/cc-langs.el (c-has-bitfields): New lang variable.
10240 (c-symbol-chars): Now exported as a lang variable.
10241 (c-not-primitive-type-keywords): New lang variable.
10242
10243 * progmodes/cc-fonts.el (c-font-lock-declarations): Jump over the
10244 QT keyword "more" to prevent "more slots: ...." being spuriously
58179cce 10245 parsed as a bitfield declaration.
b248a85d 10246
b796c9b7
SM
10247 * progmodes/cc-engine.el (c-beginning-of-statement-1):
10248 Refactor and enhance to handle bitfield declarations.
b248a85d
AM
10249 (c-punctuation-in): New function.
10250 (c-forward-decl-or-cast-1): Enhance CASE 3 to handle bitfield
10251 declarations properly.
10252
68575ab0
UJ
102532011-07-26 Ulf Jasper <ulf.jasper@web.de>
10254
10255 * calendar/icalendar.el (icalendar--all-events): Take care of
10256 multiple vcalendars in a single file.
b796c9b7 10257 (icalendar--convert-float-to-ical): Checkdoc fixes.
68575ab0 10258
0f0a88b9
DD
102592011-07-25 Deniz Dogan <deniz@dogan.se>
10260
10261 * image.el (insert-image): Clarifying docstring.
10262
0b3f36df
MA
102632011-07-24 Michael Albinus <michael.albinus@gmx.de>
10264
10265 * net/tramp-sh.el (tramp-barf-unless-okay): Return the value of
10266 `tramp-send-command-and-check' if there is no error.
10267 (tramp-send-command-and-read): Suppress *all* errors if NOERROR.
10268
a9901f61
AM
102692011-07-22 Alan Mackenzie <acm@muc.de>
10270
10271 Prevent cc-langs.elc being loaded at run time.
10272
10273 * progmodes/cc-mode.el: Remove two autoload forms which loaded
10274 cc-langs.
10275
4d61f28d 10276 * progmodes/cc-langs.el (c-make-init-lang-vars-fun): Don't emit
a9901f61
AM
10277 "(require 'cc-langs)". Quote a form so it will evaluate at
10278 (cc-mode's) compilation time.
10279
11d074b2
MA
102802011-07-22 Michael Albinus <michael.albinus@gmx.de>
10281
10282 * net/tramp.el (tramp-file-name-handler): Avoid recursive
10283 loading. (Bug#9114)
10284
938b94c8
MR
102852011-07-21 Martin Rudalics <rudalics@gmx.at>
10286
10287 * window.el (display-buffer-pop-up-window)
10288 (display-buffer-pop-up-side-window)
10289 (display-buffer-in-side-window): Call display-buffer-set-height
10290 and display-buffer-set-width after setting the new window's
b796c9b7 10291 buffer so `fit-window-to-buffer' and friends work on the right buffer.
938b94c8 10292
bfa4f190
SS
102932011-07-20 Sam Steingold <sds@gnu.org>
10294
10295 * progmodes/etags.el (etags-file-of-tag, etags-tags-table-files)
10296 (etags-tags-included-tables): Call `convert-standard-filename' on
10297 the file names contained in TAGS so that windows Emacs can handle
10298 TAGS files created by cygwin ctags.
10299
8ca42262
LMI
103002011-07-20 Lars Magne Ingebrigtsen <larsi@gnus.org>
10301
10302 * proced.el (proced-update): Revert yesterday's bug#1779 patch,
10303 which apparently didn't work.
10304
5db2afd2 103052011-07-19 Roland Winkler <winkler@gnu.org>
2ecab2b5 10306
5db2afd2
RW
10307 * proced.el (proced-send-signal): For *Marked Processes* buffer
10308 put point at beginning of buffer.
10309
92e15d10
SB
103102011-07-19 Stephen Berman <stephen.berman@gmx.net>
10311
10312 * proced.el (proced-format): Make header lines align with the text
10313 (bug#1779).
10314
1bfd59e5
LMI
103152011-07-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
10316
10317 * view.el (view-buffer): Allow running in `special' modes if we're
10318 visiting a file (bug#8615).
10319
f5aae37c
MR
103202011-07-19 Martin Rudalics <rudalics@gmx.at>
10321
10322 * window.el (display-buffer-alist-of-strings-p)
b796c9b7
SM
10323 (display-buffer-alist-set-1, display-buffer-alist-set-2):
10324 New functions.
f5aae37c
MR
10325 (display-buffer-alist-set): Rewrite to handle Emacs 23 options
10326 more accurately.
10327
bf2c1571
AM
103282011-07-18 Alan Mackenzie <acm@muc.de>
10329
10330 Fontify declarators properly when, e.g., a jit-lock chunk begins
10331 inside a declaration.
10332
10333 * progmodes/cc-langs.el (c-symbol-chars): Correct a typo.
10334
b796c9b7
SM
10335 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
10336 New function.
bf2c1571
AM
10337 (c-complex-decl-matchers): Insert reference to
10338 c-font-lock-enclosing-decls.
10339
10340 * progmodes/cc-engine.el (c-backward-single-comment):
10341 (c-backward-comments): Bind open-paren-in-column-0-is-defun-start
10342 to nil around calls to (forward-comment -1).
10343
4e190b80
LMI
103442011-07-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
10345
12dc863d
LMI
10346 * image.el (put-image): Doc typo fix.
10347
a762e966
LMI
10348 * progmodes/etags.el (tags-search): Doc typo fix.
10349
4e190b80
LMI
10350 * mail/smtpmail.el (smtpmail-via-smtp): Query the user for
10351 password if we get errors 550 to 554.
10352
f019fb21
LMI
103532011-07-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
10354
b796c9b7 10355 * net/gnutls.el (gnutls-log-level): Remove.
750c33f7 10356
81746738
LMI
10357 * textmodes/fill.el (adaptive-fill-regexp): Include EN DASH as an
10358 indentation character (bug#6380).
10359
3ee3a1b5
LMI
10360 * files.el (buffer-offer-save): Made permanently local (bug#6241).
10361
c82f64de
LMI
10362 * doc-view.el (doc-view-make-safe-dir): Rewrite the error message
10363 to clarify what the problem is (bug#4291).
10364
f019fb21
LMI
10365 * simple.el (current-kill): Clarify what
10366 `interprogram-paste-function' does (bug#7500).
ca425c7c
LMI
10367 (auto-fill-mode): Document `auto-fill-function' in relation to
10368 `auto-fill-mode' (bug#2470).
f019fb21 10369
0794775d
LM
103702011-07-16 Lawrence Mitchell <wence@gmx.li>
10371
10372 * emacs-lisp/cl-macs.el (defstruct): Ignore argument to setf
10373 method if slot is read-only (bug#9035).
10374
be39b8cc
MR
103752011-07-16 Martin Rudalics <rudalics@gmx.at>
10376
b796c9b7 10377 * frame.el (select-frame-set-input-focus): New argument NORECORD.
be39b8cc 10378 * window.el (pop-to-buffer): Select window used even if it was
b796c9b7
SM
10379 selected before, see discussion of (Bug#8615), (Bug#6954).
10380 Pass argument NORECORD on to select-frame-set-input-focus.
be39b8cc 10381
6ccf7859
GM
103822011-07-15 Glenn Morris <rgm@gnu.org>
10383
10384 * subr.el (read-char-choice): Allow quitting. (Bug#9001)
03ea5b87 10385 Respect help-form.
6ccf7859 10386
87e86684
LM
103872011-07-09 Lawrence Mitchell <wence@gmx.li>
10388
10389 * net/gnutls.el (gnutls-min-prime-bits): New variable.
10390 (gnutls-negotiate): Use it.
10391
d6066239
LMI
103922011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
10393
b796c9b7
SM
10394 * net/gnutls.el (gnutls-negotiate):
10395 Upcase `gnutls-algorithm-priority'.
d6066239 10396
bd23ebc0
GM
103972011-07-15 Glenn Morris <rgm@gnu.org>
10398
c65bca65
GM
10399 * jka-compr.el (jka-compr-verbose): Move from here...
10400 * jka-cmpr-hook.el (jka-compr-verbose): ... to here. (Bug#9090)
10401 Add missing :version tag.
10402 * info.el: No need to require jka-compr when compiling.
bd23ebc0 10403
478615cc
LMI
104042011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
10405
7b41decb
LMI
10406 * net/gnutls.el (gnutls-algorithm-priority): New variable.
10407 (gnutls-negotiate): Use it.
10408
dbc44fcd
LMI
10409 * emacs-lisp/cl-macs.el (declare): Link to the "Declarations" node.
10410
06789f97
LMI
10411 * info.el (Info-beginning-of-buffer): New command.
10412 (Info-mode-map): Use it instead of `beginning-of-buffer' to allow
10413 announcing `b' as the key (bug#8325).
ab896c37 10414 (Info-mode-menu): Use `Info-beginning-of-buffer' for consistency.
06789f97 10415
c39da690
LMI
10416 * emacs-lisp/cl-macs.el (declare): Doc string fix-up.
10417
3aa5f34b
LMI
10418 * international/mule-cmds.el
10419 (describe-specified-language-support): Make the error message
10420 clearer (bug#8905).
10421
4bf0979f
LMI
10422 * emacs-lisp/cl-macs.el (declare): Add a doc string (bug#8690).
10423
478615cc
LMI
10424 * isearch.el (isearch-barrier): Add a doc string, since it's
10425 mentioned in a function doc string (bug#8678).
10426
75c68aa1
MR
104272011-07-15 Martin Rudalics <rudalics@gmx.at>
10428
10429 * window.el (switch-to-buffer): Call pop-to-buffer with normalized
10430 buffer argument (Bug#9083) and self-identifying label argument.
10431
a7c33da2
GM
104322011-07-15 Glenn Morris <rgm@gnu.org>
10433
10434 * emacs-lisp/debug.el (debug): Doc fix. (Bug#8273)
10435
2f5c6024
LMI
104362011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
10437
10438 * man.el (Man-fontify-manpage): Fix message when formatting the
10439 man page (bug#7929).
10440
0bb23927 104412011-07-14 Eli Zaretskii <eliz@gnu.org>
cce4b0a7
EZ
10442
10443 * buff-menu.el (Buffer-menu-buffer+size): Accept an additional
10444 argument LRM; if non-nil, append an invisible LRM character to the
10445 buffer name.
10446 (list-buffers-noselect): Call Buffer-menu-buffer+size with the
10447 last argument non-nil, when formatting buffer names.
0bb23927
EZ
10448 (Buffer-menu-mode, list-buffers-noselect): Force left-to-right
10449 paragraph direction.
cce4b0a7 10450
621ef9ab
LMI
104512011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
10452
d1583c48
LMI
10453 * man.el (Man-bgproc-sentinel): Skip any arguments and only output
10454 the man page name (bug#7929).
10455
6a57fb5f
LMI
10456 * image.el (put-image): Mention the `put-image' overlay property
10457 (bug#7834).
10458
d7956b14
LMI
10459 * scroll-bar.el (set-scroll-bar-mode): Mention that
10460 `scroll-bar-mode' lists the values (bug#7772).
10461
5b2d4a66
LMI
10462 * image-mode.el (image-mode-fit-frame): Mention that it's a toggle
10463 command (bug#7729).
10464
7509a874
LMI
10465 * rect.el (apply-on-rectangle): Return the point after the last
10466 operation.
10467 (string-rectangle): Go to the point after the last operation
10468 (bug#7522).
10469
4fe74b19
LMI
10470 * printing.el (pr-toggle-region): Clarify the documentation
10471 slightly (bug#7493).
10472
b796c9b7
SM
10473 * time.el (display-time-update):
10474 Allow `display-time-mail-function' to return nil (bug#7158).
10475 Fix suggested by Detlev Zundel.
ab283561 10476
fc233c9d
LMI
10477 * vc/diff.el (diff): Clarify the order the file names are read
10478 (bug#7111).
10479
43f5740b
LMI
10480 * mouse.el (mouse-set-region): Link to `mouse-drag-copy-region' in
10481 the doc string (bug#7015).
10482
f2182a76
LMI
10483 * font-lock.el (font-lock-maximum-decoration): Mention what
10484 numeric levels mean (bug#6935).
10485
621ef9ab
LMI
10486 * startup.el (initial-buffer-choice): Don't mention the `none'
10487 selection, which is against policy.
10488
adc47434
MR
104892011-07-14 Martin Rudalics <rudalics@gmx.at>
10490
b796c9b7
SM
10491 * window.el (display-buffer-normalize-special):
10492 Replace `dedicated' by `dedicate' to dedicate window (Bug#9072).
adc47434 10493
7e5bfb8f
EZ
104942011-07-14 Eli Zaretskii <eliz@gnu.org>
10495
10496 * subr.el (version<, version<=, version=): Mention "-CVS" and
10497 "-12345" alpha version numbers.
10498
27fa387a
CY
104992011-07-14 Chong Yidong <cyd@stupidchicken.com>
10500
10501 * bindings.el: Add advertised binding for set-mark-command
10502 (Bug#5772).
10503
8bdfa064
CY
105042011-07-14 Chong Yidong <cyd@stupidchicken.com>
10505
10506 * bindings.el (mode-line-other-buffer):
10507 * bookmark.el (bookmark-bmenu-2-window):
10508 * bs.el (bs-cycle-next, bs-cycle-previous):
10509 * net/tramp-cmds.el (tramp-append-tramp-buffers): Revert to using
10510 switch-to-buffer.
10511
10512 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
b796c9b7 10513 Delete.
8bdfa064 10514
5eba16a3
JB
105152011-07-14 Juanma Barranquero <lekktu@gmail.com>
10516
10517 * follow.el (follow-debug-message, follow-redisplay):
10518 * jka-cmpr-hook.el (with-auto-compression-mode):
10519 Fix typos in docstrings.
10520
15853710
LMI
105212011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
10522
a28e4607
LMI
10523 * subr.el (with-silent-modifications): Clarify somewhat what the
10524 macro inhibits (bug#6525).
10525
15853710
LMI
10526 * simple.el (eval-expression): Note what it does if called
10527 interactively (bug#6495).
10528
bee0fcef
CY
105292011-07-13 Chong Yidong <cyd@stupidchicken.com>
10530
b796c9b7
SM
10531 * window.el (switch-to-buffer): New arg FORCE-SAME-WINDOW.
10532 Use pop-to-buffer buffer-or-name if it is nil.
bee0fcef
CY
10533
10534 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
10535 Remove switch-to-buffer.
10536
58274504
LMI
105372011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
10538
bd2fcc8d
LMI
10539 * files.el (make-directory): Clarify that an error will be raised
10540 if there's an error (bug#6397).
10541
0f04b32c
LMI
10542 * startup.el (initial-buffer-choice): Add `none' as a choice
10543 (bug#6234).
10544
465c5fc8
LMI
10545 * subr.el (add-hook): Clarify section about buffer-local hooks
10546 (bug#6218).
10547
58274504
LMI
10548 * dired.el (dired-flagged): Clarify doc string (bug#6117).
10549
bead9a43
JB
105502011-07-13 Juanma Barranquero <lekktu@gmail.com>
10551
10552 * tabify.el (untabify): Preserve the current column so that point
10553 doesn't move (bug#6032).
10554
3af98a7b
LMI
105552011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
10556
b796c9b7
SM
10557 * progmodes/cperl-mode.el (cperl-syntaxify-by-font-lock):
10558 Rewrite to avoid awkward possessive "s" (bug#5986).
3af98a7b 10559
6240145a
GM
105602011-07-13 Glenn Morris <rgm@gnu.org>
10561
10562 * dired.el (dired-use-ls-dired): Doc fix. (Bug#9039).
10563 (dired-insert-directory): Give a message the first time
10564 if ls is found not to support --dired.
10565
1d8c2ccc
LMI
105662011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
10567
10568 * simple.el (toggle-truncate-lines): Clarify what is toggled
10569 (bug#5580). Text by Drew Adams.
10570
5fc4038e
CY
105712011-07-13 Chong Yidong <cyd@stupidchicken.com>
10572
10573 * simple.el (blink-matching-open): Make the error message from the
10574 last change less verbose.
10575
bf6012e5
DN
105762011-07-13 Dan Nicolaescu <dann@ics.uci.edu>
10577
10578 * font-lock.el (font-lock-comment-face): Use the high contrast
10579 "yellow" color for font-lock-comment-face on low color terminals
10580 using a dark background color (bug#4221).
10581
343c3b5a
LMI
105822011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
10583
7e9505c5
LMI
10584 * dired.el (dired-insert-set-properties): Make the doc string
10585 reflect what it does now (bug#5325).
10586
c26fdcf5
LMI
10587 * simple.el (blink-matching-open): Say that we were unable to find
10588 the match within the limit, if we're limited (bug#5122).
10589
bb388cc5
LMI
10590 * international/mule-cmds.el (prefer-coding-system): Add an
10591 example (bug#4869).
10592
343c3b5a
LMI
10593 * progmodes/etags.el (tags-search): Document `file-list-form'
10594 (bug#4731).
10595
2a517d45
LM
105962011-07-13 Lawrence Mitchell <wence@gmx.li>
10597
10598 * net/browse-url.el (browse-url-default-browser)
10599 (browse-url-browser-function): Make the default browser choice a
10600 bit more logical (bug#4300). Also clean up the doc string.
10601
b6c78ef2
JB
106022011-07-13 Juanma Barranquero <lekktu@gmail.com>
10603
10604 * bindings.el (completion-ignored-extensions): Add OpenMCL/Clozure
10605 binary endings (bug#4440).
10606
1c4dd947
LMI
106072011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
10608
a2014063
LMI
10609 * info.el (info-insert-file-contents): Inhibit jka-compr messages,
10610 which can be pretty annoying (bug#8971).
10611
9c9c2d88
LMI
10612 * jka-compr.el (jka-compr-verbose): New variable, and use
10613 throughout (bug#8971).
10614
1c4dd947
LMI
10615 * info.el (Info-find-file): Fall back on the installation
10616 directory if we can't find the info node anywhere else.
10617
a1c9f41b
SO
106182011-07-13 Sergei Organov <osv@javad.com> (tiny change)
10619
10620 * vc/vc.el (vc-revert-file):
10621 Don't set file time-stamp in the past. (Bug#5181)
10622
536f3d36
LMI
106232011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
10624
7152b011
LMI
10625 * files.el (after-find-file): Give a better error message when
10626 trying to find a symlink that points to a file that doesn't exist
10627 (bug#4398).
10628
536f3d36
LMI
10629 * progmodes/cc-vars.el: Remove (probably) misleading comment
10630 (bug#4396).
10631
460c0fba
JB
106322011-07-12 Johan Bockgård <bojohan@gnu.org>
10633
10634 * mouse-sel.el (mouse-sel-primary-overlay): Use the `region' face.
10635
7a6bda45
CY
106362011-07-12 Chong Yidong <cyd@stupidchicken.com>
10637
10638 * mouse-sel.el: Hack restoring functionality, while keeping
10639 compatibility with 2010-07-03 changes to mouse selection.
10640 (mouse-sel-primary-overlay): New var.
10641 (mouse-sel-selection-alist): Use it.
10642 (mouse-sel-mode): Doc fix; remove points that are default features
10643 of mouse.el.
10644
c79598ef
JB
106452011-07-12 Johan Bockgård <bojohan@gnu.org>
10646
10647 * progmodes/compile.el (compilation-error-regexp-alist-alist):
10648 Fix previous fix (bug#2490).
10649
ff8be6ef
RW
106502011-07-12 Roland Winkler <winkler@gnu.org>
10651
b796c9b7
SM
10652 * textmodes/bibtex.el (bibtex-initialize):
10653 Use pop-to-buffer-same-window.
ff8be6ef
RW
10654 (bibtex-search-entries): Fix interactive call.
10655
296ba3ee
LMI
106562011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
10657
f5242a02 10658 * progmodes/compile.el (compilation-error-regexp-alist-alist):
b796c9b7
SM
10659 Fontise bytecomp Error lines more correctly (bug#2490).
10660 Fix suggested by Johan Bockgård.
f5242a02 10661
296ba3ee
LMI
10662 * subr.el (remove-duplicates): Remove; `delete-dups' is sufficient.
10663
10664 * dired-x.el (dired-guess-default): Use `delete-dups'.
10665
f69fd0d2
CY
106662011-07-12 Chong Yidong <cyd@stupidchicken.com>
10667
10668 * dired.el (dired-mark-prompt):
10669 * dired-aux.el (dired-read-shell-command): Doc fix.
10670
eab5dc07
LMI
106712011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
10672
b796c9b7
SM
10673 * mail/sendmail.el (sendmail-query-once):
10674 Use `customize-save-variable' unconditionally, now that it works under
9988520a
LMI
10675 emacs -Q.
10676
10677 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
10678
eab5dc07
LMI
10679 * cus-edit.el (custom-file): Take an optional no-error variable.
10680 (customize-save-variable): Set the variable, and give a warning if
10681 running under "emacs -q".
10682
a1e65d42
JB
106832011-07-11 Juanma Barranquero <lekktu@gmail.com>
10684
10685 * loadhist.el (unload-feature-special-hooks):
10686 Add `auto-coding-functions', `fill-nobreak-predicate' and
10687 `find-directory-functions' (bug#5327).
10688
1d52da10
LMI
106892011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
10690
be958f1d
LMI
10691 * vc/ediff.el (ediff-patch-file): Clarify doc string (bug#3138).
10692
5bedb26c
LMI
10693 * cus-edit.el (custom-guess-name-alist): -alist variables should
10694 use the `alist' type (bug#3120). Suggested by Drew Adams.
10695
1d52da10
LMI
10696 * printing.el: Add documentation to all the `pr-toggle-' commands.
10697
cd394be1 106982011-07-11 Leo Liu <sdl.web@gmail.com>
481a51b6
LL
10699
10700 * files.el (toggle-read-only): Only do the `C-x C-q' warning on VC
10701 backends where it makes sense (bug#2623).
10702
dcc88d8a
LMI
107032011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
10704
c3de9feb
LMI
10705 * dired-x.el (dired-guess-default): Remove duplicate shell command
10706 entries (bug#2028).
8a93078b 10707 (dired-guess-default): Fix grammar in doc string (bug#2028).
eea84fe5 10708 (dired-guess-shell-alist-user): Clarify the example a bit (bug#2030).
c3de9feb 10709
dcc88d8a
LMI
10710 * subr.el (remove-duplicates): New conveniency function.
10711
505e3645
LMI
107122011-07-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
10713
10714 * tool-bar.el (tool-bar-mode): Clarify positive/negative arguments
10715 (bug#1526).
10716
107172011-07-10 Martin Rudalics <rudalics@gmx.at>
10718
10719 * window.el (display-buffer-normalize-default): Don't invert
10720 meaning of even-window-heights. Reported by Eli Zaretskii
10721 <eliz@gnu.org>.
10722
455e4fa1
BR
107232011-07-10 Bob Rogers <rogers@rgrjr.dyndns.org>
10724
10725 * vc/vc.el (vc-diff-internal): Fix race condition (Bug#1256).
10726
8e0bc3e9
CY
107272011-07-10 Chong Yidong <cyd@stupidchicken.com>
10728
10729 * window.el (display-buffer): Fix arguments to
10730 display-buffer-reuse-window in last change.
10731
fa7c3228
CY
10732 * faces.el (link): Use a less saturated blue on light backgrounds.
10733
10734 * startup.el (fancy-startup-text, fancy-about-text)
10735 (fancy-startup-tail): Use font-lock faces, for background safety.
10736
c0a7f300
BN
107372011-07-09 Bob Nnamtrop <bobnnamtrop@gmail.com> (tiny change)
10738
b796c9b7
SM
10739 * emulation/viper-cmd.el (viper-change-state-to-vi):
10740 Limit triggering of abbrev expansion (Bug#9038).
c0a7f300 10741
4dc2a129
MR
107422011-07-09 Martin Rudalics <rudalics@gmx.at>
10743
10744 * window.el (display-buffer-default-specifiers): Remove.
10745 (display-buffer-macro-specifiers): Remove default specifiers.
10746 (display-buffer-alist): Default to nil.
b796c9b7 10747 (display-buffer-reuse-window): New optional argument other-window.
4dc2a129
MR
10748 (display-buffer-pop-up-window): Allow splitting internal
10749 windows. Check whether a live window was created.
10750 (display-buffer-other-window-means-other-frame)
10751 (display-buffer-normalize-arguments): Rename to
10752 display-buffer-normalize-argument and rewrite. Set the
10753 other-window specifier.
10754 (display-buffer-normalize-special): New function.
10755 (display-buffer-normalize-options): Rename to
10756 display-buffer-normalize-default and rewrite.
10757 (display-buffer-normalize-options-inhibit): Remove.
10758 (display-buffer-normalize-specifiers): Rewrite.
10759 (display-buffer): Process other-window specifier and call
10760 display-buffer-reuse-window with it. Emulate Emacs 23 behavior
10761 more faithfully.
b796c9b7 10762 (pop-up-windows, even-window-heights): Restore Emacs 23 default values.
4dc2a129 10763 (display-buffer-alist-set): Don't handle 'unset default values.
b796c9b7
SM
10764 (display-buffer-in-window, display-buffer-alist-set):
10765 Replace symbol "dedicated" by "dedicate". Reported by Tassilo Horn
4dc2a129
MR
10766 <tassilo@member.fsf.org>.
10767
2d43b8c9
LL
107682011-07-09 Leo Liu <sdl.web@gmail.com>
10769
10770 * register.el (insert-register): Restore accidental change on
10771 2011-06-26. (Bug#9028)
10772
7f9b7c53
GM
107732011-07-09 Glenn Morris <rgm@gnu.org>
10774
10775 * subr.el (remq): Handle the empty list. (Bug#9024)
10776
f042cfd8
AS
107772011-07-08 Andreas Schwab <schwab@linux-m68k.org>
10778
10779 * mail/sendmail.el (send-mail-function): No longer delay custom
10780 initialization.
10781 * custom.el (custom-initialize-delay): Doc fix.
10782
856b2f11
SM
107832011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
10784
10785 * abbrev.el (expand-abbrev): Try to preserve point (bug#5805).
10786
afae1d68
MA
107872011-07-08 Michael Albinus <michael.albinus@gmx.de>
10788
10789 * net/tramp-sh.el (tramp-sh-handle-start-file-process): Use a
10790 human-friendly prompt.
10791
0757af94
SM
107922011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
10793
10794 * vc/vc-bzr.el (vc-bzr-revision-keywords): Remove svn, it's only
10795 provided by a particular plugin.
10796
d760b731
LMI
107972011-07-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
10798
10799 * mail/sendmail.el (sendmail-query-once): If we aren't allowed to
10800 save customizations (with "emacs -Q"), just set the variable
10801 instead of erroring out.
10802
10803 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
10804
cd79ce90
JL
108052011-07-08 Juri Linkov <juri@jurta.org>
10806
10807 * arc-mode.el (archive-zip-expunge, archive-zip-update)
10808 (archive-zip-update-case): Use 7z if found by `executable-find'.
10809 The order of searching the available programs is the same as in
10810 `archive-zip-extract' (bug#8968).
10811
14cc04aa
CY
108122011-07-07 Chong Yidong <cyd@stupidchicken.com>
10813
10814 * menu-bar.el (menu-bar-line-wrapping-menu): Revert last change.
10815 (menu-bar-options-menu): Tweak descriptions.
10816
0a1848ec
LMI
108172011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
10818
10819 * menu-bar.el (menu-bar-line-wrapping-menu): Make all the Options
10820 menu items into verb phrases (bug#1421). Also refill to fit under
10821 80 columns.
10822
f5bd0689
CY
108232011-07-07 Chong Yidong <cyd@stupidchicken.com>
10824
538e85c6
CY
10825 * info.el (info, Info-read-node-name-2, Info-read-node-name-1)
10826 (Info-read-node-name): Doc fix (Bug#1084).
10827
f5bd0689
CY
10828 * thingatpt.el (forward-thing, bounds-of-thing-at-point)
10829 (thing-at-point, beginning-of-thing, end-of-thing, in-string-p)
10830 (end-of-sexp, beginning-of-sexp)
10831 (thing-at-point-bounds-of-list-at-point, forward-whitespace)
10832 (forward-symbol, forward-same-syntax, word-at-point)
10833 (sentence-at-point): Doc fix (Bug#1144).
10834
56ec5115
LMI
108352011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
10836
f3f8e37f
LMI
10837 * info.el (Info-mode-map): Remove S-TAB binding, since [backtab]
10838 should cover it (bug#1281).
10839
0757af94 10840 * cus-edit.el (custom-show): Mark as obsolete.
af0905c8 10841
e9fce1ac 10842 * net/network-stream.el (network-stream-open-starttls): If GnuTLS
12b9eb35
LMI
10843 negotiation fails, then possibly try again with a non-encrypted
10844 connection (bug#9017).
10845
56ec5115
LMI
10846 * mail/smtpmail.el (smtpmail-stream-type): Note that `plain' can
10847 be used.
10848
c2f9aec8
RS
108492011-07-07 Richard Stallman <rms@gnu.org>
10850
10851 * mail/rmail.el (rmail-next-error-move): Use `compilation-message'
10852 property, and handle its changed format.
10853 Look for the correct line number.
10854 Use file's line contents (but not past first =) to find
10855 correct line in message.
10856
ef7b981d 108572011-07-07 Kenichi Handa <handa@m17n.org>
c805dec0
KH
10858
10859 * international/characters.el (build-unicode-category-table):
10860 Delete it.
0757af94 10861 (unicode-category-table): Set it by unicode-property-table-internal.
c805dec0 10862
0757af94 10863 * international/mule-cmds.el (char-code-property-alist): Move to
c805dec0
KH
10864 to src/chartab.c.
10865 (get-char-code-property): Call unicode-property-table-internal to
10866 load a file. Call get-unicode-property-internal where necessary.
10867 (put-char-code-property): Call unicode-property-table-internal to
10868 load a file. Call put-unicode-property-internal where necessary.
10869 put-unicode-property-internal where necessary.
0757af94
SM
10870 (char-code-property-description):
10871 Call unicode-property-table-internal to load a file.
c805dec0
KH
10872
10873 * international/charprop.el:
10874 * international/uni-bidi.el:
10875 * international/uni-category.el:
10876 * international/uni-combining.el:
10877 * international/uni-comment.el:
10878 * international/uni-decimal.el:
10879 * international/uni-decomposition.el:
10880 * international/uni-digit.el:
10881 * international/uni-lowercase.el:
10882 * international/uni-mirrored.el:
10883 * international/uni-name.el:
10884 * international/uni-numeric.el:
10885 * international/uni-old-name.el:
10886 * international/uni-titlecase.el:
10887 * international/uni-uppercase.el: Regenerate.
10888
10889 * loadup.el: Load international/charprop.el before
10890 international/characters.
10891
e14b388a
CY
108922011-07-07 Chong Yidong <cyd@stupidchicken.com>
10893
10894 * window.el (next-buffer, previous-buffer): Signal an error if
10895 called from a minibuffer window.
10896
10897 * bindings.el: Revert 2011-07-04 change.
10898
354cf0ba
RS
108992011-07-06 Richard Stallman <rms@gnu.org>
10900
10901 * mail/rmailmm.el (rmail-mime-process): Use markers for buf positions.
10902 (rmail-mime-insert-bulk, rmail-mime-insert-text):
10903 Treat markers like ints.
10904 (rmail-mime-entity): Doc fix.
10905
a48868a7
LMI
109062011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
10907
4906cd3d
LMI
10908 * mail/smtpmail.el (smtpmail-default-smtp-server): Made into a
10909 defcustom again for backwards compatibility.
10910
e0457abe
LMI
10911 * simple.el (shell-command-on-region): Fill.
10912
d67f7e1f
LMI
10913 * dired-aux.el (dired-kill-line): Add a doc string.
10914
fe204702
LMI
10915 * dabbrev.el (dabbrev-abbrev-char-regexp): Note that nil defaults
10916 to "\\sw\\|\\s_" (bug#358).
10917
a48868a7
LMI
10918 * dired.el (dired-mode): Clarify "unmark or unflag" (bug#8770).
10919 (dired-unmark-backward): Ditto.
10920 (dired-flag-backup-files): Ditto.
10921
10922 * dired-x.el (dired-mark-sexp): Ditto.
10923
aa8a705c
RS
109242011-07-06 Richard Stallman <rms@gnu.org>
10925
10926 * mail/rmailmm.el: Give entity a new slot, TRUNCATED.
10927 (rmail-mime-entity): New arg TRUNCATED.
10928 (rmail-mime-entity-truncated, rmail-mime-entity-set-truncated):
10929 New functions.
10930 (rmail-mime-save): Warn if entity is truncated.
10931 (rmail-mime-toggle-hidden): Likewise, for showing.
10932 (rmail-mime-process-multipart): Record when an entity is truncated.
10933
a9a936b9
RS
10934 * mail/rmailmm.el (rmail-search-mime-message): Don't get confused
10935 if ENTITY is a string.
10936
1f2b92cb
LMI
109372011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
10938
f4f73198 10939 * emacs-lisp/lisp-mode.el (eval-defun-1): Update the documentation
0757af94
SM
10940 of faces when `M-C-x'-ing their definitions (bug#8378).
10941 Also clean up the code slightly.
f4f73198 10942
12b16734 10943 * progmodes/grep.el (rgrep): Don't bind `process-connection-type',
da6062e6 10944 because that makes the colors go away.
12b16734 10945
f0691d22
LMI
10946 * mail/sendmail.el (send-mail-function): Change the default to
10947 `sendmail-query-once'.
9e87df06 10948 (sendmail-query-once): Add an autoload cookie.
f0691d22 10949
1f2b92cb
LMI
10950 * net/network-stream.el (network-stream-open-starttls): Try using
10951 a plain connection even if the server offered STARTTLS, and we
10952 kinda wanted to use it, if Emacs doesn't have any STARTTLS
10953 capability. This should make smtpmail.el work in slightly more
10954 configurations.
10955
1cdd2a1b
MA
109562011-07-06 Michael Albinus <michael.albinus@gmx.de>
10957
10958 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
10959 New defun.
10960 * net/tramp-cmds.el (tramp-append-tramp-buffers): Use it.
10961
fbcc67e2
MM
109622011-07-06 Michael R. Mauger <mmaug@yahoo.com>
10963
10964 * progmodes/sql.el: Version 3.0
0757af94 10965 (sql-product-alist): Add product :completion-object,
fbcc67e2 10966 :completion-column, and :statement attributes.
0757af94 10967 (sql-mode-menu, sql-interactive-mode-map): Fix List entries.
fbcc67e2 10968 (sql-mode-syntax-table): Mark all punctuation.
0757af94 10969 (sql-font-lock-keywords-builder): Temporarily remove fallback on
fbcc67e2
MM
10970 ansi keywords.
10971 (sql-regexp-abbrev, sql-regexp-abbrev-list): New functions.
0757af94 10972 (sql-mode-oracle-font-lock-keywords): Improve.
fbcc67e2
MM
10973 (sql-oracle-show-reserved-words): New function for development.
10974 (sql-product-font-lock): Simplify for source code buffers.
10975 (sql-product-syntax-table, sql-product-font-lock-syntax-alist):
10976 New functions.
10977 (sql-highlight-product): Set product specific syntax table.
0757af94
SM
10978 (sql-mode-map): Add statement movement functions.
10979 (sql-ansi-statement-starters, sql-oracle-statement-starters):
10980 New variable.
fbcc67e2
MM
10981 (sql-statement-regexp, sql-beginning-of-statement)
10982 (sql-end-of-statement, sql-signum): New functions.
0757af94 10983 (sql-buffer-live-p, sql=find-sqli-buffer): Add CONNECTION parameter.
fbcc67e2
MM
10984 (sql-show-sqli-buffer): Bug fix.
10985 (sql-interactive-mode): Store connection data as buffer local.
0757af94 10986 (sql-connect): Add NEW-NAME parameter. Redesign interaction
fbcc67e2
MM
10987 with sql-interactive-mode.
10988 (sql-save-connection): Save buffer local settings.
0757af94 10989 (sql-connection-menu-filter): Change menu entry name.
fbcc67e2
MM
10990 (sql-product-interactive): Bug fix.
10991 (sql-preoutput-hold): New variable.
10992 (sql-interactive-remove-continuation-prompt): Bug fixes.
10993 (sql-debug-redirect): New variable.
10994 (sql-str-literal): New function.
10995 (sql-redirect, sql-redirect-one, sql-redirect-value, sql-execute):
0757af94 10996 Redesign.
fbcc67e2
MM
10997 (sql-oracle-save-settings, sql-oracle-restore-settings)
10998 (sql-oracle-list-all, sql-oracle-list-table): New functions.
10999 (sql-completion-object, sql-completion-column)
11000 (sql-completion-sqlbuf): New variables.
11001 (sql-build-completions-1, sql-build-completions)
11002 (sql-try-completion): New functions.
11003 (sql-read-table-name): Use them.
11004 (sql-contains-names): New buffer local variable.
11005 (sql-list-all, sql-list-table): Use it.
11006 (sql-oracle-completion-types): New variable.
11007 (sql-oracle-completion-object, sql-sqlite-completion-object)
11008 (sql-postgres-completion-object): New functions.
11009
d4eaeab1
GM
110102011-07-06 Glenn Morris <rgm@gnu.org>
11011
11012 * window.el (pop-to-buffer): Doc fix.
11013
322b7dab 110142011-07-06 Markus Heiser <markus.heiser@darmarit.de> (tiny change)
a1d3a912
CY
11015
11016 * progmodes/gud.el (gud-pdb-marker-regexp): Accept \r char (Bug#5653).
11017
322b7dab 110182011-07-06 Chong Yidong <cyd@stupidchicken.com>
0484d600 11019
322b7dab 11020 * window.el (special-display-popup-frame): Doc fix (Bug#8853).
4f8f657f 11021
322b7dab 11022 * info.el (Info-directory-toc-nodes): Minor doc fix (Bug#8833).
8f43cbf3 11023
605dd5bf
CY
110242011-07-05 Chong Yidong <cyd@stupidchicken.com>
11025
11026 * button.el (button): Inherit from link face. Suggested by Dan
11027 Nicolaescu.
11028
7dbfa719
SM
110292011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
11030
3db614b0
SM
11031 * progmodes/gdb-mi.el: Fit in 80 columns.
11032 (gdb-setup-windows, gdb-restore-windows): Avoid other-window and
11033 switch-to-buffer.
11034
7dbfa719
SM
11035 * progmodes/which-func.el (which-func-ff-hook): Don't output a message
11036 if imenu is simply not configured (bug#8941).
11037
919d884a
KM
110382011-07-05 Ken Manheimer <ken.manheimer@gmail.com>
11039
11040 * allout.el (allout-post-undo-hook): New allout outline-change
11041 event hook to signal undo activity.
11042 (allout-post-command-business): Run allout-post-undo-hook if an
11043 undo just occurred.
7dbfa719
SM
11044 (allout-after-copy-or-kill-hook, allout-mode): Minor docstring changes.
11045 * allout-widgets.el (allout-widgets-after-undo-function):
11046 Ensure the integrity of the current item's decoration after it has been
919d884a
KM
11047 in the vicinity of an undo.
11048 (allout-widgets-mode): Include allout-widgets-after-undo-function
11049 on the new allout-post-undo-hook.
11050
450a0f09
SM
110512011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
11052
11053 * emacs-lisp/lisp-mode.el (lisp-interaction-mode-abbrev-table):
11054 Let define-derived-mode define it.
11055 * emacs-lisp/derived.el (define-derived-mode): Try to avoid creating
11056 cycles of abbrev-table inheritance (bug#8998).
11057
2de69e00
RW
110582011-07-05 Roland Winkler <winkler@gnu.org>
11059
11060 * textmodes/bibtex.el: Add support for biblatex.
11061 (bibtex-BibTeX-entry-alist, bibtex-biblatex-entry-alist)
11062 (bibtex-BibTeX-field-alist, bibtex-biblatex-field-alist)
11063 (bibtex-dialect-list, bibtex-dialect, bibtex-no-opt-remove-re)
11064 (bibtex-entry-alist, bibtex-field-alist): New variables.
11065 (bibtex-entry-field-alist): Obsolete alias for
11066 bibtex-BibTeX-entry-alist.
11067 (bibtex-entry-alist, bibtex-field-alist): New widgets.
11068 (bibtex-set-dialect): New command.
11069 (bibtex-entry-type, bibtex-entry-head)
450a0f09
SM
11070 (bibtex-entry-maybe-empty-head, bibtex-any-valid-entry-type):
11071 Bind via bibtex-set-dialect.
2de69e00
RW
11072 (bibtex-Article, bibtex-Book, bibtex-Booklet, bibtex-InBook)
11073 (bibtex-InCollection, bibtex-InProceedings, bibtex-Manual)
11074 (bibtex-MastersThesis, bibtex-Misc, bibtex-PhdThesis)
11075 (bibtex-Proceedings, bibtex-TechReport, bibtex-Unpublished):
11076 Define via bibtex-set-dialect.
450a0f09
SM
11077 (bibtex-name-in-field, bibtex-remove-OPT-or-ALT):
11078 Obey bibtex-no-opt-remove-re.
2de69e00
RW
11079 (bibtex-vec-push, bibtex-vec-incr): New functions.
11080 (bibtex-format-entry, bibtex-field-list)
11081 (bibtex-print-help-message, bibtex-validate)
11082 (bibtex-search-entries): Use new format of bibtex-entry-alist.
11083
2dcdbdd9
SM
110842011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
11085
11086 * progmodes/compile.el (compilation-goto-locus):
11087 * net/tramp-cmds.el (tramp-append-tramp-buffers):
11088 * bs.el (bs-cycle-next, bs-cycle-previous):
11089 * bookmark.el (bookmark-bmenu-list, bookmark-bmenu-2-window):
11090 * bindings.el (mode-line-other-buffer):
11091 * autoinsert.el (auto-insert):
11092 * arc-mode.el (archive-extract):
11093 * abbrev.el (edit-abbrevs): Fix some uses of switch-to-buffer.
11094
b27640fe
JB
110952011-07-05 Juanma Barranquero <lekktu@gmail.com>
11096
11097 * emacs-lock.el (emacs-lock-mode): Fix typo in variable name.
11098 Fix check of `emacs-lock-unlockable-modes'.
11099 Coerce true values of `emacs-lock--try-unlocking' to t.
11100
53bbe3ad
JB
111012011-07-05 Juanma Barranquero <lekktu@gmail.com>
11102
11103 * obsolete/old-emacs-lock.el: Rename from emacs-lock.el.
11104 * emacs-lock.el: New file.
11105
1d3cdbc7
JD
111062011-07-05 Julien Danjou <julien@danjou.info>
11107
11108 * textmodes/rst.el (rst-define-level-faces): Use `facep' rather
11109 than `boundp' to check if face is set.
11110
9173deec
JB
111112011-07-05 Juanma Barranquero <lekktu@gmail.com>
11112
11113 * register.el (registerv-make):
11114 * window.el (window-min-height): Fix typos in docstrings.
11115
869795d6
JD
111162011-07-05 Jan Djärv <jan.h.d@swipnet.se>
11117
9173deec 11118 * dynamic-setting.el (dynamic-setting-handle-config-changed-event):
869795d6
JD
11119 Update doc string.
11120
b768cdcd
JB
111212011-07-04 Juanma Barranquero <lekktu@gmail.com>
11122
11123 * server.el (server-execute): Catch quit and call
11124 `server-return-error' to pass the error back to emacsclient and
11125 close the connection (bug#8942).
11126
13aa217b
KM
111272011-07-04 Ken Manheimer <ken.manheimer@gmail.com>
11128
11129 * allout.el (allout-encrypt-unencrypted-on-saves): Do not provide
11130 insecure exception for current topic. Also note that auto-saves
11131 are handled differently.
11132
5d3385a0 11133 (allout-auto-save-temporarily-disabled, allout-just-did-undo):
13aa217b
KM
11134 State variables for tracking auto-save inhibition situation.
11135
11136 (allout-write-contents-hook-handler): Rename from
11137 'allout-write-file-hook-handler', and describe how it depends on
11138 write-contents-functions sensitivity to non-nil value to prevent
11139 file write.
11140
11141 (allout-auto-save-hook-handler): Remove. auto-save does not check
11142 this in individual buffers, only in the starting buffer, so this
11143 is not the right way for us to inhibit auto-save in a buffer
11144 according to its condition.
11145
11146 (allout-mode): Use new allout-write-contents-hook-handler, and
11147 only with write-contents-functions. Remove auto-save provisions -
11148 they're implemented elsewhere.
11149
11150 (allout-before-change-handler): If undo is in progress, note that
11151 for attention of allout-post-command-business.
11152
11153 (allout-post-command-business): If the command we're following was
11154 an undo, check for change in the status of encrypted items and
11155 adjust auto-save inhibitions accordingly.
11156
11157 (allout-toggle-subtree-encryption): Adjust auto-save inhibition
11158 according to whether there are or aren't any plain-text topics
11159 pending encryption.
11160
2dcdbdd9 11161 (allout-inhibit-auto-save-info-for-decryption):
1154d12e
JB
11162 Adjust buffer-saved-size and some allout state to inhibit auto-saves
11163 if there are plain-text topics pending encryption.
13aa217b
KM
11164
11165 (allout-maybe-resume-auto-save-info-after-encryption): Adjust
11166 buffer-saved-size and some allout state to not inhibit auto-saves
11167 if there are no longer any plain-text topics pending encryption.
11168
0757af94
SM
11169 (allout-next-topic-pending-encryption, allout-encrypt-decrypted):
11170 No longer provide for exemption of the current topic.
13aa217b 11171
ac89b32c
JL
111722011-07-04 Juri Linkov <juri@jurta.org>
11173
11174 Add 7z operations to delete and save changed members (bug#8968).
11175 * arc-mode.el (archive-7z-expunge, archive-7z-update):
11176 New defcustoms.
11177 (archive-7z-write-file-member): New function.
11178 (archive-7z-summarize): Fix the number of dashes in the
11179 listing output.
11180
8fa39615
SM
111812011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
11182
11183 * pcmpl-linux.el (pcomplete-pare-list): Re-add, from pcomplete.el
11184 (bug#8958).
11185
2f11b3f1
CY
111862011-07-04 Chong Yidong <cyd@stupidchicken.com>
11187
d66fef2b
CY
11188 * bindings.el: Ignore next-buffer and previous-buffer in
11189 minibuffer-local-map.
11190
2f11b3f1
CY
11191 * font-lock.el (font-lock-builtin-face): Change light background
11192 color to dark slate blue (Bug#6693).
11193
f932a347
WD
111942011-07-04 Wang Diancheng <dcwang@kingbase.com.cn> (tiny change)
11195
11196 * progmodes/gdb-mi.el (gdb): Use completion-at-point.
11197
c8af70e1
SM
111982011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
11199
11200 * files.el (find-file): Use pop-to-buffer-same-window (bug#8911).
11201 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
11202 Add switch-to-buffer.
11203
f158badc
LMI
112042011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
11205
11206 * isearch.el (isearch-search-fun-function): Clarify further the
11207 meaning of the function returned.
11208
6d95bd46
MA
112092011-07-04 Michael Albinus <michael.albinus@gmx.de>
11210
11211 * net/tramp-cmds.el (tramp-cleanup-this-connection): New command.
11212
11213 * net/tramp-sh.el (tramp-color-escape-sequence-regexp): New defconst.
11214 (tramp-sh-handle-insert-directory, tramp-convert-file-attributes):
11215 Use it.
11216 (tramp-remote-path): Add "/bin" and "/usr/bin". On busyboxes,
11217 `tramp-default-remote-path' does not exist.
11218 (tramp-send-command-and-read): New optional argument NOERROR.
11219 (tramp-open-connection-setup-interactive-shell)
11220 (tramp-get-remote-path, tramp-get-remote-stat): Use it.
11221 (tramp-get-remote-readlink): Do not mask with `ignore-errors'.
11222 (tramp-process-sentinel): Flush also process' connection property.
11223 (tramp-sh-handle-start-file-process): Do not set process
11224 sentinel. It is done now ...
11225 (tramp-maybe-open-connection): ... here. (Bug#8929)
11226
909e6b67
MK
112272011-07-04 MON KEY <monkey@sandpframing.com>
11228
11229 * play/animate.el (animate-string): Doc fixes and allow changing
11230 the buffer name (bug#5417).
11231
112322011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
11233
c8af70e1 11234 * play/animate.el (animation-buffer-name): Rename from *animate*.
909e6b67 11235
f34755dc
PE
112362011-07-04 Paul Eggert <eggert@cs.ucla.edu>
11237
396cec72
PE
11238 * emacs-lisp/timer.el: Use time-date fns rather than rolling our own.
11239 This is simpler and helps future-proof the code.
11240 (timer-until): Use time-subtract and float-time.
08235028 11241 (timer--time-less-p): Use time-less-p.
f34755dc 11242
56e6cc31
JB
112432011-07-04 Juanma Barranquero <lekktu@gmail.com>
11244
3abb79e5
JB
11245 * type-break.el (timep): Use the value of `float-time' to avoid a
11246 byte-compiler warning.
11247
56e6cc31
JB
11248 * server.el (server-eval-and-print): Return any result, even nil.
11249
7b9430b4
PE
112502011-07-03 Paul Eggert <eggert@cs.ucla.edu>
11251
11252 * type-break.el: Accept time formats that the builtins accept.
11253 (timep, type-break-time-difference): Accept any format that
11254 float-time accepts, rather than insisting on (HIGH LOW USECS) format.
11255 This is simpler and helps future-proof the code.
11256 (type-break-time-difference): Round rather than ignoring
11257 subseconds components.
11258
3034e9e7
LMI
112592011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
11260
11261 * info.el (Info-apropos-matches): Make non-interactive, since it
11262 doesn't seem to do anything useful as a command (bug#8829).
11263
1485f4c0
CY
112642011-07-03 Chong Yidong <cyd@stupidchicken.com>
11265
11266 * frame.el (frame-background-mode, frame-set-background-mode):
c8af70e1 11267 Move from faces.el.
1485f4c0
CY
11268 (frame-default-terminal-background): New function.
11269
11270 * custom.el (custom-push-theme): Don't record faces in `changed'
11271 theme; this doesn't work correctly for per-frame face settings.
11272 (disable-theme): Use face-set-after-frame-default to reset faces.
11273 (custom--frame-color-default): New function.
11274
9fa3dd45
LMI
112752011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
11276
c8af70e1 11277 * dired.el (dired-flagging-regexp): Remove unused variable
9fa3dd45
LMI
11278 (bug#8769).
11279
6cbbc20c
KR
112802011-03-29 Kevin Ryde <user42@zip.com.au>
11281
11282 * progmodes/compile.el (compilation-error-regexp-alist-alist):
11283 `perl-Test2' extend to match possible "fail #N" rep count
11284 (bug#8377).
11285
c7f98048
LMI
112862011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
11287
65676592
LMI
11288 * mail/feedmail.el (feedmail-buffer-to-smtpmail):
11289 `smtpmail-via-smtp' now returns the error instead of nil.
11290
c7f98048
LMI
11291 * isearch.el (isearch-search-fun-function): Clarify the doc string
11292 (bug#8101).
11293
56e6cc31 112942011-07-03 Richard Kim <emacs18@gmail.com> (tiny change)
9a51c6c7
RK
11295
11296 * textmodes/texnfo-upd.el (texinfo-insert-menu): Don't insert
11297 unnecessary spaces (bug#8987).
11298
2b216704
LMI
112992011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
11300
11301 * net/network-stream.el (open-network-stream): Use the
11302 :end-of-capability command thoughout.
11303
113042011-07-03 Wolfgang Jenkner <wjenkner@inode.at> (tiny change)
11305
11306 * net/network-stream.el (open-network-stream): Add the
11307 :end-of-capability command parameter, used by pop3.el.
11308
36adf6ce
LMI
113092011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
11310
1ca0da0e
LMI
11311 * dired.el (dired-map-over-marks): Refill the doc string (bug#6814).
11312
fc00f69c
LMI
11313 * fringe.el (fringe-query-style): Remove redundant text " (type ?
11314 for list)" (bug#6475).
11315
28fd8759 11316 * files.el (file-expand-wildcards): Ignore non-readable
8350f087 11317 sub-directories while trying to find matches instead of signaling
28fd8759
LMI
11318 an error (bug#6297).
11319
0dd8b6da
LMI
11320 * man.el (Man-reference-regexp): Allow matching possible
11321 word-wrapped references (bug#6289).
11322
ce1438d6
LMI
11323 * vc/vc.el (vc-modify-change-comment): Change *VC-log* to *vc-log*
11324 for consistency with the other vc buffers (bug#6197).
11325 (vc-checkin): Ditto.
11326
11327 * vc/vc-arch.el: Fix comments to match the *VC-log* name change.
11328
36adf6ce
LMI
11329 * longlines.el (longlines-mode): Document what ARG does (bug#6150).
11330
e83cc1f7
LMI
113312011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
11332
8a20ca4c
LMI
11333 * custom.el (defcustom): Clarify that :set is only used in the
11334 Customize user interface (bug#6089).
11335
83319045
LMI
11336 * progmodes/flymake.el (flymake-mode): If the buffer isn't
11337 associated with a file, refuse to run instead of erroring out
11338 (bug#6084).
11339
a8392169
LMI
11340 * textmodes/fill.el (fill-region): Remove the "Ordinarily" from
11341 the doc string, since it appears that using `fill-column' always
11342 controls the width (bug#7845).
11343
e83cc1f7
LMI
11344 * simple.el (shell-command-on-region): Say where the error output
11345 went if `shell-command-default-error-buffer' is set (bug#6857).
11346
e47ca23b
KM
113472011-07-02 Ken Manheimer <ken.manheimer@gmail.com>
11348
11349 * allout.el (allout-yank-processing): Adjust cursor position for
11350 backwards-deleted space.
11351
11352 (allout-rebullet-heading): Register changes with
11353 allout-exposure-changed-hook, so the modified topic is properly
11354 decorated.
11355
5cf56143
LMI
113562011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
11357
08549772
LMI
11358 * minibuffer.el (completion-in-region): Document PREDICATE
11359 (bug#7136).
11360
48e96771
LMI
11361 * info-look.el (info-lookup-add-help): Clarify that ARGS is a list
11362 of keyword/argument pairs (bug#6904).
11363
c8af70e1
SM
11364 * replace.el (multi-occur):
11365 Mention `multi-occur-in-matching-buffers' in the doc string (bug#7566).
5cf56143 11366
e17d05e2
LMI
113672011-07-02 Drew Adams <drew.adams@oracle.com>
11368
11369 * dired.el (dired-mark-if): Make the message about whether it's
11370 marking or unmarking clearer (bug#8523).
11371
063b0e45
LMI
113722011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
11373
11374 * disp-table.el (display-table-print-array): New function.
11375 (describe-display-table): Use it to print the vectors more pretty
11376 (Bug#8859).
11377
28545e04
MR
113782011-07-02 Martin Rudalics <rudalics@gmx.at>
11379
11380 * window.el (window-state-get-1): Don't assign clone numbers.
11381 Add clone-of item to list of window parameters.
11382 (window-state-put-2): Don't process clone numbers.
11383 (display-buffer-alist): Fix doc-string.
11384
3349e122
SM
113852011-07-02 Stefan Monnier <monnier@iro.umontreal.ca>
11386
11387 * subr.el (remq): Don't allocate if it's not needed.
11388 (keymap--menu-item-binding, keymap--menu-item-with-binding)
11389 (keymap--merge-bindings): New functions.
11390 (keymap-canonicalize): Use them to refine the canonicalization.
11391 * minibuffer.el (minibuffer-local-completion-map)
11392 (minibuffer-local-must-match-map): Move initialization from C.
11393 (minibuffer-local-filename-completion-map): Move initialization from C;
11394 don't inherit from anything here.
11395 (minibuffer-local-filename-must-match-map): Make obsolete.
11396 (completing-read-default): Use make-composed-keymap to combine
11397 minibuffer-local-filename-completion-map with either
11398 minibuffer-local-must-match-map or
11399 minibuffer-local-filename-completion-map.
11400
d224ac83
GM
114012011-07-01 Glenn Morris <rgm@gnu.org>
11402
3de63bf8
GM
11403 * type-break.el (type-break-time-sum): Use dolist.
11404
d224ac83
GM
11405 * textmodes/flyspell.el (flyspell-word-search-backward):
11406 Replace CL function.
11407
1a1e3f32
SM
114082011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
11409
fe3f64d5
SM
11410 * mouse.el (mouse--strip-first-event): New function.
11411 (function-key-map): Use it to map fringe clicks to normal clicks
11412 by default.
11413
eb604e34
SM
11414 * vc/vc-bzr.el (vc-bzr-revision-keywords): Update.
11415 (vc-bzr-revision-completion-table): Add support for annotate and date.
11416
1a1e3f32
SM
11417 * emacs-lisp/derived.el (define-derived-mode): Make abbrev-table
11418 inherit from parent.
11419
5bd35902
LMI
114202011-07-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
11421
ace6c69c 11422 * dired-aux.el (dired-diff): Doc fixup (bug#8816).
26bde865 11423 (dired-show-file-type): Doc fixup (bug#8818).
ace6c69c 11424
191e2bed
LMI
11425 * dired.el (dired-mode): Fix up the doc string as suggested by
11426 Drew Adams (bug#8817).
11427
5bd35902
LMI
11428 * progmodes/flymake.el (flymake-find-file-hook): Add an `autoload'
11429 cookie, since the manual says that it should be possible to add
11430 this function to `find-file-hook' (bug#8709).
11431
eee8207a
TZ
114322011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
11433
11434 * progmodes/cfengine.el: Moved all cfengine3.el functionality
11435 here. Noted Ted Zlatanov as the maintainer.
11436 (cfengine-common-settings, cfengine-common-syntax): New functions
11437 to set up common things between `cfengine-mode' and
11438 `cfengine3-mode'.
11439 (cfengine3-mode): New mode.
11440 (cfengine3-defuns cfengine3-defuns-regex
11441 (cfengine3-class-selector-regex cfengine3-category-regex)
11442 (cfengine3-vartypes cfengine3-font-lock-keywords)
11443 (cfengine3-beginning-of-defun, cfengine3-end-of-defun)
eb604e34 11444 (cfengine3-indent-line): Add from cfengine3.el.
eee8207a 11445
36b148cf
MA
114462011-07-01 Michael Albinus <michael.albinus@gmx.de>
11447
11448 * net/tramp.el (tramp-encoding-command-interactive): New defcustom.
11449
11450 * net/tramp-sh.el (tramp-maybe-open-connection): Use it.
11451
0bf4ba9a
MR
114522011-07-01 Martin Rudalics <rudalics@gmx.at>
11453
11454 * window.el (same-window-buffer-names, same-window-regexps)
11455 (same-window-p, special-display-frame-alist)
11456 (special-display-popup-frame, special-display-function)
11457 (special-display-buffer-names, special-display-regexps)
11458 (special-display-p, pop-up-frame-alist, pop-up-frame-function)
11459 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
11460 (split-window-preferred-function, split-height-threshold)
11461 (split-width-threshold, even-window-heights)
11462 (display-buffer-mark-dedicated, window-splittable-p)
11463 (split-window-sensibly, window-safely-shrinkable-p):
11464 Un-obsolete.
11465 (display-buffer): Don't spread args with function specifier
11466 because special-display-popup-frame won't like it.
11467
35837f51
PE
114682011-07-01 Paul Eggert <eggert@cs.ucla.edu>
11469
d0672f86
PE
11470 Time-stamp simplifications and fixes.
11471 These improve accuracy slightly, and future-proof the code
11472 against some potential changes to current-time format.
11473
b9444d97
PE
11474 * woman.el (woman-decode-buffer, WoMan-log-end): Log fractional secs
11475 by using time-since and float-time.
11476
0ef923dc
PE
11477 * vc/ediff-util.el (ediff-calc-command-time): Use time-since
11478 and float-time. Say "NNN.NNN seconds" rather than "NNN seconds
11479 + NNN microseconds".
11480
2f81380d
PE
11481 * type-break.el (type-break-time-sum): Rewrite using time-add.
11482
845b5c3e
PE
11483 * play/hanoi.el (hanoi-current-time-float): Remove.
11484 All uses replaced by float-time.
11485
ee6f1be0
PE
11486 * nxml/rng-maint.el (rng-time-function): Rewrite using time-subtract.
11487 This yields a more-accurate answer.
11488 (rng-time-to-float): Remove; no longer needed.
11489
fe955043
PE
11490 * emacs-lisp/timer.el (timer-relative-time): Use time-add.
11491
5777162a
PE
11492 * calendar/timeclock.el (timeclock-seconds-to-time):
11493 Defalias to seconds-to-time, since they're the same thing.
11494
3103f8b6 11495 * emacs-lisp/elp.el (elp-elapsed-time):
e2bac5f6 11496 * emacs-lisp/benchmark.el (benchmark-elapse):
35837f51
PE
11497 * allout-widgets.el (allout-elapsed-time-seconds): Use float-time.
11498
0e61a35f
SM
114992011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
11500
11501 * window.el (bury-buffer): Don't iconify the only frame.
11502 (switch-to-buffer): Revert to Emacs<23 behavior, i.e. do not fallback
11503 to pop-to-buffer. Use pop-to-buffer-same-frame if you don't like that.
11504
ddd63a1e
CY
115052011-07-01 Chong Yidong <cyd@stupidchicken.com>
11506
0e61a35f
SM
11507 * eshell/em-smart.el (eshell-smart-display-navigate-list):
11508 Add mouse-yank-primary.
ddd63a1e 11509
055f4923
TZ
115102011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
11511
11512 * progmodes/cfengine3.el: New file to support CFEngine 3.x.
11513
6a2fb145
SM
115142011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
11515
11516 * emacs-lisp/find-func.el (find-library--load-name): New fun.
11517 (find-library-name): Use it to find relative load names when provided
11518 absolute file name (bug#8803).
11519
fd4983f2
LMI
115202011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
11521
887d14ad
LMI
11522 * textmodes/flyspell.el (flyspell-word): Consider words that
11523 differ only in case as potential doublons (bug#5687).
11524
c53dc7fc
LMI
11525 * net/soap-client.el (soap-invoke, soap-wsdl-resolve-references):
11526 Remove two rather uninteresting debugging-like messages to make
11527 debbugs.el more silent.
11528
fd4983f2
LMI
11529 * comint.el (comint-password-prompt-regexp): Accept "Response" as
11530 a password-like phrase.
11531
7a71b18d 115322011-06-30 Masatake YAMATO <yamato@redhat.com>
b14c0c55
AM
11533
11534 * progmodes/cc-guess.el: New file.
11535
6a2fb145 11536 * progmodes/cc-langs.el (c-mode-menu): Add "Style..." submenu.
b14c0c55
AM
11537
11538 * progmodes/cc-styles.el (cc-choose-style-for-mode): New function
11539 derived from `c-basic-common-init'.
11540
11541 * progmodes/cc-mode.el (top-level): Require cc-guess.
11542 (c-basic-common-init): Use `cc-choose-style-for-mode'.
11543
1fa280a3
LM
115442011-06-30 Lawrence Mitchell <wence@gmx.li>
11545
11546 * progmodes/js.el (js-mode): Don't stomp on global settings (bug#8933).
11547
e6597158
AM
115482011-06-30 Alan Mackenzie <acm@muc.de>
11549
1fa280a3
LM
11550 * progmodes/cc-engine.el (c-guess-continued-construct):
11551 Correct the handling of template-args-cont, particularly for when font
e6597158
AM
11552 lock is disabled. Name this case as "CASE G".
11553
68ba37fb
KM
115542011-06-30 Ken Manheimer <ken.manheimer@gmail.com>
11555
11556 * allout.el (allout-yank-processing): Fix injection of extra space
11557 between bullet and non-whitespace character in first topic when
11558 pasting, ensuring that the actual spacing in the pasted topic
11559 following the bullet char is preserved. This extra space was
11560 causing pasted encrypted topics to get a decrypted status even
11561 when the content was actually still encrypted. Now the decryption
11562 status from before the paste is preserved.
11563
11564 (allout-flag-region): Set all allout overlays so they evaporate
11565 when reduced to zero length (evanescent), to prevent overlay
11566 leakage.
11567
887a0b34
GM
115682011-06-30 Glenn Morris <rgm@gnu.org>
11569
94b9acce
GM
11570 * w32-fns.el (w32-charset-info-alist): Declare.
11571
1d9b46d4
GM
11572 * find-dired.el (find-grep-options): Simplify.
11573
cc232200
GM
11574 * term/ns-win.el (ns-set-resource): Declare.
11575
28e77c46
GM
11576 * ses.el (row, col): Declare dynamic variables honestly.
11577
887a0b34
GM
11578 * textmodes/reftex-parse.el (index-tags): Declare.
11579
658d8eb8
CY
115802011-06-30 Chong Yidong <cyd@stupidchicken.com>
11581
11582 * cus-edit.el (customize-push-and-save): New function.
11583
11584 * files.el (hack-local-variables-confirm): Use it.
11585
1fa280a3
LM
11586 * custom.el (load-theme): New arg NO-CONFIRM.
11587 Use customize-push-and-save (Bug#8720).
658d8eb8
CY
11588 (custom-enabled-themes): Doc fix.
11589
11590 * cus-theme.el (customize-create-theme)
11591 (custom-theme-merge-theme): Callers to load-theme changed.
11592
bb617717
LMI
115932011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
11594
d61bdd5d
LMI
11595 * thingatpt.el (thing-at-point-short-url-regexp): Require that
11596 short URLs have at least one dot in them (bug #7614).
11597
bb617717
LMI
11598 * progmodes/grep.el (rgrep): Bind `process-connection-type' to
11599 nil, because using a pty is apparently too slow (bug #895).
11600
2f31f37a
LMI
116012011-06-29 Lars Magne Ingebrigtsen <larsi@gnus.org>
11602
11603 * mail/sendmail.el (sendmail-query-once): New function.
11604 (sendmail-query-once-function): New variable.
11605
3076b24e
GM
116062011-06-29 Glenn Morris <rgm@gnu.org>
11607
faf2a174
GM
11608 * files.el (auto-mode-alist): Add .f03, .f08 for f90-mode.
11609
3076b24e
GM
11610 * ses.el (top-level): Require cl when compiling.
11611 (ses-set-localvars): Fix error statement.
11612 Call it at compile time to silence a storm of warnings.
11613
5386012d
MR
116142011-06-29 Martin Rudalics <rudalics@gmx.at>
11615
11616 * window.el (normalize-live-buffer): Rename to
11617 window-normalize-buffer.
11618 (normalize-live-frame): Rename to window-normalize-frame.
11619 (normalize-any-window): Rename to window-normalize-any-window.
11620 (normalize-live-window): Rename to window-normalize-live-window.
11621 (make-window-atom): Rename to window-make-atom.
11622 (window-resize-reset): Rename to window--resize-reset.
11623 (window-resize-reset-1): Rename to window--resize-reset-1.
11624 (resize-mini-window): Rename to window--resize-mini-window.
11625 (resize-subwindows-skip-p): Rename to
11626 window--resize-subwindows-skip-p.
11627 (resize-subwindows-normal): Rename to
11628 window--resize-subwindows-normal.
11629 (resize-subwindows): Rename to window--resize-subwindows.
11630 (resize-other-windows): Rename to window--resize-siblings.
11631 (resize-this-window): Rename to window--resize-this-window.
11632 (resize-root-window): Rename to window--resize-root-window.
11633 (resize-root-window-vertically): Rename to
11634 window--resize-root-window-vertically.
11635 (normalize-buffer-to-display): Rename to
11636 window-normalize-buffer-to-display.
11637 (normalize-buffer-to-switch-to): Rename to
11638 window-normalize-buffer-to-switch-to.
11639 Correspondingly update all callers of the functions listed
11640 above.
11641 (display-buffer-alist, display-buffer-normalize-arguments)
11642 (display-buffer-normalize-options, display-buffer)
11643 (display-buffer-alist-set): Use "function" instead of
11644 "fun-with-args".
11645
1176868d
CY
116462011-06-28 Chong Yidong <cyd@stupidchicken.com>
11647
11648 * mail/emacsbug.el (report-emacs-bug): Handle non-gnu bug
11649 addresses more clearly. Add hyperlinks for bug-gnu-emacs and
11650 debbugs.gnu.org. Mention acknowledgment email.
11651
20a7a65f
LMI
116522011-06-28 Lars Magne Ingebrigtsen <larsi@gnus.org>
11653
11654 * mail/smtpmail.el (smtpmail-send-it): Leave off changing the
11655 buffer multibyteness, since it shouldn't matter.
11656
5f45cca5
MR
116572011-06-28 Martin Rudalics <rudalics@gmx.at>
11658
11659 * window.el (display-buffer-in-side-window): Handle dedicated
11660 windows as in display-buffer-reuse-window.
11661 (display-buffer-normalize-alist): Use value of override
11662 specifier.
11663 (display-buffer-normalize-specifiers): Use value of
11664 other-window-means-other-frame specifier.
11665 (display-buffer-alist): Rewrite some texts in widgets.
11666 (display-buffer): Spread arguments when calling function
11667 specified by fun-with-args.
11668
ad85fe1f
DD
116692011-06-28 Deniz Dogan <deniz@dogan.se>
11670
1fa280a3
LM
11671 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-syntax-table):
11672 Unnest `let'.
da68c4c8 11673
ad85fe1f
DD
11674 * textmodes/css-mode.el (css-font-lock-keywords): Fix grouped
11675 selectors (Bug#5732).
ec49bd31 11676 (css-proprietary-nmstart-re): Use `regexp-opt'.
ad85fe1f 11677
a08cc025
JA
116782011-06-27 Jari Aalto <jari.aalto@cante.net>
11679
11680 * eshell/em-ls.el: Display `ls -l' dates in ISO format (Bug#8440).
11681 (eshell-ls-date-format): New defcustom.
11682 (eshell-ls-file): Use it.
11683
e2b551c5
SM
116842011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
11685
11686 * help-fns.el (describe-variable): Fix message for terminal-local vars.
11687
8982b231
KY
116882011-06-27 Katsumi Yamaoka <yamaoka@jpl.org>
11689
11690 * net/ange-ftp.el: Allow loading .gz files (Bug#6923).
11691 (ange-ftp-make-tmp-name): New arg.
11692 (ange-ftp-file-local-copy): Use it.
11693
36c9fa27
J
116942011-06-27 Jambunathan K <kjambunathan@gmail.com>
11695
11696 * tar-mode.el (tar-untar-buffer): Set coding-system-for-write to
11697 no-conversion (Bug#8870).
11698
d68443dc
MR
116992011-06-27 Martin Rudalics <rudalics@gmx.at>
11700
11701 * window.el (window-right, window-left, window-child)
11702 (window-child-count, window-last-child)
11703 (window-iso-combination-p, walk-window-tree-1)
11704 (window-atom-check-1, window-tree-1, delete-window)
11705 (window-state-get-1, display-buffer-even-window-sizes): Adapt to
11706 new naming conventions - window-vchild, window-hchild,
11707 window-next and window-prev are now called window-top-child,
11708 window-left-child, window-next-sibling and window-prev-sibling
11709 respectively.
d615d6d2
MR
11710 (resize-window-reset): Rename to window-resize-reset.
11711 (resize-window-reset-1): Rename to window-resize-reset-1.
11712 (resize-window): Rename to window-resize.
11713 (window-min-height, window-min-width)
11714 (resize-mini-window, resize-this-window, resize-root-window)
11715 (resize-root-window-vertically, adjust-window-trailing-edge)
11716 (enlarge-window, shrink-window, maximize-window)
11717 (minimize-window, delete-window, quit-restore-window)
11718 (split-window, balance-windows, balance-windows-area-adjust)
11719 (balance-windows-area, window-state-put-2)
11720 (display-buffer-even-window-sizes, display-buffer-set-height)
11721 (display-buffer-set-width, set-window-text-height)
11722 (fit-window-to-buffer): Rename all "resize-window" prefixed
11723 calls to use the "window-resize" prefix convention.
11724 (display-buffer-alist): Fix symbol for label specifier.
11725 (display-buffer-reuse-window): Set reuse-dedicated to cdr of
11726 corresponding specifier.
11727 Reported by Juanma Barranquero <lekktu@gmail.com>.
d68443dc 11728
b6458526
VB
117292011-06-27 Vincent Belaïche <vincentb1@users.sourceforge.net>
11730
11731 * ses.el (ses-destroy-cell-variable-range): Fix heading comment
11732 convention.
11733 (ses-call-printer): Does not pass an empty string to formatter when the
11734 cell is empty to keep from barking printer Calc math-format-value.
11735
d31fd9ac
RS
117362011-06-27 Richard Stallman <rms@gnu.org>
11737
43d5bf84
RS
11738 * battery.el (battery-mode-line-limit): New variable.
11739 (battery-update): Handle it.
11740
d31fd9ac
RS
11741 * mail/rmailmm.el (rmail-mime-process-multipart):
11742 Handle truncated messages.
11743
819a6054
GM
117442011-06-27 Glenn Morris <rgm@gnu.org>
11745
11746 * progmodes/flymake.el (flymake-err-line-patterns):
11747 Allow for column numbers in the ant/javac pattern. (Bug#8866)
11748
cedc73f2
VB
117492011-06-27 Vincent Belaïche <vincentb1@users.sourceforge.net>
11750
819a6054 11751 * ses.el (ses-relocate-range): Keep rest of arguments for ses-range.
cedc73f2
VB
11752 (ses--clean-!, ses--clean-_): New functions.
11753 (ses-range): Add configurability of readout order, and conversion
11754 to Calc vector.
11755
5e5d49b6
VB
11756 * ses.el (ses-repair-cell-reference-all): New function.
11757 (ses-cell-symbol): Set macro as safe, so that it can be used in
11758 formulas.
11759
56e6cc31 11760 * ses.el: Update cycle detection algorithm.
90ca8b49 11761 (ses-localvars): Add ses--Dijkstra-attempt-nb and
819a6054 11762 ses--Dijkstra-weight-bound, and initial values thereof when applicable.
90ca8b49
VB
11763 (ses-set-localvars): New function.
11764 (ses-make-cell): Add property-list as a cell element.
11765 (ses-cell-property-get-fun, ses-cell-property-get)
11766 (ses-cell-property-delq-fun, ses-cell-property-set-fun)
819a6054
GM
11767 (ses-cell-property-pop-fun, ses-cell-property-get-handle-fun):
11768 New functions.
90ca8b49
VB
11769 (ses-cell-property-set, ses-cell-property-pop)
11770 (ses-cell-property-get-handle): New macro.
11771 (ses-cell-property-handle-car, ses-cell-property-handle-setcar):
11772 New aliases, used for code readability.
11773 (ses-calculate-cell, ses-update-cells): Use Dijkstra algorithm for
11774 cycle detection.
11775 (ses-self-reference-early-detection): New defcustom.
fac916bf 11776 (ses-formula-references): Robustify against self-referring cells.
90ca8b49
VB
11777 (ses-mode): Use ses-set-localvars.
11778 (ses-command-hook): Add call to ses-initialize-Dijkstra-attempt
11779 before lauching the update processing.
11780 (ses-initialize-Dijkstra-attempt): New function.
11781 (ses-recalculate-cell): Update for cycle detection based on
11782 Dijkstra algorithm.
11783
2bb63e81
VB
11784 * ses.el: Fix commenting and indenting convention.
11785
c9d29fb8
SM
117862011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
11787
11788 * bs.el (bs-cycle-next): Complete last change.
11789
d8e4b68b
JB
117902011-06-27 Drew Adams <drew.adams@oracle.com>
11791
11792 * faces.el (list-faces-display): Add help-mode-map to output (bug#8939).
11793
40098786
LMI
117942011-06-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
11795
c9d29fb8
SM
11796 * net/network-stream.el (network-stream-open-starttls):
11797 Don't re-get capabilities unless we've reestablished connection.
f6ab314e
LMI
11798 (network-stream-open-starttls): Fix stupid typo with gnutls-clii.
11799
40098786
LMI
11800 * mail/smtpmail.el (smtpmail-via-smtp): Bind coding-system-for-*
11801 to binary to possibly avoid line encoding issues on Windows (among
11802 other things).
11803
468d09d4
LMI
118042011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
11805
11806 * net/network-stream.el (open-network-stream): Return an :error
11807 saying what the problem was, if possible.
11808
11809 * mail/smtpmail.el (smtpmail-via-smtp): Report the error from the
11810 server.
11811
11812 * net/network-stream.el (network-stream-open-starttls): If we
11813 wanted to use STARTTLS, and the server offered it, but we weren't
11814 able to because we had no STARTTLS support, then close the connection.
11815 (open-network-stream): Return an :error element, if present.
11816
16f07dd7
CY
118172011-06-26 Chong Yidong <cyd@stupidchicken.com>
11818
88821ca0
CY
11819 * hl-line.el (hl-line-sticky-flag): Doc fix.
11820 (global-hl-line-sticky-flag): New option (Bug#8323).
11821 (global-hl-line-highlight): Obey it.
11822
16f07dd7
CY
11823 * vc/vc.el (vc-revert-show-diff): Default to t.
11824
6b5ccddf
KM
118252011-06-26 Ken Manheimer <ken.manheimer@gmail.com>
11826
c9d29fb8
SM
11827 * allout-widgets.el (allout-widgets-post-command-business):
11828 Stop decorating intermediate isearch matches. They're not being
6b5ccddf
KM
11829 undecorated when an isearch is continued past, and isearch
11830 automatically collapses them. This leads to "widget leaks", where
11831 decorated items accumulate in collapsed areas. Lines with lots of
c9d29fb8
SM
11832 hidden widgets can slow down cursor travel, substantially.
11833 Too much complicated machinery would be needed to ensure undecoration,
6b5ccddf
KM
11834 so we're doing without this nicety.
11835
11836 (allout-widgets-tally-string): Don't try to do a hash-table-count
11837 of allout-widgets-tally when it's nil. This eliminates spurious "Error
11838 during redisplay: (wrong-type-argument hash-table-p nil)" warnings in
11839 *Messages* when allout-widgets-maintain-tally is t.
11840
355f2e07
MR
118412011-06-26 Martin Rudalics <rudalics@gmx.at>
11842
11843 * window.el (display-buffer-normalize-argument): Rename to
11844 display-buffer-normalize-arguments. Handle special meaning of
6b5ccddf
KM
11845 LABEL argument. Respect special-display-function when popping up
11846 a new frame. Fix code searching for a window showing the buffer
11847 on another frame.
c9d29fb8
SM
11848 (display-buffer-normalize-specifiers):
11849 Call display-buffer-normalize-arguments.
355f2e07
MR
11850 (display-buffer-in-window): Don't undedicate the window if its
11851 buffer remains the same.
11852 Reported by Drew Adams <drew.adams@oracle.com>.
11853 (display-buffer-alist): Add choice for same-window macro
11854 specfier.
11855 (display-buffer): Mention special meaning of LABEL argument in
11856 doc-string. Fix quoting. Don't pop up a new frame even as
11857 fallback.
11858
7ca8fc42
JB
118592011-06-26 Juanma Barranquero <lekktu@gmail.com>
11860
11861 * bs.el (bs-cycle-next): Pass current buffer to `bury-buffer' to
11862 avoid deleting the current window in some cases (bug#8911).
11863
bc312254
AS
118642011-06-26 Andreas Schwab <schwab@linux-m68k.org>
11865
11866 * emacs-lisp/smie.el (smie-bnf->prec2): Fix last change.
11867 (Bug#8934)
11868
2db18f3f
LMI
118692011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
11870
c9d29fb8
SM
11871 * net/network-stream.el (network-stream-open-starttls):
11872 Use built-in TLS support if `gnutls-available-p' is true.
2db18f3f
LMI
11873 (network-stream-open-tls): Ditto.
11874
6302e0d3
LL
118752011-06-26 Leo Liu <sdl.web@gmail.com>
11876
11877 * register.el (registerv): New struct.
11878 (registerv-make): New function.
c9d29fb8
SM
11879 (jump-to-register, describe-register-1, insert-register):
11880 Support the jump-func, print-func and insert-func slot of a registerv
6302e0d3
LL
11881 struct. (Bug#8415)
11882
5fdd4046
CY
118832011-06-26 Chong Yidong <cyd@stupidchicken.com>
11884
2afef60a
CY
11885 * vc/vc.el (vc-revert-show-diff): New defcustom.
11886 (vc-diff-internal): New arg specifying diff buffer.
11887 (vc-revert): Obey vc-revert-show-diff. If we show a diff, don't
11888 reuse an existing *vc-diff* buffer (Bug#8927).
11889
5fdd4046
CY
11890 * progmodes/cperl-mode.el (cperl-mode): Derive from prog-mode.
11891
e93db24a
GM
118922011-06-26 Glenn Morris <rgm@gnu.org>
11893
11894 * progmodes/f90.el (f90-critical-indent): New option.
11895 (f90-font-lock-keywords-2, f90-blocks-re, f90-end-block-re)
11896 (f90-start-block-re, f90-mode-abbrev-table): Add block, critical.
11897 (f90-mode): Doc fix.
11898 (f90-looking-at-critical, f90-looking-at-end-critical): New funcs.
11899 (f90-no-block-limit, f90-calculate-indent, f90-end-of-block)
11900 (f90-beginning-of-block, f90-next-block, f90-indent-region)
11901 (f90-match-end): Handle block, critical.
11902
eefff499
GM
119032011-06-25 Glenn Morris <rgm@gnu.org>
11904
f6ba4cc9
GM
11905 * calendar/diary-lib.el (diary-included-files): Doc fix.
11906 (diary-include-files): New function, extracted from
11907 diary-include-other-diary-files and diary-mark-included-diary-files.
11908 (diary-include-other-diary-files, diary-mark-included-diary-files):
11909 Just call diary-include-files.
11910 (diary-mark-entries): Reset diary-included-files on first call.
11911
16712304
GM
11912 * calendar/diary-lib.el (diary-mark-entries)
11913 (diary-mark-included-diary-files):
11914 Visit included diary-files in temp buffers.
11915
5d8e0d43
GM
11916 * progmodes/f90.el (f90-keywords-re, f90-font-lock-keywords-1)
11917 (f90-blocks-re, f90-program-block-re, f90-end-block-re)
11918 (f90-start-block-re, f90-imenu-generic-expression)
11919 (f90-looking-at-program-block-start, f90-no-block-limit):
11920 Add support for submodules.
11921
ccf7a5d5
GM
11922 * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
11923 (f90-procedures-re, f90-constants-re): Add some F2008 stuff.
eefff499 11924
11fdef7d 119252011-06-25 Eli Zaretskii <eliz@gnu.org>
638e9005
EZ
11926
11927 * net/ange-ftp.el (ange-ftp-insert-file-contents): Let-bind
11928 buffer-file-type before setting its value, to avoid disastrous
eefff499 11929 global effects on decoding files for DOS/Windows systems. (Bug#8780)
638e9005 11930
74f53697
JB
119312011-06-25 Juanma Barranquero <lekktu@gmail.com>
11932
11933 * allout.el (allout-unload-function): Pass -1 to `allout-mode'.
11934
11935 * ses.el (ses-unload-function):
11936 * emacs-lisp/re-builder.el (re-builder-unload-function): Simplify.
11937
11938 * proced.el (proced-unload-function):
11939 * progmodes/cperl-mode.el (cperl-mode-unload-function): Remove.
11940
18a4ce5e
AR
119412011-06-25 Andreas Rottmann <a.rottmann@gmx.at>
11942
11943 * server.el (server-create-window-system-frame): Add parameters arg.
11944 (server-process-filter): Doc fix. Handle frame-parameters.
11945
519d22cc
JB
119462011-06-25 Juanma Barranquero <lekktu@gmail.com>
11947
11948 Fix bug#8730, bug#8781.
11949
11950 * loadhist.el (unload--set-major-mode): New function.
11951 (unload-feature): Use it.
11952
11953 * progmodes/python.el (python-after-info-look): Add autoload cookie.
11954 (python-unload-function): New function.
11955
c206f5b0
SM
119562011-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
11957
11958 * mail/rmail.el (rmail-show-message-1): Use restore-buffer-modified-p.
11959
f9ad64f3
GS
119602011-06-25 Giuseppe Scrivano <gscrivano@gnu.org>
11961
11962 * net/browse-url.el (browse-url-firefox-program): Add icecat to
11963 the candidates list.
11964
7d0da90e
JB
119652011-06-24 Juanma Barranquero <lekktu@gmail.com>
11966
11967 * progmodes/verilog-mode.el (verilog-mode): Fix test for bound variable.
11968
14b4e83d
RS
119692011-06-23 Richard Stallman <rms@gnu.org>
11970
11971 * mail/rmail.el: Going to grep hit in Rmail buffer finds the message.
11972 (rmail-variables): Set next-error-move-function.
11973 (rmail-what-message): Take argument POS.
11974 (rmail-next-error-move): New function.
11975
273d2baf
SM
119762011-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
11977
11978 * emacs-lisp/smie.el (smie-bnf->prec2): Give more understandable error
11979 messages for adjacent non-terminals.
11980
56c2cc9a
RS
119812011-06-23 Richard Stallman <rms@gnu.org>
11982
11983 * mail/rmail.el (rmail-retry-ignored-headers): Add message-id.
f444564c 11984 (rmail-show-message-1): Preserve buffer modified flag.
8050daa1
RS
11985 (rmail-start-mail): Don't specify use of rmail-mail-return;
11986 that's done by mail-bury now.
11987 (rmail-mail-return): Handle arg NEWBUF.
56c2cc9a 11988
d59eb518
MA
119892011-06-23 Michael Albinus <michael.albinus@gmx.de>
11990
11991 * net/tramp-sh.el (tramp-method-out-of-band-p): Check, whether
11992 SIZE is a number.
11993
02cfc6d6
MR
119942011-06-23 Martin Rudalics <rudalics@gmx.at>
11995
11996 * window.el (get-lru-window, get-mru-window)
11997 (get-largest-window): Never return a minibuffer window.
11998 (display-buffer-pop-up-window): Fix a bug that could lead to
11999 reusing the minibuffer window.
12000 (display-buffer): Pass original specifier argument to
12001 display-buffer-function instead of the normalized one.
12002 Reported by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
12003
4e323265
LL
120042011-06-22 Leo Liu <sdl.web@gmail.com>
12005
12006 * minibuffer.el (completing-read-function)
12007 (completing-read-default): Move from minibuf.c
12008
7a70468f
RS
120092011-06-22 Richard Stallman <rms@gnu.org>
12010
50718fc2
RS
12011 * mail/sendmail.el (mail-bury): If Rmail is in use, return nicely
12012 to Rmail even if not started by a special Rmail command.
12013
7a70468f
RS
12014 * mail/rmailmm.el (rmail-insert-mime-forwarded-message):
12015 Copy the buffer currently showing just one message.
12016
297dde5a
RW
120172011-06-22 Roland Winkler <winkler@gnu.org>
12018
12019 * textmodes/bibtex.el (bibtex-entry-update): Use mapc.
12020 (bibtex-clean-entry): First delete the old key so that a
12021 customized algorithm for generating the new key does not get
12022 confused by the old key.
12023 (bibtex-url): Obey regexp of first step.
12024 (bibtex-search-entries): Do not use add-to-list with local
12025 list-var.
12026
97bb1093
LMI
120272011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
12028
12029 * mail/smtpmail.el (smtpmail-try-auth-methods): If the user has
12030 stored a user name, then query for the password first, instead of
12031 waiting for SMTP to give an error message and the trying again.
12032
1c0f1a19
JD
120332011-06-22 Lawrence Mitchell <wence@gmx.li>
12034
12035 * net/browse-url.el (browse-url-xdg-open): Use 0, rather than nil
12036 BUFFER in call-process.
12037
396f7c9d
LMI
120382011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
12039
12040 * mail/smtpmail.el (smtpmail-via-smtp): Make sure we don't send
12041 QUIT twice.
ddb7ffee
LMI
12042 (smtpmail-try-auth-methods): Require user name and password from
12043 auth-source.
396f7c9d 12044
8998d1b3
MR
120452011-06-22 Martin Rudalics <rudalics@gmx.at>
12046
12047 * window.el (display-buffer-default-specifiers)
12048 (display-buffer-alist): Remove entries for pop-up-frame-alist.
12049 Suggested by Katsumi Yamaoka <yamaoka@jpl.org>.
130e3e11 12050 (split-window): Normalize SIDE argument (Bug#8916).
8998d1b3
MR
12051
12052 * frame.el (pop-up-frame-alist, pop-up-frame-function)
12053 (special-display-frame-alist, special-display-popup-frame):
12054 Remove duplicate declarations. These are now in window.el.
12055
4ea31e07
LMI
120562011-06-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
12057
c9d29fb8
SM
12058 * mail/smtpmail.el (smtpmail-via-smtp):
12059 Set :use-starttls-if-possible so that we always use STARTTLS if the
6af7a784
LMI
12060 server supports it. SMTP servers that support STARTTLS commonly
12061 require it.
12062
12063 * net/network-stream.el (network-stream-open-starttls): Support
12064 upgrading to STARTTLS always, even if we don't have built-in support.
fa463103 12065 (open-network-stream): Add the :always-query-capabilities keyword.
6af7a784 12066
95f41d9a
LMI
12067 * mail/smtpmail.el: Rewritten to do opportunistic STARTTLS
12068 upgrades with `open-network-stream', and rely solely on
12069 auth-source for all credentials. Big changes throughout the file,
12070 but in particular:
c9d29fb8
SM
12071 (smtpmail-auth-credentials): Remove.
12072 (smtpmail-starttls-credentials): Remove.
7d36ad46
LMI
12073 (smtpmail-via-smtp): Check for servers saying they want AUTH after
12074 MAIL FROM, too.
95f41d9a 12075
c9d29fb8
SM
12076 * net/network-stream.el (network-stream-open-starttls):
12077 Provide support for client certificates both for external and built-in
4ea31e07
LMI
12078 STARTTLS.
12079 (auth-source): Require.
12080 (open-network-stream): Document the :client-certificate keyword.
eb8c9362
LMI
12081 (network-stream-certificate): Change cert-cert to cert and
12082 cert-key to key.
4ea31e07 12083
065ec2c7
MA
120842011-06-21 Michael Albinus <michael.albinus@gmx.de>
12085
12086 * net/tramp-cache.el (top): Don't load the persistency file when
12087 "emacs -Q" has been called.
12088
cd93b359
DR
120892011-06-21 Tim Harper <timcharper@gmail.com>
12090
d8e4b68b
JB
12091 * term/ns-win.el (ns-initialize-window-system):
12092 Set application-specific `ApplePressAndHoldEnabled' system
cd93b359
DR
12093 resource to NO as it is not yet supported by the NS port.
12094
ae9c0411
JB
120952011-06-21 Juanma Barranquero <lekktu@gmail.com>
12096
12097 * misc.el (list-dynamic-libraries--refresh): Compute header here...
12098 (list-dynamic-libraries): ...not here.
12099
7f3f739f
LL
121002011-06-21 Leo Liu <sdl.web@gmail.com>
12101
12102 * subr.el (sha1): Implement sha1 using secure-hash.
12103
327c8fb1
MR
121042011-06-21 Martin Rudalics <rudalics@gmx.at>
12105
12106 * window.el (display-buffer-alist): In default value do not
12107 enforce searching a window on any but the selected frame.
12108 Reported by Katsumi Yamaoka <yamaoka@jpl.org>.
12109 (display-buffer-select-window): Remove function.
12110 (display-buffer-in-window): When a window on another frame gets
12111 reused, do not select it any more but just raise its frame if
12112 necessary (Bug#8851) and (Bug#8856).
12113 (display-buffer-normalize-options): Handle pop-up-frames related
12114 options more faithfully.
12115 (pop-to-buffer): Don't rely on `display-buffer' selecting the
12116 window if it is on another frame.
c9d29fb8
SM
12117 (display-buffer-alist, display-buffer-default-specifiers):
12118 Don't make new frame unsplittable by default.
9e9de014
MR
12119 (display-buffer-normalize-argument): Fix doc-string typo and use
12120 'same-frame-other-window instead of 'other-window when associating
12121 with display-buffer-macro-specifiers.
327c8fb1 12122
7cf3f556
VB
121232011-06-21 Vincent Belaïche <vincent.b.1@hotmail.fr>
12124
12125 * play/5x5.el (5x5-solve-rotate-left, 5x5-solve-rotate-right):
12126 New functions.
12127 (5x5-mode-map, 5x5-mode-menu): Bind them.
12128 (5x5-draw-grid): Tweak the solver's rendering.
12129
60a406cf
SM
121302011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
12131
12132 * progmodes/compile.el (compilation-error-regexp-alist-alist): Rename
12133 `caml' to `python-tracebacks-and-caml'; allow leading tabs (bug#8585).
12134
d8e4b68b 121352011-06-21 Drew Adams <drew.adams@oracle.com>
5d907d6c
DA
12136
12137 * menu-bar.el: Use function variable instead of switch-to-buffer.
12138 (menu-bar-select-buffer-function): New variable.
60a406cf 12139 (menu-bar-update-buffers): Use it (bug#8876).
5d907d6c 12140
478d6f95
SM
121412011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
12142
12143 * emacs-lisp/bytecomp.el (add-to-list): Add handler to check the
12144 variable's status.
12145
ca530739
JD
121462011-06-20 Jan Djärv <jan.h.d@swipnet.se>
12147
12148 * x-dnd.el (x-dnd-version-from-flags)
12149 (x-dnd-more-than-3-from-flags): New functions that handle long-as-cons
12150 and long as number (Bug#8899).
12151 (x-dnd-handle-xdnd): Call functions above (Bug#8899).
12152
bcd70d97
SM
121532011-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
12154
60a406cf 12155 * minibuffer.el (completion-metadata): Add `metadata' to the alist.
4cb3bfa0
SM
12156 (completion-try-completion, completion-all-completions): Compute the
12157 metadata argument if it's missing; make it optional (bug#8795).
12158
60a406cf 12159 * wid-edit.el: Use lex-bind and move towards completion-at-point.
bcd70d97
SM
12160 (widget-complete): Use new :completion-function property.
12161 (widget-completions-at-point): New function.
12162 (default): Use :completion-function instead of :complete.
60a406cf
SM
12163 (widget-default-completions): Rename from widget-default-complete;
12164 Rewrite.
bcd70d97
SM
12165 (widget-string-complete, widget-file-complete, widget-color-complete):
12166 Remove functions.
12167 (file, symbol, function, variable, coding-system, color):
12168 * international/mule-cmds.el (default-input-method, charset)
12169 (language-info-custom-alist):
12170 * cus-edit.el (face): Use new property :completions.
12171
12172 * progmodes/pascal.el (pascal-completions-at-point): New function.
12173 (pascal-mode): Use it.
12174 (pascal-mode-map): Use completion-at-point.
12175 (pascal-toggle-completions): Make obsolete.
12176 (pascal-complete-word, pascal-show-completions):
12177 * progmodes/octave-mod.el (octave-complete-symbol):
12178 Redefine as obsolete alias.
12179 * progmodes/octave-inf.el (inferior-octave-completion-at-point):
12180 Signal absence of completion info for old Octave,
12181 (inferior-octave-complete): Redefine as obsolete alias.
12182 * progmodes/meta-mode.el: Use lexical-binding and completion-at-point.
12183 (meta-completions-at-point): Rename from meta-complete-symbol and
12184 adapt it for use on completion-at-point-functions.
12185 (meta-common-mode): Use it.
12186 (meta-looking-at-backward, meta-match-buffer): Remove.
12187 (meta-complete-symbol): Redefine as obsolete alias.
12188 (meta-common-mode-map): Use completion-at-point.
12189 * progmodes/make-mode.el: Use lexical-binding and completion-at-point.
12190 (makefile-mode-map): Use completion-at-point.
12191 (makefile-completions-at-point): Rename from makefile-complete and
12192 adapt it for use on completion-at-point-functions.
12193 (makefile-mode): Use it.
12194 (makefile-complete): Redefine as obsolete alias.
12195
aebf69c8
DD
121962011-06-20 Deniz Dogan <deniz@dogan.se>
12197
12198 * net/rcirc.el: Delete trailing whitespaces once and for all.
12199
bfbbb27d
DC
122002011-06-20 Daniel Colascione <dan.colascione@gmail.com>
12201
12202 * emacs-lisp/syntax.el (syntax-ppss): Further improve docstring.
12203
d264a46b
CY
122042011-06-19 Chong Yidong <cyd@stupidchicken.com>
12205
4ca009e5
CY
12206 * files.el (auto-mode-alist): Entry for m2-mode (Bug#8852).
12207
d264a46b
CY
12208 * info.el (Info-apropos-toc-nodes): Minor doc fix (Bug#8833).
12209
fbf5b3ce
MR
122102011-06-19 Martin Rudalics <rudalics@gmx.at>
12211
12212 * window.el (display-buffer-other-window-means-other-frame):
12213 Call display-buffer-normalize-alist.
12214 (display-buffer-normalize-specifiers-1): Rename to
12215 display-buffer-normalize-argument. New argument other-frame.
12216 Rewrite.
12217 (display-buffer-normalize-specifiers-2): Rename to
12218 display-buffer-normalize-options.
12219 (display-buffer-normalize-alist-1): New function.
12220 (display-buffer-normalize-specifiers-3): Rename to
bcd70d97
SM
12221 display-buffer-normalize-alist.
12222 Call display-buffer-normalize-alist-1.
fbf5b3ce
MR
12223 (display-buffer-normalize-options-inhibit): New variable.
12224 (display-buffer-normalize-specifiers): Rewrite calling
12225 display-buffer-normalize-alist,
12226 display-buffer-normalize-argument, and
12227 display-buffer-normalize-options. Don't call the latter if
12228 display-buffer-normalize-options-inhibit is non-nil.
12229 (frame-auto-delete): New option.
12230 (window-deletable-p): Use frame-auto-delete.
9d89fec7
MR
12231 (window-list-no-nils, window-state-ignored-parameters)
12232 (window-state-get-1, window-state-get, window-state-put-list)
bcd70d97
SM
12233 (window-state-put-1, window-state-put-2, window-state-put):
12234 New functions.
9a028c23
MR
12235 (display-buffer-normalize-options): Move special-display-p group
12236 after pop-up-frame group (Bug#8851) and (Bug#8856).
fbf5b3ce 12237
6d10d800
CY
122382011-06-18 Chong Yidong <cyd@stupidchicken.com>
12239
6420d28b
CY
12240 * emacs-lisp/rx.el (rx-constituents): Add support for numbered
12241 groups (Bug#8776).
12242 (rx-submatch-n): New function.
12243 (rx): Document it.
12244
ddb8b596
CY
12245 * dired-x.el (dired-mark-unmarked-files): Fix interactive spec
12246 (Bug#8768).
12247
12248 * replace.el (occur-mode-map): Set occur-edit-mode binding to "e".
12249
77080289
CY
12250 * textmodes/fill.el (default-justification): Add :safe (Bug#8879).
12251
61dfb316
CY
12252 * cus-face.el (custom-declare-face): Call custom-theme-recalc face
12253 anytime existing face settings are present (Bug#8889).
12254
6d10d800
CY
12255 * progmodes/delphi.el (delphi-mode-syntax-table): Use defvar.
12256 (delphi-mode): Use define-derived-mode to inherit from prog-mode.
12257 Remove unused argument.
12258
be3fb2b8
MR
122592011-06-18 Martin Rudalics <rudalics@gmx.at>
12260
bcd70d97
SM
12261 * window.el (display-buffer-default-specifiers):
12262 Remove pop-up-frame. Add pop-up-window-min-height,
be3fb2b8
MR
12263 pop-up-window-min-width, and another reuse-window specifier
12264 (Bug#8882). Reported by Dan Nicolaescu <dann@gnu.org>.
bcd70d97
SM
12265 (display-buffer-normalize-specifiers-2):
12266 Handle split-height-threshold and split-width-threshold also when
be3fb2b8
MR
12267 pop-up-windows is unset. Add a reuse-window specifier for the
12268 case popping up a new window fails.
12269 (special-display-popup-frame): Remove double quoting.
28dec25a 12270 (display-buffer-normalize-specifiers-1): Fix thinko.
be3fb2b8 12271
1c6d8c76
SM
122722011-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
12273
12274 * shell.el (shell-completion-vars): Set pcomplete-termination-string
12275 according to comint-completion-addsuffix.
12276
12277 * pcomplete.el: Convert to lexical binding and fix bug#8819.
12278 (pcomplete-suffix-list): Mark as obsolete.
12279 (pcomplete-completions-at-point): Capture pcomplete-norm-func and
12280 pcomplete-seen in the closure.
12281 (pcomplete-comint-setup): Setup completion-at-point as well.
12282 (pcomplete--entries): New function.
12283 (pcomplete--env-regexp): New var.
12284 (pcomplete-entries): Rewrite to work with partial-completion and
12285 without relying on pcomplete-suffix-list.
12286 (pcomplete-pare-list): Remove, unused.
12287
25aef8b8
MR
122882011-06-17 Martin Rudalics <rudalics@gmx.at>
12289
12290 * window.el (display-buffer-alist): Set pop-up-window-min-height
12291 and pop-up-window-min-width in default value. Reported by
12292 Thierry Volpiatto <thierry.volpiatto@gmail.com>. New specifier
12293 other-window-means-other-frame.
12294 (display-buffer-macro-specifiers): Comment out entry for
12295 other-window specifier.
12296 (display-buffer-other-window-means-other-frame): New function.
12297 (display-buffer-normalize-specifiers-1): New arguments
12298 buffer-name and label. Treat other-window case specially.
12299 (display-buffer-normalize-specifiers-2): Treat other-window case
12300 specially.
12301 (display-buffer-normalize-specifiers-3): New function.
bcd70d97
SM
12302 (display-buffer-normalize-specifiers):
12303 Call display-buffer-normalize-specifiers-3.
25aef8b8 12304
dbad4f69
MR
123052011-06-17 Martin Rudalics <rudalics@gmx.at>
12306
12307 * window.el (same-window-p): Fix two typos introduced when
12308 adding with-no-warnings.
d1067961
MR
12309 (display-buffer-normalize-specifiers-1): Don't check
12310 pop-up-frames for 'unset initialization.
12311 (display-buffer-normalize-specifiers-2): Major rewrite using
12312 special-display-p and same-window-p (Bug#8851) and (Bug#8856).
12313 (pop-up-frames, display-buffer-reuse-frames)
12314 (display-buffer-mark-dedicated): Don't initialize to 'unset.
12315 Suggested by David Engster <deng@randomsample.de>.
12316 (even-window-heights): Initialize to 'unset.
12317 (display-buffer-alist-set): Handle new 'unset initializations.
25aef8b8
MR
12318 (display-buffer-macro-specifiers): Don't pop up a new frame in the
12319 other window case.
dbad4f69 12320
9b9c9e3a
MR
123212011-06-16 Martin Rudalics <rudalics@gmx.at>
12322
bcd70d97
SM
12323 * window.el (display-buffer-normalize-specifiers-1):
12324 Respect current value of pop-up-frames for most reasonable values of
9b9c9e3a 12325 second argument of display-buffer (Bug#8865).
981d5c09
MR
12326 (switch-to-buffer-same-frame, switch-to-buffer-other-window)
12327 (switch-to-buffer-other-window-same-frame)
12328 (switch-to-buffer-other-frame): Fix doc-strings. Reported by Drew
12329 Adams (Bug#8875).
9c2755e9
MR
12330 (display-buffer): Don't check noninteractive when calling
12331 display-buffer-pop-up-frame.
12332 (display-buffer-pop-up-frame): Never pop up a frame in
12333 noninteractive mode (Bug#8857).
67222e1d
MR
12334 (enlarge-window, shrink-window): Don't report an error when the
12335 window can't be resized as requested (Bug#8862).
9b9c9e3a 12336
2b75be67
SM
123372011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
12338
9ffdd3ba
SM
12339 * pcmpl-rpm.el (pcomplete/rpm): Minor simplification.
12340
cb581a67
SM
12341 * emacs-lisp/debug.el (debug): Don't leave the buffer in Debugger.
12342
2b75be67
SM
12343 * abbrev.el (define-abbrev-table): Don't add a table multiple times.
12344
8c0e3589
AM
123452011-06-15 Alan Mackenzie <acm@muc.de>
12346
cb581a67
SM
12347 * progmodes/cc-fonts.el (c-font-lock-declarations): 1: Whilst checking
12348 for declarators, disable knr checking to speed up for normal files.
12349 2: Refactor, replacing a sequence of nested if forms by a cond form.
8c0e3589 12350
b96e6cde
LMI
123512011-06-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
12352
4bba86e6
LMI
12353 * net/network-stream.el (open-network-stream): Add the keyword
12354 :always-query-capabilities for the case where you want to force a
12355 `plain' network connection, but the protocol still requires the
12356 capabilitiy command (i.e., SMTP and EHLO).
12357
2b75be67 12358 * subr.el (process-live-p): Rename from `process-alive-p' for
b96e6cde
LMI
12359 consistency with other `-live-p' functions.
12360
efdcdbf8
SM
123612011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
12362
12363 * window.el (same-window-buffer-names, same-window-regexps)
12364 (special-display-frame-alist, special-display-popup-frame)
12365 (special-display-function, special-display-buffer-names)
12366 (special-display-regexps, pop-up-frame-alist)
12367 (pop-up-frame-function, pop-up-frames, display-buffer-reuse-frames)
12368 (pop-up-windows, split-window-preferred-function)
12369 (split-height-threshold, split-width-threshold, even-window-heights)
12370 (display-buffer-mark-dedicated): Don't encourage the use of
12371 display-buffer-alist from Elisp code.
12372
c5cde042
DN
123732011-06-15 Dan Nicolaescu <dann@ics.uci.edu>
12374
12375 * progmodes/python.el (python-mode): Derive from prog-mode.
12376 * progmodes/ps-mode.el (ps-mode):
12377 * progmodes/mixal-mode.el (mixal-mode):
50328a1b 12378 * progmodes/cfengine.el (cfengine-mode):
c5cde042
DN
12379 * progmodes/ld-script.el (ld-script-mode): Likewise.
12380
baa1c9ab
MR
123812011-06-15 Martin Rudalics <rudalics@gmx.at>
12382
12383 * window.el (display-buffer-alist): Trim default value to avoid
12384 popping up a new frame (Bug#8857) or reusing an arbitrary window
12385 on another frame.
12386 (display-buffer): Do not fall back on popping up a new frame in
12387 batch mode (Bug#8857).
12388
c5dd5a51
CY
123892011-06-14 Chong Yidong <cyd@stupidchicken.com>
12390
12391 * cus-theme.el (describe-theme-1): Use custom-theme-p.
12392 (custom-theme-summary): New function.
12393 (customize-themes): Use it.
12394
d647b7c4
GM
123952011-06-13 Glenn Morris <rgm@gnu.org>
12396
12397 * cus-dep.el (custom-make-dependencies): Use up command-line-args-left.
12398
9481c002
MR
123992011-06-13 Martin Rudalics <rudalics@gmx.at>
12400
357f93d2
MR
12401 * help.el (help-window): Remove variable.
12402 (help-window-point-marker, temp-buffer-max-height)
12403 (temp-buffer-resize-mode, help-window-select): Rewrite doc-strings.
12404 (help-print-return-message): Don't set help-window.
12405 (resize-temp-buffer-window): Rewrite cod eand doc-string.
12406 (help-window-setup-finish): Remove.
12407 (help-window-display-message, help-window-setup)
12408 (with-help-window): Major rewrite based on new
12409 display-buffer-window variable.
12410
12411 * help-mode.el (help-mode-finish): Remove help-window related
12412 code.
12413
12414 * view.el (view-exits-all-viewing-windows): Remove reference to
12415 view-return-to-alist in doc-string.
12416 (view-return-to-alist): Make obsolete.
12417 (view-buffer): Call pop-to-buffer-same-window and remove
12418 undo-window code.
12419 (view-buffer-other-window): Call pop-to-buffer-other-window and
12420 simplify code. Ignore second argument.
12421 (view-buffer-other-frame): Call pop-to-buffer-other-frame and
12422 simplify code. Ignore second argument.
12423 (view-return-to-alist-update): Make obsolete.
12424 (view-mode-enter): Rename second argument to QUIT-RESTORE.
12425 Rewrite using quit-restore window parameters.
2b75be67
SM
12426 (view-mode-exit): Rename second argument to EXIT-ONLY.
12427 Rewrite using quit-restore-window.
357f93d2
MR
12428 (View-exit, View-exit-and-edit, View-leave, View-quit)
12429 (View-quit-all, View-kill-and-leave): Call view-mode-exit with
12430 appropriate arguments.
12431 (view-end-message): Use quit-restore window parameter.
12432
9481c002
MR
12433 * window.el (display-buffer-function): Rewrite doc-string.
12434 (display-buffer-window, display-buffer-alist): New variables.
12435 (display-buffer-split-specifiers)
12436 (display-buffer-side-specifiers)
12437 (display-buffer-macro-specifiers): New constants.
12438 (display-buffer-even-window-sizes, display-buffer-set-height)
12439 (display-buffer-set-width, display-buffer-select-window)
12440 (display-buffer-in-window, display-buffer-reuse-window)
12441 (display-buffer-split-window-1, display-buffer-split-window)
12442 (display-buffer-split-atom-window, display-buffer-pop-up-window)
12443 (display-buffer-pop-up-frame, display-buffer-pop-up-side-window)
12444 (display-buffer-in-side-window, normalize-buffer-to-display)
12445 (display-buffer-normalize-specifiers-1)
12446 (display-buffer-normalize-specifiers-2)
2b75be67
SM
12447 (display-buffer-normalize-specifiers, display-buffer-frame):
12448 New functions.
9481c002
MR
12449 (display-buffer): Major rewrite.
12450 (display-buffer-other-window, display-buffer-other-frame)
12451 (pop-to-buffer, switch-to-buffer-other-window)
12452 (switch-to-buffer-other-frame): Rewrite.
12453 (display-buffer-same-window, display-buffer-same-frame)
12454 (display-buffer-same-frame-other-window)
12455 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
12456 (pop-to-buffer-other-window)
12457 (pop-to-buffer-same-frame-other-window)
12458 (pop-to-buffer-other-frame, switch-to-buffer-same-frame)
12459 (switch-to-buffer-other-window-same-frame): New functions.
12460 (same-window-p, special-display-p): Rewrite disabling warnings.
12461 Make obsolete.
12462 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
12463 (display-buffer-mark-dedicated): Initialize to symbol 'unset.
12464 Make obsolete
12465 (same-window-buffer-names, same-window-regexps)
12466 (special-display-frame-alist, special-display-popup-frame)
12467 (special-display-function, special-display-buffer-names)
12468 (special-display-regexps, pop-up-frame-alist)
12469 (pop-up-frame-function, split-window-preferred-function)
12470 (split-height-threshold, split-width-threshold)
12471 (even-window-heights): Make obsolete.
12472
9db51aca
GM
124732011-06-12 Glenn Morris <rgm@gnu.org>
12474
12475 * term/xterm.el (terminal-init-xterm): `version' may be nil. (Bug#8838)
7cb363eb 12476 Misc simplifications.
9db51aca 12477
39cffb44
MR
124782011-06-12 Martin Rudalics <rudalics@gmx.at>
12479
12480 * window.el (window-safely-shrinkable-p): Restore function which
12481 was inadvertently removed in change from 2011-06-11. Declare as
12482 obsolete.
12483
2b75be67
SM
12484 * calendar/calendar.el (calendar-generate-window):
12485 Use window-iso-combined-p instead of combination of one-window-p and
39cffb44
MR
12486 window-safely-shrinkable-p.
12487
a8955be7
GM
124882011-06-12 Glenn Morris <rgm@gnu.org>
12489
12490 * progmodes/fortran.el (fortran-mode-syntax-table):
12491 * progmodes/f90.el (f90-mode-syntax-table):
12492 Set % to punctuation. (Bug#8820)
12493 (f90-find-tag-default): Remove, no longer needed.
12494
f0d4059d
DC
124952011-06-12 Daniel Colascione <dan.colascione@gmail.com>
12496
12497 * emacs-lisp/syntax.el (syntax-ppss): Clarify which items are invalid.
12498
1100a63c
CY
124992011-06-11 Chong Yidong <cyd@stupidchicken.com>
12500
12501 * image.el (image-animated-p): Return animation delay in seconds.
12502 Avoid bit manipulation in Lisp; use `delay' entry in the metadata.
12503 (image-animate-timeout): Remove DELAY argument. Don't assume
12504 every subimage has the same delay; get it from image-animated-p.
12505 (image-animate): Caller changed.
12506
def722bf
MA
125072011-06-11 Michael Albinus <michael.albinus@gmx.de>
12508
12509 * net/tramp.el (tramp-debug-message): Add `tramp-with-progress-reporter'
12510 to ignored backtrace functions.
12511
0a2bb1a9
GM
125122011-06-11 Glenn Morris <rgm@gnu.org>
12513
12514 * calendar/appt.el (appt-disp-window-function): Doc fix.
12515 (appt-check): Handle overlapping appointments. (Bug#8337)
12516
6198ccd0
MR
125172011-06-11 Martin Rudalics <rudalics@gmx.at>
12518
12519 * window.el (window-tree-1, window-tree): New functions, moving
12520 the latter to window.el.
12521 (bw-get-tree, bw-get-tree-1, bw-find-tree-sub)
12522 (bw-find-tree-sub-1, bw-l, bw-t, bw-r, bw-b, bw-dir, bw-eqdir)
12523 (bw-refresh-edges): Remove.
12524 (balance-windows-1, balance-windows-2): New functions.
12525 (balance-windows): Rewrite in terms of window tree functions,
12526 balance-windows-1 and balance-windows-2.
12527 (bw-adjust-window): Remove.
12528 (balance-windows-area-adjust): New function with functionality of
12529 bw-adjust-window but using resize-window.
2b75be67
SM
12530 (set-window-text-height): Rewrite doc-string.
12531 Use normalize-live-window and resize-window.
12532 (enlarge-window-horizontally, shrink-window-horizontally):
12533 Rename argument to DELTA.
6198ccd0
MR
12534 (window-buffer-height): New function.
12535 (fit-window-to-buffer, shrink-window-if-larger-than-buffer):
12536 Rewrite using new window resize routines.
2b75be67
SM
12537 (kill-buffer-and-window, mouse-autoselect-window-select):
12538 Use ignore-errors instead of condition-case.
6198ccd0
MR
12539 (quit-window): Call delete-frame instead of delete-windows-on
12540 for the only buffer on frame.
12541
9397e56f
MR
125422011-06-10 Martin Rudalics <rudalics@gmx.at>
12543
12544 * loadup.el (top-level): Load window before files for the sake
12545 of replace-buffer-in-windows.
12546
12547 * files.el (read-buffer-to-switch)
12548 (switch-to-buffer-other-window)
2b75be67
SM
12549 (switch-to-buffer-other-frame, display-buffer-other-frame):
12550 Move to window.el.
9397e56f
MR
12551
12552 * simple.el (get-next-valid-buffer, last-buffer, next-buffer)
12553 (previous-buffer): Move to window.el.
12554
12555 * bindings.el (unbury-buffer): Move to window.el.
12556
12557 * window.el (delete-other-windows-vertically): Move after
12558 definition of delete-other-windows.
12559 (other-window, delete-windows-on, replace-buffer-in-windows):
12560 Move here from window.c.
12561 (record-window-buffer, unrecord-window-buffer)
12562 (set-window-buffer-start-and-point, switch-to-prev-buffer)
12563 (switch-to-next-buffer): New functions.
12564 (get-next-valid-buffer, last-buffer, next-buffer): Move here
12565 from simple.el. Call switch-to-next-buffer.
2b75be67
SM
12566 (previous-buffer): Move here from simple.el.
12567 Call switch-to-prev-buffer.
9397e56f
MR
12568 (bury-buffer): Move here from buffer.c. Switch to previous
12569 buffer when window cannot be deleted.
12570 (unbury-buffer): Move here from bindings.el.
12571 (ctl-x-map): Move binding for other-window from window.c to
12572 here.
12573 (read-buffer-to-switch, switch-to-buffer-other-window)
12574 (switch-to-buffer-other-frame): Move here from files.el.
12575 (normalize-buffer-to-switch-to): New functions.
2b75be67
SM
12576 (switch-to-buffer): Move here from buffer.c.
12577 Use read-buffer-to-switch and normalize-buffer-to-switch-to.
9397e56f 12578
562dd5e9
MR
125792011-06-10 Martin Rudalics <rudalics@gmx.at>
12580
12581 * window.el (window-min-height, window-min-width): Move here
12582 from window.c. Add defcustoms and rewrite doc-strings.
12583 (resize-mini-window, resize-window): New functions.
12584 (adjust-window-trailing-edge, enlarge-window, shrink-window):
12585 Move here from window.c.
12586 (maximize-window, minimize-window): New functions.
12587 (delete-window, delete-other-windows, split-window): Move here
12588 from window.c.
12589 (window-split-min-size): New function.
12590 (split-window-keep-point): Mention split-window-above-each-other
12591 instead of split-window-vertically.
2b75be67 12592 (split-window-above-each-other, split-window-vertically):
1154d12e
JB
12593 Rename split-window-vertically to split-window-above-each-other
12594 and provide defalias for old definition.
12595 (split-window-side-by-side, split-window-horizontally):
12596 Rename split-window-horizontally to split-window-side-by-side
12597 and provide defalias for the old definition.
562dd5e9
MR
12598 (ctl-x-map): Move bindings for delete-window,
12599 delete-other-windows and enlarge-window here from window.c.
12600 Replace bindings for split-window-vertically and
12601 split-window-horizontally by bindings for
12602 split-window-above-each-other and split-window-side-by-side.
12603
12604 * cus-start.el (all): Remove entries for window-min-height and
12605 window-min-width. Add entries for window-splits and
12606 window-nest.
12607
f0da764a
GM
126082011-06-09 Glenn Morris <rgm@gnu.org>
12609
80675c21
GM
12610 * calendar/appt.el (appt-mode-line): New function.
12611 (appt-check, appt-disp-window): Use it.
12612
f0da764a
GM
12613 * files.el (hack-one-local-variable-eval-safep):
12614 Allow minor-modes with explicit +/-1 arguments.
12615
59f623b7
TZ
126162011-06-09 Teodor Zlatanov <tzz@lifelogs.com>
12617
12618 * term/xterm.el (xterm): Add defgroup.
12619 (xterm-extra-capabilities): Add defcustom to supply known xterm
12620 capabilities, skip querying them, or query them (default).
12621 (terminal-init-xterm): Use it.
12622 (terminal-init-xterm-modify-other-keys): New function to set up
12623 modifyOtherKeys support to simplify `terminal-init-xterm'.
12624
9aab8e0d
MR
126252011-06-09 Martin Rudalics <rudalics@gmx.at>
12626
12627 * window.el (resize-window-reset, resize-window-reset-1)
12628 (resize-subwindows-skip-p, resize-subwindows-normal)
12629 (resize-subwindows, resize-other-windows, resize-this-window)
12630 (resize-root-window, resize-root-window-vertically)
12631 (window-deletable-p, window-or-subwindow-p)
12632 (frame-root-window-p): New functions.
12633
e8b08aee
GM
126342011-06-09 Glenn Morris <rgm@gnu.org>
12635
12636 * net/ange-ftp.el (ange-ftp-switches-ok): New function.
12637 (ange-ftp-get-files): Use it.
12638
254c37a5
AK
126392011-06-09 Alexander Klimov <alserkli@inbox.ru> (tiny change)
12640
12641 * mail/sendmail.el (mail-recover-1, mail-recover):
12642 * files.el (recover-file, recover-session):
12643 Handle dired-listing-switches not being just a single short option.
12644
35d7dbd3
GM
126452011-06-09 Glenn Morris <rgm@gnu.org>
12646
12647 * calendar/appt.el (appt-display-message, appt-disp-window):
12648 Handle lists of appointments.
12649
387522b2
MR
126502011-06-08 Martin Rudalics <rudalics@gmx.at>
12651
2b75be67
SM
12652 * window.el (one-window-p): Move down in code.
12653 Rewrite doc-string.
12654 (window-current-scroll-bars): Rewrite doc-string.
12655 Normalize live window argument.
387522b2
MR
12656 (walk-windows, get-window-with-predicate, count-windows):
12657 Rewrite doc-string. Use window-list-1.
12658 (window-in-direction-2, window-in-direction, get-mru-window):
12659 New functions.
12660
d8e4b68b 126612011-06-08 Reuben Thomas <rrt@sc3d.org>
2c587104
GM
12662
12663 * progmodes/flymake.el (flymake-compilation-prevents-syntax-check):
12664 Doc fix (Bug#8713).
12665
126662011-06-08 Chong Yidong <cyd@stupidchicken.com>
12667
12668 * repeat.el (repeat-on-final-keystroke): Fix type (Bug#8696).
12669
126702011-06-08 Juanma Barranquero <lekktu@gmail.com>
12671
12672 * loadhist.el (unload-feature-special-hooks):
12673 Add `comint-output-filter-functions'.
12674
0de12c52
IK
126752011-06-08 Ivan Kanis <gnu@kanis.fr>
12676
12677 * calendar/appt.el (appt-check): Move some initializations into the let.
12678
f3d1777e
MR
126792011-06-08 Martin Rudalics <rudalics@gmx.at>
12680
12681 * window.el (window-height): Defalias to window-total-height.
12682 (window-width): Defalias to window-body-width.
12683
18af70d0
CY
126842011-06-07 Chong Yidong <cyd@stupidchicken.com>
12685
12686 * image-mode.el (image-toggle-animation): New command.
12687 (image-mode-map): Bind it to RET.
12688 (image-mode): Update message.
12689 (image-toggle-display-image): Avoid a spurious cache flush.
12690 (image-transform-rotation): Doc fix.
12691 (image-transform-properties): Return quickly in the normal case.
12692 (image-animate-loop): Rename from image-animate-max-time.
12693
2b75be67 12694 * image.el (image-animate-max-time): Move to image-mode.el.
18af70d0
CY
12695 (create-animated-image): Remove unnecessary function.
12696 (image-animate): Rename from image-animate-start. New arg.
2b75be67 12697 (image-animate-stop): Remove; just use image-animate-timer.
18af70d0
CY
12698 (image-animate-timer): Use car-safe.
12699 (image-animate-timeout): Rename argument.
12700
190b47e6
MR
127012011-06-07 Martin Rudalics <rudalics@gmx.at>
12702
12703 * window.el (get-lru-window, get-largest-window): Move here from
2b75be67
SM
12704 window.c. Rename first argument to ALL-FRAMES.
12705 Rephrase doc-strings.
12706 (get-buffer-window-list): Rewrite using window-list-1.
12707 Rephrase doc-string.
a1511caf
MR
12708 (window-safe-min-height, window-safe-min-width): New constants.
12709 (window-size-ignore, window-min-size, window-min-size-1)
12710 (window-sizable, window-sizable-p, window-size-fixed-1)
12711 (window-size-fixed-p, window-min-delta-1, window-min-delta)
12712 (window-max-delta-1, window-max-delta, window-resizable)
12713 (window-resizable-p, window-total-height, window-total-width)
12714 (window-body-width): New functions.
12715 (window-full-height-p, window-full-width-p): Rewrite using
12716 window-total-size.
12717 (window-body-height): Rewrite using window-body-size.
190b47e6 12718
85cc1f11
MR
127192011-06-06 Martin Rudalics <rudalics@gmx.at>
12720
12721 * window.el (window-right, window-left, window-child)
12722 (window-child-count, window-last-child, window-any-p)
12723 (normalize-live-buffer, normalize-live-frame)
12724 (normalize-any-window, normalize-live-window)
12725 (window-iso-combination-p, window-iso-combined-p)
12726 (window-iso-combinations)
12727 (walk-window-tree-1, walk-window-tree, walk-window-subtree)
12728 (windows-with-parameter, window-with-parameter)
12729 (window-atom-root, make-window-atom, window-atom-check-1)
2b75be67
SM
12730 (window-atom-check, window-side-check, window-check):
12731 New functions.
85cc1f11
MR
12732 (ignore-window-parameters, window-sides, window-sides-vertical)
12733 (window-sides-slots): New variables.
12734 (window-size-fixed): Move down in code. Minor doc-string fix.
12735
e7156492
AS
127362011-06-05 Andreas Schwab <schwab@linux-m68k.org>
12737
12738 * comint.el (comint-dynamic-complete-as-filename)
12739 (comint-dynamic-complete-filename): Correctly call
12740 completion-in-region.
12741
7e821d0d
DD
127422011-06-05 Deniz Dogan <deniz@dogan.se>
12743
12744 * net/rcirc.el (rcirc-prompt-for-encryption): Fix bug introduced
12745 in last change.
12746
ac09b8a1
DD
127472011-06-05 Deniz Dogan <deniz@dogan.se>
12748
12749 * net/rcirc.el (rcirc-prompt-for-encryption): New function.
12750 (rcirc): Use it to prompt for encryption.
12751
34699b85
RW
127522011-06-05 Roland Winkler <winkler@gnu.org>
12753
12754 * textmodes/bibtex.el (bibtex-search-buffer): New variable.
12755 (bibtex-search-entries): New command bound to C-c C-a.
12756 (bibtex-display-entries): New function.
12757
004dedd3
RW
127582011-06-05 Roland Winkler <winkler@gnu.org>
12759
12760 * textmodes/bibtex.el (bibtex-generate-url-list): Fix docstring.
12761 (bibtex-insert-kill): After yanking insert newline if necessary.
12762 (bibtex-initialize): Call bibtex-string-files-init only once.
12763 (bibtex-mode): Do not call easy-menu-add.
12764 (bibtex-validate-globally): Use save-excursion in bibtex buffers.
12765 (bibtex-yank): Set arg properly if nil.
12766
022fe7ce
RW
127672011-06-05 Roland Winkler <winkler@gnu.org>
12768
2b75be67
SM
12769 * textmodes/bibtex.el (bibtex-search-entry-globally):
12770 New variable.
022fe7ce
RW
12771 (bibtex-search-entry): Use it.
12772
b7c3692a
RW
127732011-06-05 Roland Winkler <winkler@gnu.org>
12774
12775 * textmodes/bibtex.el (bibtex-entry-format): New option
12776 sort-fields.
12777 (bibtex-format-entry, bibtex-reformat): Honor this option.
12778 (bibtex-parse-entry): Return fields in proper order.
12779
8eda563d
JB
127802011-06-05 Juanma Barranquero <lekktu@gmail.com>
12781
12782 * doc-view.el (doc-view-remove-if): Move computation of result out
12783 of `dolist' to silence misleading lexical-binding warning.
12784
7dbe3dbc
CY
127852011-06-04 Chong Yidong <cyd@stupidchicken.com>
12786
12787 * emacs-lisp/timer.el (timer-activate): Remove unused arg.
12788 (timer-activate, timer-activate-when-idle): Doc fix (Bug#8793).
12789
0c33dd17
MA
127902011-06-04 Michael Albinus <michael.albinus@gmx.de>
12791
12792 * net/tramp-sh.el (tramp-find-shell): Apply workaround also for
12793 "SunOS 5.10".
12794
f8f91c2b
MA
127952011-06-04 Michael Albinus <michael.albinus@gmx.de>
12796
12797 * net/tramp.el (tramp-set-completion-function, tramp-parse-rhosts)
12798 (tramp-parse-shosts, tramp-parse-sconfig, tramp-parse-shostkeys)
12799 (tramp-parse-hosts, tramp-parse-passwd, tramp-parse-netrc)
12800 (tramp-parse-putty):
12801 * net/tramp-sh.el (tramp-completion-function-alist-rsh)
12802 (tramp-completion-function-alist-ssh)
12803 (tramp-completion-function-alist-telnet)
12804 (tramp-completion-function-alist-su)
12805 (tramp-completion-function-alist-putty): Set `tramp-autoload'
12806 cookie.
12807
12808 * net/tramp-ftp.el:
12809 * net/tramp-sh.el:
12810 * net/tramp-smb.el: Set `tramp-autoload' cookie, and eval after
12811 load "tramp.el" `tramp-set-completion-function'.
12812
e17d9003
SM
128132011-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
12814
12815 * shell.el: Require and use pcomplete.
12816 (shell-dynamic-complete-functions): Add pcomplete-completions-at-point.
12817 (shell-completion-vars): Set pcomplete-default-completion-function.
12818
6c4cab03
DD
128192011-06-04 Deniz Dogan <deniz@dogan.se>
12820
12821 * iswitchb.el (iswitchb-window-buffer-p): Use `member' instead of
12822 `memq' (Bug#8799).
12823
ea9fafe0
SM
128242011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
12825
12826 * subr.el (make-progress-reporter): Add "..." by default (bug#8785).
12827
b3e945d3
JB
128282011-06-02 Juanma Barranquero <lekktu@gmail.com>
12829
12830 * bs.el (bs--mark-unmark, bs--nth-wrapper):
12831 * mpc.el (mpc-select-extend, mpc-songpointer-context):
12832 * vc/log-view.el (log-view-beginning-of-defun):
12833 * vc/smerge-mode.el (smerge-apply-resolution-patch)
12834 (smerge-refine-forward, smerge-refine-chopup-region):
12835 Silence warning for unused `dotimes' counter variables.
12836
7d520089
SM
128372011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
12838
12839 * net/tramp.el (tramp-with-progress-reporter): Rename from
12840 with-progress-reporter. Use `declare'.
12841 * net/tramp-smb.el:
12842 * net/tramp-sh.el:
12843 * net/tramp-gvfs.el: Update all uses.
12844
a1c2400f
JB
128452011-06-02 Jay Belanger <jay.p.belanger@gmail.com>
12846
12847 * calc/calc.el (calc-kill-stack-buffer): Make sure that the trail
12848 buffer isn't killed before making it current.
12849
2403c841
SM
128502011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
12851
12852 Silence various byte-compiler warnings.
12853 * emacs-lisp/byte-run.el (make-obsolete-variable): New argument
12854 `access-type' and new obsolescence format.
12855 * emacs-lisp/bytecomp.el (byte-compile-warn-obsolete): Adjust to
12856 new format.
12857 (byte-compile-check-variable): New `access-type' argument.
12858 Only warn if the access-type is obsolete.
12859 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
12860 (byte-compile-variable-set): Adjust callers.
12861 * help-fns.el (describe-variable): Adjust to new obsolescence format.
12862 * mail/sendmail.el (mail-mailer-swallows-blank-line): Only mark
12863 setting it as obsolete.
12864 * simple.el (minibuffer-completing-symbol):
12865 * font-lock.el (font-lock-beginning-of-syntax-function): Only mark read
12866 access as obsolete.
12867 * minibuffer.el (minibuffer-completing-file-name): Don't make it
12868 obsolete yet.
12869 * international/quail.el (quail-mouse-choose-completion): Remove unused
12870 code referring to obsolete var.
12871 (quail-choose-completion-string): Remove.
12872 * server.el (server-clients-with, server-kill-buffer-query-function)
12873 (server-kill-emacs-query-function): Silence "unused `proc'" warnings.
12874 * proced.el (proced-send-signal):
12875 * emacs-lisp/lisp.el (lisp-complete-symbol):
12876 Replace completion-annotate-function with completion-extra-properties.
12877
2462470b
SM
128782011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
12879
fb5b2591
SM
12880 * simple.el (goto-line): Use read-number.
12881 (overriding-map-is-bound): Remove.
12882 (saved-overriding-map): Change default.
12883 (save&set-overriding-map): Rename from ensure-overriding-map-is-bound;
12884 Take the map as argument.
12885 (universal-argument, negative-argument, digit-argument): Use it.
12886 (restore-overriding-map): Adjust.
12887 (do-auto-fill): Use fill-forward-paragraph.
12888 (keyboard-quit): Don't signal an error when debug-on-quit is non-nil.
12889
fd6fa53f
SM
12890 * minibuffer.el (minibuffer-inactive-mode-map): New var.
12891 (minibuffer-inactive-mode): New major mode.
12892 * mouse.el (mouse-drag-region): Remove the "mouse-1 pops up
12893 the *Messages* buffer" hack.
12894 (mouse-popup-menubar): Don't burp if the event is a normal key.
12895
2462470b
SM
12896 Miscellaneous tweaks.
12897 * emacs-lisp/cl-macs.el (dolist, dotimes): Use the same strategy for
12898 lexical scoping as in subr.el's dolist and dotimes.
12899 * emacs-lisp/bytecomp.el (byte-compile-unfold-bcf):
12900 Silence compiler warning.
12901 * thingatpt.el (forward-whitespace): Trivial coding style fix.
12902 * subr.el (with-output-to-temp-buffer): Provide an edebug spec.
12903 * international/ccl.el (ccl-compile): Trivial simplification.
12904 * help-fns.el (help-do-arg-highlight): Silence compiler warning.
12905 * emacs-lisp/testcover.el (testcover-end): Remove spurious
12906 `printflag' argument.
12907 * emacs-lisp/byte-run.el (make-obsolete, make-obsolete-variable):
12908 Purecopy the whole obsolescence data.
12909
108bf785
LL
129102011-06-01 Leo Liu <sdl.web@gmail.com>
12911
12912 * net/rcirc.el (rcirc-decode-coding-system): Revert last change;
12913 improve doc-string as suggested by Marco Pessotto
12914 <melmothx@gmail.com>.
12915 (rcirc-print): Fix last change.
12916
30a23501
SM
129172011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
12918
12919 * minibuffer.el (complete-with-action): Return nil for the metadata and
12920 boundaries of non-functional tables.
12921 (completion-table-dynamic): Return nil for the metadata.
12922 (completion-table-with-terminator): Add default case, using
12923 complete-with-action.
12924 (completion--metadata): New function.
12925 (completion-all-sorted-completions, minibuffer-completion-help): Use it
12926 to try and avoid pathological performance problems.
12927 (completion--embedded-envvar-table): Return `category' metadata.
12928
bcd54f83
LMI
129292011-05-31 Lars Magne Ingebrigtsen <larsi@gnus.org>
12930
12931 * subr.el (process-alive-p): New tiny convenience function.
12932
e227544d
SM
129332011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
12934
12935 * emacs-lisp/debug.el (debug): Save&restore not just the buffer's
12936 content but also its previous major mode.
12937
e8296fdc
HE
129382011-05-31 Helmut Eller <eller.helmut@gmail.com>
12939
4d61f28d 12940 * emacs-lisp/debug.el (debug): Restore the previous content of the
e8296fdc
HE
12941 *Backtrace* buffer when we exit with C-M-c.
12942
620c53a6
SM
129432011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
12944
12945 * minibuffer.el: Add metadata method to completion tables.
12946 (completion-category-overrides): New defcustom.
12947 (completion-metadata, completion--field-metadata)
12948 (completion-metadata-get, completion--styles)
12949 (completion--cycle-threshold): New functions.
12950 (completion-try-completion, completion-all-completions):
12951 Add `metadata' argument to choose completion-styles.
12952 (completion--do-completion): Use metadata to choose cycling.
12953 (completion-all-sorted-completions): Use metadata for sorting.
12954 Remove :completion-cycle-penalty which is not needed any more.
12955 (completion--try-word-completion): Add `metadata' argument.
12956 (minibuffer-completion-help): Check metadata for annotation function
12957 and sorting.
12958 (completion-file-name-table): Return `category' metadata.
12959 (minibuffer-completing-file-name): Make obsolete.
12960 * simple.el (minibuffer-completing-symbol): Make obsolete.
12961 * icomplete.el (icomplete-completions): Pass new `metadata' param to
12962 completion-try-completion.
12963
1257e755
SM
129642011-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
12965
12966 * mail/smtpmail.el (smtpmail-send-data): Add progress reporter.
12967
3767e706
LL
129682011-05-30 Leo Liu <sdl.web@gmail.com>
12969
12970 * net/rcirc.el (rcirc-debug-buffer): Use visible buffer name.
5ab33f2b
LL
12971 (rcirc-print): Decode all incoming messages (bug#8744).
12972 (rcirc-decode-coding-system): Allow value nil for automatic coding
12973 system detection.
3767e706 12974
d1a5d56a
GM
129752011-06-01 Glenn Morris <rgm@gnu.org>
12976
12977 * mail/emacsbug.el (report-emacs-bug-hook): Mailclient ignores From.
12978
e8cbec34
CY
129792011-05-29 Chong Yidong <cyd@stupidchicken.com>
12980
12981 * image.el (image-animate-max-time): Allow nil and t values.
12982 Default to nil.
12983 (create-animated-image): Doc fix.
12984 (image-animate-start): Remove second arg; just use
12985 image-animate-max-time.
12986 (image-animate-timeout): Doc fix. Args changed.
12987
12988 * image-mode.el (image-toggle-display-image): Ensure that the
12989 image spec passed to the animate timer is the same object as in
58179cce 12990 the buffer's display property (Bug#6981).
e8cbec34
CY
12991 (image-transform-properties): Doc fix.
12992
12993 * image.el (image-animate-max-time): Default to nil.
12994
159daf87
MR
129952011-05-29 Martin Rudalics <rudalics@gmx.at>
12996
12997 * menu-bar.el (kill-this-buffer-enabled-p): Avoid looping over
12998 entire buffer list (Bug#8184).
12999
d66c4c7c
CY
130002011-05-29 Chong Yidong <cyd@stupidchicken.com>
13001
13002 * image.el (imagemagick-types-inhibit)
13003 (imagemagick-register-types): Doc fix.
13004
80aec780
DD
130052011-05-29 Deniz Dogan <deniz@dogan.se>
13006
13007 * net/rcirc.el (rcirc): Use the user's stored encryption method by
13008 default.
13009
1dd3c2d9
CY
130102011-05-29 Chong Yidong <cyd@stupidchicken.com>
13011
13012 * select.el: Don't perform clipboard-manager saving in hooks;
13013 leave the hooks empty.
13014
60e56523
LL
130152011-05-28 Leo Liu <sdl.web@gmail.com>
13016
13017 * replace.el (occur-menu-map, occur-edit-mode-map): New vars.
13018 (occur-mode-map): Bind occur-edit-mode. Use occur-menu-map.
13019 (occur-edit-mode): New major mode (Bug#8463).
13020 (occur-after-change-function): New function.
13021 (occur-engine): Give Occur tags a read-only property.
13022
2b1e1a22
KR
130232011-05-28 Kevin Ryde <user42@zip.com.au>
13024
13025 * subr.el (def-edebug-spec): Doc fix (Bug#8430).
13026
5d344e88
CY
130272011-05-28 Chong Yidong <cyd@stupidchicken.com>
13028
8e6ca83d
CY
13029 * bindings.el (help-echo): Make the initial non-indicator dash
13030 empty on graphical terminals (Bug#7295).
13031
5d344e88
CY
13032 * files.el (auto-mode-alist): Move config rule after the
13033 in-stripping one (Bug#8547).
13034
bfbbace7
CY
13035 * newcomment.el (comment-end-skip): Doc fix (Bug#8659).
13036
fbeba6e2
CY
13037 * startup.el (normal-splash-screen): Remove gratuitous mode-line
13038 setting (Bug#8740).
13039
60ed8c72
AA
130402011-05-28 Alp Aker <aker@pitt.edu> (tiny change)
13041
4ac619f0
AA
13042 * buff-menu.el (Buffer-menu-revert-function, Buffer-menu-sort)
13043 (Buffer-menu-buffer+size): Use Buffer-menu-buffer-column
13044 (Bug#8539).
60ed8c72 13045
23db196e
CY
130462011-05-28 Chong Yidong <cyd@stupidchicken.com>
13047
13048 * emacs-lisp/re-builder.el (re-builder): Improve doc (Bug#8286).
13049
5012f24c
DK
130502011-05-28 Dima Kogan <dkogan@cds.caltech.edu> (tiny change)
13051
13052 * progmodes/hideshow.el (hs-looking-at-block-start-p): New fun.
13053 (hs-hide-block-at-point, hs-find-block-beginning)
13054 (hs-already-hidden-p, hs-hide-block, hs-show-block): Use it
13055 (Bug#8279).
13056
6a639b16
GM
130572011-05-28 Glenn Morris <rgm@gnu.org>
13058
13059 * startup.el (fancy-about-screen): Use standard mode line. (Bug#8740)
13060
d43eaf2c
CY
130612011-05-28 Chong Yidong <cyd@stupidchicken.com>
13062
5199bde1
CY
13063 * help-fns.el (describe-function-1): If the function is a derived
13064 major mode, print the parent mode.
13065
d43eaf2c
CY
13066 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode, java-mode)
13067 (idl-mode, pike-mode, awk-mode): Inherit from prog-mode.
13068
423428a8
SM
130692011-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
13070
0ff8e1ba 13071 * minibuffer.el (completion--capf-wrapper): Check applicability before
0b381c7e 13072 returning non-nil for non-exclusive completion data.
0ff8e1ba
SM
13073 * progmodes/etags.el (tags-completion-at-point-function):
13074 * info-look.el (info-lookup-completions-at-point): Mark as
13075 non-exclusive.
13076 (info-complete): Adjust accordingly.
13077
423428a8
SM
13078 * info-look.el: Convert to lexical-binding and completion-at-point.
13079 (info-lookup-completions-at-point): New function.
13080 (info-complete): Use it and completion-in-region.
13081
b74aa22b
DA
130822011-05-28 Drew Adams <drew.adams@oracle.com>
13083
13084 * isearch.el: Let M-e start with point at the first mismatched char.
13085 (isearch-fail-pos): New function.
13086 (isearch-edit-string): Use it.
13087
66e2e71d
DK
130882011-05-28 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
13089
13090 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
13091
b1890b0f 130922011-05-27 Toby Cubitt <toby-predictive@dr-qubit.org>
eb95d01d
TC
13093
13094 * emacs-lisp/avl-tree.el: New avl-tree-stack datatype. Add new
13095 traversal functions for avl-trees.
13096 (avl-tree--stack): New struct.
13097 (avl-tree-stack-p, avl-tree--stack-repopulate): New funs.
13098 (avl-tree-enter): Add optional `updatefun' arg.
93a1c12a
TC
13099 (avl-tree--do-enter): Add optional `updatefun' arg.
13100 Change return value.
eb95d01d 13101 (avl-tree-delete): Add optional `test' and `nilflag' args.
93a1c12a
TC
13102 (avl-tree--do-delete): Add `test' and `nilflag' args.
13103 Change return value.
eb95d01d
TC
13104 (avl-tree-member): Add optional `nilflag'
13105 (avl-tree-member-p): New function.
13106 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar): New functions.
13107 (avl-tree-stack, avl-tree-stack-pop, avl-tree-stack-first)
13108 (avl-tree-stack-empty-p): New functions.
13109
3769ddcf
TC
13110 * emacs-lisp/avl-tree.el (avl-tree--del-balance): Rename from
13111 avl-tree--del-balance1 and make it work both ways.
13112 (avl-tree--del-balance2): Remove.
13113 (avl-tree--enter-balance): Rename from avl-tree--enter-balance1 and
13114 make it work both ways.
13115 (avl-tree--enter-balance2): Remove.
13116 (avl-tree--switch-dir, avl-tree--dir-to-sign, avl-tree--sign-to-dir):
13117 New macros.
13118 (avl-tree--mapc, avl-tree-map): Add direction argument.
13119
eb95d01d 131202011-05-27 David Michael <fedora.dm0@gmail.com> (tiny change)
7a6b1aef
DM
13121
13122 * files.el (interpreter-mode-alist): Add rbash (bug#8745).
13123
a9f737ee
CY
131242011-05-27 Chong Yidong <cyd@stupidchicken.com>
13125
13126 * select.el: Support clipboard managers with built-in function
13127 x-clipboard-manager-save, via delete-frame-functions and
13128 kill-emacs-hook.
13129 (xselect-convert-to-targets): Add MULTIPLE target to list.
13130 (xselect-convert-to-save-targets): New function.
13131
c92a1e54
KH
131322011-05-27 Kenichi Handa <handa@m17n.org>
13133
13134 * mail/sendmail.el (mail-encode-header): Avoid double encoding by
13135 let-binding rfc2047-encode-encoded-words to nil.
13136
e145f188
GM
131372011-05-27 Glenn Morris <rgm@gnu.org>
13138
5ec8a862
GM
13139 * mail/emacsbug.el: Don't require url-util.
13140
4b29d9fb
GM
13141 * shell.el (shell-directory-tracker): Case matters. (Bug#8735)
13142
e145f188
GM
13143 * files.el (set-auto-mode):
13144 Also respect mode: entries at the end of the file. (Bug#8586)
13145
7d15102b
GM
131462011-05-26 Glenn Morris <rgm@gnu.org>
13147
98f593b8
GM
13148 * files.el (hack-local-variables-prop-line, hack-local-variables):
13149 Downcase mode names, as seems to be traditional.
27b48e63 13150 (hack-local-variables, hack-local-variables-apply): Doc fixes.
98f593b8 13151
7d15102b
GM
13152 * mail/emacsbug.el (report-emacs-bug): Mention checking From address.
13153 (report-emacs-bug-hook): Try to validate the From address. (Bug#8038)
13154
51d5b4ec
JD
131552011-05-25 Julien Danjou <julien@danjou.info>
13156
13157 * textmodes/rst.el (rst-define-level-faces): Do not define face
13158 symbol if it is already defined.
13159
91513f63
VB
131602011-05-24 Vincent Belaïche <vincentb1@users.sourceforge.net>
13161
13162 * play/5x5.el (5x5-new-game, 5x5-randomize):
13163 Reset 5x5-solver-output to nil when a new grid is cast.
13164 (5x5-log-init, 5x5-log): Use defsubst instead of defmacro to shunt
13165 these debugging traces, as defmacro breaks the compiled code.
13166
4d90d6d0
DK
131672011-05-24 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
13168
13169 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
13170
e1b90ef6
LL
131712011-05-24 Leo Liu <sdl.web@gmail.com>
13172
13173 * vc/vc-bzr.el (vc-bzr-sha1-program): Rename from sha1-program.
13174 (vc-bzr-sha1): Adapt.
13175
d8e4b68b 13176 * sha1.el: Remove. Function `sha1' is now builtin.
e1b90ef6
LL
13177
13178 * bindings.el: Provide sha1 feature.
13179
db0406bb 131802011-05-24 Kenichi Handa <handa@m17n.org>
b8d747b9
KH
13181
13182 * mail/sendmail.el: Require `rfc2047'.
13183 (mail-insert-from-field): Do not perform RFC2047 encoding.
13184 (mail-encode-header): New function.
13185 (sendmail-send-it): Set buffer-file-coding-system of the work
4d90d6d0
DK
13186 buffer to the return value of select-message-coding-system.
13187 Call mail-encode-header.
b8d747b9
KH
13188
13189 * mail/smtpmail.el (smtpmail-send-it): Call mail-encode-header.
13190
db0406bb 131912011-05-24 Sean Neakums <sneakums@zork.net> (tiny change)
7261f6ce 13192
4d90d6d0
DK
13193 * mail/supercite.el (sc-default-cite-frame):
13194 Handle sc-nested-citation-p when sc-cite-blank-lines-p is non-nil.
7261f6ce 13195
eb8a5e9b
GM
131962011-05-24 Glenn Morris <rgm@gnu.org>
13197
f8630703
GM
13198 * progmodes/python.el (brm-menu): Declare.
13199
8831bbed
GM
13200 * emulation/viper.el (viper-set-hooks): Declare.
13201
eb8a5e9b
GM
13202 * play/5x5.el (5x5-log-init, 5x5-log): Evaluate when compiling.
13203 (5x5-log-init, 5x5-log, 5x5-solver): Doc fixes.
13204 (math-map-vec, math-sub, math-mul, math-make-intv, math-reduce-vec)
13205 (math-format-number, math-pow, calcFunc-arrange, calcFunc-cvec)
13206 (calcFunc-diag, calcFunc-trn, calcFunc-inv, calcFunc-mrow)
13207 (calcFunc-mcol, calcFunc-vconcat, calcFunc-index): Declare.
13208
a2a25d24
SM
132092011-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
13210
13211 Add an :exit-function for completion-at-point.
13212
13213 * minibuffer.el (completion--done): New fun.
13214 (completion--do-completion): Use it. New arg `expect-exact'.
13215 (minibuffer-complete, minibuffer-complete-word): Don't output message,
13216 since completion--do-completion does it for us now.
13217 (minibuffer-force-complete): Use completion--done and
13218 completion--replace. Handle sole-completion case with more care.
13219 (minibuffer-complete-and-exit): Use new `expect-exact' arg.
13220 (completion-extra-properties): New var.
13221 (completion-annotate-function): Make obsolete.
13222 (minibuffer-completion-help): Adjust accordingly.
13223 Use completion-list-insert-choice-function.
13224 (completion-at-point, completion-help-at-point):
13225 Bind completion-extra-properties.
13226 (completion-pcm-word-delimiters): Add | (for uniquify, for example).
13227 * simple.el (completion-list-insert-choice-function): New var.
13228 (completion-setup-function): Preserve it.
13229 (choose-completion): Pay attention to it, shuffle the code a bit.
13230 (choose-completion-string): New arg `insert-function'.
13231
13232 * textmodes/bibtex.el: Convert to lexical binding.
13233 (bibtex-mode-map): Use completion-at-point.
13234 (bibtex-mode): Use define-derived-mode&completion-at-point-functions.
13235 (bibtex-completion-at-point-function): New fun, from bibtex-complete.
13236 (bibtex-complete): Define as obsolete alias.
13237 (bibtex-complete-internal): Remove.
13238 (bibtex-format-entry): Remove unused sub-group in regexp.
13239 * shell.el (shell--command-completion-data)
13240 (shell-environment-variable-completion):
13241 * pcomplete.el (pcomplete-completions-at-point):
13242 * comint.el (comint--complete-file-name-data): Use :exit-function
13243 instead of completion-table-with-terminator so it also works for
13244 choose-completion.
13245
e44e373d
SM
132462011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
13247
4f91a816
SM
13248 * <lots-of-files>.el: Don't quote lambda expressions with `quote'.
13249
782fc819
SM
13250 * vc/smerge-mode.el (smerge-refine-subst): Don't deactivate the mark
13251 (bug#8710).
13252
e44e373d
SM
13253 * emacs-lisp/lisp.el (up-list): Fix forward movement (bug#8708).
13254
381987c3
KM
132552011-05-23 Ken Manheimer <ken.manheimer@gmail.com>
13256
13257 * allout.el (allout-inhibit-auto-fill-on-headline): Create new
13258 customization variable and implement: If non-nil, auto-fill will
13259 be inhibited while on topic's header line.
13260
b776bc70
VB
132612011-05-23 Vincent Belaïche <vincentb1@users.sourceforge.net>
13262
13263 * play/5x5.el: I/ Add an arithmetic solver to suggest positions to
d8e4b68b 13264 click on. II/ Make 5x5 multisession. III/ Ensure that random grids
b776bc70
VB
13265 always have a solution in grid size = 5 cases.
13266 (5x5-mode-map): Add keybinding to function `5x5-solve-suggest'.
13267 (5x5-solver-output, 5x5-log-buffer): New vars.
13268 (5x5-grid, 5x5-x-pos, 5x5-y-pos, 5x5-moves, 5x5-cracking):
13269 Make these variables buffer local to achieve 5x5 multi-session-ness.
13270 (5x5): Set 5x5-grid-size only if SIZE is non-negative.
13271 (5x5-grid-to-vec, 5x5-vec-to-grid, 5x5-log-init, 5x5-log, 5x5-solver)
13272 (5x5-solve-suggest): New funs.
13273 (5x5-randomize): Use 5x5-make-move instead of 5x5-flip-cell to
13274 randomize a grid so that we ensure that there is always a solution.
13275 (5x5-make-random-grid): Allow other movement than flipping.
13276
7de88b6e
KR
132772011-05-23 Kevin Ryde <user42@zip.com.au>
13278
13279 * emacs-lisp/advice.el (ad-read-advised-function):
5a5fa834 13280 Use `function-called-at-point' as the default, if it has
7de88b6e
KR
13281 advice and passes PREDICATE.
13282
b1ef1257
SM
132832011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
13284
bbca48fe
SM
13285 * emacs-lisp/bytecomp.el (byte-compile-function-form): Only call
13286 byte-compile-lambda if it's actually a lambda.
13287
b1ef1257
SM
13288 * emacs-lisp/eieio.el (eieio-defgeneric-form-primary-only-one):
13289 Fix function quoting. Use backquote better.
13290
92a9cc65
YS
132912011-05-22 Yuanle Song <sylecn@gmail.com>
13292
13293 * nxml/rng-xsd.el (rng-xsd-check-pattern): Use case-sensitive
13294 matching (Bug#8516).
13295
f0fb8059
JA
132962011-01-22 Jari Aalto <jari.aalto@cante.net>
13297
13298 * vc/vc-dir.el (vc-default-dir-printer): Give edited tag a
13299 different face (Bug#8178).
13300
d5b44c93
CY
133012011-05-22 Chong Yidong <cyd@stupidchicken.com>
13302
13303 * vc/diff-mode.el (diff-changed): Don't use terminal specs for
13304 defface (Bug#8144).
13305
79106a44
SM
133062011-05-22 Stefan Monnier <monnier@iro.umontreal.ca>
13307
9c848d8a
SM
13308 * emacs-lisp/macroexp.el (macroexpand-all-1): Convert ' to #' for
13309 funcall as well (bug#8712). Warn when performing those conversions.
13310 * emacs-lisp/bytecomp.el (byte-compile-form): Fix error report.
13311
79106a44
SM
13312 * progmodes/grep.el (grep-mode): Fix it for good (bug#8684)!
13313
88dfa756
GM
133142011-05-22 Glenn Morris <rgm@gnu.org>
13315
13316 * files.el (hack-local-variables-prop-line): Small simplifications.
13317 (hack-local-variables, hack-local-variables-prop-line):
13318 If MODE-ONLY, return the mode, rather than just `t'.
13319
b7cf2c79
SM
133202011-05-21 Stefan Monnier <monnier@iro.umontreal.ca>
13321
13322 * progmodes/grep.el (grep-mode): Fix last change (bug#8684).
13323
3f1a8558
GM
133242011-05-21 Glenn Morris <rgm@gnu.org>
13325
7e4ccca3
GM
13326 * files.el (hack-local-variables-prop-line, hack-local-variables):
13327 If only interested in the mode, don't bother doing the other stuff.
13328
637d46ca
GM
13329 * image-mode.el (image-after-revert-hook):
13330 Redraw all frames on which the image is visible. (Bug#8567)
13331
973d955b
GM
13332 * dired-aux.el (dired-touch-initial): Just use current-time. (Bug#6887)
13333
3f1a8558
GM
13334 * wid-edit.el (widget-checklist-match-inline):
13335 Fix 2011-04-19 change. (Bug#8649)
13336
96479927
SM
133372011-05-20 Stefan Monnier <monnier@iro.umontreal.ca>
13338
1dcf791f
SM
13339 * emacs-lisp/checkdoc.el (checkdoc-sentencespace-region-engine):
13340 Also allow singlespace after single-letter capitals followed by a dot.
13341
96479927
SM
13342 * nxml/nxml-mode.el (nxml-electric-slash): Reindent when completion is
13343 enabled. Suggested by James Ahlborn <jahlborn@gmail.com> (bug#8704).
13344
35fd0881
N
133452011-05-20 Nix <nix@esperi.org.uk>
13346
13347 * files.el (basic-save-buffer-2):
13348 Fix handling of break-hardlink-on-save with non-existent files.
13349
82745640
DD
133502011-05-19 Deniz Dogan <deniz@dogan.se>
13351
13352 * net/rcirc.el (rcirc-mode): Initialize rcirc-urls to nil.
9ff90d99 13353 (rcirc-markup-urls): Check if rcirc-url-regexp is nil.
82745640 13354
4a720484
GM
133552011-05-19 Glenn Morris <rgm@gnu.org>
13356
d1f21341
GM
13357 * progmodes/f90.el (f90-type-def-re):
13358 Handle "type, bind(c)". (Bug#8691)
13359
4a720484
GM
13360 * emacs-lisp/autoload.el (batch-update-autoloads):
13361 Set autoload-excludes by parsing loadup.el rather than Makefiles.
13362
2fb0a219
MA
133632011-05-18 Michael Albinus <michael.albinus@gmx.de>
13364
13365 * net/tramp.el (tramp-process-actions): Set "first-password-request"
13366 property for the correct connection in case of multihops.
13367
e565dd37
GM
133682011-05-18 Glenn Morris <rgm@gnu.org>
13369
c2571358 13370 * emacs-lisp/authors.el (authors-fixed-entries): Remove fakemail.c.
c136e5cd
GM
13371 * mail/sendmail.el (sendmail-program): Fall back to just "sendmail".
13372
e565dd37
GM
13373 Rationalize calendar handling of day and month abbrev-arrays.
13374 * calendar/calendar.el (calendar-customized-p): New function.
13375 (calendar-abbrev-construct, calendar-make-alist): Change what it does.
13376 (calendar-day-name-array, calendar-month-name-array): Doc fix.
13377 Add :set function.
13378 (calendar-abbrev-length, calendar-day-abbrev-array)
13379 (calendar-month-abbrev-array): Make defcustoms, with appropriate :set.
13380 (calendar-day-abbrev-array, calendar-month-abbrev-array):
13381 Elements may no longer be nil.
13382 (calendar-day-name, calendar-month-name):
13383 Update for changed nature of abbrev arrays.
13384 * calendar/diary-lib.el (diary-name-pattern):
13385 Update for changed nature of abbrev arrays.
13386 (diary-mark-entries-1): Update calendar-make-alist calls.
13387 (diary-font-lock-date-forms): Doc fix for changed abbrev arrays.
13388 * calendar/cal-html.el (cal-html-day-abbrev-array):
13389 Simply inherit from calendar-day-abbrev-array.
13390
1d99a745
SM
133912011-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
13392
13393 * progmodes/grep.el (grep-mode): Disable default
13394 compilation-directory-matcher setting (bug#8684).
13395
7c1d9aa0
MA
133962011-05-17 Michael Albinus <michael.albinus@gmx.de>
13397
13398 * net/tramp.el (tramp-handle-insert-file-contents): Use "dd"
13399 instead of "head" and "tail". There were problems with SunOS 5.9,
13400 and it performs better.
13401
3952e9d8
GM
134022011-05-17 Glenn Morris <rgm@gnu.org>
13403
2dd12e7f
GM
13404 * mail/mail-utils.el (mail-dont-reply-to): Silence compiler.
13405
e4157b9c
GM
13406 * progmodes/idlw-shell.el (idlwave-shell-complete-filename):
13407 Replace obsolete function.
13408
8e249bbd
GM
13409 * shell.el (pcomplete-parse-arguments-function): Declare.
13410
3952e9d8
GM
13411 * calendar/appt.el (appt-message-warning-time, appt-display-mode-line)
13412 (appt-display-diary, appt-display-interval, appt-prev-comp-time)
13413 (appt-check): Doc fixes.
13414 (appt-disp-window-function, appt-delete-window-function):
13415 Remove needless special case in custom :type.
13416 (appt-display-count): Default to 0, not nil.
13417 (appt-check): Reset appt-display-count to 0, not nil.
13418
c71a0d48 134192011-05-17 Juanma Barranquero <lekktu@gmail.com>
165fd2df 13420
c71a0d48
GM
13421 * progmodes/python.el (python-font-lock-keywords):
13422 Add the Python 3.X keyword "nonlocal" (bug#8639).
165fd2df 13423
31d55be9
SM
134242011-05-16 Stefan Monnier <monnier@iro.umontreal.ca>
13425
13426 * emacs-lisp/eieio.el (defmethod): Fix quoting of code (bug#8677).
13427
3bfacb2f
KR
134282011-05-16 Kevin Ryde <user42@zip.com.au>
13429
13430 * info-look.el (makefile-automake-mode): New setups, looking in
13431 automake manual, then makefile-mode.
13432 (makefile-mode): Remove automake manual, have it just in
13433 makefile-automake-mode since there's various things different or
13434 not relevant to plain make.
13435 (makefile-mode): Remove "other-modes" non-existent automake-mode,
13436 believe a hypothetical automake-mode would go to makefile-mode,
13437 not the other way around.
13438
c8e83751
CY
134392011-05-15 Chong Yidong <cyd@stupidchicken.com>
13440
5e9e35cd
CY
13441 * vc/diff-mode.el (diff-fixup-modifs): Locate correct position for
13442 hunk-end tags (Bug#8672).
13443
c8e83751
CY
13444 * vc/vc-annotate.el (vc-annotate-mode-map): Bind = to
13445 vc-annotate-show-diff-revision-at-line (Bug#8671).
13446
50b23e5a
GM
134472011-05-14 Glenn Morris <rgm@gnu.org>
13448
7210a739
GM
13449 * vc/add-log.el (add-change-log-entry): Don't start adding a new entry
13450 in the middle of an existing one with multiple authors. (Bug#8645)
375cb676
GM
13451 (change-log-font-lock-keywords): Also handle multiple author lines
13452 with leading tabs. (Bug#8644)
7210a739 13453
4691905a
GM
13454 * calendar/appt.el (appt-check): Rename some local variables.
13455 Some simplification/reordering.
13456
50b23e5a
GM
13457 * mail/feedmail.el (feedmail-confirm-outgoing-timeout)
13458 (feedmail-sendmail-f-doesnt-sell-me-out)
13459 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
13460 (feedmail-debug-sit-for, feedmail-queue-express-hook)
13461 (feedmail-queue-runner-message-sender): Set :version.
1aa64307
GM
13462 (bbdb-search, bbdb-records, smtp-via-smtp, smtp-server)
13463 (bbdb-dwim-net-address, vm-mail): Declare.
50b23e5a
GM
13464 (feedmail-binmail-gnulinuxish-template):
13465 Rename from feedmail-binmail-linuxish-template.
13466 (feedmail-buffer-to-smtp, feedmail-vm-mail-mode):
13467 Use insert-buffer-substring.
13468
215cda7c
BC
134692011-05-14 Bill Carpenter <bill@carpenter.org>
13470
13471 * mail/feedmail.el (feedmail-patch-level): Increase.
13472 (feedmail-debug): New custom group.
13473 (feedmail-confirm-outgoing-timeout)
13474 (feedmail-sendmail-f-doesnt-sell-me-out)
13475 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
13476 (feedmail-debug-sit-for, feedmail-queue-express-hook): New options.
13477 (feedmail-sender-line, feedmail-from-line)
13478 (feedmail-fiddle-headers-upwardly, feedmail-enable-spray)
c2571358 13479 (feedmail-spray-this-address)
215cda7c
BC
13480 (feedmail-spray-address-fiddle-plex-list)
13481 (feedmail-queue-use-send-time-for-date)
13482 (feedmail-queue-use-send-time-for-message-id)
13483 (feedmail-last-chance-hook, feedmail-queue-runner-mode-setter)
13484 (feedmail-buffer-eating-function):
13485 Doc fixes.
13486 (feedmail-spray-via-bbdb, feedmail-buffer-to-smtp)
13487 (feedmail-vm-mail-mode, feedmail-message-action-scroll-up)
13488 (feedmail-message-action-scroll-down): New functions.
13489 (feedmail-queue-directory, feedmail-queue-draft-directory):
13490 Use expand-file-name.
13491 (feedmail-prompt-before-queue-standard-alist): Add scroll entries.
13492 Remove C-v help entry.
13493 (feedmail-queue-buffer-file-name): New variable.
13494 (feedmail-mail-send-hook-splitter, feedmail-buffer-to-binmail)
13495 (feedmail-buffer-to-smtpmail, feedmail-queue-express-to-draft)
13496 (feedmail-message-action-send-strong, feedmail-message-action-edit)
13497 (feedmail-message-action-draft, feedmail-message-action-draft-strong)
13498 (feedmail-message-action-queue, feedmail-message-action-queue-strong)
13499 (feedmail-message-action-toggle-spray)
13500 (feedmail-run-the-queue-no-prompts)
13501 (feedmail-run-the-queue-global-prompt, feedmail-queue-reminder)
13502 (feedmail-look-at-queue-directory, feedmail-queue-subject-slug-maker)
13503 (feedmail-create-queue-filename, feedmail-rfc822-time-zone):
13504 (feedmail-fiddle-header, feedmail-give-it-to-buffer-eater)
13505 (feedmail-envelope-deducer, feedmail-fiddle-from)
13506 (feedmail-fiddle-sender, feedmail-default-date-generator)
13507 (feedmail-fiddle-date, feedmail-fiddle-message-id)
13508 (feedmail-fiddle-spray-address)
13509 (feedmail-fiddle-list-of-spray-fiddle-plexes)
13510 (feedmail-fiddle-list-of-fiddle-plexes)
13511 (feedmail-fill-to-cc-function, feedmail-fill-this-one)
13512 (feedmail-one-last-look, feedmail-fqm-p): Add debug calls.
13513 (feedmail-queue-runner-message-sender, feedmail-binmail-template):
13514 Change default. Doc fix.
13515 (feedmail-queue-runner-cleaner-upper): Use feedmail-say-chatter.
13516 (feedmail-binmail-linuxish-template): New constant.
13517 (feedmail-buffer-to-sendmail): Doc fix. Add debug call.
13518 Respect feedmail-sendmail-f-doesnt-sell-me-out.
13519 (feedmail-send-it): Add debug call.
13520 Use feedmail-queue-buffer-file-name, and
13521 feedmail-send-it-immediately-wrapper.
13522 (feedmail-message-action-send): Add debug call.
13523 Use feedmail-send-it-immediately-wrapper.
13524 (feedmail-queue-express-to-queue): Add debug call.
13525 Run feedmail-queue-express-hook.
13526 (feedmail-message-action-help): Add debug call. Use feedmail-p-h-b-n.
13527 (feedmail-message-action-help-blat):
13528 Rename from feedmail-queue-send-edit-prompt-help-first.
13529 (feedmail-run-the-queue): Add debug call. Set buffer-file-type.
13530 Check line-endings. Handle errors better.
13531 (feedmail-queue-reminder-brief, feedmail-queue-reminder-medium):
13532 Doc fix. Add debug call.
13533 (feedmail-queue-send-edit-prompt): Doc fix. Add debug call.
13534 Use feedmail-queue-send-edit-prompt-inner.
13535 (feedmail-queue-runner-prompt, feedmail-scroll-buffer): New functions.
13536 (feedmail-queue-send-edit-prompt-inner): New function, extracted
13537 from feedmail-queue-send-edit-prompt.
13538 (feedmail-queue-send-edit-prompt-help)
13539 (feedmail-queue-send-edit-prompt-help-later): Remove functions.
13540 (feedmail-tidy-up-slug): Add debug call.
13541 Respect feedmail-queue-slug-suspect-regexp.
13542 (feedmail-queue-subject-slug-maker): Use buffer-substring-no-properties.
13543 (feedmail-dump-message-to-queue): Add debug call.
13544 Expand queue-directory.
13545 (feedmail-dump-message-to-queue): Change message slightly.
13546 Use feedmail-say-chatter.
13547 (feedmail-rfc822-date): Add debug call. Bind system-time-locale.
13548 (feedmail-send-it-immediately-wrapper): New function.
13549 (feedmail-send-it-immediately): Add debug calls. Use let not let*.
13550 Insert empty string rather than newline. Handle full-frame case.
13551 Use catch/throw. Use feedmail-say-chatter.
13552 (feedmail-fiddle-from): Try mail-host-address.
13553 (feedmail-default-message-id-generator): Doc fix.
13554 Bind system-time-locale. Handle missing end.
13555 (feedmail-fiddle-x-mailer): Add debug call.
13556 Handle feedmail-x-mailer-line being nil.
13557 (feedmail-accume-n-nuke-header, feedmail-deduce-address-list):
13558 Add debug call. Use buffer-substring-no-properties.
13559 (feedmail-say-debug, feedmail-say-chatter): New functions.
13560 (feedmail-find-eoh): Give an explicit error.
13561
42c7e61e
UJ
135622011-05-13 Ulf Jasper <ulf.jasper@web.de>
13563
c2571358 13564 * net/newst-treeview.el (newsticker-treeview-face): Change default
42c7e61e 13565 family from helvetica to sans.
c2571358 13566 (newsticker-treeview-tool-bar-map): Move tool-bar icons to
42c7e61e
UJ
13567 etc/images/newsticker.
13568
c2571358 13569 * net/newst-reader.el (newsticker-feed-face): Change default
42c7e61e
UJ
13570 family from helvetica to sans.
13571
13572 * net/newst-plainview.el (newsticker-new-item-face)
13573 (newsticker-old-item-face, newsticker-immortal-item-face)
13574 (newsticker-obsolete-item-face, newsticker-date-face)
c2571358 13575 (newsticker-statistics-face): Change default family from
42c7e61e 13576 helvetica to sans.
c2571358 13577 (newsticker--plainview-tool-bar-map): Move tool-bar icons to
42c7e61e
UJ
13578 etc/images/newsticker.
13579
5d3385a0
JB
13580 * net/newst-backend.el (newsticker--do-run-auto-mark-filter)
13581 (newsticker--process-auto-mark-filter-match): Tell user about
42c7e61e
UJ
13582 auto-marking.
13583
8497a297
DV
135842011-05-13 Didier Verna <didier@xemacs.org>
13585
13586 Common Lisp indentation improvements on defmethod and lambda-lists.
4d61f28d
JB
13587 * emacs-lisp/cl-indent.el: Advertise the changes and remove obsolete
13588 TODO entries.
8497a297
DV
13589 (lisp-lambda-list-keyword-parameter-indentation)
13590 (lisp-lambda-list-keyword-parameter-alignment)
13591 (lisp-lambda-list-keyword-alignment): New customizable user options.
13592 (lisp-indent-defun-method): Improve docstring.
13593 (extended-loop-p): Fix comment.
13594 (lisp-indent-lambda-list-keywords-regexp): New variable.
13595 (lisp-indent-lambda-list): New function.
13596 (lisp-indent-259): Use it.
13597 (lisp-indent-defmethod): Support for more than one
13598 method qualifier and properly indent methods lambda-lists.
13599 (defgeneric): Provide a missing common-lisp-indent-function property.
13600
f278f87f
SM
136012011-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
13602
13603 * thingatpt.el (bounds-of-thing-at-point): Return nil rather than
13604 bounds for the empty string (bug#8667).
13605
5233edd7
GM
136062011-05-13 Glenn Morris <rgm@gnu.org>
13607
5237a44f
GM
13608 * mail/feedmail.el (feedmail-buffer-to-sendmail): Require sendmail.
13609
8340026c 13610 * mail/sendmail.el (sendmail-program): Try executable-find first.
f278f87f 13611 (sendmail-send-it): `sendmail-program' cannot be unbound.
8340026c 13612
5233edd7 13613 * calendar/appt.el (appt-make-list): Simplify.
4accbca6 13614 (appt-time-msg-list): Doc fix.
a5464014 13615 (appt-check): Change mode-line message at the time of the appointment.
5233edd7 13616
92d10796
AS
136172011-05-12 Andreas Schwab <schwab@linux-m68k.org>
13618
13619 * progmodes/ld-script.el (ld-script-keywords)
13620 (ld-script-builtins): Update keywords list.
13621
914a0ae1
SM
136222011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
13623
c89be45f
SM
13624 * progmodes/grep.el (grep-filter): Don't trip on partial lines.
13625
914a0ae1
SM
13626 * shell.el (shell-completion-vars): New function.
13627 (shell-mode):
13628 * simple.el (read-shell-command): Use it.
13629 (blink-matching-open): No need for " [...]" in minibuffer-message.
13630
98dc3df3
GM
136312011-05-12 Glenn Morris <rgm@gnu.org>
13632
13633 * calendar/appt.el (appt-now-displayed): Remove pointless variable.
13634 (appt-check): Simplify.
13635
d2fc7e3d 136362011-05-12 Eli Zaretskii <eliz@gnu.org>
0e39ec21 13637
4d61f28d 13638 * vc/smerge-mode.el (smerge-resolve): Use null-device rather than a
0e39ec21
EZ
13639 literal "/dev/null".
13640
d2fc7e3d 136412011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
3f254caa
SM
13642
13643 * emacs-lisp/lisp.el (lisp-complete-symbol, lisp-completion-at-point):
13644 Fix typo.
13645
d2fc7e3d 136462011-05-12 Ralph Schleicher <rs@ralph-schleicher.de>
6eea50c7 13647
3f254caa
SM
13648 * progmodes/which-func.el (which-function):
13649 Use add-log-current-defun instead of add-log-current-defun-function,
6eea50c7
RS
13650 which might not be defined (Bug#8260).
13651
d45885f7
GM
136522011-05-12 Glenn Morris <rgm@gnu.org>
13653
13654 * emacs-lisp/bytecomp.el (byte-compile-file-form-defmumble):
13655 Let byte-compile-initial-macro-environment always take precedence.
13656
488086f4
SM
136572011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
13658
13659 * net/rcirc.el: Add support for SSL/TLS connections.
13660 (rcirc-server-alist): New field `encryption'.
13661 (rcirc): Check `encryption' settings.
13662 (rcirc-connect): New arg `encryption'. Use open-network-stream.
13663 Merge make-local-variable into `set'.
13664 (rcirc--connection-open-p): New function.
13665 (rcirc-send-string, rcirc-clean-up-buffer): Use it to handle case where
13666 the process is not a network process (e.g. running gnutls-cli).
13667 (set-rcirc-decode-coding-system, set-rcirc-encode-coding-system):
13668 Make rcirc-(en|de)code-coding-system local here.
13669 (rcirc-mode): Merge make-local-variable into `set'.
13670 (rcirc-parent-buffer): Make permanent buffer-local.
13671 (rcirc-multiline-minor-mode): Don't do it here.
13672 (rcirc-switch-to-server-buffer): Don't switch to a random buffer if
13673 there's no server buffer.
13674
7d3b9d44
GM
136752011-05-11 Glenn Morris <rgm@gnu.org>
13676
f64049c6
GM
13677 * newcomment.el (comment-kill): Prefix "unused" local.
13678
93c9df73
GM
13679 * term/w32console.el (get-screen-color): Declare.
13680
7d3b9d44
GM
13681 * emacs-lisp/bytecomp.el (byte-compile-arglist-warn):
13682 Handle symbol elements of byte-compile-initial-macro-environment.
13683
9e2dd53f
LL
136842011-05-10 Leo Liu <sdl.web@gmail.com>
13685
488086f4
SM
13686 * bookmark.el (bookmark-bmenu-mode-map):
13687 Bind bookmark-bmenu-search to `/'.
8b340240 13688
9e2dd53f 13689 * mail/footnote.el: Convert to utf-8 encoding.
b4044869
LL
13690 (footnote-unicode-string, footnote-unicode-regexp): New variable.
13691 (Footnote-unicode): New function.
13692 (footnote-style-alist): Add unicode style to the list.
13693 (footnote-style): Doc fix.
9e2dd53f 13694
79b70037
GM
136952011-05-10 Jim Meyering <meyering@redhat.com>
13696
13697 Fix doubled-word typos.
13698 * international/quail.el (quail-insert-kbd-layout): and and -> and
13699 * kermit.el: and and -> and
13700 * net/ldap.el (ldap-search-internal): to to -> to
13701 * progmodes/vhdl-mode.el (vhdl-offsets-alist): Likewise.
13702 * progmodes/js.el (js-mode): and and -> and
13703 * textmodes/artist.el (artist-move-to-xy): at at -> at
13704 (artist-draw-region-trim-line-endings): if if -> if
13705 And Safetyc -> Safety.
13706 * textmodes/reftex-dcr.el (reftex-view-crossref): at at -> at a
13707
b8f82dc1 137082011-05-10 Glenn Morris <rgm@gnu.org>
c2571358 13709 Stefan Monnier <monnier@iro.umontreal.ca>
b8f82dc1
GM
13710
13711 * files.el (hack-one-local-variable-eval-safep):
13712 Consider "eval: (foo-mode)" to be safe. (Bug#8613)
13713
4f99f44b
GM
137142011-05-10 Glenn Morris <rgm@gnu.org>
13715
13716 * calendar/diary-lib.el (diary-list-entries-hook)
13717 (diary-mark-entries-hook, diary-nongregorian-listing-hook)
13718 (diary-nongregorian-marking-hook, diary-list-entries)
13719 (diary-include-other-diary-files, diary-mark-entries)
13720 (diary-mark-included-diary-files): Doc fixes.
13721
84f29e6b
JB
137222011-05-09 Juanma Barranquero <lekktu@gmail.com>
13723
13724 * misc.el: Require tabulated-list.el during compilation.
13725
9bedd73a
CY
137262011-05-09 Chong Yidong <cyd@stupidchicken.com>
13727
488086f4
SM
13728 * progmodes/compile.el (compilation-start):
13729 Run compilation-filter-hook for the async case too.
9bedd73a
CY
13730 (compilation-filter-hook): Doc fix.
13731
797c735c
DD
137322011-05-09 Deniz Dogan <deniz@dogan.se>
13733
13734 * wdired.el: Remove outdated installation comment. Fix usage
13735 comment.
13736
5f4b1dfe
JB
137372011-05-09 Juanma Barranquero <lekktu@gmail.com>
13738
13739 * misc.el: Implement new command `list-dynamic-libraries'.
13740 (list-dynamic-libraries--loaded-only-p): New variable.
13741 (list-dynamic-libraries--refresh): New function.
13742 (list-dynamic-libraries): New command.
13743
4c44026c
CY
137442011-05-09 Chong Yidong <cyd@stupidchicken.com>
13745
488086f4
SM
13746 * progmodes/compile.el (compilation-error-regexp-alist-alist):
13747 Fix the ant regexp to handle end-line and end-column info from jikes.
4c44026c
CY
13748 Re-introduce maven regexp. Give the ruby-Test::Unit regexp a
13749 higher priority to avoid clobbering by gnu.
13750
027f966d
CY
137512011-05-08 Chong Yidong <cyd@stupidchicken.com>
13752
13753 * cus-face.el (custom-declare-face): Call custom-theme-recalc-face
13754 if the face has existing theme settings (Bug#8454).
13755
085f5d7d
CY
137562011-05-08 Ralph Schleicher <rs@ralph-schleicher.de>
13757
488086f4
SM
13758 * progmodes/perl-mode.el (perl-imenu-generic-expression):
13759 Only match variables declared via `my' or `our' (Bug#8261).
085f5d7d 13760
2a86a00c
RS
13761 * net/browse-url.el (browse-url-of-dired-file): Allow browsing of
13762 special file names `.' and `..' (Bug#8259).
13763
d9c54a06
CY
137642011-05-08 Chong Yidong <cyd@stupidchicken.com>
13765
488086f4
SM
13766 * progmodes/grep.el (grep-mode-font-lock-keywords):
13767 Remove buffer-changing entries.
d9c54a06
CY
13768 (grep-filter): New function.
13769 (grep-mode): Add it to compilation-filter-hook.
13770
13771 * progmodes/compile.el (compilation-filter-hook)
13772 (compilation-filter-start): New defvars.
13773 (compilation-filter): Call compilation-filter-hook prior to
13774 updating the process mark.
13775
c4662635
SM
137762011-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
13777
13778 * emacs-lisp/eieio.el (defmethod): Fix typo in last change.
13779
b0512a1d
EZ
137802011-05-07 Eli Zaretskii <eliz@gnu.org>
13781
605c9376
EZ
13782 * mail/sendmail.el (send-mail-function): On MS-Windows, default to
13783 mailclient-send-it even if window-system is nil. (Bug#8595)
13784
c4662635
SM
13785 * term/w32console.el (terminal-init-w32console):
13786 Call get-screen-color and use its output to set the frame
b0512a1d
EZ
13787 background-mode. (Bug#8597)
13788
d1dc2cc2
SM
137892011-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
13790
13791 Make bytecomp.el understand that defmethod defines funs (bug#8631).
13792 * emacs-lisp/eieio.el (eieio--defalias, eieio--defgeneric-init-form):
13793 New functions.
13794 (defgeneric, eieio--defmethod): Use them.
13795 (eieio-defgeneric): Remove.
13796 (defmethod): Call defgeneric in a way visible to the byte-compiler.
13797
915d1300
GM
137982011-05-07 Glenn Morris <rgm@gnu.org>
13799
a3961c3e
GM
13800 * calendar/timeclock.el (timeclock-log-data): Remove unused local.
13801 Use let rather than let*.
13802 (timeclock-find-discrep): Remove unused local.
13803
314347b9
GM
13804 * calendar/diary-lib.el (diary-comment-start): Doc fix.
13805
915d1300
GM
13806 * calendar/appt.el (appt-time-msg-list): Doc fix.
13807
275b59b0
NF
138082011-05-06 Noah Friedman <friedman@splode.com>
13809
13810 * apropos.el (apropos-print-doc): Only use
13811 emacs-lisp-docstring-fill-column when it is bound to an integer,
13812 per that variable's documentation.
13813
6c19f744
SM
138142011-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
13815
13816 * lpr.el (print-region-1): Echo lpr-program's output, so error messages
d1dc2cc2 13817 and warnings are not silently discarded (e.g. use -d instead of -P).
6c19f744 13818
60f884b2
GM
138192011-05-06 Glenn Morris <rgm@gnu.org>
13820
5006e634
GM
13821 * calendar/appt.el (appt-message-warning-time): Doc fix.
13822 (appt-warning-time-regexp): New option.
13823 (appt-make-list): Respect appt-message-warning-time.
13824
548d0a63
GM
13825 * calendar/diary-lib.el (diary-comment-start, diary-comment-end):
13826 New options.
13827 (diary-add-to-list): Strip comments from the displayed string.
13828 (diary-mode): Set comment-start and comment-end.
13829
60f884b2
GM
13830 * vc/diff-mode.el (smerge-refine-subst): Declare.
13831 (diff-refine-hunk): Don't require smerge-mode when compiling.
13832
989681bb
JB
138332011-05-06 Juanma Barranquero <lekktu@gmail.com>
13834
13835 * simple.el (list-processes): Return nil as the docstring says.
13836
a6bc05e1
MA
138372011-05-05 Michael Albinus <michael.albinus@gmx.de>
13838
13839 * net/ange-ftp.el (ange-ftp-binary-file-name-regexp): Set default
13840 to "".
13841 (ange-ftp-write-region, ange-ftp-insert-file-contents)
13842 (ange-ftp-copy-file-internal): Use only `ange-ftp-binary-file' for
13843 determining of binary transfer. (Bug#7383)
13844
23c22e9a
MA
138452011-05-05 Michael Albinus <michael.albinus@gmx.de>
13846
c4662635
SM
13847 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
13848 Fix port computation bug. (Bug#8618)
23c22e9a 13849
0bff894f
GM
138502011-05-05 Glenn Morris <rgm@gnu.org>
13851
b8296902
GM
13852 * allout-widgets.el (allout-widgets-mode-inhibit): Declare before use.
13853
1f522ce8
GM
13854 * simple.el (shell-dynamic-complete-functions)
13855 (comint-dynamic-complete-functions): Declare.
13856
cf5bee67
GM
13857 * net/network-stream.el (gnutls-negotiate):
13858 * simple.el (tabulated-list-print): Fix declarations.
13859
13860 * progmodes/gud.el (syntax-symbol, syntax-point):
13861 Remove unnecessary and incorrect declarations.
13862
0bff894f
GM
13863 * emacs-lisp/check-declare.el (check-declare-scan):
13864 Handle byte-compile-initial-macro-environment in bytecomp.el
13865
9869b3ae
SM
138662011-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
13867
13868 Fix earlier half-done eieio-defmethod change (bug#8338).
13869 * emacs-lisp/eieio.el (eieio--defmethod): Rename from eieio-defmethod.
13870 Streamline and change calling convention.
13871 (defmethod): Adjust accordingly and simplify.
13872 (eieio-defclass): Fix broken calls to eieio-defmethod and redirect to
13873 new eieio--defmethod.
13874 (slot-boundp): Minor CSE simplification.
13875
9c1d5ac5
MZ
138762011-05-05 Milan Zamazal <pdm@zamazal.org>
13877
13878 * progmodes/glasses.el (glasses-separate-capital-groups): New option.
13879 (glasses-make-readable): Use glasses-separate-capital-groups.
13880
455c834e
JB
138812011-05-05 Juanma Barranquero <lekktu@gmail.com>
13882
13883 * emacs-lisp/warnings.el (warning-level-aliases): Reflow docstring.
13884 (warning-series): Doc fix.
13885 (display-warning): Don't try to create the buffer if we just found it.
13886
9ed7c8cb
CY
138872011-05-04 Chong Yidong <cyd@stupidchicken.com>
13888
13889 * emacs-lisp/autoload.el (generated-autoload-file): Set to nil.
13890 (autoload-find-generated-file): New function.
13891 (generate-file-autoloads): Bind generated-autoload-file to
13892 buffer-file-name.
9869b3ae
SM
13893 (update-file-autoloads, update-directory-autoloads):
13894 Use autoload-find-generated-file. If called interactively, prompt for
9ed7c8cb
CY
13895 output file (Bug#7989).
13896 (batch-update-autoloads): Doc fix.
13897
0898ca10
JB
138982011-05-04 Juanma Barranquero <lekktu@gmail.com>
13899
13900 * term/w32-win.el (dynamic-library-alist): Add `gnutls'.
13901
31dfb76c
GM
139022011-05-04 Glenn Morris <rgm@gnu.org>
13903
f330b642
GM
13904 * calendar/diary-lib.el (diary-fancy-date-pattern): Turn it into a
13905 function, so it follows changes in calendar-date-style.
13906 (diary-fancy-date-matcher): New function.
13907 (diary-fancy-font-lock-keywords): Use diary-fancy-date-matcher.
13908 (diary-fancy-font-lock-fontify-region-function):
13909 Use diary-fancy-date-pattern as a function.
13910
31dfb76c
GM
13911 * calendar/diary-lib.el (diary-fancy-date-pattern): Do not use
13912 non-numbers for `year' etc pseudo-variables. (Bug#8583)
13913
48e79d6a
TZ
139142011-05-04 Teodor Zlatanov <tzz@lifelogs.com>
13915
13916 * net/gnutls.el (gnutls-negotiate): Use CL-style keyword arguments
13917 instead of positional arguments. Allow :keylist and :crlfiles
13918 arguments.
13919 (open-gnutls-stream): Call it.
13920
13921 * net/network-stream.el (network-stream-open-starttls): Adjust to
13922 call `gnutls-negotiate' with :process and :hostname arguments.
13923
dd5a5ee0
SM
139242011-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
13925
ef80fc09
SM
13926 * minibuffer.el (completion--message): New function.
13927 (completion--do-completion, minibuffer-complete)
13928 (minibuffer-force-complete, minibuffer-complete-word): Use it.
13929 (completion--do-completion): Don't ignore completion-auto-help when in
13930 icomplete-mode.
13931
dd5a5ee0
SM
13932 * whitespace.el (whitespace-trailing-regexp): Don't rely on the
13933 internal encoding (e.g. tibetan zero is not whitespace).
13934 (global-whitespace-mode): Prefer save-current-buffer.
13935 (whitespace-trailing-regexp): Remove useless save-match-data.
13936 (whitespace-empty-at-bob-regexp): Minor simplification.
13937
b7d22a83
CY
139382011-05-03 Chong Yidong <cyd@stupidchicken.com>
13939
13940 * emacs-lisp/autoload.el (generated-autoload-file): Doc fix (Bug#7989).
13941
5192af46
AM
139422011-05-03 Agustín Martín Domingo <agustin.martin@hispalinux.es>
13943
13944 * textmodes/ispell.el (ispell-add-per-file-word-list):
cdc4a047 13945 Use `concat' to create string for insertion.
5192af46 13946
5767d190
SM
139472011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
13948
13949 * textmodes/bibtex.el (bibtex-fill-field-bounds, bibtex-fill-entry):
13950 Avoid open-line which runs post-self-insert-hook.
13951 (bibtex-fill-entry): Remove unused `end' var.
13952
bf242939
AM
139532011-05-03 Dirk Ullrich <dirk.ullrich@googlemail.com> (tiny change)
13954
5767d190
SM
13955 * textmodes/ispell.el (ispell-add-per-file-word-list):
13956 Protect against `nil' value of `comment-start' (Bug#8579).
bf242939 13957
25666126
LL
139582011-05-03 Leo Liu <sdl.web@gmail.com>
13959
13960 * isearch.el (isearch-yank-pop): New command.
5767d190 13961 (isearch-mode-map): Bind it to `M-y'.
25666126
LL
13962 (isearch-forward): Mention it.
13963
52d3c2d0
SM
139642011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
13965
1bcace58
SM
13966 * simple.el (minibuffer-complete-shell-command): Remove.
13967 (minibuffer-local-shell-command-map): Use completion-at-point.
13968 (read-shell-command): Setup completion vars here instead.
13969 (read-expression-map): Bind TAB to symbol completion.
13970
52d3c2d0
SM
13971 * textmodes/ispell.el (lookup-words): Use with-temp-buffer; signal
13972 error directly rather via storing it into `results'.
13973
35813471
LL
139742011-05-02 Leo Liu <sdl.web@gmail.com>
13975
13976 * vc/diff.el: Fix description.
13977
e793a940
LMI
139782011-05-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
13979
13980 * server.el (server-eval-at): New function.
13981
8de66e05
LMI
139822011-05-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
13983
13984 * net/network-stream.el (open-network-stream): Take a :nowait
13985 parameter and pass it on to `make-network-process'.
13986 (network-stream-open-plain): Ditto.
13987
dcb79f20
AS
139882011-04-30 Andreas Schwab <schwab@linux-m68k.org>
13989
13990 * faces.el (face-spec-set-match-display): Don't match toolkit
13991 options on terminal frames.
13992
14a7fbd8
SM
139932011-04-29 Stefan Monnier <monnier@iro.umontreal.ca>
13994
7eabc1be
SM
13995 * progmodes/pascal.el: Use lexical binding.
13996 (pascal-mode-map): Remove author preferences.
13997
14a7fbd8
SM
13998 * pcomplete.el (pcomplete-std-complete): Don't abuse
13999 completion-at-point.
14000
50f84510
JB
140012011-04-28 Juanma Barranquero <lekktu@gmail.com>
14002
6e087a44
JB
14003 * calc/calccomp.el (math-comp-to-string-flat-term): Simplify by
14004 removing code that has been dead since 1991 or so.
14005
50f84510
JB
14006 * startup.el (command-line): When warning about "_emacs", use a
14007 delayed warning to allow the user to filter it out.
14008
0ba690bd
DD
140092011-04-28 Deniz Dogan <deniz@dogan.se>
14010
14011 * net/rcirc.el (rcirc-handler-353): Fix bug for channels which the
14012 user has not joined.
14013
08abfaad
SM
140142011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
14015
14016 * pcomplete.el (pcomplete-completions-at-point): Return nil if there
14017 aren't any completions at point.
14018
638f053a
JB
140192011-04-28 Juanma Barranquero <lekktu@gmail.com>
14020
14021 * subr.el (display-delayed-warnings): New function.
14022 (delayed-warnings-hook): New variable.
14023
8fff8daa
SM
140242011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
14025
08abfaad
SM
14026 * minibuffer.el (completion-at-point, completion-help-at-point):
14027 Don't presume that a given completion-at-point-function will always
14028 use the same calling convention.
14029
8fff8daa
SM
14030 * pcomplete.el (pcomplete-completions-at-point):
14031 Obey pcomplete-ignore-case. Don't call pcomplete-norm-func unless
14032 pcomplete-seen is non-nil.
14033 (pcomplete-comint-setup): Also recognize the new comint/shell
14034 completion functions.
14035 (pcomplete-do-complete): Don't call pcomplete-norm-func unless
14036 pcomplete-seen is non-nil.
14037
841a1577 140382011-04-27 Niels Giesen <niels.giesen@gmail.com>
211ec907 14039
841a1577 14040 * calendar/icalendar.el (diary-lib): Add require statement.
211ec907 14041 (icalendar--create-uid): Read out a uid from a text-property on
841a1577 14042 the first character in the entry. This allows for code to add its
211ec907
UJ
14043 own uid to the entry.
14044 (icalendar--convert-float-to-ical): Add export of
14045 `diary-float'-entries save for those with the optional DAY
14046 argument.
14047
2a782793
DC
140482011-04-27 Daniel Colascione <dan.colascione@gmail.com>
14049
14050 * subr.el (shell-quote-argument): Use alternate escaping strategy
14051 when we spot a variable reference in a string.
14052
0438ce91
DC
140532011-04-26 Daniel Colascione <dan.colascione@gmail.com>
14054
14055 * cus-start.el (all): Define customization for debug-on-event.
14056
841a1577 140572011-04-26 Daniel Colascione <dan.colascione@gmail.com>
8f91bf93
DC
14058
14059 * subr.el (shell-quote-argument): Escape correctly under Windows.
14060
d090ed6c
SM
140612011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
14062
14063 * emulation/cua-base.el (cua-selection-mode): Make it toggle again.
14064
bfd31217
MA
140652011-04-25 Michael Albinus <michael.albinus@gmx.de>
14066
d090ed6c
SM
14067 * net/tramp.el (tramp-process-actions): Add POS argument.
14068 Delete region between POS and (pos).
bfd31217 14069
d090ed6c
SM
14070 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
14071 Use `nil' position in `tramp-process-actions' call.
bfd31217
MA
14072 (tramp-maybe-open-connection): Call `tramp-process-actions' with pos.
14073
14074 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Use `nil'
14075 position in `tramp-process-actions' call.
14076
14077 * net/trampver.el: Update release number.
14078
e92f3bd3
SM
140792011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
14080
850256b5
SM
14081 * custom.el (defcustom): Obey lexical-binding.
14082
e92f3bd3
SM
14083 Fix octave-inf completion problems reported by Alexander Klimov.
14084 * progmodes/octave-inf.el (inferior-octave-mode-syntax-table):
14085 Inherit from octave-mode-syntax-table.
14086 (inferior-octave-mode): Set info-lookup-mode.
14087 (inferior-octave-completion-at-point): New function.
14088 (inferior-octave-complete): Use it and completion-in-region.
14089 (inferior-octave-dynamic-complete-functions): Use it as well, and use
14090 comint-filename-completion.
14091 * progmodes/octave-mod.el (octave-mode-syntax-table): Use _ syntax for
14092 symbol elements which shouldn't be word elements.
14093 (octave-font-lock-keywords, octave-beginning-of-defun)
14094 (octave-function-header-regexp): Adjust regexps accordingly.
14095 (octave-mode-map): Also use info-lookup-symbol for C-c C-h.
14096
cd22b309
JB
140972011-04-25 Juanma Barranquero <lekktu@gmail.com>
14098
14099 * net/gnutls.el (gnutls-errorp): Declare before first use.
14100
8b492194
TZ
141012011-04-24 Teodor Zlatanov <tzz@lifelogs.com>
14102
14103 * net/gnutls.el (gnutls-negotiate): Add hostname, verify-flags,
14104 verify-error, and verify-hostname-error parameters. Check whether
cd22b309 14105 default trustfile exists before going to use it. Add missing
5a5fa834 14106 argument to gnutls-message-maybe call. Return value.
8b492194
TZ
14107 Reported by Claudio Bley <claudio.bley@gmail.com>.
14108 (open-gnutls-stream): Add usage example.
14109
14110 * net/network-stream.el (network-stream-open-starttls): Give host
14111 parameter to `gnutls-negotiate'.
14112 (gnutls-negotiate): Adjust `gnutls-negotiate' declaration.
8f91bf93 14113 * subr.el (shell-quote-argument): Escape correctly under Windows.
8b492194 14114
841a1577 141152011-04-24 Daniel Colascione <dan.colascione@gmail.com>
05842630 14116
cd22b309
JB
14117 * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
14118 Use correct match group (bug#8438).
05842630 14119
3ba7869c
CY
141202011-04-24 Chong Yidong <cyd@stupidchicken.com>
14121
512e3ae1
CY
14122 * emacs-lisp/package.el (package-built-in-p): Fix typo.
14123 (package-menu--generate): New arg specifying packages to show.
14124 (package-menu-refresh, package-menu-execute, list-packages):
14125 Callers changed.
14126 (package-show-package-list): New function, replacing deleted
14127 package--list-packages (renamed because it is non-internal).
14128
14129 * finder.el (finder-list-matches): Use package-show-package-list
14130 instead of deleted package--list-packages.
14131
e92f3bd3
SM
14132 * vc/vc-annotate.el (vc-annotate-goto-line): New command.
14133 Based on a previous implementation by Juanma Barranquero (Bug#8366).
3ba7869c
CY
14134 (vc-annotate-mode-map): Bind it to RET.
14135
7031be6d
UR
141362011-04-24 Uday S Reddy <u.s.reddy@cs.bham.ac.uk> (tiny change)
14137
14138 * progmodes/etags.el (next-file): Don't use set-buffer to change
14139 buffers (Bug#8478).
14140
4ef177aa
CY
141412011-04-24 Chong Yidong <cyd@stupidchicken.com>
14142
c8d173eb
CY
14143 * files.el (auto-mode-alist): Use js-mode for .json (Bug#8529).
14144
4ef177aa
CY
14145 * apropos.el (apropos-label-face): Avoid variable-pitch face.
14146 (apropos-accumulator): Doc fix.
14147 (apropos-function, apropos-macro, apropos-command)
14148 (apropos-variable, apropos-face, apropos-group, apropos-widget)
14149 (apropos-plist): Add face property.
14150 (apropos-symbols-internal): Fix indentation.
14151 (apropos-print): Simplify help, and recognize apropos-multi-type.
14152 (apropos-print-doc): Use button-type-get to extract the button's
14153 face property. Fill docstring (Bug#8352).
14154
4ffd0d6b 141552011-04-23 Juanma Barranquero <lekktu@gmail.com>
be71f810
JB
14156
14157 * buff-menu.el (Buffer-menu--buffers): Fix typo in docstring (bug#8535).
14158
c6c32125 14159 * play/mpuz.el (mpuz-silent): Doc fix.
4ffd0d6b 14160 (mpuz-mode-map): Use mapc.
c6c32125
JB
14161 (mpuz-put-number-on-board): Rename parameter L to COLUMNS.
14162 (mpuz-letter-to-digit, mpuz-check-all-solved, mpuz-create-buffer):
14163 Fix typos in docstrings.
14164
58d468b4
JB
14165 * play/doctor.el (doc$, doctor-$, doctor-read-print, doctor-read-token)
14166 (doctor-nounp, doctor-pronounp): Fix typos in docstrings.
14167
6470c3c6
JB
14168 * mouse-drag.el (mouse-drag-throw): Fix typo in docstring.
14169
4ffd0d6b 141702011-04-23 Chong Yidong <cyd@stupidchicken.com>
6f21a319
CY
14171
14172 * minibuffer.el (completion--do-completion): Avoid the "Next char
14173 not unique" prompt if icomplete-mode is enabled (Bug#5849).
14174
3ad8bad0
CY
14175 * mouse.el (mouse-drag-mode-line-1): Make sure that if we push
14176 mouse-2 into unread-command-events, it is interpreted correctly.
14177
71d73c9c 14178 * image-mode.el (image-type, image-mode-map, image-minor-mode-map)
6395aab9 14179 (image-toggle-display): Doc fix.
71d73c9c 14180
841a1577 141812011-04-23 Stephen Berman <stephen.berman@gmx.net>
e935c6a2 14182
4ffd0d6b
GM
14183 * textmodes/page.el (what-page): Use line-number-at-pos to
14184 calculate line number (Bug#6825).
6e1dbaa9 14185
c2fb1b60
JB
141862011-04-22 Juanma Barranquero <lekktu@gmail.com>
14187
14188 * eshell/esh-mode.el (find-tag-interactive): Declare function.
14189 (eshell-find-tag): Remove `with-no-warnings', unneeded now.
14190 Pass argument NO-DEFAULT to `find-tag-interactive'.
14191
e02f48d7
JB
141922011-04-22 Juanma Barranquero <lekktu@gmail.com>
14193
14194 Lexical-binding cleanup.
14195
14196 * progmodes/ada-mode.el (ada-after-change-function, ada-loose-case-word)
14197 (ada-no-auto-case, ada-capitalize-word, ada-untab, ada-narrow-to-defun):
14198 * progmodes/ada-prj.el (ada-prj-initialize-values)
14199 (ada-prj-display-page, ada-prj-field-modified, ada-prj-display-help)
14200 (ada-prj-show-value):
14201 * progmodes/ada-xref.el (ada-find-any-references, ada-gdb-application):
14202 * progmodes/antlr-mode.el (antlr-with-displaying-help-buffer)
14203 (antlr-invalidate-context-cache, antlr-options-menu-filter)
14204 (antlr-language-option-extra, antlr-c++-mode-extra, antlr-run-tool):
14205 * progmodes/bug-reference.el (bug-reference-push-button):
14206 * progmodes/fortran.el (fortran-line-length):
14207 * progmodes/glasses.el (glasses-change):
14208 * progmodes/octave-mod.el (octave-fill-paragraph):
14209 * progmodes/python.el (python-mode, python-pdbtrack-track-stack-file)
14210 (python-pdbtrack-grub-for-buffer, python-sentinel):
14211 * progmodes/sql.el (sql-save-connection):
14212 * progmodes/tcl.el (tcl-indent-command, tcl-popup-menu):
14213 * progmodes/xscheme.el (xscheme-enter-debugger-mode):
14214 Mark unused parameters.
14215
14216 * progmodes/compile.el (compilation--flush-directory-cache)
14217 (compilation--flush-parse, compile-internal): Mark unused parameters.
14218 (compilation-buffer-name): Rename parameter MODE-NAME to NAME-OF-MODE.
14219 (compilation-next-error-function): Remove unused variable `timestamp'.
14220
14221 * progmodes/cpp.el (cpp-parse-close): Remove unused variable `begin'.
14222 (cpp-signal-read-only, cpp-grow-overlay): Mark unused parameters.
14223
14224 * progmodes/dcl-mode.el (dcl-end-of-command):
14225 Remove unused variable `start'.
14226 (dcl-calc-command-indent-multiple, dcl-calc-cont-indent-relative)
14227 (dcl-option-value-basic, dcl-option-value-offset)
14228 (dcl-option-value-margin-offset, dcl-option-value-comment-line):
14229 Mark unused parameters.
14230 (dcl-save-local-variable): Remove unused variable `val'.
14231 (mode): Declare.
14232
14233 * progmodes/delphi.el (delphi-save-state, delphi-after-change):
14234 Mark unused parameters.
14235 (delphi-ignore-changes): Move before first use.
14236 (delphi-charset-token-at): Remove unused variable `start'.
14237 (delphi-else-start): Remove unused variable `if-count'.
14238 (delphi-comment-block-start, delphi-comment-block-end):
14239 Remove unused variable `kind'.
14240 (delphi-indent-line): Remove unused variable `new-point'.
14241
14242 * progmodes/ebrowse.el (ebrowse-files-list)
14243 (ebrowse-list-of-matching-members, ebrowse-tags-list-members-in-file):
14244 Mark unused parameters. Don't quote `lambda'.
14245 (ebrowse-sort-tree-list, ebrowse-same-tree-member-buffer-list):
14246 Don't quote `lambda'.
14247 (ebrowse-revert-tree-buffer-from-file, ebrowse-tags-choose-class)
14248 (ebrowse-goto-visible-member/all-member-lists): Mark unused parameters.
14249 (ebrowse-create-tree-buffer): Rename parameter OBARRAY to CLASSES.
14250 (ebrowse-toggle-mark-at-point): Remove unused variable `pnt'.
14251 Use `ignore-errors'.
14252 (ebrowse-frozen-tree-buffer-name, ebrowse-find-source-file)
14253 (ebrowse-view/find-file-and-search-pattern)
14254 (ebrowse-view/find-member-declaration/definition):
14255 Rename parameter TAGS-FILE-NAME to TAGS-FILE.
14256 (ebrowse-find-class-declaration, ebrowse-view-class-declaration):
14257 Rename parameter PREFIX-ARG to PREFIX.
14258 (ebrowse-tags-read-name): Remove unused variables `start' and
14259 `member-info'.
14260 (ebrowse-display-member-buffer): Rename variable `tags-file-name'
14261 to `tags-file'.
14262
14263 * progmodes/etags.el (local-find-tag-hook): Declare.
14264 (tag-partial-file-name-match-p, tag-any-match-p, list-tags):
14265 Mark unused parameters.
14266
14267 * progmodes/executable.el (compilation-error-regexp-alist): Declare.
14268 (executable-interpret): Mark unused parameter.
14269
14270 * progmodes/flymake.el (flymake-process-sentinel)
14271 (flymake-after-change-function)
14272 (flymake-create-temp-with-folder-structure)
14273 (flymake-get-include-dirs-dot): Mark unused parameters.
14274 (flymake-safe-delete-directory): Remove unused variable `err'.
14275
14276 * progmodes/gdb-mi.el (speedbar-change-initial-expansion-list)
14277 (speedbar-timer-fn, speedbar-line-text)
14278 (speedbar-change-expand-button-char, speedbar-delete-subblock)
14279 (speedbar-center-buffer-smartly): Declare functions.
14280 (gdb-find-watch-expression): Remove unused variable `array'.
14281 (gdb-edit-value, gdb-gdb, gdb-ignored-notification, gdb-thread-created)
14282 (gdb-starting): Mark unused parameters.
14283 (gud-gdbmi-marker-filter): Remove unused variable `output-record'.
14284 (gdb-table-string): Remove unused variable `res'.
14285 (gdb-place-breakpoints): Remove unused variables `flag' and `bptno'.
14286 (gdb-disassembly-handler-custom): Remove unused variable `pos'.
14287 (gdb-display-buffer): Remove unused variable `cur-size'.
14288
14289 * progmodes/gud.el (gud-def): Use `defalias' instead of `defun' to
14290 allow lexical-binding compilation.
14291 (gud-expansion-speedbar-buttons, gud-gdb-goto-stackframe)
14292 (gud-dbx-massage-args, gud-xdb-massage-args, gud-perldb-massage-args)
14293 (gud-jdb-massage-args, gud-jdb-find-source, gud-find-class):
14294 Mark unused parameters.
14295 (gud-gdb-marker-filter): Remove unused variable `match'.
14296 (gud-find-class): Bind `syntax-symbol' and `syntax-point' to suitable
14297 lambda expressions and funcall them, instead of using `fset'.
14298
14299 * progmodes/hideif.el (hif-parse-if-exp): Rename parameter
14300 HIF-TOKEN-LIST to TOKEN-LIST and let-bind `hif-token-list'.
14301
14302 * progmodes/hideshow.el (hs-hide-block-at-point): Remove unused
14303 variable `header-beg'; use `let'.
14304
14305 * progmodes/icon.el (indent-icon-exp): Remove unused variables
14306 `restart', `last-sexp' and `at-do'.
14307
14308 * progmodes/js.el (js--debug): Mark unused parameter.
14309 (js--parse-state-at-point): Remove unused variable `bound'; use `let'.
14310 (js--splice-into-items): Remove unused variable `item'.
14311 (js--read-symbol, js--read-tab): Pass 1/-1 to `ido-mode', not t/nil.
14312
14313 * progmodes/make-mode.el (makefile-make-font-lock-keywords):
14314 Rename parameter FONT-LOCK-KEYWORDS to FL-KEYWORDS.
14315 (makefile-complete): Remove unused variable `try'.
14316 (makefile-fill-paragraph, makefile-match-function-end):
14317 Mark unused parameters.
14318
14319 * progmodes/octave-inf.el (inferior-octave-complete):
14320 Remove unused variable `proc'.
14321 (inferior-octave-output-digest): Mark unused parameter.
14322
14323 * progmodes/perl-mode.el (perl-calculate-indent):
14324 Remove unused variable `err'.
14325
14326 * progmodes/prolog.el (prolog-mode-keybindings-inferior)
14327 (prolog-indent-line): Mark unused parameters.
14328 (prolog-indent-line): Remove unused variable `beg'.
14329
14330 * progmodes/ps-mode.el (reporter-prompt-for-summary-p)
14331 (reporter-dont-compact-list): Declare.
14332
14333 * progmodes/sh-script.el (sh-font-lock-quoted-subshell):
14334 Remove unused variable `char'.
14335 (sh-debug): Mark unused parameter.
14336 (sh-get-indent-info): Remove unused variable `start'.
14337 (sh-calculate-indent): Remove unused variable `var'.
14338
14339 * progmodes/simula.el (simula-popup-menu): Mark unused parameter.
14340 (simula-electric-keyword): Remove unused variable `null'.
14341 (simula-search-backward, simula-search-forward): Remove unused
14342 variables `begin' and `end'.
14343
14344 * progmodes/vera-mode.el (vera-guess-basic-syntax):
14345 Remove unused variable `pos'.
14346 (vera-electric-tab, vera-comment-uncomment-region):
14347 Mark unused parameters.
14348 (vera-electric-tab): Rename parameter PREFIX-ARG to PREFIX.
14349
7ede3b65
CY
143502011-04-22 Chong Yidong <cyd@stupidchicken.com>
14351
14352 * emacs-lisp/package.el (package--builtins, package-alist)
14353 (package-load-descriptor, package-built-in-p, package-activate)
14354 (define-package, package-installed-p)
14355 (package-compute-transaction, package-buffer-info)
14356 (package--push): Doc fix. Distinguish more clearly between
14357 version strings and version lists.
14358
121656e9
JB
143592011-04-21 Juanma Barranquero <lekktu@gmail.com>
14360
14361 Lexical-binding cleanup.
14362
14363 * play/5x5.el (5x5-make-random-solution, 5x5-make-mutate-current)
14364 (5x5-make-mutate-best):
14365 * play/fortune.el (fortune-in-buffer):
14366 * play/gomoku.el (gomoku-init-display):
14367 * play/solitaire.el (solitaire, solitaire-do-check):
14368 * play/tetris.el (tetris-default-update-speed-function):
14369 Mark unused parameters.
14370
14371 * play/bubbles.el (bubbles-mode): Set `show-trailing-whitespace'.
14372 (bubbles--shift): Remove unused variable `char-org'.
14373 (bubbles--set-faces): Remove unused variable `fg-col'. Simplify.
14374 (bubbles--show-images): Remove unused variable `char'.
14375
14376 * play/decipher.el (decipher-keypress, decipher-alphabet-keypress)
14377 (decipher-get-undo, decipher-set-map, decipher-complete-alphabet)
14378 (decipher-resync, decipher-loop-with-breaks, decipher--analyze)
14379 (decipher-analyze-buffer): Use ?\s.
14380 (decipher-make-checkpoint): Remove unused variable `mapping'.
14381
14382 * play/doctor.el (doctor-doc): Rename parameter DOCTOR-SENT to SENT.
14383
14384 * play/gamegrid.el (gamegrid-add-score-with-update-game-score):
14385 Remove unused variable `result'; use `let'.
14386
14387 * play/gametree.el (gametree-current-layout, gametree-apply-layout):
14388 Rename parameter TOP-LEVEL to FROM-TOP-LEVEL; use `ignore-errors'.
14389 (gametree-children-shown-p, gametree-compute-reduced-score):
14390 Use `ignore-errors'.
14391
14392 * play/handwrite.el (ps-lpr-switches): Declare.
14393 (handwrite): Remove unused variables `pmin' and `lastp'.
14394
14395 * play/hanoi.el (hanoi-move-ring): Remove unused variable `total-steps'.
14396
14397 * play/landmark.el (landmark-init-display)
14398 (landmark-update-naught-weights): Mark unused parameters.
14399 (landmark-y): Remove unused variable `noise'. Simplify.
14400 (landmark-human-plays): Remove unused variable `score'.
14401
14402 * play/mpuz.el (mpuz-try-letter): Remove unused variable `message'.
14403 (mpuz-try-proposal): Remove unused variable `game'.
14404
14405 * play/zone.el (life-patterns): Declare.
14406
80f499c7
JB
144072011-04-20 Juanma Barranquero <lekktu@gmail.com>
14408
14409 * vc/vc.el (ediff-vc-internal): Declare function.
14410
024ff170
SM
144112011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
14412
c0a193ea
SM
14413 * shell.el: Use lexical-binding and std completion UI.
14414 (shell-filter-ctrl-a-ctrl-b): Work as a preoutput filter.
14415 (shell-mode): Put shell-filter-ctrl-a-ctrl-b on
14416 comint-preoutput-filter-functions rather than on
14417 comint-output-filter-functions.
14418 (shell-command-completion, shell--command-completion-data)
14419 (shell-filename-completion, shell-environment-variable-completion)
14420 (shell-c-a-p-replace-by-expanded-directory): New functions.
14421 (shell-dynamic-complete-functions, shell-dynamic-complete-command)
14422 (shell-dynamic-complete-filename, shell-replace-by-expanded-directory)
14423 (shell-dynamic-complete-environment-variable): Use them.
14424 (shell-dynamic-complete-as-environment-variable)
14425 (shell-dynamic-complete-as-command): Remove.
14426 (shell-match-partial-variable): Match past point.
14427 * comint.el: Clean up use of completion-at-point-functions.
14428 (comint-completion-at-point): New function.
14429 (comint-mode): Use it completion-at-point-functions.
14430 (comint-dynamic-complete): Make it obsolete.
14431 (comint-replace-by-expanded-history-before-point): Add dry-run arg.
14432 (comint-c-a-p-replace-by-expanded-history): New function.
14433 (comint-dynamic-complete-functions)
14434 (comint-replace-by-expanded-history): Use it.
14435 * minibuffer.el (completion-table-with-terminator): Allow dynamic
14436 termination strings. Try harder to avoid second try-completion.
14437 (completion-in-region-mode-map): Disable bindings that don't work yet.
14438
2dbaa080
SM
14439 * comint.el: Use lexical-binding. Require CL.
14440 (comint-dynamic-complete-functions): Use comint-filename-completion.
14441 (comint-completion-addsuffix): Tweak custom type.
14442 (comint-filename-completion, comint--common-suffix)
14443 (comint--common-quoted-suffix, comint--table-subvert)
14444 (comint--complete-file-name-data): New functions.
14445 (comint-dynamic-complete-as-filename, comint-dynamic-complete-filename)
14446 (comint-dynamic-list-filename-completions): Use them.
14447 (comint-dynamic-simple-complete): Make obsolete.
c0a193ea 14448
2dbaa080
SM
14449 * minibuffer.el (completion-in-region-mode):
14450 Keep completion-in-region-mode--predicate global.
14451 (completion-in-region--postch):
14452 Assume completion-in-region-mode--predicate is not null.
14453
c79a6f38
SM
14454 * progmodes/flymake.el (flymake-start-syntax-check-process):
14455 Obey `dir'. Simplify.
14456
024ff170
SM
14457 * vc/vc.el (vc-version-ediff): Call ediff-vc-internal directly, since
14458 we're in VC after all.
14459
1c6c854e
CS
144602011-04-20 Christoph Scholtes <cschol2112@googlemail.com>
14461
14462 * vc/vc.el (vc-diff-build-argument-list-internal)
024ff170 14463 (vc-version-ediff, vc-ediff): New commands.
1c6c854e
CS
14464 (vc-version-diff): Use vc-diff-build-argument-list-internal.
14465
bed7f140
SM
144662011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
14467
332e62ab
SM
14468 * emacs-lisp/byte-opt.el (byte-decompile-bytecode-1): Remove dead code,
14469 add sanity check.
14470
bed7f140
SM
14471 * obsolete/erc-hecomplete.el: Make obsolete.
14472 * obsolete/: Standardize obsolescence info in the header.
14473
f195c582
GM
144742011-04-20 Glenn Morris <rgm@gnu.org>
14475
14476 * calendar/solar.el (solar-horizontal-coordinates):
14477 Use the longitude argument rather than `calendar-longitude'.
14478 (solar-date-next-longitude): Remove unused locals.
14479
cb79b8c0
VJL
144802011-04-20 Vinicius Jose Latorre <viniciusjl@ig.com.br>
14481
14482 * whitespace.el: New version 13.2.1.
14483
144842011-04-20 felix <EmacsWiki> (tiny change)
14485
d8e4b68b 14486 * whitespace.el (global-whitespace-mode): Keep highlight when
cb79b8c0
VJL
14487 switching between major modes on a file.
14488
602ea69d
SM
144892011-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
14490
14491 * progmodes/octave-mod.el (octave-in-comment-p, octave-in-string-p)
14492 (octave-not-in-string-or-comment-p): Use syntax-ppss so it works with
14493 multi-line comments as well.
14494
06b60517
JB
144952011-04-19 Juanma Barranquero <lekktu@gmail.com>
14496
14497 Lexical-binding cleanup.
14498
14499 * arc-mode.el (archive-mode-revert):
14500 * cmuscheme.el (scheme-interactively-start-process):
14501 * custom.el (custom-initialize-delay):
14502 * dnd.el (dnd-open-local-file, dnd-open-remote-url):
14503 * dos-w32.el (direct-print-region-helper, direct-print-region-function):
14504 * emacs-lock.el (emacs-lock-clear-sentinel):
14505 * ezimage.el (defezimage):
14506 * follow.el (follow-avoid-tail-recenter):
14507 * fringe.el (set-fringe-mode-1):
14508 * generic-x.el (bat-generic-mode-compile):
14509 * help-mode.el (help-info-variable, help-do-xref)
14510 (help-mode-revert-buffer):
14511 * help.el (view-emacs-todo):
14512 * iswitchb.el (iswitchb-completion-help):
14513 * jka-compr.el (jka-compr-make-temp-name, jka-compr-load):
14514 * kmacro.el (kmacro-cycle-ring-next, kmacro-cycle-ring-previous)
14515 (kmacro-delete-ring-head, kmacro-bind-to-key, kmacro-view-macro):
14516 * locate.el (locate-update):
14517 * longlines.el (longlines-encode-region)
14518 (longlines-after-change-function):
14519 * outline.el (outline-isearch-open-invisible):
14520 * ps-def.el (declare-function, charset-dimension, char-width)
14521 (encode-char):
14522 * ps-mule.el (ps-mule-plot-string):
14523 * recentf.el (recentf-make-menu-items, recentf-cancel-dialog)
14524 (recentf-edit-list-select, recentf-edit-list-validate)
14525 (recentf-open-files-action):
14526 * rect.el (delete-whitespace-rectangle-line)
14527 (rectangle-number-line-callback):
14528 * register.el (window-configuration-to-register)
14529 (frame-configuration-to-register):
14530 * scroll-bar.el (scroll-bar-mode, toggle-horizontal-scroll-bar):
14531 * select.el (xselect-convert-to-string, xselect-convert-to-length)
14532 (xselect-convert-to-targets, xselect-convert-to-delete)
14533 (xselect-convert-to-filename, xselect-convert-to-charpos)
14534 (xselect-convert-to-lineno, xselect-convert-to-colno)
14535 (xselect-convert-to-os, xselect-convert-to-host)
14536 (xselect-convert-to-user, xselect-convert-to-class)
14537 (xselect-convert-to-name, xselect-convert-to-integer)
14538 (xselect-convert-to-atom, xselect-convert-to-identity):
14539 * subr.el (declare, ignore, process-kill-without-query)
14540 (text-clone-maintain):
14541 * terminal.el (te-get-char, te-tic-sentinel):
14542 * tool-bar.el (tool-bar-make-keymap):
14543 * tooltip.el (tooltip-timeout, tooltip-hide, tooltip-help-tips):
14544 * type-break.el (type-break-mode, type-break-noninteractive-query):
14545 * view.el (View-back-to-mark):
14546 * wid-browse.el (widget-browse-action, widget-browse-widget)
14547 (widget-browse-widgets, widget-browse-sexp):
14548 * widget.el (define-widget-keywords):
14549 * xt-mouse.el (xterm-mouse-translate, turn-off-xterm-mouse-tracking):
14550 Mark unused parameters.
14551
14552 * align.el (align-adjust-col-for-rule): Mark unused parameter.
14553 (align-areas): Remove unused variable `look'.
14554 (align-region): Remove unused variables `real-end' and `pos-list'.
14555
14556 * apropos.el (apropos-score-doc): Remove unused variable `i'.
14557
14558 * bindings.el (mode-line-modified, mode-line-remote):
14559 Mark unused parameters.
14560 (mode-line-mule-info): Mark unused parameter; don't quote `lambda'.
14561
14562 * buff-menu.el (Buffer-menu-revert-function): Mark unused parameters.
14563 (Buffer-menu-mode): Mark unused parameter; don't quote `lambda'.
14564
14565 * comint.el (comint-history-isearch-pop-state)
14566 (comint-postoutput-scroll-to-bottom, comint-truncate-buffer)
14567 (comint-strip-ctrl-m, comint-read-noecho): Mark unused parameters.
14568 (comint-substitute-in-file-name): Doc fix.
14569
14570 * completion.el (cmpl-statistics-block): Mark unused parameter.
14571 (add-completions-from-tags-table, add-completions-from-lisp-buffer)
14572 (save-completions-to-file, load-completions-from-file):
14573 Remove unused local variable `e'.
14574
14575 * composite.el (compose-chars): Remove unused variable `len'.
14576 (lgstring-insert-glyph): Remove unused variable `g'.
14577 (compose-glyph-string): Remove unused variables `ascent',
14578 `descent', `lbearing' and `rbearing'.
14579 (compose-glyph-string-relative): Remove unused variables
14580 `lbearing', `rbearing' and `wadjust'.
14581 (compose-gstring-for-graphic): Remove unused variables `header',
14582 `wadjust', `xoff' and `yoff'. Use `let', not `let*'.
14583 (compose-gstring-for-terminal): Remove unused variables `header'
14584 and `nchars'. Use `let', not `let*'.
14585
14586 * cus-edit.el (Custom-set, Custom-save, custom-reset)
14587 (Custom-reset-current, Custom-reset-saved, Custom-reset-standard)
14588 (Custom-buffer-done, custom-buffer-create-internal)
14589 (custom-browse-visibility-action, custom-browse-group-tag-action)
14590 (custom-browse-variable-tag-action, custom-browse-face-tag-action)
14591 (widget-magic-mouse-down-action, custom-toggle-parent)
14592 (custom-add-parent-links, custom-toggle-hide-variable)
14593 (custom-face-edit-value-visibility-action, custom-face-edit-fix-value)
14594 (custom-toggle-hide-face, face, hook, custom-group-link-action)
14595 (custom-face-menu-create, custom-variable-menu-create, get)
14596 (custom-group-menu-create, Custom-no-edit): Mark unused parameters.
14597 (custom-reset-standard-save-and-update): Remove unused variable `value'.
14598 (customize-apropos): Remove unused variable `tests'.
14599 (custom-group-value-create): Remove unused variable `hidden-p'.
14600 (sort-fold-case): Declare.
14601
14602 * cus-theme.el (custom-reset-standard-faces-list)
14603 (custom-reset-standard-variables-list): Declare.
14604 (customize-create-theme, custom-theme-revert, custom-theme-write)
14605 (custom-theme-choose-mode, customize-themes, custom-theme-save):
14606 Mark unused parameters.
14607
14608 * dabbrev.el (dabbrev-completion): Remove unused variable `init'.
14609
14610 * delim-col.el (delimit-columns-max): Move defvar before first use.
14611
14612 * descr-text.el (describe-char-categories): Don't quote `lambda'.
bd0d2ee2 14613 (describe-char): Don't quote `lambda'. Mark unused parameter.
06b60517
JB
14614
14615 * desktop.el (desktop-save-buffer-p): Mark unused parameter.
14616 (auto-insert): Declare.
14617 (desktop-restore-file-buffer): Rename desktop-* parameters;
14618 mark unused ones.
14619 (desktop-create-buffer): Rename desktop-* parameters and bind them.
14620 (desktop-buffer): Rename desktop-* parameters.
14621
14622 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
14623 (dframe-reposition-frame-xemacs, dframe-help-echo)
14624 (dframe-hack-buffer-menu, dframe-set-timer, dframe-set-timer-internal):
14625 Mark unused parameters.
14626
14627 * dired-aux.el (backup-extract-version-start, overwrite-query)
14628 (overwrite-backup-query, rename-regexp-query)
14629 (rename-non-directory-query): Declare.
14630 (dired-shell-stuff-it, dired-do-create-files): Mark unused parameters.
14631 (dired-add-entry): Remove unused variable `orig-file-name'.
14632 (dired-copy-file-recursive): Remove unused variable `dirfailed'.
14633 Use parameter PRESERVE-TIME instead of accessing dynamic variable
14634 `dired-copy-preserve-time' directly.
14635 (dired-do-create-files-regexp): Remove unused variable `fn-count'.
14636 (dired-insert-subdir-newpos): Rename unused variable `pos'.
14637
14638 * dired-x.el (dired-omit-size-limit): Move defcustom before first use.
14639 (dired-virtual-revert, dired-make-relative-symlink):
14640 Mark unused parameters.
14641 (manual-program): Declare.
14642 (dired-x-hands-off-my-keys): Rename parameters of lambda expression.
14643 (inode, s, mode, nlink, uid, gid, size, time, name, sym): Declare them,
14644 wrapped in `with-no-warnings' to avoid replacing one warning by another.
14645
14646 * dirtrack.el (dirtrack): Remove unused variable `multi-line'.
14647
14648 * dos-fns.el (dos-8+3-filename): Remove unused variable `i'.
14649
14650 * echistory.el (electric-history-in-progress, Helper-return-blurb):
14651 Declare.
14652
14653 * edmacro.el (edmacro-finish-edit): Remove unused variable `kmacro'.
14654
14655 * electric.el (Electric-command-loop): Rename parameter
14656 INHIBIT-QUIT to INHIBIT-QUITTING and bind `inhibit-quit'.
14657
14658 * expand.el (expand-in-literal): Remove unused variable `here'.
14659
14660 * facemenu.el (facemenu-add-new-color):
14661 Remove unused variable `docstring'.
14662
14663 * faces.el (face-id, make-face-bold, make-face-unbold, make-face-italic)
14664 (make-face-unitalic, make-face-bold-italic): Mark unused parameters.
14665 (face-attr-construct): Mark unused parameter. Doc fix.
14666 (read-color): Remove unused variable `hex-string'.
14667
14668 * files.el (parse-colon-path): Rename argument CD-PATH to SEARCH-PATH.
14669 (locate-dominating-file): Remove unused vars `prev-file' and `user'.
14670 (remote-file-name-inhibit-cache, revert-buffer): Clean up docstrings.
14671 (display-buffer-other-frame): Remove unused variable `old-window'.
14672 (kill-buffer-hook): Declare.
14673 (insert-file-contents-literally, set-auto-mode, risky-local-variable-p):
14674 Mark unused parameters.
14675 (after-find-file): Pass 1 to `auto-save-mode', not t.
14676
14677 * files-x.el (auto-insert): Declare.
14678 (modify-file-local-variable-prop-line): Remove unused variable `val'.
14679
14680 * find-lisp.el (find-lisp-find-dired-internal): Remove unused
bd0d2ee2 14681 variable `buf'. Mark unused parameter.
06b60517
JB
14682 (find-lisp-insert-directory): Mark unused parameter.
14683
14684 * format.el (format-decode-run-method): Mark unused parameter; doc fix.
14685 (format-encode-region): Remove unused variables `cur-buf' and `result'.
14686 (format-common-tail): Remove, unused.
14687 (format-deannotate-region): Remove unused variable `loc'.
14688 (format-annotate-region): Remove unused variable `p'.
14689 (format-annotate-single-property-change): Remove unused variables
14690 `default' and `tail'.
14691
14692 * forms.el (read-file-filter): Declare.
14693 (forms--iif-hook, forms--revert-buffer): Mark unused parameters.
14694
14695 * frame.el (frame-creation-function-alist): Mark unused parameter.
14696 (frame-geom-spec-cons): Pass FRAME to `frame-geom-value-cons'.
14697
14698 * hilit-chg.el (hilit-chg-cust-fix-changes-face-list, hilit-chg-clear):
14699 Remove unused parameters.
14700 (hilit-chg-set-face-on-change): Remove unused variable `beg-decr'.
14701 (highlight-compare-with-file): Remove unused variable `buf-b-read-only'.
14702
14703 * htmlfontify.el (hfy-default-footer, hfy-decor, hfy-invisible)
14704 (hfy-parse-tags-buffer, hfy-prepare-index-i, hfy-prepare-index)
14705 (hfy-prepare-tag-map): Mark unused parameters.
14706 (htmlfontify-buffer): Use `called-interactively-p'.
14707
14708 * ibuf-ext.el (ibuffer-do-kill-lines, ibuffer-jump-to-buffer)
14709 (ibuffer-copy-filename-as-kill, ibuffer-mark-on-buffer)
14710 (ibuffer-do-occur): Mark unused parameters.
14711 (ibuffer-forward-next-marked): Remove unused variable `curmark'.
14712 (ibuffer-diff-buffer-with-file-1): Remove unused variable `proc'.
14713
14714 * ibuffer.el: Don't quote `lambda'.
14715 (ibuffer-count-marked-lines, ibuffer-count-deletion-lines)
14716 (ibuffer-unmark-all, ibuffer-toggle-marks, ibuffer-redisplay-engine):
14717 Mark unused parameters.
14718
14719 * ido.el (ido-mode, ido-wide-find-dir-or-delete-dir)
14720 (ido-completing-read): Mark unused parameters.
14721 (ido-copy-current-word): Mark unused parameters;
14722 remove unused variable `name'.
14723 (ido-sort-merged-list): Remove unused parameter `dirs'.
14724
14725 * ielm.el (ielm-input-sender): Mark unused parameter.
14726 (ielm-string, ielm-form, ielm-pos, ielm-result, ielm-error-type)
14727 (ielm-output, ielm-wbuf, ielm-pmark): Declare.
14728 (ielm-eval-input): Rename argument IELM-STRING to INPUT-STRING to keep
14729 `ielm-string' as a dynamic variable accessible from the IELM prompt.
14730 Bind `ielm-string' to INPUT-STRING. Remove unused variable `err'.
14731
14732 * image-dired.el (image-dired-display-thumbs): Remove unused
14733 variables `curr-file' and `count'.
14734 (image-dired-remove-tag): Remove unused variable `start'.
14735 (image-dired-tag-files, image-dired-create-thumbs): Remove unused
14736 variable `curr-file'
14737 (image-dired-rotate-original): Remove unused variable `temp-file'.
14738 (image-dired-mouse-select-thumbnail, image-dired-mouse-toggle-mark):
14739 Remove unused variable `file'.
14740 (image-dired-gallery-generate): Remove unused variable `curr'.
14741 (image-dired-dired-edit-comment-and-tags): Mark unused parameters.
14742
14743 * indent.el (tab-to-tab-stop): Remove unused variable `opoint'.
14744
14745 * info-xref.el (info-xref-goto-node-p): Remove unused variable `err'.
14746
14747 * informat.el (texinfo-command-start, texinfo-command-end): Declare.
14748
14749 * isearch.el (minibuffer-history-symbol): Declare.
14750 (isearch-edit-string): Remove unused variable `err'.
14751 (isearch-message-prefix, isearch-message-suffix):
14752 Mark unused parameters.
14753
14754 * ls-lisp.el (ls-lisp-insert-directory): Remove unused variable `fil'.
14755
14756 * macros.el (insert-kbd-macro): Remove unused variable `mods'.
14757
14758 * makesum.el (double-column): Remove unused variable `cnt'.
14759
14760 * misearch.el (multi-isearch-pop-state): Mark unused parameter.
14761 (ido-ignore-item-temp-list): Declare.
14762
14763 * mouse-drag.el (mouse-drag-throw): Remove unused variables
14764 `mouse-delta', `window-last-row', `mouse-col-delta', `window-last-col',
14765 `adjusted-mouse-col-delta' and `adjusted-mouse-delta'.
14766 (mouse-drag-drag): Remove unused variables `mouse-delta' and
14767 `mouse-col-delta'.
14768
14769 * mouse-sel.el (mouse-extend-internal):
14770 Remove unused variable `orig-window-frame'.
14771
14772 * pcomplete.el (pcomplete-args, pcomplete-begins, pcomplete-last)
14773 (pcomplete-index, pcomplete-stub, pcomplete-seen, pcomplete-norm-func):
14774 Move declarations before first use.
14775 (pcomplete-opt): Mark unused parameters; doc fix.
14776
14777 * proced.el (proced-revert): Mark unused parameter.
14778 (proced-send-signal): Remove unused variable `err'.
14779
14780 * ps-print.el (ps-print-preprint-region, ps-print-preprint):
14781 Rename parameter PREFIX-ARG to ARG.
14782 (ps-basic-plot-string, ps-basic-plot-whitespace):
14783 Mark unused parameters.
14784
14785 * replace.el (replace-count): Define.
14786 (occur-revert-function): Mark unused parameters.
14787 (ido-ignore-item-temp-list, isearch-error, isearch-forward)
14788 (isearch-case-fold-search, isearch-string): Declare.
14789 (occur-engine): Rename parameter CASE-FOLD-SEARCH to CASE-FOLD and
14790 bind `case-fold-search'. Remove unused variables `beg' and `end',
14791 and simplify.
14792 (replace-eval-replacement): Rename parameter REPLACE-COUNT to
14793 COUNT and bind `replace-count'.
14794 (replace-loop-through-replacements): Rename parameter REPLACE-COUNT
14795 to COUNT.
14796
14797 * savehist.el (print-readably, print-string-length): Declare.
14798
14799 * shadowfile.el (shadow-expand-cluster-in-file-name):
14800 Remove unused variable `cluster'.
14801 (shadow-copy-file): Remove unused variable `i'.
14802 (shadow-noquery, shadow-clusters, shadow-site-cluster)
14803 (shadow-parse-fullname, shadow-parse-name, shadow-define-cluster)
14804 (shadow-define-literal-group, shadow-define-regexp-group)
14805 (shadow-make-group, shadow-shadows-of): Clean up docstrings.
14806
14807 * shell.el (shell-filter-ctrl-a-ctrl-b): Mark unused parameter.
14808 (shell): Use `called-interactively-p'.
14809 (shell-directory-tracker): Remove unused variable `chdir-failure'.
14810
14811 * simple.el (compilation-context-lines, comint-file-name-quote-list)
14812 (comint-file-name-chars, comint-delimiter-argument-list): Declare.
14813 (delete-backward-char): Remove unused variable `ocol'.
14814 (minibuffer-avoid-prompt, minibuffer-history-isearch-pop-state)
14815 (line-move-1, event-apply-alt-modifier, event-apply-super-modifier)
14816 (event-apply-hyper-modifier, event-apply-shift-modifier)
14817 (event-apply-control-modifier, event-apply-meta-modifier):
14818 Mark unused parameters.
14819 (undo-make-selective-list): Remove duplicate variable `undo-elt'.
14820 (normal-erase-is-backspace-mode): Remove unused variable `old-state'.
14821
14822 * speedbar.el (speedbar-ignored-directory-expressions)
14823 (speedbar-supported-extension-expressions, speedbar-directory-buttons)
14824 (speedbar-find-file, speedbar-dir-follow)
14825 (speedbar-directory-buttons-follow, speedbar-tag-find)
14826 (speedbar-buffer-buttons, speedbar-buffer-buttons-temp)
14827 (speedbar-buffers-line-directory, speedbar-buffer-click):
14828 Mark unused parameters.
14829 (speedbar-tag-file): Remove unused variable `mode'.
14830 (speedbar-buffers-tail-notes): Remove unused variable `mod'; simplify.
14831
14832 * strokes.el (strokes-decode-buffer): Remove unused variable `ext'.
14833
14834 * talk.el (talk): Remove unused variable `display'.
14835
14836 * tar-mode.el (tar-subfile-save-buffer): Remove unused variable `name'.
14837 (tar-write-region-annotate): Mark unused parameter.
14838
14839 * time.el (now, time, load, mail, 24-hours, hour, 12-hours, am-pm)
14840 (minutes, seconds, time-zone, day, year, monthname, month, dayname):
14841 Declare them, wrapped in `with-no-warnings' to avoid replacing one
14842 warning by another.
14843
14844 * time-stamp.el (time-stamp-string-preprocess):
14845 Remove unused variable `require-padding'.
14846
14847 * tree-widget.el (widget-glyph-enable): Declare.
14848 (tree-widget-action): Mark unused parameter.
14849
14850 * w32-fns.el (x-get-selection): Mark unused parameter.
14851 (autoload-make-program, generated-autoload-file): Declare.
14852
14853 * wdired.el (wdired-revert): Mark unused parameters.
14854 (wdired-xcase-word): Remove unused variable `err'.
14855
14856 * whitespace.el (whitespace-buffer-changed): Mark unused parameters.
14857 (whitespace-help-scroll): Remove unused variable `data-help'.
14858
14859 * wid-edit.el (widget-mouse-help, widget-overlay-inactive)
14860 (widget-image-insert, widget-after-change, default)
14861 (widget-default-format-handler, widget-default-notify)
14862 (widget-default-prompt-value, widget-info-link-action)
14863 (widget-url-link-action, widget-function-link-action)
14864 (widget-variable-link-action, widget-file-link-action)
14865 (widget-emacs-library-link-action, widget-emacs-commentary-link-action)
14866 (widget-field-prompt-internal, widget-field-action, widget-field-match)
14867 (widget-choice-mouse-down-action, toggle, widget-radio-button-notify)
14868 (widget-insert-button-action, widget-delete-button-action, visibility)
14869 (widget-documentation-link-action, widget-documentation-string-action)
14870 (widget-const-prompt-value, widget-regexp-match, symbol)
14871 (widget-coding-system-prompt-value)
14872 (widget-key-sequence-value-to-external, sexp)
14873 (widget-sexp-value-to-internal, character, vector, cons)
14874 (widget-choice-prompt-value, widget-boolean-prompt-value)
14875 (widget-color--choose-action): Mark unused parameters.
14876 (widget-item-match-inline, widget-choice-match-inline)
14877 (widget-checklist-match, widget-checklist-match-inline)
14878 (widget-group-match): Rename parameter VALUES to VALS.
14879 (widget-field-value-set): Remove unused variable `size'.
14880 (widget-color-action): Remove unused variables `value' and `start'.
14881
14882 * windmove.el (windmove-wrap-loc-for-movement): Remove unused
bd0d2ee2 14883 variable `dir'. Doc fix.
06b60517
JB
14884 (windmove-find-other-window): Don't pass it.
14885
14886 * window.el (count-windows): Mark unused parameter.
14887 (bw-adjust-window): Remove unused variable `err'.
14888
14889 * woman.el (woman-file-name): Remove unused variable `default'.
14890 (woman-expand-directory-path): Rename parameters WOMAN-MANPATH and
14891 WOMAN-PATH to PATH-DIRS and PATH-REGEXPS, respectively.
14892 (global-font-lock-mode): Declare.
14893 (woman-decode-region): Mark unused parameter.
14894 (woman-get-tab-stop): Rename parameter TAB-STOP-LIST to TAB-STOPS.
14895
14896 * x-dnd.el (x-dnd-default-test-function, x-dnd-handle-old-kde)
14897 (x-dnd-handle-xdnd, x-dnd-handle-motif): Mark unused parameters.
14898 (x-dnd-handle-moz-url): Remove unused variable `title'.
14899 (x-dnd-handle-xdnd): Remove unused variables `x', `y' and `ret-action'.
14900
14901 * xml.el (xml-parse-tag, xml-parse-attlist):
14902 Remove unused variable `pos'.
14903
bc4f7f3d
GM
149042011-04-19 Glenn Morris <rgm@gnu.org>
14905
14906 * calendar/cal-tex.el (cal-tex-list-holidays, cal-tex-cursor-month)
14907 (cal-tex-cursor-week, cal-tex-cursor-week2, cal-tex-cursor-week-iso)
14908 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
14909 (cal-tex-cursor-filofax-daily, cal-tex-mini-calendar)
14910 * calendar/cal-html.el (cal-html-insert-minical):
14911 * calendar/diary-lib.el (diary-list-entries-1, diary-list-entries)
14912 (calendar-mark-date-pattern):
14913 Prefix "unused" locals.
14914
14915 * calendar/cal-dst.el (dst-adjust-time): Remove never-implemented
14916 optional argument `style'.
14917
14918 * calendar/appt.el (appt-make-list):
14919 * calendar/cal-china.el (calendar-chinese-date-string):
14920 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits)
14921 (diary-hebrew-yahrzeit):
14922 * calendar/cal-tex.el (cal-tex-last-blank-p, cal-tex-cursor-week2):
14923 * calendar/calendar.el (calendar-generate-window):
14924 * calendar/time-date.el (time-to-days):
14925 Remove unused local variables.
14926
16a43933
CY
149272011-04-18 Chong Yidong <cyd@stupidchicken.com>
14928
14929 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Use a custom
14930 glyphless-char-display table.
14931 (tabulated-list-glyphless-char-display): New var.
14932
7eed1860
SS
149332011-04-18 Sam Steingold <sds@gnu.org>
14934
14935 * vc/add-log.el (change-log-font-lock-keywords): Add "Thanks to"
14936 to acknowledgments.
14937
4d2d1ccd
GM
149382011-04-17 Glenn Morris <rgm@gnu.org>
14939
14940 * calendar/diary-lib.el (diary-sexp-entry):
14941 * calendar/holidays.el (holiday-sexp):
14942 Set debug-on-error rather than the removed stack-trace-on-error.
14943
239da61d
GM
149442011-04-16 Glenn Morris <rgm@gnu.org>
14945
14946 * progmodes/f90.el: Use lexical-binding.
14947 (f90-get-correct-indent): Remove unnecessary local variable `cont'.
14948
8b05752a
SM
149492011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
14950
daca8ba5
SM
14951 * mail/sendmail.el (mail-mode-map): Use completion-at-point.
14952 (mail-mode): Setup mailalias completion here instead.
14953 * mail/mailalias.el: Use lexical-binding.
14954 (pattern, mailalias-done): Declare dynamic.
14955 (mail-completion-at-point-function): New function, from mail-complete.
14956 (mail-complete): Use it.
14957 (mail-completion-expand): New function.
14958 (mail-get-names): Use it.
14959 (mail-directory, mail-directory-process, mail-directory-stream):
14960 Don't use `pattern' for lexically bound arg.
14961
6f542485
SM
14962 * emacs-lisp/lisp-mode.el (eval-defun-2): Use eval-sexp-add-defvars.
14963
037e7c3f
SM
14964 * htmlfontify.el (hfy-etags-cmd): Remove inoperant eval-and-compile.
14965 (hfy-e2x-etags-cmd, hfy-etags-cmd-alist-default)
14966 (hfy-etags-cmd-alist): Don't eval-and-compile any more.
14967
8b05752a
SM
14968 * emacs-lisp/bytecomp.el (byte-temp-output-buffer-show)
14969 (byte-save-window-excursion, byte-temp-output-buffer-setup)
14970 (byte-interactive-p): Define them again, for use when inlining
14971 old code.
14972
49093f60
JB
149732011-04-15 Juanma Barranquero <lekktu@gmail.com>
14974
14975 * loadup.el: Use `string-to-number', not `string-to-int'.
14976
b5b8e7de
SM
149772011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
14978
14979 * progmodes/gud.el (gud-gdb): Use completion-at-point instead of
14980 gud-gdb-complete-command.
14981 (gud-gdb-completions): New function, from gud-gdb-complete-command.
14982 (gud-gdb-completion-at-point): New function.
14983 (gud-gdb-completions): Remove.
14984
f42efeb5
MA
149852011-04-14 Michael Albinus <michael.albinus@gmx.de>
14986
49093f60
JB
14987 * net/tramp-sh.el (tramp-sh-handle-file-attributes): Handle the case
14988 when the scripts fail. Use `tramp-do-file-attributes-with-ls' then.
14989 (tramp-do-copy-or-rename-file-out-of-band): Do not check any longer
14990 whether `executable-find' is bound.
f42efeb5
MA
14991
14992 * net/tramp-smb.el (tramp-smb-handle-copy-file): Fix docstring.
14993
e240cc21
SM
149942011-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
14995
14996 * minibuffer.el (completion-in-region-mode-predicate)
14997 (completion-in-region-mode--predicate): New vars.
14998 (completion-in-region, completion-in-region--postch)
14999 (completion-in-region-mode): Use them.
15000 (completion--capf-wrapper): Also return the hook function.
15001 (completion-at-point, completion-help-at-point):
15002 Adjust and provide a predicate.
c2bd2ab0
SM
15003
15004 Preserve arg names for advice of subr and lexical functions (bug#8457).
15005 * help-fns.el (help-function-arglist): Consolidate the subr and
15006 new-byte-code cases. Add argument `preserve-names' to extract names
15007 from the docstring when needed.
15008 * emacs-lisp/advice.el (ad-define-subr-args, ad-undefine-subr-args)
15009 (ad-subr-args-defined-p, ad-get-subr-args, ad-subr-arglist): Remove.
15010 (ad-arglist): Use help-function-arglist's new arg.
15011 (ad-definition-type): Use cond.
15012
c183f693
JB
150132011-04-13 Juanma Barranquero <lekktu@gmail.com>
15014
06641a47
JB
15015 * autorevert.el (auto-revert-handler):
15016 Bind `remote-file-name-inhibit-cache', not `tramp-cache-inhibit-cache',
15017 which was removed in 2010-10-02T13:21:43Z!michael.albinus@gmx.de.
15018 Don't quote lambda.
15019
c183f693
JB
15020 * image-mode.el (image-transform-set-scale):
15021 Fix change in 2011-04-09T20:28:01Z!cyd@stupidchicken.com.
15022
1e3b6001
G
150232011-04-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
15024
15025 * net/network-stream.el (network-stream-open-starttls): Only do
e9fce1ac 15026 opportunistic STARTTLS upgrades if we have built-in GnuTLS support.
1e3b6001
G
15027 Upgrades via gnutls-cli are too slow to be done opportunistically.
15028
2d6af8dd
JB
150292011-04-12 Juanma Barranquero <lekktu@gmail.com>
15030
15031 * dframe.el (dframe-current-frame): Remove spurious quote.
15032
c0749a51
GM
150332011-04-12 Glenn Morris <rgm@gnu.org>
15034
088d0d61
GM
15035 * calendar/cal-tex.el (cal-tex-end-document):
15036 Try to automatically use latin1 input if needed.
15037
c0749a51
GM
15038 * calendar/cal-hebrew.el (diary-hebrew-rosh-hodesh):
15039 Don't try to cons a mark onto an empty element.
15040
5c90fde0
LL
150412011-04-11 Leo Liu <sdl.web@gmail.com>
15042
15043 * ido.el (ido-buffer-internal): Allow method 'kill for virtual
15044 buffers.
15045 (ido-kill-buffer-at-head): Support killing virtual buffers.
15046
369e974d
CY
150472011-04-10 Chong Yidong <cyd@stupidchicken.com>
15048
15049 * minibuffer.el (completion-show-inline-help): New var.
15050 (completion--do-completion, minibuffer-complete)
daca8ba5
SM
15051 (minibuffer-force-complete, minibuffer-complete-word):
15052 Inhibit minibuffer messages if completion-show-inline-help is nil.
369e974d
CY
15053
15054 * icomplete.el (icomplete-mode): Bind completion-show-inline-help
15055 to avoid interference from inline help (Bug#5849).
15056
37f1c930
LL
150572011-04-10 Leo Liu <sdl.web@gmail.com>
15058
099c39a4
JB
15059 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
15060 Fix typo.
37f1c930 15061
a32d4040
CY
150622011-04-09 Chong Yidong <cyd@stupidchicken.com>
15063
15064 * image-mode.el (image-toggle-display-image): Signal an error if
15065 not in Image mode.
15066 (image-transform-mode, image-transform-resize)
15067 (image-transform-set-rotation): Doc fix.
daca8ba5 15068 (image-transform-set-resize): Delete.
a32d4040
CY
15069 (image-transform-set-scale, image-transform-fit-to-height)
15070 (image-transform-fit-to-width): Handle image-toggle-display-image
15071 and image-transform-resize directly.
15072
099c39a4 150732011-04-08 Sho Nakatani <lay.sakura@gmail.com>
d7b89879
TH
15074
15075 * doc-view.el (doc-view-fit-width-to-window)
099c39a4
JB
15076 (doc-view-fit-height-to-window, doc-view-fit-page-to-window):
15077 New functions for fitting the shown image to the Emacs window size.
d7b89879
TH
15078 (doc-view-mode-map): Add bindings for the new functions.
15079
099c39a4 150802011-04-08 Juanma Barranquero <lekktu@gmail.com>
ddc20cdb 15081
4d61f28d 15082 * vc/vc-annotate.el (vc-annotate-show-log-revision-at-line):
ddc20cdb
JB
15083 Fix typo in docstring.
15084
3726838a
EZ
150852011-04-08 Eli Zaretskii <eliz@gnu.org>
15086
04f33f1e
EZ
15087 * files.el (file-size-human-readable): Produce one digit after
15088 decimal, like "ls -lh" does.
15089
15090 * ls-lisp.el (ls-lisp-format-file-size): Allow for 7 characters in
15091 the file size representation.
15092
3726838a
EZ
15093 * simple.el (list-processes): If async subprocesses are not
15094 available, error out with a clear error message.
15095
cbb59342
CY
150962011-04-08 Chong Yidong <cyd@stupidchicken.com>
15097
15098 * help.el (help-form-show): New function, to be called from C.
15099 Put help-form output in a buffer named differently than *Help*.
15100
e3971c44
EZ
151012011-04-08 Eli Zaretskii <eliz@gnu.org>
15102
15103 * files.el (file-size-human-readable): New function.
15104
15105 * ls-lisp.el (ls-lisp-format-file-size): Use it, instead of
15106 computing the representation inline. Don't require `cl'.
15107
12544bbe
GM
151082011-04-08 Glenn Morris <rgm@gnu.org>
15109
a1de6c6a
GM
15110 * man.el (Man-page-header-regexp): Solaris < 2.6 no longer supported.
15111
3c4671f4
GM
15112 * net/browse-url.el (browse-url-firefox):
15113 Test system-type, not system-configuration.
15114
b605679c
GM
15115 * vc/log-edit.el (log-edit-empty-buffer-p): New function.
15116 (log-edit-insert-cvs-template, log-edit-insert-cvs-rcstemplate):
15117 Use log-edit-empty-buffer-p. (Bug#7598)
15118
56442f0c
GM
15119 * net/rlogin.el (rlogin-process-connection-type): Simplify.
15120 (rlogin-mode-map): Initialize in the defvar.
15121 (rlogin): Use ignore-errors.
15122
12544bbe
GM
15123 * replace.el (occur-mode-map): Some fixes for menu items.
15124
eb237b0f
AH
151252011-04-07 Aaron S. Hawley <aaron.s.hawley@gmail.com>
15126
15127 * play/morse.el (denato-region): Handle varying case. (Bug#8386)
15128
7d668f2c
CY
151292011-04-06 Chong Yidong <cyd@stupidchicken.com>
15130
e67a13ab
CY
15131 * emacs-lisp/cconv.el (cconv--analyse-use): Ignore "ignored" when
15132 issuing unused warnings.
15133
15134 * emacs-lisp/tabulated-list.el (tabulated-list-print): Use lambda
15135 macro directly.
15136
7d668f2c
CY
15137 * simple.el: Lisp reimplement of list-processes. Based on an
15138 earlier reimplementation by Leo Liu, but using tabulated-list.el.
15139 (process-menu-mode): New major mode.
15140 (list-processes--refresh, list-processes):
15141 (process-menu-visit-buffer): New functions.
15142
15143 * files.el (save-buffers-kill-emacs): Don't assume any return
15144 value of list-processes, which is undocumented anyway.
15145
a83ec3c9
CY
151462011-04-06 Chong Yidong <cyd@stupidchicken.com>
15147
15148 * emacs-lisp/tabulated-list.el: New file.
15149
e91a96fe
CY
15150 * emacs-lisp/package.el: Use Tabulated List mode.
15151 (package-menu-mode-map): Inherit from tabulated-list-mode-map.
15152 (package-menu-mode): Derive from tabulated-list-mode. Set up the
15153 table format using Tabulated List mode variables.
15154 (package--push): New macro, replacing package-list-maybe-add.
15155 (package-menu--generate): Use package--push. Renamed from
15156 package--generate-package-list.
15157 (package-menu-refresh, list-packages): Use it.
daca8ba5 15158 (package-menu--print-info): Rename from package-print-package.
e91a96fe 15159 Return insertion data instead of inserting it directly.
099c39a4
JB
15160 (package-menu-describe-package, package-menu-execute):
15161 Use tabulated-list-get-id.
e91a96fe
CY
15162 (package-menu-mark-delete, package-menu-mark-install)
15163 (package-menu-mark-unmark, package-menu-backup-unmark)
099c39a4
JB
15164 (package-menu-mark-obsolete-for-deletion):
15165 Use tabulated-list-put-tag.
e91a96fe
CY
15166 (package--list-packages, package-menu-revert)
15167 (package-menu-get-package, package-menu-get-version)
15168 (package-menu-sort-by-column): Functions deleted.
15169 (package-menu-package-list, package-menu-sort-key): Vars deleted.
15170 (package-menu--status-predicate, package-menu--version-predicate)
15171 (package-menu--name-predicate)
15172 (package-menu--description-predicate): Handle arguments in the
15173 Tabulated List format.
15174 (package-list-packages-no-fetch): Call list-packages.
15175
3e214b50
JB
151762011-04-06 Juanma Barranquero <lekktu@gmail.com>
15177
15178 * files.el (after-find-file-from-revert-buffer): Remove variable.
c9d0ec6d 15179 (after-find-file): Don't bind it.
3e214b50
JB
15180 (revert-buffer-in-progress-p): New variable.
15181 (revert-buffer): Bind it.
15182 Pass nil for `after-find-file-from-revert-buffer'.
15183
15184 * saveplace.el (save-place-find-file-hook): Use new variable
15185 `rever-buffer-in-progress-p', not `after-find-file-from-revert-buffer'.
15186
3f0f1700
GM
151872011-04-06 Glenn Morris <rgm@gnu.org>
15188
c0274801
GM
15189 * Makefile.in (AUTOGEN_VCS): New variable.
15190 (autoloads): Use $AUTOGEN_VCS.
15191
3f0f1700
GM
15192 * calendar/cal-move.el (calendar-scroll-toolkit-scroll): New function.
15193 * calendar/calendar.el (calendar-mode-map):
15194 Check for toolkit scroll bars. (Bug#8305)
15195
41ea9e48
CY
151962011-04-05 Chong Yidong <cyd@stupidchicken.com>
15197
15198 * minibuffer.el (completion-in-region--postch)
15199 (completion-in-region-mode): Remove unnecessary messages.
15200
6194c800
JB
152012011-04-05 Juanma Barranquero <lekktu@gmail.com>
15202
33256f14
JB
15203 * font-lock.el (font-lock-refresh-defaults):
15204 Don't bind `hi-lock--inhibit-font-lock-hook', removed in
15205 2010-10-09T04:09:19Z!cyd@stupidchicken.com and 2010-10-11T23:57:49Z!lekktu@gmail.com (2010-10-12).
15206
6194c800
JB
15207 * info.el (Info-directory-list, Info-read-node-name-2)
15208 (Info-split-parameter-string): Doc fixes.
15209 (Info-virtual-nodes): Reflow docstring.
15210 (Info-find-file, Info-directory-toc-nodes, Info-history-toc-nodes)
15211 (Info-apropos-toc-nodes, info-finder, Info-get-token)
15212 (Info-find-emacs-command-nodes, Info-speedbar-key-map):
15213 Fix typos in docstrings.
15214 (Info-revert-buffer-function, Info-search, Info-isearch-pop-state)
15215 (Info-speedbar-hierarchy-buttons, Info-speedbar-goto-node)
15216 (Info-speedbar-buttons, Info-desktop-buffer-misc-data)
15217 (Info-restore-desktop-buffer): Mark unused parameters.
15218 (Info-directory-find-file, Info-directory-find-node)
15219 (Info-history-find-file, Info-history-find-node, Info-toc-find-node)
15220 (Info-virtual-index-find-node, Info-apropos-find-file)
15221 (Info-apropos-find-node, Info-finder-find-file, Info-finder-find-node):
33256f14 15222 Mark unused parameters; fix typos in docstrings.
6194c800
JB
15223 (Info-virtual-index): Remove unused local variable `nodename'.
15224
b87a8200 152252011-04-05 Deniz Dogan <deniz@dogan.se>
0f6ee7d2 15226
b87a8200
DD
15227 * net/rcirc.el: Update my e-mail address.
15228 (rcirc-mode-map): Remove M-o binding.
0f6ee7d2 15229
3b2ff876
CY
152302011-04-05 Chong Yidong <cyd@stupidchicken.com>
15231
15232 * startup.el (command-line): Save the cursor's theme-face
15233 directly, instead of using face-override-spec.
15234
15235 * custom.el (load-theme): Minor optimization in assigning faces.
15236
8d17e7ca
JB
152372011-04-04 Juanma Barranquero <lekktu@gmail.com>
15238
15239 * help-fns.el (describe-variable): Complete all variables having
15240 documentation, including keywords.
15241 http://lists.gnu.org/archive/html/emacs-devel/2011-04/msg00112.html
15242
2fbc1934
JB
152432011-04-04 Juanma Barranquero <lekktu@gmail.com>
15244
15245 Convert to lexical-binding.
15246
15247 * bs.el (bs-refresh, bs-sort-buffer-interns-are-last)
15248 (bs--get-marked-string, bs--get-modified-string)
15249 (bs--get-readonly-string, bs--get-size-string, bs--get-name)
15250 (bs--get-mode-name, bs--get-file-name): Mark unused arguments.
15251 (bs--configuration-name-for-prefix-arg): Rename argument PREFIX-ARG.
15252
15253 * ehelp.el (electric-help-execute-extended)
15254 (electric-help-ctrl-x-prefix):
15255 * hexl.el (hexl-revert-buffer-function):
15256 * linum.el (linum-after-change, linum-after-scroll):
15257 * emacs-lisp/re-builder.el (reb-auto-update): Mark unused arguments.
15258
15259 * help-fns.el (help-describe-category-set): Remove unused ERR variable.
15260
74f50695
DU
152612011-04-04 Daiki Ueno <ueno@unixuser.org>
15262
15263 * epa-dired.el:
15264 * epa-mail.el:
15265 * epa-hook.el:
15266 * epa-file.el:
15267 * epa.el:
15268 * epg.el: Use lexical binding.
15269
c11325f7
CY
152702011-04-03 Chong Yidong <cyd@stupidchicken.com>
15271
0d9e9a12
CY
15272 * dired-aux.el (dired-create-files): Add docstring (Bug#7970).
15273
c11325f7 15274 * textmodes/flyspell.el (flyspell-word): Recognize default
daca8ba5
SM
15275 dictionary case for flyspell-mark-duplications-exceptions.
15276 Use regexp matching for languages.
c11325f7
CY
15277 (flyspell-mark-duplications-exceptions): Add "that" and "had" for
15278 default dictionary (Bug#7926).
15279
da91b5f2
CY
152802011-04-02 Chong Yidong <cyd@stupidchicken.com>
15281
099c39a4
JB
15282 * emacs-lisp/package.el (package--with-work-buffer):
15283 Recognize https URLs.
da91b5f2 15284
099c39a4
JB
15285 * net/network-stream.el: Move from gnus/proto-stream.el.
15286 Change prefix to network-stream throughout.
da91b5f2
CY
15287 (open-protocol-stream): Merge into open-network-stream, leaving
15288 open-protocol-stream as an alias. Handle nil BUFFER args.
15289
15290 * subr.el (open-network-stream): Move to net/network-stream.el.
15291
afa8e9f6
GM
152922011-04-02 Glenn Morris <rgm@gnu.org>
15293
1d2e369d
GM
15294 * find-dired.el (find-exec-terminator): New option.
15295 (find-ls-option): Test for -ls support.
15296 (find-ls-subdir-switches): Test for -b in find-ls-option.
15297 (find-dired, find-grep-dired): Doc fixes.
15298 (find-dired): Use find-exec-terminator.
15299
8abb7da8 15300 * find-dired.el (find-ls-option, find-ls-subdir-switches)
e7a395b5
GM
15301 (find-grep-options): Do not autoload these defcustoms, remove purecopy.
15302 (find-name-arg): Remove purecopy.
8abb7da8 15303
f3ca7378
GM
15304 * progmodes/grep.el (grep-find-use-xargs): Doc fix.
15305 (grep-compute-defaults): Check for `-exec COMMAND +' support.
15306 Set grep-find-use-xargs, grep-find-command, and grep-find-template
15307 accordingly. Don't add the null-device if not needed.
15308
afa8e9f6
GM
15309 * files.el (save-some-buffers): Doc fix.
15310
35eae264
EZ
153112011-04-02 Eli Zaretskii <eliz@gnu.org>
15312
15313 * makefile.w32-in (EMACS): Default to ../src/$(BLD)/emacs.exe.
15314
26b51db5
JB
153152011-04-01 Juanma Barranquero <lekktu@gmail.com>
15316
15317 * progmodes/idlwave.el (idlwave-one-key-select, idlwave-list-abbrevs):
15318 Use `dolist' rather than `mapcar'.
15319
7200d79c
SM
153202011-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
15321
03408648 15322 Add lexical binding.
7200d79c 15323
03408648
SM
15324 * subr.el (apply-partially): Use new closures rather than CL.
15325 (--dolist-tail--, --dotimes-limit--): Don't declare dynamic.
15326 (dolist, dotimes): Use slightly different expansion for lexical code.
15327 (functionp): Move to C.
15328 (letrec): New macro.
15329 (with-wrapper-hook): Use it and apply-partially instead of CL.
15330 (eval-after-load): Preserve lexical-binding.
15331 (save-window-excursion, with-output-to-temp-buffer): Turn them
15332 into macros.
7200d79c 15333
03408648
SM
15334 * simple.el (with-wrapper-hook, apply-partially): Move to subr.el.
15335
15336 * help-fns.el (help-split-fundoc): Return nil if there's nothing else
15337 than the arglist.
15338 (help-add-fundoc-usage): Don't add `Not documented'.
15339 (help-function-arglist): Handle closures, subroutines, and new
15340 byte-code-functions.
15341 (help-make-usage): Remove leading underscores.
15342 (describe-function-1): Handle closures.
15343 (describe-variable): Use special-variable-p for completion.
15344
15345 * files.el (lexical-binding): Declare safe.
f488fb65 15346
03408648
SM
15347 * emacs-lisp/pcase.el: Don't use destructuring-bind.
15348 (pcase--memoize): Rename from pcase-memoize. Change weakness.
15349 (pcase): Add `let' pattern.
15350 Change memoization so it actually works.
15351 (pcase-mutually-exclusive-predicates): Add byte-code-function-p.
15352 (pcase--u1) <guard, pred>: Fix possible shadowing problem.
15353 <let>: New case.
f488fb65 15354
03408648
SM
15355 * emacs-lisp/macroexp.el: Use lexical binding.
15356 (macroexpand-all-1): Check obsolete macros. Expand compiler-macros.
15357 Don't convert ' to #' without checking that it's indeed quoting
15358 a lambda.
15359
15360 * emacs-lisp/lisp-mode.el (eval-last-sexp-1):
f488fb65 15361 Use eval-sexp-add-defvars.
03408648
SM
15362 (eval-sexp-add-defvars): New fun.
15363
15364 * emacs-lisp/float-sup.el (pi): Don't declare as dynamically bound.
15365
15366 * emacs-lisp/eieio.el (byte-compile-file-form-defmethod):
15367 Don't autoload.
15368 (eieio-defgeneric-form-primary-only-one): Use `byte-compile' rather
15369 than the internal `byte-compile-lambda'.
15370 (defmethod): Don't hide code under quotes.
15371 (eieio-defmethod): New `code' argument.
15372
15373 * emacs-lisp/eieio-comp.el: Remove.
15374
15375 * emacs-lisp/edebug.el (edebug-eval-defun)
15376 (edebug-eval-top-level-form): Use eval-sexp-add-defvars.
15377 (edebug-toggle): Avoid `eval'.
15378
15379 * emacs-lisp/disass.el (disassemble-internal): Handle new
15380 `closure' objects.
15381 (disassemble-1): Handle new byte codes.
15382
15383 * emacs-lisp/cl.el (pushnew): Silence warning.
15384
15385 * emacs-lisp/cl-macs.el (cl-byte-compile-block)
15386 (cl-byte-compile-throw): Remove.
15387 (cl-block-wrapper, cl-block-throw): Use compiler-macros instead.
15388
15389 * emacs-lisp/cl-extra.el (cl-macroexpand-all): Properly quote CL
15390 closures.
15391
15392 * emacs-lisp/cconv.el: New file.
15393
15394 * emacs-lisp/bytecomp.el: Use lexical binding instead of
15395 a "bytecomp-" prefix. Macroexpand everything as a separate phase.
15396 (byte-compile-initial-macro-environment):
15397 Handle declare-function here.
15398 (byte-compile--lexical-environment): New var.
15399 (byte-stack-ref, byte-stack-set, byte-discardN)
15400 (byte-discardN-preserve-tos): New lap codes.
15401 (byte-interactive-p): Don't use any more.
15402 (byte-compile-push-bytecodes, byte-compile-push-bytecode-const2):
15403 New macros.
15404 (byte-compile-lapcode): Use them and handle new lap codes.
15405 (byte-compile-obsolete): Remove.
15406 (byte-compile-arglist-signature): Handle new byte-code arg"lists".
15407 (byte-compile-arglist-warn): Check late def of inlinable funs.
15408 (byte-compile-cl-warn): Don't silence warnings for compiler-macros
15409 since they should have been expanded by now.
15410 (byte-compile--outbuffer): Rename from bytecomp-outbuffer.
15411 (byte-compile-from-buffer): Remove unused second arg.
15412 (byte-compile-preprocess): New function.
15413 (byte-compile-toplevel-file-form): New function to distinguish
15414 file-form calls from outside from file-form calls from hunk-handlers.
15415 (byte-compile-file-form): Simplify.
15416 (byte-compile-file-form-defsubst): Remove.
15417 (byte-compile-file-form-defmumble): Simplify now that
15418 byte-compile-lambda always returns a byte-code-function.
15419 (byte-compile): Preprocess.
15420 (byte-compile-byte-code-maker, byte-compile-byte-code-unmake):
15421 Remove, not used any more.
15422 (byte-compile-arglist-vars, byte-compile-make-lambda-lexenv)
15423 (byte-compile-make-args-desc): New funs.
15424 (byte-compile-lambda): Handle lexical functions. Always return
15425 a byte-code-function.
15426 (byte-compile-reserved-constants): New var, to make up room for
15427 closed-over variables.
15428 (byte-compile-constants-vector): Obey it.
15429 (byte-compile-top-level): New args `lexenv' and `reserved-csts'.
15430 (byte-compile-macroexpand-declare-function): New function.
15431 (byte-compile-form): Call byte-compile-unfold-bcf to inline immediate
15432 byte-code-functions.
15433 (byte-compile-form): Check obsolescence here.
15434 (byte-compile-inline-lapcode, byte-compile-unfold-bcf): New functions.
15435 (byte-compile-variable-ref): Remove.
15436 (byte-compile-dynamic-variable-op): New fun.
15437 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
15438 (byte-compile-variable-set): New funs.
15439 (byte-compile-discard): Add 2 args.
15440 (byte-compile-stack-ref, byte-compile-stack-set)
15441 (byte-compile-make-closure, byte-compile-get-closed-var): New funs.
15442 (byte-compile-funarg, byte-compile-funarg-2): Remove, handled in
15443 macroexpand-all instead.
15444 (byte-compile-quote-form): Remove.
15445 (byte-compile-push-binding-init, byte-compile-not-lexical-var-p)
15446 (byte-compile-bind, byte-compile-unbind): New funs.
15447 (byte-compile-let): Handle let* and lexical binding.
15448 (byte-compile-let*): Remove.
15449 (byte-compile-catch, byte-compile-unwind-protect)
15450 (byte-compile-track-mouse, byte-compile-condition-case):
15451 Handle a new :fun-body form, used for lexical scoping.
15452 (byte-compile-save-window-excursion)
15453 (byte-compile-with-output-to-temp-buffer): Remove.
15454 (byte-compile-defun): Simplify.
15455 (byte-compile-stack-adjustment): New fun.
15456 (byte-compile-out): Use it.
15457 (byte-compile-refresh-preloaded): Don't reload byte-compiler files.
15458
15459 * emacs-lisp/byte-run.el (make-obsolete): Don't set the `byte-compile'
15460 handler any more.
15461
15462 * emacs-lisp/byte-opt.el: Use lexical binding.
15463 (byte-inline-lapcode): Remove (to bytecomp).
15464 (byte-compile-inline-expand): Pay attention to inlining to/from
15465 lexically bound code.
15466 (byte-compile-unfold-lambda): Don't handle byte-code-functions
15467 any more.
15468 (byte-optimize-form-code-walker): Don't handle save-window-excursion
15469 any more and don't call compiler-macros.
15470 (byte-compile-splice-in-already-compiled-code): Remove.
15471 (byte-code): Don't inline any more.
15472 (disassemble-offset): Receive `bytes' as argument rather than via
15473 dynamic scoping.
15474 (byte-compile-tag-number): Declare before first use.
15475 (byte-decompile-bytecode-1): Handle new byte-codes, don't change
15476 `return' even if make-spliceable.
15477 (byte-compile-side-effect-and-error-free-ops): Add stack-ref, remove
15478 obsolete interactive-p.
15479 (byte-optimize-lapcode): Optimize new lap-codes.
15480 Don't trip up on new form of `byte-constant' lap code.
15481
15482 * emacs-lisp/autoload.el (make-autoload): Don't burp on trivial macros.
15483
15484 * emacs-lisp/advice.el (ad-arglist): Use help-function-arglist.
15485
15486 * custom.el (custom-initialize-default, custom-declare-variable):
15487 Use `defvar'.
15488
15489 * Makefile.in (BIG_STACK_DEPTH, BIG_STACK_OPTS, BYTE_COMPILE_FLAGS):
15490 New variables.
15491 (compile-onefile, .el.elc, compile-calc, recompile): Use them.
15492 (COMPILE_FIRST): Add macroexp and cconv.
15493 * makefile.w32-in: Mirror changes in Makefile.in.
15494
15495 * vc/cvs-status.el:
15496 * vc/diff-mode.el:
15497 * vc/log-edit.el:
15498 * vc/log-view.el:
15499 * vc/smerge-mode.el:
15500 * textmodes/bibtex-style.el:
15501 * textmodes/css.el:
15502 * startup.el:
15503 * uniquify.el:
da91b5f2
CY
15504 * minibuffer.el:
15505 * newcomment.el:
15506 * reveal.el:
15507 * server.el:
15508 * mpc.el:
15509 * emacs-lisp/smie.el:
15510 * doc-view.el:
15511 * dired.el:
03408648
SM
15512 * abbrev.el: Use lexical binding.
15513
0f0c1f27
EZ
155142011-04-01 Eli Zaretskii <eliz@gnu.org>
15515
15516 * info.el (info-display-manual): New function.
15517
c82b2579
SM
155182011-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
15519
15520 * loadup.el: Load minibuffer after loaddefs, to use define-minor-mode.
15521
221ddf68
TH
155222011-03-31 Tassilo Horn <tassilo@member.fsf.org>
15523
15524 * net/rcirc.el (rcirc-handler-001): Only authenticate, if there's
2fbc1934 15525 an entry for that server in rcirc-authinfo. (Bug#8385)
221ddf68 15526
cba6e77e
GM
155272011-03-31 Glenn Morris <rgm@gnu.org>
15528
e040639f
GM
15529 * progmodes/f90.el (f90-find-tag-default): Handle multiple `%'.
15530
cba6e77e
GM
15531 * generic-x.el (etc-fstab-generic-mode): Add ext4, sysfs keywords.
15532
6d0f1c9e
CS
155332011-03-30 Christoph Scholtes <cschol2112@googlemail.com>
15534
15535 * progmodes/python.el (python-default-interpreter)
15536 (python-python-command-args, python-jython-command-args)
15537 (python-which-shell, python-which-args, python-which-bufname)
15538 (python-file-queue, python-comint-output-filter-function)
15539 (python-toggle-shells, python-shell): Remove obsolete defcustoms,
15540 variables and functions.
15541
3e2d70fd
SM
155422011-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
15543
15544 * minibuffer.el (completion-table-dynamic): Optimize `boundaries'.
15545 (completion-in-region-mode): New minor mode.
15546 (completion-in-region): Use it.
15547 (completion-in-region--data, completion-in-region-mode-map): New vars.
15548 (completion-in-region--postch): New function.
15549 (completion--capf-misbehave-funs, completion--capf-safe-funs):
15550 New vars.
15551 (completion--capf-wrapper): New function.
15552 (completion-at-point): Use it to track well-behavedness of
15553 hook functions.
15554 (completion-help-at-point): New command.
15555
f3e4086c
JM
155562011-03-30 Jason Merrill <jason@redhat.com> (tiny change)
15557
15558 * vc/add-log.el (add-change-log-entry): Don't use whitespace
15559 syntax class to search for whitespace on a single line
15560 (Message-ID: <4D938140.4030905@redhat.com>).
15561
eb7ffc14
LL
155622011-03-30 Leo Liu <sdl.web@gmail.com>
15563
15564 * abbrev.el (abbrev-edit-save-to-file, abbrev-edit-save-buffer):
15565 New commands.
15566 (edit-abbrevs-map): Bind them here.
15567 (write-abbrev-file): New optinal arg VERBOSE. (Bug#5937)
15568
d806ab68
KM
155692011-03-29 Ken Manheimer <ken.manheimer@gmail.com>
15570
15571 * allout.el (allout-hide-by-annotation, allout-flag-region):
15572 Reduce possibility of overlay leakage by making them volatile.
15573
15574 * allout-widgets.el (allout-widgets-tally): Define as nil so the
15575 hash is not shared between buffers. Mode initialization is
15576 responsible for giving it a useful starting value.
15577 (allout-item-span): Reduce possibility of overlay leakage by
15578 making them volatile.
15579 (allout-widgets-count-buttons-in-region): Add diagnostic function
15580 for tracking down button overlay leaks.
15581
ea622834
LL
155822011-03-29 Leo Liu <sdl.web@gmail.com>
15583
15584 * ido.el (ido-read-internal): Use the default history var
15585 minibuffer-history if no HISTORY is specified.
15586
b62f8267
G
155872011-03-28 Brian T. Sniffen <bsniffen@akamai.com> (tiny change)
15588
03408648
SM
15589 * net/imap.el (imap-shell-open, imap-process-connection-type):
15590 Use imap-process-connection-type for 'shell' streams as well as
b62f8267
G
15591 Kerberos, SSL, other subprocesses.
15592
947b6566
LL
155932011-03-28 Leo Liu <sdl.web@gmail.com>
15594
15595 * abbrev.el (abbrev-table-empty-p): New function.
15596 (prepare-abbrev-list-buffer): Place empty abbrev tables after
15597 nonempty ones. (Bug#5937)
15598
5ffb62aa
JD
155992011-03-27 Jan Djärv <jan.h.d@swipnet.se>
15600
15601 * cus-start.el (all): Add boolean ns-auto-hide-menu-bar.
15602
7a097943
LL
156032011-03-27 Leo Liu <sdl.web@gmail.com>
15604
15605 * ansi-color.el (ansi-color-names-vector): Allow cons cell value
15606 for foreground and background colors.
15607 (ansi-color-make-color-map): Adapt.
15608
c5b40130
LL
156092011-03-25 Leo Liu <sdl.web@gmail.com>
15610
1f48f7d2
LL
15611 * midnight.el (midnight-time-float): Remove. Note it calculates
15612 the microsecond component incorrectly and seconds-to-time does the
15613 same job.
625897ec 15614 Remove redundant (require 'timer).
1f48f7d2 15615
c5b40130
LL
15616 * ido.el (ido-read-internal): Simplify with read-from-minibuffer.
15617 (ido-completions): Remove unused arguments. (Bug#8329)
15618
d86d2721
SM
156192011-03-24 Stefan Monnier <monnier@iro.umontreal.ca>
15620
15621 * minibuffer.el (completion--flush-all-sorted-completions):
15622 Remove itself from hook.
15623 (completion-at-point): Let the functions perform the completion
15624 immediately and return nil or t.
15625 * comint.el (comint-dynamic-complete-functions): Now identical to
15626 completion-at-point-functions.
15627 (comint-dynamic-list-input-ring): Remove unused var `index'.
15628 (comint--match-partial-filename, comint--unquote&expand-filename):
15629 New funs, split from comint-match-partial-filename.
15630 (comint-dynamic-complete): Use completion-at-point.
15631 (comint-dynamic-complete-filename): Use comint--match-partial-filename.
15632
e8974c48
DA
156332011-03-24 Drew Adams <drew.adams@oracle.com>
15634
15635 * thingatpt.el: Support `defun'.
15636
def71b5e
LL
156372011-03-23 Leo Liu <sdl.web@gmail.com>
15638
cb5af48e
LL
15639 * abbrevlist.el: Move to obsolete/abbrevlist.el.
15640
def71b5e
LL
15641 * help-mode.el (help-mode-finish): Tweak regexp.
15642
927c53e7
GM
156432011-03-23 Glenn Morris <rgm@gnu.org>
15644
18d05bed
GM
15645 * eshell/esh-opt.el (eshell-eval-using-options):
15646 Do not bind unused local variable `eshell-option-stub'.
15647
927c53e7
GM
15648 * progmodes/gdb-mi.el (gdb): Fix typo in previous change.
15649
9d0da923
JB
156502011-03-22 Juanma Barranquero <lekktu@gmail.com>
15651
15652 * emacs-lisp/derived.el (define-derived-mode): Wrap declaration of
15653 keymap variable in `with-no-warnings' to avoid a warning when the
15654 keymap has been already `defconst'ed.
15655
4b978a67
LL
156562011-03-22 Leo Liu <sdl.web@gmail.com>
15657
15658 * abbrev.el (write-abbrev-file): Use utf-8 for writing if it can
15659 encode all chars in abbrevs; otherwise use emacs-mule or
15660 utf-8-emacs. (Bug#8308)
15661
5fd62452
JB
156622011-03-22 Juanma Barranquero <lekktu@gmail.com>
15663
0b1596c6
JB
15664 * simple.el (backward-delete-char-untabify):
15665 Avoid warning about using `delete-backward-char'.
15666
5fd62452
JB
15667 * image.el (image-type-file-name-regexps): Make it variable.
15668 `imagemagick-register-types' modifies it, and the user may want
15669 to add new extensions for known image types.
15670 (imagemagick-register-types): Throw error if not using ImageMagick.
15671
0b4e93f1
LL
156722011-03-22 Leo Liu <sdl.web@gmail.com>
15673
15674 * net/rcirc.el (rcirc-completion-at-point): Return nil if point is
15675 located before rcirc-prompt-end-marker.
15676 (rcirc-complete): Error if point is not after rcirc prompt.
15677 Handle the case when table is nil.
9882e214 15678 (rcirc-user-authenticated): Define to fix compiler warning.
0b4e93f1 15679
fccee4ab
CY
156802011-03-22 Chong Yidong <cyd@stupidchicken.com>
15681
15682 * custom.el (custom--inhibit-theme-enable): Make it affect only
15683 custom-theme-set-variables and custom-theme-set-faces.
15684 (provide-theme): Ignore custom--inhibit-theme-enable.
15685 (load-theme): Enable the theme explicitly if NO-ENABLE is non-nil.
15686 (custom-enabling-themes): Delete variable.
d86d2721
SM
15687 (enable-theme): Accept only loaded themes as arguments.
15688 Ignore the special custom-enabled-themes variable.
fccee4ab
CY
15689 (custom-enabled-themes): Forbid themes from setting this.
15690 Eliminate use of custom-enabling-themes.
15691 (custom-push-theme): Quote "changed" custom var entry.
0357c7ae 15692
af896da6
LL
156932011-03-21 Leo Liu <sdl.web@gmail.com>
15694
15695 * ido.el (ido-read-internal): Add ido-selected to history instead
15696 of user input.
15697
78f64af0
SM
156982011-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
15699
15700 * subr.el (deferred-action-list, deferred-action-function):
15701 Mark obsolete.
15702
b16ac1ec
LL
157032011-03-21 Leo Liu <sdl.web@gmail.com>
15704
810f7698
LL
15705 * vc/log-view.el: Remove (require 'wid-edit), not needed after the
15706 change on 2011-02-13 (bug#8309).
15707
b16ac1ec
LL
15708 * minibuffer.el (read-file-name-function): Change default value.
15709 (read-file-name--defaults): Rename from read-file-name-defaults.
15710 (read-file-name-default): Rename from read-file-name.
15711 (read-file-name): Call read-file-name-function.
15712
4e05e67e
GM
157132011-03-21 Glenn Morris <rgm@gnu.org>
15714
15715 * eshell/esh-opt.el (eshell-eval-using-options, eshell-process-args):
15716 Doc fixes.
15717
4359915b
CY
157182011-03-21 Chong Yidong <cyd@stupidchicken.com>
15719
15720 * cus-theme.el: Add missing provide statement.
15721 (customize-create-theme): Extract theme value correctly.
15722 (custom-theme-visit-theme): Autoload.
15723 (customize-create-theme): Prompt before inserting default faces.
15724
1fe275ee
JB
157252011-03-20 Jay Belanger <jay.p.belanger@gmail.com>
15726
15727 * calc/calc-menu.el (calc-units-menu): Add entries for logarithmic
15728 units and musical notes.
15729
cd394be1 157302011-03-20 Leo Liu <sdl.web@gmail.com>
3ec03f7e
LL
15731
15732 * ido.el (ido-read-internal): Use completing-read-default.
15733 (ido-completing-read): Fix compatibility with completing-read.
15734
7d476bde
CO
157352011-03-20 Christian Ohler <ohler@gnu.org>
15736
15737 * emacs-lisp/ert.el (ert-run-tests-batch): Remove unused variable.
15738 (ert-delete-all-tests): Use `called-interactively-p' rather than
15739 `interactive-p'.
15740 (ert--make-xrefs-region): Respect END.
15741
fe0fb33e
CY
157422011-03-19 Chong Yidong <cyd@stupidchicken.com>
15743
ff854b0b
CY
15744 * dired-aux.el (dired-create-directory): Signal an error if the
15745 directory already exists (Bug#8246).
15746
fe0fb33e
CY
15747 * facemenu.el (list-colors-display): Call list-faces-display
15748 inside with-help-window.
15749 (list-colors-print): Use display property to align the final
15750 column, instead of checking window-width.
15751
576bce32
EZ
157522011-03-19 Eli Zaretskii <eliz@gnu.org>
15753
4d61f28d 15754 * vc/emerge.el (emerge-metachars): Separate value for ms-dos and
576bce32
EZ
15755 windows-nt systems.
15756 (emerge-protect-metachars): Quote correctly for ms-dos and
15757 windows-nt systems.
15758
89c41d68 157592011-03-19 Ralph Schleicher <rs@ralph-schleicher.de>
e6ce307c
RS
15760
15761 * info.el (info-initialize): Replace all uses of `:' with
15762 path-separator for compatibility with non-Unix systems.
15763 Cache quoting of path-separator. (Bug#8258)
15764
b14e3e21 157652011-03-19 Juanma Barranquero <lekktu@gmail.com>
ad22b7f7
JB
15766
15767 * avoid.el (mouse-avoidance-mode, mouse-avoidance-nudge-dist)
15768 (mouse-avoidance-threshold, mouse-avoidance-banish-destination)
15769 (mouse-avoidance-mode): Fix typos in docstrings.
15770
4525ce3e
CY
157712011-03-19 Chong Yidong <cyd@stupidchicken.com>
15772
15773 * startup.el (package-subdirectory-regexp): Move from package.el.
15774 Omit \\` and \\', and let callers add them.
15775
15776 * emacs-lisp/package.el (package-strip-version)
15777 (package-load-all-descriptors): Add \\` and \\' to
15778 package-subdirectory-regexp before using it.
15779 (package-untar-buffer): New arg DIR; ensure that file untars only
15780 into this expected directory. Remove superfluous delete-region.
15781 (package-unpack): Caller changed.
15782 (package-tar-file-info): Use package-subdirectory-regexp.
15783
a904a09a 157842011-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
1518e4f0 15785
a904a09a
SM
15786 * vc/diff-mode.el (diff-mode-map): Shadow problematic bindings from
15787 diff-mode-shared-map (bug#8284).
15788 (diff-mode-shared-map): Re-introduce some bindings that were problematic.
1518e4f0
G
15789
157902011-03-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
15791
15792 * calendar/time-date.el (format-seconds): Use assoc instead of
15793 assoc-string, since assoc-string doesn't exist in XEmacs.
15794
171fc304
JB
157952011-03-17 Juanma Barranquero <lekktu@gmail.com>
15796
15797 * custom.el (custom-known-themes): Reflow docstring.
15798 (custom-theme-load-path): Fix typo in docstring.
15799 (load-theme): Fix typo in error message.
15800 (custom-available-themes, custom-variable-theme-value):
15801 Use `let', not `let*'.
15802
d71990a1
JB
158032011-03-17 Jay Belanger <jay.p.belanger@gmail.com>
15804
15805 * calc/README: Mention inclusion of musical notes.
15806
15807 * calc/calc-units.el (calc-lu-quant): Rename from
15808 `calc-logunits-quantity'.
15809 (calcFunc-lupquant): Rename from `calcFunc-powerquant'.
15810 (calcFunc-lufquant): Rename from `calcFunc-fieldquant'.
15811 (calc-db): Rename from `calc-dblevel'.
15812 (calcFunc-dbpower): Rename from `calcFunc-dbpowerlevel'.
15813 (calcFunc-dbfield): Rename from `calcFunc-dbfieldlevel'.
15814 (calc-np): Rename from `calc-nplevel'.
15815 (calcFunc-nppower): Rename from `calcFunc-nppowerlevel'.
15816 (calcFunc-npfield): Rename from `calcFunc-npfieldlevel'.
15817 (calc-lu-plus): Rename from `calc-logunits-add'.
15818 (calcFunc-lupadd): Rename from `calcFunc-lupoweradd'.
15819 (calcFunc-lufadd): Rename from `calcFunc-lufieldadd'.
15820 (calc-lu-minus): Rename from `calc-logunits-sub'.
15821 (calcFunc-lupsub): Rename from `calcFunc-lupowersub'.
15822 (calcFunc-lufsub): Rename from `calcFunc-lufieldsub'.
15823 (calc-lu-times): Rename from `calc-logunits-mul'.
15824 (calcFunc-lupmul): Rename from `calcFunc-lupowermul'.
15825 (calcFunc-lufmul): Rename from `calcFunc-lufieldmul'.
15826 (calc-lu-divide): Rename from `calc-logunits-div'.
15827 (calcFunc-lupdiv): Rename from `calcFunc-lupowerdiv'.
15828 (calcFunc-lufdiv): Rename from `calcFunc-lufielddiv'.
15829
15830 * calc/calc-ext.el (calc-init-extensions): Update the names of the
15831 functions being autoloaded.
15832
15833 * calc/calc.el (calc-lu-power-reference): Rename from
15834 `calc-logunits-power-reference'.
15835 (calc-lu-field-reference): Rename from
15836 `calc-logunits-field-reference'.
15837
7a71b18d
GM
15838 * calc/calc-help.el (calc-l-prefix-help):
15839 Mention musical note functions.
d71990a1 15840
40c2934b
SM
158412011-03-17 Stefan Monnier <monnier@iro.umontreal.ca>
15842
15843 * minibuffer.el (completion-all-sorted-completions):
15844 Use :completion-cycle-penalty text property if present.
15845
b0911414
KM
158462011-03-16 Ken Manheimer <ken.manheimer@gmail.com>
15847
15848 * allout.el (allout-yank-processing): Adjust for new rebulleting
15849 regime so bullet being yanked is used without prompting the user
15850 for a choice.
15851
8a05b668
JB
158522011-03-16 Juanma Barranquero <lekktu@gmail.com>
15853
15854 * startup.el (command-line): Warn the user that _emacs is deprecated.
15855
5ba5fb81
JB
158562011-03-16 Juanma Barranquero <lekktu@gmail.com>
15857
15858 * progmodes/delphi.el (delphi-search-path, delphi-indent-level)
15859 (delphi-verbose, delphi-comment-face, delphi-string-face)
15860 (delphi-keyword-face, delphi-ignore-changes, delphi-indent-line)
15861 (delphi-mode-abbrev-table, delphi-debug-buffer, delphi-tab)
15862 (delphi-find-unit, delphi-find-current-xdef, delphi-fill-comment)
15863 (delphi-new-comment-line, delphi-font-lock-defaults)
15864 (delphi-debug-mode-map, delphi-mode-syntax-table, delphi-mode):
15865 Fix typos in docstrings.
15866
2dab465b
KM
158672011-03-15 Ken Manheimer <ken.manheimer@gmail.com>
15868
5ba5fb81 15869 * allout.el (allout-make-topic-prefix, allout-rebullet-heading):
2dab465b
KM
15870 Invert the roles of character and string values for INSTEAD, so a
15871 string is used for the more common case of a defaulting prompt.
15872
0adf5618
SM
158732011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
15874
15875 * progmodes/ruby-mode.el (ruby-backward-sexp):
15876 * progmodes/ebrowse.el (ebrowse-draw-file-member-info):
15877 * play/gamegrid.el (gamegrid-make-face):
15878 * play/bubbles.el (bubbles--grid-width, bubbles--grid-height)
15879 (bubbles--colors, bubbles--shift-mode, bubbles--initialize-images):
15880 * notifications.el (notifications-notify):
15881 * net/xesam.el (xesam-search-engines):
15882 * net/quickurl.el (quickurl-list-insert):
15883 * vc/vc-hg.el (vc-hg-dir-printer): Fix use of case.
15884
d72700e5
CY
158852011-03-15 Chong Yidong <cyd@stupidchicken.com>
15886
15887 * startup.el (command-line): Update package subdirectory regexp.
15888
49c5410a
SM
158892011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
15890
c6eee9aa
SM
15891 * allout.el (allout-abbreviate-flattened-numbering)
15892 (allout-mode-deactivate-hook): Fix up obsolescence "date".
15893
49c5410a
SM
15894 * subr.el (read-char-choice): Only show the cursor after the prompt,
15895 not after the answer.
15896
047b2bb9
KR
158972011-03-15 Kevin Ryde <user42@zip.com.au>
15898
15899 * help-fns.el (variable-at-point): Skip leading quotes, if any
15900 (bug#8253).
15901
0a57d256
SM
159022011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
15903
15904 * emacs-lisp/bytecomp.el (byte-compile-save-excursion): Change the
15905 warning message.
15906
77c992bc
MA
159072011-03-14 Michael Albinus <michael.albinus@gmx.de>
15908
15909 * shell.el (shell): When called interactively, offer to change the
15910 shell file name on remote hosts.
15911
eebc475d
TZ
159122011-03-13 Teodor Zlatanov <tzz@lifelogs.com>
15913
15914 * net/ldap.el (ldap-search-internal): Add `auth-source-search'
15915 integration for LDAP parameters. The host, base, user or binddn,
15916 and secret tokens can be specified in a netrc file, for instance.
15917 This is optional because an `auth-source' parameter must be
15918 specified in the search attributes.
15919
9d05d1ba
JB
159202011-03-13 Juanma Barranquero <lekktu@gmail.com>
15921
15922 * help.el (describe-mode): Link to the mode's definition (bug#8185).
15923
09d9db2c
GM
159242011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
15925
15926 * ebuff-menu.el (electric-buffer-menu-mode-map): Move initialization
15927 into declaration. Remove redundant and harmful binding.
15928
159292011-03-12 Eli Zaretskii <eliz@gnu.org>
15930
15931 * files.el (file-ownership-preserved-p): Pass `integer' as an
15932 explicit 2nd argument to `file-attributes'. If the file's owner
15933 is the Administrators group on Windows, and the current user is
15934 Administrator, consider that a match.
15935
15936 * server.el (server-ensure-safe-dir): Consider server directory
15937 safe on MS-Windows if its owner is the Administrators group while
15938 the current Emacs user is Administrator. Use `=' to compare
15939 numerical UIDs, since they could be integers or floats.
15940
219bd536
JB
159412011-03-12 Juanma Barranquero <lekktu@gmail.com>
15942
15943 * vc/vc-bzr.el (vc-bzr-state): Handle bzr 2.3.0 (follow-up to bug#8170).
15944
f3afd36b
MA
159452011-03-12 Michael Albinus <michael.albinus@gmx.de>
15946
15947 Sync with Tramp 2.2.1.
15948
15949 * net/tramp-sh.el (tramp-methods): Exchange "%k" marker with options.
15950
15951 * net/trampver.el: Update release number.
15952
3aaaa6f1
SM
159532011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
15954
94642599
SM
15955 * progmodes/compile.el (compilation--previous-directory): Fix up
15956 various nil/dead-marker mismatches (bug#8014).
15957 (compilation-directory-properties, compilation-error-properties):
15958 Don't call it at a position past the one we're about to change.
15959
3aaaa6f1
SM
15960 * emacs-lisp/bytecomp.el (byte-compile-make-obsolete-variable):
15961 Disable obsolescence warnings in the file that declares it.
15962
14239447
KM
159632011-03-11 Ken Manheimer <ken.manheimer@gmail.com>
15964
099c39a4
JB
15965 * allout-widgets.el (allout-widgets-tally):
15966 Initialize allout-widgets-tally as a hash table rather than nil to
15967 prevent mode-line redisplay warnings. Also, clarify the module
15968 description and fix a comment typo.
14239447 15969
135e287c
JB
159702011-03-11 Juanma Barranquero <lekktu@gmail.com>
15971
15972 * help-fns.el (describe-variable): Don't complete keywords.
15973 Suggested by Teodor Zlatanov <tzz@lifelogs.com>.
15974
ffbf300e
CY
159752011-03-10 Chong Yidong <cyd@stupidchicken.com>
15976
ba08b241
CY
15977 * emacs-lisp/package.el (package-version-join): Impose a standard
15978 string representation for pre/alpha/beta version lists.
15979 (package-unpack-single): Standardize the directory name by passing
15980 it through package-version-join.
15981 (package-strip-rcs-id): Accept any version string that does not
15982 signal an error in version-to-list.
ffbf300e 15983
f346fd6b
MA
159842011-03-10 Michael Albinus <michael.albinus@gmx.de>
15985
15986 * simple.el (delete-trailing-whitespace): Return nil for the
15987 benefit of `write-file-functions'.
15988
ccb55d27
GM
159892011-03-10 Glenn Morris <rgm@gnu.org>
15990
5ceaac0c
GM
15991 * vc/vc-hg.el (vc-hg-pull, vc-hg-merge-branch): Use vc-hg-program.
15992
02da65ff
GM
15993 * vc/vc-git.el (vc-git-program): New option.
15994 (vc-git-branches, vc-git-pull, vc-git-merge-branch, vc-git-command)
15995 (vc-git--call): Use it.
15996
b2f603cc
GM
15997 * eshell/esh-util.el (eshell-condition-case): Doc fix.
15998
5772caab
GM
15999 * cus-edit.el (Custom-newline): If no button at point, look
16000 for a subgroup button at start-of-line. (Bug#2298)
16001
ccb55d27
GM
16002 * mail/rmail.el (rmail-msgend, rmail-msgbeg): Doc fixes.
16003
ec6ecaed
JD
160042011-03-10 Julien Danjou <julien@danjou.info>
16005
16006 * avoid.el (mouse-avoidance-ignore-p): Do not move the cursor if
16007 `cursor-type' is nil.
16008
9d5aa01d
JB
160092011-03-09 Jay Belanger <jay.p.belanger@gmail.com>
16010
16011 * calc/calc.el (calc-mode-map): Don't bind "C-_" to `calc-missing-key'.
16012
b6a5875b
KM
160132011-03-09 Ken Manheimer <ken.manheimer@gmail.com>
16014
7a71b18d 16015 * allout.el: Change so yank of distinctive-bullet items
b6a5875b
KM
16016 preserves the existing header prefix, rebulleting it if necessary,
16017 rather than replacing it. This is necessary for proper operation
16018 of cooperative addons like allout-widgets.
1154d12e
JB
16019 (allout-make-topic-prefix, allout-rebullet-heading):
16020 Change SOLICIT arg to INSTEAD, and interpret additionally a string
16021 value as alternate bullet to be used, instead of prompting the user
16022 for a bullet character.
b6a5875b 16023
ee545c35
MA
160242011-03-09 Michael Albinus <michael.albinus@gmx.de>
16025
d86d2721
SM
16026 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
16027 Do not use `tramp-file-name-port', because this returns also
ee545c35
MA
16028 `tramp-default-port'.
16029
c47971d7
DD
160302011-03-09 Deniz Dogan <deniz.a.m.dogan@gmail.com>
16031
16032 * net/rcirc.el (rcirc-handler-001): Remove useless
16033 with-rcirc-process-buffer.
16034 (rcirc-check-auth-status): Swap arguments to string-match.
16035
13522cb4
GM
160362011-03-09 Glenn Morris <rgm@gnu.org>
16037
0be6f4f1
GM
16038 * shell.el (shell-mode):
16039 Set comint-input-ring-size from HISTSIZE. (Bug#7889)
16040
13522cb4
GM
16041 * progmodes/gdb-mi.el (gdb): Improve 2010-12-08 change.
16042 Check for GDBHISTFILE, HISTSIZE, etc. (Bug#7889)
16043
515de2e3
CY
160442011-03-08 Chong Yidong <cyd@stupidchicken.com>
16045
16046 * emacs-lisp/package.el (package-refresh-contents)
16047 (package-menu-execute): Use condition-case-no-debug.
16048
b511b994
MA
160492011-03-08 Michael Albinus <michael.albinus@gmx.de>
16050
16051 * simple.el (shell-command-to-string): Use `process-file'.
16052
16053 * emacs-lisp/package.el (package-tar-file-info): Handle also
16054 remote files.
16055
d86d2721
SM
16056 * emacs-lisp/package-x.el (package-upload-buffer-internal):
16057 Use `equal' for upload base check.
b511b994 16058
25bbfb31
AM
160592011-03-08 Arni Magnusson <arnima@hafro.is> (tiny change)
16060
16061 * textmodes/texinfo.el (texinfo-environments):
16062 Add deftypecv, deftypeivar, deftypemethod, deftypeop, html. (Bug#2783)
16063
be996521
GM
160642011-03-08 Glenn Morris <rgm@gnu.org>
16065
e9c8529f
GM
16066 * cus-start.el (cursor-in-non-selected-windows):
16067 Fix :set quoting oddness. (Bug#8192)
16068
be996521
GM
16069 * font-lock.el (lisp-font-lock-keywords-1): Don't highlight `)'
16070 in some setf expressions. (Bug#2159)
16071
2bb5649e
CY
160722011-03-08 Chong Yidong <cyd@stupidchicken.com>
16073
16074 * custom.el (custom-available-themes): Return themes in
16075 alphabetical order.
16076
33383987 16077See ChangeLog.15 for earlier changes.
e3d51b27
MR
16078
16079;; Local Variables:
16080;; coding: utf-8
e3d51b27
MR
16081;; End:
16082
acaf905b 16083 Copyright (C) 2011-2012 Free Software Foundation, Inc.
e3d51b27
MR
16084
16085 This file is part of GNU Emacs.
16086
16087 GNU Emacs is free software: you can redistribute it and/or modify
16088 it under the terms of the GNU General Public License as published by
16089 the Free Software Foundation, either version 3 of the License, or
16090 (at your option) any later version.
16091
16092 GNU Emacs is distributed in the hope that it will be useful,
16093 but WITHOUT ANY WARRANTY; without even the implied warranty of
16094 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16095 GNU General Public License for more details.
16096
16097 You should have received a copy of the GNU General Public License
16098 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.