Stop ns builds setting the EMACSLOADPATH environment variable
[bpt/emacs.git] / lisp / ChangeLog
CommitLineData
c4444d16
PE
12012-07-09 Paul Eggert <eggert@cs.ucla.edu>
2
3 Rename configure.in to configure.ac (Bug#11603).
4 * emacs-lisp/authors.el (authors-canonical-file-name):
5 * progmodes/autoconf.el (autoconf-mode):
6 Prefer configure.ac to configure.in.
7
d75be97d
CY
82012-07-08 Chong Yidong <cyd@gnu.org>
9
01ac65bd
CY
10 * mouse.el (mouse-drag-line): Rewrite the track-mouse loop.
11 Implement the mouse-1-click-follows-link handling properly.
12
13 * info.el (Info-link-keymap): Use follow-link mechanism for
14 header-line links (Bug#374).
15
d75be97d
CY
16 * simple.el (deactivate-mark): Do not set the primary selection
17 if another program has acquired it (Bug#11772).
18
87a92845 192012-07-07 Kevin Ryde <user42@zip.com.au>
f0ecdfea
KR
20
21 * woman.el (woman-strings): Fix double-quote handling (Bug#1151).
22 (woman-decode-region): Replace escaped-escapes without destroying
23 bold or underline (Bug#11552).
87a92845 24 (woman2-process-escapes): Handle nofill regions (Bug#11591).
f0ecdfea 25
621b9d6c
CY
262012-07-07 Chong Yidong <cyd@gnu.org>
27
28 * simple.el (yank-pop-change-selection): Doc fix (Bug#11361).
29 (interprogram-cut-function, interprogram-paste-function): Mention
30 that we typically mean the clipboard.
31
133a11fc
GM
322012-07-06 Glenn Morris <rgm@gnu.org>
33
0d27a45e
GM
34 * kmacro.el (kmacro-call-macro): Restore repeat message. (Bug#11817)
35
133a11fc
GM
36 * files.el (toggle-read-only): Restrict message to interactive use.
37
07b151f1
MA
382012-07-06 Michael Albinus <michael.albinus@gmx.de>
39
40 * net/tramp.el (tramp-restricted-shell-hosts-alist): New defcustom.
41
42 * net/tramp-sh.el (tramp-maybe-open-connection): Handle it.
43
211b896b
GM
442012-07-06 Glenn Morris <rgm@gnu.org>
45
50394322
GM
46 * Makefile.in (compile-one-process): Rename from "recompile".
47
211b896b
GM
48 * Makefile.in (bzr-update): "compile" is the same as "recompile
49 autoloads", but parallelizable, so use that instead.
50
4737eec9
DG
512012-07-06 Dmitry Gutov <dgutov@yandex.ru>
52
53 * window.el (quit-window): Always restore window height when
54 it's saved in quit-restore parameter.
55
226c3633 562012-07-06 Glenn Morris <rgm@gnu.org>
cb442973
GM
57
58 * simple.el (kill-whole-line): Doc tweak.
59
226c3633 602012-07-06 Eli Zaretskii <eliz@gnu.org>
93842198
EZ
61
62 * files.el (file-relative-name): Compare file names
63 case-insensitively if on MS-Windows or MS-DOS, or if
64 read-file-name-completion-ignore-case is non-nil. Don't use
65 case-fold-search for this purpose. (Bug#11827)
66
226c3633 672012-07-06 Andreas Schwab <schwab@linux-m68k.org>
3d8b9024
AS
68
69 * calendar/cal-dst.el (calendar-current-time-zone): Return
70 calendar-current-time-zone-cache if non-nil.
71
60198fc9
GM
722012-07-06 Glenn Morris <rgm@gnu.org>
73
74 * Makefile.in (cvs-update): Remove old alias.
75
957b3189
MA
762012-07-05 Michael Albinus <michael.albinus@gmx.de>
77
78 Sync with Tramp 2.2.6-pre.
79
80 * net/tramp.el (tramp-drop-volume-letter): Provide an XEmacs
81 compatible declaration.
82
83 * net/tramp-cmds.el (tramp-append-tramp-buffers): Protect
84 `list-load-path-shadows' call.
85
86 * net/tramp-compat.el (top): Require packages, which aren't
87 autoloaded anymore for XEmacs. Protect call of
88 `tramp-file-name-handler' by `tramp-compat-funcall', pacifying the
89 compiler. Do not require tramp-util.el and tramp-vc.el anymore,
90 it hurts at least for SXEmacs.
91 (tramp-compat-temporary-file-directory): In XEmacs, there is no
92 standard-value for `temporary-file-directory'.
93
94 * net/tramp-sh.el (tramp-do-directory-files-and-attributes-with-stat):
95 Redirect stderr to /dev/null.
96 (tramp-sh-handle-write-region): uid and gid can be floats.
97 Reported by Russell Sim <russell.sim@gmail.com>.
98 (tramp-sh-handle-vc-registered): Hide errors.
99 (tramp-vc-file-name-handler): Use dummy results for `process-file'
100 and `start-file-process'.
101 (tramp-maybe-open-connection): Check also whether `non-essential'
102 is bound.
103
566df3fc
CY
1042012-07-04 Chong Yidong <cyd@gnu.org>
105
106 * xml.el (xml--parse-buffer): Use xml-syntax-table.
107 (xml-parse-tag): Likewise, and avoid changing entity tables.
108 (xml-syntax-table): Define from scratch, making sure not to give
109 x2000 and other Unicode spaces whitespace syntax, since those are
110 not spaces in XML.
111 (xml-parse-fragment): Delete unused function.
112 (xml-name-start-char-re, xml-name-char-re, xml-name-re)
113 (xml-names-re, xml-nmtoken-re, xml-nmtokens-re, xml-char-ref-re)
114 (xml-entity-ref, xml-pe-reference-re)
115 (xml-reference-re,xml-att-value-re, xml-tokenized-type-re)
116 (xml-notation-type-re, xml-enumeration-re, xml-enumerated-type-re)
117 (xml-att-type-re, xml-default-decl-re, xml-att-def-re)
118 (xml-entity-value-re): Use syntax references in regexps where
119 possible; no need to define inside a let-binding.
120 (xml-parse-dtd): Use xml-pe-reference-re.
121 (xml-entity-or-char-ref-re): New defconst.
122 (xml-parse-string, xml-substitute-special): Use it.
123
30eabd7a
SM
1242012-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
125
0781098a
SM
126 * files.el (locate-dominating-file): Allow `name' to be a predicate.
127 (find-file--read-only): New function.
128 (find-file-read-only, find-file-read-only-other-window)
129 (find-file-read-only-other-frame): Use it.
130 (insert-file-contents-literally): Don't `fset'.
131 (get-free-disk-space): Use locate-dominating-file.
132
b5771c0d
SM
133 * emacs-lisp/bytecomp.el (byte-compile): Don't signal an error if the
134 function is already compiled.
135
30eabd7a
SM
136 * xml.el (xml-name-regexp): Remove, redundant. Use xml-name-re.
137
b4886f6e
MA
1382012-07-03 Michael Albinus <michael.albinus@gmx.de>
139
140 * vc/ediff-diff.el (ediff-same-file-contents): Fix it for remote
141 files on the same host.
142
b9d82339
AS
1432012-07-03 Andreas Schwab <schwab@linux-m68k.org>
144
145 * help-fns.el (describe-function-1): Only call
146 help-fns--autoloaded-p when we have a file name. (Bug#11848)
147
a76e6535
CY
1482012-07-03 Chong Yidong <cyd@gnu.org>
149
150 * xml.el: Protect parser against XML bombs.
151 (xml-entity-expansion-limit): New variable.
152 (xml-parse-string, xml-substitute-special): Use it.
153 (xml-parse-dtd): Avoid infloop if the DTD is not terminated.
154
b544fef2
GM
1552012-07-03 Glenn Morris <rgm@gnu.org>
156
157 * progmodes/bug-reference.el (bug-reference-bug-regexp):
158 Allow linking to specific messages in debbugs reports (eg 123#5).
159
a7aef6f5
CY
1602012-07-02 Chong Yidong <cyd@gnu.org>
161
162 * xml.el: Fix entity and character reference expansion, allowing
163 them to expand into markup as per XML spec.
164 (xml-default-ns): New variable.
165 (xml-entity-alist): Use XML spec definitions for lt and amp.
30eabd7a
SM
166 (xml-parse-region): Make first two arguments optional.
167 Discard text properties.
168 (xml-parse-tag-1): New function, spun off from xml-parse-tag.
169 All callers changed.
a7aef6f5
CY
170 (xml-parse-tag): Call xml-parse-tag-1. For backward
171 compatibility, this function should not modify buffer contents.
172 (xml-parse-tag-1): Fix opening-tag regexp.
173 (xml-parse-string): Rewrite, handling entity and character
174 references properly.
175 (xml--entity-replacement-text): Signal an error if a parameter
176 entity is undefined.
177
3df31c9f
SM
1782012-07-02 Stefan Monnier <monnier@iro.umontreal.ca>
179
2b5208f1
SM
180 * comint.el (comint-output-filter): Filter out repeated prompts.
181
3df31c9f
SM
182 * net/ange-ftp.el (ange-ftp-expand-file-name): Use ange-ftp-ftp-name
183 and file-name-absolute-p.
184 (ange-ftp-file-exists-p): Use ange-ftp-file-exists-p for
185 internal calls.
186
e3ac1281
PE
1872012-07-02 Paul Eggert <eggert@cs.ucla.edu>
188
189 Spelling fixes.
190 * emacs-lisp/bytecomp.el (byte-compile--reify-function):
191 Rename from byte-compile--refiy-function. All uses changed.
192
fbf2e7ad
CY
1932012-07-01 Chong Yidong <cyd@gnu.org>
194
195 * xml.el (xml--parse-buffer): New function. Move most of
196 xml-parse-region here.
197 (xml-parse-region): Copy region into a temporary buffer, since
198 parameter entity substitution requires changing buffer contents.
199 Use xml--parse-buffer.
200 (xml-parse-file): Use xml--parse-buffer.
201 (xml-parse-dtd): Make parameter entity substitution work right.
6fe566a7 202 Use proper regexps for ELEMENT declarations (Bug#7172).
fbf2e7ad 203
9bf0aa15
GM
2042012-06-30 Glenn Morris <rgm@gnu.org>
205
bbce2853
GM
206 * comint.el (follow-comint-scroll-to-bottom): Fix declaration.
207
9bf0aa15
GM
208 * net/secrets.el, net/tramp-gvfs.el, net/xesam.el, net/zeroconf.el:
209 Remove outdated and unnecessary dbus declarations.
210
0d23c240
EZ
2112012-06-30 Eli Zaretskii <eliz@gnu.org>
212
213 * emacs-lisp/timer.el (timer-until): Subtract results of
214 float-time, instead of taking float-time of the result of
215 time-subtract, since float-time signals an error for negative time
216 arguments.
217
b3218de1
CY
2182012-06-30 Chong Yidong <cyd@gnu.org>
219
220 * xml.el (xml-*-re): Convert defvars into defconsts, and
221 eval-and-compile them so eval-and-compile works on derivatives.
222 (xml--entity-replacement-text): Use eval-and-comple.
223
a40c87a0
MA
2242012-06-30 Michael Albinus <michael.albinus@gmx.de>
225
226 * vc/vc-git.el (vc-git-registered): Use cache property
227 `git-registered'.
228 (vc-git-mode-line-string): Call `vc-working-revision' instead of
229 `vc-git-working-revision' in order to benefit from the cache.
230 (vc-git-root): Use cache property `git-root'.
231
ac87de97
DG
2322012-06-30 Dmitry Gutov <dgutov@yandex.ru>
233
234 * vc/vc-hooks.el (vc-before-save): Clear cache if file has been
235 removed (likely outside Emacs).
236
ac10fe06
SM
2372012-06-30 Stefan Monnier <monnier@iro.umontreal.ca>
238
3df31c9f 239 * emacs-lisp/cl-lib.el: Require macroexp.
ac10fe06 240
7f3fbd5d
CY
2412012-06-30 Chong Yidong <cyd@gnu.org>
242
243 * xml.el: Implement XML parameter entities.
244 (xml-parameter-entity-alist): New variable.
245 (xml-parse-region, xml-parse-fragment): Preserve previous values
246 of xml-entity-alist and xml-parameter-entity-alist, so that
247 repeated calls on different documents do not change them.
248 (xml-parse-tag): Fix doctype regexp.
249 (xml--entity-replacement-text): New function.
250 (xml-parse-dtd): Use it. Don't handle system entities; doing that
251 properly requires url retrieval which is unimplemented.
252 (xml-escape-string): Doc fix.
253
3cfbebba
SM
2542012-06-30 Stefan Monnier <monnier@iro.umontreal.ca>
255
256 * emacs-lisp/cl-lib.el (cl-pushnew): Use macroexp-let2.
257
2af3565e
DA
2582012-06-29 Dmitry Antipov <dmantipov@yandex.ru>
259
260 * fringe.el (fringe-mode): Doc fix.
261
929df0e7
MA
2622012-06-29 Michael Albinus <michael.albinus@gmx.de>
263
264 * net/ange-ftp.el (ange-ftp-get-passwd): Throw if `non-essential'
265 is non-nil.
266 (ange-ftp-ignore-errors-if-non-essential): New defmacro.
267 (ange-ftp-file-name-all-completions): Use it. (Bug#11808)
268
c8d3a25c 2692012-06-29 Andreas Schwab <schwab@linux-m68k.org>
3d8b9024 270
c8d3a25c
GM
271 * calendar/cal-dst.el (calendar-current-time-zone):
272 Return calendar-current-time-zone-cache if non-nil.
3d8b9024 273
c8d3a25c 2742012-06-29 Masatake YAMATO <yamato@redhat.com>
26e8548e
MY
275
276 * progmodes/which-func.el (which-func-format):
277 Add mouse-face. (Bug#11698)
278
c8d3a25c
GM
2792012-06-29 Leo Liu <sdl.web@gmail.com>
280
281 * textmodes/enriched.el (enriched-next-annotation): Use eq (Bug#11528).
282
2832012-06-29 Stefan Monnier <monnier@iro.umontreal.ca>
284
285 * minibuffer.el (minibuffer-confirm-exit-commands):
286 Add completion-at-point (bug#11725).
287
2882012-06-29 Glenn Morris <rgm@gnu.org>
289
290 * progmodes/f90.el (f90-font-lock-keywords-2):
291 Add some preprocessor elements. (Bug#10499)
292
2932012-06-29 Stefan Monnier <monnier@iro.umontreal.ca>
294
295 * progmodes/cperl-mode.el (cperl-update-syntaxification):
296 Use syntax-propertize (bug#11739).
297
2badeec4
JB
2982012-06-28 Juanma Barranquero <lekktu@gmail.com>
299
300 * emacs-lisp/cl-lib.el (cl-pushnew): Don't capture X (bug#11811).
301
ae4969c2
JD
3022012-06-28 Julien Danjou <julien@danjou.info>
303
304 * term.el (term-handle-colors-array): Use a set of new faces to
305 color the terminal. Also uses :inverse-video property.
306 (term-default-fg-color): Set to nil by default, deprecate in favor
307 of `term-face'.
308 (term-default-bg-color): Set to nil by default, deprecate in favor
309 of `term-face'.
310 (term-current-face): Use `term-face' by default.
311 (term-bold-attribute): Variable deleted.
312
1c9bd870
GM
3132012-06-28 Glenn Morris <rgm@gnu.org>
314
315 * simple.el (completion-list-mode-finish):
316 Don't use toggle-read-only. (Since completion-list-mode has
317 a special mode-class, it wasn't doing anything extra anyway.)
318
c207708c
SM
3192012-06-28 Stefan Monnier <monnier@iro.umontreal.ca>
320
321 Make inlining of other-mode interpreted functions work (bug#11799).
322 * emacs-lisp/bytecomp.el (byte-compile--refiy-function): New fun.
323 (byte-compile): Use it to fix compilation of lexical-binding closures.
324 * emacs-lisp/byte-opt.el (byte-compile-inline-expand): Compile the
325 function, if needed.
326
3fd56834
SM
3272012-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
328
04901786
SM
329 * help-mode.el (help-make-xrefs): Don't just withstand
330 cyclic-variable-indirection but any error in documentation-property.
331
1ec4b7b2
SM
332 * loadup.el (purify-flag): Pre-grow the hash-table to reduce the
333 memory use.
334 * bindings.el (bindings--define-key): New function.
335 * vc/vc-hooks.el, replace.el, menu-bar.el, international/mule-cmds.el:
336 * emacs-lisp/lisp-mode.el, buff-menu.el, bookmark.el:
337 * bindings.el: Use it to purecopy define-key bindings.
338
e309e2a5
SM
339 * textmodes/rst.el (rst-adornment-faces-alist): Avoid copy-list.
340
d5c6faf9
SM
341 * emacs-lisp/cl.el (flet): Mark obsolete.
342 * emacs-lisp/cl-macs.el (cl-flet*): New macro.
343 * vc/vc-rcs.el (vc-rcs-annotate-command, vc-rcs-parse):
344 * progmodes/js.el (js-c-fill-paragraph):
345 * progmodes/ebrowse.el (ebrowse-switch-member-buffer-to-sibling-class)
346 (ebrowse-switch-member-buffer-to-derived-class):
347 * play/5x5.el (5x5-solver): Use cl-flet.
348
6e9590e2
SM
349 * emacs-lisp/cl.el: Use lexical-binding. Fix flet (bug#11780).
350 (cl--symbol-function): New macro.
351 (cl--letf, cl--letf*): Use it.
352
3fd56834
SM
353 * emacs-lisp/easy-mmode.el (easy-mmode-pretty-mode-name):
354 Strip "toggle-" if any.
355
35ff222c
GM
3562012-06-27 Glenn Morris <rgm@gnu.org>
357
1ba6038a
GM
358 * info.el (Info-default-directory-list): Move here from paths.el.
359 * paths.el: Remove file, which is now empty.
360 * loadup.el: No longer load "paths".
361
0ea0e51b
GM
362 * custom.el (custom-initialize-delay): Doc fix.
363
35ff222c
GM
364 * eshell/em-alias.el, eshell/em-banner.el, eshell/em-basic.el:
365 * eshell/em-cmpl.el, eshell/em-dirs.el, eshell/em-glob.el:
366 * eshell/em-hist.el, eshell/em-ls.el, eshell/em-pred.el:
367 * eshell/em-prompt.el, eshell/em-rebind.el, eshell/em-script.el:
368 * eshell/em-smart.el, eshell/em-term.el, eshell/em-unix.el:
369 * eshell/em-xtra.el: Replace eshell-defgroup with "(progn (defgroup".
370 * eshell/eshell.el (eshell-defgroup): Remove alias.
371
c89926a5
CY
3722012-06-27 Chong Yidong <cyd@gnu.org>
373
374 * help.el (help-enable-auto-load): New variable.
375
376 * help-fns.el (help-fns--autoloaded-p): New function.
377 (describe-function-1): Refer to a function as "autoloaded" if it
378 was autoloaded at any time in the past. Perform autoloading if
379 help-enable-auto-load is non-nil.
380
cc06e7e7
EZ
3812012-06-26 Eli Zaretskii <eliz@gnu.org>
382
383 * makefile.w32-in (compile, compile-always): Depend on
384 update-subdirs, not on subdirs.el. Otherwise, several different
385 sub-targets of 'bootstrap' running in parallel could
386 simultaneously write to subdirs.el, producing a garbled file.
387
d2c32364
SS
3882012-06-26 Sam Steingold <sds@gnu.org>
389
390 * files.el (file-name-base): New convenience function.
0d14cc21
GM
391 * autoinsert.el, cus-dep.el, doc-view.el, image-dired.el:
392 * woman.el, eshell/esh-cmd.el, progmodes/ada-xref.el:
393 * progmodes/cc-defs.el, progmodes/cperl-mode.el:
394 * progmodes/flymake.el, progmodes/gud.el, progmodes/idlwave.el:
395 * textmodes/ispell.el, textmodes/reftex-ref.el:
d2c32364
SS
396 * textmodes/tex-mode.el: Use it.
397 Did not touch cedet and org because they are maintained elsewhere.
398
5cf983b2
MR
3992012-06-26 Martin Rudalics <rudalics@gmx.at>
400
401 * calendar/calendar.el (calendar-exit): Don't try to delete or
402 iconify last frame. See:
403 http://lists.gnu.org/archive/html/emacs-devel/2012-06/msg00372.html
404
8c4f2952
JD
4052012-06-25 Jim Diamond <Jim.Diamond@AcadiaU.ca> (tiny change)
406
407 * server.el (server-process-filter): Remember dir in the
408 process's `server-client-directory' properties.
409
772b2e2c
CY
4102012-06-24 Chong Yidong <cyd@gnu.org>
411
412 * xml.el (xml-parse-tag): Correctly handle comment embedded in
413 non-tag text.
414
711b11e1
JB
4152012-06-23 Juanma Barranquero <lekktu@gmail.com>
416
417 * makefile.w32-in (COMPILE_FIRST): Synch with changes in 2012-06-22T21:24:54Z!monnier@iro.umontreal.ca.
418
dc5d230c
SM
4192012-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
420
421 * help-fns.el (describe-variable): Don't croak when doc is not found.
422 * vc/pcvs.el (cvs-retrieve-revision): Avoid toggle-read-only.
423 * menu-bar.el (menu-bar-line-wrapping-menu): Purecopy a tiny bit more.
424 * emacs-lisp/syntax.el (syntax-ppss): Simplify with new `if' place.
425 * emacs-lisp/smie.el (smie-next-sexp): CSE.
426 * emacs-lisp/macroexp.el (macroexp-let2): Fix edebug spec and avoid
427 ((lambda ..) ..).
428 * emacs-lisp/eieio.el (eieio-oref, slot-value): Use simpler defsetf.
429
136e1c1d
CY
4302012-06-23 Chong Yidong <cyd@gnu.org>
431
e8c1cabf
CY
432 * info.el (Info-mouse-follow-link): Accept symbol values of
433 link-args. Select window; suggested by Gerhard Kahl (Bug#11672).
136e1c1d
CY
434 (Info-fontify-node): Use Info-link-keymap for all navigation
435 buttons, with link-args property to perform the desired action.
436 (Info-link-keymap): Doc fix.
437 (Info-next-link-keymap, Info-prev-link-keymap)
438 (Info-up-link-keymap): Delete now-unused keymaps.
439
0e9e6c6a
CY
4402012-06-23 Chong Yidong <cyd@gnu.org>
441
05e89fea
CY
442 * mouse.el (mouse-drag-track): Deactivate the mark before popping.
443
0e9e6c6a
CY
444 * progmodes/python.el (python-skeleton-define): Mark abbrevs as
445 system abbrevs.
446
447 * ansi-color.el (ansi-color-apply-on-region): Doc fix.
448
e33c6771
SM
4492012-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
450
b68581e2
SM
451 * emacs-lisp/cl-macs.el (cl--make-usage-args): Handle improper lists
452 (bug#11719).
453
e33c6771
SM
454 * minibuffer.el (completion--twq-try): Try to fail more gracefully when
455 the requote function doesn't work properly (bug#11714).
456
7117e105
GM
4572012-06-23 Glenn Morris <rgm@gnu.org>
458
459 * pcmpl-rpm.el (pcmpl-rpm-packages): Give status messages.
460
36cec983
SM
4612012-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
462
463 Further GV/CL cleanups.
464 * emacs-lisp/gv.el (gv-get): Autoload functions to find their
465 gv-expander.
466 (gv--defun-declaration): New function.
467 (defun-declarations-alist): Use it.
468 (gv-define-modify-macro, gv-pushnew!, gv-inc!, gv-dec!): Remove.
469 (gv-place): Autoload.
470 * emacs-lisp/cl.el (cl--dotimes, cl--dolist): Remember subr.el's
471 original definition of dotimes and dolist.
472 * emacs-lisp/cl-macs.el (cl-expr-access-order): Remove unused.
473 (cl-dolist, cl-dotimes): Use `dolist' and `dotimes'.
474 * emacs-lisp/cl-lib.el: Move gv handlers from cl-macs to here.
475 (cl-fifth, cl-sixth, cl-seventh, cl-eighth)
476 (cl-ninth, cl-tenth): Move gv handler to the function's definition.
477 * emacs-lisp/cl-extra.el (cl-subseq, cl-get, cl-getf): Move gv handler
478 to the function's definition.
479 * Makefile.in (COMPILE_FIRST): Re-order to speed it up by about 50%.
480 * window.el:
481 * files.el:
482 * faces.el:
483 * env.el: Don't use CL.
484
d35af63c
PE
4852012-06-22 Paul Eggert <eggert@cs.ucla.edu>
486
487 Support higher-resolution time stamps (Bug#9000).
488
489 * calendar/time-date.el (with-decoded-time-value): New arg
490 PICO-SYMBOL in VARLIST. It's optional, for backward compatibility.
491 (encode-time-value): New optional arg PICO. New type 3.
492 (time-to-seconds) [!float-time]: Support the new picoseconds
493 component if it's used.
494 (seconds-to-time, time-subtract, time-add):
495 Support ps-resolution time stamps as well.
496
497 * emacs-lisp/timer.el (timer): New component psecs. All uses changed.
498 (timerp): Timer vectors now have length 9, not 8.
499 (timer--time): Support new-style (4-part) time stamps.
500 (timer-next-integral-multiple-of-time): Time stamps now have
501 picosecond resolution, so take a bit more care about rounding.
502 (timer-relative-time, timer-inc-time): New optional arg psecs.
503 (timer-set-time-with-usecs): Set psecs to 0.
504 (timer--activate): Check psecs component, too.
505
506 * proced.el (proced-time-lessp): Support ps-resolution stamps.
507
ac77b21a
SM
5082012-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
509
f143bfe3
SM
510 * icomplete.el (icomplete-minibuffer-setup, icomplete-completions):
511 Move the non-essential binding to the post/pre-command-hook where it is
512 more obviously correct.
513
ac77b21a
SM
514 * subr.el (read-passwd): Don't use a history at all.
515 * savehist.el (savehist-save): Remove password saved accidentally
516 because of the above bug.
517
76386c5a
BG
5182012-06-22 Bastien Guerry <bzg@gnu.org>
519
520 * files.el (toggle-read-only): Display a message telling whether
521 the buffer is read-only or not (bug#11726).
522
2ee3d7f0
SM
5232012-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
524
525 * emacs-lisp/gv.el: New file.
526 * subr.el (push, pop): Extend to generalized variables.
527 * loadup.el (macroexp): Unload if preloaded and uncompiled (bug#11657).
528 * emacs-lisp/cl-lib.el (cl-pop, cl-push, cl--set-nthcdr): Remove.
529 * emacs-lisp/cl-macs.el: Require gv. Use gv-define-setter,
530 gv-define-simple-setter, and gv-define-expander.
531 Remove setf-methods defined in gv. Rename cl-setf -> setf.
532 (cl-setf, cl-do-pop, cl-get-setf-method): Remove.
533 (cl-letf, cl-letf*, cl-define-modify-macro, cl-defsetf)
534 (cl-define-setf-expander, cl-struct-setf-expander): Move to cl.el.
535 (cl-remf, cl-shiftf, cl-rotatef, cl-callf, cl-callf2): Rewrite with
536 gv-letplace.
537 (cl-defstruct): Don't define setf-method any more.
538 * emacs-lisp/cl.el (flet): Don't autoload.
539 (cl--letf, letf, cl--letf*, letf*, cl--gv-adapt)
540 (define-setf-expander, defsetf, define-modify-macro)
541 (cl-struct-setf-expander): Move from cl-lib.el.
542 * emacs-lisp/syntax.el:
543 * emacs-lisp/ewoc.el:
544 * emacs-lisp/smie.el:
545 * emacs-lisp/cconv.el:
546 * emacs-lisp/timer.el: Rename cl-setf -> setf, cl-push -> push.
547 (timer--time): Use gv-define-simple-setter.
548 * emacs-lisp/macroexp.el (macroexp-let2): Rename from macroexp-let²
549 to avoid coding-system problems in subr.el. Adjust all users.
550 (macroexp--maxsize, macroexp-small-p): New functions.
551 * emacs-lisp/bytecomp.el (byte-compile-file): Don't use cl-letf.
552 * scroll-bar.el (scroll-bar-mode):
553 * simple.el (auto-fill-mode, overwrite-mode, binary-overwrite-mode)
554 (normal-erase-is-backspace-mode): Don't use the `eq' place.
555 * winner.el (winner-configuration, winner-make-point-alist)
556 (winner-set-conf, winner-get-point, winner-set): Don't abuse letf.
557 * files.el (locate-file-completion-table): Avoid list*.
558
c5695d1d
CY
5592012-06-22 Chong Yidong <cyd@gnu.org>
560
561 * dired-aux.el (dired-do-create-files): Doc fix (Bug#11327).
562 (dired-create-files): Doc fix (Bug#11329).
563 (dired-do-copy): Doc fix (Bug#11334).
564 (dired-mark-read-string): Doc fix (Bug#11553).
565
2ee3d7f0
SM
566 * dired.el (dired-recursive-copies, dired-recursive-deletes):
567 Doc fix (Bug#11326).
c5695d1d
CY
568 (dired-make-relative): Doc fix (Bug#11332). Remove unused arg.
569 (dired-dwim-target): Doc fix.
570
571 * wdired.el (wdired-mode): Doc fix.
572
89b5595a
GM
5732012-06-22 Glenn Morris <rgm@gnu.org>
574
575db3f1
GM
575 * pcmpl-rpm.el (pcmpl-rpm-cache): New option.
576 (pcmpl-rpm-cache-stamp-file): New constant.
577 (pcmpl-rpm-cache-time, pcmpl-rpm-packages): New variables.
578 (pcmpl-rpm-packages): Optionally cache list of packages.
579
a4c8dd51
GM
580 * pcmpl-rpm.el (pcmpl-rpm): New group.
581 (pcmpl-rpm-query-options): New option.
582 (pcmpl-rpm-packages): No need to inline it.
583 Use pcmpl-rpm-query-options.
584
89b5595a
GM
585 * calendar/calendar.el (calendar-in-read-only-buffer):
586 Avoid some needless mode changes.
587
e76f0800
CY
5882012-06-21 Chong Yidong <cyd@gnu.org>
589
590 * desktop.el (desktop-read): Don't prompt if daemon (Bug#11674).
591 (desktop-path): Remove . from the default value (Bug#10977).
6b67c0d4 592 (desktop-read): Use user-emacs-directory if desktop-path is nil.
e76f0800 593
297a8f1d
CY
5942012-06-20 Chong Yidong <cyd@gnu.org>
595
596 * term.el (term-send-raw-meta): Make C-M-<char> keys work (Bug#8172).
597
d34c18b1
DR
5982012-06-20 David Röthlisberger <david@rothlis.net> (tiny change)
599
600 * ido.el (ido-switch-buffer, ido-find-file): Fix up doc of C-j
601 (bug#11201).
602
32f7f28e
CY
6032012-06-20 Chong Yidong <cyd@gnu.org>
604
605 * term.el (term-window-width): Handle the case of a missing right
606 fringe (Bug#8837).
607 (term-check-size): Use window-text-height (Bug#5445).
d34c18b1
DR
608 (term-mode): Use define-derived-mode. Minor cleanups.
609 Set font-lock-defaults (Bug#7692).
6ff7caa8
CY
610 (term-move-columns, term-insert-char, term-emulate-terminal)
611 (term-erase-in-line, term-insert-spaces): Use font-lock-face.
32f7f28e 612
493c6688
MA
6132012-06-20 Michael Albinus <michael.albinus@gmx.de>
614
d34c18b1
DR
615 * net/ange-ftp.el (ange-ftp-get-passwd):
616 Bind `enable-recursive-minibuffers'.
493c6688
MA
617 (ange-ftp-get-process): Throw if `non-essential' is non-nil.
618
3f06ecf4
DR
6192012-06-19 David Röthlisberger <david@rothlis.net> (tiny change)
620
621 * ido.el (ido-find-file): Mention C-d binding in docstring (bug#11244).
622
68f12411
GM
6232012-06-19 Glenn Morris <rgm@gnu.org>
624
625 * progmodes/python.el (python-mode): Derive from prog-mode.
626
b3820318
KG
6272012-06-19 Kevin Gallagher <Kevin.Gallagher@boeing.com>
628
629 * emulation/edt.el (edt-default-menu-bar-update-buffers)
630 (edt-user-menu-bar-update-buffers): New functions.
631 (edt-default-emulation-setup, edt-user-emulation-setup): Use them.
632
c6bf3022
CY
6332012-06-19 Chong Yidong <cyd@gnu.org>
634
635 * subr.el (with-selected-window): Preserve the selected window's
636 terminal's top-frame (Bug#4702).
637
638 * window.el (save-selected-window): Likewise.
639
25f09295
SM
6402012-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
641
642 * progmodes/python.el (python-rx-constituents): Move backquote.
643 (python-skeleton-define, python-define-auxiliary-skeleton):
644 Use `declare'.
645
6b11952a
MA
6462012-06-18 Michael Albinus <michael.albinus@gmx.de>
647
648 * minibuffer.el (read-file-name-default): Revert the patch from
649 2012-06-17.
650
ee4b1330
SM
6512012-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
652
653 * emacs-lisp/pcase.el (pcase--expand): Warn for unused pattern.
654 (pcase--u1, pcase--q1): Don't use apply-partially.
655
35647f79
GM
6562012-06-18 Glenn Morris <rgm@gnu.org>
657
658 * progmodes/python.el (python-proc, python-buffer)
659 (python-send-receive, python-send-string): Fix obsolete versions.
660
24b0cff0
MR
6612012-06-18 Martin Rudalics <rudalics@gmx.at>
662
663 * window.el (special-display-p): Completely remove stringp
664 check. Suggested by Andreas Schwab <schwab@linux-m68k.org>.
665
29855149
MA
6662012-06-17 Michael Albinus <michael.albinus@gmx.de>
667
668 * minibuffer.el (read-file-name-default): Bind `non-essential' to `t'.
669
670 * net/tramp.el (tramp-file-name-handler): Catch 'non-essential.
671
672 * net/ange-ftp.el (ange-ftp-gwp-start, ange-ftp-start-process):
673 * net/tramp-sh.el (tramp-maybe-open-connection):
674 Throw if `non-essential' is non-nil.
675
07463363
MR
6762012-06-17 Martin Rudalics <rudalics@gmx.at>
677
678 * window.el (special-display-p): Signal an error if BUFFER-NAME
679 is not a string (Bug#11713).
680
48d1354e
PE
6812012-06-17 Paul Eggert <eggert@cs.ucla.edu>
682
683 * progmodes/python.el (python-info-beginning-of-backslash):
684 Rename from python-info-beginning-of-backlash, as a spelling fix.
685
eb4a8a9a
CY
6862012-06-17 Chong Yidong <cyd@gnu.org>
687
688 * term.el (term-emulate-terminal): If term-check-size is called,
689 move point to the process mark without resetting point (Bug#4635).
690
ddfbf826 6912012-06-17 Glenn Morris <rgm@gnu.org>
9c758578
GM
692
693 * international/mule-cmds.el (mule-menu-keymap)
694 (set-language-environment, set-locale-environment): Doc tweaks.
695
9b0e3eba
AA
6962012-06-16 Aurelien Aptel <aurelien.aptel@gmail.com>
697
698 * cus-face.el (custom-face-attributes): Add wave-style underline
699 attribute.
700 * faces.el (set-face-attribute): Update docstring to describe
701 wave-style underline attribute.
702
771e3eae
CY
7032012-06-16 Chong Yidong <cyd@gnu.org>
704
705 * term/xterm.el (terminal-init-xterm): Discard input before
706 querying background mode (Bug#10959).
707
7ae2ea10
SM
7082012-06-16 Stefan Merten <smerten@oekonux.de>
709
710 * textmodes/rst.el: Added and corrected some comments.
711 (rst-re-alist-def): Improve symbol syntax.
712 (rst-mode-syntax-table): Correct syntax entries.
6665a6fd
SM
713 (rst-cvs-header, rst-svn-rev, rst-svn-timestamp)
714 (rst-official-version, rst-official-cvs-rev): Update version
715 information.
7ae2ea10 716
b6974efa
JB
7172012-06-15 Juanma Barranquero <lekktu@gmail.com>
718
719 * makefile.w32-in (COMPILE_FIRST): Synch with makefile.in changes
720 in 2008-06-22T13:57:28Z!monnier@iro.umontreal.ca.
721
8826d473
GM
7222012-06-15 Fabián Ezequiel Gallina <fgallina@cuca>
723
724 * progmodes/python.el: New python.el merge.
725 (python-guess-indent): Obsolete var.
726 (python-indent-guess-indent-offset): New defcustom.
727 (python-indent): Obsolete var.
728 (python-indent-offset): New defcustom.
729 (python-python-command, python-jython-command): Delete var.
730 (python-shell-interpreter): New defcustom.
731 (python-pdbtrack-do-tracking-p): Delete var.
732 (python-pdbtrack-activate): New defcustom.
733 (python-use-skeletons): Obsolete var.
734 (python-skeleton-autoinsert): New defcustom.
735 (inferior-python-filter-regexp, python-continuation-offset)
736 (python-honour-comment-indentation, python-indent-string-contents)
737 (python-jython-packages, python-mode-hook)
738 (python-pdbtrack-minor-mode-string, python-remove-cwd-from-path)
739 (python-shell-prompt-alist)
740 (python-source-modes): Delete defcustoms.
741 (python-check-buffer-name, python-eldoc-setup-code)
742 (python-eldoc-string-code, python-ffap-setup-code)
743 (python-ffap-string-code, python-fill-comment-function)
744 (python-fill-decorator-function, python-fill-paren-function)
745 (python-fill-string-function, python-imenu-include-defun-type)
746 (python-imenu-make-tree, python-imenu-subtree-root-label)
747 (python-pdbtrack-stacktrace-info-regexp, python-shell-buffer-name)
748 (python-shell-compilation-regexp-alist)
749 (python-shell-completion-module-string-code)
750 (python-shell-completion-pdb-string-code)
751 (python-shell-completion-setup-code)
752 (python-shell-completion-string-code)
753 (python-shell-enable-font-lock, python-shell-exec-path)
754 (python-shell-extra-pythonpaths)
755 (python-shell-internal-buffer-name, python-shell-interpreter-args)
756 (python-shell-process-environment)
757 (python-shell-prompt-block-regexp)
758 (python-shell-prompt-output-regexp)
759 (python-shell-prompt-pdb-regexp, python-shell-prompt-regexp)
760 (python-shell-send-setup-max-wait, python-shell-setup-codes)
761 (python-shell-virtualenv-path): New defcustoms.
762 (brm-menu, eldoc-documentation-function, inferior-python-mode-map)
763 (inferior-python-mode-syntax-table, python--prompt-regexp)
764 (python-buffer, python-command python-python-command)
765 (python-default-template, python-imports, python-indent-index)
766 (python-indent-list, python-indent-list-length)
767 (python-mode-running, python-pdbtrack-is-tracking-p)
768 (python-preoutput-continuation, python-preoutput-leftover)
769 (python-preoutput-result, python-preoutput-skip-next-prompt)
770 (python-prev-dir/file, python-recursing)
771 (python-saved-check-command, python-version-checked)
772 (python-which-func-length-limit)
773 (view-return-to-alist): Delete vars.
774 (python-check-custom-command, python-dotty-syntax-table)
775 (python-imenu-index-alist, python-indent-current-level)
776 (python-indent-dedenters, python-indent-levels)
777 (python-nav-beginning-of-defun-regexp)
778 (python-nav-list-defun-positions-cache)
779 (python-pdbtrack-buffers-to-kill, python-pdbtrack-tracked-buffer)
780 (python-shell-internal-buffer)
781 (python-skeleton-available): New vars.
782 (def-python-skeleton): Delete macro.
783 (python-skeleton-define): New macro.
784 (python-define-auxiliary-skeleton, python-rx): New macros.
785 (python-insert-class): Delete command.
786 (python-skeleton-class): New command.
787 (python-insert-def): Delete command.
788 (python-skeleton-def): New command.
789 (python-insert-for): Delete command.
790 (python-skeleton-for): New command.
791 (python-insert-if): Delete command.
792 (python-skeleton-if): New command.
793 (python-insert-try/except, python-insert-try/finally): Delete commands.
794 (python-skeleton-try): New command.
795 (python-insert-while): Delete command.
796 (python-skeleton-while): New command.
797 (python-backspace): Delete command.
798 (python-indent-dedent-line-backspace): New command.
799 (python-electric-colon): Delete command.
800 (python-indent-electric-colon): New command.
801 (python-guess-indent): Delete command.
802 (python-indent-guess-indent-offset): New command.
803 (python-shift-left): Delete command.
804 (python-indent-shift-left): New command.
805 (python-shift-right): Delete command.
806 (python-indent-shift-right): New command.
807 (python-find-function): Delete command.
808 (python-nav-jump-to-defun): New command.
809 (python-next-statement): Delete command.
810 (python-nav-forward-sentence): New command.
811 (python-previous-statement): Delete command.
812 (python-nav-backward-sentence): New command.
813 (python-fill-paragraph): Delete command.
814 (python-fill-paragraph-function): New command.
815 (python-send-buffer): Delete command.
816 (python-shell-send-buffer): New command.
817 (python-send-defun): Delete command.
818 (python-shell-send-defun): New command.
819 (python-send-region, python-send-region-and-go): Delete commands.
820 (python-shell-send-region)
821 (python-shell-switch-to-shell): New commands.
822 (python-send-string): Delete command.
823 (python-shell-send-string): New command.
824 (python-switch-to-python): Delete command.
825 (python-shell-switch-to-shell): New command.
826 (python-describe-symbol): Delete command.
827 (python-eldoc-at-point): New command.
828 (python--set-prompt-regexp, python-args-to-list)
829 (python-after-info-look, python-check-version)
830 (python-check-comint-prompt, python-find-imports)
831 (python-execute-file, turn-off-pdbtrack, turn-on-pdbtrack)
832 (python-unload-function, python-expand-template)
833 (python-maybe-jython, python-preoutput-filter)
834 (python-pdbtrack-get-source-buffer)
835 (python-pdbtrack-grub-for-buffer, python-pdbtrack-overlay-arrow)
836 (python-pdbtrack-toggle-stack-tracking)
837 (python-pdbtrack-track-stack-file, python-initial-text)
838 (python-first-word, python-comment-line-p, python-send-command)
839 (python-setup-brm, python-sentinel, python-set-proc)
840 (python-skip-out, python-input-filter, python-outdent-p)
841 (python-outline-level, python-backslash-continuation-line-p)
842 (python-end-of-block, python-end-of-statement, python-mark-block)
843 (python-beginning-of-block, python-beginning-of-statement)
844 (python-blank-line-p, python-beginning-of-string)
845 (python-open-block-statement-p): Delete functions.
846 (python-indent-line, python-indent-line-1): Delete functions.
847 (python-indent-line): New function.
848 (python-indentation-levels): Delete function.
849 (python-indent-calculate-levels): New function.
850 (python-proc): Delete function.
851 (python-shell-get-process): New function.
852 (python-send-receive): Delete function.
853 (python-shell-send-string-no-output): New function.
854 (python-module-path): Delete function.
855 (python-ffap-module-path): New function.
856 (python-completion-at-point)
857 (python-symbol-completions): Delete functions.
858 (python-completion-complete-at-point): New function.
859 (python-load-file): Delete function.
860 (python-shell-send-file): New function.
861 (python-calculate-indentation): Delete function.
862 (python-indent-calculate-indentation): New function.
863 (python-skip-comments/blanks): Delete function.
864 (python-util-forward-comment): New function.
865 (python-continuation-line-p): Delete function.
866 (python-info-continuation-line-p): New function.
867 (python-which-func, python-current-defun): Delete function.
868 (python-info-current-defun): New function.
869 (python-beginning-of-defun): Delete function.
870 (python-nav-beginning-of-defun): New function.
871 (python-close-block-statement-p)
872 (python-block-end-p): Delete function.
873 (python-info-closing-block): New function.
874 (python-comint-output-filter-function)
875 (python-eldoc--get-doc-at-point, python-end-of-defun-function)
876 (python-fill-comment, python-fill-decorator, python-fill-paren)
877 (python-fill-string, python-imenu-make-element-tree)
878 (python-imenu-make-tree, python-imenu-tree-assoc)
879 (python-indent-context, python-indent-dedent-line)
880 (python-indent-line-function)
881 (python-indent-post-self-insert-function)
882 (python-indent-toggle-levels)
883 (python-info-assignment-continuation-line-p)
884 (python-info-beginning-of-backlash)
885 (python-info-block-continuation-line-p)
886 (python-info-closing-block-message)
887 (python-info-line-ends-backslash-p)
888 (python-info-looking-at-beginning-of-defun)
889 (python-info-ppss-context, python-info-ppss-context-type)
890 (python-nav-list-defun-positions, python-nav-read-defun)
891 (python-nav-sentence-end, python-nav-sentence-start)
892 (python-pdbtrack-comint-output-filter-function)
893 (python-pdbtrack-set-tracked-buffer)
894 (python-shell-calculate-exec-path)
895 (python-shell-calculate-process-environment)
896 (python-shell-completion--do-completion-at-point)
897 (python-shell-completion--get-completions)
898 (python-shell-completion-complete-at-point)
899 (python-shell-completion-complete-or-indent)
900 (python-shell-get-or-create-process)
901 (python-shell-get-process-name)
902 (python-shell-internal-get-or-create-process)
903 (python-shell-internal-get-process-name)
904 (python-shell-internal-send-string, python-shell-make-comint)
905 (python-shell-parse-command, python-shell-send-setup-code)
906 (python-skeleton-add-menu-items)
907 (python-util-clone-local-variables, python-util-position)
908 (run-python-internal, python-indentation-levels)
909 (python-nav-beginning-of-defun)
910 (python-completion-complete-at-point): New functions.
911 (run-python): Change arguments. New API requirements.
912
4302f5ba
SM
9132012-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
914
f38ea36d
SM
915 * emacs-lisp/cl-lib.el (cl--defsubst-expand): Autoload inliner
916 (bug#11649).
917
918 * emacs-lisp/macroexp.el (macroexp--compiler-macro): New function.
919 (macroexp--expand-all): Use it.
920
4302f5ba
SM
921 * emacs-lisp/cl-macs.el (cl--transform-function-property): Remove.
922 (cl-define-setf-expander, cl-deftype, cl-define-compiler-macro):
923 Use `cl-function' instead.
924
33377562
JB
9252012-06-14 Juanma Barranquero <lekktu@gmail.com>
926
927 * makefile.w32-in (COMPILE_FIRST): Remove subr.el.
928 Suggested by Stefan Monnier while discussing bug#11657.
929
54c5ba1a
SS
9302012-06-14 Sam Steingold <sds@gnu.org>
931
932 * files.el (abort-if-file-too-large): Use `file-size-human-readable'.
933
f9f1b1fe
AS
9342012-06-14 Andreas Schwab <schwab@linux-m68k.org>
935
936 * play/doctor.el (doctor-doc): Remove parameter and use
937 doctor-sent instead of sent.
938 (doctor-read-print): Use doctor-sent instead of sent. (Bug#11708)
939
a81068ba
SM
9402012-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
941
5a315f9c
SM
942 * files.el: Require cl-lib.
943 (file-name-non-special): Replace case -> cl-case.
944
945 * emacs-lisp/cl-macs.el (cl-defstruct): Don't add print-func.
946
a81068ba
SM
947 * emacs-lisp/edebug.el (edebug-read-function): Remove old incorrect
948 mapping from #' to function*.
949
8cca9703
CY
9502012-06-13 Chong Yidong <cyd@gnu.org>
951
952 * mouse.el (mouse-drag-track): Do not set the mark if the user
953 releases the mouse without selecting anything (Bug#11588).
954
a12ac9d7
SM
9552012-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
956
ccf1dc18
SM
957 * textmodes/tex-mode.el (latex-indent): Recognize tex-verbatim at EOB
958 as well (bug#11646).
959
ef62b23d
SM
960 * loadup.el: Count byte-code functions as well.
961
c4c8444a
SM
962 * emacs-lisp/byte-opt.el (featurep): Move compiler-macro...
963 * emacs-lisp/bytecomp.el (featurep): ...here (bug#11692).
964
a12ac9d7
SM
965 * emacs-lisp/autoload.el (make-autoload): Accept nil doc-string-elt
966 (bug#11649). Add cl-defun and cl-defmacro.
967
87e6e64f
DA
9682012-06-13 Drew Adams <drew.adams@oracle.com>
969
970 * help-mode.el (help-bookmark-make-record, help-bookmark-jump):
971 Fix last change.
972
682cefaf
MA
9732012-06-13 Michael Albinus <michael.albinus@gmx.de>
974
975 * net/dbus.el (dbus-call-method): Use timeout for `read-event'.
976 Otherwise, it blocks in batch mode.
977
773e1f08
JB
9782012-06-13 Juanma Barranquero <lekktu@gmail.com>
979
980 * help-mode.el (bookmark-make-record-default): Declare.
981
60057926
CY
9822012-06-13 Chong Yidong <cyd@gnu.org>
983
984 * emacs-lisp/package.el (list-packages): Compute a list of
985 packages that are newly-available since the last list-packages
986 invocation.
987 (package-menu--new-package-list): New var.
988 (package-menu--generate, package-menu--print-info)
989 (package-menu--status-predicate, package-menu-mark-install):
990 Handle new status label "new".
991
ad4d226c
SM
9922012-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
993
994 * emacs-lisp/cl-macs.el (cl-remf): Fix error in recent
995 conversion to backquotes.
996
f1a4e679
CY
9972012-06-12 Chong Yidong <cyd@gnu.org>
998
999 * emacs-lisp/edebug.el (edebug-inhibit-emacs-lisp-mode-bindings):
1000 Rename from gud-inhibit-global-bindings.
1001
1002 * emacs-lisp/eieio.el (eieio-pre-method-execution-hooks): Doc fix.
1003
1004 * nxml/nxml-glyph.el (nxml-glyph-set-functions): Rename abnormal
1005 hook from nxml-glyph-set-hook.
1006
1007 * progmodes/cwarn.el (cwarn-mode): Remove redundant variable
1008 declaration.
1009
1010 * progmodes/pascal.el (pascal-toggle-completions): Doc fix.
1011
1012 * textmodes/bibtex.el (bibtex-string-file-path, bibtex-file-path):
1013 Convert to defcustom.
1014
0c9e42b5
DA
10152012-06-12 Drew Adams <drew.adams@oracle.com>
1016
1017 * help-mode.el (help-bookmark-make-record, help-bookmark-jump):
1018 New functions.
1019 (help-mode): Use them.
1020
09e06855
GM
10212012-06-11 Glenn Morris <rgm@gnu.org>
1022
1023 * progmodes/fortran.el (fortran-font-lock-keywords-3):
1024 Use preprocessor face for directives.
1025 (fortran-directive-re): Doc fix.
1026
71adb94b
SM
10272012-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
1028
2eb87922
SM
1029 * emacs-lisp/cl-macs.el (cl-parse-loop-clause): Fix error in recent
1030 conversion to backquotes (bug#11652).
1031
71adb94b
SM
1032 Fix compiler-expansion of CL's cXXr functions (bug#11673).
1033 * emacs-lisp/cl-lib.el (cl--defalias): New function.
1034 (cl-values, cl-values-list, cl-copy-seq, cl-svref, cl-first)
1035 (cl-second, cl-rest, cl-endp, cl-third, cl-fourth): Use it.
1036 (cl-plusp, cl-minusp, cl-fifth, cl-sixth, cl-seventh, cl-eighth)
1037 (cl-ninth, cl-tenth): Mark them as inlinable.
1038 (cl-caaar, cl-caadr, cl-cadar, cl-caddr, cl-cdaar, cl-cdadr)
1039 (cl-cddar, cl-cdddr, cl-caaaar, cl-caaadr, cl-caadar, cl-caaddr)
1040 (cl-cadaar, cl-cadadr, cl-caddar, cl-cadddr, cl-cdaaar, cl-cdaadr)
1041 (cl-cdadar, cl-cdaddr, cl-cddaar, cl-cddadr, cl-cdddar, cl-cddddr):
1042 Add a compiler-macro declaration to use cl--compiler-macro-cXXr.
1043 (cl-list*, cl-adjoin): Don't put an autoload manually.
1044 * emacs-lisp/cl-macs.el (cl--compiler-macro-adjoin)
1045 (cl--compiler-macro-list*): Add autoload cookie.
1046 (cl--compiler-macro-cXXr): New function.
2eb87922 1047
71adb94b
SM
1048 * help-fns.el (help-fns--compiler-macro): New function extracted from
1049 describe-function-1; follow aliases and use `compiler-macro' property.
1050 (describe-function-1): Use it.
1051
a6674402
CY
10522012-06-11 Chong Yidong <cyd@gnu.org>
1053
1054 * startup.el (fancy-splash-head): Use splash.svg even if librsvg
1055 is uninstalled, if imagemagick is installed.
1056
bb3faf5b
SM
10572012-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
1058
1059 * emacs-lisp/cl-lib.el: Use lexical-binding.
1060 (cl-map-extents, cl-maclisp-member): Remove.
1061 (cl--set-elt, cl--set-nthcdr, cl--set-buffer-substring)
1062 (cl--set-substring, cl--block-wrapper, cl--block-throw)
1063 (cl--compiling-file, cl--mapcar-many, cl--do-subst): Use "cl--" prefix.
1064 * emacs-lisp/cl-extra.el: Use lexical-binding.
1065 (cl--mapcar-many, cl--map-keymap-recursively, cl--map-intervals)
1066 (cl--map-overlays, cl--set-frame-visible-p, cl--progv-save)
1067 (cl--progv-before, cl--progv-after, cl--finite-do, cl--set-getf)
1068 (cl--do-remf, cl--do-prettyprint): Use "cl--" prefix.
1069 * emacs-lisp/cl-seq.el: Use lexical-binding.
1070 (cl--parsing-keywords, cl--check-key, cl--check-test-nokey)
1071 (cl--check-test, cl--check-match): Use "cl--" prefix and backquotes.
1072 (cl--alist, cl--sublis-rec, cl--nsublis-rec, cl--tree-equal-rec):
1073 * emacs-lisp/cl-macs.el (cl--lambda-list-keywords): Use "cl--" prefix.
1074 * edmacro.el (edmacro-mismatch): Simplify to remove dependence on
1075 CL's internals.
1076
2fe4b125
MA
10772012-06-11 Michael Albinus <michael.albinus@gmx.de>
1078
1079 Sync with Tramp 2.2.6-pre.
1080
1081 * net/tramp-cache.el (tramp-dump-connection-properties): Let-bind
1082 `print-length' and `print-level' to nil, in order to avoid
1083 truncation. Reported by Christopher Schmidt
1084 <christopher@ristopher.com>.
1085
1086 * net/tramp-cmds.el (tramp-cleanup-connection): Delete also process.
1087
1088 * net/tramp-compat.el (tramp-compat-condition-case-unless-debug):
1089 New defmacro.
1090 (tramp-compat-copy-directory): Add optional argument
1091 COPY-CONTENTS. It is not handled yet.
1092
1093 * net/tramp-ftp.el (tramp-disable-ange-ftp): Fix docstring.
1094 (tramp-ftp-file-name-p): Simplify.
1095
1096 * net/tramp-gvfs.el (tramp-gvfs-handle-expand-file-name):
1097 * net/tramp-gw.el (tramp-gw-open-connection): Add hop to
1098 connection vector.
1099
1100 * net/tramp-sh.el (tramp-copy-size-limit): Fix docstring.
1101 (tramp-methods): Do not use `tramp-password-end-of-line'.
1102 (tramp-completion-function-alist-putty): Handle UNIX case.
1103 (tramp-remote-path): Add "/opt/bin", "/opt/sbin" and "/opt/local/bin".
1104 (tramp-do-file-attributes-with-stat)
1105 (tramp-do-directory-files-and-attributes-with-stat) Return uid and
1106 gid as real numbers. They could run out of integer range on cygwin.
1107 (tramp-do-copy-or-rename-file-out-of-band): Better trace format.
1108 (tramp-sh-handle-expand-file-name): Handle hops.
87e6e64f
DA
1109 (tramp-open-connection-setup-interactive-shell):
1110 Use `tramp-cleanup'. Move check for busyboxes ...
1111 (tramp-find-shell): ... here. Simplify implementation.
1112 Set "remote-shell" property also for alternative shells.
1113 (tramp-remote-coding-commands): Check "test -c /dev/stdout".
1114 If failing, a regular file would be written otherwise.
1115 Reported by Dmitry Kurochkin <dmitry.kurochkin@gmail.com>.
2fe4b125
MA
1116 (tramp-find-inline-encoding): Cache the coding commands in the
1117 process cache. Apply test command on the remote side, if defined.
1118 (tramp-find-inline-compress): Cache the compress commands in the
1119 process cache.
1120 (tramp-compute-multi-hops): Save `tramp-default-proxies-alist'
1121 when requested. Handle hops.
1122 (tramp-current-connection): New defvar.
87e6e64f
DA
1123 (tramp-maybe-open-connection): Use `tramp-cleanup'.
1124 Throw `suppress', if there was a failed connection shortly before.
2fe4b125 1125 Handle user interrupt. (Bug#10187)
87e6e64f
DA
1126 (tramp-get-inline-compress, tramp-get-inline-coding):
1127 Read connection properties from the process cache.
2fe4b125
MA
1128
1129 * net/tramp-smb.el (tramp-smb-server-version)
87e6e64f
DA
1130 (tramp-smb-wrong-passwd-regexp, tramp-smb-actions-with-tar):
1131 New defconsts.
2fe4b125
MA
1132 (tramp-smb-prompt): Extend for powershell prompt.
1133 (tramp-smb-file-name-handler-alist): Add handlers for
1134 `process-file', `shell-command' and `start-file-process'.
1135 (tramp-smb-winexe-program, tramp-smb-winexe-shell-command)
1136 (tramp-smb-winexe-shell-command-switch): New defcustoms.
1137 (tramp-smb-file-name-p): Simplify.
1138 (tramp-smb-action-with-tar, tramp-smb-handle-process-file)
1139 (tramp-smb-kill-winexe-function, tramp-smb-call-winexe)
1140 (tramp-smb-shell-quote-argument): New defuns.
1141 (tramp-smb-handle-copy-directory): Add COPY-CONTENTS argument.
1142 Implement using "tar". By this, time-stamps are preserved.
1143 (tramp-smb-handle-copy-file): Handle also the case of directories.
1144 (tramp-smb-do-file-attributes-with-stat)
87e6e64f
DA
1145 (tramp-smb-get-file-entries, tramp-smb-get-cifs-capabilities):
1146 Use `tramp-get-connection-buffer').
2fe4b125
MA
1147 (tramp-smb-handle-rename-file): Use "rename", when source and
1148 target are on the same share.
87e6e64f
DA
1149 (tramp-smb-maybe-open-connection): Handle wrong passwords.
1150 Use `tramp-smb-server-version'.
2fe4b125
MA
1151 (tramp-smb-wait-for-output): Remove prompt.
1152
1153 * net/tramp.el (top): Require 'cl.
87e6e64f
DA
1154 (tramp-methods, tramp-rsh-end-of-line):
1155 Remove `tramp-password-end-of-line' from docstring.
2fe4b125
MA
1156 (tramp-save-ad-hoc-proxies): New defcustom.
1157 (tramp-completion-function-alist): Adapt docstring.
1158 (tramp-default-password-end-of-line): Remove defcustom.
1159 (tramp-shell-prompt-pattern): Allow "[]" style prompts. (Bug#11065)
1160 (tramp-user-regexp, tramp-file-name-regexp-unified)
1161 (tramp-file-name-regexp-url): Extend regexp by hop separator.
1162 (tramp-postfix-hop-format, tramp-postfix-hop-regexp)
1163 (tramp-remote-file-name-spec-regexp): New defconst.
1164 (tramp-file-name-structure): Extend structure for hops.
1165 (tramp-get-method-parameter): Move up.
1166 (tramp-file-name-p, tramp-dissect-file-name)
1167 (with-parsed-tramp-file-name): Handle hops.
1168 (tramp-file-name-hop): New defun.
1169 (tramp-make-tramp-file-name): New optional arg HOP.
1170 (tramp-message-show-progress-reporter-message): New defvar.
1171 (tramp-with-progress-reporter): Use it. We cannot use
1172 `tramp-message-show-message' here, because this suppresses also
1173 error buffers.
1174 (tramp-error-with-buffer): Suppress buffer view, if
87e6e64f
DA
1175 `tramp-message-show-message' is nil.
1176 Use `tramp-get-connection-buffer'.
2fe4b125
MA
1177 (tramp-cleanup): New defun.
1178 (tramp-rfn-eshadow-update-overlay): Let-bind `non-essential' to `t'.
1179 (tramp-file-name-handler): If `debug-on-error' is set, propagate
1180 an error unchanged.
1181 (tramp-completion-handle-file-name-all-completions): Handle hops.
1182 Fix an error when called from ido.
1183 (tramp-completion-dissect-file-name): Use better local variable
1184 name. Add hop to the vector.
1185 (tramp-handle-insert-file-contents): Use progress-reporter for the
1186 whole scenario.
1187 (tramp-action-password): Let-bind `enable-recursive-minibuffers'
1188 to `t'.
1189 (tramp-check-for-regexp): Simplify search.
1190 (tramp-enter-password): Remove it. Move implementation ...
1191 (tramp-action-password): ... here.
1192 (tramp-mode-string-to-int, tramp-local-host-p)
1193 (tramp-make-tramp-temp-file, tramp-read-passwd)
87e6e64f
DA
1194 (tramp-clear-passwd, tramp-time-less-p, tramp-time-diff):
1195 Set tramp-autoload cookie.
2fe4b125
MA
1196
1197 * net/trampver.el: Update release number.
1198
11992012-06-11 Thierry Volpiatto <thierry.volpiatto@gmail.com>
1200 Michael Albinus <michael.albinus@gmx.de>
1201
1202 * net/tramp.el (tramp-set-completion-function): Fix docstring.
1203 (tramp-parse-group, tramp-parse-file)
1204 (tramp-parse-shostkeys-sknownhosts): New defuns.
1205 (tramp-parse-rhosts, tramp-parse-rhosts-group, tramp-parse-shosts)
1206 (tramp-parse-shosts-group, tramp-parse-sconfig)
1207 (tramp-parse-sconfig-group, tramp-parse-shostkeys)
1208 (tramp-parse-sknownhosts, tramp-parse-hosts)
1209 (tramp-parse-hosts-group, tramp-parse-passwd, tramp-parse-netrc):
1210 Use them.
1211 (tramp-parse-passwd-group, tramp-parse-netrc-group)
1212 (tramp-parse-putty-group): Don't narrow.
1213 (tramp-parse-putty): Make a loop.
1214 (tramp-file-name-handler): Catch the `suppress' signal.
1215
72834e10
CY
12162012-06-11 Chong Yidong <cyd@gnu.org>
1217
1218 * image.el (imagemagick-register-types): Put the ImageMagick entry
1219 at the end of image-type-file-name-regexps.
1220
a4712e11
JB
12212012-06-11 Johan Bockgård <bojohan@gnu.org>
1222
1223 * emacs-lisp/pcase.el (pcase-UPAT, pcase-QPAT): New edebug specs.
1224 (pcase, pcase-let*, pcase-dolist): Use them.
1225
82ad98e3
SM
12262012-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
1227
1228 * emacs-lisp/pcase.el (pcase--let*): New function.
1229 (pcase-let*): Use it. Use pcase--memoize to avoid repeated expansions.
1230 (pcase--expand): Use macroexp-let².
1231
f80efb86
SM
12322012-06-10 Stefan Monnier <monnier@iro.umontreal.ca>
1233
1234 * emacs-lisp/timer.el, emacs-lisp/syntax.el, emacs-lisp/smie.el:
1235 * emacs-lisp/ewoc.el, emacs-lisp/cconv.el, emacs-lisp/bytecomp.el:
1236 * emacs-lisp/byte-opt.el, emacs-lisp/autoload.el: Convert to cl-lib.
1237 * emacs-lisp/easymenu.el, emacs-lisp/easy-mmode.el:
1238 * emacs-lisp/derived.el: Use pcase instead of `cl'.
1239 * emacs-lisp/cl-lib.el: Get rid of special cl-macs auto load.
1240
31ca4639 12412012-06-10 Glenn Morris <rgm@gnu.org>
94f0aa34 1242
31ca4639
CY
1243 * mail/rmail.el (rmail-yank-current-message): Leave point at
1244 correct position. (Bug#11660)
94f0aa34 1245
31ca4639 12462012-06-10 Chong Yidong <cyd@gnu.org>
9e1b8ec4 1247
31ca4639 1248 * allout-widgets.el: Fix code header.
9e1b8ec4 1249
31ca4639 12502012-06-10 Chong Yidong <cyd@gnu.org>
00cd0305 1251
f80efb86
SM
1252 * cus-edit.el (customize-changed-options-previous-release):
1253 Bump to 24.1.
31ca4639 1254
642b6d30
AS
12552012-06-09 Andreas Schwab <schwab@linux-m68k.org>
1256
1257 * Makefile.in (BIG_STACK_DEPTH): Enlarge to 2200.
1258
4f5d2ba1
CY
12592012-06-09 Chong Yidong <cyd@gnu.org>
1260
1261 * ebuff-menu.el (electric-buffer-list): Preserve header line.
1262
e75852fd
MR
12632012-06-09 Martin Rudalics <rudalics@gmx.at>
1264
1265 * window.el (special-display-popup-frame): Don't use
1266 window--display-buffer (Bug#11651).
1267
1e48e282
EZ
12682012-06-09 Eli Zaretskii <eliz@gnu.org>
1269
8a26b487
EZ
1270 Fix parallel builds: make sure loaddefs.el is not being written
1271 while Lisp files are compiled.
1272 (compile): Don't depend on 'mh-autoloads'.
1273 (compile-CMD, compile-SH): Depend on 'autoloads'.
1274 (bootstrap): Don't depend on 'autoloads' and 'mh-autoloads'.
1275
1e48e282
EZ
1276 * makefile.w32-in (BIG_STACK_DEPTH): Enlarge to 2200. (Bug#11649)
1277
6175e34b
CY
12782012-06-09 Chong Yidong <cyd@gnu.org>
1279
1280 * face-remap.el (face-remap-add-relative, face-remap-set-base)
1281 (buffer-face-set, buffer-face-toggle, buffer-face-mode-invoke):
1282 Doc fixes (Bug#11225).
1283
d9857e53
SM
12842012-06-09 Stefan Monnier <monnier@iro.umontreal.ca>
1285
1286 * emacs-lisp/macroexp.el (macroexp--expand-all): Only autoload
1287 a function if there's a clear indication that it has a compiler-macro.
1288 * emacs-lisp/byte-run.el (defun-declarations-alist, defmacro, defun)
1289 (macro-declarations-alist): Add arglist to declaration functions.
1290 (defun-declarations-alist): Add `obsolete' and `compiler-macro'.
1291 * emacs-lisp/cl-seq.el (cl-member, cl-assoc):
1292 * emacs-lisp/cl-lib.el (cl-list*, cl-adjoin):
1293 * emacs-lisp/cl-extra.el (cl-get): Use the new `declare' statement.
1294 Also add autoload to find the compiler macro.
1295 * emacs-lisp/cl-macs.el (eql) [compiler-macro]: Remove.
1296 (cl--compiler-macro-member, cl--compiler-macro-assoc)
1297 (cl--compiler-macro-adjoin, cl--compiler-macro-list*)
1298 (cl--compiler-macro-get): New functions, replacing calls to
1299 cl-define-compiler-macro.
1300 (cl-typep) [compiler-macro]: Use macroexp-let².
1301
f81298f8 13022012-06-08 Nick Dokos <nicholas.dokos@hp.com> (tiny change)
ee574791
UJ
1303
1304 * calendar/icalendar.el (icalendar--parse-vtimezone): Import TZID
1305 string properly, fixes Bug#11473.
1306
4b56d0fe
CY
13072012-06-08 Chong Yidong <cyd@gnu.org>
1308
1309 * faces.el (set-face-attribute): Doc fix.
1310 (modify-face): Don't use :bold and :italic.
1311 (error, warning, success): Tweak definitions.
1312
1313 * cus-edit.el (custom-modified, custom-invalid, custom-rogue)
1314 (custom-modified, custom-set, custom-changed, custom-themed)
1315 (custom-saved, custom-button, custom-button-mouse)
1316 (custom-button-pressed, custom-state, custom-comment-tag)
1317 (custom-variable-tag, custom-group-tag-1, custom-group-tag)
1318 (custom-group-subtitle): Use new-style face specs.
1319 (custom-invalid-face, custom-rogue-face, custom-modified-face)
1320 (custom-set-face, custom-changed-face, custom-saved-face)
1321 (custom-button-face, custom-button-pressed-face)
1322 (custom-documentation-face, custom-state-face)
1323 (custom-comment-face, custom-comment-tag-face)
1324 (custom-variable-tag-face, custom-variable-button-face)
1325 (custom-face-tag-face, custom-group-tag-face-1)
1326 (custom-group-tag-face): Remove obsolete face alias.
1327
1328 * epa.el (epa-validity-high, epa-validity-medium)
1329 (epa-validity-low, epa-mark, epa-field-name, epa-string)
1330 (epa-field-name, epa-field-body):
1331 * font-lock.el (font-lock-comment-face, font-lock-string-face)
1332 (font-lock-keyword-face, font-lock-builtin-face)
1333 (font-lock-function-name-face, font-lock-variable-name-face)
1334 (font-lock-type-face, font-lock-constant-face):
1335 * ido.el (ido-first-match, ido-only-match, ido-subdir)
1336 (ido-virtual, ido-indicator, ido-incomplete-regexp):
1337 * speedbar.el (speedbar-button-face, speedbar-file-face)
1338 (speedbar-directory-face, speedbar-tag-face)
1339 (speedbar-selected-face, speedbar-highlight-face)
1340 (speedbar-separator-face):
1341 * whitespace.el (whitespace-newline, whitespace-space)
1342 (whitespace-hspace, whitespace-tab, whitespace-trailing)
1343 (whitespace-line, whitespace-space-before-tab)
1344 (whitespace-space-after-tab, whitespace-indentation)
1345 (whitespace-empty):
1346 * emulation/cua-base.el (cua-global-mark):
1347 * eshell/em-prompt.el (eshell-prompt):
1348 * net/newst-plainview.el (newsticker-new-item-face)
1349 (newsticker-old-item-face, newsticker-immortal-item-face)
1350 (newsticker-obsolete-item-face, newsticker-date-face)
1351 (newsticker-statistics-face, newsticker-default-face):
1352 * net/newst-reader.el (newsticker-feed-face)
1353 (newsticker-extra-face, newsticker-enclosure-face):
1354 * net/newst-treeview.el (newsticker-treeview-face)
1355 (newsticker-treeview-new-face, newsticker-treeview-old-face)
1356 (newsticker-treeview-immortal-face)
1357 (newsticker-treeview-obsolete-face)
1358 (newsticker-treeview-selection-face):
1359 * net/rcirc.el (rcirc-my-nick, rcirc-other-nick)
1360 (rcirc-bright-nick, rcirc-server, rcirc-timestamp)
1361 (rcirc-nick-in-message, rcirc-nick-in-message-full-line)
1362 (rcirc-prompt, rcirc-track-keyword, rcirc-url, rcirc-keyword):
1363 * nxml/nxml-outln.el (nxml-heading, nxml-outline-indicator)
1364 (nxml-outline-active-indicator, nxml-outline-ellipsis):
1365 * play/mpuz.el (mpuz-unsolved, mpuz-solved, mpuz-trivial)
1366 (mpuz-text):
1367 * progmodes/vera-mode.el (vera-font-lock-number)
1368 (vera-font-lock-function, vera-font-lock-interface):
1369 * textmodes/table.el (table-cell): Use new-style face specs, and
1370 don't use the old :bold and :italic attributes.
1371
1372 * progmodes/ebrowse.el (ebrowse-tree-mark, ebrowse-root-class)
1373 (ebrowse-member-attribute, ebrowse-default, ebrowse-file-name)
1374 (ebrowse-member-class, ebrowse-progress): Likewise.
1375 (ebrowse-tree-mark-face, ebrowse-root-class-face)
1376 (ebrowse-file-name-face, ebrowse-default-face)
1377 (ebrowse-member-attribute-face, ebrowse-member-class-face)
1378 (ebrowse-progress-face): Remove obsolete faces.
1379
1380 * progmodes/flymake.el (flymake-errline, flymake-warnline):
1381 Inherit from error and warning faces respectively.
1382
1383 * textmodes/flyspell.el (flyspell-incorrect, flyspell-duplicate):
1384 Likewise.
f80efb86
SM
1385 (flyspell-incorrect-face, flyspell-duplicate-face):
1386 Remove obsolete aliases.
4b56d0fe 1387
03310646
MA
13882012-06-08 Michael Albinus <michael.albinus@gmx.de>
1389
1390 * net/tramp-compat.el (tramp-compat-temporary-file-directory):
1391 Avoid infloop.
1392
513749ee
SM
13932012-06-08 Stefan Monnier <monnier@iro.umontreal.ca>
1394
1395 * startup.el (argv, argi): Make lexically scoped.
1396 * emacs-lisp/float-sup.el (pi): Use internal-make-var-non-special.
1397 * emacs-lisp/cl-macs.el: Use lexical-binding.
1398 Rename cl-bind-* to cl--bind-*.
1399 * files.el: Don't require `cl' since it doesn't use it.
1400 * emacs-lisp/pcase.el, emacs-lisp/macroexp.el: Add coding cookie.
1401
595ef4ad
JB
14022012-06-08 Juanma Barranquero <lekktu@gmail.com>
1403
1404 * textmodes/texinfmt.el: Fix bug#11640 (reverts part of 2008-07-31T05:33:56Z!dann@ics.uci.edu).
1405 (texinfo-format-printindex): Use `texinfo-sort-region' in all platforms,
1406 instead of calling external sort utility.
1407 (texinfo-sort-region, texinfo-sort-startkeyfun): Restore functions.
1408
e9f66fcb
EZ
14092012-06-08 Eli Zaretskii <eliz@gnu.org>
1410
1411 * descr-text.el (describe-char): Mention how to insert the
1412 character, if the current input method doesn't support it.
1413 See the discussion in this thread for the details:
1414 http://lists.gnu.org/archive/html/emacs-devel/2012-05/msg00533.html.
1415
3d10db47
SS
14162012-06-08 Sam Steingold <sds@gnu.org>
1417
1418 * bindings.el (global-map): Bind XF86Forward to next-buffer and
1419 XF86Back to previous-buffer.
1420 (minibuffer-local-map): Bind them to next-history-element and
1421 previous-history-element respectively.
1422 * help-mode.el (help-mode-map): Bind them to help-go-forward and
1423 help-go-back respectively.
1424 * info.el (Info-mode-map): Bind them to Info-history-forward and
1425 Info-history-back respectively.
1426 These are the keys next to Up on the ThinkPad keyboard.
1427
de7e2b36
SM
14282012-06-08 Stefan Monnier <monnier@iro.umontreal.ca>
1429
1430 Get rid of cl-lexical-let, keeping only lexical-let for compatibility.
1431 * emacs-lisp/cl-macs.el: Provide itself.
1432 (cl--labels-convert-cache): New var.
1433 (cl--labels-convert): New function.
1434 (cl-flet, cl-labels): New implementation with new semantics, relying on
1435 lexical-binding.
1436 * emacs-lisp/cl.el: Mark compatibility aliases as obsolete.
1437 (cl-closure-vars, cl--function-convert-cache)
1438 (cl--function-convert): Move from cl-macs.el.
1439 (lexical-let, lexical-let*, flet, labels): Move from cl-macs.el and
1440 rename by removing the "cl-" prefix.
1441 * emacs-lisp/macroexp.el (macroexp-unprogn): New function.
1442
6fa6c4ae
SM
14432012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
1444
1445 * emacs-lisp/cl.el (cl-macroexpand, cl-macro-environment)
1446 (cl-macroexpand-all, cl-not-hash-table, cl-builtin-gethash)
1447 (cl-builtin-remhash, cl-builtin-clrhash, cl-builtin-maphash)
1448 (cl-map-keymap, cl-copy-tree, cl-gethash, cl-puthash, cl-remhash)
1449 (cl-clrhash, cl-maphash, cl-make-hash-table, cl-hash-table-p)
1450 (cl-hash-table-count): Add old compatibility aliases.
1451
1452 * emacs-lisp/cl-macs.el (cl-macro-environment): Remove var.
1453 Use macroexpand-all-environment instead.
1454 (cl--old-macroexpand): New var.
1455 (cl--sm-macroexpand): New function.
1456 (cl-symbol-macrolet): Use it during macro expansion.
1457 (cl--function-convert-cache): New var.
1458 (cl--function-convert): New function, extracted from
1459 cl-macroexpand-all.
1460 (cl-lexical-let): Use it.
1461
1462 * emacs-lisp/cl-lib.el (cl-macro-environment): Remove decl.
1463 (cl-macroexpand): Move to cl-macs.el and rename to cl--sm-macroexpand.
1464 (cl-member): Remove old alias.
1465
1466 * emacs-lisp/cl-extra.el (cl-map-keymap, cl-copy-tree)
1467 (cl-not-hash-table, cl-builtin-gethash, cl-builtin-remhash)
1468 (cl-builtin-clrhash, cl-builtin-maphash, cl-gethash, cl-puthash)
1469 (cl-remhash, cl-clrhash, cl-maphash, cl-make-hash-table)
1470 (cl-hash-table-p, cl-hash-table-count): Move to cl.el.
1471 (cl-macroexpand-cmacs): Remove var.
1472 (cl-macroexpand-all, cl-macroexpand-body): Remove funs.
1473 Use macroexpand-all instead.
1474
4dd1c416
SM
14752012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
1476
1477 * emacs-lisp/macroexp.el (macroexp-progn, macroexp-let*, macroexp-if)
1478 (macroexp-let², macroexp--const-symbol-p, macroexp-const-p)
1479 (macroexp-copyable-p): New functions and macros.
1480 * emacs-lisp/edebug.el (edebug-unwrap):
1481 * emacs-lisp/disass.el (disassemble-internal): Use macroexp-progn.
1482 * emacs-lisp/pcase.el: Use macroexp-let*, macroexp-if, ...
1483 (pcase--let*): Remove.
1484 * emacs-lisp/bytecomp.el (byte-compile-const-symbol-p)
1485 (byte-compile-constp): Remove. Use macroexp--const-symbol-p and
1486 macroexp-const-p instead.
1487 * emacs-lisp/byte-opt.el: Use macroexp-const-p and macroexp-progn.
1488
1489 * emacs-lisp/cl-macs.el: Clean up the name space by using "cl--"
1490 instead of "cl-" for internal definitions. Use macroexp-const-p.
1491 (cl-old-bc-file-form): Remove var.
1492 (cl-const-exprs-p): Remove fun.
1493 (cl-labels, cl-macrolet): Use backquote.
1494 (cl-lexical-let): Use cl-symbol-macrolet. Don't use cl-defun-expander.
1495 (cl-defun-expander, cl-byte-compile-compiler-macro): Remove fun.
1496 (cl-define-setf-expander): Rename from cl-define-setf-method.
1497 * emacs-lisp/cl.el: Adjust alias for define-setf-method.
1498
1499 * international/mule-cmds.el: Don't require CL.
1500 (view-hello-file): Don't use `letf'.
1501
ed8bd4d7
SM
15022012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
1503
7287f2f3
SM
1504 * tmm.el (tmm-prompt): Use string-prefix-p.
1505 (tmm-completion-delete-prompt): Don't affect current-buffer outside.
1506 (tmm-add-prompt): Use minibuffer-completion-help.
1507 (tmm-delete-map): Remove.
1508
ed8bd4d7
SM
1509 * subr.el (kbd): Make it its own function.
1510
7b4cdbf4
SM
15112012-06-07 Stefan Merten <smerten@oekonux.de>
1512
1513 * textmodes/rst.el: Use `eval-when-compile' for requiring `cl.el'.
1514 Silence compiler warnings. Fix versions.
ed8bd4d7 1515 (rst-position-if, rst-position, rst-some, rst-signum): New functions.
7b4cdbf4 1516 (rst-shift-region, rst-adornment-level, rst-compute-tabs)
ed8bd4d7 1517 (rst-indent-line, rst-shift-region, rst-forward-line): Use them.
7b4cdbf4
SM
1518 (rst-package-emacs-version-alist): Correct Emacs version to
1519 represent major merge with upstream.
ed8bd4d7 1520 (rst-transition, rst-adornment, rst-compile-toolsets): Fix versions.
7b4cdbf4 1521
2b48d721
GM
15222012-06-06 Glenn Morris <rgm@gnu.org>
1523
1524 * mail/emacsbug.el (report-emacs-bug): Add relevant EMACS env-vars.
1525 Only print environment variables if set.
1526
fa779ab0
SM
15272012-06-06 Stefan Monnier <monnier@iro.umontreal.ca>
1528
1529 * emacs-lisp/macroexp.el: Don't require CL since we don't use it.
1530 (macroexp--cons): Rename from maybe-cons.
1531 (macroexp--accumulate): Rename from macroexp-accumulate.
1532 (macroexp--all-forms): Rename from macroexpand-all-forms.
1533 (macroexp--all-clauses): Rename from macroexpand-all-clauses.
1534 (macroexp--expand-all): Rename from macroexpand-all-1.
1535
628299e0
SS
15362012-06-06 Sam Steingold <sds@gnu.org>
1537
1538 * calendar/calendar.el (calendar-in-read-only-buffer):
1539 Call `special-mode' to enable the standard read-only keybindings.
1540
b7bb5838
SM
15412012-06-06 Stefan Monnier <monnier@iro.umontreal.ca>
1542
1543 * emacs-lisp/macroexp.el (macroexpand-all-1): Don't spam the output
1544 with "loading" messages (bug#11635).
1545
dfb308ba
MA
15462012-06-06 Michael Albinus <michael.albinus@gmx.de>
1547
1548 * files.el (enable-remote-dir-locals): New option.
1549 (hack-dir-local-variables): Use it. (Bug#1933, Bug#6731)
1550
0372ee92
MA
1551 * net/tramp-compat.el (tramp-compat-temporary-file-directory):
1552 Ensure, that the temp directory is local.
1553
1554 * net/tramp-sh.el (tramp-sh-handle-write-region): Let-bind
1555 `temporary-file-directory'.
1556
eed0bb91
MA
1557 * progmodes/python.el (python-send-region): Ensure, that the
1558 temporary file is created also in the remote case.
1559
7a58f64d
GM
15602012-06-06 Glenn Morris <rgm@gnu.org>
1561
f7dd4e98
GM
1562 * vc/vc-rcs.el (vc-rcs-rcs2log-program): New.
1563 (vc-rcs-update-changelog): Use it.
1564
090bd7cb 1565 * emacs-lisp/authors.el (authors-fixed-entries): Remove vcdiff.
276d5f5d 1566
7a58f64d
GM
1567 * vc/vc-sccs.el (vc-sccs-write-revision): New function.
1568 (vc-sccs-workfile-unchanged-p): Use vc-sccs-write-revision.
1569 (vc-sccs-diff): Replace use of the external vcdiff script.
1570
daed4003
GM
15712012-06-05 Glenn Morris <rgm@gnu.org>
1572
1573 * ledit.el: Move to obsolete/.
1574
48c455c7
SS
15752012-06-05 Sam Steingold <sds@gnu.org>
1576
1577 * calendar/calendar.el (calendar-exit): reinstate the 2012-03-28
1578 patch (Bug#11140).
1579
57a7d507
SM
15802012-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
1581
090bd7cb 1582 * emacs-lisp/cust-print.el: Move to obsolete.
d32926ff 1583
53aacf21
SM
1584 * emacs-lisp/macroexp.el (macroexpand-all-1): Tolerate errors during
1585 compiler-macro expansion.
1586
57a7d507
SM
1587 Add native compiler-macro support.
1588 * emacs-lisp/macroexp.el (macroexpand-all-1):
1589 Support compiler-macros directly. Properly follow aliases and apply
1590 the compiler macros more thoroughly.
1591 * emacs-lisp/cl.el: Don't copy compiler-macro properties any more since
1592 macroexpand now properly follows aliases.
1593 * emacs-lisp/cl-macs.el (toplevel, cl-define-compiler-macro)
1594 (cl-compiler-macroexpand): Use new prop.
1595 * emacs-lisp/byte-opt.el (featurep): Optimize earlier.
1596
1597 * emacs-lisp/cl-lib.el (custom-print-functions): Add alias.
1598
51a5f9d8
MR
15992012-06-05 Martin Rudalics <rudalics@gmx.at>
1600
1601 * window.el (get-lru-window, get-mru-window, get-largest-window):
1602 New argument NOT-SELECTED to avoid picking the selected window.
1603 (window--display-buffer-1, window--display-buffer-2): Replace by
1604 new function window--display-buffer
1605 (display-buffer-same-window, display-buffer-reuse-window)
57a7d507
SM
1606 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
1607 Use window--display-buffer.
51a5f9d8
MR
1608 (display-buffer-use-some-window): Remove temporary dedication
1609 hack by calling get-lru-window and get-largest-window with
1610 NOT-SELECTED argument non-nil. Call window--display-buffer.
1611
08f9f738
GM
16122012-06-05 Glenn Morris <rgm@gnu.org>
1613
1614 * vc/vc-sccs.el (vc-sccs-workfile-unchanged-p):
1615 Replace external vcdiff script.
1616
e364a2b7
SM
16172012-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
1618
1619 * emacs-lisp/cl-lib.el (cl-values, cl-values-list): Fix up last change.
1620
041df390
CY
16212012-06-04 Chong Yidong <cyd@gnu.org>
1622
e364a2b7
SM
1623 * image.el (imagemagick-types-inhibit): Revert last change.
1624 Add INFO and M.
47b36b94 1625 (imagemagick-enabled-types): Remove CIN and EPS*.
041df390 1626
7c1898a7
SM
16272012-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
1628
1629 * emacs-lisp/cl-lib.el: Rename from cl.el.
1630 * emacs-lisp/cl.el: New compatibility file.
1631 * emacs-lisp/cl-lib.el, emacs-lisp/cl-seq.el, emacs-lisp/cl-macs.el:
1632 * emacs-lisp/cl-extra.el: Rename all top-level functions and variables
1633 to obey the "cl-" prefix.
1634 * emacs-lisp/macroexp.el (macroexpand-all-1): Adjust to new name.
1635
0c3461de
GM
16362012-06-03 Glenn Morris <rgm@gnu.org>
1637
1e266c88
GM
1638 * emacs-lisp/authors.el (authors-aliases): Addition.
1639
0c3461de
GM
1640 * cus-start.el (tool-bar-style, tool-bar-max-label-size):
1641 Fix :version.
1642
d8a52e15
SM
16432012-06-03 Stefan Merten <smerten@oekonux.de>
1644
1645 * textmodes/rst.el: Add comments.
1646 (rst-transition, rst-adornment): New faces.
1647 (rst-adornment-faces-alist): Make default safe to reevaluate.
1648 Fixes
1649 http://sourceforge.net/tracker/?func=detail&atid=422030&aid=3479603&group_id=38414.
1650 Improve customization tags.
1651 (rst-define-level-faces): Clarify meaning.
1652
5205d6f6
CY
16532012-06-03 Chong Yidong <cyd@gnu.org>
1654
1655 * progmodes/compile.el (compilation-mode-line-fail)
7c1898a7
SM
1656 (compilation-mode-line-run, compilation-mode-line-exit):
1657 New faces.
5205d6f6
CY
1658 (compilation-start, compilation-handle-exit): Use them (Bug#11032).
1659
757ee657
JD
16602012-06-03 Jack Duthen <duthen.mac.01@gmail.com> (tiny change)
1661
7c1898a7
SM
1662 * progmodes/which-func.el (which-func-update-ediff-windows):
1663 New function. Use it in ediff-select-hook (Bug#11478).
757ee657 1664
5f2c76c6
CY
16652012-06-03 Chong Yidong <cyd@gnu.org>
1666
1667 * bindings.el: Remove explicit help text from format-mode-line.
1668 It is now supplied by mode-line-default-help-echo.
1669 (mode-line-front-space, mode-line-end-spaces)
1670 (mode-line-misc-info): New variables.
1671 (mode-line-modes, mode-line-position): Move the default value to
1672 the variable definition.
1673 (mode-line-default-help-echo): New defcustom.
383f7350
CY
1674 (mode-line-mule-info-help-echo, mode-line-read-only-help-echo)
1675 (mode-line-modified-help-echo): New functions.
1676 (mode-line-mule-info, mode-line-modified): Use them.
1677 (mode-line-eol-desc, propertized-buffer-identification):
1678 Consistency fixes for help text.
cbe46e5f
CY
1679 (mode-line-coding-system-map): Allow using mouse-3 to invoke
1680 set-buffer-file-coding-system (Bug#289).
1681 (mode-line-mule-info-help-echo): Update help text.
5f2c76c6 1682
f2d6a3df
SM
16832012-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
1684
1685 * simple.el (execute-extended-command): Set real-this-command
1686 (bug#11506).
1687
37269466
CY
16882012-06-02 Chong Yidong <cyd@gnu.org>
1689
1690 Remove incorrect uses of "modeline" in comments, docstrings, and
1691 function/variable names (Bug#10329).
1692
1693 * cus-edit.el (mode-line):
1694 * dframe.el (dframe-mouse-hscroll):
1695 * emacs-lisp/re-builder.el:
1696 * emacs-lisp/easy-mmode.el (define-minor-mode):
1697 * frame.el (set-frame-name):
1698 * help.el (lookup-minor-mode-from-indicator):
1699 * net/rcirc.el (rcirc-activity-string, rcirc-short-buffer-name):
1700 * progmodes/cc-cmds.el (c-toggle-auto-newline)
1701 (c-toggle-hungry-state):
1702 * progmodes/antlr-mode.el (antlr-language-alist):
1703 * progmodes/idlw-shell.el (idlwave-shell-electric-stop-line-face):
1704 * progmodes/vhdl-mode.el (vhdl-mode):
1705 * progmodes/which-func.el (which-func, which-func-cleanup-function):
1706 * term/ns-win.el (ns-face-at-pos):
1707 * term/sup-mouse.el (sup-mouse-report):
1708 * textmodes/flyspell.el (flyspell-mode-line-string):
1709 * textmodes/ispell.el (ispell-highlight-face):
1710 * textmodes/reftex-global.el:
1711 * vc/vc-arch.el (vc-arch-mode-line-string):
1712 * vc/vc-cvs.el (vc-cvs-mode-line-string):
1713 * vc/vc-git.el (vc-git-mode-line-string):
1714 * vc/vc-hooks.el (vc-display-status)
1715 (vc-default-mode-line-string):
1716 * vc/vc-mtn.el (vc-mtn-mode-line-string): Doc fixes.
1717
1718 * ansi-color.el (ansi-color-faces-vector): Change default faces.
1719
1720 * dired.el (dired-sort-set-mode-line): Rename from
1721 dired-sort-set-modeline. All callers changed.
1722
1723 * eshell/esh-mode.el (eshell-status-in-mode-line): Rename from
1724 eshell-status-in-modeline.
1725
1726 * foldout.el (foldout-mode-line-string): Rename from
1727 foldout-modeline-string. All callers changed.
1728 (foldout-update-mode-line): Rename from foldout-update-modeline.
1729
1730 * subr.el (redraw-modeline): Make into obsolete alias.
1731
1732 * calendar/timeclock.el (timeclock-mode-line-display): Rename from
1733 timeclock-modeline-display. Make old name an alias.
1734 (timeclock-update-mode-line): Likewise. All callers changed.
1735 (timeclock-mode-line-display): No need to check before using
1736 add-hook.
1737 (timeclock-relative, timeclock-day-over-hook)
1738 (timeclock-use-elapsed, timeclock-mode-string)
1739 (timeclock-mode-line-display): Doc fix, "modeline" -> "mode line".
1740
1741 * emulation/crisp.el (crisp-mode-mode-line-string): Rename from
1742 crisp-mode-modeline-string.
1743
1744 * play/solitaire.el (solitaire-build-mode-line): Rename from
1745 solitaire-build-modeline. All callers changed.
1746
1747 * play/zone.el (zone-hiding-mode-line): Rename from
1748 zone-hiding-modeline. All callers changed.
1749 (zone): Remove unusued `modeline-hidden-level' property.
1750
1751 * progmodes/xscheme.el (xscheme-mode-line-initialize): Rename from
1752 xscheme-modeline-initialize. All callers changed.
1753
1754 * strokes.el (strokes-lighter): Rename from
1755 strokes-modeline-string.
1756
1757 * textmodes/sgml-mode.el (html-face-tag-alist)
1758 (html-tag-face-alist): Use mode-line face instead of obsolete
1759 alias modeline.
1760
42152ee4
SM
17612012-06-02 Stefan Merten <smerten@oekonux.de>
1762
1763 * textmodes/rst.el: Always require `cl'.
4cf9b38d 1764 (rst-mode-map): Fix meaning of C-M-a / C-M-e.
42152ee4 1765
95f520b5
CY
17662012-06-02 Chong Yidong <cyd@gnu.org>
1767
1768 * image.el (imagemagick-enabled-types): Rename from
1769 imagemagick-types-enable. Add many more types.
1770 (imagemagick-types-inhibit): Change default to nil.
1771 (imagemagick-filter-types): Caller changed.
1772
4a5f187a
SM
17732012-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
1774
03fef3e6
SM
1775 * emacs-lisp/cl-macs.el: Use backquotes.
1776 (cl-transform-function-property): Use eval-and-compile rather than
1777 abusing `require'.
1778 (defstruct): Use declare-function instead of with-no-warnings.
1779
4a5f187a
SM
1780 * emacs-lisp/bytecomp.el: Fix last change (bug#11594).
1781 (byte-compile-output-docform): Re-add the print-circle bindings.
1782 (byte-compile-fix-header): Use #$ just because it's shorter.
1783 (byte-compile-output-file-form): Remove defun/defmacro.
1784
bd56924f
MR
17852012-06-01 Martin Rudalics <rudalics@gmx.at>
1786
1787 * simple.el (choose-completion): Remove now obsolete binding for
1788 owindow.
1789
046e38ce
MA
17902012-06-01 Michael Albinus <michael.albinus@gmx.de>
1791
1792 * net/tramp.el (tramp-check-for-regexp): Search from buffer end,
1793 in order to avoid "Stack overflow in regexp matcher".
1794
32d72c2f
GM
17952012-05-31 Glenn Morris <rgm@gnu.org>
1796
1797 * image.el: For clarity, call imagemagick-register-types at
1798 top-level, rather than relying on a custom :initialize.
1799 (imagemagick-types-enable): New option. (Bug#11557)
60b5f187
GM
1800 (imagemagick-filter-types): New function. (Bug#7406)
1801 (imagemagick-register-types): Use imagemagick-filter-types.
32d72c2f
GM
1802 If disabling support, remove elements altogether rather
1803 than using an impossible regexp.
1804 (imagemagick-types-inhibit): Give it the default init function.
1805
dd41169b
SM
18062012-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
1807
4a5f187a
SM
1808 * emacs-lisp/bytecomp.el (byte-compile-fix-header):
1809 Handle arbitrary file name lengths (Bug#11585).
dd41169b 1810
efc00ab1 18112012-05-31 Martin Rudalics <rudalics@gmx.at>
5221ccb9
MR
1812
1813 * desktop.el (desktop-read): Clear previous and next buffers for
1814 all windows and bury *Messages* buffer (bug#11556).
1815
500fcedc
SM
18162012-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
1817
1818 Add `declare' for `defun'. Align `defmacro's with it.
1819 * emacs-lisp/easy-mmode.el (define-minor-mode)
1820 (define-globalized-minor-mode): Don't autoload the var definitions.
1821 * emacs-lisp/byte-run.el: Use lexical-binding.
1822 (defun-declarations-alist, macro-declarations-alist): New vars.
1823 (defmacro, defun): Use them.
1824 (make-obsolete, define-obsolete-function-alias)
1825 (make-obsolete-variable, define-obsolete-variable-alias):
1826 Use `declare'.
1827 (macro-declaration-function): Mark obsolete.
1828 * emacs-lisp/autoload.el: Use lexical-binding.
1829 (make-autoload): Add `expansion' arg. Rely more on macro expansion.
1830
6e8a1786
AM
18312012-05-30 Agustín Martín Domingo <agustin.martin@hispalinux.es>
1832
1833 * textmodes/ispell.el (ispell-with-no-warnings):
1834 Define as a macro.
500fcedc
SM
1835 (ispell-kill-ispell, ispell-change-dictionary):
1836 Use `called-interactively-p' for Emacs instead of obsolete
6e8a1786
AM
1837 `interactive-p'.
1838
61b108cc
SM
18392012-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
1840
1841 * emacs-lisp/byte-run.el (defmacro, defun): Move from C.
1842 (macro-declaration-function): Move var from C code.
1843 (macro-declaration-function): Define function with defalias.
1844 * emacs-lisp/macroexp.el (macroexpand-all-1):
1845 * emacs-lisp/cconv.el (cconv-convert, cconv-analyse-form):
1846 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker): Don't handle
1847 defun/defmacro any more.
1848 * emacs-lisp/bytecomp.el (byte-compile-arglist-signature):
1849 Provide fallback for unknown arglist.
1850 (byte-compile-arglist-warn): Change calling convention.
1851 (byte-compile-output-file-form): Move print-vars binding.
1852 (byte-compile-output-docform): Simplify accordingly.
1853 (byte-compile-file-form-defun, byte-compile-file-form-defmacro)
1854 (byte-compile-defmacro-declaration): Remove.
1855 (byte-compile-file-form-defmumble): Generalize to defalias.
1856 (byte-compile-output-as-comment): Return byte-positions.
1857 Simplify callers accordingly.
1858 (byte-compile-lambda): Use `assert'.
1859 (byte-compile-defun, byte-compile-defmacro): Remove.
1860 (byte-compile-file-form-defalias):
1861 Use byte-compile-file-form-defmumble.
1862 (byte-compile-defalias-warn): Remove.
1863
6d3f7c2f
SM
18642012-05-29 Stefan Merten <smerten@oekonux.de>
1865
1866 * textmodes/rst.el: Silence `checkdoc-ispell' errors where
61b108cc 1867 possible. Fix authors. Improve comments. Improve loading of `cl'.
6d3f7c2f
SM
1868
1869 (rst-mode-abbrev-table): Merge definition.
1870 (rst-mode): Make sure `font-lock-defaults' is buffer local.
1871 (rst-define-key, rst-deprecated-keys, rst-call-deprecated): Refactor.
1872
6dbaa1c7
UJ
18732012-05-29 Ulf Jasper <ulf.jasper@web.de>
1874
1875 * calendar/icalendar.el
1876 (icalendar-export-region): Export UID properly.
1877
d209e2fb 18782012-05-29 Leo Liu <sdl.web@gmail.com>
61b108cc
SM
1879 * calendar/icalendar.el (icalendar-import-format):
1880 Add `icalendar-import-format-uid' (Bug#11525).
6dbaa1c7
UJ
1881 (icalendar-import-format-uid): New.
1882 (icalendar--parse-summary-and-rest, icalendar--format-ical-event):
1883 Export UID.
1884
6876a58d
SM
18852012-05-29 Stefan Monnier <monnier@iro.umontreal.ca>
1886
1887 * emacs-lisp/pcase.el (pcase--expand): Accept different sets of vars in
1888 different alternative patterns.
1889 (pcase-codegen): Be more careful to preserve identity.
1890 (pcase--u1): Don't forget to mark vars as used.
1891
1892 * emacs-lisp/bytecomp.el (byte-compile-constp): Treat #'v as a constant.
1893 (byte-compile-close-variables): Bind byte-compile--outbuffer here...
1894 (byte-compile-from-buffer): ...rather than here.
1895
1896 * emacs-lisp/byte-opt.el (byte-compile-inline-expand): Don't re-preprocess
1897 functions from byte-compile-function-environment.
1898
46b7967e
TN
18992012-05-29 Troels Nielsen <bn.troels@gmail.com>
1900
1901 * window.el (window-deletable-p): Avoid deleting the root window
1902 of a frame with an active minibuffer.
1903
69d565e2
MR
19042012-05-29 Martin Rudalics <rudalics@gmx.at>
1905
1906 * simple.el (choose-completion): Use quit-window (Bug#11567).
1907
a149fa51
CY
19082012-05-29 Chong Yidong <cyd@gnu.org>
1909
1910 * whitespace.el (whitespace-cleanup): Fix usage of
1911 whitespace-empty-at-bob-regexp (Bug#11492).
1912
2b311310
AH
19132012-05-29 Aaron S. Hawley <aaron.s.hawley@gmail.com>
1914
1915 * vc/vc.el (vc-revert, vc-rollback): Dont kill vc-diff buffer on
1916 revert (Bug#11488).
1917
b9cb2387
JL
19182012-05-29 Juri Linkov <juri@jurta.org>
1919
1920 * isearch.el (isearch-mode-map): Bind `M-s _' to
1921 `isearch-toggle-symbol'. Bind `M-s c' to
1922 `isearch-toggle-case-fold'.
1923 (search-map): Bind `M-s _' to `isearch-forward-symbol'.
1924 (isearch-forward): Add `M-s _' to the docstring.
1925 (isearch-forward-symbol, isearch-toggle-case-fold)
1926 (isearch-symbol-regexp): New functions. (Bug#11381)
1927
d5e61c1c
JL
19282012-05-29 Juri Linkov <juri@jurta.org>
1929
1930 * isearch.el (isearch-word): Add docstring. (Bug#11381)
1931 (isearch-occur, isearch-search-and-update): If `isearch-word' is
1932 a function, call it to get the regexp.
1933 (isearch-message-prefix): If `isearch-word' holds a symbol, use its
1934 property `isearch-message-prefix' instead of the string "word ".
1935 (isearch-search-fun-default): For the case of `isearch-word',
1936 return a lambda that calls re-search-forward/re-search-backward
1937 with a regexp returned by `word-search-regexp' or by the function
1938 in `isearch-word'.
1939
8cbd80f7
JL
19402012-05-29 Juri Linkov <juri@jurta.org>
1941
1942 * isearch.el (isearch-search-fun-default): New function.
1943 (isearch-search-fun): Move default part to the new function
1944 `isearch-search-fun-default'.
1945 (isearch-search-fun-function): Set the default value to
1946 `isearch-search-fun-default'. (Bug#11381)
1947
1948 * comint.el (comint-history-isearch-end):
1949 Use `isearch-search-fun-default'.
1950 (comint-history-isearch-search): Use `isearch-search-fun-default'
1951 and remove spacial case for `isearch-word'.
1952 (comint-history-isearch-wrap): Remove spacial case for
1953 `isearch-word'.
1954
1955 * hexl.el (hexl-isearch-search-function):
1956 Use `isearch-search-fun-default'.
1957
1958 * info.el (Info-isearch-search): Use `isearch-search-fun-default'.
1959 Use `word-search-regexp' for `isearch-word'.
1960
1961 * misearch.el (multi-isearch-search-fun):
1962 Use `isearch-search-fun-default'.
1963
1964 * simple.el (minibuffer-history-isearch-search):
1965 Use `isearch-search-fun-default' and remove spacial case for
1966 `isearch-word'.
1967 (minibuffer-history-isearch-wrap): Remove spacial case for
1968 `isearch-word'.
1969
1970 * textmodes/reftex-global.el (reftex-isearch-wrap-function):
1971 Remove spacial case for `isearch-word'.
1972 (reftex-isearch-isearch-search): Use `isearch-search-fun-default'.
1973
85c8c5b6
AM
19742012-05-28 Agustín Martín Domingo <agustin.martin@hispalinux.es>
1975
1976 Decrease XEmacs incompatibilities.
1977 * textmodes/flyspell.el (flyspell-check-pre-word-p):
1978 Use `string-match'.
1979 (flyspell-delete-region-overlays): Use alternative definition for
1980 XEmacs.
1981 (flyspell-delete-all-overlays): Use `flyspell-delete-region-overlays'.
1982 (flyspell-word): Use `process-kill-without-query' if XEmacs.
1983 (flyspell-mode-on): Use `interactive-p' if XEmacs.
1984 (flyspell-incorrect-face, flyspell-duplicate-face): Do not use
1985 `define-obsolete-face-alias' under XEmacs, but old method.
1986
1987 * textmodes/ispell.el (ispell-with-no-warnings): XEmacs alternative
1988 `with-no-warnings' definition or Emacs alias.
1989 (ispell-command-loop, ispell-message): Use `ispell-with-no-warnings'.
1990 (ispell-word): Do not use `region-p' if XEmacs.
1991
8cab9efc
AM
19922012-05-28 Agustín Martín Domingo <agustin.martin@hispalinux.es>
1993
1994 * textmodes/ispell.el (ispell-find-aspell-dictionaries):
1995 Check for `ispell-dictionary-base-alist' instead of full
1996 `ispell-dictionary-alist'.
1997 (ispell-init-process): Show spellchecker when starting new Ispell
1998 process.
1999
fda91268
RZ
20002012-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
2001
2002 * progmodes/vhdl-mode.el: Sync with upstream 3.33.28.
2003 http://www.iis.ee.ethz.ch/~zimmi/emacs/vhdl-mode.html#release-notes-3.33
2004
694ea8e3
JB
20052012-05-27 Juanma Barranquero <lekktu@gmail.com>
2006
2007 * version.el (motif-version-string, gtk-version-string)
2008 (ns-version-string): Declare.
2009
e4d4f539
JL
20102012-05-27 Juri Linkov <juri@jurta.org>
2011
2012 * emacs-lisp/lisp-mode.el (eval-defun-2): Use `eval-sexp-add-defvars'
2013 after the `eval-defun-1' specialcaseing
2014 like in `edebug-eval-defun' (bug#10181).
2015
2016 * emacs-lisp/edebug.el (edebug-eval-defun): Set `face-documentation'
2017 like in `eval-defun-1'.
2018
33017faf 20192012-05-27 Eli Zaretskii <eliz@gnu.org>
b30b64b9 2020
fda91268
RZ
2021 * mail/sendmail.el (mail-yank-region):
2022 Recognize rmail-yank-current-message in addition to insert-buffer.
2023 Fixes mail-mode's "C-c C-r" that otherwise does nothing when invoked in
b30b64b9
EZ
2024 a *mail* buffer created through rmail-start-mail with sendmail as
2025 mail-user-agent.
2026
33017faf
GM
20272012-05-27 Chong Yidong <cyd@gnu.org>
2028
2029 * net/gnutls.el (gnutls-min-prime-bits): Improve docstring.
2030 Default to 256 (Bug#11267).
2031
2032 * help.el (describe-mode): Doc fix.
2033
04188bb9
GM
20342012-05-26 Glenn Morris <rgm@gnu.org>
2035
38264cc9
GM
2036 * w32-fns.el (w32-init-info): Remove.
2037 * paths.el (Info-default-directory-list): Add w32-init-info equivalent.
2038
eb7afdad
GM
2039 * info.el (info-initialize): For self-contained NS builds, put the
2040 included info/ directory at the front. (Bug#2791)
2041
04188bb9
GM
2042 * paths.el (Info-default-directory-list): Make it a defcustom,
2043 mainly so that we can use custom-initialize-delay.
2044
a179e3f7
SM
20452012-05-26 Stefan Monnier <monnier@iro.umontreal.ca>
2046
43416392
SM
2047 * subr.el (buffer-has-markers-at): Mark obsolete.
2048
a179e3f7 2049 * subr.el (lambda): Use declare.
43416392 2050
a179e3f7
SM
2051 * emacs-lisp/lisp-mode.el (lambda):
2052 * emacs-lisp/edebug.el (lambda): Move properties to its definition.
2053
34a008d9
AH
20542012-05-26 Aaron S. Hawley <aaron.s.hawley@gmail.com>
2055
2056 * thingatpt.el (forward-same-syntax): Handle no ARG case. (Bug#11560)
2057
0a3b289f
GM
20582012-05-26 Glenn Morris <rgm@gnu.org>
2059
2060 * progmodes/cc-mode.el (auto-mode-alist): Fix typo.
2061
758c81e8
GM
20622012-05-25 Glenn Morris <rgm@gnu.org>
2063
f9f334f0
GM
2064 * paths.el: Remove no-byte-compile.
2065 * loadup.el: No need to load paths.el uncompiled.
2066
87eb79c2
GM
2067 * image.el (imagemagick-types-inhibit): Doc fix.
2068
758c81e8
GM
2069 * version.el: Remove no-byte-compile and associated formatting.
2070 * loadup.el: No need to load version.el uncompiled. AFAICS, this
2071 is ancient code from when there was an "inc-vers.el".
2072
e7e85dc0
SM
20732012-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
2074
2075 * progmodes/gdb-mi.el: Minor style changes.
2076 (gdb-enable-debug, gdb-speedbar-auto-raise, gdb-many-windows):
2077 Turn into minor modes.
2078 (gdb--if-arrow): Rename from gdb-if-arrow, make it hygienic.
2079 (gdb-mouse-until, gdb-mouse-jump): Adjust uses accordingly.
2080 (gdb-shell): Remove unneeded let-binding.
2081 (gdb-get-many-fields): Eliminate O(n²) behavior.
2082
f31237a4
EZ
20832012-05-25 Eli Zaretskii <eliz@gnu.org>
2084
2085 * cus-start.el <vertical-centering-font-regexp>: Avoid warning on
2086 platforms that don't link in fontset.c.
2087
bc1b21bb
JL
20882012-05-25 Juri Linkov <juri@jurta.org>
2089
2090 Use the same diff color scheme as in modern VCSes (bug#10181).
2091
2092 * vc/diff-mode.el (diff-header, diff-file-header): Remove "green"
2093 to avoid confusion with `diff-added' that now uses green colors.
2094 (diff-removed): Use shades of red.
2095 (diff-added): Use shades of green.
2096 (diff-changed): Leave just the yellow color.
2097 (diff-use-changed-face): New variable.
2098 (diff-font-lock-keywords): Use `diff-use-changed-face' to decide
2099 how to highlight context diff changes.
2100 (diff-refine-change): Use shades of yellow.
2101 (diff-refine-removed): New face that uses shades of red.
2102 (diff-refine-added): New face that uses shades of green.
2103 (diff-refine-hunk): Use `diff-refine-change', `diff-refine-added',
2104 `diff-refine-removed' in the call to `smerge-refine-subst'
2105 depending on the value of `diff-use-changed-face'.
2106
2107 * vc/smerge-mode.el (smerge-mine): Use shades of red.
2108 (smerge-other): Use shades of green.
2109 (smerge-base): Use shades of yellow.
2110 (smerge-refined-change): Empty face.
2111 (smerge-refined-removed): New face that uses shades of red.
2112 (smerge-refined-added): New face that uses shades of green.
2113 (smerge-refine-subst): Rename arg `props' to `props-c'. Add new
2114 args `props-r' and `props-a', and use them. Doc fix.
2115 (smerge-refine): Evaluate `smerge-use-changed-face' and depending
2116 on its value use different faces `smerge-refined-change',
2117 `smerge-refined-removed', `smerge-refined-added' in the call to
2118 `smerge-refine-subst'.
2119
2120 * vc/ediff-init.el (ediff-current-diff-A, ediff-fine-diff-A):
2121 Add face condition `min-colors 88' with shades of red.
2122 (ediff-current-diff-B, ediff-fine-diff-B): Add face condition
2123 `min-colors 88' with shades of green.
2124 (ediff-current-diff-C, ediff-fine-diff-C): Add face condition
2125 `min-colors 88' with shades of yellow.
2126
6df9112c
GM
21272012-05-24 Glenn Morris <rgm@gnu.org>
2128
ead5edc0
GM
2129 * paths.el (prune-directory-list, remote-shell-program): Move to...
2130 * files.el (prune-directory-list, remote-shell-program): ...here.
2131 For the latter, delay initialization, prefer ssh, just search PATH.
2132
f18b81e6
GM
2133 * paths.el (term-file-prefix): Move to faces.el (the only user).
2134 * faces.el (term-file-prefix): Move here, make it a defcustom.
2135
ee2f89a6
GM
2136 * paths.el (news-directory, news-path, news-inews-program):
2137 Move to gnus/nnspool.el.
61a583ca 2138
f8815e4c
GM
2139 * paths.el (gnus-default-nntp-server): Remove (gnus.el defines it).
2140
c8f3b42c
GM
2141 * paths.el (rmail-file-name, rmail-spool-directory): Move from here...
2142 * mail/rmail.el (rmail-file-name, rmail-spool-directory): ... to here.
2143 Make the latter a defcustom, with a delayed initialization.
2144
6df9112c
GM
2145 * paths.el (gnus-nntp-service, gnus-local-organization): Remove.
2146 These were deleted from Gnus itself late 2010.
2147
5dadff36
JB
21482012-05-22 Juanma Barranquero <lekktu@gmail.com>
2149
9e1701c6
JB
2150 * progmodes/which-func.el (which-func-ff-hook):
2151 Check against user-error, not error.
2152
bd7239f5 2153 * emacs-lisp/edebug.el (top): Do not load or set up loading of
5dadff36
JB
2154 cl-specs.el, which no longer exists.
2155
3290526d
GM
21562012-05-22 Glenn Morris <rgm@gnu.org>
2157
2158 * info.el (info-emacs-bug): New command.
2159 * menu-bar.el (menu-bar-help-menu): Add "How to Report a Bug" to Help.
2160 * mail/emacsbug.el (report-emacs-bug): Replace with info-emacs-bug.
2161
ff0c3cfb
GM
21622012-05-21 Glenn Morris <rgm@gnu.org>
2163
2164 * makefile.w32-in (update-subdirs-SH):
2165 * Makefile.in (update-subdirs): Update for moved update-subdirs.
2166
5814f126
SM
21672012-05-21 Stefan Monnier <monnier@iro.umontreal.ca>
2168
a52c0aa0
SM
2169 * hi-lock.el (hi-lock-face-defaults): Move obsolete before definition.
2170
5814f126
SM
2171 * progmodes/compile.el (compilation-error-regexp-alist-alist):
2172 Simplify Maven regexp, and make sure the file can't start with a space
2173 (bug#11517).
2174
b847032c
GM
21752012-05-21 Glenn Morris <rgm@gnu.org>
2176
2177 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
2178 Scrap superfluous subshells.
2179
3858bfe7
SM
21802012-05-19 Stefan Monnier <monnier@iro.umontreal.ca>
2181
2182 * emacs-lisp/bytecomp.el (byte-compile-root-dir): New var.
2183 (byte-compile-warning-prefix, batch-byte-compile-file): Use it.
2184
d14b0029
JB
21852012-05-19 Jay Belanger <jay.p.belanger@gmail.com>
2186
2187 * calc/calc.el (calc-ensure-consistent-units): New variable.
2188
a52c0aa0
SM
2189 * calc/calc-units.el (math-consistent-units-p)
2190 (math-check-unit-consistency): New functions.
2191 (calc-quick-units, calc-convert-units):
2192 Use `math-check-unit-consistency' when `calc-ensure-consistent-units'
2193 is non-nil.
d14b0029
JB
2194 (calc-extract-units): Fix typo.
2195
60c4db3a
SM
21962012-05-18 Stefan Monnier <monnier@iro.umontreal.ca>
2197
77f3b62e
SM
2198 * vc/vc-bzr.el (vc-bzr-state-heuristic): Save match-data around sha1.
2199
60c4db3a
SM
2200 * textmodes/flyspell.el: Commenting style, plus code simplifications.
2201 (flyspell-default-deplacement-commands): Don't spell check after
2202 repeated window/frame switches (e.g. triggered by mouse-movement).
2203 (flyspell-delay-commands, flyspell-deplacement-commands): Use mapc.
2204 (flyspell-debug-signal-word-checked): Simplify and fit in 80 cols.
2205 (flyspell-casechars-cache, flyspell-ispell-casechars-cache)
2206 (flyspell-not-casechars-cache, flyspell-ispell-not-casechars-cache):
2207 Remove unused vars.
2208 (flyspell-get-casechars, flyspell-get-not-casechars):
2209 Simplify; Don't bother removing a ] just to add it back.
2210 * textmodes/ispell.el (ispell-program-name): Use executable-find.
2211
d209e2fb 22122012-05-18 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
b1a10716
RS
2213
2214 * calc/calc-lang.el (math-C-parse-bess, math-C-parse-fma):
2215 New functions.
bd7239f5 2216 (math-function-table): Add support for more C functions.
b1a10716 2217
3f1b25b5
AM
22182012-05-18 Agustín Martín Domingo <agustin.martin@hispalinux.es>
2219
090bd7cb
JB
2220 * textmodes/flyspell.el (flyspell-check-pre-word-p)
2221 (flyspell-check-word-p, flyspell-debug-signal-word-checked):
2222 Protect delay handling for otherchars against empty otherchars.
3f1b25b5 2223
b581bb5c
SM
22242012-05-18 Stefan Monnier <monnier@iro.umontreal.ca>
2225
2226 * emacs-lisp/lisp-mode.el (doc-string-elt): Move those properties to
2227 their respective macro declarations.
2228 * skeleton.el (define-skeleton):
2229 * progmodes/compile.el (define-compilation-mode):
2230 * ibuf-macs.el (define-ibuffer-sorter, define-ibuffer-op)
2231 (define-ibuffer-filter):
2232 * emacs-lisp/generic.el (define-generic-mode):
2233 * emacs-lisp/easy-mmode.el (define-minor-mode)
2234 (define-globalized-minor-mode):
2235 * emacs-lisp/cl-macs.el (defun*, defmacro*, defstruct, deftype):
2236 * emacs-lisp/byte-run.el (defsubst):
2237 * custom.el (deftheme): Add doc-string metadata.
2238
70b8ef8f
SM
22392012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
2240
2241 * emacs-lisp/cl-macs.el, emacs-lisp/cl.el: Move indent info.
2242
b1198e17
SM
22432012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
2244
9abdc45d
SM
2245 * emacs-lisp/pcase.el (pcase--u1): Avoid ((lambda ...) ...).
2246
b1198e17
SM
2247 * emacs-lisp/cl.el: Add edebug specs from cl-specs.el.
2248 * emacs-lisp/cl-macs.el: Idem.
2249 * emacs-lisp/cl-specs.el: Remove.
2250
4735906a
SM
22512012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
2252
2253 Minor renaming of internal CL functions and variables.
2254 * emacs-lisp/cl-seq.el (cl--adjoin): Rename from cl-adjoin.
2255 (cl--position): Rename from cl-position.
2256 (cl--delete-duplicates): Rename from cl-delete-duplicates.
2257 * emacs-lisp/cl.el (cl--gensym-counter): Rename from *gensym-counter*.
2258 (cl--random-state): Rename from *random-state*.
2259
ac348012
SM
22602012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
2261
2262 * emacs-lisp/cl-macs.el (cl-transform-lambda): Don't add spurious
2263 parens around the arg list (bug#11499).
2264
a0a79cde
JL
22652012-05-17 Juri Linkov <juri@jurta.org>
2266
2267 * isearch.el (word-search-regexp, word-search-backward)
2268 (word-search-forward, word-search-backward-lax)
2269 (word-search-forward-lax): Move functions from search.c
2270 (bug#10145, bug#11381).
2271
65034a51
AM
22722012-05-16 Agustín Martín Domingo <agustin.martin@hispalinux.es>
2273
090bd7cb
JB
2274 * textmodes/flyspell.el (flyspell-check-pre-word-p)
2275 (flyspell-check-word-p, flyspell-debug-signal-word-checked):
2276 Delay for otherchars as for normal word components.
65034a51 2277
1a72a195
SM
22782012-05-16 Stefan Monnier <monnier@iro.umontreal.ca>
2279
2280 * minibuffer.el (completion--sifn-requote): Fix last change.
2281 (minibuffer-local-must-match-filename-map):
2282 Move define-obsolete-variable-alias before its var.
2283
fdb058c2
SM
22842012-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
2285
c41045e6
SM
2286 * emacs-lisp/pcase.el (pcase-let*, pcase-let): Fix edebug spec.
2287
036dfb8b
SM
2288 * minibuffer.el (completion--sifn-requote): Handle sifn's truncation
2289 behavior.
2290 (completion--string-equal-p): New function.
2291 (completion--twq-all): Use it to get better assertion failure data.
2292
2473256d
SM
2293 Only handle ".." and '..' quoting in shell-mode (bug#11466).
2294 * shell.el (shell--unquote&requote-argument, shell--unquote-argument)
2295 (shell--requote-argument): New functions.
2296 (shell-completion-vars): Use them.
2297 (shell--parse-pcomplete-arguments): Rename from
2298 shell-parse-pcomplete-arguments.
2299 * comint.el (comint-word): Obey comint-file-name-quote-list. Simplify.
2300 (comint--unquote&requote-argument): Don't handle ".." and '..' quoting.
2301 Obey comint-file-name-quote-list.
2302
fdb058c2
SM
2303 * emacs-lisp/smie.el (smie-indent--bolp-1): New function.
2304 (smie-indent-keyword): Use it.
2305
51fa99f1
SM
23062012-05-14 Stefan Merten <smerten@oekonux.de>
2307
2308 * textmodes/rst.el (rst-re-alist): Fix loading (bug#11462).
2309
e18afed7 23102012-05-14 Stefan Monnier <monnier@iro.umontreal.ca>
d9d1dfef
SM
2311
2312 * net/rlogin.el (rlogin-mode-map): Fix last change.
2313
e18afed7 23142012-05-14 Jason L. Wright <jason.wright@inl.gov> (tiny change)
8633b1f4
JW
2315
2316 * mail/smtpmail.el (smtpmail-send-command): Send the command and
2317 the following \r\n using a single `process-send-string', since the
2318 Lotus SMTP server refuses to accept any commands if they are sent
e18afed7 2319 with two `process-send-string's (Bug#11444).
8633b1f4 2320
e18afed7 23212012-05-14 Stefan Monnier <monnier@iro.umontreal.ca>
fe263b8f 2322
fdb058c2
SM
2323 * shell.el (shell-parse-pcomplete-arguments):
2324 Obey pcomplete-arg-quote-list inside double-quoted args (Bug#11348).
e18afed7 2325
2d21d7f6
WJ
23262012-05-14 Wolfgang Jenkner <wjenkner@inode.at>
2327
e18afed7 2328 * image-mode.el: Fit to width/height for rotated images (Bug#11431).
2d21d7f6
WJ
2329 (image-transform-scale, image-transform-right-angle-fudge): New vars.
2330 (image-transform-width, image-transform-fit-width): New functions.
2331 (image-transform-properties): Use them.
2332 (image-transform-check-size): New function.
2333 (image-toggle-display-image): Use it (for testing).
2334 (image-transform-set-rotation): Reduce angle mod 360.
2335 Delete obsolete comment.
2336
7102e6d0
WJ
23372012-05-14 Wolfgang Jenkner <wjenkner@inode.at>
2338
2339 * image-mode.el: Fix scaling (bug#11399).
2340 (image-transform-resize): Doc fix.
2341 (image-transform-properties): Default scale is 1 and height should
2342 be an integer.
2343
06bc5e6e
SM
23442012-05-13 Johan Bockgård <bojohan@gnu.org>
2345
2346 * emacs-lisp/smie.el (smie-next-sexp): Use accessor `op-forw' rather
2347 than hard-coding `car', to fix misbehavior when moving forward.
2348
0ae03b6a
CY
23492012-05-13 Chong Yidong <cyd@gnu.org>
2350
2351 * emacs-lisp/tabulated-list.el (tabulated-list-format)
2352 (tabulated-list-entries, tabulated-list-padding)
2353 (tabulated-list-sort-key): Make permanent-local.
2354
2355 * ebuff-menu.el: Adapt to Buffer Menu changes (Bug#11455).
2356 (electric-buffer-list): Put electric buffer menu
2357 command descriptions in this docstring, instead of the docstring
2358 of electric-buffer-menu-mode. Code cleanups.
2359 (electric-buffer-menu-mode): Use define-derived-mode. Rename from
2360 Electric-buffer-menu-mode.
2361 (electric-buffer-update-highlight): Minor code cleanup.
2362
205a7391
MA
23632012-05-13 Michael Albinus <michael.albinus@gmx.de>
2364
2365 * net/dbus.el (dbus-call-method): Restore events not from D-Bus.
2366 (Bug#11447)
2367
e5bd0a28
SM
23682012-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
2369
2370 Move define-obsolete-variable-alias before the var's definition.
2371 * vc/log-edit.el (vc-comment-ring, vc-comment-ring-index):
2372 * tooltip.el (tooltip-hook):
2373 * textmodes/reftex-toc.el (reftex-toc-map):
2374 * textmodes/reftex-sel.el (reftex-select-label-map)
2375 (reftex-select-bib-map):
2376 * textmodes/reftex-index.el (reftex-index-map)
2377 (reftex-index-phrases-map):
2378 * speedbar.el (speedbar-syntax-table, speedbar-key-map):
2379 * progmodes/meta-mode.el (meta-mode-map):
2380 * novice.el (disabled-command-hook):
2381 * loadhist.el (unload-hook-features-list):
2382 * frame.el (blink-cursor):
2383 * files.el (find-file-not-found-hooks, write-file-hooks)
2384 (write-contents-hooks):
2385 * emulation/tpu-edt.el (GOLD-map):
2386 * emacs-lock.el (emacs-lock-from-exiting):
2387 * emacs-lisp/generic.el (generic-font-lock-defaults):
2388 * emacs-lisp/chart.el (chart-map):
2389 * dos-fns.el (register-name-alist):
2390 * dired-x.el (dired-omit-files-p):
2391 * desktop.el (desktop-enable):
2392 * cus-edit.el (custom-mode-hook):
2393 * buff-menu.el (buffer-menu-mode-hook):
2394 * bookmark.el (bookmark-read-annotation-text-func)
2395 (bookmark-exit-hooks):
2396 * allout.el (allout-mode-deactivate-hook)
2397 (allout-exposure-change-hook, allout-structure-added-hook)
2398 (allout-structure-deleted-hook, allout-structure-shifted-hook):
2399 * dirtrack.el (dirtrack-toggle, dirtrackp, dirtrack-debug-toggle)
2400 (dirtrack-debug): Move call to define-obsolete-variable-alias so it
2401 comes before the corresponding variable's definition.
2402
ac59c2f6
CY
24032012-05-12 Chong Yidong <cyd@gnu.org>
2404
2405 * buff-menu.el (Buffer-menu-buffer+size-width): Doc fix (Bug#11454).
0d909786
CY
2406 (Buffer-menu-mouse-select): Restore function (Bug#11459).
2407 (Buffer-menu-mode-map): Bind it.
2408 (Buffer-menu--pretty-name): Add a mouse-face property.
ac59c2f6 2409
dee6c9a3
SM
24102012-05-11 Stefan Monnier <monnier@iro.umontreal.ca>
2411
2171cea5
SM
2412 * progmodes/prolog.el: Use SMIE. Cleanup regexp setup.
2413 (prolog-upper-case-string, prolog-lower-case-string)
2414 (prolog-atom-char-regexp, prolog-atom-regexp): Initialize in defconst.
2415 (prolog-use-smie, prolog-smie-grammar): New vars.
2416 (prolog-smie-forward-token, prolog-smie-backward-token)
2417 (prolog-smie-rules): New funs.
2418 (prolog-comment-indent): Remove.
2419 (prolog-mode-variables): Use default comment indentation instead.
2420 Setup SMIE.
2421 (prolog-build-case-strings, prolog-set-atom-regexps): Remove.
2422 (prolog-mode): Don't call them any more.
2423 (prolog-electric-colon, prolog-electric-dash)
2424 (prolog-edit-menu-insert-move): Use indent-according-to-mode.
2425
aa0382bd
SM
2426 * dabbrev.el (dabbrev-expand): Make "no expansion found" a user-error.
2427
dbacb4bd
SM
2428 * minibuffer.el (completion--twq-all): Again, allow case differences.
2429
13bdd94c
SM
2430 * term.el: Move keymap initialization code to be more idiomatic.
2431 (term-signals-menu, term-mode-map, term-raw-map, term-raw-escape-map)
2432 (term-terminal-menu): Move initialization into declaration.
2433 (term-escape-char): Let the user set it in her .emacs.
2434
ff46c759
SM
2435 * progmodes/sh-script.el: Use post-self-insert-hook&electric-pair-mode.
2436 Provide SMIE-based indentation (not enabled by default yet).
2437 (sh-mode-map): Don't bind electric keys.
2438 Use electric-pair-mode instead of skeleton-pair.
2439 (sh-assignment-regexp): Fit within 80 columns.
2440 (sh-indent-supported): Specify actual shell name instead of boolean.
2441 (sh--maybe-here-document): New fun, from sh-maybe-here-document.
2442 (sh-maybe-here-document): Use it. Make obsolete.
2443 (sh-electric-here-document-mode) New minor mode.
2444 (sh-mode): Use it. Don't set sh-indent-supported-here here.
2445 (sh-smie-sh-grammar, sh-smie--sh-operators, sh-smie--sh-operators-re)
2446 (sh-smie--sh-operators-back-re, sh-indent-after-continuation)
2447 (sh-smie-rc-grammar, sh-use-smie): New vars.
2448 (sh-smie--keyword-p, sh-smie--newline-semi-p, sh-smie--sh-keyword-p)
2449 (sh-smie-sh-forward-token, sh-smie--looking-back-at-continuation-p)
2450 (sh-smie-sh-backward-token, sh-smie--continuation-start-indent)
2451 (sh-smie-sh-rules, sh-smie-rc-rules, sh-smie--sh-keyword-in-p)
2452 (sh-smie--rc-after-special-arg-p, sh-smie-rc-backward-token)
2453 (sh-smie-sh-rules, sh-smie--rc-newline-semi-p): New functions.
2454 (sh-set-shell): Use smie-setup if requested.
2455
dee6c9a3
SM
2456 * term.el (term-set-escape-char): Properly set term-escape-char.
2457 See http://stackoverflow.com/questions/10524656.
2458
9f9aa044
CY
24592012-05-10 Chong Yidong <cyd@gnu.org>
2460
2461 * ffap.el (ffap-url-unwrap-local): Make it work right (Bug#9131).
2462 Use url-generic-parse-url, and handle host names and Windows
2463 filenames properly.
2464 (ffap-url-unwrap-remote): Use url-generic-parse-url.
2465 (ffap-url-unwrap-remote): Accept list values, specifying a list of
2466 URL schemes to work on.
2467 (ffap--toggle-read-only): New function.
2468 (ffap-read-only, ffap-read-only-other-window)
2469 (ffap-read-only-other-frame): Use it.
2470 (ffap-fixup-url): Don't check ffap-ftp-regexp, since it is not
2471 necessary for ffap-url-unwrap-remote.
2472
836d29b3
DA
24732012-05-10 Dave Abrahams <dave@boostpro.com>
2474
2475 * cus-start.el (create-lockfiles): Add it.
2476
00fd78ed
CY
24772012-05-09 Chong Yidong <cyd@gnu.org>
2478
2479 * net/browse-url.el (browse-url-url-encode-chars): Use upper-case.
2480 (browse-url-encode-url): Encode spaces and quotes (Bug#6300).
2481
666b903b 24822012-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
1cb51c12
SM
2483
2484 * shell.el (shell-completion-vars): Fix last change (bug#11348).
2485
666b903b 24862012-05-09 Chong Yidong <cyd@gnu.org>
18f00515
CY
2487
2488 * ansi-color.el (ansi-color-process-output): Check for validity of
2489 comint-last-output-start before using it. This avoids a bad
2490 interaction with gdb-mi's input/output buffer.
2491
666b903b 24922012-05-09 Glenn Morris <rgm@gnu.org>
fd075e7b
GM
2493
2494 * files.el (dir-locals-read-from-file):
2495 Mention dir-locals in any error message.
2496
666b903b 24972012-05-09 Chong Yidong <cyd@gnu.org>
25f292cd
CY
2498
2499 * emacs-lisp/package.el (package-built-in-p): Handle the `emacs'
2500 package (Bug#11410).
2501
f677562b
CY
2502 * emacs-lisp/package.el (package-buffer-info): Avoid putting local
2503 variables into description.
2504
666b903b 25052012-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
3d53ee1b
SM
2506
2507 * shell.el (shell-completion-vars): Set pcomplete-arg-quote-list like
2508 shell-delimiter-argument-list (bug#11348).
2509 (shell-parse-pcomplete-arguments): Obey pcomplete-arg-quote-list.
2510
b499d8d0
JB
25112012-05-09 Juanma Barranquero <lekktu@gmail.com>
2512
8f6b6da8
JB
2513 * textmodes/rst.el: Silence byte-compiler warnings.
2514 (rst-re-alist, rst-reset-section-caches): Move around.
2515 (rst-re): Use `characterp', not `char-valid-p'.
2516 (font-lock-beg, font-lock-end): Declare.
2517
4824146a
JB
2518 * progmodes/idlw-shell.el (specs): Remove reference to deleted
2519 variable `idlwave-shell-activate-alt-keybindings' and simplify.
2520
b499d8d0
JB
2521 * eshell/esh-cmd.el (eshell-debug-command): Fix typo in previous change.
2522
ad89bb83
GM
25232012-05-08 Glenn Morris <rgm@gnu.org>
2524
2525 * files.el (auto-mode-alist): Treat ".make" like ".mk".
2526
8bba5a75
SM
25272012-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
2528
49ed9c8e
SM
2529 * vc/log-edit.el: Add GNU coding standards highlighting.
2530 (log-edit-font-lock-gnu-style)
2531 (log-edit-font-lock-gnu-keywords): New vars.
2532 (log-edit-font-lock-keywords): New fun.
2533 (log-edit-mode): Don't fold case in font-lock.
2534 (log-edit-font-lock-keywords): Do not assume case-folding.
2535
07d00b56
SM
2536 * imenu.el: Misc cleanup. Make docstrings out of comments.
2537 Use lexical-binding.
2538 (imenu--index-alist, imenu--last-menubar-index-alist)
2539 (imenu-menubar-modified-tick): Use defvar-local.
2540 (imenu--split-menu): Remove unused var.
2541 (imenu--cleanup-seen): Declare as global.
2542 (imenu--cleanup): Use dolist.
2543
8bba5a75
SM
2544 * subr.el (defvar-local): Add debug spec and doc-string position.
2545
5075bdb5
GM
25462012-05-08 Glenn Morris <rgm@gnu.org>
2547
090bd7cb 2548 * language/burmese.el, language/cham.el, language/czech.el:
c052c904
GM
2549 * language/english.el, language/georgian.el, language/greek.el:
2550 * language/japanese.el, language/khmer.el, language/korean.el:
2551 * language/lao.el, language/misc-lang.el, language/romanian.el:
2552 * language/sinhala.el, language/slovak.el, language/tai-viet.el:
2553 * language/thai.el, language/utf-8-lang.el:
2554 Remove no-byte-compile setting.
2555
5075bdb5
GM
2556 * play/zone.el (zone-pgm-stress): Don't pollute kill-ring. (Bug#11388)
2557
06f679a7
AH
25582012-05-08 Aaron S. Hawley <aaron.s.hawley@gmail.com>
2559
2560 * progmodes/make-mode.el (makefile-browse):
2561 Remove unnecessary interactive. (Bug#11324)
2562
03794570
GM
25632012-05-07 Glenn Morris <rgm@gnu.org>
2564
af8630f4
GM
2565 * forms-d2.el, forms-pass.el: Move to ../etc/forms directory.
2566
03794570
GM
2567 * international/mule.el (find-auto-coding): Make "unibyte: t" obsolete.
2568
f0809a9d
SM
25692012-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
2570
28be5ce7
SM
2571 * loadup.el: Preload newcomment.el.
2572 * newcomment.el: Move autoload-only code to toplevel.
2573
f0809a9d
SM
2574 * buff-menu.el (list-buffers--refresh): Mark `size' as right-align.
2575 * emacs-lisp/tabulated-list.el (tabulated-list-init-header):
2576 Handle new :right-align column property.
2577 (tabulated-list-print-col): Idem, plus use `display' text-property to
2578 try and preserve alignment for variable pitch fonts.
2579
1241b724
CY
25802012-05-07 Chong Yidong <cyd@gnu.org>
2581
2582 * emacs-lisp/tabulated-list.el: Add no-header-line alternative.
2583 (tabulated-list-use-header-line): New var.
2584 (tabulated-list-init-header): Use it.
2585 (tabulated-list-print-fake-header): New function.
2586 (tabulated-list-print): Use it.
2587 (tabulated-list-sort-button-map): Add non-header-line commands.
2588 (tabulated-list-init-header): Add column name property to basic
2589 labels as well.
2590 (tabulated-list-col-sort): Handle non-header-line button case.
2591 (tabulated-list--sort-by-column-name): Fix a corner case.
2592
f0809a9d
SM
2593 * buff-menu.el (list-buffers--refresh):
2594 Handle Buffer-menu-use-header-line.
1241b724 2595
e5f9458f
CY
25962012-05-06 Chong Yidong <cyd@gnu.org>
2597
2598 * buff-menu.el: Convert to Tabulated List mode.
2599 (Buffer-menu-buffer+size-width): Make obsolete.
2600 (Buffer-menu-name-width, Buffer-menu-size-width): New variables.
2601 (Buffer-menu-mode-map): Inherit from tabulated-list-mode-map.
2602 (Buffer-menu-mode): Derive from tabulated-list-mode. Move command
2603 documentation into docstring of buffer-menu.
2604 (Buffer-menu-toggle-files-only): Add an informative message.
2605 (Buffer-menu-sort): Convert to alias for tabulated-list-sort.
2606 (Buffer-menu-buffer, Buffer-menu-beginning, Buffer-menu-mark)
2607 (Buffer-menu-unmark, Buffer-menu-backup-unmark)
2608 (Buffer-menu-delete, Buffer-menu-save, Buffer-menu-not-modified)
2609 (Buffer-menu-execute, Buffer-menu-select)
2610 (Buffer-menu-marked-buffers, Buffer-menu-toggle-read-only)
2611 (Buffer-menu-bury): Use Tabulated List machinery.
2612 (Buffer-menu-mouse-select, Buffer-menu-sort-by-column)
2613 (Buffer-menu-sort-button-map, Buffer-menu-make-sort-button):
f0809a9d 2614 Delete.
e5f9458f
CY
2615 (list-buffers--refresh): New function.
2616 (list-buffers-noselect): Use it.
2617 (tabulated-list-entry-size->, Buffer-menu--pretty-name)
2618 (Buffer-menu--pretty-file-name): New helper functions.
2619
2620 * loadup.el: Preload tabulated-list.
2621
2622 * emacs-lisp/tabulated-list.el (tabulated-list-sort): Rename from
2623 tabulated-list-sort-column.
2624 (tabulated-list-init-header): Add the initial aligning space even
2625 if tabulated-list-padding is zero.
2626
e129292c
CS
26272012-05-06 Christopher Schmidt <christopher@ch.ristopher.com>
2628
2629 * emacs-lisp/cl-macs.el (cl-expr-contains): Handle cons cells
2630 whose cdr is not a cons cell correctly (bug#11038).
2631
6632d361
CY
26322012-05-06 Chong Yidong <cyd@gnu.org>
2633
e129292c
CS
2634 * emacs-lisp/tabulated-list.el (tabulated-list-format):
2635 Accept additional plist in column descriptors.
6632d361
CY
2636 (tabulated-list-init-header): Obey it.
2637 (tabulated-list-get-entry): New function.
2638 (tabulated-list-put-tag): Use it. Use string-width instead of
2639 length.
2640 (tabulated-list--column-number): New function.
2641 (tabulated-list-print): Use it.
e129292c
CS
2642 (tabulated-list-print-col): New function.
2643 Set `tabulated-list-column-name' property on each column's text.
6632d361 2644 (tabulated-list-print-entry): Use it.
e129292c
CS
2645 (tabulated-list-delete-entry, tabulated-list-set-col):
2646 New functions.
6632d361
CY
2647 (tabulated-list-sort-column): New command (Bug#11337).
2648
3cc99f68
CY
2649 * buff-menu.el (list-buffers): Move C-x C-b binding from
2650 buff-menu.el to bindings.el.
2651
2652 * ebuff-menu.el (Electric-buffer-menu-undefined): Use the
2653 :advertised-binding feature.
2654
52b61776
TN
26552012-05-06 Troels Nielsen <bn.troels@gmail.com> (tiny change)
2656
2657 * progmodes/compile.el (compilation-internal-error-properties):
2658 Calculate start position correctly when end-col is set but
2659 end-line is not (Bug#11382).
2660
ebfe2597
WJ
26612012-05-06 Wolfgang Jenkner <wjenkner@inode.at>
2662
2663 * man.el (Man-unindent): Use text-property-default-nonsticky to
2664 prevent untabify from inheriting face properties (Bug#11408).
2665
6d3f7c2f
SM
26662012-05-05 Stefan Merten <smerten@oekonux.de>
2667
2668 * textmodes/rst.el: Major merge with upstream development up to
2669 Docutils SVN r7399 / rst.el V1.2.1.
2670
2671 Clarify maintainership and authors.
2672
2673 (rst-extract-version, rst-cvs-header, rst-cvs-rev)
2674 (rst-cvs-timestamp, rst-svn-rev, rst-svn-timestamp)
2675 (rst-official-version, rst-official-cvs-rev, rst-version)
2676 (rst-package-emacs-version-alist): New functions and variables
2677 for version information.
2678
2679 (rst-bullets, rst-uri-schemes, rst-adornment-chars)
2680 (rst-max-inline-length, rst-re-alist-def, rst-re-alist)
2681 (rst-mode-syntax-table, rst-mode): New and corrected functions
2682 and variables representing reStructuredText features.
2683
2684 (rst-re): New function for reStructuredText regexes. Use in
2685 many places.
2686
2687 (rst-deprecated-keys, rst-call-deprecated, rst-define-key)
2688 (rst-mode-map): Rebind keys.
2689
2690 (rst-mode-lazy, rst-font-lock-keywords)
2691 (rst-font-lock-extend-region)
2692 (rst-font-lock-extend-region-internal)
2693 (rst-font-lock-extend-region-extend)
2694 (rst-font-lock-find-unindented-line-limit)
2695 (rst-font-lock-find-unindented-line-match)
2696 (rst-adornment-level, rst-font-lock-adornment-level)
2697 (rst-font-lock-adornment-match)
2698 (rst-font-lock-handle-adornment-pre-match-form)
2699 (rst-font-lock-handle-adornment-matcher): Major revision of
2700 font-locking. Integrate with other code. Use `jit-lock-mode'.
2701
2702 (rst-preferred-adornments, rst-adjust-hook)
2703 (rst-new-adornment-down, rst-preferred-bullets)
2704 (rst-preferred-bullets, rst-indent, rst-indent-width)
2705 (rst-indent-field, rst-indent-literal-normal)
2706 (rst-indent-literal-minimized, rst-indent-comment): Change,
2707 extend and improve customization.
2708
2709 (rst-line-homogeneous-p, rst-line-homogeneous-nodent-p)
2710 (rst-normalize-cursor-position, rst-get-decoration)
2711 (rst-straighten-deco-spacing, rst-re-bullets, rst-re-items)
2712 (rst-rstrip, rst-toc-insert-find-delete-contents)
2713 (rst-shift-fill-region, rst-compute-bullet-tabs)
2714 (rst-debug-print-tabs, rst-debug-mark-found)
2715 (rst-shift-region-guts, rst-shift-region-right)
2716 (rst-shift-region-left, rst-use-char-classes)
2717 (rst-font-lock-keywords-function)
2718 (rst-font-lock-indentation-point)
2719 (rst-font-lock-find-unindented-line-begin)
2720 (rst-font-lock-find-unindented-line-end)
2721 (rst-font-lock-find-unindented-line)
2722 (rst-font-lock-adornment-point, rst-font-lock-level)
2723 (rst-adornment-level-alist): Remove functions and variables.
2724
2725 (rst-compare-adornments, rst-get-adornment-match)
2726 (rst-suggest-new-adornment, rst-get-adornments-around)
2727 (rst-adornment-complete-p, rst-get-next-adornment)
2728 (rst-adjust-adornment, rst-display-adornments-hierarchy)
2729 (rst-straighten-adornments): Standardize function names to
2730 use "adornment" instead of "decoration". Correct callers.
2731 Similar standardizing in many places.
2732
2733 (rst-update-section, rst-adjust, rst-promote-region)
2734 (rst-enumerate-region, rst-bullet-list-region)
2735 (rst-repeat-last-character): Correct use of `interactive'.
2736
2737 (rst-classify-adornment, rst-find-all-adornments)
2738 (rst-get-hierarchy, rst-adjust-adornment, rst-toc-update)
2739 (rst-find-leftmost-column, rst-repeat-last-character):
2740 Refactor functions.
2741
2742 (rst-find-title-line, rst-reset-section-caches)
2743 (rst-get-adornments-around, rst-adjust-adornment-work)
2744 (rst-arabic-to-roman, rst-roman-to-arabic)
2745 (rst-insert-list-pos, rst-insert-list-new-item)
2746 (rst-insert-list-continue, rst-insert-list, rst-forward-line):
2747 New functions.
2748
2749 (rst-all-sections, rst-section-hierarchy)
2750 (rst-arabic-to-roman, rst-initial-enums, rst-initial-items):
2751 New variables.
2752
2753 (rst-toc-return-wincfg, rst-toc-quit-window): Use window
2754 configuration instead of only buffer. Change where necessary.
2755
2756 (rst-line-tabs, rst-compute-tabs, rst-indent-line)
2757 (rst-shift-region, rst-adaptive-fill): New functions for
2758 indentation and filling.
2759
2760 (rst-comment-line-break, rst-comment-indent)
2761 (rst-comment-insert-comment, rst-comment-region)
2762 (rst-uncomment-region): New functions for handling comments.
2763
2764 (rst-compile): Quote shell arguments.
2765
2766 (rst-compile-pdf-preview, rst-compile-slides-preview):
2767 Delete temporary files after use.
2768
a43f98b3
GM
27692012-05-05 Glenn Morris <rgm@gnu.org>
2770
48176e8b
GM
2771 * calendar/cal-html.el: Optionally include holidays in the output.
2772 Suggested by Ed Reingold <reingold@emr.cs.iit.edu>.
2773 (cal-html-holidays): New option.
2774 (cal-html-css-default): Add holiday entry.
2775 (holiday-in-range): Autoload it.
2776 (cal-html-htmlify-entry): Add optional class argument.
2777 (cal-html-htmlify-list): Add optional holidays argument.
2778 (cal-html-insert-agenda-days): Include holidays in the output.
2779 (cal-html-one-month): Maybe include holidays.
2780
a43f98b3
GM
2781 * calendar/holidays.el (holiday-in-range):
2782 Move here from cal-tex-list-holidays.
2783 * calendar/cal-tex.el (cal-tex-list-holidays):
2784 Make it an obsolete alias for holiday-in-range. Update all callers.
2785
fef9d149 27862012-05-05 Chong Yidong <cyd@gnu.org>
eceeb5fc
CY
2787
2788 * select.el (xselect--encode-string): Always use utf-8 for TEXT on
2789 Nextstep.
2790
248da2f4
RW
27912012-05-05 Ransom Williams <auvergnerw@gmail.com> (tiny change)
2792
2793 * files.el (file-auto-mode-skip): New var.
2794 (set-auto-mode-1): Use it.
2795
f95e9344
SM
27962012-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
2797
df96ab1e
SM
2798 * repeat.el: Use lexical-binding.
2799 (repeat-last-self-insert, repeat-num-input-keys-at-self-insert)
2800 (repeat-undo-count): Remove.
2801 (repeat):
2802 * progmodes/octave-mod.el (octave-abbrev-start):
2803 * progmodes/f90.el (f90-abbrev-start):
2804 * face-remap.el (text-scale-adjust):
2805 * kmacro.el (kmacro-call-macro): Use set-temporary-overlay-map.
2806
5342bb06
SM
2807 * emacs-lisp/pcase.el (pcase--let*): New function.
2808 (pcase--expand, pcase-codegen, pcase--q1): Use it to reduce nesting
2809 a bit more.
2810 (pcase--split-pred): Be more clever about ruling out overlap between
2811 a predicate and some constant pattern.
2812 (pcase--q1): Use `null' instead of (eq foo nil).
2813
f95e9344
SM
2814 * subr.el (setq-local, defvar-local): New macros.
2815 (kbd): Redefine as an alias.
2816 (with-selected-window): Leave unrelated frames alone.
2817 (set-temporary-overlay-map): New function.
2818
71873e2b
SM
28192012-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
2820
2821 * subr.el (user-error): New function.
2822 * window.el (switch-to-buffer):
2823 * vc/smerge-mode.el (smerge-resolve-function, smerge-resolve)
2824 (smerge-match-conflict):
2825 * simple.el (previous-matching-history-element)
2826 (next-matching-history-element, goto-history-element, undo-more)
2827 (undo-start):
2828 * progmodes/etags.el (visit-tags-table-buffer, find-tag-tag)
2829 (find-tag-noselect, find-tag-in-order, etags-goto-tag-location)
2830 (next-file, tags-loop-scan, list-tags, complete-tag):
2831 * progmodes/compile.el (compilation-loop):
2832 * mouse.el (mouse-minibuffer-check):
2833 * man.el (Man-bgproc-sentinel, Man-goto-page):
2834 * info.el (Info-find-node-2, Info-extract-pointer, Info-history-back)
2835 (Info-history-forward, Info-follow-reference, Info-menu)
2836 (Info-extract-menu-item, Info-extract-menu-counting)
2837 (Info-forward-node, Info-backward-node, Info-next-menu-item)
2838 (Info-last-menu-item, Info-next-preorder, Info-last-preorder)
2839 (Info-next-reference, Info-prev-reference, Info-index)
2840 (Info-index-next, Info-follow-nearest-node)
2841 (Info-copy-current-node-name):
2842 * imenu.el (imenu--make-index-alist)
2843 (imenu-default-create-index-function, imenu-add-to-menubar):
2844 * files.el (basic-save-buffer, recover-file):
2845 * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
2846 * emacs-lisp/checkdoc.el (checkdoc-continue, checkdoc-comments)
2847 (checkdoc-message-text, checkdoc-defun):
2848 * dabbrev.el (dabbrev-completion, dabbrev--abbrev-at-point):
2849 * cus-edit.el (customize-changed-options, customize-rogue)
2850 (customize-saved, custom-variable-set, custom-variable-mark-to-save)
2851 (custom-variable-mark-to-reset-standard)
2852 (custom-variable-reset-backup, custom-face-mark-to-reset-standard)
2853 (custom-file):
2854 * completion.el (check-completion-length):
2855 * comint.el (comint-search-arg)
2856 (comint-previous-matching-input-string-position)
2857 (comint-previous-matching-input)
2858 (comint-replace-by-expanded-history-before-point, comint-send-input)
2859 (comint-copy-old-input, comint-backward-matching-input)
2860 (comint-goto-process-mark, comint-set-process-mark):
2861 * calendar/calendar.el (calendar-cursor-to-date): Use it.
2862 * bindings.el (debug-ignored-errors): Remove regexps, add `user-error'.
2863
8a61ee22
SM
28642012-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
2865
66408d1e
SM
2866 * dabbrev.el (dabbrev--ignore-case-p): New function.
2867 (dabbrev-completion, dabbrev-expand, dabbrev--substitute-expansion):
2868 Use it.
2869
8a61ee22
SM
2870 * files.el (automount-dir-prefix): Mark as obsolete.
2871
3c74813a
GM
28722012-05-04 Glenn Morris <rgm@gnu.org>
2873
2874 * patcomp.el, play/bruce.el: Move to obsolete/.
2875
0bfcf5c5
PE
28762012-05-04 Paul Eggert <eggert@cs.ucla.edu>
2877
2878 Fix minor Y10k bugs.
2879 * arc-mode.el (archive-unixdate):
2880 * autoinsert.el (auto-insert-alist):
2881 * calc/calc-forms.el (math-this-year):
2882 * emacs-lisp/copyright.el (copyright-current-year)
2883 (copyright-update-year, copyright):
2884 * tar-mode.el (tar-clip-time-string):
2885 * time.el (display-time-update):
2886 Don't assume years have 4 digits.
2887
78f3273a
CY
28882012-05-04 Chong Yidong <cyd@gnu.org>
2889
2890 * dos-w32.el (file-name-buffer-file-type-alist)
2891 (direct-print-region-use-command-dot-com):
2892 * ffap.el (ffap-menu-regexp):
2893 * find-file.el (ff-special-constructs):
2894 * follow.el (follow-debug):
2895 * forms.el (forms--debug):
2896 * iswitchb.el (iswitchb-all-frames):
2897 * ido.el (ido-all-frames):
2898 * emacs-lisp/timer.el (timer-max-repeats):
2899 * mail/feedmail.el (feedmail-mail-send-hook)
2900 (feedmail-mail-send-hook-queued):
2901 * mail/footnote.el (footnote-signature-separator):
2902 * mail/mailabbrev.el (mail-alias-separator-string)
2903 (mail-abbrev-mode-regexp):
2904 * mail/rmail.el (rmail-speedbar-match-folder-regexp):
2905 * progmodes/idlwave.el (idlwave-libinfo-file)
2906 (idlwave-default-completion-case-is-down)
2907 (idlwave-library-routines): Convert defvars to defcustoms.
2908
2909 * mail/rmail.el (rmail-decode-mime-charset):
2910 * progmodes/idlw-shell.el (idlwave-shell-print-expression-function)
2911 (idlwave-shell-fix-inserted-breaks)
2912 (idlwave-shell-activate-alt-keybindings)
2913 (idlwave-shell-use-breakpoint-glyph):
2914 * facemenu.el (facemenu-unlisted-faces): Delete obsolete vars.
2915
f7ae6719
SM
29162012-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
2917
2918 * minibuffer.el (completion--twq-all): Beware completion-ignore-case.
2919
47086495
WS
29202012-05-03 Wilson Snyder <wsnyder@wsnyder.org>
2921
2922 * progmodes/verilog-mode.el (font-lock-keywords):
2923 Fix mis-highligting auto. Reported by Craig Barner.
2924 (verilog-auto, verilog-auto-undef): Add AUTOUNDEF to remove
2925 defines from global name space. Reported by Dan Dever.
2926 (verilog-auto-reset, verilog-auto-reset-widths)
2927 (verilog-auto-tieoff): Support using unbased numbers for
2928 AUTORESET and AUTOTIEOFF.
2929 (verilog-submit-bug-report): Update variable list.
2930 (verilog-read-auto-params): Fix AUTOINPUT regexps containing
2931 parenthesis from not matching. Reported by Michael Rytting.
2932 (verilog-auto-template-lint): Fix hash error when linting modules
2933 with no used templates.
2934 (verilog-warn, verilog-warn-error)
2935 (verilog-warn-fatal): When non-interactive report multiple
2936 warnings before exiting. Suggested by Brad Dobbie.
2937 (verilog-auto-template-lint, verilog-auto-template-warn-unused)
2938 (verilog-read-auto-template): Add `verilog-auto-template-warn-unused'
2939 to report unused template errors. Reported by Brad Dobbie.
2940 (verilog-read-decls): Fix AUTOWIRE etc on supply0, supply1 type
2941 nets, bug438. Reported by Vns Blore.
2942 (verilog-auto-inout-module, verilog-auto-reg)
2943 (verilog-read-decls, verilog-read-sub-decls-sig)
2944 (verilog-signals-edit-wire-reg, verilog-signals-with):
2945 Fix passing of Verilog data types in ANSI input/output ports
2946 such as "output logic" into the AUTOs. Special case "wire" and
2947 "reg" for backwards compatibility presuming Verilog 2001.
2948 (verilog-auto-ascii-enum): Add "auto enum" as alias.
2949 (verilog-preprocess): Fix replication of preprocess output.
2950 Reported by Brad Dobbie.
2951 (verilog-auto-inst-interfaced-ports):
2952 Create verilog-auto-inst-interfaced-ports, bug429.
2953 Reported by Julian Gorfajn.
2954 (verilog-after-save-font-hook)
2955 (verilog-before-save-font-hook): New variable.
2956 (verilog-modi-cache-results, verilog-save-font-mod-hooked)
2957 (verilog-save-font-mods): Wrap disabling fontification, reported
2958 by David Rogoff.
2959 (verilog-do-indent, verilog-pretty-declarations-auto)
2960 (verilog-sk-def-reg): Fix obeying `verilog-auto-lineup', bug305.
2961 Reported by Pierre-David Pfister.
2962 (verilog-set-auto-endcomments): Fix endtask auto comments outside
2963 of class declarations, bug292. Reported by Kevin Heilman.
2964 (verilog-read-decls): Fix 'parameter type' not appearing in
2965 AUTOINSTPARAM, bug340. Reported by Jonathan Greenlaw.
2966 (verilog-auto-logic): Fix when AUTOLOGIC present to properly do
2967 AUTOINPUTs, bug411. Reported by Jonathan Greenlaw.
2968 (verilog-read-auto-lisp): Avoid syntax-ppss warning on AUTOLISP.
2969 Reported by David Kravitz.
2970
29712012-05-03 Michael McNamara <mac@mail.brushroad.com>
2972
2973 * progmodes/verilog-mode.el (verilog-pretty-expr): Don't line up
2974 assignment with tests in ifs and for loops.
2975 (verilog-extended-complete-re, verilog-complete-reg): Change so
2976 that DPI inport functions don't look like fuction declarations.
2977 (verilog-pretty-expr): Don't line up assignment
2978 operations to the test and increment in if and for loops
2979 (verilog-extended-complete-re, verilog-complete-reg): Change so
090bd7cb 2980 that DPI inport functions don't look like fuction declarations.
47086495 2981
2e51d4b5
KH
29822012-05-03 Kenichi Handa <handa@m17n.org>
2983
2984 * mail/rmailmm.el (rmail-show-mime): Catch an error caused by text
c846da43 2985 decoding, and show a warning message without signaling an error
2e51d4b5
KH
2986 (Bug#11282).
2987
2bd785a2
SM
29882012-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
2989
2990 * emacs-lisp/bytecomp.el
2991 (byte-compile-file-form-custom-declare-variable): Compile all elements,
2992 since cconv.el might have introduced :fun-body, internal-make-closure,
2993 and friends for bytecomp to handle (bug#11391).
2994 * custom.el (defcustom): Avoid ((λ ..) ..).
2995
99d27583
SM
29962012-05-02 Stefan Monnier <monnier@iro.umontreal.ca>
2997
2998 * subr.el (read-passwd): Better clean after ourselves (bug#11392).
2999
55a71479
JB
30002012-05-02 Juanma Barranquero <lekktu@gmail.com>
3001
3002 * notifications.el (dbus-debug):
3003 * term/linux.el (gpm-mouse-enable):
3004 * term/screen.el (xterm-register-default-colors): Declare.
3005
7b97c764
CY
30062012-05-02 Chong Yidong <cyd@gnu.org>
3007
2bc356d7
CY
3008 * cus-start.el (gc-cons-percentage, exec-suffixes)
3009 (dos-display-scancodes, dos-hyper-key, dos-super-key)
3010 (dos-keypad-mode, debug-on-signal, vertical-centering-font-regexp)
3011 (make-cursor-line-fully-visible, void-text-area-pointer)
3012 (font-list-limit): Add customization data.
3013
7b97c764
CY
3014 * allout.el (allout-exposure-change-functions)
3015 (allout-structure-added-functions)
3016 (allout-structure-deleted-functions)
3017 (allout-structure-shifted-functions): Rename abnormal hooks from
3018 *-hook, and convert to defcustoms.
5d3385a0
JB
3019 (allout-after-copy-or-kill-hook, allout-post-undo-hook):
3020 Convert to defcustoms.
7b97c764
CY
3021 (allout-mode-hook, allout-mode-deactivate-hook): Doc fix.
3022
3023 * allout-widgets.el: Hook callers changed.
3024
90207a15 30252012-05-02 Eli Zaretskii <eliz@gnu.org>
91af76bf
EZ
3026
3027 * mail/rmail.el (rmail-yank-current-message): Use the encoding of
3028 the yanked message in preference to the default value of
3029 buffer-file-coding-system.
3030
90207a15 30312012-05-02 Martin Rudalics <rudalics@gmx.at>
d9558cad 3032
5d3385a0
JB
3033 * window.el (display-buffer--action-function-custom-type):
3034 Fix entry.
d9558cad 3035
90207a15 30362012-05-02 Alan Mackenzie <acm@muc.de>
09affde0
AM
3037
3038 * progmodes/cc-defs.el (c-version): Update to 5.32.3.
3039
d80ac57b
GM
30402012-05-01 Glenn Morris <rgm@gnu.org>
3041
976f7668
GM
3042 * cus-start.el (suggest-key-bindings): Remove, now it is in Lisp.
3043
beb83b5a
GM
3044 * eshell/esh-cmd.el (eshell-debug-command): Doc fix. Add :set.
3045
d80ac57b
GM
3046 * cus-edit.el (custom-variable-documentation): Simplify with format.
3047
b593d6a9
AH
30482012-05-01 Aaron S. Hawley <aaron.s.hawley@gmail.com>
3049 Stefan Monnier <monnier@iro.umontreal.ca>
3050
3051 * simple.el (suggest-key-bindings, execute-extended-command):
3052 Move from keyboard.c.
3053
782fbf2a
CY
30542012-05-01 Chong Yidong <cyd@gnu.org>
3055
3056 * follow.el: Eliminate advice.
3057 (set-process-filter, process-filter, sit-for): Advice deleted.
3058 (follow-mode-off-hook): Obsolete hook removed.
b593d6a9
AH
3059 (follow-avoid-tail-recenter-p, follow-process-filter-alist):
3060 Vars deleted.
782fbf2a
CY
3061 (follow-auto): Use a :set function.
3062 (follow-mode): Rewritten. Don't advise process filters.
3063 (follow-switch-to-current-buffer-all, follow-scroll-up)
3064 (follow-scroll-down): Assume follow-mode is bound.
3065 (follow-comint-scroll-to-bottom)
3066 (follow-align-compilation-windows): New functions.
3067 (follow--window-sorter): New function.
3068 (follow-all-followers): Use it to explicitly sort windows by their
3069 positions; don't make assumptions about next-window order.
3070 (follow-windows-start-end, follow-delete-other-windows-and-split)
3071 (follow-calc-win-start): Doc fix.
3072 (follow-windows-aligned-p, follow-select-if-visible): Don't call
3073 vertical-motion unnecessarily.
3074 (follow-adjust-window): New function.
3075 (follow-post-command-hook): Use it.
3076 (follow-call-set-process-filter, follow-call-process-filter)
3077 (follow-intercept-process-output, follow-tidy-process-filter-alist)
3078 (follow-stop-intercept-process-output, follow-generic-filter):
3079 Functions deleted.
3080 (follow-scroll-bar-toolkit-scroll, follow-scroll-bar-drag)
b593d6a9
AH
3081 (follow-scroll-bar-scroll-up, follow-scroll-bar-scroll-down):
3082 New functions, replacing advice on scroll-bar-* commands.
87233a14 3083 (follow-mwheel-scroll): New function (Bug#4112).
782fbf2a
CY
3084
3085 * comint.el (comint-adjust-point): New function.
b593d6a9
AH
3086 (comint-postoutput-scroll-to-bottom): Use it.
3087 Call follow-comint-scroll-to-bottom for Follow mode buffers.
782fbf2a 3088
290af740
GM
30892012-05-01 Glenn Morris <rgm@gnu.org>
3090
3091 * term/AT386.el, term/apollo.el, term/bobcat.el, term/cygwin.el:
3092 * term/iris-ansi.el, term/linux.el, term/lk201.el, term/news.el:
3093 * term/screen.el, term/vt102.el, term/vt125.el, term/vt200.el:
3094 * term/vt201.el, term/vt220.el, term/vt240.el, term/vt300.el:
3095 * term/vt320.el, term/vt400.el, term/vt420.el, term/wyse50.el:
3096 Remove no-byte-compile setting.
3097
6eac8dc9
SM
30982012-05-01 Stefan Monnier <monnier@iro.umontreal.ca>
3099
3100 * minibuffer.el (completion-table-with-quoting): Fix compatibility
3101 all-completions code to not return a number in the last cdr.
3102
9cc7819c
LL
31032012-04-30 Leo Liu <sdl.web@gmail.com>
3104
3105 * ibuf-ext.el (ibuffer-diff-buffer-with-file-1): Avoid buffer
3106 read-only error.
3107
c93b886f
CY
31082012-04-29 Chong Yidong <cyd@gnu.org>
3109
3110 * follow.el (follow-calc-win-end): Rewrite to handle partial
3111 screen lines correctly (Bug#8390).
3112 (follow-avoid-tail-recenter): Minor cleanup.
3113
8b6c19f4
SM
31142012-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
3115
3116 Avoid the obsolete `assoc' package.
3117 * speedbar.el (speedbar-refresh): Avoid adelete.
3118 (speedbar-file-lists): Simplify and avoid aput.
3119 * man.el (Man--sections, Man--refpages): New vars, replacing
3120 Man-sections-alist and Man-refpages-alist.
3121 (Man-build-section-alist, Man-build-references-alist):
3122 Use them; avoid aput.
3123 (Man--last-section, Man--last-refpage): New vars.
3124 (Man-follow-manual-reference): Use them.
3125 Use the `default' arg of completing-read.
3126 (Man-goto-section): Idem. Move prompt to the `interactive' spec.
3127
c5bb7569
CY
31282012-04-27 Chong Yidong <cyd@gnu.org>
3129
d1d2e2e8
CY
3130 * vc/diff.el (diff-sentinel): Go to bob (Bug#10259).
3131
15cd8efd
CY
3132 * startup.el (x-apply-session-resources): New function.
3133
3134 * term/ns-win.el (ns-initialize-window-system):
3135 * term/w32-win.el (w32-initialize-window-system):
3136 * term/x-win.el (x-initialize-window-system): Use it to properly
3137 set menu-bar-mode and other vars from X resources, even if the
3138 initial frame is not a window-system frame (Bug#2299).
3139
c5bb7569
CY
3140 * subr.el (read-key): Avoid running filter function when setting
3141 up temporary tool bar entries (Bug#9922).
3142
a8e7d6d7 31432012-04-27 Andreas Schwab <schwab@linux-m68k.org>
c4347ab9
AS
3144
3145 * vc/vc-git.el (vc-git-state): Fix regexp matching diff output.
3146 (Bug#11344)
3147
a8e7d6d7 31482012-04-27 Chong Yidong <cyd@gnu.org>
acb71f1d
CY
3149
3150 * select.el (xselect--encode-string): New function, split from
3151 xselect-convert-to-string.
3152 (xselect-convert-to-string): Use it.
3153 (xselect-convert-to-filename, xselect-convert-to-os)
3154 (xselect-convert-to-host, xselect-convert-to-user): Ensure that
3155 returned strings are properly encoded (Bug#11315).
3156
a8e7d6d7 31572012-04-27 Chong Yidong <cyd@gnu.org>
d55486c7
CY
3158
3159 * simple.el (delete-active-region): Move to killing custom group.
3160
a8e7d6d7 31612012-04-27 Andreas Schwab <schwab@linux-m68k.org>
581b6788
AS
3162
3163 * progmodes/which-func.el (which-func-current): Quote %
3164 characters for mode-line processing.
3165
578c1d4b 31662012-04-27 Chong Yidong <cyd@gnu.org>
18edb22d
CY
3167
3168 * xml.el (xml-parse-region, xml-parse-tag): Avoid errors due to
3169 reaching eob (Bug#11286).
3170
a8e7d6d7 31712012-04-27 Eli Zaretskii <eliz@gnu.org>
9ee9f470
EZ
3172
3173 * progmodes/gdb-mi.el (gdb-control-level): New variable.
3174 (gdb): Make it buffer-local and init to zero.
3175 (gdb-control-commands-regexp): New variable.
3176 (gdb-send): Don't wrap in "-interpreter-exec console" if
3177 gdb-control-level is positive. Increment gdb-control-level
3178 whenever the command matches gdb-control-commands-regexp, and
3179 decrement it each time the command is "end". (Bug#11279)
3180
a8e7d6d7 31812012-04-27 Martin Rudalics <rudalics@gmx.at>
41cfe0cb
MR
3182
3183 * window.el (adjust-window-trailing-edge, enlarge-window)
3184 (shrink-window, window-resize):
3185 * mouse.el (mouse-drag-line): Fix resizing of minibuffer
3186 windows (Bug#11276).
3187
b3608390
CY
31882012-04-27 Chong Yidong <cyd@gnu.org>
3189
3190 * progmodes/pascal.el (pascal--extra-indent): Rename from ind, to
a8e7d6d7 3191 fix "missing prefix" warning. All callers changed.
b3608390 3192
797e6e88
SM
31932012-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
3194
3195 * emacs-lisp/assoc.el: Move to obsolete/.
3196
e95a67dc
SM
31972012-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
3198
657c21e4 3199 * emacs-lisp/assoc.el (aget): Fix dynamic-scoping issue (bug#11352).
e95a67dc
SM
3200
3201 * term/ns-win.el (ns-define-service):
3202 * progmodes/pascal.el (pascal-goto-defun):
3203 * progmodes/js.el (js--read-tab):
3204 * progmodes/etags.el (tags-lazy-completion-table):
3205 * emacs-lisp/syntax.el (syntax-propertize-via-font-lock):
3206 * emacs-lisp/ewoc.el (ewoc--wrap):
3207 * emacs-lisp/assoc.el (aput, adelete, amake):
3208 * doc-view.el (doc-view-convert-current-doc):
3209 * vc/diff.el (diff-no-select): Replace lexical-let by lexical-binding.
3210
cb3e7ae0
CY
32112012-04-26 Chong Yidong <cyd@gnu.org>
3212
dce04f7f
CY
3213 * image.el (image-type-from-buffer): Only return supported image
3214 type (Bug#9045).
3215
cb3e7ae0
CY
3216 * vc/diff-mode.el (diff-beginning-of-hunk): Return a meaningful
3217 value, for symmetry with diff-end-of-hunk.
3218 (diff-split-hunk, diff-find-source-location)
3219 (diff-ignore-whitespace-hunk, diff-refine-hunk): Use it.
3220 (diff-bounds-of-hunk, diff-bounds-of-file): New functions.
3221 (diff-restrict-view, diff-hunk-kill, diff-file-kill): Use them to
3222 compute the relevant hunk or file properly (Bug#6005).
3223 (diff-file-junk-re): Add bzr's "modified file" tag (Bug#6041).
3224
0d42eb3e
SM
32252012-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
3226
3227 * vc/vc-mtn.el:
3228 * vc/vc-hg.el:
3229 * vc/vc-git.el:
3230 * vc/vc-dir.el:
3231 * vc/vc-cvs.el:
3232 * vc/vc-bzr.el:
3233 * vc/vc-arch.el:
3234 * vc/vc.el: Replace lexical-let by lexical-binding.
3235 * minibuffer.el (lazy-completion-table): Avoid ((λ ...) ...).
3236 * emacs-lisp/cl-macs.el (lexical-let): Fix use in lexical-binding.
3237 * emacs-lisp/cconv.el (cconv-analyse-form): Warn use of ((λ ...) ...).
3238
f08ae1c9
CY
32392012-04-26 Chong Yidong <cyd@gnu.org>
3240
8b71081d
CY
3241 * vc/diff-mode.el (diff-undo): New command (Bug#5302).
3242 (diff-mode-shared-map): Bind it to / and [remap undo].
3243
f08ae1c9
CY
3244 * vc/ediff-wind.el (ediff-setup-windows-default): New function.
3245 (ediff-window-setup-function): Use it as the default, to set up
3246 windows based on whether the current frame is graphical (Bug#2138).
3247 (ediff-choose-window-setup-function-automatically): Make obsolete.
3248
3249 * vc/ediff-init.el: Always define ediff-pixel-width/height.
3250
ef24141c
SM
32512012-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
3252
cc356a5d
SM
3253 * ffap.el: Remove old code for obsolete package.
3254 (ffap-complete-as-file-p): Remove.
3255
b4ff4f1f
SM
3256 Use completion-table-with-quoting for comint and pcomplete.
3257 * comint.el (comint--unquote&requote-argument)
3258 (comint--unquote-argument, comint--requote-argument): New functions.
3259 (comint--unquote&expand-filename, comint-unquote-filename): Obsolete.
3260 (comint-quote-filename): Use regexp-opt-charset.
3261 (comint--common-suffix, comint--common-quoted-suffix)
3262 (comint--table-subvert): Remove.
3263 (comint-unquote-function, comint-requote-function): New vars.
3264 (comint--complete-file-name-data): Use them with
3265 completion-table-with-quoting.
3266 * pcmpl-unix.el (pcomplete/scp): Use completion-table-subvert.
3267 * pcomplete.el (pcomplete-arg-quote-list)
3268 (pcomplete-quote-arg-hook, pcomplete-quote-argument): Obsolete.
3269 (pcomplete-unquote-argument-function): Default to non-nil.
3270 (pcomplete-unquote-argument): Simplify.
3271 (pcomplete--common-quoted-suffix): Remove.
3272 (pcomplete-requote-argument-function): New var.
3273 (pcomplete--common-suffix): New function.
3274 (pcomplete-completions-at-point): Use completion-table-with-quoting
3275 and completion-table-subvert.
3276
79c4eeb4
SM
3277 * minibuffer.el: Use completion-table-with-quoting for read-file-name.
3278 (minibuffer--double-dollars): Preserve properties.
3279 (completion--sifn-requote): New function.
3280 (completion--file-name-table): Rewrite using it and c-t-with-quoting.
3281
ef24141c
SM
3282 * minibuffer.el: Add support for completion of quoted/escaped data.
3283 (completion-table-with-quoting, completion-table-subvert): New funs.
3284 (completion--twq-try, completion--twq-all): New functions.
3285 (completion--nth-completion): New function.
3286 (completion-try-completion, completion-all-completions): Use it.
3287
784e7d6e
LL
32882012-04-25 Leo Liu <sdl.web@gmail.com>
3289
dd2ac746
SM
3290 * progmodes/python.el (python-pdbtrack-get-source-buffer):
3291 Use compilation-message if available to find real filename.
784e7d6e 3292
07875ee7
CY
32932012-04-25 Chong Yidong <cyd@gnu.org>
3294
3295 * vc/diff-mode.el (diff-setup-whitespace): New function.
3296 (diff-mode): Use it.
3297
3298 * vc/diff.el (diff-sentinel):
3299 * vc/vc.el (vc-diff-finish): Call diff-setup-whitespace to assign
3300 Whitespace mode variables based on diff style (Bug#8612).
3301
5055880d
LL
33022012-04-25 Leo Liu <sdl.web@gmail.com>
3303
daf75653
LL
3304 * progmodes/python.el (python-send-region): Add suffix .py to the
3305 temp file.
3306
5055880d
LL
3307 * files.el (auto-mode-alist): Use javascript-mode instead.
3308
db9b177b
AH
33092012-04-25 Alex Harsanyi <AlexHarsanyi@gmail.com>
3310
ef24141c 3311 Sync with soap-client repository. Support SOAP simpleType (Bug#10331).
db9b177b 3312
090bd7cb 3313 * net/soap-client.el (soap-resolve-references-for-sequence-type)
ef24141c 3314 (soap-resolve-references-for-array-type): Hack to prevent self
db9b177b 3315 references, see Bug#9.
ef24141c 3316 (soap-parse-envelope): Report the contents of the 'detail' node
db9b177b 3317 when receiving a fault reply.
ef24141c 3318 (soap-parse-envelope): Report the contents of the entire 'detail' node.
db9b177b 3319
090bd7cb 3320 * net/soap-inspect.el (soap-sample-value-for-simple-type)
ef24141c 3321 (soap-inspect-simple-type): New function.
db9b177b 3322
090bd7cb 3323 * net/soap-client.el (soap-simple-type): New struct.
db9b177b 3324 (soap-default-xsd-types, soap-default-soapenc-types)
ef24141c
SM
3325 (soap-decode-basic-type, soap-encode-basic-type):
3326 support unsignedInt and double basic types.
db9b177b 3327 (soap-resolve-references-for-simple-type)
ef24141c
SM
3328 (soap-parse-simple-type, soap-encode-simple-type): New function.
3329 (soap-parse-schema): Parse xsd:simpleType declarations.
db9b177b 3330
090bd7cb 3331 * net/soap-client.el (soap-default-xsd-types)
ef24141c
SM
3332 (soap-default-soapenc-types): Add integer, byte and anyURI types.
3333 (soap-parse-complex-type-complex-content): Use `soap-wk2l' to find
3334 the local name of "soapenc:Array".
3335 (soap-decode-basic-type, soap-encode-basic-type): Support encoding
db9b177b
AH
3336 decoding integer, byte and anyURI xsd types.
3337
1fc6097b
CY
33382012-04-25 Chong Yidong <cyd@gnu.org>
3339
3340 * cus-edit.el (custom-buffer-create-internal): Update header text.
3341
afc6df87
EZ
33422012-04-25 Eli Zaretskii <eliz@gnu.org>
3343
3344 * progmodes/gdb-mi.el (gdb-init-1): Condition Windows-specific
3345 settings on 'system-type', not on 'window-system'. On MS-Windows,
3346 set interactive-mode on in GDB.
3347
dfbd787f
SM
33482012-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
3349
3350 * progmodes/ruby-mode.el: Simplify last change, and cleanup code.
3351 (ruby-syntax-propertize-regexp): Remove.
3352 (ruby-syntax-propertize-function): Split regexp into chunks.
3353 Match following code directly.
3354
85222d44
DG
33552012-04-24 Dmitry Gutov <dgutov@yandex.ru>
3356
51a8ea2a
DG
3357 * progmodes/ruby-mode.el: Handle Cucumber defs (bug#6286).
3358 (ruby-syntax-propertize-regexp): New function.
3359 (ruby-syntax-propertize-function): Use it to handle regexp not preceded
3360 by a special keyword.
3361
85222d44
DG
3362 * progmodes/ruby-mode.el: Handle general delimited literals (bug#6286).
3363 (ruby-syntax-general-delimiters-goto-beg)
3364 (ruby-syntax-propertize-general-delimiters): New functions.
3365 (ruby-syntax-propertize-function): Use them to handle GDL.
3366 (ruby-font-lock-keywords): Move old handling of GDL...
3367 (ruby-font-lock-syntactic-keywords): .. to here.
3368 (ruby-calculate-indent): Adjust indentation for GDL.
3369
b613912b
MA
33702012-04-24 Michael Albinus <michael.albinus@gmx.de>
3371
b5380639
MA
3372 * notifications.el (top): Remove unneeded declarations.
3373 (notifications-specification-version): Change to "1.2".
e43042fe 3374 (notifications-interface, notifications-notify-method)
b613912b
MA
3375 (notifications-close-notification-method): Fix docstring.
3376 (notifications-get-capabilities-method): New defconst.
e43042fe
MA
3377 (notifications-notify): Add :action-items, :resident and
3378 :transient hints. Change "image_data" to "image-data" and
3379 "image_path" to "image-path".
b613912b
MA
3380 (notifications-get-capabilities): New defun.
3381
257440aa
LL
33822012-04-24 Leo Liu <sdl.web@gmail.com>
3383
3384 * progmodes/python.el: Move hideshow setup to the end.
3385
b1bac16e
MR
33862012-04-24 Martin Rudalics <rudalics@gmx.at>
3387
3388 * window.el (handle-select-window): Clear echo area since this is
3389 no more done by read_char (Bug#11304).
3390
d81bd059
SM
33912012-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
3392
3393 * ibuffer.el (ibuffer-mode-map): Bind `/ m' to filter-used-mode
3394 and `/ M' to filter-derived-mode.
3395 * ibuf-ext.el (ibuffer-list-buffer-modes): Simplify; avoid add-to-list.
3396 (ibuffer-filter-by-mode, ibuffer-filter-by-used-mode)
3397 (ibuffer-mark-by-mode): Use default rather than initial-input.
3398 (ibuffer-filter-by-derived-mode): Autoload and require-match.
3399
c4cf6d91
IA
34002012-04-24 Ivan Andrus <darthandrus@gmail.com> (tiny change)
3401
3402 * ibuf-ext.el (ibuffer-list-buffer-modes): Add `include-parents' arg.
3403 (ibuffer-filter-by-derived-mode): New filter.
3404 * ibuffer.el (ibuffer-mode-map): Bind to `/ w'.
3405
7511ded8
CY
34062012-04-23 Andreas Politz <politza@fh-trier.de>
3407
3408 * subr.el (accept-change-group): Fix arg usage (Bug#6095).
3409
775c916b
CY
34102012-04-23 Chong Yidong <cyd@gnu.org>
3411
3412 * cus-edit.el (customize-apropos, customize-apropos-options):
3413 Disable matching of non-option variables (Bug#11176).
3414 (customize-option, customize-option-other-window)
3415 (customize-changed-options): Doc fix.
3416 (customize-apropos-options, customize-apropos-faces)
3417 (customize-apropos-groups): Use apropos-read-pattern (Bug#11124).
3418
3419 * apropos.el (apropos-read-pattern): Make prompt less cryptic.
922d37d3 3420 Fix word list splitting (Bug#11132).
46c71e23
CY
3421 (apropos-symbol, apropos-keybinding, apropos-label)
3422 (apropos-property, apropos-function-button)
3423 (apropos-variable-button, apropos-misc-button): New faces.
3424 (apropos-symbol-face, apropos-keybinding-face)
3425 (apropos-label-face, apropos-property-face, apropos-match-face):
3426 Variables removed (Bug#8396).
3427 (apropos-library-button, apropos-format-plist, apropos-print)
3428 (apropos-print-doc, apropos-describe-plist): Callers changed.
775c916b 3429
2df41f9c
MA
34302012-04-23 Michael Albinus <michael.albinus@gmx.de>
3431
3432 * net/xesam.el (xesam-mode-map): Use let-bound map in
3433 initialization. (Bug#11292)
3434
da00640a
AM
34352012-04-23 Agustín Martín Domingo <agustin.martin@hispalinux.es>
3436
3437 Preserve ispell session localwords when switching back to
3438 original buffer.
3439
090bd7cb
JB
3440 * textmodes/ispell.el (ispell-buffer-session-localwords):
3441 New buffer-local variable to hold buffer session localwords.
da00640a
AM
3442 (ispell-kill-ispell): add option 'clear to delete session
3443 localwords.
3444 (ispell-command-loop, ispell-change-dictionary)
3445 (ispell-buffer-local-words): Preserve session localwords when
3446 needed.
3447
090bd7cb
JB
3448 * textmodes/flyspell.el (flyspell-process-localwords)
3449 (flyspell-do-correct): Preserve session localwords when needed.
da00640a 3450
f621ccf5
AM
34512012-04-23 Agustín Martín Domingo <agustin.martin@hispalinux.es>
3452
090bd7cb
JB
3453 * textmodes/ispell.el (ispell-insert-word) Remove unneeded function
3454 using obsolete `translation-table-for-input'.
ef24141c
SM
3455 (ispell-word, ispell-process-line, ispell-complete-word):
3456 Use plain `insert' instead of removed `ispell-insert-word'.
f621ccf5 3457
c2d1019e
CY
34582012-04-22 Chong Yidong <cyd@gnu.org>
3459
3460 * cus-edit.el (custom-variable-menu)
3461 (custom-variable-reset-saved, custom-face-menu)
3462 (custom-face-reset-saved): If there is no saved value, make the
3463 "reset-saved" operation bring back the default (Bug#9509).
3464 (custom-face-state): Properly detect themed faces.
3465
eeddc531
CY
3466 * faces.el (face-spec-set): Stop supporting deprecated form of
3467 third arg.
3468
dcbf5805
MA
34692012-04-22 Michael Albinus <michael.albinus@gmx.de>
3470
3471 Move functions from C to Lisp. Make non-blocking method calls
3472 the default. Implement further D-Bus standard interfaces.
3473
ef24141c
SM
3474 * net/dbus.el (dbus-message-internal): Declare function.
3475 Remove unneeded function declarations.
dcbf5805
MA
3476 (defvar dbus-message-type-invalid, dbus-message-type-method-call)
3477 (dbus-message-type-method-return, dbus-message-type-error)
3478 (dbus-message-type-signal): Declare variables. Remove local
3479 definitions.
3480 (dbus-interface-dbus, dbus-interface-peer)
3481 (dbus-interface-introspectable, dbus-interface-properties)
3482 (dbus-path-emacs, dbus-interface-emacs, dbus-return-values-table):
3483 Adapt docstring.
3484 (dbus-interface-objectmanager): New defconst.
3485 (dbus-call-method, dbus-call-method-asynchronously)
3486 (dbus-send-signal, dbus-method-return-internal)
3487 (dbus-method-error-internal, dbus-register-service)
3488 (dbus-register-signal, dbus-register-method): New defuns, moved
3489 from dbusbind.c
3490 (dbus-call-method-handler, dbus-setenv)
ef24141c
SM
3491 (dbus-get-all-managed-objects, dbus-managed-objects-handler):
3492 New defuns.
dcbf5805
MA
3493 (dbus-call-method-non-blocking): Make it an obsolete function.
3494 (dbus-unregister-object, dbus-unregister-service)
3495 (dbus-handle-event, dbus-register-property)
3496 (dbus-property-handler): Obey the new structure of
3497 `bus-registered-objects'.
3498 (dbus-introspect): Use `dbus-call-method'. Use a timeout.
3499 (dbus-get-property, dbus-set-property, dbus-get-all-properties):
3500 Use `dbus-call-method'.
3501
cf20dee0
CY
35022012-04-22 Chong Yidong <cyd@gnu.org>
3503
3504 * cus-edit.el (custom-commands, custom-reset-menu)
3505 (Custom-reset-standard): Tweak labels.
3506 (custom-reset-button-menu): Change default to t.
3507 (custom-buffer-create-internal): For the custom-reset-button-menu
3508 case, put the revert button first.
3509 (custom-group-subtitle): New face.
3510 (custom-group-value-create): Align docstring to a specific column.
3511
3512 * wid-edit.el (widget-documentation-link-add): Don't handle
3513 indentation in this function.
3514 (widget-documentation-string-indent-to): New function.
3515 (widget-documentation-string-value-create): Use it.
3516
3517 * autorevert.el (auto-revert):
3518 * epg-config.el (epg):
3519 * ibuffer.el (ibuffer):
3520 * mpc.el (mpc):
3521 * ses.el (ses):
3522 * eshell/eshell.el (eshell):
3523 * net/ange-ftp.el (ange-ftp):
3524 * progmodes/ebnf2ps.el (postscript):
3525 * progmodes/flymake.el (flymake):
3526 * progmodes/prolog.el (prolog):
3527 * progmodes/verilog-mode.el (verilog-mode):
3528 * progmodes/which-func.el (which-func):
3529 * term/xterm.el (xterm):
3530 * textmodes/picture.el (picture):
3531 * textmodes/tildify.el (tildify):
3532 * vc/ediff.el (ediff): Tweak defgroups to improve presentation in
3533 customization buffers.
3534
583e23bd
AM
35352012-04-22 Alan Mackenzie <acm@muc.de>
3536
3537 * progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache):
3538 Adding a ) can hide the resulting (..) from searches. Fix it.
3539 Bound the backward search to the position of the existing (.
3540
7dd51bf1
JB
35412012-04-21 Juanma Barranquero <lekktu@gmail.com>
3542
3543 * progmodes/verilog-mode.el (verilog-mode): Check whether
3544 which-func-modes is t before adding verilog-mode.
3545 Reported by Andy Moreton <andrewjmoreton@gmail.com>.
3546
d64a438f
LL
35472012-04-21 Leo Liu <sdl.web@gmail.com>
3548
7dd51bf1 3549 * net/rcirc.el (rcirc): Avoid error when process-contact returns t.
d64a438f 3550
081e8d65
MV
35512012-04-21 Michael Vehrs <Michael.Burschik@gmx.de>
3552
3553 * woman.el: Add support for "T{ T}" tbl syntax, and fix the
3554 filling of the last column of a table (Bug#5635).
3555 (woman-find-next-control-line): New arg, specifying an additional
3556 regexp component for the control line.
3557 (woman2-roff-buffer): Use it.
3558 (woman-break-table): New function.
3559 (woman2-TS): Use it.
3560
35612012-04-21 Chong Yidong <cyd@gnu.org>
3562
3563 * woman.el (woman-set-buffer-display-table, woman-decode-region)
3564 (woman-horizontal-escapes, woman-negative-vertical-space)
3565 (woman-tab-to-tab-stop, woman2-fc, woman2-TS)
3566 (WoMan-warn-ignored): Use ?\s instead of ?\ .
3567
ed571ccb
SM
35682012-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
3569
3570 * minibuffer.el (completion-file-name-table): Complete user names.
3571
39773899
LL
35722012-04-20 Leo Liu <sdl.web@gmail.com>
3573
3574 * font-lock.el (lisp-font-lock-keywords-2): Add pcase, pcase-let
3575 and pcase-let*.
3576
de6ff46d
CY
35772012-04-20 Chong Yidong <cyd@gnu.org>
3578
3579 * server.el (server-execute): Respect initial-buffer-choice if it
3580 is a string and there are no files to open (Bug#2825).
3581 (server-create-window-system-frame, server-create-tty-frame):
3582 Don't switch buffers here.
2d0e8e61
CY
3583 (server-process-filter): Only try to open a window system frame if
3584 compiled with graphical support (Bug#8314).
de6ff46d 3585
54071013
DN
35862012-04-20 Dan Nicolaescu <dann@gnu.org>
3587
3588 * battery.el (battery-echo-area-format): Display remaining time
3589 for sysfs backend too (Bug#11269).
3590 (battery-linux-sysfs): Fix conditional for the charge.
3591
f30d612a
CY
35922012-04-20 Chong Yidong <cyd@gnu.org>
3593
c07a4c0b 3594 * progmodes/gdb-mi.el (gdb): Revert previous change.
f30d612a
CY
3595 (gdb-inferior-io--init-proc): New function.
3596 (gdb-init-1): Use it.
3597 (gdb-inferior-io-sentinel): New sentinel for the gdb-inferior pty,
3598 responsible for allocating a new pty and hooking it to gdb when
3599 the old pty gets an EIO due to process exit.
3600 (gdb-delchar-or-quit): New command. Bind it in gdb-mi buffers.
3601 (gdb-tooltip-print): Don't use obsolete tooltip-use-echo-area.
3602 (gdb-inferior-io--maybe-delete-pty): Move into gdb-reset.
3603
2116e93c
EZ
36042012-04-20 Eli Zaretskii <eliz@gnu.org>
3605
3606 * window.el (window-min-size, window-sizable, window-min-delta)
3607 (window-max-delta, window--resizable, window-resizable)
3608 (window-total-size, window-full-height-p, window-full-width-p)
3609 (window-in-direction, window--resize-mini-window, window-resize)
3610 (window--resize-child-windows-normal)
3611 (window--resize-child-windows, window--resize-siblings)
3612 (window--resize-this-window, adjust-window-trailing-edge)
cd0f830c 3613 (enlarge-window, shrink-window): Doc fixes.
2116e93c 3614
c07a4c0b 36152012-04-20 Chong Yidong <cyd@gnu.org>
b668fa6e 3616
ef24141c
SM
3617 * progmodes/gdb-mi.el (gdb-inferior-io--maybe-delete-pty):
3618 New function to call delete-process on the gdb-inferior buffer's pty.
b668fa6e
CY
3619 (gdb-reset): Use it, instead of relying on kill-buffer to kill the
3620 pty process (Bug#11273).
3621 (gdb-update): New arg to suppress talking to the gdb process.
3622 (gdb-done-or-error): Use it.
3623 (gdb-stopped-functions): Rename from gdb-stopped-hooks.
3624 (gdb): Call gdb-inferior-io--maybe-delete-pty as a workaround for
3625 sentinel not being called.
3626
3627 * comint.el (make-comint-in-buffer, comint-exec): Doc fix.
3628
d02766ab
CY
3629 * progmodes/grep.el (grep, rgrep): Doc fix (Bug#11268).
3630
c07a4c0b 36312012-04-20 Glenn Morris <rgm@gnu.org>
016a35df
GM
3632
3633 * net/network-stream.el (open-network-stream): Doc fix.
3634
c07a4c0b 36352012-04-20 Chong Yidong <cyd@gnu.org>
2c070447
CY
3636
3637 * emacs-lisp/tabulated-list.el (tabulated-list-print): Fix typos.
3638
c07a4c0b 36392012-04-20 Alan Mackenzie <acm@muc.de>
f0f6bc35
AM
3640
3641 Ensure searching for keywords is case sensitive.
3642
3643 * progmodes/cc-cmds.el (c-electric-brace, c-electric-lt-gt)
3644 (c-electric-paren, c-beginning-of-defun, c-end-of-defun)
3645 (c-defun-name, c-mark-function, c-cpp-define-name)
3646 (c-comment-indent, c-scan-conditionals, c-indent-defun)
c07a4c0b 3647 (c-context-line-break): Bind case-fold-search to nil.
f0f6bc35 3648
ef24141c
SM
3649 * progmodes/cc-mode.el (c-font-lock-fontify-region):
3650 Bind case-fold-search to nil.
f0f6bc35 3651
c07a4c0b 36522012-04-20 Chong Yidong <cyd@gnu.org>
4fc2c72a
CY
3653
3654 * mail/sendmail.el (mail-bury): Call return action with the right
3655 Rmail buffer (Bug#11242).
3656
9a864fa2
CY
3657 * server.el (server-process-filter): Handle corner case where both
3658 tty and nowait options are present (Bug#11102).
3659
539aa513
EZ
36602012-04-20 Eli Zaretskii <eliz@gnu.org>
3661
3662 * version.el (emacs-bzr-version, emacs-bzr-get-version): Doc fixes.
6cf2a23e
EZ
3663 (top level): Put into the executable the ident-style '$Id:' tag on
3664 windows-nt as well.
539aa513 3665
cfc7d5da
SM
36662012-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
3667
3668 * electric.el (electric-indent-post-self-insert-function): Check that
3669 electric-indent-mode is enabled in current buffer.
3670
5b01685c
JB
36712012-04-19 Juanma Barranquero <lekktu@gmail.com>
3672
3673 * imenu.el (imenu-progress-message): Restore; it is "used" in
3674 erc/erc-imenu.el and net/snmp-mode.el.
3675
4d6769e1
JB
36762012-04-19 Juanma Barranquero <lekktu@gmail.com>
3677
3678 * avoid.el (mouse-avoidance-mode): Mark unused arg.
3679 (mouse-avoidance-nudge-mouse): Remove unused binding.
3680
3681 * bs.el (bs-toggle-readonly): Call `toggle-read-only' interactively.
3682
3683 * descr-text.el (describe-char):
3684 * progmodes/python.el (python-describe-symbol):
3685 Don't call `toggle-read-only', set `buffer-read-only'.
3686
3687 * imenu.el (imenu-default-goto-function): Mark unused args.
3688 (imenu-progress-message): Remove obsolete macro; all callers changed.
3689
3690 * subr.el (keymap-canonicalize): Remove unused binding.
3691 (read-passwd): Mark unused arg.
3692
3693 * tutorial.el (tutorial--display-changes): Remove unused binding.
3694 (tutorial--save-tutorial-to): Remove unused variable.
3695
3696 * emacs-lisp/package.el (define-package, package-menu-mark-delete)
3697 (package-menu-mark-install, package-menu-mark-unmark): Mark unused args.
3698 (package-generate-autoloads, package-menu--generate)
3699 (package-menu--find-upgrades): Remove unused bindings.
3700
3701 * emulation/cua-rect.el (cua-restrict-regexp-rectangle)
3702 (cua-restrict-prefix-rectangle): Doc fixes. Remove unused bindings.
3703 (cua--mouse-ignore, cua--delete-rectangle, cua--extract-rectangle)
3704 (cua--indent-rectangle, cua-open-rectangle, cua-close-rectangle)
3705 (cua-blank-rectangle, cua-string-rectangle, cua-replace-in-rectangle)
3706 (cua-incr-rectangle, cua-sequence-rectangle, cua--convert-rectangle-as)
3707 (cua--rectangle-aux-replace, cua--left-fill-rectangle)
3708 (cua-scroll-rectangle-up, cua-scroll-rectangle-down)
3709 (cua-delete-char-rectangle): Mark unused args.
3710 (cua-align-rectangle): Remove unused binding.
3711
3712 * mail/rmail.el (compilation--message->loc)
3713 (epa--find-coding-system-for-mime-charset): Declare.
3714
3715 * net/dbus.el (dbus-register-service): Declare.
3716 (dbus-name-owner-changed-handler): Remove unused binding.
3717
3718 * nxml/nxml-mode.el (nxml-electric-slash, nxml-in-mixed-content-p)
3719 (nxml-compute-indent-from-matching-start-tag): Remove unused variables.
3720 (nxml-scan-backward-within): Mark unused arg.
3721 (nxml-dynamic-markup-word): Remove unused binding.
3722
3723 * mouse.el (mouse-menu-major-mode-map):
3724 * emacs-lisp/authors.el (authors-scan-change-log)
3725 (authors-add-to-author-list):
3726 * emacs-lisp/avl-tree.el (avl-tree--enter-balance):
3727 * emacs-lisp/smie.el (smie-auto-fill):
3728 * mail/sendmail.el (mail-bury):
3729 * mail/unrmail.el (unrmail):
3730 * net/tls.el (open-tls-stream):
3731 * textmodes/picture.el (picture-mouse-set-point):
3732 Remove unused bindings.
3733
8c8fc5df
MA
37342012-04-19 Michael Albinus <michael.albinus@gmx.de>
3735
3736 * net/tramp.el (tramp-action-password): Let-bind
3737 `enable-recursive-minibuffers' to t.
3738
a77b0ac9
SS
37392012-04-18 Sam Steingold <sds@gnu.org>
3740
3741 * progmodes/gud.el (gud-key-prefix): Use :type 'key-sequence
3742 instead of 'string to accommodate values like [f11].
3743 Always use `vconcat' instead of `concat' on it, like in `gud-def'.
3744 * progmodes/gdb-mi.el: Likewise.
3745
12a106a9
LL
37462012-04-18 Leo Liu <sdl.web@gmail.com>
3747
3748 * abbrev.el (edit-abbrevs): Move point to the abbrev table of
3749 current buffer.
3750 (prepare-abbrev-list-buffer): Enter edit-abbrevs-mode only if
3751 LOCAL is nil.
3752
bc6494ef
CY
37532012-04-18 Chong Yidong <cyd@gnu.org>
3754
3755 * simple.el (line-move): Use forward-line if in batch mode
3756 (Bug#11053).
3757
c09c46b2
CS
37582012-04-18 Christopher Schmidt <christopher@ch.ristopher.com>
3759
3760 * files.el (after-find-file): Do not try to add a final newline if
3761 the buffer is read-only (Bug#11156).
3762
5f6530ea
RS
37632012-04-17 Richard Stallman <rms@gnu.org>
3764
3765 * mail/rmail.el (rmail-start-mail):
3766 Pass (rmail-mail-return...) for the return-action.
3767 Pass (rmail-yank-current-message...) for the yank-action.
3768 (rmail-yank-current-message): New function.
3769 (rmail-mail): Pass the Rmail buffer, not view buffer, for replybuffer.
3770 (rmail-reply): Likewise.
3771 (rmail-forward): Pass the Rmail buffer, not nil, for replybuffer.
3772
3773 * mail/sendmail.el (mail-bury): Choose the first rmail-mode
c09c46b2 3774 buffer, not the last. Reject temp buffers. Use the rmail-mode
5f6530ea
RS
3775 buffer, not newbuf.
3776
197b6f3c
JB
37772012-04-17 Juanma Barranquero <lekktu@gmail.com>
3778
3779 * server.el (server-ensure-safe-dir): Simplify.
3780
2311d8e5 37812012-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
98fb480e 3782
2311d8e5
GM
3783 * emacs-lisp/smie.el: Provide smarter auto-filling.
3784 (smie-auto-fill): New function.
3785 (smie-setup): Use it.
98fb480e 3786
2311d8e5
GM
3787 * newcomment.el (comment-choose-indent): Obey comment-inline-offset.
3788
37892012-04-17 Philipp Haselwarter <philipp.haselwarter@gmx.de> (tiny change)
8eb5d48f
PH
3790
3791 * newcomment.el (comment-inline-offset): New custom var (bug#11090).
3792 (comment-indent): Use it.
3793
2311d8e5 37942012-04-17 Vincent Belaïche <vincentb1@users.sourceforge.net>
4bdf2ad2
VB
3795
3796 * ses.el: The overall change is to add cell renaming, that is
3797 setting fancy names for cell symbols other than name matching
3798 "\\`[A-Z]+[0-9]+\\'" regexp .
2311d8e5 3799 (ses-localvars): Add ses--renamed-cell-symb-list.
4bdf2ad2 3800 (ses-create-cell-variable): New defun.
2311d8e5 3801 (ses-destroy-cell-variable-range): Respect ses--numrows, ses--numcols.
4bdf2ad2
VB
3802 (ses-relocate-formula): Relocate formulas only for cells the
3803 symbols of which are not renamed, i.e. symbols whose names do not
3804 match regexp "\\`[A-Z]+[0-9]+\\'".
3805 (ses-relocate-all): Relocate values only for cells the symbols of
3806 which are not renamed.
3807 (ses-load): Create cells variables as the (ses-cell ...) are read,
3808 in order to check row col consistency with cell symbol name only
3809 for cells that are not renamed.
3810 (ses-replace-name-in-formula): New defun.
3811 (ses-rename-cell): New defun.
4bdf2ad2 3812
fc72b15c
PO
38132012-04-17 Peter Oliver <bzr@mavit.org.uk> (tiny change)
3814
3815 * progmodes/perl-mode.el (perl-indent-parens-as-block):
3816 New option (bug#11118).
3817 (perl-calculate-indent): Respect it.
3818
12e10e61
GM
38192012-04-17 Glenn Morris <rgm@gnu.org>
3820
3821 * dired-aux.el (dired-mark-read-string): Doc fix.
3822
30009afd
DA
38232012-04-17 Dmitry Antipov <dmantipov@yandex.ru>
3824
3825 * dired-aux.el (dired-mark-read-string): Offer optional completion.
3826 (dired-do-chxxx): Complete chown, chgrp over users, groups. (Bug#7900)
3827
41f03f4d
GM
38282012-04-17 Glenn Morris <rgm@gnu.org>
3829
3830 * mouse.el (mouse-drag-track):
3831 * speedbar.el (speedbar-frame-mode):
3832 Use auto-hscroll-mode rather than the alias automatic-hscrolling.
3833
f45f90f3
LL
38342012-04-16 Leo Liu <sdl.web@gmail.com>
3835
3836 * progmodes/python.el: Trivial cleanup.
3837
94ee8db5
GM
38382012-04-16 Glenn Morris <rgm@gnu.org>
3839
121b8917
GM
3840 * vc/vc.el (vc-string-prefix-p):
3841 * vc/pcvs-util.el (cvs-string-prefix-p):
3842 * textmodes/tex-mode.el (latex-string-prefix-p, tex-string-prefix-p):
3843 * mpc.el (mpc-string-prefix-p):
3844 Make all of these into obsolete aliases for string-prefix-p.
3845 Update callers.
3846 * vc/pcvs.el, vc/vc-dispatcher.el, vc/vc-dir.el: Update callers.
3847
1197ecfa
GM
3848 * textmodes/two-column.el: Move custom options to the start.
3849 (frame-width): Remove compat definition.
3850 (2C-associate-buffer, 2C-dissociate):
3851 Use with-current-buffer rather than save-excursion.
3852 (2C-dissociate): Force a mode-line update.
3853 (2C-autoscroll): Use ignore-errors.
3854
099e7202
GM
3855 * emacs-lisp/eieio-opt.el (describe-class, describe-generic):
3856 Autoload trivia.
3857
bf350d6a
GM
3858 * emacs-lisp/cl-extra.el (*random-state*):
3859 Remove unnecessary declaration.
3860
0e829eab
GM
3861 * calendar/cal-tex.el (cal-tex-end-document): Trivial clarification.
3862
e3ad7552
GM
3863 * play/cookie1.el (cookie-snarf):
3864 Give an explicit error if input file cannot be read.
3865
68892d27
GM
3866 * play/yow.el (yow-file): Use expand-file-name rather than concat.
3867
20f0c46d
GM
3868 * progmodes/perl-mode.el (c-macro-expand):
3869 Remove unnecessary autoload (it is in loaddefs.el).
3870
5a0978ce
GM
3871 * textmodes/picture.el (picture-desired-column)
3872 (picture-update-desired-column): Convert comments to doc-strings.
3873 (picture-substitute): Remove function.
3874 (picture-mode-map): Initialize in the defvar.
3875
6b955486
GM
3876 * woman.el: Remove eval-after-load for tar-mode.
3877 * tar-mode.el (tar-mode-map): Add woman binding and menu entry.
3878 (woman-tar-extract-file): Autoload it.
3879
94ee8db5
GM
3880 * frame.el (automatic-hscrolling): Make this alias obsolete.
3881
177eca34
AM
38822012-04-12 Agustín Martín Domingo <agustin.martin@hispalinux.es>
3883
090bd7cb 3884 * textmodes/ispell.el (ispell-set-spellchecker-params): Post-process
4be3075e 3885 `ispell-dictionary-alist' to use [:alpha:] and utf-8 if possible.
3851314b
AM
3886 (ispell-dictionary-base-alist): Revert to original XEmacs
3887 friendly version for default. [:alpha:] will be added in
090bd7cb 3888 `ispell-set-spellchecker-params' if needed.
177eca34 3889
c505aaeb
CY
38902012-04-16 Chong Yidong <cyd@gnu.org>
3891
3892 * image.el (imagemagick--extension-regexp): New variable.
3893 (imagemagick-register-types): Use it.
3894 (imagemagick-types-inhibit): Add :set function. Allow new value
3895 of t to inhibit all types.
3896
3897 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Avoid cl macros,
3898 so we can preload it.
3899
3900 * loadup.el (fboundp): Preload regexp-opt, needed by
3901 imagemagick-register-types.
3902
60efac0f
CY
39032012-04-15 Chong Yidong <cyd@gnu.org>
3904
3905 * frame.el (scrolling): Remove nearly unused customization group.
3906
3907 * scroll-all.el (scroll-all-mode): Move to windows group.
3908
5dd1713e
CY
39092012-04-15 Chong Yidong <cyd@gnu.org>
3910
3911 * bindings.el (goto-map): Bind goto-char to M-g c (Bug#11240).
3912
e6fd457e
CY
39132012-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
3914
3915 Avoid the use of ((lambda ...) ...) in lexical-binding code.
4d6769e1 3916 * emacs-lisp/easy-mmode.el (define-minor-mode): Use funcall (bug#11241).
e6fd457e 3917
e153c136
GM
39182012-04-15 Glenn Morris <rgm@gnu.org>
3919
3920 * simple.el (process-file-side-effects): Doc fix.
3921
e6fd457e 39222012-04-15 Glenn Morris <rgm@gnu.org>
ca7d96c8
GM
3923
3924 * international/mule-cmds.el (set-language-environment): Doc fix.
3925
3603c3b1
JB
39262012-04-14 Juanma Barranquero <lekktu@gmail.com>
3927
3928 * server.el (server-auth-key, server-generate-key): Doc fixes.
3929 (server-get-auth-key): Doc fix. Use `string-match-p'.
3930 (server-start): Reflow docstring.
3931
e6de100c
LI
39322012-04-14 Lars Ingebrigtsen <larsi@gnus.org>
3933
3934 * server.el (server-generate-key): `called-interactively-p'
3935 requires a parameter.
3936
29734c21
MN
39372012-04-14 Michal Nazarewicz <mina86@mina86.com>
3938
3939 * server.el (server-auth-key): New variable.
75f1671a 3940 (server-generate-key, server-get-auth-key): New function.
29734c21
MN
3941 (server-start): Use the new variable and functions to allow
3942 setting a permanent server key (bug#9423).
3943
d65c9521
LL
39442012-04-14 Leo Liu <sdl.web@gmail.com>
3945
3946 * vc/diff-mode.el (diff-file-prev/next): Fix typo.
3947
5ae255c7
PE
39482012-04-14 Paul Eggert <eggert@cs.ucla.edu>
3949
3950 Spelling fixes.
3951 * hexl.el (hexl-rulerize): Rename from hexl-rulerise, since
3952 Emacs uses American spelling.
3953
d5e6342e
JB
39542012-04-14 Juanma Barranquero <lekktu@gmail.com>
3955
3956 * emacs-lock.el (emacs-lock-locked-buffer-functions): New hook.
3957 (emacs-lock--exit-locked-buffer): Return the locked buffer. Doc fix.
3958 (emacs-lock--kill-emacs-hook, emacs-lock--kill-emacs-query-functions)
3959 (emacs-lock--kill-buffer-query-functions): Run new hook. (Bug#11017)
3960
ab036cd7
SM
39612012-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
3962
3963 * progmodes/which-func.el (which-func-modes): Change default.
3964
35dc09a1 39652012-04-14 Kim F. Storm <storm@cua.dk>
9557e2be
CY
3966
3967 * emulation/cua-base.el (cua-exchange-point-and-mark): Just call
3968 exchange-point-and-mark if cua-enable-cua-keys is nil (Bug#11191).
3969
35dc09a1 39702012-04-14 Chong Yidong <cyd@gnu.org>
81927dd2
CY
3971
3972 * custom.el (custom-theme-set-variables): Doc fix.
3973
35dc09a1 39742012-04-14 Glenn Morris <rgm@gnu.org>
8edb942b
GM
3975
3976 * international/mule.el (set-auto-coding-for-load): Doc fix.
3977
35dc09a1 39782012-04-14 Alan Mackenzie <acm@muc.de>
0de3da9f 3979
35dc09a1
GM
3980 * progmodes/cc-menus.el (cc-imenu-objc-generic-expression): Make
3981 imenu work again for Objective C Mode. Correct the *-index values,
3982 these having been disturbed by a previous change in 2011-08.
57f845ee 3983
0de3da9f
AM
3984 * progmodes/cc-engine.el (c-before-change-check-<>-operators):
3985 Correct two search limits.
3986
35dc09a1 39872012-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
ede141ac
SM
3988
3989 * startup.el (command-line-1): Inhibit splash from daemon (bug#10996).
3990
35dc09a1 39912012-04-14 Andreas Schwab <schwab@linux-m68k.org>
d0203d61
AS
3992
3993 * international/characters.el: Fix sorting.
3994
35dc09a1 39952012-04-14 Eli Zaretskii <eliz@gnu.org>
cb80bcd1
EZ
3996
3997 * international/characters.el: Add more missing Latin case pairs.
3998
35dc09a1 39992012-04-14 Glenn Morris <rgm@gnu.org>
4a427f58
GM
4000
4001 * files.el (dir-locals-set-class-variables): Doc fix.
4002
35dc09a1 40032012-04-14 Eli Zaretskii <eliz@gnu.org>
9f847f41 4004
3f1b5bf8
EZ
4005 * international/characters.el: Add set-case-syntax-pair call for
4006 LATIN CAPITAL LETTER Y WITH DIAERESIS RET and its lower-case
4007 counterpart. (Bug#11209)
4008
9f847f41
EZ
4009 * simple.el (shell-command-on-region): Doc fix. (Bug#11208)
4010
35dc09a1 40112012-04-14 Glenn Morris <rgm@gnu.org>
0c2014a3
GM
4012
4013 * calendar/holidays.el (calendar-check-holidays): Doc fix.
4014
35dc09a1 40152012-04-14 Eli Zaretskii <eliz@gnu.org>
e2627d21 4016
35dc09a1
GM
4017 * textmodes/ispell.el (ispell-dictionary-base-alist):
4018 Add data for Hebrew.
e2627d21 4019
35dc09a1 40202012-04-14 Chong Yidong <cyd@gnu.org>
5c14e333 4021
35dc09a1
GM
4022 * net/rcirc.el (rcirc-cmd-quit):
4023 Revert 2012-03-18 change (Bug#11192).
5c14e333 4024
35dc09a1 40252012-04-14 Glenn Morris <rgm@gnu.org>
bf6fa423
GM
4026
4027 * pcmpl-rpm.el (pcomplete/rpm): Handle -qf.
4028
35dc09a1 40292012-04-14 Eli Zaretskii <eliz@gnu.org>
82b24fb2 4030
4517fe3a
SM
4031 * minibuffer.el (completion-in-region-mode-map):
4032 Bind completion-help-at-point to M-? rather than ?. (Bug#11182)
82b24fb2 4033
b472a594
VD
40342012-04-13 Vivek Dasmohapatra <vivek@etla.org>
4035
4036 * hexl.el (hexl-insert-char): Make display sizes other than 16 work.
4037
09b95ce3
MY
40382012-04-13 Masatake YAMATO <yamato@redhat.com>
4039
4040 * minibuffer.el (minibuffer-local-filename-syntax): New variable
4041 to allow `C-M-f' and `C-M-b' to move to the nearest path
4042 separator (bug#9511).
4043
4b63a9ca
LI
40442012-04-13 Lars Ingebrigtsen <larsi@gnus.org>
4045
4046 * avoid.el: Require cl when compiling. And also move the
4047 `provide' to the end.
4048
7b55b8bf
TV
40492012-04-13 Thierry Volpiatto <thierry.volpiatto@gmail.com>
4050
4051 * avoid.el (mouse-avoidance-banish-position): New variable.
4052 (mouse-avoidance-banish-destination): Use it (bug#10165).
4053
adedaa1f
LL
40542012-04-13 Leo Liu <sdl.web@gmail.com>
4055
4056 * progmodes/which-func.el (which-func-modes): Add objc-mode.
4057
70e74021
KB
40582012-04-13 Ken Brown <kbrown@cornell.edu>
4059
4060 * net/browse-url.el (browse-url-file-url): Remove Cygwin hack;
ab036cd7 4061 this is no longer needed now that cygstart understands file:// URLs.
70e74021
KB
4062 (browse-url-filename-alist): For the same reason, don't modify
4063 file:// URLs on Cygwin.
4064
e75e89ba
SM
40652012-04-13 Stefan Monnier <monnier@iro.umontreal.ca>
4066
4067 * emulation/cua-base.el (cua--pre-command-handler-1): Don't activate
4068 the region on shift if the binding is already shifted (bug#11221).
4069
82f289a4
GM
40702012-04-12 Glenn Morris <rgm@gnu.org>
4071
4072 * mail/mailpost.el: Move to obsolete/.
4073
d333dc4c
DA
40742012-04-12 Drew Adams <drew.adams@oracle.com>
4075
4076 * imenu.el (imenu--generic-function): Ignore invisible definitions
4077 (bug#10123).
4078
0d15b5ba
VD
40792012-04-12 Vivek Dasmohapatra <vivek@etla.org>
4080
4081 * hexl.el (hexl-bits): New variable.
4082 (hexl-options): Mention the variable in the doc string.
75f1671a 4083 (hexl-rulerise, hexl-line-displen): New functions.
0d15b5ba 4084 (hexl-mode): Mention the new variable.
75f1671a
JB
4085 (hexl-mode, hexl-current-address, hexl-current-address):
4086 Use the displen.
0d15b5ba
VD
4087 (hexl-ascii-start-column): New function.
4088 (hexl-address-to-marker, hexl-beginning-of-line, hexl-options)
4089 (hexl-insert-char, hexl-mode-ruler): Use the displen (bug#4941).
4090
64a440db
AM
40912012-04-12 Agustín Martín Domingo <agustin.martin@hispalinux.es>
4092
4093 * textmodes/flyspell.el (flyspell-large-region): For hunspell, use
4094 '("-i" ENCODING), in 2 separate command-line arguments, to specify
4095 the encoding, as expected by hunspell.
4096
6decb6c2
SM
40972012-04-12 Stefan Monnier <monnier@iro.umontreal.ca>
4098
4099 * battery.el (battery--linux-sysfs-regexp): New const.
4100 (battery-status-function): Use it. Remove yeeloong special case.
4101 (battery-yeeloong-sysfs): Remove.
4102 (battery-echo-area-format): Remove yeeloong special case.
4103
088be6fb
SM
41042012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
4105
6622e416
SM
4106 * imenu.el (imenu-add-to-menubar): `current-local-map' can be nil.
4107 Reported by Noah Friedman.
4108
088be6fb
SM
4109 * subr.el (read-passwd): Use read-string.
4110
b49f886e
LMI
41112012-04-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
4112
4113 * vcursor.el (vcursor-move): Increase the priority of the overlay
4114 (bug#9663).
4115
a63067fc
DD
41162012-04-11 Deniz Dogan <deniz.a.m.dogan@gmail.com>
4117
4118 * net/rcirc.el (rcirc-kill-channel-buffers): New variable.
4119 (rcirc-kill-buffer-hook): Use it to kill channel buffers (bug#5128).
4120
ac3cf14a
WS
41212012-04-11 William Stevenson <yhvh2000@gmail.com>
4122
4123 * textmodes/artist.el (artist-mode): Convert artist-mode to use
4124 define-minor-mode (bug#10760).
4125
c4fc691b 41262012-04-11 Wolfgang Jenkner <wjenkner@inode.at> (tiny change)
49a2697c 4127
4d6769e1 4128 * progmodes/grep.el (rgrep): Tweak the find command line so
49a2697c
WJ
4129 that directories matching `grep-find-ignored-files' won't be
4130 pruned (bug#10351).
4131
af23e2e5
CY
41322012-04-11 Chong Yidong <cyd@gnu.org>
4133
4134 * startup.el (command-line): Remove support for long-obsolete
4135 variable font-lock-face-attributes.
4136
ab7ce8c1
GM
41372012-04-11 Glenn Morris <rgm@gnu.org>
4138
4139 * vc/vc-bzr.el (vc-bzr-status): Avoid condition-case-unless-debug.
4140
de8c03dc
SM
41412012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
4142
4143 * window.el (window--state-get-1): Obey window-point-insertion-type.
4144
050cc68b
LB
41452012-04-11 Lennart Borgman <lennart.borgman@gmail.com>
4146
4147 * emacs-lisp/lisp.el (narrow-to-defun): `beginning-of-defun' goes
4148 to previous function when point is on the first character of a
75f1671a 4149 function. Take care of that in `narrow-to-defun' (bug#6157).
050cc68b 4150
a38c310c
GM
41512012-04-11 Glenn Morris <rgm@gnu.org>
4152
effed0c2
GM
4153 * vc/vc-bzr.el (vc-bzr-status): Handle all errors,
4154 not just file-errors.
4155
a38c310c
GM
4156 * vc/vc-bzr.el (vc-bzr-sha1-program, sha1-program): Remove.
4157 (vc-bzr-sha1): Use internal sha1.
4158
0221e323
SM
41592012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
4160
4161 * progmodes/flymake.el (flymake-mode): Beware read-only dirs (bug#8954).
4162
43956923
SG
41632012-04-10 Sébastien Gross <seb@chezwam.org> (tiny change)
4164
4165 * progmodes/hideshow.el (hs-hide-all): Don't infloop on comments
4166 that start in the middle of the line (bug#10496).
4167
6a8c9eaf
DN
41682012-04-10 Dan Nicolaescu <dann@gnu.org>
4169
4170 * battery.el (battery-linux-proc-acpi): Only one battery is
4171 discharged at a time, but that seems to confuse battery.el when
4172 computing `rate-type' for the battery not being discharged
4173 (bug#10332).
4174
1930bf5d
SM
41752012-04-10 Stefan Monnier <monnier@iro.umontreal.ca>
4176
2a718f6f
SM
4177 * emacs-lisp/autoload.el (autoload-make-program): Remove, unused.
4178
599430d0
SM
4179 * international/quail.el: Use dolist and simplify.
4180 (quail-define-package, quail-update-keyboard-layout)
4181 (quail-define-rules): Use dolist.
4182 (quail-insert-kbd-layout, quail-get-translation): CSE.
4183
a2754b6c
SM
4184 * tmm.el: Use dolist, remove left over hook.
4185 (tmm-prompt, tmm-define-keys, tmm-shortcut, tmm-get-keybind):
4186 Use dolist.
4187 (calendar-load-hook): Don't mess with it.
4188
1930bf5d
SM
4189 * vc/vc-annotate.el (vc-annotate-show-diff-revision-at-line-internal):
4190 Use derived-mode-p. Run the diff asynchronously.
4191
9f67961c
LMI
41922012-04-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
4193
4194 * obsolete/mouse-sel.el: Add an Obsolete-since header.
4195
2a8ce227
JB
41962012-04-10 Juanma Barranquero <lekktu@gmail.com>
4197
4198 * misc.el: Display absolute path of loaded DLLs (bug#10424).
4199 (list-dynamic-libraries--loaded): New function.
4200 (list-dynamic-libraries--refresh): Use it.
4201
8f33b5f8
NW
42022012-04-10 Nathan Weizenbaum <nweiz@google.com>
4203
1930bf5d
SM
4204 * progmodes/python.el (python-fill-paragraph):
4205 Make python-fill-region in a multiline string work when font-lock is
8f33b5f8
NW
4206 disabled (bug#7018).
4207
b12f0439
L
42082012-04-10 Laimonas VÄ—bra <laimonas.vebra@gmail.com> (tiny change)
4209
1930bf5d 4210 * language/european.el (cp775): Add oem/legacy (en)coding on
75f1671a
JB
4211 DOS/MS Windows for the Baltic languages. There are still plenty
4212 of texts written in this encoding/codepage (bug#6519).
b12f0439 4213
57c3bd01
GM
42142012-04-10 Glenn Morris <rgm@gnu.org>
4215
4216 * cus-start.el (eol-mnemonic-unix, eol-mnemonic-dos, eol-mnemonic-mac):
4217 Add :standard values, reducing "rogue" customs in emacs -Q a bit more.
4218
6c3eab30
FA
42192012-04-10 Florian Adamsky <florian@adamsky.it> (tiny change)
4220
1930bf5d 4221 * recentf.el (recentf-dialog-mode-map): Add two keybindings for
6c3eab30
FA
4222 next-line "n" and previous-line "p" in order to make recentf more
4223 consistent with ibuffer, dired or org-mode (bug#9387).
4224
24d78a88
LMI
42252012-04-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
4226
bc72b5d9
LMI
4227 * image.el (put-image): Return the overlay created instead of the
4228 optional input string (bug#7834). Note that this may break code
4229 that is (for some reason or other) depending on `put-image'
4230 returning the string.
4231
bd2dba5a
LMI
4232 * mouse-sel.el (mouse-sel-mode): Mark as obsolete (bug#6174).
4233
74beb59f
LMI
4234 * simple.el (zap-to-char): Allow zapping using input methods
4235 (bug#1580).
4236
24d78a88
LMI
4237 * textmodes/fill.el (fill-region): Leave point and mark where they
4238 were before filling (bug#5399).
4239
263f20cd
GM
42402012-04-09 Glenn Morris <rgm@gnu.org>
4241
4242 * version.el (emacs-bzr-get-version):
4243 Handle lightweight checkouts of local branches.
4244
58d1f797
AS
42452012-04-09 Andreas Schwab <schwab@linux-m68k.org>
4246
263f20cd 4247 * international/characters.el: Recover lost case pairs. (Bug#11209)
58d1f797 4248
b4d3bc10
CY
42492012-04-09 Chong Yidong <cyd@gnu.org>
4250
4251 * custom.el (custom-variable-p): Return nil for non-symbol
4252 arguments instead of signaling an error.
4253 (user-variable-p): Obsolete alias for custom-variable-p.
4254
4255 * apropos.el (apropos-variable):
4256 * files-x.el (read-file-local-variable):
4257 * simple.el (set-variable):
4258 * woman.el (woman-mini-help):
4259 * emacs-lisp/byte-opt.el (side-effect-free-fns): Callers changed.
4260
fd06db5d
GM
42612012-04-09 Glenn Morris <rgm@gnu.org>
4262
e5fcdb5e
GM
4263 * startup.el (normal-top-level): Don't look for leim-list.el
4264 in places where it will not be found. (Bug#910)
4265
fd06db5d
GM
4266 * international/mule-cmds.el (set-default-coding-systems):
4267 * files.el (normal-mode):
4268 Remove guarded calls to ucs-set-table-for-input. (Bug#9821)
4269 This function was removed with ucs-tables.el in 2008.
4270
b39bb7e1
EZ
42712012-04-08 Eli Zaretskii <eliz@gnu.org>
4272
4273 * textmodes/ispell.el (ispell-check-version): For hunspell, set
4274 ispell-encoding8-command to "-i", without a trailing space.
4275 (ispell-start-process): For hunspell, use '("-i" ENCODING), in 2
4276 separate command-line arguments, to specify the encoding, since
4277 that's how hunspell expects it.
4278
5c5b8e23
GM
42792012-04-08 Glenn Morris <rgm@gnu.org>
4280
4281 * loadup.el: Load bindings before cus-start.
4282 This reduces somewhat the number of "rogue" settings in emacs -Q.
4283
a1ed8b05
GM
42842012-04-07 Glenn Morris <rgm@gnu.org>
4285
4286 * version.el (emacs-bzr-get-version): New function.
dfae128a 4287 (emacs-bzr-version): New variable.
a1ed8b05
GM
4288 * loadup.el (emacs-bzr-version): Set it. (Bug#8054)
4289 * mail/emacsbug.el (report-emacs-bug): Include bzr version.
4290
b142f158
EZ
42912012-04-07 Eli Zaretskii <eliz@gnu.org>
4292
dfae128a
GM
4293 * international/uni-bidi.el, international/uni-category.el:
4294 * international/uni-combining.el, international/uni-decimal.el:
4295 * international/uni-decomposition.el, international/uni-digit.el:
4296 * international/uni-lowercase.el, international/uni-mirrored.el:
4297 * international/uni-name.el, international/uni-numeric.el:
4298 * international/uni-titlecase.el, international/uni-uppercase.el:
4299 Update for Unicode 6.1.
b142f158 4300
9078ead6
EZ
43012012-04-07 Eli Zaretskii <eliz@gnu.org>
4302
4303 * term/w32-win.el (dynamic-library-alist): Add libxml2 DLLs.
4304
f23d2c7d
LMI
43052012-04-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
4306
4307 * window.el (shrink-window): Mention the `window-min-height'
4308 variable in the doc string.
4309
0a0a3573
BG
43102012-04-05 Bastien Guerry <bzg@altern.org>
4311
4312 * color.el (color-lighten-name): Fix typo.
4313
e5248ac9
SM
43142012-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
4315
4316 * server.el (server--on-display-p): New function.
4317 (server--on-display-p): Use it.
4318
b4243e22
GV
43192012-04-04 Gabor Vida <vidagabor@gmail.com> (tiny change)
4320
4321 * ido.el (ido-wide-find-dirs-or-files): Use file-name-absolute-p
4322 (bug#11145).
4323
305d9f44
SM
43242012-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
4325
4326 * comint.el (comint--common-quoted-suffix): Check string boundary
4327 before comparing (bug#11158).
4328 * pcomplete.el (pcomplete--common-quoted-suffix): Idem.
4329
3d439cd1
CY
43302012-04-04 Chong Yidong <cyd@gnu.org>
4331
321cc491
CY
4332 * minibuffer.el (completion-extra-properties): Doc fix.
4333
3d439cd1
CY
4334 * subr.el (delayed-warnings-hook): Doc fix.
4335
2d562c0f
DU
43362012-04-04 Daiki Ueno <ueno@unixuser.org>
4337
4338 * epa.el (epa--select-keys): Bind C-c C-c to finish the key
4339 selection (Bug#11159).
4340 (epa-insert-keys): Inform that the default public key will be
4341 exported if no key is selected.
4342
4443f204
RS
43432012-04-04 Richard Stallman <rms@gnu.org>
4344
4345 * mail/emacsbug.el (report-emacs-bug): Bind inhibit-read-only.
4346
529c06b6
CY
43472012-04-03 Chong Yidong <cyd@gnu.org>
4348
4349 * mail/sendmail.el (mail-mode-map): Bind C-c C-i to
4350 mail-insert-file, not its obsolete alias mail-attach-file.
4351
66b907dc
MA
43522012-04-03 Michael Albinus <michael.albinus@gmx.de>
4353
4354 * notifications.el (notifications-notify): Fix docstring.
4355
c0ea195d
GM
43562012-04-02 Glenn Morris <rgm@gnu.org>
4357
4358 * emacs-lisp/authors.el (authors-aliases): Another addition.
4359
5ca64e00
MA
43602012-04-02 Michael Albinus <michael.albinus@gmx.de>
4361
4362 * net/tramp-gvfs.el (tramp-gvfs-send-command): Apply
4363 `tramp-compat-call-process' instead of `tramp-local-call-process'.
4364 Reported by Magnus Henoch <magnus.henoch@gmail.com>.
4365
42ee526b
CY
43662012-04-01 Chong Yidong <cyd@gnu.org>
4367
4368 * files.el (file-in-directory-p): Rename from file-subdir-of-p.
4369 Handle root directory properly.
4370 (copy-directory): Caller changed.
4371
4372 * dired-aux.el (dired-copy-file-recursive, dired-create-files):
4373 * net/tramp.el (tramp-file-name-for-operation): Callers changed.
4374
0b021094
GM
43752012-03-31 Glenn Morris <rgm@gnu.org>
4376
40f86458
GM
4377 * term/xterm.el (xterm-extra-capabilities): Doc fix.
4378
7019c177
GM
4379 * language/indian.el ("Devanagari"): Fix typo. (Bug#11103)
4380
a1daddd6
GM
4381 * calendar/calendar.el (calendar-window-list)
4382 (calendar-hide-window): Restore. (Bug#11140)
4383 (calendar-exit): Use calendar-window-list, calendar-hide-window again.
4384
0b021094
GM
4385 * emacs-lisp/edebug.el (edebug-unwrap-results): Doc fix.
4386
40311efc
TV
43872012-03-30 Thierry Volpiatto <thierry.volpiatto@gmail.com>
4388
4389 * dired-aux.el (dired-copy-file-recursive, dired-create-files):
4390 Check if file is a symlink (Bug#10489).
4391
4392 * files.el (copy-directory): Likewise.
4393
5319014e
CY
43942012-03-30 Chong Yidong <cyd@gnu.org>
4395
4396 * image.el (imagemagick-types-inhibit)
4397 (imagemagick-register-types): Doc fix.
4398
935d1290
AM
43992012-03-30 Agustín Martín Domingo <agustin.martin@hispalinux.es>
4400
090bd7cb 4401 * textmodes/ispell.el (ispell-get-extended-character-mode):
ef24141c 4402 Disable extended-char-mode for hunspell. hunspell does not support it
75f1671a 4403 and treats ~word as ordinary words in pipe mode.
935d1290 4404
61c6e8fd
GM
44052012-03-30 Glenn Morris <rgm@gnu.org>
4406
4407 * tutorial.el (help-with-tutorial): Ensure local variables don't
4408 happen to make the buffer read-only. (Bug#11127)
4409
81fdff00
SM
44102012-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
4411
4412 * progmodes/perl-mode.el (perl-indent-line): Use `noindent' in strings.
4413 (perl-calculate-indent): Return `noindent' in strings.
4414
6e7a6ec0
SS
44152012-03-28 Sam Steingold <sds@gnu.org>
4416
4417 * calendar/calendar.el (calendar-exit): Use `quit-windows-on'
4418 instead of the broken adhockery which does not prevent calendar
4419 buffers from being displayed at random after exit.
4420 (calendar-window-list, calendar-hide-window): Remove the broken
4421 adhockery.
4422
fee88ca0
GM
44232012-03-28 Glenn Morris <rgm@gnu.org>
4424
4425 * replace.el (query-replace-map): Doc fix.
4426
38de3354
AS
44272012-03-28 Andreas Schwab <schwab@linux-m68k.org>
4428
4429 * vc/vc-git.el (vc-git-state): Don't try to match all of the diff
4430 contents. (Bug#11109)
4431
b973155e
SM
44322012-03-27 Stefan Monnier <monnier@iro.umontreal.ca>
4433
4434 * emacs-lisp/avl-tree.el (avl-tree--enter-balance): Fix paren typo
4435 (bug#11077).
4436 (avl-tree--check, avl-tree--check-node): New funs.
4437
dcb6e7b3
MR
44382012-03-27 Martin Rudalics <rudalics@gmx.at>
4439
4440 * window.el (switch-to-visible-buffer): New option.
b973155e
SM
4441 (switch-to-prev-buffer, switch-to-next-buffer):
4442 Observe switch-to-visible-buffer. Make sure that checking for a window
dcb6e7b3
MR
4443 showing a buffer already is done on the same frame.
4444
b4fa35fa
GM
44452012-03-27 Glenn Morris <rgm@gnu.org>
4446
4447 * startup.el (mail-host-address): Doc fix.
4448
f9210e18
SM
44492012-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
4450
4451 * emacs-lisp/bytecomp.el (byte-compile-constants-vector): Allow more
4452 than 197 variables.
4453
c0bf7753
AF
44542012-03-26 Ami Fischman <ami@fischman.org>
4455
4456 * vc/vc-git.el (vc-git-state): Avoid unnecessarily locking.
4457
33da7b16
GM
44582012-03-26 Glenn Morris <rgm@gnu.org>
4459
02243d9d
GM
4460 * files.el (save-buffers-kill-emacs): Doc fix.
4461
33da7b16
GM
4462 * startup.el (normal-top-level, command-line, command-line-1):
4463 Give them doc strings.
4464
e5a69fd0
EZ
44652012-03-25 Eli Zaretskii <eliz@gnu.org>
4466
4467 * makefile.w32-in (install): Use $(DIRNAME)_same-dir.tst instead
b973155e 4468 of same-dir.tst, to avoid stepping on other (parallel) Make job's toes.
e5a69fd0 4469
9a69676a
CY
44702012-03-25 Chong Yidong <cyd@gnu.org>
4471
4125cb8b
CY
4472 * custom.el (load-theme): Even if NO-ENABLE arg is t, reenable the
4473 theme if it was previously enabled before (Bug#11031).
4474
dd470960
CY
4475 * cus-theme.el (custom-theme-write-faces): Retrieve current face
4476 spec with custom-face-get-current-spec if its :shown-value is not
4477 determined yet (Bug#9337).
4125cb8b 4478 (customize-create-theme, custom-theme-revert): Doc fixes.
dd470960 4479
9a69676a
CY
4480 * button.el (button-at): Minor addition to docstring.
4481
6e7e90fa
SL
44822012-03-24 Simon Leinen <simon.leinen@gmail.com>
4483
4484 * vc/vc.el (vc-merge): Fix a prompt.
4485
f06e2758
CY
44862012-03-24 Chong Yidong <cyd@gnu.org>
4487
4488 * mwheel.el (mwheel-scroll): Call deactivate-mark at the right
4489 point (Bug#9623).
4490
6e7e90fa
SL
4491 * button.el (button-at): Minor addition to docstring.
4492
b9d0879b
SM
44932012-03-23 Stefan Monnier <monnier@iro.umontreal.ca>
4494
4495 * newcomment.el (comment-choose-indent): No space after BOL.
4496
e71cebb3
SS
44972012-03-22 Sam Steingold <sds@gnu.org>
4498
4499 * window.el (switch-to-prev-buffer): Revert last patch because the
4500 bug turned out to be an advertised feature (Elisp manual 28.14).
4501
335aff35
GM
45022012-03-22 Glenn Morris <rgm@gnu.org>
4503
4504 * vc/vc-bzr.el (vc-bzr-status-switches): New option. (Bug#6724)
4505 (vc-bzr-command): If running "status", pass vc-bzr-status-switches.
4506
c676576a
LMI
45072012-03-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
4508
4509 * net/network-stream.el (network-stream-open-starttls): Make error
4510 message under Windows be less misleading.
4511
126f3d39
LW
45122012-03-22 Liang Wang <netcasper@gmail.com> (tiny change)
4513
4514 * progmodes/etags.el (etags-list-tags): Only use tags which goto-func
4515 understands (bug#9942).
4516
64fee311
CY
45172012-03-22 Chong Yidong <cyd@gnu.org>
4518
4519 * simple.el (end-of-visible-line): Handle return value of
4520 next-single-property-change properly (Bug#9371).
4521
a640d29a
KH
45222012-03-22 Kenichi Handa <handa@m17n.org>
4523
4524 * international/quail.el (quail-insert-kbd-layout): Fix previous
4525 change. To avoid unwanted bidi reordering, use
4526 bidi-string-mark-left-to-right instead of inserting LRO and PDF.
4527
39675016
DG
45282012-03-21 Dmitry Gutov <dgutov@yandex.ru>
4529
4530 * progmodes/ruby-mode.el: Don't confuse "end:" for "end" (bug#10786).
4531 (ruby-block-end-re, ruby-delimiter, ruby-parse-partial)
4532 (ruby-beginning-of-indent): Be more careful with the difference
4533 between word-boundary and symbol boundary.
4534 (ruby-mode-syntax-table): Make : a symbol constituent.
4535
0a6934fc 45362012-03-21 Andreas Politz <politza@fh-trier.de>
1acad97c 4537
3d008e4f
SM
4538 * outline.el (outline-flag-region): Evaporate overlays (bug#10789).
4539
0a6934fc
SM
45402012-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
4541
af67c9d7
SM
4542 * progmodes/etags.el (tags-completion-at-point-function):
4543 Improve last fix.
4544
1acad97c
SM
4545 * files.el (move-file-to-trash): Files aren't regexps (bug#11055).
4546
e298b5da
SS
45472012-03-21 Sam Steingold <sds@gnu.org>
4548
4549 * progmodes/etags.el (tags-completion-at-point-function):
4550 Avoid the error when point is inside the pattern.
4551
91d82a70
JY
45522012-03-21 John Yates <john@yates-sheets.org> (tiny change)
4553
4554 * progmodes/hideshow.el (hs-inside-comment-p): Fix hiding of first
4555 line (Bug#10855).
4556
69188b79
CY
45572012-03-21 Drew Adams <drew.adams@oracle.com>
4558
4559 * info.el (Info-menu): Handle string value of FORK arg (Bug#10858).
4560
99fc91fe
AK
45612012-03-21 Anmol Khirbat <anmol@khirbat.net> (tiny change)
4562
4563 * ido.el (ido-set-current-directory, ido-read-internal)
4564 (ido-choose-completion-string, ido-completion-help): Handle nil
4565 value of ido-completion-buffer (Bug#11008).
4566
087bbb4c
SS
45672012-03-21 Sam Steingold <sds@gnu.org>
4568
4569 * window.el (switch-to-prev-buffer): Do not switch to a visible
4570 window previous buffer, just like with the frame previous buffers.
4571
fb5b8aca
CY
45722012-03-21 Chong Yidong <cyd@gnu.org>
4573
4574 * faces.el (make-face, make-empty-face, copy-face):
4575 * face-remap.el (face-remap-add-relative, face-remap-set-base):
4576 Doc fixes.
4577
dc9924b8
SM
45782012-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
4579
4580 * wid-edit.el (widget-complete-field): Remove (bug#11051).
4581 (widget-complete): Remove broken use of it.
4582
f0bcceb9
CY
45832012-03-20 Chong Yidong <cyd@gnu.org>
4584
dc9924b8
SM
4585 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
4586 Use string-width and truncate-string-width to handle arbitrary
f0bcceb9
CY
4587 characters.
4588
ee52ebf3
TH
45892012-03-20 Tassilo Horn <tassilo@member.fsf.org>
4590
4591 * textmodes/artist.el (artist-menu-map): Bind Rectangle menu item
4592 to draw rectangles, not squares. (Regression introduced by revno
4593 2011-03-02T03:48:01Z!cyd@stupidchicken.com)
4594
4c5779ab
CY
45952012-03-18 Chong Yidong <cyd@gnu.org>
4596
4597 * faces.el (face-spec-reset-face): Don't call display-graphic-p if
4598 it is not yet defined (for temacs).
4599
15360934
LL
46002012-03-18 Leo Liu <sdl.web@gmail.com>
4601
dc9924b8 4602 * net/rcirc.el (rcirc-cmd-quit): Allow quiting all servers with prefix.
15360934 4603
d9a8eb66
EZ
46042012-03-17 Eli Zaretskii <eliz@gnu.org>
4605
4606 * textmodes/ispell.el (ispell-skip-tib, ispell-keep-choices-win)
4607 (ispell-choices-win-default-height, ispell-silently-savep)
4608 (ispell-dictionary-alist, ispell-encoding8-command)
4609 (ispell-check-version, ispell-aspell-find-dictionary)
4610 (ispell-valid-dictionary-list, ispell-words-keyword)
4611 (ispell-get-word, ispell-internal-change-dictionary)
4612 (ispell-region, ispell-skip-region-list)
4613 (ispell-begin-skip-region-regexp, ispell-ignore-fcc)
4614 (ispell-process-line, ispell-minor-mode, ispell-minor-check)
4615 (ispell-message-text-end, ispell-message)
4616 (ispell-buffer-local-parsing): Doc fix.
4617
f02ff80d
J
46182012-03-13 Jambunathan K <kjambunathan@gmail.com>
4619
4620 * htmlfontify.el: Add support for code block fontification for ODT
4621 export (Bug #9914).
4622 (hfy-optimisations): Define new option
4623 `body-text-only'
4624 (hfy-fontify-buffer): Honor above setting.
4625 (hfy-begin-span, hfy-end-span): New routines factored out form
4626 `hfy-fontify-buffer'.
4627 (hfy-begin-span-handler, hfy-end-span-handler): New variables
4628 that permit insertion of custom tags.
4629 (hfy-fontify-buffer): Use above handlers.
4630 (hfy-face-to-css-default): Same as the earlier `hfy-face-to-css'.
4631 (hfy-face-to-css): Re-defined to be a variable.
dc9924b8 4632 (hfy-compile-stylesheet): Modify. Allow stylesheet to be built
75f1671a 4633 over multiple runs. This is made possible by having the caller let
f02ff80d
J
4634 bind a special variable `hfy-user-sheet-assoc'.
4635 (htmlfontify-string): New defun.
4636 (hfy-compile-face-map): Make sure that the last char in the
4637 buffer is correctly fontified.
4638 (hfy-face-resolve-face): Whitespace only change.
4639
9ac7a13f
EZ
46402012-03-17 Eli Zaretskii <eliz@gnu.org>
4641
4642 * textmodes/ispell.el (ispell-get-decoded-string): Make the error
4643 message more clear.
4644
e2b5bdd7
LL
46452012-03-16 Leo Liu <sdl.web@gmail.com>
4646
4647 * emacs-lisp/copyright.el (copyright-year-ranges): Fix typo.
4648
2e492df3
AM
46492012-03-16 Alan Mackenzie <acm@muc.de>
4650
4651 Further optimise the handling of large macros.
4652
4653 * progmodes/cc-engine.el (c-crosses-statement-barrier-p): Use a
4654 limit to a call of `c-literal-limits'.
4655 (c-determine-+ve-limit): New function.
dc9924b8
SM
4656 (c-at-macro-vsemi-p): Move `c-in-literal' to the bottom of an `and'.
4657 (c-guess-basic-syntax): In macros, restrict a search limit to 2000.
2e492df3
AM
4658 In CASE 5B, restrict a search limit to 500.
4659 (c-just-after-func-arglist-p): Obviouly wrong `or' -> `and'.
4660
4661 * progmodes/cc-mode.el (c-neutralize-syntax-in-and-mark-CPP):
4662 Restrict macro bounds to +-500 from after-change's BEG END.
4663
50e94f0c
LL
46642012-03-16 Leo Liu <sdl.web@gmail.com>
4665
4666 * font-lock.el (lisp-font-lock-keywords-2): Add letrec.
4667
6f09f6ed
AH
46682012-03-16 Aaron S. Hawley <Aaron.S.Hawley@gmail.com>
4669
4670 * tar-mode.el (tar-mode): Fix saving by conditionally undoing
dc9924b8 4671 `special-mode' setting of `buffer-read-only'. (Bug#11010)
6f09f6ed 4672
c7e73d51
GM
46732012-03-16 Glenn Morris <rgm@gnu.org>
4674
da986230
GM
4675 * view.el (view-buffer, view-buffer-other-window)
4676 (view-buffer-other-frame): Doc fixes re special mode-class.
4677
0835f01e
GM
4678 * subr.el (eval-after-load): If named feature is provided not from
4679 a file, run after-load forms. (Bug#10946)
4680
c7e73d51
GM
4681 * calendar/calendar.el (calendar-insert-at-column):
4682 Handle non-unit-width characters a bit better. (Bug#10978)
4683
3f2eafd1
CY
46842012-03-15 Chong Yidong <cyd@gnu.org>
4685
4686 * emacs-lisp/ring.el (ring-extend): New function.
4687 (ring-insert+extend): Extend the ring correctly (Bug#11019).
4688
4689 * comint.el (comint-read-input-ring)
4690 (comint-add-to-input-history): Grow comint-input-ring lazily.
4691
103af3fe
SM
46922012-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
4693
663b1677
SM
4694 * progmodes/perl-mode.el (perl-syntax-propertize-special-constructs):
4695 Fix up parsing of multiline twoarg non-paired elements (bug#11014).
4696
103af3fe
SM
4697 * imenu.el: Fix multiple inheritance breakage (bug#9199).
4698 (imenu-add-to-menubar): Don't add a redundant index.
4699 (imenu-update-menubar): Handle a dynamically composed keymap.
4700
899cb7cb
KY
47012012-03-13 Katsumi Yamaoka <yamaoka@jpl.org>
4702
4703 * mail/sendmail.el (mail-encode-header):
4704 Bind rfc2047-encode-encoded-words to nil.
4705
3809f91d
GM
47062012-03-13 Glenn Morris <rgm@gnu.org>
4707
4708 * calendar/calendar.el (calendar-string-spread):
4709 Handle non-unit-width characters a bit better. (Bug#10978)
4710
9e345a01
LL
47112012-03-13 Leo Liu <sdl.web@gmail.com>
4712
4713 * vc/vc-hg.el (vc-hg-working-revision): Rework to work with both
4714 directory and file as argument (Bug#10822).
4715
4a07df36
KS
47162012-03-13 Kaushik Srenevasan <ksrenevasan@gmail.com> (tiny change)
4717
4718 * progmodes/gdb-mi.el (gdb-invalidate-disassembly):
4719 For dynamically generated code, follow $PC.
4720 (gdb-disassembly-handler-custom): Handle no function name case.
4721
4aaa9356
TL
47222012-03-13 Tim Landscheidt <tim@tim-landscheidt.de> (tiny change)
4723
4724 * calendar/icalendar.el (icalendar-export-file, icalendar-import-file):
4725 * emulation/ws-mode.el (ws-query-replace):
4726 * sort.el (sort-regexp-fields):
4727 Fix missing trailing whitespace in interactive prompts. (Bug#11002)
4728
225979da
SM
47292012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
4730
4731 * dabbrev.el: Fix cycle completion order (bug#10963).
4732 (dabbrev--last-obarray, dabbrev--last-completion-buffer): Remove.
4733 (dabbrev-completion): Don't use an obarray; provide
4734 a cycle-sort-function.
4735
e2f1fdab
LL
47362012-03-12 Leo Liu <sdl.web@gmail.com>
4737
dc9924b8 4738 * simple.el (kill-new): Use equal-including-properties for comparison.
e2f1fdab
LL
4739 (kill-do-not-save-duplicates): Doc fix.
4740
b19490ed
SM
47412012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
4742
4743 * dabbrev.el: Fix cycle completion (bug#10963).
4744 Use lexical binding and wrap to 80 columns.
4745 (dabbrev-completion): Delay computing the list of completions.
4746
4b05d722
KH
47472012-03-12 Kenichi Handa <handa@m17n.org>
4748
4749 * international/quail.el (quail-insert-kbd-layout): Surround each
4750 row by LRO and PDF instead of inserting many LRMs. Pad the left
4751 and right of each non-spacing marks. Insert invisible space
4752 between lower and upper characters to prevent composition.
4753
dbbc2e69
SM
47542012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
4755
4756 * minibuffer.el (minibuffer-complete): Don't get confused when the
4757 function is run twice via different commands (bug#10958).
4758 (complete-with-action): Fix docstring.
4759
292112ed
CY
47602012-03-12 Chong Yidong <cyd@gnu.org>
4761
5d1ac394
CY
4762 * nxml/nxml-mode.el (nxml-mode-map): Do not bind C-RET (Bug#6776).
4763 (nxml-completion-at-point-function): New function.
4764 (nxml-mode): Use it.
4765 (nxml-bind-meta-tab-to-complete-flag): Default to t.
4766
292112ed
CY
4767 * emacs-lisp/package.el (package-unpack, package-unpack-single):
4768 Load generated autoloads file before byte compiling (Bug#10970).
4769 (package--make-autoloads-and-compile): New helper fun.
4770
4098f8f7
CS
47712012-03-12 Christopher Schmidt <christopher@ch.ristopher.com>
4772
4773 * ibuffer.el (ibuffer-redisplay): Remove another gratuitous error.
4774
8f754691
MA
47752012-03-11 Michael Albinus <michael.albinus@gmx.de>
4776
4777 * autorevert.el (auto-revert-handler): Ensure, that
4778 file-readable-p is applied only for local files or in
4779 auto-revert-tail-mode.
4780
e29ab36b
AS
47812012-03-11 Andreas Schwab <schwab@linux-m68k.org>
4782
dbbc2e69
SM
4783 * server.el (server-eval-at): Handle non-tcp connections.
4784 Decode result string.
ad0bf5b6 4785
e29ab36b
AS
4786 * server.el (server-msg-size): New constant.
4787 (server-reply-print): New function.
4788 (server-eval-and-print): Use it.
4789 (server-eval-at): Use server-quote-arg and server-unquote-arg.
4790 Handle -print-nonl.
4791
de5939ba
CS
47922012-03-11 Christopher Schmidt <christopher@ch.ristopher.com>
4793
4794 * ibuffer.el (ibuffer-redisplay): Remove gratuitous error
4795 (Bug#10987).
4796
0c93eabf
CY
47972012-03-11 Chong Yidong <cyd@gnu.org>
4798
397a688f
CY
4799 * simple.el (goto-line): Doc fix (Bug#9938).
4800
2cc775f9
CY
4801 * subr.el (save-window-excursion): Doc fix (Bug#9979).
4802
0c93eabf
CY
4803 * dabbrev.el (dabbrev--find-expansion): Update progress reporter
4804 when finished (Bug#10963).
4805
c491fa41
MR
48062012-03-11 Martin Rudalics <rudalics@gmx.at>
4807
4808 * window.el (split-window-below): Fix bug in case where
4809 split-window-keep-point is nil (Bug#10971).
4810
300e8fa5
JL
48112012-03-11 Juri Linkov <juri@jurta.org>
4812
4813 * replace.el (replace-highlight): Set isearch-word to nil
4814 unconditionally. (Bug#10887)
4815
dbf6c5a1
EZ
48162012-03-10 Eli Zaretskii <eliz@gnu.org>
4817
4818 * net/mairix.el (mairix-replace-invalid-chars): Rename from
4819 mairix-replace-illegal-chars; all callers changed. Don't remove
dc9924b8 4820 ^, ~, and = characters: they are meaningful in mairix search specs.
dbf6c5a1
EZ
4821 (mairix-widget-create-query): Add usage information about mairix
4822 search forms: negating words, searching for substrings, etc.
4823
b9e501de
JP
48242012-03-10 Jae-hyeon Park <jae-hyeon.park@desy.de> (tiny change)
4825
4826 * international/fontset.el (font-encoding-alist): Add an entry for
4827 ksx1001 (Bug#5667).
4828
92795c91
RS
48292012-03-10 Richard Stallman <rms@gnu.org>
4830
1694e6c1
RS
4831 * mail/sendmail.el (mail-encode-header):
4832 Set rfc2047-encode-encoded-words.
4833
607e8555
RS
4834 * mail/mail-utils.el (mail-quote-printable): Quote multibyte chars.
4835
de3bc99a
RS
4836 * mail/rmail.el (rmail-buffers-swapped-p): Don't assume dead
4837 view buffer means not swapped.
4838 (rmail-view-buffer-kill-buffer-hook): Give buf name in error msg.
4839 (rmail-write-region-annotate): Error if real text has disappeared.
4840
92795c91
RS
4841 * epa-mail.el (epa-mail-encrypt): Bind inhibit-read-only.
4842
699bd04e
CY
48432012-03-10 Chong Yidong <cyd@gnu.org>
4844
4845 * emulation/cua-rect.el (cua--init-rectangles):
dbbc2e69
SM
4846 * emulation/cua-base.el (cua--init-keymaps):
4847 Add delete-forward-char to remappings (Bug#9666).
699bd04e 4848
570a1714
MR
48492012-03-10 Martin Rudalics <rudalics@gmx.at>
4850
dbbc2e69
SM
4851 * speedbar.el (speedbar-unhighlight-one-tag-line):
4852 Avoid unhighlighting due to frame switching (Bug#10275).
570a1714 4853
82dcf4e4
CY
48542012-03-10 Chong Yidong <cyd@gnu.org>
4855
7a2c7ca7
CY
4856 * minibuffer.el (completion-in-region, completion-help-at-point):
4857 Give the completion field overlay a high priority (Bug#6830).
4858
82dcf4e4
CY
4859 * dired.el (dired-goto-file): Recognize absolute file name
4860 listings (Bug#7126).
4861 (dired-goto-file-1): New helper function.
4862 (dired-toggle-read-only): Inhibit warnings.
4863
052e28ac
MA
48642012-03-09 Michael Albinus <michael.albinus@gmx.de>
4865
75f1671a 4866 * net/dbus.el (dbus-property-handler): Return empty array if
052e28ac
MA
4867 there are no properties.
4868
95d5e396
LL
48692012-03-09 Leo Liu <sdl.web@gmail.com>
4870
4871 * savehist.el (savehist-printable): Stricter check for string
4872 value (Bug#10937).
4873
3f018d6d
EZ
48742012-03-09 Eli Zaretskii <eliz@gnu.org>
4875
dbbc2e69
SM
4876 * mail/smtpmail.el (smtpmail-send-it):
4877 Bind coding-system-for-write to *-unix, so that FCC files are kept in
3f018d6d
EZ
4878 valid mbox format.
4879
f7fd3d79
GM
48802012-03-09 Glenn Morris <rgm@gnu.org>
4881
4882 * files.el (dir-locals-find-file):
4883 Don't check result is regular, readable.
4884 (dir-locals-read-from-file): Demote errors.
4885
6ff6e72f
EZ
48862012-03-08 Eli Zaretskii <eliz@gnu.org>
4887
dbbc2e69
SM
4888 * international/quail.el (quail-insert-kbd-layout):
4889 Insert invisible LRM characters before each character in a keyboard
6ff6e72f
EZ
4890 layout cell, to prevent their reordering by bidi display engine.
4891 For details, see the discussion in
4892 http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00085.html.
4893
9cec7834
AM
48942012-03-08 Alan Mackenzie <acm@muc.de>
4895
4896 * progmodes/cc-cmds.el (c-mark-function): Make it leave a mark at
4897 the starting position; make it extend the marked region when
4898 invoked repeatedly - all under appropriate circumstances.
4899 Fixes bugs #5525, #10906.
4900
9a40b8d4
GM
49012012-03-08 Glenn Morris <rgm@gnu.org>
4902
4903 * files.el (locate-dominating-file, dir-locals-find-file):
4904 Undo 2012-03-06 change.
4905
7a08ed35
EZ
49062012-03-07 Eli Zaretskii <eliz@gnu.org>
4907
dbbc2e69
SM
4908 * international/quail.el (quail-help):
4909 Force bidi-paragraph-direction be left-to-right. See discussion in
7a08ed35
EZ
4910 http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00062.html
4911 for the reason.
4912
5aca4f71 49132012-03-07 Michael Albinus <michael.albinus@gmx.de>
6612a284
MA
4914
4915 Avoid superfluous registering of signals. (Bug#10807)
4916
4917 * notifications.el (notifications-on-action-object)
4918 (notifications-on-close-object): New defvars.
4919 (notifications-on-action-signal, notifications-on-closed-signal):
4920 Unregister the signal if not needed any longer.
4921 (notifications-notify): Register `notifications-action-signal' or
4922 `notifications-closed-signal', if :on-action or :on-close has been
4923 passed as argument.
4924
78e8b10a
CY
49252012-03-07 Chong Yidong <cyd@gnu.org>
4926
4927 * cus-start.el: Avoid x-select-enable-clipboard-manager warning on
4928 non-X platforms.
4929
69481eb8
GM
49302012-03-06 Glenn Morris <rgm@gnu.org>
4931
4932 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
4933 (x-disown-selection-internal, x-get-selection-internal):
4934 Doc fix (add arglist signatures). (Bug#10783)
4935
133b8e11
KS
49362012-03-06 Kaushik Srenevasan <ksrenevasan@gmail.com> (tiny change)
4937
4938 * progmodes/gdb-mi.el (gdb-breakpoints-list-handler-custom):
4939 Handle breakpoints with no "type".
4940
99a83064
GM
49412012-03-06 Glenn Morris <rgm@gnu.org>
4942
4943 * files.el (locate-dominating-file): Add optional predicate argument.
4944 (dir-locals-find-file): Make use of above change.
4945
17798e78
TTN
49462012-03-06 Thien-Thi Nguyen <ttn@gnuvola.org>
4947
4948 * info.el (Info-insert-dir): Also try "dir.gz".
4949
eb182446
GM
49502012-03-06 Glenn Morris <rgm@gnu.org>
4951
8f2114ee
GM
4952 * files.el (dir-locals-find-file):
4953 Ignore non-readable or non-regular files. (Bug#10928)
4954
eb182446
GM
4955 * files.el (locate-dominating-file): Doc fix.
4956
24679323
AS
49572012-03-06 Adam Spiers <emacs@adamspiers.org> (tiny change)
4958
4959 * calendar/calendar.el (calendar-set-mode-line):
4960 `getenv' returns a string. (Bug#10951)
4961
01d972a9
LL
49622012-03-05 Leo Liu <sdl.web@gmail.com>
4963
109aa8a9
LL
4964 * simple.el (backward-delete-char-untabify): Constrain point to
4965 field (Bug#10939).
4966
01d972a9
LL
4967 * eshell/em-cmpl.el (eshell-cmpl-initialize): Fix shift-tab key.
4968
10607bea
CY
49692012-03-05 Chong Yidong <cyd@gnu.org>
4970
4971 * simple.el (count-words): If called from Lisp, return the word
4972 count, for symmetry with `count-lines'. Arglist changed.
4973 (count-words--message): Args changed. Consolidate counting code
4974 from count-words and count-words-region.
4975 (count-words-region): Caller changed.
4976 (count-lines-region): Make it an obsolete alias.
4977
5dd11cfe
TH
49782012-03-04 Tassilo Horn <tassilo@member.fsf.org>
4979
4980 * saveplace.el (save-place-to-alist)
4981 (save-place-ignore-files-regexp): Allow value nil to disable this
4982 feature.
4983
c349f4e6
CY
49842012-03-04 Chong Yidong <cyd@gnu.org>
4985
4986 * faces.el (face-spec-reset-face): For the default face, reset the
4987 attributes to default values (Bug#10748).
4988
e627be4c
LMI
49892012-03-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
4990
4991 * mail/emacsbug.el (report-emacs-bug-hook): Fix up thinko in
4992 previous patch: Check `message-send-mail-function', and not the
4993 default function (bug#10897).
4994
ebeabff4
MA
49952012-03-04 Michael Albinus <michael.albinus@gmx.de>
4996
a41a6cf4
MA
4997 * notifications.el (notifications-on-action-signal)
4998 (notifications-on-closed-signal): Check for unique service name of
4999 incoming event. Fix error in removing entry.
ebeabff4 5000 (top): Register for signals with wildcard service name.
a41a6cf4 5001 (notifications-notify): Use daemon unique service name for map entries.
ebeabff4 5002
c1ca42b4
CY
50032012-03-04 Chong Yidong <cyd@gnu.org>
5004
dc9924b8 5005 * cus-start.el: Make x-select-enable-clipboard-manager customizable.
c1ca42b4 5006
ea16568d
GM
50072012-03-04 Glenn Morris <rgm@gnu.org>
5008
5009 * abbrev.el (copy-abbrev-table, abbrev-table-p)
5010 (abbrev-minor-mode-table-alist, define-abbrev, abbrev-insert)
5011 (expand-abbrev, define-abbrev-table): Doc fixes.
5012
fbae4637
LMI
50132012-03-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
5014
5015 * mail/emacsbug.el (report-emacs-bug-hook): Look at the value of
5016 `message-default-send-mail-function' and not `send-mail-function'
5017 when doing the prompting for `sendmail-query-once' before sending
5018 in Message buffers (bug#10897).
5019
a1e7225c
LMI
5020 * net/tls.el (open-tls-stream): Don't set the dont-query-on-exit flag.
5021 This is inconsistent with all the other stream functions, which leave
5022 the setting up to the higher levels (if so wanted) (bug#10931).
5023
56d093a9
AM
50242012-03-02 Alan Mackenzie <acm@muc.de>
5025
5026 Depessimize the handling of very large macros.
5027
5028 * progmodes/cc-engine.el (c-macro-cache, c-macro-cache-start-pos):
5029 (c-macro-cache-syntactic): New variables to implement a one
5030 element macro cache.
5031 (c-invalidate-macro-cache): New function.
5032 (c-beginning-of-macro, c-end-of-macro, c-syntactic-end-of-macro):
5033 Adapt to use the new cache.
5034 (c-state-safe-place): Use better the cache of safe positions.
5035 (c-state-semi-nonlit-pos-cache)
5036 (c-state-semi-nonlit-pos-cache-limit):
5037 New variables for...
5038 (c-state-semi-safe-place): New function. Here, in a macro is "safe".
5039 (c-invalidate-state-cache-1): New stuff for c-state-semi-safe-place.
dbbc2e69
SM
5040 (c-in-literal, c-literal-limits, c-determine-limit-get-base):
5041 Use c-state-semi-safe-place.
56d093a9 5042
dbbc2e69
SM
5043 * progmodes/cc-langs.el (c-get-state-before-change-functions):
5044 Add c-invalidate-macro-cache to the C, C++, Obj entries.
56d093a9 5045
817e5c3d
MA
50462012-03-02 Michael Albinus <michael.albinus@gmx.de>
5047
dbbc2e69
SM
5048 * jka-compr.el (jka-compr-call-process):
5049 Apply `file-accessible-directory-p' only when the default directory is
817e5c3d
MA
5050 not remote.
5051
a032a702
MA
50522012-03-01 Michael Albinus <michael.albinus@gmx.de>
5053
5054 * files.el (file-equal-p): Fix docstring. Avoid unnecessary
5055 access of FILE2, if FILE1 does not exist.
5056
99a54f21
MA
5057 * net/tramp-sh.el (tramp-remote-process-environment): Add "PAGER=\"\"".
5058 Reported by Robert Lupton the Good <rhl@astro.princeton.edu>.
5059
5060 * vc/vc-git.el (vc-git--call): Enable `inhibit-null-byte-detection'.
5061 Add "PAGER=" to `process-environment'.
5062
f6561e1f
MM
50632012-03-01 Michael R. Mauger <mmaug@yahoo.com>
5064
5065 * progmodes/sql.el: Bug fix
5066 (sql-get-login-ext): Save login values in globals.
5067 (sql-get-login): Use new version of `sql-get-login-ext'.
5068 (sql-interactive-mode): Set global `sql-connection' to nil.
5069 (sql-connect): Set global values for connection.
5070 (sql-product-interactive): Save global values as buffer local.
5071
2d44d9cc
LL
50722012-02-29 Leo Liu <sdl.web@gmail.com>
5073
5074 * abbrev.el (define-abbrevs): Reset sys to nil.
5075
96b49301 50762012-02-28 Thierry Volpiatto <thierry.volpiatto@gmail.com>
5077
bf7f9bc5
JB
5078 * files.el (file-equal-p): Rename from `files-equal-p'.
5079 Return nil when one or both files don't exist.
96b49301 5080 (file-subdir-of-p): Now only top directory must exists,
5081 return nil if it doesn't.
bf7f9bc5
JB
5082 (copy-directory): No need to test with `file-subdir-of-p' after
5083 creating dir.
5084 * net/tramp.el (tramp-file-name-for-operation): Rename `files-equal-p'
5085 to `file-equal-p'.
96b49301 5086
44e97401
GM
50872012-02-28 Glenn Morris <rgm@gnu.org>
5088
5089 * shell.el (shell-mode):
5090 * progmodes/vhdl-mode.el (wildcard-to-regexp, file-expand-wildcards):
5091 * play/landmark.el (landmark-font-lock-face-O):
5092 * play/handwrite.el (handwrite):
5093 * play/gomoku.el (gomoku-O):
5094 * net/browse-url.el (browse-url-browser-display):
5095 * international/mule.el (define-charset):
5096 * htmlfontify.el (hfy-etags-cmd, hfy-face-attr-for-class):
5097 * filesets.el (filesets-find-file-delay):
5098 * eshell/em-xtra.el (eshell-xtra):
5099 * eshell/em-unix.el (eshell-grep):
5100 * emulation/viper.el (viper-mode):
5101 * emacs-lisp/regexp-opt.el (regexp-opt-group):
5102 * emacs-lisp/easymenu.el (easy-menu-define):
5103 * calendar/timeclock.el (timeclock-use-display-time):
5104 * bs.el (bs-mode):
5105 * bookmark.el (bookmark-save-flag):
5106 Doc fix (standardize possessive apostrophe usage).
5107
c98c6276
CY
51082012-02-27 Chong Yidong <cyd@gnu.org>
5109
bf7f9bc5
JB
5110 * emulation/viper-cmd.el (viper-intercept-ESC-key):
5111 Fix key-binding lookup for ESC key (Bug#9146).
ecf5f74e 5112
c98c6276
CY
5113 * font-lock.el (font-lock-specified-p): Rename from
5114 font-lock-spec-present. Callers changed.
5115
9c62cd04 51162012-02-27 Daniel Hackney <dan@haxney.org>
8ac9e529 5117
bf7f9bc5
JB
5118 * emacs-lisp/package.el (package-compute-transaction):
5119 Handle holding a package version to t in package-load-list.
8ac9e529 5120
530739c9
MA
51212012-02-26 Michael Albinus <michael.albinus@gmx.de>
5122
5123 * net/tramp.el (tramp-inodes, tramp-devices): Initialize with 0.
5124 (tramp-get-inode, tramp-get-device): Use cached values.
5125
487915d7
AM
51262012-02-26 Alan Mackenzie <acm@muc.de>
5127
5128 Check there is a font-lock specification before doing initial
5129 fontification.
5130
5131 * font-core.el (font-lock-mode): Move the conditional from
5132 :after-hook to font-lock-initial-fontify.
5133 (font-lock-default-function): Move the check for a specification
5134 to font-lock-spec-present.
5135
dc9924b8 5136 * font-lock.el (font-lock-initial-fontify): Call ...
487915d7
AM
5137 (font-lock-spec-present): New function.
5138
4fd96557
JB
51392012-02-26 Jim Blandy <jimb@red-bean.com>
5140
5141 * progmodes/gdb-mi.el (gdb-mi-quote): New function.
5142 (gdb-send): Apply it to the operand of the '-interpreter-exec
5143 console' command, so that we can pass arguments with (say) quotes
5144 in them. Store exact string sent in gdb-debug-log (Bug#10765).
5145
9a4888c0
CY
51462012-02-26 Chong Yidong <cyd@gnu.org>
5147
07498861
CY
5148 * help-fns.el (describe-function-1): Clarify description of
5149 remapping (Bug#10844).
5150
9a4888c0
CY
5151 * files.el (files-equal-p): Doc fix.
5152 (file-subdir-of-p): Doc fix. Convert loop macro to plain Lisp,
5153 and quit the loop once a mismatch is found.
5154
ea8fb88d
JB
51552012-02-25 Juanma Barranquero <lekktu@gmail.com>
5156
5157 * bs.el (bs--show-with-configuration): Don't throw an error
5158 if the window cannot be split; otherwise, subsequent calls to
5159 bs-show fail, restoring a stale window config. (Bug#10882)
5160
525795c1
JD
51612012-02-25 Jan Djärv <jan.h.d@swipnet.se>
5162
5163 * term/ns-win.el (global-map): Bind ns-drag-file to
5164 ns-find-file (Bug#5855, Bug#10050).
5165
f008086f
AS
51662012-02-25 Andreas Schwab <schwab@linux-m68k.org>
5167
5168 * calendar/parse-time.el (parse-time-string): Allow extractor to
5169 return nil.
5170
a3fcfa99
MA
51712012-02-25 Michael Albinus <michael.albinus@gmx.de>
5172
91027d08
JB
5173 * net/tramp.el (tramp-file-name-for-operation):
5174 Add `files-equal-p' and `file-subdir-of-p'.
a3fcfa99
MA
5175
5176 * net/tramp-sh.el (tramp-sh-handle-copy-directory):
91027d08
JB
5177 * net/tramp-smb.el (tramp-smb-handle-copy-directory):
5178 Add COPY-CONTENTS argument.
a3fcfa99 5179
67b0de11
CY
51802012-02-25 Chong Yidong <cyd@gnu.org>
5181
5182 Add custom groups for VC backends, for consistency with vc-bzr.
5183
5184 * vc/vc-arch.el (vc-arch):
5185 * vc/vc-cvs.el (vc-cvs):
5186 * vc/vc-git.el (vc-git):
5187 * vc/vc-hg.el (vc-hg):
5188 * vc/vc-mtn.el (vc-mtn):
5189 * vc/vc-rcs.el (vc-rcs):
5190 * vc/vc-sccs.el (vc-sccs):
5191 * vc/vc-svn.el (vc-svn): New customization group (Bug#10871).
5192 All relevant defcustoms reassigned.
5193
3c9dfce6
CY
51942012-02-25 Chong Yidong <cyd@gnu.org>
5195
1339bf43
CY
5196 * newcomment.el (comment-styles): Add autoload (Bug#10868).
5197
3c9dfce6
CY
5198 * term/x-win.el (x-initialize-window-system): Reduce default for
5199 x-selection-timeout to 5 seconds (Bug#8869).
5200
25b2e303 52012012-02-24 Thierry Volpiatto <thierry.volpiatto@gmail.com>
5202
ec70a47d
GM
5203 * files.el (files-equal-p, file-subdir-of-p): New functions.
5204 (copy-directory): Error when trying to copy a directory on itself.
25b2e303 5205 Add missing copy-contents arg to tramp handler.
ec70a47d
GM
5206 * dired-aux.el (dired-copy-file-recursive): Same.
5207 (dired-create-files): Modify destination when source is equal to
5208 dest when copying files.
53a46cd0 5209 Return also when dest is a subdir of source. (Bug#10489)
25b2e303 5210
914260cd
MA
52112012-02-24 Michael Albinus <michael.albinus@gmx.de>
5212
5213 * net/ange-ftp.el (ange-ftp-parse-netrc): Suppress comment lines.
5214 (Bug#10874)
5215
2cb228f7
AM
52162012-02-23 Alan Mackenzie <acm@muc.de>
5217
5218 * emacs-lisp/easy-mmode.el (define-minor-mode): Add extra
5219 parameter "after-hook:" to allow the expansion to run code after
5220 the execution of the mode hooks.
5221
5222 * font-lock.el (font-lock-initial-fontify): New function extracted
91027d08 5223 from font-lock-mode-internal.
2cb228f7 5224
91027d08 5225 * font-core.el (font-lock-mode): Call font-lock-initial-fontify in
2cb228f7
AM
5226 :after-hook.
5227
8f0fde21
SM
52282012-02-23 Stefan Monnier <monnier@iro.umontreal.ca>
5229
3e88618b
SM
5230 * minibuffer.el: Make sure cycling is reset upon edit with icomplete.el.
5231 (completion--cache-all-sorted-completions): New function.
5232 (completion-all-sorted-completions): Use it.
5233 (completion--do-completion, minibuffer-force-complete):
5234 Use it to re-instate the flush hook.
5235
8f0fde21
SM
5236 * icomplete.el (icomplete-completions): Replace last fix with a better
5237 one (bug#10850).
5238
8e911f6f
DG
52392012-02-23 Dmitry Gutov <dgutov@yandex.ru>
5240
5241 * emacs-lisp/lisp.el (beginning-of-defun-raw): Don't call end-of-defun
5242 when it might call us back infinitely (bug#10797).
5243
49fe4321
GM
52442012-02-23 Glenn Morris <rgm@gnu.org>
5245
5246 * minibuffer.el (completion-category-overrides): Doc fix.
5247
b291b572
SM
52482012-02-23 Stefan Monnier <monnier@iro.umontreal.ca>
5249
5250 * minibuffer.el (completion-table-with-context): Fix inf-loop.
5251 Reported by Aaron S. Hawley <aaron.s.hawley@gmail.com>.
5252
31a9ef2e
GM
52532012-02-23 Glenn Morris <rgm@gnu.org>
5254
5e6e6794 5255 * emacs-lisp/authors.el (authors-aliases, authors-fixed-case)
31a9ef2e
GM
5256 (authors-obsolete-files-regexps, authors-ignored-files)
5257 (authors-ambiguous-files, authors-renamed-files-alist):
5258 Add more entries.
5259
0bd1e074
JL
52602012-02-23 Juri Linkov <juri@jurta.org>
5261
5262 * isearch.el (isearch-occur): Sync interactive spec with occur's
5263 new feature in `occur-read-primary-args'. Doc fix. (Bug#10705)
5264
b617673c
JL
5265 * replace.el (occur-menu-map): Add menu item for `occur-edit-mode'.
5266
19e9789e
JL
52672012-02-22 Juri Linkov <juri@jurta.org>
5268
5269 * international/mule-cmds.el (read-char-by-name): Use \` and \'.
5270 (ucs-insert): Doc fix. Check for hex digits in the string.
5271 Don't display `nil' in the error message. (Bug#10857)
5272
f41ce09d
AM
52732012-02-22 Alan Mackenzie <acm@muc.de>
5274
7a71b18d 5275 * progmodes/cc-mode.el: Revert change #2012-02-06T22:08:41Z!larsi@gnus.org from 2012-02-06.
f41ce09d 5276
ac2eceee
GM
52772012-02-22 Glenn Morris <rgm@gnu.org>
5278
5279 * ffap.el (ffap-c-path):
5280 * man.el (Man-header-file-path): Handle multiarch. (Bug#10702)
5281
abd1f678
CY
52822012-02-22 Chong Yidong <cyd@gnu.org>
5283
5284 * custom.el (load-theme): Doc fix.
5285
f25aef2e
GM
52862012-02-22 Glenn Morris <rgm@gnu.org>
5287
5288 * dired-x.el (dired-guess-shell-alist-default):
5289 Remove escape sequences from nroff output. (Bug#172)
5290
5f8dc2ca
GM
52912012-02-21 Glenn Morris <rgm@gnu.org>
5292
6ff86ec4
GM
5293 * vc/emerge.el (emerge-defvar-local):
5294 Set `permanent-local' property rather than unused `preserved'.
5295
be3223a3 5296 * textmodes/picture.el (picture-delete-char): New alias.
5f8dc2ca
GM
5297 (picture-mode-map): Use it. (Bug#10860)
5298 (picture-mode): Doc fix.
5299
3fe58f4f
JB
53002012-02-21 Juanma Barranquero <lekktu@gmail.com>
5301
5302 * newcomment.el (uncomment-region-default): Remove unused binding.
5303
f9a998c3
GM
53042012-02-21 Glenn Morris <rgm@gnu.org>
5305
5306 * textmodes/picture.el (picture-motion, picture-motion-reverse)
5307 (picture-self-insert, picture-tab-chars): Doc fix.
5308 (picture-mode-map): Fix C-a, C-e.
5309
c6029348
GM
53102012-02-20 Glenn Morris <rgm@gnu.org>
5311
5312 * emacs-lisp/authors.el (authors-aliases): Add another entry.
5313
ab1ce9d7
LL
53142012-02-20 Leo Liu <sdl.web@gmail.com>
5315
5316 * icomplete.el (icomplete-completions): Check FROM arg before
5317 passing to substring (Bug#10850).
5318
0fd40f89
CY
53192012-02-19 Chong Yidong <cyd@gnu.org>
5320
5321 * comint.el: Require ansi-color.
5322 (comint-output-filter-functions): Add ansi-color-process-output.
5323
5324 * ansi-color.el: Don't set comint-output-filter-functions; it is
5325 now in the initial value defined in comint.el.
5326 (ansi-color-apply-face-function): New variable.
5327 (ansi-color-apply-on-region): Use it.
5328 (ansi-color-apply-overlay-face): New function.
5329
5330 * shell.el (shell): No need to require ansi-color.
5331 (shell-mode): Use ansi-color-apply-face-function to highlight
5332 color escapes using font-lock-face property (Bug#10835).
5333
20af2394
CY
53342012-02-19 Chong Yidong <cyd@gnu.org>
5335
5336 * vc/ediff-init.el (ediff-strip-mode-line-format): Handle non-list
5337 mode-line formats (Bug#10839).
5338
e23a3fbe
GM
53392012-02-18 Glenn Morris <rgm@gnu.org>
5340
b474519e
GM
5341 * mail/rmail.el (rmail-dont-reply-to-names): Mark as obsolete.
5342
5343 * mail/undigest.el (unforward-rmail-message): Doc fix.
5344
e23a3fbe
GM
5345 * saveplace.el (save-place-ignore-files-regexp): Add :version.
5346
57939ff4
EZ
53472012-02-18 Eli Zaretskii <eliz@gnu.org>
5348
5349 * international/characters.el (script-list): Sync with the latest
5350 Unicode Character Database.
5351
0c23686e
AS
53522012-02-18 Andreas Schwab <schwab@linux-m68k.org>
5353
5354 * international/titdic-cnv.el: Remove duplicate coding tag.
5355 * language/cham.el: Likewise.
5356 * language/tai-viet.el: Likewise.
5357
6818b449
GM
53582012-02-18 Glenn Morris <rgm@gnu.org>
5359
5360 * calendar/cal-menu.el (cal-menu-diary-menu, cal-menu-goto-menu):
5361 * calendar/calendar.el (diary-file, diary-bahai-entry-symbol)
5362 (calendar-bahai-all-holidays-flag, calendar-other-dates):
5363 * calendar/diary-lib.el (diary-abbreviated-year-flag):
5364 * calendar/holidays.el (holiday-bahai-holidays)
5365 (calendar-holidays, list-holidays):
5366 Use utf-8 Bahá'í in doc-strings, menus, etc.
5367
0311a3fc
TH
53682012-02-17 Tassilo Horn <tassilo@member.fsf.org>
5369
5370 * saveplace.el (save-place-ignore-files-regexp): New variable
5371 allowing for excluding files from saving their location of point.
5372 The default value matches the temporary commit message editing
5373 files from Git, SVN, Bazaar, and Mercurial.
5374 (save-place-to-alist): Use it.
5375
d209e2fb 53762012-02-17 Lawrence Mitchell <wence@gmx.li>
eb864a71
LM
5377 Stefan Monnier <monnier@iro.umontreal.ca>
5378
5379 * newcomment.el (uncomment-region-default): Don't leave extra space
5380 when an arg is provided (bug#8150).
5381
ee0ce425
TZ
53822012-02-17 Teodor Zlatanov <tzz@lifelogs.com>
5383
eb864a71 5384 * net/gnutls.el (gnutls-trustfiles): Fix Cygwin bundle location.
ee0ce425 5385
95ddf442
GM
53862012-02-17 Glenn Morris <rgm@gnu.org>
5387
5388 * net/socks.el: Require network-stream. (Bug#10599)
5389
48dd1e39 53902012-02-17 Kenichi Handa <handa@m17n.org>
c406be43
KH
5391
5392 * international/charprop.el:
5393 * international/uni-name.el:
5394 * international/uni-old-name.el:
5395 * international/uni-comment.el: Regenerate.
5396
d68cd087
GM
53972012-02-16 Glenn Morris <rgm@gnu.org>
5398
5399 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits):
5400 Interactively in calendar buffer, give an error if not on a date.
5401
13932042
GM
54022012-02-15 Glenn Morris <rgm@gnu.org>
5403
5404 * shell.el (shell-delimiter-argument-list):
5405 Revert 2011-02-17 change. (Bug#8027)
5406
c3a70e2b
CY
54072012-02-15 Chong Yidong <cyd@gnu.org>
5408
60236b0d
CY
5409 * minibuffer.el (completion-at-point-functions): Doc fix.
5410
c3a70e2b
CY
5411 * custom.el (defcustom): Doc fix; note use of defvar.
5412
9f26dc24
GM
54132012-02-15 Glenn Morris <rgm@gnu.org>
5414
5415 * mail/smtpmail.el (smtpmail-smtp-user, smtpmail-stream-type):
5416 Doc fixes.
5417
6546b134
GM
54182012-02-14 Glenn Morris <rgm@gnu.org>
5419
5420 * mail/smtpmail.el (smtpmail-query-smtp-server): Give it a doc.
5421
d29b2b4c
LI
54222012-02-14 Lars Ingebrigtsen <larsi@gnus.org>
5423
5424 * mail/smtpmail.el (smtpmail-query-smtp-server): Fix typo in the
5425 way the ports list is computed.
835bdcba
LI
5426 (smtpmail-query-smtp-server): Prompt the user for a port number if
5427 we can't connect to any of the standard ports (bug#10810).
d29b2b4c 5428
08dcdbc9
TZ
54292012-02-14 Teodor Zlatanov <tzz@lifelogs.com>
5430
5431 * net/gnutls.el (gnutls-trustfiles): Add Cygwin location.
5432
2605051a
GM
54332012-02-13 Glenn Morris <rgm@gnu.org>
5434
5435 * minibuffer.el (read-file-name): Doc fix. (Bug#10798)
5436
7ee99f32
TZ
54372012-02-13 Teodor Zlatanov <tzz@lifelogs.com>
5438
5439 * net/gnutls.el (gnutls-trustfiles): New variable.
5440 (gnutls-negotiate): Use it.
5441
5f0af64f
LI
54422012-02-13 Lars Ingebrigtsen <larsi@gnus.org>
5443
5444 * simple.el (mail-user-agent): Mention that `gnus-user-agent' only
5445 does its stuff if Gnus is running.
5446
c14fcc95
AM
54472012-02-13 Alan Mackenzie <acm@muc.de>
5448
5449 Fix a loop in c-set-fl-decl-start.
5450
7a71b18d 5451 * progmodes/cc-engine.el (c-set-fl-decl-start): Add a check that
c14fcc95
AM
5452 c-backward-syntactic-ws actually moves backwards.
5453
142b4d90
LL
54542012-02-13 Leo Liu <sdl.web@gmail.com>
5455
5456 * net/rcirc.el (rcirc-markup-attributes): Move point to the
5457 beginning so that all \C-o chars are removed.
5458
fa9958a6
TZ
54592012-02-12 Teodor Zlatanov <tzz@lifelogs.com>
5460
dc9924b8 5461 * net/gnutls.el (gnutls-algorithm-priority): Add missing :group tag.
fa9958a6 5462
0bc5886a
AM
54632012-02-12 Alan Mackenzie <acm@muc.de>
5464
5465 Fix infinite loop with long macros.
4d6769e1 5466 * progmodes/cc-engine.el (c-state-safe-place): Handle macros properly.
0bc5886a 5467
d4bd55e7
CY
54682012-02-12 Chong Yidong <cyd@gnu.org>
5469
5470 * window.el (display-buffer): Doc fix (Bug#10785).
5471
66f3fe22
GM
54722012-02-12 Glenn Morris <rgm@gnu.org>
5473
bd7da63e
GM
5474 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
5475 (x-disown-selection-internal, x-get-selection-internal):
5476 Sync docs with the xselect.c versions.
5477
66f3fe22
GM
5478 * allout-widgets.el: Add missing license notice.
5479
3e0d2fa7
GM
54802012-02-11 Glenn Morris <rgm@gnu.org>
5481
cfecdf09
GM
5482 * select.el (x-get-selection-internal, x-own-selection-internal)
5483 (x-disown-selection-internal):
5484 * x-dnd.el (x-get-selection-internal): Update declarations.
5485
6d216d7f
GM
5486 * vc/log-view.el (vc-diff-internal): Remove unneeded declaration.
5487
2bed3f04
GM
5488 * window.el (window-sides-slots):
5489 * tool-bar.el (tool-bar-position):
5490 * term/xterm.el (xterm-extra-capabilities):
5491 * ses.el (ses-self-reference-early-detection):
5492 * progmodes/verilog-mode.el (verilog-auto-declare-nettype)
5493 (verilog-auto-wire-type)
5494 (verilog-auto-delete-trailing-whitespace)
5495 (verilog-auto-reset-blocking-in-non, verilog-auto-inst-sort)
5496 (verilog-auto-tieoff-declaration):
5497 * progmodes/sql.el (sql-login-hook, sql-ansi-statement-starters)
5498 (sql-oracle-statement-starters, sql-oracle-scan-on):
5499 * progmodes/prolog.el (prolog-align-comments-flag)
5500 (prolog-indent-mline-comments-flag, prolog-object-end-to-0-flag)
5501 (prolog-left-indent-regexp, prolog-paren-indent-p)
5502 (prolog-paren-indent, prolog-parse-mode, prolog-keywords)
5503 (prolog-types, prolog-mode-specificators)
5504 (prolog-determinism-specificators, prolog-directives)
5505 (prolog-electric-newline-flag, prolog-hungry-delete-key-flag)
5506 (prolog-electric-dot-flag)
5507 (prolog-electric-dot-full-predicate-template)
5508 (prolog-electric-underscore-flag, prolog-electric-tab-flag)
5509 (prolog-electric-if-then-else-flag, prolog-electric-colon-flag)
5510 (prolog-electric-dash-flag, prolog-old-sicstus-keys-flag)
5511 (prolog-program-switches, prolog-prompt-regexp)
5512 (prolog-debug-on-string, prolog-debug-off-string)
5513 (prolog-trace-on-string, prolog-trace-off-string)
5514 (prolog-zip-on-string, prolog-zip-off-string)
5515 (prolog-use-standard-consult-compile-method-flag)
5516 (prolog-use-prolog-tokenizer-flag, prolog-imenu-flag)
5517 (prolog-imenu-max-lines, prolog-info-predicate-index)
5518 (prolog-underscore-wordchar-flag, prolog-use-sicstus-sd)
5519 (prolog-char-quote-workaround):
5520 * progmodes/cc-vars.el (c-defun-tactic):
5521 * net/tramp.el (tramp-encoding-command-interactive)
5522 (tramp-local-end-of-line):
5523 * net/soap-client.el (soap-client):
5524 * net/netrc.el (netrc-file):
5525 * net/gnutls.el (gnutls):
5526 * minibuffer.el (completion-category-overrides)
5527 (completion-cycle-threshold)
5528 (completion-pcm-complete-word-inserts-delimiters):
5529 * man.el (Man-name-local-regexp):
5530 * mail/feedmail.el (feedmail-display-full-frame):
5531 * international/characters.el (glyphless-char-display-control):
5532 * eshell/em-ls.el (eshell-ls-date-format):
5533 * emacs-lisp/cl-indent.el (lisp-lambda-list-keyword-alignment)
5534 (lisp-lambda-list-keyword-parameter-indentation)
5535 (lisp-lambda-list-keyword-parameter-alignment):
5536 * doc-view.el (doc-view-image-width, doc-view-unoconv-program):
5537 * dired-x.el (dired-omit-verbose):
5538 * cus-theme.el (custom-theme-allow-multiple-selections):
5539 * calc/calc.el (calc-highlight-selections-with-faces)
5540 (calc-lu-field-reference, calc-lu-power-reference)
5541 (calc-note-threshold):
5542 * battery.el (battery-mode-line-limit):
5543 * arc-mode.el (archive-7z-extract, archive-7z-expunge)
5544 (archive-7z-update):
5545 * allout.el (allout-prefixed-keybindings)
5546 (allout-unprefixed-keybindings)
5547 (allout-inhibit-auto-fill-on-headline)
5548 (allout-flattened-numbering-abbreviation):
5549 * allout-widgets.el (allout-widgets-auto-activation)
5550 (allout-widgets-icons-dark-subdir)
5551 (allout-widgets-icons-light-subdir, allout-widgets-icon-types)
5552 (allout-widgets-theme-dark-background)
5553 (allout-widgets-theme-light-background)
5554 (allout-widgets-item-image-properties-emacs)
5555 (allout-widgets-item-image-properties-xemacs)
5556 (allout-widgets-run-unit-tests-on-load)
5557 (allout-widgets-time-decoration-activity)
5558 (allout-widgets-hook-error-post-time)
5559 (allout-widgets-track-decoration):
5560 Add missing :version tags to new defcustoms and defgroups.
5561
5fec1b8e
GM
5562 * progmodes/sql.el (sql-ansi-statement-starters)
5563 (sql-oracle-statement-starters): Add custom type.
5564
3e0d2fa7
GM
5565 * progmodes/prolog.el: Remove leading '*' from defcustom docs.
5566 (prolog-system-version): Give it a type.
5567
90b671e2
EZ
55682012-02-11 Eli Zaretskii <eliz@gnu.org>
5569
5570 * term/pc-win.el (x-select-text, x-selection-owner-p)
5571 (x-own-selection-internal, x-disown-selection-internal)
5572 (x-get-selection-internal): Sync doc strings and argument lists
5573 with xselect.c, common-win.el and x-win.el. (Bug#10783)
5574
5eac0c02
LL
55752012-02-11 Leo Liu <sdl.web@gmail.com>
5576
5577 * progmodes/python.el (python-end-of-statement): Fix infinite
5578 loop. (Bug#10788)
5579
f82cb659
GM
55802012-02-10 Glenn Morris <rgm@gnu.org>
5581
5582 * international/mule-cmds.el (unify-8859-on-encoding-mode)
5583 (unify-8859-on-decoding-mode): Properly mark as obsolete.
5584
cc26d239
LI
55852012-02-10 Lars Ingebrigtsen <larsi@gnus.org>
5586
5587 * mail/emacsbug.el (report-emacs-bug-hook): Query the user first
5588 about SMTP before checking the From header.
5589
91027d08 5590 * mail/sendmail.el (sendmail-query-user-about-smtp): Refactor out
cc26d239
LI
5591 into own function for reuse by emacsbug.el.
5592
1be3ca5a
LL
55932012-02-10 Leo Liu <sdl.web@gmail.com>
5594
5595 * subr.el (condition-case-unless-debug): Rename from
5596 condition-case-no-debug. All callers changed.
5597 (with-demoted-errors): Fix caller.
5598
5599 * vc/diff-mode.el (diff-auto-refine-mode, diff-hunk):
5600 * nxml/rng-valid.el (rng-do-some-validation):
5601 * emacs-lisp/package.el (package-refresh-contents)
5602 (package-menu-execute):
5603 * desktop.el (desktop-create-buffer):
91027d08 5604 * font-lock.el (lisp-font-lock-keywords-2): Caller changed.
1be3ca5a 5605
b011fbfe
GM
56062012-02-10 Glenn Morris <rgm@gnu.org>
5607
b2096d72
GM
5608 * textmodes/bibtex.el:
5609 Add missing :version tags for new/changed defcustoms.
5610
b011fbfe
GM
5611 * files.el (remote-file-name-inhibit-cache): Doc fixes.
5612
4c7e65bf
LI
56132012-02-09 Lars Ingebrigtsen <larsi@rusty>
5614
5615 * mail/smtpmail.el (smtpmail-user-mail-address): New function.
5616 (smtpmail-via-smtp): Use it, or fall back on the From address.
5617 (smtpmail-send-it): Ditto.
5618
f3934f6f
SM
56192012-02-09 Stefan Monnier <monnier@iro.umontreal.ca>
5620
5621 * emacs-lisp/bytecomp.el (byte-compile-file-form-defvar):
5622 Don't fallback on byte-compile-defvar. Optimize (defvar foo) away.
5623 (byte-compile-tmp-var): New const.
5624 (byte-compile-defvar): Use it to minimize .elc size.
5625 Just use `defvar' rather than simulate it (bug#10761).
5626
a075a2c5
GM
56272012-02-09 Glenn Morris <rgm@gnu.org>
5628
cf3aa21b
GM
5629 * files.el (rename-uniquely): Doc fix. (Bug#3806)
5630
354998cd
GM
5631 * progmodes/cc-guess.el (c-guess-offset-threshold, c-guess-region-max):
5632 Add :version tags.
5633
dc9924b8
SM
5634 * progmodes/compile.el (compilation-error-screen-columns)
5635 (compilation-first-column, compilation-filter-start): Doc fixes.
83274125 5636
dab3703d
GM
5637 * vc/log-view.el (log-view-toggle-entry-display):
5638 * vc/vc.el (vc-merge, vc-pull): Doc fixes.
5639
3f88cd72
GM
5640 * mail/emacsbug.el (report-emacs-bug-can-use-osx-open)
5641 (report-emacs-bug-can-use-xdg-email):
5642 (report-emacs-bug-insert-to-mailer): Doc fixes.
5643 (report-emacs-bug): Message fix.
5644
d95b247d
GM
5645 * net/browse-url.el (browse-url-can-use-xdg-open)
5646 (browse-url-xdg-open): Doc fixes.
5647
a075a2c5
GM
5648 * electric.el (electric-indent-mode, electric-pair-mode)
5649 (electric-layout-rules, electric-layout-mode): Doc fixes.
5650 (electric-pair-pairs, electric-pair-skip-self): Add :version tags.
5651
ffb6157e
MR
56522012-02-08 Martin Rudalics <rudalics@gmx.at>
5653
5654 * server.el (server-unselect-display): Don't inadvertently kill
5655 the current buffer. (Bug#10729)
5656
e1ac4066
GM
56572012-02-08 Glenn Morris <rgm@gnu.org>
5658
34e8a2da
GM
5659 * progmodes/sql.el (sql-port, sql-connection-alist, sql-list-all)
5660 (sql-list-table): Doc fixes.
5661
b4ac6e8c
GM
5662 * image-mode.el (image-transform-minor-mode-map, image-transform-mode):
5663 Comment out (does nothing).
5664
e1ac4066
GM
5665 * completion.el (dynamic-completion-mode):
5666 * dirtrack.el (dirtrack-debug-mode):
5667 * electric.el (electric-layout-mode):
5668 * epa-mail.el (epa-mail-mode, epa-global-mail-mode):
5669 * face-remap.el (text-scale-mode, buffer-face-mode):
5670 * iimage.el (iimage-mode):
5671 * image-mode.el (image-transform-mode):
5672 * minibuffer.el (completion-in-region-mode):
5673 * scroll-lock.el (scroll-lock-mode):
5674 * simple.el (next-error-follow-minor-mode):
5675 * tar-mode.el (tar-subfile-mode):
5676 * tooltip.el (tooltip-mode):
5677 * vcursor.el (vcursor-use-vcursor-map):
5678 * wid-browse.el (widget-minor-mode):
5679 * emulation/tpu-edt.el (tpu-edt-mode):
5680 * emulation/tpu-extras.el (tpu-cursor-free-mode):
5681 * international/iso-ascii.el (iso-ascii-mode):
5682 * language/thai-util.el (thai-word-mode):
5683 * mail/supercite.el (sc-minor-mode):
5684 * net/goto-addr.el (goto-address-mode):
5685 * net/rcirc.el (rcirc-multiline-minor-mode, rcirc-track-minor-mode):
5686 * progmodes/cwarn.el (cwarn-mode):
5687 * progmodes/flymake.el (flymake-mode):
5688 * progmodes/glasses.el (glasses-mode):
5689 * progmodes/hideshow.el (hs-minor-mode):
5690 * progmodes/pascal.el (pascal-outline-mode):
5691 * textmodes/enriched.el (enriched-mode):
5692 * vc/smerge-mode.el (smerge-mode):
5693 Doc fixes (minor mode argument).
5694
5e0d957f
EZ
56952012-02-07 Eli Zaretskii <eliz@gnu.org>
5696
5697 * ls-lisp.el (ls-lisp-sanitize): New function.
5698 (ls-lisp-insert-directory): Use it to fix or remove any elements
5699 in file-alist with missing attributes. (Bug#4673)
5700
98d7371e
AM
57012012-02-07 Alan Mackenzie <acm@muc.de>
5702
5703 Fix spurious recognition of c-in-knr-argdecl.
5704
5705 * progmodes/cc-engine.el (c-in-knr-argdecl): Check for '=' in a
5706 putative K&R region.
5707
667ced3a
AM
57082012-02-07 Alan Mackenzie <acm@muc.de>
5709
eb864a71
LM
5710 * progmodes/cc-engine.el (c-forward-objc-directive):
5711 Prevent looping in "#pragma mark @implementation".
667ced3a 5712
5b77774d
MA
57132012-02-07 Michael Albinus <michael.albinus@gmx.de>
5714
5715 * notifications.el (notifications-on-closed-signal): Make `reason'
5716 optional. (Bug#10744)
5717
af008560
GM
57182012-02-07 Glenn Morris <rgm@gnu.org>
5719
60d47423
GM
5720 * emacs-lisp/easy-mmode.el (define-minor-mode):
5721 Doc fixes for the macro and the mode it defines.
5722
dd605cc4
GM
5723 * image.el (imagemagick-types-inhibit): Doc fix.
5724
af008560
GM
5725 * cus-start.el (imagemagick-render-type): Add it.
5726
5cc59a37
LI
57272012-02-06 Lars Ingebrigtsen <larsi@gnus.org>
5728
4d6769e1
JB
5729 * progmodes/cc-mode.el (c-standard-font-lock-fontify-region-function):
5730 Set the default at load time, too, so that `font-lock-fontify-buffer'
5731 can be called without setting up the entire mode first. This fixes
5732 a bug in `mm-inline-text' with C MIME parts.
5cc59a37 5733
9a6dd747
CY
57342012-02-06 Chong Yidong <cyd@gnu.org>
5735
2d16b285
CY
5736 * simple.el (list-processes--refresh): Delete exited processes
5737 (Bug#8094).
5738
171e9b6e
CY
5739 * comint.el (comint-next-prompt): next-single-char-property-change
5740 and prev-single-char-property-change never return nil (Bug#8657).
5741
9a6dd747
CY
5742 * custom.el (defcustom): Doc fix (Bug#9711).
5743
aa4589a7
CY
57442012-02-05 Chong Yidong <cyd@gnu.org>
5745
5c2a252f
CY
5746 * cus-edit.el (custom-variable-reset-backup): Quote the value
5747 before storing it in the customized-value property (Bug#6712).
4aab9006 5748 (custom-display): Add a customization type tag.
983b9602 5749 (custom-buffer-create-internal): Improve tooltip message.
5c2a252f 5750
aa4589a7
CY
5751 * wid-edit.el (widget-field-value-get): New optional arg to
5752 suppress trailing whitespace truncation.
5753 (character): Use it (Bug#2689).
5754
1ff980ae
AS
57552012-02-05 Andreas Schwab <schwab@linux-m68k.org>
5756
5757 * progmodes/gud.el (gud-pv): Use pv instead of pv1.
5758 * progmodes/gdb-mi.el (gud-pp): Use pp instead of pp1.
5759
03988c98
CY
57602012-02-05 Chong Yidong <cyd@gnu.org>
5761
eeb6cc88
CY
5762 * cus-edit.el (custom-variable-value-create): For mismatched
5763 types, show the current value (Bug#7600).
5764
03988c98
CY
5765 * custom.el (defcustom): Doc fix.
5766
f8cdeef0
GM
57672012-02-05 Glenn Morris <rgm@gnu.org>
5768
5769 * font-lock.el (lisp-font-lock-keywords-2): Add with-wrapper-hook.
5770
0696d255
JB
57712012-02-05 Juanma Barranquero <lekktu@gmail.com>
5772
5773 * emacs-lisp/pp.el (pp-to-string): Use `with-temp-buffer'.
5774 (pp-buffer): Use `ignore-errors', `looking-at-p'.
5775 (pp-last-sexp): Use `looking-at-p'.
5776
34c99998
GM
57772012-02-04 Glenn Morris <rgm@gnu.org>
5778
8f05da42
GM
5779 * files.el (revert-buffer):
5780 Doc fix (mention revert-buffer-in-progress-p).
5781
f160676e
GM
5782 * emacs-lisp/ert-x.el (ert-simulate-command):
5783 Check deferred-action-list (which is obsolete) is bound.
5784
c7291ad9
GM
5785 * subr.el (with-wrapper-hook): Doc fixes.
5786
34c99998
GM
5787 * simple.el (filter-buffer-substring-functions)
5788 (buffer-substring-filters, filter-buffer-substring): Doc fixes.
5789
6283a7d3
LL
57902012-02-04 Lars Ljung <lars@matholka.se> (tiny change)
5791
5792 * eshell/esh-ext.el (eshell-windows-shell-file): Match "cmdproxy"
5793 anywhere in shell-file-name, not just at the beginning. (Bug#10523)
5794
e96e3013
LL
57952012-02-04 Leo Liu <sdl.web@gmail.com>
5796
5797 * emacs-lisp/smie.el: Fix dead link (Bug#10711).
5798
8ded50f2
GM
57992012-02-04 Glenn Morris <rgm@gnu.org>
5800
82ff1d13
GM
5801 * image.el (image-extension-data): Add obsolete alias.
5802
987a0a16
GM
5803 * isearch.el (isearch-update): Doc fix.
5804
ea32ef46
GM
5805 * facemenu.el (list-colors-display): Doc fix (minor rephrasing).
5806
8ded50f2
GM
5807 * ido.el (ido-find-file): Doc fix (ido-toggle-vc not on any key).
5808
eea14f31
GM
58092012-02-03 Glenn Morris <rgm@gnu.org>
5810
5811 * image.el (image-animated-p): Doc fix. Use image-animated-types.
5812 (image-animate-timeout): Doc fix.
5813
5814 * image-mode.el (image-animate-loop, image-toggle-animation): Doc fixes.
5815
12f381b7
GM
58162012-02-02 Glenn Morris <rgm@gnu.org>
5817
953cebf5
GM
5818 * server.el (server-auth-dir): Doc fix.
5819 (server-eval-at): Doc fix. Give an explicit error if !server-use-tcp.
5820
12f381b7
GM
5821 * subr.el (run-mode-hooks): Doc fix.
5822
953a8c3b
JL
58232012-02-02 Juri Linkov <juri@jurta.org>
5824
5825 * image-mode.el (image-toggle-display-image): Remove tautological
5826 `major-mode' from the `derived-mode-p' test.
5827
c5d3843c
KH
58282012-02-02 Kenichi Handa <handa@m17n.org>
5829
9f6e692e 5830 * composite.el (compose-region): Cancel previous change.
c5d3843c 5831
159462d4 58322012-02-02 Kenichi Handa <handa@m17n.org>
d2a51fd7
KH
5833
5834 * composite.el (compose-region, compose-string): Signal error for
5835 a null string component (Bug#6988).
5836
9f562668
CY
58372012-02-01 Chong Yidong <cyd@gnu.org>
5838
e2cef717
CY
5839 * view.el (view-buffer-other-window, view-buffer-other-frame):
5840 Handle special modes like view-buffer (Bug#10650).
5841 (view-buffer): Simplify.
5842
9f562668
CY
5843 * frame.el (set-frame-font): Tweak meaning of third argument.
5844
9f6e692e
JB
5845 * dynamic-setting.el (font-setting-change-default-font):
5846 Use set-frame-font (Bug#9982).
9f562668 5847
781acb9f
GM
58482012-02-01 Glenn Morris <rgm@gnu.org>
5849
6035be52
GM
5850 * progmodes/compile.el (compilation-internal-error-properties):
5851 Respect compilation-first-column in the "*compilation*" buffer.
5852
781acb9f
GM
5853 * emacs-lisp/easy-mmode.el (define-minor-mode):
5854 Relax :variable's test for a named function.
5855
abbceb00
AM
58562012-01-31 Alan Mackenzie <acm@muc.de>
5857
5858 * progmodes/cc-engine.el (c-guess-basic-syntax): CASE 5B.1: Fix an
5859 off by one error.
5860
fce3fdeb
CY
58612012-01-31 Chong Yidong <cyd@gnu.org>
5862
5863 * frame.el (set-frame-font): New arg ALL-FRAMES.
5864
5865 * menu-bar.el (menu-set-font): Use set-frame-font.
5866
5867 * faces.el (face-spec-reset-face): Don't apply unspecified
5868 attribute values to the default face.
5869
47893581
JB
58702012-01-31 Juanma Barranquero <lekktu@gmail.com>
5871
5872 * progmodes/cwarn.el (cwarn): Remove dead link.
5873 (cwarn-configuration, cwarn-verbose, cwarn-mode-text, cwarn-load-hook):
5874 Remove * from defcustom docstrings.
5875 (turn-on-cwarn-mode): Make obsolete.
5876 (c-at-toplevel-p): Remove compatibility code for Emacs 20.3 and older.
5877 (turn-on-cwarn-mode-if-enabled): Call `cwarn-mode'.
5878
e58e988a
GM
58792012-01-31 Glenn Morris <rgm@gnu.org>
5880
60dc2671 5881 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix.
6c9b47ae 5882 Fix :variable handling of mode a symbol not equal to modefun.
60dc2671 5883 Allow named functions to be used as the cdr of :variable.
e58e988a 5884
7a3f511d
GM
58852012-01-30 Glenn Morris <rgm@gnu.org>
5886
5887 * emacs-lisp/authors.el (authors-fixed-entries):
5888 Remove reference to deleted file rnewspost.el.
5889
cb882333
JB
58902012-01-29 Juanma Barranquero <lekktu@gmail.com>
5891
5892 * window.el (window-with-parameter): Remove unused variable `windows'.
5893 (window--side-check): Remove unused variable `code'.
5894 (window--resize-siblings): Remove unused variable `first'.
5895 (adjust-window-trailing-edge): Remove unused variable `failed'.
5896 (window-deletable-p, window--delete): Remove unused variable `buffer'.
5897 Use `let', not `let*'.
5898 (balance-windows-2): Remove unused variable `found'.
5899 (window--state-put-2): Remove unused variable `splits'.
5900 (window-state-put): Remove unused variable `selected'.
5901 (same-window-p): Use `string-match-p'.
5902 (display-buffer-assq-regexp): Remove unused variable `value'.
5903 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
5904 Mark argument ALIST as ignored.
5905 (pop-to-buffer): Remove unused variable `old-window'.
5906
907201af
EZ
59072012-01-29 Eli Zaretskii <eliz@gnu.org>
5908
5909 * jka-cmpr-hook.el (jka-compr-compression-info-list): Support .lz
5910 and .lzma compressed files.
5911
ea162670
CY
59122012-01-29 Chong Yidong <cyd@gnu.org>
5913
5b95ee8a
CY
5914 * frame.el (window-system-default-frame-alist): Doc fix.
5915
ea162670
CY
5916 * dynamic-setting.el (font-setting-change-default-font): Don't
5917 change the default face if SET-FONT argument is non-nil (Bug#9982).
5918
d6e6f4b1
SB
59192012-01-29 Samuel Bronson <naesten@gmail.com> (tiny change)
5920
5921 * custom.el (defcustom): Add doc link to Lisp manual (Bug#10635).
5922
0f29fa41 59232012-01-29 Syver Enstad <syver.enstad@cisco.com> (tiny change)
6b25e4e2
SE
5924
5925 * progmodes/gud.el (pdb): Give pdb full paths, to allow setting
5926 breakpoints in files outside current directory (Bug#6098).
5927
db174434
CY
59282012-01-29 Chong Yidong <cyd@gnu.org>
5929
6b25e4e2
SE
5930 * progmodes/python.el: Require ansi-color at top-level.
5931
6df6ae42
JB
5932 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-abbrev-table):
5933 Define and use in Emacs Lisp mode (Bug#9360).
db174434
CY
5934 (lisp-mode-abbrev-table): Add doc.
5935 (lisp-mode-variables): Don't set local-abbrev-table.
5936 (lisp-interaction-mode): Use emacs-lisp-mode-abbrev-table.
5937
e70ee681
RW
59382012-01-28 Roland Winkler <winkler@gnu.org>
5939
5940 * textmodes/bibtex.el (bibtex-vec-incr): Fix docstring.
5941
ace88aa2
RW
59422012-01-28 Roland Winkler <winkler@gnu.org>
5943
5944 * textmodes/bibtex.el (bibtex-entry-alist): New function.
5945 (bibtex-set-dialect): Use it. Either set global values of
5946 dialect-dependent variables or bind these variables buffer-locally
5947 (Bug#10254).
5948 (bibtex-mode): Call bibtex-set-dialect via
5949 hack-local-variables-hook.
eb864a71
LM
5950 (bibtex-dialect): Update docstring.
5951 Add safe-local-variable predicate.
ace88aa2
RW
5952 (bibtex-entry-alist, bibtex-field-alist): Initialize via
5953 bibtex-set-dialect.
5954 (bibtex-mode-map): Define menu for each dialect.
5955 (bibtex-entry): Fix docstring.
5956
93376c5b
CY
59572012-01-28 Chong Yidong <cyd@gnu.org>
5958
5959 * eshell/esh-arg.el (eshell-quote-argument): New function.
5960
5961 * eshell/esh-ext.el (eshell-invoke-batch-file):
5962 * eshell/em-unix.el (eshell/cat, eshell/du): Use it to quote the
5963 first arg to eshell-parse-command (Bug#10523).
5964
4372494f
DA
59652012-01-28 Drew Adams <drew.adams@oracle.com>
5966
5967 * net/ange-ftp.el (ange-ftp-canonize-filename): Check, that
5968 `default-directory' is non-nil.
5969
4d4ec1f8
EZ
59702012-01-28 Eli Zaretskii <eliz@gnu.org>
5971
5972 * mail/emacsbug.el (report-emacs-bug): Fill the potentially long
5973 line that displays system-configuration-options. (Bug#9924)
5974
7c188927
DA
59752012-01-28 Drew Adams <drew.adams@oracle.com>
5976
5977 * descr-text.el (describe-char): Show information about POS, in
5978 addition to information about the character at POS. Improve and
5979 update the doc string. Change "code point" to "code point in
5980 charset", to avoid confusion with the character's Unicode code
5981 point shown above that. (Bug#10129)
5982
e0da685a
EZ
59832012-01-28 Eli Zaretskii <eliz@gnu.org>
5984
5985 * descr-text.el (describe-char): Show the raw character, not only
5986 its display form at POS. Suggested by Kenichi Handa <handa@m17n.org>.
5987 See http://lists.gnu.org/archive/html/emacs-devel/2012-01/msg00760.html
5988 for the reasons.
5989
70550acf
PH
59902012-01-28 Phil Hagelberg <phil@hagelb.org>
5991
eb864a71
LM
5992 * emacs-lisp/package.el (package-install):
5993 Run package-refresh-contents if there is no archive yet (Bug#9798).
70550acf 5994
0ce8e868
CY
59952012-01-28 Chong Yidong <cyd@gnu.org>
5996
cb882333
JB
5997 * emacs-lisp/package.el (package-maybe-load-descriptor):
5998 New function, split from package-maybe-load-descriptor.
0ce8e868
CY
5999 (package-maybe-load-descriptor): Use it.
6000 (package-download-transaction): Fully load required packages
6001 inside the loop, so that `require' calls work (Bug#10593).
6002 (package-install): No need to call package-initialize now.
6003
2e7f3bea
CY
60042012-01-28 Chong Yidong <cyd@gnu.org>
6005
6e9bad14
CY
6006 * simple.el (deactivate-mark): Doc fix (Bug#8614).
6007
f823b8ca
CY
6008 * tooltip.el (tooltip-mode): Doc fix.
6009 (tooltip-use-echo-area): Mark as obsolete (Bug#6595).
6010
2680c309
CY
6011 * frame.el (set-cursor-color): Doc fix (Bug#352).
6012
d7a9e63b
CY
6013 * mail/rmail.el (rmail-start-mail): Add send-action again (Bug#10625).
6014 (rmail-mail-return): Switch to NEWBUF only if it is non-nil.
6015
2e7f3bea
CY
6016 * cus-edit.el (custom-buffer-create-internal): Fix search button
6017 action (Bug#10542).
2ae01800 6018 (customize-unsaved, customize-saved): Doc fix (Bug#10541).
2e7f3bea 6019
fc4f7a23
EW
60202012-01-27 Eduard Wiebe <usenet@pusto.de>
6021
6022 * dired.el (dired-mark-files-regexp):
6023 Include any subdirectory components. (Bug#10445)
6024
7dd37071
ML
60252012-01-27 Mike Lamb <mrlamb@gmail.com> (tiny change)
6026
6027 * pcmpl-unix.el (pcmpl-ssh-known-hosts):
6028 Handle [host]:port syntax. (Bug#10533)
6029
a268160b
AH
60302012-01-27 Alex Harsanyi <harsanyi@mac.com>
6031
6032 * xml.el (xml-parse-tag): Fix parsing of comments (Bug#10405).
6033
e43273ef
GM
60342012-01-26 Glenn Morris <rgm@gnu.org>
6035
6036 * dired-x.el (dired-bind-jump): Use ctl-x-map and ctl-x-4-map.
6037 * term.el (term-raw-escape-map): Use Control-X-prefix.
6038 * vc/vc-hooks.el (vc-prefix-map): Use ctl-x-map. (Bug#10566)
6039
1edf595d
MR
60402012-01-25 Martin Rudalics <rudalics@gmx.at>
6041
6042 * window.el (window-state-get, window--state-get-1): Don't deal
6043 with fixed-sizeness of windows. Simplify code.
6044
fa8eafef
JC
60452012-01-25 Jérémy Compostella <jeremy.compostella@gmail.com>
6046
6df6ae42
JB
6047 * window.el (window--state-get-1, window--state-put-2):
6048 Don't save and restore the mark.
fa8eafef 6049
0b21c100
CY
60502012-01-25 Chong Yidong <cyd@gnu.org>
6051
6052 * custom.el (custom-variable-p): Doc fix.
6053
5ae1a6c8
GM
60542012-01-25 Glenn Morris <rgm@gnu.org>
6055
40047858
GM
6056 * dired.el (dired-goto-file): Handle some of the more common
6057 characters that `ls -b' escapes. (Bug#10596)
6058
5ddce96c
GM
6059 * progmodes/compile.el (compilation-next-error-function):
6060 Respect compilation-first-column in the "*compilation*" buffer.
6061 * progmodes/grep.el (grep-first-column): New variable. (Bug#10594)
6062
5ae1a6c8
GM
6063 * vc/vc.el (vc-modify-change-comment): Scoping fix. (Bug#10513)
6064
b559f1a9
GM
60652012-01-24 Glenn Morris <rgm@gnu.org>
6066
6067 * pcmpl-gnu.el (pcomplete/tar): Handle " - ". (Bug#10457)
6068
6725d21a
JD
60692012-01-24 Julien Danjou <julien@danjou.info>
6070
6071 * color.el (color-rgb-to-hsl): Fix value computing.
6072 (color-hue-to-rgb): New function.
6073 (color-hsl-to-rgb): New function.
6074 (color-clamp, color-saturate-hsl, color-saturate-name)
6075 (color-desaturate-hsl, color-desaturate-name, color-lighten-hsl)
6076 (color-lighten-name, color-darken-hsl, color-darken-name): New function.
6077
70df4bbe
GM
60782012-01-24 Glenn Morris <rgm@gnu.org>
6079
6080 * vc/vc-rcs.el (vc-rcs-create-tag):
6081 * vc/vc-sccs.el (vc-sccs-create-tag):
6082 Fix argument spec to be what vc-create-tag expects. (Bug#10515)
6083
802a2ae2
ML
60842012-01-23 Mike Lamb <mrlamb@gmail.com> (tiny change)
6085
6086 * eshell/esh-util.el (eshell-read-hosts-file):
6087 Skip comment lines. (Bug#10549)
6088
d7128bb1
ML
6089 * eshell/em-unix.el (pcomplete/ssh): Remove. (Bug#10548)
6090
d1a5c3b4
JB
60912012-01-23 Juanma Barranquero <lekktu@gmail.com>
6092
2724d9c7
JB
6093 * subr.el (display-delayed-warnings): Doc fix.
6094 (collapse-delayed-warnings): New function to collapse identical
6095 adjacent warnings.
6096 (delayed-warnings-hook): Add it.
d1a5c3b4 6097
a5509865
MA
60982012-01-22 Michael Albinus <michael.albinus@gmx.de>
6099
6100 * net/tramp.el (tramp-action-login): Set connection property "login-as".
6101
a5509865
MA
6102 * net/tramp-sh.el (tramp-methods): Add user spec to "pscp" and "psftp".
6103 (tramp-default-user-alist): Don't add "pscp".
6104 (tramp-do-copy-or-rename-file-out-of-band): Use connection
6105 property "login-as", if set. (Bug#10530)
6106
cc6d5805
MA
61072012-01-21 Michael Albinus <michael.albinus@gmx.de>
6108
6109 * net/tramp-sh.el (tramp-default-user-alist): Don't add "plink",
6110 "plink1" and "psftp". (Bug#10530)
6111
61122012-01-21 Kenichi Handa <handa@m17n.org>
71784361
KH
6113
6114 * international/mule-cmds.el (prefer-coding-system): Show a
6115 warning message if the default value of file-name-coding-system
6116 was not changed.
6117
f0960428
JC
61182012-01-21 Jérémy Compostella <jeremy.compostella@gmail.com>
6119
cb882333
JB
6120 * windmove.el (windmove-reference-loc):
6121 Fix windmove-reference-loc miscalculation.
f0960428 6122
dd6f2a63
JB
61232012-01-21 Jay Belanger <jay.p.belanger@gmail.com>
6124
6125 * calc/calc-units.el (math-put-default-units): Don't use "1" as a
6126 default unit.
6127
7b447e9b
GM
61282012-01-21 Glenn Morris <rgm@gnu.org>
6129
117a9ea1
GM
6130 * international/mule.el (auto-coding-alist): Add .tbz.
6131
7b447e9b
GM
6132 * files.el (local-enable-local-variables): Doc fix.
6133 (inhibit-local-variables-regexps): Rename from
6134 inhibit-first-line-modes-regexps. Keep old name as obsolete alias.
6135 Doc fix. Add some extensions from auto-coding-alist.
6136 (inhibit-local-variables-suffixes):
6137 Rename from inhibit-first-line-modes-suffixes. Doc fix.
6138 (inhibit-local-variables-p):
6139 New function, extracted from set-auto-mode-1.
6140 (set-auto-mode): Doc fix. Respect inhibit-local-variables-regexps.
6141 (set-auto-mode-1): Doc fix. Use inhibit-local-variables-p.
6142 (hack-local-variables): Doc fix. Make the mode-only case
6143 respect enable-local-variables and friends.
6144 Respect inhibit-local-variables-regexps for file-locals, but
6145 not for directory-locals.
6146 (set-visited-file-name):
6147 Take account of inhibit-local-variables-regexps.
6148 Whether it applies may change as the file name is changed.
6149 * jka-cmpr-hook.el (jka-compr-install):
6150 * jka-compr.el (jka-compr-uninstall):
6151 Update for inhibit-first-line-modes-suffixes name change.
6152
dd6e3cdd
MR
61532012-01-20 Martin Rudalics <rudalics@gmx.at>
6154
6155 * help-macro.el (make-help-screen): Temporarily restore original
6156 binding for minor-mode-map-alist (Bug#10454).
6157
0d0deb38
JD
61582012-01-19 Julien Danjou <julien@danjou.info>
6159
6160 * color.el (color-name-to-rgb): Use the white color to find the max
6161 color component value and return correctly computed values.
6162 (color-name-to-rgb): Add missing float conversion for max value.
6163
34a02f46
MR
61642012-01-19 Martin Rudalics <rudalics@gmx.at>
6165
6166 * window.el (window--state-get-1, window-state-get): Do not use
eb864a71
LM
6167 special state value for window-persistent-parameters.
6168 Rename argument IGNORE to WRITABLE. Rewrite doc-string.
34a02f46
MR
6169 (window--state-put-2): Reset all window parameters to nil before
6170 assigning values of persistent parameters.
6171
606c44c4
AM
61722012-01-18 Alan Mackenzie <acm@muc.de>
6173
6174 Eliminate sluggishness and hangs in fontification of "semicolon
6175 deserts".
6176
cb882333
JB
6177 * progmodes/cc-engine.el (c-state-nonlit-pos-interval):
6178 Change value 10000 -> 3000.
606c44c4
AM
6179 (c-state-safe-place): Reformulate so it doesn't stack up an
6180 infinite number of wrong entries in c-state-nonlit-pos-cache.
6181 (c-determine-limit-get-base, c-determine-limit): New functions to
6182 determine backward search limits disregarding literals.
6183 (c-find-decl-spots): Amend commenting.
6184 (c-cheap-inside-bracelist-p): New function which detects "={".
6185
6186 * progmodes/cc-fonts.el
6187 (c-make-font-lock-BO-decl-search-function): Give a limit to a
6188 backward search.
6189 (c-font-lock-declarations): Fix an occurrence of point being
6190 undefined. Check additionally for point being in a bracelist or
6191 near a macro invocation without a semicolon so as to avoid a
6192 fruitless time consuming search for a declarator. Give a more
6193 precise search limit for declarators using the new
6194 c-determine-limit.
6195
f3860cea
GM
61962012-01-18 Glenn Morris <rgm@gnu.org>
6197
6198 * files.el (auto-mode-alist, inhibit-first-line-modes-regexps)
6199 (set-auto-mode): Doc fixes.
6200
1db03b16
GM
62012012-01-17 Glenn Morris <rgm@gnu.org>
6202
0e6038be
GM
6203 * isearch.el (search-nonincremental-instead): Fix doc typo.
6204
1db03b16
GM
6205 * dired.el (dired-insert-directory): Handle newlines in directory name.
6206 (dired-build-subdir-alist): Unescape newlines in directory name.
6207
4cb0aa75
MA
62082012-01-17 Michael Albinus <michael.albinus@gmx.de>
6209
6210 * net/tramp.el (tramp-local-end-of-line): New defcustom.
6211 (tramp-action-login, tramp-action-yesno, tramp-action-yn)
6212 (tramp-action-terminal): Use it. (Bug#10530)
6213
1d00653d
SM
62142012-01-16 Stefan Monnier <monnier@iro.umontreal.ca>
6215
6216 * minibuffer.el (completion--replace): Strip properties (bug#10062).
6217
6a6ee00d
MR
62182012-01-16 Martin Rudalics <rudalics@gmx.at>
6219
6220 * window.el (window-state-ignored-parameters): Remove variable.
6221 (window--state-get-1): Rename argument MARKERS to IGNORE.
6222 Handle persistent window parameters. Make copy of clone-of
6223 parameter only if requested. (Bug#10348)
6224 (window--state-put-2): Install a window parameter only if it has
6225 a non-nil value or an existing parameter shall be overwritten.
6226
97912def
MA
62272012-01-15 Michael Albinus <michael.albinus@gmx.de>
6228
6229 * net/tramp-sh.el (tramp-remote-path): Set tramp-autoload cookie.
6230
688070a5
EZ
62312012-01-14 Eli Zaretskii <eliz@gnu.org>
6232
6233 * info.el (Info-toc-build): If the Info file has no "Up" pointer,
6234 don't pass the (nil) value of `upnode' to string-match.
6235
301afadc
CY
62362012-01-14 Chong Yidong <cyd@gnu.org>
6237
6238 * startup.el (command-line): Fix X resource class for cursorColor.
04877ddb 6239 Fix values recognized by the cursorBlink resource.
301afadc 6240
9e5788aa
PE
62412012-01-14 Paul Eggert <eggert@cs.ucla.edu>
6242
6243 * epg.el (epg--make-temp-file): Avoid permission race condition
6244 when running on old Emacs versions (bug#10403).
6245
3cdb7f5a
GM
62462012-01-14 Glenn Morris <rgm@gnu.org>
6247
6248 * dired.el (dired-get-filename): Fix 'verbatim case of previous change.
6249
8c82b1b4
AM
62502012-01-13 Alan Mackenzie <acm@muc.de>
6251
6252 Fix filling for when filladapt mode is enabled.
6253
6254 * progmodes/cc-cmds.el (c-fill-paragraph): In the invocation of
6255 c-mask-paragraph, pass in `fill-paragraph' rather than
6256 `fill-region-as-paragraph'. (This is a reversion of a previous
6257 change.)
eb864a71
LM
6258 * progmodes/cc-mode.el (c-basic-common-init):
6259 Make fill-paragraph-handle-comment buffer local and set it to nil.
8c82b1b4 6260
e517eda4
GM
62612012-01-13 Glenn Morris <rgm@gnu.org>
6262
1498536e
GM
6263 * dired.el (dired-switches-escape-p): New function.
6264 (dired-insert-directory): Use dired-switches-escape-p.
6265 (dired-get-filename): Undo "\ " quoting if needed. (Bug#10469)
6266
e517eda4
GM
6267 * find-dired.el (find-ls-option): Doc fix. (Bug#10262)
6268
328f984d
GM
62692012-01-12 Glenn Morris <rgm@gnu.org>
6270
6271 * mail/sendmail.el (mail-mode): Update paragraph-separate for
6272 changes in adaptive-fill-regexp. (Bug#10276)
6273
2cc769a8
AM
62742012-01-11 Alan Mackenzie <acm@muc.de>
6275
6276 Fix Emacs bug #10463 - put `widen's around the critical spots.
6277
1d00653d 6278 * progmodes/cc-engine.el (c-in-literal, c-literal-limits): Put a
2cc769a8
AM
6279 widen around each invocation of c-state-pp-to-literal. Remove an
6280 unused let variable.
6281
e52c37fa
GM
62822012-01-11 Glenn Morris <rgm@gnu.org>
6283
6284 * dired-aux.el (dired-do-shell-command): Fix */? logic. (Bug#6561)
09044622 6285 Doc fix.
e52c37fa 6286
96f8741e
CY
62872012-01-10 Chong Yidong <cyd@gnu.org>
6288
1d00653d
SM
6289 * net/network-stream.el (network-stream-open-starttls):
6290 Avoid emitting a confusing error message when the server gives a bad
96f8741e
CY
6291 response to the capability command.
6292
b09a806e
GM
62932012-01-10 Glenn Morris <rgm@gnu.org>
6294
6295 * mail/unrmail.el (unrmail): Tweak previous change.
6296
7655cb66
CY
62972012-01-09 Chong Yidong <cyd@gnu.org>
6298
6299 * custom.el (custom-safe-themes): Use SHA-256 for hashing.
6300
9d5a8f0b
AM
63012012-01-08 Alan Mackenzie <acm@muc.de>
6302
6303 Optimise font locking in long enum definitions.
6304
6305 * progmodes/cc-fonts.el (c-font-lock-declarations): Add an extra
6306 arm to a cond form to handle enums.
6307 * progmodes/cc-langs.el (c-enums-contain-decls): New lang variable.
6308 * progmodes/cc-mode.el (c-font-lock-fontify-region): Correct a typo.
6309
9a0115ab 63102012-01-07 Paul Eggert <eggert@cs.ucla.edu>
6bb72cbd
PE
6311
6312 * files.el (move-file-to-trash): Preserve default file modes on error.
a0562b3d 6313 (Bug#10401)
6bb72cbd 6314
f186bb95
LMI
63152012-01-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
6316
29232a68
LMI
6317 * faces.el (set-face-attribute): Clarify the meaning of the nil
6318 frame (bug#10294).
6319
4e5d086d
LMI
6320 * subr.el (with-selected-frame): Mention that the selected frame
6321 is restored (bug#9980).
6322
8e66aebe
LMI
6323 * ibuffer.el (ibuffer-mode): List the bindings in the corrent map
6324 (bug#9759).
6325
cd394be1 6326 * mail/smtpmail.el (password-cache-add): Remove unused declaration.
f186bb95
LMI
6327 (password-read): Don't autoload unused function.
6328
adf4e762
JB
63292012-01-07 Juanma Barranquero <lekktu@gmail.com>
6330
6331 * progmodes/which-func.el (which-func-mode): Turn into a
6332 non-interactive function and mark as obsolete (bug#10428).
6333
89bd9ccd
CY
63342012-01-06 Chong Yidong <cyd@gnu.org>
6335
6336 * files.el (hack-dir-local-variables-non-file-buffer): Add doc.
6337 (hack-one-local-variable-eval-safep): Allow 0 arg for minor mode
6338 functions, along with 1 and -1.
6339
4afee9d5
EZ
63402012-01-06 Eli Zaretskii <eliz@gnu.org>
6341
6342 * time.el (display-time-load-average)
6343 (display-time-default-load-average): Doc fixes. See the thread
6344 starting at
6345 http://lists.gnu.org/archive/html/help-gnu-emacs/2012-01/msg00059.html
6346 for the details.
6347
536aea70
GM
63482012-01-06 Glenn Morris <rgm@gnu.org>
6349
665ae865
GM
6350 * mail/unrmail.el (unrmail): Give an explicit error if the input file
6351 has no messages. (Bug#10377)
6352
c869783d
GM
6353 * info.el (Info-mode-map): Bind e to end-of-buffer, rather
6354 than Info-edit. (Bug#10385)
6355
2bb4227e
GM
6356 * time.el (display-time-load-average, display-time-next-load-average):
6357 Doc fixes.
6358
7d5944b9
GM
6359 * emacs-lisp/bytecomp.el (byte-compile-file): Do not propagate a file
6360 local setting of buffer-read-only to the input buffer. (Bug#10419)
6361
536aea70
GM
6362 * calendar/calendar.el (calendar-mode):
6363 Locally set scroll-margin to 0. (Bug#10379)
6364
7dccca16
UM
63652012-01-06 Ulrich Mueller <ulm@gentoo.org>
6366
6367 * play/doctor.el (doctor-death): Escape "," characters. (Bug#10370)
6368
afbb7930
GM
63692012-01-05 Glenn Morris <rgm@gnu.org>
6370
6371 * eshell/em-unix.el (diff-no-select): Autoload it.
6372 (eshell/diff): Use diff-no-select. (Bug#10420)
6373
04482335
CY
63742012-01-05 Chong Yidong <cyd@gnu.org>
6375
7baca3bc
CY
6376 * shell.el (shell-dynamic-complete-functions): Revert last change.
6377 (shell-command-completion-function): New function.
6378 (shell-completion-vars): Use it to implement
6379 shell-completion-execonly (Bug#10417).
6380
04482335
CY
6381 * custom.el (enable-theme): Don't set custom-safe-themes.
6382
1d00653d
SM
6383 * cus-theme.el (custom-theme-merge-theme):
6384 Ignore custom-enabled-themes and custom-safe-themes.
04482335 6385
bb5aa5d6
MM
63862012-01-05 Michael R. Mauger <mmaug@yahoo.com>
6387
6388 * progmodes/sql.el (sql-login-hook): Add hook to respond to the
6389 first prompt in `sql-interacive-mode'.
6390 (sql-mode-oracle-font-lock-keywords): Add CONNECT_BY_* builtin
04482335 6391 keywords.
6df6ae42 6392 (sql-mode-mysql-font-lock-keywords): Add ELSEIF keyword.
bb5aa5d6
MM
6393 (sql-product-interactive): Bug fix: Set `sql-buffer' in
6394 context of original buffer. Invoke `sql-login-hook'.
6395
a7183d7c
EZ
63962012-01-04 Eli Zaretskii <eliz@gnu.org>
6397
6398 * mail/rmail.el (rmail-font-lock-keywords): Accept non-ASCII
6399 letters in cite-prefix.
6400
a1eacd1e
LMI
64012012-01-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
6402
6403 * mail/smtpmail.el (smtpmail-stream-type): Mention the `ssl' value.
6404
787cdb34
CY
64052012-01-03 Chong Yidong <cyd@gnu.org>
6406
1d00653d
SM
6407 * shell.el (shell-dynamic-complete-functions):
6408 Put pcomplete-completions-at-point, so as to try
787cdb34
CY
6409 comint-filename-completion first (Bug#10417).
6410
30710442
RS
64112012-01-02 Richard Stallman <rms@gnu.org>
6412
6413 * battery.el (battery-status-function):
6414 Detect when to use battery-yeeloong-sysfs.
6415 (battery-echo-area-format): Add string for Yeeloong.
6416 (battery-linux-proc-apm, battery-linux-proc-acpi): Doc fixes.
6417 (battery-yeeloong-sysfs): New function.
6418
f75bfc33
CY
64192012-01-02 Chong Yidong <cyd@gnu.org>
6420
6421 * dirtrack.el (dirtrack-list): Eliminate unused third element.
6422 (dirtrack): Merge code for handling relative filenames in prompt
6423 from shell-dir-cookie-watcher.
6424 (dirtrack-debug-message): New arg to avoid excess format calls.
6425
6426 * shell.el (shell-dir-cookie-re): Variable deleted.
6427 (shell-dir-cookie-watcher): Function deleted.
6428 (shell-mode): Don't use shell-dir-cookie-re, since it is redundant
6429 with dirtrack-mode.
6430
651e947e
EZ
64312012-01-01 Eli Zaretskii <eliz@gnu.org>
6432
1d00653d
SM
6433 * term/w32-win.el (dynamic-library-alist) <gnutls>:
6434 Load libgnutls-28.dll, from GnuTLS version 3.x, in preference to
651e947e
EZ
6435 libgnutls-26.dll.
6436
94d4c7dc
AS
64372011-12-31 Andreas Schwab <schwab@linux-m68k.org>
6438
6439 * emacs-lisp/bytecomp.el (byte-compile-file): Fix indentation.
6440
8d43f3cd
EZ
64412011-12-31 Eli Zaretskii <eliz@gnu.org>
6442
6443 * mail/rmail.el (rmail-show-message-1): Decode any RFC2047 encoded
6444 headers of non-MIME messages, when rmail-enable-mime is non-nil.
6445
98c8795a
MA
64462011-12-29 Michael Albinus <michael.albinus@gmx.de>
6447
6448 * net/tramp-sh.el (tramp-find-shell): Set "remote-shell" property
6449 also for alternative shells.
6450 (tramp-open-connection-setup-interactive-shell): Check, whether
6451 the shell is a busybox.
6452 (tramp-send-command): Don't suppress multiple prompts for
6453 busyboxes, it hurts.
6454
51281b32
CY
64552011-12-28 Chong Yidong <cyd@gnu.org>
6456
6457 * progmodes/gdb-mi.el (gdb-get-source-file-list)
6458 (gdb-get-source-file): Move mode line update to
6459 gdb-get-source-file (Bug#10087).
6460
2170cb53
CY
64612011-12-25 Chong Yidong <cyd@gnu.org>
6462
6463 * progmodes/gud.el (gud-gdb-fetch-lines-filter): Just use
6464 gud-gdb-marker-filter without taking it as an argument.
6465 (gud-gdb-run-command-fetch-lines): Caller changed.
6466 (gud-gdb-completion-function): New variable.
6467 (gud-gdb-completion-at-point): Use it.
6468 (gud-gdb-completions-1): Split from gud-gdb-completions.
6469
6470 * progmodes/gdb-mi.el (gdb-input): Accept command and handler
6471 function as separate arguments.
6472 (gdb-init-1, gdb-non-stop-handler, gdb-check-target-async)
6473 (gdb-tooltip-print-1, gud-watch, gdb-speedbar-update)
6474 (gdb-var-list-children, gdb-var-set-format, gdb-var-delete-1)
6475 (gdb-var-delete-children, gdb-edit-value, gdb-var-update)
6476 (gdb-stopped, def-gdb-auto-update-trigger)
6477 (gdb-place-breakpoints, gdb-select-thread, gdb-select-frame)
b81d40f0
JB
6478 (gdb-get-changed-registers, gdb-get-main-selected-frame):
6479 Callers changed.
2170cb53
CY
6480 (gud-gdbmi-completions): New function.
6481 (gdb): Use it for generating the completion table.
6482
be8b11bb
AM
64832011-12-24 Alan Mackenzie <acm@muc.de>
6484
6485 Introduce a mechanism to widen the region used in context font
1d00653d 6486 locking. Use this to protect declarations from losing their contexts.
be8b11bb 6487
1d00653d
SM
6488 * progmodes/cc-langs.el (c-before-font-lock-functions):
6489 Replace c-set-fl-decl-start with c-change-set-fl-decl-start (Renaming).
b81d40f0 6490 (c-before-context-fontification-functions): New defvar, a list of
be8b11bb
AM
6491 functions to be run just before context (etc.) font locking.
6492
6493 * progmodes/cc-mode.el (c-extend-font-lock-region-for-macros):
b81d40f0 6494 New, functionality extracted from
be8b11bb 6495 c-neutralize-syntax-in-and-mark-CPP.
b81d40f0 6496 (c-in-after-change-fontification): New variable.
be8b11bb
AM
6497 (c-after-change): Set c-in-after-change-fontification.
6498 (c-set-fl-decl-start): Rejig its interface, so it can be called
6499 from both after-change and context fontifying.
b81d40f0
JB
6500 (c-change-set-fl-decl-start, c-context-set-fl-decl-start):
6501 New functions.
6502 (c-standard-font-lock-fontify-region-function): New variable.
6503 (c-font-lock-fontify-region): New function.
be8b11bb 6504
341cf6ac
JL
65052011-12-24 Juri Linkov <juri@jurta.org>
6506
6507 * window.el (window--state-get-1): Set `FORCE' arg of `mark' to t.
6508 (Bug#10348)
6509
bffcee0a
MA
65102011-12-23 Michael Albinus <michael.albinus@gmx.de>
6511
6512 * net/ange-ftp.el (ange-ftp-copy-file-internal): Check for
6513 existence of source file. (Bug#10325)
6514
cb5e207c
AM
65152011-12-23 Alan Mackenzie <acm@muc.de>
6516
6517 Fix unstable fontification inside templates.
6518
b81d40f0
JB
6519 * progmodes/cc-langs.el (c-before-font-lock-functions):
6520 Newly created from the singular version. The (c c++ objc) entry now
cb5e207c
AM
6521 additionally has c-set-fl-decl-start. The other languages (apart
6522 from AWK) have that as a single entry.
6523
b81d40f0
JB
6524 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
6525 The functionality for "local" declarations has been extracted to
cb5e207c
AM
6526 c-set-fl-decl-start.
6527
b81d40f0
JB
6528 * progmodes/cc-mode.el (c-common-init, c-after-change):
6529 Changes due to pluralisation of c-before-font-lock-functions.
cb5e207c
AM
6530 (c-set-fl-decl-start): New function, extracted from
6531 c-font-lock-enclosing-decls and enhanced.
6532
60ff536c
JB
65332011-12-23 Juanma Barranquero <lekktu@gmail.com>
6534
6535 * desktop.el (desktop-internal-v2s): Fix typos in docstring (bug#10353).
6536
1c4757d6
JL
65372011-12-22 Juri Linkov <juri@jurta.org>
6538
6539 * progmodes/grep.el (rgrep): Fix docstring. (Bug#10185)
6540
d031f2c7
CY
65412011-12-22 Chong Yidong <cyd@gnu.org>
6542
6543 * vc/vc-hooks.el (vc-keep-workfiles): Doc fix.
6544
bace743a
DA
65452011-12-21 Drew Adams <drew.adams@oracle.com>
6546
6547 * files.el (file-remote-p): Fix docstring. (Bug#10319)
6548
728a1f2b
JC
65492011-12-21 Jérémy Compostella <jeremy.compostella@gmail.com>
6550
6551 * battery.el (battery-linux-sysfs): Add missing parameters from acpi.
6552
0d373f73
TZ
65532011-12-21 Teodor Zlatanov <tzz@lifelogs.com>
6554
fec0aaa4
TZ
6555 * progmodes/cfengine.el: Add Version. Improve CFEngine 3.x syntax
6556 highlighting and support. Fix up comments for capitalization.
6557 (cfengine-mode-debug): New var.
6558 (cfengine3-mode): Change the modeline indicator to "CFE3".
6559 (cfengine3-font-lock-keywords): Improve defun highlighting.
6560 (cfengine2-actions): Rename from `cfengine-actions'.
6561 (cfengine2-font-lock-keywords): Rename from
6562 `cfengine-font-lock-keywords'.
6563 (cfengine2-imenu-expression): Rename from
6564 `cfengine-imenu-expression'.
6565 (cfengine2-outline-level): Rename from `cfengine-outline-level'.
6566 (cfengine2-beginning-of-defun): Rename from
6567 `cfengine-beginning-of-defun'.
6568 (cfengine2-end-of-defun): Rename from `cfengine-end-of-defun'.
6569 (cfengine2-indent-line): Rename from `cfengine-indent-line'.
6570 (cfengine2-mode): Rename from `cfengine-mode'. Change the
6571 modeline indicator to "CFE2".
6572 (cfengine-mode): Defalias to `cfengine-auto-mode'.
6573 (cfengine-mode-abbrevs): Mark obsolete.
0d373f73 6574
bc86f573
CY
65752011-12-21 Chong Yidong <cyd@gnu.org>
6576
6577 * vc/vc-bzr.el (vc-bzr-rename-file): Don't pass ~ to Bzr in
6578 filename argument.
6579
d45ba96b
MR
65802011-12-20 Martin Rudalics <rudalics@gmx.at>
6581
6582 * window.el (window-normalize-buffer-to-display): Remove.
6583 (display-buffer): Handle buffer-or-name argument as in Emacs 23.
6584
a6198c90
CY
65852011-12-19 Chong Yidong <cyd@gnu.org>
6586
6587 * vc/vc-dir.el (vc-dir-parent-marked-p, vc-dir-children-marked-p):
6588 Don't signal an error in a predicate function; return non-nil.
6589 (vc-dir-mark-file): Move the error here.
6590 (vc-dir-mark-unmark): If acting on the region, keep going if one
6591 of the entries cannot be marked/unmarked.
6592 (vc-dir-mark-all-files): If current entry is a directory, mark
6593 only child files, as documented.
6594
34c5fb55
VB
65952011-12-19 Vincent Belaïche <vincentb1@users.sourceforge.net>
6596
6597 * ses.el: Ooops... undo changes of 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net, as trunk
6598 branch is feature frozen, and 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net was a feature
6599 addition.
6600
c803b2b7
JD
66012011-12-18 Jan Djärv <jan.h.d@swipnet.se>
6602
6603 * term/ns-win.el (ns-get-selection-internal)
6604 (ns-store-selection-internal): Declare.
1154d12e
JB
6605 (ns-store-cut-buffer-internal, ns-get-cut-buffer-internal):
6606 Declare as obsolete.
6607 (ns-get-pasteboard, ns-paste-secondary):
6608 Use ns-get-selection-internal.
6609 (ns-set-pasteboard, ns-copy-including-secondary):
6610 Use ns-store-selection-internal.
c803b2b7 6611
9cff91f8 66122011-12-17 Chong Yidong <cyd@gnu.org>
99a289d9
CY
6613
6614 * vc/vc.el (vc-next-action): Doc fix; remove CVS-isms.
9cff91f8 6615 (vc-deduce-fileset): Doc fix.
99a289d9 6616
f16c898a
AS
66172011-12-16 Andreas Schwab <schwab@linux-m68k.org>
6618
6619 * calc/calc-misc.el (calc-help): Avoid wrapping help message.
6620
763237c4
SS
66212011-12-13 Sam Steingold <sds@gnu.org>
6622
6623 * man.el (Man-getpage-in-background): When running under a
6624 window-system, ignore $MANWIDTH and $COLUMNS.
6625
5fc1c122
KH
66262011-12-15 Kenichi Handa <handa@m17n.org>
6627
6628 * language/ethio-util.el: Change coding tag to utf-8-emacs.
6629 (setup-ethiopic-environment-internal): Comment out key-binding for
6630 ethio-toggle-punctuation.
6631
13d49cbb
AM
66322011-12-13 Alan Mackenzie <acm@muc.de>
6633
898169a2
AM
6634 Add the switch statement to AWK Mode.
6635
7a71b18d 6636 * progmodes/cc-awk.el (awk-font-lock-keywords): Add "switch", "case",
898169a2
AM
6637 "default" to the keywords regexp.
6638
7a71b18d 6639 * progmodes/cc-langs.el (c-label-kwds): Let AWK take the same
898169a2 6640 expression as the rest.
1d00653d
SM
6641 (c-nonlabel-token-key): Allow string literals for AWK.
6642 Refactor for the other modes.
898169a2 6643
13d49cbb 6644 Large brace-block initialisation makes CC Mode slow: Fix.
1d00653d 6645 Tidy up and accelerate c-in-literal, etc. by using the c-parse-state
13d49cbb
AM
6646 routines. Limit backward searching in c-font-lock-enclosing.decl.
6647
6648 * progmodes/cc-engine.el (c-state-pp-to-literal): Return the
6649 pp-state and literal type in addition to the limits.
1d00653d 6650 (c-state-safe-place): New defun, extracted from c-state-literal-at.
13d49cbb 6651 (c-state-literal-at): Use the above new defun.
1d00653d
SM
6652 (c-slow-in-literal, c-fast-in-literal): Remove.
6653 (c-in-literal, c-literal-limits): Amend to use c-state-pp-to-literal.
13d49cbb
AM
6654
6655 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls): Check for
6656 being in a literal. Add a limit for backward searching.
6657
6658 * progmodes/cc-mode.el (awk-mode): Don't alias c-in-literal to
6659 c-slow-in-literal.
6660
15e0efc7
SM
66612011-12-13 Stefan Monnier <monnier@iro.umontreal.ca>
6662
6663 * progmodes/pascal.el: Declare `ind' as dyn-bound (bug#10264).
6664
454592a6
MR
66652011-12-13 Martin Rudalics <rudalics@gmx.at>
6666
6667 * window.el (delete-other-windows): Use correct frame in call to
6668 window-with-parameter.
6669
87393f26
DP
66702011-12-12 Daniel Pfeiffer <occitan@t-online.de>
6671
6672 * progmodes/make-mode.el: Bring it up to date with makepp V2.0.
6673 (makefile-make-font-lock-keywords): Extend meaning of `keywords'.
6674 (makefile-gmake-statements, makefile-makepp-statements):
6675 Use it and add new makepp keywords.
6676 (makefile-makepp-font-lock-keywords): Add new patterns.
6677 (makefile-match-function-end): Match new [...] and [[...]].
6678
11636b22
JB
66792011-12-11 Juanma Barranquero <lekktu@gmail.com>
6680
6681 * ses.el (ses-call-printer-return, ses-cell-property-get)
6682 (ses-sym-rowcol, ses-printer-validate, ses-formula-record)
6683 (ses-create-cell-variable, ses-reset-header-string)
6684 (ses-cell-set-formula, ses-repair-cell-reference-all)
6685 (ses-self-reference-early-detection, ses-in-print-area, ses-set-curcell)
6686 (ses-check-curcell, ses-call-printer, ses-adjust-print-width)
6687 (ses-print-cell-new-width, ses-formula-references, ses-relocate-formula)
6688 (ses-aset-with-undo, ses-load, ses-truncate-cell)
6689 (ses-read-column-printer, ses-read-default-printer, ses-insert-row)
6690 (ses-delete-row, ses-delete-column, ses-append-row-jump-first-column)
6691 (ses-kill-override, ses-yank-pop, ses-yank-cells, ses-yank-tsf)
6692 (ses-yank-resize, ses-export-tab, ses-mark-row, ses-mark-column)
6693 (ses-renarrow-buffer, ses-insert-range, ses-insert-ses-range)
6694 (ses-safe-printer, ses-safe-formula, ses-warn-unsafe, ses--clean-!)
6695 (ses--clean-_, ses-range, ses-select, ses-center, ses-center-span)
6696 (ses-dashfill, ses-unsafe): Fix typos and reflow docstrings.
6697
cf018193
VB
66982011-12-11 Vincent Belaïche <vincentb1@users.sourceforge.net>
6699
6700 * ses.el: The overall change is to add cell renaming, that is
6701 setting fancy names for cell symbols other than name matching
6702 "\\`[A-Z]+[0-9]+\\'" regexp .
6703 (ses-create-cell-variable): New defun.
6704 (ses-relocate-formula): Relocate formulas only for cells the
6705 symbols of which are not renamed, i.e. symbols whose names do not
6706 match regexp "\\`[A-Z]+[0-9]+\\'".
6707 (ses-relocate-all): Relocate values only for cells the symbols of
6708 which are not renamed.
6709 (ses-load): Create cells variables as the (ses-cell ...) are read,
6710 in order to check row col consistency with cell symbol name only
6711 for cells that are not renamed.
6712 (ses-replace-name-in-formula): New defun.
6713 (ses-rename-cell): New defun.
6714
ee957461
CY
67152011-12-11 Chong Yidong <cyd@gnu.org>
6716
6717 * progmodes/gdb-mi.el (gdb): Set comint-prompt-regexp, required
6718 for completion via gud-gdb-fetch-lines-filter (Bug#10274).
6719
9a9e9ef0
MR
67202011-12-11 Eric Hanchrow <eric.hanchrow@gmail.com>
6721
6722 * window.el (other-window): Fix docstring.
6723
92a8eba5
EZ
67242011-12-10 Eli Zaretskii <eliz@gnu.org>
6725
6726 * mail/rmailsum.el (rmail-header-summary): RFC2047 decode the
1d00653d
SM
6727 `from' or `to' address before taking its substring.
6728 Fixes incorrect display in Rmail summary buffer whereby an RFC2047
92a8eba5
EZ
6729 encoded name is chopped in the middle of the encoded string, and
6730 thus displayed encoded.
6731
e152e577
JB
67322011-12-10 Juanma Barranquero <lekktu@gmail.com>
6733
6734 * makefile.w32-in (update-subdirs-CMD): Use a Local Variables section.
6735
e5d84bfe
EZ
67362011-12-10 Eli Zaretskii <eliz@gnu.org>
6737
6738 * textmodes/texnfo-upd.el: Update commentary. Add a warning not
6739 to use texinfo-update-node and commands that call it if the
6740 Texinfo file uses @node lines without next/prev/up pointers.
b8830d28 6741 Correct outdated description about texinfo-master-menu.
e5d84bfe
EZ
6742 (texinfo-all-menus-update, texinfo-master-menu)
6743 (texinfo-update-node, texinfo-every-node-update)
6744 (texinfo-multiple-files-update): Doc fix. Warn against updating
6745 all the @node lines.
6746 (texinfo-master-menu): Only call texinfo-update-node if the prefix
b8830d28
EZ
6747 argument is numeric. Explain better in the doc string what the
6748 function really does.
6749 (texinfo-insert-master-menu-list): Improve the error message
6750 displayed if there's no menu in the Top node.
6751 (Bug#2975) See also this thread:
e5d84bfe
EZ
6752 http://lists.gnu.org/archive/html/emacs-devel/2011-12/msg00156.html.
6753
1d84e9bb
MG
67542011-12-09 Manuel Gómez <mgrojo@gmail.com> (tiny change)
6755
6756 * speedbar.el (speedbar-supported-extension-expressions):
6757 Add .adb and .ads, commonly used for Ada source code (bug#10256).
6758
382c953b
JB
67592011-12-09 Juanma Barranquero <lekktu@gmail.com>
6760
6761 * printing.el (pr-mode-alist):
6762 * simple.el (filter-buffer-substring-functions)
6763 (completion-list-insert-choice-function):
6764 * window.el (window-with-parameter, window-atom-root)
6765 (window-sides-slots, window-size-fixed, window-min-delta)
6766 (window-max-delta, window--resize-mini-window)
6767 (window--resize-child-windows-normal, window-tree)
6768 (delete-other-windows, quit-window, split-window)
6769 (display-buffer-record-window, special-display-buffer-names)
6770 (special-display-regexps, special-display-popup-frame)
6771 (same-window-p, split-window-sensibly)
6772 (display-buffer-overriding-action, display-buffer-alist)
6773 (display-buffer-base-action, display-buffer, switch-to-buffer)
6774 (switch-to-buffer-other-window, switch-to-buffer-other-frame)
6775 (fit-window-to-buffer, recenter-positions)
6776 (mouse-autoselect-window-state, mouse-autoselect-window-select):
6777 * emacs-lisp/syntax.el (syntax-propertize-function): Fix typos
6778 and remove unneeded backslashes in docstrings.
6779
39c9faef
SM
67802011-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
6781
98449af8
SM
6782 * emacs-lisp/lisp-mode.el (defmethod): Add doc-string-elt (bug#10244).
6783
39c9faef
SM
6784 * pcmpl-gnu.el: Don't fail when there is no Makefile nor -f arg.
6785 (pcmpl-gnu-makefile-regexps): Accept "makefile" as well as files that
6786 end in ".mk".
6787 (pcmpl-gnu-make-rule-names): Check "makefile" and ignore errors
6788 when reading the makefile (bug#10116).
6789
86ed9fdc
SM
67902011-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
6791
6792 * pcmpl-gnu.el (pcomplete/make): Also allow filename arguments
6793 (bug#10116).
6794
5580f89d
GM
67952011-12-06 Glenn Morris <rgm@gnu.org>
6796
6797 * emacs-lisp/package.el (package-archives): Doc fix re riskiness.
6798
28d3917c
CY
67992011-12-06 Chong Yidong <cyd@gnu.org>
6800
6801 * progmodes/cc-fonts.el (c-annotation-face): Use defface.
6802
a98edce9
JB
68032011-12-06 Juanma Barranquero <lekktu@gmail.com>
6804
6805 * textmodes/table.el (table-shorten-cell): Fix typo.
6806
e65adfac
CG
68072011-12-05 Christopher Genovese <genovese.cr@gmail.com> (tiny change)
6808
6809 * emacs-lisp/assoc.el (aput): Fix return value (bug#10146)
6810
71cc0b74
EZ
68112011-12-05 Eli Zaretskii <eliz@gnu.org>
6812
6813 * descr-text.el (describe-char): Fix display of strong
6814 right-to-left characters and directional embeddings and overrides.
6815
6816 * simple.el (what-cursor-position): Fix display of codepoints of
6817 strong right-to-left characters.
6818
315bc30d
CY
68192011-12-05 Chong Yidong <cyd@gnu.org>
6820
6821 * faces.el (read-color): Doc fix.
6822
58a70b94
GM
68232011-12-05 Glenn Morris <rgm@gnu.org>
6824
6825 * align.el (align--set-marker): Add doc-string.
6826 Don't try to move something that is not a marker. (Bug#10216)
6827
5158face
GM
68282011-12-04 Glenn Morris <rgm@gnu.org>
6829
6830 * calendar/appt.el (appt-add): Rewrite the interactive-spec to avoid
6831 overly zealous deletion of trailing whitespace.
6832
520fca41
JB
68332011-12-04 Juanma Barranquero <lekktu@gmail.com>
6834
6835 * server.el (server-delete-client): On Windows, do not try to delete
6836 the only terminal.
6837 (server-process-filter): On Windows, treat requests for a tty frame as
6838 if they were for a GUI frame if the running server is in GUI mode.
6839
5e605a2e
GM
68402011-12-03 Glenn Morris <rgm@gnu.org>
6841
6842 * textmodes/texinfmt.el (batch-texinfo-format): Doc fix. (Bug#10207)
6843
5c3fe83f
SM
68442011-12-03 Stefan Monnier <monnier@iro.umontreal.ca>
6845
6f5e57e7
SM
6846 * electric.el: Streamline electric-indent's hook.
6847 (electric-indent-chars): Revert to simple list.
6848 (electric-indent-functions): New var.
6849 (electric-indent-post-self-insert-function): Use it.
6850
5c3fe83f
SM
6851 * progmodes/prolog.el (prolog-find-value-by-system): Avoid error when
6852 there's no inferior buffer (bug#10196).
6853 (prolog-consult-compile): Don't use toggle-read-only.
6854
6bdac736
MA
68552011-12-02 Michael Albinus <michael.albinus@gmx.de>
6856
6857 * net/tramp-sh.el (tramp-maybe-open-connection): Handle user
6858 interrupt. (Bug#10187)
6859
6131ba7f
SM
68602011-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
6861
99c79fee
SM
6862 * pcmpl-gnu.el (pcomplete/tar): large-file-warn-threshold can be nil
6863 (bug#9160).
6864
6131ba7f
SM
6865 * dired-aux.el (dired-query): Don't assume help-char is modifier-free
6866 (bug#10191).
6867
cb0a02ea
JL
68682011-12-02 Juri Linkov <juri@jurta.org>
6869
6870 * info.el (Info-search): Display "end of manual" when Isearch
6871 reaches the end of single-file Info manual. (Bug#9918)
6872
66e0570c
EZ
68732011-12-02 Eli Zaretskii <eliz@gnu.org>
6874
6875 * isearch.el (isearch-message-prefix): Run the input method part
6876 of the prompt through bidi-string-mark-left-to-right. (Bug#10183)
6877
02b16839
JL
68782011-12-02 Juri Linkov <juri@jurta.org>
6879
6880 * isearch.el (isearch-occur): Use `word-search-regexp' for
6881 `isearch-word'.
6882 (isearch-search-and-update): Add condition for `isearch-word' and
6883 call `word-search-regexp'. (Bug#10145)
6884
0b950688
GM
68852011-12-01 Glenn Morris <rgm@gnu.org>
6886
6887 * eshell/em-hist.el (eshell-hist-initialize):
6888 Handle eshell-history-size nil and HISTSIZE set or unset.
e8087a76 6889 (eshell-history-file-name, eshell-history-size): Fix custom type.
0b950688 6890
9505c3c7
SM
68912011-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
6892
6893 * man.el (Man-completion-table): Fix the lambda case (bug#10168).
6894
1bbe96b2 68952011-12-01 Michael McNamara <mac@mail.brushroad.com>
6288f0ca 6896
a1beca85
SM
6897 * progmodes/verilog-mode.el (verilog-pretty-expr):
6898 Rework verilog-pretty-expr to handle new assignment operators in system
6288f0ca
WS
6899 verilog, such as += *= and the like.
6900 (verilog-assignment-operator-re): Regular expression to find the
6901 assigment operator in a verilog assignment.
6902 (verilog-assignment-operation-re): Regular expression to find an
6903 assignment statement for pretty-expr.
6904 (verilog-in-attribute-p): Query returns true if point is in an
6905 attribute context; used to skip these for expression line up from
6906 pretty-expr.
6907 (verilog-in-parameter-p): Query returns true if point is in an
6908 parameter definition context; used to skip these for expression
6909 line up from pretty-expr.
6910 (verilog-in-parenthesis-p): Query returns true if point is in a
6911 parenthetical expression, specifically ( ) but not [ ] or { };
6912 used by pretty-expr.
6913 (verilog-just-one-space): If there is no space, don't add one.
6914 (verilog-get-lineup-indent-2): Specifically skip just attribute
6915 contexts for expression lineup, rather than skipping all
6916 parenthetical expressions.
6917 (verilog-calculate-indent): Fix comment, and fix indent.
6918 (verilog-do-indent): Indent declarations in lists (suggested by
6919 Joachim Lechner).
6920 (verilog-mode-abbrev-table): Populate abbrev mode with the various
6921 skeleton items.
6922 (verilog-sk-ovm-class): Add skeleton for OVM classes (reported
6923 by Alain Mellan).
6924
1bbe96b2 69252011-12-01 Wilson Snyder <wsnyder@wsnyder.org>
6288f0ca
WS
6926
6927 * progmodes/verilog-mode.el (verilog-read-defines): Fix reading
6928 parameters with embedded comments. Reported by Ray Stevens.
6929 (verilog-calc-1, verilog-fork-wait-re) (verilog-forward-sexp,
6930 verilog-wait-fork-re): Fix indentation of "wait fork", bug407.
6931 Reported by Tim Holt.
6932 (verilog-auto): Fix AUTOing a upper module then AUTOing module
6933 instantiated by upper module causing wrong expansion until AUTOed a
6934 second time. Reported by K C Buckenmaier.
6935 (verilog-diff-auto): Fix showing .* as a difference when
6936 `verilog-auto-star-save' off. Reported by Dan Dever.
6937 (verilog-auto-reset, verilog-read-always-signals)
6938 (verilog-auto-reset-blocking-in-non): Fix AUTORESET including
6939 temporary signals in reset list if
6940 verilog-auto-reset-blocking-in-non is nil, and match assignment
a1beca85
SM
6941 style to each signal's assignment type, bug381.
6942 Reported by Thomas Esposito.
6288f0ca
WS
6943 (verilog-sk-uvm-class, verilog-uvm-begin-re, verilog-uvm-end-re)
6944 (verilog-uvm-statement-re): Support UVM indentation and
6945 highlighting, with old OVM keywords only.
a1beca85 6946 (verilog-auto-tieoff, verilog-auto-tieoff-declaration):
1d00653d
SM
6947 Support AUTOTIEOFF creating non-wire data types.
6948 Suggested by Jonathan Greenlaw.
6288f0ca
WS
6949 (verilog-auto-insert-lisp, verilog-delete-to-paren)
6950 (verilog-forward-sexp-cmt, verilog-forward-sexp-ign-cmt)
6951 (verilog-inject-sense, verilog-read-inst-pins)
a1beca85
SM
6952 (verilog-read-sub-decls, verilog-read-sub-decls-line):
6953 Fix mismatching parenthesis inside commented out code when deleting
382c953b 6954 AUTOINST, bug383. Reported by Jonathan Greenlaw.
6288f0ca
WS
6955 (verilog-auto-ascii-enum): Fix AUTOASCIIENUM one-hot with
6956 non-numeric vector width. Reported by Alex Reed.
6957 (verilog-auto-ascii-enum): Add "onehot" option to work around not
382c953b 6958 detecting signals with parameter widths. Reported by Alex Reed.
a1beca85
SM
6959 (verilog-auto-delete-trailing-whitespace):
6960 With `verilog-auto-delete-trailing-whitespace' remove trailing
6288f0ca
WS
6961 whitespace in auto expansion, bug371. Reported by Brad Dobbie.
6962 (verilog-run-hooks, verilog-scan-cache-flush, verilog-syntax-ppss):
6963 Fix verilog-scan-cache corruption when running user AUTO expansion
6964 hooks that call indentation routines.
6965 (verilog-simplify-range-expression): Fix typo ignoring lower case
6966 identifiers.
6967 (verilog-delete-auto): Fix delete-autos to also remove user created
6968 automatics, as long as they start with AUTO.
6969 (verilog-batch-diff-auto, verilog-diff-auto)
6970 (verilog-diff-function): Add `verilog-diff-auto' and bind to
6971 "C-c?" to report differences in AUTO expansion, ignoring spaces.
6972 (verilog-backward-syntactic-ws-quick, verilog-beg-of-defun-quick)
6973 (verilog-in-paren-quick, verilog-re-search-backward-quick)
a1beca85
SM
6974 (verilog-re-search-forward-quick, verilog-syntax-ppss):
6975 Fix calling `syntax-ppss' when inside auto expansions as the ppss hook
6288f0ca
WS
6976 is disabled and its cache will get corrupt, causing AUTOS not to
6977 expand. Instead use only -quick functions.
6978 (verilog-scan-region): Fix scanning over escaped quotes.
6979 (verilog-inside-comment-or-string-p, verilog-inside-comment-p)
6980 (verilog-re-search-backward-quick)
6981 (verilog-re-search-forward-quick, verilog-scan): verilog-scan and
6982 related functions now ignore strings, to fix misparsing of strings
6983 with magic comments embedded in them.
a1beca85
SM
6984 (verilog-read-auto-template):
6985 Fix 'verilog-auto-inst-template-numbers' with extra newline before (.
6986 Reported by Brad Dobbie.
6987 (verilog-read-auto-template):
6988 Fix 'verilog-auto-inst-template-numbers' with comments.
6288f0ca 6989 Reported by Brad Dobbie.
6288f0ca
WS
6990 (verilog-auto-inst, verilog-auto-inst-param)
6991 (verilog-auto-inst-sort): Add 'verilog-auto-inst-sort' to reduce
6992 merge conflicts with AUTOINST, bug358. Reported by Brad Dobbie.
6993 (verilog-auto-inst-template-numbers): Add 'lhs' policy for
a1beca85
SM
6994 debugging templates without merge conflicts, bug357.
6995 Reported by Brad Dobbie.
6996 (verilog-read-auto-template):
6997 Fix verilog-auto-inst-template-numbers with multiple templates.
6288f0ca
WS
6998 Reported by Brad Dobbie.
6999 (verilog-define-abbrev): Fix verilog-mode abbrevs to be system
7000 abbrevs so user won't be asked to save.
7001 (verilog-read-auto-lisp-present): Fix to start at beginning of
7002 buffer in case called outside of verilog-auto.
7003 (verilog-simplify-range-expression): Fix AUTOWIRE expanding "X-1+1"
7004 to "X-2". Reported by Matthew Myers.
7005 (verilog-auto, verilog-auto-inout-in): Add AUTOINOUTIN for creating
7006 all inputs from module templates. Reported by Leith Johnson.
7007 (verilog-module-inside-filename-p): Fix locating programs as with
7008 modules.
7009 (verilog-auto-inst-port): Fix vl-width expressions when using
7010 verilog-auto-inst-param-value, bug331. Reported by Julian Gorfajn.
7011 (verilog-decls-get-regs, verilog-decls-get-signals,
7012 verilog-decls-get-vars, verilog-decls-get-wires, verilog-decls-new,
7013 verilog-modi-cache-add-vars, verilog-modi-cache-add-wires,
7014 verilog-read-decls): Combine reg and wire structures into one var
7015 structure to represent SystemVerilog concepts.
7016 (verilog-auto-ascii-enum, verilog-auto-logic, verilog-auto-reg)
7017 (verilog-auto-reg-input, verilog-auto-tieoff, verilog-auto-wire)
a1beca85
SM
7018 (verilog-auto-wire-type, verilog-insert-definition):
7019 Add verilog-auto-wire-type and AUTOLOGIC to support using
6288f0ca
WS
7020 SystemVerilog "logic" keyword instead of "wire"/"reg".
7021 (verilog-auto-reg-input, verilog-decls-get-signals): Fix AUTOWIRE
7022 to declares outputs that also have assignments (presumably in an
a1beca85
SM
7023 ifdef or generate if so there's not a driver conflict).
7024 Reported by Matthew Myers.
7025 (verilog-auto-declare-nettype, verilog-insert-definition):
7026 Add verilog-auto-declare-nettype to fix declarations using
6288f0ca
WS
7027 `default_nettype none. Reported by Julian Gorfajn.
7028 (verilog-read-always-signals-recurse, verilog-read-decls)
7029 (verilog-read-sub-decls-gate): Fix infinite loop with (*) and
7030 malformed end statement, bug325. Reported by Joshua Wise and
7031 Andrew Drake.
7032 (verilog-auto-star-safe, verilog-delete-auto-star-implicit)
7033 (verilog-inst-comment-re): Fix not deleting Interfaced comment
1d00653d
SM
7034 when expanding .* in interfaces, bug320.
7035 Reported by Pierre-David Pfister.
6288f0ca 7036 (verilog-read-module-name): Fix import statements between module
1d00653d
SM
7037 name and open parenthesis, bug317.
7038 Reported by Pierre-David Pfister.
6288f0ca
WS
7039 (verilog-simplify-range-expression): Fix simplification of
7040 multiplications inside AUTOWIRE connections, bug303.
7041 (verilog-auto-inst-port): Support parameter expansion in
7042 multidimensional arrays.
7043 (verilog-read-decls): Fix AUTOREG etc looking for "endproperty"
7044 after "assert property". Reported by Julian Gorfajn.
7045 (verilog-simplify-range-expression): Fix "couldn't merge" errors
7046 with multiplication, bug303.
7047 (verilog-read-decls): Fix parsing of unsigned data types, bug302.
7048 Reported by Jan Frode Lonnum.
7049
1bbe96b2
GM
70502011-11-30 Juanma Barranquero <lekktu@gmail.com>
7051
7052 * htmlfontify.el (hfy-page-header, hfy-post-html-hooks)
7053 (hfy-shell-file-name, hfy-shell):
7054 * international/fontset.el (x-decompose-font-name): Fix typos.
7055
70562011-11-29 Ken Brown <kbrown@cornell.edu>
7057
7058 * progmodes/gdb-mi.el: Fix bug#9853, bug#9858, and bug#9878.
7059 (gdb-version): Remove defvar.
7060 (gdb-supports-non-stop): New defvar, replacing `gdb-version'.
7061 (gdb-gud-context-command, gdb-non-stop-handler)
7062 (gdb-current-context-command, gdb-stopped): Use it.
7063 (gdb-init-1): Enable pretty printing here.
6131ba7f
SM
7064 (gdb-non-stop-handler): Don't enable pretty-printing here.
7065 Check to see if the target supports non-stop mode; if not, turn off
1bbe96b2
GM
7066 non-stop mode. Use the following.
7067 (gdb-check-target-async): New defun.
7068 (gud-watch, gdb-stopped): Fix whitespace.
7069 (gdb-get-source-file): Don't try to display the source file if
7070 `gdb-main-file' is nil.
7071
70722011-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
7073
7074 * align.el: Try to generate fewer markers (bug#10047).
7075 (align--set-marker): New macro.
7076 (align-region): Use it.
7077
c935221f
SM
70782011-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
7079
7080 * isearch.el (isearch-yank-x-selection): Deactivate mark (bug#10022).
7081
e70b5064
CY
70822011-11-29 Chong Yidong <cyd@gnu.org>
7083
7084 * indent.el (indent-for-tab-command, indent-according-to-mode):
7085 Doc fix.
7086 (indent-region): Doc fix. Switch nested ifs to equivalent cond.
7087
f3af92b7
MA
70882011-11-29 Michael Albinus <michael.albinus@gmx.de>
7089
7090 * vc/diff-mode.el (diff-find-file-name): Make `read-file-name'
7091 aware of remote file names. (Bug#10124)
7092
ed472be9
CY
70932011-11-29 Chong Yidong <cyd@gnu.org>
7094
7095 * frame.el (auto-raise-mode, auto-lower-mode): Doc fix.
7096
24510c22
SM
70972011-11-28 Stefan Monnier <monnier@iro.umontreal.ca>
7098
7099 * files.el (find-file): Don't use force-same-window (bug#10144).
7100 * window.el (switch-to-buffer): Better match Emacs-23 behavior and only
7101 use pop-to-buffer if the selected window can't be used.
7102 (pop-to-buffer-same-window): Use display-buffer--same-window-action.
7103
c60c3703
EZ
71042011-11-28 Eli Zaretskii <eliz@gnu.org>
7105
7106 * vc/diff-mode.el (diff-mode-map): Don't inherit 'z' => 'M-z' from
7107 special-mode-map.
7108
e95def75
CY
71092011-11-28 Chong Yidong <cyd@gnu.org>
7110
7111 * emacs-lisp/easy-mmode.el (define-minor-mode): Fix default doc.
7112
c3f1c606
NR
71132011-11-27 Nick Roberts <nickrob@snap.net.nz>
7114
7115 * progmodes/gdb-mi.el (gdb-init-1): Condition execution of
7116 gdb-get-source-file-list on gdb-create-source-file-list.
7117
00db469c
EZ
71182011-11-26 Eli Zaretskii <eliz@gnu.org>
7119
7120 * whitespace.el (whitespace-newline): Use a different foreground
7121 color for 16-color light-background displays.
7122
4ad3bc2a
CY
71232011-11-24 Chong Yidong <cyd@gnu.org>
7124
7125 * window.el (display-buffer--special-action): Doc fix.
7126
e9fce1ac
JB
71272011-11-25 Juanma Barranquero <lekktu@gmail.com>
7128
7129 * emacs-lisp/avl-tree.el (avl-tree--do-copy, avl-tree-create)
7130 (avl-tree-compare-function, avl-tree-empty, avl-tree-enter)
7131 (avl-tree-delete, avl-tree-member, avl-tree-member-p, avl-tree-map)
7132 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar, avl-tree-copy)
7133 (avl-tree-clear, avl-tree-stack, avl-tree-stack-pop)
7134 (avl-tree-stack-first):
7135 * emacs-lisp/cconv.el (cconv--analyse-use):
7136 * net/gnutls.el (gnutls-negotiate): Fix typos.
7137
cb825e5d
GM
71382011-11-24 Glenn Morris <rgm@gnu.org>
7139
3adbe224
GM
7140 * lpr.el (lpr-windows-system, lpr-lp-system):
7141 * mail/binhex.el (binhex-begin-line):
7142 * progmodes/grep.el (grep-history, grep-find-history):
7143 * textmodes/flyspell.el:
7144 * vc/pcvs-defs.el (cvs-global-menu):
7145 * vc/vc-bzr.el (vc-bzr-admin-checkout-format-file):
7146 * vc/vc-mtn.el (vc-mtn-admin-dir, vc-mtn-admin-format):
7147 * vc/vc-cvs.el (vc-cvs-registered): Give them basic doc-strings.
7148
321decc8
GM
7149 * net/tls.el: Fix case of "GnuTLS".
7150
420b63ad
GM
7151 * paths.el (rmail-file-name): Format doc-string for make-docfile.
7152
cb825e5d
GM
7153 * version.el (emacs-build-system): Give it a doc-string.
7154
a0649f08
JL
71552011-11-24 Juri Linkov <juri@jurta.org>
7156
7157 * view.el (view-buffer): Revert 2011-07-19T15:01:49Z!larsi@gnus.org from 2011-07-19 (bug#8615).
7158
c0bc0fd4
GM
71592011-11-24 Glenn Morris <rgm@gnu.org>
7160
7161 * mail/rmailmm.el (rmail-mime): When rmail-enable-mime is non-nil,
7162 if called on a non-mime message just toggle the headers. (Bug#8006)
7163
20db1522
JB
71642011-11-24 Juanma Barranquero <lekktu@gmail.com>
7165
7166 * allout.el (allout-setup, allout-auto-save-temporarily-disabled)
7167 (allout-lead-with-comment-string, allout-structure-deleted-hook)
7168 (allout-mode, allout-chart-subtree, allout-hotspot-key-handler)
7169 (allout-rebullet-heading, allout-open-sibtopic)
7170 (allout-toggle-current-subtree-encryption)
7171 (allout-toggle-subtree-encryption, allout-encrypt-string)
7172 (allout-next-topic-pending-encryption, allout-adjust-file-variable)
7173 (allout-distinctive-bullets-string, allout-auto-activation):
7174 * window.el (window-normalize-buffer-to-display):
7175 * progmodes/verilog-mode.el (verilog-batch-indent):
7176 * textmodes/bibtex.el (bibtex-field-braces-opt)
7177 (bibtex-field-strings-opt):
7178 * vc/cvs-status.el (cvs-tree-merge):
7179 Fix typos.
7180
7262a87c
MA
71812011-11-23 Michael Albinus <michael.albinus@gmx.de>
7182
7183 * rfn-eshadow.el (rfn-eshadow-update-overlay): Let-bind
7184 `non-essential' to t, in order to avoid remote connections.
7185
283430a1
EZ
71862011-11-23 Eli Zaretskii <eliz@gnu.org>
7187
a1beca85
SM
7188 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
7189 On MS-DOS and MS-Windows, compare with loaddefs.el
283430a1
EZ
7190 case-insensitively.
7191
d2992a38
ML
71922011-11-23 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
7193
7194 * mail/unrmail.el (unrmail): Always add blank line. (Bug#7743)
7195
50419064
GM
71962011-11-23 Glenn Morris <rgm@gnu.org>
7197
da94eca1
GM
7198 * paths.el (rmail-file-name): Reformat the doc-string so that it
7199 is picked up.
7200
9aac4de2
GM
7201 * mail/rmail.el (rmail-message-filter, rmail-auto-file): Doc fixes.
7202 (rmail-auto-file): Ignore case in the "special" field names,
7203 as mail-fetch-field does for all others.
7204
8038d2d2
GM
7205 * mail/rmail.el (rmail-forward):
7206 * mail/rmailkwd.el (rmail-set-label):
7207 * mail/rmailout.el (rmail-output, rmail-output-as-seen)
7208 (rmail-output-body-to-file): Give error if no message. (Bug#10082)
7209
f3fe222a
GM
7210 * mail/rmail.el (rmail-current-message): Doc fix.
7211
50419064
GM
7212 * mail/rmail.el (rmail-message-filter): Mark as obsolete. (Bug#2624)
7213
28109f49
SM
72142011-11-22 Stefan Monnier <monnier@iro.umontreal.ca>
7215
7216 * server.el (server-eval-and-print): Allow C-g (bug#6585).
7217
394c65f1
GM
72182011-11-22 Glenn Morris <rgm@gnu.org>
7219
7220 * mail/rmailmm.el (test-rmail-mime-handler)
7221 (test-rmail-mime-bulk-handler)
7222 (test-rmail-mime-multipart-handler): Move tests to test/ directory.
7223
f2a0aa3a
JL
72242011-11-21 Juri Linkov <juri@jurta.org>
7225
1154d12e
JB
7226 * calc/calc.el (calc-read-key-sequence):
7227 Let-bind `input-method-function' to nil. (Bug#10018)
f2a0aa3a 7228
9c34a344
LMI
72292011-11-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
7230
7231 * emacs-lisp/cl-indent.el (common-lisp-loop-part-indentation):
7232 Tell the caller that the next line needs recomputation, even
7233 though it doesn't start a sexp (bug#10094).
7234
f04a3be9
SM
72352011-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
7236
7237 * emacs-lisp/autoload.el (autoload-generate-file-autoloads): Simplify.
7238
7978747f
SM
72392011-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
7240
f04a3be9
SM
7241 * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
7242 Use force-same-window.
7978747f 7243
fe7a3057
JB
72442011-11-20 Juanma Barranquero <lekktu@gmail.com>
7245
7246 * descr-text.el (describe-char-unicode-data):
7247 * json.el (json-string-escape):
7248 * mail/footnote.el (footnote-unicode-string, footnote-unicode-regexp)
7249 (Footnote-unicode, Footnote-style-p):
7250 * net/ntlm.el (ntlm-get-password-hashes): Fix typos.
7251
24901d61
CY
72522011-11-20 Chong Yidong <cyd@gnu.org>
7253
7254 * window.el (replace-buffer-in-windows): Restore interactive spec.
7255
bac7ff22
SM
72562011-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
7257
24f3d7b9
SM
7258 * electric.el (electric-indent-mode): Fix last change (too optimistic).
7259
bac7ff22
SM
7260 * emacs-lisp/bytecomp.el: Silence obsolete warnings more reliably.
7261 (byte-compile-global-not-obsolete-vars): New var.
7262 (byte-compile-check-variable, byte-compile-make-obsolete-variable):
7263 Use it.
7264 (byte-compile-warn-obsolete): Align text with the one in *Help*.
7265
cd1181db
JB
72662011-11-20 Juanma Barranquero <lekktu@gmail.com>
7267
7268 * progmodes/cwarn.el (cwarn-is-enabled, cwarn-font-lock-keywords):
7269 * progmodes/pascal.el (electric-pascal-equal):
7270 * textmodes/reftex-dcr.el (reftex-view-crossref-from-bibtex):
7271 * xml.el (xml-substitute-special): Fix typos.
7272
7fb18e9e
GM
72732011-11-20 Glenn Morris <rgm@gnu.org>
7274
7275 * mail/rmail.el (rmail-enable-mime-composing): Make it a defcustom.
7276 (rmail-insert-mime-forwarded-message-function, rmail-mime-feature):
7277 Doc fixes.
7278 (rmail-decode-mime-charset): Mark as obsolete.
7279
7280 * mail/rmailsum.el (rmail-message-regexp-p-1):
7281 * mail/rmail.el (rmail-search-message, rmail-forward, rmail-resend):
7282 Before using mime functions, check they are set. (Bug#10077)
7283
d5a6b3ba
JL
72842011-11-19 Juri Linkov <juri@jurta.org>
7285
7286 * info.el (Info-finder-find-node): Use `package--builtins' instead
7287 of `package-alist'. Use node names formed by the pattern "Keyword "
7288 and the keyword name.
7289
e981b61f
AS
72902011-11-19 Andreas Schwab <schwab@linux-m68k.org>
7291
1d00653d 7292 * progmodes/sh-script.el (sh-assignment-regexp): Add entry for bash.
e981b61f 7293
3ffbc301
JL
72942011-11-19 Juri Linkov <juri@jurta.org>
7295
7296 * info.el (Info-hide-note-references): Add `:set' tag to `defcustom'
7297 that calls `revert-buffer' on all Info buffers. (Bug#9915)
7298 (Info-revert-find-node): Remove let-bindings `old-buffer-name',
7299 `old-history', `old-history-forward'. Add let-binding
7300 `window-selected'. Remove calls to `kill-buffer',
7301 `switch-to-buffer' and `Info-mode'. Set `Info-current-file' to nil
7302 before calling `Info-find-node', so `Info-find-node-2' will reread
7303 the Info file. Restore window positions only when `window-selected'
7304 is non-nil.
7305
30c62133
JL
73062011-11-19 Juri Linkov <juri@jurta.org>
7307
7308 * isearch.el (isearch-lazy-highlight-new-loop):
7309 Remove condition `(not isearch-error)'. (Bug#9918)
7310
7311 * misearch.el (multi-isearch-search-fun): Add condition
7312 `(not bound)' to ignore lazy-highlighting search.
7313 Add the search-failed message "end of multi" when the end of
7314 multi-sequence is reached. Uncapitalize the search-failed
7315 message "Repeat for next buffer".
7316
7317 * info.el (Info-search): Add the search-failed message
7318 "end of the manual" when the end of the manual is reached
7319 in Isearch mode.
7320
645ca9cf
JL
73212011-11-19 Juri Linkov <juri@jurta.org>
7322
7323 * info.el (Info-find-node-2, Info-select-node, Info-history-find-node):
7324 Use non-destructive `remove' instead of `delete' because
7325 `Info-history-list' stored to `Info-isearch-initial-history-list' in
7326 `Info-isearch-start' might need to be restored in `Info-isearch-end'.
7327
df754f66
JL
73282011-11-19 Juri Linkov <juri@jurta.org>
7329
7330 * isearch.el (isearch-edit-string): Let-bind `history-add-new-input'
7331 to nil instead of binding `search-ring' and `regexp-search-ring'.
7332 (Bug#9185)
7333
0e23d96a
EZ
73342011-11-19 Eli Zaretskii <eliz@gnu.org>
7335
7336 * simple.el (line-move): Force movement by logical lines for any
7337 hscrolled window, not only when auto-hscroll-mode is on.
7338 (line-move-visual): Update doc string to that effect. (Bug#10076)
7339
8a6ccb66
AS
73402011-11-19 Andreas Schwab <schwab@linux-m68k.org>
7341
7342 * language/european.el (macintosh): Define as alias for mac-roman.
7343
49ae5b39
EZ
73442011-11-19 Eli Zaretskii <eliz@gnu.org>
7345
7346 * mail/rmailmm.el (rmail-mime-display-header)
7347 (rmail-mime-display-tagline, rmail-mime-display-body): New defsubsts.
7348 (rmail-mime-entity-segment, rmail-mime-toggle-raw)
7349 (rmail-mime-toggle-hidden, rmail-mime-insert-text)
7350 (rmail-mime-insert-bulk, rmail-mime-insert-multipart)
7351 (rmail-mime-insert, rmail-mime-insert-tagline): Use them instead
7352 of a raw aref.
7353 (rmail-mime-entity-segment): To get past the tagline, move forward
7354 2 more lines, to account for the 2 empty lines that precede and
7355 follow the line with the buttons.
7356 (rmail-mime-update-tagline): Move one more line, to get past the
7357 empty line that follows the buttons in the tagline. (Bug#9520)
7358
c56cad4a
MR
73592011-11-19 Martin Rudalics <rudalics@gmx.at>
7360
7361 * window.el (window-max-delta-1, window-min-delta-1)
7362 (window-min-size-1, window-state-get-1, window-state-put-1)
7363 (window-state-put-2): Use "window--" prefix.
7364
cbe71af3
SM
73652011-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
7366
2ad52c60
SM
7367 * emacs-lisp/smie.el: Improve warnings and conflict detection.
7368 (smie-warning-count): New var.
7369 (smie-set-prec2tab): Use it.
7370 (smie-bnf->prec2): Improve warnings. Add docstring.
7371 (smie-bnf--closer-alist): Rename from smie-bnf-closer-alist.
7372 (smie-bnf--set-class): New function.
7373 (smie-bnf--classify): Rename from smie-bnf-classify. Rewrite to fix
7374 corner case.
7375
6944dbc1
SM
7376 * progmodes/compile.el: Obey compilation-first-column in dest buffer.
7377 (compilation-error-properties, compilation-move-to-column):
7378 Handle compilation-first-column while in the target buffer.
7379
c400c4d7
SM
7380 * progmodes/cc-engine.el (c-remove-stale-state-cache-backwards):
7381 Don't hardcode point-min==1.
7382
6dbe3e96
SM
7383 * eshell/esh-cmd.el (eshell-do-eval): Handle `setq' (bug#9907).
7384 (eshell-rewrite-for-command): Remove workaround.
7385 (eshell-do-pipelines, eshell-do-pipelines-synchronously)
7386 (eshell-do-eval, eshell-exec-lisp): Avoid gratuitous setq.
7387 * eshell/esh-util.el (eshell-condition-case, eshell-for): Use declare.
7388
cbe71af3
SM
7389 * files-x.el (modify-file-local-variable): Obey commenting conventions.
7390
a8e1496d
GM
73912011-11-17 Glenn Morris <rgm@gnu.org>
7392
7393 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
7394 Ignore buffer-local generated-autoload-file if it is the same
7395 as the global value. (Bug#10049)
7396
df85d315
JB
73972011-11-17 Juanma Barranquero <lekktu@gmail.com>
7398
7399 * textmodes/reftex-toc.el (reftex-toc-return-marker, reftex-toc-help)
7400 (reftex-toc, reftex-toc, reftex-toc-dframe-p, reftex-toc-next-heading)
7401 (reftex-toc-previous-heading, reftex-toc-max-level)
7402 (reftex-toc-goto-line-and-hide, reftex-toc-show-calling-point)
7403 (reftex-toc-quit, reftex-toc-revert, reftex-toc-jump)
7404 (reftex-toc-do-promote, reftex-toc-promote-prepare)
7405 (reftex-toc-promote-action, reftex-toc-extract-section-number)
7406 (reftex-toc-load-all-files-for-promotion, reftex-toc-rename-label)
7407 (reftex-toc-rename-label, reftex-toc-visit-location)
7408 (reftex-toc-visit-location, reftex-toggle-auto-toc-recenter)
7409 (reftex-toggle-auto-toc-recenter, reftex-toggle-auto-toc-recenter)
7410 (reftex-make-separate-toc-frame): Fix typos, and use TOC consistently,
7411 leaving "*toc*" only for references to the buffer.
7412
a0c2d0ae
MR
74132011-11-17 Martin Rudalics <rudalics@gmx.at>
7414
7415 * window.el (window-resize, delete-window, split-window):
7416 Replace window-splits by window-combination-resize.
1d00653d 7417 * cus-start.el (window-splits): Replace by window-combination-resize.
a0c2d0ae 7418
35c0bac8
GM
74192011-11-17 Glenn Morris <rgm@gnu.org>
7420
7421 * progmodes/sh-script.el (sh-font-lock-keywords-var):
7422 Make bash entry derive from sh entry, not shell entry.
7423
d0c8fc8a
MA
74242011-11-16 Michael Albinus <michael.albinus@gmx.de>
7425
7262a87c
MA
7426 * net/tramp-sh.el (tramp-sh-handle-file-truename): Cache only the
7427 local file name.
7428
7877f373
JB
74292011-11-16 Juanma Barranquero <lekktu@gmail.com>
7430
7431 * menu-bar.el (menu-bar-file-menu):
7432 * printing.el (pr-ps-utility):
7433 * calendar/icalendar.el (icalendar, icalendar--convert-tz-offset)
7434 (icalendar--convert-to-ical, icalendar--convert-ordinary-to-ical)
7435 (icalendar--convert-weekly-to-ical, icalendar--convert-yearly-to-ical)
7436 (icalendar--convert-sexp-to-ical, icalendar--convert-block-to-ical)
7437 (icalendar--convert-float-to-ical, icalendar--convert-date-to-ical)
7438 (icalendar--convert-cyclic-to-ical)
7439 (icalendar--convert-anniversary-to-ical, icalendar-import-buffer)
7440 (icalendar--convert-ical-to-diary)
7441 (icalendar--convert-recurring-to-diary)
7442 (icalendar--convert-non-recurring-all-day-to-diary)
7443 (icalendar-import-format-sample):
7444 * progmodes/idlw-shell.el (idlwave-shell-mode):
7445 * progmodes/vhdl-mode.el (vhdl-mode, vhdl-print-two-column)
7446 (vhdl-print-customize-faces, vhdl-mode, vhdl-ps-print-settings)
7447 (vhdl-ps-print-init): Fix typos.
7448
10649b82
KM
74492011-11-16 Ken Manheimer <ken.manheimer@gmail.com>
7450
9d0cfcd6
GM
7451 * allout.el, allout-widgets.el (file metadata): Attribute copyright to
7452 FSF and collapse date sequence, obscure author/maintainer email address
7453 better, remove extra version line, track relocation of author's webpage.
10649b82 7454
9d0cfcd6
GM
7455 * progmodes/python.el (python-pdbtrack-input-prompt)
7456 (python-pdbtrack-track-stack-file): Adjust to recognize ipdb as well as
7457 regular python pdb prompts. Adjustments shamelessly taken exactly as
7458 suggested in EmacsWiki page (tiny change):
7459 http://www.emacswiki.org/PythonProgrammingInEmacs#toc14
8642c216 7460
58179cce
JB
74612011-11-16 Juanma Barranquero <lekktu@gmail.com>
7462
7463 * expand.el (expand-pos, expand-index, expand-point):
7464 Remove redundant info from docstring.
7465 (expand-add-abbrevs): Doc fix.
7466 (expand-c-sample-expand-list, expand-sample-lisp-mode-expand-list)
7467 (expand-sample-perl-mode-expand-list): Fix typos.
7468
7469 * net/dbus.el (dbus-event-member-name):
7470 * play/5x5.el (5x5-solve-rotate-left, 5x5-solver-output):
7471 * term/pc-win.el (msdos-create-frame-with-faces):
7472 * textmodes/texinfmt.el (texinfo-format-image): Fix typos.
7473
b6f67890
MR
74742011-11-16 Martin Rudalics <rudalics@gmx.at>
7475
7476 * window.el (split-window, window-state-get-1)
7477 (window-state-put-1, window-state-put-2): Rename occurrences of
7478 window-nest to window-combination-limit.
1d00653d 7479 * cus-start.el (window-nest): Rename to window-combination-limit.
b6f67890 7480
ce7ddba0
CY
74812011-11-16 Chong Yidong <cyd@gnu.org>
7482
7483 * progmodes/autoconf.el (autoconf-mode): Fix comment-start-skip
7484 regexp (Bug#10033).
7485
3ae704f4
SM
74862011-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
7487
7488 * tmm.el (tmm-prompt): Use minibuffer-with-setup-hook (bug#10053).
7489 `completing-read' will remove *Completions* and will preserve
7490 current-buffer for us.
7491 (tmm-add-prompt): Users of *Completions* will always (re)set its
7492 major mode.
7493 (tmm-old-comp-map): Remove.
7494
6ad1cdde
GM
74952011-11-16 Glenn Morris <rgm@gnu.org>
7496
7497 * mail/rmailedit.el: Require rmailmm when compiling.
7498 (rmail-old-mime-state): New declaration.
7499 (rmail-edit-current-message): If editing a mime message,
7500 edit the "raw" message from the mbox buffer.
7501 (rmail-cease-edit): Handle mime messages. (Bug#9840)
7502
d20faa20
GM
75032011-11-15 Glenn Morris <rgm@gnu.org>
7504
7505 * mail/rmailmm.el (rmail-mime-toggle-raw): Remove entity arg,
7506 which wasn't being used. Add optional arg to force given state.
7507 (rmail-mime): Add optional arg to force given state.
7508
c7015153
JB
75092011-11-15 Juanma Barranquero <lekktu@gmail.com>
7510
7511 * allout.el (allout-encryption-plaintext-sanitization-regexps):
7512 * frame.el (display-mm-dimensions-alist):
7513 * outline.el (outline-mode-menu-bar-map, outline-move-subtree-up)
7514 (outline-move-subtree-down):
7515 * net/newst-treeview.el (newsticker--treeview-do-get-node-of-feed)
7516 (newsticker--treeview-do-get-node):
7517 * net/quickurl.el (quickurl-list-buffer-name):
7518 * progmodes/dcl-mode.el (dcl-mode):
7519 * progmodes/gdb-mi.el (gdb-mapcar*):
7520 * progmodes/sql.el (sql-mode-oracle-font-lock-keywords): Fix typos.
7521
45261b50
GM
75222011-11-15 Glenn Morris <rgm@gnu.org>
7523
7524 * mail/rmail.el (rmail-file-coding-system): It's only ever used
7525 in a boolean sense, so just make it a boolean, and fix the doc.
7526 (rmail-show-mime-function, rmail-mime-feature)
7527 (rmail-require-mime-maybe): Doc fixes.
7528 (rmail-show-message-1): Check rmail-show-mime-function is non-nil.
7529
7530 * mail/rmailmm.el (rmail-show-mime): Doc fix.
7531
0d26e0b6
JB
75322011-11-15 Juanma Barranquero <lekktu@gmail.com>
7533
7534 * epg.el (epg-start-decrypt, epg-start-verify, epg-start-sign)
7535 (epg-start-encrypt, epg-start-export-keys, epg-start-import-keys)
7536 (epg-start-receive-keys, epg-start-delete-keys, epg-start-sign-keys)
7537 (epg-start-generate-key, epg-context-set-progress-callback): Fix typos.
7538
447f30f6
GM
75392011-11-15 Glenn Morris <rgm@gnu.org>
7540
672b871d
GM
7541 * mail/rmailmm.el (rmail-mime-entity, rmail-mime-entity-segment)
7542 (rmail-mime-shown-mode, rmail-mime-hidden-mode, rmail-mime-raw-mode)
7543 (rmail-mime-toggle-hidden, rmail-mime-insert-tagline)
7544 (rmail-mime-insert-header, rmail-mime-handle, rmail-mime-parse)
7545 (rmail-mime, rmail-show-mime): Doc fixes.
7546
f6aa5bb1
GM
7547 * term/ns-win.el (mode-line-frame-identification):
7548 Leave it alone. (Bug#10051)
7549
947cd66b
GM
7550 * simple.el (mark-whole-buffer): Doc fix. (Bug#10023)
7551
447f30f6
GM
7552 * mail/rmailout.el (rmail-output-to-rmail-buffer):
7553 Handle empty buffers. (Bug#9978)
7554
0b381c7e
JB
75552011-11-14 Juanma Barranquero <lekktu@gmail.com>
7556
7557 * international/mule.el (define-charset):
7558 * mail/rmailmm.el (rmail-mime-find-header-encoding):
7559 * progmodes/prolog.el (prolog-mode-hook, prolog-inferior-mode-hook):
7560 * progmodes/verilog-mode.el (verilog-backward-token):
7561 * textmodes/ispell.el (lookup-words):
7562 * textmodes/sgml-mode.el (sgml-guess-indent): Fix typos.
7563
71e027ac
GM
75642011-11-14 Glenn Morris <rgm@gnu.org>
7565
56632ce4
GM
7566 * progmodes/executable.el
7567 (executable-make-buffer-file-executable-if-script-p):
7568 Handle file-modes returning nil.
7569
40500957
GM
7570 * mail/rmailsum.el (rmail-summary): Remove movement to beginning of
7571 message - not necessary, and causes problems. (Bug#9831)
7572
071c2340
GM
7573 * mail/rmailsum.el (rmail-new-summary): Preserve message number.
7574
d3cfca60
GM
7575 * mail/rmail.el (rmail-no-mail-p): Remove mode-line N/M indicator.
7576
71e027ac
GM
7577 * mail/rmailsum.el (rmail-summary, rmail-new-summary)
7578 (rmail-new-summary-1): Allow empty summaries. (Bug#9964)
7579 (rmail-new-summary): Remember that rmail-summary-buffer is buffer-local.
7580
89d61221
MR
75812011-11-12 Martin Rudalics <rudalics@gmx.at>
7582
7583 * window.el (window-resize, delete-window): Use window-splits
7584 variable instead of function.
7585 (window-state-get-1, window-state-put-2, window-state-put):
7586 Don't deal with windows' splits status.
7587
98282f6f
GM
75882011-11-12 Glenn Morris <rgm@gnu.org>
7589
7590 * apropos.el (apropos-do-all, apropos-library, apropos-value)
7591 (apropos-documentation): Doc fixes.
7592
40a8bdf6
JB
75932011-11-11 Juanma Barranquero <lekktu@gmail.com>
7594
7595 * progmodes/idlw-shell.el (idlwave-shell-make-new-bp-overlay):
7596 * textmodes/sgml-mode.el (html-tag-help): Fix typos.
7597
65bd19ff
SM
75982011-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
7599
7600 * electric.el (electric-indent-post-self-insert-function): Make it
7601 possible for a char to only indent in some circumstances.
7602 (electric-indent-mode): Simplify.
7603
54f9154c
MR
76042011-11-11 Martin Rudalics <rudalics@gmx.at>
7605
7606 * window.el (windows-with-parameter): Remove unused function.
7607 (windows-at-side): Rename to window-at-side-list.
7608 (window-check, window-atom-check, window-atom-check-1)
5e92ca23
MR
7609 (window-side-check, window-size-ignore, window-size-fixed-1)
7610 (window-in-direction-2): Prefix with "window--".
7611 (window-tree-1): Rename to window--subtree, fix doc-string.
54f9154c 7612
68cbc58b
GM
76132011-11-11 Glenn Morris <rgm@gnu.org>
7614
7615 * subr.el (eval-after-load): If FILE is already loaded,
7616 evaluate FORM before it gets wrapped in more stuff. (Bug#10009)
7617
b2621720
GM
76182011-11-10 Glenn Morris <rgm@gnu.org>
7619
9a4de110
GM
7620 * vc/vc-svn.el (vc-svn-create-repo, vc-svn-modify-change-comment):
7621 Call svn via vc-svn-command rather than vc-do-command.
7622 (vc-svn-command): Add --non-interactive. (Bug#9993)
7623 (vc-svn-update, vc-svn-merge-news): No need for --non-interactive.
7624
b2621720
GM
7625 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
7626 Add toggle-read-only. (Bug#7292)
7627 * files.el (toggle-read-only): Mention that it should only
7628 be used interactively. (Bug#10006)
7629
1dce7193
SM
76302011-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
7631
d9ac1a1e
SM
7632 * progmodes/compile.el (compilation-error-regexp-alist-alist):
7633 Adjust regexp for OCaml warnings.
7634
0c325082
SM
7635 * electric.el (electric-pair-post-self-insert-function): Let user
7636 turn it off buffer-locally (bug#9932).
7637
90132c14
SM
7638 * progmodes/python.el (python-beginning-of-statement):
7639 Rewrite (bug#2703).
7640
1dce7193
SM
7641 * progmodes/compile.el: Better handle TABs (bug#9749).
7642 (compilation-internal-error-properties)
7643 (compilation-next-error-function): Obey the target buffer's
7644 compilation-error-screen-columns.
7645
c4e7c63a
JB
76462011-11-09 Juanma Barranquero <lekktu@gmail.com>
7647
7648 * progmodes/meta-mode.el: Remove obsolete comments.
7649 (meta-right-comment-regexp, meta-ignore-comment-regexp):
7650 Fix typos in docstrings.
7651
2cffd681
MR
76522011-11-09 Martin Rudalics <rudalics@gmx.at>
7653
7654 * window.el (window-size-fixed-p): Rewrite doc-string.
1dce7193 7655 (window-resizable-p): Rename to window--resizable-p. Update callers.
2cffd681
MR
7656 (window--resizable): New function. Make all callers of
7657 window-resizable call window--resizable instead.
7658 (window-resizable): Rewrite in terms of window--resizable.
7659
0edcba87
GM
76602011-11-08 Glenn Morris <rgm@gnu.org>
7661
7662 * progmodes/delphi.el (delphi-mode-syntax-table):
7663 Let define-derived-mode define a proper syntax table. (Bug#9994)
7664
4b0d61e3
SM
76652011-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
7666
7667 * window.el: Stay away from defsubst.
7668 (window-list-no-nils): Remove.
7669 (window-state-get-1, window-state-get): Use backquote instead.
7670
cd394be1 76712011-11-08 Thierry Volpiatto <thierry.volpiatto@gmail.com>
fcbcac2e 7672
4b0d61e3 7673 * emacs-lisp/find-func.el (find-function-read):
fcbcac2e 7674 Fix incorrect use of default argument in `completing-read'.
7675
e1c2c6f2
MR
76762011-11-08 Martin Rudalics <rudalics@gmx.at>
7677
7678 * window.el (display-buffer-function, special-display-function):
7679 Mention display-buffer-record-window but do not mention
7680 help-setup parameter in doc-strings.
b3f4a882 7681 (window-min-delta): Fix doc-string typo.
e1c2c6f2 7682
105216ed
CY
76832011-11-08 Chong Yidong <cyd@gnu.org>
7684
7685 * window.el (window-total-height, window-total-width): Doc fix.
7686 (window-body-size): Move from C.
7687 (window-body-height, window-body-width): Move to C.
7688
0a9f9ab5
SM
76892011-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
7690
7691 * window.el: Make special-display like display-buffer-alist (bug#9532).
7692 (display-buffer--special-action): New function, morphed
7693 from display-buffer--special.
7694 (display-buffer): Use it to handle special-display-buffers at higher
7695 priority (just after display-buffer-alist).
7696 (display-buffer-fallback-action, display-buffer--other-frame-action)
7697 (pop-to-buffer-same-window): Remove display-buffer--special.
7698
a769dd15
GM
76992011-11-07 Glenn Morris <rgm@gnu.org>
7700
7701 * calendar/cal-menu.el (cal-menu-set-date-title):
7702 Do nothing if not in a calendar. (Bug#9976)
7703
05a61ee3
SM
77042011-11-07 Stefan Monnier <monnier@iro.umontreal.ca>
7705
7706 * files.el (find-file): Always use selected-window.
7707
be7f5545
MR
77082011-11-07 Martin Rudalics <rudalics@gmx.at>
7709
7710 * window.el (window-combinations): Make WINDOW argument
7711 mandatory. Rewrite doc-string.
7712 (walk-window-subtree, window-atom-check, window-min-delta)
7713 (window-max-delta, window--resize-this-window)
7714 (window--resize-root-window-vertically, window-tree)
7715 (balance-windows, window-state-put): Rewrite doc-strings as to
7716 not mention the term "subwindow".
7717 (window--resize-subwindows-skip-p): Rename to
7718 window--resize-child-windows-skip-p.
7719 (window--resize-subwindows-normal): Rename to
7720 window--resize-child-windows-normal.
7721 (window--resize-subwindows): Rename to
7722 window--resize-child-windows.
7723 (window-or-subwindow-p): Rename to window--in-subtree-p.
7724
3c6702ef
ML
77252011-11-07 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
7726
7727 * mail/rmail.el (rmail-get-new-mail, rmail-insert-inbox-text):
7728 Ensure that mbox format messages end in two newlines (Bug#9974).
7729
49745b39
CY
77302011-11-06 Chong Yidong <cyd@gnu.org>
7731
7732 * window.el (window-combination-p): Function deleted; its
7733 side-effect is not used in any existing code.
7734 (window-combinations, window-combined-p): Call window-*-child
7735 directly.
7736
24300f5f
CY
77372011-11-05 Chong Yidong <cyd@gnu.org>
7738
7739 * window.el (window-valid-p): Rename from window-any-p.
447f16b8
CY
7740 (window-size-ignore, window-state-get): Callers changed.
7741 (window-normalize-window): Rename from window-normalize-any-window.
7742 New arg LIVE-ONLY, replacing window-normalize-live-window.
1dce7193 7743 (window-normalize-live-window): Delete.
447f16b8
CY
7744 (window-combination-p, window-combined-p, window-combinations)
7745 (walk-window-subtree, window-atom-root, window-min-size)
7746 (window-sizable, window-sizable-p, window-size-fixed-p)
7747 (window-min-delta, window-max-delta, window-resizable)
7748 (window-resizable-p, window-full-height-p, window-full-width-p)
7749 (window-current-scroll-bars, window-point-1, set-window-point-1)
7750 (window-at-side-p, window-in-direction, window-resize)
7751 (adjust-window-trailing-edge, maximize-window, minimize-window)
7752 (window-deletable-p, delete-window, delete-other-windows)
7753 (record-window-buffer, unrecord-window-buffer)
7754 (switch-to-prev-buffer, switch-to-next-buffer, window--delete)
7755 (quit-window, split-window, window-state-put)
7756 (set-window-text-height, fit-window-to-buffer)
7757 (shrink-window-if-larger-than-buffer): Callers changed.
24300f5f 7758
89bd5ee1
EZ
77592011-11-04 Eli Zaretskii <eliz@gnu.org>
7760
53479029
EZ
7761 * mail/rmail.el (rmail-simplified-subject): Decode subject with
7762 rfc2047-decode-string.
7763 (rmail-mime-toggle-hidden): Declare to avoid byte-compilation
7764 warnings.
7765
89bd5ee1
EZ
7766 * window.el (window-body-height, window-body-width): Mention in
7767 the doc string that the return values are in frame's canonical
7768 units. (Bug#9949)
7769
bd17fdee
AM
77702011-11-03 Alan Mackenzie <acm@muc.de>
7771
7772 * progmodes/cc-langs.el (c-nonlabel-token-2-key): New variable for
7773 change in cc-engine.el.
7774
acc825c5
SM
77752011-11-02 Stefan Monnier <monnier@iro.umontreal.ca>
7776
7777 * window.el (switch-to-buffer): Use `force-same-window' interactively.
7778
1885e5b8
MR
77792011-11-02 Martin Rudalics <rudalics@gmx.at>
7780
7781 * window.el (quit-window): Call unrecord-window-buffer after
7782 showing another buffer in the window. (Bug#9937)
acc825c5 7783 (bury-buffer): Call switch-to-prev-buffer with second argument `bury'.
1885e5b8 7784
ebe06da9
JB
77852011-11-02 Juanma Barranquero <lekktu@gmail.com>
7786
7787 * vc/vc-bzr.el (vc-bzr-state, vc-bzr-after-dir-status):
7788 Accept status with more than 9 shelves. (Bug#9935)
7789 Reported by Colin D Bennett <colin@gibibit.com>.
7790
4ee88440
MR
77912011-11-01 Martin Rudalics <rudalics@gmx.at>
7792
7793 * help.el (with-help-window): Don't reference
7794 temp-buffer-show-specifiers in doc-string.
7795
08e1d82c
AS
77962011-10-31 Andreas Schwab <schwab@linux-m68k.org>
7797
7798 * subr.el (keymap--menu-item-with-binding): Ignore item if not a
7799 menu-item.
7800
84bd6e9e
VJL
78012011-10-30 Vinicius Jose Latorre <viniciusjl@ig.com.br>
7802
7803 * whitespace.el: New version 13.2.2.
7804 (whitespace-newline-mode): Disable properly. Reported by Sarah
7805 <EmacsWiki>.
7806
dba0634a
UJ
78072011-10-30 Ulf Jasper <ulf.jasper@web.de>
7808
7809 * net/newst-treeview.el: Remove "Time-stamp".
7810 (newsticker--group-manage-orphan-feeds): Do not call
7811 newsticker--treeview-tree-update.
db22a3c2
JB
7812 (newsticker-treeview-update, newsticker-treeview):
7813 Call newsticker--treeview-tree-update if necessary.
dba0634a 7814
3d8daefe
MR
78152011-10-30 Martin Rudalics <rudalics@gmx.at>
7816
7817 * window.el (window-iso-combination-p, window-iso-combined-p)
acc825c5
SM
7818 (window-iso-combinations): Remove "iso-" infix.
7819 Suggested by Chong Yidong.
3d8daefe
MR
7820 (window-min-size-1, window-size-fixed-1, window-min-delta-1)
7821 (window-max-delta-1, window-resize, window--resize-siblings)
7822 (window--resize-this-window, adjust-window-trailing-edge)
7823 (split-window, balance-windows-1)
7824 (shrink-window-if-larger-than-buffer):
7825 * calendar/calendar.el (calendar-generate-window):
db22a3c2 7826 * help.el (resize-temp-buffer-window): Adjust callers accordingly.
3d8daefe 7827
1bc4c3ae
SM
78282011-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
7829
7830 * eshell/esh-cmd.el (eshell-rewrite-for-command): Don't modify the list
7831 in place (bug#9907).
7832 (eshell-subcommand-arg-values, eshell-rewrite-named-command)
7833 (eshell-rewrite-if-command, eshell-rewrite-for-command)
7834 (eshell-structure-basic-command, eshell-rewrite-while-command)
7835 (eshell-invokify-arg, eshell-parse-pipeline, eshell-parse-command)
7836 (eshell-parse-subcommand-argument, eshell-parse-lisp-argument)
7837 (eshell-trap-errors, eshell-do-pipelines, eshell-do-eval)
7838 (eshell-do-pipelines-synchronously, eshell-eval-command):
7839 Use backquotes and prefer setq to set.
7840 (eshell-lookup-function, function-p-func, eshell-functionp): Remove.
7841 (eshell-macrop): Use functionp.
c1e2f5fa 7842 (eshell-do-eval): Handle multiple expressions in `while' body.
1bc4c3ae 7843
30b65d9c
CY
78442011-10-30 Chong Yidong <cyd@gnu.org>
7845
7846 * emulation/viper-cmd.el (viper-exec-change): Use push-mark
7847 instead of set-mark (Bug#9810).
7848
2d197ffb
CY
78492011-10-30 Chong Yidong <cyd@gnu.org>
7850
7851 * window.el (split-window-below, split-window-right): Rename from
7852 split-window-above-each-other and split-window-side-by-side
7853 respectively. All callers changed.
7854 (split-window-sensibly, split-window-sensibly): Use them.
7855 (split-window-keep-point): Doc fix.
7856
7857 * isearch.el: Add isearch-scroll property to split-window-below
7858 and split-window-right.
7859
7860 * follow.el (follow-mode):
7861 * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
7862 * progmodes/ada-xref.el (ada-gdb-application):
7863 * emulation/vip.el (vip-buffer-in-two-windows):
7864 * image-dired.el (image-dired-dired-with-window-configuration):
7865 * dired-x.el (dired-do-find-marked-files):
7866 * dired.el (dired-pop-to-buffer):
7867 * bs.el (bs--show-with-configuration):
7868 * vc/emerge.el (emerge-setup-windows):
7869 * textmodes/two-column.el (2C-two-columns):
7870 * textmodes/reftex-toc.el (reftex-toc):
7871 * progmodes/gdb-mi.el (gdb-setup-windows):
7872 * progmodes/fortran.el (fortran-window-create):
7873 * net/newst-treeview.el (newsticker--treeview-window-init):
7874 * emulation/ws-mode.el (wordstar-C-o-map, wordstar-mode):
7875 * emulation/tpu-edt.el (tpu-gold-map):
7876 * emulation/crisp.el (crisp-mode-map):
7877 * calendar/calendar.el (calendar-basic-setup): Callers changed.
7878
38bb2ca8
CY
78792011-10-29 Chong Yidong <cyd@gnu.org>
7880
aa4de341
CY
7881 * subr.el (y-or-n-p): Add code for batch mode (Bug#9818).
7882
e1eb5385
CY
7883 * mouse.el (mouse-yank-primary): Push the mark (Bug#9894).
7884
5d2ece3c
CY
7885 * textmodes/flyspell.el (flyspell-word): Fix char offset for
7886 forged Ispell output (Bug#7904).
7887
38bb2ca8
CY
7888 * emacs-lisp/package.el (package-refresh-contents): Add autoload.
7889
d0af9f77
SM
78902011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
7891
7892 * doc-view.el: Avoid ugly errors about not finding nil.
7893 (doc-view-ghostscript-program, doc-view-dvipdfm-program)
7894 (doc-view-dvipdf-program, doc-view-unoconv-program)
7895 (doc-view-ps2pdf-program, doc-view-pdftotext-program):
7896 Avoid nil or absolute file name as default value.
7897 (doc-view-pdf->txt, doc-view-ps->pdf): Use executable-find here.
7898
52bedd34
AM
78992011-10-28 Alan Mackenzie <acm@muc.de>
7900
db22a3c2 7901 * progmodes/cc-defs.el (c-version): -> 5.32.2.
52bedd34 7902
7e43cfa5
AM
79032011-10-28 Alan Mackenzie <acm@muc.de>
7904
7905 Amend the handling of c-beginning/end-of-defun in nested declaration
7906 scopes.
7907
52bedd34
AM
7908 * progmodes/cc-vars.el (c-defun-tactic): Move here from
7909 cc-langs.el. Change it to a defcustom.
7e43cfa5 7910
52bedd34
AM
7911 * progmodes/cc-langs.el (c-defun-tactic): Move this variable to
7912 cc-vars.el.
7e43cfa5 7913
d0af9f77
SM
7914 * progmodes/cc-engine.el (c-beginning-of-statement-1):
7915 Prevent "class foo : bar" being spuriously recognized as a label.
7e43cfa5 7916
52bedd34 7917 * progmodes/cc-cmds.el (c-narrow-to-most-enclosing-decl-block):
acc825c5 7918 Add parameter `inclusive' (to include enclosing braces in the region).
7e43cfa5
AM
7919 (c-widen-to-enclosing-decl-scope): New function.
7920 (c-while-widening-to-decl-block): New macro.
7921 (c-beginning-of-defun, c-end-of-defun): Change algorithm to keep going
7922 outward for defun boundaries, and correspondingly change symbol
7923 `respect-enclosure' to `go-outward'.
7924 (c-declaration-limits): Change algorithm to report only the "innermost"
7925 defun's boundaries.
7926
1a2ce9ee
DD
79272011-10-28 Deniz Dogan <deniz@dogan.se>
7928
7929 * net/rcirc.el (rcirc-mode): Use hard newlines.
7930
bc97a826
AM
79312011-10-28 Alan Mackenzie <acm@muc.de>
7932
7933 Amend to indent and fontify macros "which include their own semicolon"
7934 correctly, using the "virtual semicolon" mechanism.
7935
52bedd34 7936 * progmodes/cc-defs.el: Update "virtual semicolon" comments.
bc97a826 7937
d0af9f77 7938 * progmodes/cc-engine.el (c-crosses-statement-barrier-p):
7877f373 7939 Recode to scan one line at a time rather than having \n and \r
58179cce 7940 explicitly in c-stmt-delim-chars (for some modes, e.g. AWK).
bc97a826 7941 (c-forward-label): Amend for virtual semicolons.
58179cce 7942 (c-at-macro-vsemi-p, c-macro-vsemi-status-unknown-p): New functions.
bc97a826 7943
52bedd34
AM
7944 * progmodes/cc-fonts.el (c-font-lock-declarations): Take account
7945 of the new C macros.
bc97a826 7946
52bedd34 7947 * progmodes/cc-langs.el (c-at-vsemi-p-fn):
acc825c5
SM
7948 (c-vsemi-status-unknown-p-fn): Move to earlier in the file.
7949 (c-opt-cpp-symbol, c-line-comment-start-regexp): New language vars.
bc97a826
AM
7950 (c-opt-cpp-macro-define): Make into a full language variable.
7951 (c-stmt-delim-chars, c-stmt-delim-chars-with-comma): Special value for
7952 AWK Mode (including \n, \r) removed, no longer needed.
7953
d0af9f77
SM
7954 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode):
7955 Invoke c-make-macro-with-semi-re.
bc97a826 7956
52bedd34
AM
7957 * progmodes/cc-vars.el (c-macro-with-semi-re):
7958 (c-macro-names-with-semicolon): New variables.
58179cce 7959 (c-make-macro-with-semi-re): New function.
bc97a826 7960
7a6c0941
SM
79612011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
7962
7963 * vc/log-edit.el: Fill empty field rather than adding new one.
7964 (log-edit-add-field): New function.
7965 (log-edit-insert-changelog): Use it.
7966
b0c4cdcf
ML
79672011-10-28 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
7968
7969 * mail/rmail.el (rmail-mode-map): Add M-C-f as in rmailsum (bug#9802).
7970
ee1f1da9
SM
79712011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
7972
7973 * progmodes/gdb-mi.el: Warn the user when -i=mi is missing.
7974 (gdb--check-interpreter): New function.
7975 (gdb): Use it.
7976
51bc5f8b
GM
79772011-10-27 Glenn Morris <rgm@gnu.org>
7978
416a2c45
GM
7979 * emacs-lisp/cl-extra.el (most-positive-float, most-negative-float)
7980 (least-positive-float, least-negative-float)
7981 (least-positive-normalized-float, least-negative-normalized-float)
7982 (float-epsilon, float-negative-epsilon):
7983 Remove unnecessary declarations.
7984
7985 * emacs-lisp/cl-extra.el (cl-float-limits): Add doc string.
7986 * emacs-lisp/cl.el (most-positive-float, most-negative-float)
7987 (least-positive-float, least-negative-float)
7988 (least-positive-normalized-float, least-negative-normalized-float)
7989 (float-epsilon, float-negative-epsilon): Add doc-strings,
7990 based on those in cl.texi.
7991
51bc5f8b
GM
7992 * files.el (set-visited-file-name): If the major-mode changed,
7993 reload the local variables. (Bug#9796)
7994
15de15c6
CY
79952011-10-27 Chong Yidong <cyd@gnu.org>
7996
7997 * subr.el (change-major-mode-after-body-hook): New hook.
7998 (run-mode-hooks): Run it.
7999
ee1f1da9
SM
8000 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
8001 Use change-major-mode-before-body-hook.
15de15c6
CY
8002
8003 * simple.el (fundamental-mode):
8004 * emacs-lisp/derived.el (define-derived-mode): Revert 2010-04-28
8005 change introducing fundamental-mode-hook.
8006
5430d399
JB
80072011-10-26 Juanma Barranquero <lekktu@gmail.com>
8008
acc825c5 8009 * term/w32-win.el (w32-default-color-map): Declare obsolete (Bug#9785).
5430d399 8010
ad74a69e
MA
80112011-10-26 Michael Albinus <michael.albinus@gmx.de>
8012
8013 * ido.el (ido-file-name-all-completions-1): Do not require
c7015153 8014 tramp.el explicitly. (Bug#7583)
ad74a69e 8015
71d4c2a5
SM
80162011-10-26 Stefan Monnier <monnier@iro.umontreal.ca>
8017
8018 * progmodes/octave-mod.el:
8019 * progmodes/octave-inf.el: Update maintainer.
8020
b1f6fa26
CY
80212011-10-26 Chong Yidong <cyd@gnu.org>
8022
8023 * subr.el (with-wrapper-hook): Rewrite doc.
8024
3f04efd6
MA
80252011-10-25 Michael Albinus <michael.albinus@gmx.de>
8026
8027 * net/tramp-sh.el (tramp-sh-handle-file-directory-p): Return t for
ad74a69e 8028 filenames "/method:foo:". (Bug#9793)
3f04efd6 8029
410488d3
SM
80302011-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
8031
8032 * comint.el (comint-get-old-input-default): Fix use-prompt-regexp case
8033 (bug#9865).
8034
c1ebb47e
GM
80352011-10-24 Glenn Morris <rgm@gnu.org>
8036
8037 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix. (Bug#9819)
8038
7f5c46c7
MA
80392011-10-24 Michael Albinus <michael.albinus@gmx.de>
8040
8041 * notifications.el: Add the requirement of a running D-Bus session
8042 bus to the Commentary.
8043
db2440b6
JL
80442011-10-24 Juri Linkov <juri@jurta.org>
8045
8046 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
8047 `search-whitespace-regexp' only when `isearch-regexp' is non-nil.
8048 (Bug#9364)
8049
feecf435
JL
80502011-10-24 Juri Linkov <juri@jurta.org>
8051
8052 * info.el (Info-following-node-name-re): Add newline to the list
8053 of allowed characters for leading space. (Bug#9824)
8054
a3839de2
SM
80552011-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
8056
acc825c5
SM
8057 * progmodes/octave-inf.el (inferior-octave-mode-map):
8058 Fix C-c C-h binding.
a3839de2
SM
8059 * progmodes/octave-mod.el (octave-help): Remove.
8060
09388e76
MA
80612011-10-23 Michael Albinus <michael.albinus@gmx.de>
8062
8063 Sync with Tramp 2.2.3.
8064
8065 * net/tramp-cache.el (top): Pacify byte-compiler using
8066 `init-file-user' and `site-run-file'.
8067
8068 * net/trampver.el: Update release number.
8069
86c60681
CY
80702011-10-23 Chong Yidong <cyd@gnu.org>
8071
8072 * files.el (toggle-read-only): Remove obsolete comment about
8073 version control.
8074
8075 * vc/vc-hooks.el (vc-toggle-read-only): Make it an obsolete alias
8076 for toggle-read-only. Note that this hasn't called vc-next-action
8077 since 2008-05-02, though it wasn't documented at the time.
8078
a3839de2
SM
8079 * vc/ediff-init.el (ediff-toggle-read-only-function):
8080 Use toggle-read-only.
86c60681 8081
cd5495ff
AM
80822011-10-22 Alan Mackenzie <bug-cc-mode@gnu.org>
8083
8084 Fix bug #9560, sporadic wrong indentation; improve instrumentation
8085 of c-parse-state.
8086
00b77525 8087 * progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache):
a3839de2 8088 correct faulty logical expression.
cd5495ff
AM
8089 (c-parse-state-state, c-record-parse-state-state):
8090 (c-replay-parse-state-state): New defvar/defuns.
8091 (c-debug-parse-state): Use new functions.
8092
42ee24ed
MR
80932011-10-22 Martin Rudalics <rudalics@gmx.at>
8094
8095 * mouse.el (mouse-drag-line): Fix minibuffer resizing broken by
53ebff1f 8096 last fix. Use window-in-direction correctly.
42ee24ed 8097
a7dee7e7
CY
80982011-10-21 Chong Yidong <cyd@gnu.org>
8099
8100 * progmodes/idlwave.el (idlwave-mode):
8101 * progmodes/vera-mode.el (vera-mode): No need to set
a3839de2
SM
8102 require-final-newline; that's done in prog-mode.
8103 Suggested by Stefan Monnier.
a7dee7e7 8104
e07b9a6d
MR
81052011-10-21 Martin Rudalics <rudalics@gmx.at>
8106
8107 * mouse.el (mouse-drag-window-above)
8108 (mouse-drag-move-window-bottom, mouse-drag-move-window-top)
8109 (mouse-drag-mode-line-1, mouse-drag-header-line)
8110 (mouse-drag-vertical-line-rightward-window): Remove.
8111 (mouse-drag-line): New function.
8112 (mouse-drag-mode-line, mouse-drag-header-line)
8113 (mouse-drag-vertical-line): Call mouse-drag-line.
8114 * window.el (window-at-side-p, windows-at-side): New functions.
8115
7e1361d9
UM
81162011-10-21 Ulrich Mueller <ulm@gentoo.org>
8117
8118 * tar-mode.el (tar-grind-file-mode):
8119 Fix handling of setuid/setgid, handle sticky bit. (Bug#9817)
8120
30fcaf3a
CY
81212011-10-21 Chong Yidong <cyd@gnu.org>
8122
8123 * progmodes/idlwave.el (idlwave-mode):
a3839de2
SM
8124 * progmodes/vera-mode.el (vera-mode):
8125 Use mode-require-final-newline.
30fcaf3a 8126
516eddb0
GM
81272011-10-20 Glenn Morris <rgm@gnu.org>
8128
db22a3c2 8129 * vc/vc.el (vc-next-action): Handle removed directories. (Bug#9781)
516eddb0 8130
10d5f513
CS
81312011-10-20 Christoph Scholtes <cschol2112@googlemail.com>
8132
8133 * emulation/cua-base.el (cua-set-mark): Fix case of string.
8134
ac6c8639
CY
81352011-10-20 Chong Yidong <cyd@gnu.org>
8136
8137 * emulation/cua-base.el (cua-mode):
8138 * mail/footnote.el (footnote-mode):
8139 * mail/mailabbrev.el (mail-abbrevs-mode):
8140 * net/xesam.el (xesam-minor-mode):
8141 * progmodes/bug-reference.el (bug-reference-mode):
8142 * progmodes/cap-words.el (capitalized-words-mode):
8143 * progmodes/compile.el (compilation-minor-mode)
8144 (compilation-shell-minor-mode):
8145 * progmodes/gud.el (gud-tooltip-mode):
8146 * progmodes/hideif.el (hide-ifdef-mode):
8147 * progmodes/idlw-shell.el (idlwave-shell-electric-debug-mode):
8148 * progmodes/subword.el (subword-mode):
8149 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
8150 * progmodes/which-func.el (which-function-mode):
8151 * term/tvi970.el (tvi970-set-keypad-mode):
8152 * term/vt100.el (vt100-wide-mode):
8153 * textmodes/flyspell.el (flyspell-mode):
8154 * textmodes/ispell.el (ispell-minor-mode):
8155 * textmodes/nroff-mode.el (nroff-electric-mode):
8156 * textmodes/paragraphs.el (use-hard-newlines):
8157 * textmodes/refill.el (refill-mode):
8158 * textmodes/reftex.el (reftex-mode):
8159 * textmodes/rst.el (rst-minor-mode):
8160 * textmodes/sgml-mode.el (html-autoview-mode)
8161 (sgml-electric-tag-pair-mode):
8162 * textmodes/tex-mode.el (latex-electric-env-pair-mode):
8163 * vc/diff-mode.el (diff-auto-refine-mode, diff-minor-mode):
8164 * emulation/crisp.el (crisp-mode):
8165 * emacs-lisp/eldoc.el (eldoc-mode):
8166 * emacs-lisp/checkdoc.el (checkdoc-minor-mode): Doc fixes for new
8167 minor mode behavior.
8168
aa42ab43
JL
81692011-10-19 Juri Linkov <juri@jurta.org>
8170
8171 * descr-text.el (describe-char): Add #x2010 and #x2011 to
8172 the list of hard-coded chars with escape-glyph face.
8173
89400f1d
SM
81742011-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
8175
8176 * vc/log-edit.el (log-edit-empty-buffer-p): Ignore empty headers.
8177
305c07f6
MA
81782011-10-19 Michael Albinus <michael.albinus@gmx.de>
8179
8180 * net/tramp.el (tramp-connectable-p): Make a stronger check on a
8181 running process.
8182
13754b54
GM
81832011-10-19 Glenn Morris <rgm@gnu.org>
8184
8185 * vc/vc-bzr.el (vc-bzr-after-dir-status):
8186 Ignore ignored files. (Bug#9726)
8187
06e21633
CY
81882011-10-19 Chong Yidong <cyd@gnu.org>
8189
8190 Doc fix for minor modes, stating that an omitted argument enables
8191 the mode unconditionally when called from Lisp.
8192
8193 * abbrev.el (abbrev-mode):
8194 * allout.el (allout-mode):
8195 * autoinsert.el (auto-insert-mode):
8196 * autoarg.el (autoarg-mode, autoarg-kp-mode):
8197 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
8198 (global-auto-revert-mode):
8199 * battery.el (display-battery-mode):
8200 * composite.el (global-auto-composition-mode)
8201 (auto-composition-mode):
8202 * delsel.el (delete-selection-mode):
8203 * desktop.el (desktop-save-mode):
8204 * dired-x.el (dired-omit-mode):
8205 * dirtrack.el (dirtrack-mode):
8206 * doc-view.el (doc-view-minor-mode):
8207 * double.el (double-mode):
8208 * electric.el (electric-indent-mode, electric-pair-mode):
8209 * emacs-lock.el (emacs-lock-mode):
8210 * epa-hook.el (auto-encryption-mode):
8211 * follow.el (follow-mode):
8212 * font-core.el (font-lock-mode):
8213 * frame.el (auto-raise-mode, auto-lower-mode, blink-cursor-mode):
8214 * help.el (temp-buffer-resize-mode):
8215 * hilit-chg.el (highlight-changes-mode)
8216 (highlight-changes-visible-mode):
8217 * hi-lock.el (hi-lock-mode):
8218 * hl-line.el (hl-line-mode, global-hl-line-mode):
8219 * icomplete.el (icomplete-mode):
8220 * ido.el (ido-everywhere):
8221 * image-file.el (auto-image-file-mode):
8222 * image-mode.el (image-minor-mode):
8223 * iswitchb.el (iswitchb-mode):
8224 * jka-cmpr-hook.el (auto-compression-mode):
8225 * linum.el (linum-mode):
8226 * longlines.el (longlines-mode):
8227 * master.el (master-mode):
8228 * mb-depth.el (minibuffer-depth-indicate-mode):
8229 * menu-bar.el (menu-bar-mode):
8230 * minibuf-eldef.el (minibuffer-electric-default-mode):
8231 * mouse-sel.el (mouse-sel-mode):
8232 * msb.el (msb-mode):
8233 * mwheel.el (mouse-wheel-mode):
8234 * outline.el (outline-minor-mode):
8235 * paren.el (show-paren-mode):
8236 * recentf.el (recentf-mode):
8237 * reveal.el (reveal-mode, global-reveal-mode):
8238 * rfn-eshadow.el (file-name-shadow-mode):
8239 * ruler-mode.el (ruler-mode):
8240 * savehist.el (savehist-mode):
8241 * scroll-all.el (scroll-all-mode):
8242 * scroll-bar.el (scroll-bar-mode):
8243 * server.el (server-mode):
8244 * shell.el (shell-dirtrack-mode):
8245 * simple.el (auto-fill-mode, transient-mark-mode)
8246 (visual-line-mode, overwrite-mode, binary-overwrite-mode)
8247 (line-number-mode, column-number-mode, size-indication-mode)
8248 (auto-save-mode, normal-erase-is-backspace-mode, visible-mode):
8249 * strokes.el (strokes-mode):
8250 * time.el (display-time-mode):
8251 * t-mouse.el (gpm-mouse-mode):
8252 * tool-bar.el (tool-bar-mode):
8253 * tooltip.el (tooltip-mode):
8254 * type-break.el (type-break-mode-line-message-mode)
8255 (type-break-query-mode):
8256 * view.el (view-mode):
8257 * whitespace.el (whitespace-mode, whitespace-newline-mode)
8258 (global-whitespace-mode, global-whitespace-newline-mode):
8259 * xt-mouse.el (xterm-mouse-mode): Doc fix.
8260
a3839de2
SM
8261 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
8262 Fix autogenerated docstring.
06e21633 8263
5214e501
JL
82642011-10-19 Juri Linkov <juri@jurta.org>
8265
8266 * net/browse-url.el (browse-url-can-use-xdg-open): Support LXDE
8267 by checking environment variables "DESKTOP_SESSION" and
8268 "XDG_CURRENT_DESKTOP". (Bug#9779)
8269
195f8db9
JL
82702011-10-19 Juri Linkov <juri@jurta.org>
8271
8272 * net/browse-url.el (browse-url-browser-function): Add "Chromium".
8273 (browse-url-chromium-program, browse-url-chromium-arguments):
8274 New defcustoms.
8275 (browse-url-default-browser): Check for `browse-url-chromium' and
8276 call `browse-url-chromium-program'.
8277 (browse-url-chromium): New command. (Bug#9779)
8278
343a34ff
JB
82792011-10-18 Juanma Barranquero <lekktu@gmail.com>
8280
8281 * facemenu.el (list-colors-duplicates): On Windows, detect more
8282 duplicates by assuming that only colors matching "^System" are
8283 special "system colors". (Bug#9722)
8284
6978a151
SM
82852011-10-18 Stefan Monnier <monnier@iro.umontreal.ca>
8286
8287 * vc/log-edit.el (log-edit): Add "Author:" header to encourage people
8288 to distinguish the author from the committer.
8289
6a80b297
MA
82902011-10-18 Michael Albinus <michael.albinus@gmx.de>
8291
8292 * net/tramp.el (tramp-file-name-handler): Load Tramp packages silently.
8293
b31a5677
JK
82942011-10-18 Jirka Kosek <jirka@kosek.cz> (tiny change)
8295
8296 * international/mule.el (sgml-html-meta-auto-coding-function):
8297 Add support for detecting encoding in HTML5 specified only as
8298 <meta charset="UTF-8">. Implementation just makes http-equiv and
8299 content-type parts from HTML4 encoding string optional. (Bug#9716)
8300
80c6d77f
GM
83012011-10-18 Glenn Morris <rgm@gnu.org>
8302
8303 * vc/vc.el (vc-initial-comment): Mark as obsolete. (Bug#9745)
8304
08b0fee8
CY
83052011-10-18 Chong Yidong <cyd@gnu.org>
8306
8307 * faces.el (cursor): Doc fix.
8308
67e729a5
CY
83092011-10-17 Chong Yidong <cyd@gnu.org>
8310
8311 * font-lock.el (font-lock-maximum-size): Mark as obsolete.
8312
343a34ff 83132011-10-17 Ryan Barrett <emacs@ryanb.org> (tiny change)
87e478b3
RB
8314
8315 * dirtrack.el (dirtrack): Support shell buffers with path
8316 prefixes, e.g. tramp-based remote shells. (Bug#9647)
8317
0bc06380
TZ
83182011-10-17 Teodor Zlatanov <tzz@lifelogs.com>
8319
8320 * json.el: Bump version to 1.3 and note change in History.
8321 (json-alist-p, json-plist-p): Rewrite to avoid recursion.
8322
8b79f3e0
SM
83232011-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
8324
5a7c536b
SM
8325 * comint.el (comint-insert-input, comint-send-input)
8326 (comint-get-old-input-default, comint-backward-matching-input)
8327 (comint-next-prompt): Use nil instead of `input' for field property of
8328 past user input (bug#114).
8329
96a8a0df
SM
8330 * minibuffer.el (completion--replace): Inherit surrounding properties
8331 (bug#114).
8332 (minibuffer-complete-and-exit): Use it.
8333
8b79f3e0
SM
8334 * comint.el (comint--table-subvert): Quote the all-completions output
8335 (bug#9160).
8336
b8f7ff0d
MR
83372011-10-17 Martin Rudalics <rudalics@gmx.at>
8338
8b79f3e0 8339 * ido.el (ido-default-buffer-method): Remove redundant :type entry.
4e5c3d2b 8340
b8f7ff0d 8341 * menu-bar.el (menu-bar-file-menu): Add entry for making new
d912bdcf 8342 window on right of selected. (Bug#9350) Reword other window
b8f7ff0d
MR
8343 entries and separate them from frame entries.
8344
c235b555
GM
83452011-10-15 Glenn Morris <rgm@gnu.org>
8346
8347 * emacs-lisp/ert.el (ert--explain-equal-rec, ert-select-tests):
8348 Doc fixes.
8349
6bbfa6e1
CY
83502011-10-15 Chong Yidong <cyd@stupidchicken.com>
8351
8b79f3e0
SM
8352 * net/network-stream.el (network-stream-open-starttls):
8353 Improve detection of failure due to lack of TLS support.
ec5c990d 8354
6bbfa6e1
CY
8355 * mail/sendmail.el (sendmail-query-once): Tweak prompt message,
8356 putting the input text in front and in bold.
8357
98488977
SM
83582011-10-14 Stefan Monnier <monnier@iro.umontreal.ca>
8359
3d1337be
SM
8360 * pcmpl-unix.el (pcomplete/ssh): SSH does allow ganging.
8361
ee0b45e4
SM
8362 * mpc.el (mpc-songs-jump-to): Don't burp if the user clicks in an
8363 empty buffer.
8364
98488977
SM
8365 * mouse.el (mouse-drag-mode-line-1): Modify the end-event we pushed on
8366 unread-command-events rather than pushing yet-another event.
8367
186f4720
EZ
83682011-10-14 Eli Zaretskii <eliz@gnu.org>
8369
8370 * mail/sendmail.el (sendmail-query-once): Improve the wording of
8371 the explanation of the possible choices. Make the options passed
8372 to completing-read shorter.
8373
8b7a997c
AM
83742011-10-13 Agustín Martín Domingo <agustin.martin@hispalinux.es>
8375
8376 * textmodes/flyspell.el (flyspell-large-region): Make sure
8377 extended character mode is used if defined (Bug#1339).
8378
12587bbb
EZ
83792011-10-13 Eli Zaretskii <eliz@gnu.org>
8380
8381 * simple.el (what-cursor-position): Fix the display of the
e7e2364b
EZ
8382 character info for LRE, LRO, RLE, and RLO characters by appending
8383 an invisible PDF.
12587bbb 8384
bad41229
SM
83852011-10-13 Stefan Monnier <monnier@iro.umontreal.ca>
8386
8387 * emacs-lisp/timer.el (with-timeout): Make sure we cancel the timer
8388 even in case of error; add debug spec; simplify data flow.
8389 (with-timeout-handler): Remove.
8390
28dbc92f
MA
83912011-10-12 Michael Albinus <michael.albinus@gmx.de>
8392
8393 Fix Bug#6019, Bug#9315.
8394
8395 * files.el (set-auto-mode): Call `file-name-sans-versions' for the
8396 complete `buffer-file-name', the local file name part could look
8397 remotely (for example on VMS).
8398
8399 * net/ange-ftp.el (ange-ftp-run-real-handler): Make it an alias of
8400 `tramp-run-real-handler'.
8401 (ange-ftp-fix-name-for-vms): Handle the case, where `name' is
8402 already quoted by '"'.
8403
8404 * net/tramp.el (tramp-rfn-eshadow-update-overlay): Ignore errors.
8405 Let `file-name-handler-alist' be nil, the local file name part
8406 could look remotely (for example on VMS).
8407
e1b0b23a
SM
84082011-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
8409
8410 * textmodes/flyspell.el (flyspell-word): Move with-local-quit
8411 from here...
8412 (flyspell-post-command-hook): ...to here.
8413
a120bde9
SM
84142011-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
8415
8416 * mail/sendmail.el (send-mail-function): Don't use sendmail-query-once
8417 if not needed.
8418 (sendmail-query-once): Remove OS dependencies. Make it a 3-way choice
8419 using completion. Protect against "slow" callers.
8420 Remove the "message hack".
8421
7ce7717b
JL
84222011-10-11 Juri Linkov <juri@jurta.org>
8423
8424 * isearch.el (isearch-lazy-highlight-word): New variable.
8425 (isearch-lazy-highlight-new-loop, isearch-lazy-highlight-search):
8426 Use it. (Bug#9727)
8427
c02ee9d6
GM
84282011-10-11 Glenn Morris <rgm@gnu.org>
8429
8430 * progmodes/f90.el (f90-next-statement): Ignore preprocessor lines,
8431 like f90-previous-statement does.
8432
93e616fd 84332011-10-11 Thierry Volpiatto <thierry.volpiatto@gmail.com>
8434
1f190e73 8435 * eshell/eshell.el (eshell-command): History should be saved
c02ee9d6
GM
8436 only in interactive use, to avoid error.
8437
af7b6078
SM
84382011-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
8439
8440 * minibuffer.el (completion-file-name-table): Fix last change,
8441 i.e. ignore normal errors but not the other ones.
8442
0563dae9
MR
84432011-10-10 Martin Rudalics <rudalics@gmx.at>
8444
8445 * window.el (special-display-buffer-names)
8446 (special-display-regexps): Remove some remnants of earlier
8447 changes from doc-strings.
366ca7f3
MR
8448 (quit-windows-on): New function.
8449
8450 * vc/vc.el (vc-revert, vc-rollback):
8451 * vc/vc-dispatcher.el (vc-finish-logentry): Call quit-windows-on
8452 instead of deleting windows. (Bug#4557) (Bug#5310) (Bug#5556)
9ac13c31 8453 (Bug#6183) (Bug#7074) (Bug#7447)
0563dae9 8454
49677495
MR
84552011-10-09 Martin Rudalics <rudalics@gmx.at>
8456
8457 * window.el (frame-auto-hide-function): Add version tag.
8458 (Bug#9699)
8459
56f2d1e1
MA
84602011-10-09 Michael Albinus <michael.albinus@gmx.de>
8461
8462 * net/tramp.el (tramp-file-name-handler): Add 'debug to the error
8463 condition.
8464
112a6592
LL
84652011-10-09 Leo Liu <sdl.web@gmail.com>
8466
8467 * mail/smtpmail.el (smtpmail-send-data): Add a missing space.
8468 (Bug#9701)
8469
0812589b
GM
84702011-10-08 Glenn Morris <rgm@gnu.org>
8471
8472 * progmodes/f90.el (f90-calculate-indent): Give preprocessor lines
8473 before the first code statement zero indent. (Bug#9690)
8474
b2b0776e
CY
84752011-10-08 Chong Yidong <cyd@stupidchicken.com>
8476
8477 * simple.el (count-words-region): Always count in the region.
8478 Report the number of lines and characters too.
8479 (count-words): New command, which counts in the buffer if the
8480 region is inactive, as count-words-region used to.
8481 (count-words--message): New function. Handle plurals.
8482 (count-lines-region): Make it an alias for count-words-region.
8483
8484 * bindings.el (esc-map): Replace count-lines-region with
8485 count-words-region.
8486
c557cd6b
MR
84872011-10-08 Martin Rudalics <rudalics@gmx.at>
8488
8489 * window.el (window--delete): Delete dedicated frame
8490 unconditionally when argument KILL is non-nil. (Bug#9699)
235ce86f 8491 (switch-to-buffer): Fix doc-string typo.
c557cd6b 8492
61a57ef4 84932011-10-08 Thierry Volpiatto <thierry.volpiatto@gmail.com>
8494
3a7d293b 8495 * eshell/eshell.el (eshell-command): Avoid using hooks.
61a57ef4 8496
c3833279
CY
84972011-10-07 Chong Yidong <cyd@stupidchicken.com>
8498
8499 * bindings.el ([M-left],[M-right]): Bind to left-word and
8500 right-word respectively.
8501
21ce8245
GM
85022011-10-07 Glenn Morris <rgm@gnu.org>
8503
8504 * cus-start.el (debug-on-quit): Fix custom type.
8505
6d823bb2
LMI
85062011-10-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
8507
0181e193
LMI
8508 * subr.el (define-key-after): Clarify that the function is not
8509 useful for non-menu keymaps.
8510
6d823bb2
LMI
8511 * progmodes/gdb-mi.el (gdb): Fix typo in doc string.
8512
8e3459ce 85132011-10-06 Thierry Volpiatto <thierry.volpiatto@gmail.com>
8514
21ce8245 8515 * eshell/eshell.el (eshell-command): Enable `eshell-mode' only
8e3459ce 8516 in current minibuffer (Fix bug with recursive minibuffers).
8517
a1c2d21e
CY
85182011-10-06 Chong Yidong <cyd@stupidchicken.com>
8519
8520 * progmodes/gdb-mi.el (gdb): Doc fix.
8521
5a4cf282
MR
85222011-10-05 Martin Rudalics <rudalics@gmx.at>
8523
8524 * window.el (frame-auto-hide-function): New option replacing
8525 frame-auto-delete. Suggested by Stefan Monnier.
8526 (window--delete): Call frame-auto-hide-function instead of
8527 investigating frame-auto-delete.
c96111ea
MR
8528 (window-point-1, set-window-point-1): New functions.
8529 (window-in-direction, record-window-buffer, window-state-get-1)
8530 (display-buffer-record-window): Use window-point-1 instead of
8531 window-point.
8532 (set-window-buffer-start-and-point): Use set-window-point-1.
5a4cf282 8533
9854542e
SM
85342011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
8535
8536 * emacs-lisp/edebug.el: Heed checkdoc recommendations.
8537
8943cfb0
GM
85382011-10-05 Glenn Morris <rgm@gnu.org>
8539
8540 * progmodes/perl-mode.el (perl-electric-terminator): Doc fix.
8541 (perl-calculate-indent): Suppress scan errors. (Bug#2205)
8542
647ab967
LL
85432011-10-05 Leo Liu <sdl.web@gmail.com>
8544
8545 * subr.el (read-char-choice): Fix argument to buffer-live-p which
8546 works with buffer object.
8547
3ddfbced
SM
85482011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
8549
8550 * mpc.el (mpc-tool-bar-map): Add labels.
8551
bdfa5dd2
GM
85522011-10-04 Glenn Morris <rgm@gnu.org>
8553
8554 * calendar/holidays.el (calendar-check-holidays): Doc fix.
8555
0e2070b5
MR
85562011-10-04 Martin Rudalics <rudalics@gmx.at>
8557
8558 * window.el (window--delete): New function.
8559 (frame-auto-delete): Resuscitate option.
8560 (bury-buffer, replace-buffer-in-windows)
8561 (quit-window): Rewrite using window--delete.
8562 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
8563 Pass display-buffer-mark-dedicated to window--display-buffer-2
8564 (Bug#9639).
8565
3dc61a09
SM
85662011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
8567
915a9b64
SM
8568 * pcmpl-unix.el (pcomplete/scp): Don't assume pcomplete-all-entries
8569 returns a list (bug#9554). Add remote file name completion.
8570 * comint.el (comint--table-subvert): Curry and get quote&unquote
8571 functions as arguments.
8572 (comint--complete-file-name-data): Adjust call accordingly.
8573 * pcomplete.el (pcomplete--table-subvert): Remove.
8574 (pcomplete-completions-at-point): Use comint--table-subvert instead.
8575
3dc61a09
SM
8576 * minibuffer.el (completion-table-case-fold): Use currying.
8577 (completion--styles-type, completion--cycling-threshold-type):
8578 New constants.
8579 (completion-styles, completion-category-overrides)
8580 (completion-cycle-threshold): Use them.
8581 * pcomplete.el (pcomplete-completions-at-point): Adjust call to
8582 completion-table-case-fold.
8583
8ea0a993
SB
85842011-10-03 Stephen Berman <stephen.berman@gmx.net>
8585
8586 * minibuffer.el (completion-category-overrides): Fix type of styles
8587 and add more user friendly tags (bug#9660).
8588
8c24b7f6
SM
85892011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
8590
8591 * international/mule-cmds.el: Fix abuses of apply-partially (bug#9661).
8592 (mule-input-method-string): New widget.
8593 (default-input-method, language-info-custom-alist): Use it.
8594
428fe61a
SM
85952011-10-02 Stefan Monnier <monnier@iro.umontreal.ca>
8596
32c1fffd
SM
8597 * pcomplete.el: Require comint.
8598 (pcomplete--common-suffix): Remove.
8599 (pcomplete--common-quoted-suffix): Use comint--common-suffix instead.
8600 (pcomplete--table-subvert): Sync with comint--table-subvert.
8601 (pcomplete--entries): Use comint-completion-file-name-table.
8602 * comint.el (comint-unquote-filename): Simplify.
8603 (comint-completion-file-name-table): New function (bug#9616).
8604 (comint--complete-file-name-data): Use it.
8605
428fe61a
SM
8606 * pcmpl-gnu.el (pcmpl-gnu-with-file-buffer): New macro (bug#9643).
8607 (pcmpl-gnu-tar-buffer): Remove.
8608 (pcmpl-gnu-with-file-buffer): Use it to avoid leaving the tar's buffer
9aaf2b9c
GM
8609 around. Make sure pcomplete-suffix-list is only changed temporarily.
8610 Don't look inside the tar's file if it's too large.
428fe61a 8611
04c52e2f
CY
86122011-10-01 Chong Yidong <cyd@stupidchicken.com>
8613
ce3cefcc
CY
8614 * cus-edit.el (custom-mode-map):
8615 * epa.el (epa-key-list-mode-map):
8616 * man.el (Man-mode-map):
8617 * startup.el (splash-screen-keymap):
8618 * simple.el (special-mode-map): Use scroll-up-command and
8619 scroll-down-command.
8620
8621 * progmodes/idlw-help.el (idlwave-help-mode-map):
8622 * progmodes/ebrowse.el (ebrowse-electric-position-mode-map):
8623 * net/newst-plainview.el (newsticker-mode-map):
8624 * emulation/ws-mode.el (wordstar-mode-map):
8625 * emulation/vi.el (vi-com-map):
8626 * calc/calc-graph.el (calc-graph-show-dumb):
8627 * term/sun.el (terminal-init-sun):
8628 * term/ns-win.el (global-map):
8629 * progmodes/grep.el (grep-mode-map):
8630 * progmodes/ebrowse.el (ebrowse-electric-list-mode-map):
8631 * mail/rmail.el (rmail-mode-map):
8632 * progmodes/cpp.el (cpp-edit-mode-map): Likewise.
8633
04c52e2f
CY
8634 * custom.el (custom-safe-themes, load-theme): Treat value of t for
8635 custom-safe-themes as special.
8636
79adf8c8
JD
86372011-10-01 Julien Danjou <julien@danjou.info>
8638
8639 * notifications.el (notifications-notify): Fix docstring.
8640
63bd50d3
PS
86412011-10-01 Per Starbäck <per@starback.se>
8642
8643 * pcmpl-gnu.el (pcomplete/tar): Fix tar-header-name call. (Bug#9643)
8644
199e4c7e
MR
86452011-09-30 Martin Rudalics <rudalics@gmx.at>
8646
8647 * startup.el (command-line-1): Fix last fix by inserting
8648 initial-scratch-message into *scratch* before displaying it.
cbc5ee22 8649 (Bug#9605) and (Bug#9636)
199e4c7e 8650
fe5f08dd
EZ
86512011-09-29 Eli Zaretskii <eliz@gnu.org>
8652
8653 * simple.el (line-move): If auto-hscroll-mode is disabled and the
8654 window is hscrolled, move by logical lines. (Bug#9607)
8655 (line-move-visual): Update the doc string to the above effect.
8656
b5516bbd
MR
86572011-09-29 Martin Rudalics <rudalics@gmx.at>
8658
ccee00c0
MR
8659 * window.el (display-buffer-record-window): When WINDOW is the
8660 selected window use `point' instead of `window-point'. (Bug#9626)
8661
b5516bbd
MR
8662 * startup.el (command-line-1): Use insert-before-markers when
8663 inserting initial-scratch-message. (Bug#9605)
ccee00c0 8664
b5516bbd
MR
8665 * help.el (help-window): Remove variable.
8666
52aa0014
GM
86672011-09-29 Glenn Morris <rgm@gnu.org>
8668
8669 * pcmpl-cvs.el (pcomplete/cvs): Add "status" handler.
8670
df9a7357
JB
86712011-09-29 Juanma Barranquero <lekktu@gmail.com>
8672
8673 * descr-text.el (describe-char-categories): Accept category
8674 descriptions more than one line long.
8675
a8406c20
SM
86762011-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
8677
88d9610c
SM
8678 * simple.el (delete-trailing-whitespace): Fix last change.
8679
a5daf810
SM
8680 * progmodes/perl-mode.el (perl-syntax-propertize-function):
8681 Don't confuse "y => 3" as the beginning of a `y' operation.
8682
a8406c20
SM
8683 * emacs-lisp/debug.el (debug-convert-byte-code): Don't assume the
8684 object has more than 4 slots (bug#9613).
8685
a239d4e9
JB
86862011-09-28 Juanma Barranquero <lekktu@gmail.com>
8687
8688 * subr.el (with-output-to-temp-buffer):
8689 * net/quickurl.el (quickurl, quickurl-browse-url):
8690 Fix typos in docstrings.
8691
693fbdb6
EZ
86922011-09-27 Eli Zaretskii <eliz@gnu.org>
8693
8694 * minibuffer.el (completion-styles)
8695 (completion-category-overrides): Cross reference each other in doc
8696 strings.
8697
8b457e28
GM
86982011-09-27 Glenn Morris <rgm@gnu.org>
8699
8700 * pcmpl-cvs.el (pcmpl-cvs-entries): Update for Emacs 22.1 changes
8701 to split-string. (Bug#9606)
8702
85a16208
LMI
87032011-09-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
8704
8705 * mail/smtpmail.el (smtpmail-via-smtp): Fix STARTTLS detection
8706 (bug#9615).
8707
502f9ebd
CY
87082011-09-27 Chong Yidong <cyd@stupidchicken.com>
8709
8710 * emacs-lisp/package.el (list-packages): Fix echo area message.
8711
7690bdea
LL
87122011-09-27 Leo Liu <sdl.web@gmail.com>
8713
8714 * ido.el (ido-read-internal): Accept cons cell HIST arg.
8715
e2ee6f30
MA
87162011-09-25 Michael Albinus <michael.albinus@gmx.de>
8717
8718 * net/dbus.el (dbus-unregister-object): Don't release services for
8719 registered signals. (Bug#9581)
8720
f3f98342
TZ
87212011-09-25 Teodor Zlatanov <tzz@lifelogs.com>
8722
8723 * progmodes/cfengine.el (cfengine-auto-mode): Add convenience
8724 function that picks between cfengine 2 and 3 support
8725 automatically. Update docs accordingly.
8726
dd7aa8dd
KH
87272011-09-22 Kenichi Handa <handa@m17n.org>
8728
8729 * language/ind-util.el (indian-tml-base-table): Add TAMIL DIGIT
8730 ZERO.
8731 (indian-itrans-v5-table-for-tamil): New variable.
8732 (indian-tml-itrans-v5-hash): Use the above variable (Bug#9336).
8733
3f2b07f8
KM
87342011-09-22 Ken Manheimer <ken.manheimer@gmail.com>
8735
8736 * allout.el (allout-this-command-hid-stuff): Buffer-local variable
8737 that's true if the current command involved collapsing of text.
8738 It's reset to false at the beginning of the next command.
8739 (allout-post-command-business): Move the cursor to the beginning
8740 of entry if the cursor is hidden and collapsing activity just
8741 happened.
8742
371d6a61
CY
87432011-09-24 Chong Yidong <cyd@stupidchicken.com>
8744
8745 * mouse.el (mouse-drag-track): Set scroll-margin to 0 while
8746 tracking (Bug#9541).
8747
2ac2721a
UJ
87482011-09-24 Ulf Jasper <ulf.jasper@web.de>
8749
8750 * net/newst-reader.el (newsticker-html-renderer)
1154d12e
JB
8751 (newsticker-show-news): Automatically load html rendering package
8752 if newsticker-html-renderer is set. Fixes "Warning: defvar ignored
8753 because w3m-fill-column is let-bound" and the error "Symbol's value
8754 as variable is void: w3m-fill-column".
2ac2721a 8755
fac7ae53
MA
87562011-09-24 Michael Albinus <michael.albinus@gmx.de>
8757
8758 * net/dbus.el (dbus-unregister-object): Remove match rule of signals.
8759 Release services only if they are defined. (Bug#9581)
8760
e08b633b
RS
87612011-09-23 Richard Stallman <rms@gnu.org>
8762
e488d29c
RS
8763 * textmodes/paragraphs.el (forward-sentence): For backwards case,
8764 distinguish start of paragraph from start of its text.
8765
19c38752
RS
8766 * mail/emacsbug.el (report-emacs-bug-query-existing-bugs): Autoload.
8767
e08b633b
RS
8768 * mail/rmail.el (rmail-view-buffer-kill-buffer-hook): New function.
8769 (rmail-generate-viewer-buffer): Put that hook on view buffer.
8770 (rmail-mode-kill-buffer-hook): Override that hook, to kill view buffer.
8771
0a39f27e
AS
87722011-09-23 Andreas Schwab <schwab@linux-m68k.org>
8773
8774 * international/mule-diag.el (mule-diag): Insert a newline after
8775 each fontset description.
8776
db4e950d
SM
87772011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
8778
8779 * simple.el (delete-trailing-whitespace):
8780 Document last change; simplify.
8781
eca3f3ea
PW
87822011-09-23 Peter J. Weisberg <pj@irregularexpressions.net>
8783
d68e189a
PW
8784 * simple.el (delete-trailing-whitespace): Also delete
8785 extra newlines at the end of the buffer.
8786
eca3f3ea
PW
8787 * textmodes/picture.el: Make motion commands obey shift-select-mode.
8788 (picture-newline): Use forward-line so as to ignore fields.
8789
01c157cc
SM
87902011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
8791
8792 * subr.el (with-wrapper-hook): Fix edebug spec.
8793
022de23e
LMI
87942011-09-23 Lars Magne Ingebrigtsen <larsi@gnus.org>
8795
8796 * simple.el (kill-line): Note effect of `show-trailing-whitespace'
8797 (bug#4538).
8798
91683089
MA
87992011-09-23 Michael Albinus <michael.albinus@gmx.de>
8800
eca3f3ea
PW
8801 * net/tramp-sh.el (tramp-sh-handle-file-name-all-completions):
8802 Fix nasty bug using wrong cached values.
91683089 8803
5bdd6fa4
AM
88042011-09-23 Alan Mackenzie <acm@muc.de>
8805
8806 * progmodes/cc-defs.el (c-version): Increase to 5.31.9.
8807
97adfb97
CY
88082011-09-23 Chong Yidong <cyd@stupidchicken.com>
8809
8810 * window.el (pop-to-buffer): Ensure right window is selected if we
8811 chose another frame.
8812
d4ef2b50
EZ
88132011-09-22 Eli Zaretskii <eliz@gnu.org>
8814
8815 * simple.el (what-cursor-position): Use get-char-property-change
8816 and next-single-char-property-change, to be able to show display
8817 properties that come from overlays as well as text properties.
8818
72258fe5
CY
88192011-09-22 Chong Yidong <cyd@stupidchicken.com>
8820
8821 * window.el (pop-to-buffer-same-window): New (reinstated) fun.
8822
8823 * cmuscheme.el (run-scheme, switch-to-scheme):
8824 * cus-edit.el (customize-group, custom-buffer-create)
8825 (customize-browse):
8826 * info.el (info):
8827 * shell.el (shell):
8828 * mail/sendmail.el (mail):
8829 * progmodes/inf-lisp.el (inferior-lisp): Use it (Bug#9532).
8830
8f098516
RS
88312011-09-22 Richard Stallman <rms@gnu.org>
8832
8833 * textmodes/paragraphs.el (forward-sentence): When setting PAR-BEG,
8834 move back only to line beg, don't move back over blank lines.
8835
e74f1bb6
MA
88362011-09-22 Michael Albinus <michael.albinus@gmx.de>
8837
8838 * files.el (copy-directory): Set directory attributes only in case
8839 they could be retrieved from the source directory. (Bug#9565)
8840
bfeef8b6
DK
88412011-09-22 Dima Kogan <dkogan@secretsauce.net> (tiny change)
8842
8843 * progmodes/hideshow.el (hs-looking-at-block-start-p)
8844 (hs-find-block-beginning, hs-hide-level-recursive):
8845 Ignore strings as well as comments. (Bug#9502)
8846
7e423bb8
AS
88472011-09-22 Andrew Schein <andrew@andrewschein.com> (tiny change)
8848
8849 * progmodes/sql.el (sql-comint-postgres):
8850 Convert port number to a string. (Bug#9566)
8851
b4d72fcf
MR
88522011-09-22 Martin Rudalics <rudalics@gmx.at>
8853
8854 * window.el (quit-window): Undedicate window when switching to
8855 previous buffer. Reported by Thierry Volpiatto
8856 <thierry.volpiatto@gmail.com>.
7f80c86d
MR
8857 (special-display-popup-frame): When popping up a new frame reset
8858 its previous buffers to nil. Simplify code.
b4d72fcf 8859
a7b88dc6
MA
88602011-09-21 Michael Albinus <michael.albinus@gmx.de>
8861
8862 * net/tramp.el (tramp-handle-shell-command): Set process sentinel
8863 and process filter, as done also in `shell-command'.
8864
cf4eacfd
MR
88652011-09-21 Martin Rudalics <rudalics@gmx.at>
8866
eca3f3ea 8867 * window.el (set-window-buffer-start-and-point):
1154d12e
JB
8868 Call set-window-start with NOFORCE argument t.
8869 Suggested by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
cf4eacfd
MR
8870 (quit-window): Reword doc-string. Handle new format of
8871 quit-restore parameter. Don't delete window if it has a
8872 previous buffer we can show instead of the present one.
8873 (display-buffer-record-window): Rewrite using a new format for
8874 the quit-restore window parameter
8875 (special-display-popup-frame, display-buffer-same-window)
8876 (display-buffer-reuse-window, display-buffer-pop-up-frame)
8877 (display-buffer-pop-up-window, display-buffer-use-some-window):
8878 Adapt symbol passed to display-buffer-record-window.
8879 * help.el (help-window-setup): Handle new format of quit-restore
8880 parameter.
8881
8d28cb95
SM
88822011-09-21 Stefan Monnier <monnier@iro.umontreal.ca>
8883
94ab793f
SM
8884 * faces.el (face-list): Fix docstring (bug#9564).
8885
8d28cb95
SM
8886 * window.el (display-buffer--action-function-custom-type):
8887 Don't include internal functions in the Custom interface.
8888
3820edeb
JL
88892011-09-20 Juri Linkov <juri@jurta.org>
8890
8891 * info.el (Info-history-skip-intermediate-nodes): New defcustom.
8892 (Info-forward-node, Info-backward-node, Info-next-preorder)
8893 (Info-last-preorder): Use it. (Bug#9528)
8894
5147931d
JL
88952011-09-20 Juri Linkov <juri@jurta.org>
8896
8897 * info.el (Info-last-preorder): Visit last menu item only when
8898 `Info-scroll-prefer-subnodes' is non-nil (third test-case of bug#9528).
8899
cf499a1a
JD
89002011-09-20 Julien Danjou <julien@danjou.info>
8901
8902 * password-cache.el (password-cache-remove): Remove entries even if the
8903 value is nil, so that password with a nil value (negative caching) is
8904 possible to invalidate.
8905
f84e2fe2
LM
89062011-09-20 Lawrence Mitchell <wence@gmx.li>
8907
8908 * progmodes/f90.el (f90-break-line): If breaking inside comment delete
8909 all whitespace around breakpoint. (Bug#9553)
8910 (f90-find-breakpoint): Only break at whitespace inside a comment.
8911
78054a46
SM
89122011-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
8913
8914 * minibuffer.el (completion-file-name-table): Keep track of errors.
8915 (completion-table-with-predicate): Handle the case where pred1 is nil.
8916 * pcomplete.el (pcomplete-completions-at-point): Simplify.
8917
345083b2
SM
89182011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
8919
e24e27be
SM
8920 * emacs-lisp/debug.el (debugger-args): Give it a docstring.
8921 (debugger-return-value): Signal an error if the debugging context does
8922 not await any return value.
8923
345083b2
SM
8924 * ps-mule.el (ps-mule-plot-string): Don't inf-loop (bug#5108).
8925 * image-mode.el (image-toggle-display-text)
8926 (image-toggle-display-image): Stay away from evil `intangible'.
8927
08d355e3
LL
89282011-09-19 Leo Liu <sdl.web@gmail.com>
8929
8930 * replace.el (occur-revert-arguments): Make it permanent-local.
8931 (occur-mode): Don't call font-lock-defontify.
8932
f01da43f
CY
89332011-09-19 Chong Yidong <cyd@stupidchicken.com>
8934
8935 * net/ldap.el (ldap-search-internal): Don't push empty search
8936 result (Bug#9508).
8937
b6072fa6
SM
89382011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
8939
8940 * whitespace.el (whitespace-newline-mode): Disable it right (bug#9550).
8941
443d6696
MA
89422011-09-19 Michael Albinus <michael.albinus@gmx.de>
8943
8944 * net/tramp-sh.el (tramp-inline-compress-commands): Add "xz".
8945 Suggested by Liam Stitt <stittl@cuug.ab.ca>.
8946
7cc6e154
JL
89472011-09-18 Juri Linkov <juri@jurta.org>
8948
8949 * buff-menu.el (Buffer-menu-mode-map):
8950 * dired.el (dired-mode-map):
8951 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map)
8952 (lisp-interaction-mode-map):
8953 * emacs-lisp/package.el (package-menu-mode-map):
8954 * epa.el (epa-key-list-mode-map):
8955 * menu-bar.el (menu-bar-showhide-tool-bar-menu)
8956 (menu-bar-options-menu):
8957 * outline.el (outline-mode-menu-bar-map):
8958 * vc/vc-bzr.el (vc-bzr-shelve-menu-map, vc-bzr-extra-menu-map):
8959 * vc/vc-dir.el (vc-dir-menu-map):
8960 * vc/vc-git.el (vc-git-stash-menu-map, vc-git-extra-menu-map):
8961 Capitalize non-function content words in menu item strings.
8962
8963 * dired.el (dired-mode-map): Add menu item for
8964 `image-dired-dired-toggle-marked-thumbs'.
8965
80302a81
JL
89662011-09-18 Juri Linkov <juri@jurta.org>
8967
8968 * isearch.el (isearch-edit-string): Bind `isearch-new-case-fold'
8969 to `isearch-case-fold-search' and restore its original value
8970 after the `isearch-mode' call.
8971
46c5cf66
JL
89722011-09-18 Juri Linkov <juri@jurta.org>
8973
8974 * progmodes/grep.el (grep-process-setup): Don't check code for 1
8975 because `zgrep' returns 1 for successful matches (bug#9226).
8976
d18b513b
JL
89772011-09-18 Juri Linkov <juri@jurta.org>
8978
8979 * info.el (Info-extract-menu-node-name): Check the second match
8980 for empty string (second test-case of bug#9528).
8981 (Info-last-preorder): Let-bind `Info-history' to nil to not add
8982 intermediate nodes to the history (first test-case of bug#9528).
8983
72753f87
JL
89842011-09-18 Juri Linkov <juri@jurta.org>
8985
8986 * info.el (Info-mode-syntax-table): New variable.
1154d12e 8987 (Info-mode): Set `:syntax-table' to `Info-mode-syntax-table' (bug#3312).
72753f87 8988
c9384295
JL
89892011-09-18 Juri Linkov <juri@jurta.org>
8990
1154d12e
JB
8991 * info.el (Info-file-supports-index-cookies):
8992 Increment line-beginning-position's arg from 3 to 4 because makeinfo
8993 outputs one more line for long file names (bug#4142).
c9384295 8994
d473dce8
CY
89952011-09-18 Chong Yidong <cyd@stupidchicken.com>
8996
8997 * newcomment.el (comment-normalize-vars): If prompting for
8998 comment-start, set comment-start-skip too (Bug#8424).
8999
2176854d
JB
90002011-09-18 Johan Bockgård <bojohan@gnu.org>
9001
9002 * icomplete.el: Fix previous fix of Bug#5849.
9003 (icomplete-mode): Don't set completion-show-inline-help.
9004 (icomplete-minibuffer-setup): Set completion-show-inline-help
9005 locally during icompletion.
9006
3aace4e4
CY
90072011-09-18 Chong Yidong <cyd@stupidchicken.com>
9008
c940224f
CY
9009 * woman.el (woman2-process-escapes): Don't delete unrecognized
9010 escapes (Bug#7843).
9011
3aace4e4
CY
9012 * files.el (inhibit-first-line-modes-regexps): Add image files.
9013 (hack-local-variables-prop-line): Return nil for malformed
9014 prop-lines (Bug#9044).
9015
710dec63
MA
90162011-09-18 Michael Albinus <michael.albinus@gmx.de>
9017
9018 * net/tramp.el (top): Don't require 'shell.
9019 (tramp-methods): Fix docstring.
9020 (tramp-get-remote-tmpdir): New defun, moved from tramp-sh.el.
8d28cb95
SM
9021 Return complete remote file name. Handle "smb" case.
9022 Use `tramp-tmpdir', if defined for the respective method.
710dec63
MA
9023 (tramp-make-tramp-temp-file): Adapt call of `tramp-get-remote-tmpdir'.
9024
9025 * net/tramp-compat.el (top): Require 'shell.
9026
9027 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
9028 (tramp-maybe-open-connection): Use `tramp-file-name-real-host' for
9029 `tramp-current-host'.
9030 (tramp-get-remote-tmpdir): Remove.
9031
9032 * net/tramp-smb.el (tramp-methods): Add `tramp-remote-shell' and
9033 `tramp-tmpdir' entries.
9034 (tramp-smb-errors): Add "NT_STATUS_IMAGE_ALREADY_LOADED".
9035 (tramp-smb-handle-file-attributes): Ignore errors.
9036 (tramp-smb-wait-for-output): Check also for process end.
9037
5d5ac8ec
LMI
90382011-09-18 Lars Magne Ingebrigtsen <larsi@gnus.org>
9039
9040 * mail/smtpmail.el (smtpmail-via-smtp): Ignore errors that arise
9041 when sending QUIT (bug#9312).
9042
8c0f49f0
CY
90432011-09-17 Chong Yidong <cyd@stupidchicken.com>
9044
9045 * replace.el (occur-mode-map): Rebind occur-edit-mode to "e" (Bug#8463).
9046 (occur-edit-mode-map): Bind C-c C-c to occur-cease-edit and C-o to
9047 occur-mode-display-occurrence.
9048 (occur-edit-mode): Add usage message.
9049 (occur-cease-edit): New command.
9050 (occur-after-change-function): Use text properties to find the
9051 position of the prefix text.
9052 (occur-engine): Set stickiness of prefix text properties.
9053
8f1383f7
GM
90542011-09-17 Glenn Morris <rgm@gnu.org>
9055
9056 * progmodes/etags.el (complete-tag):
9057 Fix call to completion-in-region. (Bug#9526)
9058
744ba0e3
JL
90592011-09-17 Juri Linkov <juri@jurta.org>
9060
9061 * textmodes/ispell.el (ispell-word): Add to the error message
9062 the word, ispell program name and current dictionary (bug#9121).
9063 (ispell-tex-arg-end): Capitalize "error" in the error message.
9064
d9bbf400
AS
90652011-09-17 Andreas Schwab <schwab@linux-m68k.org>
9066
9067 * emacs-lisp/bytecomp.el (byte-compile-lapcode): Fix overflow
9068 check. (Bug#4251)
9069
8da11505
JL
90702011-09-17 Juri Linkov <juri@jurta.org>
9071
9072 * window.el (window-safe-min-height, window-safe-min-width):
9073 Fix typos (followup to bug#9522).
9074
a91adc7e
SJ
90752011-09-17 Sven Joachim <svenjoac@gmx.de>
9076
9077 * window.el (window-min-width, window-state-put): Fix typos (bug#9522).
9078
064f328a
EZ
90792011-09-16 Eli Zaretskii <eliz@gnu.org>
9080
9081 * simple.el (line-move): If goal-column is set, move by logical
9082 lines, not by display lines. (Bug#971)
9083 (next-line, previous-line, goal-column, line-move-visual): Doc fix
9084 to reflect the above change.
9085
e69df516
SM
90862011-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
9087
9088 * image.el (imagemagick-register-types): Use regexp-opt.
9089
cbb0f9ab
CY
90902011-09-15 Chong Yidong <cyd@stupidchicken.com>
9091
9092 * window.el (display-buffer-base-action): Rename from
9093 display-buffer-default-action. Make default value empty.
9094 (display-buffer-overriding-action): Convert to defvar.
9095 (display-buffer-fallback-action): New var.
9096
25322144
CY
90972011-09-15 Chong Yidong <cyd@stupidchicken.com>
9098
9099 * emacs-lisp/package.el (package-alist): Fix risky-local-variable
9100 declaration.
9101 (package--add-to-archive-contents): If there is a duplicate entry
9102 with an older version, remove it.
9103 (package-menu-mark-delete, package-menu-mark-install)
9104 (package-menu-mark-unmark): Make unused args optional.
e69df516
SM
9105 (package-menu-mark-obsolete-for-deletion):
9106 Use package-menu-get-status instead of a regexp search.
25322144
CY
9107 (package-menu-get-status): Use tabulated-list-entry.
9108 (package-menu-mark-upgrades): New command.
d770725a 9109 (package-menu-mode-map): Bind it to U. Add it to menu bar.
25322144
CY
9110 (package-menu-execute): Do installation before deletion.
9111 (package-menu-refresh, package-menu-execute): Use derived-mode-p
9112 instead of checking major-mode.
9113 (package-menu--find-upgrades): New function.
9114
7520339c
LMI
91152011-09-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
9116
9117 * mail/smtpmail.el (smtpmail-send-command): Don't include AUTH
9118 passwords in the log buffer.
65a046c4
LMI
9119 (smtpmail-process-filter): Update the process marker so that the
9120 "broken by peer" status message is inserted in the right place.
7520339c 9121
d3c30954
SM
91222011-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
9123
3fe48822
SM
9124 * textmodes/bibtex.el (bibtex-complete-string-cleanup)
9125 (bibtex-complete-crossref-cleanup): Adjust to accommodate needs of
9126 bibtex-completion-at-point-function.
9127 (bibtex-completion-at-point-function): Use them.
9128
1b8b3954
SM
9129 * newcomment.el (comment-add, comment-valid-prefix-p): Docfix.
9130
d3c30954
SM
9131 * mpc.el (mpc-constraints-tag-lookup): New function.
9132 (mpc-constraints-restore): Use it to make jumping to "album=Foo" apply
9133 also to browser "album|playlist".
9134
72779976
JL
91352011-09-14 Juri Linkov <juri@jurta.org>
9136
9137 * isearch.el (isearch-fail-pos): Add new arg `msg'. Doc fix.
9138 (isearch-edit-string): Use length of `isearch-string' when
9139 `isearch-fail-pos' returns nil.
9140 (isearch-message): Remove duplicate code and call
9141 `isearch-fail-pos' with arg `t'.
9142
a0bf2bcd
CY
91432011-09-14 Chong Yidong <cyd@stupidchicken.com>
9144
17bb0a2d
CY
9145 * replace.el (occur-mode-goto-occurrence): Don't force using other
9146 window (Bug#9499).
9147
a0bf2bcd
CY
9148 * dired-aux.el (dired-do-chmod): Don't provide initial input.
9149
f678e0b6
MR
91502011-09-14 Martin Rudalics <rudalics@gmx.at>
9151
9152 * window.el (display-buffer-window): Remove.
9153 (display-buffer-record-window): Use help-setup window parameter
9154 instead of variable display-buffer-window.
9155 (display-buffer-function, special-display-buffer-names)
9156 (special-display-function): Mention help-setup parameter instead
9157 of display-buffer-window in doc-string.
d3c30954
SM
9158 * help.el (help-window-setup): New argument help-window.
9159 Use help-window-setup parameter instead of display-buffer-window.
f678e0b6
MR
9160 Reword some messages.
9161 (with-help-window): Pass window used for displaying the buffer
9162 to help-window-setup. Don't set display-buffer-window.
9163
8e39b2e8
GM
91642011-09-13 Glenn Morris <rgm@gnu.org>
9165
9166 * emacs-lisp/debug.el (debugger-make-xrefs):
9167 Preserve point. (Bug#9462)
9168
85e9c04b
CY
91692011-09-13 Chong Yidong <cyd@stupidchicken.com>
9170
9171 * window.el (window-deletable-p): Use next-frame.
9172
1b36ed6a
MR
91732011-09-13 Martin Rudalics <rudalics@gmx.at>
9174
9175 * window.el (window-auto-delete): Remove.
9176 (window-deletable-p): Remove argument FORCE. Don't deal with
e4769531 9177 dedication and previous buffers.
1b36ed6a
MR
9178 (switch-to-prev-buffer): Don't delete window.
9179 (delete-windows-on): Delete a window's frame if and only if the
9180 window is dedicated.
9181 (replace-buffer-in-windows): Delete buffer's window or frame if
9182 and only if window is dedicated.
9183 (quit-window): Handle quit-restore as before last change.
4d61f28d 9184 (bury-buffer): Delete window only if window-deletable-p returns t.
1b36ed6a 9185
ef8ef9fb
CY
91862011-09-13 Chong Yidong <cyd@stupidchicken.com>
9187
9188 * window.el (window-deletable-p): Never delete the last frame on a
9189 given terminal.
9190
b2cba41e
GM
91912011-09-13 Glenn Morris <rgm@gnu.org>
9192
9193 * help.el (describe-key-briefly): Copy previous standard-output change.
9194
51553db6 91952011-09-13 PJ Weisberg <pj@irregularexpressions.net>
e3ce671f
PW
9196
9197 * help.el (where-is): Respect non-standard standard-output. (Bug#9030)
9198
b7556719
GM
91992011-09-13 Glenn Morris <rgm@gnu.org>
9200
9201 * emacs-lisp/lisp-mode.el (lisp-indent-function):
9202 * progmodes/scheme.el (scheme-indent-function): Doc fixes.
9203
64b51947
CY
92042011-09-12 Chong Yidong <cyd@stupidchicken.com>
9205
9206 * dired-aux.el (dired-mark-read-string): Don't return default
9207 value on empty input (Bug#9361).
9208 (dired-do-chxxx): Treat empty input for "touch" as no -t option.
9209 Omit initial minibuffer contents.
9210 (dired-do-chmod): Signal an error on empty input.
9211 (dired-mark-read-string): Don't return default on empty input.
9212
9213 * files.el (file-modes-symbolic-to-number): Doc fix.
9214
393a301e
SM
92152011-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
9216
9217 * international/mule-cmds.el (ucs-completions): Remove.
9218 (read-char-by-name): Use complete-with-action instead; add metadata.
9219
fa5660f9
CY
92202011-09-11 Chong Yidong <cyd@stupidchicken.com>
9221
9222 * window.el (display-buffer--action-function-custom-type)
9223 (display-buffer--action-custom-type): New vars.
9224 (display-buffer-alist, display-buffer-default-action)
9225 (display-buffer-overriding-action): Add defcustom types.
9226
4a592f66
CY
9227 * frame.el (delete-other-frames): Doc fix (Bug#276).
9228
73d56dbd
LMI
92292011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
9230
9231 * play/doctor.el (make-doctor-variables): Define `doctor-sent'.
9232
37ac18a3
CY
92332011-09-11 Chong Yidong <cyd@stupidchicken.com>
9234
9235 Change modes that used same-window-* vars to use switch-to-buffer.
9236
9237 * progmodes/gdb-mi.el (gdb-restore-windows, gdb-setup-windows):
9238 Use switch-to-buffer.
9239
9240 * cus-edit.el (customize-group, custom-buffer-create)
393a301e
SM
9241 (customize-browse, custom-buffer-create-other-window):
9242 Use switch-to-buffer or switch-to-buffer-other-window.
37ac18a3
CY
9243
9244 * info.el (info, Info-find-node, Info-revert-find-node, Info-next)
9245 (Info-prev, Info-up, Info-speedbar-goto-node)
9246 (info-display-manual): Use switch-to-buffer.
9247 (Info-speedbar-goto-node): Use switch-to-buffer-other-frame.
9248
9249 * mail/sendmail.el (mail): Use switch-to-buffer.
9250 (mail-recover): Use switch-to-buffer-other-window.
9251
9252 * cmuscheme.el (run-scheme, switch-to-scheme):
9253 * ielm.el (ielm):
9254 * shell.el (shell):
9255 * net/rlogin.el (rlogin):
9256 * net/telnet.el (telnet, rsh):
9257 * progmodes/inf-lisp.el (inferior-lisp): Use switch-to-buffer.
9258
10195bd6
AS
92592011-09-11 Andreas Schwab <schwab@linux-m68k.org>
9260
9261 * dired.el (dired-sort-toggle-or-edit): Revert last changes.
9262
b322f63a
LMI
92632011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
9264
39d7fed6
LMI
9265 * dired.el (dired-sort-toggle-or-edit): -o doesn't exist on *BSD,
9266 so don't mention it (bug#9301).
ba5a81f1 9267 (dired-sort-toggle-or-edit): Clarify string further.
39d7fed6 9268
ee0e9f11
LMI
9269 * faces.el (face-spec-set-match-display): Make `(type graphic)'
9270 match `x', `w32' and `ns', like the manual says (bug#9029).
9271
0b1c89c1 9272 * subr.el (eval-after-load): Doc string clarification (bug#9125).
da9fcb93
LMI
9273 (process-kill-buffer-query-function): Mention the buffer name in
9274 the query.
0b1c89c1 9275
77549ea8
LMI
9276 * image-mode.el (image-next-line): The line parameter is mandatory
9277 (bug#9258).
9278
803ef892
LMI
9279 * dired.el (dired-sort-toggle-or-edit): Mention -o and -g, too,
9280 which can be useful (bug#9301).
9281
12980837
LMI
9282 * textmodes/flyspell.el: Remove obsolete comment (bug#9368).
9283
91054f8f
LMI
9284 * subr.el (match-string): Mention that the current buffer should
9285 be the same as the search was done in (bug#9282).
9286
b322f63a
LMI
9287 * facemenu.el: Disable the remove-* commands if the mark isn't
9288 active (bug#9162).
9289
3199b96f
CY
92902011-09-10 Chong Yidong <cyd@stupidchicken.com>
9291
9292 * buff-menu.el (Buffer-menu-switch-other-window): Use second arg
9293 of display-buffer.
9294 (Buffer-menu-2-window): Use switch-to-buffer-other-window.
9295
9296 * replace.el (occur-mode-goto-occurrence)
9297 (occur-mode-display-occurrence) Use second arg of pop-to-buffer
9298 and display-buffer.
9299
9300 * mail/reporter.el (reporter-submit-bug-report): Use second arg of
9301 display-buffer.
9302
9303 * mail/sendmail.el (sendmail-user-agent-compose): Don't bind the
9304 special-display and same-window variables.
9305 (mail-other-window): Use switch-to-buffer-other-window.
9306 (mail-other-frame): USe switch-to-buffer-other-frame.
9307
393a301e
SM
9308 * progmodes/gdb-mi.el (gdb-frame-gdb-buffer):
9309 Use display-buffer-other-frame.
3199b96f
CY
9310 (gdb-display-gdb-buffer): Use pop-to-buffer.
9311
9312 * progmodes/gud.el (gud-goto-info): Use info-other-window.
9313
9314 * progmodes/python.el: Don't set same-window-buffer-names.
9315
9316 * textmodes/bibtex.el (bibtex-search-entry): Use switch-to-buffer.
9317
9318 * window.el (display-buffer-alist): Add *Python*.
9319
8319e0bf
CY
93202011-09-10 Chong Yidong <cyd@stupidchicken.com>
9321
9322 * window.el (display-buffer-alist): Add entry for buffers
9323 previously handled same-window-*.
9324 (display-buffer-alist, display-buffer-default-action)
9325 (display-buffer-overriding-action): Mark as risky.
9326 (display-buffer-alist): Document action function changes.
9327 (display-buffer--same-window-action)
9328 (display-buffer--other-frame-action): New variables.
9329 (switch-to-buffer, display-buffer-other-frame): Use them.
9330 (display-buffer): Rename reuse-frame entry to reusable-frames.
9331 (display-buffer-reuse-selected-window): Function deleted.
9332 (display-buffer-reuse-window): Handle reusable-frames alist entry.
9333 If it's omitted, check pop-up-frames/display-buffer-reuse-frames.
9334 (display-buffer-special): New function.
9335 (display-buffer--maybe-pop-up-frame-or-window): Rename from
9336 display-buffer-reuse-or-pop-window. Split off special-display
9337 part into display-buffer-special.
9338 (display-buffer-use-some-window): Don't perform any special
9339 pop-up-frames handling.
9340 (pop-to-buffer): Use window-normalize-buffer-to-switch-to.
393a301e 9341 (display-buffer--maybe-same-window): Rename from
0d3ff375 9342 display-buffer-maybe-same-window.
8319e0bf 9343
919a69aa
CY
9344 * info.el: Don't set same-window-regexps.
9345 (info-setup): New function.
9346 (info-other-window, info): Call it.
9347
9348 * cus-edit.el: Don't set same-window-regexps.
9349 (customize-group): New argument.
9350 (customize-group-other-window): Use it.
9351 (customize-face, customize-face-other-window): Likewise.
9352 (custom-buffer-create-other-window): Use pop-to-buffer directly.
9353
8319e0bf
CY
9354 * net/rlogin.el:
9355 * net/telnet.el:
9356 * progmodes/gud.el: Don't set same-window-regexps.
9357
9358 * cmuscheme.el:
9359 * ielm.el:
9360 * shell.el:
9361 * mail/sendmail.el:
9362 * progmodes/inf-lisp.el: Don't set same-window-buffer-names.
9363
25173000
JL
93642011-09-10 Juri Linkov <juri@jurta.org>
9365
9366 * isearch.el (isearch-edit-string): Remove obsolete mention of
9367 `C-w' (`isearch-yank-word-or-char') from docstring.
9368 (isearch-query-replace): Fix typo in docstring (bug#9466).
9369
056e44ef
JL
93702011-09-10 Juri Linkov <juri@jurta.org>
9371
9372 * paren.el (show-paren-function): Don't show escaped parens.
9373 Let-bind `unescaped' to `t' when paren is not escaped. (Bug#9461)
9374
c3760c17
EZ
93752011-09-10 Eli Zaretskii <eliz@gnu.org>
9376
9377 * mail/sendmail.el (mml-to-mime, mml-attach-file)
9378 (mm-default-file-encoding): Remove autoload forms, they are
9379 replaced with autoload cookies in mml.el and mm-encode.el.
9380 (mail-add-attachment): New command.
9381 (mail-mode-map): Add a menu-bar item for mail-add-attachment.
9382 (mail-mode): Mention mail-insert-file and mail-add-attachment in
9383 the doc string.
9384 (mml-to-mime, mml-attach-file, mm-default-file-encoding): Declare.
9385
fece895e
RT
93862011-09-10 Reuben Thomas <rrt@sc3d.org>
9387
e69df516
SM
9388 * simple.el (count-words-region): Use buffer if there's no region
9389 (bug#9429).
fece895e 9390
5e68ce4a
JL
93912011-09-09 Juri Linkov <juri@jurta.org>
9392
9393 * wdired.el (wdired-change-to-wdired-mode): Set buffer-local
9394 `isearch-filter-predicate' to `wdired-isearch-filter-read-only'.
9395 (wdired-isearch-filter-read-only): New function. (Bug#6362)
9396
0a6b9622
AM
93972011-09-09 Alan Mackenzie <acm@muc.de>
9398
9399 * progmodes/cc-mode.el (awk-mode): Prevent `define-derived-mode'
9400 spuriously generating `awk-mode-syntax-table'. (Bug #9448).
9401
14a29deb
EZ
94022011-09-09 Eli Zaretskii <eliz@gnu.org>
9403
9404 Fix for Savannah bug#9392.
9405 * simple.el (mail-encode-mml): New defvar.
9406
9407 * mail/rmail.el (mail-encode-mml): Add a defvar.
9408 (rmail-enable-mime-composing): Default to t.
9409 (rmail-forward): Use MIME method of forwarding only if both
9410 rmail-enable-mime-composing and rmail-enable-mime are non-nil.
9411 Set mail-encode-mml non-nil if the MIME method was used.
9412
9413 * mail/sendmail.el (mml-to-mime): Add autoload form.
9414 (mail-encode-mml): Add a defvar.
9415 (mail-mode): Make mail-encode-mml buffer-local and initialize it
9416 to nil.
9417 (mail-send): If mail-encode-mml is non-nil, run the outgoing
9418 message through mml-to-mime, and reset mail-encode-mml to nil.
9419
28c45130
GM
94202011-09-09 Glenn Morris <rgm@gnu.org>
9421
9422 * woman.el (woman-if-body): When processing an .el block,
9423 do not delete the next .el block as well. (Bug#9447)
69f4b618 9424 (woman-special-characters): Add oq, cq, and hy characters.
28c45130 9425
9b1c252e
MR
94262011-09-08 Martin Rudalics <rudalics@gmx.at>
9427
9428 * window.el (window-deletable-p): Make sure window is live before
9429 invoking window-prev-buffers.
9430
567457e3
LL
94312011-09-08 Leo Liu <sdl.web@gmail.com>
9432
9433 * net/rcirc.el (rcirc-cmd-invite): New rcirc command. (Bug#9453)
9434
97f05794
JL
94352011-09-08 Juri Linkov <juri@jurta.org>
9436
9437 * progmodes/compile.el (compilation-environment): Make it
9438 a defcustom (bug#8340).
9439
8b0874b5
MR
94402011-09-08 Martin Rudalics <rudalics@gmx.at>
9441
9442 * window.el (frame-auto-delete): Rename to window-auto-delete.
9443 Make it control auto-deletion of windows and/or frames.
9444 (window-deletable-p): New argument FORCE. Rewrite conditions
5e617bc2 9445 for deleting window/frame. (Bug#9419)
8b0874b5
MR
9446 (switch-to-prev-buffer, replace-buffer-in-windows, quit-window):
9447 Rewrite handling of case when window/frame can be deleted.
9448 (delete-windows-on): Call window-deletable-p with new FORCE
5e617bc2 9449 argument t. (Bug#9456)
8b0874b5 9450
4feb6e73
CY
94512011-09-07 Chong Yidong <cyd@stupidchicken.com>
9452
9453 * help-mode.el (help-mode): Restore autoload.
9454
91ab9c13
JL
94552011-09-07 Juri Linkov <juri@jurta.org>
9456
9457 * progmodes/compile.el (compilation-start): Let-bind `thisenv' to
9458 `compilation-environment'. Set buffer-local
9459 `compilation-environment' to `thisenv' later after (funcall mode).
9460 (Bug#8340)
9461
9462 * vc/vc-git.el (vc-git-grep): Remove --no-color. (Bug#9408)
9463 (vc-git-grep): Prepend "PAGER=" to `compilation-environment'
9464 instead of replacing its value. (Bug#8340)
9465
0527e251
JL
94662011-09-07 Juri Linkov <juri@jurta.org>
9467
9468 * progmodes/grep.el (grep-regexp-alist): Calculate column positions
9469 based on text properties put by `grep-filter' instead of matching
9470 escape sequences.
9471 (grep-mode): Set buffer-local `compilation-error-screen-columns'
9472 to the value of `grep-error-screen-columns' (bug#9438).
9473
249f792c
JL
94742011-09-07 Juri Linkov <juri@jurta.org>
9475
9476 * simple.el (next-error-highlight, next-error-highlight-no-select):
9477 Doc fix (bug#9432).
9478
ff7271b9
OT
94792011-09-07 OKAZAKI Tetsurou <okazaki.tetsurou@gmail.com> (tiny change)
9480
9481 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
9482 Check for null c-opt-block-decls-with-vars-key. (Bug#9443)
9483
183fc730
LL
94842011-09-07 Leo Liu <sdl.web@gmail.com>
9485
9486 * net/rcirc.el (rcirc-mode): Conditionally initialize
9487 rcirc-input-ring.
9488
77694924
SM
94892011-09-07 Stefan Monnier <monnier@iro.umontreal.ca>
9490
9491 * emacs-lisp/find-func.el (find-function-C-source): Only set
9492 find-function-C-source-directory after checking that we found a source
9493 file there (bug#9440).
9494
d809b8eb
AM
94952011-09-06 Alan Mackenzie <acm@muc.de>
9496
9497 * isearch.el (isearch-other-meta-char): Wherever a key list is
9498 unread, "unread" the prefix arg, too. This fixes bug #8901.
9499
453de99f
OG
95002011-09-05 Oleksandr Gavenko <gavenkoa@gmail.com> (tiny change)
9501
9502 * progmodes/grep.el (rgrep): Add "-type d" (bug#9414).
9503
90439906
JL
95042011-09-05 Juri Linkov <juri@jurta.org>
9505
9506 * progmodes/grep.el (grep-process-setup): Fix comments (bug#8084).
9507
f62bd846
JL
95082011-09-05 Juri Linkov <juri@jurta.org>
9509
9510 * progmodes/grep.el (grep-filter): Avoid incomplete processing by
9511 keeping point where processing of grep matches begins, and
9512 continue to delete remaining escape sequences from the same point.
9513 (grep-filter): Make leading zero optional in "0?1;31m" because
9514 git-grep emits "\033[1;31m" escape sequences unlike expected
9515 "\033[01;31m" as GNU Grep does (bug#9408).
9516 (grep-process-setup): Replace obsolete "ml=" with newer "sl=".
9517
045820ec
JL
95182011-09-05 Juri Linkov <juri@jurta.org>
9519
9520 * subr.el (y-or-n-p): Capitalize "yes".
9521
f5e29b9b
MA
95222011-09-04 Michael Albinus <michael.albinus@gmx.de>
9523
9524 * net/tramp.el (top): Require 'shell. Use `tramp-unload-hook' but
9525 `tramp-cache-unload-hook' where appropriate.
9526 (tramp-methods): Rename `tramp-remote-sh' to
9527 `tramp-remote-shell'. Add `tramp-remote-shell-args'.
9528 (tramp-handle-shell-command): New defun, moved from tramp-sh.el.
9529
9530 * net/tramp-sh.el (top): Don't require 'shell.
9531 (tramp-methods): Add `tramp-remote-shell' and
9532 `tramp-remote-shell-args' entries.
9533 (tramp-sh-file-name-handler-alist): Use `tramp-handle-shell-command'.
9534 (tramp-sh-handle-shell-command): Remove.
9535 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
9536 Use `tramp-remote-shell'.
9537
2784c434
CY
95382011-09-03 Chong Yidong <cyd@stupidchicken.com>
9539
393a301e 9540 * mail/sendmail.el (sendmail-query-once-function): Delete.
2784c434
CY
9541 (sendmail-query-once): Save directly to send-mail-function.
9542 Update message-send-mail-function too.
9543
9544 * mail/smtpmail.el (smtpmail-try-auth-methods): Clarify prompt.
9545
464cdf56
CS
95462011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
9547
9548 * progmodes/python.el (python-mode-map): Use correct function to
9549 start python interpreter from menu-bar (as reported by Geert
9550 Kloosterman).
9551 (inferior-python-mode-map): Fix typo.
393a301e 9552 (python-shell-map): Remove.
464cdf56 9553
d37e5c87
DD
95542011-09-03 Deniz Dogan <deniz@dogan.se>
9555
9556 * net/rcirc.el (rcirc-print): Simplify code for
9557 rcirc-scroll-show-maximum-output. There is no need to walk
9558 through all windows to find the right one.
9559
f3ada0ee
CS
95602011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
9561
9562 * help.el (help-return-method): Doc fix.
9563
1f3c99ca
MR
95642011-09-03 Martin Rudalics <rudalics@gmx.at>
9565
9566 * window.el (window-deletable-p): Don't return a non-nil value
9567 when there's a buffer that was shown in the window before.
9568 (Bug#9419)
393a301e
SM
9569 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
9570 Set window's previous buffers to nil.
1f3c99ca 9571
a3cf097f
EZ
95722011-09-03 Eli Zaretskii <eliz@gnu.org>
9573
9574 * mail/rmailmm.el (rmail-mime-insert-tagline): Insert an extra
9575 newline before and after the tag line, so it doesn't interfere
9576 with determining the paragraph direction of bidirectional text.
9577
3d03de90
LL
95782011-09-03 Leo Liu <sdl.web@gmail.com>
9579
9580 * files.el (find-file-not-true-dirname-list): Remove. (Bug#9422)
9581
c3313451
CY
95822011-09-02 Chong Yidong <cyd@stupidchicken.com>
9583
393a301e 9584 * window.el (pop-to-buffer-1, pop-to-buffer-same-window): Delete.
c3313451
CY
9585 (pop-to-buffer): Change interactive spec. Pass second argument
9586 directly to display-buffer.
9587 (display-buffer): Fix interactive spec. Use functionp to
9588 distinguish between a function and a list of functions.
9589
9590 * abbrev.el (edit-abbrevs):
9591 * arc-mode.el (archive-extract):
9592 * autoinsert.el (auto-insert):
9593 * bookmark.el (bookmark-bmenu-list):
9594 * files.el (find-file):
9595 * view.el (view-buffer):
9596 * progmodes/compile.el (compilation-goto-locus):
9597 * textmodes/bibtex.el (bibtex-initialize): Use switch-to-buffer.
9598
89894cd8
CY
95992011-09-02 Chong Yidong <cyd@stupidchicken.com>
9600
9601 * window.el (display-buffer-alist): Doc fix.
9602 (display-buffer): Add docstring. Don't treat
9603 display-buffer-default specially.
9604 (display-buffer-reuse-selected-window)
9605 (display-buffer-same-window, display-buffer-maybe-same-window)
9606 (display-buffer-reuse-window, display-buffer-pop-up-frame)
9607 (display-buffer-pop-up-window)
9608 (display-buffer-reuse-or-pop-window)
9609 (display-buffer-use-some-window): New functions.
9610 (display-buffer-default-action): Use them.
393a301e 9611 (display-buffer-default): Delete.
89894cd8
CY
9612 (pop-to-buffer-1): Fix choice of actions.
9613
ae0bc9fb
SM
96142011-09-02 Stefan Monnier <monnier@iro.umontreal.ca>
9615
9616 * minibuffer.el (completion--insert-strings): Don't get confused by
9617 completion entries that end with an LF char.
9618
e9d90883
EZ
96192011-09-01 Eli Zaretskii <eliz@gnu.org>
9620
9621 * window.el (frame-auto-delete, window-deletable-p): Doc fix.
9622
437014c8
CY
96232011-09-01 Chong Yidong <cyd@stupidchicken.com>
9624
9625 * window.el (display-buffer): Restore interactive spec.
ae0bc9fb
SM
9626 (display-buffer-same-window, display-buffer-other-window):
9627 New functions.
437014c8
CY
9628 (pop-to-buffer-1): New function. Use the above.
9629 (pop-to-buffer, pop-to-buffer-same-window): Use it.
ae0bc9fb 9630 (pop-to-buffer-other-window, pop-to-buffer-other-frame): Delete.
437014c8
CY
9631
9632 * view.el (view-buffer-other-window, view-buffer-other-frame):
9633 Just use pop-to-buffer.
9634
a5e063d5
TV
96352011-09-01 Thierry Volpiatto <thierry.volpiatto@gmail.com>
9636
9637 * vc/vc-rcs.el (vc-rcs-responsible-p): Handle directories. (Bug#9391)
9638
793d32bb
WH
96392011-09-01 Wilfred Hughes <wilfred@potatolondon.com> (tiny change)
9640
9641 * vc/vc-git.el (vc-git-grep): Use --no-color. (Bug#9408)
9642
d65e4c15
RS
96432011-08-31 Richard Stallman <rms@gnu.org>
9644
9645 * mail/rmail.el (rmail-epa-decrypt): Rewrite to take account
9646 of the separation of rmail-view-buffer from rmail-buffer.
9647 If you say no to "replace original", the decrypt is in the
9648 view buffer. If you say yes, the decrypt goes into the
9649 rmail buffer also.
9650
f818cd2a
MR
96512011-08-31 Martin Rudalics <rudalics@gmx.at>
9652
9653 * window.el (display-buffer-window): Rewrite doc-string.
9654 (display-buffer-record-window): New function.
9655 (display-buffer-macro-specifiers)
9656 (display-buffer-even-window-sizes, display-buffer-set-height)
9657 (display-buffer-set-width, display-buffer-in-window)
9658 (display-buffer-reuse-window, display-buffer-split-specifiers)
9659 (display-buffer-side-specifiers, display-buffer-split-window-1)
9660 (display-buffer-split-window, display-buffer-split-atom-window)
9661 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
9662 (display-buffer-pop-up-side-window, display-buffer-in-side-window)
9663 (display-buffer-other-window-means-other-frame)
9664 (display-buffer-normalize-special)
9665 (display-buffer-normalize-default)
9666 (display-buffer-normalize-argument)
9667 (display-buffer-normalize-alist-1, display-buffer-normalize-alist)
9668 (display-buffer-normalize-specifiers, display-buffer-frame)
9669 (display-buffer-same-window, display-buffer-same-frame)
9670 (display-buffer-other-window)
9671 (display-buffer-same-frame-other-window)
9672 (display-buffer-other-frame, pop-to-buffer-same-window)
9673 (pop-to-buffer-same-frame, pop-to-buffer-other-window)
9674 (pop-to-buffer-same-frame-other-window, pop-to-buffer-other-frame)
9675 (switch-to-buffer-same-frame)
9676 (switch-to-buffer-other-window-same-frame)
9677 (display-buffer-alist-of-strings-p, display-buffer-alist-add)
9678 (display-buffer-alist-set-1, display-buffer-alist-set-2)
9679 (display-buffer-alist-set): Remove.
9680 (display-buffer-function, special-display-buffer-names)
ae0bc9fb
SM
9681 (special-display-regexps, special-display-function):
9682 In doc-string refer to display-buffer-window and quit-restore
f818cd2a
MR
9683 parameter.
9684 (pop-up-frame-alist, pop-up-frame-function, special-display-p)
9685 (special-display-frame-alist, special-display-popup-frame)
9686 (same-window-buffer-names, same-window-regexps, same-window-p)
9687 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
9688 (split-window-preferred-function, split-height-threshold)
9689 (split-width-threshold, window-splittable-p)
9690 (split-window-sensibly, window--try-to-split-window)
9691 (window--frame-usable-p, even-window-heights)
9692 (window--even-window-heights, window--display-buffer-1)
ae0bc9fb
SM
9693 (window--display-buffer-2, display-buffer-other-frame):
9694 Restore old Emacs 23 code, order and doc-strings where applicable.
f818cd2a
MR
9695 (display-buffer-default, display-buffer-assq-regexp): New functions.
9696 (display-buffer-alist): Rewrite doc-string.
9697 (display-buffer-default-action)
9698 (display-buffer-overriding-action): New variables.
9699 (display-buffer, switch-to-buffer): Rewrite.
9700 (pop-to-buffer): Restore Emacs 23 behavior but use
9701 window-normalize-buffer-to-display.
9702 (switch-to-buffer-other-window, switch-to-buffer-other-frame):
9703 Restore Emacs 23 behavior but use
9704 window-normalize-buffer-to-switch-to.
9705 (pop-to-buffer-same-window): Rewrite.
ae0bc9fb
SM
9706 (pop-to-buffer-other-window, pop-to-buffer-other-frame):
9707 Rewrite using Emacs 23 options.
f818cd2a 9708
5bc3b51d
MA
97092011-08-31 Michael Albinus <michael.albinus@gmx.de>
9710
9711 * net/tramp.el (tramp-root-regexp): Remove.
9712 (tramp-completion-file-name-regexp-unified)
9713 (tramp-completion-file-name-regexp-separate)
9714 (tramp-completion-file-name-regexp-url): Don't use leading volume
9715 letter on win32 systems. (Bug#5303, Bug#9311)
ae0bc9fb
SM
9716 (tramp-drop-volume-letter): Simplify definition.
9717 Suggested by Stefan Monnier <monnier@iro.umontreal.ca>.
5bc3b51d 9718
b1a4f8e1
SM
97192011-08-30 Stefan Monnier <monnier@iro.umontreal.ca>
9720
9721 * subr.el (event-modifiers): Fix "missing modifier" part of docstring
9722 (bug#9356).
9723
5664fa7b
RT
97242011-08-30 Reuben Thomas <rrt@sc3d.org> (tiny change)
9725
b1a4f8e1 9726 * vc/pcvs-defs.el (cvs-find-file-and-jump): Docstring typo (bug#9369).
5664fa7b 9727
9a45d6c3
JL
97282011-08-29 Juri Linkov <juri@jurta.org>
9729
9730 * isearch.el (isearch-done): Don't display message "Mark saved"
9731 when arg `edit' is non-nil to prevent its flicker in the echo area.
9732
fb87e0fb
CY
97332011-08-28 Chong Yidong <cyd@stupidchicken.com>
9734
9735 * emacs-lisp/package.el (package-menu-mark-delete): Allow marking
9736 obsolete packages for deletion.
9737
09ac1c2a
CS
97382011-08-28 Christoph Scholtes <cschol2112@googlemail.com>
9739
9740 * help-mode.el (help-mode-map): Add special-mode-map to parent.
5e617bc2 9741 (help-mode): Derive help-mode from special-mode. Don't invoke
09ac1c2a
CS
9742 view-mode from help-mode.
9743 (help-xref-override-view-map): Remove.
9744 (help-make-xrefs): Remove minor-mode-overriding-map-alist since
9745 view-mode is not used anymore.
9746
7a1ff57f
CY
97472011-08-28 Chong Yidong <cyd@stupidchicken.com>
9748
9749 * server.el (server-port): Doc fix.
9750
b9696605
CY
9751 * cus-theme.el (custom-theme-choose-mode): Inherit from
9752 special-mode (Bug#9124).
9753 (custom-theme-choose-mode-map): Add special-mode to parent.
9754
ef8cdf8c
AM
97552011-08-28 Alan Mackenzie <acm@muc.de>
9756
9757 * progmodes/cc-fonts.el
9758 (c-make-font-lock-BO-decl-search-function): New function.
9759 (c-basic-matchers-after - "Fontify the clauses after various
9760 keywords"): Extract the three keyword lists for the 3 erroneous
9761 constructs from the list of four, and use the new function above
9762 in place of an old one.
9763
27de4e20
DD
97642011-08-28 Deniz Dogan <deniz@dogan.se>
9765
9766 * net/rcirc.el (rcirc-insert-prev-input)
9767 (rcirc-insert-next-input): Remove unused argument.
9768
356a3681
SM
97692011-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
9770
9771 * shell.el (shell-parse-pcomplete-arguments): Unquote args (bug#9160).
9772
3fc9b218
AM
97732011-08-27 Alan Mackenzie <acm@muc.de>
9774
9775 * progmodes/cc-menus.el (cc-imenu-c++-generic-expression): Make it
9776 handle function pointer parameters properly.
9777
538a061c
MR
97782011-08-27 Martin Rudalics <rudalics@gmx.at>
9779
9780 * window.el (display-buffer-reuse-window): Fix case where
9781 selected window was reused with non-nil OTHER-WINDOW argument.
9782 (Bug#9381)
9783
35b1c40c
DD
97842011-08-27 Deniz Dogan <deniz@dogan.se>
9785
9786 * net/rcirc.el (rcirc-check-auth-status): Adding support for
9787 oftc's NickServ messages.
9788
2f6a3e79
GM
97892011-08-27 Glenn Morris <rgm@gnu.org>
9790
9791 * saveplace.el (save-place-limit): Make it finite. (Bug#9352)
9792
7254299e
CY
97932011-08-26 Chong Yidong <cyd@stupidchicken.com>
9794
9795 * emacs-lisp/package.el (package-install): Call package-initialize
9796 if called interactively.
9797
f8ccf167
LL
97982011-08-26 Leo Liu <sdl.web@gmail.com>
9799
9800 * emacs-lisp/cl-macs.el (defstruct): Fix format. (Bug#9357)
9801
3e8cd5ce
JL
98022011-08-25 Juri Linkov <juri@jurta.org>
9803
9804 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
9805 `search-whitespace-regexp' (bug#9364).
9806
93eb7113
JL
98072011-08-25 Juri Linkov <juri@jurta.org>
9808
9809 * isearch.el (isearch-edit-string): Let-bind `search-ring' and
9810 `regexp-search-ring' to their global values to protect from
9811 updating by `read-from-minibuffer' (bug#9185).
9812
f65d1611
JL
98132011-08-25 Juri Linkov <juri@jurta.org>
9814
9815 * textmodes/ispell.el (ispell-command-loop): Add newline
9816 at the end of the "Use option `i'..." line.
9817
f1cf7a31
JL
98182011-08-25 Juri Linkov <juri@jurta.org>
9819
9820 * battery.el (display-battery-mode): If `battery-status-function'
9821 or `battery-mode-line-format' is nil, display the message and set
9822 `display-battery-mode' to nil (bug#9363).
9823
0c95fcf7
EZ
98242011-08-25 Eli Zaretskii <eliz@gnu.org>
9825
9826 * buff-menu.el (Buffer-menu-buffer+size): Remove calls to
9827 bidi-string-mark-left-to-right; they are unnecessary now.
9828
a2ebe600
DD
98292011-08-25 Deniz Dogan <deniz@dogan.se>
9830
9831 * net/quickurl.el: Documentation typo fixes.
9832
e4ed06f1
CY
98332011-08-25 Chong Yidong <cyd@stupidchicken.com>
9834
9835 * window.el (bury-buffer, quit-window): Use bury-buffer-internal.
9836
e5f1c99e
GM
98372011-08-25 Glenn Morris <rgm@gnu.org>
9838
b2948976
GM
9839 * emacs-lisp/derived.el (define-derived-mode): Doc fix.
9840
e5f1c99e
GM
9841 * mail/smtpmail.el (smtpmail-smtp-user): Add version: tag.
9842 (smtpmail-via-smtp): Handle nil response from smtp.
9843
f22f4808
JL
98442011-08-24 Juri Linkov <juri@jurta.org>
9845
9846 * proced.el (proced-marked): Inherit from `error' instead of
9847 `font-lock-warning-face'.
9848
9849 * ibuffer.el (ibuffer-marked-face): Change default face from
9850 `font-lock-warning-face' to `warning'.
9851 (ibuffer-deletion-face): Change default face from
9852 `font-lock-type-face' to `error'.
9853
9854 * battery.el (battery-update): Use the face `error' instead of
9855 `font-lock-warning-face' (bug#6117).
9856
6a93965e
JL
98572011-08-24 Juri Linkov <juri@jurta.org>
9858
9859 * faces.el (success): Change face color from "Green3" to
9860 "ForestGreen" on light background (bug#9353).
9861
1ed43b09
CY
98622011-08-24 Chong Yidong <cyd@stupidchicken.com>
9863
5664fa7b
RT
9864 * window.el (quit-window): Rename from quit-restore-window.
9865 Use same arglist as old quit-window.
1ed43b09
CY
9866 (frame-auto-delete): Doc fix.
9867
9868 * view.el (view-mode-exit): Use quit-window.
9869
11dcdbb2
JL
98702011-08-24 Juri Linkov <juri@jurta.org>
9871
9872 * isearch.el (isearch-ring-adjust1): Start visiting previous
9873 search strings from the index 0 (-1 + 1) instead of 1 (0 + 1).
9874 (isearch-repeat, isearch-edit-string): Call `isearch-ring-adjust1'
9875 for empty search string (when the last search string is reused
9876 automatically) to adjust the isearch ring to the last element and
9877 prepare the correct index for further M-p commands (bug#9185).
9878
de62b4df
KH
98792011-08-24 Kenichi Handa <handa@m17n.org>
9880
9881 * international/ucs-normalize.el: If decomposition property of
9882 CHAR is the default one (i.e. a list of CHAR itself), treat it as
9883 nil.
9884 (nfd, nfkd): Likewise.
9885
963b492b
SM
98862011-08-24 Stefan Monnier <monnier@iro.umontreal.ca>
9887
9888 * mpc.el (mpc--proc-filter): Don't signal mpc-proc-error since signals
9889 from process filters aren't reliably transmitted to the surrounding
9890 accept-process-output.
9891 (mpc-proc-check): New function.
9892 (mpc-proc-sync): Use it (bug#8293)
9893
93b6b5e1
SM
98942011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
9895
9896 * emacs-lisp/eieio.el (eieio-defmethod, eieio-defgeneric):
9897 Add compatibility functions (bug#9313).
9898
bca633fb
EZ
98992011-08-23 Eli Zaretskii <eliz@gnu.org>
9900
b177498a
EZ
9901 * cus-start.el (all): Add entry for bidi-paragraph-direction.
9902
6df6ae42 9903 * international/uni-bidi.el: Regenerate.
bca633fb 9904
0902a04e
KH
99052011-08-23 Kenichi Handa <handa@m17n.org>
9906
9907 * international/charprop.el:
9908 * international/uni-bidi.el:
9909 * international/uni-category.el:
9910 * international/uni-combining.el:
9911 * international/uni-comment.el:
9912 * international/uni-decimal.el:
9913 * international/uni-decomposition.el:
9914 * international/uni-digit.el:
9915 * international/uni-lowercase.el:
9916 * international/uni-mirrored.el:
9917 * international/uni-name.el:
9918 * international/uni-numeric.el:
9919 * international/uni-old-name.el:
9920 * international/uni-titlecase.el:
9921 * international/uni-uppercase.el: Regenerate.
9922
3bbf23bc
MR
99232011-08-23 Martin Rudalics <rudalics@gmx.at>
9924
9925 * help.el (help-window-setup): Fix message displayed when other
9926 window is reused. (Bug#9341)
9927
b3fd59bd
SM
99282011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
9929
1802e444
SM
9930 * shell.el (shell-completion-vars): Set pcomplete-arg-quote-list.
9931 * pcomplete.el (pcomplete-quote-argument): Fix thinko (bug#9161).
9932
b3fd59bd
SM
9933 * pcomplete.el (pcomplete-parse-comint-arguments): Fix inf-loop.
9934 Mark obsolete.
9935 * shell.el (shell-parse-pcomplete-arguments): New function.
9936 (shell-completion-vars): Use it instead (bug#9160).
9937
4eb61348
SM
99382011-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
9939
867cab74
SM
9940 * progmodes/sh-script.el (sh-maybe-here-document): Disable magic in
9941 strings and comments (bug#9333).
9942
4eb61348
SM
9943 * emacs-lisp/debug.el (debug-arglist): New function.
9944 (debug-convert-byte-code): Use it. Handle lexical byte-codes.
9945 (debug-on-entry-1): Handle interpreted closures (bug#9120).
9946
262a1439
JL
99472011-08-22 Juri Linkov <juri@jurta.org>
9948
56ee679c
JL
9949 * progmodes/compile.el (compilation-mode-font-lock-keywords):
9950 Revert regexp that highlights output switches to its old
9951 pre-2010-10-28 value and remove one `?' from it (bug#9319).
9952
262a1439
JL
9953 * progmodes/grep.el (grep-process-setup): Use `buffer-modified-p'
9954 to check for empty output (bug#9226).
9955
f13f86fb
CY
99562011-08-22 Chong Yidong <cyd@stupidchicken.com>
9957
9958 * progmodes/scheme.el (scheme-mode-syntax-table): Don't use
9959 symbol-constituent as the default, as that stops font-lock from
9960 working properly (Bug#8843).
9961
c65c9622
LMI
99622011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
9963
9964 * mail/smtpmail.el (smtpmail-via-smtp): Only bind
9965 `coding-system-for-*' around the process open call to avoid
9966 auth-source side effects.
e7f2c178 9967 (smtpmail-try-auth-methods): Expand the secret password.
7185da52
LMI
9968 (smtpmail-query-smtp-server): Allow `quit'-ing out in case the
9969 probe hangs.
c65c9622 9970
23a8a5ab
CY
99712011-08-21 Chong Yidong <cyd@stupidchicken.com>
9972
ff98b2dd
CY
9973 * term.el (term-mouse-paste): Yank primary selection (Bug#6845).
9974
23a8a5ab
CY
9975 * emacs-lisp/find-func.el (find-function-noselect): New arg
9976 lisp-only.
9977
9978 * emacs-lisp/edebug.el (edebug-instrument-function): Use it to
9979 signal an error for built-in functions (Bug#6664).
9980
f5e3c598
LMI
99812011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
9982
9983 * mail/smtpmail.el (smtpmail-smtp-user): New variable.
9984 (smtpmail-try-auth-methods): Use it.
9985
a3f2468a
CY
99862011-08-21 Chong Yidong <cyd@stupidchicken.com>
9987
2c34e8da
CY
9988 * font-lock.el (font-lock-fontify-region)
9989 (font-lock-unfontify-region, font-lock-default-fontify-buffer)
9990 (font-lock-default-unfontify-buffer)
9991 (font-lock-default-fontify-region)
9992 (font-lock-default-unfontify-region): Add docstrings (Bug#8624).
9993
b3fd59bd
SM
9994 * progmodes/compile.el (compilation-error-properties):
9995 Fix confusion between file struct and message struct (Bug#9319).
02e5c89e
CY
9996 (compilation-error-regexp-alist-alist): Fix 2011-05-09 change to
9997 `ant' regexp.
ee31aabc 9998
a3f2468a
CY
9999 * net/browse-url.el (browse-url-firefox): Don't call
10000 browse-url-firefox-sentinel unless using -remote (Bug#9328).
10001
8e999f70
GM
100022011-08-20 Glenn Morris <rgm@gnu.org>
10003
c21a496a
GM
10004 * tutorial.el (help-with-tutorial): Avoid an error on short screens.
10005
59ee0542
GM
10006 * tutorial.el (tutorial--default-keys): Update some default bindings.
10007
8e999f70
GM
10008 * files.el (hack-local-variables): Fully ignore case for "mode:".
10009
e3715033
AM
100102011-08-20 Alan Mackenzie <acm@muc.de>
10011
10012 Resolve invalid use of a regexp in regexp-opt.
10013
4d61f28d
JB
10014 * progmodes/cc-fonts.el (c-complex-decl-matchers): Add in special
10015 detection for a java annotation.
e3715033 10016
4d61f28d 10017 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Add in special
e3715033
AM
10018 detection for a java annotation.
10019
4d61f28d
JB
10020 * progmodes/cc-langs.el (c-prefix-spec-kwds-re): Remove the special
10021 handling for java.
e3715033
AM
10022 (c-modifier-kwds): Remove the regexp "@[A-za-z0-9]+".
10023
04ed2e9c
CY
100242011-08-20 Chong Yidong <cyd@stupidchicken.com>
10025
10026 * startup.el (normal-top-level-add-subdirs-to-load-path): Doc fix
10027 (Bug#9274).
10028
826cee64
AM
100292011-08-20 Alan Mackenzie <acm@muc.de>
10030
58179cce 10031 Fontify CPP expressions correctly when starting in the middle of
826cee64
AM
10032 such a construct. Mainly for when jit-lock etc. starts a chunk
10033 here.
10034
58179cce 10035 * progmodes/cc-fonts.el (c-font-lock-context): New buffer local
826cee64 10036 variable.
58179cce 10037 (c-make-font-lock-search-form): New function, extracted from
826cee64
AM
10038 c-make-font-lock-search-function.
10039 (c-make-font-lock-search-function): Use the above function.
10040 (c-make-font-lock-context-search-function): New function.
10041 (c-cpp-matchers): Enhance the preprocessor expression case with
10042 the above function
10043 (c-font-lock-complex-decl-prepare): Test for being in a CPP form
10044 which takes an expression.
10045
10046 * progmodes/cc-langs.el (c-cpp-expr-intro-re): New lang-variable.
10047
13009bd8
MR
100482011-08-20 Martin Rudalics <rudalics@gmx.at>
10049
10050 * window.el (display-buffer-reuse-window)
10051 (display-buffer-pop-up-window): Don't reuse or split a side
10052 window.
10053
9234ff7f
GM
100542011-08-19 Glenn Morris <rgm@gnu.org>
10055
10056 * files.el (hack-local-variables-prop-line, hack-local-variables):
5e617bc2 10057 Downcase "Mode:". (Bug#9331)
9234ff7f 10058
f635daa1
CY
100592011-08-18 Chong Yidong <cyd@stupidchicken.com>
10060
10061 * international/characters.el: Add L and R categories.
10062
10063 * subr.el (bidi-string-mark-left-to-right): Rename from
10064 string-mark-left-to-right. Use category search.
10065
10066 * buff-menu.el (Buffer-menu-buffer+size): Callers changed.
10067
bc987f8b
JL
100682011-08-18 Juri Linkov <juri@jurta.org>
10069
10070 * faces.el (error, warning, success): New faces with definitions
10071 copied from old default values of `font-lock-warning-face',
10072 `compilation-warning', `compilation-info' (bug#6117).
10073
10074 * font-lock.el (font-lock-warning-face): Inherit from `error'.
10075
10076 * progmodes/compile.el (compilation-error): Inherit from `error'.
10077 (compilation-warning): Inherit from `warning'.
10078 (compilation-info): Inherit from `success'.
10079
10080 * dired.el (dired-marked): Inherit from `warning'.
10081 (dired-flagged): Inherit from `error'.
10082
57173b96
LMI
100832011-08-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
10084
3e79eb87
LMI
10085 * mail/smtpmail.el (auth-source): Require to avoid problems with
10086 binding variables (bug#9298). Also clean up some unused
10087 autoloads.
10088
b3fd59bd
SM
10089 * net/network-stream.el (network-stream-open-starttls):
10090 Support using starttls.el without using gnutls-cli.
57173b96 10091
02b404de
JL
100922011-08-17 Juri Linkov <juri@jurta.org>
10093
10094 * progmodes/grep.el (rgrep): Handle the case when
10095 `grep-find-command' is a cons cell (bug#9278).
10096
8c9177f2
MR
100972011-08-17 Martin Rudalics <rudalics@gmx.at>
10098
10099 * window.el (display-buffer-pop-up-frame): Run frame creation
10100 function with BUFFER current (as special-display-popup-frame
10101 does). Reported by Drew Adams.
10102
3644a0ab
DU
101032011-08-17 Daiki Ueno <ueno@unixuser.org>
10104
10105 * epa-mail.el: Simplify GnuPG group expansion using
10106 epg-expand-group.
10107 (epa-mail-group-alist, epa-mail-group-modtime)
10108 (epa-mail-gnupg-conf-file, epa-mail-parse-groups)
10109 (epa-mail-sync-groups, epa-mail-expand-recipient-1)
10110 (epa-mail-expand-recipients-2, epa-mail-expand-recipients):
10111 Remove.
10112
5e617bc2 101132011-08-16 Feng Li <fengli@gmail.com> (tiny change)
7c643369
FL
10114
10115 * calc/calc-ext.el (math-defintegral-2): Remove nested backquote.
10116
9c4aeabf
AM
101172011-08-16 Alan Mackenzie <acm@muc.de>
10118
10119 * progmodes/cc-engine.el (c-state-cache-non-literal-place):
10120 Correct, to avoid the inside of macros.
10121
3a99bf64
RS
101222011-08-16 Richard Stallman <rms@gnu.org>
10123
04963aa8
RS
10124 * epa-mail.el: Handle GnuPG group definitions.
10125 (epa-mail-group-alist, epa-mail-group-modtime)
10126 (epa-mail-gnupg-conf-file): New variables.
10127 (epa-mail-parse-groups, epa-mail-sync-groups)
10128 (epa-mail-expand-recipient-1, epa-mail-expand-recipients-2)
10129 (epa-mail-expand-recipients): New functions.
10130 (epa-mail-encrypt): Call epa-mail-expand-recipients.
10131
177549d0
RS
10132 * mail/rmail.el (rmail-epa-decrypt): New command.
10133
fe38beef
RS
10134 * epa.el (epa-decrypt-region): New arg MAKE-BUFFER-FUNCTION.
10135 Don't bind buffer-read-only, just inhibit-read-only.
3a99bf64
RS
10136 (epa--find-coding-system-for-mime-charset): Fix the non-xemacs case.
10137 (epa-decrypt-armor-in-region): Make error message clearer.
10138
934eacb9
SM
101392011-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
10140
10141 * minibuffer.el (completion-pcm--merge-completions): Don't merge "a1b"
10142 and "a2b" to "ab" for `prefix'.
10143
d024fb4e
CY
101442011-08-14 Chong Yidong <cyd@stupidchicken.com>
10145
10146 * ibuf-ext.el (ibuffer-filter-disable): New arg for deleting
10147 filter groups.
de148fee
CY
10148 (ibuffer-included-in-filter-p-1): Use it. Suggested by Rafaël
10149 Fourquet (Bug#8804).
d024fb4e 10150
62f1ca49
JB
101512011-08-12 Juanma Barranquero <lekktu@gmail.com>
10152
10153 * startup.el (argi): Declare as global variable (bug#9275).
10154
9ccaaa4b
CY
101552011-08-12 Chong Yidong <cyd@stupidchicken.com>
10156
10157 * subr.el (string-mark-left-to-right): Search the entire string
10158 for RTL script, not just the terminating character. Doc fix.
10159
a3dae87a
SM
101602011-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
10161
6cd18349
SM
10162 * progmodes/js.el (js-syntax-propertize, js-syntax-propertize-regexp):
10163 New function.
10164 (js--regexp-literal, js-syntax-propertize-function): Remove.
10165 (js-mode): Use js-syntax-propertize to handle multilines (bug#9183).
10166 (js-mode-map): Don't rebind electric keys.
10167 (js-insert-and-indent): Remove.
10168 (js-mode): Setup electric-layout and electric-indent instead.
10169
a3dae87a
SM
10170 * epa-file.el (epa-file-select-keys): Revert to nil default (bug#9280).
10171
9d5cb631
DU
101722011-08-12 Daiki Ueno <ueno@unixuser.org>
10173
10174 * epa.el (epa-progress-callback-function): Fix the logic of
10175 displaying progress.
10176 * epa-file.el (epa-file-insert-file-contents): Make progress
10177 display more user-friendly.
10178 (epa-file-write-region): Ditto.
10179
3e26a4a2
CY
101802011-08-10 Chong Yidong <cyd@stupidchicken.com>
10181
10182 * subr.el (string-mark-left-to-right): New function.
10183
10184 * buff-menu.el (Buffer-menu-buffer+size): Remove LRM argument.
10185 Use string-mark-left-to-right.
10186 (list-buffers-noselect): Caller changed.
10187
a3dae87a
SM
10188 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
10189 Use string-mark-left-to-right.
3e26a4a2
CY
10190 (tabulated-list-print): Recenter after moving point.
10191
ac8cf6e6
JL
101922011-08-10 Juri Linkov <juri@jurta.org>
10193
10194 * progmodes/grep.el (rgrep): Don't bind `process-connection-type'.
10195 This finishes incomplete reversion of 2011-06-30T01:09:13Z!larsi@gnus.org
10196 intended by 2011-07-06T15:49:19Z!larsi@gnus.org.
10197
8d96c9a4
CY
101982011-08-09 Chong Yidong <cyd@stupidchicken.com>
10199
10200 * hi-lock.el (hi-lock-unface-buffer): Fix interactive spec
10201 (Bug#7554).
10202
7be1c708 102032011-08-09 Andreas Schwab <schwab@linux-m68k.org>
29bbcfa7
AS
10204
10205 * xt-mouse.el (xterm-mouse-event-read): Try to recover the raw
10206 character. (Bug#6594)
10207
37e11a63
CY
102082011-08-08 Chong Yidong <cyd@stupidchicken.com>
10209
839dde57
CY
10210 * image-dired.el: Don't use find-file for temporary work (Bug#7895).
10211 (image-dired--with-db-file): New macro.
10212 (image-dired-write-tags, image-dired-remove-tag)
10213 (image-dired-create-gallery-lists, image-dired-write-comments)
10214 (image-dired-get-comment, image-dired-mark-tagged-files)
10215 (image-dired-list-tags, image-dired-gallery-generate): Use it.
10216 (image-dired-gallery-generate): Use insert-file-contents.
10217
37e11a63
CY
10218 * time.el (display-time-world-list, display-time-world-display):
10219 * time-stamp.el (time-stamp-string):
10220 * vc/add-log.el (add-change-log-entry): Use setenv instead of
10221 set-time-zone-rule (Bug#7337).
10222
0b4946c4
DU
102232011-08-08 Daiki Ueno <ueno@unixuser.org>
10224
10225 * epg.el (epg--status-KEYEXPIRED, epg--status-KEYREVOKED): Fix typo.
10226 (epg-error-to-string, epg-errors-to-string): New function.
10227 (epg-wait-for-completion): Reverse errors list.
10228 (epg--check-error-for-decrypt, epg-sign-file, epg-sign-string)
10229 (epg-encrypt-file, epg-encrypt-string, epg-export-keys-to-file)
10230 (epg--import-keys-1, epg-receive-keys, epg-delete-keys)
10231 (epg-sign-keys, epg-generate-key-from-file)
10232 (epg-generate-key-from-string): Format errors by using
10233 epg-errors-to-string (bug#9255).
10234 (epg--status-INV_SGNR, epg--status-NO_SGNR): New status handler.
10235
75bfc667
JL
102362011-08-07 Juri Linkov <juri@jurta.org>
10237
10238 * faces.el (list-faces-display): Remove extra angle bracket
10239 from `help-mode-map'.
10240
10241 * info.el (Info-history-toc-nodes): Doc fix.
10242
10243 * longlines.el (longlines-mode): Doc fix.
10244
673e08bb
SM
102452011-08-05 Stefan Monnier <monnier@iro.umontreal.ca>
10246
4640dd88
SM
10247 * progmodes/js.el (js--regexp-literal): Accept regexps at the beginning
10248 of statements and in a few more cases (bug#9183).
10249
673e08bb
SM
10250 * emacs-lisp/cl-macs.el (cl--make-usage-var, cl--make-usage-args):
10251 New functions.
10252 (cl-transform-lambda): Use them (bug#9239).
10253
89b3f019
MR
102542011-08-05 Martin Rudalics <rudalics@gmx.at>
10255
10256 * window.el (display-buffer-same-window)
10257 (display-buffer-same-frame, display-buffer-other-window)
10258 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
10259 (pop-to-buffer-other-window)
10260 (pop-to-buffer-same-frame-other-window)
10261 (pop-to-buffer-other-frame): Make them defuns.
10262 (switch-to-buffer): Don't set LABEL argument of pop-to-buffer.
10263
640c8776
SM
102642011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
10265
10266 * subr.el (make-composed-keymap): Move from C. Change calling
10267 convention, and improve docstring to bring attention to a subtle point.
10268 * minibuffer.el (completing-read-default): Adjust accordingly.
10269
63648a95
MA
102702011-08-03 Michael Albinus <michael.albinus@gmx.de>
10271
10272 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
10273 (tramp-open-shell): Use `tramp-shell-quote-argument'.
10274
10275 * net/trampver.el: Update release number.
10276
b796c9b7
SM
102772011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
10278
10279 * progmodes/sh-script.el (sh-font-lock-paren): Don't mistake "main" for
10280 "in" (bug#9190).
10281
2239d7d5
LMI
102822011-08-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
10283
e07dd7c3
LMI
10284 * mail/sendmail.el (sendmail-query-once): Restore the current
10285 buffer after querying (bug#9074).
10286
0e6a2bd7
LMI
10287 * dired.el (dired-flagged): Use different faces for marked and
10288 flagged files (bug#6117).
10289
ce887515
LMI
10290 * emacs-lisp/cl-macs.el (dolist): Mention that there's a nil block
10291 (bug#4433).
10292
92f2affc
LMI
10293 * ido.el (ido-mode): Switch off the message if called
10294 non-interactively.
10295
57d5aff0
LMI
10296 * mail/smtpmail.el (smtpmail-query-smtp-server): Try port 25
10297 before 587, since it appears that that's more likely to work for
10298 more people.
10299
98cd6c18 10300 * cus-edit.el (custom-file): When running under emacs -q, always
e1dbe924 10301 refuse to save the customizations, even if the .emacs file doesn't
98cd6c18
LMI
10302 exist.
10303
b96dec83
LMI
10304 * info.el: Remove the `Info-beginning-of-buffer' function
10305 (bug#8325).
10306
b796c9b7
SM
10307 * net/network-stream.el (network-stream-open-starttls):
10308 Use `starttls-available-p' to see whether starttls.el can be used.
2239d7d5 10309
d90e2ea0
MR
103102011-08-01 Martin Rudalics <rudalics@gmx.at>
10311
10312 * window.el (display-buffer-in-window): Don't set dedicated status
10313 of window here (Bug#9215).
10314 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
10315 (display-buffer-pop-up-side-window)
b796c9b7 10316 (display-buffer-in-side-window): Set dedicated status of window here.
d90e2ea0 10317
cca09170
SM
103182011-08-01 Stefan Monnier <monnier@iro.umontreal.ca>
10319
10320 * emacs-lisp/package.el (package-generate-autoloads): Load autoloads
10321 before binding generated-autoload-file.
10322
027b979c
DD
103232011-08-01 Deniz Dogan <deniz@dogan.se>
10324
10325 * net/rcirc.el (rcirc-handler-333): Clarify docstring.
10326
3c7ee4f3
MA
103272011-07-30 Michael Albinus <michael.albinus@gmx.de>
10328
10329 Sync with Tramp 2.2.2.
10330
10331 * net/trampver.el: Update release number.
10332
2cc8e51a
JL
103332011-07-30 Juri Linkov <juri@jurta.org>
10334
10335 * dired-aux.el (dired-touch-initial): Remove function.
10336 (dired-do-chxxx): For op-symbol `touch', set `initial' to the
10337 current time, and `default' to the last modification time of the
10338 current marked file (bug#6887).
10339
a514d856
JM
103402011-07-28 Jose E. Marchesi <jemarch@gnu.org>
10341
10342 * simple.el (goto-line): Use string-to-number to provide a
2cc8e51a 10343 numeric argument to read-number (bug#9163).
a514d856 10344
8a7eddd7
MA
103452011-07-27 Michael Albinus <michael.albinus@gmx.de>
10346
10347 * net/tramp-sh.el (tramp-maybe-send-script): Don't let-bind the
10348 connection process, it could be nil.
10349
1ddd96f5
LL
103502011-07-27 Leo Liu <sdl.web@gmail.com>
10351
10352 Simplify url handling in rcirc-mode.
10353
10354 * net/rcirc.el (rcirc-browse-url-map, rcirc-browse-url-at-point)
10355 (rcirc-browse-url-at-mouse): Remove.
10356 * net/rcirc.el (rcirc-markup-urls): Use `make-button'.
10357
b248a85d
AM
103582011-07-26 Alan Mackenzie <acm@muc.de>
10359
10360 Fontify bitfield declarations properly.
10361
10362 * progmodes/cc-langs.el (c-has-bitfields): New lang variable.
10363 (c-symbol-chars): Now exported as a lang variable.
10364 (c-not-primitive-type-keywords): New lang variable.
10365
10366 * progmodes/cc-fonts.el (c-font-lock-declarations): Jump over the
10367 QT keyword "more" to prevent "more slots: ...." being spuriously
58179cce 10368 parsed as a bitfield declaration.
b248a85d 10369
b796c9b7
SM
10370 * progmodes/cc-engine.el (c-beginning-of-statement-1):
10371 Refactor and enhance to handle bitfield declarations.
b248a85d
AM
10372 (c-punctuation-in): New function.
10373 (c-forward-decl-or-cast-1): Enhance CASE 3 to handle bitfield
10374 declarations properly.
10375
68575ab0
UJ
103762011-07-26 Ulf Jasper <ulf.jasper@web.de>
10377
10378 * calendar/icalendar.el (icalendar--all-events): Take care of
10379 multiple vcalendars in a single file.
b796c9b7 10380 (icalendar--convert-float-to-ical): Checkdoc fixes.
68575ab0 10381
0f0a88b9
DD
103822011-07-25 Deniz Dogan <deniz@dogan.se>
10383
10384 * image.el (insert-image): Clarifying docstring.
10385
0b3f36df
MA
103862011-07-24 Michael Albinus <michael.albinus@gmx.de>
10387
10388 * net/tramp-sh.el (tramp-barf-unless-okay): Return the value of
10389 `tramp-send-command-and-check' if there is no error.
10390 (tramp-send-command-and-read): Suppress *all* errors if NOERROR.
10391
a9901f61
AM
103922011-07-22 Alan Mackenzie <acm@muc.de>
10393
10394 Prevent cc-langs.elc being loaded at run time.
10395
10396 * progmodes/cc-mode.el: Remove two autoload forms which loaded
10397 cc-langs.
10398
4d61f28d 10399 * progmodes/cc-langs.el (c-make-init-lang-vars-fun): Don't emit
a9901f61
AM
10400 "(require 'cc-langs)". Quote a form so it will evaluate at
10401 (cc-mode's) compilation time.
10402
11d074b2
MA
104032011-07-22 Michael Albinus <michael.albinus@gmx.de>
10404
10405 * net/tramp.el (tramp-file-name-handler): Avoid recursive
10406 loading. (Bug#9114)
10407
938b94c8
MR
104082011-07-21 Martin Rudalics <rudalics@gmx.at>
10409
10410 * window.el (display-buffer-pop-up-window)
10411 (display-buffer-pop-up-side-window)
10412 (display-buffer-in-side-window): Call display-buffer-set-height
10413 and display-buffer-set-width after setting the new window's
b796c9b7 10414 buffer so `fit-window-to-buffer' and friends work on the right buffer.
938b94c8 10415
bfa4f190
SS
104162011-07-20 Sam Steingold <sds@gnu.org>
10417
10418 * progmodes/etags.el (etags-file-of-tag, etags-tags-table-files)
10419 (etags-tags-included-tables): Call `convert-standard-filename' on
10420 the file names contained in TAGS so that windows Emacs can handle
10421 TAGS files created by cygwin ctags.
10422
8ca42262
LMI
104232011-07-20 Lars Magne Ingebrigtsen <larsi@gnus.org>
10424
10425 * proced.el (proced-update): Revert yesterday's bug#1779 patch,
10426 which apparently didn't work.
10427
5db2afd2 104282011-07-19 Roland Winkler <winkler@gnu.org>
2ecab2b5 10429
5db2afd2
RW
10430 * proced.el (proced-send-signal): For *Marked Processes* buffer
10431 put point at beginning of buffer.
10432
92e15d10
SB
104332011-07-19 Stephen Berman <stephen.berman@gmx.net>
10434
10435 * proced.el (proced-format): Make header lines align with the text
10436 (bug#1779).
10437
1bfd59e5
LMI
104382011-07-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
10439
10440 * view.el (view-buffer): Allow running in `special' modes if we're
10441 visiting a file (bug#8615).
10442
f5aae37c
MR
104432011-07-19 Martin Rudalics <rudalics@gmx.at>
10444
10445 * window.el (display-buffer-alist-of-strings-p)
b796c9b7
SM
10446 (display-buffer-alist-set-1, display-buffer-alist-set-2):
10447 New functions.
f5aae37c
MR
10448 (display-buffer-alist-set): Rewrite to handle Emacs 23 options
10449 more accurately.
10450
bf2c1571
AM
104512011-07-18 Alan Mackenzie <acm@muc.de>
10452
10453 Fontify declarators properly when, e.g., a jit-lock chunk begins
10454 inside a declaration.
10455
10456 * progmodes/cc-langs.el (c-symbol-chars): Correct a typo.
10457
b796c9b7
SM
10458 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
10459 New function.
bf2c1571
AM
10460 (c-complex-decl-matchers): Insert reference to
10461 c-font-lock-enclosing-decls.
10462
10463 * progmodes/cc-engine.el (c-backward-single-comment):
10464 (c-backward-comments): Bind open-paren-in-column-0-is-defun-start
10465 to nil around calls to (forward-comment -1).
10466
4e190b80
LMI
104672011-07-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
10468
12dc863d
LMI
10469 * image.el (put-image): Doc typo fix.
10470
a762e966
LMI
10471 * progmodes/etags.el (tags-search): Doc typo fix.
10472
4e190b80
LMI
10473 * mail/smtpmail.el (smtpmail-via-smtp): Query the user for
10474 password if we get errors 550 to 554.
10475
f019fb21
LMI
104762011-07-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
10477
b796c9b7 10478 * net/gnutls.el (gnutls-log-level): Remove.
750c33f7 10479
81746738
LMI
10480 * textmodes/fill.el (adaptive-fill-regexp): Include EN DASH as an
10481 indentation character (bug#6380).
10482
3ee3a1b5
LMI
10483 * files.el (buffer-offer-save): Made permanently local (bug#6241).
10484
c82f64de
LMI
10485 * doc-view.el (doc-view-make-safe-dir): Rewrite the error message
10486 to clarify what the problem is (bug#4291).
10487
f019fb21
LMI
10488 * simple.el (current-kill): Clarify what
10489 `interprogram-paste-function' does (bug#7500).
ca425c7c
LMI
10490 (auto-fill-mode): Document `auto-fill-function' in relation to
10491 `auto-fill-mode' (bug#2470).
f019fb21 10492
0794775d
LM
104932011-07-16 Lawrence Mitchell <wence@gmx.li>
10494
10495 * emacs-lisp/cl-macs.el (defstruct): Ignore argument to setf
10496 method if slot is read-only (bug#9035).
10497
be39b8cc
MR
104982011-07-16 Martin Rudalics <rudalics@gmx.at>
10499
b796c9b7 10500 * frame.el (select-frame-set-input-focus): New argument NORECORD.
be39b8cc 10501 * window.el (pop-to-buffer): Select window used even if it was
b796c9b7
SM
10502 selected before, see discussion of (Bug#8615), (Bug#6954).
10503 Pass argument NORECORD on to select-frame-set-input-focus.
be39b8cc 10504
6ccf7859
GM
105052011-07-15 Glenn Morris <rgm@gnu.org>
10506
10507 * subr.el (read-char-choice): Allow quitting. (Bug#9001)
03ea5b87 10508 Respect help-form.
6ccf7859 10509
87e86684
LM
105102011-07-09 Lawrence Mitchell <wence@gmx.li>
10511
10512 * net/gnutls.el (gnutls-min-prime-bits): New variable.
10513 (gnutls-negotiate): Use it.
10514
d6066239
LMI
105152011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
10516
b796c9b7
SM
10517 * net/gnutls.el (gnutls-negotiate):
10518 Upcase `gnutls-algorithm-priority'.
d6066239 10519
bd23ebc0
GM
105202011-07-15 Glenn Morris <rgm@gnu.org>
10521
c65bca65
GM
10522 * jka-compr.el (jka-compr-verbose): Move from here...
10523 * jka-cmpr-hook.el (jka-compr-verbose): ... to here. (Bug#9090)
10524 Add missing :version tag.
10525 * info.el: No need to require jka-compr when compiling.
bd23ebc0 10526
478615cc
LMI
105272011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
10528
7b41decb
LMI
10529 * net/gnutls.el (gnutls-algorithm-priority): New variable.
10530 (gnutls-negotiate): Use it.
10531
dbc44fcd
LMI
10532 * emacs-lisp/cl-macs.el (declare): Link to the "Declarations" node.
10533
06789f97
LMI
10534 * info.el (Info-beginning-of-buffer): New command.
10535 (Info-mode-map): Use it instead of `beginning-of-buffer' to allow
10536 announcing `b' as the key (bug#8325).
ab896c37 10537 (Info-mode-menu): Use `Info-beginning-of-buffer' for consistency.
06789f97 10538
c39da690
LMI
10539 * emacs-lisp/cl-macs.el (declare): Doc string fix-up.
10540
3aa5f34b
LMI
10541 * international/mule-cmds.el
10542 (describe-specified-language-support): Make the error message
10543 clearer (bug#8905).
10544
4bf0979f
LMI
10545 * emacs-lisp/cl-macs.el (declare): Add a doc string (bug#8690).
10546
478615cc
LMI
10547 * isearch.el (isearch-barrier): Add a doc string, since it's
10548 mentioned in a function doc string (bug#8678).
10549
75c68aa1
MR
105502011-07-15 Martin Rudalics <rudalics@gmx.at>
10551
10552 * window.el (switch-to-buffer): Call pop-to-buffer with normalized
10553 buffer argument (Bug#9083) and self-identifying label argument.
10554
a7c33da2
GM
105552011-07-15 Glenn Morris <rgm@gnu.org>
10556
10557 * emacs-lisp/debug.el (debug): Doc fix. (Bug#8273)
10558
2f5c6024
LMI
105592011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
10560
10561 * man.el (Man-fontify-manpage): Fix message when formatting the
10562 man page (bug#7929).
10563
0bb23927 105642011-07-14 Eli Zaretskii <eliz@gnu.org>
cce4b0a7
EZ
10565
10566 * buff-menu.el (Buffer-menu-buffer+size): Accept an additional
10567 argument LRM; if non-nil, append an invisible LRM character to the
10568 buffer name.
10569 (list-buffers-noselect): Call Buffer-menu-buffer+size with the
10570 last argument non-nil, when formatting buffer names.
0bb23927
EZ
10571 (Buffer-menu-mode, list-buffers-noselect): Force left-to-right
10572 paragraph direction.
cce4b0a7 10573
621ef9ab
LMI
105742011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
10575
d1583c48
LMI
10576 * man.el (Man-bgproc-sentinel): Skip any arguments and only output
10577 the man page name (bug#7929).
10578
6a57fb5f
LMI
10579 * image.el (put-image): Mention the `put-image' overlay property
10580 (bug#7834).
10581
d7956b14
LMI
10582 * scroll-bar.el (set-scroll-bar-mode): Mention that
10583 `scroll-bar-mode' lists the values (bug#7772).
10584
5b2d4a66
LMI
10585 * image-mode.el (image-mode-fit-frame): Mention that it's a toggle
10586 command (bug#7729).
10587
7509a874
LMI
10588 * rect.el (apply-on-rectangle): Return the point after the last
10589 operation.
10590 (string-rectangle): Go to the point after the last operation
10591 (bug#7522).
10592
4fe74b19
LMI
10593 * printing.el (pr-toggle-region): Clarify the documentation
10594 slightly (bug#7493).
10595
b796c9b7
SM
10596 * time.el (display-time-update):
10597 Allow `display-time-mail-function' to return nil (bug#7158).
10598 Fix suggested by Detlev Zundel.
ab283561 10599
fc233c9d
LMI
10600 * vc/diff.el (diff): Clarify the order the file names are read
10601 (bug#7111).
10602
43f5740b
LMI
10603 * mouse.el (mouse-set-region): Link to `mouse-drag-copy-region' in
10604 the doc string (bug#7015).
10605
f2182a76
LMI
10606 * font-lock.el (font-lock-maximum-decoration): Mention what
10607 numeric levels mean (bug#6935).
10608
621ef9ab
LMI
10609 * startup.el (initial-buffer-choice): Don't mention the `none'
10610 selection, which is against policy.
10611
adc47434
MR
106122011-07-14 Martin Rudalics <rudalics@gmx.at>
10613
b796c9b7
SM
10614 * window.el (display-buffer-normalize-special):
10615 Replace `dedicated' by `dedicate' to dedicate window (Bug#9072).
adc47434 10616
7e5bfb8f
EZ
106172011-07-14 Eli Zaretskii <eliz@gnu.org>
10618
10619 * subr.el (version<, version<=, version=): Mention "-CVS" and
10620 "-12345" alpha version numbers.
10621
27fa387a
CY
106222011-07-14 Chong Yidong <cyd@stupidchicken.com>
10623
10624 * bindings.el: Add advertised binding for set-mark-command
10625 (Bug#5772).
10626
8bdfa064
CY
106272011-07-14 Chong Yidong <cyd@stupidchicken.com>
10628
10629 * bindings.el (mode-line-other-buffer):
10630 * bookmark.el (bookmark-bmenu-2-window):
10631 * bs.el (bs-cycle-next, bs-cycle-previous):
10632 * net/tramp-cmds.el (tramp-append-tramp-buffers): Revert to using
10633 switch-to-buffer.
10634
10635 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
b796c9b7 10636 Delete.
8bdfa064 10637
5eba16a3
JB
106382011-07-14 Juanma Barranquero <lekktu@gmail.com>
10639
10640 * follow.el (follow-debug-message, follow-redisplay):
10641 * jka-cmpr-hook.el (with-auto-compression-mode):
10642 Fix typos in docstrings.
10643
15853710
LMI
106442011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
10645
a28e4607
LMI
10646 * subr.el (with-silent-modifications): Clarify somewhat what the
10647 macro inhibits (bug#6525).
10648
15853710
LMI
10649 * simple.el (eval-expression): Note what it does if called
10650 interactively (bug#6495).
10651
bee0fcef
CY
106522011-07-13 Chong Yidong <cyd@stupidchicken.com>
10653
b796c9b7
SM
10654 * window.el (switch-to-buffer): New arg FORCE-SAME-WINDOW.
10655 Use pop-to-buffer buffer-or-name if it is nil.
bee0fcef
CY
10656
10657 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
10658 Remove switch-to-buffer.
10659
58274504
LMI
106602011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
10661
bd2fcc8d
LMI
10662 * files.el (make-directory): Clarify that an error will be raised
10663 if there's an error (bug#6397).
10664
0f04b32c
LMI
10665 * startup.el (initial-buffer-choice): Add `none' as a choice
10666 (bug#6234).
10667
465c5fc8
LMI
10668 * subr.el (add-hook): Clarify section about buffer-local hooks
10669 (bug#6218).
10670
58274504
LMI
10671 * dired.el (dired-flagged): Clarify doc string (bug#6117).
10672
bead9a43
JB
106732011-07-13 Juanma Barranquero <lekktu@gmail.com>
10674
10675 * tabify.el (untabify): Preserve the current column so that point
10676 doesn't move (bug#6032).
10677
3af98a7b
LMI
106782011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
10679
b796c9b7
SM
10680 * progmodes/cperl-mode.el (cperl-syntaxify-by-font-lock):
10681 Rewrite to avoid awkward possessive "s" (bug#5986).
3af98a7b 10682
6240145a
GM
106832011-07-13 Glenn Morris <rgm@gnu.org>
10684
10685 * dired.el (dired-use-ls-dired): Doc fix. (Bug#9039).
10686 (dired-insert-directory): Give a message the first time
10687 if ls is found not to support --dired.
10688
1d8c2ccc
LMI
106892011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
10690
10691 * simple.el (toggle-truncate-lines): Clarify what is toggled
10692 (bug#5580). Text by Drew Adams.
10693
5fc4038e
CY
106942011-07-13 Chong Yidong <cyd@stupidchicken.com>
10695
10696 * simple.el (blink-matching-open): Make the error message from the
10697 last change less verbose.
10698
bf6012e5
DN
106992011-07-13 Dan Nicolaescu <dann@ics.uci.edu>
10700
10701 * font-lock.el (font-lock-comment-face): Use the high contrast
10702 "yellow" color for font-lock-comment-face on low color terminals
10703 using a dark background color (bug#4221).
10704
343c3b5a
LMI
107052011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
10706
7e9505c5
LMI
10707 * dired.el (dired-insert-set-properties): Make the doc string
10708 reflect what it does now (bug#5325).
10709
c26fdcf5
LMI
10710 * simple.el (blink-matching-open): Say that we were unable to find
10711 the match within the limit, if we're limited (bug#5122).
10712
bb388cc5
LMI
10713 * international/mule-cmds.el (prefer-coding-system): Add an
10714 example (bug#4869).
10715
343c3b5a
LMI
10716 * progmodes/etags.el (tags-search): Document `file-list-form'
10717 (bug#4731).
10718
2a517d45
LM
107192011-07-13 Lawrence Mitchell <wence@gmx.li>
10720
10721 * net/browse-url.el (browse-url-default-browser)
10722 (browse-url-browser-function): Make the default browser choice a
10723 bit more logical (bug#4300). Also clean up the doc string.
10724
b6c78ef2
JB
107252011-07-13 Juanma Barranquero <lekktu@gmail.com>
10726
10727 * bindings.el (completion-ignored-extensions): Add OpenMCL/Clozure
10728 binary endings (bug#4440).
10729
1c4dd947
LMI
107302011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
10731
a2014063
LMI
10732 * info.el (info-insert-file-contents): Inhibit jka-compr messages,
10733 which can be pretty annoying (bug#8971).
10734
9c9c2d88
LMI
10735 * jka-compr.el (jka-compr-verbose): New variable, and use
10736 throughout (bug#8971).
10737
1c4dd947
LMI
10738 * info.el (Info-find-file): Fall back on the installation
10739 directory if we can't find the info node anywhere else.
10740
a1c9f41b
SO
107412011-07-13 Sergei Organov <osv@javad.com> (tiny change)
10742
10743 * vc/vc.el (vc-revert-file):
10744 Don't set file time-stamp in the past. (Bug#5181)
10745
536f3d36
LMI
107462011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
10747
7152b011
LMI
10748 * files.el (after-find-file): Give a better error message when
10749 trying to find a symlink that points to a file that doesn't exist
10750 (bug#4398).
10751
536f3d36
LMI
10752 * progmodes/cc-vars.el: Remove (probably) misleading comment
10753 (bug#4396).
10754
460c0fba
JB
107552011-07-12 Johan Bockgård <bojohan@gnu.org>
10756
10757 * mouse-sel.el (mouse-sel-primary-overlay): Use the `region' face.
10758
7a6bda45
CY
107592011-07-12 Chong Yidong <cyd@stupidchicken.com>
10760
10761 * mouse-sel.el: Hack restoring functionality, while keeping
10762 compatibility with 2010-07-03 changes to mouse selection.
10763 (mouse-sel-primary-overlay): New var.
10764 (mouse-sel-selection-alist): Use it.
10765 (mouse-sel-mode): Doc fix; remove points that are default features
10766 of mouse.el.
10767
c79598ef
JB
107682011-07-12 Johan Bockgård <bojohan@gnu.org>
10769
10770 * progmodes/compile.el (compilation-error-regexp-alist-alist):
10771 Fix previous fix (bug#2490).
10772
ff8be6ef
RW
107732011-07-12 Roland Winkler <winkler@gnu.org>
10774
b796c9b7
SM
10775 * textmodes/bibtex.el (bibtex-initialize):
10776 Use pop-to-buffer-same-window.
ff8be6ef
RW
10777 (bibtex-search-entries): Fix interactive call.
10778
296ba3ee
LMI
107792011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
10780
f5242a02 10781 * progmodes/compile.el (compilation-error-regexp-alist-alist):
b796c9b7
SM
10782 Fontise bytecomp Error lines more correctly (bug#2490).
10783 Fix suggested by Johan Bockgård.
f5242a02 10784
296ba3ee
LMI
10785 * subr.el (remove-duplicates): Remove; `delete-dups' is sufficient.
10786
10787 * dired-x.el (dired-guess-default): Use `delete-dups'.
10788
f69fd0d2
CY
107892011-07-12 Chong Yidong <cyd@stupidchicken.com>
10790
10791 * dired.el (dired-mark-prompt):
10792 * dired-aux.el (dired-read-shell-command): Doc fix.
10793
eab5dc07
LMI
107942011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
10795
b796c9b7
SM
10796 * mail/sendmail.el (sendmail-query-once):
10797 Use `customize-save-variable' unconditionally, now that it works under
9988520a
LMI
10798 emacs -Q.
10799
10800 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
10801
eab5dc07
LMI
10802 * cus-edit.el (custom-file): Take an optional no-error variable.
10803 (customize-save-variable): Set the variable, and give a warning if
10804 running under "emacs -q".
10805
a1e65d42
JB
108062011-07-11 Juanma Barranquero <lekktu@gmail.com>
10807
10808 * loadhist.el (unload-feature-special-hooks):
10809 Add `auto-coding-functions', `fill-nobreak-predicate' and
10810 `find-directory-functions' (bug#5327).
10811
1d52da10
LMI
108122011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
10813
be958f1d
LMI
10814 * vc/ediff.el (ediff-patch-file): Clarify doc string (bug#3138).
10815
5bedb26c
LMI
10816 * cus-edit.el (custom-guess-name-alist): -alist variables should
10817 use the `alist' type (bug#3120). Suggested by Drew Adams.
10818
1d52da10
LMI
10819 * printing.el: Add documentation to all the `pr-toggle-' commands.
10820
cd394be1 108212011-07-11 Leo Liu <sdl.web@gmail.com>
481a51b6
LL
10822
10823 * files.el (toggle-read-only): Only do the `C-x C-q' warning on VC
10824 backends where it makes sense (bug#2623).
10825
dcc88d8a
LMI
108262011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
10827
c3de9feb
LMI
10828 * dired-x.el (dired-guess-default): Remove duplicate shell command
10829 entries (bug#2028).
8a93078b 10830 (dired-guess-default): Fix grammar in doc string (bug#2028).
eea84fe5 10831 (dired-guess-shell-alist-user): Clarify the example a bit (bug#2030).
c3de9feb 10832
dcc88d8a
LMI
10833 * subr.el (remove-duplicates): New conveniency function.
10834
505e3645
LMI
108352011-07-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
10836
10837 * tool-bar.el (tool-bar-mode): Clarify positive/negative arguments
10838 (bug#1526).
10839
108402011-07-10 Martin Rudalics <rudalics@gmx.at>
10841
10842 * window.el (display-buffer-normalize-default): Don't invert
10843 meaning of even-window-heights. Reported by Eli Zaretskii
10844 <eliz@gnu.org>.
10845
455e4fa1
BR
108462011-07-10 Bob Rogers <rogers@rgrjr.dyndns.org>
10847
10848 * vc/vc.el (vc-diff-internal): Fix race condition (Bug#1256).
10849
8e0bc3e9
CY
108502011-07-10 Chong Yidong <cyd@stupidchicken.com>
10851
10852 * window.el (display-buffer): Fix arguments to
10853 display-buffer-reuse-window in last change.
10854
fa7c3228
CY
10855 * faces.el (link): Use a less saturated blue on light backgrounds.
10856
10857 * startup.el (fancy-startup-text, fancy-about-text)
10858 (fancy-startup-tail): Use font-lock faces, for background safety.
10859
c0a7f300
BN
108602011-07-09 Bob Nnamtrop <bobnnamtrop@gmail.com> (tiny change)
10861
b796c9b7
SM
10862 * emulation/viper-cmd.el (viper-change-state-to-vi):
10863 Limit triggering of abbrev expansion (Bug#9038).
c0a7f300 10864
4dc2a129
MR
108652011-07-09 Martin Rudalics <rudalics@gmx.at>
10866
10867 * window.el (display-buffer-default-specifiers): Remove.
10868 (display-buffer-macro-specifiers): Remove default specifiers.
10869 (display-buffer-alist): Default to nil.
b796c9b7 10870 (display-buffer-reuse-window): New optional argument other-window.
4dc2a129
MR
10871 (display-buffer-pop-up-window): Allow splitting internal
10872 windows. Check whether a live window was created.
10873 (display-buffer-other-window-means-other-frame)
10874 (display-buffer-normalize-arguments): Rename to
10875 display-buffer-normalize-argument and rewrite. Set the
10876 other-window specifier.
10877 (display-buffer-normalize-special): New function.
10878 (display-buffer-normalize-options): Rename to
10879 display-buffer-normalize-default and rewrite.
10880 (display-buffer-normalize-options-inhibit): Remove.
10881 (display-buffer-normalize-specifiers): Rewrite.
10882 (display-buffer): Process other-window specifier and call
10883 display-buffer-reuse-window with it. Emulate Emacs 23 behavior
10884 more faithfully.
b796c9b7 10885 (pop-up-windows, even-window-heights): Restore Emacs 23 default values.
4dc2a129 10886 (display-buffer-alist-set): Don't handle 'unset default values.
b796c9b7
SM
10887 (display-buffer-in-window, display-buffer-alist-set):
10888 Replace symbol "dedicated" by "dedicate". Reported by Tassilo Horn
4dc2a129
MR
10889 <tassilo@member.fsf.org>.
10890
2d43b8c9
LL
108912011-07-09 Leo Liu <sdl.web@gmail.com>
10892
10893 * register.el (insert-register): Restore accidental change on
10894 2011-06-26. (Bug#9028)
10895
7f9b7c53
GM
108962011-07-09 Glenn Morris <rgm@gnu.org>
10897
10898 * subr.el (remq): Handle the empty list. (Bug#9024)
10899
f042cfd8
AS
109002011-07-08 Andreas Schwab <schwab@linux-m68k.org>
10901
10902 * mail/sendmail.el (send-mail-function): No longer delay custom
10903 initialization.
10904 * custom.el (custom-initialize-delay): Doc fix.
10905
856b2f11
SM
109062011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
10907
10908 * abbrev.el (expand-abbrev): Try to preserve point (bug#5805).
10909
afae1d68
MA
109102011-07-08 Michael Albinus <michael.albinus@gmx.de>
10911
10912 * net/tramp-sh.el (tramp-sh-handle-start-file-process): Use a
10913 human-friendly prompt.
10914
0757af94
SM
109152011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
10916
10917 * vc/vc-bzr.el (vc-bzr-revision-keywords): Remove svn, it's only
10918 provided by a particular plugin.
10919
d760b731
LMI
109202011-07-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
10921
10922 * mail/sendmail.el (sendmail-query-once): If we aren't allowed to
10923 save customizations (with "emacs -Q"), just set the variable
10924 instead of erroring out.
10925
10926 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
10927
cd79ce90
JL
109282011-07-08 Juri Linkov <juri@jurta.org>
10929
10930 * arc-mode.el (archive-zip-expunge, archive-zip-update)
10931 (archive-zip-update-case): Use 7z if found by `executable-find'.
10932 The order of searching the available programs is the same as in
10933 `archive-zip-extract' (bug#8968).
10934
14cc04aa
CY
109352011-07-07 Chong Yidong <cyd@stupidchicken.com>
10936
10937 * menu-bar.el (menu-bar-line-wrapping-menu): Revert last change.
10938 (menu-bar-options-menu): Tweak descriptions.
10939
0a1848ec
LMI
109402011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
10941
10942 * menu-bar.el (menu-bar-line-wrapping-menu): Make all the Options
10943 menu items into verb phrases (bug#1421). Also refill to fit under
10944 80 columns.
10945
f5bd0689
CY
109462011-07-07 Chong Yidong <cyd@stupidchicken.com>
10947
538e85c6
CY
10948 * info.el (info, Info-read-node-name-2, Info-read-node-name-1)
10949 (Info-read-node-name): Doc fix (Bug#1084).
10950
f5bd0689
CY
10951 * thingatpt.el (forward-thing, bounds-of-thing-at-point)
10952 (thing-at-point, beginning-of-thing, end-of-thing, in-string-p)
10953 (end-of-sexp, beginning-of-sexp)
10954 (thing-at-point-bounds-of-list-at-point, forward-whitespace)
10955 (forward-symbol, forward-same-syntax, word-at-point)
10956 (sentence-at-point): Doc fix (Bug#1144).
10957
56ec5115
LMI
109582011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
10959
f3f8e37f
LMI
10960 * info.el (Info-mode-map): Remove S-TAB binding, since [backtab]
10961 should cover it (bug#1281).
10962
0757af94 10963 * cus-edit.el (custom-show): Mark as obsolete.
af0905c8 10964
e9fce1ac 10965 * net/network-stream.el (network-stream-open-starttls): If GnuTLS
12b9eb35
LMI
10966 negotiation fails, then possibly try again with a non-encrypted
10967 connection (bug#9017).
10968
56ec5115
LMI
10969 * mail/smtpmail.el (smtpmail-stream-type): Note that `plain' can
10970 be used.
10971
c2f9aec8
RS
109722011-07-07 Richard Stallman <rms@gnu.org>
10973
10974 * mail/rmail.el (rmail-next-error-move): Use `compilation-message'
10975 property, and handle its changed format.
10976 Look for the correct line number.
10977 Use file's line contents (but not past first =) to find
10978 correct line in message.
10979
ef7b981d 109802011-07-07 Kenichi Handa <handa@m17n.org>
c805dec0
KH
10981
10982 * international/characters.el (build-unicode-category-table):
10983 Delete it.
0757af94 10984 (unicode-category-table): Set it by unicode-property-table-internal.
c805dec0 10985
0757af94 10986 * international/mule-cmds.el (char-code-property-alist): Move to
c805dec0
KH
10987 to src/chartab.c.
10988 (get-char-code-property): Call unicode-property-table-internal to
10989 load a file. Call get-unicode-property-internal where necessary.
10990 (put-char-code-property): Call unicode-property-table-internal to
10991 load a file. Call put-unicode-property-internal where necessary.
10992 put-unicode-property-internal where necessary.
0757af94
SM
10993 (char-code-property-description):
10994 Call unicode-property-table-internal to load a file.
c805dec0
KH
10995
10996 * international/charprop.el:
10997 * international/uni-bidi.el:
10998 * international/uni-category.el:
10999 * international/uni-combining.el:
11000 * international/uni-comment.el:
11001 * international/uni-decimal.el:
11002 * international/uni-decomposition.el:
11003 * international/uni-digit.el:
11004 * international/uni-lowercase.el:
11005 * international/uni-mirrored.el:
11006 * international/uni-name.el:
11007 * international/uni-numeric.el:
11008 * international/uni-old-name.el:
11009 * international/uni-titlecase.el:
11010 * international/uni-uppercase.el: Regenerate.
11011
11012 * loadup.el: Load international/charprop.el before
11013 international/characters.
11014
e14b388a
CY
110152011-07-07 Chong Yidong <cyd@stupidchicken.com>
11016
11017 * window.el (next-buffer, previous-buffer): Signal an error if
11018 called from a minibuffer window.
11019
11020 * bindings.el: Revert 2011-07-04 change.
11021
354cf0ba
RS
110222011-07-06 Richard Stallman <rms@gnu.org>
11023
11024 * mail/rmailmm.el (rmail-mime-process): Use markers for buf positions.
11025 (rmail-mime-insert-bulk, rmail-mime-insert-text):
11026 Treat markers like ints.
11027 (rmail-mime-entity): Doc fix.
11028
a48868a7
LMI
110292011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
11030
4906cd3d
LMI
11031 * mail/smtpmail.el (smtpmail-default-smtp-server): Made into a
11032 defcustom again for backwards compatibility.
11033
e0457abe
LMI
11034 * simple.el (shell-command-on-region): Fill.
11035
d67f7e1f
LMI
11036 * dired-aux.el (dired-kill-line): Add a doc string.
11037
fe204702
LMI
11038 * dabbrev.el (dabbrev-abbrev-char-regexp): Note that nil defaults
11039 to "\\sw\\|\\s_" (bug#358).
11040
a48868a7
LMI
11041 * dired.el (dired-mode): Clarify "unmark or unflag" (bug#8770).
11042 (dired-unmark-backward): Ditto.
11043 (dired-flag-backup-files): Ditto.
11044
11045 * dired-x.el (dired-mark-sexp): Ditto.
11046
aa8a705c
RS
110472011-07-06 Richard Stallman <rms@gnu.org>
11048
11049 * mail/rmailmm.el: Give entity a new slot, TRUNCATED.
11050 (rmail-mime-entity): New arg TRUNCATED.
11051 (rmail-mime-entity-truncated, rmail-mime-entity-set-truncated):
11052 New functions.
11053 (rmail-mime-save): Warn if entity is truncated.
11054 (rmail-mime-toggle-hidden): Likewise, for showing.
11055 (rmail-mime-process-multipart): Record when an entity is truncated.
11056
a9a936b9
RS
11057 * mail/rmailmm.el (rmail-search-mime-message): Don't get confused
11058 if ENTITY is a string.
11059
1f2b92cb
LMI
110602011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
11061
f4f73198 11062 * emacs-lisp/lisp-mode.el (eval-defun-1): Update the documentation
0757af94
SM
11063 of faces when `M-C-x'-ing their definitions (bug#8378).
11064 Also clean up the code slightly.
f4f73198 11065
12b16734 11066 * progmodes/grep.el (rgrep): Don't bind `process-connection-type',
da6062e6 11067 because that makes the colors go away.
12b16734 11068
f0691d22
LMI
11069 * mail/sendmail.el (send-mail-function): Change the default to
11070 `sendmail-query-once'.
9e87df06 11071 (sendmail-query-once): Add an autoload cookie.
f0691d22 11072
1f2b92cb
LMI
11073 * net/network-stream.el (network-stream-open-starttls): Try using
11074 a plain connection even if the server offered STARTTLS, and we
11075 kinda wanted to use it, if Emacs doesn't have any STARTTLS
11076 capability. This should make smtpmail.el work in slightly more
11077 configurations.
11078
1cdd2a1b
MA
110792011-07-06 Michael Albinus <michael.albinus@gmx.de>
11080
11081 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
11082 New defun.
11083 * net/tramp-cmds.el (tramp-append-tramp-buffers): Use it.
11084
fbcc67e2
MM
110852011-07-06 Michael R. Mauger <mmaug@yahoo.com>
11086
11087 * progmodes/sql.el: Version 3.0
0757af94 11088 (sql-product-alist): Add product :completion-object,
fbcc67e2 11089 :completion-column, and :statement attributes.
0757af94 11090 (sql-mode-menu, sql-interactive-mode-map): Fix List entries.
fbcc67e2 11091 (sql-mode-syntax-table): Mark all punctuation.
0757af94 11092 (sql-font-lock-keywords-builder): Temporarily remove fallback on
fbcc67e2
MM
11093 ansi keywords.
11094 (sql-regexp-abbrev, sql-regexp-abbrev-list): New functions.
0757af94 11095 (sql-mode-oracle-font-lock-keywords): Improve.
fbcc67e2
MM
11096 (sql-oracle-show-reserved-words): New function for development.
11097 (sql-product-font-lock): Simplify for source code buffers.
11098 (sql-product-syntax-table, sql-product-font-lock-syntax-alist):
11099 New functions.
11100 (sql-highlight-product): Set product specific syntax table.
0757af94
SM
11101 (sql-mode-map): Add statement movement functions.
11102 (sql-ansi-statement-starters, sql-oracle-statement-starters):
11103 New variable.
fbcc67e2
MM
11104 (sql-statement-regexp, sql-beginning-of-statement)
11105 (sql-end-of-statement, sql-signum): New functions.
0757af94 11106 (sql-buffer-live-p, sql=find-sqli-buffer): Add CONNECTION parameter.
fbcc67e2
MM
11107 (sql-show-sqli-buffer): Bug fix.
11108 (sql-interactive-mode): Store connection data as buffer local.
0757af94 11109 (sql-connect): Add NEW-NAME parameter. Redesign interaction
fbcc67e2
MM
11110 with sql-interactive-mode.
11111 (sql-save-connection): Save buffer local settings.
0757af94 11112 (sql-connection-menu-filter): Change menu entry name.
fbcc67e2
MM
11113 (sql-product-interactive): Bug fix.
11114 (sql-preoutput-hold): New variable.
11115 (sql-interactive-remove-continuation-prompt): Bug fixes.
11116 (sql-debug-redirect): New variable.
11117 (sql-str-literal): New function.
11118 (sql-redirect, sql-redirect-one, sql-redirect-value, sql-execute):
0757af94 11119 Redesign.
fbcc67e2
MM
11120 (sql-oracle-save-settings, sql-oracle-restore-settings)
11121 (sql-oracle-list-all, sql-oracle-list-table): New functions.
11122 (sql-completion-object, sql-completion-column)
11123 (sql-completion-sqlbuf): New variables.
11124 (sql-build-completions-1, sql-build-completions)
11125 (sql-try-completion): New functions.
11126 (sql-read-table-name): Use them.
11127 (sql-contains-names): New buffer local variable.
11128 (sql-list-all, sql-list-table): Use it.
11129 (sql-oracle-completion-types): New variable.
11130 (sql-oracle-completion-object, sql-sqlite-completion-object)
11131 (sql-postgres-completion-object): New functions.
11132
d4eaeab1
GM
111332011-07-06 Glenn Morris <rgm@gnu.org>
11134
11135 * window.el (pop-to-buffer): Doc fix.
11136
322b7dab 111372011-07-06 Markus Heiser <markus.heiser@darmarit.de> (tiny change)
a1d3a912
CY
11138
11139 * progmodes/gud.el (gud-pdb-marker-regexp): Accept \r char (Bug#5653).
11140
322b7dab 111412011-07-06 Chong Yidong <cyd@stupidchicken.com>
0484d600 11142
322b7dab 11143 * window.el (special-display-popup-frame): Doc fix (Bug#8853).
4f8f657f 11144
322b7dab 11145 * info.el (Info-directory-toc-nodes): Minor doc fix (Bug#8833).
8f43cbf3 11146
605dd5bf
CY
111472011-07-05 Chong Yidong <cyd@stupidchicken.com>
11148
11149 * button.el (button): Inherit from link face. Suggested by Dan
11150 Nicolaescu.
11151
7dbfa719
SM
111522011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
11153
3db614b0
SM
11154 * progmodes/gdb-mi.el: Fit in 80 columns.
11155 (gdb-setup-windows, gdb-restore-windows): Avoid other-window and
11156 switch-to-buffer.
11157
7dbfa719
SM
11158 * progmodes/which-func.el (which-func-ff-hook): Don't output a message
11159 if imenu is simply not configured (bug#8941).
11160
919d884a
KM
111612011-07-05 Ken Manheimer <ken.manheimer@gmail.com>
11162
11163 * allout.el (allout-post-undo-hook): New allout outline-change
11164 event hook to signal undo activity.
11165 (allout-post-command-business): Run allout-post-undo-hook if an
11166 undo just occurred.
7dbfa719
SM
11167 (allout-after-copy-or-kill-hook, allout-mode): Minor docstring changes.
11168 * allout-widgets.el (allout-widgets-after-undo-function):
11169 Ensure the integrity of the current item's decoration after it has been
919d884a
KM
11170 in the vicinity of an undo.
11171 (allout-widgets-mode): Include allout-widgets-after-undo-function
11172 on the new allout-post-undo-hook.
11173
450a0f09
SM
111742011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
11175
11176 * emacs-lisp/lisp-mode.el (lisp-interaction-mode-abbrev-table):
11177 Let define-derived-mode define it.
11178 * emacs-lisp/derived.el (define-derived-mode): Try to avoid creating
11179 cycles of abbrev-table inheritance (bug#8998).
11180
2de69e00
RW
111812011-07-05 Roland Winkler <winkler@gnu.org>
11182
11183 * textmodes/bibtex.el: Add support for biblatex.
11184 (bibtex-BibTeX-entry-alist, bibtex-biblatex-entry-alist)
11185 (bibtex-BibTeX-field-alist, bibtex-biblatex-field-alist)
11186 (bibtex-dialect-list, bibtex-dialect, bibtex-no-opt-remove-re)
11187 (bibtex-entry-alist, bibtex-field-alist): New variables.
11188 (bibtex-entry-field-alist): Obsolete alias for
11189 bibtex-BibTeX-entry-alist.
11190 (bibtex-entry-alist, bibtex-field-alist): New widgets.
11191 (bibtex-set-dialect): New command.
11192 (bibtex-entry-type, bibtex-entry-head)
450a0f09
SM
11193 (bibtex-entry-maybe-empty-head, bibtex-any-valid-entry-type):
11194 Bind via bibtex-set-dialect.
2de69e00
RW
11195 (bibtex-Article, bibtex-Book, bibtex-Booklet, bibtex-InBook)
11196 (bibtex-InCollection, bibtex-InProceedings, bibtex-Manual)
11197 (bibtex-MastersThesis, bibtex-Misc, bibtex-PhdThesis)
11198 (bibtex-Proceedings, bibtex-TechReport, bibtex-Unpublished):
11199 Define via bibtex-set-dialect.
450a0f09
SM
11200 (bibtex-name-in-field, bibtex-remove-OPT-or-ALT):
11201 Obey bibtex-no-opt-remove-re.
2de69e00
RW
11202 (bibtex-vec-push, bibtex-vec-incr): New functions.
11203 (bibtex-format-entry, bibtex-field-list)
11204 (bibtex-print-help-message, bibtex-validate)
11205 (bibtex-search-entries): Use new format of bibtex-entry-alist.
11206
2dcdbdd9
SM
112072011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
11208
11209 * progmodes/compile.el (compilation-goto-locus):
11210 * net/tramp-cmds.el (tramp-append-tramp-buffers):
11211 * bs.el (bs-cycle-next, bs-cycle-previous):
11212 * bookmark.el (bookmark-bmenu-list, bookmark-bmenu-2-window):
11213 * bindings.el (mode-line-other-buffer):
11214 * autoinsert.el (auto-insert):
11215 * arc-mode.el (archive-extract):
11216 * abbrev.el (edit-abbrevs): Fix some uses of switch-to-buffer.
11217
b27640fe
JB
112182011-07-05 Juanma Barranquero <lekktu@gmail.com>
11219
11220 * emacs-lock.el (emacs-lock-mode): Fix typo in variable name.
11221 Fix check of `emacs-lock-unlockable-modes'.
11222 Coerce true values of `emacs-lock--try-unlocking' to t.
11223
53bbe3ad
JB
112242011-07-05 Juanma Barranquero <lekktu@gmail.com>
11225
11226 * obsolete/old-emacs-lock.el: Rename from emacs-lock.el.
11227 * emacs-lock.el: New file.
11228
1d3cdbc7
JD
112292011-07-05 Julien Danjou <julien@danjou.info>
11230
11231 * textmodes/rst.el (rst-define-level-faces): Use `facep' rather
11232 than `boundp' to check if face is set.
11233
9173deec
JB
112342011-07-05 Juanma Barranquero <lekktu@gmail.com>
11235
11236 * register.el (registerv-make):
11237 * window.el (window-min-height): Fix typos in docstrings.
11238
869795d6
JD
112392011-07-05 Jan Djärv <jan.h.d@swipnet.se>
11240
9173deec 11241 * dynamic-setting.el (dynamic-setting-handle-config-changed-event):
869795d6
JD
11242 Update doc string.
11243
b768cdcd
JB
112442011-07-04 Juanma Barranquero <lekktu@gmail.com>
11245
11246 * server.el (server-execute): Catch quit and call
11247 `server-return-error' to pass the error back to emacsclient and
11248 close the connection (bug#8942).
11249
13aa217b
KM
112502011-07-04 Ken Manheimer <ken.manheimer@gmail.com>
11251
11252 * allout.el (allout-encrypt-unencrypted-on-saves): Do not provide
11253 insecure exception for current topic. Also note that auto-saves
11254 are handled differently.
11255
5d3385a0 11256 (allout-auto-save-temporarily-disabled, allout-just-did-undo):
13aa217b
KM
11257 State variables for tracking auto-save inhibition situation.
11258
11259 (allout-write-contents-hook-handler): Rename from
11260 'allout-write-file-hook-handler', and describe how it depends on
11261 write-contents-functions sensitivity to non-nil value to prevent
11262 file write.
11263
11264 (allout-auto-save-hook-handler): Remove. auto-save does not check
11265 this in individual buffers, only in the starting buffer, so this
11266 is not the right way for us to inhibit auto-save in a buffer
11267 according to its condition.
11268
11269 (allout-mode): Use new allout-write-contents-hook-handler, and
11270 only with write-contents-functions. Remove auto-save provisions -
11271 they're implemented elsewhere.
11272
11273 (allout-before-change-handler): If undo is in progress, note that
11274 for attention of allout-post-command-business.
11275
11276 (allout-post-command-business): If the command we're following was
11277 an undo, check for change in the status of encrypted items and
11278 adjust auto-save inhibitions accordingly.
11279
11280 (allout-toggle-subtree-encryption): Adjust auto-save inhibition
11281 according to whether there are or aren't any plain-text topics
11282 pending encryption.
11283
2dcdbdd9 11284 (allout-inhibit-auto-save-info-for-decryption):
1154d12e
JB
11285 Adjust buffer-saved-size and some allout state to inhibit auto-saves
11286 if there are plain-text topics pending encryption.
13aa217b
KM
11287
11288 (allout-maybe-resume-auto-save-info-after-encryption): Adjust
11289 buffer-saved-size and some allout state to not inhibit auto-saves
11290 if there are no longer any plain-text topics pending encryption.
11291
0757af94
SM
11292 (allout-next-topic-pending-encryption, allout-encrypt-decrypted):
11293 No longer provide for exemption of the current topic.
13aa217b 11294
ac89b32c
JL
112952011-07-04 Juri Linkov <juri@jurta.org>
11296
11297 Add 7z operations to delete and save changed members (bug#8968).
11298 * arc-mode.el (archive-7z-expunge, archive-7z-update):
11299 New defcustoms.
11300 (archive-7z-write-file-member): New function.
11301 (archive-7z-summarize): Fix the number of dashes in the
11302 listing output.
11303
8fa39615
SM
113042011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
11305
11306 * pcmpl-linux.el (pcomplete-pare-list): Re-add, from pcomplete.el
11307 (bug#8958).
11308
2f11b3f1
CY
113092011-07-04 Chong Yidong <cyd@stupidchicken.com>
11310
d66fef2b
CY
11311 * bindings.el: Ignore next-buffer and previous-buffer in
11312 minibuffer-local-map.
11313
2f11b3f1
CY
11314 * font-lock.el (font-lock-builtin-face): Change light background
11315 color to dark slate blue (Bug#6693).
11316
f932a347
WD
113172011-07-04 Wang Diancheng <dcwang@kingbase.com.cn> (tiny change)
11318
11319 * progmodes/gdb-mi.el (gdb): Use completion-at-point.
11320
c8af70e1
SM
113212011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
11322
11323 * files.el (find-file): Use pop-to-buffer-same-window (bug#8911).
11324 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
11325 Add switch-to-buffer.
11326
f158badc
LMI
113272011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
11328
11329 * isearch.el (isearch-search-fun-function): Clarify further the
11330 meaning of the function returned.
11331
6d95bd46
MA
113322011-07-04 Michael Albinus <michael.albinus@gmx.de>
11333
11334 * net/tramp-cmds.el (tramp-cleanup-this-connection): New command.
11335
11336 * net/tramp-sh.el (tramp-color-escape-sequence-regexp): New defconst.
11337 (tramp-sh-handle-insert-directory, tramp-convert-file-attributes):
11338 Use it.
11339 (tramp-remote-path): Add "/bin" and "/usr/bin". On busyboxes,
11340 `tramp-default-remote-path' does not exist.
11341 (tramp-send-command-and-read): New optional argument NOERROR.
11342 (tramp-open-connection-setup-interactive-shell)
11343 (tramp-get-remote-path, tramp-get-remote-stat): Use it.
11344 (tramp-get-remote-readlink): Do not mask with `ignore-errors'.
11345 (tramp-process-sentinel): Flush also process' connection property.
11346 (tramp-sh-handle-start-file-process): Do not set process
11347 sentinel. It is done now ...
11348 (tramp-maybe-open-connection): ... here. (Bug#8929)
11349
909e6b67
MK
113502011-07-04 MON KEY <monkey@sandpframing.com>
11351
11352 * play/animate.el (animate-string): Doc fixes and allow changing
11353 the buffer name (bug#5417).
11354
113552011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
11356
c8af70e1 11357 * play/animate.el (animation-buffer-name): Rename from *animate*.
909e6b67 11358
f34755dc
PE
113592011-07-04 Paul Eggert <eggert@cs.ucla.edu>
11360
396cec72
PE
11361 * emacs-lisp/timer.el: Use time-date fns rather than rolling our own.
11362 This is simpler and helps future-proof the code.
11363 (timer-until): Use time-subtract and float-time.
08235028 11364 (timer--time-less-p): Use time-less-p.
f34755dc 11365
56e6cc31
JB
113662011-07-04 Juanma Barranquero <lekktu@gmail.com>
11367
3abb79e5
JB
11368 * type-break.el (timep): Use the value of `float-time' to avoid a
11369 byte-compiler warning.
11370
56e6cc31
JB
11371 * server.el (server-eval-and-print): Return any result, even nil.
11372
7b9430b4
PE
113732011-07-03 Paul Eggert <eggert@cs.ucla.edu>
11374
11375 * type-break.el: Accept time formats that the builtins accept.
11376 (timep, type-break-time-difference): Accept any format that
11377 float-time accepts, rather than insisting on (HIGH LOW USECS) format.
11378 This is simpler and helps future-proof the code.
11379 (type-break-time-difference): Round rather than ignoring
11380 subseconds components.
11381
3034e9e7
LMI
113822011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
11383
11384 * info.el (Info-apropos-matches): Make non-interactive, since it
11385 doesn't seem to do anything useful as a command (bug#8829).
11386
1485f4c0
CY
113872011-07-03 Chong Yidong <cyd@stupidchicken.com>
11388
11389 * frame.el (frame-background-mode, frame-set-background-mode):
c8af70e1 11390 Move from faces.el.
1485f4c0
CY
11391 (frame-default-terminal-background): New function.
11392
11393 * custom.el (custom-push-theme): Don't record faces in `changed'
11394 theme; this doesn't work correctly for per-frame face settings.
11395 (disable-theme): Use face-set-after-frame-default to reset faces.
11396 (custom--frame-color-default): New function.
11397
9fa3dd45
LMI
113982011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
11399
c8af70e1 11400 * dired.el (dired-flagging-regexp): Remove unused variable
9fa3dd45
LMI
11401 (bug#8769).
11402
6cbbc20c
KR
114032011-03-29 Kevin Ryde <user42@zip.com.au>
11404
11405 * progmodes/compile.el (compilation-error-regexp-alist-alist):
11406 `perl-Test2' extend to match possible "fail #N" rep count
11407 (bug#8377).
11408
c7f98048
LMI
114092011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
11410
65676592
LMI
11411 * mail/feedmail.el (feedmail-buffer-to-smtpmail):
11412 `smtpmail-via-smtp' now returns the error instead of nil.
11413
c7f98048
LMI
11414 * isearch.el (isearch-search-fun-function): Clarify the doc string
11415 (bug#8101).
11416
56e6cc31 114172011-07-03 Richard Kim <emacs18@gmail.com> (tiny change)
9a51c6c7
RK
11418
11419 * textmodes/texnfo-upd.el (texinfo-insert-menu): Don't insert
11420 unnecessary spaces (bug#8987).
11421
2b216704
LMI
114222011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
11423
11424 * net/network-stream.el (open-network-stream): Use the
11425 :end-of-capability command thoughout.
11426
114272011-07-03 Wolfgang Jenkner <wjenkner@inode.at> (tiny change)
11428
11429 * net/network-stream.el (open-network-stream): Add the
11430 :end-of-capability command parameter, used by pop3.el.
11431
36adf6ce
LMI
114322011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
11433
1ca0da0e
LMI
11434 * dired.el (dired-map-over-marks): Refill the doc string (bug#6814).
11435
fc00f69c
LMI
11436 * fringe.el (fringe-query-style): Remove redundant text " (type ?
11437 for list)" (bug#6475).
11438
28fd8759 11439 * files.el (file-expand-wildcards): Ignore non-readable
8350f087 11440 sub-directories while trying to find matches instead of signaling
28fd8759
LMI
11441 an error (bug#6297).
11442
0dd8b6da
LMI
11443 * man.el (Man-reference-regexp): Allow matching possible
11444 word-wrapped references (bug#6289).
11445
ce1438d6
LMI
11446 * vc/vc.el (vc-modify-change-comment): Change *VC-log* to *vc-log*
11447 for consistency with the other vc buffers (bug#6197).
11448 (vc-checkin): Ditto.
11449
11450 * vc/vc-arch.el: Fix comments to match the *VC-log* name change.
11451
36adf6ce
LMI
11452 * longlines.el (longlines-mode): Document what ARG does (bug#6150).
11453
e83cc1f7
LMI
114542011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
11455
8a20ca4c
LMI
11456 * custom.el (defcustom): Clarify that :set is only used in the
11457 Customize user interface (bug#6089).
11458
83319045
LMI
11459 * progmodes/flymake.el (flymake-mode): If the buffer isn't
11460 associated with a file, refuse to run instead of erroring out
11461 (bug#6084).
11462
a8392169
LMI
11463 * textmodes/fill.el (fill-region): Remove the "Ordinarily" from
11464 the doc string, since it appears that using `fill-column' always
11465 controls the width (bug#7845).
11466
e83cc1f7
LMI
11467 * simple.el (shell-command-on-region): Say where the error output
11468 went if `shell-command-default-error-buffer' is set (bug#6857).
11469
e47ca23b
KM
114702011-07-02 Ken Manheimer <ken.manheimer@gmail.com>
11471
11472 * allout.el (allout-yank-processing): Adjust cursor position for
11473 backwards-deleted space.
11474
11475 (allout-rebullet-heading): Register changes with
11476 allout-exposure-changed-hook, so the modified topic is properly
11477 decorated.
11478
5cf56143
LMI
114792011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
11480
08549772
LMI
11481 * minibuffer.el (completion-in-region): Document PREDICATE
11482 (bug#7136).
11483
48e96771
LMI
11484 * info-look.el (info-lookup-add-help): Clarify that ARGS is a list
11485 of keyword/argument pairs (bug#6904).
11486
c8af70e1
SM
11487 * replace.el (multi-occur):
11488 Mention `multi-occur-in-matching-buffers' in the doc string (bug#7566).
5cf56143 11489
e17d05e2
LMI
114902011-07-02 Drew Adams <drew.adams@oracle.com>
11491
11492 * dired.el (dired-mark-if): Make the message about whether it's
11493 marking or unmarking clearer (bug#8523).
11494
063b0e45
LMI
114952011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
11496
11497 * disp-table.el (display-table-print-array): New function.
11498 (describe-display-table): Use it to print the vectors more pretty
11499 (Bug#8859).
11500
28545e04
MR
115012011-07-02 Martin Rudalics <rudalics@gmx.at>
11502
11503 * window.el (window-state-get-1): Don't assign clone numbers.
11504 Add clone-of item to list of window parameters.
11505 (window-state-put-2): Don't process clone numbers.
11506 (display-buffer-alist): Fix doc-string.
11507
3349e122
SM
115082011-07-02 Stefan Monnier <monnier@iro.umontreal.ca>
11509
11510 * subr.el (remq): Don't allocate if it's not needed.
11511 (keymap--menu-item-binding, keymap--menu-item-with-binding)
11512 (keymap--merge-bindings): New functions.
11513 (keymap-canonicalize): Use them to refine the canonicalization.
11514 * minibuffer.el (minibuffer-local-completion-map)
11515 (minibuffer-local-must-match-map): Move initialization from C.
11516 (minibuffer-local-filename-completion-map): Move initialization from C;
11517 don't inherit from anything here.
11518 (minibuffer-local-filename-must-match-map): Make obsolete.
11519 (completing-read-default): Use make-composed-keymap to combine
11520 minibuffer-local-filename-completion-map with either
11521 minibuffer-local-must-match-map or
11522 minibuffer-local-filename-completion-map.
11523
d224ac83
GM
115242011-07-01 Glenn Morris <rgm@gnu.org>
11525
3de63bf8
GM
11526 * type-break.el (type-break-time-sum): Use dolist.
11527
d224ac83
GM
11528 * textmodes/flyspell.el (flyspell-word-search-backward):
11529 Replace CL function.
11530
1a1e3f32
SM
115312011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
11532
fe3f64d5
SM
11533 * mouse.el (mouse--strip-first-event): New function.
11534 (function-key-map): Use it to map fringe clicks to normal clicks
11535 by default.
11536
eb604e34
SM
11537 * vc/vc-bzr.el (vc-bzr-revision-keywords): Update.
11538 (vc-bzr-revision-completion-table): Add support for annotate and date.
11539
1a1e3f32
SM
11540 * emacs-lisp/derived.el (define-derived-mode): Make abbrev-table
11541 inherit from parent.
11542
5bd35902
LMI
115432011-07-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
11544
ace6c69c 11545 * dired-aux.el (dired-diff): Doc fixup (bug#8816).
26bde865 11546 (dired-show-file-type): Doc fixup (bug#8818).
ace6c69c 11547
191e2bed
LMI
11548 * dired.el (dired-mode): Fix up the doc string as suggested by
11549 Drew Adams (bug#8817).
11550
5bd35902
LMI
11551 * progmodes/flymake.el (flymake-find-file-hook): Add an `autoload'
11552 cookie, since the manual says that it should be possible to add
11553 this function to `find-file-hook' (bug#8709).
11554
eee8207a
TZ
115552011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
11556
11557 * progmodes/cfengine.el: Moved all cfengine3.el functionality
11558 here. Noted Ted Zlatanov as the maintainer.
11559 (cfengine-common-settings, cfengine-common-syntax): New functions
11560 to set up common things between `cfengine-mode' and
11561 `cfengine3-mode'.
11562 (cfengine3-mode): New mode.
11563 (cfengine3-defuns cfengine3-defuns-regex
11564 (cfengine3-class-selector-regex cfengine3-category-regex)
11565 (cfengine3-vartypes cfengine3-font-lock-keywords)
11566 (cfengine3-beginning-of-defun, cfengine3-end-of-defun)
eb604e34 11567 (cfengine3-indent-line): Add from cfengine3.el.
eee8207a 11568
36b148cf
MA
115692011-07-01 Michael Albinus <michael.albinus@gmx.de>
11570
11571 * net/tramp.el (tramp-encoding-command-interactive): New defcustom.
11572
11573 * net/tramp-sh.el (tramp-maybe-open-connection): Use it.
11574
0bf4ba9a
MR
115752011-07-01 Martin Rudalics <rudalics@gmx.at>
11576
11577 * window.el (same-window-buffer-names, same-window-regexps)
11578 (same-window-p, special-display-frame-alist)
11579 (special-display-popup-frame, special-display-function)
11580 (special-display-buffer-names, special-display-regexps)
11581 (special-display-p, pop-up-frame-alist, pop-up-frame-function)
11582 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
11583 (split-window-preferred-function, split-height-threshold)
11584 (split-width-threshold, even-window-heights)
11585 (display-buffer-mark-dedicated, window-splittable-p)
11586 (split-window-sensibly, window-safely-shrinkable-p):
11587 Un-obsolete.
11588 (display-buffer): Don't spread args with function specifier
11589 because special-display-popup-frame won't like it.
11590
35837f51
PE
115912011-07-01 Paul Eggert <eggert@cs.ucla.edu>
11592
d0672f86
PE
11593 Time-stamp simplifications and fixes.
11594 These improve accuracy slightly, and future-proof the code
11595 against some potential changes to current-time format.
11596
b9444d97
PE
11597 * woman.el (woman-decode-buffer, WoMan-log-end): Log fractional secs
11598 by using time-since and float-time.
11599
0ef923dc
PE
11600 * vc/ediff-util.el (ediff-calc-command-time): Use time-since
11601 and float-time. Say "NNN.NNN seconds" rather than "NNN seconds
11602 + NNN microseconds".
11603
2f81380d
PE
11604 * type-break.el (type-break-time-sum): Rewrite using time-add.
11605
845b5c3e
PE
11606 * play/hanoi.el (hanoi-current-time-float): Remove.
11607 All uses replaced by float-time.
11608
ee6f1be0
PE
11609 * nxml/rng-maint.el (rng-time-function): Rewrite using time-subtract.
11610 This yields a more-accurate answer.
11611 (rng-time-to-float): Remove; no longer needed.
11612
fe955043
PE
11613 * emacs-lisp/timer.el (timer-relative-time): Use time-add.
11614
5777162a
PE
11615 * calendar/timeclock.el (timeclock-seconds-to-time):
11616 Defalias to seconds-to-time, since they're the same thing.
11617
3103f8b6 11618 * emacs-lisp/elp.el (elp-elapsed-time):
e2bac5f6 11619 * emacs-lisp/benchmark.el (benchmark-elapse):
35837f51
PE
11620 * allout-widgets.el (allout-elapsed-time-seconds): Use float-time.
11621
0e61a35f
SM
116222011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
11623
11624 * window.el (bury-buffer): Don't iconify the only frame.
11625 (switch-to-buffer): Revert to Emacs<23 behavior, i.e. do not fallback
11626 to pop-to-buffer. Use pop-to-buffer-same-frame if you don't like that.
11627
ddd63a1e
CY
116282011-07-01 Chong Yidong <cyd@stupidchicken.com>
11629
0e61a35f
SM
11630 * eshell/em-smart.el (eshell-smart-display-navigate-list):
11631 Add mouse-yank-primary.
ddd63a1e 11632
055f4923
TZ
116332011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
11634
11635 * progmodes/cfengine3.el: New file to support CFEngine 3.x.
11636
6a2fb145
SM
116372011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
11638
11639 * emacs-lisp/find-func.el (find-library--load-name): New fun.
11640 (find-library-name): Use it to find relative load names when provided
11641 absolute file name (bug#8803).
11642
fd4983f2
LMI
116432011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
11644
887d14ad
LMI
11645 * textmodes/flyspell.el (flyspell-word): Consider words that
11646 differ only in case as potential doublons (bug#5687).
11647
c53dc7fc
LMI
11648 * net/soap-client.el (soap-invoke, soap-wsdl-resolve-references):
11649 Remove two rather uninteresting debugging-like messages to make
11650 debbugs.el more silent.
11651
fd4983f2
LMI
11652 * comint.el (comint-password-prompt-regexp): Accept "Response" as
11653 a password-like phrase.
11654
7a71b18d 116552011-06-30 Masatake YAMATO <yamato@redhat.com>
b14c0c55
AM
11656
11657 * progmodes/cc-guess.el: New file.
11658
6a2fb145 11659 * progmodes/cc-langs.el (c-mode-menu): Add "Style..." submenu.
b14c0c55
AM
11660
11661 * progmodes/cc-styles.el (cc-choose-style-for-mode): New function
11662 derived from `c-basic-common-init'.
11663
11664 * progmodes/cc-mode.el (top-level): Require cc-guess.
11665 (c-basic-common-init): Use `cc-choose-style-for-mode'.
11666
1fa280a3
LM
116672011-06-30 Lawrence Mitchell <wence@gmx.li>
11668
11669 * progmodes/js.el (js-mode): Don't stomp on global settings (bug#8933).
11670
e6597158
AM
116712011-06-30 Alan Mackenzie <acm@muc.de>
11672
1fa280a3
LM
11673 * progmodes/cc-engine.el (c-guess-continued-construct):
11674 Correct the handling of template-args-cont, particularly for when font
e6597158
AM
11675 lock is disabled. Name this case as "CASE G".
11676
68ba37fb
KM
116772011-06-30 Ken Manheimer <ken.manheimer@gmail.com>
11678
11679 * allout.el (allout-yank-processing): Fix injection of extra space
11680 between bullet and non-whitespace character in first topic when
11681 pasting, ensuring that the actual spacing in the pasted topic
11682 following the bullet char is preserved. This extra space was
11683 causing pasted encrypted topics to get a decrypted status even
11684 when the content was actually still encrypted. Now the decryption
11685 status from before the paste is preserved.
11686
11687 (allout-flag-region): Set all allout overlays so they evaporate
11688 when reduced to zero length (evanescent), to prevent overlay
11689 leakage.
11690
887a0b34
GM
116912011-06-30 Glenn Morris <rgm@gnu.org>
11692
94b9acce
GM
11693 * w32-fns.el (w32-charset-info-alist): Declare.
11694
1d9b46d4
GM
11695 * find-dired.el (find-grep-options): Simplify.
11696
cc232200
GM
11697 * term/ns-win.el (ns-set-resource): Declare.
11698
28e77c46
GM
11699 * ses.el (row, col): Declare dynamic variables honestly.
11700
887a0b34
GM
11701 * textmodes/reftex-parse.el (index-tags): Declare.
11702
658d8eb8
CY
117032011-06-30 Chong Yidong <cyd@stupidchicken.com>
11704
11705 * cus-edit.el (customize-push-and-save): New function.
11706
11707 * files.el (hack-local-variables-confirm): Use it.
11708
1fa280a3
LM
11709 * custom.el (load-theme): New arg NO-CONFIRM.
11710 Use customize-push-and-save (Bug#8720).
658d8eb8
CY
11711 (custom-enabled-themes): Doc fix.
11712
11713 * cus-theme.el (customize-create-theme)
11714 (custom-theme-merge-theme): Callers to load-theme changed.
11715
bb617717
LMI
117162011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
11717
d61bdd5d
LMI
11718 * thingatpt.el (thing-at-point-short-url-regexp): Require that
11719 short URLs have at least one dot in them (bug #7614).
11720
bb617717
LMI
11721 * progmodes/grep.el (rgrep): Bind `process-connection-type' to
11722 nil, because using a pty is apparently too slow (bug #895).
11723
2f31f37a
LMI
117242011-06-29 Lars Magne Ingebrigtsen <larsi@gnus.org>
11725
11726 * mail/sendmail.el (sendmail-query-once): New function.
11727 (sendmail-query-once-function): New variable.
11728
3076b24e
GM
117292011-06-29 Glenn Morris <rgm@gnu.org>
11730
faf2a174
GM
11731 * files.el (auto-mode-alist): Add .f03, .f08 for f90-mode.
11732
3076b24e
GM
11733 * ses.el (top-level): Require cl when compiling.
11734 (ses-set-localvars): Fix error statement.
11735 Call it at compile time to silence a storm of warnings.
11736
5386012d
MR
117372011-06-29 Martin Rudalics <rudalics@gmx.at>
11738
11739 * window.el (normalize-live-buffer): Rename to
11740 window-normalize-buffer.
11741 (normalize-live-frame): Rename to window-normalize-frame.
11742 (normalize-any-window): Rename to window-normalize-any-window.
11743 (normalize-live-window): Rename to window-normalize-live-window.
11744 (make-window-atom): Rename to window-make-atom.
11745 (window-resize-reset): Rename to window--resize-reset.
11746 (window-resize-reset-1): Rename to window--resize-reset-1.
11747 (resize-mini-window): Rename to window--resize-mini-window.
11748 (resize-subwindows-skip-p): Rename to
11749 window--resize-subwindows-skip-p.
11750 (resize-subwindows-normal): Rename to
11751 window--resize-subwindows-normal.
11752 (resize-subwindows): Rename to window--resize-subwindows.
11753 (resize-other-windows): Rename to window--resize-siblings.
11754 (resize-this-window): Rename to window--resize-this-window.
11755 (resize-root-window): Rename to window--resize-root-window.
11756 (resize-root-window-vertically): Rename to
11757 window--resize-root-window-vertically.
11758 (normalize-buffer-to-display): Rename to
11759 window-normalize-buffer-to-display.
11760 (normalize-buffer-to-switch-to): Rename to
11761 window-normalize-buffer-to-switch-to.
11762 Correspondingly update all callers of the functions listed
11763 above.
11764 (display-buffer-alist, display-buffer-normalize-arguments)
11765 (display-buffer-normalize-options, display-buffer)
11766 (display-buffer-alist-set): Use "function" instead of
11767 "fun-with-args".
11768
1176868d
CY
117692011-06-28 Chong Yidong <cyd@stupidchicken.com>
11770
11771 * mail/emacsbug.el (report-emacs-bug): Handle non-gnu bug
11772 addresses more clearly. Add hyperlinks for bug-gnu-emacs and
11773 debbugs.gnu.org. Mention acknowledgment email.
11774
20a7a65f
LMI
117752011-06-28 Lars Magne Ingebrigtsen <larsi@gnus.org>
11776
11777 * mail/smtpmail.el (smtpmail-send-it): Leave off changing the
11778 buffer multibyteness, since it shouldn't matter.
11779
5f45cca5
MR
117802011-06-28 Martin Rudalics <rudalics@gmx.at>
11781
11782 * window.el (display-buffer-in-side-window): Handle dedicated
11783 windows as in display-buffer-reuse-window.
11784 (display-buffer-normalize-alist): Use value of override
11785 specifier.
11786 (display-buffer-normalize-specifiers): Use value of
11787 other-window-means-other-frame specifier.
11788 (display-buffer-alist): Rewrite some texts in widgets.
11789 (display-buffer): Spread arguments when calling function
11790 specified by fun-with-args.
11791
ad85fe1f
DD
117922011-06-28 Deniz Dogan <deniz@dogan.se>
11793
1fa280a3
LM
11794 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-syntax-table):
11795 Unnest `let'.
da68c4c8 11796
ad85fe1f
DD
11797 * textmodes/css-mode.el (css-font-lock-keywords): Fix grouped
11798 selectors (Bug#5732).
ec49bd31 11799 (css-proprietary-nmstart-re): Use `regexp-opt'.
ad85fe1f 11800
a08cc025
JA
118012011-06-27 Jari Aalto <jari.aalto@cante.net>
11802
11803 * eshell/em-ls.el: Display `ls -l' dates in ISO format (Bug#8440).
11804 (eshell-ls-date-format): New defcustom.
11805 (eshell-ls-file): Use it.
11806
e2b551c5
SM
118072011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
11808
11809 * help-fns.el (describe-variable): Fix message for terminal-local vars.
11810
8982b231
KY
118112011-06-27 Katsumi Yamaoka <yamaoka@jpl.org>
11812
11813 * net/ange-ftp.el: Allow loading .gz files (Bug#6923).
11814 (ange-ftp-make-tmp-name): New arg.
11815 (ange-ftp-file-local-copy): Use it.
11816
36c9fa27
J
118172011-06-27 Jambunathan K <kjambunathan@gmail.com>
11818
11819 * tar-mode.el (tar-untar-buffer): Set coding-system-for-write to
11820 no-conversion (Bug#8870).
11821
d68443dc
MR
118222011-06-27 Martin Rudalics <rudalics@gmx.at>
11823
11824 * window.el (window-right, window-left, window-child)
11825 (window-child-count, window-last-child)
11826 (window-iso-combination-p, walk-window-tree-1)
11827 (window-atom-check-1, window-tree-1, delete-window)
11828 (window-state-get-1, display-buffer-even-window-sizes): Adapt to
11829 new naming conventions - window-vchild, window-hchild,
11830 window-next and window-prev are now called window-top-child,
11831 window-left-child, window-next-sibling and window-prev-sibling
11832 respectively.
d615d6d2
MR
11833 (resize-window-reset): Rename to window-resize-reset.
11834 (resize-window-reset-1): Rename to window-resize-reset-1.
11835 (resize-window): Rename to window-resize.
11836 (window-min-height, window-min-width)
11837 (resize-mini-window, resize-this-window, resize-root-window)
11838 (resize-root-window-vertically, adjust-window-trailing-edge)
11839 (enlarge-window, shrink-window, maximize-window)
11840 (minimize-window, delete-window, quit-restore-window)
11841 (split-window, balance-windows, balance-windows-area-adjust)
11842 (balance-windows-area, window-state-put-2)
11843 (display-buffer-even-window-sizes, display-buffer-set-height)
11844 (display-buffer-set-width, set-window-text-height)
11845 (fit-window-to-buffer): Rename all "resize-window" prefixed
11846 calls to use the "window-resize" prefix convention.
11847 (display-buffer-alist): Fix symbol for label specifier.
11848 (display-buffer-reuse-window): Set reuse-dedicated to cdr of
11849 corresponding specifier.
11850 Reported by Juanma Barranquero <lekktu@gmail.com>.
d68443dc 11851
b6458526
VB
118522011-06-27 Vincent Belaïche <vincentb1@users.sourceforge.net>
11853
11854 * ses.el (ses-destroy-cell-variable-range): Fix heading comment
11855 convention.
11856 (ses-call-printer): Does not pass an empty string to formatter when the
11857 cell is empty to keep from barking printer Calc math-format-value.
11858
d31fd9ac
RS
118592011-06-27 Richard Stallman <rms@gnu.org>
11860
43d5bf84
RS
11861 * battery.el (battery-mode-line-limit): New variable.
11862 (battery-update): Handle it.
11863
d31fd9ac
RS
11864 * mail/rmailmm.el (rmail-mime-process-multipart):
11865 Handle truncated messages.
11866
819a6054
GM
118672011-06-27 Glenn Morris <rgm@gnu.org>
11868
11869 * progmodes/flymake.el (flymake-err-line-patterns):
11870 Allow for column numbers in the ant/javac pattern. (Bug#8866)
11871
cedc73f2
VB
118722011-06-27 Vincent Belaïche <vincentb1@users.sourceforge.net>
11873
819a6054 11874 * ses.el (ses-relocate-range): Keep rest of arguments for ses-range.
cedc73f2
VB
11875 (ses--clean-!, ses--clean-_): New functions.
11876 (ses-range): Add configurability of readout order, and conversion
11877 to Calc vector.
11878
5e5d49b6
VB
11879 * ses.el (ses-repair-cell-reference-all): New function.
11880 (ses-cell-symbol): Set macro as safe, so that it can be used in
11881 formulas.
11882
56e6cc31 11883 * ses.el: Update cycle detection algorithm.
90ca8b49 11884 (ses-localvars): Add ses--Dijkstra-attempt-nb and
819a6054 11885 ses--Dijkstra-weight-bound, and initial values thereof when applicable.
90ca8b49
VB
11886 (ses-set-localvars): New function.
11887 (ses-make-cell): Add property-list as a cell element.
11888 (ses-cell-property-get-fun, ses-cell-property-get)
11889 (ses-cell-property-delq-fun, ses-cell-property-set-fun)
819a6054
GM
11890 (ses-cell-property-pop-fun, ses-cell-property-get-handle-fun):
11891 New functions.
90ca8b49
VB
11892 (ses-cell-property-set, ses-cell-property-pop)
11893 (ses-cell-property-get-handle): New macro.
11894 (ses-cell-property-handle-car, ses-cell-property-handle-setcar):
11895 New aliases, used for code readability.
11896 (ses-calculate-cell, ses-update-cells): Use Dijkstra algorithm for
11897 cycle detection.
11898 (ses-self-reference-early-detection): New defcustom.
fac916bf 11899 (ses-formula-references): Robustify against self-referring cells.
90ca8b49
VB
11900 (ses-mode): Use ses-set-localvars.
11901 (ses-command-hook): Add call to ses-initialize-Dijkstra-attempt
11902 before lauching the update processing.
11903 (ses-initialize-Dijkstra-attempt): New function.
11904 (ses-recalculate-cell): Update for cycle detection based on
11905 Dijkstra algorithm.
11906
2bb63e81
VB
11907 * ses.el: Fix commenting and indenting convention.
11908
c9d29fb8
SM
119092011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
11910
11911 * bs.el (bs-cycle-next): Complete last change.
11912
d8e4b68b
JB
119132011-06-27 Drew Adams <drew.adams@oracle.com>
11914
11915 * faces.el (list-faces-display): Add help-mode-map to output (bug#8939).
11916
40098786
LMI
119172011-06-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
11918
c9d29fb8
SM
11919 * net/network-stream.el (network-stream-open-starttls):
11920 Don't re-get capabilities unless we've reestablished connection.
f6ab314e
LMI
11921 (network-stream-open-starttls): Fix stupid typo with gnutls-clii.
11922
40098786
LMI
11923 * mail/smtpmail.el (smtpmail-via-smtp): Bind coding-system-for-*
11924 to binary to possibly avoid line encoding issues on Windows (among
11925 other things).
11926
468d09d4
LMI
119272011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
11928
11929 * net/network-stream.el (open-network-stream): Return an :error
11930 saying what the problem was, if possible.
11931
11932 * mail/smtpmail.el (smtpmail-via-smtp): Report the error from the
11933 server.
11934
11935 * net/network-stream.el (network-stream-open-starttls): If we
11936 wanted to use STARTTLS, and the server offered it, but we weren't
11937 able to because we had no STARTTLS support, then close the connection.
11938 (open-network-stream): Return an :error element, if present.
11939
16f07dd7
CY
119402011-06-26 Chong Yidong <cyd@stupidchicken.com>
11941
88821ca0
CY
11942 * hl-line.el (hl-line-sticky-flag): Doc fix.
11943 (global-hl-line-sticky-flag): New option (Bug#8323).
11944 (global-hl-line-highlight): Obey it.
11945
16f07dd7
CY
11946 * vc/vc.el (vc-revert-show-diff): Default to t.
11947
6b5ccddf
KM
119482011-06-26 Ken Manheimer <ken.manheimer@gmail.com>
11949
c9d29fb8
SM
11950 * allout-widgets.el (allout-widgets-post-command-business):
11951 Stop decorating intermediate isearch matches. They're not being
6b5ccddf
KM
11952 undecorated when an isearch is continued past, and isearch
11953 automatically collapses them. This leads to "widget leaks", where
11954 decorated items accumulate in collapsed areas. Lines with lots of
c9d29fb8
SM
11955 hidden widgets can slow down cursor travel, substantially.
11956 Too much complicated machinery would be needed to ensure undecoration,
6b5ccddf
KM
11957 so we're doing without this nicety.
11958
11959 (allout-widgets-tally-string): Don't try to do a hash-table-count
11960 of allout-widgets-tally when it's nil. This eliminates spurious "Error
11961 during redisplay: (wrong-type-argument hash-table-p nil)" warnings in
11962 *Messages* when allout-widgets-maintain-tally is t.
11963
355f2e07
MR
119642011-06-26 Martin Rudalics <rudalics@gmx.at>
11965
11966 * window.el (display-buffer-normalize-argument): Rename to
11967 display-buffer-normalize-arguments. Handle special meaning of
6b5ccddf
KM
11968 LABEL argument. Respect special-display-function when popping up
11969 a new frame. Fix code searching for a window showing the buffer
11970 on another frame.
c9d29fb8
SM
11971 (display-buffer-normalize-specifiers):
11972 Call display-buffer-normalize-arguments.
355f2e07
MR
11973 (display-buffer-in-window): Don't undedicate the window if its
11974 buffer remains the same.
11975 Reported by Drew Adams <drew.adams@oracle.com>.
11976 (display-buffer-alist): Add choice for same-window macro
11977 specfier.
11978 (display-buffer): Mention special meaning of LABEL argument in
11979 doc-string. Fix quoting. Don't pop up a new frame even as
11980 fallback.
11981
7ca8fc42
JB
119822011-06-26 Juanma Barranquero <lekktu@gmail.com>
11983
11984 * bs.el (bs-cycle-next): Pass current buffer to `bury-buffer' to
11985 avoid deleting the current window in some cases (bug#8911).
11986
bc312254
AS
119872011-06-26 Andreas Schwab <schwab@linux-m68k.org>
11988
11989 * emacs-lisp/smie.el (smie-bnf->prec2): Fix last change.
11990 (Bug#8934)
11991
2db18f3f
LMI
119922011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
11993
c9d29fb8
SM
11994 * net/network-stream.el (network-stream-open-starttls):
11995 Use built-in TLS support if `gnutls-available-p' is true.
2db18f3f
LMI
11996 (network-stream-open-tls): Ditto.
11997
6302e0d3
LL
119982011-06-26 Leo Liu <sdl.web@gmail.com>
11999
12000 * register.el (registerv): New struct.
12001 (registerv-make): New function.
c9d29fb8
SM
12002 (jump-to-register, describe-register-1, insert-register):
12003 Support the jump-func, print-func and insert-func slot of a registerv
6302e0d3
LL
12004 struct. (Bug#8415)
12005
5fdd4046
CY
120062011-06-26 Chong Yidong <cyd@stupidchicken.com>
12007
2afef60a
CY
12008 * vc/vc.el (vc-revert-show-diff): New defcustom.
12009 (vc-diff-internal): New arg specifying diff buffer.
12010 (vc-revert): Obey vc-revert-show-diff. If we show a diff, don't
12011 reuse an existing *vc-diff* buffer (Bug#8927).
12012
5fdd4046
CY
12013 * progmodes/cperl-mode.el (cperl-mode): Derive from prog-mode.
12014
e93db24a
GM
120152011-06-26 Glenn Morris <rgm@gnu.org>
12016
12017 * progmodes/f90.el (f90-critical-indent): New option.
12018 (f90-font-lock-keywords-2, f90-blocks-re, f90-end-block-re)
12019 (f90-start-block-re, f90-mode-abbrev-table): Add block, critical.
12020 (f90-mode): Doc fix.
12021 (f90-looking-at-critical, f90-looking-at-end-critical): New funcs.
12022 (f90-no-block-limit, f90-calculate-indent, f90-end-of-block)
12023 (f90-beginning-of-block, f90-next-block, f90-indent-region)
12024 (f90-match-end): Handle block, critical.
12025
eefff499
GM
120262011-06-25 Glenn Morris <rgm@gnu.org>
12027
f6ba4cc9
GM
12028 * calendar/diary-lib.el (diary-included-files): Doc fix.
12029 (diary-include-files): New function, extracted from
12030 diary-include-other-diary-files and diary-mark-included-diary-files.
12031 (diary-include-other-diary-files, diary-mark-included-diary-files):
12032 Just call diary-include-files.
12033 (diary-mark-entries): Reset diary-included-files on first call.
12034
16712304
GM
12035 * calendar/diary-lib.el (diary-mark-entries)
12036 (diary-mark-included-diary-files):
12037 Visit included diary-files in temp buffers.
12038
5d8e0d43
GM
12039 * progmodes/f90.el (f90-keywords-re, f90-font-lock-keywords-1)
12040 (f90-blocks-re, f90-program-block-re, f90-end-block-re)
12041 (f90-start-block-re, f90-imenu-generic-expression)
12042 (f90-looking-at-program-block-start, f90-no-block-limit):
12043 Add support for submodules.
12044
ccf7a5d5
GM
12045 * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
12046 (f90-procedures-re, f90-constants-re): Add some F2008 stuff.
eefff499 12047
11fdef7d 120482011-06-25 Eli Zaretskii <eliz@gnu.org>
638e9005
EZ
12049
12050 * net/ange-ftp.el (ange-ftp-insert-file-contents): Let-bind
12051 buffer-file-type before setting its value, to avoid disastrous
eefff499 12052 global effects on decoding files for DOS/Windows systems. (Bug#8780)
638e9005 12053
74f53697
JB
120542011-06-25 Juanma Barranquero <lekktu@gmail.com>
12055
12056 * allout.el (allout-unload-function): Pass -1 to `allout-mode'.
12057
12058 * ses.el (ses-unload-function):
12059 * emacs-lisp/re-builder.el (re-builder-unload-function): Simplify.
12060
12061 * proced.el (proced-unload-function):
12062 * progmodes/cperl-mode.el (cperl-mode-unload-function): Remove.
12063
18a4ce5e
AR
120642011-06-25 Andreas Rottmann <a.rottmann@gmx.at>
12065
12066 * server.el (server-create-window-system-frame): Add parameters arg.
12067 (server-process-filter): Doc fix. Handle frame-parameters.
12068
519d22cc
JB
120692011-06-25 Juanma Barranquero <lekktu@gmail.com>
12070
12071 Fix bug#8730, bug#8781.
12072
12073 * loadhist.el (unload--set-major-mode): New function.
12074 (unload-feature): Use it.
12075
12076 * progmodes/python.el (python-after-info-look): Add autoload cookie.
12077 (python-unload-function): New function.
12078
c206f5b0
SM
120792011-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
12080
12081 * mail/rmail.el (rmail-show-message-1): Use restore-buffer-modified-p.
12082
f9ad64f3
GS
120832011-06-25 Giuseppe Scrivano <gscrivano@gnu.org>
12084
12085 * net/browse-url.el (browse-url-firefox-program): Add icecat to
12086 the candidates list.
12087
7d0da90e
JB
120882011-06-24 Juanma Barranquero <lekktu@gmail.com>
12089
12090 * progmodes/verilog-mode.el (verilog-mode): Fix test for bound variable.
12091
14b4e83d
RS
120922011-06-23 Richard Stallman <rms@gnu.org>
12093
12094 * mail/rmail.el: Going to grep hit in Rmail buffer finds the message.
12095 (rmail-variables): Set next-error-move-function.
12096 (rmail-what-message): Take argument POS.
12097 (rmail-next-error-move): New function.
12098
273d2baf
SM
120992011-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
12100
12101 * emacs-lisp/smie.el (smie-bnf->prec2): Give more understandable error
12102 messages for adjacent non-terminals.
12103
56c2cc9a
RS
121042011-06-23 Richard Stallman <rms@gnu.org>
12105
12106 * mail/rmail.el (rmail-retry-ignored-headers): Add message-id.
f444564c 12107 (rmail-show-message-1): Preserve buffer modified flag.
8050daa1
RS
12108 (rmail-start-mail): Don't specify use of rmail-mail-return;
12109 that's done by mail-bury now.
12110 (rmail-mail-return): Handle arg NEWBUF.
56c2cc9a 12111
d59eb518
MA
121122011-06-23 Michael Albinus <michael.albinus@gmx.de>
12113
12114 * net/tramp-sh.el (tramp-method-out-of-band-p): Check, whether
12115 SIZE is a number.
12116
02cfc6d6
MR
121172011-06-23 Martin Rudalics <rudalics@gmx.at>
12118
12119 * window.el (get-lru-window, get-mru-window)
12120 (get-largest-window): Never return a minibuffer window.
12121 (display-buffer-pop-up-window): Fix a bug that could lead to
12122 reusing the minibuffer window.
12123 (display-buffer): Pass original specifier argument to
12124 display-buffer-function instead of the normalized one.
12125 Reported by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
12126
4e323265
LL
121272011-06-22 Leo Liu <sdl.web@gmail.com>
12128
12129 * minibuffer.el (completing-read-function)
12130 (completing-read-default): Move from minibuf.c
12131
7a70468f
RS
121322011-06-22 Richard Stallman <rms@gnu.org>
12133
50718fc2
RS
12134 * mail/sendmail.el (mail-bury): If Rmail is in use, return nicely
12135 to Rmail even if not started by a special Rmail command.
12136
7a70468f
RS
12137 * mail/rmailmm.el (rmail-insert-mime-forwarded-message):
12138 Copy the buffer currently showing just one message.
12139
297dde5a
RW
121402011-06-22 Roland Winkler <winkler@gnu.org>
12141
12142 * textmodes/bibtex.el (bibtex-entry-update): Use mapc.
12143 (bibtex-clean-entry): First delete the old key so that a
12144 customized algorithm for generating the new key does not get
12145 confused by the old key.
12146 (bibtex-url): Obey regexp of first step.
12147 (bibtex-search-entries): Do not use add-to-list with local
12148 list-var.
12149
97bb1093
LMI
121502011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
12151
12152 * mail/smtpmail.el (smtpmail-try-auth-methods): If the user has
12153 stored a user name, then query for the password first, instead of
12154 waiting for SMTP to give an error message and the trying again.
12155
1c0f1a19
JD
121562011-06-22 Lawrence Mitchell <wence@gmx.li>
12157
12158 * net/browse-url.el (browse-url-xdg-open): Use 0, rather than nil
12159 BUFFER in call-process.
12160
396f7c9d
LMI
121612011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
12162
12163 * mail/smtpmail.el (smtpmail-via-smtp): Make sure we don't send
12164 QUIT twice.
ddb7ffee
LMI
12165 (smtpmail-try-auth-methods): Require user name and password from
12166 auth-source.
396f7c9d 12167
8998d1b3
MR
121682011-06-22 Martin Rudalics <rudalics@gmx.at>
12169
12170 * window.el (display-buffer-default-specifiers)
12171 (display-buffer-alist): Remove entries for pop-up-frame-alist.
12172 Suggested by Katsumi Yamaoka <yamaoka@jpl.org>.
130e3e11 12173 (split-window): Normalize SIDE argument (Bug#8916).
8998d1b3
MR
12174
12175 * frame.el (pop-up-frame-alist, pop-up-frame-function)
12176 (special-display-frame-alist, special-display-popup-frame):
12177 Remove duplicate declarations. These are now in window.el.
12178
4ea31e07
LMI
121792011-06-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
12180
c9d29fb8
SM
12181 * mail/smtpmail.el (smtpmail-via-smtp):
12182 Set :use-starttls-if-possible so that we always use STARTTLS if the
6af7a784
LMI
12183 server supports it. SMTP servers that support STARTTLS commonly
12184 require it.
12185
12186 * net/network-stream.el (network-stream-open-starttls): Support
12187 upgrading to STARTTLS always, even if we don't have built-in support.
fa463103 12188 (open-network-stream): Add the :always-query-capabilities keyword.
6af7a784 12189
95f41d9a
LMI
12190 * mail/smtpmail.el: Rewritten to do opportunistic STARTTLS
12191 upgrades with `open-network-stream', and rely solely on
12192 auth-source for all credentials. Big changes throughout the file,
12193 but in particular:
c9d29fb8
SM
12194 (smtpmail-auth-credentials): Remove.
12195 (smtpmail-starttls-credentials): Remove.
7d36ad46
LMI
12196 (smtpmail-via-smtp): Check for servers saying they want AUTH after
12197 MAIL FROM, too.
95f41d9a 12198
c9d29fb8
SM
12199 * net/network-stream.el (network-stream-open-starttls):
12200 Provide support for client certificates both for external and built-in
4ea31e07
LMI
12201 STARTTLS.
12202 (auth-source): Require.
12203 (open-network-stream): Document the :client-certificate keyword.
eb8c9362
LMI
12204 (network-stream-certificate): Change cert-cert to cert and
12205 cert-key to key.
4ea31e07 12206
065ec2c7
MA
122072011-06-21 Michael Albinus <michael.albinus@gmx.de>
12208
12209 * net/tramp-cache.el (top): Don't load the persistency file when
12210 "emacs -Q" has been called.
12211
cd93b359
DR
122122011-06-21 Tim Harper <timcharper@gmail.com>
12213
d8e4b68b
JB
12214 * term/ns-win.el (ns-initialize-window-system):
12215 Set application-specific `ApplePressAndHoldEnabled' system
cd93b359
DR
12216 resource to NO as it is not yet supported by the NS port.
12217
ae9c0411
JB
122182011-06-21 Juanma Barranquero <lekktu@gmail.com>
12219
12220 * misc.el (list-dynamic-libraries--refresh): Compute header here...
12221 (list-dynamic-libraries): ...not here.
12222
7f3f739f
LL
122232011-06-21 Leo Liu <sdl.web@gmail.com>
12224
12225 * subr.el (sha1): Implement sha1 using secure-hash.
12226
327c8fb1
MR
122272011-06-21 Martin Rudalics <rudalics@gmx.at>
12228
12229 * window.el (display-buffer-alist): In default value do not
12230 enforce searching a window on any but the selected frame.
12231 Reported by Katsumi Yamaoka <yamaoka@jpl.org>.
12232 (display-buffer-select-window): Remove function.
12233 (display-buffer-in-window): When a window on another frame gets
12234 reused, do not select it any more but just raise its frame if
12235 necessary (Bug#8851) and (Bug#8856).
12236 (display-buffer-normalize-options): Handle pop-up-frames related
12237 options more faithfully.
12238 (pop-to-buffer): Don't rely on `display-buffer' selecting the
12239 window if it is on another frame.
c9d29fb8
SM
12240 (display-buffer-alist, display-buffer-default-specifiers):
12241 Don't make new frame unsplittable by default.
9e9de014
MR
12242 (display-buffer-normalize-argument): Fix doc-string typo and use
12243 'same-frame-other-window instead of 'other-window when associating
12244 with display-buffer-macro-specifiers.
327c8fb1 12245
7cf3f556
VB
122462011-06-21 Vincent Belaïche <vincent.b.1@hotmail.fr>
12247
12248 * play/5x5.el (5x5-solve-rotate-left, 5x5-solve-rotate-right):
12249 New functions.
12250 (5x5-mode-map, 5x5-mode-menu): Bind them.
12251 (5x5-draw-grid): Tweak the solver's rendering.
12252
60a406cf
SM
122532011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
12254
12255 * progmodes/compile.el (compilation-error-regexp-alist-alist): Rename
12256 `caml' to `python-tracebacks-and-caml'; allow leading tabs (bug#8585).
12257
d8e4b68b 122582011-06-21 Drew Adams <drew.adams@oracle.com>
5d907d6c
DA
12259
12260 * menu-bar.el: Use function variable instead of switch-to-buffer.
12261 (menu-bar-select-buffer-function): New variable.
60a406cf 12262 (menu-bar-update-buffers): Use it (bug#8876).
5d907d6c 12263
478d6f95
SM
122642011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
12265
12266 * emacs-lisp/bytecomp.el (add-to-list): Add handler to check the
12267 variable's status.
12268
ca530739
JD
122692011-06-20 Jan Djärv <jan.h.d@swipnet.se>
12270
12271 * x-dnd.el (x-dnd-version-from-flags)
12272 (x-dnd-more-than-3-from-flags): New functions that handle long-as-cons
12273 and long as number (Bug#8899).
12274 (x-dnd-handle-xdnd): Call functions above (Bug#8899).
12275
bcd70d97
SM
122762011-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
12277
60a406cf 12278 * minibuffer.el (completion-metadata): Add `metadata' to the alist.
4cb3bfa0
SM
12279 (completion-try-completion, completion-all-completions): Compute the
12280 metadata argument if it's missing; make it optional (bug#8795).
12281
60a406cf 12282 * wid-edit.el: Use lex-bind and move towards completion-at-point.
bcd70d97
SM
12283 (widget-complete): Use new :completion-function property.
12284 (widget-completions-at-point): New function.
12285 (default): Use :completion-function instead of :complete.
60a406cf
SM
12286 (widget-default-completions): Rename from widget-default-complete;
12287 Rewrite.
bcd70d97
SM
12288 (widget-string-complete, widget-file-complete, widget-color-complete):
12289 Remove functions.
12290 (file, symbol, function, variable, coding-system, color):
12291 * international/mule-cmds.el (default-input-method, charset)
12292 (language-info-custom-alist):
12293 * cus-edit.el (face): Use new property :completions.
12294
12295 * progmodes/pascal.el (pascal-completions-at-point): New function.
12296 (pascal-mode): Use it.
12297 (pascal-mode-map): Use completion-at-point.
12298 (pascal-toggle-completions): Make obsolete.
12299 (pascal-complete-word, pascal-show-completions):
12300 * progmodes/octave-mod.el (octave-complete-symbol):
12301 Redefine as obsolete alias.
12302 * progmodes/octave-inf.el (inferior-octave-completion-at-point):
12303 Signal absence of completion info for old Octave,
12304 (inferior-octave-complete): Redefine as obsolete alias.
12305 * progmodes/meta-mode.el: Use lexical-binding and completion-at-point.
12306 (meta-completions-at-point): Rename from meta-complete-symbol and
12307 adapt it for use on completion-at-point-functions.
12308 (meta-common-mode): Use it.
12309 (meta-looking-at-backward, meta-match-buffer): Remove.
12310 (meta-complete-symbol): Redefine as obsolete alias.
12311 (meta-common-mode-map): Use completion-at-point.
12312 * progmodes/make-mode.el: Use lexical-binding and completion-at-point.
12313 (makefile-mode-map): Use completion-at-point.
12314 (makefile-completions-at-point): Rename from makefile-complete and
12315 adapt it for use on completion-at-point-functions.
12316 (makefile-mode): Use it.
12317 (makefile-complete): Redefine as obsolete alias.
12318
aebf69c8
DD
123192011-06-20 Deniz Dogan <deniz@dogan.se>
12320
12321 * net/rcirc.el: Delete trailing whitespaces once and for all.
12322
bfbbb27d
DC
123232011-06-20 Daniel Colascione <dan.colascione@gmail.com>
12324
12325 * emacs-lisp/syntax.el (syntax-ppss): Further improve docstring.
12326
d264a46b
CY
123272011-06-19 Chong Yidong <cyd@stupidchicken.com>
12328
4ca009e5
CY
12329 * files.el (auto-mode-alist): Entry for m2-mode (Bug#8852).
12330
d264a46b
CY
12331 * info.el (Info-apropos-toc-nodes): Minor doc fix (Bug#8833).
12332
fbf5b3ce
MR
123332011-06-19 Martin Rudalics <rudalics@gmx.at>
12334
12335 * window.el (display-buffer-other-window-means-other-frame):
12336 Call display-buffer-normalize-alist.
12337 (display-buffer-normalize-specifiers-1): Rename to
12338 display-buffer-normalize-argument. New argument other-frame.
12339 Rewrite.
12340 (display-buffer-normalize-specifiers-2): Rename to
12341 display-buffer-normalize-options.
12342 (display-buffer-normalize-alist-1): New function.
12343 (display-buffer-normalize-specifiers-3): Rename to
bcd70d97
SM
12344 display-buffer-normalize-alist.
12345 Call display-buffer-normalize-alist-1.
fbf5b3ce
MR
12346 (display-buffer-normalize-options-inhibit): New variable.
12347 (display-buffer-normalize-specifiers): Rewrite calling
12348 display-buffer-normalize-alist,
12349 display-buffer-normalize-argument, and
12350 display-buffer-normalize-options. Don't call the latter if
12351 display-buffer-normalize-options-inhibit is non-nil.
12352 (frame-auto-delete): New option.
12353 (window-deletable-p): Use frame-auto-delete.
9d89fec7
MR
12354 (window-list-no-nils, window-state-ignored-parameters)
12355 (window-state-get-1, window-state-get, window-state-put-list)
bcd70d97
SM
12356 (window-state-put-1, window-state-put-2, window-state-put):
12357 New functions.
9a028c23
MR
12358 (display-buffer-normalize-options): Move special-display-p group
12359 after pop-up-frame group (Bug#8851) and (Bug#8856).
fbf5b3ce 12360
6d10d800
CY
123612011-06-18 Chong Yidong <cyd@stupidchicken.com>
12362
6420d28b
CY
12363 * emacs-lisp/rx.el (rx-constituents): Add support for numbered
12364 groups (Bug#8776).
12365 (rx-submatch-n): New function.
12366 (rx): Document it.
12367
ddb8b596
CY
12368 * dired-x.el (dired-mark-unmarked-files): Fix interactive spec
12369 (Bug#8768).
12370
12371 * replace.el (occur-mode-map): Set occur-edit-mode binding to "e".
12372
77080289
CY
12373 * textmodes/fill.el (default-justification): Add :safe (Bug#8879).
12374
61dfb316
CY
12375 * cus-face.el (custom-declare-face): Call custom-theme-recalc face
12376 anytime existing face settings are present (Bug#8889).
12377
6d10d800
CY
12378 * progmodes/delphi.el (delphi-mode-syntax-table): Use defvar.
12379 (delphi-mode): Use define-derived-mode to inherit from prog-mode.
12380 Remove unused argument.
12381
be3fb2b8
MR
123822011-06-18 Martin Rudalics <rudalics@gmx.at>
12383
bcd70d97
SM
12384 * window.el (display-buffer-default-specifiers):
12385 Remove pop-up-frame. Add pop-up-window-min-height,
be3fb2b8
MR
12386 pop-up-window-min-width, and another reuse-window specifier
12387 (Bug#8882). Reported by Dan Nicolaescu <dann@gnu.org>.
bcd70d97
SM
12388 (display-buffer-normalize-specifiers-2):
12389 Handle split-height-threshold and split-width-threshold also when
be3fb2b8
MR
12390 pop-up-windows is unset. Add a reuse-window specifier for the
12391 case popping up a new window fails.
12392 (special-display-popup-frame): Remove double quoting.
28dec25a 12393 (display-buffer-normalize-specifiers-1): Fix thinko.
be3fb2b8 12394
1c6d8c76
SM
123952011-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
12396
12397 * shell.el (shell-completion-vars): Set pcomplete-termination-string
12398 according to comint-completion-addsuffix.
12399
12400 * pcomplete.el: Convert to lexical binding and fix bug#8819.
12401 (pcomplete-suffix-list): Mark as obsolete.
12402 (pcomplete-completions-at-point): Capture pcomplete-norm-func and
12403 pcomplete-seen in the closure.
12404 (pcomplete-comint-setup): Setup completion-at-point as well.
12405 (pcomplete--entries): New function.
12406 (pcomplete--env-regexp): New var.
12407 (pcomplete-entries): Rewrite to work with partial-completion and
12408 without relying on pcomplete-suffix-list.
12409 (pcomplete-pare-list): Remove, unused.
12410
25aef8b8
MR
124112011-06-17 Martin Rudalics <rudalics@gmx.at>
12412
12413 * window.el (display-buffer-alist): Set pop-up-window-min-height
12414 and pop-up-window-min-width in default value. Reported by
12415 Thierry Volpiatto <thierry.volpiatto@gmail.com>. New specifier
12416 other-window-means-other-frame.
12417 (display-buffer-macro-specifiers): Comment out entry for
12418 other-window specifier.
12419 (display-buffer-other-window-means-other-frame): New function.
12420 (display-buffer-normalize-specifiers-1): New arguments
12421 buffer-name and label. Treat other-window case specially.
12422 (display-buffer-normalize-specifiers-2): Treat other-window case
12423 specially.
12424 (display-buffer-normalize-specifiers-3): New function.
bcd70d97
SM
12425 (display-buffer-normalize-specifiers):
12426 Call display-buffer-normalize-specifiers-3.
25aef8b8 12427
dbad4f69
MR
124282011-06-17 Martin Rudalics <rudalics@gmx.at>
12429
12430 * window.el (same-window-p): Fix two typos introduced when
12431 adding with-no-warnings.
d1067961
MR
12432 (display-buffer-normalize-specifiers-1): Don't check
12433 pop-up-frames for 'unset initialization.
12434 (display-buffer-normalize-specifiers-2): Major rewrite using
12435 special-display-p and same-window-p (Bug#8851) and (Bug#8856).
12436 (pop-up-frames, display-buffer-reuse-frames)
12437 (display-buffer-mark-dedicated): Don't initialize to 'unset.
12438 Suggested by David Engster <deng@randomsample.de>.
12439 (even-window-heights): Initialize to 'unset.
12440 (display-buffer-alist-set): Handle new 'unset initializations.
25aef8b8
MR
12441 (display-buffer-macro-specifiers): Don't pop up a new frame in the
12442 other window case.
dbad4f69 12443
9b9c9e3a
MR
124442011-06-16 Martin Rudalics <rudalics@gmx.at>
12445
bcd70d97
SM
12446 * window.el (display-buffer-normalize-specifiers-1):
12447 Respect current value of pop-up-frames for most reasonable values of
9b9c9e3a 12448 second argument of display-buffer (Bug#8865).
981d5c09
MR
12449 (switch-to-buffer-same-frame, switch-to-buffer-other-window)
12450 (switch-to-buffer-other-window-same-frame)
12451 (switch-to-buffer-other-frame): Fix doc-strings. Reported by Drew
12452 Adams (Bug#8875).
9c2755e9
MR
12453 (display-buffer): Don't check noninteractive when calling
12454 display-buffer-pop-up-frame.
12455 (display-buffer-pop-up-frame): Never pop up a frame in
12456 noninteractive mode (Bug#8857).
67222e1d
MR
12457 (enlarge-window, shrink-window): Don't report an error when the
12458 window can't be resized as requested (Bug#8862).
9b9c9e3a 12459
2b75be67
SM
124602011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
12461
9ffdd3ba
SM
12462 * pcmpl-rpm.el (pcomplete/rpm): Minor simplification.
12463
cb581a67
SM
12464 * emacs-lisp/debug.el (debug): Don't leave the buffer in Debugger.
12465
2b75be67
SM
12466 * abbrev.el (define-abbrev-table): Don't add a table multiple times.
12467
8c0e3589
AM
124682011-06-15 Alan Mackenzie <acm@muc.de>
12469
cb581a67
SM
12470 * progmodes/cc-fonts.el (c-font-lock-declarations): 1: Whilst checking
12471 for declarators, disable knr checking to speed up for normal files.
12472 2: Refactor, replacing a sequence of nested if forms by a cond form.
8c0e3589 12473
b96e6cde
LMI
124742011-06-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
12475
4bba86e6
LMI
12476 * net/network-stream.el (open-network-stream): Add the keyword
12477 :always-query-capabilities for the case where you want to force a
12478 `plain' network connection, but the protocol still requires the
12479 capabilitiy command (i.e., SMTP and EHLO).
12480
2b75be67 12481 * subr.el (process-live-p): Rename from `process-alive-p' for
b96e6cde
LMI
12482 consistency with other `-live-p' functions.
12483
efdcdbf8
SM
124842011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
12485
12486 * window.el (same-window-buffer-names, same-window-regexps)
12487 (special-display-frame-alist, special-display-popup-frame)
12488 (special-display-function, special-display-buffer-names)
12489 (special-display-regexps, pop-up-frame-alist)
12490 (pop-up-frame-function, pop-up-frames, display-buffer-reuse-frames)
12491 (pop-up-windows, split-window-preferred-function)
12492 (split-height-threshold, split-width-threshold, even-window-heights)
12493 (display-buffer-mark-dedicated): Don't encourage the use of
12494 display-buffer-alist from Elisp code.
12495
c5cde042
DN
124962011-06-15 Dan Nicolaescu <dann@ics.uci.edu>
12497
12498 * progmodes/python.el (python-mode): Derive from prog-mode.
12499 * progmodes/ps-mode.el (ps-mode):
12500 * progmodes/mixal-mode.el (mixal-mode):
50328a1b 12501 * progmodes/cfengine.el (cfengine-mode):
c5cde042
DN
12502 * progmodes/ld-script.el (ld-script-mode): Likewise.
12503
baa1c9ab
MR
125042011-06-15 Martin Rudalics <rudalics@gmx.at>
12505
12506 * window.el (display-buffer-alist): Trim default value to avoid
12507 popping up a new frame (Bug#8857) or reusing an arbitrary window
12508 on another frame.
12509 (display-buffer): Do not fall back on popping up a new frame in
12510 batch mode (Bug#8857).
12511
c5dd5a51
CY
125122011-06-14 Chong Yidong <cyd@stupidchicken.com>
12513
12514 * cus-theme.el (describe-theme-1): Use custom-theme-p.
12515 (custom-theme-summary): New function.
12516 (customize-themes): Use it.
12517
d647b7c4
GM
125182011-06-13 Glenn Morris <rgm@gnu.org>
12519
12520 * cus-dep.el (custom-make-dependencies): Use up command-line-args-left.
12521
9481c002
MR
125222011-06-13 Martin Rudalics <rudalics@gmx.at>
12523
357f93d2
MR
12524 * help.el (help-window): Remove variable.
12525 (help-window-point-marker, temp-buffer-max-height)
12526 (temp-buffer-resize-mode, help-window-select): Rewrite doc-strings.
12527 (help-print-return-message): Don't set help-window.
12528 (resize-temp-buffer-window): Rewrite cod eand doc-string.
12529 (help-window-setup-finish): Remove.
12530 (help-window-display-message, help-window-setup)
12531 (with-help-window): Major rewrite based on new
12532 display-buffer-window variable.
12533
12534 * help-mode.el (help-mode-finish): Remove help-window related
12535 code.
12536
12537 * view.el (view-exits-all-viewing-windows): Remove reference to
12538 view-return-to-alist in doc-string.
12539 (view-return-to-alist): Make obsolete.
12540 (view-buffer): Call pop-to-buffer-same-window and remove
12541 undo-window code.
12542 (view-buffer-other-window): Call pop-to-buffer-other-window and
12543 simplify code. Ignore second argument.
12544 (view-buffer-other-frame): Call pop-to-buffer-other-frame and
12545 simplify code. Ignore second argument.
12546 (view-return-to-alist-update): Make obsolete.
12547 (view-mode-enter): Rename second argument to QUIT-RESTORE.
12548 Rewrite using quit-restore window parameters.
2b75be67
SM
12549 (view-mode-exit): Rename second argument to EXIT-ONLY.
12550 Rewrite using quit-restore-window.
357f93d2
MR
12551 (View-exit, View-exit-and-edit, View-leave, View-quit)
12552 (View-quit-all, View-kill-and-leave): Call view-mode-exit with
12553 appropriate arguments.
12554 (view-end-message): Use quit-restore window parameter.
12555
9481c002
MR
12556 * window.el (display-buffer-function): Rewrite doc-string.
12557 (display-buffer-window, display-buffer-alist): New variables.
12558 (display-buffer-split-specifiers)
12559 (display-buffer-side-specifiers)
12560 (display-buffer-macro-specifiers): New constants.
12561 (display-buffer-even-window-sizes, display-buffer-set-height)
12562 (display-buffer-set-width, display-buffer-select-window)
12563 (display-buffer-in-window, display-buffer-reuse-window)
12564 (display-buffer-split-window-1, display-buffer-split-window)
12565 (display-buffer-split-atom-window, display-buffer-pop-up-window)
12566 (display-buffer-pop-up-frame, display-buffer-pop-up-side-window)
12567 (display-buffer-in-side-window, normalize-buffer-to-display)
12568 (display-buffer-normalize-specifiers-1)
12569 (display-buffer-normalize-specifiers-2)
2b75be67
SM
12570 (display-buffer-normalize-specifiers, display-buffer-frame):
12571 New functions.
9481c002
MR
12572 (display-buffer): Major rewrite.
12573 (display-buffer-other-window, display-buffer-other-frame)
12574 (pop-to-buffer, switch-to-buffer-other-window)
12575 (switch-to-buffer-other-frame): Rewrite.
12576 (display-buffer-same-window, display-buffer-same-frame)
12577 (display-buffer-same-frame-other-window)
12578 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
12579 (pop-to-buffer-other-window)
12580 (pop-to-buffer-same-frame-other-window)
12581 (pop-to-buffer-other-frame, switch-to-buffer-same-frame)
12582 (switch-to-buffer-other-window-same-frame): New functions.
12583 (same-window-p, special-display-p): Rewrite disabling warnings.
12584 Make obsolete.
12585 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
12586 (display-buffer-mark-dedicated): Initialize to symbol 'unset.
12587 Make obsolete
12588 (same-window-buffer-names, same-window-regexps)
12589 (special-display-frame-alist, special-display-popup-frame)
12590 (special-display-function, special-display-buffer-names)
12591 (special-display-regexps, pop-up-frame-alist)
12592 (pop-up-frame-function, split-window-preferred-function)
12593 (split-height-threshold, split-width-threshold)
12594 (even-window-heights): Make obsolete.
12595
9db51aca
GM
125962011-06-12 Glenn Morris <rgm@gnu.org>
12597
12598 * term/xterm.el (terminal-init-xterm): `version' may be nil. (Bug#8838)
7cb363eb 12599 Misc simplifications.
9db51aca 12600
39cffb44
MR
126012011-06-12 Martin Rudalics <rudalics@gmx.at>
12602
12603 * window.el (window-safely-shrinkable-p): Restore function which
12604 was inadvertently removed in change from 2011-06-11. Declare as
12605 obsolete.
12606
2b75be67
SM
12607 * calendar/calendar.el (calendar-generate-window):
12608 Use window-iso-combined-p instead of combination of one-window-p and
39cffb44
MR
12609 window-safely-shrinkable-p.
12610
a8955be7
GM
126112011-06-12 Glenn Morris <rgm@gnu.org>
12612
12613 * progmodes/fortran.el (fortran-mode-syntax-table):
12614 * progmodes/f90.el (f90-mode-syntax-table):
12615 Set % to punctuation. (Bug#8820)
12616 (f90-find-tag-default): Remove, no longer needed.
12617
f0d4059d
DC
126182011-06-12 Daniel Colascione <dan.colascione@gmail.com>
12619
12620 * emacs-lisp/syntax.el (syntax-ppss): Clarify which items are invalid.
12621
1100a63c
CY
126222011-06-11 Chong Yidong <cyd@stupidchicken.com>
12623
12624 * image.el (image-animated-p): Return animation delay in seconds.
12625 Avoid bit manipulation in Lisp; use `delay' entry in the metadata.
12626 (image-animate-timeout): Remove DELAY argument. Don't assume
12627 every subimage has the same delay; get it from image-animated-p.
12628 (image-animate): Caller changed.
12629
def722bf
MA
126302011-06-11 Michael Albinus <michael.albinus@gmx.de>
12631
12632 * net/tramp.el (tramp-debug-message): Add `tramp-with-progress-reporter'
12633 to ignored backtrace functions.
12634
0a2bb1a9
GM
126352011-06-11 Glenn Morris <rgm@gnu.org>
12636
12637 * calendar/appt.el (appt-disp-window-function): Doc fix.
12638 (appt-check): Handle overlapping appointments. (Bug#8337)
12639
6198ccd0
MR
126402011-06-11 Martin Rudalics <rudalics@gmx.at>
12641
12642 * window.el (window-tree-1, window-tree): New functions, moving
12643 the latter to window.el.
12644 (bw-get-tree, bw-get-tree-1, bw-find-tree-sub)
12645 (bw-find-tree-sub-1, bw-l, bw-t, bw-r, bw-b, bw-dir, bw-eqdir)
12646 (bw-refresh-edges): Remove.
12647 (balance-windows-1, balance-windows-2): New functions.
12648 (balance-windows): Rewrite in terms of window tree functions,
12649 balance-windows-1 and balance-windows-2.
12650 (bw-adjust-window): Remove.
12651 (balance-windows-area-adjust): New function with functionality of
12652 bw-adjust-window but using resize-window.
2b75be67
SM
12653 (set-window-text-height): Rewrite doc-string.
12654 Use normalize-live-window and resize-window.
12655 (enlarge-window-horizontally, shrink-window-horizontally):
12656 Rename argument to DELTA.
6198ccd0
MR
12657 (window-buffer-height): New function.
12658 (fit-window-to-buffer, shrink-window-if-larger-than-buffer):
12659 Rewrite using new window resize routines.
2b75be67
SM
12660 (kill-buffer-and-window, mouse-autoselect-window-select):
12661 Use ignore-errors instead of condition-case.
6198ccd0
MR
12662 (quit-window): Call delete-frame instead of delete-windows-on
12663 for the only buffer on frame.
12664
9397e56f
MR
126652011-06-10 Martin Rudalics <rudalics@gmx.at>
12666
12667 * loadup.el (top-level): Load window before files for the sake
12668 of replace-buffer-in-windows.
12669
12670 * files.el (read-buffer-to-switch)
12671 (switch-to-buffer-other-window)
2b75be67
SM
12672 (switch-to-buffer-other-frame, display-buffer-other-frame):
12673 Move to window.el.
9397e56f
MR
12674
12675 * simple.el (get-next-valid-buffer, last-buffer, next-buffer)
12676 (previous-buffer): Move to window.el.
12677
12678 * bindings.el (unbury-buffer): Move to window.el.
12679
12680 * window.el (delete-other-windows-vertically): Move after
12681 definition of delete-other-windows.
12682 (other-window, delete-windows-on, replace-buffer-in-windows):
12683 Move here from window.c.
12684 (record-window-buffer, unrecord-window-buffer)
12685 (set-window-buffer-start-and-point, switch-to-prev-buffer)
12686 (switch-to-next-buffer): New functions.
12687 (get-next-valid-buffer, last-buffer, next-buffer): Move here
12688 from simple.el. Call switch-to-next-buffer.
2b75be67
SM
12689 (previous-buffer): Move here from simple.el.
12690 Call switch-to-prev-buffer.
9397e56f
MR
12691 (bury-buffer): Move here from buffer.c. Switch to previous
12692 buffer when window cannot be deleted.
12693 (unbury-buffer): Move here from bindings.el.
12694 (ctl-x-map): Move binding for other-window from window.c to
12695 here.
12696 (read-buffer-to-switch, switch-to-buffer-other-window)
12697 (switch-to-buffer-other-frame): Move here from files.el.
12698 (normalize-buffer-to-switch-to): New functions.
2b75be67
SM
12699 (switch-to-buffer): Move here from buffer.c.
12700 Use read-buffer-to-switch and normalize-buffer-to-switch-to.
9397e56f 12701
562dd5e9
MR
127022011-06-10 Martin Rudalics <rudalics@gmx.at>
12703
12704 * window.el (window-min-height, window-min-width): Move here
12705 from window.c. Add defcustoms and rewrite doc-strings.
12706 (resize-mini-window, resize-window): New functions.
12707 (adjust-window-trailing-edge, enlarge-window, shrink-window):
12708 Move here from window.c.
12709 (maximize-window, minimize-window): New functions.
12710 (delete-window, delete-other-windows, split-window): Move here
12711 from window.c.
12712 (window-split-min-size): New function.
12713 (split-window-keep-point): Mention split-window-above-each-other
12714 instead of split-window-vertically.
2b75be67 12715 (split-window-above-each-other, split-window-vertically):
1154d12e
JB
12716 Rename split-window-vertically to split-window-above-each-other
12717 and provide defalias for old definition.
12718 (split-window-side-by-side, split-window-horizontally):
12719 Rename split-window-horizontally to split-window-side-by-side
12720 and provide defalias for the old definition.
562dd5e9
MR
12721 (ctl-x-map): Move bindings for delete-window,
12722 delete-other-windows and enlarge-window here from window.c.
12723 Replace bindings for split-window-vertically and
12724 split-window-horizontally by bindings for
12725 split-window-above-each-other and split-window-side-by-side.
12726
12727 * cus-start.el (all): Remove entries for window-min-height and
12728 window-min-width. Add entries for window-splits and
12729 window-nest.
12730
f0da764a
GM
127312011-06-09 Glenn Morris <rgm@gnu.org>
12732
80675c21
GM
12733 * calendar/appt.el (appt-mode-line): New function.
12734 (appt-check, appt-disp-window): Use it.
12735
f0da764a
GM
12736 * files.el (hack-one-local-variable-eval-safep):
12737 Allow minor-modes with explicit +/-1 arguments.
12738
59f623b7
TZ
127392011-06-09 Teodor Zlatanov <tzz@lifelogs.com>
12740
12741 * term/xterm.el (xterm): Add defgroup.
12742 (xterm-extra-capabilities): Add defcustom to supply known xterm
12743 capabilities, skip querying them, or query them (default).
12744 (terminal-init-xterm): Use it.
12745 (terminal-init-xterm-modify-other-keys): New function to set up
12746 modifyOtherKeys support to simplify `terminal-init-xterm'.
12747
9aab8e0d
MR
127482011-06-09 Martin Rudalics <rudalics@gmx.at>
12749
12750 * window.el (resize-window-reset, resize-window-reset-1)
12751 (resize-subwindows-skip-p, resize-subwindows-normal)
12752 (resize-subwindows, resize-other-windows, resize-this-window)
12753 (resize-root-window, resize-root-window-vertically)
12754 (window-deletable-p, window-or-subwindow-p)
12755 (frame-root-window-p): New functions.
12756
e8b08aee
GM
127572011-06-09 Glenn Morris <rgm@gnu.org>
12758
12759 * net/ange-ftp.el (ange-ftp-switches-ok): New function.
12760 (ange-ftp-get-files): Use it.
12761
254c37a5
AK
127622011-06-09 Alexander Klimov <alserkli@inbox.ru> (tiny change)
12763
12764 * mail/sendmail.el (mail-recover-1, mail-recover):
12765 * files.el (recover-file, recover-session):
12766 Handle dired-listing-switches not being just a single short option.
12767
35d7dbd3
GM
127682011-06-09 Glenn Morris <rgm@gnu.org>
12769
12770 * calendar/appt.el (appt-display-message, appt-disp-window):
12771 Handle lists of appointments.
12772
387522b2
MR
127732011-06-08 Martin Rudalics <rudalics@gmx.at>
12774
2b75be67
SM
12775 * window.el (one-window-p): Move down in code.
12776 Rewrite doc-string.
12777 (window-current-scroll-bars): Rewrite doc-string.
12778 Normalize live window argument.
387522b2
MR
12779 (walk-windows, get-window-with-predicate, count-windows):
12780 Rewrite doc-string. Use window-list-1.
12781 (window-in-direction-2, window-in-direction, get-mru-window):
12782 New functions.
12783
d8e4b68b 127842011-06-08 Reuben Thomas <rrt@sc3d.org>
2c587104
GM
12785
12786 * progmodes/flymake.el (flymake-compilation-prevents-syntax-check):
12787 Doc fix (Bug#8713).
12788
127892011-06-08 Chong Yidong <cyd@stupidchicken.com>
12790
12791 * repeat.el (repeat-on-final-keystroke): Fix type (Bug#8696).
12792
127932011-06-08 Juanma Barranquero <lekktu@gmail.com>
12794
12795 * loadhist.el (unload-feature-special-hooks):
12796 Add `comint-output-filter-functions'.
12797
0de12c52
IK
127982011-06-08 Ivan Kanis <gnu@kanis.fr>
12799
12800 * calendar/appt.el (appt-check): Move some initializations into the let.
12801
f3d1777e
MR
128022011-06-08 Martin Rudalics <rudalics@gmx.at>
12803
12804 * window.el (window-height): Defalias to window-total-height.
12805 (window-width): Defalias to window-body-width.
12806
18af70d0
CY
128072011-06-07 Chong Yidong <cyd@stupidchicken.com>
12808
12809 * image-mode.el (image-toggle-animation): New command.
12810 (image-mode-map): Bind it to RET.
12811 (image-mode): Update message.
12812 (image-toggle-display-image): Avoid a spurious cache flush.
12813 (image-transform-rotation): Doc fix.
12814 (image-transform-properties): Return quickly in the normal case.
12815 (image-animate-loop): Rename from image-animate-max-time.
12816
2b75be67 12817 * image.el (image-animate-max-time): Move to image-mode.el.
18af70d0
CY
12818 (create-animated-image): Remove unnecessary function.
12819 (image-animate): Rename from image-animate-start. New arg.
2b75be67 12820 (image-animate-stop): Remove; just use image-animate-timer.
18af70d0
CY
12821 (image-animate-timer): Use car-safe.
12822 (image-animate-timeout): Rename argument.
12823
190b47e6
MR
128242011-06-07 Martin Rudalics <rudalics@gmx.at>
12825
12826 * window.el (get-lru-window, get-largest-window): Move here from
2b75be67
SM
12827 window.c. Rename first argument to ALL-FRAMES.
12828 Rephrase doc-strings.
12829 (get-buffer-window-list): Rewrite using window-list-1.
12830 Rephrase doc-string.
a1511caf
MR
12831 (window-safe-min-height, window-safe-min-width): New constants.
12832 (window-size-ignore, window-min-size, window-min-size-1)
12833 (window-sizable, window-sizable-p, window-size-fixed-1)
12834 (window-size-fixed-p, window-min-delta-1, window-min-delta)
12835 (window-max-delta-1, window-max-delta, window-resizable)
12836 (window-resizable-p, window-total-height, window-total-width)
12837 (window-body-width): New functions.
12838 (window-full-height-p, window-full-width-p): Rewrite using
12839 window-total-size.
12840 (window-body-height): Rewrite using window-body-size.
190b47e6 12841
85cc1f11
MR
128422011-06-06 Martin Rudalics <rudalics@gmx.at>
12843
12844 * window.el (window-right, window-left, window-child)
12845 (window-child-count, window-last-child, window-any-p)
12846 (normalize-live-buffer, normalize-live-frame)
12847 (normalize-any-window, normalize-live-window)
12848 (window-iso-combination-p, window-iso-combined-p)
12849 (window-iso-combinations)
12850 (walk-window-tree-1, walk-window-tree, walk-window-subtree)
12851 (windows-with-parameter, window-with-parameter)
12852 (window-atom-root, make-window-atom, window-atom-check-1)
2b75be67
SM
12853 (window-atom-check, window-side-check, window-check):
12854 New functions.
85cc1f11
MR
12855 (ignore-window-parameters, window-sides, window-sides-vertical)
12856 (window-sides-slots): New variables.
12857 (window-size-fixed): Move down in code. Minor doc-string fix.
12858
e7156492
AS
128592011-06-05 Andreas Schwab <schwab@linux-m68k.org>
12860
12861 * comint.el (comint-dynamic-complete-as-filename)
12862 (comint-dynamic-complete-filename): Correctly call
12863 completion-in-region.
12864
7e821d0d
DD
128652011-06-05 Deniz Dogan <deniz@dogan.se>
12866
12867 * net/rcirc.el (rcirc-prompt-for-encryption): Fix bug introduced
12868 in last change.
12869
ac09b8a1
DD
128702011-06-05 Deniz Dogan <deniz@dogan.se>
12871
12872 * net/rcirc.el (rcirc-prompt-for-encryption): New function.
12873 (rcirc): Use it to prompt for encryption.
12874
34699b85
RW
128752011-06-05 Roland Winkler <winkler@gnu.org>
12876
12877 * textmodes/bibtex.el (bibtex-search-buffer): New variable.
12878 (bibtex-search-entries): New command bound to C-c C-a.
12879 (bibtex-display-entries): New function.
12880
004dedd3
RW
128812011-06-05 Roland Winkler <winkler@gnu.org>
12882
12883 * textmodes/bibtex.el (bibtex-generate-url-list): Fix docstring.
12884 (bibtex-insert-kill): After yanking insert newline if necessary.
12885 (bibtex-initialize): Call bibtex-string-files-init only once.
12886 (bibtex-mode): Do not call easy-menu-add.
12887 (bibtex-validate-globally): Use save-excursion in bibtex buffers.
12888 (bibtex-yank): Set arg properly if nil.
12889
022fe7ce
RW
128902011-06-05 Roland Winkler <winkler@gnu.org>
12891
2b75be67
SM
12892 * textmodes/bibtex.el (bibtex-search-entry-globally):
12893 New variable.
022fe7ce
RW
12894 (bibtex-search-entry): Use it.
12895
b7c3692a
RW
128962011-06-05 Roland Winkler <winkler@gnu.org>
12897
12898 * textmodes/bibtex.el (bibtex-entry-format): New option
12899 sort-fields.
12900 (bibtex-format-entry, bibtex-reformat): Honor this option.
12901 (bibtex-parse-entry): Return fields in proper order.
12902
8eda563d
JB
129032011-06-05 Juanma Barranquero <lekktu@gmail.com>
12904
12905 * doc-view.el (doc-view-remove-if): Move computation of result out
12906 of `dolist' to silence misleading lexical-binding warning.
12907
7dbe3dbc
CY
129082011-06-04 Chong Yidong <cyd@stupidchicken.com>
12909
12910 * emacs-lisp/timer.el (timer-activate): Remove unused arg.
12911 (timer-activate, timer-activate-when-idle): Doc fix (Bug#8793).
12912
0c33dd17
MA
129132011-06-04 Michael Albinus <michael.albinus@gmx.de>
12914
12915 * net/tramp-sh.el (tramp-find-shell): Apply workaround also for
12916 "SunOS 5.10".
12917
f8f91c2b
MA
129182011-06-04 Michael Albinus <michael.albinus@gmx.de>
12919
12920 * net/tramp.el (tramp-set-completion-function, tramp-parse-rhosts)
12921 (tramp-parse-shosts, tramp-parse-sconfig, tramp-parse-shostkeys)
12922 (tramp-parse-hosts, tramp-parse-passwd, tramp-parse-netrc)
12923 (tramp-parse-putty):
12924 * net/tramp-sh.el (tramp-completion-function-alist-rsh)
12925 (tramp-completion-function-alist-ssh)
12926 (tramp-completion-function-alist-telnet)
12927 (tramp-completion-function-alist-su)
12928 (tramp-completion-function-alist-putty): Set `tramp-autoload'
12929 cookie.
12930
12931 * net/tramp-ftp.el:
12932 * net/tramp-sh.el:
12933 * net/tramp-smb.el: Set `tramp-autoload' cookie, and eval after
12934 load "tramp.el" `tramp-set-completion-function'.
12935
e17d9003
SM
129362011-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
12937
12938 * shell.el: Require and use pcomplete.
12939 (shell-dynamic-complete-functions): Add pcomplete-completions-at-point.
12940 (shell-completion-vars): Set pcomplete-default-completion-function.
12941
6c4cab03
DD
129422011-06-04 Deniz Dogan <deniz@dogan.se>
12943
12944 * iswitchb.el (iswitchb-window-buffer-p): Use `member' instead of
12945 `memq' (Bug#8799).
12946
ea9fafe0
SM
129472011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
12948
12949 * subr.el (make-progress-reporter): Add "..." by default (bug#8785).
12950
b3e945d3
JB
129512011-06-02 Juanma Barranquero <lekktu@gmail.com>
12952
12953 * bs.el (bs--mark-unmark, bs--nth-wrapper):
12954 * mpc.el (mpc-select-extend, mpc-songpointer-context):
12955 * vc/log-view.el (log-view-beginning-of-defun):
12956 * vc/smerge-mode.el (smerge-apply-resolution-patch)
12957 (smerge-refine-forward, smerge-refine-chopup-region):
12958 Silence warning for unused `dotimes' counter variables.
12959
7d520089
SM
129602011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
12961
12962 * net/tramp.el (tramp-with-progress-reporter): Rename from
12963 with-progress-reporter. Use `declare'.
12964 * net/tramp-smb.el:
12965 * net/tramp-sh.el:
12966 * net/tramp-gvfs.el: Update all uses.
12967
a1c2400f
JB
129682011-06-02 Jay Belanger <jay.p.belanger@gmail.com>
12969
12970 * calc/calc.el (calc-kill-stack-buffer): Make sure that the trail
12971 buffer isn't killed before making it current.
12972
2403c841
SM
129732011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
12974
12975 Silence various byte-compiler warnings.
12976 * emacs-lisp/byte-run.el (make-obsolete-variable): New argument
12977 `access-type' and new obsolescence format.
12978 * emacs-lisp/bytecomp.el (byte-compile-warn-obsolete): Adjust to
12979 new format.
12980 (byte-compile-check-variable): New `access-type' argument.
12981 Only warn if the access-type is obsolete.
12982 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
12983 (byte-compile-variable-set): Adjust callers.
12984 * help-fns.el (describe-variable): Adjust to new obsolescence format.
12985 * mail/sendmail.el (mail-mailer-swallows-blank-line): Only mark
12986 setting it as obsolete.
12987 * simple.el (minibuffer-completing-symbol):
12988 * font-lock.el (font-lock-beginning-of-syntax-function): Only mark read
12989 access as obsolete.
12990 * minibuffer.el (minibuffer-completing-file-name): Don't make it
12991 obsolete yet.
12992 * international/quail.el (quail-mouse-choose-completion): Remove unused
12993 code referring to obsolete var.
12994 (quail-choose-completion-string): Remove.
12995 * server.el (server-clients-with, server-kill-buffer-query-function)
12996 (server-kill-emacs-query-function): Silence "unused `proc'" warnings.
12997 * proced.el (proced-send-signal):
12998 * emacs-lisp/lisp.el (lisp-complete-symbol):
12999 Replace completion-annotate-function with completion-extra-properties.
13000
2462470b
SM
130012011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
13002
fb5b2591
SM
13003 * simple.el (goto-line): Use read-number.
13004 (overriding-map-is-bound): Remove.
13005 (saved-overriding-map): Change default.
13006 (save&set-overriding-map): Rename from ensure-overriding-map-is-bound;
13007 Take the map as argument.
13008 (universal-argument, negative-argument, digit-argument): Use it.
13009 (restore-overriding-map): Adjust.
13010 (do-auto-fill): Use fill-forward-paragraph.
13011 (keyboard-quit): Don't signal an error when debug-on-quit is non-nil.
13012
fd6fa53f
SM
13013 * minibuffer.el (minibuffer-inactive-mode-map): New var.
13014 (minibuffer-inactive-mode): New major mode.
13015 * mouse.el (mouse-drag-region): Remove the "mouse-1 pops up
13016 the *Messages* buffer" hack.
13017 (mouse-popup-menubar): Don't burp if the event is a normal key.
13018
2462470b
SM
13019 Miscellaneous tweaks.
13020 * emacs-lisp/cl-macs.el (dolist, dotimes): Use the same strategy for
13021 lexical scoping as in subr.el's dolist and dotimes.
13022 * emacs-lisp/bytecomp.el (byte-compile-unfold-bcf):
13023 Silence compiler warning.
13024 * thingatpt.el (forward-whitespace): Trivial coding style fix.
13025 * subr.el (with-output-to-temp-buffer): Provide an edebug spec.
13026 * international/ccl.el (ccl-compile): Trivial simplification.
13027 * help-fns.el (help-do-arg-highlight): Silence compiler warning.
13028 * emacs-lisp/testcover.el (testcover-end): Remove spurious
13029 `printflag' argument.
13030 * emacs-lisp/byte-run.el (make-obsolete, make-obsolete-variable):
13031 Purecopy the whole obsolescence data.
13032
108bf785
LL
130332011-06-01 Leo Liu <sdl.web@gmail.com>
13034
13035 * net/rcirc.el (rcirc-decode-coding-system): Revert last change;
13036 improve doc-string as suggested by Marco Pessotto
13037 <melmothx@gmail.com>.
13038 (rcirc-print): Fix last change.
13039
30a23501
SM
130402011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
13041
13042 * minibuffer.el (complete-with-action): Return nil for the metadata and
13043 boundaries of non-functional tables.
13044 (completion-table-dynamic): Return nil for the metadata.
13045 (completion-table-with-terminator): Add default case, using
13046 complete-with-action.
13047 (completion--metadata): New function.
13048 (completion-all-sorted-completions, minibuffer-completion-help): Use it
13049 to try and avoid pathological performance problems.
13050 (completion--embedded-envvar-table): Return `category' metadata.
13051
bcd54f83
LMI
130522011-05-31 Lars Magne Ingebrigtsen <larsi@gnus.org>
13053
13054 * subr.el (process-alive-p): New tiny convenience function.
13055
e227544d
SM
130562011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
13057
13058 * emacs-lisp/debug.el (debug): Save&restore not just the buffer's
13059 content but also its previous major mode.
13060
e8296fdc
HE
130612011-05-31 Helmut Eller <eller.helmut@gmail.com>
13062
4d61f28d 13063 * emacs-lisp/debug.el (debug): Restore the previous content of the
e8296fdc
HE
13064 *Backtrace* buffer when we exit with C-M-c.
13065
620c53a6
SM
130662011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
13067
13068 * minibuffer.el: Add metadata method to completion tables.
13069 (completion-category-overrides): New defcustom.
13070 (completion-metadata, completion--field-metadata)
13071 (completion-metadata-get, completion--styles)
13072 (completion--cycle-threshold): New functions.
13073 (completion-try-completion, completion-all-completions):
13074 Add `metadata' argument to choose completion-styles.
13075 (completion--do-completion): Use metadata to choose cycling.
13076 (completion-all-sorted-completions): Use metadata for sorting.
13077 Remove :completion-cycle-penalty which is not needed any more.
13078 (completion--try-word-completion): Add `metadata' argument.
13079 (minibuffer-completion-help): Check metadata for annotation function
13080 and sorting.
13081 (completion-file-name-table): Return `category' metadata.
13082 (minibuffer-completing-file-name): Make obsolete.
13083 * simple.el (minibuffer-completing-symbol): Make obsolete.
13084 * icomplete.el (icomplete-completions): Pass new `metadata' param to
13085 completion-try-completion.
13086
1257e755
SM
130872011-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
13088
13089 * mail/smtpmail.el (smtpmail-send-data): Add progress reporter.
13090
3767e706
LL
130912011-05-30 Leo Liu <sdl.web@gmail.com>
13092
13093 * net/rcirc.el (rcirc-debug-buffer): Use visible buffer name.
5ab33f2b
LL
13094 (rcirc-print): Decode all incoming messages (bug#8744).
13095 (rcirc-decode-coding-system): Allow value nil for automatic coding
13096 system detection.
3767e706 13097
d1a5d56a
GM
130982011-06-01 Glenn Morris <rgm@gnu.org>
13099
13100 * mail/emacsbug.el (report-emacs-bug-hook): Mailclient ignores From.
13101
e8cbec34
CY
131022011-05-29 Chong Yidong <cyd@stupidchicken.com>
13103
13104 * image.el (image-animate-max-time): Allow nil and t values.
13105 Default to nil.
13106 (create-animated-image): Doc fix.
13107 (image-animate-start): Remove second arg; just use
13108 image-animate-max-time.
13109 (image-animate-timeout): Doc fix. Args changed.
13110
13111 * image-mode.el (image-toggle-display-image): Ensure that the
13112 image spec passed to the animate timer is the same object as in
58179cce 13113 the buffer's display property (Bug#6981).
e8cbec34
CY
13114 (image-transform-properties): Doc fix.
13115
13116 * image.el (image-animate-max-time): Default to nil.
13117
159daf87
MR
131182011-05-29 Martin Rudalics <rudalics@gmx.at>
13119
13120 * menu-bar.el (kill-this-buffer-enabled-p): Avoid looping over
13121 entire buffer list (Bug#8184).
13122
d66c4c7c
CY
131232011-05-29 Chong Yidong <cyd@stupidchicken.com>
13124
13125 * image.el (imagemagick-types-inhibit)
13126 (imagemagick-register-types): Doc fix.
13127
80aec780
DD
131282011-05-29 Deniz Dogan <deniz@dogan.se>
13129
13130 * net/rcirc.el (rcirc): Use the user's stored encryption method by
13131 default.
13132
1dd3c2d9
CY
131332011-05-29 Chong Yidong <cyd@stupidchicken.com>
13134
13135 * select.el: Don't perform clipboard-manager saving in hooks;
13136 leave the hooks empty.
13137
60e56523
LL
131382011-05-28 Leo Liu <sdl.web@gmail.com>
13139
13140 * replace.el (occur-menu-map, occur-edit-mode-map): New vars.
13141 (occur-mode-map): Bind occur-edit-mode. Use occur-menu-map.
13142 (occur-edit-mode): New major mode (Bug#8463).
13143 (occur-after-change-function): New function.
13144 (occur-engine): Give Occur tags a read-only property.
13145
2b1e1a22
KR
131462011-05-28 Kevin Ryde <user42@zip.com.au>
13147
13148 * subr.el (def-edebug-spec): Doc fix (Bug#8430).
13149
5d344e88
CY
131502011-05-28 Chong Yidong <cyd@stupidchicken.com>
13151
8e6ca83d
CY
13152 * bindings.el (help-echo): Make the initial non-indicator dash
13153 empty on graphical terminals (Bug#7295).
13154
5d344e88
CY
13155 * files.el (auto-mode-alist): Move config rule after the
13156 in-stripping one (Bug#8547).
13157
bfbbace7
CY
13158 * newcomment.el (comment-end-skip): Doc fix (Bug#8659).
13159
fbeba6e2
CY
13160 * startup.el (normal-splash-screen): Remove gratuitous mode-line
13161 setting (Bug#8740).
13162
60ed8c72
AA
131632011-05-28 Alp Aker <aker@pitt.edu> (tiny change)
13164
4ac619f0
AA
13165 * buff-menu.el (Buffer-menu-revert-function, Buffer-menu-sort)
13166 (Buffer-menu-buffer+size): Use Buffer-menu-buffer-column
13167 (Bug#8539).
60ed8c72 13168
23db196e
CY
131692011-05-28 Chong Yidong <cyd@stupidchicken.com>
13170
13171 * emacs-lisp/re-builder.el (re-builder): Improve doc (Bug#8286).
13172
5012f24c
DK
131732011-05-28 Dima Kogan <dkogan@cds.caltech.edu> (tiny change)
13174
13175 * progmodes/hideshow.el (hs-looking-at-block-start-p): New fun.
13176 (hs-hide-block-at-point, hs-find-block-beginning)
13177 (hs-already-hidden-p, hs-hide-block, hs-show-block): Use it
13178 (Bug#8279).
13179
6a639b16
GM
131802011-05-28 Glenn Morris <rgm@gnu.org>
13181
13182 * startup.el (fancy-about-screen): Use standard mode line. (Bug#8740)
13183
d43eaf2c
CY
131842011-05-28 Chong Yidong <cyd@stupidchicken.com>
13185
5199bde1
CY
13186 * help-fns.el (describe-function-1): If the function is a derived
13187 major mode, print the parent mode.
13188
d43eaf2c
CY
13189 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode, java-mode)
13190 (idl-mode, pike-mode, awk-mode): Inherit from prog-mode.
13191
423428a8
SM
131922011-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
13193
0ff8e1ba 13194 * minibuffer.el (completion--capf-wrapper): Check applicability before
0b381c7e 13195 returning non-nil for non-exclusive completion data.
0ff8e1ba
SM
13196 * progmodes/etags.el (tags-completion-at-point-function):
13197 * info-look.el (info-lookup-completions-at-point): Mark as
13198 non-exclusive.
13199 (info-complete): Adjust accordingly.
13200
423428a8
SM
13201 * info-look.el: Convert to lexical-binding and completion-at-point.
13202 (info-lookup-completions-at-point): New function.
13203 (info-complete): Use it and completion-in-region.
13204
b74aa22b
DA
132052011-05-28 Drew Adams <drew.adams@oracle.com>
13206
13207 * isearch.el: Let M-e start with point at the first mismatched char.
13208 (isearch-fail-pos): New function.
13209 (isearch-edit-string): Use it.
13210
66e2e71d
DK
132112011-05-28 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
13212
13213 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
13214
b1890b0f 132152011-05-27 Toby Cubitt <toby-predictive@dr-qubit.org>
eb95d01d
TC
13216
13217 * emacs-lisp/avl-tree.el: New avl-tree-stack datatype. Add new
13218 traversal functions for avl-trees.
13219 (avl-tree--stack): New struct.
13220 (avl-tree-stack-p, avl-tree--stack-repopulate): New funs.
13221 (avl-tree-enter): Add optional `updatefun' arg.
93a1c12a
TC
13222 (avl-tree--do-enter): Add optional `updatefun' arg.
13223 Change return value.
eb95d01d 13224 (avl-tree-delete): Add optional `test' and `nilflag' args.
93a1c12a
TC
13225 (avl-tree--do-delete): Add `test' and `nilflag' args.
13226 Change return value.
eb95d01d
TC
13227 (avl-tree-member): Add optional `nilflag'
13228 (avl-tree-member-p): New function.
13229 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar): New functions.
13230 (avl-tree-stack, avl-tree-stack-pop, avl-tree-stack-first)
13231 (avl-tree-stack-empty-p): New functions.
13232
3769ddcf
TC
13233 * emacs-lisp/avl-tree.el (avl-tree--del-balance): Rename from
13234 avl-tree--del-balance1 and make it work both ways.
13235 (avl-tree--del-balance2): Remove.
13236 (avl-tree--enter-balance): Rename from avl-tree--enter-balance1 and
13237 make it work both ways.
13238 (avl-tree--enter-balance2): Remove.
13239 (avl-tree--switch-dir, avl-tree--dir-to-sign, avl-tree--sign-to-dir):
13240 New macros.
13241 (avl-tree--mapc, avl-tree-map): Add direction argument.
13242
eb95d01d 132432011-05-27 David Michael <fedora.dm0@gmail.com> (tiny change)
7a6b1aef
DM
13244
13245 * files.el (interpreter-mode-alist): Add rbash (bug#8745).
13246
a9f737ee
CY
132472011-05-27 Chong Yidong <cyd@stupidchicken.com>
13248
13249 * select.el: Support clipboard managers with built-in function
13250 x-clipboard-manager-save, via delete-frame-functions and
13251 kill-emacs-hook.
13252 (xselect-convert-to-targets): Add MULTIPLE target to list.
13253 (xselect-convert-to-save-targets): New function.
13254
c92a1e54
KH
132552011-05-27 Kenichi Handa <handa@m17n.org>
13256
13257 * mail/sendmail.el (mail-encode-header): Avoid double encoding by
13258 let-binding rfc2047-encode-encoded-words to nil.
13259
e145f188
GM
132602011-05-27 Glenn Morris <rgm@gnu.org>
13261
5ec8a862
GM
13262 * mail/emacsbug.el: Don't require url-util.
13263
4b29d9fb
GM
13264 * shell.el (shell-directory-tracker): Case matters. (Bug#8735)
13265
e145f188
GM
13266 * files.el (set-auto-mode):
13267 Also respect mode: entries at the end of the file. (Bug#8586)
13268
7d15102b
GM
132692011-05-26 Glenn Morris <rgm@gnu.org>
13270
98f593b8
GM
13271 * files.el (hack-local-variables-prop-line, hack-local-variables):
13272 Downcase mode names, as seems to be traditional.
27b48e63 13273 (hack-local-variables, hack-local-variables-apply): Doc fixes.
98f593b8 13274
7d15102b
GM
13275 * mail/emacsbug.el (report-emacs-bug): Mention checking From address.
13276 (report-emacs-bug-hook): Try to validate the From address. (Bug#8038)
13277
51d5b4ec
JD
132782011-05-25 Julien Danjou <julien@danjou.info>
13279
13280 * textmodes/rst.el (rst-define-level-faces): Do not define face
13281 symbol if it is already defined.
13282
91513f63
VB
132832011-05-24 Vincent Belaïche <vincentb1@users.sourceforge.net>
13284
13285 * play/5x5.el (5x5-new-game, 5x5-randomize):
13286 Reset 5x5-solver-output to nil when a new grid is cast.
13287 (5x5-log-init, 5x5-log): Use defsubst instead of defmacro to shunt
13288 these debugging traces, as defmacro breaks the compiled code.
13289
4d90d6d0
DK
132902011-05-24 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
13291
13292 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
13293
e1b90ef6
LL
132942011-05-24 Leo Liu <sdl.web@gmail.com>
13295
13296 * vc/vc-bzr.el (vc-bzr-sha1-program): Rename from sha1-program.
13297 (vc-bzr-sha1): Adapt.
13298
d8e4b68b 13299 * sha1.el: Remove. Function `sha1' is now builtin.
e1b90ef6
LL
13300
13301 * bindings.el: Provide sha1 feature.
13302
db0406bb 133032011-05-24 Kenichi Handa <handa@m17n.org>
b8d747b9
KH
13304
13305 * mail/sendmail.el: Require `rfc2047'.
13306 (mail-insert-from-field): Do not perform RFC2047 encoding.
13307 (mail-encode-header): New function.
13308 (sendmail-send-it): Set buffer-file-coding-system of the work
4d90d6d0
DK
13309 buffer to the return value of select-message-coding-system.
13310 Call mail-encode-header.
b8d747b9
KH
13311
13312 * mail/smtpmail.el (smtpmail-send-it): Call mail-encode-header.
13313
db0406bb 133142011-05-24 Sean Neakums <sneakums@zork.net> (tiny change)
7261f6ce 13315
4d90d6d0
DK
13316 * mail/supercite.el (sc-default-cite-frame):
13317 Handle sc-nested-citation-p when sc-cite-blank-lines-p is non-nil.
7261f6ce 13318
eb8a5e9b
GM
133192011-05-24 Glenn Morris <rgm@gnu.org>
13320
f8630703
GM
13321 * progmodes/python.el (brm-menu): Declare.
13322
8831bbed
GM
13323 * emulation/viper.el (viper-set-hooks): Declare.
13324
eb8a5e9b
GM
13325 * play/5x5.el (5x5-log-init, 5x5-log): Evaluate when compiling.
13326 (5x5-log-init, 5x5-log, 5x5-solver): Doc fixes.
13327 (math-map-vec, math-sub, math-mul, math-make-intv, math-reduce-vec)
13328 (math-format-number, math-pow, calcFunc-arrange, calcFunc-cvec)
13329 (calcFunc-diag, calcFunc-trn, calcFunc-inv, calcFunc-mrow)
13330 (calcFunc-mcol, calcFunc-vconcat, calcFunc-index): Declare.
13331
a2a25d24
SM
133322011-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
13333
13334 Add an :exit-function for completion-at-point.
13335
13336 * minibuffer.el (completion--done): New fun.
13337 (completion--do-completion): Use it. New arg `expect-exact'.
13338 (minibuffer-complete, minibuffer-complete-word): Don't output message,
13339 since completion--do-completion does it for us now.
13340 (minibuffer-force-complete): Use completion--done and
13341 completion--replace. Handle sole-completion case with more care.
13342 (minibuffer-complete-and-exit): Use new `expect-exact' arg.
13343 (completion-extra-properties): New var.
13344 (completion-annotate-function): Make obsolete.
13345 (minibuffer-completion-help): Adjust accordingly.
13346 Use completion-list-insert-choice-function.
13347 (completion-at-point, completion-help-at-point):
13348 Bind completion-extra-properties.
13349 (completion-pcm-word-delimiters): Add | (for uniquify, for example).
13350 * simple.el (completion-list-insert-choice-function): New var.
13351 (completion-setup-function): Preserve it.
13352 (choose-completion): Pay attention to it, shuffle the code a bit.
13353 (choose-completion-string): New arg `insert-function'.
13354
13355 * textmodes/bibtex.el: Convert to lexical binding.
13356 (bibtex-mode-map): Use completion-at-point.
13357 (bibtex-mode): Use define-derived-mode&completion-at-point-functions.
13358 (bibtex-completion-at-point-function): New fun, from bibtex-complete.
13359 (bibtex-complete): Define as obsolete alias.
13360 (bibtex-complete-internal): Remove.
13361 (bibtex-format-entry): Remove unused sub-group in regexp.
13362 * shell.el (shell--command-completion-data)
13363 (shell-environment-variable-completion):
13364 * pcomplete.el (pcomplete-completions-at-point):
13365 * comint.el (comint--complete-file-name-data): Use :exit-function
13366 instead of completion-table-with-terminator so it also works for
13367 choose-completion.
13368
e44e373d
SM
133692011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
13370
4f91a816
SM
13371 * <lots-of-files>.el: Don't quote lambda expressions with `quote'.
13372
782fc819
SM
13373 * vc/smerge-mode.el (smerge-refine-subst): Don't deactivate the mark
13374 (bug#8710).
13375
e44e373d
SM
13376 * emacs-lisp/lisp.el (up-list): Fix forward movement (bug#8708).
13377
381987c3
KM
133782011-05-23 Ken Manheimer <ken.manheimer@gmail.com>
13379
13380 * allout.el (allout-inhibit-auto-fill-on-headline): Create new
13381 customization variable and implement: If non-nil, auto-fill will
13382 be inhibited while on topic's header line.
13383
b776bc70
VB
133842011-05-23 Vincent Belaïche <vincentb1@users.sourceforge.net>
13385
13386 * play/5x5.el: I/ Add an arithmetic solver to suggest positions to
d8e4b68b 13387 click on. II/ Make 5x5 multisession. III/ Ensure that random grids
b776bc70
VB
13388 always have a solution in grid size = 5 cases.
13389 (5x5-mode-map): Add keybinding to function `5x5-solve-suggest'.
13390 (5x5-solver-output, 5x5-log-buffer): New vars.
13391 (5x5-grid, 5x5-x-pos, 5x5-y-pos, 5x5-moves, 5x5-cracking):
13392 Make these variables buffer local to achieve 5x5 multi-session-ness.
13393 (5x5): Set 5x5-grid-size only if SIZE is non-negative.
13394 (5x5-grid-to-vec, 5x5-vec-to-grid, 5x5-log-init, 5x5-log, 5x5-solver)
13395 (5x5-solve-suggest): New funs.
13396 (5x5-randomize): Use 5x5-make-move instead of 5x5-flip-cell to
13397 randomize a grid so that we ensure that there is always a solution.
13398 (5x5-make-random-grid): Allow other movement than flipping.
13399
7de88b6e
KR
134002011-05-23 Kevin Ryde <user42@zip.com.au>
13401
13402 * emacs-lisp/advice.el (ad-read-advised-function):
5a5fa834 13403 Use `function-called-at-point' as the default, if it has
7de88b6e
KR
13404 advice and passes PREDICATE.
13405
b1ef1257
SM
134062011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
13407
bbca48fe
SM
13408 * emacs-lisp/bytecomp.el (byte-compile-function-form): Only call
13409 byte-compile-lambda if it's actually a lambda.
13410
b1ef1257
SM
13411 * emacs-lisp/eieio.el (eieio-defgeneric-form-primary-only-one):
13412 Fix function quoting. Use backquote better.
13413
92a9cc65
YS
134142011-05-22 Yuanle Song <sylecn@gmail.com>
13415
13416 * nxml/rng-xsd.el (rng-xsd-check-pattern): Use case-sensitive
13417 matching (Bug#8516).
13418
f0fb8059
JA
134192011-01-22 Jari Aalto <jari.aalto@cante.net>
13420
13421 * vc/vc-dir.el (vc-default-dir-printer): Give edited tag a
13422 different face (Bug#8178).
13423
d5b44c93
CY
134242011-05-22 Chong Yidong <cyd@stupidchicken.com>
13425
13426 * vc/diff-mode.el (diff-changed): Don't use terminal specs for
13427 defface (Bug#8144).
13428
79106a44
SM
134292011-05-22 Stefan Monnier <monnier@iro.umontreal.ca>
13430
9c848d8a
SM
13431 * emacs-lisp/macroexp.el (macroexpand-all-1): Convert ' to #' for
13432 funcall as well (bug#8712). Warn when performing those conversions.
13433 * emacs-lisp/bytecomp.el (byte-compile-form): Fix error report.
13434
79106a44
SM
13435 * progmodes/grep.el (grep-mode): Fix it for good (bug#8684)!
13436
88dfa756
GM
134372011-05-22 Glenn Morris <rgm@gnu.org>
13438
13439 * files.el (hack-local-variables-prop-line): Small simplifications.
13440 (hack-local-variables, hack-local-variables-prop-line):
13441 If MODE-ONLY, return the mode, rather than just `t'.
13442
b7cf2c79
SM
134432011-05-21 Stefan Monnier <monnier@iro.umontreal.ca>
13444
13445 * progmodes/grep.el (grep-mode): Fix last change (bug#8684).
13446
3f1a8558
GM
134472011-05-21 Glenn Morris <rgm@gnu.org>
13448
7e4ccca3
GM
13449 * files.el (hack-local-variables-prop-line, hack-local-variables):
13450 If only interested in the mode, don't bother doing the other stuff.
13451
637d46ca
GM
13452 * image-mode.el (image-after-revert-hook):
13453 Redraw all frames on which the image is visible. (Bug#8567)
13454
973d955b
GM
13455 * dired-aux.el (dired-touch-initial): Just use current-time. (Bug#6887)
13456
3f1a8558
GM
13457 * wid-edit.el (widget-checklist-match-inline):
13458 Fix 2011-04-19 change. (Bug#8649)
13459
96479927
SM
134602011-05-20 Stefan Monnier <monnier@iro.umontreal.ca>
13461
1dcf791f
SM
13462 * emacs-lisp/checkdoc.el (checkdoc-sentencespace-region-engine):
13463 Also allow singlespace after single-letter capitals followed by a dot.
13464
96479927
SM
13465 * nxml/nxml-mode.el (nxml-electric-slash): Reindent when completion is
13466 enabled. Suggested by James Ahlborn <jahlborn@gmail.com> (bug#8704).
13467
35fd0881
N
134682011-05-20 Nix <nix@esperi.org.uk>
13469
13470 * files.el (basic-save-buffer-2):
13471 Fix handling of break-hardlink-on-save with non-existent files.
13472
82745640
DD
134732011-05-19 Deniz Dogan <deniz@dogan.se>
13474
13475 * net/rcirc.el (rcirc-mode): Initialize rcirc-urls to nil.
9ff90d99 13476 (rcirc-markup-urls): Check if rcirc-url-regexp is nil.
82745640 13477
4a720484
GM
134782011-05-19 Glenn Morris <rgm@gnu.org>
13479
d1f21341
GM
13480 * progmodes/f90.el (f90-type-def-re):
13481 Handle "type, bind(c)". (Bug#8691)
13482
4a720484
GM
13483 * emacs-lisp/autoload.el (batch-update-autoloads):
13484 Set autoload-excludes by parsing loadup.el rather than Makefiles.
13485
2fb0a219
MA
134862011-05-18 Michael Albinus <michael.albinus@gmx.de>
13487
13488 * net/tramp.el (tramp-process-actions): Set "first-password-request"
13489 property for the correct connection in case of multihops.
13490
e565dd37
GM
134912011-05-18 Glenn Morris <rgm@gnu.org>
13492
c2571358 13493 * emacs-lisp/authors.el (authors-fixed-entries): Remove fakemail.c.
c136e5cd
GM
13494 * mail/sendmail.el (sendmail-program): Fall back to just "sendmail".
13495
e565dd37
GM
13496 Rationalize calendar handling of day and month abbrev-arrays.
13497 * calendar/calendar.el (calendar-customized-p): New function.
13498 (calendar-abbrev-construct, calendar-make-alist): Change what it does.
13499 (calendar-day-name-array, calendar-month-name-array): Doc fix.
13500 Add :set function.
13501 (calendar-abbrev-length, calendar-day-abbrev-array)
13502 (calendar-month-abbrev-array): Make defcustoms, with appropriate :set.
13503 (calendar-day-abbrev-array, calendar-month-abbrev-array):
13504 Elements may no longer be nil.
13505 (calendar-day-name, calendar-month-name):
13506 Update for changed nature of abbrev arrays.
13507 * calendar/diary-lib.el (diary-name-pattern):
13508 Update for changed nature of abbrev arrays.
13509 (diary-mark-entries-1): Update calendar-make-alist calls.
13510 (diary-font-lock-date-forms): Doc fix for changed abbrev arrays.
13511 * calendar/cal-html.el (cal-html-day-abbrev-array):
13512 Simply inherit from calendar-day-abbrev-array.
13513
1d99a745
SM
135142011-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
13515
13516 * progmodes/grep.el (grep-mode): Disable default
13517 compilation-directory-matcher setting (bug#8684).
13518
7c1d9aa0
MA
135192011-05-17 Michael Albinus <michael.albinus@gmx.de>
13520
13521 * net/tramp.el (tramp-handle-insert-file-contents): Use "dd"
13522 instead of "head" and "tail". There were problems with SunOS 5.9,
13523 and it performs better.
13524
3952e9d8
GM
135252011-05-17 Glenn Morris <rgm@gnu.org>
13526
2dd12e7f
GM
13527 * mail/mail-utils.el (mail-dont-reply-to): Silence compiler.
13528
e4157b9c
GM
13529 * progmodes/idlw-shell.el (idlwave-shell-complete-filename):
13530 Replace obsolete function.
13531
8e249bbd
GM
13532 * shell.el (pcomplete-parse-arguments-function): Declare.
13533
3952e9d8
GM
13534 * calendar/appt.el (appt-message-warning-time, appt-display-mode-line)
13535 (appt-display-diary, appt-display-interval, appt-prev-comp-time)
13536 (appt-check): Doc fixes.
13537 (appt-disp-window-function, appt-delete-window-function):
13538 Remove needless special case in custom :type.
13539 (appt-display-count): Default to 0, not nil.
13540 (appt-check): Reset appt-display-count to 0, not nil.
13541
c71a0d48 135422011-05-17 Juanma Barranquero <lekktu@gmail.com>
165fd2df 13543
c71a0d48
GM
13544 * progmodes/python.el (python-font-lock-keywords):
13545 Add the Python 3.X keyword "nonlocal" (bug#8639).
165fd2df 13546
31d55be9
SM
135472011-05-16 Stefan Monnier <monnier@iro.umontreal.ca>
13548
13549 * emacs-lisp/eieio.el (defmethod): Fix quoting of code (bug#8677).
13550
3bfacb2f
KR
135512011-05-16 Kevin Ryde <user42@zip.com.au>
13552
13553 * info-look.el (makefile-automake-mode): New setups, looking in
13554 automake manual, then makefile-mode.
13555 (makefile-mode): Remove automake manual, have it just in
13556 makefile-automake-mode since there's various things different or
13557 not relevant to plain make.
13558 (makefile-mode): Remove "other-modes" non-existent automake-mode,
13559 believe a hypothetical automake-mode would go to makefile-mode,
13560 not the other way around.
13561
c8e83751
CY
135622011-05-15 Chong Yidong <cyd@stupidchicken.com>
13563
5e9e35cd
CY
13564 * vc/diff-mode.el (diff-fixup-modifs): Locate correct position for
13565 hunk-end tags (Bug#8672).
13566
c8e83751
CY
13567 * vc/vc-annotate.el (vc-annotate-mode-map): Bind = to
13568 vc-annotate-show-diff-revision-at-line (Bug#8671).
13569
50b23e5a
GM
135702011-05-14 Glenn Morris <rgm@gnu.org>
13571
7210a739
GM
13572 * vc/add-log.el (add-change-log-entry): Don't start adding a new entry
13573 in the middle of an existing one with multiple authors. (Bug#8645)
375cb676
GM
13574 (change-log-font-lock-keywords): Also handle multiple author lines
13575 with leading tabs. (Bug#8644)
7210a739 13576
4691905a
GM
13577 * calendar/appt.el (appt-check): Rename some local variables.
13578 Some simplification/reordering.
13579
50b23e5a
GM
13580 * mail/feedmail.el (feedmail-confirm-outgoing-timeout)
13581 (feedmail-sendmail-f-doesnt-sell-me-out)
13582 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
13583 (feedmail-debug-sit-for, feedmail-queue-express-hook)
13584 (feedmail-queue-runner-message-sender): Set :version.
1aa64307
GM
13585 (bbdb-search, bbdb-records, smtp-via-smtp, smtp-server)
13586 (bbdb-dwim-net-address, vm-mail): Declare.
50b23e5a
GM
13587 (feedmail-binmail-gnulinuxish-template):
13588 Rename from feedmail-binmail-linuxish-template.
13589 (feedmail-buffer-to-smtp, feedmail-vm-mail-mode):
13590 Use insert-buffer-substring.
13591
215cda7c
BC
135922011-05-14 Bill Carpenter <bill@carpenter.org>
13593
13594 * mail/feedmail.el (feedmail-patch-level): Increase.
13595 (feedmail-debug): New custom group.
13596 (feedmail-confirm-outgoing-timeout)
13597 (feedmail-sendmail-f-doesnt-sell-me-out)
13598 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
13599 (feedmail-debug-sit-for, feedmail-queue-express-hook): New options.
13600 (feedmail-sender-line, feedmail-from-line)
13601 (feedmail-fiddle-headers-upwardly, feedmail-enable-spray)
c2571358 13602 (feedmail-spray-this-address)
215cda7c
BC
13603 (feedmail-spray-address-fiddle-plex-list)
13604 (feedmail-queue-use-send-time-for-date)
13605 (feedmail-queue-use-send-time-for-message-id)
13606 (feedmail-last-chance-hook, feedmail-queue-runner-mode-setter)
13607 (feedmail-buffer-eating-function):
13608 Doc fixes.
13609 (feedmail-spray-via-bbdb, feedmail-buffer-to-smtp)
13610 (feedmail-vm-mail-mode, feedmail-message-action-scroll-up)
13611 (feedmail-message-action-scroll-down): New functions.
13612 (feedmail-queue-directory, feedmail-queue-draft-directory):
13613 Use expand-file-name.
13614 (feedmail-prompt-before-queue-standard-alist): Add scroll entries.
13615 Remove C-v help entry.
13616 (feedmail-queue-buffer-file-name): New variable.
13617 (feedmail-mail-send-hook-splitter, feedmail-buffer-to-binmail)
13618 (feedmail-buffer-to-smtpmail, feedmail-queue-express-to-draft)
13619 (feedmail-message-action-send-strong, feedmail-message-action-edit)
13620 (feedmail-message-action-draft, feedmail-message-action-draft-strong)
13621 (feedmail-message-action-queue, feedmail-message-action-queue-strong)
13622 (feedmail-message-action-toggle-spray)
13623 (feedmail-run-the-queue-no-prompts)
13624 (feedmail-run-the-queue-global-prompt, feedmail-queue-reminder)
13625 (feedmail-look-at-queue-directory, feedmail-queue-subject-slug-maker)
13626 (feedmail-create-queue-filename, feedmail-rfc822-time-zone):
13627 (feedmail-fiddle-header, feedmail-give-it-to-buffer-eater)
13628 (feedmail-envelope-deducer, feedmail-fiddle-from)
13629 (feedmail-fiddle-sender, feedmail-default-date-generator)
13630 (feedmail-fiddle-date, feedmail-fiddle-message-id)
13631 (feedmail-fiddle-spray-address)
13632 (feedmail-fiddle-list-of-spray-fiddle-plexes)
13633 (feedmail-fiddle-list-of-fiddle-plexes)
13634 (feedmail-fill-to-cc-function, feedmail-fill-this-one)
13635 (feedmail-one-last-look, feedmail-fqm-p): Add debug calls.
13636 (feedmail-queue-runner-message-sender, feedmail-binmail-template):
13637 Change default. Doc fix.
13638 (feedmail-queue-runner-cleaner-upper): Use feedmail-say-chatter.
13639 (feedmail-binmail-linuxish-template): New constant.
13640 (feedmail-buffer-to-sendmail): Doc fix. Add debug call.
13641 Respect feedmail-sendmail-f-doesnt-sell-me-out.
13642 (feedmail-send-it): Add debug call.
13643 Use feedmail-queue-buffer-file-name, and
13644 feedmail-send-it-immediately-wrapper.
13645 (feedmail-message-action-send): Add debug call.
13646 Use feedmail-send-it-immediately-wrapper.
13647 (feedmail-queue-express-to-queue): Add debug call.
13648 Run feedmail-queue-express-hook.
13649 (feedmail-message-action-help): Add debug call. Use feedmail-p-h-b-n.
13650 (feedmail-message-action-help-blat):
13651 Rename from feedmail-queue-send-edit-prompt-help-first.
13652 (feedmail-run-the-queue): Add debug call. Set buffer-file-type.
13653 Check line-endings. Handle errors better.
13654 (feedmail-queue-reminder-brief, feedmail-queue-reminder-medium):
13655 Doc fix. Add debug call.
13656 (feedmail-queue-send-edit-prompt): Doc fix. Add debug call.
13657 Use feedmail-queue-send-edit-prompt-inner.
13658 (feedmail-queue-runner-prompt, feedmail-scroll-buffer): New functions.
13659 (feedmail-queue-send-edit-prompt-inner): New function, extracted
13660 from feedmail-queue-send-edit-prompt.
13661 (feedmail-queue-send-edit-prompt-help)
13662 (feedmail-queue-send-edit-prompt-help-later): Remove functions.
13663 (feedmail-tidy-up-slug): Add debug call.
13664 Respect feedmail-queue-slug-suspect-regexp.
13665 (feedmail-queue-subject-slug-maker): Use buffer-substring-no-properties.
13666 (feedmail-dump-message-to-queue): Add debug call.
13667 Expand queue-directory.
13668 (feedmail-dump-message-to-queue): Change message slightly.
13669 Use feedmail-say-chatter.
13670 (feedmail-rfc822-date): Add debug call. Bind system-time-locale.
13671 (feedmail-send-it-immediately-wrapper): New function.
13672 (feedmail-send-it-immediately): Add debug calls. Use let not let*.
13673 Insert empty string rather than newline. Handle full-frame case.
13674 Use catch/throw. Use feedmail-say-chatter.
13675 (feedmail-fiddle-from): Try mail-host-address.
13676 (feedmail-default-message-id-generator): Doc fix.
13677 Bind system-time-locale. Handle missing end.
13678 (feedmail-fiddle-x-mailer): Add debug call.
13679 Handle feedmail-x-mailer-line being nil.
13680 (feedmail-accume-n-nuke-header, feedmail-deduce-address-list):
13681 Add debug call. Use buffer-substring-no-properties.
13682 (feedmail-say-debug, feedmail-say-chatter): New functions.
13683 (feedmail-find-eoh): Give an explicit error.
13684
42c7e61e
UJ
136852011-05-13 Ulf Jasper <ulf.jasper@web.de>
13686
c2571358 13687 * net/newst-treeview.el (newsticker-treeview-face): Change default
42c7e61e 13688 family from helvetica to sans.
c2571358 13689 (newsticker-treeview-tool-bar-map): Move tool-bar icons to
42c7e61e
UJ
13690 etc/images/newsticker.
13691
c2571358 13692 * net/newst-reader.el (newsticker-feed-face): Change default
42c7e61e
UJ
13693 family from helvetica to sans.
13694
13695 * net/newst-plainview.el (newsticker-new-item-face)
13696 (newsticker-old-item-face, newsticker-immortal-item-face)
13697 (newsticker-obsolete-item-face, newsticker-date-face)
c2571358 13698 (newsticker-statistics-face): Change default family from
42c7e61e 13699 helvetica to sans.
c2571358 13700 (newsticker--plainview-tool-bar-map): Move tool-bar icons to
42c7e61e
UJ
13701 etc/images/newsticker.
13702
5d3385a0
JB
13703 * net/newst-backend.el (newsticker--do-run-auto-mark-filter)
13704 (newsticker--process-auto-mark-filter-match): Tell user about
42c7e61e
UJ
13705 auto-marking.
13706
8497a297
DV
137072011-05-13 Didier Verna <didier@xemacs.org>
13708
13709 Common Lisp indentation improvements on defmethod and lambda-lists.
4d61f28d
JB
13710 * emacs-lisp/cl-indent.el: Advertise the changes and remove obsolete
13711 TODO entries.
8497a297
DV
13712 (lisp-lambda-list-keyword-parameter-indentation)
13713 (lisp-lambda-list-keyword-parameter-alignment)
13714 (lisp-lambda-list-keyword-alignment): New customizable user options.
13715 (lisp-indent-defun-method): Improve docstring.
13716 (extended-loop-p): Fix comment.
13717 (lisp-indent-lambda-list-keywords-regexp): New variable.
13718 (lisp-indent-lambda-list): New function.
13719 (lisp-indent-259): Use it.
13720 (lisp-indent-defmethod): Support for more than one
13721 method qualifier and properly indent methods lambda-lists.
13722 (defgeneric): Provide a missing common-lisp-indent-function property.
13723
f278f87f
SM
137242011-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
13725
13726 * thingatpt.el (bounds-of-thing-at-point): Return nil rather than
13727 bounds for the empty string (bug#8667).
13728
5233edd7
GM
137292011-05-13 Glenn Morris <rgm@gnu.org>
13730
5237a44f
GM
13731 * mail/feedmail.el (feedmail-buffer-to-sendmail): Require sendmail.
13732
8340026c 13733 * mail/sendmail.el (sendmail-program): Try executable-find first.
f278f87f 13734 (sendmail-send-it): `sendmail-program' cannot be unbound.
8340026c 13735
5233edd7 13736 * calendar/appt.el (appt-make-list): Simplify.
4accbca6 13737 (appt-time-msg-list): Doc fix.
a5464014 13738 (appt-check): Change mode-line message at the time of the appointment.
5233edd7 13739
92d10796
AS
137402011-05-12 Andreas Schwab <schwab@linux-m68k.org>
13741
13742 * progmodes/ld-script.el (ld-script-keywords)
13743 (ld-script-builtins): Update keywords list.
13744
914a0ae1
SM
137452011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
13746
c89be45f
SM
13747 * progmodes/grep.el (grep-filter): Don't trip on partial lines.
13748
914a0ae1
SM
13749 * shell.el (shell-completion-vars): New function.
13750 (shell-mode):
13751 * simple.el (read-shell-command): Use it.
13752 (blink-matching-open): No need for " [...]" in minibuffer-message.
13753
98dc3df3
GM
137542011-05-12 Glenn Morris <rgm@gnu.org>
13755
13756 * calendar/appt.el (appt-now-displayed): Remove pointless variable.
13757 (appt-check): Simplify.
13758
d2fc7e3d 137592011-05-12 Eli Zaretskii <eliz@gnu.org>
0e39ec21 13760
4d61f28d 13761 * vc/smerge-mode.el (smerge-resolve): Use null-device rather than a
0e39ec21
EZ
13762 literal "/dev/null".
13763
d2fc7e3d 137642011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
3f254caa
SM
13765
13766 * emacs-lisp/lisp.el (lisp-complete-symbol, lisp-completion-at-point):
13767 Fix typo.
13768
d2fc7e3d 137692011-05-12 Ralph Schleicher <rs@ralph-schleicher.de>
6eea50c7 13770
3f254caa
SM
13771 * progmodes/which-func.el (which-function):
13772 Use add-log-current-defun instead of add-log-current-defun-function,
6eea50c7
RS
13773 which might not be defined (Bug#8260).
13774
d45885f7
GM
137752011-05-12 Glenn Morris <rgm@gnu.org>
13776
13777 * emacs-lisp/bytecomp.el (byte-compile-file-form-defmumble):
13778 Let byte-compile-initial-macro-environment always take precedence.
13779
488086f4
SM
137802011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
13781
13782 * net/rcirc.el: Add support for SSL/TLS connections.
13783 (rcirc-server-alist): New field `encryption'.
13784 (rcirc): Check `encryption' settings.
13785 (rcirc-connect): New arg `encryption'. Use open-network-stream.
13786 Merge make-local-variable into `set'.
13787 (rcirc--connection-open-p): New function.
13788 (rcirc-send-string, rcirc-clean-up-buffer): Use it to handle case where
13789 the process is not a network process (e.g. running gnutls-cli).
13790 (set-rcirc-decode-coding-system, set-rcirc-encode-coding-system):
13791 Make rcirc-(en|de)code-coding-system local here.
13792 (rcirc-mode): Merge make-local-variable into `set'.
13793 (rcirc-parent-buffer): Make permanent buffer-local.
13794 (rcirc-multiline-minor-mode): Don't do it here.
13795 (rcirc-switch-to-server-buffer): Don't switch to a random buffer if
13796 there's no server buffer.
13797
7d3b9d44
GM
137982011-05-11 Glenn Morris <rgm@gnu.org>
13799
f64049c6
GM
13800 * newcomment.el (comment-kill): Prefix "unused" local.
13801
93c9df73
GM
13802 * term/w32console.el (get-screen-color): Declare.
13803
7d3b9d44
GM
13804 * emacs-lisp/bytecomp.el (byte-compile-arglist-warn):
13805 Handle symbol elements of byte-compile-initial-macro-environment.
13806
9e2dd53f
LL
138072011-05-10 Leo Liu <sdl.web@gmail.com>
13808
488086f4
SM
13809 * bookmark.el (bookmark-bmenu-mode-map):
13810 Bind bookmark-bmenu-search to `/'.
8b340240 13811
9e2dd53f 13812 * mail/footnote.el: Convert to utf-8 encoding.
b4044869
LL
13813 (footnote-unicode-string, footnote-unicode-regexp): New variable.
13814 (Footnote-unicode): New function.
13815 (footnote-style-alist): Add unicode style to the list.
13816 (footnote-style): Doc fix.
9e2dd53f 13817
79b70037
GM
138182011-05-10 Jim Meyering <meyering@redhat.com>
13819
13820 Fix doubled-word typos.
13821 * international/quail.el (quail-insert-kbd-layout): and and -> and
13822 * kermit.el: and and -> and
13823 * net/ldap.el (ldap-search-internal): to to -> to
13824 * progmodes/vhdl-mode.el (vhdl-offsets-alist): Likewise.
13825 * progmodes/js.el (js-mode): and and -> and
13826 * textmodes/artist.el (artist-move-to-xy): at at -> at
13827 (artist-draw-region-trim-line-endings): if if -> if
13828 And Safetyc -> Safety.
13829 * textmodes/reftex-dcr.el (reftex-view-crossref): at at -> at a
13830
b8f82dc1 138312011-05-10 Glenn Morris <rgm@gnu.org>
c2571358 13832 Stefan Monnier <monnier@iro.umontreal.ca>
b8f82dc1
GM
13833
13834 * files.el (hack-one-local-variable-eval-safep):
13835 Consider "eval: (foo-mode)" to be safe. (Bug#8613)
13836
4f99f44b
GM
138372011-05-10 Glenn Morris <rgm@gnu.org>
13838
13839 * calendar/diary-lib.el (diary-list-entries-hook)
13840 (diary-mark-entries-hook, diary-nongregorian-listing-hook)
13841 (diary-nongregorian-marking-hook, diary-list-entries)
13842 (diary-include-other-diary-files, diary-mark-entries)
13843 (diary-mark-included-diary-files): Doc fixes.
13844
84f29e6b
JB
138452011-05-09 Juanma Barranquero <lekktu@gmail.com>
13846
13847 * misc.el: Require tabulated-list.el during compilation.
13848
9bedd73a
CY
138492011-05-09 Chong Yidong <cyd@stupidchicken.com>
13850
488086f4
SM
13851 * progmodes/compile.el (compilation-start):
13852 Run compilation-filter-hook for the async case too.
9bedd73a
CY
13853 (compilation-filter-hook): Doc fix.
13854
797c735c
DD
138552011-05-09 Deniz Dogan <deniz@dogan.se>
13856
13857 * wdired.el: Remove outdated installation comment. Fix usage
13858 comment.
13859
5f4b1dfe
JB
138602011-05-09 Juanma Barranquero <lekktu@gmail.com>
13861
13862 * misc.el: Implement new command `list-dynamic-libraries'.
13863 (list-dynamic-libraries--loaded-only-p): New variable.
13864 (list-dynamic-libraries--refresh): New function.
13865 (list-dynamic-libraries): New command.
13866
4c44026c
CY
138672011-05-09 Chong Yidong <cyd@stupidchicken.com>
13868
488086f4
SM
13869 * progmodes/compile.el (compilation-error-regexp-alist-alist):
13870 Fix the ant regexp to handle end-line and end-column info from jikes.
4c44026c
CY
13871 Re-introduce maven regexp. Give the ruby-Test::Unit regexp a
13872 higher priority to avoid clobbering by gnu.
13873
027f966d
CY
138742011-05-08 Chong Yidong <cyd@stupidchicken.com>
13875
13876 * cus-face.el (custom-declare-face): Call custom-theme-recalc-face
13877 if the face has existing theme settings (Bug#8454).
13878
085f5d7d
CY
138792011-05-08 Ralph Schleicher <rs@ralph-schleicher.de>
13880
488086f4
SM
13881 * progmodes/perl-mode.el (perl-imenu-generic-expression):
13882 Only match variables declared via `my' or `our' (Bug#8261).
085f5d7d 13883
2a86a00c
RS
13884 * net/browse-url.el (browse-url-of-dired-file): Allow browsing of
13885 special file names `.' and `..' (Bug#8259).
13886
d9c54a06
CY
138872011-05-08 Chong Yidong <cyd@stupidchicken.com>
13888
488086f4
SM
13889 * progmodes/grep.el (grep-mode-font-lock-keywords):
13890 Remove buffer-changing entries.
d9c54a06
CY
13891 (grep-filter): New function.
13892 (grep-mode): Add it to compilation-filter-hook.
13893
13894 * progmodes/compile.el (compilation-filter-hook)
13895 (compilation-filter-start): New defvars.
13896 (compilation-filter): Call compilation-filter-hook prior to
13897 updating the process mark.
13898
c4662635
SM
138992011-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
13900
13901 * emacs-lisp/eieio.el (defmethod): Fix typo in last change.
13902
b0512a1d
EZ
139032011-05-07 Eli Zaretskii <eliz@gnu.org>
13904
605c9376
EZ
13905 * mail/sendmail.el (send-mail-function): On MS-Windows, default to
13906 mailclient-send-it even if window-system is nil. (Bug#8595)
13907
c4662635
SM
13908 * term/w32console.el (terminal-init-w32console):
13909 Call get-screen-color and use its output to set the frame
b0512a1d
EZ
13910 background-mode. (Bug#8597)
13911
d1dc2cc2
SM
139122011-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
13913
13914 Make bytecomp.el understand that defmethod defines funs (bug#8631).
13915 * emacs-lisp/eieio.el (eieio--defalias, eieio--defgeneric-init-form):
13916 New functions.
13917 (defgeneric, eieio--defmethod): Use them.
13918 (eieio-defgeneric): Remove.
13919 (defmethod): Call defgeneric in a way visible to the byte-compiler.
13920
915d1300
GM
139212011-05-07 Glenn Morris <rgm@gnu.org>
13922
a3961c3e
GM
13923 * calendar/timeclock.el (timeclock-log-data): Remove unused local.
13924 Use let rather than let*.
13925 (timeclock-find-discrep): Remove unused local.
13926
314347b9
GM
13927 * calendar/diary-lib.el (diary-comment-start): Doc fix.
13928
915d1300
GM
13929 * calendar/appt.el (appt-time-msg-list): Doc fix.
13930
275b59b0
NF
139312011-05-06 Noah Friedman <friedman@splode.com>
13932
13933 * apropos.el (apropos-print-doc): Only use
13934 emacs-lisp-docstring-fill-column when it is bound to an integer,
13935 per that variable's documentation.
13936
6c19f744
SM
139372011-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
13938
13939 * lpr.el (print-region-1): Echo lpr-program's output, so error messages
d1dc2cc2 13940 and warnings are not silently discarded (e.g. use -d instead of -P).
6c19f744 13941
60f884b2
GM
139422011-05-06 Glenn Morris <rgm@gnu.org>
13943
5006e634
GM
13944 * calendar/appt.el (appt-message-warning-time): Doc fix.
13945 (appt-warning-time-regexp): New option.
13946 (appt-make-list): Respect appt-message-warning-time.
13947
548d0a63
GM
13948 * calendar/diary-lib.el (diary-comment-start, diary-comment-end):
13949 New options.
13950 (diary-add-to-list): Strip comments from the displayed string.
13951 (diary-mode): Set comment-start and comment-end.
13952
60f884b2
GM
13953 * vc/diff-mode.el (smerge-refine-subst): Declare.
13954 (diff-refine-hunk): Don't require smerge-mode when compiling.
13955
989681bb
JB
139562011-05-06 Juanma Barranquero <lekktu@gmail.com>
13957
13958 * simple.el (list-processes): Return nil as the docstring says.
13959
a6bc05e1
MA
139602011-05-05 Michael Albinus <michael.albinus@gmx.de>
13961
13962 * net/ange-ftp.el (ange-ftp-binary-file-name-regexp): Set default
13963 to "".
13964 (ange-ftp-write-region, ange-ftp-insert-file-contents)
13965 (ange-ftp-copy-file-internal): Use only `ange-ftp-binary-file' for
13966 determining of binary transfer. (Bug#7383)
13967
23c22e9a
MA
139682011-05-05 Michael Albinus <michael.albinus@gmx.de>
13969
c4662635
SM
13970 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
13971 Fix port computation bug. (Bug#8618)
23c22e9a 13972
0bff894f
GM
139732011-05-05 Glenn Morris <rgm@gnu.org>
13974
b8296902
GM
13975 * allout-widgets.el (allout-widgets-mode-inhibit): Declare before use.
13976
1f522ce8
GM
13977 * simple.el (shell-dynamic-complete-functions)
13978 (comint-dynamic-complete-functions): Declare.
13979
cf5bee67
GM
13980 * net/network-stream.el (gnutls-negotiate):
13981 * simple.el (tabulated-list-print): Fix declarations.
13982
13983 * progmodes/gud.el (syntax-symbol, syntax-point):
13984 Remove unnecessary and incorrect declarations.
13985
0bff894f
GM
13986 * emacs-lisp/check-declare.el (check-declare-scan):
13987 Handle byte-compile-initial-macro-environment in bytecomp.el
13988
9869b3ae
SM
139892011-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
13990
13991 Fix earlier half-done eieio-defmethod change (bug#8338).
13992 * emacs-lisp/eieio.el (eieio--defmethod): Rename from eieio-defmethod.
13993 Streamline and change calling convention.
13994 (defmethod): Adjust accordingly and simplify.
13995 (eieio-defclass): Fix broken calls to eieio-defmethod and redirect to
13996 new eieio--defmethod.
13997 (slot-boundp): Minor CSE simplification.
13998
9c1d5ac5
MZ
139992011-05-05 Milan Zamazal <pdm@zamazal.org>
14000
14001 * progmodes/glasses.el (glasses-separate-capital-groups): New option.
14002 (glasses-make-readable): Use glasses-separate-capital-groups.
14003
455c834e
JB
140042011-05-05 Juanma Barranquero <lekktu@gmail.com>
14005
14006 * emacs-lisp/warnings.el (warning-level-aliases): Reflow docstring.
14007 (warning-series): Doc fix.
14008 (display-warning): Don't try to create the buffer if we just found it.
14009
9ed7c8cb
CY
140102011-05-04 Chong Yidong <cyd@stupidchicken.com>
14011
14012 * emacs-lisp/autoload.el (generated-autoload-file): Set to nil.
14013 (autoload-find-generated-file): New function.
14014 (generate-file-autoloads): Bind generated-autoload-file to
14015 buffer-file-name.
9869b3ae
SM
14016 (update-file-autoloads, update-directory-autoloads):
14017 Use autoload-find-generated-file. If called interactively, prompt for
9ed7c8cb
CY
14018 output file (Bug#7989).
14019 (batch-update-autoloads): Doc fix.
14020
0898ca10
JB
140212011-05-04 Juanma Barranquero <lekktu@gmail.com>
14022
14023 * term/w32-win.el (dynamic-library-alist): Add `gnutls'.
14024
31dfb76c
GM
140252011-05-04 Glenn Morris <rgm@gnu.org>
14026
f330b642
GM
14027 * calendar/diary-lib.el (diary-fancy-date-pattern): Turn it into a
14028 function, so it follows changes in calendar-date-style.
14029 (diary-fancy-date-matcher): New function.
14030 (diary-fancy-font-lock-keywords): Use diary-fancy-date-matcher.
14031 (diary-fancy-font-lock-fontify-region-function):
14032 Use diary-fancy-date-pattern as a function.
14033
31dfb76c
GM
14034 * calendar/diary-lib.el (diary-fancy-date-pattern): Do not use
14035 non-numbers for `year' etc pseudo-variables. (Bug#8583)
14036
48e79d6a
TZ
140372011-05-04 Teodor Zlatanov <tzz@lifelogs.com>
14038
14039 * net/gnutls.el (gnutls-negotiate): Use CL-style keyword arguments
14040 instead of positional arguments. Allow :keylist and :crlfiles
14041 arguments.
14042 (open-gnutls-stream): Call it.
14043
14044 * net/network-stream.el (network-stream-open-starttls): Adjust to
14045 call `gnutls-negotiate' with :process and :hostname arguments.
14046
dd5a5ee0
SM
140472011-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
14048
ef80fc09
SM
14049 * minibuffer.el (completion--message): New function.
14050 (completion--do-completion, minibuffer-complete)
14051 (minibuffer-force-complete, minibuffer-complete-word): Use it.
14052 (completion--do-completion): Don't ignore completion-auto-help when in
14053 icomplete-mode.
14054
dd5a5ee0
SM
14055 * whitespace.el (whitespace-trailing-regexp): Don't rely on the
14056 internal encoding (e.g. tibetan zero is not whitespace).
14057 (global-whitespace-mode): Prefer save-current-buffer.
14058 (whitespace-trailing-regexp): Remove useless save-match-data.
14059 (whitespace-empty-at-bob-regexp): Minor simplification.
14060
b7d22a83
CY
140612011-05-03 Chong Yidong <cyd@stupidchicken.com>
14062
14063 * emacs-lisp/autoload.el (generated-autoload-file): Doc fix (Bug#7989).
14064
5192af46
AM
140652011-05-03 Agustín Martín Domingo <agustin.martin@hispalinux.es>
14066
14067 * textmodes/ispell.el (ispell-add-per-file-word-list):
cdc4a047 14068 Use `concat' to create string for insertion.
5192af46 14069
5767d190
SM
140702011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
14071
14072 * textmodes/bibtex.el (bibtex-fill-field-bounds, bibtex-fill-entry):
14073 Avoid open-line which runs post-self-insert-hook.
14074 (bibtex-fill-entry): Remove unused `end' var.
14075
bf242939
AM
140762011-05-03 Dirk Ullrich <dirk.ullrich@googlemail.com> (tiny change)
14077
5767d190
SM
14078 * textmodes/ispell.el (ispell-add-per-file-word-list):
14079 Protect against `nil' value of `comment-start' (Bug#8579).
bf242939 14080
25666126
LL
140812011-05-03 Leo Liu <sdl.web@gmail.com>
14082
14083 * isearch.el (isearch-yank-pop): New command.
5767d190 14084 (isearch-mode-map): Bind it to `M-y'.
25666126
LL
14085 (isearch-forward): Mention it.
14086
52d3c2d0
SM
140872011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
14088
1bcace58
SM
14089 * simple.el (minibuffer-complete-shell-command): Remove.
14090 (minibuffer-local-shell-command-map): Use completion-at-point.
14091 (read-shell-command): Setup completion vars here instead.
14092 (read-expression-map): Bind TAB to symbol completion.
14093
52d3c2d0
SM
14094 * textmodes/ispell.el (lookup-words): Use with-temp-buffer; signal
14095 error directly rather via storing it into `results'.
14096
35813471
LL
140972011-05-02 Leo Liu <sdl.web@gmail.com>
14098
14099 * vc/diff.el: Fix description.
14100
e793a940
LMI
141012011-05-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
14102
14103 * server.el (server-eval-at): New function.
14104
8de66e05
LMI
141052011-05-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
14106
14107 * net/network-stream.el (open-network-stream): Take a :nowait
14108 parameter and pass it on to `make-network-process'.
14109 (network-stream-open-plain): Ditto.
14110
dcb79f20
AS
141112011-04-30 Andreas Schwab <schwab@linux-m68k.org>
14112
14113 * faces.el (face-spec-set-match-display): Don't match toolkit
14114 options on terminal frames.
14115
14a7fbd8
SM
141162011-04-29 Stefan Monnier <monnier@iro.umontreal.ca>
14117
7eabc1be
SM
14118 * progmodes/pascal.el: Use lexical binding.
14119 (pascal-mode-map): Remove author preferences.
14120
14a7fbd8
SM
14121 * pcomplete.el (pcomplete-std-complete): Don't abuse
14122 completion-at-point.
14123
50f84510
JB
141242011-04-28 Juanma Barranquero <lekktu@gmail.com>
14125
6e087a44
JB
14126 * calc/calccomp.el (math-comp-to-string-flat-term): Simplify by
14127 removing code that has been dead since 1991 or so.
14128
50f84510
JB
14129 * startup.el (command-line): When warning about "_emacs", use a
14130 delayed warning to allow the user to filter it out.
14131
0ba690bd
DD
141322011-04-28 Deniz Dogan <deniz@dogan.se>
14133
14134 * net/rcirc.el (rcirc-handler-353): Fix bug for channels which the
14135 user has not joined.
14136
08abfaad
SM
141372011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
14138
14139 * pcomplete.el (pcomplete-completions-at-point): Return nil if there
14140 aren't any completions at point.
14141
638f053a
JB
141422011-04-28 Juanma Barranquero <lekktu@gmail.com>
14143
14144 * subr.el (display-delayed-warnings): New function.
14145 (delayed-warnings-hook): New variable.
14146
8fff8daa
SM
141472011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
14148
08abfaad
SM
14149 * minibuffer.el (completion-at-point, completion-help-at-point):
14150 Don't presume that a given completion-at-point-function will always
14151 use the same calling convention.
14152
8fff8daa
SM
14153 * pcomplete.el (pcomplete-completions-at-point):
14154 Obey pcomplete-ignore-case. Don't call pcomplete-norm-func unless
14155 pcomplete-seen is non-nil.
14156 (pcomplete-comint-setup): Also recognize the new comint/shell
14157 completion functions.
14158 (pcomplete-do-complete): Don't call pcomplete-norm-func unless
14159 pcomplete-seen is non-nil.
14160
841a1577 141612011-04-27 Niels Giesen <niels.giesen@gmail.com>
211ec907 14162
841a1577 14163 * calendar/icalendar.el (diary-lib): Add require statement.
211ec907 14164 (icalendar--create-uid): Read out a uid from a text-property on
841a1577 14165 the first character in the entry. This allows for code to add its
211ec907
UJ
14166 own uid to the entry.
14167 (icalendar--convert-float-to-ical): Add export of
14168 `diary-float'-entries save for those with the optional DAY
14169 argument.
14170
2a782793
DC
141712011-04-27 Daniel Colascione <dan.colascione@gmail.com>
14172
14173 * subr.el (shell-quote-argument): Use alternate escaping strategy
14174 when we spot a variable reference in a string.
14175
0438ce91
DC
141762011-04-26 Daniel Colascione <dan.colascione@gmail.com>
14177
14178 * cus-start.el (all): Define customization for debug-on-event.
14179
841a1577 141802011-04-26 Daniel Colascione <dan.colascione@gmail.com>
8f91bf93
DC
14181
14182 * subr.el (shell-quote-argument): Escape correctly under Windows.
14183
d090ed6c
SM
141842011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
14185
14186 * emulation/cua-base.el (cua-selection-mode): Make it toggle again.
14187
bfd31217
MA
141882011-04-25 Michael Albinus <michael.albinus@gmx.de>
14189
d090ed6c
SM
14190 * net/tramp.el (tramp-process-actions): Add POS argument.
14191 Delete region between POS and (pos).
bfd31217 14192
d090ed6c
SM
14193 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
14194 Use `nil' position in `tramp-process-actions' call.
bfd31217
MA
14195 (tramp-maybe-open-connection): Call `tramp-process-actions' with pos.
14196
14197 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Use `nil'
14198 position in `tramp-process-actions' call.
14199
14200 * net/trampver.el: Update release number.
14201
e92f3bd3
SM
142022011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
14203
850256b5
SM
14204 * custom.el (defcustom): Obey lexical-binding.
14205
e92f3bd3
SM
14206 Fix octave-inf completion problems reported by Alexander Klimov.
14207 * progmodes/octave-inf.el (inferior-octave-mode-syntax-table):
14208 Inherit from octave-mode-syntax-table.
14209 (inferior-octave-mode): Set info-lookup-mode.
14210 (inferior-octave-completion-at-point): New function.
14211 (inferior-octave-complete): Use it and completion-in-region.
14212 (inferior-octave-dynamic-complete-functions): Use it as well, and use
14213 comint-filename-completion.
14214 * progmodes/octave-mod.el (octave-mode-syntax-table): Use _ syntax for
14215 symbol elements which shouldn't be word elements.
14216 (octave-font-lock-keywords, octave-beginning-of-defun)
14217 (octave-function-header-regexp): Adjust regexps accordingly.
14218 (octave-mode-map): Also use info-lookup-symbol for C-c C-h.
14219
cd22b309
JB
142202011-04-25 Juanma Barranquero <lekktu@gmail.com>
14221
14222 * net/gnutls.el (gnutls-errorp): Declare before first use.
14223
8b492194
TZ
142242011-04-24 Teodor Zlatanov <tzz@lifelogs.com>
14225
14226 * net/gnutls.el (gnutls-negotiate): Add hostname, verify-flags,
14227 verify-error, and verify-hostname-error parameters. Check whether
cd22b309 14228 default trustfile exists before going to use it. Add missing
5a5fa834 14229 argument to gnutls-message-maybe call. Return value.
8b492194
TZ
14230 Reported by Claudio Bley <claudio.bley@gmail.com>.
14231 (open-gnutls-stream): Add usage example.
14232
14233 * net/network-stream.el (network-stream-open-starttls): Give host
14234 parameter to `gnutls-negotiate'.
14235 (gnutls-negotiate): Adjust `gnutls-negotiate' declaration.
8f91bf93 14236 * subr.el (shell-quote-argument): Escape correctly under Windows.
8b492194 14237
841a1577 142382011-04-24 Daniel Colascione <dan.colascione@gmail.com>
05842630 14239
cd22b309
JB
14240 * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
14241 Use correct match group (bug#8438).
05842630 14242
3ba7869c
CY
142432011-04-24 Chong Yidong <cyd@stupidchicken.com>
14244
512e3ae1
CY
14245 * emacs-lisp/package.el (package-built-in-p): Fix typo.
14246 (package-menu--generate): New arg specifying packages to show.
14247 (package-menu-refresh, package-menu-execute, list-packages):
14248 Callers changed.
14249 (package-show-package-list): New function, replacing deleted
14250 package--list-packages (renamed because it is non-internal).
14251
14252 * finder.el (finder-list-matches): Use package-show-package-list
14253 instead of deleted package--list-packages.
14254
e92f3bd3
SM
14255 * vc/vc-annotate.el (vc-annotate-goto-line): New command.
14256 Based on a previous implementation by Juanma Barranquero (Bug#8366).
3ba7869c
CY
14257 (vc-annotate-mode-map): Bind it to RET.
14258
7031be6d
UR
142592011-04-24 Uday S Reddy <u.s.reddy@cs.bham.ac.uk> (tiny change)
14260
14261 * progmodes/etags.el (next-file): Don't use set-buffer to change
14262 buffers (Bug#8478).
14263
4ef177aa
CY
142642011-04-24 Chong Yidong <cyd@stupidchicken.com>
14265
c8d173eb
CY
14266 * files.el (auto-mode-alist): Use js-mode for .json (Bug#8529).
14267
4ef177aa
CY
14268 * apropos.el (apropos-label-face): Avoid variable-pitch face.
14269 (apropos-accumulator): Doc fix.
14270 (apropos-function, apropos-macro, apropos-command)
14271 (apropos-variable, apropos-face, apropos-group, apropos-widget)
14272 (apropos-plist): Add face property.
14273 (apropos-symbols-internal): Fix indentation.
14274 (apropos-print): Simplify help, and recognize apropos-multi-type.
14275 (apropos-print-doc): Use button-type-get to extract the button's
14276 face property. Fill docstring (Bug#8352).
14277
4ffd0d6b 142782011-04-23 Juanma Barranquero <lekktu@gmail.com>
be71f810
JB
14279
14280 * buff-menu.el (Buffer-menu--buffers): Fix typo in docstring (bug#8535).
14281
c6c32125 14282 * play/mpuz.el (mpuz-silent): Doc fix.
4ffd0d6b 14283 (mpuz-mode-map): Use mapc.
c6c32125
JB
14284 (mpuz-put-number-on-board): Rename parameter L to COLUMNS.
14285 (mpuz-letter-to-digit, mpuz-check-all-solved, mpuz-create-buffer):
14286 Fix typos in docstrings.
14287
58d468b4
JB
14288 * play/doctor.el (doc$, doctor-$, doctor-read-print, doctor-read-token)
14289 (doctor-nounp, doctor-pronounp): Fix typos in docstrings.
14290
6470c3c6
JB
14291 * mouse-drag.el (mouse-drag-throw): Fix typo in docstring.
14292
4ffd0d6b 142932011-04-23 Chong Yidong <cyd@stupidchicken.com>
6f21a319
CY
14294
14295 * minibuffer.el (completion--do-completion): Avoid the "Next char
14296 not unique" prompt if icomplete-mode is enabled (Bug#5849).
14297
3ad8bad0
CY
14298 * mouse.el (mouse-drag-mode-line-1): Make sure that if we push
14299 mouse-2 into unread-command-events, it is interpreted correctly.
14300
71d73c9c 14301 * image-mode.el (image-type, image-mode-map, image-minor-mode-map)
6395aab9 14302 (image-toggle-display): Doc fix.
71d73c9c 14303
841a1577 143042011-04-23 Stephen Berman <stephen.berman@gmx.net>
e935c6a2 14305
4ffd0d6b
GM
14306 * textmodes/page.el (what-page): Use line-number-at-pos to
14307 calculate line number (Bug#6825).
6e1dbaa9 14308
c2fb1b60
JB
143092011-04-22 Juanma Barranquero <lekktu@gmail.com>
14310
14311 * eshell/esh-mode.el (find-tag-interactive): Declare function.
14312 (eshell-find-tag): Remove `with-no-warnings', unneeded now.
14313 Pass argument NO-DEFAULT to `find-tag-interactive'.
14314
e02f48d7
JB
143152011-04-22 Juanma Barranquero <lekktu@gmail.com>
14316
14317 Lexical-binding cleanup.
14318
14319 * progmodes/ada-mode.el (ada-after-change-function, ada-loose-case-word)
14320 (ada-no-auto-case, ada-capitalize-word, ada-untab, ada-narrow-to-defun):
14321 * progmodes/ada-prj.el (ada-prj-initialize-values)
14322 (ada-prj-display-page, ada-prj-field-modified, ada-prj-display-help)
14323 (ada-prj-show-value):
14324 * progmodes/ada-xref.el (ada-find-any-references, ada-gdb-application):
14325 * progmodes/antlr-mode.el (antlr-with-displaying-help-buffer)
14326 (antlr-invalidate-context-cache, antlr-options-menu-filter)
14327 (antlr-language-option-extra, antlr-c++-mode-extra, antlr-run-tool):
14328 * progmodes/bug-reference.el (bug-reference-push-button):
14329 * progmodes/fortran.el (fortran-line-length):
14330 * progmodes/glasses.el (glasses-change):
14331 * progmodes/octave-mod.el (octave-fill-paragraph):
14332 * progmodes/python.el (python-mode, python-pdbtrack-track-stack-file)
14333 (python-pdbtrack-grub-for-buffer, python-sentinel):
14334 * progmodes/sql.el (sql-save-connection):
14335 * progmodes/tcl.el (tcl-indent-command, tcl-popup-menu):
14336 * progmodes/xscheme.el (xscheme-enter-debugger-mode):
14337 Mark unused parameters.
14338
14339 * progmodes/compile.el (compilation--flush-directory-cache)
14340 (compilation--flush-parse, compile-internal): Mark unused parameters.
14341 (compilation-buffer-name): Rename parameter MODE-NAME to NAME-OF-MODE.
14342 (compilation-next-error-function): Remove unused variable `timestamp'.
14343
14344 * progmodes/cpp.el (cpp-parse-close): Remove unused variable `begin'.
14345 (cpp-signal-read-only, cpp-grow-overlay): Mark unused parameters.
14346
14347 * progmodes/dcl-mode.el (dcl-end-of-command):
14348 Remove unused variable `start'.
14349 (dcl-calc-command-indent-multiple, dcl-calc-cont-indent-relative)
14350 (dcl-option-value-basic, dcl-option-value-offset)
14351 (dcl-option-value-margin-offset, dcl-option-value-comment-line):
14352 Mark unused parameters.
14353 (dcl-save-local-variable): Remove unused variable `val'.
14354 (mode): Declare.
14355
14356 * progmodes/delphi.el (delphi-save-state, delphi-after-change):
14357 Mark unused parameters.
14358 (delphi-ignore-changes): Move before first use.
14359 (delphi-charset-token-at): Remove unused variable `start'.
14360 (delphi-else-start): Remove unused variable `if-count'.
14361 (delphi-comment-block-start, delphi-comment-block-end):
14362 Remove unused variable `kind'.
14363 (delphi-indent-line): Remove unused variable `new-point'.
14364
14365 * progmodes/ebrowse.el (ebrowse-files-list)
14366 (ebrowse-list-of-matching-members, ebrowse-tags-list-members-in-file):
14367 Mark unused parameters. Don't quote `lambda'.
14368 (ebrowse-sort-tree-list, ebrowse-same-tree-member-buffer-list):
14369 Don't quote `lambda'.
14370 (ebrowse-revert-tree-buffer-from-file, ebrowse-tags-choose-class)
14371 (ebrowse-goto-visible-member/all-member-lists): Mark unused parameters.
14372 (ebrowse-create-tree-buffer): Rename parameter OBARRAY to CLASSES.
14373 (ebrowse-toggle-mark-at-point): Remove unused variable `pnt'.
14374 Use `ignore-errors'.
14375 (ebrowse-frozen-tree-buffer-name, ebrowse-find-source-file)
14376 (ebrowse-view/find-file-and-search-pattern)
14377 (ebrowse-view/find-member-declaration/definition):
14378 Rename parameter TAGS-FILE-NAME to TAGS-FILE.
14379 (ebrowse-find-class-declaration, ebrowse-view-class-declaration):
14380 Rename parameter PREFIX-ARG to PREFIX.
14381 (ebrowse-tags-read-name): Remove unused variables `start' and
14382 `member-info'.
14383 (ebrowse-display-member-buffer): Rename variable `tags-file-name'
14384 to `tags-file'.
14385
14386 * progmodes/etags.el (local-find-tag-hook): Declare.
14387 (tag-partial-file-name-match-p, tag-any-match-p, list-tags):
14388 Mark unused parameters.
14389
14390 * progmodes/executable.el (compilation-error-regexp-alist): Declare.
14391 (executable-interpret): Mark unused parameter.
14392
14393 * progmodes/flymake.el (flymake-process-sentinel)
14394 (flymake-after-change-function)
14395 (flymake-create-temp-with-folder-structure)
14396 (flymake-get-include-dirs-dot): Mark unused parameters.
14397 (flymake-safe-delete-directory): Remove unused variable `err'.
14398
14399 * progmodes/gdb-mi.el (speedbar-change-initial-expansion-list)
14400 (speedbar-timer-fn, speedbar-line-text)
14401 (speedbar-change-expand-button-char, speedbar-delete-subblock)
14402 (speedbar-center-buffer-smartly): Declare functions.
14403 (gdb-find-watch-expression): Remove unused variable `array'.
14404 (gdb-edit-value, gdb-gdb, gdb-ignored-notification, gdb-thread-created)
14405 (gdb-starting): Mark unused parameters.
14406 (gud-gdbmi-marker-filter): Remove unused variable `output-record'.
14407 (gdb-table-string): Remove unused variable `res'.
14408 (gdb-place-breakpoints): Remove unused variables `flag' and `bptno'.
14409 (gdb-disassembly-handler-custom): Remove unused variable `pos'.
14410 (gdb-display-buffer): Remove unused variable `cur-size'.
14411
14412 * progmodes/gud.el (gud-def): Use `defalias' instead of `defun' to
14413 allow lexical-binding compilation.
14414 (gud-expansion-speedbar-buttons, gud-gdb-goto-stackframe)
14415 (gud-dbx-massage-args, gud-xdb-massage-args, gud-perldb-massage-args)
14416 (gud-jdb-massage-args, gud-jdb-find-source, gud-find-class):
14417 Mark unused parameters.
14418 (gud-gdb-marker-filter): Remove unused variable `match'.
14419 (gud-find-class): Bind `syntax-symbol' and `syntax-point' to suitable
14420 lambda expressions and funcall them, instead of using `fset'.
14421
14422 * progmodes/hideif.el (hif-parse-if-exp): Rename parameter
14423 HIF-TOKEN-LIST to TOKEN-LIST and let-bind `hif-token-list'.
14424
14425 * progmodes/hideshow.el (hs-hide-block-at-point): Remove unused
14426 variable `header-beg'; use `let'.
14427
14428 * progmodes/icon.el (indent-icon-exp): Remove unused variables
14429 `restart', `last-sexp' and `at-do'.
14430
14431 * progmodes/js.el (js--debug): Mark unused parameter.
14432 (js--parse-state-at-point): Remove unused variable `bound'; use `let'.
14433 (js--splice-into-items): Remove unused variable `item'.
14434 (js--read-symbol, js--read-tab): Pass 1/-1 to `ido-mode', not t/nil.
14435
14436 * progmodes/make-mode.el (makefile-make-font-lock-keywords):
14437 Rename parameter FONT-LOCK-KEYWORDS to FL-KEYWORDS.
14438 (makefile-complete): Remove unused variable `try'.
14439 (makefile-fill-paragraph, makefile-match-function-end):
14440 Mark unused parameters.
14441
14442 * progmodes/octave-inf.el (inferior-octave-complete):
14443 Remove unused variable `proc'.
14444 (inferior-octave-output-digest): Mark unused parameter.
14445
14446 * progmodes/perl-mode.el (perl-calculate-indent):
14447 Remove unused variable `err'.
14448
14449 * progmodes/prolog.el (prolog-mode-keybindings-inferior)
14450 (prolog-indent-line): Mark unused parameters.
14451 (prolog-indent-line): Remove unused variable `beg'.
14452
14453 * progmodes/ps-mode.el (reporter-prompt-for-summary-p)
14454 (reporter-dont-compact-list): Declare.
14455
14456 * progmodes/sh-script.el (sh-font-lock-quoted-subshell):
14457 Remove unused variable `char'.
14458 (sh-debug): Mark unused parameter.
14459 (sh-get-indent-info): Remove unused variable `start'.
14460 (sh-calculate-indent): Remove unused variable `var'.
14461
14462 * progmodes/simula.el (simula-popup-menu): Mark unused parameter.
14463 (simula-electric-keyword): Remove unused variable `null'.
14464 (simula-search-backward, simula-search-forward): Remove unused
14465 variables `begin' and `end'.
14466
14467 * progmodes/vera-mode.el (vera-guess-basic-syntax):
14468 Remove unused variable `pos'.
14469 (vera-electric-tab, vera-comment-uncomment-region):
14470 Mark unused parameters.
14471 (vera-electric-tab): Rename parameter PREFIX-ARG to PREFIX.
14472
7ede3b65
CY
144732011-04-22 Chong Yidong <cyd@stupidchicken.com>
14474
14475 * emacs-lisp/package.el (package--builtins, package-alist)
14476 (package-load-descriptor, package-built-in-p, package-activate)
14477 (define-package, package-installed-p)
14478 (package-compute-transaction, package-buffer-info)
14479 (package--push): Doc fix. Distinguish more clearly between
14480 version strings and version lists.
14481
121656e9
JB
144822011-04-21 Juanma Barranquero <lekktu@gmail.com>
14483
14484 Lexical-binding cleanup.
14485
14486 * play/5x5.el (5x5-make-random-solution, 5x5-make-mutate-current)
14487 (5x5-make-mutate-best):
14488 * play/fortune.el (fortune-in-buffer):
14489 * play/gomoku.el (gomoku-init-display):
14490 * play/solitaire.el (solitaire, solitaire-do-check):
14491 * play/tetris.el (tetris-default-update-speed-function):
14492 Mark unused parameters.
14493
14494 * play/bubbles.el (bubbles-mode): Set `show-trailing-whitespace'.
14495 (bubbles--shift): Remove unused variable `char-org'.
14496 (bubbles--set-faces): Remove unused variable `fg-col'. Simplify.
14497 (bubbles--show-images): Remove unused variable `char'.
14498
14499 * play/decipher.el (decipher-keypress, decipher-alphabet-keypress)
14500 (decipher-get-undo, decipher-set-map, decipher-complete-alphabet)
14501 (decipher-resync, decipher-loop-with-breaks, decipher--analyze)
14502 (decipher-analyze-buffer): Use ?\s.
14503 (decipher-make-checkpoint): Remove unused variable `mapping'.
14504
14505 * play/doctor.el (doctor-doc): Rename parameter DOCTOR-SENT to SENT.
14506
14507 * play/gamegrid.el (gamegrid-add-score-with-update-game-score):
14508 Remove unused variable `result'; use `let'.
14509
14510 * play/gametree.el (gametree-current-layout, gametree-apply-layout):
14511 Rename parameter TOP-LEVEL to FROM-TOP-LEVEL; use `ignore-errors'.
14512 (gametree-children-shown-p, gametree-compute-reduced-score):
14513 Use `ignore-errors'.
14514
14515 * play/handwrite.el (ps-lpr-switches): Declare.
14516 (handwrite): Remove unused variables `pmin' and `lastp'.
14517
14518 * play/hanoi.el (hanoi-move-ring): Remove unused variable `total-steps'.
14519
14520 * play/landmark.el (landmark-init-display)
14521 (landmark-update-naught-weights): Mark unused parameters.
14522 (landmark-y): Remove unused variable `noise'. Simplify.
14523 (landmark-human-plays): Remove unused variable `score'.
14524
14525 * play/mpuz.el (mpuz-try-letter): Remove unused variable `message'.
14526 (mpuz-try-proposal): Remove unused variable `game'.
14527
14528 * play/zone.el (life-patterns): Declare.
14529
80f499c7
JB
145302011-04-20 Juanma Barranquero <lekktu@gmail.com>
14531
14532 * vc/vc.el (ediff-vc-internal): Declare function.
14533
024ff170
SM
145342011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
14535
c0a193ea
SM
14536 * shell.el: Use lexical-binding and std completion UI.
14537 (shell-filter-ctrl-a-ctrl-b): Work as a preoutput filter.
14538 (shell-mode): Put shell-filter-ctrl-a-ctrl-b on
14539 comint-preoutput-filter-functions rather than on
14540 comint-output-filter-functions.
14541 (shell-command-completion, shell--command-completion-data)
14542 (shell-filename-completion, shell-environment-variable-completion)
14543 (shell-c-a-p-replace-by-expanded-directory): New functions.
14544 (shell-dynamic-complete-functions, shell-dynamic-complete-command)
14545 (shell-dynamic-complete-filename, shell-replace-by-expanded-directory)
14546 (shell-dynamic-complete-environment-variable): Use them.
14547 (shell-dynamic-complete-as-environment-variable)
14548 (shell-dynamic-complete-as-command): Remove.
14549 (shell-match-partial-variable): Match past point.
14550 * comint.el: Clean up use of completion-at-point-functions.
14551 (comint-completion-at-point): New function.
14552 (comint-mode): Use it completion-at-point-functions.
14553 (comint-dynamic-complete): Make it obsolete.
14554 (comint-replace-by-expanded-history-before-point): Add dry-run arg.
14555 (comint-c-a-p-replace-by-expanded-history): New function.
14556 (comint-dynamic-complete-functions)
14557 (comint-replace-by-expanded-history): Use it.
14558 * minibuffer.el (completion-table-with-terminator): Allow dynamic
14559 termination strings. Try harder to avoid second try-completion.
14560 (completion-in-region-mode-map): Disable bindings that don't work yet.
14561
2dbaa080
SM
14562 * comint.el: Use lexical-binding. Require CL.
14563 (comint-dynamic-complete-functions): Use comint-filename-completion.
14564 (comint-completion-addsuffix): Tweak custom type.
14565 (comint-filename-completion, comint--common-suffix)
14566 (comint--common-quoted-suffix, comint--table-subvert)
14567 (comint--complete-file-name-data): New functions.
14568 (comint-dynamic-complete-as-filename, comint-dynamic-complete-filename)
14569 (comint-dynamic-list-filename-completions): Use them.
14570 (comint-dynamic-simple-complete): Make obsolete.
c0a193ea 14571
2dbaa080
SM
14572 * minibuffer.el (completion-in-region-mode):
14573 Keep completion-in-region-mode--predicate global.
14574 (completion-in-region--postch):
14575 Assume completion-in-region-mode--predicate is not null.
14576
c79a6f38
SM
14577 * progmodes/flymake.el (flymake-start-syntax-check-process):
14578 Obey `dir'. Simplify.
14579
024ff170
SM
14580 * vc/vc.el (vc-version-ediff): Call ediff-vc-internal directly, since
14581 we're in VC after all.
14582
1c6c854e
CS
145832011-04-20 Christoph Scholtes <cschol2112@googlemail.com>
14584
14585 * vc/vc.el (vc-diff-build-argument-list-internal)
024ff170 14586 (vc-version-ediff, vc-ediff): New commands.
1c6c854e
CS
14587 (vc-version-diff): Use vc-diff-build-argument-list-internal.
14588
bed7f140
SM
145892011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
14590
332e62ab
SM
14591 * emacs-lisp/byte-opt.el (byte-decompile-bytecode-1): Remove dead code,
14592 add sanity check.
14593
bed7f140
SM
14594 * obsolete/erc-hecomplete.el: Make obsolete.
14595 * obsolete/: Standardize obsolescence info in the header.
14596
f195c582
GM
145972011-04-20 Glenn Morris <rgm@gnu.org>
14598
14599 * calendar/solar.el (solar-horizontal-coordinates):
14600 Use the longitude argument rather than `calendar-longitude'.
14601 (solar-date-next-longitude): Remove unused locals.
14602
cb79b8c0
VJL
146032011-04-20 Vinicius Jose Latorre <viniciusjl@ig.com.br>
14604
14605 * whitespace.el: New version 13.2.1.
14606
146072011-04-20 felix <EmacsWiki> (tiny change)
14608
d8e4b68b 14609 * whitespace.el (global-whitespace-mode): Keep highlight when
cb79b8c0
VJL
14610 switching between major modes on a file.
14611
602ea69d
SM
146122011-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
14613
14614 * progmodes/octave-mod.el (octave-in-comment-p, octave-in-string-p)
14615 (octave-not-in-string-or-comment-p): Use syntax-ppss so it works with
14616 multi-line comments as well.
14617
06b60517
JB
146182011-04-19 Juanma Barranquero <lekktu@gmail.com>
14619
14620 Lexical-binding cleanup.
14621
14622 * arc-mode.el (archive-mode-revert):
14623 * cmuscheme.el (scheme-interactively-start-process):
14624 * custom.el (custom-initialize-delay):
14625 * dnd.el (dnd-open-local-file, dnd-open-remote-url):
14626 * dos-w32.el (direct-print-region-helper, direct-print-region-function):
14627 * emacs-lock.el (emacs-lock-clear-sentinel):
14628 * ezimage.el (defezimage):
14629 * follow.el (follow-avoid-tail-recenter):
14630 * fringe.el (set-fringe-mode-1):
14631 * generic-x.el (bat-generic-mode-compile):
14632 * help-mode.el (help-info-variable, help-do-xref)
14633 (help-mode-revert-buffer):
14634 * help.el (view-emacs-todo):
14635 * iswitchb.el (iswitchb-completion-help):
14636 * jka-compr.el (jka-compr-make-temp-name, jka-compr-load):
14637 * kmacro.el (kmacro-cycle-ring-next, kmacro-cycle-ring-previous)
14638 (kmacro-delete-ring-head, kmacro-bind-to-key, kmacro-view-macro):
14639 * locate.el (locate-update):
14640 * longlines.el (longlines-encode-region)
14641 (longlines-after-change-function):
14642 * outline.el (outline-isearch-open-invisible):
14643 * ps-def.el (declare-function, charset-dimension, char-width)
14644 (encode-char):
14645 * ps-mule.el (ps-mule-plot-string):
14646 * recentf.el (recentf-make-menu-items, recentf-cancel-dialog)
14647 (recentf-edit-list-select, recentf-edit-list-validate)
14648 (recentf-open-files-action):
14649 * rect.el (delete-whitespace-rectangle-line)
14650 (rectangle-number-line-callback):
14651 * register.el (window-configuration-to-register)
14652 (frame-configuration-to-register):
14653 * scroll-bar.el (scroll-bar-mode, toggle-horizontal-scroll-bar):
14654 * select.el (xselect-convert-to-string, xselect-convert-to-length)
14655 (xselect-convert-to-targets, xselect-convert-to-delete)
14656 (xselect-convert-to-filename, xselect-convert-to-charpos)
14657 (xselect-convert-to-lineno, xselect-convert-to-colno)
14658 (xselect-convert-to-os, xselect-convert-to-host)
14659 (xselect-convert-to-user, xselect-convert-to-class)
14660 (xselect-convert-to-name, xselect-convert-to-integer)
14661 (xselect-convert-to-atom, xselect-convert-to-identity):
14662 * subr.el (declare, ignore, process-kill-without-query)
14663 (text-clone-maintain):
14664 * terminal.el (te-get-char, te-tic-sentinel):
14665 * tool-bar.el (tool-bar-make-keymap):
14666 * tooltip.el (tooltip-timeout, tooltip-hide, tooltip-help-tips):
14667 * type-break.el (type-break-mode, type-break-noninteractive-query):
14668 * view.el (View-back-to-mark):
14669 * wid-browse.el (widget-browse-action, widget-browse-widget)
14670 (widget-browse-widgets, widget-browse-sexp):
14671 * widget.el (define-widget-keywords):
14672 * xt-mouse.el (xterm-mouse-translate, turn-off-xterm-mouse-tracking):
14673 Mark unused parameters.
14674
14675 * align.el (align-adjust-col-for-rule): Mark unused parameter.
14676 (align-areas): Remove unused variable `look'.
14677 (align-region): Remove unused variables `real-end' and `pos-list'.
14678
14679 * apropos.el (apropos-score-doc): Remove unused variable `i'.
14680
14681 * bindings.el (mode-line-modified, mode-line-remote):
14682 Mark unused parameters.
14683 (mode-line-mule-info): Mark unused parameter; don't quote `lambda'.
14684
14685 * buff-menu.el (Buffer-menu-revert-function): Mark unused parameters.
14686 (Buffer-menu-mode): Mark unused parameter; don't quote `lambda'.
14687
14688 * comint.el (comint-history-isearch-pop-state)
14689 (comint-postoutput-scroll-to-bottom, comint-truncate-buffer)
14690 (comint-strip-ctrl-m, comint-read-noecho): Mark unused parameters.
14691 (comint-substitute-in-file-name): Doc fix.
14692
14693 * completion.el (cmpl-statistics-block): Mark unused parameter.
14694 (add-completions-from-tags-table, add-completions-from-lisp-buffer)
14695 (save-completions-to-file, load-completions-from-file):
14696 Remove unused local variable `e'.
14697
14698 * composite.el (compose-chars): Remove unused variable `len'.
14699 (lgstring-insert-glyph): Remove unused variable `g'.
14700 (compose-glyph-string): Remove unused variables `ascent',
14701 `descent', `lbearing' and `rbearing'.
14702 (compose-glyph-string-relative): Remove unused variables
14703 `lbearing', `rbearing' and `wadjust'.
14704 (compose-gstring-for-graphic): Remove unused variables `header',
14705 `wadjust', `xoff' and `yoff'. Use `let', not `let*'.
14706 (compose-gstring-for-terminal): Remove unused variables `header'
14707 and `nchars'. Use `let', not `let*'.
14708
14709 * cus-edit.el (Custom-set, Custom-save, custom-reset)
14710 (Custom-reset-current, Custom-reset-saved, Custom-reset-standard)
14711 (Custom-buffer-done, custom-buffer-create-internal)
14712 (custom-browse-visibility-action, custom-browse-group-tag-action)
14713 (custom-browse-variable-tag-action, custom-browse-face-tag-action)
14714 (widget-magic-mouse-down-action, custom-toggle-parent)
14715 (custom-add-parent-links, custom-toggle-hide-variable)
14716 (custom-face-edit-value-visibility-action, custom-face-edit-fix-value)
14717 (custom-toggle-hide-face, face, hook, custom-group-link-action)
14718 (custom-face-menu-create, custom-variable-menu-create, get)
14719 (custom-group-menu-create, Custom-no-edit): Mark unused parameters.
14720 (custom-reset-standard-save-and-update): Remove unused variable `value'.
14721 (customize-apropos): Remove unused variable `tests'.
14722 (custom-group-value-create): Remove unused variable `hidden-p'.
14723 (sort-fold-case): Declare.
14724
14725 * cus-theme.el (custom-reset-standard-faces-list)
14726 (custom-reset-standard-variables-list): Declare.
14727 (customize-create-theme, custom-theme-revert, custom-theme-write)
14728 (custom-theme-choose-mode, customize-themes, custom-theme-save):
14729 Mark unused parameters.
14730
14731 * dabbrev.el (dabbrev-completion): Remove unused variable `init'.
14732
14733 * delim-col.el (delimit-columns-max): Move defvar before first use.
14734
14735 * descr-text.el (describe-char-categories): Don't quote `lambda'.
bd0d2ee2 14736 (describe-char): Don't quote `lambda'. Mark unused parameter.
06b60517
JB
14737
14738 * desktop.el (desktop-save-buffer-p): Mark unused parameter.
14739 (auto-insert): Declare.
14740 (desktop-restore-file-buffer): Rename desktop-* parameters;
14741 mark unused ones.
14742 (desktop-create-buffer): Rename desktop-* parameters and bind them.
14743 (desktop-buffer): Rename desktop-* parameters.
14744
14745 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
14746 (dframe-reposition-frame-xemacs, dframe-help-echo)
14747 (dframe-hack-buffer-menu, dframe-set-timer, dframe-set-timer-internal):
14748 Mark unused parameters.
14749
14750 * dired-aux.el (backup-extract-version-start, overwrite-query)
14751 (overwrite-backup-query, rename-regexp-query)
14752 (rename-non-directory-query): Declare.
14753 (dired-shell-stuff-it, dired-do-create-files): Mark unused parameters.
14754 (dired-add-entry): Remove unused variable `orig-file-name'.
14755 (dired-copy-file-recursive): Remove unused variable `dirfailed'.
14756 Use parameter PRESERVE-TIME instead of accessing dynamic variable
14757 `dired-copy-preserve-time' directly.
14758 (dired-do-create-files-regexp): Remove unused variable `fn-count'.
14759 (dired-insert-subdir-newpos): Rename unused variable `pos'.
14760
14761 * dired-x.el (dired-omit-size-limit): Move defcustom before first use.
14762 (dired-virtual-revert, dired-make-relative-symlink):
14763 Mark unused parameters.
14764 (manual-program): Declare.
14765 (dired-x-hands-off-my-keys): Rename parameters of lambda expression.
14766 (inode, s, mode, nlink, uid, gid, size, time, name, sym): Declare them,
14767 wrapped in `with-no-warnings' to avoid replacing one warning by another.
14768
14769 * dirtrack.el (dirtrack): Remove unused variable `multi-line'.
14770
14771 * dos-fns.el (dos-8+3-filename): Remove unused variable `i'.
14772
14773 * echistory.el (electric-history-in-progress, Helper-return-blurb):
14774 Declare.
14775
14776 * edmacro.el (edmacro-finish-edit): Remove unused variable `kmacro'.
14777
14778 * electric.el (Electric-command-loop): Rename parameter
14779 INHIBIT-QUIT to INHIBIT-QUITTING and bind `inhibit-quit'.
14780
14781 * expand.el (expand-in-literal): Remove unused variable `here'.
14782
14783 * facemenu.el (facemenu-add-new-color):
14784 Remove unused variable `docstring'.
14785
14786 * faces.el (face-id, make-face-bold, make-face-unbold, make-face-italic)
14787 (make-face-unitalic, make-face-bold-italic): Mark unused parameters.
14788 (face-attr-construct): Mark unused parameter. Doc fix.
14789 (read-color): Remove unused variable `hex-string'.
14790
14791 * files.el (parse-colon-path): Rename argument CD-PATH to SEARCH-PATH.
14792 (locate-dominating-file): Remove unused vars `prev-file' and `user'.
14793 (remote-file-name-inhibit-cache, revert-buffer): Clean up docstrings.
14794 (display-buffer-other-frame): Remove unused variable `old-window'.
14795 (kill-buffer-hook): Declare.
14796 (insert-file-contents-literally, set-auto-mode, risky-local-variable-p):
14797 Mark unused parameters.
14798 (after-find-file): Pass 1 to `auto-save-mode', not t.
14799
14800 * files-x.el (auto-insert): Declare.
14801 (modify-file-local-variable-prop-line): Remove unused variable `val'.
14802
14803 * find-lisp.el (find-lisp-find-dired-internal): Remove unused
bd0d2ee2 14804 variable `buf'. Mark unused parameter.
06b60517
JB
14805 (find-lisp-insert-directory): Mark unused parameter.
14806
14807 * format.el (format-decode-run-method): Mark unused parameter; doc fix.
14808 (format-encode-region): Remove unused variables `cur-buf' and `result'.
14809 (format-common-tail): Remove, unused.
14810 (format-deannotate-region): Remove unused variable `loc'.
14811 (format-annotate-region): Remove unused variable `p'.
14812 (format-annotate-single-property-change): Remove unused variables
14813 `default' and `tail'.
14814
14815 * forms.el (read-file-filter): Declare.
14816 (forms--iif-hook, forms--revert-buffer): Mark unused parameters.
14817
14818 * frame.el (frame-creation-function-alist): Mark unused parameter.
14819 (frame-geom-spec-cons): Pass FRAME to `frame-geom-value-cons'.
14820
14821 * hilit-chg.el (hilit-chg-cust-fix-changes-face-list, hilit-chg-clear):
14822 Remove unused parameters.
14823 (hilit-chg-set-face-on-change): Remove unused variable `beg-decr'.
14824 (highlight-compare-with-file): Remove unused variable `buf-b-read-only'.
14825
14826 * htmlfontify.el (hfy-default-footer, hfy-decor, hfy-invisible)
14827 (hfy-parse-tags-buffer, hfy-prepare-index-i, hfy-prepare-index)
14828 (hfy-prepare-tag-map): Mark unused parameters.
14829 (htmlfontify-buffer): Use `called-interactively-p'.
14830
14831 * ibuf-ext.el (ibuffer-do-kill-lines, ibuffer-jump-to-buffer)
14832 (ibuffer-copy-filename-as-kill, ibuffer-mark-on-buffer)
14833 (ibuffer-do-occur): Mark unused parameters.
14834 (ibuffer-forward-next-marked): Remove unused variable `curmark'.
14835 (ibuffer-diff-buffer-with-file-1): Remove unused variable `proc'.
14836
14837 * ibuffer.el: Don't quote `lambda'.
14838 (ibuffer-count-marked-lines, ibuffer-count-deletion-lines)
14839 (ibuffer-unmark-all, ibuffer-toggle-marks, ibuffer-redisplay-engine):
14840 Mark unused parameters.
14841
14842 * ido.el (ido-mode, ido-wide-find-dir-or-delete-dir)
14843 (ido-completing-read): Mark unused parameters.
14844 (ido-copy-current-word): Mark unused parameters;
14845 remove unused variable `name'.
14846 (ido-sort-merged-list): Remove unused parameter `dirs'.
14847
14848 * ielm.el (ielm-input-sender): Mark unused parameter.
14849 (ielm-string, ielm-form, ielm-pos, ielm-result, ielm-error-type)
14850 (ielm-output, ielm-wbuf, ielm-pmark): Declare.
14851 (ielm-eval-input): Rename argument IELM-STRING to INPUT-STRING to keep
14852 `ielm-string' as a dynamic variable accessible from the IELM prompt.
14853 Bind `ielm-string' to INPUT-STRING. Remove unused variable `err'.
14854
14855 * image-dired.el (image-dired-display-thumbs): Remove unused
14856 variables `curr-file' and `count'.
14857 (image-dired-remove-tag): Remove unused variable `start'.
14858 (image-dired-tag-files, image-dired-create-thumbs): Remove unused
14859 variable `curr-file'
14860 (image-dired-rotate-original): Remove unused variable `temp-file'.
14861 (image-dired-mouse-select-thumbnail, image-dired-mouse-toggle-mark):
14862 Remove unused variable `file'.
14863 (image-dired-gallery-generate): Remove unused variable `curr'.
14864 (image-dired-dired-edit-comment-and-tags): Mark unused parameters.
14865
14866 * indent.el (tab-to-tab-stop): Remove unused variable `opoint'.
14867
14868 * info-xref.el (info-xref-goto-node-p): Remove unused variable `err'.
14869
14870 * informat.el (texinfo-command-start, texinfo-command-end): Declare.
14871
14872 * isearch.el (minibuffer-history-symbol): Declare.
14873 (isearch-edit-string): Remove unused variable `err'.
14874 (isearch-message-prefix, isearch-message-suffix):
14875 Mark unused parameters.
14876
14877 * ls-lisp.el (ls-lisp-insert-directory): Remove unused variable `fil'.
14878
14879 * macros.el (insert-kbd-macro): Remove unused variable `mods'.
14880
14881 * makesum.el (double-column): Remove unused variable `cnt'.
14882
14883 * misearch.el (multi-isearch-pop-state): Mark unused parameter.
14884 (ido-ignore-item-temp-list): Declare.
14885
14886 * mouse-drag.el (mouse-drag-throw): Remove unused variables
14887 `mouse-delta', `window-last-row', `mouse-col-delta', `window-last-col',
14888 `adjusted-mouse-col-delta' and `adjusted-mouse-delta'.
14889 (mouse-drag-drag): Remove unused variables `mouse-delta' and
14890 `mouse-col-delta'.
14891
14892 * mouse-sel.el (mouse-extend-internal):
14893 Remove unused variable `orig-window-frame'.
14894
14895 * pcomplete.el (pcomplete-args, pcomplete-begins, pcomplete-last)
14896 (pcomplete-index, pcomplete-stub, pcomplete-seen, pcomplete-norm-func):
14897 Move declarations before first use.
14898 (pcomplete-opt): Mark unused parameters; doc fix.
14899
14900 * proced.el (proced-revert): Mark unused parameter.
14901 (proced-send-signal): Remove unused variable `err'.
14902
14903 * ps-print.el (ps-print-preprint-region, ps-print-preprint):
14904 Rename parameter PREFIX-ARG to ARG.
14905 (ps-basic-plot-string, ps-basic-plot-whitespace):
14906 Mark unused parameters.
14907
14908 * replace.el (replace-count): Define.
14909 (occur-revert-function): Mark unused parameters.
14910 (ido-ignore-item-temp-list, isearch-error, isearch-forward)
14911 (isearch-case-fold-search, isearch-string): Declare.
14912 (occur-engine): Rename parameter CASE-FOLD-SEARCH to CASE-FOLD and
14913 bind `case-fold-search'. Remove unused variables `beg' and `end',
14914 and simplify.
14915 (replace-eval-replacement): Rename parameter REPLACE-COUNT to
14916 COUNT and bind `replace-count'.
14917 (replace-loop-through-replacements): Rename parameter REPLACE-COUNT
14918 to COUNT.
14919
14920 * savehist.el (print-readably, print-string-length): Declare.
14921
14922 * shadowfile.el (shadow-expand-cluster-in-file-name):
14923 Remove unused variable `cluster'.
14924 (shadow-copy-file): Remove unused variable `i'.
14925 (shadow-noquery, shadow-clusters, shadow-site-cluster)
14926 (shadow-parse-fullname, shadow-parse-name, shadow-define-cluster)
14927 (shadow-define-literal-group, shadow-define-regexp-group)
14928 (shadow-make-group, shadow-shadows-of): Clean up docstrings.
14929
14930 * shell.el (shell-filter-ctrl-a-ctrl-b): Mark unused parameter.
14931 (shell): Use `called-interactively-p'.
14932 (shell-directory-tracker): Remove unused variable `chdir-failure'.
14933
14934 * simple.el (compilation-context-lines, comint-file-name-quote-list)
14935 (comint-file-name-chars, comint-delimiter-argument-list): Declare.
14936 (delete-backward-char): Remove unused variable `ocol'.
14937 (minibuffer-avoid-prompt, minibuffer-history-isearch-pop-state)
14938 (line-move-1, event-apply-alt-modifier, event-apply-super-modifier)
14939 (event-apply-hyper-modifier, event-apply-shift-modifier)
14940 (event-apply-control-modifier, event-apply-meta-modifier):
14941 Mark unused parameters.
14942 (undo-make-selective-list): Remove duplicate variable `undo-elt'.
14943 (normal-erase-is-backspace-mode): Remove unused variable `old-state'.
14944
14945 * speedbar.el (speedbar-ignored-directory-expressions)
14946 (speedbar-supported-extension-expressions, speedbar-directory-buttons)
14947 (speedbar-find-file, speedbar-dir-follow)
14948 (speedbar-directory-buttons-follow, speedbar-tag-find)
14949 (speedbar-buffer-buttons, speedbar-buffer-buttons-temp)
14950 (speedbar-buffers-line-directory, speedbar-buffer-click):
14951 Mark unused parameters.
14952 (speedbar-tag-file): Remove unused variable `mode'.
14953 (speedbar-buffers-tail-notes): Remove unused variable `mod'; simplify.
14954
14955 * strokes.el (strokes-decode-buffer): Remove unused variable `ext'.
14956
14957 * talk.el (talk): Remove unused variable `display'.
14958
14959 * tar-mode.el (tar-subfile-save-buffer): Remove unused variable `name'.
14960 (tar-write-region-annotate): Mark unused parameter.
14961
14962 * time.el (now, time, load, mail, 24-hours, hour, 12-hours, am-pm)
14963 (minutes, seconds, time-zone, day, year, monthname, month, dayname):
14964 Declare them, wrapped in `with-no-warnings' to avoid replacing one
14965 warning by another.
14966
14967 * time-stamp.el (time-stamp-string-preprocess):
14968 Remove unused variable `require-padding'.
14969
14970 * tree-widget.el (widget-glyph-enable): Declare.
14971 (tree-widget-action): Mark unused parameter.
14972
14973 * w32-fns.el (x-get-selection): Mark unused parameter.
14974 (autoload-make-program, generated-autoload-file): Declare.
14975
14976 * wdired.el (wdired-revert): Mark unused parameters.
14977 (wdired-xcase-word): Remove unused variable `err'.
14978
14979 * whitespace.el (whitespace-buffer-changed): Mark unused parameters.
14980 (whitespace-help-scroll): Remove unused variable `data-help'.
14981
14982 * wid-edit.el (widget-mouse-help, widget-overlay-inactive)
14983 (widget-image-insert, widget-after-change, default)
14984 (widget-default-format-handler, widget-default-notify)
14985 (widget-default-prompt-value, widget-info-link-action)
14986 (widget-url-link-action, widget-function-link-action)
14987 (widget-variable-link-action, widget-file-link-action)
14988 (widget-emacs-library-link-action, widget-emacs-commentary-link-action)
14989 (widget-field-prompt-internal, widget-field-action, widget-field-match)
14990 (widget-choice-mouse-down-action, toggle, widget-radio-button-notify)
14991 (widget-insert-button-action, widget-delete-button-action, visibility)
14992 (widget-documentation-link-action, widget-documentation-string-action)
14993 (widget-const-prompt-value, widget-regexp-match, symbol)
14994 (widget-coding-system-prompt-value)
14995 (widget-key-sequence-value-to-external, sexp)
14996 (widget-sexp-value-to-internal, character, vector, cons)
14997 (widget-choice-prompt-value, widget-boolean-prompt-value)
14998 (widget-color--choose-action): Mark unused parameters.
14999 (widget-item-match-inline, widget-choice-match-inline)
15000 (widget-checklist-match, widget-checklist-match-inline)
15001 (widget-group-match): Rename parameter VALUES to VALS.
15002 (widget-field-value-set): Remove unused variable `size'.
15003 (widget-color-action): Remove unused variables `value' and `start'.
15004
15005 * windmove.el (windmove-wrap-loc-for-movement): Remove unused
bd0d2ee2 15006 variable `dir'. Doc fix.
06b60517
JB
15007 (windmove-find-other-window): Don't pass it.
15008
15009 * window.el (count-windows): Mark unused parameter.
15010 (bw-adjust-window): Remove unused variable `err'.
15011
15012 * woman.el (woman-file-name): Remove unused variable `default'.
15013 (woman-expand-directory-path): Rename parameters WOMAN-MANPATH and
15014 WOMAN-PATH to PATH-DIRS and PATH-REGEXPS, respectively.
15015 (global-font-lock-mode): Declare.
15016 (woman-decode-region): Mark unused parameter.
15017 (woman-get-tab-stop): Rename parameter TAB-STOP-LIST to TAB-STOPS.
15018
15019 * x-dnd.el (x-dnd-default-test-function, x-dnd-handle-old-kde)
15020 (x-dnd-handle-xdnd, x-dnd-handle-motif): Mark unused parameters.
15021 (x-dnd-handle-moz-url): Remove unused variable `title'.
15022 (x-dnd-handle-xdnd): Remove unused variables `x', `y' and `ret-action'.
15023
15024 * xml.el (xml-parse-tag, xml-parse-attlist):
15025 Remove unused variable `pos'.
15026
bc4f7f3d
GM
150272011-04-19 Glenn Morris <rgm@gnu.org>
15028
15029 * calendar/cal-tex.el (cal-tex-list-holidays, cal-tex-cursor-month)
15030 (cal-tex-cursor-week, cal-tex-cursor-week2, cal-tex-cursor-week-iso)
15031 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
15032 (cal-tex-cursor-filofax-daily, cal-tex-mini-calendar)
15033 * calendar/cal-html.el (cal-html-insert-minical):
15034 * calendar/diary-lib.el (diary-list-entries-1, diary-list-entries)
15035 (calendar-mark-date-pattern):
15036 Prefix "unused" locals.
15037
15038 * calendar/cal-dst.el (dst-adjust-time): Remove never-implemented
15039 optional argument `style'.
15040
15041 * calendar/appt.el (appt-make-list):
15042 * calendar/cal-china.el (calendar-chinese-date-string):
15043 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits)
15044 (diary-hebrew-yahrzeit):
15045 * calendar/cal-tex.el (cal-tex-last-blank-p, cal-tex-cursor-week2):
15046 * calendar/calendar.el (calendar-generate-window):
15047 * calendar/time-date.el (time-to-days):
15048 Remove unused local variables.
15049
16a43933
CY
150502011-04-18 Chong Yidong <cyd@stupidchicken.com>
15051
15052 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Use a custom
15053 glyphless-char-display table.
15054 (tabulated-list-glyphless-char-display): New var.
15055
7eed1860
SS
150562011-04-18 Sam Steingold <sds@gnu.org>
15057
15058 * vc/add-log.el (change-log-font-lock-keywords): Add "Thanks to"
15059 to acknowledgments.
15060
4d2d1ccd
GM
150612011-04-17 Glenn Morris <rgm@gnu.org>
15062
15063 * calendar/diary-lib.el (diary-sexp-entry):
15064 * calendar/holidays.el (holiday-sexp):
15065 Set debug-on-error rather than the removed stack-trace-on-error.
15066
239da61d
GM
150672011-04-16 Glenn Morris <rgm@gnu.org>
15068
15069 * progmodes/f90.el: Use lexical-binding.
15070 (f90-get-correct-indent): Remove unnecessary local variable `cont'.
15071
8b05752a
SM
150722011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
15073
daca8ba5
SM
15074 * mail/sendmail.el (mail-mode-map): Use completion-at-point.
15075 (mail-mode): Setup mailalias completion here instead.
15076 * mail/mailalias.el: Use lexical-binding.
15077 (pattern, mailalias-done): Declare dynamic.
15078 (mail-completion-at-point-function): New function, from mail-complete.
15079 (mail-complete): Use it.
15080 (mail-completion-expand): New function.
15081 (mail-get-names): Use it.
15082 (mail-directory, mail-directory-process, mail-directory-stream):
15083 Don't use `pattern' for lexically bound arg.
15084
6f542485
SM
15085 * emacs-lisp/lisp-mode.el (eval-defun-2): Use eval-sexp-add-defvars.
15086
037e7c3f
SM
15087 * htmlfontify.el (hfy-etags-cmd): Remove inoperant eval-and-compile.
15088 (hfy-e2x-etags-cmd, hfy-etags-cmd-alist-default)
15089 (hfy-etags-cmd-alist): Don't eval-and-compile any more.
15090
8b05752a
SM
15091 * emacs-lisp/bytecomp.el (byte-temp-output-buffer-show)
15092 (byte-save-window-excursion, byte-temp-output-buffer-setup)
15093 (byte-interactive-p): Define them again, for use when inlining
15094 old code.
15095
49093f60
JB
150962011-04-15 Juanma Barranquero <lekktu@gmail.com>
15097
15098 * loadup.el: Use `string-to-number', not `string-to-int'.
15099
b5b8e7de
SM
151002011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
15101
15102 * progmodes/gud.el (gud-gdb): Use completion-at-point instead of
15103 gud-gdb-complete-command.
15104 (gud-gdb-completions): New function, from gud-gdb-complete-command.
15105 (gud-gdb-completion-at-point): New function.
15106 (gud-gdb-completions): Remove.
15107
f42efeb5
MA
151082011-04-14 Michael Albinus <michael.albinus@gmx.de>
15109
49093f60
JB
15110 * net/tramp-sh.el (tramp-sh-handle-file-attributes): Handle the case
15111 when the scripts fail. Use `tramp-do-file-attributes-with-ls' then.
15112 (tramp-do-copy-or-rename-file-out-of-band): Do not check any longer
15113 whether `executable-find' is bound.
f42efeb5
MA
15114
15115 * net/tramp-smb.el (tramp-smb-handle-copy-file): Fix docstring.
15116
e240cc21
SM
151172011-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
15118
15119 * minibuffer.el (completion-in-region-mode-predicate)
15120 (completion-in-region-mode--predicate): New vars.
15121 (completion-in-region, completion-in-region--postch)
15122 (completion-in-region-mode): Use them.
15123 (completion--capf-wrapper): Also return the hook function.
15124 (completion-at-point, completion-help-at-point):
15125 Adjust and provide a predicate.
c2bd2ab0
SM
15126
15127 Preserve arg names for advice of subr and lexical functions (bug#8457).
15128 * help-fns.el (help-function-arglist): Consolidate the subr and
15129 new-byte-code cases. Add argument `preserve-names' to extract names
15130 from the docstring when needed.
15131 * emacs-lisp/advice.el (ad-define-subr-args, ad-undefine-subr-args)
15132 (ad-subr-args-defined-p, ad-get-subr-args, ad-subr-arglist): Remove.
15133 (ad-arglist): Use help-function-arglist's new arg.
15134 (ad-definition-type): Use cond.
15135
c183f693
JB
151362011-04-13 Juanma Barranquero <lekktu@gmail.com>
15137
06641a47
JB
15138 * autorevert.el (auto-revert-handler):
15139 Bind `remote-file-name-inhibit-cache', not `tramp-cache-inhibit-cache',
15140 which was removed in 2010-10-02T13:21:43Z!michael.albinus@gmx.de.
15141 Don't quote lambda.
15142
c183f693
JB
15143 * image-mode.el (image-transform-set-scale):
15144 Fix change in 2011-04-09T20:28:01Z!cyd@stupidchicken.com.
15145
1e3b6001
G
151462011-04-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
15147
15148 * net/network-stream.el (network-stream-open-starttls): Only do
e9fce1ac 15149 opportunistic STARTTLS upgrades if we have built-in GnuTLS support.
1e3b6001
G
15150 Upgrades via gnutls-cli are too slow to be done opportunistically.
15151
2d6af8dd
JB
151522011-04-12 Juanma Barranquero <lekktu@gmail.com>
15153
15154 * dframe.el (dframe-current-frame): Remove spurious quote.
15155
c0749a51
GM
151562011-04-12 Glenn Morris <rgm@gnu.org>
15157
088d0d61
GM
15158 * calendar/cal-tex.el (cal-tex-end-document):
15159 Try to automatically use latin1 input if needed.
15160
c0749a51
GM
15161 * calendar/cal-hebrew.el (diary-hebrew-rosh-hodesh):
15162 Don't try to cons a mark onto an empty element.
15163
5c90fde0
LL
151642011-04-11 Leo Liu <sdl.web@gmail.com>
15165
15166 * ido.el (ido-buffer-internal): Allow method 'kill for virtual
15167 buffers.
15168 (ido-kill-buffer-at-head): Support killing virtual buffers.
15169
369e974d
CY
151702011-04-10 Chong Yidong <cyd@stupidchicken.com>
15171
15172 * minibuffer.el (completion-show-inline-help): New var.
15173 (completion--do-completion, minibuffer-complete)
daca8ba5
SM
15174 (minibuffer-force-complete, minibuffer-complete-word):
15175 Inhibit minibuffer messages if completion-show-inline-help is nil.
369e974d
CY
15176
15177 * icomplete.el (icomplete-mode): Bind completion-show-inline-help
15178 to avoid interference from inline help (Bug#5849).
15179
37f1c930
LL
151802011-04-10 Leo Liu <sdl.web@gmail.com>
15181
099c39a4
JB
15182 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
15183 Fix typo.
37f1c930 15184
a32d4040
CY
151852011-04-09 Chong Yidong <cyd@stupidchicken.com>
15186
15187 * image-mode.el (image-toggle-display-image): Signal an error if
15188 not in Image mode.
15189 (image-transform-mode, image-transform-resize)
15190 (image-transform-set-rotation): Doc fix.
daca8ba5 15191 (image-transform-set-resize): Delete.
a32d4040
CY
15192 (image-transform-set-scale, image-transform-fit-to-height)
15193 (image-transform-fit-to-width): Handle image-toggle-display-image
15194 and image-transform-resize directly.
15195
099c39a4 151962011-04-08 Sho Nakatani <lay.sakura@gmail.com>
d7b89879
TH
15197
15198 * doc-view.el (doc-view-fit-width-to-window)
099c39a4
JB
15199 (doc-view-fit-height-to-window, doc-view-fit-page-to-window):
15200 New functions for fitting the shown image to the Emacs window size.
d7b89879
TH
15201 (doc-view-mode-map): Add bindings for the new functions.
15202
099c39a4 152032011-04-08 Juanma Barranquero <lekktu@gmail.com>
ddc20cdb 15204
4d61f28d 15205 * vc/vc-annotate.el (vc-annotate-show-log-revision-at-line):
ddc20cdb
JB
15206 Fix typo in docstring.
15207
3726838a
EZ
152082011-04-08 Eli Zaretskii <eliz@gnu.org>
15209
04f33f1e
EZ
15210 * files.el (file-size-human-readable): Produce one digit after
15211 decimal, like "ls -lh" does.
15212
15213 * ls-lisp.el (ls-lisp-format-file-size): Allow for 7 characters in
15214 the file size representation.
15215
3726838a
EZ
15216 * simple.el (list-processes): If async subprocesses are not
15217 available, error out with a clear error message.
15218
cbb59342
CY
152192011-04-08 Chong Yidong <cyd@stupidchicken.com>
15220
15221 * help.el (help-form-show): New function, to be called from C.
15222 Put help-form output in a buffer named differently than *Help*.
15223
e3971c44
EZ
152242011-04-08 Eli Zaretskii <eliz@gnu.org>
15225
15226 * files.el (file-size-human-readable): New function.
15227
15228 * ls-lisp.el (ls-lisp-format-file-size): Use it, instead of
15229 computing the representation inline. Don't require `cl'.
15230
12544bbe
GM
152312011-04-08 Glenn Morris <rgm@gnu.org>
15232
a1de6c6a
GM
15233 * man.el (Man-page-header-regexp): Solaris < 2.6 no longer supported.
15234
3c4671f4
GM
15235 * net/browse-url.el (browse-url-firefox):
15236 Test system-type, not system-configuration.
15237
b605679c
GM
15238 * vc/log-edit.el (log-edit-empty-buffer-p): New function.
15239 (log-edit-insert-cvs-template, log-edit-insert-cvs-rcstemplate):
15240 Use log-edit-empty-buffer-p. (Bug#7598)
15241
56442f0c
GM
15242 * net/rlogin.el (rlogin-process-connection-type): Simplify.
15243 (rlogin-mode-map): Initialize in the defvar.
15244 (rlogin): Use ignore-errors.
15245
12544bbe
GM
15246 * replace.el (occur-mode-map): Some fixes for menu items.
15247
eb237b0f
AH
152482011-04-07 Aaron S. Hawley <aaron.s.hawley@gmail.com>
15249
15250 * play/morse.el (denato-region): Handle varying case. (Bug#8386)
15251
7d668f2c
CY
152522011-04-06 Chong Yidong <cyd@stupidchicken.com>
15253
e67a13ab
CY
15254 * emacs-lisp/cconv.el (cconv--analyse-use): Ignore "ignored" when
15255 issuing unused warnings.
15256
15257 * emacs-lisp/tabulated-list.el (tabulated-list-print): Use lambda
15258 macro directly.
15259
7d668f2c
CY
15260 * simple.el: Lisp reimplement of list-processes. Based on an
15261 earlier reimplementation by Leo Liu, but using tabulated-list.el.
15262 (process-menu-mode): New major mode.
15263 (list-processes--refresh, list-processes):
15264 (process-menu-visit-buffer): New functions.
15265
15266 * files.el (save-buffers-kill-emacs): Don't assume any return
15267 value of list-processes, which is undocumented anyway.
15268
a83ec3c9
CY
152692011-04-06 Chong Yidong <cyd@stupidchicken.com>
15270
15271 * emacs-lisp/tabulated-list.el: New file.
15272
e91a96fe
CY
15273 * emacs-lisp/package.el: Use Tabulated List mode.
15274 (package-menu-mode-map): Inherit from tabulated-list-mode-map.
15275 (package-menu-mode): Derive from tabulated-list-mode. Set up the
15276 table format using Tabulated List mode variables.
15277 (package--push): New macro, replacing package-list-maybe-add.
15278 (package-menu--generate): Use package--push. Renamed from
15279 package--generate-package-list.
15280 (package-menu-refresh, list-packages): Use it.
daca8ba5 15281 (package-menu--print-info): Rename from package-print-package.
e91a96fe 15282 Return insertion data instead of inserting it directly.
099c39a4
JB
15283 (package-menu-describe-package, package-menu-execute):
15284 Use tabulated-list-get-id.
e91a96fe
CY
15285 (package-menu-mark-delete, package-menu-mark-install)
15286 (package-menu-mark-unmark, package-menu-backup-unmark)
099c39a4
JB
15287 (package-menu-mark-obsolete-for-deletion):
15288 Use tabulated-list-put-tag.
e91a96fe
CY
15289 (package--list-packages, package-menu-revert)
15290 (package-menu-get-package, package-menu-get-version)
15291 (package-menu-sort-by-column): Functions deleted.
15292 (package-menu-package-list, package-menu-sort-key): Vars deleted.
15293 (package-menu--status-predicate, package-menu--version-predicate)
15294 (package-menu--name-predicate)
15295 (package-menu--description-predicate): Handle arguments in the
15296 Tabulated List format.
15297 (package-list-packages-no-fetch): Call list-packages.
15298
3e214b50
JB
152992011-04-06 Juanma Barranquero <lekktu@gmail.com>
15300
15301 * files.el (after-find-file-from-revert-buffer): Remove variable.
c9d0ec6d 15302 (after-find-file): Don't bind it.
3e214b50
JB
15303 (revert-buffer-in-progress-p): New variable.
15304 (revert-buffer): Bind it.
15305 Pass nil for `after-find-file-from-revert-buffer'.
15306
15307 * saveplace.el (save-place-find-file-hook): Use new variable
15308 `rever-buffer-in-progress-p', not `after-find-file-from-revert-buffer'.
15309
3f0f1700
GM
153102011-04-06 Glenn Morris <rgm@gnu.org>
15311
c0274801
GM
15312 * Makefile.in (AUTOGEN_VCS): New variable.
15313 (autoloads): Use $AUTOGEN_VCS.
15314
3f0f1700
GM
15315 * calendar/cal-move.el (calendar-scroll-toolkit-scroll): New function.
15316 * calendar/calendar.el (calendar-mode-map):
15317 Check for toolkit scroll bars. (Bug#8305)
15318
41ea9e48
CY
153192011-04-05 Chong Yidong <cyd@stupidchicken.com>
15320
15321 * minibuffer.el (completion-in-region--postch)
15322 (completion-in-region-mode): Remove unnecessary messages.
15323
6194c800
JB
153242011-04-05 Juanma Barranquero <lekktu@gmail.com>
15325
33256f14
JB
15326 * font-lock.el (font-lock-refresh-defaults):
15327 Don't bind `hi-lock--inhibit-font-lock-hook', removed in
15328 2010-10-09T04:09:19Z!cyd@stupidchicken.com and 2010-10-11T23:57:49Z!lekktu@gmail.com (2010-10-12).
15329
6194c800
JB
15330 * info.el (Info-directory-list, Info-read-node-name-2)
15331 (Info-split-parameter-string): Doc fixes.
15332 (Info-virtual-nodes): Reflow docstring.
15333 (Info-find-file, Info-directory-toc-nodes, Info-history-toc-nodes)
15334 (Info-apropos-toc-nodes, info-finder, Info-get-token)
15335 (Info-find-emacs-command-nodes, Info-speedbar-key-map):
15336 Fix typos in docstrings.
15337 (Info-revert-buffer-function, Info-search, Info-isearch-pop-state)
15338 (Info-speedbar-hierarchy-buttons, Info-speedbar-goto-node)
15339 (Info-speedbar-buttons, Info-desktop-buffer-misc-data)
15340 (Info-restore-desktop-buffer): Mark unused parameters.
15341 (Info-directory-find-file, Info-directory-find-node)
15342 (Info-history-find-file, Info-history-find-node, Info-toc-find-node)
15343 (Info-virtual-index-find-node, Info-apropos-find-file)
15344 (Info-apropos-find-node, Info-finder-find-file, Info-finder-find-node):
33256f14 15345 Mark unused parameters; fix typos in docstrings.
6194c800
JB
15346 (Info-virtual-index): Remove unused local variable `nodename'.
15347
b87a8200 153482011-04-05 Deniz Dogan <deniz@dogan.se>
0f6ee7d2 15349
b87a8200
DD
15350 * net/rcirc.el: Update my e-mail address.
15351 (rcirc-mode-map): Remove M-o binding.
0f6ee7d2 15352
3b2ff876
CY
153532011-04-05 Chong Yidong <cyd@stupidchicken.com>
15354
15355 * startup.el (command-line): Save the cursor's theme-face
15356 directly, instead of using face-override-spec.
15357
15358 * custom.el (load-theme): Minor optimization in assigning faces.
15359
8d17e7ca
JB
153602011-04-04 Juanma Barranquero <lekktu@gmail.com>
15361
15362 * help-fns.el (describe-variable): Complete all variables having
15363 documentation, including keywords.
15364 http://lists.gnu.org/archive/html/emacs-devel/2011-04/msg00112.html
15365
2fbc1934
JB
153662011-04-04 Juanma Barranquero <lekktu@gmail.com>
15367
15368 Convert to lexical-binding.
15369
15370 * bs.el (bs-refresh, bs-sort-buffer-interns-are-last)
15371 (bs--get-marked-string, bs--get-modified-string)
15372 (bs--get-readonly-string, bs--get-size-string, bs--get-name)
15373 (bs--get-mode-name, bs--get-file-name): Mark unused arguments.
15374 (bs--configuration-name-for-prefix-arg): Rename argument PREFIX-ARG.
15375
15376 * ehelp.el (electric-help-execute-extended)
15377 (electric-help-ctrl-x-prefix):
15378 * hexl.el (hexl-revert-buffer-function):
15379 * linum.el (linum-after-change, linum-after-scroll):
15380 * emacs-lisp/re-builder.el (reb-auto-update): Mark unused arguments.
15381
15382 * help-fns.el (help-describe-category-set): Remove unused ERR variable.
15383
74f50695
DU
153842011-04-04 Daiki Ueno <ueno@unixuser.org>
15385
15386 * epa-dired.el:
15387 * epa-mail.el:
15388 * epa-hook.el:
15389 * epa-file.el:
15390 * epa.el:
15391 * epg.el: Use lexical binding.
15392
c11325f7
CY
153932011-04-03 Chong Yidong <cyd@stupidchicken.com>
15394
0d9e9a12
CY
15395 * dired-aux.el (dired-create-files): Add docstring (Bug#7970).
15396
c11325f7 15397 * textmodes/flyspell.el (flyspell-word): Recognize default
daca8ba5
SM
15398 dictionary case for flyspell-mark-duplications-exceptions.
15399 Use regexp matching for languages.
c11325f7
CY
15400 (flyspell-mark-duplications-exceptions): Add "that" and "had" for
15401 default dictionary (Bug#7926).
15402
da91b5f2
CY
154032011-04-02 Chong Yidong <cyd@stupidchicken.com>
15404
099c39a4
JB
15405 * emacs-lisp/package.el (package--with-work-buffer):
15406 Recognize https URLs.
da91b5f2 15407
099c39a4
JB
15408 * net/network-stream.el: Move from gnus/proto-stream.el.
15409 Change prefix to network-stream throughout.
da91b5f2
CY
15410 (open-protocol-stream): Merge into open-network-stream, leaving
15411 open-protocol-stream as an alias. Handle nil BUFFER args.
15412
15413 * subr.el (open-network-stream): Move to net/network-stream.el.
15414
afa8e9f6
GM
154152011-04-02 Glenn Morris <rgm@gnu.org>
15416
1d2e369d
GM
15417 * find-dired.el (find-exec-terminator): New option.
15418 (find-ls-option): Test for -ls support.
15419 (find-ls-subdir-switches): Test for -b in find-ls-option.
15420 (find-dired, find-grep-dired): Doc fixes.
15421 (find-dired): Use find-exec-terminator.
15422
8abb7da8 15423 * find-dired.el (find-ls-option, find-ls-subdir-switches)
e7a395b5
GM
15424 (find-grep-options): Do not autoload these defcustoms, remove purecopy.
15425 (find-name-arg): Remove purecopy.
8abb7da8 15426
f3ca7378
GM
15427 * progmodes/grep.el (grep-find-use-xargs): Doc fix.
15428 (grep-compute-defaults): Check for `-exec COMMAND +' support.
15429 Set grep-find-use-xargs, grep-find-command, and grep-find-template
15430 accordingly. Don't add the null-device if not needed.
15431
afa8e9f6
GM
15432 * files.el (save-some-buffers): Doc fix.
15433
35eae264
EZ
154342011-04-02 Eli Zaretskii <eliz@gnu.org>
15435
15436 * makefile.w32-in (EMACS): Default to ../src/$(BLD)/emacs.exe.
15437
26b51db5
JB
154382011-04-01 Juanma Barranquero <lekktu@gmail.com>
15439
15440 * progmodes/idlwave.el (idlwave-one-key-select, idlwave-list-abbrevs):
15441 Use `dolist' rather than `mapcar'.
15442
7200d79c
SM
154432011-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
15444
03408648 15445 Add lexical binding.
7200d79c 15446
03408648
SM
15447 * subr.el (apply-partially): Use new closures rather than CL.
15448 (--dolist-tail--, --dotimes-limit--): Don't declare dynamic.
15449 (dolist, dotimes): Use slightly different expansion for lexical code.
15450 (functionp): Move to C.
15451 (letrec): New macro.
15452 (with-wrapper-hook): Use it and apply-partially instead of CL.
15453 (eval-after-load): Preserve lexical-binding.
15454 (save-window-excursion, with-output-to-temp-buffer): Turn them
15455 into macros.
7200d79c 15456
03408648
SM
15457 * simple.el (with-wrapper-hook, apply-partially): Move to subr.el.
15458
15459 * help-fns.el (help-split-fundoc): Return nil if there's nothing else
15460 than the arglist.
15461 (help-add-fundoc-usage): Don't add `Not documented'.
15462 (help-function-arglist): Handle closures, subroutines, and new
15463 byte-code-functions.
15464 (help-make-usage): Remove leading underscores.
15465 (describe-function-1): Handle closures.
15466 (describe-variable): Use special-variable-p for completion.
15467
15468 * files.el (lexical-binding): Declare safe.
f488fb65 15469
03408648
SM
15470 * emacs-lisp/pcase.el: Don't use destructuring-bind.
15471 (pcase--memoize): Rename from pcase-memoize. Change weakness.
15472 (pcase): Add `let' pattern.
15473 Change memoization so it actually works.
15474 (pcase-mutually-exclusive-predicates): Add byte-code-function-p.
15475 (pcase--u1) <guard, pred>: Fix possible shadowing problem.
15476 <let>: New case.
f488fb65 15477
03408648
SM
15478 * emacs-lisp/macroexp.el: Use lexical binding.
15479 (macroexpand-all-1): Check obsolete macros. Expand compiler-macros.
15480 Don't convert ' to #' without checking that it's indeed quoting
15481 a lambda.
15482
15483 * emacs-lisp/lisp-mode.el (eval-last-sexp-1):
f488fb65 15484 Use eval-sexp-add-defvars.
03408648
SM
15485 (eval-sexp-add-defvars): New fun.
15486
15487 * emacs-lisp/float-sup.el (pi): Don't declare as dynamically bound.
15488
15489 * emacs-lisp/eieio.el (byte-compile-file-form-defmethod):
15490 Don't autoload.
15491 (eieio-defgeneric-form-primary-only-one): Use `byte-compile' rather
15492 than the internal `byte-compile-lambda'.
15493 (defmethod): Don't hide code under quotes.
15494 (eieio-defmethod): New `code' argument.
15495
15496 * emacs-lisp/eieio-comp.el: Remove.
15497
15498 * emacs-lisp/edebug.el (edebug-eval-defun)
15499 (edebug-eval-top-level-form): Use eval-sexp-add-defvars.
15500 (edebug-toggle): Avoid `eval'.
15501
15502 * emacs-lisp/disass.el (disassemble-internal): Handle new
15503 `closure' objects.
15504 (disassemble-1): Handle new byte codes.
15505
15506 * emacs-lisp/cl.el (pushnew): Silence warning.
15507
15508 * emacs-lisp/cl-macs.el (cl-byte-compile-block)
15509 (cl-byte-compile-throw): Remove.
15510 (cl-block-wrapper, cl-block-throw): Use compiler-macros instead.
15511
15512 * emacs-lisp/cl-extra.el (cl-macroexpand-all): Properly quote CL
15513 closures.
15514
15515 * emacs-lisp/cconv.el: New file.
15516
15517 * emacs-lisp/bytecomp.el: Use lexical binding instead of
15518 a "bytecomp-" prefix. Macroexpand everything as a separate phase.
15519 (byte-compile-initial-macro-environment):
15520 Handle declare-function here.
15521 (byte-compile--lexical-environment): New var.
15522 (byte-stack-ref, byte-stack-set, byte-discardN)
15523 (byte-discardN-preserve-tos): New lap codes.
15524 (byte-interactive-p): Don't use any more.
15525 (byte-compile-push-bytecodes, byte-compile-push-bytecode-const2):
15526 New macros.
15527 (byte-compile-lapcode): Use them and handle new lap codes.
15528 (byte-compile-obsolete): Remove.
15529 (byte-compile-arglist-signature): Handle new byte-code arg"lists".
15530 (byte-compile-arglist-warn): Check late def of inlinable funs.
15531 (byte-compile-cl-warn): Don't silence warnings for compiler-macros
15532 since they should have been expanded by now.
15533 (byte-compile--outbuffer): Rename from bytecomp-outbuffer.
15534 (byte-compile-from-buffer): Remove unused second arg.
15535 (byte-compile-preprocess): New function.
15536 (byte-compile-toplevel-file-form): New function to distinguish
15537 file-form calls from outside from file-form calls from hunk-handlers.
15538 (byte-compile-file-form): Simplify.
15539 (byte-compile-file-form-defsubst): Remove.
15540 (byte-compile-file-form-defmumble): Simplify now that
15541 byte-compile-lambda always returns a byte-code-function.
15542 (byte-compile): Preprocess.
15543 (byte-compile-byte-code-maker, byte-compile-byte-code-unmake):
15544 Remove, not used any more.
15545 (byte-compile-arglist-vars, byte-compile-make-lambda-lexenv)
15546 (byte-compile-make-args-desc): New funs.
15547 (byte-compile-lambda): Handle lexical functions. Always return
15548 a byte-code-function.
15549 (byte-compile-reserved-constants): New var, to make up room for
15550 closed-over variables.
15551 (byte-compile-constants-vector): Obey it.
15552 (byte-compile-top-level): New args `lexenv' and `reserved-csts'.
15553 (byte-compile-macroexpand-declare-function): New function.
15554 (byte-compile-form): Call byte-compile-unfold-bcf to inline immediate
15555 byte-code-functions.
15556 (byte-compile-form): Check obsolescence here.
15557 (byte-compile-inline-lapcode, byte-compile-unfold-bcf): New functions.
15558 (byte-compile-variable-ref): Remove.
15559 (byte-compile-dynamic-variable-op): New fun.
15560 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
15561 (byte-compile-variable-set): New funs.
15562 (byte-compile-discard): Add 2 args.
15563 (byte-compile-stack-ref, byte-compile-stack-set)
15564 (byte-compile-make-closure, byte-compile-get-closed-var): New funs.
15565 (byte-compile-funarg, byte-compile-funarg-2): Remove, handled in
15566 macroexpand-all instead.
15567 (byte-compile-quote-form): Remove.
15568 (byte-compile-push-binding-init, byte-compile-not-lexical-var-p)
15569 (byte-compile-bind, byte-compile-unbind): New funs.
15570 (byte-compile-let): Handle let* and lexical binding.
15571 (byte-compile-let*): Remove.
15572 (byte-compile-catch, byte-compile-unwind-protect)
15573 (byte-compile-track-mouse, byte-compile-condition-case):
15574 Handle a new :fun-body form, used for lexical scoping.
15575 (byte-compile-save-window-excursion)
15576 (byte-compile-with-output-to-temp-buffer): Remove.
15577 (byte-compile-defun): Simplify.
15578 (byte-compile-stack-adjustment): New fun.
15579 (byte-compile-out): Use it.
15580 (byte-compile-refresh-preloaded): Don't reload byte-compiler files.
15581
15582 * emacs-lisp/byte-run.el (make-obsolete): Don't set the `byte-compile'
15583 handler any more.
15584
15585 * emacs-lisp/byte-opt.el: Use lexical binding.
15586 (byte-inline-lapcode): Remove (to bytecomp).
15587 (byte-compile-inline-expand): Pay attention to inlining to/from
15588 lexically bound code.
15589 (byte-compile-unfold-lambda): Don't handle byte-code-functions
15590 any more.
15591 (byte-optimize-form-code-walker): Don't handle save-window-excursion
15592 any more and don't call compiler-macros.
15593 (byte-compile-splice-in-already-compiled-code): Remove.
15594 (byte-code): Don't inline any more.
15595 (disassemble-offset): Receive `bytes' as argument rather than via
15596 dynamic scoping.
15597 (byte-compile-tag-number): Declare before first use.
15598 (byte-decompile-bytecode-1): Handle new byte-codes, don't change
15599 `return' even if make-spliceable.
15600 (byte-compile-side-effect-and-error-free-ops): Add stack-ref, remove
15601 obsolete interactive-p.
15602 (byte-optimize-lapcode): Optimize new lap-codes.
15603 Don't trip up on new form of `byte-constant' lap code.
15604
15605 * emacs-lisp/autoload.el (make-autoload): Don't burp on trivial macros.
15606
15607 * emacs-lisp/advice.el (ad-arglist): Use help-function-arglist.
15608
15609 * custom.el (custom-initialize-default, custom-declare-variable):
15610 Use `defvar'.
15611
15612 * Makefile.in (BIG_STACK_DEPTH, BIG_STACK_OPTS, BYTE_COMPILE_FLAGS):
15613 New variables.
15614 (compile-onefile, .el.elc, compile-calc, recompile): Use them.
15615 (COMPILE_FIRST): Add macroexp and cconv.
15616 * makefile.w32-in: Mirror changes in Makefile.in.
15617
15618 * vc/cvs-status.el:
15619 * vc/diff-mode.el:
15620 * vc/log-edit.el:
15621 * vc/log-view.el:
15622 * vc/smerge-mode.el:
15623 * textmodes/bibtex-style.el:
090bd7cb 15624 * textmodes/css-mode.el:
03408648
SM
15625 * startup.el:
15626 * uniquify.el:
da91b5f2
CY
15627 * minibuffer.el:
15628 * newcomment.el:
15629 * reveal.el:
15630 * server.el:
15631 * mpc.el:
15632 * emacs-lisp/smie.el:
15633 * doc-view.el:
15634 * dired.el:
03408648
SM
15635 * abbrev.el: Use lexical binding.
15636
0f0c1f27
EZ
156372011-04-01 Eli Zaretskii <eliz@gnu.org>
15638
15639 * info.el (info-display-manual): New function.
15640
c82b2579
SM
156412011-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
15642
15643 * loadup.el: Load minibuffer after loaddefs, to use define-minor-mode.
15644
221ddf68
TH
156452011-03-31 Tassilo Horn <tassilo@member.fsf.org>
15646
15647 * net/rcirc.el (rcirc-handler-001): Only authenticate, if there's
2fbc1934 15648 an entry for that server in rcirc-authinfo. (Bug#8385)
221ddf68 15649
cba6e77e
GM
156502011-03-31 Glenn Morris <rgm@gnu.org>
15651
e040639f
GM
15652 * progmodes/f90.el (f90-find-tag-default): Handle multiple `%'.
15653
cba6e77e
GM
15654 * generic-x.el (etc-fstab-generic-mode): Add ext4, sysfs keywords.
15655
6d0f1c9e
CS
156562011-03-30 Christoph Scholtes <cschol2112@googlemail.com>
15657
15658 * progmodes/python.el (python-default-interpreter)
15659 (python-python-command-args, python-jython-command-args)
15660 (python-which-shell, python-which-args, python-which-bufname)
15661 (python-file-queue, python-comint-output-filter-function)
15662 (python-toggle-shells, python-shell): Remove obsolete defcustoms,
15663 variables and functions.
15664
3e2d70fd
SM
156652011-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
15666
15667 * minibuffer.el (completion-table-dynamic): Optimize `boundaries'.
15668 (completion-in-region-mode): New minor mode.
15669 (completion-in-region): Use it.
15670 (completion-in-region--data, completion-in-region-mode-map): New vars.
15671 (completion-in-region--postch): New function.
15672 (completion--capf-misbehave-funs, completion--capf-safe-funs):
15673 New vars.
15674 (completion--capf-wrapper): New function.
15675 (completion-at-point): Use it to track well-behavedness of
15676 hook functions.
15677 (completion-help-at-point): New command.
15678
f3e4086c
JM
156792011-03-30 Jason Merrill <jason@redhat.com> (tiny change)
15680
15681 * vc/add-log.el (add-change-log-entry): Don't use whitespace
15682 syntax class to search for whitespace on a single line
15683 (Message-ID: <4D938140.4030905@redhat.com>).
15684
eb7ffc14
LL
156852011-03-30 Leo Liu <sdl.web@gmail.com>
15686
15687 * abbrev.el (abbrev-edit-save-to-file, abbrev-edit-save-buffer):
15688 New commands.
15689 (edit-abbrevs-map): Bind them here.
15690 (write-abbrev-file): New optinal arg VERBOSE. (Bug#5937)
15691
d806ab68
KM
156922011-03-29 Ken Manheimer <ken.manheimer@gmail.com>
15693
15694 * allout.el (allout-hide-by-annotation, allout-flag-region):
15695 Reduce possibility of overlay leakage by making them volatile.
15696
15697 * allout-widgets.el (allout-widgets-tally): Define as nil so the
15698 hash is not shared between buffers. Mode initialization is
15699 responsible for giving it a useful starting value.
15700 (allout-item-span): Reduce possibility of overlay leakage by
15701 making them volatile.
15702 (allout-widgets-count-buttons-in-region): Add diagnostic function
15703 for tracking down button overlay leaks.
15704
ea622834
LL
157052011-03-29 Leo Liu <sdl.web@gmail.com>
15706
15707 * ido.el (ido-read-internal): Use the default history var
15708 minibuffer-history if no HISTORY is specified.
15709
b62f8267
G
157102011-03-28 Brian T. Sniffen <bsniffen@akamai.com> (tiny change)
15711
03408648
SM
15712 * net/imap.el (imap-shell-open, imap-process-connection-type):
15713 Use imap-process-connection-type for 'shell' streams as well as
b62f8267
G
15714 Kerberos, SSL, other subprocesses.
15715
947b6566
LL
157162011-03-28 Leo Liu <sdl.web@gmail.com>
15717
15718 * abbrev.el (abbrev-table-empty-p): New function.
15719 (prepare-abbrev-list-buffer): Place empty abbrev tables after
15720 nonempty ones. (Bug#5937)
15721
5ffb62aa
JD
157222011-03-27 Jan Djärv <jan.h.d@swipnet.se>
15723
15724 * cus-start.el (all): Add boolean ns-auto-hide-menu-bar.
15725
7a097943
LL
157262011-03-27 Leo Liu <sdl.web@gmail.com>
15727
15728 * ansi-color.el (ansi-color-names-vector): Allow cons cell value
15729 for foreground and background colors.
15730 (ansi-color-make-color-map): Adapt.
15731
c5b40130
LL
157322011-03-25 Leo Liu <sdl.web@gmail.com>
15733
1f48f7d2
LL
15734 * midnight.el (midnight-time-float): Remove. Note it calculates
15735 the microsecond component incorrectly and seconds-to-time does the
15736 same job.
625897ec 15737 Remove redundant (require 'timer).
1f48f7d2 15738
c5b40130
LL
15739 * ido.el (ido-read-internal): Simplify with read-from-minibuffer.
15740 (ido-completions): Remove unused arguments. (Bug#8329)
15741
d86d2721
SM
157422011-03-24 Stefan Monnier <monnier@iro.umontreal.ca>
15743
15744 * minibuffer.el (completion--flush-all-sorted-completions):
15745 Remove itself from hook.
15746 (completion-at-point): Let the functions perform the completion
15747 immediately and return nil or t.
15748 * comint.el (comint-dynamic-complete-functions): Now identical to
15749 completion-at-point-functions.
15750 (comint-dynamic-list-input-ring): Remove unused var `index'.
15751 (comint--match-partial-filename, comint--unquote&expand-filename):
15752 New funs, split from comint-match-partial-filename.
15753 (comint-dynamic-complete): Use completion-at-point.
15754 (comint-dynamic-complete-filename): Use comint--match-partial-filename.
15755
e8974c48
DA
157562011-03-24 Drew Adams <drew.adams@oracle.com>
15757
15758 * thingatpt.el: Support `defun'.
15759
def71b5e
LL
157602011-03-23 Leo Liu <sdl.web@gmail.com>
15761
cb5af48e
LL
15762 * abbrevlist.el: Move to obsolete/abbrevlist.el.
15763
def71b5e
LL
15764 * help-mode.el (help-mode-finish): Tweak regexp.
15765
927c53e7
GM
157662011-03-23 Glenn Morris <rgm@gnu.org>
15767
18d05bed
GM
15768 * eshell/esh-opt.el (eshell-eval-using-options):
15769 Do not bind unused local variable `eshell-option-stub'.
15770
927c53e7
GM
15771 * progmodes/gdb-mi.el (gdb): Fix typo in previous change.
15772
9d0da923
JB
157732011-03-22 Juanma Barranquero <lekktu@gmail.com>
15774
15775 * emacs-lisp/derived.el (define-derived-mode): Wrap declaration of
15776 keymap variable in `with-no-warnings' to avoid a warning when the
15777 keymap has been already `defconst'ed.
15778
4b978a67
LL
157792011-03-22 Leo Liu <sdl.web@gmail.com>
15780
15781 * abbrev.el (write-abbrev-file): Use utf-8 for writing if it can
15782 encode all chars in abbrevs; otherwise use emacs-mule or
15783 utf-8-emacs. (Bug#8308)
15784
5fd62452
JB
157852011-03-22 Juanma Barranquero <lekktu@gmail.com>
15786
0b1596c6
JB
15787 * simple.el (backward-delete-char-untabify):
15788 Avoid warning about using `delete-backward-char'.
15789
5fd62452
JB
15790 * image.el (image-type-file-name-regexps): Make it variable.
15791 `imagemagick-register-types' modifies it, and the user may want
15792 to add new extensions for known image types.
15793 (imagemagick-register-types): Throw error if not using ImageMagick.
15794
0b4e93f1
LL
157952011-03-22 Leo Liu <sdl.web@gmail.com>
15796
15797 * net/rcirc.el (rcirc-completion-at-point): Return nil if point is
15798 located before rcirc-prompt-end-marker.
15799 (rcirc-complete): Error if point is not after rcirc prompt.
15800 Handle the case when table is nil.
9882e214 15801 (rcirc-user-authenticated): Define to fix compiler warning.
0b4e93f1 15802
fccee4ab
CY
158032011-03-22 Chong Yidong <cyd@stupidchicken.com>
15804
15805 * custom.el (custom--inhibit-theme-enable): Make it affect only
15806 custom-theme-set-variables and custom-theme-set-faces.
15807 (provide-theme): Ignore custom--inhibit-theme-enable.
15808 (load-theme): Enable the theme explicitly if NO-ENABLE is non-nil.
15809 (custom-enabling-themes): Delete variable.
d86d2721
SM
15810 (enable-theme): Accept only loaded themes as arguments.
15811 Ignore the special custom-enabled-themes variable.
fccee4ab
CY
15812 (custom-enabled-themes): Forbid themes from setting this.
15813 Eliminate use of custom-enabling-themes.
15814 (custom-push-theme): Quote "changed" custom var entry.
0357c7ae 15815
af896da6
LL
158162011-03-21 Leo Liu <sdl.web@gmail.com>
15817
15818 * ido.el (ido-read-internal): Add ido-selected to history instead
15819 of user input.
15820
78f64af0
SM
158212011-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
15822
15823 * subr.el (deferred-action-list, deferred-action-function):
15824 Mark obsolete.
15825
b16ac1ec
LL
158262011-03-21 Leo Liu <sdl.web@gmail.com>
15827
810f7698
LL
15828 * vc/log-view.el: Remove (require 'wid-edit), not needed after the
15829 change on 2011-02-13 (bug#8309).
15830
b16ac1ec
LL
15831 * minibuffer.el (read-file-name-function): Change default value.
15832 (read-file-name--defaults): Rename from read-file-name-defaults.
15833 (read-file-name-default): Rename from read-file-name.
15834 (read-file-name): Call read-file-name-function.
15835
4e05e67e
GM
158362011-03-21 Glenn Morris <rgm@gnu.org>
15837
15838 * eshell/esh-opt.el (eshell-eval-using-options, eshell-process-args):
15839 Doc fixes.
15840
4359915b
CY
158412011-03-21 Chong Yidong <cyd@stupidchicken.com>
15842
15843 * cus-theme.el: Add missing provide statement.
15844 (customize-create-theme): Extract theme value correctly.
15845 (custom-theme-visit-theme): Autoload.
15846 (customize-create-theme): Prompt before inserting default faces.
15847
1fe275ee
JB
158482011-03-20 Jay Belanger <jay.p.belanger@gmail.com>
15849
15850 * calc/calc-menu.el (calc-units-menu): Add entries for logarithmic
15851 units and musical notes.
15852
cd394be1 158532011-03-20 Leo Liu <sdl.web@gmail.com>
3ec03f7e
LL
15854
15855 * ido.el (ido-read-internal): Use completing-read-default.
15856 (ido-completing-read): Fix compatibility with completing-read.
15857
7d476bde
CO
158582011-03-20 Christian Ohler <ohler@gnu.org>
15859
15860 * emacs-lisp/ert.el (ert-run-tests-batch): Remove unused variable.
15861 (ert-delete-all-tests): Use `called-interactively-p' rather than
15862 `interactive-p'.
15863 (ert--make-xrefs-region): Respect END.
15864
fe0fb33e
CY
158652011-03-19 Chong Yidong <cyd@stupidchicken.com>
15866
ff854b0b
CY
15867 * dired-aux.el (dired-create-directory): Signal an error if the
15868 directory already exists (Bug#8246).
15869
fe0fb33e
CY
15870 * facemenu.el (list-colors-display): Call list-faces-display
15871 inside with-help-window.
15872 (list-colors-print): Use display property to align the final
15873 column, instead of checking window-width.
15874
576bce32
EZ
158752011-03-19 Eli Zaretskii <eliz@gnu.org>
15876
4d61f28d 15877 * vc/emerge.el (emerge-metachars): Separate value for ms-dos and
576bce32
EZ
15878 windows-nt systems.
15879 (emerge-protect-metachars): Quote correctly for ms-dos and
15880 windows-nt systems.
15881
89c41d68 158822011-03-19 Ralph Schleicher <rs@ralph-schleicher.de>
e6ce307c
RS
15883
15884 * info.el (info-initialize): Replace all uses of `:' with
15885 path-separator for compatibility with non-Unix systems.
15886 Cache quoting of path-separator. (Bug#8258)
15887
b14e3e21 158882011-03-19 Juanma Barranquero <lekktu@gmail.com>
ad22b7f7
JB
15889
15890 * avoid.el (mouse-avoidance-mode, mouse-avoidance-nudge-dist)
15891 (mouse-avoidance-threshold, mouse-avoidance-banish-destination)
15892 (mouse-avoidance-mode): Fix typos in docstrings.
15893
4525ce3e
CY
158942011-03-19 Chong Yidong <cyd@stupidchicken.com>
15895
15896 * startup.el (package-subdirectory-regexp): Move from package.el.
15897 Omit \\` and \\', and let callers add them.
15898
15899 * emacs-lisp/package.el (package-strip-version)
15900 (package-load-all-descriptors): Add \\` and \\' to
15901 package-subdirectory-regexp before using it.
15902 (package-untar-buffer): New arg DIR; ensure that file untars only
15903 into this expected directory. Remove superfluous delete-region.
15904 (package-unpack): Caller changed.
15905 (package-tar-file-info): Use package-subdirectory-regexp.
15906
a904a09a 159072011-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
1518e4f0 15908
a904a09a
SM
15909 * vc/diff-mode.el (diff-mode-map): Shadow problematic bindings from
15910 diff-mode-shared-map (bug#8284).
15911 (diff-mode-shared-map): Re-introduce some bindings that were problematic.
1518e4f0
G
15912
159132011-03-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
15914
15915 * calendar/time-date.el (format-seconds): Use assoc instead of
15916 assoc-string, since assoc-string doesn't exist in XEmacs.
15917
171fc304
JB
159182011-03-17 Juanma Barranquero <lekktu@gmail.com>
15919
15920 * custom.el (custom-known-themes): Reflow docstring.
15921 (custom-theme-load-path): Fix typo in docstring.
15922 (load-theme): Fix typo in error message.
15923 (custom-available-themes, custom-variable-theme-value):
15924 Use `let', not `let*'.
15925
d71990a1
JB
159262011-03-17 Jay Belanger <jay.p.belanger@gmail.com>
15927
15928 * calc/README: Mention inclusion of musical notes.
15929
15930 * calc/calc-units.el (calc-lu-quant): Rename from
15931 `calc-logunits-quantity'.
15932 (calcFunc-lupquant): Rename from `calcFunc-powerquant'.
15933 (calcFunc-lufquant): Rename from `calcFunc-fieldquant'.
15934 (calc-db): Rename from `calc-dblevel'.
15935 (calcFunc-dbpower): Rename from `calcFunc-dbpowerlevel'.
15936 (calcFunc-dbfield): Rename from `calcFunc-dbfieldlevel'.
15937 (calc-np): Rename from `calc-nplevel'.
15938 (calcFunc-nppower): Rename from `calcFunc-nppowerlevel'.
15939 (calcFunc-npfield): Rename from `calcFunc-npfieldlevel'.
15940 (calc-lu-plus): Rename from `calc-logunits-add'.
15941 (calcFunc-lupadd): Rename from `calcFunc-lupoweradd'.
15942 (calcFunc-lufadd): Rename from `calcFunc-lufieldadd'.
15943 (calc-lu-minus): Rename from `calc-logunits-sub'.
15944 (calcFunc-lupsub): Rename from `calcFunc-lupowersub'.
15945 (calcFunc-lufsub): Rename from `calcFunc-lufieldsub'.
15946 (calc-lu-times): Rename from `calc-logunits-mul'.
15947 (calcFunc-lupmul): Rename from `calcFunc-lupowermul'.
15948 (calcFunc-lufmul): Rename from `calcFunc-lufieldmul'.
15949 (calc-lu-divide): Rename from `calc-logunits-div'.
15950 (calcFunc-lupdiv): Rename from `calcFunc-lupowerdiv'.
15951 (calcFunc-lufdiv): Rename from `calcFunc-lufielddiv'.
15952
15953 * calc/calc-ext.el (calc-init-extensions): Update the names of the
15954 functions being autoloaded.
15955
15956 * calc/calc.el (calc-lu-power-reference): Rename from
15957 `calc-logunits-power-reference'.
15958 (calc-lu-field-reference): Rename from
15959 `calc-logunits-field-reference'.
15960
7a71b18d
GM
15961 * calc/calc-help.el (calc-l-prefix-help):
15962 Mention musical note functions.
d71990a1 15963
40c2934b
SM
159642011-03-17 Stefan Monnier <monnier@iro.umontreal.ca>
15965
15966 * minibuffer.el (completion-all-sorted-completions):
15967 Use :completion-cycle-penalty text property if present.
15968
b0911414
KM
159692011-03-16 Ken Manheimer <ken.manheimer@gmail.com>
15970
15971 * allout.el (allout-yank-processing): Adjust for new rebulleting
15972 regime so bullet being yanked is used without prompting the user
15973 for a choice.
15974
8a05b668
JB
159752011-03-16 Juanma Barranquero <lekktu@gmail.com>
15976
15977 * startup.el (command-line): Warn the user that _emacs is deprecated.
15978
5ba5fb81
JB
159792011-03-16 Juanma Barranquero <lekktu@gmail.com>
15980
15981 * progmodes/delphi.el (delphi-search-path, delphi-indent-level)
15982 (delphi-verbose, delphi-comment-face, delphi-string-face)
15983 (delphi-keyword-face, delphi-ignore-changes, delphi-indent-line)
15984 (delphi-mode-abbrev-table, delphi-debug-buffer, delphi-tab)
15985 (delphi-find-unit, delphi-find-current-xdef, delphi-fill-comment)
15986 (delphi-new-comment-line, delphi-font-lock-defaults)
15987 (delphi-debug-mode-map, delphi-mode-syntax-table, delphi-mode):
15988 Fix typos in docstrings.
15989
2dab465b
KM
159902011-03-15 Ken Manheimer <ken.manheimer@gmail.com>
15991
5ba5fb81 15992 * allout.el (allout-make-topic-prefix, allout-rebullet-heading):
2dab465b
KM
15993 Invert the roles of character and string values for INSTEAD, so a
15994 string is used for the more common case of a defaulting prompt.
15995
0adf5618
SM
159962011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
15997
15998 * progmodes/ruby-mode.el (ruby-backward-sexp):
15999 * progmodes/ebrowse.el (ebrowse-draw-file-member-info):
16000 * play/gamegrid.el (gamegrid-make-face):
16001 * play/bubbles.el (bubbles--grid-width, bubbles--grid-height)
16002 (bubbles--colors, bubbles--shift-mode, bubbles--initialize-images):
16003 * notifications.el (notifications-notify):
16004 * net/xesam.el (xesam-search-engines):
16005 * net/quickurl.el (quickurl-list-insert):
16006 * vc/vc-hg.el (vc-hg-dir-printer): Fix use of case.
16007
d72700e5
CY
160082011-03-15 Chong Yidong <cyd@stupidchicken.com>
16009
16010 * startup.el (command-line): Update package subdirectory regexp.
16011
49c5410a
SM
160122011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
16013
c6eee9aa
SM
16014 * allout.el (allout-abbreviate-flattened-numbering)
16015 (allout-mode-deactivate-hook): Fix up obsolescence "date".
16016
49c5410a
SM
16017 * subr.el (read-char-choice): Only show the cursor after the prompt,
16018 not after the answer.
16019
047b2bb9
KR
160202011-03-15 Kevin Ryde <user42@zip.com.au>
16021
16022 * help-fns.el (variable-at-point): Skip leading quotes, if any
16023 (bug#8253).
16024
0a57d256
SM
160252011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
16026
16027 * emacs-lisp/bytecomp.el (byte-compile-save-excursion): Change the
16028 warning message.
16029
77c992bc
MA
160302011-03-14 Michael Albinus <michael.albinus@gmx.de>
16031
16032 * shell.el (shell): When called interactively, offer to change the
16033 shell file name on remote hosts.
16034
eebc475d
TZ
160352011-03-13 Teodor Zlatanov <tzz@lifelogs.com>
16036
16037 * net/ldap.el (ldap-search-internal): Add `auth-source-search'
16038 integration for LDAP parameters. The host, base, user or binddn,
16039 and secret tokens can be specified in a netrc file, for instance.
16040 This is optional because an `auth-source' parameter must be
16041 specified in the search attributes.
16042
9d05d1ba
JB
160432011-03-13 Juanma Barranquero <lekktu@gmail.com>
16044
16045 * help.el (describe-mode): Link to the mode's definition (bug#8185).
16046
09d9db2c
GM
160472011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
16048
16049 * ebuff-menu.el (electric-buffer-menu-mode-map): Move initialization
16050 into declaration. Remove redundant and harmful binding.
16051
160522011-03-12 Eli Zaretskii <eliz@gnu.org>
16053
16054 * files.el (file-ownership-preserved-p): Pass `integer' as an
16055 explicit 2nd argument to `file-attributes'. If the file's owner
16056 is the Administrators group on Windows, and the current user is
16057 Administrator, consider that a match.
16058
16059 * server.el (server-ensure-safe-dir): Consider server directory
16060 safe on MS-Windows if its owner is the Administrators group while
16061 the current Emacs user is Administrator. Use `=' to compare
16062 numerical UIDs, since they could be integers or floats.
16063
219bd536
JB
160642011-03-12 Juanma Barranquero <lekktu@gmail.com>
16065
16066 * vc/vc-bzr.el (vc-bzr-state): Handle bzr 2.3.0 (follow-up to bug#8170).
16067
f3afd36b
MA
160682011-03-12 Michael Albinus <michael.albinus@gmx.de>
16069
16070 Sync with Tramp 2.2.1.
16071
16072 * net/tramp-sh.el (tramp-methods): Exchange "%k" marker with options.
16073
16074 * net/trampver.el: Update release number.
16075
3aaaa6f1
SM
160762011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
16077
94642599
SM
16078 * progmodes/compile.el (compilation--previous-directory): Fix up
16079 various nil/dead-marker mismatches (bug#8014).
16080 (compilation-directory-properties, compilation-error-properties):
16081 Don't call it at a position past the one we're about to change.
16082
3aaaa6f1
SM
16083 * emacs-lisp/bytecomp.el (byte-compile-make-obsolete-variable):
16084 Disable obsolescence warnings in the file that declares it.
16085
14239447
KM
160862011-03-11 Ken Manheimer <ken.manheimer@gmail.com>
16087
099c39a4
JB
16088 * allout-widgets.el (allout-widgets-tally):
16089 Initialize allout-widgets-tally as a hash table rather than nil to
16090 prevent mode-line redisplay warnings. Also, clarify the module
16091 description and fix a comment typo.
14239447 16092
135e287c
JB
160932011-03-11 Juanma Barranquero <lekktu@gmail.com>
16094
16095 * help-fns.el (describe-variable): Don't complete keywords.
16096 Suggested by Teodor Zlatanov <tzz@lifelogs.com>.
16097
ffbf300e
CY
160982011-03-10 Chong Yidong <cyd@stupidchicken.com>
16099
ba08b241
CY
16100 * emacs-lisp/package.el (package-version-join): Impose a standard
16101 string representation for pre/alpha/beta version lists.
16102 (package-unpack-single): Standardize the directory name by passing
16103 it through package-version-join.
16104 (package-strip-rcs-id): Accept any version string that does not
16105 signal an error in version-to-list.
ffbf300e 16106
f346fd6b
MA
161072011-03-10 Michael Albinus <michael.albinus@gmx.de>
16108
16109 * simple.el (delete-trailing-whitespace): Return nil for the
16110 benefit of `write-file-functions'.
16111
ccb55d27
GM
161122011-03-10 Glenn Morris <rgm@gnu.org>
16113
5ceaac0c
GM
16114 * vc/vc-hg.el (vc-hg-pull, vc-hg-merge-branch): Use vc-hg-program.
16115
02da65ff
GM
16116 * vc/vc-git.el (vc-git-program): New option.
16117 (vc-git-branches, vc-git-pull, vc-git-merge-branch, vc-git-command)
16118 (vc-git--call): Use it.
16119
b2f603cc
GM
16120 * eshell/esh-util.el (eshell-condition-case): Doc fix.
16121
5772caab
GM
16122 * cus-edit.el (Custom-newline): If no button at point, look
16123 for a subgroup button at start-of-line. (Bug#2298)
16124
ccb55d27
GM
16125 * mail/rmail.el (rmail-msgend, rmail-msgbeg): Doc fixes.
16126
ec6ecaed
JD
161272011-03-10 Julien Danjou <julien@danjou.info>
16128
16129 * avoid.el (mouse-avoidance-ignore-p): Do not move the cursor if
16130 `cursor-type' is nil.
16131
9d5aa01d
JB
161322011-03-09 Jay Belanger <jay.p.belanger@gmail.com>
16133
16134 * calc/calc.el (calc-mode-map): Don't bind "C-_" to `calc-missing-key'.
16135
b6a5875b
KM
161362011-03-09 Ken Manheimer <ken.manheimer@gmail.com>
16137
7a71b18d 16138 * allout.el: Change so yank of distinctive-bullet items
b6a5875b
KM
16139 preserves the existing header prefix, rebulleting it if necessary,
16140 rather than replacing it. This is necessary for proper operation
16141 of cooperative addons like allout-widgets.
1154d12e
JB
16142 (allout-make-topic-prefix, allout-rebullet-heading):
16143 Change SOLICIT arg to INSTEAD, and interpret additionally a string
16144 value as alternate bullet to be used, instead of prompting the user
16145 for a bullet character.
b6a5875b 16146
ee545c35
MA
161472011-03-09 Michael Albinus <michael.albinus@gmx.de>
16148
d86d2721
SM
16149 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
16150 Do not use `tramp-file-name-port', because this returns also
ee545c35
MA
16151 `tramp-default-port'.
16152
c47971d7
DD
161532011-03-09 Deniz Dogan <deniz.a.m.dogan@gmail.com>
16154
16155 * net/rcirc.el (rcirc-handler-001): Remove useless
16156 with-rcirc-process-buffer.
16157 (rcirc-check-auth-status): Swap arguments to string-match.
16158
13522cb4
GM
161592011-03-09 Glenn Morris <rgm@gnu.org>
16160
0be6f4f1
GM
16161 * shell.el (shell-mode):
16162 Set comint-input-ring-size from HISTSIZE. (Bug#7889)
16163
13522cb4
GM
16164 * progmodes/gdb-mi.el (gdb): Improve 2010-12-08 change.
16165 Check for GDBHISTFILE, HISTSIZE, etc. (Bug#7889)
16166
515de2e3
CY
161672011-03-08 Chong Yidong <cyd@stupidchicken.com>
16168
16169 * emacs-lisp/package.el (package-refresh-contents)
16170 (package-menu-execute): Use condition-case-no-debug.
16171
b511b994
MA
161722011-03-08 Michael Albinus <michael.albinus@gmx.de>
16173
16174 * simple.el (shell-command-to-string): Use `process-file'.
16175
16176 * emacs-lisp/package.el (package-tar-file-info): Handle also
16177 remote files.
16178
d86d2721
SM
16179 * emacs-lisp/package-x.el (package-upload-buffer-internal):
16180 Use `equal' for upload base check.
b511b994 16181
25bbfb31
AM
161822011-03-08 Arni Magnusson <arnima@hafro.is> (tiny change)
16183
16184 * textmodes/texinfo.el (texinfo-environments):
16185 Add deftypecv, deftypeivar, deftypemethod, deftypeop, html. (Bug#2783)
16186
be996521
GM
161872011-03-08 Glenn Morris <rgm@gnu.org>
16188
e9c8529f
GM
16189 * cus-start.el (cursor-in-non-selected-windows):
16190 Fix :set quoting oddness. (Bug#8192)
16191
be996521
GM
16192 * font-lock.el (lisp-font-lock-keywords-1): Don't highlight `)'
16193 in some setf expressions. (Bug#2159)
16194
2bb5649e
CY
161952011-03-08 Chong Yidong <cyd@stupidchicken.com>
16196
16197 * custom.el (custom-available-themes): Return themes in
16198 alphabetical order.
16199
33383987 16200See ChangeLog.15 for earlier changes.
e3d51b27
MR
16201
16202;; Local Variables:
16203;; coding: utf-8
e3d51b27
MR
16204;; End:
16205
acaf905b 16206 Copyright (C) 2011-2012 Free Software Foundation, Inc.
e3d51b27
MR
16207
16208 This file is part of GNU Emacs.
16209
16210 GNU Emacs is free software: you can redistribute it and/or modify
16211 it under the terms of the GNU General Public License as published by
16212 the Free Software Foundation, either version 3 of the License, or
16213 (at your option) any later version.
16214
16215 GNU Emacs is distributed in the hope that it will be useful,
16216 but WITHOUT ANY WARRANTY; without even the implied warranty of
16217 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16218 GNU General Public License for more details.
16219
16220 You should have received a copy of the GNU General Public License
16221 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.