Fix active minibuffer case for window-deletable-p.
[bpt/emacs.git] / lisp / ChangeLog
CommitLineData
46b7967e
TN
12012-05-29 Troels Nielsen <bn.troels@gmail.com>
2
3 * window.el (window-deletable-p): Avoid deleting the root window
4 of a frame with an active minibuffer.
5
69d565e2
MR
62012-05-29 Martin Rudalics <rudalics@gmx.at>
7
8 * simple.el (choose-completion): Use quit-window (Bug#11567).
9
a149fa51
CY
102012-05-29 Chong Yidong <cyd@gnu.org>
11
12 * whitespace.el (whitespace-cleanup): Fix usage of
13 whitespace-empty-at-bob-regexp (Bug#11492).
14
2b311310
AH
152012-05-29 Aaron S. Hawley <aaron.s.hawley@gmail.com>
16
17 * vc/vc.el (vc-revert, vc-rollback): Dont kill vc-diff buffer on
18 revert (Bug#11488).
19
b9cb2387
JL
202012-05-29 Juri Linkov <juri@jurta.org>
21
22 * isearch.el (isearch-mode-map): Bind `M-s _' to
23 `isearch-toggle-symbol'. Bind `M-s c' to
24 `isearch-toggle-case-fold'.
25 (search-map): Bind `M-s _' to `isearch-forward-symbol'.
26 (isearch-forward): Add `M-s _' to the docstring.
27 (isearch-forward-symbol, isearch-toggle-case-fold)
28 (isearch-symbol-regexp): New functions. (Bug#11381)
29
d5e61c1c
JL
302012-05-29 Juri Linkov <juri@jurta.org>
31
32 * isearch.el (isearch-word): Add docstring. (Bug#11381)
33 (isearch-occur, isearch-search-and-update): If `isearch-word' is
34 a function, call it to get the regexp.
35 (isearch-message-prefix): If `isearch-word' holds a symbol, use its
36 property `isearch-message-prefix' instead of the string "word ".
37 (isearch-search-fun-default): For the case of `isearch-word',
38 return a lambda that calls re-search-forward/re-search-backward
39 with a regexp returned by `word-search-regexp' or by the function
40 in `isearch-word'.
41
8cbd80f7
JL
422012-05-29 Juri Linkov <juri@jurta.org>
43
44 * isearch.el (isearch-search-fun-default): New function.
45 (isearch-search-fun): Move default part to the new function
46 `isearch-search-fun-default'.
47 (isearch-search-fun-function): Set the default value to
48 `isearch-search-fun-default'. (Bug#11381)
49
50 * comint.el (comint-history-isearch-end):
51 Use `isearch-search-fun-default'.
52 (comint-history-isearch-search): Use `isearch-search-fun-default'
53 and remove spacial case for `isearch-word'.
54 (comint-history-isearch-wrap): Remove spacial case for
55 `isearch-word'.
56
57 * hexl.el (hexl-isearch-search-function):
58 Use `isearch-search-fun-default'.
59
60 * info.el (Info-isearch-search): Use `isearch-search-fun-default'.
61 Use `word-search-regexp' for `isearch-word'.
62
63 * misearch.el (multi-isearch-search-fun):
64 Use `isearch-search-fun-default'.
65
66 * simple.el (minibuffer-history-isearch-search):
67 Use `isearch-search-fun-default' and remove spacial case for
68 `isearch-word'.
69 (minibuffer-history-isearch-wrap): Remove spacial case for
70 `isearch-word'.
71
72 * textmodes/reftex-global.el (reftex-isearch-wrap-function):
73 Remove spacial case for `isearch-word'.
74 (reftex-isearch-isearch-search): Use `isearch-search-fun-default'.
75
85c8c5b6
AM
762012-05-28 Agustín Martín Domingo <agustin.martin@hispalinux.es>
77
78 Decrease XEmacs incompatibilities.
79 * textmodes/flyspell.el (flyspell-check-pre-word-p):
80 Use `string-match'.
81 (flyspell-delete-region-overlays): Use alternative definition for
82 XEmacs.
83 (flyspell-delete-all-overlays): Use `flyspell-delete-region-overlays'.
84 (flyspell-word): Use `process-kill-without-query' if XEmacs.
85 (flyspell-mode-on): Use `interactive-p' if XEmacs.
86 (flyspell-incorrect-face, flyspell-duplicate-face): Do not use
87 `define-obsolete-face-alias' under XEmacs, but old method.
88
89 * textmodes/ispell.el (ispell-with-no-warnings): XEmacs alternative
90 `with-no-warnings' definition or Emacs alias.
91 (ispell-command-loop, ispell-message): Use `ispell-with-no-warnings'.
92 (ispell-word): Do not use `region-p' if XEmacs.
93
8cab9efc
AM
942012-05-28 Agustín Martín Domingo <agustin.martin@hispalinux.es>
95
96 * textmodes/ispell.el (ispell-find-aspell-dictionaries):
97 Check for `ispell-dictionary-base-alist' instead of full
98 `ispell-dictionary-alist'.
99 (ispell-init-process): Show spellchecker when starting new Ispell
100 process.
101
fda91268
RZ
1022012-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
103
104 * progmodes/vhdl-mode.el: Sync with upstream 3.33.28.
105 http://www.iis.ee.ethz.ch/~zimmi/emacs/vhdl-mode.html#release-notes-3.33
106
694ea8e3
JB
1072012-05-27 Juanma Barranquero <lekktu@gmail.com>
108
109 * version.el (motif-version-string, gtk-version-string)
110 (ns-version-string): Declare.
111
e4d4f539
JL
1122012-05-27 Juri Linkov <juri@jurta.org>
113
114 * emacs-lisp/lisp-mode.el (eval-defun-2): Use `eval-sexp-add-defvars'
115 after the `eval-defun-1' specialcaseing
116 like in `edebug-eval-defun' (bug#10181).
117
118 * emacs-lisp/edebug.el (edebug-eval-defun): Set `face-documentation'
119 like in `eval-defun-1'.
120
33017faf 1212012-05-27 Eli Zaretskii <eliz@gnu.org>
b30b64b9 122
fda91268
RZ
123 * mail/sendmail.el (mail-yank-region):
124 Recognize rmail-yank-current-message in addition to insert-buffer.
125 Fixes mail-mode's "C-c C-r" that otherwise does nothing when invoked in
b30b64b9
EZ
126 a *mail* buffer created through rmail-start-mail with sendmail as
127 mail-user-agent.
128
33017faf
GM
1292012-05-27 Chong Yidong <cyd@gnu.org>
130
131 * net/gnutls.el (gnutls-min-prime-bits): Improve docstring.
132 Default to 256 (Bug#11267).
133
134 * help.el (describe-mode): Doc fix.
135
04188bb9
GM
1362012-05-26 Glenn Morris <rgm@gnu.org>
137
38264cc9
GM
138 * w32-fns.el (w32-init-info): Remove.
139 * paths.el (Info-default-directory-list): Add w32-init-info equivalent.
140
eb7afdad
GM
141 * info.el (info-initialize): For self-contained NS builds, put the
142 included info/ directory at the front. (Bug#2791)
143
04188bb9
GM
144 * paths.el (Info-default-directory-list): Make it a defcustom,
145 mainly so that we can use custom-initialize-delay.
146
a179e3f7
SM
1472012-05-26 Stefan Monnier <monnier@iro.umontreal.ca>
148
43416392
SM
149 * subr.el (buffer-has-markers-at): Mark obsolete.
150
a179e3f7 151 * subr.el (lambda): Use declare.
43416392 152
a179e3f7
SM
153 * emacs-lisp/lisp-mode.el (lambda):
154 * emacs-lisp/edebug.el (lambda): Move properties to its definition.
155
34a008d9
AH
1562012-05-26 Aaron S. Hawley <aaron.s.hawley@gmail.com>
157
158 * thingatpt.el (forward-same-syntax): Handle no ARG case. (Bug#11560)
159
0a3b289f
GM
1602012-05-26 Glenn Morris <rgm@gnu.org>
161
162 * progmodes/cc-mode.el (auto-mode-alist): Fix typo.
163
758c81e8
GM
1642012-05-25 Glenn Morris <rgm@gnu.org>
165
f9f334f0
GM
166 * paths.el: Remove no-byte-compile.
167 * loadup.el: No need to load paths.el uncompiled.
168
87eb79c2
GM
169 * image.el (imagemagick-types-inhibit): Doc fix.
170
758c81e8
GM
171 * version.el: Remove no-byte-compile and associated formatting.
172 * loadup.el: No need to load version.el uncompiled. AFAICS, this
173 is ancient code from when there was an "inc-vers.el".
174
e7e85dc0
SM
1752012-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
176
177 * progmodes/gdb-mi.el: Minor style changes.
178 (gdb-enable-debug, gdb-speedbar-auto-raise, gdb-many-windows):
179 Turn into minor modes.
180 (gdb--if-arrow): Rename from gdb-if-arrow, make it hygienic.
181 (gdb-mouse-until, gdb-mouse-jump): Adjust uses accordingly.
182 (gdb-shell): Remove unneeded let-binding.
183 (gdb-get-many-fields): Eliminate O(n²) behavior.
184
f31237a4
EZ
1852012-05-25 Eli Zaretskii <eliz@gnu.org>
186
187 * cus-start.el <vertical-centering-font-regexp>: Avoid warning on
188 platforms that don't link in fontset.c.
189
bc1b21bb
JL
1902012-05-25 Juri Linkov <juri@jurta.org>
191
192 Use the same diff color scheme as in modern VCSes (bug#10181).
193
194 * vc/diff-mode.el (diff-header, diff-file-header): Remove "green"
195 to avoid confusion with `diff-added' that now uses green colors.
196 (diff-removed): Use shades of red.
197 (diff-added): Use shades of green.
198 (diff-changed): Leave just the yellow color.
199 (diff-use-changed-face): New variable.
200 (diff-font-lock-keywords): Use `diff-use-changed-face' to decide
201 how to highlight context diff changes.
202 (diff-refine-change): Use shades of yellow.
203 (diff-refine-removed): New face that uses shades of red.
204 (diff-refine-added): New face that uses shades of green.
205 (diff-refine-hunk): Use `diff-refine-change', `diff-refine-added',
206 `diff-refine-removed' in the call to `smerge-refine-subst'
207 depending on the value of `diff-use-changed-face'.
208
209 * vc/smerge-mode.el (smerge-mine): Use shades of red.
210 (smerge-other): Use shades of green.
211 (smerge-base): Use shades of yellow.
212 (smerge-refined-change): Empty face.
213 (smerge-refined-removed): New face that uses shades of red.
214 (smerge-refined-added): New face that uses shades of green.
215 (smerge-refine-subst): Rename arg `props' to `props-c'. Add new
216 args `props-r' and `props-a', and use them. Doc fix.
217 (smerge-refine): Evaluate `smerge-use-changed-face' and depending
218 on its value use different faces `smerge-refined-change',
219 `smerge-refined-removed', `smerge-refined-added' in the call to
220 `smerge-refine-subst'.
221
222 * vc/ediff-init.el (ediff-current-diff-A, ediff-fine-diff-A):
223 Add face condition `min-colors 88' with shades of red.
224 (ediff-current-diff-B, ediff-fine-diff-B): Add face condition
225 `min-colors 88' with shades of green.
226 (ediff-current-diff-C, ediff-fine-diff-C): Add face condition
227 `min-colors 88' with shades of yellow.
228
6df9112c
GM
2292012-05-24 Glenn Morris <rgm@gnu.org>
230
ead5edc0
GM
231 * paths.el (prune-directory-list, remote-shell-program): Move to...
232 * files.el (prune-directory-list, remote-shell-program): ...here.
233 For the latter, delay initialization, prefer ssh, just search PATH.
234
f18b81e6
GM
235 * paths.el (term-file-prefix): Move to faces.el (the only user).
236 * faces.el (term-file-prefix): Move here, make it a defcustom.
237
ee2f89a6
GM
238 * paths.el (news-directory, news-path, news-inews-program):
239 Move to gnus/nnspool.el.
61a583ca 240
f8815e4c
GM
241 * paths.el (gnus-default-nntp-server): Remove (gnus.el defines it).
242
c8f3b42c
GM
243 * paths.el (rmail-file-name, rmail-spool-directory): Move from here...
244 * mail/rmail.el (rmail-file-name, rmail-spool-directory): ... to here.
245 Make the latter a defcustom, with a delayed initialization.
246
6df9112c
GM
247 * paths.el (gnus-nntp-service, gnus-local-organization): Remove.
248 These were deleted from Gnus itself late 2010.
249
5dadff36
JB
2502012-05-22 Juanma Barranquero <lekktu@gmail.com>
251
9e1701c6
JB
252 * progmodes/which-func.el (which-func-ff-hook):
253 Check against user-error, not error.
254
bd7239f5 255 * emacs-lisp/edebug.el (top): Do not load or set up loading of
5dadff36
JB
256 cl-specs.el, which no longer exists.
257
3290526d
GM
2582012-05-22 Glenn Morris <rgm@gnu.org>
259
260 * info.el (info-emacs-bug): New command.
261 * menu-bar.el (menu-bar-help-menu): Add "How to Report a Bug" to Help.
262 * mail/emacsbug.el (report-emacs-bug): Replace with info-emacs-bug.
263
ff0c3cfb
GM
2642012-05-21 Glenn Morris <rgm@gnu.org>
265
266 * makefile.w32-in (update-subdirs-SH):
267 * Makefile.in (update-subdirs): Update for moved update-subdirs.
268
5814f126
SM
2692012-05-21 Stefan Monnier <monnier@iro.umontreal.ca>
270
a52c0aa0
SM
271 * hi-lock.el (hi-lock-face-defaults): Move obsolete before definition.
272
5814f126
SM
273 * progmodes/compile.el (compilation-error-regexp-alist-alist):
274 Simplify Maven regexp, and make sure the file can't start with a space
275 (bug#11517).
276
b847032c
GM
2772012-05-21 Glenn Morris <rgm@gnu.org>
278
279 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
280 Scrap superfluous subshells.
281
3858bfe7
SM
2822012-05-19 Stefan Monnier <monnier@iro.umontreal.ca>
283
284 * emacs-lisp/bytecomp.el (byte-compile-root-dir): New var.
285 (byte-compile-warning-prefix, batch-byte-compile-file): Use it.
286
d14b0029
JB
2872012-05-19 Jay Belanger <jay.p.belanger@gmail.com>
288
289 * calc/calc.el (calc-ensure-consistent-units): New variable.
290
a52c0aa0
SM
291 * calc/calc-units.el (math-consistent-units-p)
292 (math-check-unit-consistency): New functions.
293 (calc-quick-units, calc-convert-units):
294 Use `math-check-unit-consistency' when `calc-ensure-consistent-units'
295 is non-nil.
d14b0029
JB
296 (calc-extract-units): Fix typo.
297
60c4db3a
SM
2982012-05-18 Stefan Monnier <monnier@iro.umontreal.ca>
299
77f3b62e
SM
300 * vc/vc-bzr.el (vc-bzr-state-heuristic): Save match-data around sha1.
301
60c4db3a
SM
302 * textmodes/flyspell.el: Commenting style, plus code simplifications.
303 (flyspell-default-deplacement-commands): Don't spell check after
304 repeated window/frame switches (e.g. triggered by mouse-movement).
305 (flyspell-delay-commands, flyspell-deplacement-commands): Use mapc.
306 (flyspell-debug-signal-word-checked): Simplify and fit in 80 cols.
307 (flyspell-casechars-cache, flyspell-ispell-casechars-cache)
308 (flyspell-not-casechars-cache, flyspell-ispell-not-casechars-cache):
309 Remove unused vars.
310 (flyspell-get-casechars, flyspell-get-not-casechars):
311 Simplify; Don't bother removing a ] just to add it back.
312 * textmodes/ispell.el (ispell-program-name): Use executable-find.
313
b1a10716
RS
3142012-05-18 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
315
316 * calc/calc-lang.el (math-C-parse-bess, math-C-parse-fma):
317 New functions.
bd7239f5 318 (math-function-table): Add support for more C functions.
b1a10716 319
3f1b25b5
AM
3202012-05-18 Agustín Martín Domingo <agustin.martin@hispalinux.es>
321
322 * flyspell.el (flyspell-check-pre-word-p, flyspell-check-word-p)
323 (flyspell-debug-signal-word-checked): Protect delay handling for
324 otherchars against empty otherchars.
325
b581bb5c
SM
3262012-05-18 Stefan Monnier <monnier@iro.umontreal.ca>
327
328 * emacs-lisp/lisp-mode.el (doc-string-elt): Move those properties to
329 their respective macro declarations.
330 * skeleton.el (define-skeleton):
331 * progmodes/compile.el (define-compilation-mode):
332 * ibuf-macs.el (define-ibuffer-sorter, define-ibuffer-op)
333 (define-ibuffer-filter):
334 * emacs-lisp/generic.el (define-generic-mode):
335 * emacs-lisp/easy-mmode.el (define-minor-mode)
336 (define-globalized-minor-mode):
337 * emacs-lisp/cl-macs.el (defun*, defmacro*, defstruct, deftype):
338 * emacs-lisp/byte-run.el (defsubst):
339 * custom.el (deftheme): Add doc-string metadata.
340
70b8ef8f
SM
3412012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
342
343 * emacs-lisp/cl-macs.el, emacs-lisp/cl.el: Move indent info.
344
b1198e17
SM
3452012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
346
9abdc45d
SM
347 * emacs-lisp/pcase.el (pcase--u1): Avoid ((lambda ...) ...).
348
b1198e17
SM
349 * emacs-lisp/cl.el: Add edebug specs from cl-specs.el.
350 * emacs-lisp/cl-macs.el: Idem.
351 * emacs-lisp/cl-specs.el: Remove.
352
4735906a
SM
3532012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
354
355 Minor renaming of internal CL functions and variables.
356 * emacs-lisp/cl-seq.el (cl--adjoin): Rename from cl-adjoin.
357 (cl--position): Rename from cl-position.
358 (cl--delete-duplicates): Rename from cl-delete-duplicates.
359 * emacs-lisp/cl.el (cl--gensym-counter): Rename from *gensym-counter*.
360 (cl--random-state): Rename from *random-state*.
361
ac348012
SM
3622012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
363
364 * emacs-lisp/cl-macs.el (cl-transform-lambda): Don't add spurious
365 parens around the arg list (bug#11499).
366
a0a79cde
JL
3672012-05-17 Juri Linkov <juri@jurta.org>
368
369 * isearch.el (word-search-regexp, word-search-backward)
370 (word-search-forward, word-search-backward-lax)
371 (word-search-forward-lax): Move functions from search.c
372 (bug#10145, bug#11381).
373
65034a51
AM
3742012-05-16 Agustín Martín Domingo <agustin.martin@hispalinux.es>
375
376 * flyspell.el (flyspell-check-pre-word-p, flyspell-check-word-p)
377 (flyspell-debug-signal-word-checked): Delay for otherchars as for
378 normal word components.
379
1a72a195
SM
3802012-05-16 Stefan Monnier <monnier@iro.umontreal.ca>
381
382 * minibuffer.el (completion--sifn-requote): Fix last change.
383 (minibuffer-local-must-match-filename-map):
384 Move define-obsolete-variable-alias before its var.
385
fdb058c2
SM
3862012-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
387
c41045e6
SM
388 * emacs-lisp/pcase.el (pcase-let*, pcase-let): Fix edebug spec.
389
036dfb8b
SM
390 * minibuffer.el (completion--sifn-requote): Handle sifn's truncation
391 behavior.
392 (completion--string-equal-p): New function.
393 (completion--twq-all): Use it to get better assertion failure data.
394
2473256d
SM
395 Only handle ".." and '..' quoting in shell-mode (bug#11466).
396 * shell.el (shell--unquote&requote-argument, shell--unquote-argument)
397 (shell--requote-argument): New functions.
398 (shell-completion-vars): Use them.
399 (shell--parse-pcomplete-arguments): Rename from
400 shell-parse-pcomplete-arguments.
401 * comint.el (comint-word): Obey comint-file-name-quote-list. Simplify.
402 (comint--unquote&requote-argument): Don't handle ".." and '..' quoting.
403 Obey comint-file-name-quote-list.
404
fdb058c2
SM
405 * emacs-lisp/smie.el (smie-indent--bolp-1): New function.
406 (smie-indent-keyword): Use it.
407
51fa99f1
SM
4082012-05-14 Stefan Merten <smerten@oekonux.de>
409
410 * textmodes/rst.el (rst-re-alist): Fix loading (bug#11462).
411
e18afed7 4122012-05-14 Stefan Monnier <monnier@iro.umontreal.ca>
d9d1dfef
SM
413
414 * net/rlogin.el (rlogin-mode-map): Fix last change.
415
e18afed7 4162012-05-14 Jason L. Wright <jason.wright@inl.gov> (tiny change)
8633b1f4
JW
417
418 * mail/smtpmail.el (smtpmail-send-command): Send the command and
419 the following \r\n using a single `process-send-string', since the
420 Lotus SMTP server refuses to accept any commands if they are sent
e18afed7 421 with two `process-send-string's (Bug#11444).
8633b1f4 422
e18afed7 4232012-05-14 Stefan Monnier <monnier@iro.umontreal.ca>
fe263b8f 424
fdb058c2
SM
425 * shell.el (shell-parse-pcomplete-arguments):
426 Obey pcomplete-arg-quote-list inside double-quoted args (Bug#11348).
e18afed7 427
2d21d7f6
WJ
4282012-05-14 Wolfgang Jenkner <wjenkner@inode.at>
429
e18afed7 430 * image-mode.el: Fit to width/height for rotated images (Bug#11431).
2d21d7f6
WJ
431 (image-transform-scale, image-transform-right-angle-fudge): New vars.
432 (image-transform-width, image-transform-fit-width): New functions.
433 (image-transform-properties): Use them.
434 (image-transform-check-size): New function.
435 (image-toggle-display-image): Use it (for testing).
436 (image-transform-set-rotation): Reduce angle mod 360.
437 Delete obsolete comment.
438
7102e6d0
WJ
4392012-05-14 Wolfgang Jenkner <wjenkner@inode.at>
440
441 * image-mode.el: Fix scaling (bug#11399).
442 (image-transform-resize): Doc fix.
443 (image-transform-properties): Default scale is 1 and height should
444 be an integer.
445
06bc5e6e
SM
4462012-05-13 Johan Bockgård <bojohan@gnu.org>
447
448 * emacs-lisp/smie.el (smie-next-sexp): Use accessor `op-forw' rather
449 than hard-coding `car', to fix misbehavior when moving forward.
450
0ae03b6a
CY
4512012-05-13 Chong Yidong <cyd@gnu.org>
452
453 * emacs-lisp/tabulated-list.el (tabulated-list-format)
454 (tabulated-list-entries, tabulated-list-padding)
455 (tabulated-list-sort-key): Make permanent-local.
456
457 * ebuff-menu.el: Adapt to Buffer Menu changes (Bug#11455).
458 (electric-buffer-list): Put electric buffer menu
459 command descriptions in this docstring, instead of the docstring
460 of electric-buffer-menu-mode. Code cleanups.
461 (electric-buffer-menu-mode): Use define-derived-mode. Rename from
462 Electric-buffer-menu-mode.
463 (electric-buffer-update-highlight): Minor code cleanup.
464
205a7391
MA
4652012-05-13 Michael Albinus <michael.albinus@gmx.de>
466
467 * net/dbus.el (dbus-call-method): Restore events not from D-Bus.
468 (Bug#11447)
469
e5bd0a28
SM
4702012-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
471
472 Move define-obsolete-variable-alias before the var's definition.
473 * vc/log-edit.el (vc-comment-ring, vc-comment-ring-index):
474 * tooltip.el (tooltip-hook):
475 * textmodes/reftex-toc.el (reftex-toc-map):
476 * textmodes/reftex-sel.el (reftex-select-label-map)
477 (reftex-select-bib-map):
478 * textmodes/reftex-index.el (reftex-index-map)
479 (reftex-index-phrases-map):
480 * speedbar.el (speedbar-syntax-table, speedbar-key-map):
481 * progmodes/meta-mode.el (meta-mode-map):
482 * novice.el (disabled-command-hook):
483 * loadhist.el (unload-hook-features-list):
484 * frame.el (blink-cursor):
485 * files.el (find-file-not-found-hooks, write-file-hooks)
486 (write-contents-hooks):
487 * emulation/tpu-edt.el (GOLD-map):
488 * emacs-lock.el (emacs-lock-from-exiting):
489 * emacs-lisp/generic.el (generic-font-lock-defaults):
490 * emacs-lisp/chart.el (chart-map):
491 * dos-fns.el (register-name-alist):
492 * dired-x.el (dired-omit-files-p):
493 * desktop.el (desktop-enable):
494 * cus-edit.el (custom-mode-hook):
495 * buff-menu.el (buffer-menu-mode-hook):
496 * bookmark.el (bookmark-read-annotation-text-func)
497 (bookmark-exit-hooks):
498 * allout.el (allout-mode-deactivate-hook)
499 (allout-exposure-change-hook, allout-structure-added-hook)
500 (allout-structure-deleted-hook, allout-structure-shifted-hook):
501 * dirtrack.el (dirtrack-toggle, dirtrackp, dirtrack-debug-toggle)
502 (dirtrack-debug): Move call to define-obsolete-variable-alias so it
503 comes before the corresponding variable's definition.
504
ac59c2f6
CY
5052012-05-12 Chong Yidong <cyd@gnu.org>
506
507 * buff-menu.el (Buffer-menu-buffer+size-width): Doc fix (Bug#11454).
0d909786
CY
508 (Buffer-menu-mouse-select): Restore function (Bug#11459).
509 (Buffer-menu-mode-map): Bind it.
510 (Buffer-menu--pretty-name): Add a mouse-face property.
ac59c2f6 511
dee6c9a3
SM
5122012-05-11 Stefan Monnier <monnier@iro.umontreal.ca>
513
2171cea5
SM
514 * progmodes/prolog.el: Use SMIE. Cleanup regexp setup.
515 (prolog-upper-case-string, prolog-lower-case-string)
516 (prolog-atom-char-regexp, prolog-atom-regexp): Initialize in defconst.
517 (prolog-use-smie, prolog-smie-grammar): New vars.
518 (prolog-smie-forward-token, prolog-smie-backward-token)
519 (prolog-smie-rules): New funs.
520 (prolog-comment-indent): Remove.
521 (prolog-mode-variables): Use default comment indentation instead.
522 Setup SMIE.
523 (prolog-build-case-strings, prolog-set-atom-regexps): Remove.
524 (prolog-mode): Don't call them any more.
525 (prolog-electric-colon, prolog-electric-dash)
526 (prolog-edit-menu-insert-move): Use indent-according-to-mode.
527
aa0382bd
SM
528 * dabbrev.el (dabbrev-expand): Make "no expansion found" a user-error.
529
dbacb4bd
SM
530 * minibuffer.el (completion--twq-all): Again, allow case differences.
531
13bdd94c
SM
532 * term.el: Move keymap initialization code to be more idiomatic.
533 (term-signals-menu, term-mode-map, term-raw-map, term-raw-escape-map)
534 (term-terminal-menu): Move initialization into declaration.
535 (term-escape-char): Let the user set it in her .emacs.
536
ff46c759
SM
537 * progmodes/sh-script.el: Use post-self-insert-hook&electric-pair-mode.
538 Provide SMIE-based indentation (not enabled by default yet).
539 (sh-mode-map): Don't bind electric keys.
540 Use electric-pair-mode instead of skeleton-pair.
541 (sh-assignment-regexp): Fit within 80 columns.
542 (sh-indent-supported): Specify actual shell name instead of boolean.
543 (sh--maybe-here-document): New fun, from sh-maybe-here-document.
544 (sh-maybe-here-document): Use it. Make obsolete.
545 (sh-electric-here-document-mode) New minor mode.
546 (sh-mode): Use it. Don't set sh-indent-supported-here here.
547 (sh-smie-sh-grammar, sh-smie--sh-operators, sh-smie--sh-operators-re)
548 (sh-smie--sh-operators-back-re, sh-indent-after-continuation)
549 (sh-smie-rc-grammar, sh-use-smie): New vars.
550 (sh-smie--keyword-p, sh-smie--newline-semi-p, sh-smie--sh-keyword-p)
551 (sh-smie-sh-forward-token, sh-smie--looking-back-at-continuation-p)
552 (sh-smie-sh-backward-token, sh-smie--continuation-start-indent)
553 (sh-smie-sh-rules, sh-smie-rc-rules, sh-smie--sh-keyword-in-p)
554 (sh-smie--rc-after-special-arg-p, sh-smie-rc-backward-token)
555 (sh-smie-sh-rules, sh-smie--rc-newline-semi-p): New functions.
556 (sh-set-shell): Use smie-setup if requested.
557
dee6c9a3
SM
558 * term.el (term-set-escape-char): Properly set term-escape-char.
559 See http://stackoverflow.com/questions/10524656.
560
9f9aa044
CY
5612012-05-10 Chong Yidong <cyd@gnu.org>
562
563 * ffap.el (ffap-url-unwrap-local): Make it work right (Bug#9131).
564 Use url-generic-parse-url, and handle host names and Windows
565 filenames properly.
566 (ffap-url-unwrap-remote): Use url-generic-parse-url.
567 (ffap-url-unwrap-remote): Accept list values, specifying a list of
568 URL schemes to work on.
569 (ffap--toggle-read-only): New function.
570 (ffap-read-only, ffap-read-only-other-window)
571 (ffap-read-only-other-frame): Use it.
572 (ffap-fixup-url): Don't check ffap-ftp-regexp, since it is not
573 necessary for ffap-url-unwrap-remote.
574
836d29b3
DA
5752012-05-10 Dave Abrahams <dave@boostpro.com>
576
577 * cus-start.el (create-lockfiles): Add it.
578
00fd78ed
CY
5792012-05-09 Chong Yidong <cyd@gnu.org>
580
581 * net/browse-url.el (browse-url-url-encode-chars): Use upper-case.
582 (browse-url-encode-url): Encode spaces and quotes (Bug#6300).
583
666b903b 5842012-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
1cb51c12
SM
585
586 * shell.el (shell-completion-vars): Fix last change (bug#11348).
587
666b903b 5882012-05-09 Chong Yidong <cyd@gnu.org>
18f00515
CY
589
590 * ansi-color.el (ansi-color-process-output): Check for validity of
591 comint-last-output-start before using it. This avoids a bad
592 interaction with gdb-mi's input/output buffer.
593
666b903b 5942012-05-09 Glenn Morris <rgm@gnu.org>
fd075e7b
GM
595
596 * files.el (dir-locals-read-from-file):
597 Mention dir-locals in any error message.
598
666b903b 5992012-05-09 Chong Yidong <cyd@gnu.org>
25f292cd
CY
600
601 * emacs-lisp/package.el (package-built-in-p): Handle the `emacs'
602 package (Bug#11410).
603
f677562b
CY
604 * emacs-lisp/package.el (package-buffer-info): Avoid putting local
605 variables into description.
606
666b903b 6072012-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
3d53ee1b
SM
608
609 * shell.el (shell-completion-vars): Set pcomplete-arg-quote-list like
610 shell-delimiter-argument-list (bug#11348).
611 (shell-parse-pcomplete-arguments): Obey pcomplete-arg-quote-list.
612
b499d8d0
JB
6132012-05-09 Juanma Barranquero <lekktu@gmail.com>
614
8f6b6da8
JB
615 * textmodes/rst.el: Silence byte-compiler warnings.
616 (rst-re-alist, rst-reset-section-caches): Move around.
617 (rst-re): Use `characterp', not `char-valid-p'.
618 (font-lock-beg, font-lock-end): Declare.
619
4824146a
JB
620 * progmodes/idlw-shell.el (specs): Remove reference to deleted
621 variable `idlwave-shell-activate-alt-keybindings' and simplify.
622
b499d8d0
JB
623 * eshell/esh-cmd.el (eshell-debug-command): Fix typo in previous change.
624
ad89bb83
GM
6252012-05-08 Glenn Morris <rgm@gnu.org>
626
627 * files.el (auto-mode-alist): Treat ".make" like ".mk".
628
8bba5a75
SM
6292012-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
630
49ed9c8e
SM
631 * vc/log-edit.el: Add GNU coding standards highlighting.
632 (log-edit-font-lock-gnu-style)
633 (log-edit-font-lock-gnu-keywords): New vars.
634 (log-edit-font-lock-keywords): New fun.
635 (log-edit-mode): Don't fold case in font-lock.
636 (log-edit-font-lock-keywords): Do not assume case-folding.
637
07d00b56
SM
638 * imenu.el: Misc cleanup. Make docstrings out of comments.
639 Use lexical-binding.
640 (imenu--index-alist, imenu--last-menubar-index-alist)
641 (imenu-menubar-modified-tick): Use defvar-local.
642 (imenu--split-menu): Remove unused var.
643 (imenu--cleanup-seen): Declare as global.
644 (imenu--cleanup): Use dolist.
645
8bba5a75
SM
646 * subr.el (defvar-local): Add debug spec and doc-string position.
647
5075bdb5
GM
6482012-05-08 Glenn Morris <rgm@gnu.org>
649
c052c904
GM
650 * lisp/language/burmese.el, language/cham.el, language/czech.el:
651 * language/english.el, language/georgian.el, language/greek.el:
652 * language/japanese.el, language/khmer.el, language/korean.el:
653 * language/lao.el, language/misc-lang.el, language/romanian.el:
654 * language/sinhala.el, language/slovak.el, language/tai-viet.el:
655 * language/thai.el, language/utf-8-lang.el:
656 Remove no-byte-compile setting.
657
5075bdb5
GM
658 * play/zone.el (zone-pgm-stress): Don't pollute kill-ring. (Bug#11388)
659
06f679a7
AH
6602012-05-08 Aaron S. Hawley <aaron.s.hawley@gmail.com>
661
662 * progmodes/make-mode.el (makefile-browse):
663 Remove unnecessary interactive. (Bug#11324)
664
03794570
GM
6652012-05-07 Glenn Morris <rgm@gnu.org>
666
af8630f4
GM
667 * forms-d2.el, forms-pass.el: Move to ../etc/forms directory.
668
03794570
GM
669 * international/mule.el (find-auto-coding): Make "unibyte: t" obsolete.
670
f0809a9d
SM
6712012-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
672
28be5ce7
SM
673 * loadup.el: Preload newcomment.el.
674 * newcomment.el: Move autoload-only code to toplevel.
675
f0809a9d
SM
676 * buff-menu.el (list-buffers--refresh): Mark `size' as right-align.
677 * emacs-lisp/tabulated-list.el (tabulated-list-init-header):
678 Handle new :right-align column property.
679 (tabulated-list-print-col): Idem, plus use `display' text-property to
680 try and preserve alignment for variable pitch fonts.
681
1241b724
CY
6822012-05-07 Chong Yidong <cyd@gnu.org>
683
684 * emacs-lisp/tabulated-list.el: Add no-header-line alternative.
685 (tabulated-list-use-header-line): New var.
686 (tabulated-list-init-header): Use it.
687 (tabulated-list-print-fake-header): New function.
688 (tabulated-list-print): Use it.
689 (tabulated-list-sort-button-map): Add non-header-line commands.
690 (tabulated-list-init-header): Add column name property to basic
691 labels as well.
692 (tabulated-list-col-sort): Handle non-header-line button case.
693 (tabulated-list--sort-by-column-name): Fix a corner case.
694
f0809a9d
SM
695 * buff-menu.el (list-buffers--refresh):
696 Handle Buffer-menu-use-header-line.
1241b724 697
e5f9458f
CY
6982012-05-06 Chong Yidong <cyd@gnu.org>
699
700 * buff-menu.el: Convert to Tabulated List mode.
701 (Buffer-menu-buffer+size-width): Make obsolete.
702 (Buffer-menu-name-width, Buffer-menu-size-width): New variables.
703 (Buffer-menu-mode-map): Inherit from tabulated-list-mode-map.
704 (Buffer-menu-mode): Derive from tabulated-list-mode. Move command
705 documentation into docstring of buffer-menu.
706 (Buffer-menu-toggle-files-only): Add an informative message.
707 (Buffer-menu-sort): Convert to alias for tabulated-list-sort.
708 (Buffer-menu-buffer, Buffer-menu-beginning, Buffer-menu-mark)
709 (Buffer-menu-unmark, Buffer-menu-backup-unmark)
710 (Buffer-menu-delete, Buffer-menu-save, Buffer-menu-not-modified)
711 (Buffer-menu-execute, Buffer-menu-select)
712 (Buffer-menu-marked-buffers, Buffer-menu-toggle-read-only)
713 (Buffer-menu-bury): Use Tabulated List machinery.
714 (Buffer-menu-mouse-select, Buffer-menu-sort-by-column)
715 (Buffer-menu-sort-button-map, Buffer-menu-make-sort-button):
f0809a9d 716 Delete.
e5f9458f
CY
717 (list-buffers--refresh): New function.
718 (list-buffers-noselect): Use it.
719 (tabulated-list-entry-size->, Buffer-menu--pretty-name)
720 (Buffer-menu--pretty-file-name): New helper functions.
721
722 * loadup.el: Preload tabulated-list.
723
724 * emacs-lisp/tabulated-list.el (tabulated-list-sort): Rename from
725 tabulated-list-sort-column.
726 (tabulated-list-init-header): Add the initial aligning space even
727 if tabulated-list-padding is zero.
728
e129292c
CS
7292012-05-06 Christopher Schmidt <christopher@ch.ristopher.com>
730
731 * emacs-lisp/cl-macs.el (cl-expr-contains): Handle cons cells
732 whose cdr is not a cons cell correctly (bug#11038).
733
6632d361
CY
7342012-05-06 Chong Yidong <cyd@gnu.org>
735
e129292c
CS
736 * emacs-lisp/tabulated-list.el (tabulated-list-format):
737 Accept additional plist in column descriptors.
6632d361
CY
738 (tabulated-list-init-header): Obey it.
739 (tabulated-list-get-entry): New function.
740 (tabulated-list-put-tag): Use it. Use string-width instead of
741 length.
742 (tabulated-list--column-number): New function.
743 (tabulated-list-print): Use it.
e129292c
CS
744 (tabulated-list-print-col): New function.
745 Set `tabulated-list-column-name' property on each column's text.
6632d361 746 (tabulated-list-print-entry): Use it.
e129292c
CS
747 (tabulated-list-delete-entry, tabulated-list-set-col):
748 New functions.
6632d361
CY
749 (tabulated-list-sort-column): New command (Bug#11337).
750
3cc99f68
CY
751 * buff-menu.el (list-buffers): Move C-x C-b binding from
752 buff-menu.el to bindings.el.
753
754 * ebuff-menu.el (Electric-buffer-menu-undefined): Use the
755 :advertised-binding feature.
756
52b61776
TN
7572012-05-06 Troels Nielsen <bn.troels@gmail.com> (tiny change)
758
759 * progmodes/compile.el (compilation-internal-error-properties):
760 Calculate start position correctly when end-col is set but
761 end-line is not (Bug#11382).
762
ebfe2597
WJ
7632012-05-06 Wolfgang Jenkner <wjenkner@inode.at>
764
765 * man.el (Man-unindent): Use text-property-default-nonsticky to
766 prevent untabify from inheriting face properties (Bug#11408).
767
a43f98b3
GM
7682012-05-05 Glenn Morris <rgm@gnu.org>
769
48176e8b
GM
770 * calendar/cal-html.el: Optionally include holidays in the output.
771 Suggested by Ed Reingold <reingold@emr.cs.iit.edu>.
772 (cal-html-holidays): New option.
773 (cal-html-css-default): Add holiday entry.
774 (holiday-in-range): Autoload it.
775 (cal-html-htmlify-entry): Add optional class argument.
776 (cal-html-htmlify-list): Add optional holidays argument.
777 (cal-html-insert-agenda-days): Include holidays in the output.
778 (cal-html-one-month): Maybe include holidays.
779
a43f98b3
GM
780 * calendar/holidays.el (holiday-in-range):
781 Move here from cal-tex-list-holidays.
782 * calendar/cal-tex.el (cal-tex-list-holidays):
783 Make it an obsolete alias for holiday-in-range. Update all callers.
784
fef9d149 7852012-05-05 Chong Yidong <cyd@gnu.org>
eceeb5fc
CY
786
787 * select.el (xselect--encode-string): Always use utf-8 for TEXT on
788 Nextstep.
789
248da2f4
RW
7902012-05-05 Ransom Williams <auvergnerw@gmail.com> (tiny change)
791
792 * files.el (file-auto-mode-skip): New var.
793 (set-auto-mode-1): Use it.
794
f95e9344
SM
7952012-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
796
df96ab1e
SM
797 * repeat.el: Use lexical-binding.
798 (repeat-last-self-insert, repeat-num-input-keys-at-self-insert)
799 (repeat-undo-count): Remove.
800 (repeat):
801 * progmodes/octave-mod.el (octave-abbrev-start):
802 * progmodes/f90.el (f90-abbrev-start):
803 * face-remap.el (text-scale-adjust):
804 * kmacro.el (kmacro-call-macro): Use set-temporary-overlay-map.
805
5342bb06
SM
806 * emacs-lisp/pcase.el (pcase--let*): New function.
807 (pcase--expand, pcase-codegen, pcase--q1): Use it to reduce nesting
808 a bit more.
809 (pcase--split-pred): Be more clever about ruling out overlap between
810 a predicate and some constant pattern.
811 (pcase--q1): Use `null' instead of (eq foo nil).
812
f95e9344
SM
813 * subr.el (setq-local, defvar-local): New macros.
814 (kbd): Redefine as an alias.
815 (with-selected-window): Leave unrelated frames alone.
816 (set-temporary-overlay-map): New function.
817
71873e2b
SM
8182012-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
819
820 * subr.el (user-error): New function.
821 * window.el (switch-to-buffer):
822 * vc/smerge-mode.el (smerge-resolve-function, smerge-resolve)
823 (smerge-match-conflict):
824 * simple.el (previous-matching-history-element)
825 (next-matching-history-element, goto-history-element, undo-more)
826 (undo-start):
827 * progmodes/etags.el (visit-tags-table-buffer, find-tag-tag)
828 (find-tag-noselect, find-tag-in-order, etags-goto-tag-location)
829 (next-file, tags-loop-scan, list-tags, complete-tag):
830 * progmodes/compile.el (compilation-loop):
831 * mouse.el (mouse-minibuffer-check):
832 * man.el (Man-bgproc-sentinel, Man-goto-page):
833 * info.el (Info-find-node-2, Info-extract-pointer, Info-history-back)
834 (Info-history-forward, Info-follow-reference, Info-menu)
835 (Info-extract-menu-item, Info-extract-menu-counting)
836 (Info-forward-node, Info-backward-node, Info-next-menu-item)
837 (Info-last-menu-item, Info-next-preorder, Info-last-preorder)
838 (Info-next-reference, Info-prev-reference, Info-index)
839 (Info-index-next, Info-follow-nearest-node)
840 (Info-copy-current-node-name):
841 * imenu.el (imenu--make-index-alist)
842 (imenu-default-create-index-function, imenu-add-to-menubar):
843 * files.el (basic-save-buffer, recover-file):
844 * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
845 * emacs-lisp/checkdoc.el (checkdoc-continue, checkdoc-comments)
846 (checkdoc-message-text, checkdoc-defun):
847 * dabbrev.el (dabbrev-completion, dabbrev--abbrev-at-point):
848 * cus-edit.el (customize-changed-options, customize-rogue)
849 (customize-saved, custom-variable-set, custom-variable-mark-to-save)
850 (custom-variable-mark-to-reset-standard)
851 (custom-variable-reset-backup, custom-face-mark-to-reset-standard)
852 (custom-file):
853 * completion.el (check-completion-length):
854 * comint.el (comint-search-arg)
855 (comint-previous-matching-input-string-position)
856 (comint-previous-matching-input)
857 (comint-replace-by-expanded-history-before-point, comint-send-input)
858 (comint-copy-old-input, comint-backward-matching-input)
859 (comint-goto-process-mark, comint-set-process-mark):
860 * calendar/calendar.el (calendar-cursor-to-date): Use it.
861 * bindings.el (debug-ignored-errors): Remove regexps, add `user-error'.
862
8a61ee22
SM
8632012-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
864
66408d1e
SM
865 * dabbrev.el (dabbrev--ignore-case-p): New function.
866 (dabbrev-completion, dabbrev-expand, dabbrev--substitute-expansion):
867 Use it.
868
8a61ee22
SM
869 * files.el (automount-dir-prefix): Mark as obsolete.
870
3c74813a
GM
8712012-05-04 Glenn Morris <rgm@gnu.org>
872
873 * patcomp.el, play/bruce.el: Move to obsolete/.
874
0bfcf5c5
PE
8752012-05-04 Paul Eggert <eggert@cs.ucla.edu>
876
877 Fix minor Y10k bugs.
878 * arc-mode.el (archive-unixdate):
879 * autoinsert.el (auto-insert-alist):
880 * calc/calc-forms.el (math-this-year):
881 * emacs-lisp/copyright.el (copyright-current-year)
882 (copyright-update-year, copyright):
883 * tar-mode.el (tar-clip-time-string):
884 * time.el (display-time-update):
885 Don't assume years have 4 digits.
886
78f3273a
CY
8872012-05-04 Chong Yidong <cyd@gnu.org>
888
889 * dos-w32.el (file-name-buffer-file-type-alist)
890 (direct-print-region-use-command-dot-com):
891 * ffap.el (ffap-menu-regexp):
892 * find-file.el (ff-special-constructs):
893 * follow.el (follow-debug):
894 * forms.el (forms--debug):
895 * iswitchb.el (iswitchb-all-frames):
896 * ido.el (ido-all-frames):
897 * emacs-lisp/timer.el (timer-max-repeats):
898 * mail/feedmail.el (feedmail-mail-send-hook)
899 (feedmail-mail-send-hook-queued):
900 * mail/footnote.el (footnote-signature-separator):
901 * mail/mailabbrev.el (mail-alias-separator-string)
902 (mail-abbrev-mode-regexp):
903 * mail/rmail.el (rmail-speedbar-match-folder-regexp):
904 * progmodes/idlwave.el (idlwave-libinfo-file)
905 (idlwave-default-completion-case-is-down)
906 (idlwave-library-routines): Convert defvars to defcustoms.
907
908 * mail/rmail.el (rmail-decode-mime-charset):
909 * progmodes/idlw-shell.el (idlwave-shell-print-expression-function)
910 (idlwave-shell-fix-inserted-breaks)
911 (idlwave-shell-activate-alt-keybindings)
912 (idlwave-shell-use-breakpoint-glyph):
913 * facemenu.el (facemenu-unlisted-faces): Delete obsolete vars.
914
f7ae6719
SM
9152012-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
916
917 * minibuffer.el (completion--twq-all): Beware completion-ignore-case.
918
47086495
WS
9192012-05-03 Wilson Snyder <wsnyder@wsnyder.org>
920
921 * progmodes/verilog-mode.el (font-lock-keywords):
922 Fix mis-highligting auto. Reported by Craig Barner.
923 (verilog-auto, verilog-auto-undef): Add AUTOUNDEF to remove
924 defines from global name space. Reported by Dan Dever.
925 (verilog-auto-reset, verilog-auto-reset-widths)
926 (verilog-auto-tieoff): Support using unbased numbers for
927 AUTORESET and AUTOTIEOFF.
928 (verilog-submit-bug-report): Update variable list.
929 (verilog-read-auto-params): Fix AUTOINPUT regexps containing
930 parenthesis from not matching. Reported by Michael Rytting.
931 (verilog-auto-template-lint): Fix hash error when linting modules
932 with no used templates.
933 (verilog-warn, verilog-warn-error)
934 (verilog-warn-fatal): When non-interactive report multiple
935 warnings before exiting. Suggested by Brad Dobbie.
936 (verilog-auto-template-lint, verilog-auto-template-warn-unused)
937 (verilog-read-auto-template): Add `verilog-auto-template-warn-unused'
938 to report unused template errors. Reported by Brad Dobbie.
939 (verilog-read-decls): Fix AUTOWIRE etc on supply0, supply1 type
940 nets, bug438. Reported by Vns Blore.
941 (verilog-auto-inout-module, verilog-auto-reg)
942 (verilog-read-decls, verilog-read-sub-decls-sig)
943 (verilog-signals-edit-wire-reg, verilog-signals-with):
944 Fix passing of Verilog data types in ANSI input/output ports
945 such as "output logic" into the AUTOs. Special case "wire" and
946 "reg" for backwards compatibility presuming Verilog 2001.
947 (verilog-auto-ascii-enum): Add "auto enum" as alias.
948 (verilog-preprocess): Fix replication of preprocess output.
949 Reported by Brad Dobbie.
950 (verilog-auto-inst-interfaced-ports):
951 Create verilog-auto-inst-interfaced-ports, bug429.
952 Reported by Julian Gorfajn.
953 (verilog-after-save-font-hook)
954 (verilog-before-save-font-hook): New variable.
955 (verilog-modi-cache-results, verilog-save-font-mod-hooked)
956 (verilog-save-font-mods): Wrap disabling fontification, reported
957 by David Rogoff.
958 (verilog-do-indent, verilog-pretty-declarations-auto)
959 (verilog-sk-def-reg): Fix obeying `verilog-auto-lineup', bug305.
960 Reported by Pierre-David Pfister.
961 (verilog-set-auto-endcomments): Fix endtask auto comments outside
962 of class declarations, bug292. Reported by Kevin Heilman.
963 (verilog-read-decls): Fix 'parameter type' not appearing in
964 AUTOINSTPARAM, bug340. Reported by Jonathan Greenlaw.
965 (verilog-auto-logic): Fix when AUTOLOGIC present to properly do
966 AUTOINPUTs, bug411. Reported by Jonathan Greenlaw.
967 (verilog-read-auto-lisp): Avoid syntax-ppss warning on AUTOLISP.
968 Reported by David Kravitz.
969
9702012-05-03 Michael McNamara <mac@mail.brushroad.com>
971
972 * progmodes/verilog-mode.el (verilog-pretty-expr): Don't line up
973 assignment with tests in ifs and for loops.
974 (verilog-extended-complete-re, verilog-complete-reg): Change so
975 that DPI inport functions don't look like fuction declarations.
976 (verilog-pretty-expr): Don't line up assignment
977 operations to the test and increment in if and for loops
978 (verilog-extended-complete-re, verilog-complete-reg): Change so
979 that DPI inport functions don't look like fuction declarations
980
2e51d4b5
KH
9812012-05-03 Kenichi Handa <handa@m17n.org>
982
983 * mail/rmailmm.el (rmail-show-mime): Catch an error caused by text
c846da43 984 decoding, and show a warning message without signaling an error
2e51d4b5
KH
985 (Bug#11282).
986
2bd785a2
SM
9872012-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
988
989 * emacs-lisp/bytecomp.el
990 (byte-compile-file-form-custom-declare-variable): Compile all elements,
991 since cconv.el might have introduced :fun-body, internal-make-closure,
992 and friends for bytecomp to handle (bug#11391).
993 * custom.el (defcustom): Avoid ((λ ..) ..).
994
99d27583
SM
9952012-05-02 Stefan Monnier <monnier@iro.umontreal.ca>
996
997 * subr.el (read-passwd): Better clean after ourselves (bug#11392).
998
55a71479
JB
9992012-05-02 Juanma Barranquero <lekktu@gmail.com>
1000
1001 * notifications.el (dbus-debug):
1002 * term/linux.el (gpm-mouse-enable):
1003 * term/screen.el (xterm-register-default-colors): Declare.
1004
7b97c764
CY
10052012-05-02 Chong Yidong <cyd@gnu.org>
1006
2bc356d7
CY
1007 * cus-start.el (gc-cons-percentage, exec-suffixes)
1008 (dos-display-scancodes, dos-hyper-key, dos-super-key)
1009 (dos-keypad-mode, debug-on-signal, vertical-centering-font-regexp)
1010 (make-cursor-line-fully-visible, void-text-area-pointer)
1011 (font-list-limit): Add customization data.
1012
7b97c764
CY
1013 * allout.el (allout-exposure-change-functions)
1014 (allout-structure-added-functions)
1015 (allout-structure-deleted-functions)
1016 (allout-structure-shifted-functions): Rename abnormal hooks from
1017 *-hook, and convert to defcustoms.
5d3385a0
JB
1018 (allout-after-copy-or-kill-hook, allout-post-undo-hook):
1019 Convert to defcustoms.
7b97c764
CY
1020 (allout-mode-hook, allout-mode-deactivate-hook): Doc fix.
1021
1022 * allout-widgets.el: Hook callers changed.
1023
90207a15 10242012-05-02 Eli Zaretskii <eliz@gnu.org>
91af76bf
EZ
1025
1026 * mail/rmail.el (rmail-yank-current-message): Use the encoding of
1027 the yanked message in preference to the default value of
1028 buffer-file-coding-system.
1029
90207a15 10302012-05-02 Martin Rudalics <rudalics@gmx.at>
d9558cad 1031
5d3385a0
JB
1032 * window.el (display-buffer--action-function-custom-type):
1033 Fix entry.
d9558cad 1034
90207a15 10352012-05-02 Alan Mackenzie <acm@muc.de>
09affde0
AM
1036
1037 * progmodes/cc-defs.el (c-version): Update to 5.32.3.
1038
d80ac57b
GM
10392012-05-01 Glenn Morris <rgm@gnu.org>
1040
976f7668
GM
1041 * cus-start.el (suggest-key-bindings): Remove, now it is in Lisp.
1042
beb83b5a
GM
1043 * eshell/esh-cmd.el (eshell-debug-command): Doc fix. Add :set.
1044
d80ac57b
GM
1045 * cus-edit.el (custom-variable-documentation): Simplify with format.
1046
b593d6a9
AH
10472012-05-01 Aaron S. Hawley <aaron.s.hawley@gmail.com>
1048 Stefan Monnier <monnier@iro.umontreal.ca>
1049
1050 * simple.el (suggest-key-bindings, execute-extended-command):
1051 Move from keyboard.c.
1052
782fbf2a
CY
10532012-05-01 Chong Yidong <cyd@gnu.org>
1054
1055 * follow.el: Eliminate advice.
1056 (set-process-filter, process-filter, sit-for): Advice deleted.
1057 (follow-mode-off-hook): Obsolete hook removed.
b593d6a9
AH
1058 (follow-avoid-tail-recenter-p, follow-process-filter-alist):
1059 Vars deleted.
782fbf2a
CY
1060 (follow-auto): Use a :set function.
1061 (follow-mode): Rewritten. Don't advise process filters.
1062 (follow-switch-to-current-buffer-all, follow-scroll-up)
1063 (follow-scroll-down): Assume follow-mode is bound.
1064 (follow-comint-scroll-to-bottom)
1065 (follow-align-compilation-windows): New functions.
1066 (follow--window-sorter): New function.
1067 (follow-all-followers): Use it to explicitly sort windows by their
1068 positions; don't make assumptions about next-window order.
1069 (follow-windows-start-end, follow-delete-other-windows-and-split)
1070 (follow-calc-win-start): Doc fix.
1071 (follow-windows-aligned-p, follow-select-if-visible): Don't call
1072 vertical-motion unnecessarily.
1073 (follow-adjust-window): New function.
1074 (follow-post-command-hook): Use it.
1075 (follow-call-set-process-filter, follow-call-process-filter)
1076 (follow-intercept-process-output, follow-tidy-process-filter-alist)
1077 (follow-stop-intercept-process-output, follow-generic-filter):
1078 Functions deleted.
1079 (follow-scroll-bar-toolkit-scroll, follow-scroll-bar-drag)
b593d6a9
AH
1080 (follow-scroll-bar-scroll-up, follow-scroll-bar-scroll-down):
1081 New functions, replacing advice on scroll-bar-* commands.
87233a14 1082 (follow-mwheel-scroll): New function (Bug#4112).
782fbf2a
CY
1083
1084 * comint.el (comint-adjust-point): New function.
b593d6a9
AH
1085 (comint-postoutput-scroll-to-bottom): Use it.
1086 Call follow-comint-scroll-to-bottom for Follow mode buffers.
782fbf2a 1087
290af740
GM
10882012-05-01 Glenn Morris <rgm@gnu.org>
1089
1090 * term/AT386.el, term/apollo.el, term/bobcat.el, term/cygwin.el:
1091 * term/iris-ansi.el, term/linux.el, term/lk201.el, term/news.el:
1092 * term/screen.el, term/vt102.el, term/vt125.el, term/vt200.el:
1093 * term/vt201.el, term/vt220.el, term/vt240.el, term/vt300.el:
1094 * term/vt320.el, term/vt400.el, term/vt420.el, term/wyse50.el:
1095 Remove no-byte-compile setting.
1096
6eac8dc9
SM
10972012-05-01 Stefan Monnier <monnier@iro.umontreal.ca>
1098
1099 * minibuffer.el (completion-table-with-quoting): Fix compatibility
1100 all-completions code to not return a number in the last cdr.
1101
9cc7819c
LL
11022012-04-30 Leo Liu <sdl.web@gmail.com>
1103
1104 * ibuf-ext.el (ibuffer-diff-buffer-with-file-1): Avoid buffer
1105 read-only error.
1106
c93b886f
CY
11072012-04-29 Chong Yidong <cyd@gnu.org>
1108
1109 * follow.el (follow-calc-win-end): Rewrite to handle partial
1110 screen lines correctly (Bug#8390).
1111 (follow-avoid-tail-recenter): Minor cleanup.
1112
8b6c19f4
SM
11132012-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
1114
1115 Avoid the obsolete `assoc' package.
1116 * speedbar.el (speedbar-refresh): Avoid adelete.
1117 (speedbar-file-lists): Simplify and avoid aput.
1118 * man.el (Man--sections, Man--refpages): New vars, replacing
1119 Man-sections-alist and Man-refpages-alist.
1120 (Man-build-section-alist, Man-build-references-alist):
1121 Use them; avoid aput.
1122 (Man--last-section, Man--last-refpage): New vars.
1123 (Man-follow-manual-reference): Use them.
1124 Use the `default' arg of completing-read.
1125 (Man-goto-section): Idem. Move prompt to the `interactive' spec.
1126
c5bb7569
CY
11272012-04-27 Chong Yidong <cyd@gnu.org>
1128
d1d2e2e8
CY
1129 * vc/diff.el (diff-sentinel): Go to bob (Bug#10259).
1130
15cd8efd
CY
1131 * startup.el (x-apply-session-resources): New function.
1132
1133 * term/ns-win.el (ns-initialize-window-system):
1134 * term/w32-win.el (w32-initialize-window-system):
1135 * term/x-win.el (x-initialize-window-system): Use it to properly
1136 set menu-bar-mode and other vars from X resources, even if the
1137 initial frame is not a window-system frame (Bug#2299).
1138
c5bb7569
CY
1139 * subr.el (read-key): Avoid running filter function when setting
1140 up temporary tool bar entries (Bug#9922).
1141
a8e7d6d7 11422012-04-27 Andreas Schwab <schwab@linux-m68k.org>
c4347ab9
AS
1143
1144 * vc/vc-git.el (vc-git-state): Fix regexp matching diff output.
1145 (Bug#11344)
1146
a8e7d6d7 11472012-04-27 Chong Yidong <cyd@gnu.org>
acb71f1d
CY
1148
1149 * select.el (xselect--encode-string): New function, split from
1150 xselect-convert-to-string.
1151 (xselect-convert-to-string): Use it.
1152 (xselect-convert-to-filename, xselect-convert-to-os)
1153 (xselect-convert-to-host, xselect-convert-to-user): Ensure that
1154 returned strings are properly encoded (Bug#11315).
1155
a8e7d6d7 11562012-04-27 Chong Yidong <cyd@gnu.org>
d55486c7
CY
1157
1158 * simple.el (delete-active-region): Move to killing custom group.
1159
a8e7d6d7 11602012-04-27 Andreas Schwab <schwab@linux-m68k.org>
581b6788
AS
1161
1162 * progmodes/which-func.el (which-func-current): Quote %
1163 characters for mode-line processing.
1164
578c1d4b 11652012-04-27 Chong Yidong <cyd@gnu.org>
18edb22d
CY
1166
1167 * xml.el (xml-parse-region, xml-parse-tag): Avoid errors due to
1168 reaching eob (Bug#11286).
1169
a8e7d6d7 11702012-04-27 Eli Zaretskii <eliz@gnu.org>
9ee9f470
EZ
1171
1172 * progmodes/gdb-mi.el (gdb-control-level): New variable.
1173 (gdb): Make it buffer-local and init to zero.
1174 (gdb-control-commands-regexp): New variable.
1175 (gdb-send): Don't wrap in "-interpreter-exec console" if
1176 gdb-control-level is positive. Increment gdb-control-level
1177 whenever the command matches gdb-control-commands-regexp, and
1178 decrement it each time the command is "end". (Bug#11279)
1179
a8e7d6d7 11802012-04-27 Martin Rudalics <rudalics@gmx.at>
41cfe0cb
MR
1181
1182 * window.el (adjust-window-trailing-edge, enlarge-window)
1183 (shrink-window, window-resize):
1184 * mouse.el (mouse-drag-line): Fix resizing of minibuffer
1185 windows (Bug#11276).
1186
b3608390
CY
11872012-04-27 Chong Yidong <cyd@gnu.org>
1188
1189 * progmodes/pascal.el (pascal--extra-indent): Rename from ind, to
a8e7d6d7 1190 fix "missing prefix" warning. All callers changed.
b3608390 1191
797e6e88
SM
11922012-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
1193
1194 * emacs-lisp/assoc.el: Move to obsolete/.
1195
e95a67dc
SM
11962012-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
1197
657c21e4 1198 * emacs-lisp/assoc.el (aget): Fix dynamic-scoping issue (bug#11352).
e95a67dc
SM
1199
1200 * term/ns-win.el (ns-define-service):
1201 * progmodes/pascal.el (pascal-goto-defun):
1202 * progmodes/js.el (js--read-tab):
1203 * progmodes/etags.el (tags-lazy-completion-table):
1204 * emacs-lisp/syntax.el (syntax-propertize-via-font-lock):
1205 * emacs-lisp/ewoc.el (ewoc--wrap):
1206 * emacs-lisp/assoc.el (aput, adelete, amake):
1207 * doc-view.el (doc-view-convert-current-doc):
1208 * vc/diff.el (diff-no-select): Replace lexical-let by lexical-binding.
1209
cb3e7ae0
CY
12102012-04-26 Chong Yidong <cyd@gnu.org>
1211
dce04f7f
CY
1212 * image.el (image-type-from-buffer): Only return supported image
1213 type (Bug#9045).
1214
cb3e7ae0
CY
1215 * vc/diff-mode.el (diff-beginning-of-hunk): Return a meaningful
1216 value, for symmetry with diff-end-of-hunk.
1217 (diff-split-hunk, diff-find-source-location)
1218 (diff-ignore-whitespace-hunk, diff-refine-hunk): Use it.
1219 (diff-bounds-of-hunk, diff-bounds-of-file): New functions.
1220 (diff-restrict-view, diff-hunk-kill, diff-file-kill): Use them to
1221 compute the relevant hunk or file properly (Bug#6005).
1222 (diff-file-junk-re): Add bzr's "modified file" tag (Bug#6041).
1223
0d42eb3e
SM
12242012-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
1225
1226 * vc/vc-mtn.el:
1227 * vc/vc-hg.el:
1228 * vc/vc-git.el:
1229 * vc/vc-dir.el:
1230 * vc/vc-cvs.el:
1231 * vc/vc-bzr.el:
1232 * vc/vc-arch.el:
1233 * vc/vc.el: Replace lexical-let by lexical-binding.
1234 * minibuffer.el (lazy-completion-table): Avoid ((λ ...) ...).
1235 * emacs-lisp/cl-macs.el (lexical-let): Fix use in lexical-binding.
1236 * emacs-lisp/cconv.el (cconv-analyse-form): Warn use of ((λ ...) ...).
1237
f08ae1c9
CY
12382012-04-26 Chong Yidong <cyd@gnu.org>
1239
8b71081d
CY
1240 * vc/diff-mode.el (diff-undo): New command (Bug#5302).
1241 (diff-mode-shared-map): Bind it to / and [remap undo].
1242
f08ae1c9
CY
1243 * vc/ediff-wind.el (ediff-setup-windows-default): New function.
1244 (ediff-window-setup-function): Use it as the default, to set up
1245 windows based on whether the current frame is graphical (Bug#2138).
1246 (ediff-choose-window-setup-function-automatically): Make obsolete.
1247
1248 * vc/ediff-init.el: Always define ediff-pixel-width/height.
1249
ef24141c
SM
12502012-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
1251
cc356a5d
SM
1252 * ffap.el: Remove old code for obsolete package.
1253 (ffap-complete-as-file-p): Remove.
1254
b4ff4f1f
SM
1255 Use completion-table-with-quoting for comint and pcomplete.
1256 * comint.el (comint--unquote&requote-argument)
1257 (comint--unquote-argument, comint--requote-argument): New functions.
1258 (comint--unquote&expand-filename, comint-unquote-filename): Obsolete.
1259 (comint-quote-filename): Use regexp-opt-charset.
1260 (comint--common-suffix, comint--common-quoted-suffix)
1261 (comint--table-subvert): Remove.
1262 (comint-unquote-function, comint-requote-function): New vars.
1263 (comint--complete-file-name-data): Use them with
1264 completion-table-with-quoting.
1265 * pcmpl-unix.el (pcomplete/scp): Use completion-table-subvert.
1266 * pcomplete.el (pcomplete-arg-quote-list)
1267 (pcomplete-quote-arg-hook, pcomplete-quote-argument): Obsolete.
1268 (pcomplete-unquote-argument-function): Default to non-nil.
1269 (pcomplete-unquote-argument): Simplify.
1270 (pcomplete--common-quoted-suffix): Remove.
1271 (pcomplete-requote-argument-function): New var.
1272 (pcomplete--common-suffix): New function.
1273 (pcomplete-completions-at-point): Use completion-table-with-quoting
1274 and completion-table-subvert.
1275
79c4eeb4
SM
1276 * minibuffer.el: Use completion-table-with-quoting for read-file-name.
1277 (minibuffer--double-dollars): Preserve properties.
1278 (completion--sifn-requote): New function.
1279 (completion--file-name-table): Rewrite using it and c-t-with-quoting.
1280
ef24141c
SM
1281 * minibuffer.el: Add support for completion of quoted/escaped data.
1282 (completion-table-with-quoting, completion-table-subvert): New funs.
1283 (completion--twq-try, completion--twq-all): New functions.
1284 (completion--nth-completion): New function.
1285 (completion-try-completion, completion-all-completions): Use it.
1286
784e7d6e
LL
12872012-04-25 Leo Liu <sdl.web@gmail.com>
1288
dd2ac746
SM
1289 * progmodes/python.el (python-pdbtrack-get-source-buffer):
1290 Use compilation-message if available to find real filename.
784e7d6e 1291
07875ee7
CY
12922012-04-25 Chong Yidong <cyd@gnu.org>
1293
1294 * vc/diff-mode.el (diff-setup-whitespace): New function.
1295 (diff-mode): Use it.
1296
1297 * vc/diff.el (diff-sentinel):
1298 * vc/vc.el (vc-diff-finish): Call diff-setup-whitespace to assign
1299 Whitespace mode variables based on diff style (Bug#8612).
1300
5055880d
LL
13012012-04-25 Leo Liu <sdl.web@gmail.com>
1302
daf75653
LL
1303 * progmodes/python.el (python-send-region): Add suffix .py to the
1304 temp file.
1305
5055880d
LL
1306 * files.el (auto-mode-alist): Use javascript-mode instead.
1307
db9b177b
AH
13082012-04-25 Alex Harsanyi <AlexHarsanyi@gmail.com>
1309
ef24141c 1310 Sync with soap-client repository. Support SOAP simpleType (Bug#10331).
db9b177b
AH
1311
1312 * soap-client.el (soap-resolve-references-for-sequence-type)
ef24141c 1313 (soap-resolve-references-for-array-type): Hack to prevent self
db9b177b 1314 references, see Bug#9.
ef24141c 1315 (soap-parse-envelope): Report the contents of the 'detail' node
db9b177b 1316 when receiving a fault reply.
ef24141c 1317 (soap-parse-envelope): Report the contents of the entire 'detail' node.
db9b177b
AH
1318
1319 * soap-inspect.el (soap-sample-value-for-simple-type)
ef24141c 1320 (soap-inspect-simple-type): New function.
db9b177b 1321
ef24141c 1322 * soap-client.el (soap-simple-type): New struct.
db9b177b 1323 (soap-default-xsd-types, soap-default-soapenc-types)
ef24141c
SM
1324 (soap-decode-basic-type, soap-encode-basic-type):
1325 support unsignedInt and double basic types.
db9b177b 1326 (soap-resolve-references-for-simple-type)
ef24141c
SM
1327 (soap-parse-simple-type, soap-encode-simple-type): New function.
1328 (soap-parse-schema): Parse xsd:simpleType declarations.
db9b177b
AH
1329
1330 * soap-client.el (soap-default-xsd-types)
ef24141c
SM
1331 (soap-default-soapenc-types): Add integer, byte and anyURI types.
1332 (soap-parse-complex-type-complex-content): Use `soap-wk2l' to find
1333 the local name of "soapenc:Array".
1334 (soap-decode-basic-type, soap-encode-basic-type): Support encoding
db9b177b
AH
1335 decoding integer, byte and anyURI xsd types.
1336
1fc6097b
CY
13372012-04-25 Chong Yidong <cyd@gnu.org>
1338
1339 * cus-edit.el (custom-buffer-create-internal): Update header text.
1340
afc6df87
EZ
13412012-04-25 Eli Zaretskii <eliz@gnu.org>
1342
1343 * progmodes/gdb-mi.el (gdb-init-1): Condition Windows-specific
1344 settings on 'system-type', not on 'window-system'. On MS-Windows,
1345 set interactive-mode on in GDB.
1346
dfbd787f
SM
13472012-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
1348
1349 * progmodes/ruby-mode.el: Simplify last change, and cleanup code.
1350 (ruby-syntax-propertize-regexp): Remove.
1351 (ruby-syntax-propertize-function): Split regexp into chunks.
1352 Match following code directly.
1353
85222d44
DG
13542012-04-24 Dmitry Gutov <dgutov@yandex.ru>
1355
51a8ea2a
DG
1356 * progmodes/ruby-mode.el: Handle Cucumber defs (bug#6286).
1357 (ruby-syntax-propertize-regexp): New function.
1358 (ruby-syntax-propertize-function): Use it to handle regexp not preceded
1359 by a special keyword.
1360
85222d44
DG
1361 * progmodes/ruby-mode.el: Handle general delimited literals (bug#6286).
1362 (ruby-syntax-general-delimiters-goto-beg)
1363 (ruby-syntax-propertize-general-delimiters): New functions.
1364 (ruby-syntax-propertize-function): Use them to handle GDL.
1365 (ruby-font-lock-keywords): Move old handling of GDL...
1366 (ruby-font-lock-syntactic-keywords): .. to here.
1367 (ruby-calculate-indent): Adjust indentation for GDL.
1368
b613912b
MA
13692012-04-24 Michael Albinus <michael.albinus@gmx.de>
1370
b5380639
MA
1371 * notifications.el (top): Remove unneeded declarations.
1372 (notifications-specification-version): Change to "1.2".
e43042fe 1373 (notifications-interface, notifications-notify-method)
b613912b
MA
1374 (notifications-close-notification-method): Fix docstring.
1375 (notifications-get-capabilities-method): New defconst.
e43042fe
MA
1376 (notifications-notify): Add :action-items, :resident and
1377 :transient hints. Change "image_data" to "image-data" and
1378 "image_path" to "image-path".
b613912b
MA
1379 (notifications-get-capabilities): New defun.
1380
257440aa
LL
13812012-04-24 Leo Liu <sdl.web@gmail.com>
1382
1383 * progmodes/python.el: Move hideshow setup to the end.
1384
b1bac16e
MR
13852012-04-24 Martin Rudalics <rudalics@gmx.at>
1386
1387 * window.el (handle-select-window): Clear echo area since this is
1388 no more done by read_char (Bug#11304).
1389
d81bd059
SM
13902012-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
1391
1392 * ibuffer.el (ibuffer-mode-map): Bind `/ m' to filter-used-mode
1393 and `/ M' to filter-derived-mode.
1394 * ibuf-ext.el (ibuffer-list-buffer-modes): Simplify; avoid add-to-list.
1395 (ibuffer-filter-by-mode, ibuffer-filter-by-used-mode)
1396 (ibuffer-mark-by-mode): Use default rather than initial-input.
1397 (ibuffer-filter-by-derived-mode): Autoload and require-match.
1398
c4cf6d91
IA
13992012-04-24 Ivan Andrus <darthandrus@gmail.com> (tiny change)
1400
1401 * ibuf-ext.el (ibuffer-list-buffer-modes): Add `include-parents' arg.
1402 (ibuffer-filter-by-derived-mode): New filter.
1403 * ibuffer.el (ibuffer-mode-map): Bind to `/ w'.
1404
7511ded8
CY
14052012-04-23 Andreas Politz <politza@fh-trier.de>
1406
1407 * subr.el (accept-change-group): Fix arg usage (Bug#6095).
1408
775c916b
CY
14092012-04-23 Chong Yidong <cyd@gnu.org>
1410
1411 * cus-edit.el (customize-apropos, customize-apropos-options):
1412 Disable matching of non-option variables (Bug#11176).
1413 (customize-option, customize-option-other-window)
1414 (customize-changed-options): Doc fix.
1415 (customize-apropos-options, customize-apropos-faces)
1416 (customize-apropos-groups): Use apropos-read-pattern (Bug#11124).
1417
1418 * apropos.el (apropos-read-pattern): Make prompt less cryptic.
922d37d3 1419 Fix word list splitting (Bug#11132).
46c71e23
CY
1420 (apropos-symbol, apropos-keybinding, apropos-label)
1421 (apropos-property, apropos-function-button)
1422 (apropos-variable-button, apropos-misc-button): New faces.
1423 (apropos-symbol-face, apropos-keybinding-face)
1424 (apropos-label-face, apropos-property-face, apropos-match-face):
1425 Variables removed (Bug#8396).
1426 (apropos-library-button, apropos-format-plist, apropos-print)
1427 (apropos-print-doc, apropos-describe-plist): Callers changed.
775c916b 1428
2df41f9c
MA
14292012-04-23 Michael Albinus <michael.albinus@gmx.de>
1430
1431 * net/xesam.el (xesam-mode-map): Use let-bound map in
1432 initialization. (Bug#11292)
1433
da00640a
AM
14342012-04-23 Agustín Martín Domingo <agustin.martin@hispalinux.es>
1435
1436 Preserve ispell session localwords when switching back to
1437 original buffer.
1438
1439 * ispell.el (ispell-buffer-session-localwords): New buffer-local
1440 variable to hold buffer session localwords.
1441 (ispell-kill-ispell): add option 'clear to delete session
1442 localwords.
1443 (ispell-command-loop, ispell-change-dictionary)
1444 (ispell-buffer-local-words): Preserve session localwords when
1445 needed.
1446
1447 * flyspell.el (flyspell-process-localwords, flyspell-do-correct):
1448 Preserve session localwords when needed.
1449
f621ccf5
AM
14502012-04-23 Agustín Martín Domingo <agustin.martin@hispalinux.es>
1451
1452 * ispell.el (ispell-insert-word) Remove unneeded function using
1453 obsolete `translation-table-for-input'.
ef24141c
SM
1454 (ispell-word, ispell-process-line, ispell-complete-word):
1455 Use plain `insert' instead of removed `ispell-insert-word'.
f621ccf5 1456
c2d1019e
CY
14572012-04-22 Chong Yidong <cyd@gnu.org>
1458
1459 * cus-edit.el (custom-variable-menu)
1460 (custom-variable-reset-saved, custom-face-menu)
1461 (custom-face-reset-saved): If there is no saved value, make the
1462 "reset-saved" operation bring back the default (Bug#9509).
1463 (custom-face-state): Properly detect themed faces.
1464
eeddc531
CY
1465 * faces.el (face-spec-set): Stop supporting deprecated form of
1466 third arg.
1467
dcbf5805
MA
14682012-04-22 Michael Albinus <michael.albinus@gmx.de>
1469
1470 Move functions from C to Lisp. Make non-blocking method calls
1471 the default. Implement further D-Bus standard interfaces.
1472
ef24141c
SM
1473 * net/dbus.el (dbus-message-internal): Declare function.
1474 Remove unneeded function declarations.
dcbf5805
MA
1475 (defvar dbus-message-type-invalid, dbus-message-type-method-call)
1476 (dbus-message-type-method-return, dbus-message-type-error)
1477 (dbus-message-type-signal): Declare variables. Remove local
1478 definitions.
1479 (dbus-interface-dbus, dbus-interface-peer)
1480 (dbus-interface-introspectable, dbus-interface-properties)
1481 (dbus-path-emacs, dbus-interface-emacs, dbus-return-values-table):
1482 Adapt docstring.
1483 (dbus-interface-objectmanager): New defconst.
1484 (dbus-call-method, dbus-call-method-asynchronously)
1485 (dbus-send-signal, dbus-method-return-internal)
1486 (dbus-method-error-internal, dbus-register-service)
1487 (dbus-register-signal, dbus-register-method): New defuns, moved
1488 from dbusbind.c
1489 (dbus-call-method-handler, dbus-setenv)
ef24141c
SM
1490 (dbus-get-all-managed-objects, dbus-managed-objects-handler):
1491 New defuns.
dcbf5805
MA
1492 (dbus-call-method-non-blocking): Make it an obsolete function.
1493 (dbus-unregister-object, dbus-unregister-service)
1494 (dbus-handle-event, dbus-register-property)
1495 (dbus-property-handler): Obey the new structure of
1496 `bus-registered-objects'.
1497 (dbus-introspect): Use `dbus-call-method'. Use a timeout.
1498 (dbus-get-property, dbus-set-property, dbus-get-all-properties):
1499 Use `dbus-call-method'.
1500
cf20dee0
CY
15012012-04-22 Chong Yidong <cyd@gnu.org>
1502
1503 * cus-edit.el (custom-commands, custom-reset-menu)
1504 (Custom-reset-standard): Tweak labels.
1505 (custom-reset-button-menu): Change default to t.
1506 (custom-buffer-create-internal): For the custom-reset-button-menu
1507 case, put the revert button first.
1508 (custom-group-subtitle): New face.
1509 (custom-group-value-create): Align docstring to a specific column.
1510
1511 * wid-edit.el (widget-documentation-link-add): Don't handle
1512 indentation in this function.
1513 (widget-documentation-string-indent-to): New function.
1514 (widget-documentation-string-value-create): Use it.
1515
1516 * autorevert.el (auto-revert):
1517 * epg-config.el (epg):
1518 * ibuffer.el (ibuffer):
1519 * mpc.el (mpc):
1520 * ses.el (ses):
1521 * eshell/eshell.el (eshell):
1522 * net/ange-ftp.el (ange-ftp):
1523 * progmodes/ebnf2ps.el (postscript):
1524 * progmodes/flymake.el (flymake):
1525 * progmodes/prolog.el (prolog):
1526 * progmodes/verilog-mode.el (verilog-mode):
1527 * progmodes/which-func.el (which-func):
1528 * term/xterm.el (xterm):
1529 * textmodes/picture.el (picture):
1530 * textmodes/tildify.el (tildify):
1531 * vc/ediff.el (ediff): Tweak defgroups to improve presentation in
1532 customization buffers.
1533
583e23bd
AM
15342012-04-22 Alan Mackenzie <acm@muc.de>
1535
1536 * progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache):
1537 Adding a ) can hide the resulting (..) from searches. Fix it.
1538 Bound the backward search to the position of the existing (.
1539
7dd51bf1
JB
15402012-04-21 Juanma Barranquero <lekktu@gmail.com>
1541
1542 * progmodes/verilog-mode.el (verilog-mode): Check whether
1543 which-func-modes is t before adding verilog-mode.
1544 Reported by Andy Moreton <andrewjmoreton@gmail.com>.
1545
d64a438f
LL
15462012-04-21 Leo Liu <sdl.web@gmail.com>
1547
7dd51bf1 1548 * net/rcirc.el (rcirc): Avoid error when process-contact returns t.
d64a438f 1549
081e8d65
MV
15502012-04-21 Michael Vehrs <Michael.Burschik@gmx.de>
1551
1552 * woman.el: Add support for "T{ T}" tbl syntax, and fix the
1553 filling of the last column of a table (Bug#5635).
1554 (woman-find-next-control-line): New arg, specifying an additional
1555 regexp component for the control line.
1556 (woman2-roff-buffer): Use it.
1557 (woman-break-table): New function.
1558 (woman2-TS): Use it.
1559
15602012-04-21 Chong Yidong <cyd@gnu.org>
1561
1562 * woman.el (woman-set-buffer-display-table, woman-decode-region)
1563 (woman-horizontal-escapes, woman-negative-vertical-space)
1564 (woman-tab-to-tab-stop, woman2-fc, woman2-TS)
1565 (WoMan-warn-ignored): Use ?\s instead of ?\ .
1566
ed571ccb
SM
15672012-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
1568
1569 * minibuffer.el (completion-file-name-table): Complete user names.
1570
39773899
LL
15712012-04-20 Leo Liu <sdl.web@gmail.com>
1572
1573 * font-lock.el (lisp-font-lock-keywords-2): Add pcase, pcase-let
1574 and pcase-let*.
1575
de6ff46d
CY
15762012-04-20 Chong Yidong <cyd@gnu.org>
1577
1578 * server.el (server-execute): Respect initial-buffer-choice if it
1579 is a string and there are no files to open (Bug#2825).
1580 (server-create-window-system-frame, server-create-tty-frame):
1581 Don't switch buffers here.
2d0e8e61
CY
1582 (server-process-filter): Only try to open a window system frame if
1583 compiled with graphical support (Bug#8314).
de6ff46d 1584
54071013
DN
15852012-04-20 Dan Nicolaescu <dann@gnu.org>
1586
1587 * battery.el (battery-echo-area-format): Display remaining time
1588 for sysfs backend too (Bug#11269).
1589 (battery-linux-sysfs): Fix conditional for the charge.
1590
f30d612a
CY
15912012-04-20 Chong Yidong <cyd@gnu.org>
1592
c07a4c0b 1593 * progmodes/gdb-mi.el (gdb): Revert previous change.
f30d612a
CY
1594 (gdb-inferior-io--init-proc): New function.
1595 (gdb-init-1): Use it.
1596 (gdb-inferior-io-sentinel): New sentinel for the gdb-inferior pty,
1597 responsible for allocating a new pty and hooking it to gdb when
1598 the old pty gets an EIO due to process exit.
1599 (gdb-delchar-or-quit): New command. Bind it in gdb-mi buffers.
1600 (gdb-tooltip-print): Don't use obsolete tooltip-use-echo-area.
1601 (gdb-inferior-io--maybe-delete-pty): Move into gdb-reset.
1602
2116e93c
EZ
16032012-04-20 Eli Zaretskii <eliz@gnu.org>
1604
1605 * window.el (window-min-size, window-sizable, window-min-delta)
1606 (window-max-delta, window--resizable, window-resizable)
1607 (window-total-size, window-full-height-p, window-full-width-p)
1608 (window-in-direction, window--resize-mini-window, window-resize)
1609 (window--resize-child-windows-normal)
1610 (window--resize-child-windows, window--resize-siblings)
1611 (window--resize-this-window, adjust-window-trailing-edge)
cd0f830c 1612 (enlarge-window, shrink-window): Doc fixes.
2116e93c 1613
c07a4c0b 16142012-04-20 Chong Yidong <cyd@gnu.org>
b668fa6e 1615
ef24141c
SM
1616 * progmodes/gdb-mi.el (gdb-inferior-io--maybe-delete-pty):
1617 New function to call delete-process on the gdb-inferior buffer's pty.
b668fa6e
CY
1618 (gdb-reset): Use it, instead of relying on kill-buffer to kill the
1619 pty process (Bug#11273).
1620 (gdb-update): New arg to suppress talking to the gdb process.
1621 (gdb-done-or-error): Use it.
1622 (gdb-stopped-functions): Rename from gdb-stopped-hooks.
1623 (gdb): Call gdb-inferior-io--maybe-delete-pty as a workaround for
1624 sentinel not being called.
1625
1626 * comint.el (make-comint-in-buffer, comint-exec): Doc fix.
1627
d02766ab
CY
1628 * progmodes/grep.el (grep, rgrep): Doc fix (Bug#11268).
1629
c07a4c0b 16302012-04-20 Glenn Morris <rgm@gnu.org>
016a35df
GM
1631
1632 * net/network-stream.el (open-network-stream): Doc fix.
1633
c07a4c0b 16342012-04-20 Chong Yidong <cyd@gnu.org>
2c070447
CY
1635
1636 * emacs-lisp/tabulated-list.el (tabulated-list-print): Fix typos.
1637
c07a4c0b 16382012-04-20 Alan Mackenzie <acm@muc.de>
f0f6bc35
AM
1639
1640 Ensure searching for keywords is case sensitive.
1641
1642 * progmodes/cc-cmds.el (c-electric-brace, c-electric-lt-gt)
1643 (c-electric-paren, c-beginning-of-defun, c-end-of-defun)
1644 (c-defun-name, c-mark-function, c-cpp-define-name)
1645 (c-comment-indent, c-scan-conditionals, c-indent-defun)
c07a4c0b 1646 (c-context-line-break): Bind case-fold-search to nil.
f0f6bc35 1647
ef24141c
SM
1648 * progmodes/cc-mode.el (c-font-lock-fontify-region):
1649 Bind case-fold-search to nil.
f0f6bc35 1650
c07a4c0b 16512012-04-20 Chong Yidong <cyd@gnu.org>
4fc2c72a
CY
1652
1653 * mail/sendmail.el (mail-bury): Call return action with the right
1654 Rmail buffer (Bug#11242).
1655
9a864fa2
CY
1656 * server.el (server-process-filter): Handle corner case where both
1657 tty and nowait options are present (Bug#11102).
1658
539aa513
EZ
16592012-04-20 Eli Zaretskii <eliz@gnu.org>
1660
1661 * version.el (emacs-bzr-version, emacs-bzr-get-version): Doc fixes.
6cf2a23e
EZ
1662 (top level): Put into the executable the ident-style '$Id:' tag on
1663 windows-nt as well.
539aa513 1664
cfc7d5da
SM
16652012-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
1666
1667 * electric.el (electric-indent-post-self-insert-function): Check that
1668 electric-indent-mode is enabled in current buffer.
1669
5b01685c
JB
16702012-04-19 Juanma Barranquero <lekktu@gmail.com>
1671
1672 * imenu.el (imenu-progress-message): Restore; it is "used" in
1673 erc/erc-imenu.el and net/snmp-mode.el.
1674
4d6769e1
JB
16752012-04-19 Juanma Barranquero <lekktu@gmail.com>
1676
1677 * avoid.el (mouse-avoidance-mode): Mark unused arg.
1678 (mouse-avoidance-nudge-mouse): Remove unused binding.
1679
1680 * bs.el (bs-toggle-readonly): Call `toggle-read-only' interactively.
1681
1682 * descr-text.el (describe-char):
1683 * progmodes/python.el (python-describe-symbol):
1684 Don't call `toggle-read-only', set `buffer-read-only'.
1685
1686 * imenu.el (imenu-default-goto-function): Mark unused args.
1687 (imenu-progress-message): Remove obsolete macro; all callers changed.
1688
1689 * subr.el (keymap-canonicalize): Remove unused binding.
1690 (read-passwd): Mark unused arg.
1691
1692 * tutorial.el (tutorial--display-changes): Remove unused binding.
1693 (tutorial--save-tutorial-to): Remove unused variable.
1694
1695 * emacs-lisp/package.el (define-package, package-menu-mark-delete)
1696 (package-menu-mark-install, package-menu-mark-unmark): Mark unused args.
1697 (package-generate-autoloads, package-menu--generate)
1698 (package-menu--find-upgrades): Remove unused bindings.
1699
1700 * emulation/cua-rect.el (cua-restrict-regexp-rectangle)
1701 (cua-restrict-prefix-rectangle): Doc fixes. Remove unused bindings.
1702 (cua--mouse-ignore, cua--delete-rectangle, cua--extract-rectangle)
1703 (cua--indent-rectangle, cua-open-rectangle, cua-close-rectangle)
1704 (cua-blank-rectangle, cua-string-rectangle, cua-replace-in-rectangle)
1705 (cua-incr-rectangle, cua-sequence-rectangle, cua--convert-rectangle-as)
1706 (cua--rectangle-aux-replace, cua--left-fill-rectangle)
1707 (cua-scroll-rectangle-up, cua-scroll-rectangle-down)
1708 (cua-delete-char-rectangle): Mark unused args.
1709 (cua-align-rectangle): Remove unused binding.
1710
1711 * mail/rmail.el (compilation--message->loc)
1712 (epa--find-coding-system-for-mime-charset): Declare.
1713
1714 * net/dbus.el (dbus-register-service): Declare.
1715 (dbus-name-owner-changed-handler): Remove unused binding.
1716
1717 * nxml/nxml-mode.el (nxml-electric-slash, nxml-in-mixed-content-p)
1718 (nxml-compute-indent-from-matching-start-tag): Remove unused variables.
1719 (nxml-scan-backward-within): Mark unused arg.
1720 (nxml-dynamic-markup-word): Remove unused binding.
1721
1722 * mouse.el (mouse-menu-major-mode-map):
1723 * emacs-lisp/authors.el (authors-scan-change-log)
1724 (authors-add-to-author-list):
1725 * emacs-lisp/avl-tree.el (avl-tree--enter-balance):
1726 * emacs-lisp/smie.el (smie-auto-fill):
1727 * mail/sendmail.el (mail-bury):
1728 * mail/unrmail.el (unrmail):
1729 * net/tls.el (open-tls-stream):
1730 * textmodes/picture.el (picture-mouse-set-point):
1731 Remove unused bindings.
1732
8c8fc5df
MA
17332012-04-19 Michael Albinus <michael.albinus@gmx.de>
1734
1735 * net/tramp.el (tramp-action-password): Let-bind
1736 `enable-recursive-minibuffers' to t.
1737
a77b0ac9
SS
17382012-04-18 Sam Steingold <sds@gnu.org>
1739
1740 * progmodes/gud.el (gud-key-prefix): Use :type 'key-sequence
1741 instead of 'string to accommodate values like [f11].
1742 Always use `vconcat' instead of `concat' on it, like in `gud-def'.
1743 * progmodes/gdb-mi.el: Likewise.
1744
12a106a9
LL
17452012-04-18 Leo Liu <sdl.web@gmail.com>
1746
1747 * abbrev.el (edit-abbrevs): Move point to the abbrev table of
1748 current buffer.
1749 (prepare-abbrev-list-buffer): Enter edit-abbrevs-mode only if
1750 LOCAL is nil.
1751
bc6494ef
CY
17522012-04-18 Chong Yidong <cyd@gnu.org>
1753
1754 * simple.el (line-move): Use forward-line if in batch mode
1755 (Bug#11053).
1756
c09c46b2
CS
17572012-04-18 Christopher Schmidt <christopher@ch.ristopher.com>
1758
1759 * files.el (after-find-file): Do not try to add a final newline if
1760 the buffer is read-only (Bug#11156).
1761
5f6530ea
RS
17622012-04-17 Richard Stallman <rms@gnu.org>
1763
1764 * mail/rmail.el (rmail-start-mail):
1765 Pass (rmail-mail-return...) for the return-action.
1766 Pass (rmail-yank-current-message...) for the yank-action.
1767 (rmail-yank-current-message): New function.
1768 (rmail-mail): Pass the Rmail buffer, not view buffer, for replybuffer.
1769 (rmail-reply): Likewise.
1770 (rmail-forward): Pass the Rmail buffer, not nil, for replybuffer.
1771
1772 * mail/sendmail.el (mail-bury): Choose the first rmail-mode
c09c46b2 1773 buffer, not the last. Reject temp buffers. Use the rmail-mode
5f6530ea
RS
1774 buffer, not newbuf.
1775
197b6f3c
JB
17762012-04-17 Juanma Barranquero <lekktu@gmail.com>
1777
1778 * server.el (server-ensure-safe-dir): Simplify.
1779
2311d8e5 17802012-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
98fb480e 1781
2311d8e5
GM
1782 * emacs-lisp/smie.el: Provide smarter auto-filling.
1783 (smie-auto-fill): New function.
1784 (smie-setup): Use it.
98fb480e 1785
2311d8e5
GM
1786 * newcomment.el (comment-choose-indent): Obey comment-inline-offset.
1787
17882012-04-17 Philipp Haselwarter <philipp.haselwarter@gmx.de> (tiny change)
8eb5d48f
PH
1789
1790 * newcomment.el (comment-inline-offset): New custom var (bug#11090).
1791 (comment-indent): Use it.
1792
2311d8e5 17932012-04-17 Vincent Belaïche <vincentb1@users.sourceforge.net>
4bdf2ad2
VB
1794
1795 * ses.el: The overall change is to add cell renaming, that is
1796 setting fancy names for cell symbols other than name matching
1797 "\\`[A-Z]+[0-9]+\\'" regexp .
2311d8e5 1798 (ses-localvars): Add ses--renamed-cell-symb-list.
4bdf2ad2 1799 (ses-create-cell-variable): New defun.
2311d8e5 1800 (ses-destroy-cell-variable-range): Respect ses--numrows, ses--numcols.
4bdf2ad2
VB
1801 (ses-relocate-formula): Relocate formulas only for cells the
1802 symbols of which are not renamed, i.e. symbols whose names do not
1803 match regexp "\\`[A-Z]+[0-9]+\\'".
1804 (ses-relocate-all): Relocate values only for cells the symbols of
1805 which are not renamed.
1806 (ses-load): Create cells variables as the (ses-cell ...) are read,
1807 in order to check row col consistency with cell symbol name only
1808 for cells that are not renamed.
1809 (ses-replace-name-in-formula): New defun.
1810 (ses-rename-cell): New defun.
4bdf2ad2 1811
fc72b15c
PO
18122012-04-17 Peter Oliver <bzr@mavit.org.uk> (tiny change)
1813
1814 * progmodes/perl-mode.el (perl-indent-parens-as-block):
1815 New option (bug#11118).
1816 (perl-calculate-indent): Respect it.
1817
12e10e61
GM
18182012-04-17 Glenn Morris <rgm@gnu.org>
1819
1820 * dired-aux.el (dired-mark-read-string): Doc fix.
1821
30009afd
DA
18222012-04-17 Dmitry Antipov <dmantipov@yandex.ru>
1823
1824 * dired-aux.el (dired-mark-read-string): Offer optional completion.
1825 (dired-do-chxxx): Complete chown, chgrp over users, groups. (Bug#7900)
1826
41f03f4d
GM
18272012-04-17 Glenn Morris <rgm@gnu.org>
1828
1829 * mouse.el (mouse-drag-track):
1830 * speedbar.el (speedbar-frame-mode):
1831 Use auto-hscroll-mode rather than the alias automatic-hscrolling.
1832
f45f90f3
LL
18332012-04-16 Leo Liu <sdl.web@gmail.com>
1834
1835 * progmodes/python.el: Trivial cleanup.
1836
94ee8db5
GM
18372012-04-16 Glenn Morris <rgm@gnu.org>
1838
121b8917
GM
1839 * vc/vc.el (vc-string-prefix-p):
1840 * vc/pcvs-util.el (cvs-string-prefix-p):
1841 * textmodes/tex-mode.el (latex-string-prefix-p, tex-string-prefix-p):
1842 * mpc.el (mpc-string-prefix-p):
1843 Make all of these into obsolete aliases for string-prefix-p.
1844 Update callers.
1845 * vc/pcvs.el, vc/vc-dispatcher.el, vc/vc-dir.el: Update callers.
1846
1197ecfa
GM
1847 * textmodes/two-column.el: Move custom options to the start.
1848 (frame-width): Remove compat definition.
1849 (2C-associate-buffer, 2C-dissociate):
1850 Use with-current-buffer rather than save-excursion.
1851 (2C-dissociate): Force a mode-line update.
1852 (2C-autoscroll): Use ignore-errors.
1853
099e7202
GM
1854 * emacs-lisp/eieio-opt.el (describe-class, describe-generic):
1855 Autoload trivia.
1856
bf350d6a
GM
1857 * emacs-lisp/cl-extra.el (*random-state*):
1858 Remove unnecessary declaration.
1859
0e829eab
GM
1860 * calendar/cal-tex.el (cal-tex-end-document): Trivial clarification.
1861
e3ad7552
GM
1862 * play/cookie1.el (cookie-snarf):
1863 Give an explicit error if input file cannot be read.
1864
68892d27
GM
1865 * play/yow.el (yow-file): Use expand-file-name rather than concat.
1866
20f0c46d
GM
1867 * progmodes/perl-mode.el (c-macro-expand):
1868 Remove unnecessary autoload (it is in loaddefs.el).
1869
5a0978ce
GM
1870 * textmodes/picture.el (picture-desired-column)
1871 (picture-update-desired-column): Convert comments to doc-strings.
1872 (picture-substitute): Remove function.
1873 (picture-mode-map): Initialize in the defvar.
1874
6b955486
GM
1875 * woman.el: Remove eval-after-load for tar-mode.
1876 * tar-mode.el (tar-mode-map): Add woman binding and menu entry.
1877 (woman-tar-extract-file): Autoload it.
1878
94ee8db5
GM
1879 * frame.el (automatic-hscrolling): Make this alias obsolete.
1880
177eca34
AM
18812012-04-12 Agustín Martín Domingo <agustin.martin@hispalinux.es>
1882
1883 * ispell.el (ispell-set-spellchecker-params): Post-process
4be3075e 1884 `ispell-dictionary-alist' to use [:alpha:] and utf-8 if possible.
3851314b
AM
1885 (ispell-dictionary-base-alist): Revert to original XEmacs
1886 friendly version for default. [:alpha:] will be added in
1887 `ispell-set-spellchecker-params' if needed
177eca34 1888
c505aaeb
CY
18892012-04-16 Chong Yidong <cyd@gnu.org>
1890
1891 * image.el (imagemagick--extension-regexp): New variable.
1892 (imagemagick-register-types): Use it.
1893 (imagemagick-types-inhibit): Add :set function. Allow new value
1894 of t to inhibit all types.
1895
1896 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Avoid cl macros,
1897 so we can preload it.
1898
1899 * loadup.el (fboundp): Preload regexp-opt, needed by
1900 imagemagick-register-types.
1901
60efac0f
CY
19022012-04-15 Chong Yidong <cyd@gnu.org>
1903
1904 * frame.el (scrolling): Remove nearly unused customization group.
1905
1906 * scroll-all.el (scroll-all-mode): Move to windows group.
1907
5dd1713e
CY
19082012-04-15 Chong Yidong <cyd@gnu.org>
1909
1910 * bindings.el (goto-map): Bind goto-char to M-g c (Bug#11240).
1911
e6fd457e
CY
19122012-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
1913
1914 Avoid the use of ((lambda ...) ...) in lexical-binding code.
4d6769e1 1915 * emacs-lisp/easy-mmode.el (define-minor-mode): Use funcall (bug#11241).
e6fd457e 1916
e153c136
GM
19172012-04-15 Glenn Morris <rgm@gnu.org>
1918
1919 * simple.el (process-file-side-effects): Doc fix.
1920
e6fd457e 19212012-04-15 Glenn Morris <rgm@gnu.org>
ca7d96c8
GM
1922
1923 * international/mule-cmds.el (set-language-environment): Doc fix.
1924
3603c3b1
JB
19252012-04-14 Juanma Barranquero <lekktu@gmail.com>
1926
1927 * server.el (server-auth-key, server-generate-key): Doc fixes.
1928 (server-get-auth-key): Doc fix. Use `string-match-p'.
1929 (server-start): Reflow docstring.
1930
e6de100c
LI
19312012-04-14 Lars Ingebrigtsen <larsi@gnus.org>
1932
1933 * server.el (server-generate-key): `called-interactively-p'
1934 requires a parameter.
1935
29734c21
MN
19362012-04-14 Michal Nazarewicz <mina86@mina86.com>
1937
1938 * server.el (server-auth-key): New variable.
75f1671a 1939 (server-generate-key, server-get-auth-key): New function.
29734c21
MN
1940 (server-start): Use the new variable and functions to allow
1941 setting a permanent server key (bug#9423).
1942
d65c9521
LL
19432012-04-14 Leo Liu <sdl.web@gmail.com>
1944
1945 * vc/diff-mode.el (diff-file-prev/next): Fix typo.
1946
5ae255c7
PE
19472012-04-14 Paul Eggert <eggert@cs.ucla.edu>
1948
1949 Spelling fixes.
1950 * hexl.el (hexl-rulerize): Rename from hexl-rulerise, since
1951 Emacs uses American spelling.
1952
d5e6342e
JB
19532012-04-14 Juanma Barranquero <lekktu@gmail.com>
1954
1955 * emacs-lock.el (emacs-lock-locked-buffer-functions): New hook.
1956 (emacs-lock--exit-locked-buffer): Return the locked buffer. Doc fix.
1957 (emacs-lock--kill-emacs-hook, emacs-lock--kill-emacs-query-functions)
1958 (emacs-lock--kill-buffer-query-functions): Run new hook. (Bug#11017)
1959
ab036cd7
SM
19602012-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
1961
1962 * progmodes/which-func.el (which-func-modes): Change default.
1963
35dc09a1 19642012-04-14 Kim F. Storm <storm@cua.dk>
9557e2be
CY
1965
1966 * emulation/cua-base.el (cua-exchange-point-and-mark): Just call
1967 exchange-point-and-mark if cua-enable-cua-keys is nil (Bug#11191).
1968
35dc09a1 19692012-04-14 Chong Yidong <cyd@gnu.org>
81927dd2
CY
1970
1971 * custom.el (custom-theme-set-variables): Doc fix.
1972
35dc09a1 19732012-04-14 Glenn Morris <rgm@gnu.org>
8edb942b
GM
1974
1975 * international/mule.el (set-auto-coding-for-load): Doc fix.
1976
35dc09a1 19772012-04-14 Alan Mackenzie <acm@muc.de>
0de3da9f 1978
35dc09a1
GM
1979 * progmodes/cc-menus.el (cc-imenu-objc-generic-expression): Make
1980 imenu work again for Objective C Mode. Correct the *-index values,
1981 these having been disturbed by a previous change in 2011-08.
57f845ee 1982
0de3da9f
AM
1983 * progmodes/cc-engine.el (c-before-change-check-<>-operators):
1984 Correct two search limits.
1985
35dc09a1 19862012-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
ede141ac
SM
1987
1988 * startup.el (command-line-1): Inhibit splash from daemon (bug#10996).
1989
35dc09a1 19902012-04-14 Andreas Schwab <schwab@linux-m68k.org>
d0203d61
AS
1991
1992 * international/characters.el: Fix sorting.
1993
35dc09a1 19942012-04-14 Eli Zaretskii <eliz@gnu.org>
cb80bcd1
EZ
1995
1996 * international/characters.el: Add more missing Latin case pairs.
1997
35dc09a1 19982012-04-14 Glenn Morris <rgm@gnu.org>
4a427f58
GM
1999
2000 * files.el (dir-locals-set-class-variables): Doc fix.
2001
35dc09a1 20022012-04-14 Eli Zaretskii <eliz@gnu.org>
9f847f41 2003
3f1b5bf8
EZ
2004 * international/characters.el: Add set-case-syntax-pair call for
2005 LATIN CAPITAL LETTER Y WITH DIAERESIS RET and its lower-case
2006 counterpart. (Bug#11209)
2007
9f847f41
EZ
2008 * simple.el (shell-command-on-region): Doc fix. (Bug#11208)
2009
35dc09a1 20102012-04-14 Glenn Morris <rgm@gnu.org>
0c2014a3
GM
2011
2012 * calendar/holidays.el (calendar-check-holidays): Doc fix.
2013
35dc09a1 20142012-04-14 Eli Zaretskii <eliz@gnu.org>
e2627d21 2015
35dc09a1
GM
2016 * textmodes/ispell.el (ispell-dictionary-base-alist):
2017 Add data for Hebrew.
e2627d21 2018
35dc09a1 20192012-04-14 Chong Yidong <cyd@gnu.org>
5c14e333 2020
35dc09a1
GM
2021 * net/rcirc.el (rcirc-cmd-quit):
2022 Revert 2012-03-18 change (Bug#11192).
5c14e333 2023
35dc09a1 20242012-04-14 Glenn Morris <rgm@gnu.org>
bf6fa423
GM
2025
2026 * pcmpl-rpm.el (pcomplete/rpm): Handle -qf.
2027
35dc09a1 20282012-04-14 Eli Zaretskii <eliz@gnu.org>
82b24fb2 2029
4517fe3a
SM
2030 * minibuffer.el (completion-in-region-mode-map):
2031 Bind completion-help-at-point to M-? rather than ?. (Bug#11182)
82b24fb2 2032
b472a594
VD
20332012-04-13 Vivek Dasmohapatra <vivek@etla.org>
2034
2035 * hexl.el (hexl-insert-char): Make display sizes other than 16 work.
2036
09b95ce3
MY
20372012-04-13 Masatake YAMATO <yamato@redhat.com>
2038
2039 * minibuffer.el (minibuffer-local-filename-syntax): New variable
2040 to allow `C-M-f' and `C-M-b' to move to the nearest path
2041 separator (bug#9511).
2042
4b63a9ca
LI
20432012-04-13 Lars Ingebrigtsen <larsi@gnus.org>
2044
2045 * avoid.el: Require cl when compiling. And also move the
2046 `provide' to the end.
2047
7b55b8bf
TV
20482012-04-13 Thierry Volpiatto <thierry.volpiatto@gmail.com>
2049
2050 * avoid.el (mouse-avoidance-banish-position): New variable.
2051 (mouse-avoidance-banish-destination): Use it (bug#10165).
2052
adedaa1f
LL
20532012-04-13 Leo Liu <sdl.web@gmail.com>
2054
2055 * progmodes/which-func.el (which-func-modes): Add objc-mode.
2056
70e74021
KB
20572012-04-13 Ken Brown <kbrown@cornell.edu>
2058
2059 * net/browse-url.el (browse-url-file-url): Remove Cygwin hack;
ab036cd7 2060 this is no longer needed now that cygstart understands file:// URLs.
70e74021
KB
2061 (browse-url-filename-alist): For the same reason, don't modify
2062 file:// URLs on Cygwin.
2063
e75e89ba
SM
20642012-04-13 Stefan Monnier <monnier@iro.umontreal.ca>
2065
2066 * emulation/cua-base.el (cua--pre-command-handler-1): Don't activate
2067 the region on shift if the binding is already shifted (bug#11221).
2068
82f289a4
GM
20692012-04-12 Glenn Morris <rgm@gnu.org>
2070
2071 * mail/mailpost.el: Move to obsolete/.
2072
d333dc4c
DA
20732012-04-12 Drew Adams <drew.adams@oracle.com>
2074
2075 * imenu.el (imenu--generic-function): Ignore invisible definitions
2076 (bug#10123).
2077
0d15b5ba
VD
20782012-04-12 Vivek Dasmohapatra <vivek@etla.org>
2079
2080 * hexl.el (hexl-bits): New variable.
2081 (hexl-options): Mention the variable in the doc string.
75f1671a 2082 (hexl-rulerise, hexl-line-displen): New functions.
0d15b5ba 2083 (hexl-mode): Mention the new variable.
75f1671a
JB
2084 (hexl-mode, hexl-current-address, hexl-current-address):
2085 Use the displen.
0d15b5ba
VD
2086 (hexl-ascii-start-column): New function.
2087 (hexl-address-to-marker, hexl-beginning-of-line, hexl-options)
2088 (hexl-insert-char, hexl-mode-ruler): Use the displen (bug#4941).
2089
64a440db
AM
20902012-04-12 Agustín Martín Domingo <agustin.martin@hispalinux.es>
2091
2092 * textmodes/flyspell.el (flyspell-large-region): For hunspell, use
2093 '("-i" ENCODING), in 2 separate command-line arguments, to specify
2094 the encoding, as expected by hunspell.
2095
6decb6c2
SM
20962012-04-12 Stefan Monnier <monnier@iro.umontreal.ca>
2097
2098 * battery.el (battery--linux-sysfs-regexp): New const.
2099 (battery-status-function): Use it. Remove yeeloong special case.
2100 (battery-yeeloong-sysfs): Remove.
2101 (battery-echo-area-format): Remove yeeloong special case.
2102
088be6fb
SM
21032012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
2104
6622e416
SM
2105 * imenu.el (imenu-add-to-menubar): `current-local-map' can be nil.
2106 Reported by Noah Friedman.
2107
088be6fb
SM
2108 * subr.el (read-passwd): Use read-string.
2109
b49f886e
LMI
21102012-04-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
2111
2112 * vcursor.el (vcursor-move): Increase the priority of the overlay
2113 (bug#9663).
2114
a63067fc
DD
21152012-04-11 Deniz Dogan <deniz.a.m.dogan@gmail.com>
2116
2117 * net/rcirc.el (rcirc-kill-channel-buffers): New variable.
2118 (rcirc-kill-buffer-hook): Use it to kill channel buffers (bug#5128).
2119
ac3cf14a
WS
21202012-04-11 William Stevenson <yhvh2000@gmail.com>
2121
2122 * textmodes/artist.el (artist-mode): Convert artist-mode to use
2123 define-minor-mode (bug#10760).
2124
c4fc691b 21252012-04-11 Wolfgang Jenkner <wjenkner@inode.at> (tiny change)
49a2697c 2126
4d6769e1 2127 * progmodes/grep.el (rgrep): Tweak the find command line so
49a2697c
WJ
2128 that directories matching `grep-find-ignored-files' won't be
2129 pruned (bug#10351).
2130
af23e2e5
CY
21312012-04-11 Chong Yidong <cyd@gnu.org>
2132
2133 * startup.el (command-line): Remove support for long-obsolete
2134 variable font-lock-face-attributes.
2135
ab7ce8c1
GM
21362012-04-11 Glenn Morris <rgm@gnu.org>
2137
2138 * vc/vc-bzr.el (vc-bzr-status): Avoid condition-case-unless-debug.
2139
de8c03dc
SM
21402012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
2141
2142 * window.el (window--state-get-1): Obey window-point-insertion-type.
2143
050cc68b
LB
21442012-04-11 Lennart Borgman <lennart.borgman@gmail.com>
2145
2146 * emacs-lisp/lisp.el (narrow-to-defun): `beginning-of-defun' goes
2147 to previous function when point is on the first character of a
75f1671a 2148 function. Take care of that in `narrow-to-defun' (bug#6157).
050cc68b 2149
a38c310c
GM
21502012-04-11 Glenn Morris <rgm@gnu.org>
2151
effed0c2
GM
2152 * vc/vc-bzr.el (vc-bzr-status): Handle all errors,
2153 not just file-errors.
2154
a38c310c
GM
2155 * vc/vc-bzr.el (vc-bzr-sha1-program, sha1-program): Remove.
2156 (vc-bzr-sha1): Use internal sha1.
2157
0221e323
SM
21582012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
2159
2160 * progmodes/flymake.el (flymake-mode): Beware read-only dirs (bug#8954).
2161
43956923
SG
21622012-04-10 Sébastien Gross <seb@chezwam.org> (tiny change)
2163
2164 * progmodes/hideshow.el (hs-hide-all): Don't infloop on comments
2165 that start in the middle of the line (bug#10496).
2166
6a8c9eaf
DN
21672012-04-10 Dan Nicolaescu <dann@gnu.org>
2168
2169 * battery.el (battery-linux-proc-acpi): Only one battery is
2170 discharged at a time, but that seems to confuse battery.el when
2171 computing `rate-type' for the battery not being discharged
2172 (bug#10332).
2173
1930bf5d
SM
21742012-04-10 Stefan Monnier <monnier@iro.umontreal.ca>
2175
2a718f6f
SM
2176 * emacs-lisp/autoload.el (autoload-make-program): Remove, unused.
2177
599430d0
SM
2178 * international/quail.el: Use dolist and simplify.
2179 (quail-define-package, quail-update-keyboard-layout)
2180 (quail-define-rules): Use dolist.
2181 (quail-insert-kbd-layout, quail-get-translation): CSE.
2182
a2754b6c
SM
2183 * tmm.el: Use dolist, remove left over hook.
2184 (tmm-prompt, tmm-define-keys, tmm-shortcut, tmm-get-keybind):
2185 Use dolist.
2186 (calendar-load-hook): Don't mess with it.
2187
1930bf5d
SM
2188 * vc/vc-annotate.el (vc-annotate-show-diff-revision-at-line-internal):
2189 Use derived-mode-p. Run the diff asynchronously.
2190
9f67961c
LMI
21912012-04-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
2192
2193 * obsolete/mouse-sel.el: Add an Obsolete-since header.
2194
2a8ce227
JB
21952012-04-10 Juanma Barranquero <lekktu@gmail.com>
2196
2197 * misc.el: Display absolute path of loaded DLLs (bug#10424).
2198 (list-dynamic-libraries--loaded): New function.
2199 (list-dynamic-libraries--refresh): Use it.
2200
8f33b5f8
NW
22012012-04-10 Nathan Weizenbaum <nweiz@google.com>
2202
1930bf5d
SM
2203 * progmodes/python.el (python-fill-paragraph):
2204 Make python-fill-region in a multiline string work when font-lock is
8f33b5f8
NW
2205 disabled (bug#7018).
2206
b12f0439
L
22072012-04-10 Laimonas Vėbra <laimonas.vebra@gmail.com> (tiny change)
2208
1930bf5d 2209 * language/european.el (cp775): Add oem/legacy (en)coding on
75f1671a
JB
2210 DOS/MS Windows for the Baltic languages. There are still plenty
2211 of texts written in this encoding/codepage (bug#6519).
b12f0439 2212
57c3bd01
GM
22132012-04-10 Glenn Morris <rgm@gnu.org>
2214
2215 * cus-start.el (eol-mnemonic-unix, eol-mnemonic-dos, eol-mnemonic-mac):
2216 Add :standard values, reducing "rogue" customs in emacs -Q a bit more.
2217
6c3eab30
FA
22182012-04-10 Florian Adamsky <florian@adamsky.it> (tiny change)
2219
1930bf5d 2220 * recentf.el (recentf-dialog-mode-map): Add two keybindings for
6c3eab30
FA
2221 next-line "n" and previous-line "p" in order to make recentf more
2222 consistent with ibuffer, dired or org-mode (bug#9387).
2223
24d78a88
LMI
22242012-04-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
2225
bc72b5d9
LMI
2226 * image.el (put-image): Return the overlay created instead of the
2227 optional input string (bug#7834). Note that this may break code
2228 that is (for some reason or other) depending on `put-image'
2229 returning the string.
2230
bd2dba5a
LMI
2231 * mouse-sel.el (mouse-sel-mode): Mark as obsolete (bug#6174).
2232
74beb59f
LMI
2233 * simple.el (zap-to-char): Allow zapping using input methods
2234 (bug#1580).
2235
24d78a88
LMI
2236 * textmodes/fill.el (fill-region): Leave point and mark where they
2237 were before filling (bug#5399).
2238
263f20cd
GM
22392012-04-09 Glenn Morris <rgm@gnu.org>
2240
2241 * version.el (emacs-bzr-get-version):
2242 Handle lightweight checkouts of local branches.
2243
58d1f797
AS
22442012-04-09 Andreas Schwab <schwab@linux-m68k.org>
2245
263f20cd 2246 * international/characters.el: Recover lost case pairs. (Bug#11209)
58d1f797 2247
b4d3bc10
CY
22482012-04-09 Chong Yidong <cyd@gnu.org>
2249
2250 * custom.el (custom-variable-p): Return nil for non-symbol
2251 arguments instead of signaling an error.
2252 (user-variable-p): Obsolete alias for custom-variable-p.
2253
2254 * apropos.el (apropos-variable):
2255 * files-x.el (read-file-local-variable):
2256 * simple.el (set-variable):
2257 * woman.el (woman-mini-help):
2258 * emacs-lisp/byte-opt.el (side-effect-free-fns): Callers changed.
2259
fd06db5d
GM
22602012-04-09 Glenn Morris <rgm@gnu.org>
2261
e5fcdb5e
GM
2262 * startup.el (normal-top-level): Don't look for leim-list.el
2263 in places where it will not be found. (Bug#910)
2264
fd06db5d
GM
2265 * international/mule-cmds.el (set-default-coding-systems):
2266 * files.el (normal-mode):
2267 Remove guarded calls to ucs-set-table-for-input. (Bug#9821)
2268 This function was removed with ucs-tables.el in 2008.
2269
b39bb7e1
EZ
22702012-04-08 Eli Zaretskii <eliz@gnu.org>
2271
2272 * textmodes/ispell.el (ispell-check-version): For hunspell, set
2273 ispell-encoding8-command to "-i", without a trailing space.
2274 (ispell-start-process): For hunspell, use '("-i" ENCODING), in 2
2275 separate command-line arguments, to specify the encoding, since
2276 that's how hunspell expects it.
2277
5c5b8e23
GM
22782012-04-08 Glenn Morris <rgm@gnu.org>
2279
2280 * loadup.el: Load bindings before cus-start.
2281 This reduces somewhat the number of "rogue" settings in emacs -Q.
2282
a1ed8b05
GM
22832012-04-07 Glenn Morris <rgm@gnu.org>
2284
2285 * version.el (emacs-bzr-get-version): New function.
dfae128a 2286 (emacs-bzr-version): New variable.
a1ed8b05
GM
2287 * loadup.el (emacs-bzr-version): Set it. (Bug#8054)
2288 * mail/emacsbug.el (report-emacs-bug): Include bzr version.
2289
b142f158
EZ
22902012-04-07 Eli Zaretskii <eliz@gnu.org>
2291
dfae128a
GM
2292 * international/uni-bidi.el, international/uni-category.el:
2293 * international/uni-combining.el, international/uni-decimal.el:
2294 * international/uni-decomposition.el, international/uni-digit.el:
2295 * international/uni-lowercase.el, international/uni-mirrored.el:
2296 * international/uni-name.el, international/uni-numeric.el:
2297 * international/uni-titlecase.el, international/uni-uppercase.el:
2298 Update for Unicode 6.1.
b142f158 2299
9078ead6
EZ
23002012-04-07 Eli Zaretskii <eliz@gnu.org>
2301
2302 * term/w32-win.el (dynamic-library-alist): Add libxml2 DLLs.
2303
f23d2c7d
LMI
23042012-04-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
2305
2306 * window.el (shrink-window): Mention the `window-min-height'
2307 variable in the doc string.
2308
0a0a3573
BG
23092012-04-05 Bastien Guerry <bzg@altern.org>
2310
2311 * color.el (color-lighten-name): Fix typo.
2312
e5248ac9
SM
23132012-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
2314
2315 * server.el (server--on-display-p): New function.
2316 (server--on-display-p): Use it.
2317
b4243e22
GV
23182012-04-04 Gabor Vida <vidagabor@gmail.com> (tiny change)
2319
2320 * ido.el (ido-wide-find-dirs-or-files): Use file-name-absolute-p
2321 (bug#11145).
2322
305d9f44
SM
23232012-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
2324
2325 * comint.el (comint--common-quoted-suffix): Check string boundary
2326 before comparing (bug#11158).
2327 * pcomplete.el (pcomplete--common-quoted-suffix): Idem.
2328
3d439cd1
CY
23292012-04-04 Chong Yidong <cyd@gnu.org>
2330
321cc491
CY
2331 * minibuffer.el (completion-extra-properties): Doc fix.
2332
3d439cd1
CY
2333 * subr.el (delayed-warnings-hook): Doc fix.
2334
2d562c0f
DU
23352012-04-04 Daiki Ueno <ueno@unixuser.org>
2336
2337 * epa.el (epa--select-keys): Bind C-c C-c to finish the key
2338 selection (Bug#11159).
2339 (epa-insert-keys): Inform that the default public key will be
2340 exported if no key is selected.
2341
4443f204
RS
23422012-04-04 Richard Stallman <rms@gnu.org>
2343
2344 * mail/emacsbug.el (report-emacs-bug): Bind inhibit-read-only.
2345
529c06b6
CY
23462012-04-03 Chong Yidong <cyd@gnu.org>
2347
2348 * mail/sendmail.el (mail-mode-map): Bind C-c C-i to
2349 mail-insert-file, not its obsolete alias mail-attach-file.
2350
66b907dc
MA
23512012-04-03 Michael Albinus <michael.albinus@gmx.de>
2352
2353 * notifications.el (notifications-notify): Fix docstring.
2354
c0ea195d
GM
23552012-04-02 Glenn Morris <rgm@gnu.org>
2356
2357 * emacs-lisp/authors.el (authors-aliases): Another addition.
2358
5ca64e00
MA
23592012-04-02 Michael Albinus <michael.albinus@gmx.de>
2360
2361 * net/tramp-gvfs.el (tramp-gvfs-send-command): Apply
2362 `tramp-compat-call-process' instead of `tramp-local-call-process'.
2363 Reported by Magnus Henoch <magnus.henoch@gmail.com>.
2364
42ee526b
CY
23652012-04-01 Chong Yidong <cyd@gnu.org>
2366
2367 * files.el (file-in-directory-p): Rename from file-subdir-of-p.
2368 Handle root directory properly.
2369 (copy-directory): Caller changed.
2370
2371 * dired-aux.el (dired-copy-file-recursive, dired-create-files):
2372 * net/tramp.el (tramp-file-name-for-operation): Callers changed.
2373
0b021094
GM
23742012-03-31 Glenn Morris <rgm@gnu.org>
2375
40f86458
GM
2376 * term/xterm.el (xterm-extra-capabilities): Doc fix.
2377
7019c177
GM
2378 * language/indian.el ("Devanagari"): Fix typo. (Bug#11103)
2379
a1daddd6
GM
2380 * calendar/calendar.el (calendar-window-list)
2381 (calendar-hide-window): Restore. (Bug#11140)
2382 (calendar-exit): Use calendar-window-list, calendar-hide-window again.
2383
0b021094
GM
2384 * emacs-lisp/edebug.el (edebug-unwrap-results): Doc fix.
2385
40311efc
TV
23862012-03-30 Thierry Volpiatto <thierry.volpiatto@gmail.com>
2387
2388 * dired-aux.el (dired-copy-file-recursive, dired-create-files):
2389 Check if file is a symlink (Bug#10489).
2390
2391 * files.el (copy-directory): Likewise.
2392
5319014e
CY
23932012-03-30 Chong Yidong <cyd@gnu.org>
2394
2395 * image.el (imagemagick-types-inhibit)
2396 (imagemagick-register-types): Doc fix.
2397
935d1290
AM
23982012-03-30 Agustín Martín Domingo <agustin.martin@hispalinux.es>
2399
ef24141c
SM
2400 * ispell.el (ispell-get-extended-character-mode):
2401 Disable extended-char-mode for hunspell. hunspell does not support it
75f1671a 2402 and treats ~word as ordinary words in pipe mode.
935d1290 2403
61c6e8fd
GM
24042012-03-30 Glenn Morris <rgm@gnu.org>
2405
2406 * tutorial.el (help-with-tutorial): Ensure local variables don't
2407 happen to make the buffer read-only. (Bug#11127)
2408
81fdff00
SM
24092012-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
2410
2411 * progmodes/perl-mode.el (perl-indent-line): Use `noindent' in strings.
2412 (perl-calculate-indent): Return `noindent' in strings.
2413
6e7a6ec0
SS
24142012-03-28 Sam Steingold <sds@gnu.org>
2415
2416 * calendar/calendar.el (calendar-exit): Use `quit-windows-on'
2417 instead of the broken adhockery which does not prevent calendar
2418 buffers from being displayed at random after exit.
2419 (calendar-window-list, calendar-hide-window): Remove the broken
2420 adhockery.
2421
fee88ca0
GM
24222012-03-28 Glenn Morris <rgm@gnu.org>
2423
2424 * replace.el (query-replace-map): Doc fix.
2425
38de3354
AS
24262012-03-28 Andreas Schwab <schwab@linux-m68k.org>
2427
2428 * vc/vc-git.el (vc-git-state): Don't try to match all of the diff
2429 contents. (Bug#11109)
2430
b973155e
SM
24312012-03-27 Stefan Monnier <monnier@iro.umontreal.ca>
2432
2433 * emacs-lisp/avl-tree.el (avl-tree--enter-balance): Fix paren typo
2434 (bug#11077).
2435 (avl-tree--check, avl-tree--check-node): New funs.
2436
dcb6e7b3
MR
24372012-03-27 Martin Rudalics <rudalics@gmx.at>
2438
2439 * window.el (switch-to-visible-buffer): New option.
b973155e
SM
2440 (switch-to-prev-buffer, switch-to-next-buffer):
2441 Observe switch-to-visible-buffer. Make sure that checking for a window
dcb6e7b3
MR
2442 showing a buffer already is done on the same frame.
2443
b4fa35fa
GM
24442012-03-27 Glenn Morris <rgm@gnu.org>
2445
2446 * startup.el (mail-host-address): Doc fix.
2447
f9210e18
SM
24482012-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
2449
2450 * emacs-lisp/bytecomp.el (byte-compile-constants-vector): Allow more
2451 than 197 variables.
2452
c0bf7753
AF
24532012-03-26 Ami Fischman <ami@fischman.org>
2454
2455 * vc/vc-git.el (vc-git-state): Avoid unnecessarily locking.
2456
33da7b16
GM
24572012-03-26 Glenn Morris <rgm@gnu.org>
2458
02243d9d
GM
2459 * files.el (save-buffers-kill-emacs): Doc fix.
2460
33da7b16
GM
2461 * startup.el (normal-top-level, command-line, command-line-1):
2462 Give them doc strings.
2463
e5a69fd0
EZ
24642012-03-25 Eli Zaretskii <eliz@gnu.org>
2465
2466 * makefile.w32-in (install): Use $(DIRNAME)_same-dir.tst instead
b973155e 2467 of same-dir.tst, to avoid stepping on other (parallel) Make job's toes.
e5a69fd0 2468
9a69676a
CY
24692012-03-25 Chong Yidong <cyd@gnu.org>
2470
4125cb8b
CY
2471 * custom.el (load-theme): Even if NO-ENABLE arg is t, reenable the
2472 theme if it was previously enabled before (Bug#11031).
2473
dd470960
CY
2474 * cus-theme.el (custom-theme-write-faces): Retrieve current face
2475 spec with custom-face-get-current-spec if its :shown-value is not
2476 determined yet (Bug#9337).
4125cb8b 2477 (customize-create-theme, custom-theme-revert): Doc fixes.
dd470960 2478
9a69676a
CY
2479 * button.el (button-at): Minor addition to docstring.
2480
6e7e90fa
SL
24812012-03-24 Simon Leinen <simon.leinen@gmail.com>
2482
2483 * vc/vc.el (vc-merge): Fix a prompt.
2484
f06e2758
CY
24852012-03-24 Chong Yidong <cyd@gnu.org>
2486
2487 * mwheel.el (mwheel-scroll): Call deactivate-mark at the right
2488 point (Bug#9623).
2489
6e7e90fa
SL
2490 * button.el (button-at): Minor addition to docstring.
2491
b9d0879b
SM
24922012-03-23 Stefan Monnier <monnier@iro.umontreal.ca>
2493
2494 * newcomment.el (comment-choose-indent): No space after BOL.
2495
e71cebb3
SS
24962012-03-22 Sam Steingold <sds@gnu.org>
2497
2498 * window.el (switch-to-prev-buffer): Revert last patch because the
2499 bug turned out to be an advertised feature (Elisp manual 28.14).
2500
335aff35
GM
25012012-03-22 Glenn Morris <rgm@gnu.org>
2502
2503 * vc/vc-bzr.el (vc-bzr-status-switches): New option. (Bug#6724)
2504 (vc-bzr-command): If running "status", pass vc-bzr-status-switches.
2505
c676576a
LMI
25062012-03-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
2507
2508 * net/network-stream.el (network-stream-open-starttls): Make error
2509 message under Windows be less misleading.
2510
126f3d39
LW
25112012-03-22 Liang Wang <netcasper@gmail.com> (tiny change)
2512
2513 * progmodes/etags.el (etags-list-tags): Only use tags which goto-func
2514 understands (bug#9942).
2515
64fee311
CY
25162012-03-22 Chong Yidong <cyd@gnu.org>
2517
2518 * simple.el (end-of-visible-line): Handle return value of
2519 next-single-property-change properly (Bug#9371).
2520
a640d29a
KH
25212012-03-22 Kenichi Handa <handa@m17n.org>
2522
2523 * international/quail.el (quail-insert-kbd-layout): Fix previous
2524 change. To avoid unwanted bidi reordering, use
2525 bidi-string-mark-left-to-right instead of inserting LRO and PDF.
2526
39675016
DG
25272012-03-21 Dmitry Gutov <dgutov@yandex.ru>
2528
2529 * progmodes/ruby-mode.el: Don't confuse "end:" for "end" (bug#10786).
2530 (ruby-block-end-re, ruby-delimiter, ruby-parse-partial)
2531 (ruby-beginning-of-indent): Be more careful with the difference
2532 between word-boundary and symbol boundary.
2533 (ruby-mode-syntax-table): Make : a symbol constituent.
2534
0a6934fc 25352012-03-21 Andreas Politz <politza@fh-trier.de>
1acad97c 2536
3d008e4f
SM
2537 * outline.el (outline-flag-region): Evaporate overlays (bug#10789).
2538
0a6934fc
SM
25392012-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
2540
af67c9d7
SM
2541 * progmodes/etags.el (tags-completion-at-point-function):
2542 Improve last fix.
2543
1acad97c
SM
2544 * files.el (move-file-to-trash): Files aren't regexps (bug#11055).
2545
e298b5da
SS
25462012-03-21 Sam Steingold <sds@gnu.org>
2547
2548 * progmodes/etags.el (tags-completion-at-point-function):
2549 Avoid the error when point is inside the pattern.
2550
91d82a70
JY
25512012-03-21 John Yates <john@yates-sheets.org> (tiny change)
2552
2553 * progmodes/hideshow.el (hs-inside-comment-p): Fix hiding of first
2554 line (Bug#10855).
2555
69188b79
CY
25562012-03-21 Drew Adams <drew.adams@oracle.com>
2557
2558 * info.el (Info-menu): Handle string value of FORK arg (Bug#10858).
2559
99fc91fe
AK
25602012-03-21 Anmol Khirbat <anmol@khirbat.net> (tiny change)
2561
2562 * ido.el (ido-set-current-directory, ido-read-internal)
2563 (ido-choose-completion-string, ido-completion-help): Handle nil
2564 value of ido-completion-buffer (Bug#11008).
2565
087bbb4c
SS
25662012-03-21 Sam Steingold <sds@gnu.org>
2567
2568 * window.el (switch-to-prev-buffer): Do not switch to a visible
2569 window previous buffer, just like with the frame previous buffers.
2570
fb5b8aca
CY
25712012-03-21 Chong Yidong <cyd@gnu.org>
2572
2573 * faces.el (make-face, make-empty-face, copy-face):
2574 * face-remap.el (face-remap-add-relative, face-remap-set-base):
2575 Doc fixes.
2576
dc9924b8
SM
25772012-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
2578
2579 * wid-edit.el (widget-complete-field): Remove (bug#11051).
2580 (widget-complete): Remove broken use of it.
2581
f0bcceb9
CY
25822012-03-20 Chong Yidong <cyd@gnu.org>
2583
dc9924b8
SM
2584 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
2585 Use string-width and truncate-string-width to handle arbitrary
f0bcceb9
CY
2586 characters.
2587
ee52ebf3
TH
25882012-03-20 Tassilo Horn <tassilo@member.fsf.org>
2589
2590 * textmodes/artist.el (artist-menu-map): Bind Rectangle menu item
2591 to draw rectangles, not squares. (Regression introduced by revno
2592 2011-03-02T03:48:01Z!cyd@stupidchicken.com)
2593
4c5779ab
CY
25942012-03-18 Chong Yidong <cyd@gnu.org>
2595
2596 * faces.el (face-spec-reset-face): Don't call display-graphic-p if
2597 it is not yet defined (for temacs).
2598
15360934
LL
25992012-03-18 Leo Liu <sdl.web@gmail.com>
2600
dc9924b8 2601 * net/rcirc.el (rcirc-cmd-quit): Allow quiting all servers with prefix.
15360934 2602
d9a8eb66
EZ
26032012-03-17 Eli Zaretskii <eliz@gnu.org>
2604
2605 * textmodes/ispell.el (ispell-skip-tib, ispell-keep-choices-win)
2606 (ispell-choices-win-default-height, ispell-silently-savep)
2607 (ispell-dictionary-alist, ispell-encoding8-command)
2608 (ispell-check-version, ispell-aspell-find-dictionary)
2609 (ispell-valid-dictionary-list, ispell-words-keyword)
2610 (ispell-get-word, ispell-internal-change-dictionary)
2611 (ispell-region, ispell-skip-region-list)
2612 (ispell-begin-skip-region-regexp, ispell-ignore-fcc)
2613 (ispell-process-line, ispell-minor-mode, ispell-minor-check)
2614 (ispell-message-text-end, ispell-message)
2615 (ispell-buffer-local-parsing): Doc fix.
2616
f02ff80d
J
26172012-03-13 Jambunathan K <kjambunathan@gmail.com>
2618
2619 * htmlfontify.el: Add support for code block fontification for ODT
2620 export (Bug #9914).
2621 (hfy-optimisations): Define new option
2622 `body-text-only'
2623 (hfy-fontify-buffer): Honor above setting.
2624 (hfy-begin-span, hfy-end-span): New routines factored out form
2625 `hfy-fontify-buffer'.
2626 (hfy-begin-span-handler, hfy-end-span-handler): New variables
2627 that permit insertion of custom tags.
2628 (hfy-fontify-buffer): Use above handlers.
2629 (hfy-face-to-css-default): Same as the earlier `hfy-face-to-css'.
2630 (hfy-face-to-css): Re-defined to be a variable.
dc9924b8 2631 (hfy-compile-stylesheet): Modify. Allow stylesheet to be built
75f1671a 2632 over multiple runs. This is made possible by having the caller let
f02ff80d
J
2633 bind a special variable `hfy-user-sheet-assoc'.
2634 (htmlfontify-string): New defun.
2635 (hfy-compile-face-map): Make sure that the last char in the
2636 buffer is correctly fontified.
2637 (hfy-face-resolve-face): Whitespace only change.
2638
9ac7a13f
EZ
26392012-03-17 Eli Zaretskii <eliz@gnu.org>
2640
2641 * textmodes/ispell.el (ispell-get-decoded-string): Make the error
2642 message more clear.
2643
e2b5bdd7
LL
26442012-03-16 Leo Liu <sdl.web@gmail.com>
2645
2646 * emacs-lisp/copyright.el (copyright-year-ranges): Fix typo.
2647
2e492df3
AM
26482012-03-16 Alan Mackenzie <acm@muc.de>
2649
2650 Further optimise the handling of large macros.
2651
2652 * progmodes/cc-engine.el (c-crosses-statement-barrier-p): Use a
2653 limit to a call of `c-literal-limits'.
2654 (c-determine-+ve-limit): New function.
dc9924b8
SM
2655 (c-at-macro-vsemi-p): Move `c-in-literal' to the bottom of an `and'.
2656 (c-guess-basic-syntax): In macros, restrict a search limit to 2000.
2e492df3
AM
2657 In CASE 5B, restrict a search limit to 500.
2658 (c-just-after-func-arglist-p): Obviouly wrong `or' -> `and'.
2659
2660 * progmodes/cc-mode.el (c-neutralize-syntax-in-and-mark-CPP):
2661 Restrict macro bounds to +-500 from after-change's BEG END.
2662
50e94f0c
LL
26632012-03-16 Leo Liu <sdl.web@gmail.com>
2664
2665 * font-lock.el (lisp-font-lock-keywords-2): Add letrec.
2666
6f09f6ed
AH
26672012-03-16 Aaron S. Hawley <Aaron.S.Hawley@gmail.com>
2668
2669 * tar-mode.el (tar-mode): Fix saving by conditionally undoing
dc9924b8 2670 `special-mode' setting of `buffer-read-only'. (Bug#11010)
6f09f6ed 2671
c7e73d51
GM
26722012-03-16 Glenn Morris <rgm@gnu.org>
2673
da986230
GM
2674 * view.el (view-buffer, view-buffer-other-window)
2675 (view-buffer-other-frame): Doc fixes re special mode-class.
2676
0835f01e
GM
2677 * subr.el (eval-after-load): If named feature is provided not from
2678 a file, run after-load forms. (Bug#10946)
2679
c7e73d51
GM
2680 * calendar/calendar.el (calendar-insert-at-column):
2681 Handle non-unit-width characters a bit better. (Bug#10978)
2682
3f2eafd1
CY
26832012-03-15 Chong Yidong <cyd@gnu.org>
2684
2685 * emacs-lisp/ring.el (ring-extend): New function.
2686 (ring-insert+extend): Extend the ring correctly (Bug#11019).
2687
2688 * comint.el (comint-read-input-ring)
2689 (comint-add-to-input-history): Grow comint-input-ring lazily.
2690
103af3fe
SM
26912012-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
2692
663b1677
SM
2693 * progmodes/perl-mode.el (perl-syntax-propertize-special-constructs):
2694 Fix up parsing of multiline twoarg non-paired elements (bug#11014).
2695
103af3fe
SM
2696 * imenu.el: Fix multiple inheritance breakage (bug#9199).
2697 (imenu-add-to-menubar): Don't add a redundant index.
2698 (imenu-update-menubar): Handle a dynamically composed keymap.
2699
899cb7cb
KY
27002012-03-13 Katsumi Yamaoka <yamaoka@jpl.org>
2701
2702 * mail/sendmail.el (mail-encode-header):
2703 Bind rfc2047-encode-encoded-words to nil.
2704
3809f91d
GM
27052012-03-13 Glenn Morris <rgm@gnu.org>
2706
2707 * calendar/calendar.el (calendar-string-spread):
2708 Handle non-unit-width characters a bit better. (Bug#10978)
2709
9e345a01
LL
27102012-03-13 Leo Liu <sdl.web@gmail.com>
2711
2712 * vc/vc-hg.el (vc-hg-working-revision): Rework to work with both
2713 directory and file as argument (Bug#10822).
2714
4a07df36
KS
27152012-03-13 Kaushik Srenevasan <ksrenevasan@gmail.com> (tiny change)
2716
2717 * progmodes/gdb-mi.el (gdb-invalidate-disassembly):
2718 For dynamically generated code, follow $PC.
2719 (gdb-disassembly-handler-custom): Handle no function name case.
2720
4aaa9356
TL
27212012-03-13 Tim Landscheidt <tim@tim-landscheidt.de> (tiny change)
2722
2723 * calendar/icalendar.el (icalendar-export-file, icalendar-import-file):
2724 * emulation/ws-mode.el (ws-query-replace):
2725 * sort.el (sort-regexp-fields):
2726 Fix missing trailing whitespace in interactive prompts. (Bug#11002)
2727
225979da
SM
27282012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
2729
2730 * dabbrev.el: Fix cycle completion order (bug#10963).
2731 (dabbrev--last-obarray, dabbrev--last-completion-buffer): Remove.
2732 (dabbrev-completion): Don't use an obarray; provide
2733 a cycle-sort-function.
2734
e2f1fdab
LL
27352012-03-12 Leo Liu <sdl.web@gmail.com>
2736
dc9924b8 2737 * simple.el (kill-new): Use equal-including-properties for comparison.
e2f1fdab
LL
2738 (kill-do-not-save-duplicates): Doc fix.
2739
b19490ed
SM
27402012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
2741
2742 * dabbrev.el: Fix cycle completion (bug#10963).
2743 Use lexical binding and wrap to 80 columns.
2744 (dabbrev-completion): Delay computing the list of completions.
2745
4b05d722
KH
27462012-03-12 Kenichi Handa <handa@m17n.org>
2747
2748 * international/quail.el (quail-insert-kbd-layout): Surround each
2749 row by LRO and PDF instead of inserting many LRMs. Pad the left
2750 and right of each non-spacing marks. Insert invisible space
2751 between lower and upper characters to prevent composition.
2752
dbbc2e69
SM
27532012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
2754
2755 * minibuffer.el (minibuffer-complete): Don't get confused when the
2756 function is run twice via different commands (bug#10958).
2757 (complete-with-action): Fix docstring.
2758
292112ed
CY
27592012-03-12 Chong Yidong <cyd@gnu.org>
2760
5d1ac394
CY
2761 * nxml/nxml-mode.el (nxml-mode-map): Do not bind C-RET (Bug#6776).
2762 (nxml-completion-at-point-function): New function.
2763 (nxml-mode): Use it.
2764 (nxml-bind-meta-tab-to-complete-flag): Default to t.
2765
292112ed
CY
2766 * emacs-lisp/package.el (package-unpack, package-unpack-single):
2767 Load generated autoloads file before byte compiling (Bug#10970).
2768 (package--make-autoloads-and-compile): New helper fun.
2769
4098f8f7
CS
27702012-03-12 Christopher Schmidt <christopher@ch.ristopher.com>
2771
2772 * ibuffer.el (ibuffer-redisplay): Remove another gratuitous error.
2773
8f754691
MA
27742012-03-11 Michael Albinus <michael.albinus@gmx.de>
2775
2776 * autorevert.el (auto-revert-handler): Ensure, that
2777 file-readable-p is applied only for local files or in
2778 auto-revert-tail-mode.
2779
e29ab36b
AS
27802012-03-11 Andreas Schwab <schwab@linux-m68k.org>
2781
dbbc2e69
SM
2782 * server.el (server-eval-at): Handle non-tcp connections.
2783 Decode result string.
ad0bf5b6 2784
e29ab36b
AS
2785 * server.el (server-msg-size): New constant.
2786 (server-reply-print): New function.
2787 (server-eval-and-print): Use it.
2788 (server-eval-at): Use server-quote-arg and server-unquote-arg.
2789 Handle -print-nonl.
2790
de5939ba
CS
27912012-03-11 Christopher Schmidt <christopher@ch.ristopher.com>
2792
2793 * ibuffer.el (ibuffer-redisplay): Remove gratuitous error
2794 (Bug#10987).
2795
0c93eabf
CY
27962012-03-11 Chong Yidong <cyd@gnu.org>
2797
397a688f
CY
2798 * simple.el (goto-line): Doc fix (Bug#9938).
2799
2cc775f9
CY
2800 * subr.el (save-window-excursion): Doc fix (Bug#9979).
2801
0c93eabf
CY
2802 * dabbrev.el (dabbrev--find-expansion): Update progress reporter
2803 when finished (Bug#10963).
2804
c491fa41
MR
28052012-03-11 Martin Rudalics <rudalics@gmx.at>
2806
2807 * window.el (split-window-below): Fix bug in case where
2808 split-window-keep-point is nil (Bug#10971).
2809
300e8fa5
JL
28102012-03-11 Juri Linkov <juri@jurta.org>
2811
2812 * replace.el (replace-highlight): Set isearch-word to nil
2813 unconditionally. (Bug#10887)
2814
dbf6c5a1
EZ
28152012-03-10 Eli Zaretskii <eliz@gnu.org>
2816
2817 * net/mairix.el (mairix-replace-invalid-chars): Rename from
2818 mairix-replace-illegal-chars; all callers changed. Don't remove
dc9924b8 2819 ^, ~, and = characters: they are meaningful in mairix search specs.
dbf6c5a1
EZ
2820 (mairix-widget-create-query): Add usage information about mairix
2821 search forms: negating words, searching for substrings, etc.
2822
b9e501de
JP
28232012-03-10 Jae-hyeon Park <jae-hyeon.park@desy.de> (tiny change)
2824
2825 * international/fontset.el (font-encoding-alist): Add an entry for
2826 ksx1001 (Bug#5667).
2827
92795c91
RS
28282012-03-10 Richard Stallman <rms@gnu.org>
2829
1694e6c1
RS
2830 * mail/sendmail.el (mail-encode-header):
2831 Set rfc2047-encode-encoded-words.
2832
607e8555
RS
2833 * mail/mail-utils.el (mail-quote-printable): Quote multibyte chars.
2834
de3bc99a
RS
2835 * mail/rmail.el (rmail-buffers-swapped-p): Don't assume dead
2836 view buffer means not swapped.
2837 (rmail-view-buffer-kill-buffer-hook): Give buf name in error msg.
2838 (rmail-write-region-annotate): Error if real text has disappeared.
2839
92795c91
RS
2840 * epa-mail.el (epa-mail-encrypt): Bind inhibit-read-only.
2841
699bd04e
CY
28422012-03-10 Chong Yidong <cyd@gnu.org>
2843
2844 * emulation/cua-rect.el (cua--init-rectangles):
dbbc2e69
SM
2845 * emulation/cua-base.el (cua--init-keymaps):
2846 Add delete-forward-char to remappings (Bug#9666).
699bd04e 2847
570a1714
MR
28482012-03-10 Martin Rudalics <rudalics@gmx.at>
2849
dbbc2e69
SM
2850 * speedbar.el (speedbar-unhighlight-one-tag-line):
2851 Avoid unhighlighting due to frame switching (Bug#10275).
570a1714 2852
82dcf4e4
CY
28532012-03-10 Chong Yidong <cyd@gnu.org>
2854
7a2c7ca7
CY
2855 * minibuffer.el (completion-in-region, completion-help-at-point):
2856 Give the completion field overlay a high priority (Bug#6830).
2857
82dcf4e4
CY
2858 * dired.el (dired-goto-file): Recognize absolute file name
2859 listings (Bug#7126).
2860 (dired-goto-file-1): New helper function.
2861 (dired-toggle-read-only): Inhibit warnings.
2862
052e28ac
MA
28632012-03-09 Michael Albinus <michael.albinus@gmx.de>
2864
75f1671a 2865 * net/dbus.el (dbus-property-handler): Return empty array if
052e28ac
MA
2866 there are no properties.
2867
95d5e396
LL
28682012-03-09 Leo Liu <sdl.web@gmail.com>
2869
2870 * savehist.el (savehist-printable): Stricter check for string
2871 value (Bug#10937).
2872
3f018d6d
EZ
28732012-03-09 Eli Zaretskii <eliz@gnu.org>
2874
dbbc2e69
SM
2875 * mail/smtpmail.el (smtpmail-send-it):
2876 Bind coding-system-for-write to *-unix, so that FCC files are kept in
3f018d6d
EZ
2877 valid mbox format.
2878
f7fd3d79
GM
28792012-03-09 Glenn Morris <rgm@gnu.org>
2880
2881 * files.el (dir-locals-find-file):
2882 Don't check result is regular, readable.
2883 (dir-locals-read-from-file): Demote errors.
2884
6ff6e72f
EZ
28852012-03-08 Eli Zaretskii <eliz@gnu.org>
2886
dbbc2e69
SM
2887 * international/quail.el (quail-insert-kbd-layout):
2888 Insert invisible LRM characters before each character in a keyboard
6ff6e72f
EZ
2889 layout cell, to prevent their reordering by bidi display engine.
2890 For details, see the discussion in
2891 http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00085.html.
2892
9cec7834
AM
28932012-03-08 Alan Mackenzie <acm@muc.de>
2894
2895 * progmodes/cc-cmds.el (c-mark-function): Make it leave a mark at
2896 the starting position; make it extend the marked region when
2897 invoked repeatedly - all under appropriate circumstances.
2898 Fixes bugs #5525, #10906.
2899
9a40b8d4
GM
29002012-03-08 Glenn Morris <rgm@gnu.org>
2901
2902 * files.el (locate-dominating-file, dir-locals-find-file):
2903 Undo 2012-03-06 change.
2904
7a08ed35
EZ
29052012-03-07 Eli Zaretskii <eliz@gnu.org>
2906
dbbc2e69
SM
2907 * international/quail.el (quail-help):
2908 Force bidi-paragraph-direction be left-to-right. See discussion in
7a08ed35
EZ
2909 http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00062.html
2910 for the reason.
2911
5aca4f71 29122012-03-07 Michael Albinus <michael.albinus@gmx.de>
6612a284
MA
2913
2914 Avoid superfluous registering of signals. (Bug#10807)
2915
2916 * notifications.el (notifications-on-action-object)
2917 (notifications-on-close-object): New defvars.
2918 (notifications-on-action-signal, notifications-on-closed-signal):
2919 Unregister the signal if not needed any longer.
2920 (notifications-notify): Register `notifications-action-signal' or
2921 `notifications-closed-signal', if :on-action or :on-close has been
2922 passed as argument.
2923
78e8b10a
CY
29242012-03-07 Chong Yidong <cyd@gnu.org>
2925
2926 * cus-start.el: Avoid x-select-enable-clipboard-manager warning on
2927 non-X platforms.
2928
69481eb8
GM
29292012-03-06 Glenn Morris <rgm@gnu.org>
2930
2931 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
2932 (x-disown-selection-internal, x-get-selection-internal):
2933 Doc fix (add arglist signatures). (Bug#10783)
2934
133b8e11
KS
29352012-03-06 Kaushik Srenevasan <ksrenevasan@gmail.com> (tiny change)
2936
2937 * progmodes/gdb-mi.el (gdb-breakpoints-list-handler-custom):
2938 Handle breakpoints with no "type".
2939
99a83064
GM
29402012-03-06 Glenn Morris <rgm@gnu.org>
2941
2942 * files.el (locate-dominating-file): Add optional predicate argument.
2943 (dir-locals-find-file): Make use of above change.
2944
17798e78
TTN
29452012-03-06 Thien-Thi Nguyen <ttn@gnuvola.org>
2946
2947 * info.el (Info-insert-dir): Also try "dir.gz".
2948
eb182446
GM
29492012-03-06 Glenn Morris <rgm@gnu.org>
2950
8f2114ee
GM
2951 * files.el (dir-locals-find-file):
2952 Ignore non-readable or non-regular files. (Bug#10928)
2953
eb182446
GM
2954 * files.el (locate-dominating-file): Doc fix.
2955
24679323
AS
29562012-03-06 Adam Spiers <emacs@adamspiers.org> (tiny change)
2957
2958 * calendar/calendar.el (calendar-set-mode-line):
2959 `getenv' returns a string. (Bug#10951)
2960
01d972a9
LL
29612012-03-05 Leo Liu <sdl.web@gmail.com>
2962
109aa8a9
LL
2963 * simple.el (backward-delete-char-untabify): Constrain point to
2964 field (Bug#10939).
2965
01d972a9
LL
2966 * eshell/em-cmpl.el (eshell-cmpl-initialize): Fix shift-tab key.
2967
10607bea
CY
29682012-03-05 Chong Yidong <cyd@gnu.org>
2969
2970 * simple.el (count-words): If called from Lisp, return the word
2971 count, for symmetry with `count-lines'. Arglist changed.
2972 (count-words--message): Args changed. Consolidate counting code
2973 from count-words and count-words-region.
2974 (count-words-region): Caller changed.
2975 (count-lines-region): Make it an obsolete alias.
2976
5dd11cfe
TH
29772012-03-04 Tassilo Horn <tassilo@member.fsf.org>
2978
2979 * saveplace.el (save-place-to-alist)
2980 (save-place-ignore-files-regexp): Allow value nil to disable this
2981 feature.
2982
c349f4e6
CY
29832012-03-04 Chong Yidong <cyd@gnu.org>
2984
2985 * faces.el (face-spec-reset-face): For the default face, reset the
2986 attributes to default values (Bug#10748).
2987
e627be4c
LMI
29882012-03-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
2989
2990 * mail/emacsbug.el (report-emacs-bug-hook): Fix up thinko in
2991 previous patch: Check `message-send-mail-function', and not the
2992 default function (bug#10897).
2993
ebeabff4
MA
29942012-03-04 Michael Albinus <michael.albinus@gmx.de>
2995
a41a6cf4
MA
2996 * notifications.el (notifications-on-action-signal)
2997 (notifications-on-closed-signal): Check for unique service name of
2998 incoming event. Fix error in removing entry.
ebeabff4 2999 (top): Register for signals with wildcard service name.
a41a6cf4 3000 (notifications-notify): Use daemon unique service name for map entries.
ebeabff4 3001
c1ca42b4
CY
30022012-03-04 Chong Yidong <cyd@gnu.org>
3003
dc9924b8 3004 * cus-start.el: Make x-select-enable-clipboard-manager customizable.
c1ca42b4 3005
ea16568d
GM
30062012-03-04 Glenn Morris <rgm@gnu.org>
3007
3008 * abbrev.el (copy-abbrev-table, abbrev-table-p)
3009 (abbrev-minor-mode-table-alist, define-abbrev, abbrev-insert)
3010 (expand-abbrev, define-abbrev-table): Doc fixes.
3011
fbae4637
LMI
30122012-03-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
3013
3014 * mail/emacsbug.el (report-emacs-bug-hook): Look at the value of
3015 `message-default-send-mail-function' and not `send-mail-function'
3016 when doing the prompting for `sendmail-query-once' before sending
3017 in Message buffers (bug#10897).
3018
a1e7225c
LMI
3019 * net/tls.el (open-tls-stream): Don't set the dont-query-on-exit flag.
3020 This is inconsistent with all the other stream functions, which leave
3021 the setting up to the higher levels (if so wanted) (bug#10931).
3022
56d093a9
AM
30232012-03-02 Alan Mackenzie <acm@muc.de>
3024
3025 Depessimize the handling of very large macros.
3026
3027 * progmodes/cc-engine.el (c-macro-cache, c-macro-cache-start-pos):
3028 (c-macro-cache-syntactic): New variables to implement a one
3029 element macro cache.
3030 (c-invalidate-macro-cache): New function.
3031 (c-beginning-of-macro, c-end-of-macro, c-syntactic-end-of-macro):
3032 Adapt to use the new cache.
3033 (c-state-safe-place): Use better the cache of safe positions.
3034 (c-state-semi-nonlit-pos-cache)
3035 (c-state-semi-nonlit-pos-cache-limit):
3036 New variables for...
3037 (c-state-semi-safe-place): New function. Here, in a macro is "safe".
3038 (c-invalidate-state-cache-1): New stuff for c-state-semi-safe-place.
dbbc2e69
SM
3039 (c-in-literal, c-literal-limits, c-determine-limit-get-base):
3040 Use c-state-semi-safe-place.
56d093a9 3041
dbbc2e69
SM
3042 * progmodes/cc-langs.el (c-get-state-before-change-functions):
3043 Add c-invalidate-macro-cache to the C, C++, Obj entries.
56d093a9 3044
817e5c3d
MA
30452012-03-02 Michael Albinus <michael.albinus@gmx.de>
3046
dbbc2e69
SM
3047 * jka-compr.el (jka-compr-call-process):
3048 Apply `file-accessible-directory-p' only when the default directory is
817e5c3d
MA
3049 not remote.
3050
a032a702
MA
30512012-03-01 Michael Albinus <michael.albinus@gmx.de>
3052
3053 * files.el (file-equal-p): Fix docstring. Avoid unnecessary
3054 access of FILE2, if FILE1 does not exist.
3055
99a54f21
MA
3056 * net/tramp-sh.el (tramp-remote-process-environment): Add "PAGER=\"\"".
3057 Reported by Robert Lupton the Good <rhl@astro.princeton.edu>.
3058
3059 * vc/vc-git.el (vc-git--call): Enable `inhibit-null-byte-detection'.
3060 Add "PAGER=" to `process-environment'.
3061
f6561e1f
MM
30622012-03-01 Michael R. Mauger <mmaug@yahoo.com>
3063
3064 * progmodes/sql.el: Bug fix
3065 (sql-get-login-ext): Save login values in globals.
3066 (sql-get-login): Use new version of `sql-get-login-ext'.
3067 (sql-interactive-mode): Set global `sql-connection' to nil.
3068 (sql-connect): Set global values for connection.
3069 (sql-product-interactive): Save global values as buffer local.
3070
2d44d9cc
LL
30712012-02-29 Leo Liu <sdl.web@gmail.com>
3072
3073 * abbrev.el (define-abbrevs): Reset sys to nil.
3074
96b49301 30752012-02-28 Thierry Volpiatto <thierry.volpiatto@gmail.com>
3076
bf7f9bc5
JB
3077 * files.el (file-equal-p): Rename from `files-equal-p'.
3078 Return nil when one or both files don't exist.
96b49301 3079 (file-subdir-of-p): Now only top directory must exists,
3080 return nil if it doesn't.
bf7f9bc5
JB
3081 (copy-directory): No need to test with `file-subdir-of-p' after
3082 creating dir.
3083 * net/tramp.el (tramp-file-name-for-operation): Rename `files-equal-p'
3084 to `file-equal-p'.
96b49301 3085
44e97401
GM
30862012-02-28 Glenn Morris <rgm@gnu.org>
3087
3088 * shell.el (shell-mode):
3089 * progmodes/vhdl-mode.el (wildcard-to-regexp, file-expand-wildcards):
3090 * play/landmark.el (landmark-font-lock-face-O):
3091 * play/handwrite.el (handwrite):
3092 * play/gomoku.el (gomoku-O):
3093 * net/browse-url.el (browse-url-browser-display):
3094 * international/mule.el (define-charset):
3095 * htmlfontify.el (hfy-etags-cmd, hfy-face-attr-for-class):
3096 * filesets.el (filesets-find-file-delay):
3097 * eshell/em-xtra.el (eshell-xtra):
3098 * eshell/em-unix.el (eshell-grep):
3099 * emulation/viper.el (viper-mode):
3100 * emacs-lisp/regexp-opt.el (regexp-opt-group):
3101 * emacs-lisp/easymenu.el (easy-menu-define):
3102 * calendar/timeclock.el (timeclock-use-display-time):
3103 * bs.el (bs-mode):
3104 * bookmark.el (bookmark-save-flag):
3105 Doc fix (standardize possessive apostrophe usage).
3106
c98c6276
CY
31072012-02-27 Chong Yidong <cyd@gnu.org>
3108
bf7f9bc5
JB
3109 * emulation/viper-cmd.el (viper-intercept-ESC-key):
3110 Fix key-binding lookup for ESC key (Bug#9146).
ecf5f74e 3111
c98c6276
CY
3112 * font-lock.el (font-lock-specified-p): Rename from
3113 font-lock-spec-present. Callers changed.
3114
9c62cd04 31152012-02-27 Daniel Hackney <dan@haxney.org>
8ac9e529 3116
bf7f9bc5
JB
3117 * emacs-lisp/package.el (package-compute-transaction):
3118 Handle holding a package version to t in package-load-list.
8ac9e529 3119
530739c9
MA
31202012-02-26 Michael Albinus <michael.albinus@gmx.de>
3121
3122 * net/tramp.el (tramp-inodes, tramp-devices): Initialize with 0.
3123 (tramp-get-inode, tramp-get-device): Use cached values.
3124
487915d7
AM
31252012-02-26 Alan Mackenzie <acm@muc.de>
3126
3127 Check there is a font-lock specification before doing initial
3128 fontification.
3129
3130 * font-core.el (font-lock-mode): Move the conditional from
3131 :after-hook to font-lock-initial-fontify.
3132 (font-lock-default-function): Move the check for a specification
3133 to font-lock-spec-present.
3134
dc9924b8 3135 * font-lock.el (font-lock-initial-fontify): Call ...
487915d7
AM
3136 (font-lock-spec-present): New function.
3137
4fd96557
JB
31382012-02-26 Jim Blandy <jimb@red-bean.com>
3139
3140 * progmodes/gdb-mi.el (gdb-mi-quote): New function.
3141 (gdb-send): Apply it to the operand of the '-interpreter-exec
3142 console' command, so that we can pass arguments with (say) quotes
3143 in them. Store exact string sent in gdb-debug-log (Bug#10765).
3144
9a4888c0
CY
31452012-02-26 Chong Yidong <cyd@gnu.org>
3146
07498861
CY
3147 * help-fns.el (describe-function-1): Clarify description of
3148 remapping (Bug#10844).
3149
9a4888c0
CY
3150 * files.el (files-equal-p): Doc fix.
3151 (file-subdir-of-p): Doc fix. Convert loop macro to plain Lisp,
3152 and quit the loop once a mismatch is found.
3153
ea8fb88d
JB
31542012-02-25 Juanma Barranquero <lekktu@gmail.com>
3155
3156 * bs.el (bs--show-with-configuration): Don't throw an error
3157 if the window cannot be split; otherwise, subsequent calls to
3158 bs-show fail, restoring a stale window config. (Bug#10882)
3159
525795c1
JD
31602012-02-25 Jan Djärv <jan.h.d@swipnet.se>
3161
3162 * term/ns-win.el (global-map): Bind ns-drag-file to
3163 ns-find-file (Bug#5855, Bug#10050).
3164
f008086f
AS
31652012-02-25 Andreas Schwab <schwab@linux-m68k.org>
3166
3167 * calendar/parse-time.el (parse-time-string): Allow extractor to
3168 return nil.
3169
a3fcfa99
MA
31702012-02-25 Michael Albinus <michael.albinus@gmx.de>
3171
91027d08
JB
3172 * net/tramp.el (tramp-file-name-for-operation):
3173 Add `files-equal-p' and `file-subdir-of-p'.
a3fcfa99
MA
3174
3175 * net/tramp-sh.el (tramp-sh-handle-copy-directory):
91027d08
JB
3176 * net/tramp-smb.el (tramp-smb-handle-copy-directory):
3177 Add COPY-CONTENTS argument.
a3fcfa99 3178
67b0de11
CY
31792012-02-25 Chong Yidong <cyd@gnu.org>
3180
3181 Add custom groups for VC backends, for consistency with vc-bzr.
3182
3183 * vc/vc-arch.el (vc-arch):
3184 * vc/vc-cvs.el (vc-cvs):
3185 * vc/vc-git.el (vc-git):
3186 * vc/vc-hg.el (vc-hg):
3187 * vc/vc-mtn.el (vc-mtn):
3188 * vc/vc-rcs.el (vc-rcs):
3189 * vc/vc-sccs.el (vc-sccs):
3190 * vc/vc-svn.el (vc-svn): New customization group (Bug#10871).
3191 All relevant defcustoms reassigned.
3192
3c9dfce6
CY
31932012-02-25 Chong Yidong <cyd@gnu.org>
3194
1339bf43
CY
3195 * newcomment.el (comment-styles): Add autoload (Bug#10868).
3196
3c9dfce6
CY
3197 * term/x-win.el (x-initialize-window-system): Reduce default for
3198 x-selection-timeout to 5 seconds (Bug#8869).
3199
25b2e303 32002012-02-24 Thierry Volpiatto <thierry.volpiatto@gmail.com>
3201
ec70a47d
GM
3202 * files.el (files-equal-p, file-subdir-of-p): New functions.
3203 (copy-directory): Error when trying to copy a directory on itself.
25b2e303 3204 Add missing copy-contents arg to tramp handler.
ec70a47d
GM
3205 * dired-aux.el (dired-copy-file-recursive): Same.
3206 (dired-create-files): Modify destination when source is equal to
3207 dest when copying files.
53a46cd0 3208 Return also when dest is a subdir of source. (Bug#10489)
25b2e303 3209
914260cd
MA
32102012-02-24 Michael Albinus <michael.albinus@gmx.de>
3211
3212 * net/ange-ftp.el (ange-ftp-parse-netrc): Suppress comment lines.
3213 (Bug#10874)
3214
2cb228f7
AM
32152012-02-23 Alan Mackenzie <acm@muc.de>
3216
3217 * emacs-lisp/easy-mmode.el (define-minor-mode): Add extra
3218 parameter "after-hook:" to allow the expansion to run code after
3219 the execution of the mode hooks.
3220
3221 * font-lock.el (font-lock-initial-fontify): New function extracted
91027d08 3222 from font-lock-mode-internal.
2cb228f7 3223
91027d08 3224 * font-core.el (font-lock-mode): Call font-lock-initial-fontify in
2cb228f7
AM
3225 :after-hook.
3226
8f0fde21
SM
32272012-02-23 Stefan Monnier <monnier@iro.umontreal.ca>
3228
3e88618b
SM
3229 * minibuffer.el: Make sure cycling is reset upon edit with icomplete.el.
3230 (completion--cache-all-sorted-completions): New function.
3231 (completion-all-sorted-completions): Use it.
3232 (completion--do-completion, minibuffer-force-complete):
3233 Use it to re-instate the flush hook.
3234
8f0fde21
SM
3235 * icomplete.el (icomplete-completions): Replace last fix with a better
3236 one (bug#10850).
3237
8e911f6f
DG
32382012-02-23 Dmitry Gutov <dgutov@yandex.ru>
3239
3240 * emacs-lisp/lisp.el (beginning-of-defun-raw): Don't call end-of-defun
3241 when it might call us back infinitely (bug#10797).
3242
49fe4321
GM
32432012-02-23 Glenn Morris <rgm@gnu.org>
3244
3245 * minibuffer.el (completion-category-overrides): Doc fix.
3246
b291b572
SM
32472012-02-23 Stefan Monnier <monnier@iro.umontreal.ca>
3248
3249 * minibuffer.el (completion-table-with-context): Fix inf-loop.
3250 Reported by Aaron S. Hawley <aaron.s.hawley@gmail.com>.
3251
31a9ef2e
GM
32522012-02-23 Glenn Morris <rgm@gnu.org>
3253
5e6e6794 3254 * emacs-lisp/authors.el (authors-aliases, authors-fixed-case)
31a9ef2e
GM
3255 (authors-obsolete-files-regexps, authors-ignored-files)
3256 (authors-ambiguous-files, authors-renamed-files-alist):
3257 Add more entries.
3258
0bd1e074
JL
32592012-02-23 Juri Linkov <juri@jurta.org>
3260
3261 * isearch.el (isearch-occur): Sync interactive spec with occur's
3262 new feature in `occur-read-primary-args'. Doc fix. (Bug#10705)
3263
b617673c
JL
3264 * replace.el (occur-menu-map): Add menu item for `occur-edit-mode'.
3265
19e9789e
JL
32662012-02-22 Juri Linkov <juri@jurta.org>
3267
3268 * international/mule-cmds.el (read-char-by-name): Use \` and \'.
3269 (ucs-insert): Doc fix. Check for hex digits in the string.
3270 Don't display `nil' in the error message. (Bug#10857)
3271
f41ce09d
AM
32722012-02-22 Alan Mackenzie <acm@muc.de>
3273
7a71b18d 3274 * progmodes/cc-mode.el: Revert change #2012-02-06T22:08:41Z!larsi@gnus.org from 2012-02-06.
f41ce09d 3275
ac2eceee
GM
32762012-02-22 Glenn Morris <rgm@gnu.org>
3277
3278 * ffap.el (ffap-c-path):
3279 * man.el (Man-header-file-path): Handle multiarch. (Bug#10702)
3280
abd1f678
CY
32812012-02-22 Chong Yidong <cyd@gnu.org>
3282
3283 * custom.el (load-theme): Doc fix.
3284
f25aef2e
GM
32852012-02-22 Glenn Morris <rgm@gnu.org>
3286
3287 * dired-x.el (dired-guess-shell-alist-default):
3288 Remove escape sequences from nroff output. (Bug#172)
3289
5f8dc2ca
GM
32902012-02-21 Glenn Morris <rgm@gnu.org>
3291
6ff86ec4
GM
3292 * vc/emerge.el (emerge-defvar-local):
3293 Set `permanent-local' property rather than unused `preserved'.
3294
be3223a3 3295 * textmodes/picture.el (picture-delete-char): New alias.
5f8dc2ca
GM
3296 (picture-mode-map): Use it. (Bug#10860)
3297 (picture-mode): Doc fix.
3298
3fe58f4f
JB
32992012-02-21 Juanma Barranquero <lekktu@gmail.com>
3300
3301 * newcomment.el (uncomment-region-default): Remove unused binding.
3302
f9a998c3
GM
33032012-02-21 Glenn Morris <rgm@gnu.org>
3304
3305 * textmodes/picture.el (picture-motion, picture-motion-reverse)
3306 (picture-self-insert, picture-tab-chars): Doc fix.
3307 (picture-mode-map): Fix C-a, C-e.
3308
c6029348
GM
33092012-02-20 Glenn Morris <rgm@gnu.org>
3310
3311 * emacs-lisp/authors.el (authors-aliases): Add another entry.
3312
ab1ce9d7
LL
33132012-02-20 Leo Liu <sdl.web@gmail.com>
3314
3315 * icomplete.el (icomplete-completions): Check FROM arg before
3316 passing to substring (Bug#10850).
3317
0fd40f89
CY
33182012-02-19 Chong Yidong <cyd@gnu.org>
3319
3320 * comint.el: Require ansi-color.
3321 (comint-output-filter-functions): Add ansi-color-process-output.
3322
3323 * ansi-color.el: Don't set comint-output-filter-functions; it is
3324 now in the initial value defined in comint.el.
3325 (ansi-color-apply-face-function): New variable.
3326 (ansi-color-apply-on-region): Use it.
3327 (ansi-color-apply-overlay-face): New function.
3328
3329 * shell.el (shell): No need to require ansi-color.
3330 (shell-mode): Use ansi-color-apply-face-function to highlight
3331 color escapes using font-lock-face property (Bug#10835).
3332
20af2394
CY
33332012-02-19 Chong Yidong <cyd@gnu.org>
3334
3335 * vc/ediff-init.el (ediff-strip-mode-line-format): Handle non-list
3336 mode-line formats (Bug#10839).
3337
e23a3fbe
GM
33382012-02-18 Glenn Morris <rgm@gnu.org>
3339
b474519e
GM
3340 * mail/rmail.el (rmail-dont-reply-to-names): Mark as obsolete.
3341
3342 * mail/undigest.el (unforward-rmail-message): Doc fix.
3343
e23a3fbe
GM
3344 * saveplace.el (save-place-ignore-files-regexp): Add :version.
3345
57939ff4
EZ
33462012-02-18 Eli Zaretskii <eliz@gnu.org>
3347
3348 * international/characters.el (script-list): Sync with the latest
3349 Unicode Character Database.
3350
0c23686e
AS
33512012-02-18 Andreas Schwab <schwab@linux-m68k.org>
3352
3353 * international/titdic-cnv.el: Remove duplicate coding tag.
3354 * language/cham.el: Likewise.
3355 * language/tai-viet.el: Likewise.
3356
6818b449
GM
33572012-02-18 Glenn Morris <rgm@gnu.org>
3358
3359 * calendar/cal-menu.el (cal-menu-diary-menu, cal-menu-goto-menu):
3360 * calendar/calendar.el (diary-file, diary-bahai-entry-symbol)
3361 (calendar-bahai-all-holidays-flag, calendar-other-dates):
3362 * calendar/diary-lib.el (diary-abbreviated-year-flag):
3363 * calendar/holidays.el (holiday-bahai-holidays)
3364 (calendar-holidays, list-holidays):
3365 Use utf-8 Bahá'í in doc-strings, menus, etc.
3366
0311a3fc
TH
33672012-02-17 Tassilo Horn <tassilo@member.fsf.org>
3368
3369 * saveplace.el (save-place-ignore-files-regexp): New variable
3370 allowing for excluding files from saving their location of point.
3371 The default value matches the temporary commit message editing
3372 files from Git, SVN, Bazaar, and Mercurial.
3373 (save-place-to-alist): Use it.
3374
eb864a71
LM
33752012-02-17 Lawrence Mitchell <wence@gmx.li>
3376 Stefan Monnier <monnier@iro.umontreal.ca>
3377
3378 * newcomment.el (uncomment-region-default): Don't leave extra space
3379 when an arg is provided (bug#8150).
3380
ee0ce425
TZ
33812012-02-17 Teodor Zlatanov <tzz@lifelogs.com>
3382
eb864a71 3383 * net/gnutls.el (gnutls-trustfiles): Fix Cygwin bundle location.
ee0ce425 3384
95ddf442
GM
33852012-02-17 Glenn Morris <rgm@gnu.org>
3386
3387 * net/socks.el: Require network-stream. (Bug#10599)
3388
48dd1e39 33892012-02-17 Kenichi Handa <handa@m17n.org>
c406be43
KH
3390
3391 * international/charprop.el:
3392 * international/uni-name.el:
3393 * international/uni-old-name.el:
3394 * international/uni-comment.el: Regenerate.
3395
d68cd087
GM
33962012-02-16 Glenn Morris <rgm@gnu.org>
3397
3398 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits):
3399 Interactively in calendar buffer, give an error if not on a date.
3400
13932042
GM
34012012-02-15 Glenn Morris <rgm@gnu.org>
3402
3403 * shell.el (shell-delimiter-argument-list):
3404 Revert 2011-02-17 change. (Bug#8027)
3405
c3a70e2b
CY
34062012-02-15 Chong Yidong <cyd@gnu.org>
3407
60236b0d
CY
3408 * minibuffer.el (completion-at-point-functions): Doc fix.
3409
c3a70e2b
CY
3410 * custom.el (defcustom): Doc fix; note use of defvar.
3411
9f26dc24
GM
34122012-02-15 Glenn Morris <rgm@gnu.org>
3413
3414 * mail/smtpmail.el (smtpmail-smtp-user, smtpmail-stream-type):
3415 Doc fixes.
3416
6546b134
GM
34172012-02-14 Glenn Morris <rgm@gnu.org>
3418
3419 * mail/smtpmail.el (smtpmail-query-smtp-server): Give it a doc.
3420
d29b2b4c
LI
34212012-02-14 Lars Ingebrigtsen <larsi@gnus.org>
3422
3423 * mail/smtpmail.el (smtpmail-query-smtp-server): Fix typo in the
3424 way the ports list is computed.
835bdcba
LI
3425 (smtpmail-query-smtp-server): Prompt the user for a port number if
3426 we can't connect to any of the standard ports (bug#10810).
d29b2b4c 3427
08dcdbc9
TZ
34282012-02-14 Teodor Zlatanov <tzz@lifelogs.com>
3429
3430 * net/gnutls.el (gnutls-trustfiles): Add Cygwin location.
3431
2605051a
GM
34322012-02-13 Glenn Morris <rgm@gnu.org>
3433
3434 * minibuffer.el (read-file-name): Doc fix. (Bug#10798)
3435
7ee99f32
TZ
34362012-02-13 Teodor Zlatanov <tzz@lifelogs.com>
3437
3438 * net/gnutls.el (gnutls-trustfiles): New variable.
3439 (gnutls-negotiate): Use it.
3440
5f0af64f
LI
34412012-02-13 Lars Ingebrigtsen <larsi@gnus.org>
3442
3443 * simple.el (mail-user-agent): Mention that `gnus-user-agent' only
3444 does its stuff if Gnus is running.
3445
c14fcc95
AM
34462012-02-13 Alan Mackenzie <acm@muc.de>
3447
3448 Fix a loop in c-set-fl-decl-start.
3449
7a71b18d 3450 * progmodes/cc-engine.el (c-set-fl-decl-start): Add a check that
c14fcc95
AM
3451 c-backward-syntactic-ws actually moves backwards.
3452
142b4d90
LL
34532012-02-13 Leo Liu <sdl.web@gmail.com>
3454
3455 * net/rcirc.el (rcirc-markup-attributes): Move point to the
3456 beginning so that all \C-o chars are removed.
3457
fa9958a6
TZ
34582012-02-12 Teodor Zlatanov <tzz@lifelogs.com>
3459
dc9924b8 3460 * net/gnutls.el (gnutls-algorithm-priority): Add missing :group tag.
fa9958a6 3461
0bc5886a
AM
34622012-02-12 Alan Mackenzie <acm@muc.de>
3463
3464 Fix infinite loop with long macros.
4d6769e1 3465 * progmodes/cc-engine.el (c-state-safe-place): Handle macros properly.
0bc5886a 3466
d4bd55e7
CY
34672012-02-12 Chong Yidong <cyd@gnu.org>
3468
3469 * window.el (display-buffer): Doc fix (Bug#10785).
3470
66f3fe22
GM
34712012-02-12 Glenn Morris <rgm@gnu.org>
3472
bd7da63e
GM
3473 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
3474 (x-disown-selection-internal, x-get-selection-internal):
3475 Sync docs with the xselect.c versions.
3476
66f3fe22
GM
3477 * allout-widgets.el: Add missing license notice.
3478
3e0d2fa7
GM
34792012-02-11 Glenn Morris <rgm@gnu.org>
3480
cfecdf09
GM
3481 * select.el (x-get-selection-internal, x-own-selection-internal)
3482 (x-disown-selection-internal):
3483 * x-dnd.el (x-get-selection-internal): Update declarations.
3484
6d216d7f
GM
3485 * vc/log-view.el (vc-diff-internal): Remove unneeded declaration.
3486
2bed3f04
GM
3487 * window.el (window-sides-slots):
3488 * tool-bar.el (tool-bar-position):
3489 * term/xterm.el (xterm-extra-capabilities):
3490 * ses.el (ses-self-reference-early-detection):
3491 * progmodes/verilog-mode.el (verilog-auto-declare-nettype)
3492 (verilog-auto-wire-type)
3493 (verilog-auto-delete-trailing-whitespace)
3494 (verilog-auto-reset-blocking-in-non, verilog-auto-inst-sort)
3495 (verilog-auto-tieoff-declaration):
3496 * progmodes/sql.el (sql-login-hook, sql-ansi-statement-starters)
3497 (sql-oracle-statement-starters, sql-oracle-scan-on):
3498 * progmodes/prolog.el (prolog-align-comments-flag)
3499 (prolog-indent-mline-comments-flag, prolog-object-end-to-0-flag)
3500 (prolog-left-indent-regexp, prolog-paren-indent-p)
3501 (prolog-paren-indent, prolog-parse-mode, prolog-keywords)
3502 (prolog-types, prolog-mode-specificators)
3503 (prolog-determinism-specificators, prolog-directives)
3504 (prolog-electric-newline-flag, prolog-hungry-delete-key-flag)
3505 (prolog-electric-dot-flag)
3506 (prolog-electric-dot-full-predicate-template)
3507 (prolog-electric-underscore-flag, prolog-electric-tab-flag)
3508 (prolog-electric-if-then-else-flag, prolog-electric-colon-flag)
3509 (prolog-electric-dash-flag, prolog-old-sicstus-keys-flag)
3510 (prolog-program-switches, prolog-prompt-regexp)
3511 (prolog-debug-on-string, prolog-debug-off-string)
3512 (prolog-trace-on-string, prolog-trace-off-string)
3513 (prolog-zip-on-string, prolog-zip-off-string)
3514 (prolog-use-standard-consult-compile-method-flag)
3515 (prolog-use-prolog-tokenizer-flag, prolog-imenu-flag)
3516 (prolog-imenu-max-lines, prolog-info-predicate-index)
3517 (prolog-underscore-wordchar-flag, prolog-use-sicstus-sd)
3518 (prolog-char-quote-workaround):
3519 * progmodes/cc-vars.el (c-defun-tactic):
3520 * net/tramp.el (tramp-encoding-command-interactive)
3521 (tramp-local-end-of-line):
3522 * net/soap-client.el (soap-client):
3523 * net/netrc.el (netrc-file):
3524 * net/gnutls.el (gnutls):
3525 * minibuffer.el (completion-category-overrides)
3526 (completion-cycle-threshold)
3527 (completion-pcm-complete-word-inserts-delimiters):
3528 * man.el (Man-name-local-regexp):
3529 * mail/feedmail.el (feedmail-display-full-frame):
3530 * international/characters.el (glyphless-char-display-control):
3531 * eshell/em-ls.el (eshell-ls-date-format):
3532 * emacs-lisp/cl-indent.el (lisp-lambda-list-keyword-alignment)
3533 (lisp-lambda-list-keyword-parameter-indentation)
3534 (lisp-lambda-list-keyword-parameter-alignment):
3535 * doc-view.el (doc-view-image-width, doc-view-unoconv-program):
3536 * dired-x.el (dired-omit-verbose):
3537 * cus-theme.el (custom-theme-allow-multiple-selections):
3538 * calc/calc.el (calc-highlight-selections-with-faces)
3539 (calc-lu-field-reference, calc-lu-power-reference)
3540 (calc-note-threshold):
3541 * battery.el (battery-mode-line-limit):
3542 * arc-mode.el (archive-7z-extract, archive-7z-expunge)
3543 (archive-7z-update):
3544 * allout.el (allout-prefixed-keybindings)
3545 (allout-unprefixed-keybindings)
3546 (allout-inhibit-auto-fill-on-headline)
3547 (allout-flattened-numbering-abbreviation):
3548 * allout-widgets.el (allout-widgets-auto-activation)
3549 (allout-widgets-icons-dark-subdir)
3550 (allout-widgets-icons-light-subdir, allout-widgets-icon-types)
3551 (allout-widgets-theme-dark-background)
3552 (allout-widgets-theme-light-background)
3553 (allout-widgets-item-image-properties-emacs)
3554 (allout-widgets-item-image-properties-xemacs)
3555 (allout-widgets-run-unit-tests-on-load)
3556 (allout-widgets-time-decoration-activity)
3557 (allout-widgets-hook-error-post-time)
3558 (allout-widgets-track-decoration):
3559 Add missing :version tags to new defcustoms and defgroups.
3560
5fec1b8e
GM
3561 * progmodes/sql.el (sql-ansi-statement-starters)
3562 (sql-oracle-statement-starters): Add custom type.
3563
3e0d2fa7
GM
3564 * progmodes/prolog.el: Remove leading '*' from defcustom docs.
3565 (prolog-system-version): Give it a type.
3566
90b671e2
EZ
35672012-02-11 Eli Zaretskii <eliz@gnu.org>
3568
3569 * term/pc-win.el (x-select-text, x-selection-owner-p)
3570 (x-own-selection-internal, x-disown-selection-internal)
3571 (x-get-selection-internal): Sync doc strings and argument lists
3572 with xselect.c, common-win.el and x-win.el. (Bug#10783)
3573
5eac0c02
LL
35742012-02-11 Leo Liu <sdl.web@gmail.com>
3575
3576 * progmodes/python.el (python-end-of-statement): Fix infinite
3577 loop. (Bug#10788)
3578
f82cb659
GM
35792012-02-10 Glenn Morris <rgm@gnu.org>
3580
3581 * international/mule-cmds.el (unify-8859-on-encoding-mode)
3582 (unify-8859-on-decoding-mode): Properly mark as obsolete.
3583
cc26d239
LI
35842012-02-10 Lars Ingebrigtsen <larsi@gnus.org>
3585
3586 * mail/emacsbug.el (report-emacs-bug-hook): Query the user first
3587 about SMTP before checking the From header.
3588
91027d08 3589 * mail/sendmail.el (sendmail-query-user-about-smtp): Refactor out
cc26d239
LI
3590 into own function for reuse by emacsbug.el.
3591
1be3ca5a
LL
35922012-02-10 Leo Liu <sdl.web@gmail.com>
3593
3594 * subr.el (condition-case-unless-debug): Rename from
3595 condition-case-no-debug. All callers changed.
3596 (with-demoted-errors): Fix caller.
3597
3598 * vc/diff-mode.el (diff-auto-refine-mode, diff-hunk):
3599 * nxml/rng-valid.el (rng-do-some-validation):
3600 * emacs-lisp/package.el (package-refresh-contents)
3601 (package-menu-execute):
3602 * desktop.el (desktop-create-buffer):
91027d08 3603 * font-lock.el (lisp-font-lock-keywords-2): Caller changed.
1be3ca5a 3604
b011fbfe
GM
36052012-02-10 Glenn Morris <rgm@gnu.org>
3606
b2096d72
GM
3607 * textmodes/bibtex.el:
3608 Add missing :version tags for new/changed defcustoms.
3609
b011fbfe
GM
3610 * files.el (remote-file-name-inhibit-cache): Doc fixes.
3611
4c7e65bf
LI
36122012-02-09 Lars Ingebrigtsen <larsi@rusty>
3613
3614 * mail/smtpmail.el (smtpmail-user-mail-address): New function.
3615 (smtpmail-via-smtp): Use it, or fall back on the From address.
3616 (smtpmail-send-it): Ditto.
3617
f3934f6f
SM
36182012-02-09 Stefan Monnier <monnier@iro.umontreal.ca>
3619
3620 * emacs-lisp/bytecomp.el (byte-compile-file-form-defvar):
3621 Don't fallback on byte-compile-defvar. Optimize (defvar foo) away.
3622 (byte-compile-tmp-var): New const.
3623 (byte-compile-defvar): Use it to minimize .elc size.
3624 Just use `defvar' rather than simulate it (bug#10761).
3625
a075a2c5
GM
36262012-02-09 Glenn Morris <rgm@gnu.org>
3627
cf3aa21b
GM
3628 * files.el (rename-uniquely): Doc fix. (Bug#3806)
3629
354998cd
GM
3630 * progmodes/cc-guess.el (c-guess-offset-threshold, c-guess-region-max):
3631 Add :version tags.
3632
dc9924b8
SM
3633 * progmodes/compile.el (compilation-error-screen-columns)
3634 (compilation-first-column, compilation-filter-start): Doc fixes.
83274125 3635
dab3703d
GM
3636 * vc/log-view.el (log-view-toggle-entry-display):
3637 * vc/vc.el (vc-merge, vc-pull): Doc fixes.
3638
3f88cd72
GM
3639 * mail/emacsbug.el (report-emacs-bug-can-use-osx-open)
3640 (report-emacs-bug-can-use-xdg-email):
3641 (report-emacs-bug-insert-to-mailer): Doc fixes.
3642 (report-emacs-bug): Message fix.
3643
d95b247d
GM
3644 * net/browse-url.el (browse-url-can-use-xdg-open)
3645 (browse-url-xdg-open): Doc fixes.
3646
a075a2c5
GM
3647 * electric.el (electric-indent-mode, electric-pair-mode)
3648 (electric-layout-rules, electric-layout-mode): Doc fixes.
3649 (electric-pair-pairs, electric-pair-skip-self): Add :version tags.
3650
ffb6157e
MR
36512012-02-08 Martin Rudalics <rudalics@gmx.at>
3652
3653 * server.el (server-unselect-display): Don't inadvertently kill
3654 the current buffer. (Bug#10729)
3655
e1ac4066
GM
36562012-02-08 Glenn Morris <rgm@gnu.org>
3657
34e8a2da
GM
3658 * progmodes/sql.el (sql-port, sql-connection-alist, sql-list-all)
3659 (sql-list-table): Doc fixes.
3660
b4ac6e8c
GM
3661 * image-mode.el (image-transform-minor-mode-map, image-transform-mode):
3662 Comment out (does nothing).
3663
e1ac4066
GM
3664 * completion.el (dynamic-completion-mode):
3665 * dirtrack.el (dirtrack-debug-mode):
3666 * electric.el (electric-layout-mode):
3667 * epa-mail.el (epa-mail-mode, epa-global-mail-mode):
3668 * face-remap.el (text-scale-mode, buffer-face-mode):
3669 * iimage.el (iimage-mode):
3670 * image-mode.el (image-transform-mode):
3671 * minibuffer.el (completion-in-region-mode):
3672 * scroll-lock.el (scroll-lock-mode):
3673 * simple.el (next-error-follow-minor-mode):
3674 * tar-mode.el (tar-subfile-mode):
3675 * tooltip.el (tooltip-mode):
3676 * vcursor.el (vcursor-use-vcursor-map):
3677 * wid-browse.el (widget-minor-mode):
3678 * emulation/tpu-edt.el (tpu-edt-mode):
3679 * emulation/tpu-extras.el (tpu-cursor-free-mode):
3680 * international/iso-ascii.el (iso-ascii-mode):
3681 * language/thai-util.el (thai-word-mode):
3682 * mail/supercite.el (sc-minor-mode):
3683 * net/goto-addr.el (goto-address-mode):
3684 * net/rcirc.el (rcirc-multiline-minor-mode, rcirc-track-minor-mode):
3685 * progmodes/cwarn.el (cwarn-mode):
3686 * progmodes/flymake.el (flymake-mode):
3687 * progmodes/glasses.el (glasses-mode):
3688 * progmodes/hideshow.el (hs-minor-mode):
3689 * progmodes/pascal.el (pascal-outline-mode):
3690 * textmodes/enriched.el (enriched-mode):
3691 * vc/smerge-mode.el (smerge-mode):
3692 Doc fixes (minor mode argument).
3693
5e0d957f
EZ
36942012-02-07 Eli Zaretskii <eliz@gnu.org>
3695
3696 * ls-lisp.el (ls-lisp-sanitize): New function.
3697 (ls-lisp-insert-directory): Use it to fix or remove any elements
3698 in file-alist with missing attributes. (Bug#4673)
3699
98d7371e
AM
37002012-02-07 Alan Mackenzie <acm@muc.de>
3701
3702 Fix spurious recognition of c-in-knr-argdecl.
3703
3704 * progmodes/cc-engine.el (c-in-knr-argdecl): Check for '=' in a
3705 putative K&R region.
3706
667ced3a
AM
37072012-02-07 Alan Mackenzie <acm@muc.de>
3708
eb864a71
LM
3709 * progmodes/cc-engine.el (c-forward-objc-directive):
3710 Prevent looping in "#pragma mark @implementation".
667ced3a 3711
5b77774d
MA
37122012-02-07 Michael Albinus <michael.albinus@gmx.de>
3713
3714 * notifications.el (notifications-on-closed-signal): Make `reason'
3715 optional. (Bug#10744)
3716
af008560
GM
37172012-02-07 Glenn Morris <rgm@gnu.org>
3718
60d47423
GM
3719 * emacs-lisp/easy-mmode.el (define-minor-mode):
3720 Doc fixes for the macro and the mode it defines.
3721
dd605cc4
GM
3722 * image.el (imagemagick-types-inhibit): Doc fix.
3723
af008560
GM
3724 * cus-start.el (imagemagick-render-type): Add it.
3725
5cc59a37
LI
37262012-02-06 Lars Ingebrigtsen <larsi@gnus.org>
3727
4d6769e1
JB
3728 * progmodes/cc-mode.el (c-standard-font-lock-fontify-region-function):
3729 Set the default at load time, too, so that `font-lock-fontify-buffer'
3730 can be called without setting up the entire mode first. This fixes
3731 a bug in `mm-inline-text' with C MIME parts.
5cc59a37 3732
9a6dd747
CY
37332012-02-06 Chong Yidong <cyd@gnu.org>
3734
2d16b285
CY
3735 * simple.el (list-processes--refresh): Delete exited processes
3736 (Bug#8094).
3737
171e9b6e
CY
3738 * comint.el (comint-next-prompt): next-single-char-property-change
3739 and prev-single-char-property-change never return nil (Bug#8657).
3740
9a6dd747
CY
3741 * custom.el (defcustom): Doc fix (Bug#9711).
3742
aa4589a7
CY
37432012-02-05 Chong Yidong <cyd@gnu.org>
3744
5c2a252f
CY
3745 * cus-edit.el (custom-variable-reset-backup): Quote the value
3746 before storing it in the customized-value property (Bug#6712).
4aab9006 3747 (custom-display): Add a customization type tag.
983b9602 3748 (custom-buffer-create-internal): Improve tooltip message.
5c2a252f 3749
aa4589a7
CY
3750 * wid-edit.el (widget-field-value-get): New optional arg to
3751 suppress trailing whitespace truncation.
3752 (character): Use it (Bug#2689).
3753
1ff980ae
AS
37542012-02-05 Andreas Schwab <schwab@linux-m68k.org>
3755
3756 * progmodes/gud.el (gud-pv): Use pv instead of pv1.
3757 * progmodes/gdb-mi.el (gud-pp): Use pp instead of pp1.
3758
03988c98
CY
37592012-02-05 Chong Yidong <cyd@gnu.org>
3760
eeb6cc88
CY
3761 * cus-edit.el (custom-variable-value-create): For mismatched
3762 types, show the current value (Bug#7600).
3763
03988c98
CY
3764 * custom.el (defcustom): Doc fix.
3765
f8cdeef0
GM
37662012-02-05 Glenn Morris <rgm@gnu.org>
3767
3768 * font-lock.el (lisp-font-lock-keywords-2): Add with-wrapper-hook.
3769
0696d255
JB
37702012-02-05 Juanma Barranquero <lekktu@gmail.com>
3771
3772 * emacs-lisp/pp.el (pp-to-string): Use `with-temp-buffer'.
3773 (pp-buffer): Use `ignore-errors', `looking-at-p'.
3774 (pp-last-sexp): Use `looking-at-p'.
3775
34c99998
GM
37762012-02-04 Glenn Morris <rgm@gnu.org>
3777
8f05da42
GM
3778 * files.el (revert-buffer):
3779 Doc fix (mention revert-buffer-in-progress-p).
3780
f160676e
GM
3781 * emacs-lisp/ert-x.el (ert-simulate-command):
3782 Check deferred-action-list (which is obsolete) is bound.
3783
c7291ad9
GM
3784 * subr.el (with-wrapper-hook): Doc fixes.
3785
34c99998
GM
3786 * simple.el (filter-buffer-substring-functions)
3787 (buffer-substring-filters, filter-buffer-substring): Doc fixes.
3788
6283a7d3
LL
37892012-02-04 Lars Ljung <lars@matholka.se> (tiny change)
3790
3791 * eshell/esh-ext.el (eshell-windows-shell-file): Match "cmdproxy"
3792 anywhere in shell-file-name, not just at the beginning. (Bug#10523)
3793
e96e3013
LL
37942012-02-04 Leo Liu <sdl.web@gmail.com>
3795
3796 * emacs-lisp/smie.el: Fix dead link (Bug#10711).
3797
8ded50f2
GM
37982012-02-04 Glenn Morris <rgm@gnu.org>
3799
82ff1d13
GM
3800 * image.el (image-extension-data): Add obsolete alias.
3801
987a0a16
GM
3802 * isearch.el (isearch-update): Doc fix.
3803
ea32ef46
GM
3804 * facemenu.el (list-colors-display): Doc fix (minor rephrasing).
3805
8ded50f2
GM
3806 * ido.el (ido-find-file): Doc fix (ido-toggle-vc not on any key).
3807
eea14f31
GM
38082012-02-03 Glenn Morris <rgm@gnu.org>
3809
3810 * image.el (image-animated-p): Doc fix. Use image-animated-types.
3811 (image-animate-timeout): Doc fix.
3812
3813 * image-mode.el (image-animate-loop, image-toggle-animation): Doc fixes.
3814
12f381b7
GM
38152012-02-02 Glenn Morris <rgm@gnu.org>
3816
953cebf5
GM
3817 * server.el (server-auth-dir): Doc fix.
3818 (server-eval-at): Doc fix. Give an explicit error if !server-use-tcp.
3819
12f381b7
GM
3820 * subr.el (run-mode-hooks): Doc fix.
3821
953a8c3b
JL
38222012-02-02 Juri Linkov <juri@jurta.org>
3823
3824 * image-mode.el (image-toggle-display-image): Remove tautological
3825 `major-mode' from the `derived-mode-p' test.
3826
c5d3843c
KH
38272012-02-02 Kenichi Handa <handa@m17n.org>
3828
9f6e692e 3829 * composite.el (compose-region): Cancel previous change.
c5d3843c 3830
159462d4 38312012-02-02 Kenichi Handa <handa@m17n.org>
d2a51fd7
KH
3832
3833 * composite.el (compose-region, compose-string): Signal error for
3834 a null string component (Bug#6988).
3835
9f562668
CY
38362012-02-01 Chong Yidong <cyd@gnu.org>
3837
e2cef717
CY
3838 * view.el (view-buffer-other-window, view-buffer-other-frame):
3839 Handle special modes like view-buffer (Bug#10650).
3840 (view-buffer): Simplify.
3841
9f562668
CY
3842 * frame.el (set-frame-font): Tweak meaning of third argument.
3843
9f6e692e
JB
3844 * dynamic-setting.el (font-setting-change-default-font):
3845 Use set-frame-font (Bug#9982).
9f562668 3846
781acb9f
GM
38472012-02-01 Glenn Morris <rgm@gnu.org>
3848
6035be52
GM
3849 * progmodes/compile.el (compilation-internal-error-properties):
3850 Respect compilation-first-column in the "*compilation*" buffer.
3851
781acb9f
GM
3852 * emacs-lisp/easy-mmode.el (define-minor-mode):
3853 Relax :variable's test for a named function.
3854
abbceb00
AM
38552012-01-31 Alan Mackenzie <acm@muc.de>
3856
3857 * progmodes/cc-engine.el (c-guess-basic-syntax): CASE 5B.1: Fix an
3858 off by one error.
3859
fce3fdeb
CY
38602012-01-31 Chong Yidong <cyd@gnu.org>
3861
3862 * frame.el (set-frame-font): New arg ALL-FRAMES.
3863
3864 * menu-bar.el (menu-set-font): Use set-frame-font.
3865
3866 * faces.el (face-spec-reset-face): Don't apply unspecified
3867 attribute values to the default face.
3868
47893581
JB
38692012-01-31 Juanma Barranquero <lekktu@gmail.com>
3870
3871 * progmodes/cwarn.el (cwarn): Remove dead link.
3872 (cwarn-configuration, cwarn-verbose, cwarn-mode-text, cwarn-load-hook):
3873 Remove * from defcustom docstrings.
3874 (turn-on-cwarn-mode): Make obsolete.
3875 (c-at-toplevel-p): Remove compatibility code for Emacs 20.3 and older.
3876 (turn-on-cwarn-mode-if-enabled): Call `cwarn-mode'.
3877
e58e988a
GM
38782012-01-31 Glenn Morris <rgm@gnu.org>
3879
60dc2671 3880 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix.
6c9b47ae 3881 Fix :variable handling of mode a symbol not equal to modefun.
60dc2671 3882 Allow named functions to be used as the cdr of :variable.
e58e988a 3883
7a3f511d
GM
38842012-01-30 Glenn Morris <rgm@gnu.org>
3885
3886 * emacs-lisp/authors.el (authors-fixed-entries):
3887 Remove reference to deleted file rnewspost.el.
3888
cb882333
JB
38892012-01-29 Juanma Barranquero <lekktu@gmail.com>
3890
3891 * window.el (window-with-parameter): Remove unused variable `windows'.
3892 (window--side-check): Remove unused variable `code'.
3893 (window--resize-siblings): Remove unused variable `first'.
3894 (adjust-window-trailing-edge): Remove unused variable `failed'.
3895 (window-deletable-p, window--delete): Remove unused variable `buffer'.
3896 Use `let', not `let*'.
3897 (balance-windows-2): Remove unused variable `found'.
3898 (window--state-put-2): Remove unused variable `splits'.
3899 (window-state-put): Remove unused variable `selected'.
3900 (same-window-p): Use `string-match-p'.
3901 (display-buffer-assq-regexp): Remove unused variable `value'.
3902 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
3903 Mark argument ALIST as ignored.
3904 (pop-to-buffer): Remove unused variable `old-window'.
3905
907201af
EZ
39062012-01-29 Eli Zaretskii <eliz@gnu.org>
3907
3908 * jka-cmpr-hook.el (jka-compr-compression-info-list): Support .lz
3909 and .lzma compressed files.
3910
ea162670
CY
39112012-01-29 Chong Yidong <cyd@gnu.org>
3912
5b95ee8a
CY
3913 * frame.el (window-system-default-frame-alist): Doc fix.
3914
ea162670
CY
3915 * dynamic-setting.el (font-setting-change-default-font): Don't
3916 change the default face if SET-FONT argument is non-nil (Bug#9982).
3917
d6e6f4b1
SB
39182012-01-29 Samuel Bronson <naesten@gmail.com> (tiny change)
3919
3920 * custom.el (defcustom): Add doc link to Lisp manual (Bug#10635).
3921
0f29fa41 39222012-01-29 Syver Enstad <syver.enstad@cisco.com> (tiny change)
6b25e4e2
SE
3923
3924 * progmodes/gud.el (pdb): Give pdb full paths, to allow setting
3925 breakpoints in files outside current directory (Bug#6098).
3926
db174434
CY
39272012-01-29 Chong Yidong <cyd@gnu.org>
3928
6b25e4e2
SE
3929 * progmodes/python.el: Require ansi-color at top-level.
3930
6df6ae42
JB
3931 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-abbrev-table):
3932 Define and use in Emacs Lisp mode (Bug#9360).
db174434
CY
3933 (lisp-mode-abbrev-table): Add doc.
3934 (lisp-mode-variables): Don't set local-abbrev-table.
3935 (lisp-interaction-mode): Use emacs-lisp-mode-abbrev-table.
3936
e70ee681
RW
39372012-01-28 Roland Winkler <winkler@gnu.org>
3938
3939 * textmodes/bibtex.el (bibtex-vec-incr): Fix docstring.
3940
ace88aa2
RW
39412012-01-28 Roland Winkler <winkler@gnu.org>
3942
3943 * textmodes/bibtex.el (bibtex-entry-alist): New function.
3944 (bibtex-set-dialect): Use it. Either set global values of
3945 dialect-dependent variables or bind these variables buffer-locally
3946 (Bug#10254).
3947 (bibtex-mode): Call bibtex-set-dialect via
3948 hack-local-variables-hook.
eb864a71
LM
3949 (bibtex-dialect): Update docstring.
3950 Add safe-local-variable predicate.
ace88aa2
RW
3951 (bibtex-entry-alist, bibtex-field-alist): Initialize via
3952 bibtex-set-dialect.
3953 (bibtex-mode-map): Define menu for each dialect.
3954 (bibtex-entry): Fix docstring.
3955
93376c5b
CY
39562012-01-28 Chong Yidong <cyd@gnu.org>
3957
3958 * eshell/esh-arg.el (eshell-quote-argument): New function.
3959
3960 * eshell/esh-ext.el (eshell-invoke-batch-file):
3961 * eshell/em-unix.el (eshell/cat, eshell/du): Use it to quote the
3962 first arg to eshell-parse-command (Bug#10523).
3963
4372494f
DA
39642012-01-28 Drew Adams <drew.adams@oracle.com>
3965
3966 * net/ange-ftp.el (ange-ftp-canonize-filename): Check, that
3967 `default-directory' is non-nil.
3968
4d4ec1f8
EZ
39692012-01-28 Eli Zaretskii <eliz@gnu.org>
3970
3971 * mail/emacsbug.el (report-emacs-bug): Fill the potentially long
3972 line that displays system-configuration-options. (Bug#9924)
3973
7c188927
DA
39742012-01-28 Drew Adams <drew.adams@oracle.com>
3975
3976 * descr-text.el (describe-char): Show information about POS, in
3977 addition to information about the character at POS. Improve and
3978 update the doc string. Change "code point" to "code point in
3979 charset", to avoid confusion with the character's Unicode code
3980 point shown above that. (Bug#10129)
3981
e0da685a
EZ
39822012-01-28 Eli Zaretskii <eliz@gnu.org>
3983
3984 * descr-text.el (describe-char): Show the raw character, not only
3985 its display form at POS. Suggested by Kenichi Handa <handa@m17n.org>.
3986 See http://lists.gnu.org/archive/html/emacs-devel/2012-01/msg00760.html
3987 for the reasons.
3988
70550acf
PH
39892012-01-28 Phil Hagelberg <phil@hagelb.org>
3990
eb864a71
LM
3991 * emacs-lisp/package.el (package-install):
3992 Run package-refresh-contents if there is no archive yet (Bug#9798).
70550acf 3993
0ce8e868
CY
39942012-01-28 Chong Yidong <cyd@gnu.org>
3995
cb882333
JB
3996 * emacs-lisp/package.el (package-maybe-load-descriptor):
3997 New function, split from package-maybe-load-descriptor.
0ce8e868
CY
3998 (package-maybe-load-descriptor): Use it.
3999 (package-download-transaction): Fully load required packages
4000 inside the loop, so that `require' calls work (Bug#10593).
4001 (package-install): No need to call package-initialize now.
4002
2e7f3bea
CY
40032012-01-28 Chong Yidong <cyd@gnu.org>
4004
6e9bad14
CY
4005 * simple.el (deactivate-mark): Doc fix (Bug#8614).
4006
f823b8ca
CY
4007 * tooltip.el (tooltip-mode): Doc fix.
4008 (tooltip-use-echo-area): Mark as obsolete (Bug#6595).
4009
2680c309
CY
4010 * frame.el (set-cursor-color): Doc fix (Bug#352).
4011
d7a9e63b
CY
4012 * mail/rmail.el (rmail-start-mail): Add send-action again (Bug#10625).
4013 (rmail-mail-return): Switch to NEWBUF only if it is non-nil.
4014
2e7f3bea
CY
4015 * cus-edit.el (custom-buffer-create-internal): Fix search button
4016 action (Bug#10542).
2ae01800 4017 (customize-unsaved, customize-saved): Doc fix (Bug#10541).
2e7f3bea 4018
fc4f7a23
EW
40192012-01-27 Eduard Wiebe <usenet@pusto.de>
4020
4021 * dired.el (dired-mark-files-regexp):
4022 Include any subdirectory components. (Bug#10445)
4023
7dd37071
ML
40242012-01-27 Mike Lamb <mrlamb@gmail.com> (tiny change)
4025
4026 * pcmpl-unix.el (pcmpl-ssh-known-hosts):
4027 Handle [host]:port syntax. (Bug#10533)
4028
a268160b
AH
40292012-01-27 Alex Harsanyi <harsanyi@mac.com>
4030
4031 * xml.el (xml-parse-tag): Fix parsing of comments (Bug#10405).
4032
e43273ef
GM
40332012-01-26 Glenn Morris <rgm@gnu.org>
4034
4035 * dired-x.el (dired-bind-jump): Use ctl-x-map and ctl-x-4-map.
4036 * term.el (term-raw-escape-map): Use Control-X-prefix.
4037 * vc/vc-hooks.el (vc-prefix-map): Use ctl-x-map. (Bug#10566)
4038
1edf595d
MR
40392012-01-25 Martin Rudalics <rudalics@gmx.at>
4040
4041 * window.el (window-state-get, window--state-get-1): Don't deal
4042 with fixed-sizeness of windows. Simplify code.
4043
fa8eafef
JC
40442012-01-25 Jérémy Compostella <jeremy.compostella@gmail.com>
4045
6df6ae42
JB
4046 * window.el (window--state-get-1, window--state-put-2):
4047 Don't save and restore the mark.
fa8eafef 4048
0b21c100
CY
40492012-01-25 Chong Yidong <cyd@gnu.org>
4050
4051 * custom.el (custom-variable-p): Doc fix.
4052
5ae1a6c8
GM
40532012-01-25 Glenn Morris <rgm@gnu.org>
4054
40047858
GM
4055 * dired.el (dired-goto-file): Handle some of the more common
4056 characters that `ls -b' escapes. (Bug#10596)
4057
5ddce96c
GM
4058 * progmodes/compile.el (compilation-next-error-function):
4059 Respect compilation-first-column in the "*compilation*" buffer.
4060 * progmodes/grep.el (grep-first-column): New variable. (Bug#10594)
4061
5ae1a6c8
GM
4062 * vc/vc.el (vc-modify-change-comment): Scoping fix. (Bug#10513)
4063
b559f1a9
GM
40642012-01-24 Glenn Morris <rgm@gnu.org>
4065
4066 * pcmpl-gnu.el (pcomplete/tar): Handle " - ". (Bug#10457)
4067
6725d21a
JD
40682012-01-24 Julien Danjou <julien@danjou.info>
4069
4070 * color.el (color-rgb-to-hsl): Fix value computing.
4071 (color-hue-to-rgb): New function.
4072 (color-hsl-to-rgb): New function.
4073 (color-clamp, color-saturate-hsl, color-saturate-name)
4074 (color-desaturate-hsl, color-desaturate-name, color-lighten-hsl)
4075 (color-lighten-name, color-darken-hsl, color-darken-name): New function.
4076
70df4bbe
GM
40772012-01-24 Glenn Morris <rgm@gnu.org>
4078
4079 * vc/vc-rcs.el (vc-rcs-create-tag):
4080 * vc/vc-sccs.el (vc-sccs-create-tag):
4081 Fix argument spec to be what vc-create-tag expects. (Bug#10515)
4082
802a2ae2
ML
40832012-01-23 Mike Lamb <mrlamb@gmail.com> (tiny change)
4084
4085 * eshell/esh-util.el (eshell-read-hosts-file):
4086 Skip comment lines. (Bug#10549)
4087
d7128bb1
ML
4088 * eshell/em-unix.el (pcomplete/ssh): Remove. (Bug#10548)
4089
d1a5c3b4
JB
40902012-01-23 Juanma Barranquero <lekktu@gmail.com>
4091
2724d9c7
JB
4092 * subr.el (display-delayed-warnings): Doc fix.
4093 (collapse-delayed-warnings): New function to collapse identical
4094 adjacent warnings.
4095 (delayed-warnings-hook): Add it.
d1a5c3b4 4096
a5509865
MA
40972012-01-22 Michael Albinus <michael.albinus@gmx.de>
4098
4099 * net/tramp.el (tramp-action-login): Set connection property "login-as".
4100
4101 * net/tramp-cache.el (tramp-dump-connection-properties): Do not dump
4102 properties, when "login-as" is set.
4103
4104 * net/tramp-sh.el (tramp-methods): Add user spec to "pscp" and "psftp".
4105 (tramp-default-user-alist): Don't add "pscp".
4106 (tramp-do-copy-or-rename-file-out-of-band): Use connection
4107 property "login-as", if set. (Bug#10530)
4108
cc6d5805
MA
41092012-01-21 Michael Albinus <michael.albinus@gmx.de>
4110
4111 * net/tramp-sh.el (tramp-default-user-alist): Don't add "plink",
4112 "plink1" and "psftp". (Bug#10530)
4113
41142012-01-21 Kenichi Handa <handa@m17n.org>
71784361
KH
4115
4116 * international/mule-cmds.el (prefer-coding-system): Show a
4117 warning message if the default value of file-name-coding-system
4118 was not changed.
4119
f0960428
JC
41202012-01-21 Jérémy Compostella <jeremy.compostella@gmail.com>
4121
cb882333
JB
4122 * windmove.el (windmove-reference-loc):
4123 Fix windmove-reference-loc miscalculation.
f0960428 4124
dd6f2a63
JB
41252012-01-21 Jay Belanger <jay.p.belanger@gmail.com>
4126
4127 * calc/calc-units.el (math-put-default-units): Don't use "1" as a
4128 default unit.
4129
7b447e9b
GM
41302012-01-21 Glenn Morris <rgm@gnu.org>
4131
117a9ea1
GM
4132 * international/mule.el (auto-coding-alist): Add .tbz.
4133
7b447e9b
GM
4134 * files.el (local-enable-local-variables): Doc fix.
4135 (inhibit-local-variables-regexps): Rename from
4136 inhibit-first-line-modes-regexps. Keep old name as obsolete alias.
4137 Doc fix. Add some extensions from auto-coding-alist.
4138 (inhibit-local-variables-suffixes):
4139 Rename from inhibit-first-line-modes-suffixes. Doc fix.
4140 (inhibit-local-variables-p):
4141 New function, extracted from set-auto-mode-1.
4142 (set-auto-mode): Doc fix. Respect inhibit-local-variables-regexps.
4143 (set-auto-mode-1): Doc fix. Use inhibit-local-variables-p.
4144 (hack-local-variables): Doc fix. Make the mode-only case
4145 respect enable-local-variables and friends.
4146 Respect inhibit-local-variables-regexps for file-locals, but
4147 not for directory-locals.
4148 (set-visited-file-name):
4149 Take account of inhibit-local-variables-regexps.
4150 Whether it applies may change as the file name is changed.
4151 * jka-cmpr-hook.el (jka-compr-install):
4152 * jka-compr.el (jka-compr-uninstall):
4153 Update for inhibit-first-line-modes-suffixes name change.
4154
dd6e3cdd
MR
41552012-01-20 Martin Rudalics <rudalics@gmx.at>
4156
4157 * help-macro.el (make-help-screen): Temporarily restore original
4158 binding for minor-mode-map-alist (Bug#10454).
4159
0d0deb38
JD
41602012-01-19 Julien Danjou <julien@danjou.info>
4161
4162 * color.el (color-name-to-rgb): Use the white color to find the max
4163 color component value and return correctly computed values.
4164 (color-name-to-rgb): Add missing float conversion for max value.
4165
34a02f46
MR
41662012-01-19 Martin Rudalics <rudalics@gmx.at>
4167
4168 * window.el (window--state-get-1, window-state-get): Do not use
eb864a71
LM
4169 special state value for window-persistent-parameters.
4170 Rename argument IGNORE to WRITABLE. Rewrite doc-string.
34a02f46
MR
4171 (window--state-put-2): Reset all window parameters to nil before
4172 assigning values of persistent parameters.
4173
606c44c4
AM
41742012-01-18 Alan Mackenzie <acm@muc.de>
4175
4176 Eliminate sluggishness and hangs in fontification of "semicolon
4177 deserts".
4178
cb882333
JB
4179 * progmodes/cc-engine.el (c-state-nonlit-pos-interval):
4180 Change value 10000 -> 3000.
606c44c4
AM
4181 (c-state-safe-place): Reformulate so it doesn't stack up an
4182 infinite number of wrong entries in c-state-nonlit-pos-cache.
4183 (c-determine-limit-get-base, c-determine-limit): New functions to
4184 determine backward search limits disregarding literals.
4185 (c-find-decl-spots): Amend commenting.
4186 (c-cheap-inside-bracelist-p): New function which detects "={".
4187
4188 * progmodes/cc-fonts.el
4189 (c-make-font-lock-BO-decl-search-function): Give a limit to a
4190 backward search.
4191 (c-font-lock-declarations): Fix an occurrence of point being
4192 undefined. Check additionally for point being in a bracelist or
4193 near a macro invocation without a semicolon so as to avoid a
4194 fruitless time consuming search for a declarator. Give a more
4195 precise search limit for declarators using the new
4196 c-determine-limit.
4197
f3860cea
GM
41982012-01-18 Glenn Morris <rgm@gnu.org>
4199
4200 * files.el (auto-mode-alist, inhibit-first-line-modes-regexps)
4201 (set-auto-mode): Doc fixes.
4202
1db03b16
GM
42032012-01-17 Glenn Morris <rgm@gnu.org>
4204
0e6038be
GM
4205 * isearch.el (search-nonincremental-instead): Fix doc typo.
4206
1db03b16
GM
4207 * dired.el (dired-insert-directory): Handle newlines in directory name.
4208 (dired-build-subdir-alist): Unescape newlines in directory name.
4209
4cb0aa75
MA
42102012-01-17 Michael Albinus <michael.albinus@gmx.de>
4211
4212 * net/tramp.el (tramp-local-end-of-line): New defcustom.
4213 (tramp-action-login, tramp-action-yesno, tramp-action-yn)
4214 (tramp-action-terminal): Use it. (Bug#10530)
4215
1d00653d
SM
42162012-01-16 Stefan Monnier <monnier@iro.umontreal.ca>
4217
4218 * minibuffer.el (completion--replace): Strip properties (bug#10062).
4219
6a6ee00d
MR
42202012-01-16 Martin Rudalics <rudalics@gmx.at>
4221
4222 * window.el (window-state-ignored-parameters): Remove variable.
4223 (window--state-get-1): Rename argument MARKERS to IGNORE.
4224 Handle persistent window parameters. Make copy of clone-of
4225 parameter only if requested. (Bug#10348)
4226 (window--state-put-2): Install a window parameter only if it has
4227 a non-nil value or an existing parameter shall be overwritten.
4228
97912def
MA
42292012-01-15 Michael Albinus <michael.albinus@gmx.de>
4230
4231 * net/tramp-sh.el (tramp-remote-path): Set tramp-autoload cookie.
4232
688070a5
EZ
42332012-01-14 Eli Zaretskii <eliz@gnu.org>
4234
4235 * info.el (Info-toc-build): If the Info file has no "Up" pointer,
4236 don't pass the (nil) value of `upnode' to string-match.
4237
301afadc
CY
42382012-01-14 Chong Yidong <cyd@gnu.org>
4239
4240 * startup.el (command-line): Fix X resource class for cursorColor.
04877ddb 4241 Fix values recognized by the cursorBlink resource.
301afadc 4242
9e5788aa
PE
42432012-01-14 Paul Eggert <eggert@cs.ucla.edu>
4244
4245 * epg.el (epg--make-temp-file): Avoid permission race condition
4246 when running on old Emacs versions (bug#10403).
4247
3cdb7f5a
GM
42482012-01-14 Glenn Morris <rgm@gnu.org>
4249
4250 * dired.el (dired-get-filename): Fix 'verbatim case of previous change.
4251
8c82b1b4
AM
42522012-01-13 Alan Mackenzie <acm@muc.de>
4253
4254 Fix filling for when filladapt mode is enabled.
4255
4256 * progmodes/cc-cmds.el (c-fill-paragraph): In the invocation of
4257 c-mask-paragraph, pass in `fill-paragraph' rather than
4258 `fill-region-as-paragraph'. (This is a reversion of a previous
4259 change.)
eb864a71
LM
4260 * progmodes/cc-mode.el (c-basic-common-init):
4261 Make fill-paragraph-handle-comment buffer local and set it to nil.
8c82b1b4 4262
e517eda4
GM
42632012-01-13 Glenn Morris <rgm@gnu.org>
4264
1498536e
GM
4265 * dired.el (dired-switches-escape-p): New function.
4266 (dired-insert-directory): Use dired-switches-escape-p.
4267 (dired-get-filename): Undo "\ " quoting if needed. (Bug#10469)
4268
e517eda4
GM
4269 * find-dired.el (find-ls-option): Doc fix. (Bug#10262)
4270
328f984d
GM
42712012-01-12 Glenn Morris <rgm@gnu.org>
4272
4273 * mail/sendmail.el (mail-mode): Update paragraph-separate for
4274 changes in adaptive-fill-regexp. (Bug#10276)
4275
2cc769a8
AM
42762012-01-11 Alan Mackenzie <acm@muc.de>
4277
4278 Fix Emacs bug #10463 - put `widen's around the critical spots.
4279
1d00653d 4280 * progmodes/cc-engine.el (c-in-literal, c-literal-limits): Put a
2cc769a8
AM
4281 widen around each invocation of c-state-pp-to-literal. Remove an
4282 unused let variable.
4283
e52c37fa
GM
42842012-01-11 Glenn Morris <rgm@gnu.org>
4285
4286 * dired-aux.el (dired-do-shell-command): Fix */? logic. (Bug#6561)
09044622 4287 Doc fix.
e52c37fa 4288
96f8741e
CY
42892012-01-10 Chong Yidong <cyd@gnu.org>
4290
1d00653d
SM
4291 * net/network-stream.el (network-stream-open-starttls):
4292 Avoid emitting a confusing error message when the server gives a bad
96f8741e
CY
4293 response to the capability command.
4294
b09a806e
GM
42952012-01-10 Glenn Morris <rgm@gnu.org>
4296
4297 * mail/unrmail.el (unrmail): Tweak previous change.
4298
7655cb66
CY
42992012-01-09 Chong Yidong <cyd@gnu.org>
4300
4301 * custom.el (custom-safe-themes): Use SHA-256 for hashing.
4302
9d5a8f0b
AM
43032012-01-08 Alan Mackenzie <acm@muc.de>
4304
4305 Optimise font locking in long enum definitions.
4306
4307 * progmodes/cc-fonts.el (c-font-lock-declarations): Add an extra
4308 arm to a cond form to handle enums.
4309 * progmodes/cc-langs.el (c-enums-contain-decls): New lang variable.
4310 * progmodes/cc-mode.el (c-font-lock-fontify-region): Correct a typo.
4311
9a0115ab 43122012-01-07 Paul Eggert <eggert@cs.ucla.edu>
6bb72cbd
PE
4313
4314 * files.el (move-file-to-trash): Preserve default file modes on error.
a0562b3d 4315 (Bug#10401)
6bb72cbd 4316
f186bb95
LMI
43172012-01-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
4318
29232a68
LMI
4319 * faces.el (set-face-attribute): Clarify the meaning of the nil
4320 frame (bug#10294).
4321
4e5d086d
LMI
4322 * subr.el (with-selected-frame): Mention that the selected frame
4323 is restored (bug#9980).
4324
8e66aebe
LMI
4325 * ibuffer.el (ibuffer-mode): List the bindings in the corrent map
4326 (bug#9759).
4327
cd394be1 4328 * mail/smtpmail.el (password-cache-add): Remove unused declaration.
f186bb95
LMI
4329 (password-read): Don't autoload unused function.
4330
adf4e762
JB
43312012-01-07 Juanma Barranquero <lekktu@gmail.com>
4332
4333 * progmodes/which-func.el (which-func-mode): Turn into a
4334 non-interactive function and mark as obsolete (bug#10428).
4335
89bd9ccd
CY
43362012-01-06 Chong Yidong <cyd@gnu.org>
4337
4338 * files.el (hack-dir-local-variables-non-file-buffer): Add doc.
4339 (hack-one-local-variable-eval-safep): Allow 0 arg for minor mode
4340 functions, along with 1 and -1.
4341
4afee9d5
EZ
43422012-01-06 Eli Zaretskii <eliz@gnu.org>
4343
4344 * time.el (display-time-load-average)
4345 (display-time-default-load-average): Doc fixes. See the thread
4346 starting at
4347 http://lists.gnu.org/archive/html/help-gnu-emacs/2012-01/msg00059.html
4348 for the details.
4349
536aea70
GM
43502012-01-06 Glenn Morris <rgm@gnu.org>
4351
665ae865
GM
4352 * mail/unrmail.el (unrmail): Give an explicit error if the input file
4353 has no messages. (Bug#10377)
4354
c869783d
GM
4355 * info.el (Info-mode-map): Bind e to end-of-buffer, rather
4356 than Info-edit. (Bug#10385)
4357
2bb4227e
GM
4358 * time.el (display-time-load-average, display-time-next-load-average):
4359 Doc fixes.
4360
7d5944b9
GM
4361 * emacs-lisp/bytecomp.el (byte-compile-file): Do not propagate a file
4362 local setting of buffer-read-only to the input buffer. (Bug#10419)
4363
536aea70
GM
4364 * calendar/calendar.el (calendar-mode):
4365 Locally set scroll-margin to 0. (Bug#10379)
4366
7dccca16
UM
43672012-01-06 Ulrich Mueller <ulm@gentoo.org>
4368
4369 * play/doctor.el (doctor-death): Escape "," characters. (Bug#10370)
4370
afbb7930
GM
43712012-01-05 Glenn Morris <rgm@gnu.org>
4372
4373 * eshell/em-unix.el (diff-no-select): Autoload it.
4374 (eshell/diff): Use diff-no-select. (Bug#10420)
4375
04482335
CY
43762012-01-05 Chong Yidong <cyd@gnu.org>
4377
7baca3bc
CY
4378 * shell.el (shell-dynamic-complete-functions): Revert last change.
4379 (shell-command-completion-function): New function.
4380 (shell-completion-vars): Use it to implement
4381 shell-completion-execonly (Bug#10417).
4382
04482335
CY
4383 * custom.el (enable-theme): Don't set custom-safe-themes.
4384
1d00653d
SM
4385 * cus-theme.el (custom-theme-merge-theme):
4386 Ignore custom-enabled-themes and custom-safe-themes.
04482335 4387
bb5aa5d6
MM
43882012-01-05 Michael R. Mauger <mmaug@yahoo.com>
4389
4390 * progmodes/sql.el (sql-login-hook): Add hook to respond to the
4391 first prompt in `sql-interacive-mode'.
4392 (sql-mode-oracle-font-lock-keywords): Add CONNECT_BY_* builtin
04482335 4393 keywords.
6df6ae42 4394 (sql-mode-mysql-font-lock-keywords): Add ELSEIF keyword.
bb5aa5d6
MM
4395 (sql-product-interactive): Bug fix: Set `sql-buffer' in
4396 context of original buffer. Invoke `sql-login-hook'.
4397
a7183d7c
EZ
43982012-01-04 Eli Zaretskii <eliz@gnu.org>
4399
4400 * mail/rmail.el (rmail-font-lock-keywords): Accept non-ASCII
4401 letters in cite-prefix.
4402
a1eacd1e
LMI
44032012-01-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
4404
4405 * mail/smtpmail.el (smtpmail-stream-type): Mention the `ssl' value.
4406
787cdb34
CY
44072012-01-03 Chong Yidong <cyd@gnu.org>
4408
1d00653d
SM
4409 * shell.el (shell-dynamic-complete-functions):
4410 Put pcomplete-completions-at-point, so as to try
787cdb34
CY
4411 comint-filename-completion first (Bug#10417).
4412
30710442
RS
44132012-01-02 Richard Stallman <rms@gnu.org>
4414
4415 * battery.el (battery-status-function):
4416 Detect when to use battery-yeeloong-sysfs.
4417 (battery-echo-area-format): Add string for Yeeloong.
4418 (battery-linux-proc-apm, battery-linux-proc-acpi): Doc fixes.
4419 (battery-yeeloong-sysfs): New function.
4420
f75bfc33
CY
44212012-01-02 Chong Yidong <cyd@gnu.org>
4422
4423 * dirtrack.el (dirtrack-list): Eliminate unused third element.
4424 (dirtrack): Merge code for handling relative filenames in prompt
4425 from shell-dir-cookie-watcher.
4426 (dirtrack-debug-message): New arg to avoid excess format calls.
4427
4428 * shell.el (shell-dir-cookie-re): Variable deleted.
4429 (shell-dir-cookie-watcher): Function deleted.
4430 (shell-mode): Don't use shell-dir-cookie-re, since it is redundant
4431 with dirtrack-mode.
4432
651e947e
EZ
44332012-01-01 Eli Zaretskii <eliz@gnu.org>
4434
1d00653d
SM
4435 * term/w32-win.el (dynamic-library-alist) <gnutls>:
4436 Load libgnutls-28.dll, from GnuTLS version 3.x, in preference to
651e947e
EZ
4437 libgnutls-26.dll.
4438
94d4c7dc
AS
44392011-12-31 Andreas Schwab <schwab@linux-m68k.org>
4440
4441 * emacs-lisp/bytecomp.el (byte-compile-file): Fix indentation.
4442
8d43f3cd
EZ
44432011-12-31 Eli Zaretskii <eliz@gnu.org>
4444
4445 * mail/rmail.el (rmail-show-message-1): Decode any RFC2047 encoded
4446 headers of non-MIME messages, when rmail-enable-mime is non-nil.
4447
98c8795a
MA
44482011-12-29 Michael Albinus <michael.albinus@gmx.de>
4449
4450 * net/tramp-sh.el (tramp-find-shell): Set "remote-shell" property
4451 also for alternative shells.
4452 (tramp-open-connection-setup-interactive-shell): Check, whether
4453 the shell is a busybox.
4454 (tramp-send-command): Don't suppress multiple prompts for
4455 busyboxes, it hurts.
4456
51281b32
CY
44572011-12-28 Chong Yidong <cyd@gnu.org>
4458
4459 * progmodes/gdb-mi.el (gdb-get-source-file-list)
4460 (gdb-get-source-file): Move mode line update to
4461 gdb-get-source-file (Bug#10087).
4462
2170cb53
CY
44632011-12-25 Chong Yidong <cyd@gnu.org>
4464
4465 * progmodes/gud.el (gud-gdb-fetch-lines-filter): Just use
4466 gud-gdb-marker-filter without taking it as an argument.
4467 (gud-gdb-run-command-fetch-lines): Caller changed.
4468 (gud-gdb-completion-function): New variable.
4469 (gud-gdb-completion-at-point): Use it.
4470 (gud-gdb-completions-1): Split from gud-gdb-completions.
4471
4472 * progmodes/gdb-mi.el (gdb-input): Accept command and handler
4473 function as separate arguments.
4474 (gdb-init-1, gdb-non-stop-handler, gdb-check-target-async)
4475 (gdb-tooltip-print-1, gud-watch, gdb-speedbar-update)
4476 (gdb-var-list-children, gdb-var-set-format, gdb-var-delete-1)
4477 (gdb-var-delete-children, gdb-edit-value, gdb-var-update)
4478 (gdb-stopped, def-gdb-auto-update-trigger)
4479 (gdb-place-breakpoints, gdb-select-thread, gdb-select-frame)
b81d40f0
JB
4480 (gdb-get-changed-registers, gdb-get-main-selected-frame):
4481 Callers changed.
2170cb53
CY
4482 (gud-gdbmi-completions): New function.
4483 (gdb): Use it for generating the completion table.
4484
be8b11bb
AM
44852011-12-24 Alan Mackenzie <acm@muc.de>
4486
4487 Introduce a mechanism to widen the region used in context font
1d00653d 4488 locking. Use this to protect declarations from losing their contexts.
be8b11bb 4489
1d00653d
SM
4490 * progmodes/cc-langs.el (c-before-font-lock-functions):
4491 Replace c-set-fl-decl-start with c-change-set-fl-decl-start (Renaming).
b81d40f0 4492 (c-before-context-fontification-functions): New defvar, a list of
be8b11bb
AM
4493 functions to be run just before context (etc.) font locking.
4494
4495 * progmodes/cc-mode.el (c-extend-font-lock-region-for-macros):
b81d40f0 4496 New, functionality extracted from
be8b11bb 4497 c-neutralize-syntax-in-and-mark-CPP.
b81d40f0 4498 (c-in-after-change-fontification): New variable.
be8b11bb
AM
4499 (c-after-change): Set c-in-after-change-fontification.
4500 (c-set-fl-decl-start): Rejig its interface, so it can be called
4501 from both after-change and context fontifying.
b81d40f0
JB
4502 (c-change-set-fl-decl-start, c-context-set-fl-decl-start):
4503 New functions.
4504 (c-standard-font-lock-fontify-region-function): New variable.
4505 (c-font-lock-fontify-region): New function.
be8b11bb 4506
341cf6ac
JL
45072011-12-24 Juri Linkov <juri@jurta.org>
4508
4509 * window.el (window--state-get-1): Set `FORCE' arg of `mark' to t.
4510 (Bug#10348)
4511
bffcee0a
MA
45122011-12-23 Michael Albinus <michael.albinus@gmx.de>
4513
4514 * net/ange-ftp.el (ange-ftp-copy-file-internal): Check for
4515 existence of source file. (Bug#10325)
4516
cb5e207c
AM
45172011-12-23 Alan Mackenzie <acm@muc.de>
4518
4519 Fix unstable fontification inside templates.
4520
b81d40f0
JB
4521 * progmodes/cc-langs.el (c-before-font-lock-functions):
4522 Newly created from the singular version. The (c c++ objc) entry now
cb5e207c
AM
4523 additionally has c-set-fl-decl-start. The other languages (apart
4524 from AWK) have that as a single entry.
4525
b81d40f0
JB
4526 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
4527 The functionality for "local" declarations has been extracted to
cb5e207c
AM
4528 c-set-fl-decl-start.
4529
b81d40f0
JB
4530 * progmodes/cc-mode.el (c-common-init, c-after-change):
4531 Changes due to pluralisation of c-before-font-lock-functions.
cb5e207c
AM
4532 (c-set-fl-decl-start): New function, extracted from
4533 c-font-lock-enclosing-decls and enhanced.
4534
60ff536c
JB
45352011-12-23 Juanma Barranquero <lekktu@gmail.com>
4536
4537 * desktop.el (desktop-internal-v2s): Fix typos in docstring (bug#10353).
4538
1c4757d6
JL
45392011-12-22 Juri Linkov <juri@jurta.org>
4540
4541 * progmodes/grep.el (rgrep): Fix docstring. (Bug#10185)
4542
d031f2c7
CY
45432011-12-22 Chong Yidong <cyd@gnu.org>
4544
4545 * vc/vc-hooks.el (vc-keep-workfiles): Doc fix.
4546
bace743a
DA
45472011-12-21 Drew Adams <drew.adams@oracle.com>
4548
4549 * files.el (file-remote-p): Fix docstring. (Bug#10319)
4550
728a1f2b
JC
45512011-12-21 Jérémy Compostella <jeremy.compostella@gmail.com>
4552
4553 * battery.el (battery-linux-sysfs): Add missing parameters from acpi.
4554
0d373f73
TZ
45552011-12-21 Teodor Zlatanov <tzz@lifelogs.com>
4556
fec0aaa4
TZ
4557 * progmodes/cfengine.el: Add Version. Improve CFEngine 3.x syntax
4558 highlighting and support. Fix up comments for capitalization.
4559 (cfengine-mode-debug): New var.
4560 (cfengine3-mode): Change the modeline indicator to "CFE3".
4561 (cfengine3-font-lock-keywords): Improve defun highlighting.
4562 (cfengine2-actions): Rename from `cfengine-actions'.
4563 (cfengine2-font-lock-keywords): Rename from
4564 `cfengine-font-lock-keywords'.
4565 (cfengine2-imenu-expression): Rename from
4566 `cfengine-imenu-expression'.
4567 (cfengine2-outline-level): Rename from `cfengine-outline-level'.
4568 (cfengine2-beginning-of-defun): Rename from
4569 `cfengine-beginning-of-defun'.
4570 (cfengine2-end-of-defun): Rename from `cfengine-end-of-defun'.
4571 (cfengine2-indent-line): Rename from `cfengine-indent-line'.
4572 (cfengine2-mode): Rename from `cfengine-mode'. Change the
4573 modeline indicator to "CFE2".
4574 (cfengine-mode): Defalias to `cfengine-auto-mode'.
4575 (cfengine-mode-abbrevs): Mark obsolete.
0d373f73 4576
bc86f573
CY
45772011-12-21 Chong Yidong <cyd@gnu.org>
4578
4579 * vc/vc-bzr.el (vc-bzr-rename-file): Don't pass ~ to Bzr in
4580 filename argument.
4581
d45ba96b
MR
45822011-12-20 Martin Rudalics <rudalics@gmx.at>
4583
4584 * window.el (window-normalize-buffer-to-display): Remove.
4585 (display-buffer): Handle buffer-or-name argument as in Emacs 23.
4586
a6198c90
CY
45872011-12-19 Chong Yidong <cyd@gnu.org>
4588
4589 * vc/vc-dir.el (vc-dir-parent-marked-p, vc-dir-children-marked-p):
4590 Don't signal an error in a predicate function; return non-nil.
4591 (vc-dir-mark-file): Move the error here.
4592 (vc-dir-mark-unmark): If acting on the region, keep going if one
4593 of the entries cannot be marked/unmarked.
4594 (vc-dir-mark-all-files): If current entry is a directory, mark
4595 only child files, as documented.
4596
34c5fb55
VB
45972011-12-19 Vincent Belaïche <vincentb1@users.sourceforge.net>
4598
4599 * ses.el: Ooops... undo changes of 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net, as trunk
4600 branch is feature frozen, and 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net was a feature
4601 addition.
4602
c803b2b7
JD
46032011-12-18 Jan Djärv <jan.h.d@swipnet.se>
4604
4605 * term/ns-win.el (ns-get-selection-internal)
4606 (ns-store-selection-internal): Declare.
1154d12e
JB
4607 (ns-store-cut-buffer-internal, ns-get-cut-buffer-internal):
4608 Declare as obsolete.
4609 (ns-get-pasteboard, ns-paste-secondary):
4610 Use ns-get-selection-internal.
4611 (ns-set-pasteboard, ns-copy-including-secondary):
4612 Use ns-store-selection-internal.
c803b2b7 4613
9cff91f8 46142011-12-17 Chong Yidong <cyd@gnu.org>
99a289d9
CY
4615
4616 * vc/vc.el (vc-next-action): Doc fix; remove CVS-isms.
9cff91f8 4617 (vc-deduce-fileset): Doc fix.
99a289d9 4618
f16c898a
AS
46192011-12-16 Andreas Schwab <schwab@linux-m68k.org>
4620
4621 * calc/calc-misc.el (calc-help): Avoid wrapping help message.
4622
763237c4
SS
46232011-12-13 Sam Steingold <sds@gnu.org>
4624
4625 * man.el (Man-getpage-in-background): When running under a
4626 window-system, ignore $MANWIDTH and $COLUMNS.
4627
5fc1c122
KH
46282011-12-15 Kenichi Handa <handa@m17n.org>
4629
4630 * language/ethio-util.el: Change coding tag to utf-8-emacs.
4631 (setup-ethiopic-environment-internal): Comment out key-binding for
4632 ethio-toggle-punctuation.
4633
13d49cbb
AM
46342011-12-13 Alan Mackenzie <acm@muc.de>
4635
898169a2
AM
4636 Add the switch statement to AWK Mode.
4637
7a71b18d 4638 * progmodes/cc-awk.el (awk-font-lock-keywords): Add "switch", "case",
898169a2
AM
4639 "default" to the keywords regexp.
4640
7a71b18d 4641 * progmodes/cc-langs.el (c-label-kwds): Let AWK take the same
898169a2 4642 expression as the rest.
1d00653d
SM
4643 (c-nonlabel-token-key): Allow string literals for AWK.
4644 Refactor for the other modes.
898169a2 4645
13d49cbb 4646 Large brace-block initialisation makes CC Mode slow: Fix.
1d00653d 4647 Tidy up and accelerate c-in-literal, etc. by using the c-parse-state
13d49cbb
AM
4648 routines. Limit backward searching in c-font-lock-enclosing.decl.
4649
4650 * progmodes/cc-engine.el (c-state-pp-to-literal): Return the
4651 pp-state and literal type in addition to the limits.
1d00653d 4652 (c-state-safe-place): New defun, extracted from c-state-literal-at.
13d49cbb 4653 (c-state-literal-at): Use the above new defun.
1d00653d
SM
4654 (c-slow-in-literal, c-fast-in-literal): Remove.
4655 (c-in-literal, c-literal-limits): Amend to use c-state-pp-to-literal.
13d49cbb
AM
4656
4657 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls): Check for
4658 being in a literal. Add a limit for backward searching.
4659
4660 * progmodes/cc-mode.el (awk-mode): Don't alias c-in-literal to
4661 c-slow-in-literal.
4662
15e0efc7
SM
46632011-12-13 Stefan Monnier <monnier@iro.umontreal.ca>
4664
4665 * progmodes/pascal.el: Declare `ind' as dyn-bound (bug#10264).
4666
454592a6
MR
46672011-12-13 Martin Rudalics <rudalics@gmx.at>
4668
4669 * window.el (delete-other-windows): Use correct frame in call to
4670 window-with-parameter.
4671
87393f26
DP
46722011-12-12 Daniel Pfeiffer <occitan@t-online.de>
4673
4674 * progmodes/make-mode.el: Bring it up to date with makepp V2.0.
4675 (makefile-make-font-lock-keywords): Extend meaning of `keywords'.
4676 (makefile-gmake-statements, makefile-makepp-statements):
4677 Use it and add new makepp keywords.
4678 (makefile-makepp-font-lock-keywords): Add new patterns.
4679 (makefile-match-function-end): Match new [...] and [[...]].
4680
11636b22
JB
46812011-12-11 Juanma Barranquero <lekktu@gmail.com>
4682
4683 * ses.el (ses-call-printer-return, ses-cell-property-get)
4684 (ses-sym-rowcol, ses-printer-validate, ses-formula-record)
4685 (ses-create-cell-variable, ses-reset-header-string)
4686 (ses-cell-set-formula, ses-repair-cell-reference-all)
4687 (ses-self-reference-early-detection, ses-in-print-area, ses-set-curcell)
4688 (ses-check-curcell, ses-call-printer, ses-adjust-print-width)
4689 (ses-print-cell-new-width, ses-formula-references, ses-relocate-formula)
4690 (ses-aset-with-undo, ses-load, ses-truncate-cell)
4691 (ses-read-column-printer, ses-read-default-printer, ses-insert-row)
4692 (ses-delete-row, ses-delete-column, ses-append-row-jump-first-column)
4693 (ses-kill-override, ses-yank-pop, ses-yank-cells, ses-yank-tsf)
4694 (ses-yank-resize, ses-export-tab, ses-mark-row, ses-mark-column)
4695 (ses-renarrow-buffer, ses-insert-range, ses-insert-ses-range)
4696 (ses-safe-printer, ses-safe-formula, ses-warn-unsafe, ses--clean-!)
4697 (ses--clean-_, ses-range, ses-select, ses-center, ses-center-span)
4698 (ses-dashfill, ses-unsafe): Fix typos and reflow docstrings.
4699
cf018193
VB
47002011-12-11 Vincent Belaïche <vincentb1@users.sourceforge.net>
4701
4702 * ses.el: The overall change is to add cell renaming, that is
4703 setting fancy names for cell symbols other than name matching
4704 "\\`[A-Z]+[0-9]+\\'" regexp .
4705 (ses-create-cell-variable): New defun.
4706 (ses-relocate-formula): Relocate formulas only for cells the
4707 symbols of which are not renamed, i.e. symbols whose names do not
4708 match regexp "\\`[A-Z]+[0-9]+\\'".
4709 (ses-relocate-all): Relocate values only for cells the symbols of
4710 which are not renamed.
4711 (ses-load): Create cells variables as the (ses-cell ...) are read,
4712 in order to check row col consistency with cell symbol name only
4713 for cells that are not renamed.
4714 (ses-replace-name-in-formula): New defun.
4715 (ses-rename-cell): New defun.
4716
ee957461
CY
47172011-12-11 Chong Yidong <cyd@gnu.org>
4718
4719 * progmodes/gdb-mi.el (gdb): Set comint-prompt-regexp, required
4720 for completion via gud-gdb-fetch-lines-filter (Bug#10274).
4721
9a9e9ef0
MR
47222011-12-11 Eric Hanchrow <eric.hanchrow@gmail.com>
4723
4724 * window.el (other-window): Fix docstring.
4725
92a8eba5
EZ
47262011-12-10 Eli Zaretskii <eliz@gnu.org>
4727
4728 * mail/rmailsum.el (rmail-header-summary): RFC2047 decode the
1d00653d
SM
4729 `from' or `to' address before taking its substring.
4730 Fixes incorrect display in Rmail summary buffer whereby an RFC2047
92a8eba5
EZ
4731 encoded name is chopped in the middle of the encoded string, and
4732 thus displayed encoded.
4733
e152e577
JB
47342011-12-10 Juanma Barranquero <lekktu@gmail.com>
4735
4736 * makefile.w32-in (update-subdirs-CMD): Use a Local Variables section.
4737
e5d84bfe
EZ
47382011-12-10 Eli Zaretskii <eliz@gnu.org>
4739
4740 * textmodes/texnfo-upd.el: Update commentary. Add a warning not
4741 to use texinfo-update-node and commands that call it if the
4742 Texinfo file uses @node lines without next/prev/up pointers.
b8830d28 4743 Correct outdated description about texinfo-master-menu.
e5d84bfe
EZ
4744 (texinfo-all-menus-update, texinfo-master-menu)
4745 (texinfo-update-node, texinfo-every-node-update)
4746 (texinfo-multiple-files-update): Doc fix. Warn against updating
4747 all the @node lines.
4748 (texinfo-master-menu): Only call texinfo-update-node if the prefix
b8830d28
EZ
4749 argument is numeric. Explain better in the doc string what the
4750 function really does.
4751 (texinfo-insert-master-menu-list): Improve the error message
4752 displayed if there's no menu in the Top node.
4753 (Bug#2975) See also this thread:
e5d84bfe
EZ
4754 http://lists.gnu.org/archive/html/emacs-devel/2011-12/msg00156.html.
4755
1d84e9bb
MG
47562011-12-09 Manuel Gómez <mgrojo@gmail.com> (tiny change)
4757
4758 * speedbar.el (speedbar-supported-extension-expressions):
4759 Add .adb and .ads, commonly used for Ada source code (bug#10256).
4760
382c953b
JB
47612011-12-09 Juanma Barranquero <lekktu@gmail.com>
4762
4763 * printing.el (pr-mode-alist):
4764 * simple.el (filter-buffer-substring-functions)
4765 (completion-list-insert-choice-function):
4766 * window.el (window-with-parameter, window-atom-root)
4767 (window-sides-slots, window-size-fixed, window-min-delta)
4768 (window-max-delta, window--resize-mini-window)
4769 (window--resize-child-windows-normal, window-tree)
4770 (delete-other-windows, quit-window, split-window)
4771 (display-buffer-record-window, special-display-buffer-names)
4772 (special-display-regexps, special-display-popup-frame)
4773 (same-window-p, split-window-sensibly)
4774 (display-buffer-overriding-action, display-buffer-alist)
4775 (display-buffer-base-action, display-buffer, switch-to-buffer)
4776 (switch-to-buffer-other-window, switch-to-buffer-other-frame)
4777 (fit-window-to-buffer, recenter-positions)
4778 (mouse-autoselect-window-state, mouse-autoselect-window-select):
4779 * emacs-lisp/syntax.el (syntax-propertize-function): Fix typos
4780 and remove unneeded backslashes in docstrings.
4781
39c9faef
SM
47822011-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
4783
98449af8
SM
4784 * emacs-lisp/lisp-mode.el (defmethod): Add doc-string-elt (bug#10244).
4785
39c9faef
SM
4786 * pcmpl-gnu.el: Don't fail when there is no Makefile nor -f arg.
4787 (pcmpl-gnu-makefile-regexps): Accept "makefile" as well as files that
4788 end in ".mk".
4789 (pcmpl-gnu-make-rule-names): Check "makefile" and ignore errors
4790 when reading the makefile (bug#10116).
4791
86ed9fdc
SM
47922011-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
4793
4794 * pcmpl-gnu.el (pcomplete/make): Also allow filename arguments
4795 (bug#10116).
4796
5580f89d
GM
47972011-12-06 Glenn Morris <rgm@gnu.org>
4798
4799 * emacs-lisp/package.el (package-archives): Doc fix re riskiness.
4800
28d3917c
CY
48012011-12-06 Chong Yidong <cyd@gnu.org>
4802
4803 * progmodes/cc-fonts.el (c-annotation-face): Use defface.
4804
a98edce9
JB
48052011-12-06 Juanma Barranquero <lekktu@gmail.com>
4806
4807 * textmodes/table.el (table-shorten-cell): Fix typo.
4808
e65adfac
CG
48092011-12-05 Christopher Genovese <genovese.cr@gmail.com> (tiny change)
4810
4811 * emacs-lisp/assoc.el (aput): Fix return value (bug#10146)
4812
71cc0b74
EZ
48132011-12-05 Eli Zaretskii <eliz@gnu.org>
4814
4815 * descr-text.el (describe-char): Fix display of strong
4816 right-to-left characters and directional embeddings and overrides.
4817
4818 * simple.el (what-cursor-position): Fix display of codepoints of
4819 strong right-to-left characters.
4820
315bc30d
CY
48212011-12-05 Chong Yidong <cyd@gnu.org>
4822
4823 * faces.el (read-color): Doc fix.
4824
58a70b94
GM
48252011-12-05 Glenn Morris <rgm@gnu.org>
4826
4827 * align.el (align--set-marker): Add doc-string.
4828 Don't try to move something that is not a marker. (Bug#10216)
4829
5158face
GM
48302011-12-04 Glenn Morris <rgm@gnu.org>
4831
4832 * calendar/appt.el (appt-add): Rewrite the interactive-spec to avoid
4833 overly zealous deletion of trailing whitespace.
4834
520fca41
JB
48352011-12-04 Juanma Barranquero <lekktu@gmail.com>
4836
4837 * server.el (server-delete-client): On Windows, do not try to delete
4838 the only terminal.
4839 (server-process-filter): On Windows, treat requests for a tty frame as
4840 if they were for a GUI frame if the running server is in GUI mode.
4841
5e605a2e
GM
48422011-12-03 Glenn Morris <rgm@gnu.org>
4843
4844 * textmodes/texinfmt.el (batch-texinfo-format): Doc fix. (Bug#10207)
4845
5c3fe83f
SM
48462011-12-03 Stefan Monnier <monnier@iro.umontreal.ca>
4847
6f5e57e7
SM
4848 * electric.el: Streamline electric-indent's hook.
4849 (electric-indent-chars): Revert to simple list.
4850 (electric-indent-functions): New var.
4851 (electric-indent-post-self-insert-function): Use it.
4852
5c3fe83f
SM
4853 * progmodes/prolog.el (prolog-find-value-by-system): Avoid error when
4854 there's no inferior buffer (bug#10196).
4855 (prolog-consult-compile): Don't use toggle-read-only.
4856
6bdac736
MA
48572011-12-02 Michael Albinus <michael.albinus@gmx.de>
4858
4859 * net/tramp-sh.el (tramp-maybe-open-connection): Handle user
4860 interrupt. (Bug#10187)
4861
6131ba7f
SM
48622011-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
4863
99c79fee
SM
4864 * pcmpl-gnu.el (pcomplete/tar): large-file-warn-threshold can be nil
4865 (bug#9160).
4866
6131ba7f
SM
4867 * dired-aux.el (dired-query): Don't assume help-char is modifier-free
4868 (bug#10191).
4869
cb0a02ea
JL
48702011-12-02 Juri Linkov <juri@jurta.org>
4871
4872 * info.el (Info-search): Display "end of manual" when Isearch
4873 reaches the end of single-file Info manual. (Bug#9918)
4874
66e0570c
EZ
48752011-12-02 Eli Zaretskii <eliz@gnu.org>
4876
4877 * isearch.el (isearch-message-prefix): Run the input method part
4878 of the prompt through bidi-string-mark-left-to-right. (Bug#10183)
4879
02b16839
JL
48802011-12-02 Juri Linkov <juri@jurta.org>
4881
4882 * isearch.el (isearch-occur): Use `word-search-regexp' for
4883 `isearch-word'.
4884 (isearch-search-and-update): Add condition for `isearch-word' and
4885 call `word-search-regexp'. (Bug#10145)
4886
0b950688
GM
48872011-12-01 Glenn Morris <rgm@gnu.org>
4888
4889 * eshell/em-hist.el (eshell-hist-initialize):
4890 Handle eshell-history-size nil and HISTSIZE set or unset.
e8087a76 4891 (eshell-history-file-name, eshell-history-size): Fix custom type.
0b950688 4892
9505c3c7
SM
48932011-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
4894
4895 * man.el (Man-completion-table): Fix the lambda case (bug#10168).
4896
1bbe96b2 48972011-12-01 Michael McNamara <mac@mail.brushroad.com>
6288f0ca 4898
a1beca85
SM
4899 * progmodes/verilog-mode.el (verilog-pretty-expr):
4900 Rework verilog-pretty-expr to handle new assignment operators in system
6288f0ca
WS
4901 verilog, such as += *= and the like.
4902 (verilog-assignment-operator-re): Regular expression to find the
4903 assigment operator in a verilog assignment.
4904 (verilog-assignment-operation-re): Regular expression to find an
4905 assignment statement for pretty-expr.
4906 (verilog-in-attribute-p): Query returns true if point is in an
4907 attribute context; used to skip these for expression line up from
4908 pretty-expr.
4909 (verilog-in-parameter-p): Query returns true if point is in an
4910 parameter definition context; used to skip these for expression
4911 line up from pretty-expr.
4912 (verilog-in-parenthesis-p): Query returns true if point is in a
4913 parenthetical expression, specifically ( ) but not [ ] or { };
4914 used by pretty-expr.
4915 (verilog-just-one-space): If there is no space, don't add one.
4916 (verilog-get-lineup-indent-2): Specifically skip just attribute
4917 contexts for expression lineup, rather than skipping all
4918 parenthetical expressions.
4919 (verilog-calculate-indent): Fix comment, and fix indent.
4920 (verilog-do-indent): Indent declarations in lists (suggested by
4921 Joachim Lechner).
4922 (verilog-mode-abbrev-table): Populate abbrev mode with the various
4923 skeleton items.
4924 (verilog-sk-ovm-class): Add skeleton for OVM classes (reported
4925 by Alain Mellan).
4926
1bbe96b2 49272011-12-01 Wilson Snyder <wsnyder@wsnyder.org>
6288f0ca
WS
4928
4929 * progmodes/verilog-mode.el (verilog-read-defines): Fix reading
4930 parameters with embedded comments. Reported by Ray Stevens.
4931 (verilog-calc-1, verilog-fork-wait-re) (verilog-forward-sexp,
4932 verilog-wait-fork-re): Fix indentation of "wait fork", bug407.
4933 Reported by Tim Holt.
4934 (verilog-auto): Fix AUTOing a upper module then AUTOing module
4935 instantiated by upper module causing wrong expansion until AUTOed a
4936 second time. Reported by K C Buckenmaier.
4937 (verilog-diff-auto): Fix showing .* as a difference when
4938 `verilog-auto-star-save' off. Reported by Dan Dever.
4939 (verilog-auto-reset, verilog-read-always-signals)
4940 (verilog-auto-reset-blocking-in-non): Fix AUTORESET including
4941 temporary signals in reset list if
4942 verilog-auto-reset-blocking-in-non is nil, and match assignment
a1beca85
SM
4943 style to each signal's assignment type, bug381.
4944 Reported by Thomas Esposito.
6288f0ca
WS
4945 (verilog-sk-uvm-class, verilog-uvm-begin-re, verilog-uvm-end-re)
4946 (verilog-uvm-statement-re): Support UVM indentation and
4947 highlighting, with old OVM keywords only.
a1beca85 4948 (verilog-auto-tieoff, verilog-auto-tieoff-declaration):
1d00653d
SM
4949 Support AUTOTIEOFF creating non-wire data types.
4950 Suggested by Jonathan Greenlaw.
6288f0ca
WS
4951 (verilog-auto-insert-lisp, verilog-delete-to-paren)
4952 (verilog-forward-sexp-cmt, verilog-forward-sexp-ign-cmt)
4953 (verilog-inject-sense, verilog-read-inst-pins)
a1beca85
SM
4954 (verilog-read-sub-decls, verilog-read-sub-decls-line):
4955 Fix mismatching parenthesis inside commented out code when deleting
382c953b 4956 AUTOINST, bug383. Reported by Jonathan Greenlaw.
6288f0ca
WS
4957 (verilog-auto-ascii-enum): Fix AUTOASCIIENUM one-hot with
4958 non-numeric vector width. Reported by Alex Reed.
4959 (verilog-auto-ascii-enum): Add "onehot" option to work around not
382c953b 4960 detecting signals with parameter widths. Reported by Alex Reed.
a1beca85
SM
4961 (verilog-auto-delete-trailing-whitespace):
4962 With `verilog-auto-delete-trailing-whitespace' remove trailing
6288f0ca
WS
4963 whitespace in auto expansion, bug371. Reported by Brad Dobbie.
4964 (verilog-run-hooks, verilog-scan-cache-flush, verilog-syntax-ppss):
4965 Fix verilog-scan-cache corruption when running user AUTO expansion
4966 hooks that call indentation routines.
4967 (verilog-simplify-range-expression): Fix typo ignoring lower case
4968 identifiers.
4969 (verilog-delete-auto): Fix delete-autos to also remove user created
4970 automatics, as long as they start with AUTO.
4971 (verilog-batch-diff-auto, verilog-diff-auto)
4972 (verilog-diff-function): Add `verilog-diff-auto' and bind to
4973 "C-c?" to report differences in AUTO expansion, ignoring spaces.
4974 (verilog-backward-syntactic-ws-quick, verilog-beg-of-defun-quick)
4975 (verilog-in-paren-quick, verilog-re-search-backward-quick)
a1beca85
SM
4976 (verilog-re-search-forward-quick, verilog-syntax-ppss):
4977 Fix calling `syntax-ppss' when inside auto expansions as the ppss hook
6288f0ca
WS
4978 is disabled and its cache will get corrupt, causing AUTOS not to
4979 expand. Instead use only -quick functions.
4980 (verilog-scan-region): Fix scanning over escaped quotes.
4981 (verilog-inside-comment-or-string-p, verilog-inside-comment-p)
4982 (verilog-re-search-backward-quick)
4983 (verilog-re-search-forward-quick, verilog-scan): verilog-scan and
4984 related functions now ignore strings, to fix misparsing of strings
4985 with magic comments embedded in them.
a1beca85
SM
4986 (verilog-read-auto-template):
4987 Fix 'verilog-auto-inst-template-numbers' with extra newline before (.
4988 Reported by Brad Dobbie.
4989 (verilog-read-auto-template):
4990 Fix 'verilog-auto-inst-template-numbers' with comments.
6288f0ca 4991 Reported by Brad Dobbie.
6288f0ca
WS
4992 (verilog-auto-inst, verilog-auto-inst-param)
4993 (verilog-auto-inst-sort): Add 'verilog-auto-inst-sort' to reduce
4994 merge conflicts with AUTOINST, bug358. Reported by Brad Dobbie.
4995 (verilog-auto-inst-template-numbers): Add 'lhs' policy for
a1beca85
SM
4996 debugging templates without merge conflicts, bug357.
4997 Reported by Brad Dobbie.
4998 (verilog-read-auto-template):
4999 Fix verilog-auto-inst-template-numbers with multiple templates.
6288f0ca
WS
5000 Reported by Brad Dobbie.
5001 (verilog-define-abbrev): Fix verilog-mode abbrevs to be system
5002 abbrevs so user won't be asked to save.
5003 (verilog-read-auto-lisp-present): Fix to start at beginning of
5004 buffer in case called outside of verilog-auto.
5005 (verilog-simplify-range-expression): Fix AUTOWIRE expanding "X-1+1"
5006 to "X-2". Reported by Matthew Myers.
5007 (verilog-auto, verilog-auto-inout-in): Add AUTOINOUTIN for creating
5008 all inputs from module templates. Reported by Leith Johnson.
5009 (verilog-module-inside-filename-p): Fix locating programs as with
5010 modules.
5011 (verilog-auto-inst-port): Fix vl-width expressions when using
5012 verilog-auto-inst-param-value, bug331. Reported by Julian Gorfajn.
5013 (verilog-decls-get-regs, verilog-decls-get-signals,
5014 verilog-decls-get-vars, verilog-decls-get-wires, verilog-decls-new,
5015 verilog-modi-cache-add-vars, verilog-modi-cache-add-wires,
5016 verilog-read-decls): Combine reg and wire structures into one var
5017 structure to represent SystemVerilog concepts.
5018 (verilog-auto-ascii-enum, verilog-auto-logic, verilog-auto-reg)
5019 (verilog-auto-reg-input, verilog-auto-tieoff, verilog-auto-wire)
a1beca85
SM
5020 (verilog-auto-wire-type, verilog-insert-definition):
5021 Add verilog-auto-wire-type and AUTOLOGIC to support using
6288f0ca
WS
5022 SystemVerilog "logic" keyword instead of "wire"/"reg".
5023 (verilog-auto-reg-input, verilog-decls-get-signals): Fix AUTOWIRE
5024 to declares outputs that also have assignments (presumably in an
a1beca85
SM
5025 ifdef or generate if so there's not a driver conflict).
5026 Reported by Matthew Myers.
5027 (verilog-auto-declare-nettype, verilog-insert-definition):
5028 Add verilog-auto-declare-nettype to fix declarations using
6288f0ca
WS
5029 `default_nettype none. Reported by Julian Gorfajn.
5030 (verilog-read-always-signals-recurse, verilog-read-decls)
5031 (verilog-read-sub-decls-gate): Fix infinite loop with (*) and
5032 malformed end statement, bug325. Reported by Joshua Wise and
5033 Andrew Drake.
5034 (verilog-auto-star-safe, verilog-delete-auto-star-implicit)
5035 (verilog-inst-comment-re): Fix not deleting Interfaced comment
1d00653d
SM
5036 when expanding .* in interfaces, bug320.
5037 Reported by Pierre-David Pfister.
6288f0ca 5038 (verilog-read-module-name): Fix import statements between module
1d00653d
SM
5039 name and open parenthesis, bug317.
5040 Reported by Pierre-David Pfister.
6288f0ca
WS
5041 (verilog-simplify-range-expression): Fix simplification of
5042 multiplications inside AUTOWIRE connections, bug303.
5043 (verilog-auto-inst-port): Support parameter expansion in
5044 multidimensional arrays.
5045 (verilog-read-decls): Fix AUTOREG etc looking for "endproperty"
5046 after "assert property". Reported by Julian Gorfajn.
5047 (verilog-simplify-range-expression): Fix "couldn't merge" errors
5048 with multiplication, bug303.
5049 (verilog-read-decls): Fix parsing of unsigned data types, bug302.
5050 Reported by Jan Frode Lonnum.
5051
1bbe96b2
GM
50522011-11-30 Juanma Barranquero <lekktu@gmail.com>
5053
5054 * htmlfontify.el (hfy-page-header, hfy-post-html-hooks)
5055 (hfy-shell-file-name, hfy-shell):
5056 * international/fontset.el (x-decompose-font-name): Fix typos.
5057
50582011-11-29 Ken Brown <kbrown@cornell.edu>
5059
5060 * progmodes/gdb-mi.el: Fix bug#9853, bug#9858, and bug#9878.
5061 (gdb-version): Remove defvar.
5062 (gdb-supports-non-stop): New defvar, replacing `gdb-version'.
5063 (gdb-gud-context-command, gdb-non-stop-handler)
5064 (gdb-current-context-command, gdb-stopped): Use it.
5065 (gdb-init-1): Enable pretty printing here.
6131ba7f
SM
5066 (gdb-non-stop-handler): Don't enable pretty-printing here.
5067 Check to see if the target supports non-stop mode; if not, turn off
1bbe96b2
GM
5068 non-stop mode. Use the following.
5069 (gdb-check-target-async): New defun.
5070 (gud-watch, gdb-stopped): Fix whitespace.
5071 (gdb-get-source-file): Don't try to display the source file if
5072 `gdb-main-file' is nil.
5073
50742011-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
5075
5076 * align.el: Try to generate fewer markers (bug#10047).
5077 (align--set-marker): New macro.
5078 (align-region): Use it.
5079
c935221f
SM
50802011-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
5081
5082 * isearch.el (isearch-yank-x-selection): Deactivate mark (bug#10022).
5083
e70b5064
CY
50842011-11-29 Chong Yidong <cyd@gnu.org>
5085
5086 * indent.el (indent-for-tab-command, indent-according-to-mode):
5087 Doc fix.
5088 (indent-region): Doc fix. Switch nested ifs to equivalent cond.
5089
f3af92b7
MA
50902011-11-29 Michael Albinus <michael.albinus@gmx.de>
5091
5092 * vc/diff-mode.el (diff-find-file-name): Make `read-file-name'
5093 aware of remote file names. (Bug#10124)
5094
ed472be9
CY
50952011-11-29 Chong Yidong <cyd@gnu.org>
5096
5097 * frame.el (auto-raise-mode, auto-lower-mode): Doc fix.
5098
24510c22
SM
50992011-11-28 Stefan Monnier <monnier@iro.umontreal.ca>
5100
5101 * files.el (find-file): Don't use force-same-window (bug#10144).
5102 * window.el (switch-to-buffer): Better match Emacs-23 behavior and only
5103 use pop-to-buffer if the selected window can't be used.
5104 (pop-to-buffer-same-window): Use display-buffer--same-window-action.
5105
c60c3703
EZ
51062011-11-28 Eli Zaretskii <eliz@gnu.org>
5107
5108 * vc/diff-mode.el (diff-mode-map): Don't inherit 'z' => 'M-z' from
5109 special-mode-map.
5110
e95def75
CY
51112011-11-28 Chong Yidong <cyd@gnu.org>
5112
5113 * emacs-lisp/easy-mmode.el (define-minor-mode): Fix default doc.
5114
c3f1c606
NR
51152011-11-27 Nick Roberts <nickrob@snap.net.nz>
5116
5117 * progmodes/gdb-mi.el (gdb-init-1): Condition execution of
5118 gdb-get-source-file-list on gdb-create-source-file-list.
5119
00db469c
EZ
51202011-11-26 Eli Zaretskii <eliz@gnu.org>
5121
5122 * whitespace.el (whitespace-newline): Use a different foreground
5123 color for 16-color light-background displays.
5124
4ad3bc2a
CY
51252011-11-24 Chong Yidong <cyd@gnu.org>
5126
5127 * window.el (display-buffer--special-action): Doc fix.
5128
e9fce1ac
JB
51292011-11-25 Juanma Barranquero <lekktu@gmail.com>
5130
5131 * emacs-lisp/avl-tree.el (avl-tree--do-copy, avl-tree-create)
5132 (avl-tree-compare-function, avl-tree-empty, avl-tree-enter)
5133 (avl-tree-delete, avl-tree-member, avl-tree-member-p, avl-tree-map)
5134 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar, avl-tree-copy)
5135 (avl-tree-clear, avl-tree-stack, avl-tree-stack-pop)
5136 (avl-tree-stack-first):
5137 * emacs-lisp/cconv.el (cconv--analyse-use):
5138 * net/gnutls.el (gnutls-negotiate): Fix typos.
5139
cb825e5d
GM
51402011-11-24 Glenn Morris <rgm@gnu.org>
5141
3adbe224
GM
5142 * lpr.el (lpr-windows-system, lpr-lp-system):
5143 * mail/binhex.el (binhex-begin-line):
5144 * progmodes/grep.el (grep-history, grep-find-history):
5145 * textmodes/flyspell.el:
5146 * vc/pcvs-defs.el (cvs-global-menu):
5147 * vc/vc-bzr.el (vc-bzr-admin-checkout-format-file):
5148 * vc/vc-mtn.el (vc-mtn-admin-dir, vc-mtn-admin-format):
5149 * vc/vc-cvs.el (vc-cvs-registered): Give them basic doc-strings.
5150
321decc8
GM
5151 * net/tls.el: Fix case of "GnuTLS".
5152
420b63ad
GM
5153 * paths.el (rmail-file-name): Format doc-string for make-docfile.
5154
cb825e5d
GM
5155 * version.el (emacs-build-system): Give it a doc-string.
5156
a0649f08
JL
51572011-11-24 Juri Linkov <juri@jurta.org>
5158
5159 * view.el (view-buffer): Revert 2011-07-19T15:01:49Z!larsi@gnus.org from 2011-07-19 (bug#8615).
5160
c0bc0fd4
GM
51612011-11-24 Glenn Morris <rgm@gnu.org>
5162
5163 * mail/rmailmm.el (rmail-mime): When rmail-enable-mime is non-nil,
5164 if called on a non-mime message just toggle the headers. (Bug#8006)
5165
20db1522
JB
51662011-11-24 Juanma Barranquero <lekktu@gmail.com>
5167
5168 * allout.el (allout-setup, allout-auto-save-temporarily-disabled)
5169 (allout-lead-with-comment-string, allout-structure-deleted-hook)
5170 (allout-mode, allout-chart-subtree, allout-hotspot-key-handler)
5171 (allout-rebullet-heading, allout-open-sibtopic)
5172 (allout-toggle-current-subtree-encryption)
5173 (allout-toggle-subtree-encryption, allout-encrypt-string)
5174 (allout-next-topic-pending-encryption, allout-adjust-file-variable)
5175 (allout-distinctive-bullets-string, allout-auto-activation):
5176 * window.el (window-normalize-buffer-to-display):
5177 * progmodes/verilog-mode.el (verilog-batch-indent):
5178 * textmodes/bibtex.el (bibtex-field-braces-opt)
5179 (bibtex-field-strings-opt):
5180 * vc/cvs-status.el (cvs-tree-merge):
5181 Fix typos.
5182
7262a87c
MA
51832011-11-23 Michael Albinus <michael.albinus@gmx.de>
5184
5185 * rfn-eshadow.el (rfn-eshadow-update-overlay): Let-bind
5186 `non-essential' to t, in order to avoid remote connections.
5187
283430a1
EZ
51882011-11-23 Eli Zaretskii <eliz@gnu.org>
5189
a1beca85
SM
5190 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
5191 On MS-DOS and MS-Windows, compare with loaddefs.el
283430a1
EZ
5192 case-insensitively.
5193
d2992a38
ML
51942011-11-23 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
5195
5196 * mail/unrmail.el (unrmail): Always add blank line. (Bug#7743)
5197
50419064
GM
51982011-11-23 Glenn Morris <rgm@gnu.org>
5199
da94eca1
GM
5200 * paths.el (rmail-file-name): Reformat the doc-string so that it
5201 is picked up.
5202
9aac4de2
GM
5203 * mail/rmail.el (rmail-message-filter, rmail-auto-file): Doc fixes.
5204 (rmail-auto-file): Ignore case in the "special" field names,
5205 as mail-fetch-field does for all others.
5206
8038d2d2
GM
5207 * mail/rmail.el (rmail-forward):
5208 * mail/rmailkwd.el (rmail-set-label):
5209 * mail/rmailout.el (rmail-output, rmail-output-as-seen)
5210 (rmail-output-body-to-file): Give error if no message. (Bug#10082)
5211
f3fe222a
GM
5212 * mail/rmail.el (rmail-current-message): Doc fix.
5213
50419064
GM
5214 * mail/rmail.el (rmail-message-filter): Mark as obsolete. (Bug#2624)
5215
28109f49
SM
52162011-11-22 Stefan Monnier <monnier@iro.umontreal.ca>
5217
5218 * server.el (server-eval-and-print): Allow C-g (bug#6585).
5219
394c65f1
GM
52202011-11-22 Glenn Morris <rgm@gnu.org>
5221
5222 * mail/rmailmm.el (test-rmail-mime-handler)
5223 (test-rmail-mime-bulk-handler)
5224 (test-rmail-mime-multipart-handler): Move tests to test/ directory.
5225
f2a0aa3a
JL
52262011-11-21 Juri Linkov <juri@jurta.org>
5227
1154d12e
JB
5228 * calc/calc.el (calc-read-key-sequence):
5229 Let-bind `input-method-function' to nil. (Bug#10018)
f2a0aa3a 5230
9c34a344
LMI
52312011-11-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
5232
5233 * emacs-lisp/cl-indent.el (common-lisp-loop-part-indentation):
5234 Tell the caller that the next line needs recomputation, even
5235 though it doesn't start a sexp (bug#10094).
5236
f04a3be9
SM
52372011-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
5238
5239 * emacs-lisp/autoload.el (autoload-generate-file-autoloads): Simplify.
5240
7978747f
SM
52412011-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
5242
f04a3be9
SM
5243 * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
5244 Use force-same-window.
7978747f 5245
fe7a3057
JB
52462011-11-20 Juanma Barranquero <lekktu@gmail.com>
5247
5248 * descr-text.el (describe-char-unicode-data):
5249 * json.el (json-string-escape):
5250 * mail/footnote.el (footnote-unicode-string, footnote-unicode-regexp)
5251 (Footnote-unicode, Footnote-style-p):
5252 * net/ntlm.el (ntlm-get-password-hashes): Fix typos.
5253
24901d61
CY
52542011-11-20 Chong Yidong <cyd@gnu.org>
5255
5256 * window.el (replace-buffer-in-windows): Restore interactive spec.
5257
bac7ff22
SM
52582011-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
5259
24f3d7b9
SM
5260 * electric.el (electric-indent-mode): Fix last change (too optimistic).
5261
bac7ff22
SM
5262 * emacs-lisp/bytecomp.el: Silence obsolete warnings more reliably.
5263 (byte-compile-global-not-obsolete-vars): New var.
5264 (byte-compile-check-variable, byte-compile-make-obsolete-variable):
5265 Use it.
5266 (byte-compile-warn-obsolete): Align text with the one in *Help*.
5267
cd1181db
JB
52682011-11-20 Juanma Barranquero <lekktu@gmail.com>
5269
5270 * progmodes/cwarn.el (cwarn-is-enabled, cwarn-font-lock-keywords):
5271 * progmodes/pascal.el (electric-pascal-equal):
5272 * textmodes/reftex-dcr.el (reftex-view-crossref-from-bibtex):
5273 * xml.el (xml-substitute-special): Fix typos.
5274
7fb18e9e
GM
52752011-11-20 Glenn Morris <rgm@gnu.org>
5276
5277 * mail/rmail.el (rmail-enable-mime-composing): Make it a defcustom.
5278 (rmail-insert-mime-forwarded-message-function, rmail-mime-feature):
5279 Doc fixes.
5280 (rmail-decode-mime-charset): Mark as obsolete.
5281
5282 * mail/rmailsum.el (rmail-message-regexp-p-1):
5283 * mail/rmail.el (rmail-search-message, rmail-forward, rmail-resend):
5284 Before using mime functions, check they are set. (Bug#10077)
5285
d5a6b3ba
JL
52862011-11-19 Juri Linkov <juri@jurta.org>
5287
5288 * info.el (Info-finder-find-node): Use `package--builtins' instead
5289 of `package-alist'. Use node names formed by the pattern "Keyword "
5290 and the keyword name.
5291
e981b61f
AS
52922011-11-19 Andreas Schwab <schwab@linux-m68k.org>
5293
1d00653d 5294 * progmodes/sh-script.el (sh-assignment-regexp): Add entry for bash.
e981b61f 5295
3ffbc301
JL
52962011-11-19 Juri Linkov <juri@jurta.org>
5297
5298 * info.el (Info-hide-note-references): Add `:set' tag to `defcustom'
5299 that calls `revert-buffer' on all Info buffers. (Bug#9915)
5300 (Info-revert-find-node): Remove let-bindings `old-buffer-name',
5301 `old-history', `old-history-forward'. Add let-binding
5302 `window-selected'. Remove calls to `kill-buffer',
5303 `switch-to-buffer' and `Info-mode'. Set `Info-current-file' to nil
5304 before calling `Info-find-node', so `Info-find-node-2' will reread
5305 the Info file. Restore window positions only when `window-selected'
5306 is non-nil.
5307
30c62133
JL
53082011-11-19 Juri Linkov <juri@jurta.org>
5309
5310 * isearch.el (isearch-lazy-highlight-new-loop):
5311 Remove condition `(not isearch-error)'. (Bug#9918)
5312
5313 * misearch.el (multi-isearch-search-fun): Add condition
5314 `(not bound)' to ignore lazy-highlighting search.
5315 Add the search-failed message "end of multi" when the end of
5316 multi-sequence is reached. Uncapitalize the search-failed
5317 message "Repeat for next buffer".
5318
5319 * info.el (Info-search): Add the search-failed message
5320 "end of the manual" when the end of the manual is reached
5321 in Isearch mode.
5322
645ca9cf
JL
53232011-11-19 Juri Linkov <juri@jurta.org>
5324
5325 * info.el (Info-find-node-2, Info-select-node, Info-history-find-node):
5326 Use non-destructive `remove' instead of `delete' because
5327 `Info-history-list' stored to `Info-isearch-initial-history-list' in
5328 `Info-isearch-start' might need to be restored in `Info-isearch-end'.
5329
df754f66
JL
53302011-11-19 Juri Linkov <juri@jurta.org>
5331
5332 * isearch.el (isearch-edit-string): Let-bind `history-add-new-input'
5333 to nil instead of binding `search-ring' and `regexp-search-ring'.
5334 (Bug#9185)
5335
0e23d96a
EZ
53362011-11-19 Eli Zaretskii <eliz@gnu.org>
5337
5338 * simple.el (line-move): Force movement by logical lines for any
5339 hscrolled window, not only when auto-hscroll-mode is on.
5340 (line-move-visual): Update doc string to that effect. (Bug#10076)
5341
8a6ccb66
AS
53422011-11-19 Andreas Schwab <schwab@linux-m68k.org>
5343
5344 * language/european.el (macintosh): Define as alias for mac-roman.
5345
49ae5b39
EZ
53462011-11-19 Eli Zaretskii <eliz@gnu.org>
5347
5348 * mail/rmailmm.el (rmail-mime-display-header)
5349 (rmail-mime-display-tagline, rmail-mime-display-body): New defsubsts.
5350 (rmail-mime-entity-segment, rmail-mime-toggle-raw)
5351 (rmail-mime-toggle-hidden, rmail-mime-insert-text)
5352 (rmail-mime-insert-bulk, rmail-mime-insert-multipart)
5353 (rmail-mime-insert, rmail-mime-insert-tagline): Use them instead
5354 of a raw aref.
5355 (rmail-mime-entity-segment): To get past the tagline, move forward
5356 2 more lines, to account for the 2 empty lines that precede and
5357 follow the line with the buttons.
5358 (rmail-mime-update-tagline): Move one more line, to get past the
5359 empty line that follows the buttons in the tagline. (Bug#9520)
5360
c56cad4a
MR
53612011-11-19 Martin Rudalics <rudalics@gmx.at>
5362
5363 * window.el (window-max-delta-1, window-min-delta-1)
5364 (window-min-size-1, window-state-get-1, window-state-put-1)
5365 (window-state-put-2): Use "window--" prefix.
5366
cbe71af3
SM
53672011-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
5368
2ad52c60
SM
5369 * emacs-lisp/smie.el: Improve warnings and conflict detection.
5370 (smie-warning-count): New var.
5371 (smie-set-prec2tab): Use it.
5372 (smie-bnf->prec2): Improve warnings. Add docstring.
5373 (smie-bnf--closer-alist): Rename from smie-bnf-closer-alist.
5374 (smie-bnf--set-class): New function.
5375 (smie-bnf--classify): Rename from smie-bnf-classify. Rewrite to fix
5376 corner case.
5377
6944dbc1
SM
5378 * progmodes/compile.el: Obey compilation-first-column in dest buffer.
5379 (compilation-error-properties, compilation-move-to-column):
5380 Handle compilation-first-column while in the target buffer.
5381
c400c4d7
SM
5382 * progmodes/cc-engine.el (c-remove-stale-state-cache-backwards):
5383 Don't hardcode point-min==1.
5384
6dbe3e96
SM
5385 * eshell/esh-cmd.el (eshell-do-eval): Handle `setq' (bug#9907).
5386 (eshell-rewrite-for-command): Remove workaround.
5387 (eshell-do-pipelines, eshell-do-pipelines-synchronously)
5388 (eshell-do-eval, eshell-exec-lisp): Avoid gratuitous setq.
5389 * eshell/esh-util.el (eshell-condition-case, eshell-for): Use declare.
5390
cbe71af3
SM
5391 * files-x.el (modify-file-local-variable): Obey commenting conventions.
5392
a8e1496d
GM
53932011-11-17 Glenn Morris <rgm@gnu.org>
5394
5395 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
5396 Ignore buffer-local generated-autoload-file if it is the same
5397 as the global value. (Bug#10049)
5398
df85d315
JB
53992011-11-17 Juanma Barranquero <lekktu@gmail.com>
5400
5401 * textmodes/reftex-toc.el (reftex-toc-return-marker, reftex-toc-help)
5402 (reftex-toc, reftex-toc, reftex-toc-dframe-p, reftex-toc-next-heading)
5403 (reftex-toc-previous-heading, reftex-toc-max-level)
5404 (reftex-toc-goto-line-and-hide, reftex-toc-show-calling-point)
5405 (reftex-toc-quit, reftex-toc-revert, reftex-toc-jump)
5406 (reftex-toc-do-promote, reftex-toc-promote-prepare)
5407 (reftex-toc-promote-action, reftex-toc-extract-section-number)
5408 (reftex-toc-load-all-files-for-promotion, reftex-toc-rename-label)
5409 (reftex-toc-rename-label, reftex-toc-visit-location)
5410 (reftex-toc-visit-location, reftex-toggle-auto-toc-recenter)
5411 (reftex-toggle-auto-toc-recenter, reftex-toggle-auto-toc-recenter)
5412 (reftex-make-separate-toc-frame): Fix typos, and use TOC consistently,
5413 leaving "*toc*" only for references to the buffer.
5414
a0c2d0ae
MR
54152011-11-17 Martin Rudalics <rudalics@gmx.at>
5416
5417 * window.el (window-resize, delete-window, split-window):
5418 Replace window-splits by window-combination-resize.
1d00653d 5419 * cus-start.el (window-splits): Replace by window-combination-resize.
a0c2d0ae 5420
35c0bac8
GM
54212011-11-17 Glenn Morris <rgm@gnu.org>
5422
5423 * progmodes/sh-script.el (sh-font-lock-keywords-var):
5424 Make bash entry derive from sh entry, not shell entry.
5425
d0c8fc8a
MA
54262011-11-16 Michael Albinus <michael.albinus@gmx.de>
5427
d0c8fc8a
MA
5428 * net/tramp-cache.el (tramp-flush-file-property): Flush also
5429 properties of linked files. (Bug#9879)
5430
7262a87c
MA
5431 * net/tramp-sh.el (tramp-sh-handle-file-truename): Cache only the
5432 local file name.
5433
7877f373
JB
54342011-11-16 Juanma Barranquero <lekktu@gmail.com>
5435
5436 * menu-bar.el (menu-bar-file-menu):
5437 * printing.el (pr-ps-utility):
5438 * calendar/icalendar.el (icalendar, icalendar--convert-tz-offset)
5439 (icalendar--convert-to-ical, icalendar--convert-ordinary-to-ical)
5440 (icalendar--convert-weekly-to-ical, icalendar--convert-yearly-to-ical)
5441 (icalendar--convert-sexp-to-ical, icalendar--convert-block-to-ical)
5442 (icalendar--convert-float-to-ical, icalendar--convert-date-to-ical)
5443 (icalendar--convert-cyclic-to-ical)
5444 (icalendar--convert-anniversary-to-ical, icalendar-import-buffer)
5445 (icalendar--convert-ical-to-diary)
5446 (icalendar--convert-recurring-to-diary)
5447 (icalendar--convert-non-recurring-all-day-to-diary)
5448 (icalendar-import-format-sample):
5449 * progmodes/idlw-shell.el (idlwave-shell-mode):
5450 * progmodes/vhdl-mode.el (vhdl-mode, vhdl-print-two-column)
5451 (vhdl-print-customize-faces, vhdl-mode, vhdl-ps-print-settings)
5452 (vhdl-ps-print-init): Fix typos.
5453
10649b82
KM
54542011-11-16 Ken Manheimer <ken.manheimer@gmail.com>
5455
9d0cfcd6
GM
5456 * allout.el, allout-widgets.el (file metadata): Attribute copyright to
5457 FSF and collapse date sequence, obscure author/maintainer email address
5458 better, remove extra version line, track relocation of author's webpage.
10649b82 5459
9d0cfcd6
GM
5460 * progmodes/python.el (python-pdbtrack-input-prompt)
5461 (python-pdbtrack-track-stack-file): Adjust to recognize ipdb as well as
5462 regular python pdb prompts. Adjustments shamelessly taken exactly as
5463 suggested in EmacsWiki page (tiny change):
5464 http://www.emacswiki.org/PythonProgrammingInEmacs#toc14
8642c216 5465
58179cce
JB
54662011-11-16 Juanma Barranquero <lekktu@gmail.com>
5467
5468 * expand.el (expand-pos, expand-index, expand-point):
5469 Remove redundant info from docstring.
5470 (expand-add-abbrevs): Doc fix.
5471 (expand-c-sample-expand-list, expand-sample-lisp-mode-expand-list)
5472 (expand-sample-perl-mode-expand-list): Fix typos.
5473
5474 * net/dbus.el (dbus-event-member-name):
5475 * play/5x5.el (5x5-solve-rotate-left, 5x5-solver-output):
5476 * term/pc-win.el (msdos-create-frame-with-faces):
5477 * textmodes/texinfmt.el (texinfo-format-image): Fix typos.
5478
b6f67890
MR
54792011-11-16 Martin Rudalics <rudalics@gmx.at>
5480
5481 * window.el (split-window, window-state-get-1)
5482 (window-state-put-1, window-state-put-2): Rename occurrences of
5483 window-nest to window-combination-limit.
1d00653d 5484 * cus-start.el (window-nest): Rename to window-combination-limit.
b6f67890 5485
ce7ddba0
CY
54862011-11-16 Chong Yidong <cyd@gnu.org>
5487
5488 * progmodes/autoconf.el (autoconf-mode): Fix comment-start-skip
5489 regexp (Bug#10033).
5490
3ae704f4
SM
54912011-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
5492
5493 * tmm.el (tmm-prompt): Use minibuffer-with-setup-hook (bug#10053).
5494 `completing-read' will remove *Completions* and will preserve
5495 current-buffer for us.
5496 (tmm-add-prompt): Users of *Completions* will always (re)set its
5497 major mode.
5498 (tmm-old-comp-map): Remove.
5499
6ad1cdde
GM
55002011-11-16 Glenn Morris <rgm@gnu.org>
5501
5502 * mail/rmailedit.el: Require rmailmm when compiling.
5503 (rmail-old-mime-state): New declaration.
5504 (rmail-edit-current-message): If editing a mime message,
5505 edit the "raw" message from the mbox buffer.
5506 (rmail-cease-edit): Handle mime messages. (Bug#9840)
5507
d20faa20
GM
55082011-11-15 Glenn Morris <rgm@gnu.org>
5509
5510 * mail/rmailmm.el (rmail-mime-toggle-raw): Remove entity arg,
5511 which wasn't being used. Add optional arg to force given state.
5512 (rmail-mime): Add optional arg to force given state.
5513
c7015153
JB
55142011-11-15 Juanma Barranquero <lekktu@gmail.com>
5515
5516 * allout.el (allout-encryption-plaintext-sanitization-regexps):
5517 * frame.el (display-mm-dimensions-alist):
5518 * outline.el (outline-mode-menu-bar-map, outline-move-subtree-up)
5519 (outline-move-subtree-down):
5520 * net/newst-treeview.el (newsticker--treeview-do-get-node-of-feed)
5521 (newsticker--treeview-do-get-node):
5522 * net/quickurl.el (quickurl-list-buffer-name):
5523 * progmodes/dcl-mode.el (dcl-mode):
5524 * progmodes/gdb-mi.el (gdb-mapcar*):
5525 * progmodes/sql.el (sql-mode-oracle-font-lock-keywords): Fix typos.
5526
45261b50
GM
55272011-11-15 Glenn Morris <rgm@gnu.org>
5528
5529 * mail/rmail.el (rmail-file-coding-system): It's only ever used
5530 in a boolean sense, so just make it a boolean, and fix the doc.
5531 (rmail-show-mime-function, rmail-mime-feature)
5532 (rmail-require-mime-maybe): Doc fixes.
5533 (rmail-show-message-1): Check rmail-show-mime-function is non-nil.
5534
5535 * mail/rmailmm.el (rmail-show-mime): Doc fix.
5536
0d26e0b6
JB
55372011-11-15 Juanma Barranquero <lekktu@gmail.com>
5538
5539 * epg.el (epg-start-decrypt, epg-start-verify, epg-start-sign)
5540 (epg-start-encrypt, epg-start-export-keys, epg-start-import-keys)
5541 (epg-start-receive-keys, epg-start-delete-keys, epg-start-sign-keys)
5542 (epg-start-generate-key, epg-context-set-progress-callback): Fix typos.
5543
447f30f6
GM
55442011-11-15 Glenn Morris <rgm@gnu.org>
5545
672b871d
GM
5546 * mail/rmailmm.el (rmail-mime-entity, rmail-mime-entity-segment)
5547 (rmail-mime-shown-mode, rmail-mime-hidden-mode, rmail-mime-raw-mode)
5548 (rmail-mime-toggle-hidden, rmail-mime-insert-tagline)
5549 (rmail-mime-insert-header, rmail-mime-handle, rmail-mime-parse)
5550 (rmail-mime, rmail-show-mime): Doc fixes.
5551
f6aa5bb1
GM
5552 * term/ns-win.el (mode-line-frame-identification):
5553 Leave it alone. (Bug#10051)
5554
947cd66b
GM
5555 * simple.el (mark-whole-buffer): Doc fix. (Bug#10023)
5556
447f30f6
GM
5557 * mail/rmailout.el (rmail-output-to-rmail-buffer):
5558 Handle empty buffers. (Bug#9978)
5559
0b381c7e
JB
55602011-11-14 Juanma Barranquero <lekktu@gmail.com>
5561
5562 * international/mule.el (define-charset):
5563 * mail/rmailmm.el (rmail-mime-find-header-encoding):
5564 * progmodes/prolog.el (prolog-mode-hook, prolog-inferior-mode-hook):
5565 * progmodes/verilog-mode.el (verilog-backward-token):
5566 * textmodes/ispell.el (lookup-words):
5567 * textmodes/sgml-mode.el (sgml-guess-indent): Fix typos.
5568
71e027ac
GM
55692011-11-14 Glenn Morris <rgm@gnu.org>
5570
56632ce4
GM
5571 * progmodes/executable.el
5572 (executable-make-buffer-file-executable-if-script-p):
5573 Handle file-modes returning nil.
5574
40500957
GM
5575 * mail/rmailsum.el (rmail-summary): Remove movement to beginning of
5576 message - not necessary, and causes problems. (Bug#9831)
5577
071c2340
GM
5578 * mail/rmailsum.el (rmail-new-summary): Preserve message number.
5579
d3cfca60
GM
5580 * mail/rmail.el (rmail-no-mail-p): Remove mode-line N/M indicator.
5581
71e027ac
GM
5582 * mail/rmailsum.el (rmail-summary, rmail-new-summary)
5583 (rmail-new-summary-1): Allow empty summaries. (Bug#9964)
5584 (rmail-new-summary): Remember that rmail-summary-buffer is buffer-local.
5585
89d61221
MR
55862011-11-12 Martin Rudalics <rudalics@gmx.at>
5587
5588 * window.el (window-resize, delete-window): Use window-splits
5589 variable instead of function.
5590 (window-state-get-1, window-state-put-2, window-state-put):
5591 Don't deal with windows' splits status.
5592
98282f6f
GM
55932011-11-12 Glenn Morris <rgm@gnu.org>
5594
5595 * apropos.el (apropos-do-all, apropos-library, apropos-value)
5596 (apropos-documentation): Doc fixes.
5597
40a8bdf6
JB
55982011-11-11 Juanma Barranquero <lekktu@gmail.com>
5599
5600 * progmodes/idlw-shell.el (idlwave-shell-make-new-bp-overlay):
5601 * textmodes/sgml-mode.el (html-tag-help): Fix typos.
5602
65bd19ff
SM
56032011-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
5604
5605 * electric.el (electric-indent-post-self-insert-function): Make it
5606 possible for a char to only indent in some circumstances.
5607 (electric-indent-mode): Simplify.
5608
54f9154c
MR
56092011-11-11 Martin Rudalics <rudalics@gmx.at>
5610
5611 * window.el (windows-with-parameter): Remove unused function.
5612 (windows-at-side): Rename to window-at-side-list.
5613 (window-check, window-atom-check, window-atom-check-1)
5e92ca23
MR
5614 (window-side-check, window-size-ignore, window-size-fixed-1)
5615 (window-in-direction-2): Prefix with "window--".
5616 (window-tree-1): Rename to window--subtree, fix doc-string.
54f9154c 5617
68cbc58b
GM
56182011-11-11 Glenn Morris <rgm@gnu.org>
5619
5620 * subr.el (eval-after-load): If FILE is already loaded,
5621 evaluate FORM before it gets wrapped in more stuff. (Bug#10009)
5622
b2621720
GM
56232011-11-10 Glenn Morris <rgm@gnu.org>
5624
9a4de110
GM
5625 * vc/vc-svn.el (vc-svn-create-repo, vc-svn-modify-change-comment):
5626 Call svn via vc-svn-command rather than vc-do-command.
5627 (vc-svn-command): Add --non-interactive. (Bug#9993)
5628 (vc-svn-update, vc-svn-merge-news): No need for --non-interactive.
5629
b2621720
GM
5630 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
5631 Add toggle-read-only. (Bug#7292)
5632 * files.el (toggle-read-only): Mention that it should only
5633 be used interactively. (Bug#10006)
5634
1dce7193
SM
56352011-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
5636
d9ac1a1e
SM
5637 * progmodes/compile.el (compilation-error-regexp-alist-alist):
5638 Adjust regexp for OCaml warnings.
5639
0c325082
SM
5640 * electric.el (electric-pair-post-self-insert-function): Let user
5641 turn it off buffer-locally (bug#9932).
5642
90132c14
SM
5643 * progmodes/python.el (python-beginning-of-statement):
5644 Rewrite (bug#2703).
5645
1dce7193
SM
5646 * progmodes/compile.el: Better handle TABs (bug#9749).
5647 (compilation-internal-error-properties)
5648 (compilation-next-error-function): Obey the target buffer's
5649 compilation-error-screen-columns.
5650
c4e7c63a
JB
56512011-11-09 Juanma Barranquero <lekktu@gmail.com>
5652
5653 * progmodes/meta-mode.el: Remove obsolete comments.
5654 (meta-right-comment-regexp, meta-ignore-comment-regexp):
5655 Fix typos in docstrings.
5656
2cffd681
MR
56572011-11-09 Martin Rudalics <rudalics@gmx.at>
5658
5659 * window.el (window-size-fixed-p): Rewrite doc-string.
1dce7193 5660 (window-resizable-p): Rename to window--resizable-p. Update callers.
2cffd681
MR
5661 (window--resizable): New function. Make all callers of
5662 window-resizable call window--resizable instead.
5663 (window-resizable): Rewrite in terms of window--resizable.
5664
0edcba87
GM
56652011-11-08 Glenn Morris <rgm@gnu.org>
5666
5667 * progmodes/delphi.el (delphi-mode-syntax-table):
5668 Let define-derived-mode define a proper syntax table. (Bug#9994)
5669
4b0d61e3
SM
56702011-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
5671
5672 * window.el: Stay away from defsubst.
5673 (window-list-no-nils): Remove.
5674 (window-state-get-1, window-state-get): Use backquote instead.
5675
cd394be1 56762011-11-08 Thierry Volpiatto <thierry.volpiatto@gmail.com>
fcbcac2e 5677
4b0d61e3 5678 * emacs-lisp/find-func.el (find-function-read):
fcbcac2e 5679 Fix incorrect use of default argument in `completing-read'.
5680
e1c2c6f2
MR
56812011-11-08 Martin Rudalics <rudalics@gmx.at>
5682
5683 * window.el (display-buffer-function, special-display-function):
5684 Mention display-buffer-record-window but do not mention
5685 help-setup parameter in doc-strings.
b3f4a882 5686 (window-min-delta): Fix doc-string typo.
e1c2c6f2 5687
105216ed
CY
56882011-11-08 Chong Yidong <cyd@gnu.org>
5689
5690 * window.el (window-total-height, window-total-width): Doc fix.
5691 (window-body-size): Move from C.
5692 (window-body-height, window-body-width): Move to C.
5693
0a9f9ab5
SM
56942011-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
5695
5696 * window.el: Make special-display like display-buffer-alist (bug#9532).
5697 (display-buffer--special-action): New function, morphed
5698 from display-buffer--special.
5699 (display-buffer): Use it to handle special-display-buffers at higher
5700 priority (just after display-buffer-alist).
5701 (display-buffer-fallback-action, display-buffer--other-frame-action)
5702 (pop-to-buffer-same-window): Remove display-buffer--special.
5703
a769dd15
GM
57042011-11-07 Glenn Morris <rgm@gnu.org>
5705
5706 * calendar/cal-menu.el (cal-menu-set-date-title):
5707 Do nothing if not in a calendar. (Bug#9976)
5708
05a61ee3
SM
57092011-11-07 Stefan Monnier <monnier@iro.umontreal.ca>
5710
5711 * files.el (find-file): Always use selected-window.
5712
be7f5545
MR
57132011-11-07 Martin Rudalics <rudalics@gmx.at>
5714
5715 * window.el (window-combinations): Make WINDOW argument
5716 mandatory. Rewrite doc-string.
5717 (walk-window-subtree, window-atom-check, window-min-delta)
5718 (window-max-delta, window--resize-this-window)
5719 (window--resize-root-window-vertically, window-tree)
5720 (balance-windows, window-state-put): Rewrite doc-strings as to
5721 not mention the term "subwindow".
5722 (window--resize-subwindows-skip-p): Rename to
5723 window--resize-child-windows-skip-p.
5724 (window--resize-subwindows-normal): Rename to
5725 window--resize-child-windows-normal.
5726 (window--resize-subwindows): Rename to
5727 window--resize-child-windows.
5728 (window-or-subwindow-p): Rename to window--in-subtree-p.
5729
3c6702ef
ML
57302011-11-07 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
5731
5732 * mail/rmail.el (rmail-get-new-mail, rmail-insert-inbox-text):
5733 Ensure that mbox format messages end in two newlines (Bug#9974).
5734
49745b39
CY
57352011-11-06 Chong Yidong <cyd@gnu.org>
5736
5737 * window.el (window-combination-p): Function deleted; its
5738 side-effect is not used in any existing code.
5739 (window-combinations, window-combined-p): Call window-*-child
5740 directly.
5741
24300f5f
CY
57422011-11-05 Chong Yidong <cyd@gnu.org>
5743
5744 * window.el (window-valid-p): Rename from window-any-p.
447f16b8
CY
5745 (window-size-ignore, window-state-get): Callers changed.
5746 (window-normalize-window): Rename from window-normalize-any-window.
5747 New arg LIVE-ONLY, replacing window-normalize-live-window.
1dce7193 5748 (window-normalize-live-window): Delete.
447f16b8
CY
5749 (window-combination-p, window-combined-p, window-combinations)
5750 (walk-window-subtree, window-atom-root, window-min-size)
5751 (window-sizable, window-sizable-p, window-size-fixed-p)
5752 (window-min-delta, window-max-delta, window-resizable)
5753 (window-resizable-p, window-full-height-p, window-full-width-p)
5754 (window-current-scroll-bars, window-point-1, set-window-point-1)
5755 (window-at-side-p, window-in-direction, window-resize)
5756 (adjust-window-trailing-edge, maximize-window, minimize-window)
5757 (window-deletable-p, delete-window, delete-other-windows)
5758 (record-window-buffer, unrecord-window-buffer)
5759 (switch-to-prev-buffer, switch-to-next-buffer, window--delete)
5760 (quit-window, split-window, window-state-put)
5761 (set-window-text-height, fit-window-to-buffer)
5762 (shrink-window-if-larger-than-buffer): Callers changed.
24300f5f 5763
89bd5ee1
EZ
57642011-11-04 Eli Zaretskii <eliz@gnu.org>
5765
53479029
EZ
5766 * mail/rmail.el (rmail-simplified-subject): Decode subject with
5767 rfc2047-decode-string.
5768 (rmail-mime-toggle-hidden): Declare to avoid byte-compilation
5769 warnings.
5770
89bd5ee1
EZ
5771 * window.el (window-body-height, window-body-width): Mention in
5772 the doc string that the return values are in frame's canonical
5773 units. (Bug#9949)
5774
bd17fdee
AM
57752011-11-03 Alan Mackenzie <acm@muc.de>
5776
5777 * progmodes/cc-langs.el (c-nonlabel-token-2-key): New variable for
5778 change in cc-engine.el.
5779
acc825c5
SM
57802011-11-02 Stefan Monnier <monnier@iro.umontreal.ca>
5781
5782 * window.el (switch-to-buffer): Use `force-same-window' interactively.
5783
1885e5b8
MR
57842011-11-02 Martin Rudalics <rudalics@gmx.at>
5785
5786 * window.el (quit-window): Call unrecord-window-buffer after
5787 showing another buffer in the window. (Bug#9937)
acc825c5 5788 (bury-buffer): Call switch-to-prev-buffer with second argument `bury'.
1885e5b8 5789
ebe06da9
JB
57902011-11-02 Juanma Barranquero <lekktu@gmail.com>
5791
5792 * vc/vc-bzr.el (vc-bzr-state, vc-bzr-after-dir-status):
5793 Accept status with more than 9 shelves. (Bug#9935)
5794 Reported by Colin D Bennett <colin@gibibit.com>.
5795
4ee88440
MR
57962011-11-01 Martin Rudalics <rudalics@gmx.at>
5797
5798 * help.el (with-help-window): Don't reference
5799 temp-buffer-show-specifiers in doc-string.
5800
08e1d82c
AS
58012011-10-31 Andreas Schwab <schwab@linux-m68k.org>
5802
5803 * subr.el (keymap--menu-item-with-binding): Ignore item if not a
5804 menu-item.
5805
84bd6e9e
VJL
58062011-10-30 Vinicius Jose Latorre <viniciusjl@ig.com.br>
5807
5808 * whitespace.el: New version 13.2.2.
5809 (whitespace-newline-mode): Disable properly. Reported by Sarah
5810 <EmacsWiki>.
5811
dba0634a
UJ
58122011-10-30 Ulf Jasper <ulf.jasper@web.de>
5813
5814 * net/newst-treeview.el: Remove "Time-stamp".
5815 (newsticker--group-manage-orphan-feeds): Do not call
5816 newsticker--treeview-tree-update.
db22a3c2
JB
5817 (newsticker-treeview-update, newsticker-treeview):
5818 Call newsticker--treeview-tree-update if necessary.
dba0634a 5819
3d8daefe
MR
58202011-10-30 Martin Rudalics <rudalics@gmx.at>
5821
5822 * window.el (window-iso-combination-p, window-iso-combined-p)
acc825c5
SM
5823 (window-iso-combinations): Remove "iso-" infix.
5824 Suggested by Chong Yidong.
3d8daefe
MR
5825 (window-min-size-1, window-size-fixed-1, window-min-delta-1)
5826 (window-max-delta-1, window-resize, window--resize-siblings)
5827 (window--resize-this-window, adjust-window-trailing-edge)
5828 (split-window, balance-windows-1)
5829 (shrink-window-if-larger-than-buffer):
5830 * calendar/calendar.el (calendar-generate-window):
db22a3c2 5831 * help.el (resize-temp-buffer-window): Adjust callers accordingly.
3d8daefe 5832
1bc4c3ae
SM
58332011-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
5834
5835 * eshell/esh-cmd.el (eshell-rewrite-for-command): Don't modify the list
5836 in place (bug#9907).
5837 (eshell-subcommand-arg-values, eshell-rewrite-named-command)
5838 (eshell-rewrite-if-command, eshell-rewrite-for-command)
5839 (eshell-structure-basic-command, eshell-rewrite-while-command)
5840 (eshell-invokify-arg, eshell-parse-pipeline, eshell-parse-command)
5841 (eshell-parse-subcommand-argument, eshell-parse-lisp-argument)
5842 (eshell-trap-errors, eshell-do-pipelines, eshell-do-eval)
5843 (eshell-do-pipelines-synchronously, eshell-eval-command):
5844 Use backquotes and prefer setq to set.
5845 (eshell-lookup-function, function-p-func, eshell-functionp): Remove.
5846 (eshell-macrop): Use functionp.
c1e2f5fa 5847 (eshell-do-eval): Handle multiple expressions in `while' body.
1bc4c3ae 5848
30b65d9c
CY
58492011-10-30 Chong Yidong <cyd@gnu.org>
5850
5851 * emulation/viper-cmd.el (viper-exec-change): Use push-mark
5852 instead of set-mark (Bug#9810).
5853
2d197ffb
CY
58542011-10-30 Chong Yidong <cyd@gnu.org>
5855
5856 * window.el (split-window-below, split-window-right): Rename from
5857 split-window-above-each-other and split-window-side-by-side
5858 respectively. All callers changed.
5859 (split-window-sensibly, split-window-sensibly): Use them.
5860 (split-window-keep-point): Doc fix.
5861
5862 * isearch.el: Add isearch-scroll property to split-window-below
5863 and split-window-right.
5864
5865 * follow.el (follow-mode):
5866 * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
5867 * progmodes/ada-xref.el (ada-gdb-application):
5868 * emulation/vip.el (vip-buffer-in-two-windows):
5869 * image-dired.el (image-dired-dired-with-window-configuration):
5870 * dired-x.el (dired-do-find-marked-files):
5871 * dired.el (dired-pop-to-buffer):
5872 * bs.el (bs--show-with-configuration):
5873 * vc/emerge.el (emerge-setup-windows):
5874 * textmodes/two-column.el (2C-two-columns):
5875 * textmodes/reftex-toc.el (reftex-toc):
5876 * progmodes/gdb-mi.el (gdb-setup-windows):
5877 * progmodes/fortran.el (fortran-window-create):
5878 * net/newst-treeview.el (newsticker--treeview-window-init):
5879 * emulation/ws-mode.el (wordstar-C-o-map, wordstar-mode):
5880 * emulation/tpu-edt.el (tpu-gold-map):
5881 * emulation/crisp.el (crisp-mode-map):
5882 * calendar/calendar.el (calendar-basic-setup): Callers changed.
5883
38bb2ca8
CY
58842011-10-29 Chong Yidong <cyd@gnu.org>
5885
aa4de341
CY
5886 * subr.el (y-or-n-p): Add code for batch mode (Bug#9818).
5887
e1eb5385
CY
5888 * mouse.el (mouse-yank-primary): Push the mark (Bug#9894).
5889
5d2ece3c
CY
5890 * textmodes/flyspell.el (flyspell-word): Fix char offset for
5891 forged Ispell output (Bug#7904).
5892
38bb2ca8
CY
5893 * emacs-lisp/package.el (package-refresh-contents): Add autoload.
5894
d0af9f77
SM
58952011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
5896
5897 * doc-view.el: Avoid ugly errors about not finding nil.
5898 (doc-view-ghostscript-program, doc-view-dvipdfm-program)
5899 (doc-view-dvipdf-program, doc-view-unoconv-program)
5900 (doc-view-ps2pdf-program, doc-view-pdftotext-program):
5901 Avoid nil or absolute file name as default value.
5902 (doc-view-pdf->txt, doc-view-ps->pdf): Use executable-find here.
5903
52bedd34
AM
59042011-10-28 Alan Mackenzie <acm@muc.de>
5905
db22a3c2 5906 * progmodes/cc-defs.el (c-version): -> 5.32.2.
52bedd34 5907
7e43cfa5
AM
59082011-10-28 Alan Mackenzie <acm@muc.de>
5909
5910 Amend the handling of c-beginning/end-of-defun in nested declaration
5911 scopes.
5912
52bedd34
AM
5913 * progmodes/cc-vars.el (c-defun-tactic): Move here from
5914 cc-langs.el. Change it to a defcustom.
7e43cfa5 5915
52bedd34
AM
5916 * progmodes/cc-langs.el (c-defun-tactic): Move this variable to
5917 cc-vars.el.
7e43cfa5 5918
d0af9f77
SM
5919 * progmodes/cc-engine.el (c-beginning-of-statement-1):
5920 Prevent "class foo : bar" being spuriously recognized as a label.
7e43cfa5 5921
52bedd34 5922 * progmodes/cc-cmds.el (c-narrow-to-most-enclosing-decl-block):
acc825c5 5923 Add parameter `inclusive' (to include enclosing braces in the region).
7e43cfa5
AM
5924 (c-widen-to-enclosing-decl-scope): New function.
5925 (c-while-widening-to-decl-block): New macro.
5926 (c-beginning-of-defun, c-end-of-defun): Change algorithm to keep going
5927 outward for defun boundaries, and correspondingly change symbol
5928 `respect-enclosure' to `go-outward'.
5929 (c-declaration-limits): Change algorithm to report only the "innermost"
5930 defun's boundaries.
5931
1a2ce9ee
DD
59322011-10-28 Deniz Dogan <deniz@dogan.se>
5933
5934 * net/rcirc.el (rcirc-mode): Use hard newlines.
5935
bc97a826
AM
59362011-10-28 Alan Mackenzie <acm@muc.de>
5937
5938 Amend to indent and fontify macros "which include their own semicolon"
5939 correctly, using the "virtual semicolon" mechanism.
5940
52bedd34 5941 * progmodes/cc-defs.el: Update "virtual semicolon" comments.
bc97a826 5942
d0af9f77 5943 * progmodes/cc-engine.el (c-crosses-statement-barrier-p):
7877f373 5944 Recode to scan one line at a time rather than having \n and \r
58179cce 5945 explicitly in c-stmt-delim-chars (for some modes, e.g. AWK).
bc97a826 5946 (c-forward-label): Amend for virtual semicolons.
58179cce 5947 (c-at-macro-vsemi-p, c-macro-vsemi-status-unknown-p): New functions.
bc97a826 5948
52bedd34
AM
5949 * progmodes/cc-fonts.el (c-font-lock-declarations): Take account
5950 of the new C macros.
bc97a826 5951
52bedd34 5952 * progmodes/cc-langs.el (c-at-vsemi-p-fn):
acc825c5
SM
5953 (c-vsemi-status-unknown-p-fn): Move to earlier in the file.
5954 (c-opt-cpp-symbol, c-line-comment-start-regexp): New language vars.
bc97a826
AM
5955 (c-opt-cpp-macro-define): Make into a full language variable.
5956 (c-stmt-delim-chars, c-stmt-delim-chars-with-comma): Special value for
5957 AWK Mode (including \n, \r) removed, no longer needed.
5958
d0af9f77
SM
5959 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode):
5960 Invoke c-make-macro-with-semi-re.
bc97a826 5961
52bedd34
AM
5962 * progmodes/cc-vars.el (c-macro-with-semi-re):
5963 (c-macro-names-with-semicolon): New variables.
58179cce 5964 (c-make-macro-with-semi-re): New function.
bc97a826 5965
7a6c0941
SM
59662011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
5967
5968 * vc/log-edit.el: Fill empty field rather than adding new one.
5969 (log-edit-add-field): New function.
5970 (log-edit-insert-changelog): Use it.
5971
b0c4cdcf
ML
59722011-10-28 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
5973
5974 * mail/rmail.el (rmail-mode-map): Add M-C-f as in rmailsum (bug#9802).
5975
ee1f1da9
SM
59762011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
5977
5978 * progmodes/gdb-mi.el: Warn the user when -i=mi is missing.
5979 (gdb--check-interpreter): New function.
5980 (gdb): Use it.
5981
51bc5f8b
GM
59822011-10-27 Glenn Morris <rgm@gnu.org>
5983
416a2c45
GM
5984 * emacs-lisp/cl-extra.el (most-positive-float, most-negative-float)
5985 (least-positive-float, least-negative-float)
5986 (least-positive-normalized-float, least-negative-normalized-float)
5987 (float-epsilon, float-negative-epsilon):
5988 Remove unnecessary declarations.
5989
5990 * emacs-lisp/cl-extra.el (cl-float-limits): Add doc string.
5991 * emacs-lisp/cl.el (most-positive-float, most-negative-float)
5992 (least-positive-float, least-negative-float)
5993 (least-positive-normalized-float, least-negative-normalized-float)
5994 (float-epsilon, float-negative-epsilon): Add doc-strings,
5995 based on those in cl.texi.
5996
51bc5f8b
GM
5997 * files.el (set-visited-file-name): If the major-mode changed,
5998 reload the local variables. (Bug#9796)
5999
15de15c6
CY
60002011-10-27 Chong Yidong <cyd@gnu.org>
6001
6002 * subr.el (change-major-mode-after-body-hook): New hook.
6003 (run-mode-hooks): Run it.
6004
ee1f1da9
SM
6005 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
6006 Use change-major-mode-before-body-hook.
15de15c6
CY
6007
6008 * simple.el (fundamental-mode):
6009 * emacs-lisp/derived.el (define-derived-mode): Revert 2010-04-28
6010 change introducing fundamental-mode-hook.
6011
5430d399
JB
60122011-10-26 Juanma Barranquero <lekktu@gmail.com>
6013
acc825c5 6014 * term/w32-win.el (w32-default-color-map): Declare obsolete (Bug#9785).
5430d399 6015
ad74a69e
MA
60162011-10-26 Michael Albinus <michael.albinus@gmx.de>
6017
6018 * ido.el (ido-file-name-all-completions-1): Do not require
c7015153 6019 tramp.el explicitly. (Bug#7583)
ad74a69e 6020
71d4c2a5
SM
60212011-10-26 Stefan Monnier <monnier@iro.umontreal.ca>
6022
6023 * progmodes/octave-mod.el:
6024 * progmodes/octave-inf.el: Update maintainer.
6025
b1f6fa26
CY
60262011-10-26 Chong Yidong <cyd@gnu.org>
6027
6028 * subr.el (with-wrapper-hook): Rewrite doc.
6029
3f04efd6
MA
60302011-10-25 Michael Albinus <michael.albinus@gmx.de>
6031
6032 * net/tramp-sh.el (tramp-sh-handle-file-directory-p): Return t for
ad74a69e 6033 filenames "/method:foo:". (Bug#9793)
3f04efd6 6034
410488d3
SM
60352011-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
6036
6037 * comint.el (comint-get-old-input-default): Fix use-prompt-regexp case
6038 (bug#9865).
6039
c1ebb47e
GM
60402011-10-24 Glenn Morris <rgm@gnu.org>
6041
6042 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix. (Bug#9819)
6043
7f5c46c7
MA
60442011-10-24 Michael Albinus <michael.albinus@gmx.de>
6045
6046 * notifications.el: Add the requirement of a running D-Bus session
6047 bus to the Commentary.
6048
db2440b6
JL
60492011-10-24 Juri Linkov <juri@jurta.org>
6050
6051 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
6052 `search-whitespace-regexp' only when `isearch-regexp' is non-nil.
6053 (Bug#9364)
6054
feecf435
JL
60552011-10-24 Juri Linkov <juri@jurta.org>
6056
6057 * info.el (Info-following-node-name-re): Add newline to the list
6058 of allowed characters for leading space. (Bug#9824)
6059
a3839de2
SM
60602011-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
6061
acc825c5
SM
6062 * progmodes/octave-inf.el (inferior-octave-mode-map):
6063 Fix C-c C-h binding.
a3839de2
SM
6064 * progmodes/octave-mod.el (octave-help): Remove.
6065
09388e76
MA
60662011-10-23 Michael Albinus <michael.albinus@gmx.de>
6067
6068 Sync with Tramp 2.2.3.
6069
6070 * net/tramp-cache.el (top): Pacify byte-compiler using
6071 `init-file-user' and `site-run-file'.
6072
6073 * net/trampver.el: Update release number.
6074
86c60681
CY
60752011-10-23 Chong Yidong <cyd@gnu.org>
6076
6077 * files.el (toggle-read-only): Remove obsolete comment about
6078 version control.
6079
6080 * vc/vc-hooks.el (vc-toggle-read-only): Make it an obsolete alias
6081 for toggle-read-only. Note that this hasn't called vc-next-action
6082 since 2008-05-02, though it wasn't documented at the time.
6083
a3839de2
SM
6084 * vc/ediff-init.el (ediff-toggle-read-only-function):
6085 Use toggle-read-only.
86c60681 6086
cd5495ff
AM
60872011-10-22 Alan Mackenzie <bug-cc-mode@gnu.org>
6088
6089 Fix bug #9560, sporadic wrong indentation; improve instrumentation
6090 of c-parse-state.
6091
00b77525 6092 * progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache):
a3839de2 6093 correct faulty logical expression.
cd5495ff
AM
6094 (c-parse-state-state, c-record-parse-state-state):
6095 (c-replay-parse-state-state): New defvar/defuns.
6096 (c-debug-parse-state): Use new functions.
6097
42ee24ed
MR
60982011-10-22 Martin Rudalics <rudalics@gmx.at>
6099
6100 * mouse.el (mouse-drag-line): Fix minibuffer resizing broken by
53ebff1f 6101 last fix. Use window-in-direction correctly.
42ee24ed 6102
a7dee7e7
CY
61032011-10-21 Chong Yidong <cyd@gnu.org>
6104
6105 * progmodes/idlwave.el (idlwave-mode):
6106 * progmodes/vera-mode.el (vera-mode): No need to set
a3839de2
SM
6107 require-final-newline; that's done in prog-mode.
6108 Suggested by Stefan Monnier.
a7dee7e7 6109
e07b9a6d
MR
61102011-10-21 Martin Rudalics <rudalics@gmx.at>
6111
6112 * mouse.el (mouse-drag-window-above)
6113 (mouse-drag-move-window-bottom, mouse-drag-move-window-top)
6114 (mouse-drag-mode-line-1, mouse-drag-header-line)
6115 (mouse-drag-vertical-line-rightward-window): Remove.
6116 (mouse-drag-line): New function.
6117 (mouse-drag-mode-line, mouse-drag-header-line)
6118 (mouse-drag-vertical-line): Call mouse-drag-line.
6119 * window.el (window-at-side-p, windows-at-side): New functions.
6120
7e1361d9
UM
61212011-10-21 Ulrich Mueller <ulm@gentoo.org>
6122
6123 * tar-mode.el (tar-grind-file-mode):
6124 Fix handling of setuid/setgid, handle sticky bit. (Bug#9817)
6125
30fcaf3a
CY
61262011-10-21 Chong Yidong <cyd@gnu.org>
6127
6128 * progmodes/idlwave.el (idlwave-mode):
a3839de2
SM
6129 * progmodes/vera-mode.el (vera-mode):
6130 Use mode-require-final-newline.
30fcaf3a 6131
516eddb0
GM
61322011-10-20 Glenn Morris <rgm@gnu.org>
6133
db22a3c2 6134 * vc/vc.el (vc-next-action): Handle removed directories. (Bug#9781)
516eddb0 6135
10d5f513
CS
61362011-10-20 Christoph Scholtes <cschol2112@googlemail.com>
6137
6138 * emulation/cua-base.el (cua-set-mark): Fix case of string.
6139
ac6c8639
CY
61402011-10-20 Chong Yidong <cyd@gnu.org>
6141
6142 * emulation/cua-base.el (cua-mode):
6143 * mail/footnote.el (footnote-mode):
6144 * mail/mailabbrev.el (mail-abbrevs-mode):
6145 * net/xesam.el (xesam-minor-mode):
6146 * progmodes/bug-reference.el (bug-reference-mode):
6147 * progmodes/cap-words.el (capitalized-words-mode):
6148 * progmodes/compile.el (compilation-minor-mode)
6149 (compilation-shell-minor-mode):
6150 * progmodes/gud.el (gud-tooltip-mode):
6151 * progmodes/hideif.el (hide-ifdef-mode):
6152 * progmodes/idlw-shell.el (idlwave-shell-electric-debug-mode):
6153 * progmodes/subword.el (subword-mode):
6154 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
6155 * progmodes/which-func.el (which-function-mode):
6156 * term/tvi970.el (tvi970-set-keypad-mode):
6157 * term/vt100.el (vt100-wide-mode):
6158 * textmodes/flyspell.el (flyspell-mode):
6159 * textmodes/ispell.el (ispell-minor-mode):
6160 * textmodes/nroff-mode.el (nroff-electric-mode):
6161 * textmodes/paragraphs.el (use-hard-newlines):
6162 * textmodes/refill.el (refill-mode):
6163 * textmodes/reftex.el (reftex-mode):
6164 * textmodes/rst.el (rst-minor-mode):
6165 * textmodes/sgml-mode.el (html-autoview-mode)
6166 (sgml-electric-tag-pair-mode):
6167 * textmodes/tex-mode.el (latex-electric-env-pair-mode):
6168 * vc/diff-mode.el (diff-auto-refine-mode, diff-minor-mode):
6169 * emulation/crisp.el (crisp-mode):
6170 * emacs-lisp/eldoc.el (eldoc-mode):
6171 * emacs-lisp/checkdoc.el (checkdoc-minor-mode): Doc fixes for new
6172 minor mode behavior.
6173
aa42ab43
JL
61742011-10-19 Juri Linkov <juri@jurta.org>
6175
6176 * descr-text.el (describe-char): Add #x2010 and #x2011 to
6177 the list of hard-coded chars with escape-glyph face.
6178
89400f1d
SM
61792011-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
6180
6181 * vc/log-edit.el (log-edit-empty-buffer-p): Ignore empty headers.
6182
305c07f6
MA
61832011-10-19 Michael Albinus <michael.albinus@gmx.de>
6184
6185 * net/tramp.el (tramp-connectable-p): Make a stronger check on a
6186 running process.
6187
13754b54
GM
61882011-10-19 Glenn Morris <rgm@gnu.org>
6189
6190 * vc/vc-bzr.el (vc-bzr-after-dir-status):
6191 Ignore ignored files. (Bug#9726)
6192
06e21633
CY
61932011-10-19 Chong Yidong <cyd@gnu.org>
6194
6195 Doc fix for minor modes, stating that an omitted argument enables
6196 the mode unconditionally when called from Lisp.
6197
6198 * abbrev.el (abbrev-mode):
6199 * allout.el (allout-mode):
6200 * autoinsert.el (auto-insert-mode):
6201 * autoarg.el (autoarg-mode, autoarg-kp-mode):
6202 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
6203 (global-auto-revert-mode):
6204 * battery.el (display-battery-mode):
6205 * composite.el (global-auto-composition-mode)
6206 (auto-composition-mode):
6207 * delsel.el (delete-selection-mode):
6208 * desktop.el (desktop-save-mode):
6209 * dired-x.el (dired-omit-mode):
6210 * dirtrack.el (dirtrack-mode):
6211 * doc-view.el (doc-view-minor-mode):
6212 * double.el (double-mode):
6213 * electric.el (electric-indent-mode, electric-pair-mode):
6214 * emacs-lock.el (emacs-lock-mode):
6215 * epa-hook.el (auto-encryption-mode):
6216 * follow.el (follow-mode):
6217 * font-core.el (font-lock-mode):
6218 * frame.el (auto-raise-mode, auto-lower-mode, blink-cursor-mode):
6219 * help.el (temp-buffer-resize-mode):
6220 * hilit-chg.el (highlight-changes-mode)
6221 (highlight-changes-visible-mode):
6222 * hi-lock.el (hi-lock-mode):
6223 * hl-line.el (hl-line-mode, global-hl-line-mode):
6224 * icomplete.el (icomplete-mode):
6225 * ido.el (ido-everywhere):
6226 * image-file.el (auto-image-file-mode):
6227 * image-mode.el (image-minor-mode):
6228 * iswitchb.el (iswitchb-mode):
6229 * jka-cmpr-hook.el (auto-compression-mode):
6230 * linum.el (linum-mode):
6231 * longlines.el (longlines-mode):
6232 * master.el (master-mode):
6233 * mb-depth.el (minibuffer-depth-indicate-mode):
6234 * menu-bar.el (menu-bar-mode):
6235 * minibuf-eldef.el (minibuffer-electric-default-mode):
6236 * mouse-sel.el (mouse-sel-mode):
6237 * msb.el (msb-mode):
6238 * mwheel.el (mouse-wheel-mode):
6239 * outline.el (outline-minor-mode):
6240 * paren.el (show-paren-mode):
6241 * recentf.el (recentf-mode):
6242 * reveal.el (reveal-mode, global-reveal-mode):
6243 * rfn-eshadow.el (file-name-shadow-mode):
6244 * ruler-mode.el (ruler-mode):
6245 * savehist.el (savehist-mode):
6246 * scroll-all.el (scroll-all-mode):
6247 * scroll-bar.el (scroll-bar-mode):
6248 * server.el (server-mode):
6249 * shell.el (shell-dirtrack-mode):
6250 * simple.el (auto-fill-mode, transient-mark-mode)
6251 (visual-line-mode, overwrite-mode, binary-overwrite-mode)
6252 (line-number-mode, column-number-mode, size-indication-mode)
6253 (auto-save-mode, normal-erase-is-backspace-mode, visible-mode):
6254 * strokes.el (strokes-mode):
6255 * time.el (display-time-mode):
6256 * t-mouse.el (gpm-mouse-mode):
6257 * tool-bar.el (tool-bar-mode):
6258 * tooltip.el (tooltip-mode):
6259 * type-break.el (type-break-mode-line-message-mode)
6260 (type-break-query-mode):
6261 * view.el (view-mode):
6262 * whitespace.el (whitespace-mode, whitespace-newline-mode)
6263 (global-whitespace-mode, global-whitespace-newline-mode):
6264 * xt-mouse.el (xterm-mouse-mode): Doc fix.
6265
a3839de2
SM
6266 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
6267 Fix autogenerated docstring.
06e21633 6268
5214e501
JL
62692011-10-19 Juri Linkov <juri@jurta.org>
6270
6271 * net/browse-url.el (browse-url-can-use-xdg-open): Support LXDE
6272 by checking environment variables "DESKTOP_SESSION" and
6273 "XDG_CURRENT_DESKTOP". (Bug#9779)
6274
195f8db9
JL
62752011-10-19 Juri Linkov <juri@jurta.org>
6276
6277 * net/browse-url.el (browse-url-browser-function): Add "Chromium".
6278 (browse-url-chromium-program, browse-url-chromium-arguments):
6279 New defcustoms.
6280 (browse-url-default-browser): Check for `browse-url-chromium' and
6281 call `browse-url-chromium-program'.
6282 (browse-url-chromium): New command. (Bug#9779)
6283
343a34ff
JB
62842011-10-18 Juanma Barranquero <lekktu@gmail.com>
6285
6286 * facemenu.el (list-colors-duplicates): On Windows, detect more
6287 duplicates by assuming that only colors matching "^System" are
6288 special "system colors". (Bug#9722)
6289
6978a151
SM
62902011-10-18 Stefan Monnier <monnier@iro.umontreal.ca>
6291
6292 * vc/log-edit.el (log-edit): Add "Author:" header to encourage people
6293 to distinguish the author from the committer.
6294
6a80b297
MA
62952011-10-18 Michael Albinus <michael.albinus@gmx.de>
6296
6297 * net/tramp.el (tramp-file-name-handler): Load Tramp packages silently.
6298
b31a5677
JK
62992011-10-18 Jirka Kosek <jirka@kosek.cz> (tiny change)
6300
6301 * international/mule.el (sgml-html-meta-auto-coding-function):
6302 Add support for detecting encoding in HTML5 specified only as
6303 <meta charset="UTF-8">. Implementation just makes http-equiv and
6304 content-type parts from HTML4 encoding string optional. (Bug#9716)
6305
80c6d77f
GM
63062011-10-18 Glenn Morris <rgm@gnu.org>
6307
6308 * vc/vc.el (vc-initial-comment): Mark as obsolete. (Bug#9745)
6309
08b0fee8
CY
63102011-10-18 Chong Yidong <cyd@gnu.org>
6311
6312 * faces.el (cursor): Doc fix.
6313
67e729a5
CY
63142011-10-17 Chong Yidong <cyd@gnu.org>
6315
6316 * font-lock.el (font-lock-maximum-size): Mark as obsolete.
6317
343a34ff 63182011-10-17 Ryan Barrett <emacs@ryanb.org> (tiny change)
87e478b3
RB
6319
6320 * dirtrack.el (dirtrack): Support shell buffers with path
6321 prefixes, e.g. tramp-based remote shells. (Bug#9647)
6322
0bc06380
TZ
63232011-10-17 Teodor Zlatanov <tzz@lifelogs.com>
6324
6325 * json.el: Bump version to 1.3 and note change in History.
6326 (json-alist-p, json-plist-p): Rewrite to avoid recursion.
6327
8b79f3e0
SM
63282011-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
6329
5a7c536b
SM
6330 * comint.el (comint-insert-input, comint-send-input)
6331 (comint-get-old-input-default, comint-backward-matching-input)
6332 (comint-next-prompt): Use nil instead of `input' for field property of
6333 past user input (bug#114).
6334
96a8a0df
SM
6335 * minibuffer.el (completion--replace): Inherit surrounding properties
6336 (bug#114).
6337 (minibuffer-complete-and-exit): Use it.
6338
8b79f3e0
SM
6339 * comint.el (comint--table-subvert): Quote the all-completions output
6340 (bug#9160).
6341
b8f7ff0d
MR
63422011-10-17 Martin Rudalics <rudalics@gmx.at>
6343
8b79f3e0 6344 * ido.el (ido-default-buffer-method): Remove redundant :type entry.
4e5c3d2b 6345
b8f7ff0d 6346 * menu-bar.el (menu-bar-file-menu): Add entry for making new
d912bdcf 6347 window on right of selected. (Bug#9350) Reword other window
b8f7ff0d
MR
6348 entries and separate them from frame entries.
6349
c235b555
GM
63502011-10-15 Glenn Morris <rgm@gnu.org>
6351
6352 * emacs-lisp/ert.el (ert--explain-equal-rec, ert-select-tests):
6353 Doc fixes.
6354
6bbfa6e1
CY
63552011-10-15 Chong Yidong <cyd@stupidchicken.com>
6356
8b79f3e0
SM
6357 * net/network-stream.el (network-stream-open-starttls):
6358 Improve detection of failure due to lack of TLS support.
ec5c990d 6359
6bbfa6e1
CY
6360 * mail/sendmail.el (sendmail-query-once): Tweak prompt message,
6361 putting the input text in front and in bold.
6362
98488977
SM
63632011-10-14 Stefan Monnier <monnier@iro.umontreal.ca>
6364
3d1337be
SM
6365 * pcmpl-unix.el (pcomplete/ssh): SSH does allow ganging.
6366
ee0b45e4
SM
6367 * mpc.el (mpc-songs-jump-to): Don't burp if the user clicks in an
6368 empty buffer.
6369
98488977
SM
6370 * mouse.el (mouse-drag-mode-line-1): Modify the end-event we pushed on
6371 unread-command-events rather than pushing yet-another event.
6372
186f4720
EZ
63732011-10-14 Eli Zaretskii <eliz@gnu.org>
6374
6375 * mail/sendmail.el (sendmail-query-once): Improve the wording of
6376 the explanation of the possible choices. Make the options passed
6377 to completing-read shorter.
6378
8b7a997c
AM
63792011-10-13 Agustín Martín Domingo <agustin.martin@hispalinux.es>
6380
6381 * textmodes/flyspell.el (flyspell-large-region): Make sure
6382 extended character mode is used if defined (Bug#1339).
6383
12587bbb
EZ
63842011-10-13 Eli Zaretskii <eliz@gnu.org>
6385
6386 * simple.el (what-cursor-position): Fix the display of the
e7e2364b
EZ
6387 character info for LRE, LRO, RLE, and RLO characters by appending
6388 an invisible PDF.
12587bbb 6389
bad41229
SM
63902011-10-13 Stefan Monnier <monnier@iro.umontreal.ca>
6391
6392 * emacs-lisp/timer.el (with-timeout): Make sure we cancel the timer
6393 even in case of error; add debug spec; simplify data flow.
6394 (with-timeout-handler): Remove.
6395
28dbc92f
MA
63962011-10-12 Michael Albinus <michael.albinus@gmx.de>
6397
6398 Fix Bug#6019, Bug#9315.
6399
6400 * files.el (set-auto-mode): Call `file-name-sans-versions' for the
6401 complete `buffer-file-name', the local file name part could look
6402 remotely (for example on VMS).
6403
6404 * net/ange-ftp.el (ange-ftp-run-real-handler): Make it an alias of
6405 `tramp-run-real-handler'.
6406 (ange-ftp-fix-name-for-vms): Handle the case, where `name' is
6407 already quoted by '"'.
6408
6409 * net/tramp.el (tramp-rfn-eshadow-update-overlay): Ignore errors.
6410 Let `file-name-handler-alist' be nil, the local file name part
6411 could look remotely (for example on VMS).
6412
e1b0b23a
SM
64132011-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
6414
6415 * textmodes/flyspell.el (flyspell-word): Move with-local-quit
6416 from here...
6417 (flyspell-post-command-hook): ...to here.
6418
a120bde9
SM
64192011-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
6420
6421 * mail/sendmail.el (send-mail-function): Don't use sendmail-query-once
6422 if not needed.
6423 (sendmail-query-once): Remove OS dependencies. Make it a 3-way choice
6424 using completion. Protect against "slow" callers.
6425 Remove the "message hack".
6426
7ce7717b
JL
64272011-10-11 Juri Linkov <juri@jurta.org>
6428
6429 * isearch.el (isearch-lazy-highlight-word): New variable.
6430 (isearch-lazy-highlight-new-loop, isearch-lazy-highlight-search):
6431 Use it. (Bug#9727)
6432
c02ee9d6
GM
64332011-10-11 Glenn Morris <rgm@gnu.org>
6434
6435 * progmodes/f90.el (f90-next-statement): Ignore preprocessor lines,
6436 like f90-previous-statement does.
6437
93e616fd 64382011-10-11 Thierry Volpiatto <thierry.volpiatto@gmail.com>
6439
1f190e73 6440 * eshell/eshell.el (eshell-command): History should be saved
c02ee9d6
GM
6441 only in interactive use, to avoid error.
6442
af7b6078
SM
64432011-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
6444
6445 * minibuffer.el (completion-file-name-table): Fix last change,
6446 i.e. ignore normal errors but not the other ones.
6447
0563dae9
MR
64482011-10-10 Martin Rudalics <rudalics@gmx.at>
6449
6450 * window.el (special-display-buffer-names)
6451 (special-display-regexps): Remove some remnants of earlier
6452 changes from doc-strings.
366ca7f3
MR
6453 (quit-windows-on): New function.
6454
6455 * vc/vc.el (vc-revert, vc-rollback):
6456 * vc/vc-dispatcher.el (vc-finish-logentry): Call quit-windows-on
6457 instead of deleting windows. (Bug#4557) (Bug#5310) (Bug#5556)
9ac13c31 6458 (Bug#6183) (Bug#7074) (Bug#7447)
0563dae9 6459
49677495
MR
64602011-10-09 Martin Rudalics <rudalics@gmx.at>
6461
6462 * window.el (frame-auto-hide-function): Add version tag.
6463 (Bug#9699)
6464
56f2d1e1
MA
64652011-10-09 Michael Albinus <michael.albinus@gmx.de>
6466
6467 * net/tramp.el (tramp-file-name-handler): Add 'debug to the error
6468 condition.
6469
112a6592
LL
64702011-10-09 Leo Liu <sdl.web@gmail.com>
6471
6472 * mail/smtpmail.el (smtpmail-send-data): Add a missing space.
6473 (Bug#9701)
6474
0812589b
GM
64752011-10-08 Glenn Morris <rgm@gnu.org>
6476
6477 * progmodes/f90.el (f90-calculate-indent): Give preprocessor lines
6478 before the first code statement zero indent. (Bug#9690)
6479
b2b0776e
CY
64802011-10-08 Chong Yidong <cyd@stupidchicken.com>
6481
6482 * simple.el (count-words-region): Always count in the region.
6483 Report the number of lines and characters too.
6484 (count-words): New command, which counts in the buffer if the
6485 region is inactive, as count-words-region used to.
6486 (count-words--message): New function. Handle plurals.
6487 (count-lines-region): Make it an alias for count-words-region.
6488
6489 * bindings.el (esc-map): Replace count-lines-region with
6490 count-words-region.
6491
c557cd6b
MR
64922011-10-08 Martin Rudalics <rudalics@gmx.at>
6493
6494 * window.el (window--delete): Delete dedicated frame
6495 unconditionally when argument KILL is non-nil. (Bug#9699)
235ce86f 6496 (switch-to-buffer): Fix doc-string typo.
c557cd6b 6497
61a57ef4 64982011-10-08 Thierry Volpiatto <thierry.volpiatto@gmail.com>
6499
3a7d293b 6500 * eshell/eshell.el (eshell-command): Avoid using hooks.
61a57ef4 6501
c3833279
CY
65022011-10-07 Chong Yidong <cyd@stupidchicken.com>
6503
6504 * bindings.el ([M-left],[M-right]): Bind to left-word and
6505 right-word respectively.
6506
21ce8245
GM
65072011-10-07 Glenn Morris <rgm@gnu.org>
6508
6509 * cus-start.el (debug-on-quit): Fix custom type.
6510
6d823bb2
LMI
65112011-10-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
6512
0181e193
LMI
6513 * subr.el (define-key-after): Clarify that the function is not
6514 useful for non-menu keymaps.
6515
6d823bb2
LMI
6516 * progmodes/gdb-mi.el (gdb): Fix typo in doc string.
6517
8e3459ce 65182011-10-06 Thierry Volpiatto <thierry.volpiatto@gmail.com>
6519
21ce8245 6520 * eshell/eshell.el (eshell-command): Enable `eshell-mode' only
8e3459ce 6521 in current minibuffer (Fix bug with recursive minibuffers).
6522
a1c2d21e
CY
65232011-10-06 Chong Yidong <cyd@stupidchicken.com>
6524
6525 * progmodes/gdb-mi.el (gdb): Doc fix.
6526
5a4cf282
MR
65272011-10-05 Martin Rudalics <rudalics@gmx.at>
6528
6529 * window.el (frame-auto-hide-function): New option replacing
6530 frame-auto-delete. Suggested by Stefan Monnier.
6531 (window--delete): Call frame-auto-hide-function instead of
6532 investigating frame-auto-delete.
c96111ea
MR
6533 (window-point-1, set-window-point-1): New functions.
6534 (window-in-direction, record-window-buffer, window-state-get-1)
6535 (display-buffer-record-window): Use window-point-1 instead of
6536 window-point.
6537 (set-window-buffer-start-and-point): Use set-window-point-1.
5a4cf282 6538
9854542e
SM
65392011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
6540
6541 * emacs-lisp/edebug.el: Heed checkdoc recommendations.
6542
8943cfb0
GM
65432011-10-05 Glenn Morris <rgm@gnu.org>
6544
6545 * progmodes/perl-mode.el (perl-electric-terminator): Doc fix.
6546 (perl-calculate-indent): Suppress scan errors. (Bug#2205)
6547
647ab967
LL
65482011-10-05 Leo Liu <sdl.web@gmail.com>
6549
6550 * subr.el (read-char-choice): Fix argument to buffer-live-p which
6551 works with buffer object.
6552
3ddfbced
SM
65532011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
6554
6555 * mpc.el (mpc-tool-bar-map): Add labels.
6556
bdfa5dd2
GM
65572011-10-04 Glenn Morris <rgm@gnu.org>
6558
6559 * calendar/holidays.el (calendar-check-holidays): Doc fix.
6560
0e2070b5
MR
65612011-10-04 Martin Rudalics <rudalics@gmx.at>
6562
6563 * window.el (window--delete): New function.
6564 (frame-auto-delete): Resuscitate option.
6565 (bury-buffer, replace-buffer-in-windows)
6566 (quit-window): Rewrite using window--delete.
6567 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
6568 Pass display-buffer-mark-dedicated to window--display-buffer-2
6569 (Bug#9639).
6570
3dc61a09
SM
65712011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
6572
915a9b64
SM
6573 * pcmpl-unix.el (pcomplete/scp): Don't assume pcomplete-all-entries
6574 returns a list (bug#9554). Add remote file name completion.
6575 * comint.el (comint--table-subvert): Curry and get quote&unquote
6576 functions as arguments.
6577 (comint--complete-file-name-data): Adjust call accordingly.
6578 * pcomplete.el (pcomplete--table-subvert): Remove.
6579 (pcomplete-completions-at-point): Use comint--table-subvert instead.
6580
3dc61a09
SM
6581 * minibuffer.el (completion-table-case-fold): Use currying.
6582 (completion--styles-type, completion--cycling-threshold-type):
6583 New constants.
6584 (completion-styles, completion-category-overrides)
6585 (completion-cycle-threshold): Use them.
6586 * pcomplete.el (pcomplete-completions-at-point): Adjust call to
6587 completion-table-case-fold.
6588
8ea0a993
SB
65892011-10-03 Stephen Berman <stephen.berman@gmx.net>
6590
6591 * minibuffer.el (completion-category-overrides): Fix type of styles
6592 and add more user friendly tags (bug#9660).
6593
8c24b7f6
SM
65942011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
6595
6596 * international/mule-cmds.el: Fix abuses of apply-partially (bug#9661).
6597 (mule-input-method-string): New widget.
6598 (default-input-method, language-info-custom-alist): Use it.
6599
428fe61a
SM
66002011-10-02 Stefan Monnier <monnier@iro.umontreal.ca>
6601
32c1fffd
SM
6602 * pcomplete.el: Require comint.
6603 (pcomplete--common-suffix): Remove.
6604 (pcomplete--common-quoted-suffix): Use comint--common-suffix instead.
6605 (pcomplete--table-subvert): Sync with comint--table-subvert.
6606 (pcomplete--entries): Use comint-completion-file-name-table.
6607 * comint.el (comint-unquote-filename): Simplify.
6608 (comint-completion-file-name-table): New function (bug#9616).
6609 (comint--complete-file-name-data): Use it.
6610
428fe61a
SM
6611 * pcmpl-gnu.el (pcmpl-gnu-with-file-buffer): New macro (bug#9643).
6612 (pcmpl-gnu-tar-buffer): Remove.
6613 (pcmpl-gnu-with-file-buffer): Use it to avoid leaving the tar's buffer
9aaf2b9c
GM
6614 around. Make sure pcomplete-suffix-list is only changed temporarily.
6615 Don't look inside the tar's file if it's too large.
428fe61a 6616
04c52e2f
CY
66172011-10-01 Chong Yidong <cyd@stupidchicken.com>
6618
ce3cefcc
CY
6619 * cus-edit.el (custom-mode-map):
6620 * epa.el (epa-key-list-mode-map):
6621 * man.el (Man-mode-map):
6622 * startup.el (splash-screen-keymap):
6623 * simple.el (special-mode-map): Use scroll-up-command and
6624 scroll-down-command.
6625
6626 * progmodes/idlw-help.el (idlwave-help-mode-map):
6627 * progmodes/ebrowse.el (ebrowse-electric-position-mode-map):
6628 * net/newst-plainview.el (newsticker-mode-map):
6629 * emulation/ws-mode.el (wordstar-mode-map):
6630 * emulation/vi.el (vi-com-map):
6631 * calc/calc-graph.el (calc-graph-show-dumb):
6632 * term/sun.el (terminal-init-sun):
6633 * term/ns-win.el (global-map):
6634 * progmodes/grep.el (grep-mode-map):
6635 * progmodes/ebrowse.el (ebrowse-electric-list-mode-map):
6636 * mail/rmail.el (rmail-mode-map):
6637 * progmodes/cpp.el (cpp-edit-mode-map): Likewise.
6638
04c52e2f
CY
6639 * custom.el (custom-safe-themes, load-theme): Treat value of t for
6640 custom-safe-themes as special.
6641
79adf8c8
JD
66422011-10-01 Julien Danjou <julien@danjou.info>
6643
6644 * notifications.el (notifications-notify): Fix docstring.
6645
63bd50d3
PS
66462011-10-01 Per Starbäck <per@starback.se>
6647
6648 * pcmpl-gnu.el (pcomplete/tar): Fix tar-header-name call. (Bug#9643)
6649
199e4c7e
MR
66502011-09-30 Martin Rudalics <rudalics@gmx.at>
6651
6652 * startup.el (command-line-1): Fix last fix by inserting
6653 initial-scratch-message into *scratch* before displaying it.
cbc5ee22 6654 (Bug#9605) and (Bug#9636)
199e4c7e 6655
fe5f08dd
EZ
66562011-09-29 Eli Zaretskii <eliz@gnu.org>
6657
6658 * simple.el (line-move): If auto-hscroll-mode is disabled and the
6659 window is hscrolled, move by logical lines. (Bug#9607)
6660 (line-move-visual): Update the doc string to the above effect.
6661
b5516bbd
MR
66622011-09-29 Martin Rudalics <rudalics@gmx.at>
6663
ccee00c0
MR
6664 * window.el (display-buffer-record-window): When WINDOW is the
6665 selected window use `point' instead of `window-point'. (Bug#9626)
6666
b5516bbd
MR
6667 * startup.el (command-line-1): Use insert-before-markers when
6668 inserting initial-scratch-message. (Bug#9605)
ccee00c0 6669
b5516bbd
MR
6670 * help.el (help-window): Remove variable.
6671
52aa0014
GM
66722011-09-29 Glenn Morris <rgm@gnu.org>
6673
6674 * pcmpl-cvs.el (pcomplete/cvs): Add "status" handler.
6675
df9a7357
JB
66762011-09-29 Juanma Barranquero <lekktu@gmail.com>
6677
6678 * descr-text.el (describe-char-categories): Accept category
6679 descriptions more than one line long.
6680
a8406c20
SM
66812011-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
6682
88d9610c
SM
6683 * simple.el (delete-trailing-whitespace): Fix last change.
6684
a5daf810
SM
6685 * progmodes/perl-mode.el (perl-syntax-propertize-function):
6686 Don't confuse "y => 3" as the beginning of a `y' operation.
6687
a8406c20
SM
6688 * emacs-lisp/debug.el (debug-convert-byte-code): Don't assume the
6689 object has more than 4 slots (bug#9613).
6690
a239d4e9
JB
66912011-09-28 Juanma Barranquero <lekktu@gmail.com>
6692
6693 * subr.el (with-output-to-temp-buffer):
6694 * net/quickurl.el (quickurl, quickurl-browse-url):
6695 Fix typos in docstrings.
6696
693fbdb6
EZ
66972011-09-27 Eli Zaretskii <eliz@gnu.org>
6698
6699 * minibuffer.el (completion-styles)
6700 (completion-category-overrides): Cross reference each other in doc
6701 strings.
6702
8b457e28
GM
67032011-09-27 Glenn Morris <rgm@gnu.org>
6704
6705 * pcmpl-cvs.el (pcmpl-cvs-entries): Update for Emacs 22.1 changes
6706 to split-string. (Bug#9606)
6707
85a16208
LMI
67082011-09-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
6709
6710 * mail/smtpmail.el (smtpmail-via-smtp): Fix STARTTLS detection
6711 (bug#9615).
6712
502f9ebd
CY
67132011-09-27 Chong Yidong <cyd@stupidchicken.com>
6714
6715 * emacs-lisp/package.el (list-packages): Fix echo area message.
6716
7690bdea
LL
67172011-09-27 Leo Liu <sdl.web@gmail.com>
6718
6719 * ido.el (ido-read-internal): Accept cons cell HIST arg.
6720
e2ee6f30
MA
67212011-09-25 Michael Albinus <michael.albinus@gmx.de>
6722
6723 * net/dbus.el (dbus-unregister-object): Don't release services for
6724 registered signals. (Bug#9581)
6725
f3f98342
TZ
67262011-09-25 Teodor Zlatanov <tzz@lifelogs.com>
6727
6728 * progmodes/cfengine.el (cfengine-auto-mode): Add convenience
6729 function that picks between cfengine 2 and 3 support
6730 automatically. Update docs accordingly.
6731
dd7aa8dd
KH
67322011-09-22 Kenichi Handa <handa@m17n.org>
6733
6734 * language/ind-util.el (indian-tml-base-table): Add TAMIL DIGIT
6735 ZERO.
6736 (indian-itrans-v5-table-for-tamil): New variable.
6737 (indian-tml-itrans-v5-hash): Use the above variable (Bug#9336).
6738
3f2b07f8
KM
67392011-09-22 Ken Manheimer <ken.manheimer@gmail.com>
6740
6741 * allout.el (allout-this-command-hid-stuff): Buffer-local variable
6742 that's true if the current command involved collapsing of text.
6743 It's reset to false at the beginning of the next command.
6744 (allout-post-command-business): Move the cursor to the beginning
6745 of entry if the cursor is hidden and collapsing activity just
6746 happened.
6747
371d6a61
CY
67482011-09-24 Chong Yidong <cyd@stupidchicken.com>
6749
6750 * mouse.el (mouse-drag-track): Set scroll-margin to 0 while
6751 tracking (Bug#9541).
6752
2ac2721a
UJ
67532011-09-24 Ulf Jasper <ulf.jasper@web.de>
6754
6755 * net/newst-reader.el (newsticker-html-renderer)
1154d12e
JB
6756 (newsticker-show-news): Automatically load html rendering package
6757 if newsticker-html-renderer is set. Fixes "Warning: defvar ignored
6758 because w3m-fill-column is let-bound" and the error "Symbol's value
6759 as variable is void: w3m-fill-column".
2ac2721a 6760
fac7ae53
MA
67612011-09-24 Michael Albinus <michael.albinus@gmx.de>
6762
6763 * net/dbus.el (dbus-unregister-object): Remove match rule of signals.
6764 Release services only if they are defined. (Bug#9581)
6765
e08b633b
RS
67662011-09-23 Richard Stallman <rms@gnu.org>
6767
e488d29c
RS
6768 * textmodes/paragraphs.el (forward-sentence): For backwards case,
6769 distinguish start of paragraph from start of its text.
6770
19c38752
RS
6771 * mail/emacsbug.el (report-emacs-bug-query-existing-bugs): Autoload.
6772
e08b633b
RS
6773 * mail/rmail.el (rmail-view-buffer-kill-buffer-hook): New function.
6774 (rmail-generate-viewer-buffer): Put that hook on view buffer.
6775 (rmail-mode-kill-buffer-hook): Override that hook, to kill view buffer.
6776
0a39f27e
AS
67772011-09-23 Andreas Schwab <schwab@linux-m68k.org>
6778
6779 * international/mule-diag.el (mule-diag): Insert a newline after
6780 each fontset description.
6781
db4e950d
SM
67822011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
6783
6784 * simple.el (delete-trailing-whitespace):
6785 Document last change; simplify.
6786
eca3f3ea
PW
67872011-09-23 Peter J. Weisberg <pj@irregularexpressions.net>
6788
d68e189a
PW
6789 * simple.el (delete-trailing-whitespace): Also delete
6790 extra newlines at the end of the buffer.
6791
eca3f3ea
PW
6792 * textmodes/picture.el: Make motion commands obey shift-select-mode.
6793 (picture-newline): Use forward-line so as to ignore fields.
6794
01c157cc
SM
67952011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
6796
6797 * subr.el (with-wrapper-hook): Fix edebug spec.
6798
022de23e
LMI
67992011-09-23 Lars Magne Ingebrigtsen <larsi@gnus.org>
6800
6801 * simple.el (kill-line): Note effect of `show-trailing-whitespace'
6802 (bug#4538).
6803
91683089
MA
68042011-09-23 Michael Albinus <michael.albinus@gmx.de>
6805
eca3f3ea
PW
6806 * net/tramp-sh.el (tramp-sh-handle-file-name-all-completions):
6807 Fix nasty bug using wrong cached values.
91683089 6808
5bdd6fa4
AM
68092011-09-23 Alan Mackenzie <acm@muc.de>
6810
6811 * progmodes/cc-defs.el (c-version): Increase to 5.31.9.
6812
97adfb97
CY
68132011-09-23 Chong Yidong <cyd@stupidchicken.com>
6814
6815 * window.el (pop-to-buffer): Ensure right window is selected if we
6816 chose another frame.
6817
d4ef2b50
EZ
68182011-09-22 Eli Zaretskii <eliz@gnu.org>
6819
6820 * simple.el (what-cursor-position): Use get-char-property-change
6821 and next-single-char-property-change, to be able to show display
6822 properties that come from overlays as well as text properties.
6823
72258fe5
CY
68242011-09-22 Chong Yidong <cyd@stupidchicken.com>
6825
6826 * window.el (pop-to-buffer-same-window): New (reinstated) fun.
6827
6828 * cmuscheme.el (run-scheme, switch-to-scheme):
6829 * cus-edit.el (customize-group, custom-buffer-create)
6830 (customize-browse):
6831 * info.el (info):
6832 * shell.el (shell):
6833 * mail/sendmail.el (mail):
6834 * progmodes/inf-lisp.el (inferior-lisp): Use it (Bug#9532).
6835
8f098516
RS
68362011-09-22 Richard Stallman <rms@gnu.org>
6837
6838 * textmodes/paragraphs.el (forward-sentence): When setting PAR-BEG,
6839 move back only to line beg, don't move back over blank lines.
6840
e74f1bb6
MA
68412011-09-22 Michael Albinus <michael.albinus@gmx.de>
6842
6843 * files.el (copy-directory): Set directory attributes only in case
6844 they could be retrieved from the source directory. (Bug#9565)
6845
bfeef8b6
DK
68462011-09-22 Dima Kogan <dkogan@secretsauce.net> (tiny change)
6847
6848 * progmodes/hideshow.el (hs-looking-at-block-start-p)
6849 (hs-find-block-beginning, hs-hide-level-recursive):
6850 Ignore strings as well as comments. (Bug#9502)
6851
7e423bb8
AS
68522011-09-22 Andrew Schein <andrew@andrewschein.com> (tiny change)
6853
6854 * progmodes/sql.el (sql-comint-postgres):
6855 Convert port number to a string. (Bug#9566)
6856
b4d72fcf
MR
68572011-09-22 Martin Rudalics <rudalics@gmx.at>
6858
6859 * window.el (quit-window): Undedicate window when switching to
6860 previous buffer. Reported by Thierry Volpiatto
6861 <thierry.volpiatto@gmail.com>.
7f80c86d
MR
6862 (special-display-popup-frame): When popping up a new frame reset
6863 its previous buffers to nil. Simplify code.
b4d72fcf 6864
a7b88dc6
MA
68652011-09-21 Michael Albinus <michael.albinus@gmx.de>
6866
6867 * net/tramp.el (tramp-handle-shell-command): Set process sentinel
6868 and process filter, as done also in `shell-command'.
6869
cf4eacfd
MR
68702011-09-21 Martin Rudalics <rudalics@gmx.at>
6871
eca3f3ea 6872 * window.el (set-window-buffer-start-and-point):
1154d12e
JB
6873 Call set-window-start with NOFORCE argument t.
6874 Suggested by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
cf4eacfd
MR
6875 (quit-window): Reword doc-string. Handle new format of
6876 quit-restore parameter. Don't delete window if it has a
6877 previous buffer we can show instead of the present one.
6878 (display-buffer-record-window): Rewrite using a new format for
6879 the quit-restore window parameter
6880 (special-display-popup-frame, display-buffer-same-window)
6881 (display-buffer-reuse-window, display-buffer-pop-up-frame)
6882 (display-buffer-pop-up-window, display-buffer-use-some-window):
6883 Adapt symbol passed to display-buffer-record-window.
6884 * help.el (help-window-setup): Handle new format of quit-restore
6885 parameter.
6886
8d28cb95
SM
68872011-09-21 Stefan Monnier <monnier@iro.umontreal.ca>
6888
94ab793f
SM
6889 * faces.el (face-list): Fix docstring (bug#9564).
6890
8d28cb95
SM
6891 * window.el (display-buffer--action-function-custom-type):
6892 Don't include internal functions in the Custom interface.
6893
3820edeb
JL
68942011-09-20 Juri Linkov <juri@jurta.org>
6895
6896 * info.el (Info-history-skip-intermediate-nodes): New defcustom.
6897 (Info-forward-node, Info-backward-node, Info-next-preorder)
6898 (Info-last-preorder): Use it. (Bug#9528)
6899
5147931d
JL
69002011-09-20 Juri Linkov <juri@jurta.org>
6901
6902 * info.el (Info-last-preorder): Visit last menu item only when
6903 `Info-scroll-prefer-subnodes' is non-nil (third test-case of bug#9528).
6904
cf499a1a
JD
69052011-09-20 Julien Danjou <julien@danjou.info>
6906
6907 * password-cache.el (password-cache-remove): Remove entries even if the
6908 value is nil, so that password with a nil value (negative caching) is
6909 possible to invalidate.
6910
f84e2fe2
LM
69112011-09-20 Lawrence Mitchell <wence@gmx.li>
6912
6913 * progmodes/f90.el (f90-break-line): If breaking inside comment delete
6914 all whitespace around breakpoint. (Bug#9553)
6915 (f90-find-breakpoint): Only break at whitespace inside a comment.
6916
78054a46
SM
69172011-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
6918
6919 * minibuffer.el (completion-file-name-table): Keep track of errors.
6920 (completion-table-with-predicate): Handle the case where pred1 is nil.
6921 * pcomplete.el (pcomplete-completions-at-point): Simplify.
6922
345083b2
SM
69232011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
6924
e24e27be
SM
6925 * emacs-lisp/debug.el (debugger-args): Give it a docstring.
6926 (debugger-return-value): Signal an error if the debugging context does
6927 not await any return value.
6928
345083b2
SM
6929 * ps-mule.el (ps-mule-plot-string): Don't inf-loop (bug#5108).
6930 * image-mode.el (image-toggle-display-text)
6931 (image-toggle-display-image): Stay away from evil `intangible'.
6932
08d355e3
LL
69332011-09-19 Leo Liu <sdl.web@gmail.com>
6934
6935 * replace.el (occur-revert-arguments): Make it permanent-local.
6936 (occur-mode): Don't call font-lock-defontify.
6937
f01da43f
CY
69382011-09-19 Chong Yidong <cyd@stupidchicken.com>
6939
6940 * net/ldap.el (ldap-search-internal): Don't push empty search
6941 result (Bug#9508).
6942
b6072fa6
SM
69432011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
6944
6945 * whitespace.el (whitespace-newline-mode): Disable it right (bug#9550).
6946
443d6696
MA
69472011-09-19 Michael Albinus <michael.albinus@gmx.de>
6948
6949 * net/tramp-sh.el (tramp-inline-compress-commands): Add "xz".
6950 Suggested by Liam Stitt <stittl@cuug.ab.ca>.
6951
7cc6e154
JL
69522011-09-18 Juri Linkov <juri@jurta.org>
6953
6954 * buff-menu.el (Buffer-menu-mode-map):
6955 * dired.el (dired-mode-map):
6956 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map)
6957 (lisp-interaction-mode-map):
6958 * emacs-lisp/package.el (package-menu-mode-map):
6959 * epa.el (epa-key-list-mode-map):
6960 * menu-bar.el (menu-bar-showhide-tool-bar-menu)
6961 (menu-bar-options-menu):
6962 * outline.el (outline-mode-menu-bar-map):
6963 * vc/vc-bzr.el (vc-bzr-shelve-menu-map, vc-bzr-extra-menu-map):
6964 * vc/vc-dir.el (vc-dir-menu-map):
6965 * vc/vc-git.el (vc-git-stash-menu-map, vc-git-extra-menu-map):
6966 Capitalize non-function content words in menu item strings.
6967
6968 * dired.el (dired-mode-map): Add menu item for
6969 `image-dired-dired-toggle-marked-thumbs'.
6970
80302a81
JL
69712011-09-18 Juri Linkov <juri@jurta.org>
6972
6973 * isearch.el (isearch-edit-string): Bind `isearch-new-case-fold'
6974 to `isearch-case-fold-search' and restore its original value
6975 after the `isearch-mode' call.
6976
46c5cf66
JL
69772011-09-18 Juri Linkov <juri@jurta.org>
6978
6979 * progmodes/grep.el (grep-process-setup): Don't check code for 1
6980 because `zgrep' returns 1 for successful matches (bug#9226).
6981
d18b513b
JL
69822011-09-18 Juri Linkov <juri@jurta.org>
6983
6984 * info.el (Info-extract-menu-node-name): Check the second match
6985 for empty string (second test-case of bug#9528).
6986 (Info-last-preorder): Let-bind `Info-history' to nil to not add
6987 intermediate nodes to the history (first test-case of bug#9528).
6988
72753f87
JL
69892011-09-18 Juri Linkov <juri@jurta.org>
6990
6991 * info.el (Info-mode-syntax-table): New variable.
1154d12e 6992 (Info-mode): Set `:syntax-table' to `Info-mode-syntax-table' (bug#3312).
72753f87 6993
c9384295
JL
69942011-09-18 Juri Linkov <juri@jurta.org>
6995
1154d12e
JB
6996 * info.el (Info-file-supports-index-cookies):
6997 Increment line-beginning-position's arg from 3 to 4 because makeinfo
6998 outputs one more line for long file names (bug#4142).
c9384295 6999
d473dce8
CY
70002011-09-18 Chong Yidong <cyd@stupidchicken.com>
7001
7002 * newcomment.el (comment-normalize-vars): If prompting for
7003 comment-start, set comment-start-skip too (Bug#8424).
7004
2176854d
JB
70052011-09-18 Johan Bockgård <bojohan@gnu.org>
7006
7007 * icomplete.el: Fix previous fix of Bug#5849.
7008 (icomplete-mode): Don't set completion-show-inline-help.
7009 (icomplete-minibuffer-setup): Set completion-show-inline-help
7010 locally during icompletion.
7011
3aace4e4
CY
70122011-09-18 Chong Yidong <cyd@stupidchicken.com>
7013
c940224f
CY
7014 * woman.el (woman2-process-escapes): Don't delete unrecognized
7015 escapes (Bug#7843).
7016
3aace4e4
CY
7017 * files.el (inhibit-first-line-modes-regexps): Add image files.
7018 (hack-local-variables-prop-line): Return nil for malformed
7019 prop-lines (Bug#9044).
7020
710dec63
MA
70212011-09-18 Michael Albinus <michael.albinus@gmx.de>
7022
7023 * net/tramp.el (top): Don't require 'shell.
7024 (tramp-methods): Fix docstring.
7025 (tramp-get-remote-tmpdir): New defun, moved from tramp-sh.el.
8d28cb95
SM
7026 Return complete remote file name. Handle "smb" case.
7027 Use `tramp-tmpdir', if defined for the respective method.
710dec63
MA
7028 (tramp-make-tramp-temp-file): Adapt call of `tramp-get-remote-tmpdir'.
7029
7030 * net/tramp-compat.el (top): Require 'shell.
7031
7032 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
7033 (tramp-maybe-open-connection): Use `tramp-file-name-real-host' for
7034 `tramp-current-host'.
7035 (tramp-get-remote-tmpdir): Remove.
7036
7037 * net/tramp-smb.el (tramp-methods): Add `tramp-remote-shell' and
7038 `tramp-tmpdir' entries.
7039 (tramp-smb-errors): Add "NT_STATUS_IMAGE_ALREADY_LOADED".
7040 (tramp-smb-handle-file-attributes): Ignore errors.
7041 (tramp-smb-wait-for-output): Check also for process end.
7042
5d5ac8ec
LMI
70432011-09-18 Lars Magne Ingebrigtsen <larsi@gnus.org>
7044
7045 * mail/smtpmail.el (smtpmail-via-smtp): Ignore errors that arise
7046 when sending QUIT (bug#9312).
7047
8c0f49f0
CY
70482011-09-17 Chong Yidong <cyd@stupidchicken.com>
7049
7050 * replace.el (occur-mode-map): Rebind occur-edit-mode to "e" (Bug#8463).
7051 (occur-edit-mode-map): Bind C-c C-c to occur-cease-edit and C-o to
7052 occur-mode-display-occurrence.
7053 (occur-edit-mode): Add usage message.
7054 (occur-cease-edit): New command.
7055 (occur-after-change-function): Use text properties to find the
7056 position of the prefix text.
7057 (occur-engine): Set stickiness of prefix text properties.
7058
8f1383f7
GM
70592011-09-17 Glenn Morris <rgm@gnu.org>
7060
7061 * progmodes/etags.el (complete-tag):
7062 Fix call to completion-in-region. (Bug#9526)
7063
744ba0e3
JL
70642011-09-17 Juri Linkov <juri@jurta.org>
7065
7066 * textmodes/ispell.el (ispell-word): Add to the error message
7067 the word, ispell program name and current dictionary (bug#9121).
7068 (ispell-tex-arg-end): Capitalize "error" in the error message.
7069
d9bbf400
AS
70702011-09-17 Andreas Schwab <schwab@linux-m68k.org>
7071
7072 * emacs-lisp/bytecomp.el (byte-compile-lapcode): Fix overflow
7073 check. (Bug#4251)
7074
8da11505
JL
70752011-09-17 Juri Linkov <juri@jurta.org>
7076
7077 * window.el (window-safe-min-height, window-safe-min-width):
7078 Fix typos (followup to bug#9522).
7079
a91adc7e
SJ
70802011-09-17 Sven Joachim <svenjoac@gmx.de>
7081
7082 * window.el (window-min-width, window-state-put): Fix typos (bug#9522).
7083
064f328a
EZ
70842011-09-16 Eli Zaretskii <eliz@gnu.org>
7085
7086 * simple.el (line-move): If goal-column is set, move by logical
7087 lines, not by display lines. (Bug#971)
7088 (next-line, previous-line, goal-column, line-move-visual): Doc fix
7089 to reflect the above change.
7090
e69df516
SM
70912011-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
7092
7093 * image.el (imagemagick-register-types): Use regexp-opt.
7094
cbb0f9ab
CY
70952011-09-15 Chong Yidong <cyd@stupidchicken.com>
7096
7097 * window.el (display-buffer-base-action): Rename from
7098 display-buffer-default-action. Make default value empty.
7099 (display-buffer-overriding-action): Convert to defvar.
7100 (display-buffer-fallback-action): New var.
7101
25322144
CY
71022011-09-15 Chong Yidong <cyd@stupidchicken.com>
7103
7104 * emacs-lisp/package.el (package-alist): Fix risky-local-variable
7105 declaration.
7106 (package--add-to-archive-contents): If there is a duplicate entry
7107 with an older version, remove it.
7108 (package-menu-mark-delete, package-menu-mark-install)
7109 (package-menu-mark-unmark): Make unused args optional.
e69df516
SM
7110 (package-menu-mark-obsolete-for-deletion):
7111 Use package-menu-get-status instead of a regexp search.
25322144
CY
7112 (package-menu-get-status): Use tabulated-list-entry.
7113 (package-menu-mark-upgrades): New command.
d770725a 7114 (package-menu-mode-map): Bind it to U. Add it to menu bar.
25322144
CY
7115 (package-menu-execute): Do installation before deletion.
7116 (package-menu-refresh, package-menu-execute): Use derived-mode-p
7117 instead of checking major-mode.
7118 (package-menu--find-upgrades): New function.
7119
7520339c
LMI
71202011-09-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
7121
7122 * mail/smtpmail.el (smtpmail-send-command): Don't include AUTH
7123 passwords in the log buffer.
65a046c4
LMI
7124 (smtpmail-process-filter): Update the process marker so that the
7125 "broken by peer" status message is inserted in the right place.
7520339c 7126
d3c30954
SM
71272011-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
7128
3fe48822
SM
7129 * textmodes/bibtex.el (bibtex-complete-string-cleanup)
7130 (bibtex-complete-crossref-cleanup): Adjust to accommodate needs of
7131 bibtex-completion-at-point-function.
7132 (bibtex-completion-at-point-function): Use them.
7133
1b8b3954
SM
7134 * newcomment.el (comment-add, comment-valid-prefix-p): Docfix.
7135
d3c30954
SM
7136 * mpc.el (mpc-constraints-tag-lookup): New function.
7137 (mpc-constraints-restore): Use it to make jumping to "album=Foo" apply
7138 also to browser "album|playlist".
7139
72779976
JL
71402011-09-14 Juri Linkov <juri@jurta.org>
7141
7142 * isearch.el (isearch-fail-pos): Add new arg `msg'. Doc fix.
7143 (isearch-edit-string): Use length of `isearch-string' when
7144 `isearch-fail-pos' returns nil.
7145 (isearch-message): Remove duplicate code and call
7146 `isearch-fail-pos' with arg `t'.
7147
a0bf2bcd
CY
71482011-09-14 Chong Yidong <cyd@stupidchicken.com>
7149
17bb0a2d
CY
7150 * replace.el (occur-mode-goto-occurrence): Don't force using other
7151 window (Bug#9499).
7152
a0bf2bcd
CY
7153 * dired-aux.el (dired-do-chmod): Don't provide initial input.
7154
f678e0b6
MR
71552011-09-14 Martin Rudalics <rudalics@gmx.at>
7156
7157 * window.el (display-buffer-window): Remove.
7158 (display-buffer-record-window): Use help-setup window parameter
7159 instead of variable display-buffer-window.
7160 (display-buffer-function, special-display-buffer-names)
7161 (special-display-function): Mention help-setup parameter instead
7162 of display-buffer-window in doc-string.
d3c30954
SM
7163 * help.el (help-window-setup): New argument help-window.
7164 Use help-window-setup parameter instead of display-buffer-window.
f678e0b6
MR
7165 Reword some messages.
7166 (with-help-window): Pass window used for displaying the buffer
7167 to help-window-setup. Don't set display-buffer-window.
7168
8e39b2e8
GM
71692011-09-13 Glenn Morris <rgm@gnu.org>
7170
7171 * emacs-lisp/debug.el (debugger-make-xrefs):
7172 Preserve point. (Bug#9462)
7173
85e9c04b
CY
71742011-09-13 Chong Yidong <cyd@stupidchicken.com>
7175
7176 * window.el (window-deletable-p): Use next-frame.
7177
1b36ed6a
MR
71782011-09-13 Martin Rudalics <rudalics@gmx.at>
7179
7180 * window.el (window-auto-delete): Remove.
7181 (window-deletable-p): Remove argument FORCE. Don't deal with
e4769531 7182 dedication and previous buffers.
1b36ed6a
MR
7183 (switch-to-prev-buffer): Don't delete window.
7184 (delete-windows-on): Delete a window's frame if and only if the
7185 window is dedicated.
7186 (replace-buffer-in-windows): Delete buffer's window or frame if
7187 and only if window is dedicated.
7188 (quit-window): Handle quit-restore as before last change.
4d61f28d 7189 (bury-buffer): Delete window only if window-deletable-p returns t.
1b36ed6a 7190
ef8ef9fb
CY
71912011-09-13 Chong Yidong <cyd@stupidchicken.com>
7192
7193 * window.el (window-deletable-p): Never delete the last frame on a
7194 given terminal.
7195
b2cba41e
GM
71962011-09-13 Glenn Morris <rgm@gnu.org>
7197
7198 * help.el (describe-key-briefly): Copy previous standard-output change.
7199
51553db6 72002011-09-13 PJ Weisberg <pj@irregularexpressions.net>
e3ce671f
PW
7201
7202 * help.el (where-is): Respect non-standard standard-output. (Bug#9030)
7203
b7556719
GM
72042011-09-13 Glenn Morris <rgm@gnu.org>
7205
7206 * emacs-lisp/lisp-mode.el (lisp-indent-function):
7207 * progmodes/scheme.el (scheme-indent-function): Doc fixes.
7208
64b51947
CY
72092011-09-12 Chong Yidong <cyd@stupidchicken.com>
7210
7211 * dired-aux.el (dired-mark-read-string): Don't return default
7212 value on empty input (Bug#9361).
7213 (dired-do-chxxx): Treat empty input for "touch" as no -t option.
7214 Omit initial minibuffer contents.
7215 (dired-do-chmod): Signal an error on empty input.
7216 (dired-mark-read-string): Don't return default on empty input.
7217
7218 * files.el (file-modes-symbolic-to-number): Doc fix.
7219
393a301e
SM
72202011-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
7221
7222 * international/mule-cmds.el (ucs-completions): Remove.
7223 (read-char-by-name): Use complete-with-action instead; add metadata.
7224
fa5660f9
CY
72252011-09-11 Chong Yidong <cyd@stupidchicken.com>
7226
7227 * window.el (display-buffer--action-function-custom-type)
7228 (display-buffer--action-custom-type): New vars.
7229 (display-buffer-alist, display-buffer-default-action)
7230 (display-buffer-overriding-action): Add defcustom types.
7231
4a592f66
CY
7232 * frame.el (delete-other-frames): Doc fix (Bug#276).
7233
73d56dbd
LMI
72342011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
7235
7236 * play/doctor.el (make-doctor-variables): Define `doctor-sent'.
7237
37ac18a3
CY
72382011-09-11 Chong Yidong <cyd@stupidchicken.com>
7239
7240 Change modes that used same-window-* vars to use switch-to-buffer.
7241
7242 * progmodes/gdb-mi.el (gdb-restore-windows, gdb-setup-windows):
7243 Use switch-to-buffer.
7244
7245 * cus-edit.el (customize-group, custom-buffer-create)
393a301e
SM
7246 (customize-browse, custom-buffer-create-other-window):
7247 Use switch-to-buffer or switch-to-buffer-other-window.
37ac18a3
CY
7248
7249 * info.el (info, Info-find-node, Info-revert-find-node, Info-next)
7250 (Info-prev, Info-up, Info-speedbar-goto-node)
7251 (info-display-manual): Use switch-to-buffer.
7252 (Info-speedbar-goto-node): Use switch-to-buffer-other-frame.
7253
7254 * mail/sendmail.el (mail): Use switch-to-buffer.
7255 (mail-recover): Use switch-to-buffer-other-window.
7256
7257 * cmuscheme.el (run-scheme, switch-to-scheme):
7258 * ielm.el (ielm):
7259 * shell.el (shell):
7260 * net/rlogin.el (rlogin):
7261 * net/telnet.el (telnet, rsh):
7262 * progmodes/inf-lisp.el (inferior-lisp): Use switch-to-buffer.
7263
10195bd6
AS
72642011-09-11 Andreas Schwab <schwab@linux-m68k.org>
7265
7266 * dired.el (dired-sort-toggle-or-edit): Revert last changes.
7267
b322f63a
LMI
72682011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
7269
39d7fed6
LMI
7270 * dired.el (dired-sort-toggle-or-edit): -o doesn't exist on *BSD,
7271 so don't mention it (bug#9301).
ba5a81f1 7272 (dired-sort-toggle-or-edit): Clarify string further.
39d7fed6 7273
ee0e9f11
LMI
7274 * faces.el (face-spec-set-match-display): Make `(type graphic)'
7275 match `x', `w32' and `ns', like the manual says (bug#9029).
7276
0b1c89c1 7277 * subr.el (eval-after-load): Doc string clarification (bug#9125).
da9fcb93
LMI
7278 (process-kill-buffer-query-function): Mention the buffer name in
7279 the query.
0b1c89c1 7280
77549ea8
LMI
7281 * image-mode.el (image-next-line): The line parameter is mandatory
7282 (bug#9258).
7283
803ef892
LMI
7284 * dired.el (dired-sort-toggle-or-edit): Mention -o and -g, too,
7285 which can be useful (bug#9301).
7286
12980837
LMI
7287 * textmodes/flyspell.el: Remove obsolete comment (bug#9368).
7288
91054f8f
LMI
7289 * subr.el (match-string): Mention that the current buffer should
7290 be the same as the search was done in (bug#9282).
7291
b322f63a
LMI
7292 * facemenu.el: Disable the remove-* commands if the mark isn't
7293 active (bug#9162).
7294
3199b96f
CY
72952011-09-10 Chong Yidong <cyd@stupidchicken.com>
7296
7297 * buff-menu.el (Buffer-menu-switch-other-window): Use second arg
7298 of display-buffer.
7299 (Buffer-menu-2-window): Use switch-to-buffer-other-window.
7300
7301 * replace.el (occur-mode-goto-occurrence)
7302 (occur-mode-display-occurrence) Use second arg of pop-to-buffer
7303 and display-buffer.
7304
7305 * mail/reporter.el (reporter-submit-bug-report): Use second arg of
7306 display-buffer.
7307
7308 * mail/sendmail.el (sendmail-user-agent-compose): Don't bind the
7309 special-display and same-window variables.
7310 (mail-other-window): Use switch-to-buffer-other-window.
7311 (mail-other-frame): USe switch-to-buffer-other-frame.
7312
393a301e
SM
7313 * progmodes/gdb-mi.el (gdb-frame-gdb-buffer):
7314 Use display-buffer-other-frame.
3199b96f
CY
7315 (gdb-display-gdb-buffer): Use pop-to-buffer.
7316
7317 * progmodes/gud.el (gud-goto-info): Use info-other-window.
7318
7319 * progmodes/python.el: Don't set same-window-buffer-names.
7320
7321 * textmodes/bibtex.el (bibtex-search-entry): Use switch-to-buffer.
7322
7323 * window.el (display-buffer-alist): Add *Python*.
7324
8319e0bf
CY
73252011-09-10 Chong Yidong <cyd@stupidchicken.com>
7326
7327 * window.el (display-buffer-alist): Add entry for buffers
7328 previously handled same-window-*.
7329 (display-buffer-alist, display-buffer-default-action)
7330 (display-buffer-overriding-action): Mark as risky.
7331 (display-buffer-alist): Document action function changes.
7332 (display-buffer--same-window-action)
7333 (display-buffer--other-frame-action): New variables.
7334 (switch-to-buffer, display-buffer-other-frame): Use them.
7335 (display-buffer): Rename reuse-frame entry to reusable-frames.
7336 (display-buffer-reuse-selected-window): Function deleted.
7337 (display-buffer-reuse-window): Handle reusable-frames alist entry.
7338 If it's omitted, check pop-up-frames/display-buffer-reuse-frames.
7339 (display-buffer-special): New function.
7340 (display-buffer--maybe-pop-up-frame-or-window): Rename from
7341 display-buffer-reuse-or-pop-window. Split off special-display
7342 part into display-buffer-special.
7343 (display-buffer-use-some-window): Don't perform any special
7344 pop-up-frames handling.
7345 (pop-to-buffer): Use window-normalize-buffer-to-switch-to.
393a301e 7346 (display-buffer--maybe-same-window): Rename from
0d3ff375 7347 display-buffer-maybe-same-window.
8319e0bf 7348
919a69aa
CY
7349 * info.el: Don't set same-window-regexps.
7350 (info-setup): New function.
7351 (info-other-window, info): Call it.
7352
7353 * cus-edit.el: Don't set same-window-regexps.
7354 (customize-group): New argument.
7355 (customize-group-other-window): Use it.
7356 (customize-face, customize-face-other-window): Likewise.
7357 (custom-buffer-create-other-window): Use pop-to-buffer directly.
7358
8319e0bf
CY
7359 * net/rlogin.el:
7360 * net/telnet.el:
7361 * progmodes/gud.el: Don't set same-window-regexps.
7362
7363 * cmuscheme.el:
7364 * ielm.el:
7365 * shell.el:
7366 * mail/sendmail.el:
7367 * progmodes/inf-lisp.el: Don't set same-window-buffer-names.
7368
25173000
JL
73692011-09-10 Juri Linkov <juri@jurta.org>
7370
7371 * isearch.el (isearch-edit-string): Remove obsolete mention of
7372 `C-w' (`isearch-yank-word-or-char') from docstring.
7373 (isearch-query-replace): Fix typo in docstring (bug#9466).
7374
056e44ef
JL
73752011-09-10 Juri Linkov <juri@jurta.org>
7376
7377 * paren.el (show-paren-function): Don't show escaped parens.
7378 Let-bind `unescaped' to `t' when paren is not escaped. (Bug#9461)
7379
c3760c17
EZ
73802011-09-10 Eli Zaretskii <eliz@gnu.org>
7381
7382 * mail/sendmail.el (mml-to-mime, mml-attach-file)
7383 (mm-default-file-encoding): Remove autoload forms, they are
7384 replaced with autoload cookies in mml.el and mm-encode.el.
7385 (mail-add-attachment): New command.
7386 (mail-mode-map): Add a menu-bar item for mail-add-attachment.
7387 (mail-mode): Mention mail-insert-file and mail-add-attachment in
7388 the doc string.
7389 (mml-to-mime, mml-attach-file, mm-default-file-encoding): Declare.
7390
fece895e
RT
73912011-09-10 Reuben Thomas <rrt@sc3d.org>
7392
e69df516
SM
7393 * simple.el (count-words-region): Use buffer if there's no region
7394 (bug#9429).
fece895e 7395
5e68ce4a
JL
73962011-09-09 Juri Linkov <juri@jurta.org>
7397
7398 * wdired.el (wdired-change-to-wdired-mode): Set buffer-local
7399 `isearch-filter-predicate' to `wdired-isearch-filter-read-only'.
7400 (wdired-isearch-filter-read-only): New function. (Bug#6362)
7401
0a6b9622
AM
74022011-09-09 Alan Mackenzie <acm@muc.de>
7403
7404 * progmodes/cc-mode.el (awk-mode): Prevent `define-derived-mode'
7405 spuriously generating `awk-mode-syntax-table'. (Bug #9448).
7406
14a29deb
EZ
74072011-09-09 Eli Zaretskii <eliz@gnu.org>
7408
7409 Fix for Savannah bug#9392.
7410 * simple.el (mail-encode-mml): New defvar.
7411
7412 * mail/rmail.el (mail-encode-mml): Add a defvar.
7413 (rmail-enable-mime-composing): Default to t.
7414 (rmail-forward): Use MIME method of forwarding only if both
7415 rmail-enable-mime-composing and rmail-enable-mime are non-nil.
7416 Set mail-encode-mml non-nil if the MIME method was used.
7417
7418 * mail/sendmail.el (mml-to-mime): Add autoload form.
7419 (mail-encode-mml): Add a defvar.
7420 (mail-mode): Make mail-encode-mml buffer-local and initialize it
7421 to nil.
7422 (mail-send): If mail-encode-mml is non-nil, run the outgoing
7423 message through mml-to-mime, and reset mail-encode-mml to nil.
7424
28c45130
GM
74252011-09-09 Glenn Morris <rgm@gnu.org>
7426
7427 * woman.el (woman-if-body): When processing an .el block,
7428 do not delete the next .el block as well. (Bug#9447)
69f4b618 7429 (woman-special-characters): Add oq, cq, and hy characters.
28c45130 7430
9b1c252e
MR
74312011-09-08 Martin Rudalics <rudalics@gmx.at>
7432
7433 * window.el (window-deletable-p): Make sure window is live before
7434 invoking window-prev-buffers.
7435
567457e3
LL
74362011-09-08 Leo Liu <sdl.web@gmail.com>
7437
7438 * net/rcirc.el (rcirc-cmd-invite): New rcirc command. (Bug#9453)
7439
97f05794
JL
74402011-09-08 Juri Linkov <juri@jurta.org>
7441
7442 * progmodes/compile.el (compilation-environment): Make it
7443 a defcustom (bug#8340).
7444
8b0874b5
MR
74452011-09-08 Martin Rudalics <rudalics@gmx.at>
7446
7447 * window.el (frame-auto-delete): Rename to window-auto-delete.
7448 Make it control auto-deletion of windows and/or frames.
7449 (window-deletable-p): New argument FORCE. Rewrite conditions
5e617bc2 7450 for deleting window/frame. (Bug#9419)
8b0874b5
MR
7451 (switch-to-prev-buffer, replace-buffer-in-windows, quit-window):
7452 Rewrite handling of case when window/frame can be deleted.
7453 (delete-windows-on): Call window-deletable-p with new FORCE
5e617bc2 7454 argument t. (Bug#9456)
8b0874b5 7455
4feb6e73
CY
74562011-09-07 Chong Yidong <cyd@stupidchicken.com>
7457
7458 * help-mode.el (help-mode): Restore autoload.
7459
91ab9c13
JL
74602011-09-07 Juri Linkov <juri@jurta.org>
7461
7462 * progmodes/compile.el (compilation-start): Let-bind `thisenv' to
7463 `compilation-environment'. Set buffer-local
7464 `compilation-environment' to `thisenv' later after (funcall mode).
7465 (Bug#8340)
7466
7467 * vc/vc-git.el (vc-git-grep): Remove --no-color. (Bug#9408)
7468 (vc-git-grep): Prepend "PAGER=" to `compilation-environment'
7469 instead of replacing its value. (Bug#8340)
7470
0527e251
JL
74712011-09-07 Juri Linkov <juri@jurta.org>
7472
7473 * progmodes/grep.el (grep-regexp-alist): Calculate column positions
7474 based on text properties put by `grep-filter' instead of matching
7475 escape sequences.
7476 (grep-mode): Set buffer-local `compilation-error-screen-columns'
7477 to the value of `grep-error-screen-columns' (bug#9438).
7478
249f792c
JL
74792011-09-07 Juri Linkov <juri@jurta.org>
7480
7481 * simple.el (next-error-highlight, next-error-highlight-no-select):
7482 Doc fix (bug#9432).
7483
ff7271b9
OT
74842011-09-07 OKAZAKI Tetsurou <okazaki.tetsurou@gmail.com> (tiny change)
7485
7486 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
7487 Check for null c-opt-block-decls-with-vars-key. (Bug#9443)
7488
183fc730
LL
74892011-09-07 Leo Liu <sdl.web@gmail.com>
7490
7491 * net/rcirc.el (rcirc-mode): Conditionally initialize
7492 rcirc-input-ring.
7493
77694924
SM
74942011-09-07 Stefan Monnier <monnier@iro.umontreal.ca>
7495
7496 * emacs-lisp/find-func.el (find-function-C-source): Only set
7497 find-function-C-source-directory after checking that we found a source
7498 file there (bug#9440).
7499
d809b8eb
AM
75002011-09-06 Alan Mackenzie <acm@muc.de>
7501
7502 * isearch.el (isearch-other-meta-char): Wherever a key list is
7503 unread, "unread" the prefix arg, too. This fixes bug #8901.
7504
453de99f
OG
75052011-09-05 Oleksandr Gavenko <gavenkoa@gmail.com> (tiny change)
7506
7507 * progmodes/grep.el (rgrep): Add "-type d" (bug#9414).
7508
90439906
JL
75092011-09-05 Juri Linkov <juri@jurta.org>
7510
7511 * progmodes/grep.el (grep-process-setup): Fix comments (bug#8084).
7512
f62bd846
JL
75132011-09-05 Juri Linkov <juri@jurta.org>
7514
7515 * progmodes/grep.el (grep-filter): Avoid incomplete processing by
7516 keeping point where processing of grep matches begins, and
7517 continue to delete remaining escape sequences from the same point.
7518 (grep-filter): Make leading zero optional in "0?1;31m" because
7519 git-grep emits "\033[1;31m" escape sequences unlike expected
7520 "\033[01;31m" as GNU Grep does (bug#9408).
7521 (grep-process-setup): Replace obsolete "ml=" with newer "sl=".
7522
045820ec
JL
75232011-09-05 Juri Linkov <juri@jurta.org>
7524
7525 * subr.el (y-or-n-p): Capitalize "yes".
7526
f5e29b9b
MA
75272011-09-04 Michael Albinus <michael.albinus@gmx.de>
7528
7529 * net/tramp.el (top): Require 'shell. Use `tramp-unload-hook' but
7530 `tramp-cache-unload-hook' where appropriate.
7531 (tramp-methods): Rename `tramp-remote-sh' to
7532 `tramp-remote-shell'. Add `tramp-remote-shell-args'.
7533 (tramp-handle-shell-command): New defun, moved from tramp-sh.el.
7534
7535 * net/tramp-sh.el (top): Don't require 'shell.
7536 (tramp-methods): Add `tramp-remote-shell' and
7537 `tramp-remote-shell-args' entries.
7538 (tramp-sh-file-name-handler-alist): Use `tramp-handle-shell-command'.
7539 (tramp-sh-handle-shell-command): Remove.
7540 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
7541 Use `tramp-remote-shell'.
7542
2784c434
CY
75432011-09-03 Chong Yidong <cyd@stupidchicken.com>
7544
393a301e 7545 * mail/sendmail.el (sendmail-query-once-function): Delete.
2784c434
CY
7546 (sendmail-query-once): Save directly to send-mail-function.
7547 Update message-send-mail-function too.
7548
7549 * mail/smtpmail.el (smtpmail-try-auth-methods): Clarify prompt.
7550
464cdf56
CS
75512011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
7552
7553 * progmodes/python.el (python-mode-map): Use correct function to
7554 start python interpreter from menu-bar (as reported by Geert
7555 Kloosterman).
7556 (inferior-python-mode-map): Fix typo.
393a301e 7557 (python-shell-map): Remove.
464cdf56 7558
d37e5c87
DD
75592011-09-03 Deniz Dogan <deniz@dogan.se>
7560
7561 * net/rcirc.el (rcirc-print): Simplify code for
7562 rcirc-scroll-show-maximum-output. There is no need to walk
7563 through all windows to find the right one.
7564
f3ada0ee
CS
75652011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
7566
7567 * help.el (help-return-method): Doc fix.
7568
1f3c99ca
MR
75692011-09-03 Martin Rudalics <rudalics@gmx.at>
7570
7571 * window.el (window-deletable-p): Don't return a non-nil value
7572 when there's a buffer that was shown in the window before.
7573 (Bug#9419)
393a301e
SM
7574 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
7575 Set window's previous buffers to nil.
1f3c99ca 7576
a3cf097f
EZ
75772011-09-03 Eli Zaretskii <eliz@gnu.org>
7578
7579 * mail/rmailmm.el (rmail-mime-insert-tagline): Insert an extra
7580 newline before and after the tag line, so it doesn't interfere
7581 with determining the paragraph direction of bidirectional text.
7582
3d03de90
LL
75832011-09-03 Leo Liu <sdl.web@gmail.com>
7584
7585 * files.el (find-file-not-true-dirname-list): Remove. (Bug#9422)
7586
c3313451
CY
75872011-09-02 Chong Yidong <cyd@stupidchicken.com>
7588
393a301e 7589 * window.el (pop-to-buffer-1, pop-to-buffer-same-window): Delete.
c3313451
CY
7590 (pop-to-buffer): Change interactive spec. Pass second argument
7591 directly to display-buffer.
7592 (display-buffer): Fix interactive spec. Use functionp to
7593 distinguish between a function and a list of functions.
7594
7595 * abbrev.el (edit-abbrevs):
7596 * arc-mode.el (archive-extract):
7597 * autoinsert.el (auto-insert):
7598 * bookmark.el (bookmark-bmenu-list):
7599 * files.el (find-file):
7600 * view.el (view-buffer):
7601 * progmodes/compile.el (compilation-goto-locus):
7602 * textmodes/bibtex.el (bibtex-initialize): Use switch-to-buffer.
7603
89894cd8
CY
76042011-09-02 Chong Yidong <cyd@stupidchicken.com>
7605
7606 * window.el (display-buffer-alist): Doc fix.
7607 (display-buffer): Add docstring. Don't treat
7608 display-buffer-default specially.
7609 (display-buffer-reuse-selected-window)
7610 (display-buffer-same-window, display-buffer-maybe-same-window)
7611 (display-buffer-reuse-window, display-buffer-pop-up-frame)
7612 (display-buffer-pop-up-window)
7613 (display-buffer-reuse-or-pop-window)
7614 (display-buffer-use-some-window): New functions.
7615 (display-buffer-default-action): Use them.
393a301e 7616 (display-buffer-default): Delete.
89894cd8
CY
7617 (pop-to-buffer-1): Fix choice of actions.
7618
ae0bc9fb
SM
76192011-09-02 Stefan Monnier <monnier@iro.umontreal.ca>
7620
7621 * minibuffer.el (completion--insert-strings): Don't get confused by
7622 completion entries that end with an LF char.
7623
e9d90883
EZ
76242011-09-01 Eli Zaretskii <eliz@gnu.org>
7625
7626 * window.el (frame-auto-delete, window-deletable-p): Doc fix.
7627
437014c8
CY
76282011-09-01 Chong Yidong <cyd@stupidchicken.com>
7629
7630 * window.el (display-buffer): Restore interactive spec.
ae0bc9fb
SM
7631 (display-buffer-same-window, display-buffer-other-window):
7632 New functions.
437014c8
CY
7633 (pop-to-buffer-1): New function. Use the above.
7634 (pop-to-buffer, pop-to-buffer-same-window): Use it.
ae0bc9fb 7635 (pop-to-buffer-other-window, pop-to-buffer-other-frame): Delete.
437014c8
CY
7636
7637 * view.el (view-buffer-other-window, view-buffer-other-frame):
7638 Just use pop-to-buffer.
7639
a5e063d5
TV
76402011-09-01 Thierry Volpiatto <thierry.volpiatto@gmail.com>
7641
7642 * vc/vc-rcs.el (vc-rcs-responsible-p): Handle directories. (Bug#9391)
7643
793d32bb
WH
76442011-09-01 Wilfred Hughes <wilfred@potatolondon.com> (tiny change)
7645
7646 * vc/vc-git.el (vc-git-grep): Use --no-color. (Bug#9408)
7647
d65e4c15
RS
76482011-08-31 Richard Stallman <rms@gnu.org>
7649
7650 * mail/rmail.el (rmail-epa-decrypt): Rewrite to take account
7651 of the separation of rmail-view-buffer from rmail-buffer.
7652 If you say no to "replace original", the decrypt is in the
7653 view buffer. If you say yes, the decrypt goes into the
7654 rmail buffer also.
7655
f818cd2a
MR
76562011-08-31 Martin Rudalics <rudalics@gmx.at>
7657
7658 * window.el (display-buffer-window): Rewrite doc-string.
7659 (display-buffer-record-window): New function.
7660 (display-buffer-macro-specifiers)
7661 (display-buffer-even-window-sizes, display-buffer-set-height)
7662 (display-buffer-set-width, display-buffer-in-window)
7663 (display-buffer-reuse-window, display-buffer-split-specifiers)
7664 (display-buffer-side-specifiers, display-buffer-split-window-1)
7665 (display-buffer-split-window, display-buffer-split-atom-window)
7666 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
7667 (display-buffer-pop-up-side-window, display-buffer-in-side-window)
7668 (display-buffer-other-window-means-other-frame)
7669 (display-buffer-normalize-special)
7670 (display-buffer-normalize-default)
7671 (display-buffer-normalize-argument)
7672 (display-buffer-normalize-alist-1, display-buffer-normalize-alist)
7673 (display-buffer-normalize-specifiers, display-buffer-frame)
7674 (display-buffer-same-window, display-buffer-same-frame)
7675 (display-buffer-other-window)
7676 (display-buffer-same-frame-other-window)
7677 (display-buffer-other-frame, pop-to-buffer-same-window)
7678 (pop-to-buffer-same-frame, pop-to-buffer-other-window)
7679 (pop-to-buffer-same-frame-other-window, pop-to-buffer-other-frame)
7680 (switch-to-buffer-same-frame)
7681 (switch-to-buffer-other-window-same-frame)
7682 (display-buffer-alist-of-strings-p, display-buffer-alist-add)
7683 (display-buffer-alist-set-1, display-buffer-alist-set-2)
7684 (display-buffer-alist-set): Remove.
7685 (display-buffer-function, special-display-buffer-names)
ae0bc9fb
SM
7686 (special-display-regexps, special-display-function):
7687 In doc-string refer to display-buffer-window and quit-restore
f818cd2a
MR
7688 parameter.
7689 (pop-up-frame-alist, pop-up-frame-function, special-display-p)
7690 (special-display-frame-alist, special-display-popup-frame)
7691 (same-window-buffer-names, same-window-regexps, same-window-p)
7692 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
7693 (split-window-preferred-function, split-height-threshold)
7694 (split-width-threshold, window-splittable-p)
7695 (split-window-sensibly, window--try-to-split-window)
7696 (window--frame-usable-p, even-window-heights)
7697 (window--even-window-heights, window--display-buffer-1)
ae0bc9fb
SM
7698 (window--display-buffer-2, display-buffer-other-frame):
7699 Restore old Emacs 23 code, order and doc-strings where applicable.
f818cd2a
MR
7700 (display-buffer-default, display-buffer-assq-regexp): New functions.
7701 (display-buffer-alist): Rewrite doc-string.
7702 (display-buffer-default-action)
7703 (display-buffer-overriding-action): New variables.
7704 (display-buffer, switch-to-buffer): Rewrite.
7705 (pop-to-buffer): Restore Emacs 23 behavior but use
7706 window-normalize-buffer-to-display.
7707 (switch-to-buffer-other-window, switch-to-buffer-other-frame):
7708 Restore Emacs 23 behavior but use
7709 window-normalize-buffer-to-switch-to.
7710 (pop-to-buffer-same-window): Rewrite.
ae0bc9fb
SM
7711 (pop-to-buffer-other-window, pop-to-buffer-other-frame):
7712 Rewrite using Emacs 23 options.
f818cd2a 7713
5bc3b51d
MA
77142011-08-31 Michael Albinus <michael.albinus@gmx.de>
7715
7716 * net/tramp.el (tramp-root-regexp): Remove.
7717 (tramp-completion-file-name-regexp-unified)
7718 (tramp-completion-file-name-regexp-separate)
7719 (tramp-completion-file-name-regexp-url): Don't use leading volume
7720 letter on win32 systems. (Bug#5303, Bug#9311)
ae0bc9fb
SM
7721 (tramp-drop-volume-letter): Simplify definition.
7722 Suggested by Stefan Monnier <monnier@iro.umontreal.ca>.
5bc3b51d 7723
b1a4f8e1
SM
77242011-08-30 Stefan Monnier <monnier@iro.umontreal.ca>
7725
7726 * subr.el (event-modifiers): Fix "missing modifier" part of docstring
7727 (bug#9356).
7728
5664fa7b
RT
77292011-08-30 Reuben Thomas <rrt@sc3d.org> (tiny change)
7730
b1a4f8e1 7731 * vc/pcvs-defs.el (cvs-find-file-and-jump): Docstring typo (bug#9369).
5664fa7b 7732
9a45d6c3
JL
77332011-08-29 Juri Linkov <juri@jurta.org>
7734
7735 * isearch.el (isearch-done): Don't display message "Mark saved"
7736 when arg `edit' is non-nil to prevent its flicker in the echo area.
7737
fb87e0fb
CY
77382011-08-28 Chong Yidong <cyd@stupidchicken.com>
7739
7740 * emacs-lisp/package.el (package-menu-mark-delete): Allow marking
7741 obsolete packages for deletion.
7742
09ac1c2a
CS
77432011-08-28 Christoph Scholtes <cschol2112@googlemail.com>
7744
7745 * help-mode.el (help-mode-map): Add special-mode-map to parent.
5e617bc2 7746 (help-mode): Derive help-mode from special-mode. Don't invoke
09ac1c2a
CS
7747 view-mode from help-mode.
7748 (help-xref-override-view-map): Remove.
7749 (help-make-xrefs): Remove minor-mode-overriding-map-alist since
7750 view-mode is not used anymore.
7751
7a1ff57f
CY
77522011-08-28 Chong Yidong <cyd@stupidchicken.com>
7753
7754 * server.el (server-port): Doc fix.
7755
b9696605
CY
7756 * cus-theme.el (custom-theme-choose-mode): Inherit from
7757 special-mode (Bug#9124).
7758 (custom-theme-choose-mode-map): Add special-mode to parent.
7759
ef8cdf8c
AM
77602011-08-28 Alan Mackenzie <acm@muc.de>
7761
7762 * progmodes/cc-fonts.el
7763 (c-make-font-lock-BO-decl-search-function): New function.
7764 (c-basic-matchers-after - "Fontify the clauses after various
7765 keywords"): Extract the three keyword lists for the 3 erroneous
7766 constructs from the list of four, and use the new function above
7767 in place of an old one.
7768
27de4e20
DD
77692011-08-28 Deniz Dogan <deniz@dogan.se>
7770
7771 * net/rcirc.el (rcirc-insert-prev-input)
7772 (rcirc-insert-next-input): Remove unused argument.
7773
356a3681
SM
77742011-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
7775
7776 * shell.el (shell-parse-pcomplete-arguments): Unquote args (bug#9160).
7777
3fc9b218
AM
77782011-08-27 Alan Mackenzie <acm@muc.de>
7779
7780 * progmodes/cc-menus.el (cc-imenu-c++-generic-expression): Make it
7781 handle function pointer parameters properly.
7782
538a061c
MR
77832011-08-27 Martin Rudalics <rudalics@gmx.at>
7784
7785 * window.el (display-buffer-reuse-window): Fix case where
7786 selected window was reused with non-nil OTHER-WINDOW argument.
7787 (Bug#9381)
7788
35b1c40c
DD
77892011-08-27 Deniz Dogan <deniz@dogan.se>
7790
7791 * net/rcirc.el (rcirc-check-auth-status): Adding support for
7792 oftc's NickServ messages.
7793
2f6a3e79
GM
77942011-08-27 Glenn Morris <rgm@gnu.org>
7795
7796 * saveplace.el (save-place-limit): Make it finite. (Bug#9352)
7797
7254299e
CY
77982011-08-26 Chong Yidong <cyd@stupidchicken.com>
7799
7800 * emacs-lisp/package.el (package-install): Call package-initialize
7801 if called interactively.
7802
f8ccf167
LL
78032011-08-26 Leo Liu <sdl.web@gmail.com>
7804
7805 * emacs-lisp/cl-macs.el (defstruct): Fix format. (Bug#9357)
7806
3e8cd5ce
JL
78072011-08-25 Juri Linkov <juri@jurta.org>
7808
7809 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
7810 `search-whitespace-regexp' (bug#9364).
7811
93eb7113
JL
78122011-08-25 Juri Linkov <juri@jurta.org>
7813
7814 * isearch.el (isearch-edit-string): Let-bind `search-ring' and
7815 `regexp-search-ring' to their global values to protect from
7816 updating by `read-from-minibuffer' (bug#9185).
7817
f65d1611
JL
78182011-08-25 Juri Linkov <juri@jurta.org>
7819
7820 * textmodes/ispell.el (ispell-command-loop): Add newline
7821 at the end of the "Use option `i'..." line.
7822
f1cf7a31
JL
78232011-08-25 Juri Linkov <juri@jurta.org>
7824
7825 * battery.el (display-battery-mode): If `battery-status-function'
7826 or `battery-mode-line-format' is nil, display the message and set
7827 `display-battery-mode' to nil (bug#9363).
7828
0c95fcf7
EZ
78292011-08-25 Eli Zaretskii <eliz@gnu.org>
7830
7831 * buff-menu.el (Buffer-menu-buffer+size): Remove calls to
7832 bidi-string-mark-left-to-right; they are unnecessary now.
7833
a2ebe600
DD
78342011-08-25 Deniz Dogan <deniz@dogan.se>
7835
7836 * net/quickurl.el: Documentation typo fixes.
7837
e4ed06f1
CY
78382011-08-25 Chong Yidong <cyd@stupidchicken.com>
7839
7840 * window.el (bury-buffer, quit-window): Use bury-buffer-internal.
7841
e5f1c99e
GM
78422011-08-25 Glenn Morris <rgm@gnu.org>
7843
b2948976
GM
7844 * emacs-lisp/derived.el (define-derived-mode): Doc fix.
7845
e5f1c99e
GM
7846 * mail/smtpmail.el (smtpmail-smtp-user): Add version: tag.
7847 (smtpmail-via-smtp): Handle nil response from smtp.
7848
f22f4808
JL
78492011-08-24 Juri Linkov <juri@jurta.org>
7850
7851 * proced.el (proced-marked): Inherit from `error' instead of
7852 `font-lock-warning-face'.
7853
7854 * ibuffer.el (ibuffer-marked-face): Change default face from
7855 `font-lock-warning-face' to `warning'.
7856 (ibuffer-deletion-face): Change default face from
7857 `font-lock-type-face' to `error'.
7858
7859 * battery.el (battery-update): Use the face `error' instead of
7860 `font-lock-warning-face' (bug#6117).
7861
6a93965e
JL
78622011-08-24 Juri Linkov <juri@jurta.org>
7863
7864 * faces.el (success): Change face color from "Green3" to
7865 "ForestGreen" on light background (bug#9353).
7866
1ed43b09
CY
78672011-08-24 Chong Yidong <cyd@stupidchicken.com>
7868
5664fa7b
RT
7869 * window.el (quit-window): Rename from quit-restore-window.
7870 Use same arglist as old quit-window.
1ed43b09
CY
7871 (frame-auto-delete): Doc fix.
7872
7873 * view.el (view-mode-exit): Use quit-window.
7874
11dcdbb2
JL
78752011-08-24 Juri Linkov <juri@jurta.org>
7876
7877 * isearch.el (isearch-ring-adjust1): Start visiting previous
7878 search strings from the index 0 (-1 + 1) instead of 1 (0 + 1).
7879 (isearch-repeat, isearch-edit-string): Call `isearch-ring-adjust1'
7880 for empty search string (when the last search string is reused
7881 automatically) to adjust the isearch ring to the last element and
7882 prepare the correct index for further M-p commands (bug#9185).
7883
de62b4df
KH
78842011-08-24 Kenichi Handa <handa@m17n.org>
7885
7886 * international/ucs-normalize.el: If decomposition property of
7887 CHAR is the default one (i.e. a list of CHAR itself), treat it as
7888 nil.
7889 (nfd, nfkd): Likewise.
7890
963b492b
SM
78912011-08-24 Stefan Monnier <monnier@iro.umontreal.ca>
7892
7893 * mpc.el (mpc--proc-filter): Don't signal mpc-proc-error since signals
7894 from process filters aren't reliably transmitted to the surrounding
7895 accept-process-output.
7896 (mpc-proc-check): New function.
7897 (mpc-proc-sync): Use it (bug#8293)
7898
93b6b5e1
SM
78992011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
7900
7901 * emacs-lisp/eieio.el (eieio-defmethod, eieio-defgeneric):
7902 Add compatibility functions (bug#9313).
7903
bca633fb
EZ
79042011-08-23 Eli Zaretskii <eliz@gnu.org>
7905
b177498a
EZ
7906 * cus-start.el (all): Add entry for bidi-paragraph-direction.
7907
6df6ae42 7908 * international/uni-bidi.el: Regenerate.
bca633fb 7909
0902a04e
KH
79102011-08-23 Kenichi Handa <handa@m17n.org>
7911
7912 * international/charprop.el:
7913 * international/uni-bidi.el:
7914 * international/uni-category.el:
7915 * international/uni-combining.el:
7916 * international/uni-comment.el:
7917 * international/uni-decimal.el:
7918 * international/uni-decomposition.el:
7919 * international/uni-digit.el:
7920 * international/uni-lowercase.el:
7921 * international/uni-mirrored.el:
7922 * international/uni-name.el:
7923 * international/uni-numeric.el:
7924 * international/uni-old-name.el:
7925 * international/uni-titlecase.el:
7926 * international/uni-uppercase.el: Regenerate.
7927
3bbf23bc
MR
79282011-08-23 Martin Rudalics <rudalics@gmx.at>
7929
7930 * help.el (help-window-setup): Fix message displayed when other
7931 window is reused. (Bug#9341)
7932
b3fd59bd
SM
79332011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
7934
1802e444
SM
7935 * shell.el (shell-completion-vars): Set pcomplete-arg-quote-list.
7936 * pcomplete.el (pcomplete-quote-argument): Fix thinko (bug#9161).
7937
b3fd59bd
SM
7938 * pcomplete.el (pcomplete-parse-comint-arguments): Fix inf-loop.
7939 Mark obsolete.
7940 * shell.el (shell-parse-pcomplete-arguments): New function.
7941 (shell-completion-vars): Use it instead (bug#9160).
7942
4eb61348
SM
79432011-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
7944
867cab74
SM
7945 * progmodes/sh-script.el (sh-maybe-here-document): Disable magic in
7946 strings and comments (bug#9333).
7947
4eb61348
SM
7948 * emacs-lisp/debug.el (debug-arglist): New function.
7949 (debug-convert-byte-code): Use it. Handle lexical byte-codes.
7950 (debug-on-entry-1): Handle interpreted closures (bug#9120).
7951
262a1439
JL
79522011-08-22 Juri Linkov <juri@jurta.org>
7953
56ee679c
JL
7954 * progmodes/compile.el (compilation-mode-font-lock-keywords):
7955 Revert regexp that highlights output switches to its old
7956 pre-2010-10-28 value and remove one `?' from it (bug#9319).
7957
262a1439
JL
7958 * progmodes/grep.el (grep-process-setup): Use `buffer-modified-p'
7959 to check for empty output (bug#9226).
7960
f13f86fb
CY
79612011-08-22 Chong Yidong <cyd@stupidchicken.com>
7962
7963 * progmodes/scheme.el (scheme-mode-syntax-table): Don't use
7964 symbol-constituent as the default, as that stops font-lock from
7965 working properly (Bug#8843).
7966
c65c9622
LMI
79672011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
7968
7969 * mail/smtpmail.el (smtpmail-via-smtp): Only bind
7970 `coding-system-for-*' around the process open call to avoid
7971 auth-source side effects.
e7f2c178 7972 (smtpmail-try-auth-methods): Expand the secret password.
7185da52
LMI
7973 (smtpmail-query-smtp-server): Allow `quit'-ing out in case the
7974 probe hangs.
c65c9622 7975
23a8a5ab
CY
79762011-08-21 Chong Yidong <cyd@stupidchicken.com>
7977
ff98b2dd
CY
7978 * term.el (term-mouse-paste): Yank primary selection (Bug#6845).
7979
23a8a5ab
CY
7980 * emacs-lisp/find-func.el (find-function-noselect): New arg
7981 lisp-only.
7982
7983 * emacs-lisp/edebug.el (edebug-instrument-function): Use it to
7984 signal an error for built-in functions (Bug#6664).
7985
f5e3c598
LMI
79862011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
7987
7988 * mail/smtpmail.el (smtpmail-smtp-user): New variable.
7989 (smtpmail-try-auth-methods): Use it.
7990
a3f2468a
CY
79912011-08-21 Chong Yidong <cyd@stupidchicken.com>
7992
2c34e8da
CY
7993 * font-lock.el (font-lock-fontify-region)
7994 (font-lock-unfontify-region, font-lock-default-fontify-buffer)
7995 (font-lock-default-unfontify-buffer)
7996 (font-lock-default-fontify-region)
7997 (font-lock-default-unfontify-region): Add docstrings (Bug#8624).
7998
b3fd59bd
SM
7999 * progmodes/compile.el (compilation-error-properties):
8000 Fix confusion between file struct and message struct (Bug#9319).
02e5c89e
CY
8001 (compilation-error-regexp-alist-alist): Fix 2011-05-09 change to
8002 `ant' regexp.
ee31aabc 8003
a3f2468a
CY
8004 * net/browse-url.el (browse-url-firefox): Don't call
8005 browse-url-firefox-sentinel unless using -remote (Bug#9328).
8006
8e999f70
GM
80072011-08-20 Glenn Morris <rgm@gnu.org>
8008
c21a496a
GM
8009 * tutorial.el (help-with-tutorial): Avoid an error on short screens.
8010
59ee0542
GM
8011 * tutorial.el (tutorial--default-keys): Update some default bindings.
8012
8e999f70
GM
8013 * files.el (hack-local-variables): Fully ignore case for "mode:".
8014
e3715033
AM
80152011-08-20 Alan Mackenzie <acm@muc.de>
8016
8017 Resolve invalid use of a regexp in regexp-opt.
8018
4d61f28d
JB
8019 * progmodes/cc-fonts.el (c-complex-decl-matchers): Add in special
8020 detection for a java annotation.
e3715033 8021
4d61f28d 8022 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Add in special
e3715033
AM
8023 detection for a java annotation.
8024
4d61f28d
JB
8025 * progmodes/cc-langs.el (c-prefix-spec-kwds-re): Remove the special
8026 handling for java.
e3715033
AM
8027 (c-modifier-kwds): Remove the regexp "@[A-za-z0-9]+".
8028
04ed2e9c
CY
80292011-08-20 Chong Yidong <cyd@stupidchicken.com>
8030
8031 * startup.el (normal-top-level-add-subdirs-to-load-path): Doc fix
8032 (Bug#9274).
8033
826cee64
AM
80342011-08-20 Alan Mackenzie <acm@muc.de>
8035
58179cce 8036 Fontify CPP expressions correctly when starting in the middle of
826cee64
AM
8037 such a construct. Mainly for when jit-lock etc. starts a chunk
8038 here.
8039
58179cce 8040 * progmodes/cc-fonts.el (c-font-lock-context): New buffer local
826cee64 8041 variable.
58179cce 8042 (c-make-font-lock-search-form): New function, extracted from
826cee64
AM
8043 c-make-font-lock-search-function.
8044 (c-make-font-lock-search-function): Use the above function.
8045 (c-make-font-lock-context-search-function): New function.
8046 (c-cpp-matchers): Enhance the preprocessor expression case with
8047 the above function
8048 (c-font-lock-complex-decl-prepare): Test for being in a CPP form
8049 which takes an expression.
8050
8051 * progmodes/cc-langs.el (c-cpp-expr-intro-re): New lang-variable.
8052
13009bd8
MR
80532011-08-20 Martin Rudalics <rudalics@gmx.at>
8054
8055 * window.el (display-buffer-reuse-window)
8056 (display-buffer-pop-up-window): Don't reuse or split a side
8057 window.
8058
9234ff7f
GM
80592011-08-19 Glenn Morris <rgm@gnu.org>
8060
8061 * files.el (hack-local-variables-prop-line, hack-local-variables):
5e617bc2 8062 Downcase "Mode:". (Bug#9331)
9234ff7f 8063
f635daa1
CY
80642011-08-18 Chong Yidong <cyd@stupidchicken.com>
8065
8066 * international/characters.el: Add L and R categories.
8067
8068 * subr.el (bidi-string-mark-left-to-right): Rename from
8069 string-mark-left-to-right. Use category search.
8070
8071 * buff-menu.el (Buffer-menu-buffer+size): Callers changed.
8072
bc987f8b
JL
80732011-08-18 Juri Linkov <juri@jurta.org>
8074
8075 * faces.el (error, warning, success): New faces with definitions
8076 copied from old default values of `font-lock-warning-face',
8077 `compilation-warning', `compilation-info' (bug#6117).
8078
8079 * font-lock.el (font-lock-warning-face): Inherit from `error'.
8080
8081 * progmodes/compile.el (compilation-error): Inherit from `error'.
8082 (compilation-warning): Inherit from `warning'.
8083 (compilation-info): Inherit from `success'.
8084
8085 * dired.el (dired-marked): Inherit from `warning'.
8086 (dired-flagged): Inherit from `error'.
8087
57173b96
LMI
80882011-08-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
8089
3e79eb87
LMI
8090 * mail/smtpmail.el (auth-source): Require to avoid problems with
8091 binding variables (bug#9298). Also clean up some unused
8092 autoloads.
8093
b3fd59bd
SM
8094 * net/network-stream.el (network-stream-open-starttls):
8095 Support using starttls.el without using gnutls-cli.
57173b96 8096
02b404de
JL
80972011-08-17 Juri Linkov <juri@jurta.org>
8098
8099 * progmodes/grep.el (rgrep): Handle the case when
8100 `grep-find-command' is a cons cell (bug#9278).
8101
8c9177f2
MR
81022011-08-17 Martin Rudalics <rudalics@gmx.at>
8103
8104 * window.el (display-buffer-pop-up-frame): Run frame creation
8105 function with BUFFER current (as special-display-popup-frame
8106 does). Reported by Drew Adams.
8107
3644a0ab
DU
81082011-08-17 Daiki Ueno <ueno@unixuser.org>
8109
8110 * epa-mail.el: Simplify GnuPG group expansion using
8111 epg-expand-group.
8112 (epa-mail-group-alist, epa-mail-group-modtime)
8113 (epa-mail-gnupg-conf-file, epa-mail-parse-groups)
8114 (epa-mail-sync-groups, epa-mail-expand-recipient-1)
8115 (epa-mail-expand-recipients-2, epa-mail-expand-recipients):
8116 Remove.
8117
5e617bc2 81182011-08-16 Feng Li <fengli@gmail.com> (tiny change)
7c643369
FL
8119
8120 * calc/calc-ext.el (math-defintegral-2): Remove nested backquote.
8121
9c4aeabf
AM
81222011-08-16 Alan Mackenzie <acm@muc.de>
8123
8124 * progmodes/cc-engine.el (c-state-cache-non-literal-place):
8125 Correct, to avoid the inside of macros.
8126
3a99bf64
RS
81272011-08-16 Richard Stallman <rms@gnu.org>
8128
04963aa8
RS
8129 * epa-mail.el: Handle GnuPG group definitions.
8130 (epa-mail-group-alist, epa-mail-group-modtime)
8131 (epa-mail-gnupg-conf-file): New variables.
8132 (epa-mail-parse-groups, epa-mail-sync-groups)
8133 (epa-mail-expand-recipient-1, epa-mail-expand-recipients-2)
8134 (epa-mail-expand-recipients): New functions.
8135 (epa-mail-encrypt): Call epa-mail-expand-recipients.
8136
177549d0
RS
8137 * mail/rmail.el (rmail-epa-decrypt): New command.
8138
fe38beef
RS
8139 * epa.el (epa-decrypt-region): New arg MAKE-BUFFER-FUNCTION.
8140 Don't bind buffer-read-only, just inhibit-read-only.
3a99bf64
RS
8141 (epa--find-coding-system-for-mime-charset): Fix the non-xemacs case.
8142 (epa-decrypt-armor-in-region): Make error message clearer.
8143
934eacb9
SM
81442011-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
8145
8146 * minibuffer.el (completion-pcm--merge-completions): Don't merge "a1b"
8147 and "a2b" to "ab" for `prefix'.
8148
d024fb4e
CY
81492011-08-14 Chong Yidong <cyd@stupidchicken.com>
8150
8151 * ibuf-ext.el (ibuffer-filter-disable): New arg for deleting
8152 filter groups.
de148fee
CY
8153 (ibuffer-included-in-filter-p-1): Use it. Suggested by Rafaël
8154 Fourquet (Bug#8804).
d024fb4e 8155
62f1ca49
JB
81562011-08-12 Juanma Barranquero <lekktu@gmail.com>
8157
8158 * startup.el (argi): Declare as global variable (bug#9275).
8159
9ccaaa4b
CY
81602011-08-12 Chong Yidong <cyd@stupidchicken.com>
8161
8162 * subr.el (string-mark-left-to-right): Search the entire string
8163 for RTL script, not just the terminating character. Doc fix.
8164
a3dae87a
SM
81652011-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
8166
6cd18349
SM
8167 * progmodes/js.el (js-syntax-propertize, js-syntax-propertize-regexp):
8168 New function.
8169 (js--regexp-literal, js-syntax-propertize-function): Remove.
8170 (js-mode): Use js-syntax-propertize to handle multilines (bug#9183).
8171 (js-mode-map): Don't rebind electric keys.
8172 (js-insert-and-indent): Remove.
8173 (js-mode): Setup electric-layout and electric-indent instead.
8174
a3dae87a
SM
8175 * epa-file.el (epa-file-select-keys): Revert to nil default (bug#9280).
8176
9d5cb631
DU
81772011-08-12 Daiki Ueno <ueno@unixuser.org>
8178
8179 * epa.el (epa-progress-callback-function): Fix the logic of
8180 displaying progress.
8181 * epa-file.el (epa-file-insert-file-contents): Make progress
8182 display more user-friendly.
8183 (epa-file-write-region): Ditto.
8184
3e26a4a2
CY
81852011-08-10 Chong Yidong <cyd@stupidchicken.com>
8186
8187 * subr.el (string-mark-left-to-right): New function.
8188
8189 * buff-menu.el (Buffer-menu-buffer+size): Remove LRM argument.
8190 Use string-mark-left-to-right.
8191 (list-buffers-noselect): Caller changed.
8192
a3dae87a
SM
8193 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
8194 Use string-mark-left-to-right.
3e26a4a2
CY
8195 (tabulated-list-print): Recenter after moving point.
8196
ac8cf6e6
JL
81972011-08-10 Juri Linkov <juri@jurta.org>
8198
8199 * progmodes/grep.el (rgrep): Don't bind `process-connection-type'.
8200 This finishes incomplete reversion of 2011-06-30T01:09:13Z!larsi@gnus.org
8201 intended by 2011-07-06T15:49:19Z!larsi@gnus.org.
8202
8d96c9a4
CY
82032011-08-09 Chong Yidong <cyd@stupidchicken.com>
8204
8205 * hi-lock.el (hi-lock-unface-buffer): Fix interactive spec
8206 (Bug#7554).
8207
7be1c708 82082011-08-09 Andreas Schwab <schwab@linux-m68k.org>
29bbcfa7
AS
8209
8210 * xt-mouse.el (xterm-mouse-event-read): Try to recover the raw
8211 character. (Bug#6594)
8212
37e11a63
CY
82132011-08-08 Chong Yidong <cyd@stupidchicken.com>
8214
839dde57
CY
8215 * image-dired.el: Don't use find-file for temporary work (Bug#7895).
8216 (image-dired--with-db-file): New macro.
8217 (image-dired-write-tags, image-dired-remove-tag)
8218 (image-dired-create-gallery-lists, image-dired-write-comments)
8219 (image-dired-get-comment, image-dired-mark-tagged-files)
8220 (image-dired-list-tags, image-dired-gallery-generate): Use it.
8221 (image-dired-gallery-generate): Use insert-file-contents.
8222
37e11a63
CY
8223 * time.el (display-time-world-list, display-time-world-display):
8224 * time-stamp.el (time-stamp-string):
8225 * vc/add-log.el (add-change-log-entry): Use setenv instead of
8226 set-time-zone-rule (Bug#7337).
8227
0b4946c4
DU
82282011-08-08 Daiki Ueno <ueno@unixuser.org>
8229
8230 * epg.el (epg--status-KEYEXPIRED, epg--status-KEYREVOKED): Fix typo.
8231 (epg-error-to-string, epg-errors-to-string): New function.
8232 (epg-wait-for-completion): Reverse errors list.
8233 (epg--check-error-for-decrypt, epg-sign-file, epg-sign-string)
8234 (epg-encrypt-file, epg-encrypt-string, epg-export-keys-to-file)
8235 (epg--import-keys-1, epg-receive-keys, epg-delete-keys)
8236 (epg-sign-keys, epg-generate-key-from-file)
8237 (epg-generate-key-from-string): Format errors by using
8238 epg-errors-to-string (bug#9255).
8239 (epg--status-INV_SGNR, epg--status-NO_SGNR): New status handler.
8240
75bfc667
JL
82412011-08-07 Juri Linkov <juri@jurta.org>
8242
8243 * faces.el (list-faces-display): Remove extra angle bracket
8244 from `help-mode-map'.
8245
8246 * info.el (Info-history-toc-nodes): Doc fix.
8247
8248 * longlines.el (longlines-mode): Doc fix.
8249
673e08bb
SM
82502011-08-05 Stefan Monnier <monnier@iro.umontreal.ca>
8251
4640dd88
SM
8252 * progmodes/js.el (js--regexp-literal): Accept regexps at the beginning
8253 of statements and in a few more cases (bug#9183).
8254
673e08bb
SM
8255 * emacs-lisp/cl-macs.el (cl--make-usage-var, cl--make-usage-args):
8256 New functions.
8257 (cl-transform-lambda): Use them (bug#9239).
8258
89b3f019
MR
82592011-08-05 Martin Rudalics <rudalics@gmx.at>
8260
8261 * window.el (display-buffer-same-window)
8262 (display-buffer-same-frame, display-buffer-other-window)
8263 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
8264 (pop-to-buffer-other-window)
8265 (pop-to-buffer-same-frame-other-window)
8266 (pop-to-buffer-other-frame): Make them defuns.
8267 (switch-to-buffer): Don't set LABEL argument of pop-to-buffer.
8268
640c8776
SM
82692011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
8270
8271 * subr.el (make-composed-keymap): Move from C. Change calling
8272 convention, and improve docstring to bring attention to a subtle point.
8273 * minibuffer.el (completing-read-default): Adjust accordingly.
8274
63648a95
MA
82752011-08-03 Michael Albinus <michael.albinus@gmx.de>
8276
8277 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
8278 (tramp-open-shell): Use `tramp-shell-quote-argument'.
8279
8280 * net/trampver.el: Update release number.
8281
b796c9b7
SM
82822011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
8283
8284 * progmodes/sh-script.el (sh-font-lock-paren): Don't mistake "main" for
8285 "in" (bug#9190).
8286
2239d7d5
LMI
82872011-08-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
8288
e07dd7c3
LMI
8289 * mail/sendmail.el (sendmail-query-once): Restore the current
8290 buffer after querying (bug#9074).
8291
0e6a2bd7
LMI
8292 * dired.el (dired-flagged): Use different faces for marked and
8293 flagged files (bug#6117).
8294
ce887515
LMI
8295 * emacs-lisp/cl-macs.el (dolist): Mention that there's a nil block
8296 (bug#4433).
8297
92f2affc
LMI
8298 * ido.el (ido-mode): Switch off the message if called
8299 non-interactively.
8300
57d5aff0
LMI
8301 * mail/smtpmail.el (smtpmail-query-smtp-server): Try port 25
8302 before 587, since it appears that that's more likely to work for
8303 more people.
8304
98cd6c18 8305 * cus-edit.el (custom-file): When running under emacs -q, always
e1dbe924 8306 refuse to save the customizations, even if the .emacs file doesn't
98cd6c18
LMI
8307 exist.
8308
b96dec83
LMI
8309 * info.el: Remove the `Info-beginning-of-buffer' function
8310 (bug#8325).
8311
b796c9b7
SM
8312 * net/network-stream.el (network-stream-open-starttls):
8313 Use `starttls-available-p' to see whether starttls.el can be used.
2239d7d5 8314
d90e2ea0
MR
83152011-08-01 Martin Rudalics <rudalics@gmx.at>
8316
8317 * window.el (display-buffer-in-window): Don't set dedicated status
8318 of window here (Bug#9215).
8319 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
8320 (display-buffer-pop-up-side-window)
b796c9b7 8321 (display-buffer-in-side-window): Set dedicated status of window here.
d90e2ea0 8322
cca09170
SM
83232011-08-01 Stefan Monnier <monnier@iro.umontreal.ca>
8324
8325 * emacs-lisp/package.el (package-generate-autoloads): Load autoloads
8326 before binding generated-autoload-file.
8327
027b979c
DD
83282011-08-01 Deniz Dogan <deniz@dogan.se>
8329
8330 * net/rcirc.el (rcirc-handler-333): Clarify docstring.
8331
3c7ee4f3
MA
83322011-07-30 Michael Albinus <michael.albinus@gmx.de>
8333
8334 Sync with Tramp 2.2.2.
8335
8336 * net/trampver.el: Update release number.
8337
2cc8e51a
JL
83382011-07-30 Juri Linkov <juri@jurta.org>
8339
8340 * dired-aux.el (dired-touch-initial): Remove function.
8341 (dired-do-chxxx): For op-symbol `touch', set `initial' to the
8342 current time, and `default' to the last modification time of the
8343 current marked file (bug#6887).
8344
a514d856
JM
83452011-07-28 Jose E. Marchesi <jemarch@gnu.org>
8346
8347 * simple.el (goto-line): Use string-to-number to provide a
2cc8e51a 8348 numeric argument to read-number (bug#9163).
a514d856 8349
8a7eddd7
MA
83502011-07-27 Michael Albinus <michael.albinus@gmx.de>
8351
8352 * net/tramp-sh.el (tramp-maybe-send-script): Don't let-bind the
8353 connection process, it could be nil.
8354
1ddd96f5
LL
83552011-07-27 Leo Liu <sdl.web@gmail.com>
8356
8357 Simplify url handling in rcirc-mode.
8358
8359 * net/rcirc.el (rcirc-browse-url-map, rcirc-browse-url-at-point)
8360 (rcirc-browse-url-at-mouse): Remove.
8361 * net/rcirc.el (rcirc-markup-urls): Use `make-button'.
8362
b248a85d
AM
83632011-07-26 Alan Mackenzie <acm@muc.de>
8364
8365 Fontify bitfield declarations properly.
8366
8367 * progmodes/cc-langs.el (c-has-bitfields): New lang variable.
8368 (c-symbol-chars): Now exported as a lang variable.
8369 (c-not-primitive-type-keywords): New lang variable.
8370
8371 * progmodes/cc-fonts.el (c-font-lock-declarations): Jump over the
8372 QT keyword "more" to prevent "more slots: ...." being spuriously
58179cce 8373 parsed as a bitfield declaration.
b248a85d 8374
b796c9b7
SM
8375 * progmodes/cc-engine.el (c-beginning-of-statement-1):
8376 Refactor and enhance to handle bitfield declarations.
b248a85d
AM
8377 (c-punctuation-in): New function.
8378 (c-forward-decl-or-cast-1): Enhance CASE 3 to handle bitfield
8379 declarations properly.
8380
68575ab0
UJ
83812011-07-26 Ulf Jasper <ulf.jasper@web.de>
8382
8383 * calendar/icalendar.el (icalendar--all-events): Take care of
8384 multiple vcalendars in a single file.
b796c9b7 8385 (icalendar--convert-float-to-ical): Checkdoc fixes.
68575ab0 8386
0f0a88b9
DD
83872011-07-25 Deniz Dogan <deniz@dogan.se>
8388
8389 * image.el (insert-image): Clarifying docstring.
8390
0b3f36df
MA
83912011-07-24 Michael Albinus <michael.albinus@gmx.de>
8392
8393 * net/tramp-sh.el (tramp-barf-unless-okay): Return the value of
8394 `tramp-send-command-and-check' if there is no error.
8395 (tramp-send-command-and-read): Suppress *all* errors if NOERROR.
8396
a9901f61
AM
83972011-07-22 Alan Mackenzie <acm@muc.de>
8398
8399 Prevent cc-langs.elc being loaded at run time.
8400
8401 * progmodes/cc-mode.el: Remove two autoload forms which loaded
8402 cc-langs.
8403
4d61f28d 8404 * progmodes/cc-langs.el (c-make-init-lang-vars-fun): Don't emit
a9901f61
AM
8405 "(require 'cc-langs)". Quote a form so it will evaluate at
8406 (cc-mode's) compilation time.
8407
11d074b2
MA
84082011-07-22 Michael Albinus <michael.albinus@gmx.de>
8409
8410 * net/tramp.el (tramp-file-name-handler): Avoid recursive
8411 loading. (Bug#9114)
8412
938b94c8
MR
84132011-07-21 Martin Rudalics <rudalics@gmx.at>
8414
8415 * window.el (display-buffer-pop-up-window)
8416 (display-buffer-pop-up-side-window)
8417 (display-buffer-in-side-window): Call display-buffer-set-height
8418 and display-buffer-set-width after setting the new window's
b796c9b7 8419 buffer so `fit-window-to-buffer' and friends work on the right buffer.
938b94c8 8420
bfa4f190
SS
84212011-07-20 Sam Steingold <sds@gnu.org>
8422
8423 * progmodes/etags.el (etags-file-of-tag, etags-tags-table-files)
8424 (etags-tags-included-tables): Call `convert-standard-filename' on
8425 the file names contained in TAGS so that windows Emacs can handle
8426 TAGS files created by cygwin ctags.
8427
8ca42262
LMI
84282011-07-20 Lars Magne Ingebrigtsen <larsi@gnus.org>
8429
8430 * proced.el (proced-update): Revert yesterday's bug#1779 patch,
8431 which apparently didn't work.
8432
5db2afd2 84332011-07-19 Roland Winkler <winkler@gnu.org>
2ecab2b5 8434
5db2afd2
RW
8435 * proced.el (proced-send-signal): For *Marked Processes* buffer
8436 put point at beginning of buffer.
8437
92e15d10
SB
84382011-07-19 Stephen Berman <stephen.berman@gmx.net>
8439
8440 * proced.el (proced-format): Make header lines align with the text
8441 (bug#1779).
8442
1bfd59e5
LMI
84432011-07-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
8444
8445 * view.el (view-buffer): Allow running in `special' modes if we're
8446 visiting a file (bug#8615).
8447
f5aae37c
MR
84482011-07-19 Martin Rudalics <rudalics@gmx.at>
8449
8450 * window.el (display-buffer-alist-of-strings-p)
b796c9b7
SM
8451 (display-buffer-alist-set-1, display-buffer-alist-set-2):
8452 New functions.
f5aae37c
MR
8453 (display-buffer-alist-set): Rewrite to handle Emacs 23 options
8454 more accurately.
8455
bf2c1571
AM
84562011-07-18 Alan Mackenzie <acm@muc.de>
8457
8458 Fontify declarators properly when, e.g., a jit-lock chunk begins
8459 inside a declaration.
8460
8461 * progmodes/cc-langs.el (c-symbol-chars): Correct a typo.
8462
b796c9b7
SM
8463 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
8464 New function.
bf2c1571
AM
8465 (c-complex-decl-matchers): Insert reference to
8466 c-font-lock-enclosing-decls.
8467
8468 * progmodes/cc-engine.el (c-backward-single-comment):
8469 (c-backward-comments): Bind open-paren-in-column-0-is-defun-start
8470 to nil around calls to (forward-comment -1).
8471
4e190b80
LMI
84722011-07-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
8473
12dc863d
LMI
8474 * image.el (put-image): Doc typo fix.
8475
a762e966
LMI
8476 * progmodes/etags.el (tags-search): Doc typo fix.
8477
4e190b80
LMI
8478 * mail/smtpmail.el (smtpmail-via-smtp): Query the user for
8479 password if we get errors 550 to 554.
8480
f019fb21
LMI
84812011-07-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
8482
b796c9b7 8483 * net/gnutls.el (gnutls-log-level): Remove.
750c33f7 8484
81746738
LMI
8485 * textmodes/fill.el (adaptive-fill-regexp): Include EN DASH as an
8486 indentation character (bug#6380).
8487
3ee3a1b5
LMI
8488 * files.el (buffer-offer-save): Made permanently local (bug#6241).
8489
c82f64de
LMI
8490 * doc-view.el (doc-view-make-safe-dir): Rewrite the error message
8491 to clarify what the problem is (bug#4291).
8492
f019fb21
LMI
8493 * simple.el (current-kill): Clarify what
8494 `interprogram-paste-function' does (bug#7500).
ca425c7c
LMI
8495 (auto-fill-mode): Document `auto-fill-function' in relation to
8496 `auto-fill-mode' (bug#2470).
f019fb21 8497
0794775d
LM
84982011-07-16 Lawrence Mitchell <wence@gmx.li>
8499
8500 * emacs-lisp/cl-macs.el (defstruct): Ignore argument to setf
8501 method if slot is read-only (bug#9035).
8502
be39b8cc
MR
85032011-07-16 Martin Rudalics <rudalics@gmx.at>
8504
b796c9b7 8505 * frame.el (select-frame-set-input-focus): New argument NORECORD.
be39b8cc 8506 * window.el (pop-to-buffer): Select window used even if it was
b796c9b7
SM
8507 selected before, see discussion of (Bug#8615), (Bug#6954).
8508 Pass argument NORECORD on to select-frame-set-input-focus.
be39b8cc 8509
6ccf7859
GM
85102011-07-15 Glenn Morris <rgm@gnu.org>
8511
8512 * subr.el (read-char-choice): Allow quitting. (Bug#9001)
03ea5b87 8513 Respect help-form.
6ccf7859 8514
87e86684
LM
85152011-07-09 Lawrence Mitchell <wence@gmx.li>
8516
8517 * net/gnutls.el (gnutls-min-prime-bits): New variable.
8518 (gnutls-negotiate): Use it.
8519
d6066239
LMI
85202011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
8521
b796c9b7
SM
8522 * net/gnutls.el (gnutls-negotiate):
8523 Upcase `gnutls-algorithm-priority'.
d6066239 8524
bd23ebc0
GM
85252011-07-15 Glenn Morris <rgm@gnu.org>
8526
c65bca65
GM
8527 * jka-compr.el (jka-compr-verbose): Move from here...
8528 * jka-cmpr-hook.el (jka-compr-verbose): ... to here. (Bug#9090)
8529 Add missing :version tag.
8530 * info.el: No need to require jka-compr when compiling.
bd23ebc0 8531
478615cc
LMI
85322011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
8533
7b41decb
LMI
8534 * net/gnutls.el (gnutls-algorithm-priority): New variable.
8535 (gnutls-negotiate): Use it.
8536
dbc44fcd
LMI
8537 * emacs-lisp/cl-macs.el (declare): Link to the "Declarations" node.
8538
06789f97
LMI
8539 * info.el (Info-beginning-of-buffer): New command.
8540 (Info-mode-map): Use it instead of `beginning-of-buffer' to allow
8541 announcing `b' as the key (bug#8325).
ab896c37 8542 (Info-mode-menu): Use `Info-beginning-of-buffer' for consistency.
06789f97 8543
c39da690
LMI
8544 * emacs-lisp/cl-macs.el (declare): Doc string fix-up.
8545
3aa5f34b
LMI
8546 * international/mule-cmds.el
8547 (describe-specified-language-support): Make the error message
8548 clearer (bug#8905).
8549
4bf0979f
LMI
8550 * emacs-lisp/cl-macs.el (declare): Add a doc string (bug#8690).
8551
478615cc
LMI
8552 * isearch.el (isearch-barrier): Add a doc string, since it's
8553 mentioned in a function doc string (bug#8678).
8554
75c68aa1
MR
85552011-07-15 Martin Rudalics <rudalics@gmx.at>
8556
8557 * window.el (switch-to-buffer): Call pop-to-buffer with normalized
8558 buffer argument (Bug#9083) and self-identifying label argument.
8559
a7c33da2
GM
85602011-07-15 Glenn Morris <rgm@gnu.org>
8561
8562 * emacs-lisp/debug.el (debug): Doc fix. (Bug#8273)
8563
2f5c6024
LMI
85642011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
8565
8566 * man.el (Man-fontify-manpage): Fix message when formatting the
8567 man page (bug#7929).
8568
0bb23927 85692011-07-14 Eli Zaretskii <eliz@gnu.org>
cce4b0a7
EZ
8570
8571 * buff-menu.el (Buffer-menu-buffer+size): Accept an additional
8572 argument LRM; if non-nil, append an invisible LRM character to the
8573 buffer name.
8574 (list-buffers-noselect): Call Buffer-menu-buffer+size with the
8575 last argument non-nil, when formatting buffer names.
0bb23927
EZ
8576 (Buffer-menu-mode, list-buffers-noselect): Force left-to-right
8577 paragraph direction.
cce4b0a7 8578
621ef9ab
LMI
85792011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
8580
d1583c48
LMI
8581 * man.el (Man-bgproc-sentinel): Skip any arguments and only output
8582 the man page name (bug#7929).
8583
6a57fb5f
LMI
8584 * image.el (put-image): Mention the `put-image' overlay property
8585 (bug#7834).
8586
d7956b14
LMI
8587 * scroll-bar.el (set-scroll-bar-mode): Mention that
8588 `scroll-bar-mode' lists the values (bug#7772).
8589
5b2d4a66
LMI
8590 * image-mode.el (image-mode-fit-frame): Mention that it's a toggle
8591 command (bug#7729).
8592
7509a874
LMI
8593 * rect.el (apply-on-rectangle): Return the point after the last
8594 operation.
8595 (string-rectangle): Go to the point after the last operation
8596 (bug#7522).
8597
4fe74b19
LMI
8598 * printing.el (pr-toggle-region): Clarify the documentation
8599 slightly (bug#7493).
8600
b796c9b7
SM
8601 * time.el (display-time-update):
8602 Allow `display-time-mail-function' to return nil (bug#7158).
8603 Fix suggested by Detlev Zundel.
ab283561 8604
fc233c9d
LMI
8605 * vc/diff.el (diff): Clarify the order the file names are read
8606 (bug#7111).
8607
43f5740b
LMI
8608 * mouse.el (mouse-set-region): Link to `mouse-drag-copy-region' in
8609 the doc string (bug#7015).
8610
f2182a76
LMI
8611 * font-lock.el (font-lock-maximum-decoration): Mention what
8612 numeric levels mean (bug#6935).
8613
621ef9ab
LMI
8614 * startup.el (initial-buffer-choice): Don't mention the `none'
8615 selection, which is against policy.
8616
adc47434
MR
86172011-07-14 Martin Rudalics <rudalics@gmx.at>
8618
b796c9b7
SM
8619 * window.el (display-buffer-normalize-special):
8620 Replace `dedicated' by `dedicate' to dedicate window (Bug#9072).
adc47434 8621
7e5bfb8f
EZ
86222011-07-14 Eli Zaretskii <eliz@gnu.org>
8623
8624 * subr.el (version<, version<=, version=): Mention "-CVS" and
8625 "-12345" alpha version numbers.
8626
27fa387a
CY
86272011-07-14 Chong Yidong <cyd@stupidchicken.com>
8628
8629 * bindings.el: Add advertised binding for set-mark-command
8630 (Bug#5772).
8631
8bdfa064
CY
86322011-07-14 Chong Yidong <cyd@stupidchicken.com>
8633
8634 * bindings.el (mode-line-other-buffer):
8635 * bookmark.el (bookmark-bmenu-2-window):
8636 * bs.el (bs-cycle-next, bs-cycle-previous):
8637 * net/tramp-cmds.el (tramp-append-tramp-buffers): Revert to using
8638 switch-to-buffer.
8639
8640 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
b796c9b7 8641 Delete.
8bdfa064 8642
5eba16a3
JB
86432011-07-14 Juanma Barranquero <lekktu@gmail.com>
8644
8645 * follow.el (follow-debug-message, follow-redisplay):
8646 * jka-cmpr-hook.el (with-auto-compression-mode):
8647 Fix typos in docstrings.
8648
15853710
LMI
86492011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
8650
a28e4607
LMI
8651 * subr.el (with-silent-modifications): Clarify somewhat what the
8652 macro inhibits (bug#6525).
8653
15853710
LMI
8654 * simple.el (eval-expression): Note what it does if called
8655 interactively (bug#6495).
8656
bee0fcef
CY
86572011-07-13 Chong Yidong <cyd@stupidchicken.com>
8658
b796c9b7
SM
8659 * window.el (switch-to-buffer): New arg FORCE-SAME-WINDOW.
8660 Use pop-to-buffer buffer-or-name if it is nil.
bee0fcef
CY
8661
8662 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
8663 Remove switch-to-buffer.
8664
58274504
LMI
86652011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
8666
bd2fcc8d
LMI
8667 * files.el (make-directory): Clarify that an error will be raised
8668 if there's an error (bug#6397).
8669
0f04b32c
LMI
8670 * startup.el (initial-buffer-choice): Add `none' as a choice
8671 (bug#6234).
8672
465c5fc8
LMI
8673 * subr.el (add-hook): Clarify section about buffer-local hooks
8674 (bug#6218).
8675
58274504
LMI
8676 * dired.el (dired-flagged): Clarify doc string (bug#6117).
8677
bead9a43
JB
86782011-07-13 Juanma Barranquero <lekktu@gmail.com>
8679
8680 * tabify.el (untabify): Preserve the current column so that point
8681 doesn't move (bug#6032).
8682
3af98a7b
LMI
86832011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
8684
b796c9b7
SM
8685 * progmodes/cperl-mode.el (cperl-syntaxify-by-font-lock):
8686 Rewrite to avoid awkward possessive "s" (bug#5986).
3af98a7b 8687
6240145a
GM
86882011-07-13 Glenn Morris <rgm@gnu.org>
8689
8690 * dired.el (dired-use-ls-dired): Doc fix. (Bug#9039).
8691 (dired-insert-directory): Give a message the first time
8692 if ls is found not to support --dired.
8693
1d8c2ccc
LMI
86942011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
8695
8696 * simple.el (toggle-truncate-lines): Clarify what is toggled
8697 (bug#5580). Text by Drew Adams.
8698
5fc4038e
CY
86992011-07-13 Chong Yidong <cyd@stupidchicken.com>
8700
8701 * simple.el (blink-matching-open): Make the error message from the
8702 last change less verbose.
8703
bf6012e5
DN
87042011-07-13 Dan Nicolaescu <dann@ics.uci.edu>
8705
8706 * font-lock.el (font-lock-comment-face): Use the high contrast
8707 "yellow" color for font-lock-comment-face on low color terminals
8708 using a dark background color (bug#4221).
8709
343c3b5a
LMI
87102011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
8711
7e9505c5
LMI
8712 * dired.el (dired-insert-set-properties): Make the doc string
8713 reflect what it does now (bug#5325).
8714
c26fdcf5
LMI
8715 * simple.el (blink-matching-open): Say that we were unable to find
8716 the match within the limit, if we're limited (bug#5122).
8717
bb388cc5
LMI
8718 * international/mule-cmds.el (prefer-coding-system): Add an
8719 example (bug#4869).
8720
343c3b5a
LMI
8721 * progmodes/etags.el (tags-search): Document `file-list-form'
8722 (bug#4731).
8723
2a517d45
LM
87242011-07-13 Lawrence Mitchell <wence@gmx.li>
8725
8726 * net/browse-url.el (browse-url-default-browser)
8727 (browse-url-browser-function): Make the default browser choice a
8728 bit more logical (bug#4300). Also clean up the doc string.
8729
b6c78ef2
JB
87302011-07-13 Juanma Barranquero <lekktu@gmail.com>
8731
8732 * bindings.el (completion-ignored-extensions): Add OpenMCL/Clozure
8733 binary endings (bug#4440).
8734
1c4dd947
LMI
87352011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
8736
a2014063
LMI
8737 * info.el (info-insert-file-contents): Inhibit jka-compr messages,
8738 which can be pretty annoying (bug#8971).
8739
9c9c2d88
LMI
8740 * jka-compr.el (jka-compr-verbose): New variable, and use
8741 throughout (bug#8971).
8742
1c4dd947
LMI
8743 * info.el (Info-find-file): Fall back on the installation
8744 directory if we can't find the info node anywhere else.
8745
a1c9f41b
SO
87462011-07-13 Sergei Organov <osv@javad.com> (tiny change)
8747
8748 * vc/vc.el (vc-revert-file):
8749 Don't set file time-stamp in the past. (Bug#5181)
8750
536f3d36
LMI
87512011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
8752
7152b011
LMI
8753 * files.el (after-find-file): Give a better error message when
8754 trying to find a symlink that points to a file that doesn't exist
8755 (bug#4398).
8756
536f3d36
LMI
8757 * progmodes/cc-vars.el: Remove (probably) misleading comment
8758 (bug#4396).
8759
460c0fba
JB
87602011-07-12 Johan Bockgård <bojohan@gnu.org>
8761
8762 * mouse-sel.el (mouse-sel-primary-overlay): Use the `region' face.
8763
7a6bda45
CY
87642011-07-12 Chong Yidong <cyd@stupidchicken.com>
8765
8766 * mouse-sel.el: Hack restoring functionality, while keeping
8767 compatibility with 2010-07-03 changes to mouse selection.
8768 (mouse-sel-primary-overlay): New var.
8769 (mouse-sel-selection-alist): Use it.
8770 (mouse-sel-mode): Doc fix; remove points that are default features
8771 of mouse.el.
8772
c79598ef
JB
87732011-07-12 Johan Bockgård <bojohan@gnu.org>
8774
8775 * progmodes/compile.el (compilation-error-regexp-alist-alist):
8776 Fix previous fix (bug#2490).
8777
ff8be6ef
RW
87782011-07-12 Roland Winkler <winkler@gnu.org>
8779
b796c9b7
SM
8780 * textmodes/bibtex.el (bibtex-initialize):
8781 Use pop-to-buffer-same-window.
ff8be6ef
RW
8782 (bibtex-search-entries): Fix interactive call.
8783
296ba3ee
LMI
87842011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
8785
f5242a02 8786 * progmodes/compile.el (compilation-error-regexp-alist-alist):
b796c9b7
SM
8787 Fontise bytecomp Error lines more correctly (bug#2490).
8788 Fix suggested by Johan Bockgård.
f5242a02 8789
296ba3ee
LMI
8790 * subr.el (remove-duplicates): Remove; `delete-dups' is sufficient.
8791
8792 * dired-x.el (dired-guess-default): Use `delete-dups'.
8793
f69fd0d2
CY
87942011-07-12 Chong Yidong <cyd@stupidchicken.com>
8795
8796 * dired.el (dired-mark-prompt):
8797 * dired-aux.el (dired-read-shell-command): Doc fix.
8798
eab5dc07
LMI
87992011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
8800
b796c9b7
SM
8801 * mail/sendmail.el (sendmail-query-once):
8802 Use `customize-save-variable' unconditionally, now that it works under
9988520a
LMI
8803 emacs -Q.
8804
8805 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
8806
eab5dc07
LMI
8807 * cus-edit.el (custom-file): Take an optional no-error variable.
8808 (customize-save-variable): Set the variable, and give a warning if
8809 running under "emacs -q".
8810
a1e65d42
JB
88112011-07-11 Juanma Barranquero <lekktu@gmail.com>
8812
8813 * loadhist.el (unload-feature-special-hooks):
8814 Add `auto-coding-functions', `fill-nobreak-predicate' and
8815 `find-directory-functions' (bug#5327).
8816
1d52da10
LMI
88172011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
8818
be958f1d
LMI
8819 * vc/ediff.el (ediff-patch-file): Clarify doc string (bug#3138).
8820
5bedb26c
LMI
8821 * cus-edit.el (custom-guess-name-alist): -alist variables should
8822 use the `alist' type (bug#3120). Suggested by Drew Adams.
8823
1d52da10
LMI
8824 * printing.el: Add documentation to all the `pr-toggle-' commands.
8825
cd394be1 88262011-07-11 Leo Liu <sdl.web@gmail.com>
481a51b6
LL
8827
8828 * files.el (toggle-read-only): Only do the `C-x C-q' warning on VC
8829 backends where it makes sense (bug#2623).
8830
dcc88d8a
LMI
88312011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
8832
c3de9feb
LMI
8833 * dired-x.el (dired-guess-default): Remove duplicate shell command
8834 entries (bug#2028).
8a93078b 8835 (dired-guess-default): Fix grammar in doc string (bug#2028).
eea84fe5 8836 (dired-guess-shell-alist-user): Clarify the example a bit (bug#2030).
c3de9feb 8837
dcc88d8a
LMI
8838 * subr.el (remove-duplicates): New conveniency function.
8839
505e3645
LMI
88402011-07-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
8841
8842 * tool-bar.el (tool-bar-mode): Clarify positive/negative arguments
8843 (bug#1526).
8844
88452011-07-10 Martin Rudalics <rudalics@gmx.at>
8846
8847 * window.el (display-buffer-normalize-default): Don't invert
8848 meaning of even-window-heights. Reported by Eli Zaretskii
8849 <eliz@gnu.org>.
8850
455e4fa1
BR
88512011-07-10 Bob Rogers <rogers@rgrjr.dyndns.org>
8852
8853 * vc/vc.el (vc-diff-internal): Fix race condition (Bug#1256).
8854
8e0bc3e9
CY
88552011-07-10 Chong Yidong <cyd@stupidchicken.com>
8856
8857 * window.el (display-buffer): Fix arguments to
8858 display-buffer-reuse-window in last change.
8859
fa7c3228
CY
8860 * faces.el (link): Use a less saturated blue on light backgrounds.
8861
8862 * startup.el (fancy-startup-text, fancy-about-text)
8863 (fancy-startup-tail): Use font-lock faces, for background safety.
8864
c0a7f300
BN
88652011-07-09 Bob Nnamtrop <bobnnamtrop@gmail.com> (tiny change)
8866
b796c9b7
SM
8867 * emulation/viper-cmd.el (viper-change-state-to-vi):
8868 Limit triggering of abbrev expansion (Bug#9038).
c0a7f300 8869
4dc2a129
MR
88702011-07-09 Martin Rudalics <rudalics@gmx.at>
8871
8872 * window.el (display-buffer-default-specifiers): Remove.
8873 (display-buffer-macro-specifiers): Remove default specifiers.
8874 (display-buffer-alist): Default to nil.
b796c9b7 8875 (display-buffer-reuse-window): New optional argument other-window.
4dc2a129
MR
8876 (display-buffer-pop-up-window): Allow splitting internal
8877 windows. Check whether a live window was created.
8878 (display-buffer-other-window-means-other-frame)
8879 (display-buffer-normalize-arguments): Rename to
8880 display-buffer-normalize-argument and rewrite. Set the
8881 other-window specifier.
8882 (display-buffer-normalize-special): New function.
8883 (display-buffer-normalize-options): Rename to
8884 display-buffer-normalize-default and rewrite.
8885 (display-buffer-normalize-options-inhibit): Remove.
8886 (display-buffer-normalize-specifiers): Rewrite.
8887 (display-buffer): Process other-window specifier and call
8888 display-buffer-reuse-window with it. Emulate Emacs 23 behavior
8889 more faithfully.
b796c9b7 8890 (pop-up-windows, even-window-heights): Restore Emacs 23 default values.
4dc2a129 8891 (display-buffer-alist-set): Don't handle 'unset default values.
b796c9b7
SM
8892 (display-buffer-in-window, display-buffer-alist-set):
8893 Replace symbol "dedicated" by "dedicate". Reported by Tassilo Horn
4dc2a129
MR
8894 <tassilo@member.fsf.org>.
8895
2d43b8c9
LL
88962011-07-09 Leo Liu <sdl.web@gmail.com>
8897
8898 * register.el (insert-register): Restore accidental change on
8899 2011-06-26. (Bug#9028)
8900
7f9b7c53
GM
89012011-07-09 Glenn Morris <rgm@gnu.org>
8902
8903 * subr.el (remq): Handle the empty list. (Bug#9024)
8904
f042cfd8
AS
89052011-07-08 Andreas Schwab <schwab@linux-m68k.org>
8906
8907 * mail/sendmail.el (send-mail-function): No longer delay custom
8908 initialization.
8909 * custom.el (custom-initialize-delay): Doc fix.
8910
856b2f11
SM
89112011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
8912
8913 * abbrev.el (expand-abbrev): Try to preserve point (bug#5805).
8914
afae1d68
MA
89152011-07-08 Michael Albinus <michael.albinus@gmx.de>
8916
8917 * net/tramp-sh.el (tramp-sh-handle-start-file-process): Use a
8918 human-friendly prompt.
8919
0757af94
SM
89202011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
8921
8922 * vc/vc-bzr.el (vc-bzr-revision-keywords): Remove svn, it's only
8923 provided by a particular plugin.
8924
d760b731
LMI
89252011-07-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
8926
8927 * mail/sendmail.el (sendmail-query-once): If we aren't allowed to
8928 save customizations (with "emacs -Q"), just set the variable
8929 instead of erroring out.
8930
8931 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
8932
cd79ce90
JL
89332011-07-08 Juri Linkov <juri@jurta.org>
8934
8935 * arc-mode.el (archive-zip-expunge, archive-zip-update)
8936 (archive-zip-update-case): Use 7z if found by `executable-find'.
8937 The order of searching the available programs is the same as in
8938 `archive-zip-extract' (bug#8968).
8939
14cc04aa
CY
89402011-07-07 Chong Yidong <cyd@stupidchicken.com>
8941
8942 * menu-bar.el (menu-bar-line-wrapping-menu): Revert last change.
8943 (menu-bar-options-menu): Tweak descriptions.
8944
0a1848ec
LMI
89452011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
8946
8947 * menu-bar.el (menu-bar-line-wrapping-menu): Make all the Options
8948 menu items into verb phrases (bug#1421). Also refill to fit under
8949 80 columns.
8950
f5bd0689
CY
89512011-07-07 Chong Yidong <cyd@stupidchicken.com>
8952
538e85c6
CY
8953 * info.el (info, Info-read-node-name-2, Info-read-node-name-1)
8954 (Info-read-node-name): Doc fix (Bug#1084).
8955
f5bd0689
CY
8956 * thingatpt.el (forward-thing, bounds-of-thing-at-point)
8957 (thing-at-point, beginning-of-thing, end-of-thing, in-string-p)
8958 (end-of-sexp, beginning-of-sexp)
8959 (thing-at-point-bounds-of-list-at-point, forward-whitespace)
8960 (forward-symbol, forward-same-syntax, word-at-point)
8961 (sentence-at-point): Doc fix (Bug#1144).
8962
56ec5115
LMI
89632011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
8964
f3f8e37f
LMI
8965 * info.el (Info-mode-map): Remove S-TAB binding, since [backtab]
8966 should cover it (bug#1281).
8967
0757af94 8968 * cus-edit.el (custom-show): Mark as obsolete.
af0905c8 8969
e9fce1ac 8970 * net/network-stream.el (network-stream-open-starttls): If GnuTLS
12b9eb35
LMI
8971 negotiation fails, then possibly try again with a non-encrypted
8972 connection (bug#9017).
8973
56ec5115
LMI
8974 * mail/smtpmail.el (smtpmail-stream-type): Note that `plain' can
8975 be used.
8976
c2f9aec8
RS
89772011-07-07 Richard Stallman <rms@gnu.org>
8978
8979 * mail/rmail.el (rmail-next-error-move): Use `compilation-message'
8980 property, and handle its changed format.
8981 Look for the correct line number.
8982 Use file's line contents (but not past first =) to find
8983 correct line in message.
8984
ef7b981d 89852011-07-07 Kenichi Handa <handa@m17n.org>
c805dec0
KH
8986
8987 * international/characters.el (build-unicode-category-table):
8988 Delete it.
0757af94 8989 (unicode-category-table): Set it by unicode-property-table-internal.
c805dec0 8990
0757af94 8991 * international/mule-cmds.el (char-code-property-alist): Move to
c805dec0
KH
8992 to src/chartab.c.
8993 (get-char-code-property): Call unicode-property-table-internal to
8994 load a file. Call get-unicode-property-internal where necessary.
8995 (put-char-code-property): Call unicode-property-table-internal to
8996 load a file. Call put-unicode-property-internal where necessary.
8997 put-unicode-property-internal where necessary.
0757af94
SM
8998 (char-code-property-description):
8999 Call unicode-property-table-internal to load a file.
c805dec0
KH
9000
9001 * international/charprop.el:
9002 * international/uni-bidi.el:
9003 * international/uni-category.el:
9004 * international/uni-combining.el:
9005 * international/uni-comment.el:
9006 * international/uni-decimal.el:
9007 * international/uni-decomposition.el:
9008 * international/uni-digit.el:
9009 * international/uni-lowercase.el:
9010 * international/uni-mirrored.el:
9011 * international/uni-name.el:
9012 * international/uni-numeric.el:
9013 * international/uni-old-name.el:
9014 * international/uni-titlecase.el:
9015 * international/uni-uppercase.el: Regenerate.
9016
9017 * loadup.el: Load international/charprop.el before
9018 international/characters.
9019
e14b388a
CY
90202011-07-07 Chong Yidong <cyd@stupidchicken.com>
9021
9022 * window.el (next-buffer, previous-buffer): Signal an error if
9023 called from a minibuffer window.
9024
9025 * bindings.el: Revert 2011-07-04 change.
9026
354cf0ba
RS
90272011-07-06 Richard Stallman <rms@gnu.org>
9028
9029 * mail/rmailmm.el (rmail-mime-process): Use markers for buf positions.
9030 (rmail-mime-insert-bulk, rmail-mime-insert-text):
9031 Treat markers like ints.
9032 (rmail-mime-entity): Doc fix.
9033
a48868a7
LMI
90342011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
9035
4906cd3d
LMI
9036 * mail/smtpmail.el (smtpmail-default-smtp-server): Made into a
9037 defcustom again for backwards compatibility.
9038
e0457abe
LMI
9039 * simple.el (shell-command-on-region): Fill.
9040
d67f7e1f
LMI
9041 * dired-aux.el (dired-kill-line): Add a doc string.
9042
fe204702
LMI
9043 * dabbrev.el (dabbrev-abbrev-char-regexp): Note that nil defaults
9044 to "\\sw\\|\\s_" (bug#358).
9045
a48868a7
LMI
9046 * dired.el (dired-mode): Clarify "unmark or unflag" (bug#8770).
9047 (dired-unmark-backward): Ditto.
9048 (dired-flag-backup-files): Ditto.
9049
9050 * dired-x.el (dired-mark-sexp): Ditto.
9051
aa8a705c
RS
90522011-07-06 Richard Stallman <rms@gnu.org>
9053
9054 * mail/rmailmm.el: Give entity a new slot, TRUNCATED.
9055 (rmail-mime-entity): New arg TRUNCATED.
9056 (rmail-mime-entity-truncated, rmail-mime-entity-set-truncated):
9057 New functions.
9058 (rmail-mime-save): Warn if entity is truncated.
9059 (rmail-mime-toggle-hidden): Likewise, for showing.
9060 (rmail-mime-process-multipart): Record when an entity is truncated.
9061
a9a936b9
RS
9062 * mail/rmailmm.el (rmail-search-mime-message): Don't get confused
9063 if ENTITY is a string.
9064
1f2b92cb
LMI
90652011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
9066
f4f73198 9067 * emacs-lisp/lisp-mode.el (eval-defun-1): Update the documentation
0757af94
SM
9068 of faces when `M-C-x'-ing their definitions (bug#8378).
9069 Also clean up the code slightly.
f4f73198 9070
12b16734 9071 * progmodes/grep.el (rgrep): Don't bind `process-connection-type',
da6062e6 9072 because that makes the colors go away.
12b16734 9073
f0691d22
LMI
9074 * mail/sendmail.el (send-mail-function): Change the default to
9075 `sendmail-query-once'.
9e87df06 9076 (sendmail-query-once): Add an autoload cookie.
f0691d22 9077
1f2b92cb
LMI
9078 * net/network-stream.el (network-stream-open-starttls): Try using
9079 a plain connection even if the server offered STARTTLS, and we
9080 kinda wanted to use it, if Emacs doesn't have any STARTTLS
9081 capability. This should make smtpmail.el work in slightly more
9082 configurations.
9083
1cdd2a1b
MA
90842011-07-06 Michael Albinus <michael.albinus@gmx.de>
9085
9086 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
9087 New defun.
9088 * net/tramp-cmds.el (tramp-append-tramp-buffers): Use it.
9089
fbcc67e2
MM
90902011-07-06 Michael R. Mauger <mmaug@yahoo.com>
9091
9092 * progmodes/sql.el: Version 3.0
0757af94 9093 (sql-product-alist): Add product :completion-object,
fbcc67e2 9094 :completion-column, and :statement attributes.
0757af94 9095 (sql-mode-menu, sql-interactive-mode-map): Fix List entries.
fbcc67e2 9096 (sql-mode-syntax-table): Mark all punctuation.
0757af94 9097 (sql-font-lock-keywords-builder): Temporarily remove fallback on
fbcc67e2
MM
9098 ansi keywords.
9099 (sql-regexp-abbrev, sql-regexp-abbrev-list): New functions.
0757af94 9100 (sql-mode-oracle-font-lock-keywords): Improve.
fbcc67e2
MM
9101 (sql-oracle-show-reserved-words): New function for development.
9102 (sql-product-font-lock): Simplify for source code buffers.
9103 (sql-product-syntax-table, sql-product-font-lock-syntax-alist):
9104 New functions.
9105 (sql-highlight-product): Set product specific syntax table.
0757af94
SM
9106 (sql-mode-map): Add statement movement functions.
9107 (sql-ansi-statement-starters, sql-oracle-statement-starters):
9108 New variable.
fbcc67e2
MM
9109 (sql-statement-regexp, sql-beginning-of-statement)
9110 (sql-end-of-statement, sql-signum): New functions.
0757af94 9111 (sql-buffer-live-p, sql=find-sqli-buffer): Add CONNECTION parameter.
fbcc67e2
MM
9112 (sql-show-sqli-buffer): Bug fix.
9113 (sql-interactive-mode): Store connection data as buffer local.
0757af94 9114 (sql-connect): Add NEW-NAME parameter. Redesign interaction
fbcc67e2
MM
9115 with sql-interactive-mode.
9116 (sql-save-connection): Save buffer local settings.
0757af94 9117 (sql-connection-menu-filter): Change menu entry name.
fbcc67e2
MM
9118 (sql-product-interactive): Bug fix.
9119 (sql-preoutput-hold): New variable.
9120 (sql-interactive-remove-continuation-prompt): Bug fixes.
9121 (sql-debug-redirect): New variable.
9122 (sql-str-literal): New function.
9123 (sql-redirect, sql-redirect-one, sql-redirect-value, sql-execute):
0757af94 9124 Redesign.
fbcc67e2
MM
9125 (sql-oracle-save-settings, sql-oracle-restore-settings)
9126 (sql-oracle-list-all, sql-oracle-list-table): New functions.
9127 (sql-completion-object, sql-completion-column)
9128 (sql-completion-sqlbuf): New variables.
9129 (sql-build-completions-1, sql-build-completions)
9130 (sql-try-completion): New functions.
9131 (sql-read-table-name): Use them.
9132 (sql-contains-names): New buffer local variable.
9133 (sql-list-all, sql-list-table): Use it.
9134 (sql-oracle-completion-types): New variable.
9135 (sql-oracle-completion-object, sql-sqlite-completion-object)
9136 (sql-postgres-completion-object): New functions.
9137
d4eaeab1
GM
91382011-07-06 Glenn Morris <rgm@gnu.org>
9139
9140 * window.el (pop-to-buffer): Doc fix.
9141
322b7dab 91422011-07-06 Markus Heiser <markus.heiser@darmarit.de> (tiny change)
a1d3a912
CY
9143
9144 * progmodes/gud.el (gud-pdb-marker-regexp): Accept \r char (Bug#5653).
9145
322b7dab 91462011-07-06 Chong Yidong <cyd@stupidchicken.com>
0484d600 9147
322b7dab 9148 * window.el (special-display-popup-frame): Doc fix (Bug#8853).
4f8f657f 9149
322b7dab 9150 * info.el (Info-directory-toc-nodes): Minor doc fix (Bug#8833).
8f43cbf3 9151
605dd5bf
CY
91522011-07-05 Chong Yidong <cyd@stupidchicken.com>
9153
9154 * button.el (button): Inherit from link face. Suggested by Dan
9155 Nicolaescu.
9156
7dbfa719
SM
91572011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
9158
3db614b0
SM
9159 * progmodes/gdb-mi.el: Fit in 80 columns.
9160 (gdb-setup-windows, gdb-restore-windows): Avoid other-window and
9161 switch-to-buffer.
9162
7dbfa719
SM
9163 * progmodes/which-func.el (which-func-ff-hook): Don't output a message
9164 if imenu is simply not configured (bug#8941).
9165
919d884a
KM
91662011-07-05 Ken Manheimer <ken.manheimer@gmail.com>
9167
9168 * allout.el (allout-post-undo-hook): New allout outline-change
9169 event hook to signal undo activity.
9170 (allout-post-command-business): Run allout-post-undo-hook if an
9171 undo just occurred.
7dbfa719
SM
9172 (allout-after-copy-or-kill-hook, allout-mode): Minor docstring changes.
9173 * allout-widgets.el (allout-widgets-after-undo-function):
9174 Ensure the integrity of the current item's decoration after it has been
919d884a
KM
9175 in the vicinity of an undo.
9176 (allout-widgets-mode): Include allout-widgets-after-undo-function
9177 on the new allout-post-undo-hook.
9178
450a0f09
SM
91792011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
9180
9181 * emacs-lisp/lisp-mode.el (lisp-interaction-mode-abbrev-table):
9182 Let define-derived-mode define it.
9183 * emacs-lisp/derived.el (define-derived-mode): Try to avoid creating
9184 cycles of abbrev-table inheritance (bug#8998).
9185
2de69e00
RW
91862011-07-05 Roland Winkler <winkler@gnu.org>
9187
9188 * textmodes/bibtex.el: Add support for biblatex.
9189 (bibtex-BibTeX-entry-alist, bibtex-biblatex-entry-alist)
9190 (bibtex-BibTeX-field-alist, bibtex-biblatex-field-alist)
9191 (bibtex-dialect-list, bibtex-dialect, bibtex-no-opt-remove-re)
9192 (bibtex-entry-alist, bibtex-field-alist): New variables.
9193 (bibtex-entry-field-alist): Obsolete alias for
9194 bibtex-BibTeX-entry-alist.
9195 (bibtex-entry-alist, bibtex-field-alist): New widgets.
9196 (bibtex-set-dialect): New command.
9197 (bibtex-entry-type, bibtex-entry-head)
450a0f09
SM
9198 (bibtex-entry-maybe-empty-head, bibtex-any-valid-entry-type):
9199 Bind via bibtex-set-dialect.
2de69e00
RW
9200 (bibtex-Article, bibtex-Book, bibtex-Booklet, bibtex-InBook)
9201 (bibtex-InCollection, bibtex-InProceedings, bibtex-Manual)
9202 (bibtex-MastersThesis, bibtex-Misc, bibtex-PhdThesis)
9203 (bibtex-Proceedings, bibtex-TechReport, bibtex-Unpublished):
9204 Define via bibtex-set-dialect.
450a0f09
SM
9205 (bibtex-name-in-field, bibtex-remove-OPT-or-ALT):
9206 Obey bibtex-no-opt-remove-re.
2de69e00
RW
9207 (bibtex-vec-push, bibtex-vec-incr): New functions.
9208 (bibtex-format-entry, bibtex-field-list)
9209 (bibtex-print-help-message, bibtex-validate)
9210 (bibtex-search-entries): Use new format of bibtex-entry-alist.
9211
2dcdbdd9
SM
92122011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
9213
9214 * progmodes/compile.el (compilation-goto-locus):
9215 * net/tramp-cmds.el (tramp-append-tramp-buffers):
9216 * bs.el (bs-cycle-next, bs-cycle-previous):
9217 * bookmark.el (bookmark-bmenu-list, bookmark-bmenu-2-window):
9218 * bindings.el (mode-line-other-buffer):
9219 * autoinsert.el (auto-insert):
9220 * arc-mode.el (archive-extract):
9221 * abbrev.el (edit-abbrevs): Fix some uses of switch-to-buffer.
9222
b27640fe
JB
92232011-07-05 Juanma Barranquero <lekktu@gmail.com>
9224
9225 * emacs-lock.el (emacs-lock-mode): Fix typo in variable name.
9226 Fix check of `emacs-lock-unlockable-modes'.
9227 Coerce true values of `emacs-lock--try-unlocking' to t.
9228
53bbe3ad
JB
92292011-07-05 Juanma Barranquero <lekktu@gmail.com>
9230
9231 * obsolete/old-emacs-lock.el: Rename from emacs-lock.el.
9232 * emacs-lock.el: New file.
9233
1d3cdbc7
JD
92342011-07-05 Julien Danjou <julien@danjou.info>
9235
9236 * textmodes/rst.el (rst-define-level-faces): Use `facep' rather
9237 than `boundp' to check if face is set.
9238
9173deec
JB
92392011-07-05 Juanma Barranquero <lekktu@gmail.com>
9240
9241 * register.el (registerv-make):
9242 * window.el (window-min-height): Fix typos in docstrings.
9243
869795d6
JD
92442011-07-05 Jan Djärv <jan.h.d@swipnet.se>
9245
9173deec 9246 * dynamic-setting.el (dynamic-setting-handle-config-changed-event):
869795d6
JD
9247 Update doc string.
9248
b768cdcd
JB
92492011-07-04 Juanma Barranquero <lekktu@gmail.com>
9250
9251 * server.el (server-execute): Catch quit and call
9252 `server-return-error' to pass the error back to emacsclient and
9253 close the connection (bug#8942).
9254
13aa217b
KM
92552011-07-04 Ken Manheimer <ken.manheimer@gmail.com>
9256
9257 * allout.el (allout-encrypt-unencrypted-on-saves): Do not provide
9258 insecure exception for current topic. Also note that auto-saves
9259 are handled differently.
9260
5d3385a0 9261 (allout-auto-save-temporarily-disabled, allout-just-did-undo):
13aa217b
KM
9262 State variables for tracking auto-save inhibition situation.
9263
9264 (allout-write-contents-hook-handler): Rename from
9265 'allout-write-file-hook-handler', and describe how it depends on
9266 write-contents-functions sensitivity to non-nil value to prevent
9267 file write.
9268
9269 (allout-auto-save-hook-handler): Remove. auto-save does not check
9270 this in individual buffers, only in the starting buffer, so this
9271 is not the right way for us to inhibit auto-save in a buffer
9272 according to its condition.
9273
9274 (allout-mode): Use new allout-write-contents-hook-handler, and
9275 only with write-contents-functions. Remove auto-save provisions -
9276 they're implemented elsewhere.
9277
9278 (allout-before-change-handler): If undo is in progress, note that
9279 for attention of allout-post-command-business.
9280
9281 (allout-post-command-business): If the command we're following was
9282 an undo, check for change in the status of encrypted items and
9283 adjust auto-save inhibitions accordingly.
9284
9285 (allout-toggle-subtree-encryption): Adjust auto-save inhibition
9286 according to whether there are or aren't any plain-text topics
9287 pending encryption.
9288
2dcdbdd9 9289 (allout-inhibit-auto-save-info-for-decryption):
1154d12e
JB
9290 Adjust buffer-saved-size and some allout state to inhibit auto-saves
9291 if there are plain-text topics pending encryption.
13aa217b
KM
9292
9293 (allout-maybe-resume-auto-save-info-after-encryption): Adjust
9294 buffer-saved-size and some allout state to not inhibit auto-saves
9295 if there are no longer any plain-text topics pending encryption.
9296
0757af94
SM
9297 (allout-next-topic-pending-encryption, allout-encrypt-decrypted):
9298 No longer provide for exemption of the current topic.
13aa217b 9299
ac89b32c
JL
93002011-07-04 Juri Linkov <juri@jurta.org>
9301
9302 Add 7z operations to delete and save changed members (bug#8968).
9303 * arc-mode.el (archive-7z-expunge, archive-7z-update):
9304 New defcustoms.
9305 (archive-7z-write-file-member): New function.
9306 (archive-7z-summarize): Fix the number of dashes in the
9307 listing output.
9308
8fa39615
SM
93092011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
9310
9311 * pcmpl-linux.el (pcomplete-pare-list): Re-add, from pcomplete.el
9312 (bug#8958).
9313
2f11b3f1
CY
93142011-07-04 Chong Yidong <cyd@stupidchicken.com>
9315
d66fef2b
CY
9316 * bindings.el: Ignore next-buffer and previous-buffer in
9317 minibuffer-local-map.
9318
2f11b3f1
CY
9319 * font-lock.el (font-lock-builtin-face): Change light background
9320 color to dark slate blue (Bug#6693).
9321
f932a347
WD
93222011-07-04 Wang Diancheng <dcwang@kingbase.com.cn> (tiny change)
9323
9324 * progmodes/gdb-mi.el (gdb): Use completion-at-point.
9325
c8af70e1
SM
93262011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
9327
9328 * files.el (find-file): Use pop-to-buffer-same-window (bug#8911).
9329 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
9330 Add switch-to-buffer.
9331
f158badc
LMI
93322011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
9333
9334 * isearch.el (isearch-search-fun-function): Clarify further the
9335 meaning of the function returned.
9336
6d95bd46
MA
93372011-07-04 Michael Albinus <michael.albinus@gmx.de>
9338
9339 * net/tramp-cmds.el (tramp-cleanup-this-connection): New command.
9340
9341 * net/tramp-sh.el (tramp-color-escape-sequence-regexp): New defconst.
9342 (tramp-sh-handle-insert-directory, tramp-convert-file-attributes):
9343 Use it.
9344 (tramp-remote-path): Add "/bin" and "/usr/bin". On busyboxes,
9345 `tramp-default-remote-path' does not exist.
9346 (tramp-send-command-and-read): New optional argument NOERROR.
9347 (tramp-open-connection-setup-interactive-shell)
9348 (tramp-get-remote-path, tramp-get-remote-stat): Use it.
9349 (tramp-get-remote-readlink): Do not mask with `ignore-errors'.
9350 (tramp-process-sentinel): Flush also process' connection property.
9351 (tramp-sh-handle-start-file-process): Do not set process
9352 sentinel. It is done now ...
9353 (tramp-maybe-open-connection): ... here. (Bug#8929)
9354
909e6b67
MK
93552011-07-04 MON KEY <monkey@sandpframing.com>
9356
9357 * play/animate.el (animate-string): Doc fixes and allow changing
9358 the buffer name (bug#5417).
9359
93602011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
9361
c8af70e1 9362 * play/animate.el (animation-buffer-name): Rename from *animate*.
909e6b67 9363
f34755dc
PE
93642011-07-04 Paul Eggert <eggert@cs.ucla.edu>
9365
396cec72
PE
9366 * emacs-lisp/timer.el: Use time-date fns rather than rolling our own.
9367 This is simpler and helps future-proof the code.
9368 (timer-until): Use time-subtract and float-time.
08235028 9369 (timer--time-less-p): Use time-less-p.
f34755dc 9370
56e6cc31
JB
93712011-07-04 Juanma Barranquero <lekktu@gmail.com>
9372
3abb79e5
JB
9373 * type-break.el (timep): Use the value of `float-time' to avoid a
9374 byte-compiler warning.
9375
56e6cc31
JB
9376 * server.el (server-eval-and-print): Return any result, even nil.
9377
7b9430b4
PE
93782011-07-03 Paul Eggert <eggert@cs.ucla.edu>
9379
9380 * type-break.el: Accept time formats that the builtins accept.
9381 (timep, type-break-time-difference): Accept any format that
9382 float-time accepts, rather than insisting on (HIGH LOW USECS) format.
9383 This is simpler and helps future-proof the code.
9384 (type-break-time-difference): Round rather than ignoring
9385 subseconds components.
9386
3034e9e7
LMI
93872011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
9388
9389 * info.el (Info-apropos-matches): Make non-interactive, since it
9390 doesn't seem to do anything useful as a command (bug#8829).
9391
1485f4c0
CY
93922011-07-03 Chong Yidong <cyd@stupidchicken.com>
9393
9394 * frame.el (frame-background-mode, frame-set-background-mode):
c8af70e1 9395 Move from faces.el.
1485f4c0
CY
9396 (frame-default-terminal-background): New function.
9397
9398 * custom.el (custom-push-theme): Don't record faces in `changed'
9399 theme; this doesn't work correctly for per-frame face settings.
9400 (disable-theme): Use face-set-after-frame-default to reset faces.
9401 (custom--frame-color-default): New function.
9402
9fa3dd45
LMI
94032011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
9404
c8af70e1 9405 * dired.el (dired-flagging-regexp): Remove unused variable
9fa3dd45
LMI
9406 (bug#8769).
9407
6cbbc20c
KR
94082011-03-29 Kevin Ryde <user42@zip.com.au>
9409
9410 * progmodes/compile.el (compilation-error-regexp-alist-alist):
9411 `perl-Test2' extend to match possible "fail #N" rep count
9412 (bug#8377).
9413
c7f98048
LMI
94142011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
9415
65676592
LMI
9416 * mail/feedmail.el (feedmail-buffer-to-smtpmail):
9417 `smtpmail-via-smtp' now returns the error instead of nil.
9418
c7f98048
LMI
9419 * isearch.el (isearch-search-fun-function): Clarify the doc string
9420 (bug#8101).
9421
56e6cc31 94222011-07-03 Richard Kim <emacs18@gmail.com> (tiny change)
9a51c6c7
RK
9423
9424 * textmodes/texnfo-upd.el (texinfo-insert-menu): Don't insert
9425 unnecessary spaces (bug#8987).
9426
2b216704
LMI
94272011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
9428
9429 * net/network-stream.el (open-network-stream): Use the
9430 :end-of-capability command thoughout.
9431
94322011-07-03 Wolfgang Jenkner <wjenkner@inode.at> (tiny change)
9433
9434 * net/network-stream.el (open-network-stream): Add the
9435 :end-of-capability command parameter, used by pop3.el.
9436
36adf6ce
LMI
94372011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
9438
1ca0da0e
LMI
9439 * dired.el (dired-map-over-marks): Refill the doc string (bug#6814).
9440
fc00f69c
LMI
9441 * fringe.el (fringe-query-style): Remove redundant text " (type ?
9442 for list)" (bug#6475).
9443
28fd8759 9444 * files.el (file-expand-wildcards): Ignore non-readable
8350f087 9445 sub-directories while trying to find matches instead of signaling
28fd8759
LMI
9446 an error (bug#6297).
9447
0dd8b6da
LMI
9448 * man.el (Man-reference-regexp): Allow matching possible
9449 word-wrapped references (bug#6289).
9450
ce1438d6
LMI
9451 * vc/vc.el (vc-modify-change-comment): Change *VC-log* to *vc-log*
9452 for consistency with the other vc buffers (bug#6197).
9453 (vc-checkin): Ditto.
9454
9455 * vc/vc-arch.el: Fix comments to match the *VC-log* name change.
9456
36adf6ce
LMI
9457 * longlines.el (longlines-mode): Document what ARG does (bug#6150).
9458
e83cc1f7
LMI
94592011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
9460
8a20ca4c
LMI
9461 * custom.el (defcustom): Clarify that :set is only used in the
9462 Customize user interface (bug#6089).
9463
83319045
LMI
9464 * progmodes/flymake.el (flymake-mode): If the buffer isn't
9465 associated with a file, refuse to run instead of erroring out
9466 (bug#6084).
9467
a8392169
LMI
9468 * textmodes/fill.el (fill-region): Remove the "Ordinarily" from
9469 the doc string, since it appears that using `fill-column' always
9470 controls the width (bug#7845).
9471
e83cc1f7
LMI
9472 * simple.el (shell-command-on-region): Say where the error output
9473 went if `shell-command-default-error-buffer' is set (bug#6857).
9474
e47ca23b
KM
94752011-07-02 Ken Manheimer <ken.manheimer@gmail.com>
9476
9477 * allout.el (allout-yank-processing): Adjust cursor position for
9478 backwards-deleted space.
9479
9480 (allout-rebullet-heading): Register changes with
9481 allout-exposure-changed-hook, so the modified topic is properly
9482 decorated.
9483
5cf56143
LMI
94842011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
9485
08549772
LMI
9486 * minibuffer.el (completion-in-region): Document PREDICATE
9487 (bug#7136).
9488
48e96771
LMI
9489 * info-look.el (info-lookup-add-help): Clarify that ARGS is a list
9490 of keyword/argument pairs (bug#6904).
9491
c8af70e1
SM
9492 * replace.el (multi-occur):
9493 Mention `multi-occur-in-matching-buffers' in the doc string (bug#7566).
5cf56143 9494
e17d05e2
LMI
94952011-07-02 Drew Adams <drew.adams@oracle.com>
9496
9497 * dired.el (dired-mark-if): Make the message about whether it's
9498 marking or unmarking clearer (bug#8523).
9499
063b0e45
LMI
95002011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
9501
9502 * disp-table.el (display-table-print-array): New function.
9503 (describe-display-table): Use it to print the vectors more pretty
9504 (Bug#8859).
9505
28545e04
MR
95062011-07-02 Martin Rudalics <rudalics@gmx.at>
9507
9508 * window.el (window-state-get-1): Don't assign clone numbers.
9509 Add clone-of item to list of window parameters.
9510 (window-state-put-2): Don't process clone numbers.
9511 (display-buffer-alist): Fix doc-string.
9512
3349e122
SM
95132011-07-02 Stefan Monnier <monnier@iro.umontreal.ca>
9514
9515 * subr.el (remq): Don't allocate if it's not needed.
9516 (keymap--menu-item-binding, keymap--menu-item-with-binding)
9517 (keymap--merge-bindings): New functions.
9518 (keymap-canonicalize): Use them to refine the canonicalization.
9519 * minibuffer.el (minibuffer-local-completion-map)
9520 (minibuffer-local-must-match-map): Move initialization from C.
9521 (minibuffer-local-filename-completion-map): Move initialization from C;
9522 don't inherit from anything here.
9523 (minibuffer-local-filename-must-match-map): Make obsolete.
9524 (completing-read-default): Use make-composed-keymap to combine
9525 minibuffer-local-filename-completion-map with either
9526 minibuffer-local-must-match-map or
9527 minibuffer-local-filename-completion-map.
9528
d224ac83
GM
95292011-07-01 Glenn Morris <rgm@gnu.org>
9530
3de63bf8
GM
9531 * type-break.el (type-break-time-sum): Use dolist.
9532
d224ac83
GM
9533 * textmodes/flyspell.el (flyspell-word-search-backward):
9534 Replace CL function.
9535
1a1e3f32
SM
95362011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
9537
fe3f64d5
SM
9538 * mouse.el (mouse--strip-first-event): New function.
9539 (function-key-map): Use it to map fringe clicks to normal clicks
9540 by default.
9541
eb604e34
SM
9542 * vc/vc-bzr.el (vc-bzr-revision-keywords): Update.
9543 (vc-bzr-revision-completion-table): Add support for annotate and date.
9544
1a1e3f32
SM
9545 * emacs-lisp/derived.el (define-derived-mode): Make abbrev-table
9546 inherit from parent.
9547
5bd35902
LMI
95482011-07-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
9549
ace6c69c 9550 * dired-aux.el (dired-diff): Doc fixup (bug#8816).
26bde865 9551 (dired-show-file-type): Doc fixup (bug#8818).
ace6c69c 9552
191e2bed
LMI
9553 * dired.el (dired-mode): Fix up the doc string as suggested by
9554 Drew Adams (bug#8817).
9555
5bd35902
LMI
9556 * progmodes/flymake.el (flymake-find-file-hook): Add an `autoload'
9557 cookie, since the manual says that it should be possible to add
9558 this function to `find-file-hook' (bug#8709).
9559
eee8207a
TZ
95602011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
9561
9562 * progmodes/cfengine.el: Moved all cfengine3.el functionality
9563 here. Noted Ted Zlatanov as the maintainer.
9564 (cfengine-common-settings, cfengine-common-syntax): New functions
9565 to set up common things between `cfengine-mode' and
9566 `cfengine3-mode'.
9567 (cfengine3-mode): New mode.
9568 (cfengine3-defuns cfengine3-defuns-regex
9569 (cfengine3-class-selector-regex cfengine3-category-regex)
9570 (cfengine3-vartypes cfengine3-font-lock-keywords)
9571 (cfengine3-beginning-of-defun, cfengine3-end-of-defun)
eb604e34 9572 (cfengine3-indent-line): Add from cfengine3.el.
eee8207a 9573
36b148cf
MA
95742011-07-01 Michael Albinus <michael.albinus@gmx.de>
9575
9576 * net/tramp.el (tramp-encoding-command-interactive): New defcustom.
9577
9578 * net/tramp-sh.el (tramp-maybe-open-connection): Use it.
9579
0bf4ba9a
MR
95802011-07-01 Martin Rudalics <rudalics@gmx.at>
9581
9582 * window.el (same-window-buffer-names, same-window-regexps)
9583 (same-window-p, special-display-frame-alist)
9584 (special-display-popup-frame, special-display-function)
9585 (special-display-buffer-names, special-display-regexps)
9586 (special-display-p, pop-up-frame-alist, pop-up-frame-function)
9587 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
9588 (split-window-preferred-function, split-height-threshold)
9589 (split-width-threshold, even-window-heights)
9590 (display-buffer-mark-dedicated, window-splittable-p)
9591 (split-window-sensibly, window-safely-shrinkable-p):
9592 Un-obsolete.
9593 (display-buffer): Don't spread args with function specifier
9594 because special-display-popup-frame won't like it.
9595
35837f51
PE
95962011-07-01 Paul Eggert <eggert@cs.ucla.edu>
9597
d0672f86
PE
9598 Time-stamp simplifications and fixes.
9599 These improve accuracy slightly, and future-proof the code
9600 against some potential changes to current-time format.
9601
b9444d97
PE
9602 * woman.el (woman-decode-buffer, WoMan-log-end): Log fractional secs
9603 by using time-since and float-time.
9604
0ef923dc
PE
9605 * vc/ediff-util.el (ediff-calc-command-time): Use time-since
9606 and float-time. Say "NNN.NNN seconds" rather than "NNN seconds
9607 + NNN microseconds".
9608
2f81380d
PE
9609 * type-break.el (type-break-time-sum): Rewrite using time-add.
9610
845b5c3e
PE
9611 * play/hanoi.el (hanoi-current-time-float): Remove.
9612 All uses replaced by float-time.
9613
ee6f1be0
PE
9614 * nxml/rng-maint.el (rng-time-function): Rewrite using time-subtract.
9615 This yields a more-accurate answer.
9616 (rng-time-to-float): Remove; no longer needed.
9617
fe955043
PE
9618 * emacs-lisp/timer.el (timer-relative-time): Use time-add.
9619
5777162a
PE
9620 * calendar/timeclock.el (timeclock-seconds-to-time):
9621 Defalias to seconds-to-time, since they're the same thing.
9622
3103f8b6 9623 * emacs-lisp/elp.el (elp-elapsed-time):
e2bac5f6 9624 * emacs-lisp/benchmark.el (benchmark-elapse):
35837f51
PE
9625 * allout-widgets.el (allout-elapsed-time-seconds): Use float-time.
9626
0e61a35f
SM
96272011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
9628
9629 * window.el (bury-buffer): Don't iconify the only frame.
9630 (switch-to-buffer): Revert to Emacs<23 behavior, i.e. do not fallback
9631 to pop-to-buffer. Use pop-to-buffer-same-frame if you don't like that.
9632
ddd63a1e
CY
96332011-07-01 Chong Yidong <cyd@stupidchicken.com>
9634
0e61a35f
SM
9635 * eshell/em-smart.el (eshell-smart-display-navigate-list):
9636 Add mouse-yank-primary.
ddd63a1e 9637
055f4923
TZ
96382011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
9639
9640 * progmodes/cfengine3.el: New file to support CFEngine 3.x.
9641
6a2fb145
SM
96422011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
9643
9644 * emacs-lisp/find-func.el (find-library--load-name): New fun.
9645 (find-library-name): Use it to find relative load names when provided
9646 absolute file name (bug#8803).
9647
fd4983f2
LMI
96482011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
9649
887d14ad
LMI
9650 * textmodes/flyspell.el (flyspell-word): Consider words that
9651 differ only in case as potential doublons (bug#5687).
9652
c53dc7fc
LMI
9653 * net/soap-client.el (soap-invoke, soap-wsdl-resolve-references):
9654 Remove two rather uninteresting debugging-like messages to make
9655 debbugs.el more silent.
9656
fd4983f2
LMI
9657 * comint.el (comint-password-prompt-regexp): Accept "Response" as
9658 a password-like phrase.
9659
7a71b18d 96602011-06-30 Masatake YAMATO <yamato@redhat.com>
b14c0c55
AM
9661
9662 * progmodes/cc-guess.el: New file.
9663
6a2fb145 9664 * progmodes/cc-langs.el (c-mode-menu): Add "Style..." submenu.
b14c0c55
AM
9665
9666 * progmodes/cc-styles.el (cc-choose-style-for-mode): New function
9667 derived from `c-basic-common-init'.
9668
9669 * progmodes/cc-mode.el (top-level): Require cc-guess.
9670 (c-basic-common-init): Use `cc-choose-style-for-mode'.
9671
1fa280a3
LM
96722011-06-30 Lawrence Mitchell <wence@gmx.li>
9673
9674 * progmodes/js.el (js-mode): Don't stomp on global settings (bug#8933).
9675
e6597158
AM
96762011-06-30 Alan Mackenzie <acm@muc.de>
9677
1fa280a3
LM
9678 * progmodes/cc-engine.el (c-guess-continued-construct):
9679 Correct the handling of template-args-cont, particularly for when font
e6597158
AM
9680 lock is disabled. Name this case as "CASE G".
9681
68ba37fb
KM
96822011-06-30 Ken Manheimer <ken.manheimer@gmail.com>
9683
9684 * allout.el (allout-yank-processing): Fix injection of extra space
9685 between bullet and non-whitespace character in first topic when
9686 pasting, ensuring that the actual spacing in the pasted topic
9687 following the bullet char is preserved. This extra space was
9688 causing pasted encrypted topics to get a decrypted status even
9689 when the content was actually still encrypted. Now the decryption
9690 status from before the paste is preserved.
9691
9692 (allout-flag-region): Set all allout overlays so they evaporate
9693 when reduced to zero length (evanescent), to prevent overlay
9694 leakage.
9695
887a0b34
GM
96962011-06-30 Glenn Morris <rgm@gnu.org>
9697
94b9acce
GM
9698 * w32-fns.el (w32-charset-info-alist): Declare.
9699
1d9b46d4
GM
9700 * find-dired.el (find-grep-options): Simplify.
9701
cc232200
GM
9702 * term/ns-win.el (ns-set-resource): Declare.
9703
28e77c46
GM
9704 * ses.el (row, col): Declare dynamic variables honestly.
9705
887a0b34
GM
9706 * textmodes/reftex-parse.el (index-tags): Declare.
9707
658d8eb8
CY
97082011-06-30 Chong Yidong <cyd@stupidchicken.com>
9709
9710 * cus-edit.el (customize-push-and-save): New function.
9711
9712 * files.el (hack-local-variables-confirm): Use it.
9713
1fa280a3
LM
9714 * custom.el (load-theme): New arg NO-CONFIRM.
9715 Use customize-push-and-save (Bug#8720).
658d8eb8
CY
9716 (custom-enabled-themes): Doc fix.
9717
9718 * cus-theme.el (customize-create-theme)
9719 (custom-theme-merge-theme): Callers to load-theme changed.
9720
bb617717
LMI
97212011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
9722
d61bdd5d
LMI
9723 * thingatpt.el (thing-at-point-short-url-regexp): Require that
9724 short URLs have at least one dot in them (bug #7614).
9725
bb617717
LMI
9726 * progmodes/grep.el (rgrep): Bind `process-connection-type' to
9727 nil, because using a pty is apparently too slow (bug #895).
9728
2f31f37a
LMI
97292011-06-29 Lars Magne Ingebrigtsen <larsi@gnus.org>
9730
9731 * mail/sendmail.el (sendmail-query-once): New function.
9732 (sendmail-query-once-function): New variable.
9733
3076b24e
GM
97342011-06-29 Glenn Morris <rgm@gnu.org>
9735
faf2a174
GM
9736 * files.el (auto-mode-alist): Add .f03, .f08 for f90-mode.
9737
3076b24e
GM
9738 * ses.el (top-level): Require cl when compiling.
9739 (ses-set-localvars): Fix error statement.
9740 Call it at compile time to silence a storm of warnings.
9741
5386012d
MR
97422011-06-29 Martin Rudalics <rudalics@gmx.at>
9743
9744 * window.el (normalize-live-buffer): Rename to
9745 window-normalize-buffer.
9746 (normalize-live-frame): Rename to window-normalize-frame.
9747 (normalize-any-window): Rename to window-normalize-any-window.
9748 (normalize-live-window): Rename to window-normalize-live-window.
9749 (make-window-atom): Rename to window-make-atom.
9750 (window-resize-reset): Rename to window--resize-reset.
9751 (window-resize-reset-1): Rename to window--resize-reset-1.
9752 (resize-mini-window): Rename to window--resize-mini-window.
9753 (resize-subwindows-skip-p): Rename to
9754 window--resize-subwindows-skip-p.
9755 (resize-subwindows-normal): Rename to
9756 window--resize-subwindows-normal.
9757 (resize-subwindows): Rename to window--resize-subwindows.
9758 (resize-other-windows): Rename to window--resize-siblings.
9759 (resize-this-window): Rename to window--resize-this-window.
9760 (resize-root-window): Rename to window--resize-root-window.
9761 (resize-root-window-vertically): Rename to
9762 window--resize-root-window-vertically.
9763 (normalize-buffer-to-display): Rename to
9764 window-normalize-buffer-to-display.
9765 (normalize-buffer-to-switch-to): Rename to
9766 window-normalize-buffer-to-switch-to.
9767 Correspondingly update all callers of the functions listed
9768 above.
9769 (display-buffer-alist, display-buffer-normalize-arguments)
9770 (display-buffer-normalize-options, display-buffer)
9771 (display-buffer-alist-set): Use "function" instead of
9772 "fun-with-args".
9773
1176868d
CY
97742011-06-28 Chong Yidong <cyd@stupidchicken.com>
9775
9776 * mail/emacsbug.el (report-emacs-bug): Handle non-gnu bug
9777 addresses more clearly. Add hyperlinks for bug-gnu-emacs and
9778 debbugs.gnu.org. Mention acknowledgment email.
9779
20a7a65f
LMI
97802011-06-28 Lars Magne Ingebrigtsen <larsi@gnus.org>
9781
9782 * mail/smtpmail.el (smtpmail-send-it): Leave off changing the
9783 buffer multibyteness, since it shouldn't matter.
9784
5f45cca5
MR
97852011-06-28 Martin Rudalics <rudalics@gmx.at>
9786
9787 * window.el (display-buffer-in-side-window): Handle dedicated
9788 windows as in display-buffer-reuse-window.
9789 (display-buffer-normalize-alist): Use value of override
9790 specifier.
9791 (display-buffer-normalize-specifiers): Use value of
9792 other-window-means-other-frame specifier.
9793 (display-buffer-alist): Rewrite some texts in widgets.
9794 (display-buffer): Spread arguments when calling function
9795 specified by fun-with-args.
9796
ad85fe1f
DD
97972011-06-28 Deniz Dogan <deniz@dogan.se>
9798
1fa280a3
LM
9799 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-syntax-table):
9800 Unnest `let'.
da68c4c8 9801
ad85fe1f
DD
9802 * textmodes/css-mode.el (css-font-lock-keywords): Fix grouped
9803 selectors (Bug#5732).
ec49bd31 9804 (css-proprietary-nmstart-re): Use `regexp-opt'.
ad85fe1f 9805
a08cc025
JA
98062011-06-27 Jari Aalto <jari.aalto@cante.net>
9807
9808 * eshell/em-ls.el: Display `ls -l' dates in ISO format (Bug#8440).
9809 (eshell-ls-date-format): New defcustom.
9810 (eshell-ls-file): Use it.
9811
e2b551c5
SM
98122011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
9813
9814 * help-fns.el (describe-variable): Fix message for terminal-local vars.
9815
8982b231
KY
98162011-06-27 Katsumi Yamaoka <yamaoka@jpl.org>
9817
9818 * net/ange-ftp.el: Allow loading .gz files (Bug#6923).
9819 (ange-ftp-make-tmp-name): New arg.
9820 (ange-ftp-file-local-copy): Use it.
9821
36c9fa27
J
98222011-06-27 Jambunathan K <kjambunathan@gmail.com>
9823
9824 * tar-mode.el (tar-untar-buffer): Set coding-system-for-write to
9825 no-conversion (Bug#8870).
9826
d68443dc
MR
98272011-06-27 Martin Rudalics <rudalics@gmx.at>
9828
9829 * window.el (window-right, window-left, window-child)
9830 (window-child-count, window-last-child)
9831 (window-iso-combination-p, walk-window-tree-1)
9832 (window-atom-check-1, window-tree-1, delete-window)
9833 (window-state-get-1, display-buffer-even-window-sizes): Adapt to
9834 new naming conventions - window-vchild, window-hchild,
9835 window-next and window-prev are now called window-top-child,
9836 window-left-child, window-next-sibling and window-prev-sibling
9837 respectively.
d615d6d2
MR
9838 (resize-window-reset): Rename to window-resize-reset.
9839 (resize-window-reset-1): Rename to window-resize-reset-1.
9840 (resize-window): Rename to window-resize.
9841 (window-min-height, window-min-width)
9842 (resize-mini-window, resize-this-window, resize-root-window)
9843 (resize-root-window-vertically, adjust-window-trailing-edge)
9844 (enlarge-window, shrink-window, maximize-window)
9845 (minimize-window, delete-window, quit-restore-window)
9846 (split-window, balance-windows, balance-windows-area-adjust)
9847 (balance-windows-area, window-state-put-2)
9848 (display-buffer-even-window-sizes, display-buffer-set-height)
9849 (display-buffer-set-width, set-window-text-height)
9850 (fit-window-to-buffer): Rename all "resize-window" prefixed
9851 calls to use the "window-resize" prefix convention.
9852 (display-buffer-alist): Fix symbol for label specifier.
9853 (display-buffer-reuse-window): Set reuse-dedicated to cdr of
9854 corresponding specifier.
9855 Reported by Juanma Barranquero <lekktu@gmail.com>.
d68443dc 9856
b6458526
VB
98572011-06-27 Vincent Belaïche <vincentb1@users.sourceforge.net>
9858
9859 * ses.el (ses-destroy-cell-variable-range): Fix heading comment
9860 convention.
9861 (ses-call-printer): Does not pass an empty string to formatter when the
9862 cell is empty to keep from barking printer Calc math-format-value.
9863
d31fd9ac
RS
98642011-06-27 Richard Stallman <rms@gnu.org>
9865
43d5bf84
RS
9866 * battery.el (battery-mode-line-limit): New variable.
9867 (battery-update): Handle it.
9868
d31fd9ac
RS
9869 * mail/rmailmm.el (rmail-mime-process-multipart):
9870 Handle truncated messages.
9871
819a6054
GM
98722011-06-27 Glenn Morris <rgm@gnu.org>
9873
9874 * progmodes/flymake.el (flymake-err-line-patterns):
9875 Allow for column numbers in the ant/javac pattern. (Bug#8866)
9876
cedc73f2
VB
98772011-06-27 Vincent Belaïche <vincentb1@users.sourceforge.net>
9878
819a6054 9879 * ses.el (ses-relocate-range): Keep rest of arguments for ses-range.
cedc73f2
VB
9880 (ses--clean-!, ses--clean-_): New functions.
9881 (ses-range): Add configurability of readout order, and conversion
9882 to Calc vector.
9883
5e5d49b6
VB
9884 * ses.el (ses-repair-cell-reference-all): New function.
9885 (ses-cell-symbol): Set macro as safe, so that it can be used in
9886 formulas.
9887
56e6cc31 9888 * ses.el: Update cycle detection algorithm.
90ca8b49 9889 (ses-localvars): Add ses--Dijkstra-attempt-nb and
819a6054 9890 ses--Dijkstra-weight-bound, and initial values thereof when applicable.
90ca8b49
VB
9891 (ses-set-localvars): New function.
9892 (ses-make-cell): Add property-list as a cell element.
9893 (ses-cell-property-get-fun, ses-cell-property-get)
9894 (ses-cell-property-delq-fun, ses-cell-property-set-fun)
819a6054
GM
9895 (ses-cell-property-pop-fun, ses-cell-property-get-handle-fun):
9896 New functions.
90ca8b49
VB
9897 (ses-cell-property-set, ses-cell-property-pop)
9898 (ses-cell-property-get-handle): New macro.
9899 (ses-cell-property-handle-car, ses-cell-property-handle-setcar):
9900 New aliases, used for code readability.
9901 (ses-calculate-cell, ses-update-cells): Use Dijkstra algorithm for
9902 cycle detection.
9903 (ses-self-reference-early-detection): New defcustom.
fac916bf 9904 (ses-formula-references): Robustify against self-referring cells.
90ca8b49
VB
9905 (ses-mode): Use ses-set-localvars.
9906 (ses-command-hook): Add call to ses-initialize-Dijkstra-attempt
9907 before lauching the update processing.
9908 (ses-initialize-Dijkstra-attempt): New function.
9909 (ses-recalculate-cell): Update for cycle detection based on
9910 Dijkstra algorithm.
9911
2bb63e81
VB
9912 * ses.el: Fix commenting and indenting convention.
9913
c9d29fb8
SM
99142011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
9915
9916 * bs.el (bs-cycle-next): Complete last change.
9917
d8e4b68b
JB
99182011-06-27 Drew Adams <drew.adams@oracle.com>
9919
9920 * faces.el (list-faces-display): Add help-mode-map to output (bug#8939).
9921
40098786
LMI
99222011-06-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
9923
c9d29fb8
SM
9924 * net/network-stream.el (network-stream-open-starttls):
9925 Don't re-get capabilities unless we've reestablished connection.
f6ab314e
LMI
9926 (network-stream-open-starttls): Fix stupid typo with gnutls-clii.
9927
40098786
LMI
9928 * mail/smtpmail.el (smtpmail-via-smtp): Bind coding-system-for-*
9929 to binary to possibly avoid line encoding issues on Windows (among
9930 other things).
9931
468d09d4
LMI
99322011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
9933
9934 * net/network-stream.el (open-network-stream): Return an :error
9935 saying what the problem was, if possible.
9936
9937 * mail/smtpmail.el (smtpmail-via-smtp): Report the error from the
9938 server.
9939
9940 * net/network-stream.el (network-stream-open-starttls): If we
9941 wanted to use STARTTLS, and the server offered it, but we weren't
9942 able to because we had no STARTTLS support, then close the connection.
9943 (open-network-stream): Return an :error element, if present.
9944
16f07dd7
CY
99452011-06-26 Chong Yidong <cyd@stupidchicken.com>
9946
88821ca0
CY
9947 * hl-line.el (hl-line-sticky-flag): Doc fix.
9948 (global-hl-line-sticky-flag): New option (Bug#8323).
9949 (global-hl-line-highlight): Obey it.
9950
16f07dd7
CY
9951 * vc/vc.el (vc-revert-show-diff): Default to t.
9952
6b5ccddf
KM
99532011-06-26 Ken Manheimer <ken.manheimer@gmail.com>
9954
c9d29fb8
SM
9955 * allout-widgets.el (allout-widgets-post-command-business):
9956 Stop decorating intermediate isearch matches. They're not being
6b5ccddf
KM
9957 undecorated when an isearch is continued past, and isearch
9958 automatically collapses them. This leads to "widget leaks", where
9959 decorated items accumulate in collapsed areas. Lines with lots of
c9d29fb8
SM
9960 hidden widgets can slow down cursor travel, substantially.
9961 Too much complicated machinery would be needed to ensure undecoration,
6b5ccddf
KM
9962 so we're doing without this nicety.
9963
9964 (allout-widgets-tally-string): Don't try to do a hash-table-count
9965 of allout-widgets-tally when it's nil. This eliminates spurious "Error
9966 during redisplay: (wrong-type-argument hash-table-p nil)" warnings in
9967 *Messages* when allout-widgets-maintain-tally is t.
9968
355f2e07
MR
99692011-06-26 Martin Rudalics <rudalics@gmx.at>
9970
9971 * window.el (display-buffer-normalize-argument): Rename to
9972 display-buffer-normalize-arguments. Handle special meaning of
6b5ccddf
KM
9973 LABEL argument. Respect special-display-function when popping up
9974 a new frame. Fix code searching for a window showing the buffer
9975 on another frame.
c9d29fb8
SM
9976 (display-buffer-normalize-specifiers):
9977 Call display-buffer-normalize-arguments.
355f2e07
MR
9978 (display-buffer-in-window): Don't undedicate the window if its
9979 buffer remains the same.
9980 Reported by Drew Adams <drew.adams@oracle.com>.
9981 (display-buffer-alist): Add choice for same-window macro
9982 specfier.
9983 (display-buffer): Mention special meaning of LABEL argument in
9984 doc-string. Fix quoting. Don't pop up a new frame even as
9985 fallback.
9986
7ca8fc42
JB
99872011-06-26 Juanma Barranquero <lekktu@gmail.com>
9988
9989 * bs.el (bs-cycle-next): Pass current buffer to `bury-buffer' to
9990 avoid deleting the current window in some cases (bug#8911).
9991
bc312254
AS
99922011-06-26 Andreas Schwab <schwab@linux-m68k.org>
9993
9994 * emacs-lisp/smie.el (smie-bnf->prec2): Fix last change.
9995 (Bug#8934)
9996
2db18f3f
LMI
99972011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
9998
c9d29fb8
SM
9999 * net/network-stream.el (network-stream-open-starttls):
10000 Use built-in TLS support if `gnutls-available-p' is true.
2db18f3f
LMI
10001 (network-stream-open-tls): Ditto.
10002
6302e0d3
LL
100032011-06-26 Leo Liu <sdl.web@gmail.com>
10004
10005 * register.el (registerv): New struct.
10006 (registerv-make): New function.
c9d29fb8
SM
10007 (jump-to-register, describe-register-1, insert-register):
10008 Support the jump-func, print-func and insert-func slot of a registerv
6302e0d3
LL
10009 struct. (Bug#8415)
10010
5fdd4046
CY
100112011-06-26 Chong Yidong <cyd@stupidchicken.com>
10012
2afef60a
CY
10013 * vc/vc.el (vc-revert-show-diff): New defcustom.
10014 (vc-diff-internal): New arg specifying diff buffer.
10015 (vc-revert): Obey vc-revert-show-diff. If we show a diff, don't
10016 reuse an existing *vc-diff* buffer (Bug#8927).
10017
5fdd4046
CY
10018 * progmodes/cperl-mode.el (cperl-mode): Derive from prog-mode.
10019
e93db24a
GM
100202011-06-26 Glenn Morris <rgm@gnu.org>
10021
10022 * progmodes/f90.el (f90-critical-indent): New option.
10023 (f90-font-lock-keywords-2, f90-blocks-re, f90-end-block-re)
10024 (f90-start-block-re, f90-mode-abbrev-table): Add block, critical.
10025 (f90-mode): Doc fix.
10026 (f90-looking-at-critical, f90-looking-at-end-critical): New funcs.
10027 (f90-no-block-limit, f90-calculate-indent, f90-end-of-block)
10028 (f90-beginning-of-block, f90-next-block, f90-indent-region)
10029 (f90-match-end): Handle block, critical.
10030
eefff499
GM
100312011-06-25 Glenn Morris <rgm@gnu.org>
10032
f6ba4cc9
GM
10033 * calendar/diary-lib.el (diary-included-files): Doc fix.
10034 (diary-include-files): New function, extracted from
10035 diary-include-other-diary-files and diary-mark-included-diary-files.
10036 (diary-include-other-diary-files, diary-mark-included-diary-files):
10037 Just call diary-include-files.
10038 (diary-mark-entries): Reset diary-included-files on first call.
10039
16712304
GM
10040 * calendar/diary-lib.el (diary-mark-entries)
10041 (diary-mark-included-diary-files):
10042 Visit included diary-files in temp buffers.
10043
5d8e0d43
GM
10044 * progmodes/f90.el (f90-keywords-re, f90-font-lock-keywords-1)
10045 (f90-blocks-re, f90-program-block-re, f90-end-block-re)
10046 (f90-start-block-re, f90-imenu-generic-expression)
10047 (f90-looking-at-program-block-start, f90-no-block-limit):
10048 Add support for submodules.
10049
ccf7a5d5
GM
10050 * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
10051 (f90-procedures-re, f90-constants-re): Add some F2008 stuff.
eefff499 10052
11fdef7d 100532011-06-25 Eli Zaretskii <eliz@gnu.org>
638e9005
EZ
10054
10055 * net/ange-ftp.el (ange-ftp-insert-file-contents): Let-bind
10056 buffer-file-type before setting its value, to avoid disastrous
eefff499 10057 global effects on decoding files for DOS/Windows systems. (Bug#8780)
638e9005 10058
74f53697
JB
100592011-06-25 Juanma Barranquero <lekktu@gmail.com>
10060
10061 * allout.el (allout-unload-function): Pass -1 to `allout-mode'.
10062
10063 * ses.el (ses-unload-function):
10064 * emacs-lisp/re-builder.el (re-builder-unload-function): Simplify.
10065
10066 * proced.el (proced-unload-function):
10067 * progmodes/cperl-mode.el (cperl-mode-unload-function): Remove.
10068
18a4ce5e
AR
100692011-06-25 Andreas Rottmann <a.rottmann@gmx.at>
10070
10071 * server.el (server-create-window-system-frame): Add parameters arg.
10072 (server-process-filter): Doc fix. Handle frame-parameters.
10073
519d22cc
JB
100742011-06-25 Juanma Barranquero <lekktu@gmail.com>
10075
10076 Fix bug#8730, bug#8781.
10077
10078 * loadhist.el (unload--set-major-mode): New function.
10079 (unload-feature): Use it.
10080
10081 * progmodes/python.el (python-after-info-look): Add autoload cookie.
10082 (python-unload-function): New function.
10083
c206f5b0
SM
100842011-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
10085
10086 * mail/rmail.el (rmail-show-message-1): Use restore-buffer-modified-p.
10087
f9ad64f3
GS
100882011-06-25 Giuseppe Scrivano <gscrivano@gnu.org>
10089
10090 * net/browse-url.el (browse-url-firefox-program): Add icecat to
10091 the candidates list.
10092
7d0da90e
JB
100932011-06-24 Juanma Barranquero <lekktu@gmail.com>
10094
10095 * progmodes/verilog-mode.el (verilog-mode): Fix test for bound variable.
10096
14b4e83d
RS
100972011-06-23 Richard Stallman <rms@gnu.org>
10098
10099 * mail/rmail.el: Going to grep hit in Rmail buffer finds the message.
10100 (rmail-variables): Set next-error-move-function.
10101 (rmail-what-message): Take argument POS.
10102 (rmail-next-error-move): New function.
10103
273d2baf
SM
101042011-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
10105
10106 * emacs-lisp/smie.el (smie-bnf->prec2): Give more understandable error
10107 messages for adjacent non-terminals.
10108
56c2cc9a
RS
101092011-06-23 Richard Stallman <rms@gnu.org>
10110
10111 * mail/rmail.el (rmail-retry-ignored-headers): Add message-id.
f444564c 10112 (rmail-show-message-1): Preserve buffer modified flag.
8050daa1
RS
10113 (rmail-start-mail): Don't specify use of rmail-mail-return;
10114 that's done by mail-bury now.
10115 (rmail-mail-return): Handle arg NEWBUF.
56c2cc9a 10116
d59eb518
MA
101172011-06-23 Michael Albinus <michael.albinus@gmx.de>
10118
10119 * net/tramp-sh.el (tramp-method-out-of-band-p): Check, whether
10120 SIZE is a number.
10121
02cfc6d6
MR
101222011-06-23 Martin Rudalics <rudalics@gmx.at>
10123
10124 * window.el (get-lru-window, get-mru-window)
10125 (get-largest-window): Never return a minibuffer window.
10126 (display-buffer-pop-up-window): Fix a bug that could lead to
10127 reusing the minibuffer window.
10128 (display-buffer): Pass original specifier argument to
10129 display-buffer-function instead of the normalized one.
10130 Reported by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
10131
4e323265
LL
101322011-06-22 Leo Liu <sdl.web@gmail.com>
10133
10134 * minibuffer.el (completing-read-function)
10135 (completing-read-default): Move from minibuf.c
10136
7a70468f
RS
101372011-06-22 Richard Stallman <rms@gnu.org>
10138
50718fc2
RS
10139 * mail/sendmail.el (mail-bury): If Rmail is in use, return nicely
10140 to Rmail even if not started by a special Rmail command.
10141
7a70468f
RS
10142 * mail/rmailmm.el (rmail-insert-mime-forwarded-message):
10143 Copy the buffer currently showing just one message.
10144
297dde5a
RW
101452011-06-22 Roland Winkler <winkler@gnu.org>
10146
10147 * textmodes/bibtex.el (bibtex-entry-update): Use mapc.
10148 (bibtex-clean-entry): First delete the old key so that a
10149 customized algorithm for generating the new key does not get
10150 confused by the old key.
10151 (bibtex-url): Obey regexp of first step.
10152 (bibtex-search-entries): Do not use add-to-list with local
10153 list-var.
10154
97bb1093
LMI
101552011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
10156
10157 * mail/smtpmail.el (smtpmail-try-auth-methods): If the user has
10158 stored a user name, then query for the password first, instead of
10159 waiting for SMTP to give an error message and the trying again.
10160
1c0f1a19
JD
101612011-06-22 Lawrence Mitchell <wence@gmx.li>
10162
10163 * net/browse-url.el (browse-url-xdg-open): Use 0, rather than nil
10164 BUFFER in call-process.
10165
396f7c9d
LMI
101662011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
10167
10168 * mail/smtpmail.el (smtpmail-via-smtp): Make sure we don't send
10169 QUIT twice.
ddb7ffee
LMI
10170 (smtpmail-try-auth-methods): Require user name and password from
10171 auth-source.
396f7c9d 10172
8998d1b3
MR
101732011-06-22 Martin Rudalics <rudalics@gmx.at>
10174
10175 * window.el (display-buffer-default-specifiers)
10176 (display-buffer-alist): Remove entries for pop-up-frame-alist.
10177 Suggested by Katsumi Yamaoka <yamaoka@jpl.org>.
130e3e11 10178 (split-window): Normalize SIDE argument (Bug#8916).
8998d1b3
MR
10179
10180 * frame.el (pop-up-frame-alist, pop-up-frame-function)
10181 (special-display-frame-alist, special-display-popup-frame):
10182 Remove duplicate declarations. These are now in window.el.
10183
4ea31e07
LMI
101842011-06-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
10185
c9d29fb8
SM
10186 * mail/smtpmail.el (smtpmail-via-smtp):
10187 Set :use-starttls-if-possible so that we always use STARTTLS if the
6af7a784
LMI
10188 server supports it. SMTP servers that support STARTTLS commonly
10189 require it.
10190
10191 * net/network-stream.el (network-stream-open-starttls): Support
10192 upgrading to STARTTLS always, even if we don't have built-in support.
fa463103 10193 (open-network-stream): Add the :always-query-capabilities keyword.
6af7a784 10194
95f41d9a
LMI
10195 * mail/smtpmail.el: Rewritten to do opportunistic STARTTLS
10196 upgrades with `open-network-stream', and rely solely on
10197 auth-source for all credentials. Big changes throughout the file,
10198 but in particular:
c9d29fb8
SM
10199 (smtpmail-auth-credentials): Remove.
10200 (smtpmail-starttls-credentials): Remove.
7d36ad46
LMI
10201 (smtpmail-via-smtp): Check for servers saying they want AUTH after
10202 MAIL FROM, too.
95f41d9a 10203
c9d29fb8
SM
10204 * net/network-stream.el (network-stream-open-starttls):
10205 Provide support for client certificates both for external and built-in
4ea31e07
LMI
10206 STARTTLS.
10207 (auth-source): Require.
10208 (open-network-stream): Document the :client-certificate keyword.
eb8c9362
LMI
10209 (network-stream-certificate): Change cert-cert to cert and
10210 cert-key to key.
4ea31e07 10211
065ec2c7
MA
102122011-06-21 Michael Albinus <michael.albinus@gmx.de>
10213
10214 * net/tramp-cache.el (top): Don't load the persistency file when
10215 "emacs -Q" has been called.
10216
cd93b359
DR
102172011-06-21 Tim Harper <timcharper@gmail.com>
10218
d8e4b68b
JB
10219 * term/ns-win.el (ns-initialize-window-system):
10220 Set application-specific `ApplePressAndHoldEnabled' system
cd93b359
DR
10221 resource to NO as it is not yet supported by the NS port.
10222
ae9c0411
JB
102232011-06-21 Juanma Barranquero <lekktu@gmail.com>
10224
10225 * misc.el (list-dynamic-libraries--refresh): Compute header here...
10226 (list-dynamic-libraries): ...not here.
10227
7f3f739f
LL
102282011-06-21 Leo Liu <sdl.web@gmail.com>
10229
10230 * subr.el (sha1): Implement sha1 using secure-hash.
10231
327c8fb1
MR
102322011-06-21 Martin Rudalics <rudalics@gmx.at>
10233
10234 * window.el (display-buffer-alist): In default value do not
10235 enforce searching a window on any but the selected frame.
10236 Reported by Katsumi Yamaoka <yamaoka@jpl.org>.
10237 (display-buffer-select-window): Remove function.
10238 (display-buffer-in-window): When a window on another frame gets
10239 reused, do not select it any more but just raise its frame if
10240 necessary (Bug#8851) and (Bug#8856).
10241 (display-buffer-normalize-options): Handle pop-up-frames related
10242 options more faithfully.
10243 (pop-to-buffer): Don't rely on `display-buffer' selecting the
10244 window if it is on another frame.
c9d29fb8
SM
10245 (display-buffer-alist, display-buffer-default-specifiers):
10246 Don't make new frame unsplittable by default.
9e9de014
MR
10247 (display-buffer-normalize-argument): Fix doc-string typo and use
10248 'same-frame-other-window instead of 'other-window when associating
10249 with display-buffer-macro-specifiers.
327c8fb1 10250
7cf3f556
VB
102512011-06-21 Vincent Belaïche <vincent.b.1@hotmail.fr>
10252
10253 * play/5x5.el (5x5-solve-rotate-left, 5x5-solve-rotate-right):
10254 New functions.
10255 (5x5-mode-map, 5x5-mode-menu): Bind them.
10256 (5x5-draw-grid): Tweak the solver's rendering.
10257
60a406cf
SM
102582011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
10259
10260 * progmodes/compile.el (compilation-error-regexp-alist-alist): Rename
10261 `caml' to `python-tracebacks-and-caml'; allow leading tabs (bug#8585).
10262
d8e4b68b 102632011-06-21 Drew Adams <drew.adams@oracle.com>
5d907d6c
DA
10264
10265 * menu-bar.el: Use function variable instead of switch-to-buffer.
10266 (menu-bar-select-buffer-function): New variable.
60a406cf 10267 (menu-bar-update-buffers): Use it (bug#8876).
5d907d6c 10268
478d6f95
SM
102692011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
10270
10271 * emacs-lisp/bytecomp.el (add-to-list): Add handler to check the
10272 variable's status.
10273
ca530739
JD
102742011-06-20 Jan Djärv <jan.h.d@swipnet.se>
10275
10276 * x-dnd.el (x-dnd-version-from-flags)
10277 (x-dnd-more-than-3-from-flags): New functions that handle long-as-cons
10278 and long as number (Bug#8899).
10279 (x-dnd-handle-xdnd): Call functions above (Bug#8899).
10280
bcd70d97
SM
102812011-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
10282
60a406cf 10283 * minibuffer.el (completion-metadata): Add `metadata' to the alist.
4cb3bfa0
SM
10284 (completion-try-completion, completion-all-completions): Compute the
10285 metadata argument if it's missing; make it optional (bug#8795).
10286
60a406cf 10287 * wid-edit.el: Use lex-bind and move towards completion-at-point.
bcd70d97
SM
10288 (widget-complete): Use new :completion-function property.
10289 (widget-completions-at-point): New function.
10290 (default): Use :completion-function instead of :complete.
60a406cf
SM
10291 (widget-default-completions): Rename from widget-default-complete;
10292 Rewrite.
bcd70d97
SM
10293 (widget-string-complete, widget-file-complete, widget-color-complete):
10294 Remove functions.
10295 (file, symbol, function, variable, coding-system, color):
10296 * international/mule-cmds.el (default-input-method, charset)
10297 (language-info-custom-alist):
10298 * cus-edit.el (face): Use new property :completions.
10299
10300 * progmodes/pascal.el (pascal-completions-at-point): New function.
10301 (pascal-mode): Use it.
10302 (pascal-mode-map): Use completion-at-point.
10303 (pascal-toggle-completions): Make obsolete.
10304 (pascal-complete-word, pascal-show-completions):
10305 * progmodes/octave-mod.el (octave-complete-symbol):
10306 Redefine as obsolete alias.
10307 * progmodes/octave-inf.el (inferior-octave-completion-at-point):
10308 Signal absence of completion info for old Octave,
10309 (inferior-octave-complete): Redefine as obsolete alias.
10310 * progmodes/meta-mode.el: Use lexical-binding and completion-at-point.
10311 (meta-completions-at-point): Rename from meta-complete-symbol and
10312 adapt it for use on completion-at-point-functions.
10313 (meta-common-mode): Use it.
10314 (meta-looking-at-backward, meta-match-buffer): Remove.
10315 (meta-complete-symbol): Redefine as obsolete alias.
10316 (meta-common-mode-map): Use completion-at-point.
10317 * progmodes/make-mode.el: Use lexical-binding and completion-at-point.
10318 (makefile-mode-map): Use completion-at-point.
10319 (makefile-completions-at-point): Rename from makefile-complete and
10320 adapt it for use on completion-at-point-functions.
10321 (makefile-mode): Use it.
10322 (makefile-complete): Redefine as obsolete alias.
10323
aebf69c8
DD
103242011-06-20 Deniz Dogan <deniz@dogan.se>
10325
10326 * net/rcirc.el: Delete trailing whitespaces once and for all.
10327
bfbbb27d
DC
103282011-06-20 Daniel Colascione <dan.colascione@gmail.com>
10329
10330 * emacs-lisp/syntax.el (syntax-ppss): Further improve docstring.
10331
d264a46b
CY
103322011-06-19 Chong Yidong <cyd@stupidchicken.com>
10333
4ca009e5
CY
10334 * files.el (auto-mode-alist): Entry for m2-mode (Bug#8852).
10335
d264a46b
CY
10336 * info.el (Info-apropos-toc-nodes): Minor doc fix (Bug#8833).
10337
fbf5b3ce
MR
103382011-06-19 Martin Rudalics <rudalics@gmx.at>
10339
10340 * window.el (display-buffer-other-window-means-other-frame):
10341 Call display-buffer-normalize-alist.
10342 (display-buffer-normalize-specifiers-1): Rename to
10343 display-buffer-normalize-argument. New argument other-frame.
10344 Rewrite.
10345 (display-buffer-normalize-specifiers-2): Rename to
10346 display-buffer-normalize-options.
10347 (display-buffer-normalize-alist-1): New function.
10348 (display-buffer-normalize-specifiers-3): Rename to
bcd70d97
SM
10349 display-buffer-normalize-alist.
10350 Call display-buffer-normalize-alist-1.
fbf5b3ce
MR
10351 (display-buffer-normalize-options-inhibit): New variable.
10352 (display-buffer-normalize-specifiers): Rewrite calling
10353 display-buffer-normalize-alist,
10354 display-buffer-normalize-argument, and
10355 display-buffer-normalize-options. Don't call the latter if
10356 display-buffer-normalize-options-inhibit is non-nil.
10357 (frame-auto-delete): New option.
10358 (window-deletable-p): Use frame-auto-delete.
9d89fec7
MR
10359 (window-list-no-nils, window-state-ignored-parameters)
10360 (window-state-get-1, window-state-get, window-state-put-list)
bcd70d97
SM
10361 (window-state-put-1, window-state-put-2, window-state-put):
10362 New functions.
9a028c23
MR
10363 (display-buffer-normalize-options): Move special-display-p group
10364 after pop-up-frame group (Bug#8851) and (Bug#8856).
fbf5b3ce 10365
6d10d800
CY
103662011-06-18 Chong Yidong <cyd@stupidchicken.com>
10367
6420d28b
CY
10368 * emacs-lisp/rx.el (rx-constituents): Add support for numbered
10369 groups (Bug#8776).
10370 (rx-submatch-n): New function.
10371 (rx): Document it.
10372
ddb8b596
CY
10373 * dired-x.el (dired-mark-unmarked-files): Fix interactive spec
10374 (Bug#8768).
10375
10376 * replace.el (occur-mode-map): Set occur-edit-mode binding to "e".
10377
77080289
CY
10378 * textmodes/fill.el (default-justification): Add :safe (Bug#8879).
10379
61dfb316
CY
10380 * cus-face.el (custom-declare-face): Call custom-theme-recalc face
10381 anytime existing face settings are present (Bug#8889).
10382
6d10d800
CY
10383 * progmodes/delphi.el (delphi-mode-syntax-table): Use defvar.
10384 (delphi-mode): Use define-derived-mode to inherit from prog-mode.
10385 Remove unused argument.
10386
be3fb2b8
MR
103872011-06-18 Martin Rudalics <rudalics@gmx.at>
10388
bcd70d97
SM
10389 * window.el (display-buffer-default-specifiers):
10390 Remove pop-up-frame. Add pop-up-window-min-height,
be3fb2b8
MR
10391 pop-up-window-min-width, and another reuse-window specifier
10392 (Bug#8882). Reported by Dan Nicolaescu <dann@gnu.org>.
bcd70d97
SM
10393 (display-buffer-normalize-specifiers-2):
10394 Handle split-height-threshold and split-width-threshold also when
be3fb2b8
MR
10395 pop-up-windows is unset. Add a reuse-window specifier for the
10396 case popping up a new window fails.
10397 (special-display-popup-frame): Remove double quoting.
28dec25a 10398 (display-buffer-normalize-specifiers-1): Fix thinko.
be3fb2b8 10399
1c6d8c76
SM
104002011-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
10401
10402 * shell.el (shell-completion-vars): Set pcomplete-termination-string
10403 according to comint-completion-addsuffix.
10404
10405 * pcomplete.el: Convert to lexical binding and fix bug#8819.
10406 (pcomplete-suffix-list): Mark as obsolete.
10407 (pcomplete-completions-at-point): Capture pcomplete-norm-func and
10408 pcomplete-seen in the closure.
10409 (pcomplete-comint-setup): Setup completion-at-point as well.
10410 (pcomplete--entries): New function.
10411 (pcomplete--env-regexp): New var.
10412 (pcomplete-entries): Rewrite to work with partial-completion and
10413 without relying on pcomplete-suffix-list.
10414 (pcomplete-pare-list): Remove, unused.
10415
25aef8b8
MR
104162011-06-17 Martin Rudalics <rudalics@gmx.at>
10417
10418 * window.el (display-buffer-alist): Set pop-up-window-min-height
10419 and pop-up-window-min-width in default value. Reported by
10420 Thierry Volpiatto <thierry.volpiatto@gmail.com>. New specifier
10421 other-window-means-other-frame.
10422 (display-buffer-macro-specifiers): Comment out entry for
10423 other-window specifier.
10424 (display-buffer-other-window-means-other-frame): New function.
10425 (display-buffer-normalize-specifiers-1): New arguments
10426 buffer-name and label. Treat other-window case specially.
10427 (display-buffer-normalize-specifiers-2): Treat other-window case
10428 specially.
10429 (display-buffer-normalize-specifiers-3): New function.
bcd70d97
SM
10430 (display-buffer-normalize-specifiers):
10431 Call display-buffer-normalize-specifiers-3.
25aef8b8 10432
dbad4f69
MR
104332011-06-17 Martin Rudalics <rudalics@gmx.at>
10434
10435 * window.el (same-window-p): Fix two typos introduced when
10436 adding with-no-warnings.
d1067961
MR
10437 (display-buffer-normalize-specifiers-1): Don't check
10438 pop-up-frames for 'unset initialization.
10439 (display-buffer-normalize-specifiers-2): Major rewrite using
10440 special-display-p and same-window-p (Bug#8851) and (Bug#8856).
10441 (pop-up-frames, display-buffer-reuse-frames)
10442 (display-buffer-mark-dedicated): Don't initialize to 'unset.
10443 Suggested by David Engster <deng@randomsample.de>.
10444 (even-window-heights): Initialize to 'unset.
10445 (display-buffer-alist-set): Handle new 'unset initializations.
25aef8b8
MR
10446 (display-buffer-macro-specifiers): Don't pop up a new frame in the
10447 other window case.
dbad4f69 10448
9b9c9e3a
MR
104492011-06-16 Martin Rudalics <rudalics@gmx.at>
10450
bcd70d97
SM
10451 * window.el (display-buffer-normalize-specifiers-1):
10452 Respect current value of pop-up-frames for most reasonable values of
9b9c9e3a 10453 second argument of display-buffer (Bug#8865).
981d5c09
MR
10454 (switch-to-buffer-same-frame, switch-to-buffer-other-window)
10455 (switch-to-buffer-other-window-same-frame)
10456 (switch-to-buffer-other-frame): Fix doc-strings. Reported by Drew
10457 Adams (Bug#8875).
9c2755e9
MR
10458 (display-buffer): Don't check noninteractive when calling
10459 display-buffer-pop-up-frame.
10460 (display-buffer-pop-up-frame): Never pop up a frame in
10461 noninteractive mode (Bug#8857).
67222e1d
MR
10462 (enlarge-window, shrink-window): Don't report an error when the
10463 window can't be resized as requested (Bug#8862).
9b9c9e3a 10464
2b75be67
SM
104652011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
10466
9ffdd3ba
SM
10467 * pcmpl-rpm.el (pcomplete/rpm): Minor simplification.
10468
cb581a67
SM
10469 * emacs-lisp/debug.el (debug): Don't leave the buffer in Debugger.
10470
2b75be67
SM
10471 * abbrev.el (define-abbrev-table): Don't add a table multiple times.
10472
8c0e3589
AM
104732011-06-15 Alan Mackenzie <acm@muc.de>
10474
cb581a67
SM
10475 * progmodes/cc-fonts.el (c-font-lock-declarations): 1: Whilst checking
10476 for declarators, disable knr checking to speed up for normal files.
10477 2: Refactor, replacing a sequence of nested if forms by a cond form.
8c0e3589 10478
b96e6cde
LMI
104792011-06-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
10480
4bba86e6
LMI
10481 * net/network-stream.el (open-network-stream): Add the keyword
10482 :always-query-capabilities for the case where you want to force a
10483 `plain' network connection, but the protocol still requires the
10484 capabilitiy command (i.e., SMTP and EHLO).
10485
2b75be67 10486 * subr.el (process-live-p): Rename from `process-alive-p' for
b96e6cde
LMI
10487 consistency with other `-live-p' functions.
10488
efdcdbf8
SM
104892011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
10490
10491 * window.el (same-window-buffer-names, same-window-regexps)
10492 (special-display-frame-alist, special-display-popup-frame)
10493 (special-display-function, special-display-buffer-names)
10494 (special-display-regexps, pop-up-frame-alist)
10495 (pop-up-frame-function, pop-up-frames, display-buffer-reuse-frames)
10496 (pop-up-windows, split-window-preferred-function)
10497 (split-height-threshold, split-width-threshold, even-window-heights)
10498 (display-buffer-mark-dedicated): Don't encourage the use of
10499 display-buffer-alist from Elisp code.
10500
c5cde042
DN
105012011-06-15 Dan Nicolaescu <dann@ics.uci.edu>
10502
10503 * progmodes/python.el (python-mode): Derive from prog-mode.
10504 * progmodes/ps-mode.el (ps-mode):
10505 * progmodes/mixal-mode.el (mixal-mode):
50328a1b 10506 * progmodes/cfengine.el (cfengine-mode):
c5cde042
DN
10507 * progmodes/ld-script.el (ld-script-mode): Likewise.
10508
baa1c9ab
MR
105092011-06-15 Martin Rudalics <rudalics@gmx.at>
10510
10511 * window.el (display-buffer-alist): Trim default value to avoid
10512 popping up a new frame (Bug#8857) or reusing an arbitrary window
10513 on another frame.
10514 (display-buffer): Do not fall back on popping up a new frame in
10515 batch mode (Bug#8857).
10516
c5dd5a51
CY
105172011-06-14 Chong Yidong <cyd@stupidchicken.com>
10518
10519 * cus-theme.el (describe-theme-1): Use custom-theme-p.
10520 (custom-theme-summary): New function.
10521 (customize-themes): Use it.
10522
d647b7c4
GM
105232011-06-13 Glenn Morris <rgm@gnu.org>
10524
10525 * cus-dep.el (custom-make-dependencies): Use up command-line-args-left.
10526
9481c002
MR
105272011-06-13 Martin Rudalics <rudalics@gmx.at>
10528
357f93d2
MR
10529 * help.el (help-window): Remove variable.
10530 (help-window-point-marker, temp-buffer-max-height)
10531 (temp-buffer-resize-mode, help-window-select): Rewrite doc-strings.
10532 (help-print-return-message): Don't set help-window.
10533 (resize-temp-buffer-window): Rewrite cod eand doc-string.
10534 (help-window-setup-finish): Remove.
10535 (help-window-display-message, help-window-setup)
10536 (with-help-window): Major rewrite based on new
10537 display-buffer-window variable.
10538
10539 * help-mode.el (help-mode-finish): Remove help-window related
10540 code.
10541
10542 * view.el (view-exits-all-viewing-windows): Remove reference to
10543 view-return-to-alist in doc-string.
10544 (view-return-to-alist): Make obsolete.
10545 (view-buffer): Call pop-to-buffer-same-window and remove
10546 undo-window code.
10547 (view-buffer-other-window): Call pop-to-buffer-other-window and
10548 simplify code. Ignore second argument.
10549 (view-buffer-other-frame): Call pop-to-buffer-other-frame and
10550 simplify code. Ignore second argument.
10551 (view-return-to-alist-update): Make obsolete.
10552 (view-mode-enter): Rename second argument to QUIT-RESTORE.
10553 Rewrite using quit-restore window parameters.
2b75be67
SM
10554 (view-mode-exit): Rename second argument to EXIT-ONLY.
10555 Rewrite using quit-restore-window.
357f93d2
MR
10556 (View-exit, View-exit-and-edit, View-leave, View-quit)
10557 (View-quit-all, View-kill-and-leave): Call view-mode-exit with
10558 appropriate arguments.
10559 (view-end-message): Use quit-restore window parameter.
10560
9481c002
MR
10561 * window.el (display-buffer-function): Rewrite doc-string.
10562 (display-buffer-window, display-buffer-alist): New variables.
10563 (display-buffer-split-specifiers)
10564 (display-buffer-side-specifiers)
10565 (display-buffer-macro-specifiers): New constants.
10566 (display-buffer-even-window-sizes, display-buffer-set-height)
10567 (display-buffer-set-width, display-buffer-select-window)
10568 (display-buffer-in-window, display-buffer-reuse-window)
10569 (display-buffer-split-window-1, display-buffer-split-window)
10570 (display-buffer-split-atom-window, display-buffer-pop-up-window)
10571 (display-buffer-pop-up-frame, display-buffer-pop-up-side-window)
10572 (display-buffer-in-side-window, normalize-buffer-to-display)
10573 (display-buffer-normalize-specifiers-1)
10574 (display-buffer-normalize-specifiers-2)
2b75be67
SM
10575 (display-buffer-normalize-specifiers, display-buffer-frame):
10576 New functions.
9481c002
MR
10577 (display-buffer): Major rewrite.
10578 (display-buffer-other-window, display-buffer-other-frame)
10579 (pop-to-buffer, switch-to-buffer-other-window)
10580 (switch-to-buffer-other-frame): Rewrite.
10581 (display-buffer-same-window, display-buffer-same-frame)
10582 (display-buffer-same-frame-other-window)
10583 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
10584 (pop-to-buffer-other-window)
10585 (pop-to-buffer-same-frame-other-window)
10586 (pop-to-buffer-other-frame, switch-to-buffer-same-frame)
10587 (switch-to-buffer-other-window-same-frame): New functions.
10588 (same-window-p, special-display-p): Rewrite disabling warnings.
10589 Make obsolete.
10590 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
10591 (display-buffer-mark-dedicated): Initialize to symbol 'unset.
10592 Make obsolete
10593 (same-window-buffer-names, same-window-regexps)
10594 (special-display-frame-alist, special-display-popup-frame)
10595 (special-display-function, special-display-buffer-names)
10596 (special-display-regexps, pop-up-frame-alist)
10597 (pop-up-frame-function, split-window-preferred-function)
10598 (split-height-threshold, split-width-threshold)
10599 (even-window-heights): Make obsolete.
10600
9db51aca
GM
106012011-06-12 Glenn Morris <rgm@gnu.org>
10602
10603 * term/xterm.el (terminal-init-xterm): `version' may be nil. (Bug#8838)
7cb363eb 10604 Misc simplifications.
9db51aca 10605
39cffb44
MR
106062011-06-12 Martin Rudalics <rudalics@gmx.at>
10607
10608 * window.el (window-safely-shrinkable-p): Restore function which
10609 was inadvertently removed in change from 2011-06-11. Declare as
10610 obsolete.
10611
2b75be67
SM
10612 * calendar/calendar.el (calendar-generate-window):
10613 Use window-iso-combined-p instead of combination of one-window-p and
39cffb44
MR
10614 window-safely-shrinkable-p.
10615
a8955be7
GM
106162011-06-12 Glenn Morris <rgm@gnu.org>
10617
10618 * progmodes/fortran.el (fortran-mode-syntax-table):
10619 * progmodes/f90.el (f90-mode-syntax-table):
10620 Set % to punctuation. (Bug#8820)
10621 (f90-find-tag-default): Remove, no longer needed.
10622
f0d4059d
DC
106232011-06-12 Daniel Colascione <dan.colascione@gmail.com>
10624
10625 * emacs-lisp/syntax.el (syntax-ppss): Clarify which items are invalid.
10626
1100a63c
CY
106272011-06-11 Chong Yidong <cyd@stupidchicken.com>
10628
10629 * image.el (image-animated-p): Return animation delay in seconds.
10630 Avoid bit manipulation in Lisp; use `delay' entry in the metadata.
10631 (image-animate-timeout): Remove DELAY argument. Don't assume
10632 every subimage has the same delay; get it from image-animated-p.
10633 (image-animate): Caller changed.
10634
def722bf
MA
106352011-06-11 Michael Albinus <michael.albinus@gmx.de>
10636
10637 * net/tramp.el (tramp-debug-message): Add `tramp-with-progress-reporter'
10638 to ignored backtrace functions.
10639
0a2bb1a9
GM
106402011-06-11 Glenn Morris <rgm@gnu.org>
10641
10642 * calendar/appt.el (appt-disp-window-function): Doc fix.
10643 (appt-check): Handle overlapping appointments. (Bug#8337)
10644
6198ccd0
MR
106452011-06-11 Martin Rudalics <rudalics@gmx.at>
10646
10647 * window.el (window-tree-1, window-tree): New functions, moving
10648 the latter to window.el.
10649 (bw-get-tree, bw-get-tree-1, bw-find-tree-sub)
10650 (bw-find-tree-sub-1, bw-l, bw-t, bw-r, bw-b, bw-dir, bw-eqdir)
10651 (bw-refresh-edges): Remove.
10652 (balance-windows-1, balance-windows-2): New functions.
10653 (balance-windows): Rewrite in terms of window tree functions,
10654 balance-windows-1 and balance-windows-2.
10655 (bw-adjust-window): Remove.
10656 (balance-windows-area-adjust): New function with functionality of
10657 bw-adjust-window but using resize-window.
2b75be67
SM
10658 (set-window-text-height): Rewrite doc-string.
10659 Use normalize-live-window and resize-window.
10660 (enlarge-window-horizontally, shrink-window-horizontally):
10661 Rename argument to DELTA.
6198ccd0
MR
10662 (window-buffer-height): New function.
10663 (fit-window-to-buffer, shrink-window-if-larger-than-buffer):
10664 Rewrite using new window resize routines.
2b75be67
SM
10665 (kill-buffer-and-window, mouse-autoselect-window-select):
10666 Use ignore-errors instead of condition-case.
6198ccd0
MR
10667 (quit-window): Call delete-frame instead of delete-windows-on
10668 for the only buffer on frame.
10669
9397e56f
MR
106702011-06-10 Martin Rudalics <rudalics@gmx.at>
10671
10672 * loadup.el (top-level): Load window before files for the sake
10673 of replace-buffer-in-windows.
10674
10675 * files.el (read-buffer-to-switch)
10676 (switch-to-buffer-other-window)
2b75be67
SM
10677 (switch-to-buffer-other-frame, display-buffer-other-frame):
10678 Move to window.el.
9397e56f
MR
10679
10680 * simple.el (get-next-valid-buffer, last-buffer, next-buffer)
10681 (previous-buffer): Move to window.el.
10682
10683 * bindings.el (unbury-buffer): Move to window.el.
10684
10685 * window.el (delete-other-windows-vertically): Move after
10686 definition of delete-other-windows.
10687 (other-window, delete-windows-on, replace-buffer-in-windows):
10688 Move here from window.c.
10689 (record-window-buffer, unrecord-window-buffer)
10690 (set-window-buffer-start-and-point, switch-to-prev-buffer)
10691 (switch-to-next-buffer): New functions.
10692 (get-next-valid-buffer, last-buffer, next-buffer): Move here
10693 from simple.el. Call switch-to-next-buffer.
2b75be67
SM
10694 (previous-buffer): Move here from simple.el.
10695 Call switch-to-prev-buffer.
9397e56f
MR
10696 (bury-buffer): Move here from buffer.c. Switch to previous
10697 buffer when window cannot be deleted.
10698 (unbury-buffer): Move here from bindings.el.
10699 (ctl-x-map): Move binding for other-window from window.c to
10700 here.
10701 (read-buffer-to-switch, switch-to-buffer-other-window)
10702 (switch-to-buffer-other-frame): Move here from files.el.
10703 (normalize-buffer-to-switch-to): New functions.
2b75be67
SM
10704 (switch-to-buffer): Move here from buffer.c.
10705 Use read-buffer-to-switch and normalize-buffer-to-switch-to.
9397e56f 10706
562dd5e9
MR
107072011-06-10 Martin Rudalics <rudalics@gmx.at>
10708
10709 * window.el (window-min-height, window-min-width): Move here
10710 from window.c. Add defcustoms and rewrite doc-strings.
10711 (resize-mini-window, resize-window): New functions.
10712 (adjust-window-trailing-edge, enlarge-window, shrink-window):
10713 Move here from window.c.
10714 (maximize-window, minimize-window): New functions.
10715 (delete-window, delete-other-windows, split-window): Move here
10716 from window.c.
10717 (window-split-min-size): New function.
10718 (split-window-keep-point): Mention split-window-above-each-other
10719 instead of split-window-vertically.
2b75be67 10720 (split-window-above-each-other, split-window-vertically):
1154d12e
JB
10721 Rename split-window-vertically to split-window-above-each-other
10722 and provide defalias for old definition.
10723 (split-window-side-by-side, split-window-horizontally):
10724 Rename split-window-horizontally to split-window-side-by-side
10725 and provide defalias for the old definition.
562dd5e9
MR
10726 (ctl-x-map): Move bindings for delete-window,
10727 delete-other-windows and enlarge-window here from window.c.
10728 Replace bindings for split-window-vertically and
10729 split-window-horizontally by bindings for
10730 split-window-above-each-other and split-window-side-by-side.
10731
10732 * cus-start.el (all): Remove entries for window-min-height and
10733 window-min-width. Add entries for window-splits and
10734 window-nest.
10735
f0da764a
GM
107362011-06-09 Glenn Morris <rgm@gnu.org>
10737
80675c21
GM
10738 * calendar/appt.el (appt-mode-line): New function.
10739 (appt-check, appt-disp-window): Use it.
10740
f0da764a
GM
10741 * files.el (hack-one-local-variable-eval-safep):
10742 Allow minor-modes with explicit +/-1 arguments.
10743
59f623b7
TZ
107442011-06-09 Teodor Zlatanov <tzz@lifelogs.com>
10745
10746 * term/xterm.el (xterm): Add defgroup.
10747 (xterm-extra-capabilities): Add defcustom to supply known xterm
10748 capabilities, skip querying them, or query them (default).
10749 (terminal-init-xterm): Use it.
10750 (terminal-init-xterm-modify-other-keys): New function to set up
10751 modifyOtherKeys support to simplify `terminal-init-xterm'.
10752
9aab8e0d
MR
107532011-06-09 Martin Rudalics <rudalics@gmx.at>
10754
10755 * window.el (resize-window-reset, resize-window-reset-1)
10756 (resize-subwindows-skip-p, resize-subwindows-normal)
10757 (resize-subwindows, resize-other-windows, resize-this-window)
10758 (resize-root-window, resize-root-window-vertically)
10759 (window-deletable-p, window-or-subwindow-p)
10760 (frame-root-window-p): New functions.
10761
e8b08aee
GM
107622011-06-09 Glenn Morris <rgm@gnu.org>
10763
10764 * net/ange-ftp.el (ange-ftp-switches-ok): New function.
10765 (ange-ftp-get-files): Use it.
10766
254c37a5
AK
107672011-06-09 Alexander Klimov <alserkli@inbox.ru> (tiny change)
10768
10769 * mail/sendmail.el (mail-recover-1, mail-recover):
10770 * files.el (recover-file, recover-session):
10771 Handle dired-listing-switches not being just a single short option.
10772
35d7dbd3
GM
107732011-06-09 Glenn Morris <rgm@gnu.org>
10774
10775 * calendar/appt.el (appt-display-message, appt-disp-window):
10776 Handle lists of appointments.
10777
387522b2
MR
107782011-06-08 Martin Rudalics <rudalics@gmx.at>
10779
2b75be67
SM
10780 * window.el (one-window-p): Move down in code.
10781 Rewrite doc-string.
10782 (window-current-scroll-bars): Rewrite doc-string.
10783 Normalize live window argument.
387522b2
MR
10784 (walk-windows, get-window-with-predicate, count-windows):
10785 Rewrite doc-string. Use window-list-1.
10786 (window-in-direction-2, window-in-direction, get-mru-window):
10787 New functions.
10788
d8e4b68b 107892011-06-08 Reuben Thomas <rrt@sc3d.org>
2c587104
GM
10790
10791 * progmodes/flymake.el (flymake-compilation-prevents-syntax-check):
10792 Doc fix (Bug#8713).
10793
107942011-06-08 Chong Yidong <cyd@stupidchicken.com>
10795
10796 * repeat.el (repeat-on-final-keystroke): Fix type (Bug#8696).
10797
107982011-06-08 Juanma Barranquero <lekktu@gmail.com>
10799
10800 * loadhist.el (unload-feature-special-hooks):
10801 Add `comint-output-filter-functions'.
10802
0de12c52
IK
108032011-06-08 Ivan Kanis <gnu@kanis.fr>
10804
10805 * calendar/appt.el (appt-check): Move some initializations into the let.
10806
f3d1777e
MR
108072011-06-08 Martin Rudalics <rudalics@gmx.at>
10808
10809 * window.el (window-height): Defalias to window-total-height.
10810 (window-width): Defalias to window-body-width.
10811
18af70d0
CY
108122011-06-07 Chong Yidong <cyd@stupidchicken.com>
10813
10814 * image-mode.el (image-toggle-animation): New command.
10815 (image-mode-map): Bind it to RET.
10816 (image-mode): Update message.
10817 (image-toggle-display-image): Avoid a spurious cache flush.
10818 (image-transform-rotation): Doc fix.
10819 (image-transform-properties): Return quickly in the normal case.
10820 (image-animate-loop): Rename from image-animate-max-time.
10821
2b75be67 10822 * image.el (image-animate-max-time): Move to image-mode.el.
18af70d0
CY
10823 (create-animated-image): Remove unnecessary function.
10824 (image-animate): Rename from image-animate-start. New arg.
2b75be67 10825 (image-animate-stop): Remove; just use image-animate-timer.
18af70d0
CY
10826 (image-animate-timer): Use car-safe.
10827 (image-animate-timeout): Rename argument.
10828
190b47e6
MR
108292011-06-07 Martin Rudalics <rudalics@gmx.at>
10830
10831 * window.el (get-lru-window, get-largest-window): Move here from
2b75be67
SM
10832 window.c. Rename first argument to ALL-FRAMES.
10833 Rephrase doc-strings.
10834 (get-buffer-window-list): Rewrite using window-list-1.
10835 Rephrase doc-string.
a1511caf
MR
10836 (window-safe-min-height, window-safe-min-width): New constants.
10837 (window-size-ignore, window-min-size, window-min-size-1)
10838 (window-sizable, window-sizable-p, window-size-fixed-1)
10839 (window-size-fixed-p, window-min-delta-1, window-min-delta)
10840 (window-max-delta-1, window-max-delta, window-resizable)
10841 (window-resizable-p, window-total-height, window-total-width)
10842 (window-body-width): New functions.
10843 (window-full-height-p, window-full-width-p): Rewrite using
10844 window-total-size.
10845 (window-body-height): Rewrite using window-body-size.
190b47e6 10846
85cc1f11
MR
108472011-06-06 Martin Rudalics <rudalics@gmx.at>
10848
10849 * window.el (window-right, window-left, window-child)
10850 (window-child-count, window-last-child, window-any-p)
10851 (normalize-live-buffer, normalize-live-frame)
10852 (normalize-any-window, normalize-live-window)
10853 (window-iso-combination-p, window-iso-combined-p)
10854 (window-iso-combinations)
10855 (walk-window-tree-1, walk-window-tree, walk-window-subtree)
10856 (windows-with-parameter, window-with-parameter)
10857 (window-atom-root, make-window-atom, window-atom-check-1)
2b75be67
SM
10858 (window-atom-check, window-side-check, window-check):
10859 New functions.
85cc1f11
MR
10860 (ignore-window-parameters, window-sides, window-sides-vertical)
10861 (window-sides-slots): New variables.
10862 (window-size-fixed): Move down in code. Minor doc-string fix.
10863
e7156492
AS
108642011-06-05 Andreas Schwab <schwab@linux-m68k.org>
10865
10866 * comint.el (comint-dynamic-complete-as-filename)
10867 (comint-dynamic-complete-filename): Correctly call
10868 completion-in-region.
10869
7e821d0d
DD
108702011-06-05 Deniz Dogan <deniz@dogan.se>
10871
10872 * net/rcirc.el (rcirc-prompt-for-encryption): Fix bug introduced
10873 in last change.
10874
ac09b8a1
DD
108752011-06-05 Deniz Dogan <deniz@dogan.se>
10876
10877 * net/rcirc.el (rcirc-prompt-for-encryption): New function.
10878 (rcirc): Use it to prompt for encryption.
10879
34699b85
RW
108802011-06-05 Roland Winkler <winkler@gnu.org>
10881
10882 * textmodes/bibtex.el (bibtex-search-buffer): New variable.
10883 (bibtex-search-entries): New command bound to C-c C-a.
10884 (bibtex-display-entries): New function.
10885
004dedd3
RW
108862011-06-05 Roland Winkler <winkler@gnu.org>
10887
10888 * textmodes/bibtex.el (bibtex-generate-url-list): Fix docstring.
10889 (bibtex-insert-kill): After yanking insert newline if necessary.
10890 (bibtex-initialize): Call bibtex-string-files-init only once.
10891 (bibtex-mode): Do not call easy-menu-add.
10892 (bibtex-validate-globally): Use save-excursion in bibtex buffers.
10893 (bibtex-yank): Set arg properly if nil.
10894
022fe7ce
RW
108952011-06-05 Roland Winkler <winkler@gnu.org>
10896
2b75be67
SM
10897 * textmodes/bibtex.el (bibtex-search-entry-globally):
10898 New variable.
022fe7ce
RW
10899 (bibtex-search-entry): Use it.
10900
b7c3692a
RW
109012011-06-05 Roland Winkler <winkler@gnu.org>
10902
10903 * textmodes/bibtex.el (bibtex-entry-format): New option
10904 sort-fields.
10905 (bibtex-format-entry, bibtex-reformat): Honor this option.
10906 (bibtex-parse-entry): Return fields in proper order.
10907
8eda563d
JB
109082011-06-05 Juanma Barranquero <lekktu@gmail.com>
10909
10910 * doc-view.el (doc-view-remove-if): Move computation of result out
10911 of `dolist' to silence misleading lexical-binding warning.
10912
7dbe3dbc
CY
109132011-06-04 Chong Yidong <cyd@stupidchicken.com>
10914
10915 * emacs-lisp/timer.el (timer-activate): Remove unused arg.
10916 (timer-activate, timer-activate-when-idle): Doc fix (Bug#8793).
10917
0c33dd17
MA
109182011-06-04 Michael Albinus <michael.albinus@gmx.de>
10919
10920 * net/tramp-sh.el (tramp-find-shell): Apply workaround also for
10921 "SunOS 5.10".
10922
f8f91c2b
MA
109232011-06-04 Michael Albinus <michael.albinus@gmx.de>
10924
10925 * net/tramp.el (tramp-set-completion-function, tramp-parse-rhosts)
10926 (tramp-parse-shosts, tramp-parse-sconfig, tramp-parse-shostkeys)
10927 (tramp-parse-hosts, tramp-parse-passwd, tramp-parse-netrc)
10928 (tramp-parse-putty):
10929 * net/tramp-sh.el (tramp-completion-function-alist-rsh)
10930 (tramp-completion-function-alist-ssh)
10931 (tramp-completion-function-alist-telnet)
10932 (tramp-completion-function-alist-su)
10933 (tramp-completion-function-alist-putty): Set `tramp-autoload'
10934 cookie.
10935
10936 * net/tramp-ftp.el:
10937 * net/tramp-sh.el:
10938 * net/tramp-smb.el: Set `tramp-autoload' cookie, and eval after
10939 load "tramp.el" `tramp-set-completion-function'.
10940
e17d9003
SM
109412011-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
10942
10943 * shell.el: Require and use pcomplete.
10944 (shell-dynamic-complete-functions): Add pcomplete-completions-at-point.
10945 (shell-completion-vars): Set pcomplete-default-completion-function.
10946
6c4cab03
DD
109472011-06-04 Deniz Dogan <deniz@dogan.se>
10948
10949 * iswitchb.el (iswitchb-window-buffer-p): Use `member' instead of
10950 `memq' (Bug#8799).
10951
ea9fafe0
SM
109522011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
10953
10954 * subr.el (make-progress-reporter): Add "..." by default (bug#8785).
10955
b3e945d3
JB
109562011-06-02 Juanma Barranquero <lekktu@gmail.com>
10957
10958 * bs.el (bs--mark-unmark, bs--nth-wrapper):
10959 * mpc.el (mpc-select-extend, mpc-songpointer-context):
10960 * vc/log-view.el (log-view-beginning-of-defun):
10961 * vc/smerge-mode.el (smerge-apply-resolution-patch)
10962 (smerge-refine-forward, smerge-refine-chopup-region):
10963 Silence warning for unused `dotimes' counter variables.
10964
7d520089
SM
109652011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
10966
10967 * net/tramp.el (tramp-with-progress-reporter): Rename from
10968 with-progress-reporter. Use `declare'.
10969 * net/tramp-smb.el:
10970 * net/tramp-sh.el:
10971 * net/tramp-gvfs.el: Update all uses.
10972
a1c2400f
JB
109732011-06-02 Jay Belanger <jay.p.belanger@gmail.com>
10974
10975 * calc/calc.el (calc-kill-stack-buffer): Make sure that the trail
10976 buffer isn't killed before making it current.
10977
2403c841
SM
109782011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
10979
10980 Silence various byte-compiler warnings.
10981 * emacs-lisp/byte-run.el (make-obsolete-variable): New argument
10982 `access-type' and new obsolescence format.
10983 * emacs-lisp/bytecomp.el (byte-compile-warn-obsolete): Adjust to
10984 new format.
10985 (byte-compile-check-variable): New `access-type' argument.
10986 Only warn if the access-type is obsolete.
10987 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
10988 (byte-compile-variable-set): Adjust callers.
10989 * help-fns.el (describe-variable): Adjust to new obsolescence format.
10990 * mail/sendmail.el (mail-mailer-swallows-blank-line): Only mark
10991 setting it as obsolete.
10992 * simple.el (minibuffer-completing-symbol):
10993 * font-lock.el (font-lock-beginning-of-syntax-function): Only mark read
10994 access as obsolete.
10995 * minibuffer.el (minibuffer-completing-file-name): Don't make it
10996 obsolete yet.
10997 * international/quail.el (quail-mouse-choose-completion): Remove unused
10998 code referring to obsolete var.
10999 (quail-choose-completion-string): Remove.
11000 * server.el (server-clients-with, server-kill-buffer-query-function)
11001 (server-kill-emacs-query-function): Silence "unused `proc'" warnings.
11002 * proced.el (proced-send-signal):
11003 * emacs-lisp/lisp.el (lisp-complete-symbol):
11004 Replace completion-annotate-function with completion-extra-properties.
11005
2462470b
SM
110062011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
11007
fb5b2591
SM
11008 * simple.el (goto-line): Use read-number.
11009 (overriding-map-is-bound): Remove.
11010 (saved-overriding-map): Change default.
11011 (save&set-overriding-map): Rename from ensure-overriding-map-is-bound;
11012 Take the map as argument.
11013 (universal-argument, negative-argument, digit-argument): Use it.
11014 (restore-overriding-map): Adjust.
11015 (do-auto-fill): Use fill-forward-paragraph.
11016 (keyboard-quit): Don't signal an error when debug-on-quit is non-nil.
11017
fd6fa53f
SM
11018 * minibuffer.el (minibuffer-inactive-mode-map): New var.
11019 (minibuffer-inactive-mode): New major mode.
11020 * mouse.el (mouse-drag-region): Remove the "mouse-1 pops up
11021 the *Messages* buffer" hack.
11022 (mouse-popup-menubar): Don't burp if the event is a normal key.
11023
2462470b
SM
11024 Miscellaneous tweaks.
11025 * emacs-lisp/cl-macs.el (dolist, dotimes): Use the same strategy for
11026 lexical scoping as in subr.el's dolist and dotimes.
11027 * emacs-lisp/bytecomp.el (byte-compile-unfold-bcf):
11028 Silence compiler warning.
11029 * thingatpt.el (forward-whitespace): Trivial coding style fix.
11030 * subr.el (with-output-to-temp-buffer): Provide an edebug spec.
11031 * international/ccl.el (ccl-compile): Trivial simplification.
11032 * help-fns.el (help-do-arg-highlight): Silence compiler warning.
11033 * emacs-lisp/testcover.el (testcover-end): Remove spurious
11034 `printflag' argument.
11035 * emacs-lisp/byte-run.el (make-obsolete, make-obsolete-variable):
11036 Purecopy the whole obsolescence data.
11037
108bf785
LL
110382011-06-01 Leo Liu <sdl.web@gmail.com>
11039
11040 * net/rcirc.el (rcirc-decode-coding-system): Revert last change;
11041 improve doc-string as suggested by Marco Pessotto
11042 <melmothx@gmail.com>.
11043 (rcirc-print): Fix last change.
11044
30a23501
SM
110452011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
11046
11047 * minibuffer.el (complete-with-action): Return nil for the metadata and
11048 boundaries of non-functional tables.
11049 (completion-table-dynamic): Return nil for the metadata.
11050 (completion-table-with-terminator): Add default case, using
11051 complete-with-action.
11052 (completion--metadata): New function.
11053 (completion-all-sorted-completions, minibuffer-completion-help): Use it
11054 to try and avoid pathological performance problems.
11055 (completion--embedded-envvar-table): Return `category' metadata.
11056
bcd54f83
LMI
110572011-05-31 Lars Magne Ingebrigtsen <larsi@gnus.org>
11058
11059 * subr.el (process-alive-p): New tiny convenience function.
11060
e227544d
SM
110612011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
11062
11063 * emacs-lisp/debug.el (debug): Save&restore not just the buffer's
11064 content but also its previous major mode.
11065
e8296fdc
HE
110662011-05-31 Helmut Eller <eller.helmut@gmail.com>
11067
4d61f28d 11068 * emacs-lisp/debug.el (debug): Restore the previous content of the
e8296fdc
HE
11069 *Backtrace* buffer when we exit with C-M-c.
11070
620c53a6
SM
110712011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
11072
11073 * minibuffer.el: Add metadata method to completion tables.
11074 (completion-category-overrides): New defcustom.
11075 (completion-metadata, completion--field-metadata)
11076 (completion-metadata-get, completion--styles)
11077 (completion--cycle-threshold): New functions.
11078 (completion-try-completion, completion-all-completions):
11079 Add `metadata' argument to choose completion-styles.
11080 (completion--do-completion): Use metadata to choose cycling.
11081 (completion-all-sorted-completions): Use metadata for sorting.
11082 Remove :completion-cycle-penalty which is not needed any more.
11083 (completion--try-word-completion): Add `metadata' argument.
11084 (minibuffer-completion-help): Check metadata for annotation function
11085 and sorting.
11086 (completion-file-name-table): Return `category' metadata.
11087 (minibuffer-completing-file-name): Make obsolete.
11088 * simple.el (minibuffer-completing-symbol): Make obsolete.
11089 * icomplete.el (icomplete-completions): Pass new `metadata' param to
11090 completion-try-completion.
11091
1257e755
SM
110922011-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
11093
11094 * mail/smtpmail.el (smtpmail-send-data): Add progress reporter.
11095
3767e706
LL
110962011-05-30 Leo Liu <sdl.web@gmail.com>
11097
11098 * net/rcirc.el (rcirc-debug-buffer): Use visible buffer name.
5ab33f2b
LL
11099 (rcirc-print): Decode all incoming messages (bug#8744).
11100 (rcirc-decode-coding-system): Allow value nil for automatic coding
11101 system detection.
3767e706 11102
d1a5d56a
GM
111032011-06-01 Glenn Morris <rgm@gnu.org>
11104
11105 * mail/emacsbug.el (report-emacs-bug-hook): Mailclient ignores From.
11106
e8cbec34
CY
111072011-05-29 Chong Yidong <cyd@stupidchicken.com>
11108
11109 * image.el (image-animate-max-time): Allow nil and t values.
11110 Default to nil.
11111 (create-animated-image): Doc fix.
11112 (image-animate-start): Remove second arg; just use
11113 image-animate-max-time.
11114 (image-animate-timeout): Doc fix. Args changed.
11115
11116 * image-mode.el (image-toggle-display-image): Ensure that the
11117 image spec passed to the animate timer is the same object as in
58179cce 11118 the buffer's display property (Bug#6981).
e8cbec34
CY
11119 (image-transform-properties): Doc fix.
11120
11121 * image.el (image-animate-max-time): Default to nil.
11122
159daf87
MR
111232011-05-29 Martin Rudalics <rudalics@gmx.at>
11124
11125 * menu-bar.el (kill-this-buffer-enabled-p): Avoid looping over
11126 entire buffer list (Bug#8184).
11127
d66c4c7c
CY
111282011-05-29 Chong Yidong <cyd@stupidchicken.com>
11129
11130 * image.el (imagemagick-types-inhibit)
11131 (imagemagick-register-types): Doc fix.
11132
80aec780
DD
111332011-05-29 Deniz Dogan <deniz@dogan.se>
11134
11135 * net/rcirc.el (rcirc): Use the user's stored encryption method by
11136 default.
11137
1dd3c2d9
CY
111382011-05-29 Chong Yidong <cyd@stupidchicken.com>
11139
11140 * select.el: Don't perform clipboard-manager saving in hooks;
11141 leave the hooks empty.
11142
60e56523
LL
111432011-05-28 Leo Liu <sdl.web@gmail.com>
11144
11145 * replace.el (occur-menu-map, occur-edit-mode-map): New vars.
11146 (occur-mode-map): Bind occur-edit-mode. Use occur-menu-map.
11147 (occur-edit-mode): New major mode (Bug#8463).
11148 (occur-after-change-function): New function.
11149 (occur-engine): Give Occur tags a read-only property.
11150
2b1e1a22
KR
111512011-05-28 Kevin Ryde <user42@zip.com.au>
11152
11153 * subr.el (def-edebug-spec): Doc fix (Bug#8430).
11154
5d344e88
CY
111552011-05-28 Chong Yidong <cyd@stupidchicken.com>
11156
8e6ca83d
CY
11157 * bindings.el (help-echo): Make the initial non-indicator dash
11158 empty on graphical terminals (Bug#7295).
11159
5d344e88
CY
11160 * files.el (auto-mode-alist): Move config rule after the
11161 in-stripping one (Bug#8547).
11162
bfbbace7
CY
11163 * newcomment.el (comment-end-skip): Doc fix (Bug#8659).
11164
fbeba6e2
CY
11165 * startup.el (normal-splash-screen): Remove gratuitous mode-line
11166 setting (Bug#8740).
11167
60ed8c72
AA
111682011-05-28 Alp Aker <aker@pitt.edu> (tiny change)
11169
4ac619f0
AA
11170 * buff-menu.el (Buffer-menu-revert-function, Buffer-menu-sort)
11171 (Buffer-menu-buffer+size): Use Buffer-menu-buffer-column
11172 (Bug#8539).
60ed8c72 11173
23db196e
CY
111742011-05-28 Chong Yidong <cyd@stupidchicken.com>
11175
11176 * emacs-lisp/re-builder.el (re-builder): Improve doc (Bug#8286).
11177
5012f24c
DK
111782011-05-28 Dima Kogan <dkogan@cds.caltech.edu> (tiny change)
11179
11180 * progmodes/hideshow.el (hs-looking-at-block-start-p): New fun.
11181 (hs-hide-block-at-point, hs-find-block-beginning)
11182 (hs-already-hidden-p, hs-hide-block, hs-show-block): Use it
11183 (Bug#8279).
11184
6a639b16
GM
111852011-05-28 Glenn Morris <rgm@gnu.org>
11186
11187 * startup.el (fancy-about-screen): Use standard mode line. (Bug#8740)
11188
d43eaf2c
CY
111892011-05-28 Chong Yidong <cyd@stupidchicken.com>
11190
5199bde1
CY
11191 * help-fns.el (describe-function-1): If the function is a derived
11192 major mode, print the parent mode.
11193
d43eaf2c
CY
11194 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode, java-mode)
11195 (idl-mode, pike-mode, awk-mode): Inherit from prog-mode.
11196
423428a8
SM
111972011-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
11198
0ff8e1ba 11199 * minibuffer.el (completion--capf-wrapper): Check applicability before
0b381c7e 11200 returning non-nil for non-exclusive completion data.
0ff8e1ba
SM
11201 * progmodes/etags.el (tags-completion-at-point-function):
11202 * info-look.el (info-lookup-completions-at-point): Mark as
11203 non-exclusive.
11204 (info-complete): Adjust accordingly.
11205
423428a8
SM
11206 * info-look.el: Convert to lexical-binding and completion-at-point.
11207 (info-lookup-completions-at-point): New function.
11208 (info-complete): Use it and completion-in-region.
11209
b74aa22b
DA
112102011-05-28 Drew Adams <drew.adams@oracle.com>
11211
11212 * isearch.el: Let M-e start with point at the first mismatched char.
11213 (isearch-fail-pos): New function.
11214 (isearch-edit-string): Use it.
11215
66e2e71d
DK
112162011-05-28 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
11217
11218 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
11219
b1890b0f 112202011-05-27 Toby Cubitt <toby-predictive@dr-qubit.org>
eb95d01d
TC
11221
11222 * emacs-lisp/avl-tree.el: New avl-tree-stack datatype. Add new
11223 traversal functions for avl-trees.
11224 (avl-tree--stack): New struct.
11225 (avl-tree-stack-p, avl-tree--stack-repopulate): New funs.
11226 (avl-tree-enter): Add optional `updatefun' arg.
93a1c12a
TC
11227 (avl-tree--do-enter): Add optional `updatefun' arg.
11228 Change return value.
eb95d01d 11229 (avl-tree-delete): Add optional `test' and `nilflag' args.
93a1c12a
TC
11230 (avl-tree--do-delete): Add `test' and `nilflag' args.
11231 Change return value.
eb95d01d
TC
11232 (avl-tree-member): Add optional `nilflag'
11233 (avl-tree-member-p): New function.
11234 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar): New functions.
11235 (avl-tree-stack, avl-tree-stack-pop, avl-tree-stack-first)
11236 (avl-tree-stack-empty-p): New functions.
11237
3769ddcf
TC
11238 * emacs-lisp/avl-tree.el (avl-tree--del-balance): Rename from
11239 avl-tree--del-balance1 and make it work both ways.
11240 (avl-tree--del-balance2): Remove.
11241 (avl-tree--enter-balance): Rename from avl-tree--enter-balance1 and
11242 make it work both ways.
11243 (avl-tree--enter-balance2): Remove.
11244 (avl-tree--switch-dir, avl-tree--dir-to-sign, avl-tree--sign-to-dir):
11245 New macros.
11246 (avl-tree--mapc, avl-tree-map): Add direction argument.
11247
eb95d01d 112482011-05-27 David Michael <fedora.dm0@gmail.com> (tiny change)
7a6b1aef
DM
11249
11250 * files.el (interpreter-mode-alist): Add rbash (bug#8745).
11251
a9f737ee
CY
112522011-05-27 Chong Yidong <cyd@stupidchicken.com>
11253
11254 * select.el: Support clipboard managers with built-in function
11255 x-clipboard-manager-save, via delete-frame-functions and
11256 kill-emacs-hook.
11257 (xselect-convert-to-targets): Add MULTIPLE target to list.
11258 (xselect-convert-to-save-targets): New function.
11259
c92a1e54
KH
112602011-05-27 Kenichi Handa <handa@m17n.org>
11261
11262 * mail/sendmail.el (mail-encode-header): Avoid double encoding by
11263 let-binding rfc2047-encode-encoded-words to nil.
11264
e145f188
GM
112652011-05-27 Glenn Morris <rgm@gnu.org>
11266
5ec8a862
GM
11267 * mail/emacsbug.el: Don't require url-util.
11268
4b29d9fb
GM
11269 * shell.el (shell-directory-tracker): Case matters. (Bug#8735)
11270
e145f188
GM
11271 * files.el (set-auto-mode):
11272 Also respect mode: entries at the end of the file. (Bug#8586)
11273
7d15102b
GM
112742011-05-26 Glenn Morris <rgm@gnu.org>
11275
98f593b8
GM
11276 * files.el (hack-local-variables-prop-line, hack-local-variables):
11277 Downcase mode names, as seems to be traditional.
27b48e63 11278 (hack-local-variables, hack-local-variables-apply): Doc fixes.
98f593b8 11279
7d15102b
GM
11280 * mail/emacsbug.el (report-emacs-bug): Mention checking From address.
11281 (report-emacs-bug-hook): Try to validate the From address. (Bug#8038)
11282
51d5b4ec
JD
112832011-05-25 Julien Danjou <julien@danjou.info>
11284
11285 * textmodes/rst.el (rst-define-level-faces): Do not define face
11286 symbol if it is already defined.
11287
91513f63
VB
112882011-05-24 Vincent Belaïche <vincentb1@users.sourceforge.net>
11289
11290 * play/5x5.el (5x5-new-game, 5x5-randomize):
11291 Reset 5x5-solver-output to nil when a new grid is cast.
11292 (5x5-log-init, 5x5-log): Use defsubst instead of defmacro to shunt
11293 these debugging traces, as defmacro breaks the compiled code.
11294
4d90d6d0
DK
112952011-05-24 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
11296
11297 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
11298
e1b90ef6
LL
112992011-05-24 Leo Liu <sdl.web@gmail.com>
11300
11301 * vc/vc-bzr.el (vc-bzr-sha1-program): Rename from sha1-program.
11302 (vc-bzr-sha1): Adapt.
11303
d8e4b68b 11304 * sha1.el: Remove. Function `sha1' is now builtin.
e1b90ef6
LL
11305
11306 * bindings.el: Provide sha1 feature.
11307
db0406bb 113082011-05-24 Kenichi Handa <handa@m17n.org>
b8d747b9
KH
11309
11310 * mail/sendmail.el: Require `rfc2047'.
11311 (mail-insert-from-field): Do not perform RFC2047 encoding.
11312 (mail-encode-header): New function.
11313 (sendmail-send-it): Set buffer-file-coding-system of the work
4d90d6d0
DK
11314 buffer to the return value of select-message-coding-system.
11315 Call mail-encode-header.
b8d747b9
KH
11316
11317 * mail/smtpmail.el (smtpmail-send-it): Call mail-encode-header.
11318
db0406bb 113192011-05-24 Sean Neakums <sneakums@zork.net> (tiny change)
7261f6ce 11320
4d90d6d0
DK
11321 * mail/supercite.el (sc-default-cite-frame):
11322 Handle sc-nested-citation-p when sc-cite-blank-lines-p is non-nil.
7261f6ce 11323
eb8a5e9b
GM
113242011-05-24 Glenn Morris <rgm@gnu.org>
11325
f8630703
GM
11326 * progmodes/python.el (brm-menu): Declare.
11327
8831bbed
GM
11328 * emulation/viper.el (viper-set-hooks): Declare.
11329
eb8a5e9b
GM
11330 * play/5x5.el (5x5-log-init, 5x5-log): Evaluate when compiling.
11331 (5x5-log-init, 5x5-log, 5x5-solver): Doc fixes.
11332 (math-map-vec, math-sub, math-mul, math-make-intv, math-reduce-vec)
11333 (math-format-number, math-pow, calcFunc-arrange, calcFunc-cvec)
11334 (calcFunc-diag, calcFunc-trn, calcFunc-inv, calcFunc-mrow)
11335 (calcFunc-mcol, calcFunc-vconcat, calcFunc-index): Declare.
11336
a2a25d24
SM
113372011-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
11338
11339 Add an :exit-function for completion-at-point.
11340
11341 * minibuffer.el (completion--done): New fun.
11342 (completion--do-completion): Use it. New arg `expect-exact'.
11343 (minibuffer-complete, minibuffer-complete-word): Don't output message,
11344 since completion--do-completion does it for us now.
11345 (minibuffer-force-complete): Use completion--done and
11346 completion--replace. Handle sole-completion case with more care.
11347 (minibuffer-complete-and-exit): Use new `expect-exact' arg.
11348 (completion-extra-properties): New var.
11349 (completion-annotate-function): Make obsolete.
11350 (minibuffer-completion-help): Adjust accordingly.
11351 Use completion-list-insert-choice-function.
11352 (completion-at-point, completion-help-at-point):
11353 Bind completion-extra-properties.
11354 (completion-pcm-word-delimiters): Add | (for uniquify, for example).
11355 * simple.el (completion-list-insert-choice-function): New var.
11356 (completion-setup-function): Preserve it.
11357 (choose-completion): Pay attention to it, shuffle the code a bit.
11358 (choose-completion-string): New arg `insert-function'.
11359
11360 * textmodes/bibtex.el: Convert to lexical binding.
11361 (bibtex-mode-map): Use completion-at-point.
11362 (bibtex-mode): Use define-derived-mode&completion-at-point-functions.
11363 (bibtex-completion-at-point-function): New fun, from bibtex-complete.
11364 (bibtex-complete): Define as obsolete alias.
11365 (bibtex-complete-internal): Remove.
11366 (bibtex-format-entry): Remove unused sub-group in regexp.
11367 * shell.el (shell--command-completion-data)
11368 (shell-environment-variable-completion):
11369 * pcomplete.el (pcomplete-completions-at-point):
11370 * comint.el (comint--complete-file-name-data): Use :exit-function
11371 instead of completion-table-with-terminator so it also works for
11372 choose-completion.
11373
e44e373d
SM
113742011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
11375
4f91a816
SM
11376 * <lots-of-files>.el: Don't quote lambda expressions with `quote'.
11377
782fc819
SM
11378 * vc/smerge-mode.el (smerge-refine-subst): Don't deactivate the mark
11379 (bug#8710).
11380
e44e373d
SM
11381 * emacs-lisp/lisp.el (up-list): Fix forward movement (bug#8708).
11382
381987c3
KM
113832011-05-23 Ken Manheimer <ken.manheimer@gmail.com>
11384
11385 * allout.el (allout-inhibit-auto-fill-on-headline): Create new
11386 customization variable and implement: If non-nil, auto-fill will
11387 be inhibited while on topic's header line.
11388
b776bc70
VB
113892011-05-23 Vincent Belaïche <vincentb1@users.sourceforge.net>
11390
11391 * play/5x5.el: I/ Add an arithmetic solver to suggest positions to
d8e4b68b 11392 click on. II/ Make 5x5 multisession. III/ Ensure that random grids
b776bc70
VB
11393 always have a solution in grid size = 5 cases.
11394 (5x5-mode-map): Add keybinding to function `5x5-solve-suggest'.
11395 (5x5-solver-output, 5x5-log-buffer): New vars.
11396 (5x5-grid, 5x5-x-pos, 5x5-y-pos, 5x5-moves, 5x5-cracking):
11397 Make these variables buffer local to achieve 5x5 multi-session-ness.
11398 (5x5): Set 5x5-grid-size only if SIZE is non-negative.
11399 (5x5-grid-to-vec, 5x5-vec-to-grid, 5x5-log-init, 5x5-log, 5x5-solver)
11400 (5x5-solve-suggest): New funs.
11401 (5x5-randomize): Use 5x5-make-move instead of 5x5-flip-cell to
11402 randomize a grid so that we ensure that there is always a solution.
11403 (5x5-make-random-grid): Allow other movement than flipping.
11404
7de88b6e
KR
114052011-05-23 Kevin Ryde <user42@zip.com.au>
11406
11407 * emacs-lisp/advice.el (ad-read-advised-function):
5a5fa834 11408 Use `function-called-at-point' as the default, if it has
7de88b6e
KR
11409 advice and passes PREDICATE.
11410
b1ef1257
SM
114112011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
11412
bbca48fe
SM
11413 * emacs-lisp/bytecomp.el (byte-compile-function-form): Only call
11414 byte-compile-lambda if it's actually a lambda.
11415
b1ef1257
SM
11416 * emacs-lisp/eieio.el (eieio-defgeneric-form-primary-only-one):
11417 Fix function quoting. Use backquote better.
11418
92a9cc65
YS
114192011-05-22 Yuanle Song <sylecn@gmail.com>
11420
11421 * nxml/rng-xsd.el (rng-xsd-check-pattern): Use case-sensitive
11422 matching (Bug#8516).
11423
f0fb8059
JA
114242011-01-22 Jari Aalto <jari.aalto@cante.net>
11425
11426 * vc/vc-dir.el (vc-default-dir-printer): Give edited tag a
11427 different face (Bug#8178).
11428
d5b44c93
CY
114292011-05-22 Chong Yidong <cyd@stupidchicken.com>
11430
11431 * vc/diff-mode.el (diff-changed): Don't use terminal specs for
11432 defface (Bug#8144).
11433
79106a44
SM
114342011-05-22 Stefan Monnier <monnier@iro.umontreal.ca>
11435
9c848d8a
SM
11436 * emacs-lisp/macroexp.el (macroexpand-all-1): Convert ' to #' for
11437 funcall as well (bug#8712). Warn when performing those conversions.
11438 * emacs-lisp/bytecomp.el (byte-compile-form): Fix error report.
11439
79106a44
SM
11440 * progmodes/grep.el (grep-mode): Fix it for good (bug#8684)!
11441
88dfa756
GM
114422011-05-22 Glenn Morris <rgm@gnu.org>
11443
11444 * files.el (hack-local-variables-prop-line): Small simplifications.
11445 (hack-local-variables, hack-local-variables-prop-line):
11446 If MODE-ONLY, return the mode, rather than just `t'.
11447
b7cf2c79
SM
114482011-05-21 Stefan Monnier <monnier@iro.umontreal.ca>
11449
11450 * progmodes/grep.el (grep-mode): Fix last change (bug#8684).
11451
3f1a8558
GM
114522011-05-21 Glenn Morris <rgm@gnu.org>
11453
7e4ccca3
GM
11454 * files.el (hack-local-variables-prop-line, hack-local-variables):
11455 If only interested in the mode, don't bother doing the other stuff.
11456
637d46ca
GM
11457 * image-mode.el (image-after-revert-hook):
11458 Redraw all frames on which the image is visible. (Bug#8567)
11459
973d955b
GM
11460 * dired-aux.el (dired-touch-initial): Just use current-time. (Bug#6887)
11461
3f1a8558
GM
11462 * wid-edit.el (widget-checklist-match-inline):
11463 Fix 2011-04-19 change. (Bug#8649)
11464
96479927
SM
114652011-05-20 Stefan Monnier <monnier@iro.umontreal.ca>
11466
1dcf791f
SM
11467 * emacs-lisp/checkdoc.el (checkdoc-sentencespace-region-engine):
11468 Also allow singlespace after single-letter capitals followed by a dot.
11469
96479927
SM
11470 * nxml/nxml-mode.el (nxml-electric-slash): Reindent when completion is
11471 enabled. Suggested by James Ahlborn <jahlborn@gmail.com> (bug#8704).
11472
35fd0881
N
114732011-05-20 Nix <nix@esperi.org.uk>
11474
11475 * files.el (basic-save-buffer-2):
11476 Fix handling of break-hardlink-on-save with non-existent files.
11477
82745640
DD
114782011-05-19 Deniz Dogan <deniz@dogan.se>
11479
11480 * net/rcirc.el (rcirc-mode): Initialize rcirc-urls to nil.
9ff90d99 11481 (rcirc-markup-urls): Check if rcirc-url-regexp is nil.
82745640 11482
4a720484
GM
114832011-05-19 Glenn Morris <rgm@gnu.org>
11484
d1f21341
GM
11485 * progmodes/f90.el (f90-type-def-re):
11486 Handle "type, bind(c)". (Bug#8691)
11487
4a720484
GM
11488 * emacs-lisp/autoload.el (batch-update-autoloads):
11489 Set autoload-excludes by parsing loadup.el rather than Makefiles.
11490
2fb0a219
MA
114912011-05-18 Michael Albinus <michael.albinus@gmx.de>
11492
11493 * net/tramp.el (tramp-process-actions): Set "first-password-request"
11494 property for the correct connection in case of multihops.
11495
e565dd37
GM
114962011-05-18 Glenn Morris <rgm@gnu.org>
11497
c2571358 11498 * emacs-lisp/authors.el (authors-fixed-entries): Remove fakemail.c.
c136e5cd
GM
11499 * mail/sendmail.el (sendmail-program): Fall back to just "sendmail".
11500
e565dd37
GM
11501 Rationalize calendar handling of day and month abbrev-arrays.
11502 * calendar/calendar.el (calendar-customized-p): New function.
11503 (calendar-abbrev-construct, calendar-make-alist): Change what it does.
11504 (calendar-day-name-array, calendar-month-name-array): Doc fix.
11505 Add :set function.
11506 (calendar-abbrev-length, calendar-day-abbrev-array)
11507 (calendar-month-abbrev-array): Make defcustoms, with appropriate :set.
11508 (calendar-day-abbrev-array, calendar-month-abbrev-array):
11509 Elements may no longer be nil.
11510 (calendar-day-name, calendar-month-name):
11511 Update for changed nature of abbrev arrays.
11512 * calendar/diary-lib.el (diary-name-pattern):
11513 Update for changed nature of abbrev arrays.
11514 (diary-mark-entries-1): Update calendar-make-alist calls.
11515 (diary-font-lock-date-forms): Doc fix for changed abbrev arrays.
11516 * calendar/cal-html.el (cal-html-day-abbrev-array):
11517 Simply inherit from calendar-day-abbrev-array.
11518
1d99a745
SM
115192011-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
11520
11521 * progmodes/grep.el (grep-mode): Disable default
11522 compilation-directory-matcher setting (bug#8684).
11523
7c1d9aa0
MA
115242011-05-17 Michael Albinus <michael.albinus@gmx.de>
11525
11526 * net/tramp.el (tramp-handle-insert-file-contents): Use "dd"
11527 instead of "head" and "tail". There were problems with SunOS 5.9,
11528 and it performs better.
11529
3952e9d8
GM
115302011-05-17 Glenn Morris <rgm@gnu.org>
11531
2dd12e7f
GM
11532 * mail/mail-utils.el (mail-dont-reply-to): Silence compiler.
11533
e4157b9c
GM
11534 * progmodes/idlw-shell.el (idlwave-shell-complete-filename):
11535 Replace obsolete function.
11536
8e249bbd
GM
11537 * shell.el (pcomplete-parse-arguments-function): Declare.
11538
3952e9d8
GM
11539 * calendar/appt.el (appt-message-warning-time, appt-display-mode-line)
11540 (appt-display-diary, appt-display-interval, appt-prev-comp-time)
11541 (appt-check): Doc fixes.
11542 (appt-disp-window-function, appt-delete-window-function):
11543 Remove needless special case in custom :type.
11544 (appt-display-count): Default to 0, not nil.
11545 (appt-check): Reset appt-display-count to 0, not nil.
11546
c71a0d48 115472011-05-17 Juanma Barranquero <lekktu@gmail.com>
165fd2df 11548
c71a0d48
GM
11549 * progmodes/python.el (python-font-lock-keywords):
11550 Add the Python 3.X keyword "nonlocal" (bug#8639).
165fd2df 11551
31d55be9
SM
115522011-05-16 Stefan Monnier <monnier@iro.umontreal.ca>
11553
11554 * emacs-lisp/eieio.el (defmethod): Fix quoting of code (bug#8677).
11555
3bfacb2f
KR
115562011-05-16 Kevin Ryde <user42@zip.com.au>
11557
11558 * info-look.el (makefile-automake-mode): New setups, looking in
11559 automake manual, then makefile-mode.
11560 (makefile-mode): Remove automake manual, have it just in
11561 makefile-automake-mode since there's various things different or
11562 not relevant to plain make.
11563 (makefile-mode): Remove "other-modes" non-existent automake-mode,
11564 believe a hypothetical automake-mode would go to makefile-mode,
11565 not the other way around.
11566
c8e83751
CY
115672011-05-15 Chong Yidong <cyd@stupidchicken.com>
11568
5e9e35cd
CY
11569 * vc/diff-mode.el (diff-fixup-modifs): Locate correct position for
11570 hunk-end tags (Bug#8672).
11571
c8e83751
CY
11572 * vc/vc-annotate.el (vc-annotate-mode-map): Bind = to
11573 vc-annotate-show-diff-revision-at-line (Bug#8671).
11574
50b23e5a
GM
115752011-05-14 Glenn Morris <rgm@gnu.org>
11576
7210a739
GM
11577 * vc/add-log.el (add-change-log-entry): Don't start adding a new entry
11578 in the middle of an existing one with multiple authors. (Bug#8645)
375cb676
GM
11579 (change-log-font-lock-keywords): Also handle multiple author lines
11580 with leading tabs. (Bug#8644)
7210a739 11581
4691905a
GM
11582 * calendar/appt.el (appt-check): Rename some local variables.
11583 Some simplification/reordering.
11584
50b23e5a
GM
11585 * mail/feedmail.el (feedmail-confirm-outgoing-timeout)
11586 (feedmail-sendmail-f-doesnt-sell-me-out)
11587 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
11588 (feedmail-debug-sit-for, feedmail-queue-express-hook)
11589 (feedmail-queue-runner-message-sender): Set :version.
1aa64307
GM
11590 (bbdb-search, bbdb-records, smtp-via-smtp, smtp-server)
11591 (bbdb-dwim-net-address, vm-mail): Declare.
50b23e5a
GM
11592 (feedmail-binmail-gnulinuxish-template):
11593 Rename from feedmail-binmail-linuxish-template.
11594 (feedmail-buffer-to-smtp, feedmail-vm-mail-mode):
11595 Use insert-buffer-substring.
11596
215cda7c
BC
115972011-05-14 Bill Carpenter <bill@carpenter.org>
11598
11599 * mail/feedmail.el (feedmail-patch-level): Increase.
11600 (feedmail-debug): New custom group.
11601 (feedmail-confirm-outgoing-timeout)
11602 (feedmail-sendmail-f-doesnt-sell-me-out)
11603 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
11604 (feedmail-debug-sit-for, feedmail-queue-express-hook): New options.
11605 (feedmail-sender-line, feedmail-from-line)
11606 (feedmail-fiddle-headers-upwardly, feedmail-enable-spray)
c2571358 11607 (feedmail-spray-this-address)
215cda7c
BC
11608 (feedmail-spray-address-fiddle-plex-list)
11609 (feedmail-queue-use-send-time-for-date)
11610 (feedmail-queue-use-send-time-for-message-id)
11611 (feedmail-last-chance-hook, feedmail-queue-runner-mode-setter)
11612 (feedmail-buffer-eating-function):
11613 Doc fixes.
11614 (feedmail-spray-via-bbdb, feedmail-buffer-to-smtp)
11615 (feedmail-vm-mail-mode, feedmail-message-action-scroll-up)
11616 (feedmail-message-action-scroll-down): New functions.
11617 (feedmail-queue-directory, feedmail-queue-draft-directory):
11618 Use expand-file-name.
11619 (feedmail-prompt-before-queue-standard-alist): Add scroll entries.
11620 Remove C-v help entry.
11621 (feedmail-queue-buffer-file-name): New variable.
11622 (feedmail-mail-send-hook-splitter, feedmail-buffer-to-binmail)
11623 (feedmail-buffer-to-smtpmail, feedmail-queue-express-to-draft)
11624 (feedmail-message-action-send-strong, feedmail-message-action-edit)
11625 (feedmail-message-action-draft, feedmail-message-action-draft-strong)
11626 (feedmail-message-action-queue, feedmail-message-action-queue-strong)
11627 (feedmail-message-action-toggle-spray)
11628 (feedmail-run-the-queue-no-prompts)
11629 (feedmail-run-the-queue-global-prompt, feedmail-queue-reminder)
11630 (feedmail-look-at-queue-directory, feedmail-queue-subject-slug-maker)
11631 (feedmail-create-queue-filename, feedmail-rfc822-time-zone):
11632 (feedmail-fiddle-header, feedmail-give-it-to-buffer-eater)
11633 (feedmail-envelope-deducer, feedmail-fiddle-from)
11634 (feedmail-fiddle-sender, feedmail-default-date-generator)
11635 (feedmail-fiddle-date, feedmail-fiddle-message-id)
11636 (feedmail-fiddle-spray-address)
11637 (feedmail-fiddle-list-of-spray-fiddle-plexes)
11638 (feedmail-fiddle-list-of-fiddle-plexes)
11639 (feedmail-fill-to-cc-function, feedmail-fill-this-one)
11640 (feedmail-one-last-look, feedmail-fqm-p): Add debug calls.
11641 (feedmail-queue-runner-message-sender, feedmail-binmail-template):
11642 Change default. Doc fix.
11643 (feedmail-queue-runner-cleaner-upper): Use feedmail-say-chatter.
11644 (feedmail-binmail-linuxish-template): New constant.
11645 (feedmail-buffer-to-sendmail): Doc fix. Add debug call.
11646 Respect feedmail-sendmail-f-doesnt-sell-me-out.
11647 (feedmail-send-it): Add debug call.
11648 Use feedmail-queue-buffer-file-name, and
11649 feedmail-send-it-immediately-wrapper.
11650 (feedmail-message-action-send): Add debug call.
11651 Use feedmail-send-it-immediately-wrapper.
11652 (feedmail-queue-express-to-queue): Add debug call.
11653 Run feedmail-queue-express-hook.
11654 (feedmail-message-action-help): Add debug call. Use feedmail-p-h-b-n.
11655 (feedmail-message-action-help-blat):
11656 Rename from feedmail-queue-send-edit-prompt-help-first.
11657 (feedmail-run-the-queue): Add debug call. Set buffer-file-type.
11658 Check line-endings. Handle errors better.
11659 (feedmail-queue-reminder-brief, feedmail-queue-reminder-medium):
11660 Doc fix. Add debug call.
11661 (feedmail-queue-send-edit-prompt): Doc fix. Add debug call.
11662 Use feedmail-queue-send-edit-prompt-inner.
11663 (feedmail-queue-runner-prompt, feedmail-scroll-buffer): New functions.
11664 (feedmail-queue-send-edit-prompt-inner): New function, extracted
11665 from feedmail-queue-send-edit-prompt.
11666 (feedmail-queue-send-edit-prompt-help)
11667 (feedmail-queue-send-edit-prompt-help-later): Remove functions.
11668 (feedmail-tidy-up-slug): Add debug call.
11669 Respect feedmail-queue-slug-suspect-regexp.
11670 (feedmail-queue-subject-slug-maker): Use buffer-substring-no-properties.
11671 (feedmail-dump-message-to-queue): Add debug call.
11672 Expand queue-directory.
11673 (feedmail-dump-message-to-queue): Change message slightly.
11674 Use feedmail-say-chatter.
11675 (feedmail-rfc822-date): Add debug call. Bind system-time-locale.
11676 (feedmail-send-it-immediately-wrapper): New function.
11677 (feedmail-send-it-immediately): Add debug calls. Use let not let*.
11678 Insert empty string rather than newline. Handle full-frame case.
11679 Use catch/throw. Use feedmail-say-chatter.
11680 (feedmail-fiddle-from): Try mail-host-address.
11681 (feedmail-default-message-id-generator): Doc fix.
11682 Bind system-time-locale. Handle missing end.
11683 (feedmail-fiddle-x-mailer): Add debug call.
11684 Handle feedmail-x-mailer-line being nil.
11685 (feedmail-accume-n-nuke-header, feedmail-deduce-address-list):
11686 Add debug call. Use buffer-substring-no-properties.
11687 (feedmail-say-debug, feedmail-say-chatter): New functions.
11688 (feedmail-find-eoh): Give an explicit error.
11689
42c7e61e
UJ
116902011-05-13 Ulf Jasper <ulf.jasper@web.de>
11691
c2571358 11692 * net/newst-treeview.el (newsticker-treeview-face): Change default
42c7e61e 11693 family from helvetica to sans.
c2571358 11694 (newsticker-treeview-tool-bar-map): Move tool-bar icons to
42c7e61e
UJ
11695 etc/images/newsticker.
11696
c2571358 11697 * net/newst-reader.el (newsticker-feed-face): Change default
42c7e61e
UJ
11698 family from helvetica to sans.
11699
11700 * net/newst-plainview.el (newsticker-new-item-face)
11701 (newsticker-old-item-face, newsticker-immortal-item-face)
11702 (newsticker-obsolete-item-face, newsticker-date-face)
c2571358 11703 (newsticker-statistics-face): Change default family from
42c7e61e 11704 helvetica to sans.
c2571358 11705 (newsticker--plainview-tool-bar-map): Move tool-bar icons to
42c7e61e
UJ
11706 etc/images/newsticker.
11707
5d3385a0
JB
11708 * net/newst-backend.el (newsticker--do-run-auto-mark-filter)
11709 (newsticker--process-auto-mark-filter-match): Tell user about
42c7e61e
UJ
11710 auto-marking.
11711
8497a297
DV
117122011-05-13 Didier Verna <didier@xemacs.org>
11713
11714 Common Lisp indentation improvements on defmethod and lambda-lists.
4d61f28d
JB
11715 * emacs-lisp/cl-indent.el: Advertise the changes and remove obsolete
11716 TODO entries.
8497a297
DV
11717 (lisp-lambda-list-keyword-parameter-indentation)
11718 (lisp-lambda-list-keyword-parameter-alignment)
11719 (lisp-lambda-list-keyword-alignment): New customizable user options.
11720 (lisp-indent-defun-method): Improve docstring.
11721 (extended-loop-p): Fix comment.
11722 (lisp-indent-lambda-list-keywords-regexp): New variable.
11723 (lisp-indent-lambda-list): New function.
11724 (lisp-indent-259): Use it.
11725 (lisp-indent-defmethod): Support for more than one
11726 method qualifier and properly indent methods lambda-lists.
11727 (defgeneric): Provide a missing common-lisp-indent-function property.
11728
f278f87f
SM
117292011-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
11730
11731 * thingatpt.el (bounds-of-thing-at-point): Return nil rather than
11732 bounds for the empty string (bug#8667).
11733
5233edd7
GM
117342011-05-13 Glenn Morris <rgm@gnu.org>
11735
5237a44f
GM
11736 * mail/feedmail.el (feedmail-buffer-to-sendmail): Require sendmail.
11737
8340026c 11738 * mail/sendmail.el (sendmail-program): Try executable-find first.
f278f87f 11739 (sendmail-send-it): `sendmail-program' cannot be unbound.
8340026c 11740
5233edd7 11741 * calendar/appt.el (appt-make-list): Simplify.
4accbca6 11742 (appt-time-msg-list): Doc fix.
a5464014 11743 (appt-check): Change mode-line message at the time of the appointment.
5233edd7 11744
92d10796
AS
117452011-05-12 Andreas Schwab <schwab@linux-m68k.org>
11746
11747 * progmodes/ld-script.el (ld-script-keywords)
11748 (ld-script-builtins): Update keywords list.
11749
914a0ae1
SM
117502011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
11751
c89be45f
SM
11752 * progmodes/grep.el (grep-filter): Don't trip on partial lines.
11753
914a0ae1
SM
11754 * shell.el (shell-completion-vars): New function.
11755 (shell-mode):
11756 * simple.el (read-shell-command): Use it.
11757 (blink-matching-open): No need for " [...]" in minibuffer-message.
11758
98dc3df3
GM
117592011-05-12 Glenn Morris <rgm@gnu.org>
11760
11761 * calendar/appt.el (appt-now-displayed): Remove pointless variable.
11762 (appt-check): Simplify.
11763
d2fc7e3d 117642011-05-12 Eli Zaretskii <eliz@gnu.org>
0e39ec21 11765
4d61f28d 11766 * vc/smerge-mode.el (smerge-resolve): Use null-device rather than a
0e39ec21
EZ
11767 literal "/dev/null".
11768
d2fc7e3d 117692011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
3f254caa
SM
11770
11771 * emacs-lisp/lisp.el (lisp-complete-symbol, lisp-completion-at-point):
11772 Fix typo.
11773
d2fc7e3d 117742011-05-12 Ralph Schleicher <rs@ralph-schleicher.de>
6eea50c7 11775
3f254caa
SM
11776 * progmodes/which-func.el (which-function):
11777 Use add-log-current-defun instead of add-log-current-defun-function,
6eea50c7
RS
11778 which might not be defined (Bug#8260).
11779
d45885f7
GM
117802011-05-12 Glenn Morris <rgm@gnu.org>
11781
11782 * emacs-lisp/bytecomp.el (byte-compile-file-form-defmumble):
11783 Let byte-compile-initial-macro-environment always take precedence.
11784
488086f4
SM
117852011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
11786
11787 * net/rcirc.el: Add support for SSL/TLS connections.
11788 (rcirc-server-alist): New field `encryption'.
11789 (rcirc): Check `encryption' settings.
11790 (rcirc-connect): New arg `encryption'. Use open-network-stream.
11791 Merge make-local-variable into `set'.
11792 (rcirc--connection-open-p): New function.
11793 (rcirc-send-string, rcirc-clean-up-buffer): Use it to handle case where
11794 the process is not a network process (e.g. running gnutls-cli).
11795 (set-rcirc-decode-coding-system, set-rcirc-encode-coding-system):
11796 Make rcirc-(en|de)code-coding-system local here.
11797 (rcirc-mode): Merge make-local-variable into `set'.
11798 (rcirc-parent-buffer): Make permanent buffer-local.
11799 (rcirc-multiline-minor-mode): Don't do it here.
11800 (rcirc-switch-to-server-buffer): Don't switch to a random buffer if
11801 there's no server buffer.
11802
7d3b9d44
GM
118032011-05-11 Glenn Morris <rgm@gnu.org>
11804
f64049c6
GM
11805 * newcomment.el (comment-kill): Prefix "unused" local.
11806
93c9df73
GM
11807 * term/w32console.el (get-screen-color): Declare.
11808
7d3b9d44
GM
11809 * emacs-lisp/bytecomp.el (byte-compile-arglist-warn):
11810 Handle symbol elements of byte-compile-initial-macro-environment.
11811
9e2dd53f
LL
118122011-05-10 Leo Liu <sdl.web@gmail.com>
11813
488086f4
SM
11814 * bookmark.el (bookmark-bmenu-mode-map):
11815 Bind bookmark-bmenu-search to `/'.
8b340240 11816
9e2dd53f 11817 * mail/footnote.el: Convert to utf-8 encoding.
b4044869
LL
11818 (footnote-unicode-string, footnote-unicode-regexp): New variable.
11819 (Footnote-unicode): New function.
11820 (footnote-style-alist): Add unicode style to the list.
11821 (footnote-style): Doc fix.
9e2dd53f 11822
79b70037
GM
118232011-05-10 Jim Meyering <meyering@redhat.com>
11824
11825 Fix doubled-word typos.
11826 * international/quail.el (quail-insert-kbd-layout): and and -> and
11827 * kermit.el: and and -> and
11828 * net/ldap.el (ldap-search-internal): to to -> to
11829 * progmodes/vhdl-mode.el (vhdl-offsets-alist): Likewise.
11830 * progmodes/js.el (js-mode): and and -> and
11831 * textmodes/artist.el (artist-move-to-xy): at at -> at
11832 (artist-draw-region-trim-line-endings): if if -> if
11833 And Safetyc -> Safety.
11834 * textmodes/reftex-dcr.el (reftex-view-crossref): at at -> at a
11835
b8f82dc1 118362011-05-10 Glenn Morris <rgm@gnu.org>
c2571358 11837 Stefan Monnier <monnier@iro.umontreal.ca>
b8f82dc1
GM
11838
11839 * files.el (hack-one-local-variable-eval-safep):
11840 Consider "eval: (foo-mode)" to be safe. (Bug#8613)
11841
4f99f44b
GM
118422011-05-10 Glenn Morris <rgm@gnu.org>
11843
11844 * calendar/diary-lib.el (diary-list-entries-hook)
11845 (diary-mark-entries-hook, diary-nongregorian-listing-hook)
11846 (diary-nongregorian-marking-hook, diary-list-entries)
11847 (diary-include-other-diary-files, diary-mark-entries)
11848 (diary-mark-included-diary-files): Doc fixes.
11849
84f29e6b
JB
118502011-05-09 Juanma Barranquero <lekktu@gmail.com>
11851
11852 * misc.el: Require tabulated-list.el during compilation.
11853
9bedd73a
CY
118542011-05-09 Chong Yidong <cyd@stupidchicken.com>
11855
488086f4
SM
11856 * progmodes/compile.el (compilation-start):
11857 Run compilation-filter-hook for the async case too.
9bedd73a
CY
11858 (compilation-filter-hook): Doc fix.
11859
797c735c
DD
118602011-05-09 Deniz Dogan <deniz@dogan.se>
11861
11862 * wdired.el: Remove outdated installation comment. Fix usage
11863 comment.
11864
5f4b1dfe
JB
118652011-05-09 Juanma Barranquero <lekktu@gmail.com>
11866
11867 * misc.el: Implement new command `list-dynamic-libraries'.
11868 (list-dynamic-libraries--loaded-only-p): New variable.
11869 (list-dynamic-libraries--refresh): New function.
11870 (list-dynamic-libraries): New command.
11871
4c44026c
CY
118722011-05-09 Chong Yidong <cyd@stupidchicken.com>
11873
488086f4
SM
11874 * progmodes/compile.el (compilation-error-regexp-alist-alist):
11875 Fix the ant regexp to handle end-line and end-column info from jikes.
4c44026c
CY
11876 Re-introduce maven regexp. Give the ruby-Test::Unit regexp a
11877 higher priority to avoid clobbering by gnu.
11878
027f966d
CY
118792011-05-08 Chong Yidong <cyd@stupidchicken.com>
11880
11881 * cus-face.el (custom-declare-face): Call custom-theme-recalc-face
11882 if the face has existing theme settings (Bug#8454).
11883
085f5d7d
CY
118842011-05-08 Ralph Schleicher <rs@ralph-schleicher.de>
11885
488086f4
SM
11886 * progmodes/perl-mode.el (perl-imenu-generic-expression):
11887 Only match variables declared via `my' or `our' (Bug#8261).
085f5d7d 11888
2a86a00c
RS
11889 * net/browse-url.el (browse-url-of-dired-file): Allow browsing of
11890 special file names `.' and `..' (Bug#8259).
11891
d9c54a06
CY
118922011-05-08 Chong Yidong <cyd@stupidchicken.com>
11893
488086f4
SM
11894 * progmodes/grep.el (grep-mode-font-lock-keywords):
11895 Remove buffer-changing entries.
d9c54a06
CY
11896 (grep-filter): New function.
11897 (grep-mode): Add it to compilation-filter-hook.
11898
11899 * progmodes/compile.el (compilation-filter-hook)
11900 (compilation-filter-start): New defvars.
11901 (compilation-filter): Call compilation-filter-hook prior to
11902 updating the process mark.
11903
c4662635
SM
119042011-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
11905
11906 * emacs-lisp/eieio.el (defmethod): Fix typo in last change.
11907
b0512a1d
EZ
119082011-05-07 Eli Zaretskii <eliz@gnu.org>
11909
605c9376
EZ
11910 * mail/sendmail.el (send-mail-function): On MS-Windows, default to
11911 mailclient-send-it even if window-system is nil. (Bug#8595)
11912
c4662635
SM
11913 * term/w32console.el (terminal-init-w32console):
11914 Call get-screen-color and use its output to set the frame
b0512a1d
EZ
11915 background-mode. (Bug#8597)
11916
d1dc2cc2
SM
119172011-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
11918
11919 Make bytecomp.el understand that defmethod defines funs (bug#8631).
11920 * emacs-lisp/eieio.el (eieio--defalias, eieio--defgeneric-init-form):
11921 New functions.
11922 (defgeneric, eieio--defmethod): Use them.
11923 (eieio-defgeneric): Remove.
11924 (defmethod): Call defgeneric in a way visible to the byte-compiler.
11925
915d1300
GM
119262011-05-07 Glenn Morris <rgm@gnu.org>
11927
a3961c3e
GM
11928 * calendar/timeclock.el (timeclock-log-data): Remove unused local.
11929 Use let rather than let*.
11930 (timeclock-find-discrep): Remove unused local.
11931
314347b9
GM
11932 * calendar/diary-lib.el (diary-comment-start): Doc fix.
11933
915d1300
GM
11934 * calendar/appt.el (appt-time-msg-list): Doc fix.
11935
275b59b0
NF
119362011-05-06 Noah Friedman <friedman@splode.com>
11937
11938 * apropos.el (apropos-print-doc): Only use
11939 emacs-lisp-docstring-fill-column when it is bound to an integer,
11940 per that variable's documentation.
11941
6c19f744
SM
119422011-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
11943
11944 * lpr.el (print-region-1): Echo lpr-program's output, so error messages
d1dc2cc2 11945 and warnings are not silently discarded (e.g. use -d instead of -P).
6c19f744 11946
60f884b2
GM
119472011-05-06 Glenn Morris <rgm@gnu.org>
11948
5006e634
GM
11949 * calendar/appt.el (appt-message-warning-time): Doc fix.
11950 (appt-warning-time-regexp): New option.
11951 (appt-make-list): Respect appt-message-warning-time.
11952
548d0a63
GM
11953 * calendar/diary-lib.el (diary-comment-start, diary-comment-end):
11954 New options.
11955 (diary-add-to-list): Strip comments from the displayed string.
11956 (diary-mode): Set comment-start and comment-end.
11957
60f884b2
GM
11958 * vc/diff-mode.el (smerge-refine-subst): Declare.
11959 (diff-refine-hunk): Don't require smerge-mode when compiling.
11960
989681bb
JB
119612011-05-06 Juanma Barranquero <lekktu@gmail.com>
11962
11963 * simple.el (list-processes): Return nil as the docstring says.
11964
a6bc05e1
MA
119652011-05-05 Michael Albinus <michael.albinus@gmx.de>
11966
11967 * net/ange-ftp.el (ange-ftp-binary-file-name-regexp): Set default
11968 to "".
11969 (ange-ftp-write-region, ange-ftp-insert-file-contents)
11970 (ange-ftp-copy-file-internal): Use only `ange-ftp-binary-file' for
11971 determining of binary transfer. (Bug#7383)
11972
23c22e9a
MA
119732011-05-05 Michael Albinus <michael.albinus@gmx.de>
11974
c4662635
SM
11975 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
11976 Fix port computation bug. (Bug#8618)
23c22e9a 11977
0bff894f
GM
119782011-05-05 Glenn Morris <rgm@gnu.org>
11979
b8296902
GM
11980 * allout-widgets.el (allout-widgets-mode-inhibit): Declare before use.
11981
1f522ce8
GM
11982 * simple.el (shell-dynamic-complete-functions)
11983 (comint-dynamic-complete-functions): Declare.
11984
cf5bee67
GM
11985 * net/network-stream.el (gnutls-negotiate):
11986 * simple.el (tabulated-list-print): Fix declarations.
11987
11988 * progmodes/gud.el (syntax-symbol, syntax-point):
11989 Remove unnecessary and incorrect declarations.
11990
0bff894f
GM
11991 * emacs-lisp/check-declare.el (check-declare-scan):
11992 Handle byte-compile-initial-macro-environment in bytecomp.el
11993
9869b3ae
SM
119942011-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
11995
11996 Fix earlier half-done eieio-defmethod change (bug#8338).
11997 * emacs-lisp/eieio.el (eieio--defmethod): Rename from eieio-defmethod.
11998 Streamline and change calling convention.
11999 (defmethod): Adjust accordingly and simplify.
12000 (eieio-defclass): Fix broken calls to eieio-defmethod and redirect to
12001 new eieio--defmethod.
12002 (slot-boundp): Minor CSE simplification.
12003
9c1d5ac5
MZ
120042011-05-05 Milan Zamazal <pdm@zamazal.org>
12005
12006 * progmodes/glasses.el (glasses-separate-capital-groups): New option.
12007 (glasses-make-readable): Use glasses-separate-capital-groups.
12008
455c834e
JB
120092011-05-05 Juanma Barranquero <lekktu@gmail.com>
12010
12011 * emacs-lisp/warnings.el (warning-level-aliases): Reflow docstring.
12012 (warning-series): Doc fix.
12013 (display-warning): Don't try to create the buffer if we just found it.
12014
9ed7c8cb
CY
120152011-05-04 Chong Yidong <cyd@stupidchicken.com>
12016
12017 * emacs-lisp/autoload.el (generated-autoload-file): Set to nil.
12018 (autoload-find-generated-file): New function.
12019 (generate-file-autoloads): Bind generated-autoload-file to
12020 buffer-file-name.
9869b3ae
SM
12021 (update-file-autoloads, update-directory-autoloads):
12022 Use autoload-find-generated-file. If called interactively, prompt for
9ed7c8cb
CY
12023 output file (Bug#7989).
12024 (batch-update-autoloads): Doc fix.
12025
0898ca10
JB
120262011-05-04 Juanma Barranquero <lekktu@gmail.com>
12027
12028 * term/w32-win.el (dynamic-library-alist): Add `gnutls'.
12029
31dfb76c
GM
120302011-05-04 Glenn Morris <rgm@gnu.org>
12031
f330b642
GM
12032 * calendar/diary-lib.el (diary-fancy-date-pattern): Turn it into a
12033 function, so it follows changes in calendar-date-style.
12034 (diary-fancy-date-matcher): New function.
12035 (diary-fancy-font-lock-keywords): Use diary-fancy-date-matcher.
12036 (diary-fancy-font-lock-fontify-region-function):
12037 Use diary-fancy-date-pattern as a function.
12038
31dfb76c
GM
12039 * calendar/diary-lib.el (diary-fancy-date-pattern): Do not use
12040 non-numbers for `year' etc pseudo-variables. (Bug#8583)
12041
48e79d6a
TZ
120422011-05-04 Teodor Zlatanov <tzz@lifelogs.com>
12043
12044 * net/gnutls.el (gnutls-negotiate): Use CL-style keyword arguments
12045 instead of positional arguments. Allow :keylist and :crlfiles
12046 arguments.
12047 (open-gnutls-stream): Call it.
12048
12049 * net/network-stream.el (network-stream-open-starttls): Adjust to
12050 call `gnutls-negotiate' with :process and :hostname arguments.
12051
dd5a5ee0
SM
120522011-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
12053
ef80fc09
SM
12054 * minibuffer.el (completion--message): New function.
12055 (completion--do-completion, minibuffer-complete)
12056 (minibuffer-force-complete, minibuffer-complete-word): Use it.
12057 (completion--do-completion): Don't ignore completion-auto-help when in
12058 icomplete-mode.
12059
dd5a5ee0
SM
12060 * whitespace.el (whitespace-trailing-regexp): Don't rely on the
12061 internal encoding (e.g. tibetan zero is not whitespace).
12062 (global-whitespace-mode): Prefer save-current-buffer.
12063 (whitespace-trailing-regexp): Remove useless save-match-data.
12064 (whitespace-empty-at-bob-regexp): Minor simplification.
12065
b7d22a83
CY
120662011-05-03 Chong Yidong <cyd@stupidchicken.com>
12067
12068 * emacs-lisp/autoload.el (generated-autoload-file): Doc fix (Bug#7989).
12069
5192af46
AM
120702011-05-03 Agustín Martín Domingo <agustin.martin@hispalinux.es>
12071
12072 * textmodes/ispell.el (ispell-add-per-file-word-list):
cdc4a047 12073 Use `concat' to create string for insertion.
5192af46 12074
5767d190
SM
120752011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
12076
12077 * textmodes/bibtex.el (bibtex-fill-field-bounds, bibtex-fill-entry):
12078 Avoid open-line which runs post-self-insert-hook.
12079 (bibtex-fill-entry): Remove unused `end' var.
12080
bf242939
AM
120812011-05-03 Dirk Ullrich <dirk.ullrich@googlemail.com> (tiny change)
12082
5767d190
SM
12083 * textmodes/ispell.el (ispell-add-per-file-word-list):
12084 Protect against `nil' value of `comment-start' (Bug#8579).
bf242939 12085
25666126
LL
120862011-05-03 Leo Liu <sdl.web@gmail.com>
12087
12088 * isearch.el (isearch-yank-pop): New command.
5767d190 12089 (isearch-mode-map): Bind it to `M-y'.
25666126
LL
12090 (isearch-forward): Mention it.
12091
52d3c2d0
SM
120922011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
12093
1bcace58
SM
12094 * simple.el (minibuffer-complete-shell-command): Remove.
12095 (minibuffer-local-shell-command-map): Use completion-at-point.
12096 (read-shell-command): Setup completion vars here instead.
12097 (read-expression-map): Bind TAB to symbol completion.
12098
52d3c2d0
SM
12099 * textmodes/ispell.el (lookup-words): Use with-temp-buffer; signal
12100 error directly rather via storing it into `results'.
12101
35813471
LL
121022011-05-02 Leo Liu <sdl.web@gmail.com>
12103
12104 * vc/diff.el: Fix description.
12105
e793a940
LMI
121062011-05-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
12107
12108 * server.el (server-eval-at): New function.
12109
8de66e05
LMI
121102011-05-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
12111
12112 * net/network-stream.el (open-network-stream): Take a :nowait
12113 parameter and pass it on to `make-network-process'.
12114 (network-stream-open-plain): Ditto.
12115
dcb79f20
AS
121162011-04-30 Andreas Schwab <schwab@linux-m68k.org>
12117
12118 * faces.el (face-spec-set-match-display): Don't match toolkit
12119 options on terminal frames.
12120
14a7fbd8
SM
121212011-04-29 Stefan Monnier <monnier@iro.umontreal.ca>
12122
7eabc1be
SM
12123 * progmodes/pascal.el: Use lexical binding.
12124 (pascal-mode-map): Remove author preferences.
12125
14a7fbd8
SM
12126 * pcomplete.el (pcomplete-std-complete): Don't abuse
12127 completion-at-point.
12128
50f84510
JB
121292011-04-28 Juanma Barranquero <lekktu@gmail.com>
12130
6e087a44
JB
12131 * calc/calccomp.el (math-comp-to-string-flat-term): Simplify by
12132 removing code that has been dead since 1991 or so.
12133
50f84510
JB
12134 * startup.el (command-line): When warning about "_emacs", use a
12135 delayed warning to allow the user to filter it out.
12136
0ba690bd
DD
121372011-04-28 Deniz Dogan <deniz@dogan.se>
12138
12139 * net/rcirc.el (rcirc-handler-353): Fix bug for channels which the
12140 user has not joined.
12141
08abfaad
SM
121422011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
12143
12144 * pcomplete.el (pcomplete-completions-at-point): Return nil if there
12145 aren't any completions at point.
12146
638f053a
JB
121472011-04-28 Juanma Barranquero <lekktu@gmail.com>
12148
12149 * subr.el (display-delayed-warnings): New function.
12150 (delayed-warnings-hook): New variable.
12151
8fff8daa
SM
121522011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
12153
08abfaad
SM
12154 * minibuffer.el (completion-at-point, completion-help-at-point):
12155 Don't presume that a given completion-at-point-function will always
12156 use the same calling convention.
12157
8fff8daa
SM
12158 * pcomplete.el (pcomplete-completions-at-point):
12159 Obey pcomplete-ignore-case. Don't call pcomplete-norm-func unless
12160 pcomplete-seen is non-nil.
12161 (pcomplete-comint-setup): Also recognize the new comint/shell
12162 completion functions.
12163 (pcomplete-do-complete): Don't call pcomplete-norm-func unless
12164 pcomplete-seen is non-nil.
12165
841a1577 121662011-04-27 Niels Giesen <niels.giesen@gmail.com>
211ec907 12167
841a1577 12168 * calendar/icalendar.el (diary-lib): Add require statement.
211ec907 12169 (icalendar--create-uid): Read out a uid from a text-property on
841a1577 12170 the first character in the entry. This allows for code to add its
211ec907
UJ
12171 own uid to the entry.
12172 (icalendar--convert-float-to-ical): Add export of
12173 `diary-float'-entries save for those with the optional DAY
12174 argument.
12175
2a782793
DC
121762011-04-27 Daniel Colascione <dan.colascione@gmail.com>
12177
12178 * subr.el (shell-quote-argument): Use alternate escaping strategy
12179 when we spot a variable reference in a string.
12180
0438ce91
DC
121812011-04-26 Daniel Colascione <dan.colascione@gmail.com>
12182
12183 * cus-start.el (all): Define customization for debug-on-event.
12184
841a1577 121852011-04-26 Daniel Colascione <dan.colascione@gmail.com>
8f91bf93
DC
12186
12187 * subr.el (shell-quote-argument): Escape correctly under Windows.
12188
d090ed6c
SM
121892011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
12190
12191 * emulation/cua-base.el (cua-selection-mode): Make it toggle again.
12192
bfd31217
MA
121932011-04-25 Michael Albinus <michael.albinus@gmx.de>
12194
d090ed6c
SM
12195 * net/tramp.el (tramp-process-actions): Add POS argument.
12196 Delete region between POS and (pos).
bfd31217 12197
d090ed6c
SM
12198 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
12199 Use `nil' position in `tramp-process-actions' call.
bfd31217
MA
12200 (tramp-maybe-open-connection): Call `tramp-process-actions' with pos.
12201
12202 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Use `nil'
12203 position in `tramp-process-actions' call.
12204
12205 * net/trampver.el: Update release number.
12206
e92f3bd3
SM
122072011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
12208
850256b5
SM
12209 * custom.el (defcustom): Obey lexical-binding.
12210
e92f3bd3
SM
12211 Fix octave-inf completion problems reported by Alexander Klimov.
12212 * progmodes/octave-inf.el (inferior-octave-mode-syntax-table):
12213 Inherit from octave-mode-syntax-table.
12214 (inferior-octave-mode): Set info-lookup-mode.
12215 (inferior-octave-completion-at-point): New function.
12216 (inferior-octave-complete): Use it and completion-in-region.
12217 (inferior-octave-dynamic-complete-functions): Use it as well, and use
12218 comint-filename-completion.
12219 * progmodes/octave-mod.el (octave-mode-syntax-table): Use _ syntax for
12220 symbol elements which shouldn't be word elements.
12221 (octave-font-lock-keywords, octave-beginning-of-defun)
12222 (octave-function-header-regexp): Adjust regexps accordingly.
12223 (octave-mode-map): Also use info-lookup-symbol for C-c C-h.
12224
cd22b309
JB
122252011-04-25 Juanma Barranquero <lekktu@gmail.com>
12226
12227 * net/gnutls.el (gnutls-errorp): Declare before first use.
12228
8b492194
TZ
122292011-04-24 Teodor Zlatanov <tzz@lifelogs.com>
12230
12231 * net/gnutls.el (gnutls-negotiate): Add hostname, verify-flags,
12232 verify-error, and verify-hostname-error parameters. Check whether
cd22b309 12233 default trustfile exists before going to use it. Add missing
5a5fa834 12234 argument to gnutls-message-maybe call. Return value.
8b492194
TZ
12235 Reported by Claudio Bley <claudio.bley@gmail.com>.
12236 (open-gnutls-stream): Add usage example.
12237
12238 * net/network-stream.el (network-stream-open-starttls): Give host
12239 parameter to `gnutls-negotiate'.
12240 (gnutls-negotiate): Adjust `gnutls-negotiate' declaration.
8f91bf93 12241 * subr.el (shell-quote-argument): Escape correctly under Windows.
8b492194 12242
841a1577 122432011-04-24 Daniel Colascione <dan.colascione@gmail.com>
05842630 12244
cd22b309
JB
12245 * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
12246 Use correct match group (bug#8438).
05842630 12247
3ba7869c
CY
122482011-04-24 Chong Yidong <cyd@stupidchicken.com>
12249
512e3ae1
CY
12250 * emacs-lisp/package.el (package-built-in-p): Fix typo.
12251 (package-menu--generate): New arg specifying packages to show.
12252 (package-menu-refresh, package-menu-execute, list-packages):
12253 Callers changed.
12254 (package-show-package-list): New function, replacing deleted
12255 package--list-packages (renamed because it is non-internal).
12256
12257 * finder.el (finder-list-matches): Use package-show-package-list
12258 instead of deleted package--list-packages.
12259
e92f3bd3
SM
12260 * vc/vc-annotate.el (vc-annotate-goto-line): New command.
12261 Based on a previous implementation by Juanma Barranquero (Bug#8366).
3ba7869c
CY
12262 (vc-annotate-mode-map): Bind it to RET.
12263
7031be6d
UR
122642011-04-24 Uday S Reddy <u.s.reddy@cs.bham.ac.uk> (tiny change)
12265
12266 * progmodes/etags.el (next-file): Don't use set-buffer to change
12267 buffers (Bug#8478).
12268
4ef177aa
CY
122692011-04-24 Chong Yidong <cyd@stupidchicken.com>
12270
c8d173eb
CY
12271 * files.el (auto-mode-alist): Use js-mode for .json (Bug#8529).
12272
4ef177aa
CY
12273 * apropos.el (apropos-label-face): Avoid variable-pitch face.
12274 (apropos-accumulator): Doc fix.
12275 (apropos-function, apropos-macro, apropos-command)
12276 (apropos-variable, apropos-face, apropos-group, apropos-widget)
12277 (apropos-plist): Add face property.
12278 (apropos-symbols-internal): Fix indentation.
12279 (apropos-print): Simplify help, and recognize apropos-multi-type.
12280 (apropos-print-doc): Use button-type-get to extract the button's
12281 face property. Fill docstring (Bug#8352).
12282
4ffd0d6b 122832011-04-23 Juanma Barranquero <lekktu@gmail.com>
be71f810
JB
12284
12285 * buff-menu.el (Buffer-menu--buffers): Fix typo in docstring (bug#8535).
12286
c6c32125 12287 * play/mpuz.el (mpuz-silent): Doc fix.
4ffd0d6b 12288 (mpuz-mode-map): Use mapc.
c6c32125
JB
12289 (mpuz-put-number-on-board): Rename parameter L to COLUMNS.
12290 (mpuz-letter-to-digit, mpuz-check-all-solved, mpuz-create-buffer):
12291 Fix typos in docstrings.
12292
58d468b4
JB
12293 * play/doctor.el (doc$, doctor-$, doctor-read-print, doctor-read-token)
12294 (doctor-nounp, doctor-pronounp): Fix typos in docstrings.
12295
6470c3c6
JB
12296 * mouse-drag.el (mouse-drag-throw): Fix typo in docstring.
12297
4ffd0d6b 122982011-04-23 Chong Yidong <cyd@stupidchicken.com>
6f21a319
CY
12299
12300 * minibuffer.el (completion--do-completion): Avoid the "Next char
12301 not unique" prompt if icomplete-mode is enabled (Bug#5849).
12302
3ad8bad0
CY
12303 * mouse.el (mouse-drag-mode-line-1): Make sure that if we push
12304 mouse-2 into unread-command-events, it is interpreted correctly.
12305
71d73c9c 12306 * image-mode.el (image-type, image-mode-map, image-minor-mode-map)
6395aab9 12307 (image-toggle-display): Doc fix.
71d73c9c 12308
841a1577 123092011-04-23 Stephen Berman <stephen.berman@gmx.net>
e935c6a2 12310
4ffd0d6b
GM
12311 * textmodes/page.el (what-page): Use line-number-at-pos to
12312 calculate line number (Bug#6825).
6e1dbaa9 12313
c2fb1b60
JB
123142011-04-22 Juanma Barranquero <lekktu@gmail.com>
12315
12316 * eshell/esh-mode.el (find-tag-interactive): Declare function.
12317 (eshell-find-tag): Remove `with-no-warnings', unneeded now.
12318 Pass argument NO-DEFAULT to `find-tag-interactive'.
12319
e02f48d7
JB
123202011-04-22 Juanma Barranquero <lekktu@gmail.com>
12321
12322 Lexical-binding cleanup.
12323
12324 * progmodes/ada-mode.el (ada-after-change-function, ada-loose-case-word)
12325 (ada-no-auto-case, ada-capitalize-word, ada-untab, ada-narrow-to-defun):
12326 * progmodes/ada-prj.el (ada-prj-initialize-values)
12327 (ada-prj-display-page, ada-prj-field-modified, ada-prj-display-help)
12328 (ada-prj-show-value):
12329 * progmodes/ada-xref.el (ada-find-any-references, ada-gdb-application):
12330 * progmodes/antlr-mode.el (antlr-with-displaying-help-buffer)
12331 (antlr-invalidate-context-cache, antlr-options-menu-filter)
12332 (antlr-language-option-extra, antlr-c++-mode-extra, antlr-run-tool):
12333 * progmodes/bug-reference.el (bug-reference-push-button):
12334 * progmodes/fortran.el (fortran-line-length):
12335 * progmodes/glasses.el (glasses-change):
12336 * progmodes/octave-mod.el (octave-fill-paragraph):
12337 * progmodes/python.el (python-mode, python-pdbtrack-track-stack-file)
12338 (python-pdbtrack-grub-for-buffer, python-sentinel):
12339 * progmodes/sql.el (sql-save-connection):
12340 * progmodes/tcl.el (tcl-indent-command, tcl-popup-menu):
12341 * progmodes/xscheme.el (xscheme-enter-debugger-mode):
12342 Mark unused parameters.
12343
12344 * progmodes/compile.el (compilation--flush-directory-cache)
12345 (compilation--flush-parse, compile-internal): Mark unused parameters.
12346 (compilation-buffer-name): Rename parameter MODE-NAME to NAME-OF-MODE.
12347 (compilation-next-error-function): Remove unused variable `timestamp'.
12348
12349 * progmodes/cpp.el (cpp-parse-close): Remove unused variable `begin'.
12350 (cpp-signal-read-only, cpp-grow-overlay): Mark unused parameters.
12351
12352 * progmodes/dcl-mode.el (dcl-end-of-command):
12353 Remove unused variable `start'.
12354 (dcl-calc-command-indent-multiple, dcl-calc-cont-indent-relative)
12355 (dcl-option-value-basic, dcl-option-value-offset)
12356 (dcl-option-value-margin-offset, dcl-option-value-comment-line):
12357 Mark unused parameters.
12358 (dcl-save-local-variable): Remove unused variable `val'.
12359 (mode): Declare.
12360
12361 * progmodes/delphi.el (delphi-save-state, delphi-after-change):
12362 Mark unused parameters.
12363 (delphi-ignore-changes): Move before first use.
12364 (delphi-charset-token-at): Remove unused variable `start'.
12365 (delphi-else-start): Remove unused variable `if-count'.
12366 (delphi-comment-block-start, delphi-comment-block-end):
12367 Remove unused variable `kind'.
12368 (delphi-indent-line): Remove unused variable `new-point'.
12369
12370 * progmodes/ebrowse.el (ebrowse-files-list)
12371 (ebrowse-list-of-matching-members, ebrowse-tags-list-members-in-file):
12372 Mark unused parameters. Don't quote `lambda'.
12373 (ebrowse-sort-tree-list, ebrowse-same-tree-member-buffer-list):
12374 Don't quote `lambda'.
12375 (ebrowse-revert-tree-buffer-from-file, ebrowse-tags-choose-class)
12376 (ebrowse-goto-visible-member/all-member-lists): Mark unused parameters.
12377 (ebrowse-create-tree-buffer): Rename parameter OBARRAY to CLASSES.
12378 (ebrowse-toggle-mark-at-point): Remove unused variable `pnt'.
12379 Use `ignore-errors'.
12380 (ebrowse-frozen-tree-buffer-name, ebrowse-find-source-file)
12381 (ebrowse-view/find-file-and-search-pattern)
12382 (ebrowse-view/find-member-declaration/definition):
12383 Rename parameter TAGS-FILE-NAME to TAGS-FILE.
12384 (ebrowse-find-class-declaration, ebrowse-view-class-declaration):
12385 Rename parameter PREFIX-ARG to PREFIX.
12386 (ebrowse-tags-read-name): Remove unused variables `start' and
12387 `member-info'.
12388 (ebrowse-display-member-buffer): Rename variable `tags-file-name'
12389 to `tags-file'.
12390
12391 * progmodes/etags.el (local-find-tag-hook): Declare.
12392 (tag-partial-file-name-match-p, tag-any-match-p, list-tags):
12393 Mark unused parameters.
12394
12395 * progmodes/executable.el (compilation-error-regexp-alist): Declare.
12396 (executable-interpret): Mark unused parameter.
12397
12398 * progmodes/flymake.el (flymake-process-sentinel)
12399 (flymake-after-change-function)
12400 (flymake-create-temp-with-folder-structure)
12401 (flymake-get-include-dirs-dot): Mark unused parameters.
12402 (flymake-safe-delete-directory): Remove unused variable `err'.
12403
12404 * progmodes/gdb-mi.el (speedbar-change-initial-expansion-list)
12405 (speedbar-timer-fn, speedbar-line-text)
12406 (speedbar-change-expand-button-char, speedbar-delete-subblock)
12407 (speedbar-center-buffer-smartly): Declare functions.
12408 (gdb-find-watch-expression): Remove unused variable `array'.
12409 (gdb-edit-value, gdb-gdb, gdb-ignored-notification, gdb-thread-created)
12410 (gdb-starting): Mark unused parameters.
12411 (gud-gdbmi-marker-filter): Remove unused variable `output-record'.
12412 (gdb-table-string): Remove unused variable `res'.
12413 (gdb-place-breakpoints): Remove unused variables `flag' and `bptno'.
12414 (gdb-disassembly-handler-custom): Remove unused variable `pos'.
12415 (gdb-display-buffer): Remove unused variable `cur-size'.
12416
12417 * progmodes/gud.el (gud-def): Use `defalias' instead of `defun' to
12418 allow lexical-binding compilation.
12419 (gud-expansion-speedbar-buttons, gud-gdb-goto-stackframe)
12420 (gud-dbx-massage-args, gud-xdb-massage-args, gud-perldb-massage-args)
12421 (gud-jdb-massage-args, gud-jdb-find-source, gud-find-class):
12422 Mark unused parameters.
12423 (gud-gdb-marker-filter): Remove unused variable `match'.
12424 (gud-find-class): Bind `syntax-symbol' and `syntax-point' to suitable
12425 lambda expressions and funcall them, instead of using `fset'.
12426
12427 * progmodes/hideif.el (hif-parse-if-exp): Rename parameter
12428 HIF-TOKEN-LIST to TOKEN-LIST and let-bind `hif-token-list'.
12429
12430 * progmodes/hideshow.el (hs-hide-block-at-point): Remove unused
12431 variable `header-beg'; use `let'.
12432
12433 * progmodes/icon.el (indent-icon-exp): Remove unused variables
12434 `restart', `last-sexp' and `at-do'.
12435
12436 * progmodes/js.el (js--debug): Mark unused parameter.
12437 (js--parse-state-at-point): Remove unused variable `bound'; use `let'.
12438 (js--splice-into-items): Remove unused variable `item'.
12439 (js--read-symbol, js--read-tab): Pass 1/-1 to `ido-mode', not t/nil.
12440
12441 * progmodes/make-mode.el (makefile-make-font-lock-keywords):
12442 Rename parameter FONT-LOCK-KEYWORDS to FL-KEYWORDS.
12443 (makefile-complete): Remove unused variable `try'.
12444 (makefile-fill-paragraph, makefile-match-function-end):
12445 Mark unused parameters.
12446
12447 * progmodes/octave-inf.el (inferior-octave-complete):
12448 Remove unused variable `proc'.
12449 (inferior-octave-output-digest): Mark unused parameter.
12450
12451 * progmodes/perl-mode.el (perl-calculate-indent):
12452 Remove unused variable `err'.
12453
12454 * progmodes/prolog.el (prolog-mode-keybindings-inferior)
12455 (prolog-indent-line): Mark unused parameters.
12456 (prolog-indent-line): Remove unused variable `beg'.
12457
12458 * progmodes/ps-mode.el (reporter-prompt-for-summary-p)
12459 (reporter-dont-compact-list): Declare.
12460
12461 * progmodes/sh-script.el (sh-font-lock-quoted-subshell):
12462 Remove unused variable `char'.
12463 (sh-debug): Mark unused parameter.
12464 (sh-get-indent-info): Remove unused variable `start'.
12465 (sh-calculate-indent): Remove unused variable `var'.
12466
12467 * progmodes/simula.el (simula-popup-menu): Mark unused parameter.
12468 (simula-electric-keyword): Remove unused variable `null'.
12469 (simula-search-backward, simula-search-forward): Remove unused
12470 variables `begin' and `end'.
12471
12472 * progmodes/vera-mode.el (vera-guess-basic-syntax):
12473 Remove unused variable `pos'.
12474 (vera-electric-tab, vera-comment-uncomment-region):
12475 Mark unused parameters.
12476 (vera-electric-tab): Rename parameter PREFIX-ARG to PREFIX.
12477
7ede3b65
CY
124782011-04-22 Chong Yidong <cyd@stupidchicken.com>
12479
12480 * emacs-lisp/package.el (package--builtins, package-alist)
12481 (package-load-descriptor, package-built-in-p, package-activate)
12482 (define-package, package-installed-p)
12483 (package-compute-transaction, package-buffer-info)
12484 (package--push): Doc fix. Distinguish more clearly between
12485 version strings and version lists.
12486
121656e9
JB
124872011-04-21 Juanma Barranquero <lekktu@gmail.com>
12488
12489 Lexical-binding cleanup.
12490
12491 * play/5x5.el (5x5-make-random-solution, 5x5-make-mutate-current)
12492 (5x5-make-mutate-best):
12493 * play/fortune.el (fortune-in-buffer):
12494 * play/gomoku.el (gomoku-init-display):
12495 * play/solitaire.el (solitaire, solitaire-do-check):
12496 * play/tetris.el (tetris-default-update-speed-function):
12497 Mark unused parameters.
12498
12499 * play/bubbles.el (bubbles-mode): Set `show-trailing-whitespace'.
12500 (bubbles--shift): Remove unused variable `char-org'.
12501 (bubbles--set-faces): Remove unused variable `fg-col'. Simplify.
12502 (bubbles--show-images): Remove unused variable `char'.
12503
12504 * play/decipher.el (decipher-keypress, decipher-alphabet-keypress)
12505 (decipher-get-undo, decipher-set-map, decipher-complete-alphabet)
12506 (decipher-resync, decipher-loop-with-breaks, decipher--analyze)
12507 (decipher-analyze-buffer): Use ?\s.
12508 (decipher-make-checkpoint): Remove unused variable `mapping'.
12509
12510 * play/doctor.el (doctor-doc): Rename parameter DOCTOR-SENT to SENT.
12511
12512 * play/gamegrid.el (gamegrid-add-score-with-update-game-score):
12513 Remove unused variable `result'; use `let'.
12514
12515 * play/gametree.el (gametree-current-layout, gametree-apply-layout):
12516 Rename parameter TOP-LEVEL to FROM-TOP-LEVEL; use `ignore-errors'.
12517 (gametree-children-shown-p, gametree-compute-reduced-score):
12518 Use `ignore-errors'.
12519
12520 * play/handwrite.el (ps-lpr-switches): Declare.
12521 (handwrite): Remove unused variables `pmin' and `lastp'.
12522
12523 * play/hanoi.el (hanoi-move-ring): Remove unused variable `total-steps'.
12524
12525 * play/landmark.el (landmark-init-display)
12526 (landmark-update-naught-weights): Mark unused parameters.
12527 (landmark-y): Remove unused variable `noise'. Simplify.
12528 (landmark-human-plays): Remove unused variable `score'.
12529
12530 * play/mpuz.el (mpuz-try-letter): Remove unused variable `message'.
12531 (mpuz-try-proposal): Remove unused variable `game'.
12532
12533 * play/zone.el (life-patterns): Declare.
12534
80f499c7
JB
125352011-04-20 Juanma Barranquero <lekktu@gmail.com>
12536
12537 * vc/vc.el (ediff-vc-internal): Declare function.
12538
024ff170
SM
125392011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
12540
c0a193ea
SM
12541 * shell.el: Use lexical-binding and std completion UI.
12542 (shell-filter-ctrl-a-ctrl-b): Work as a preoutput filter.
12543 (shell-mode): Put shell-filter-ctrl-a-ctrl-b on
12544 comint-preoutput-filter-functions rather than on
12545 comint-output-filter-functions.
12546 (shell-command-completion, shell--command-completion-data)
12547 (shell-filename-completion, shell-environment-variable-completion)
12548 (shell-c-a-p-replace-by-expanded-directory): New functions.
12549 (shell-dynamic-complete-functions, shell-dynamic-complete-command)
12550 (shell-dynamic-complete-filename, shell-replace-by-expanded-directory)
12551 (shell-dynamic-complete-environment-variable): Use them.
12552 (shell-dynamic-complete-as-environment-variable)
12553 (shell-dynamic-complete-as-command): Remove.
12554 (shell-match-partial-variable): Match past point.
12555 * comint.el: Clean up use of completion-at-point-functions.
12556 (comint-completion-at-point): New function.
12557 (comint-mode): Use it completion-at-point-functions.
12558 (comint-dynamic-complete): Make it obsolete.
12559 (comint-replace-by-expanded-history-before-point): Add dry-run arg.
12560 (comint-c-a-p-replace-by-expanded-history): New function.
12561 (comint-dynamic-complete-functions)
12562 (comint-replace-by-expanded-history): Use it.
12563 * minibuffer.el (completion-table-with-terminator): Allow dynamic
12564 termination strings. Try harder to avoid second try-completion.
12565 (completion-in-region-mode-map): Disable bindings that don't work yet.
12566
2dbaa080
SM
12567 * comint.el: Use lexical-binding. Require CL.
12568 (comint-dynamic-complete-functions): Use comint-filename-completion.
12569 (comint-completion-addsuffix): Tweak custom type.
12570 (comint-filename-completion, comint--common-suffix)
12571 (comint--common-quoted-suffix, comint--table-subvert)
12572 (comint--complete-file-name-data): New functions.
12573 (comint-dynamic-complete-as-filename, comint-dynamic-complete-filename)
12574 (comint-dynamic-list-filename-completions): Use them.
12575 (comint-dynamic-simple-complete): Make obsolete.
c0a193ea 12576
2dbaa080
SM
12577 * minibuffer.el (completion-in-region-mode):
12578 Keep completion-in-region-mode--predicate global.
12579 (completion-in-region--postch):
12580 Assume completion-in-region-mode--predicate is not null.
12581
c79a6f38
SM
12582 * progmodes/flymake.el (flymake-start-syntax-check-process):
12583 Obey `dir'. Simplify.
12584
024ff170
SM
12585 * vc/vc.el (vc-version-ediff): Call ediff-vc-internal directly, since
12586 we're in VC after all.
12587
1c6c854e
CS
125882011-04-20 Christoph Scholtes <cschol2112@googlemail.com>
12589
12590 * vc/vc.el (vc-diff-build-argument-list-internal)
024ff170 12591 (vc-version-ediff, vc-ediff): New commands.
1c6c854e
CS
12592 (vc-version-diff): Use vc-diff-build-argument-list-internal.
12593
bed7f140
SM
125942011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
12595
332e62ab
SM
12596 * emacs-lisp/byte-opt.el (byte-decompile-bytecode-1): Remove dead code,
12597 add sanity check.
12598
bed7f140
SM
12599 * obsolete/erc-hecomplete.el: Make obsolete.
12600 * obsolete/: Standardize obsolescence info in the header.
12601
f195c582
GM
126022011-04-20 Glenn Morris <rgm@gnu.org>
12603
12604 * calendar/solar.el (solar-horizontal-coordinates):
12605 Use the longitude argument rather than `calendar-longitude'.
12606 (solar-date-next-longitude): Remove unused locals.
12607
cb79b8c0
VJL
126082011-04-20 Vinicius Jose Latorre <viniciusjl@ig.com.br>
12609
12610 * whitespace.el: New version 13.2.1.
12611
126122011-04-20 felix <EmacsWiki> (tiny change)
12613
d8e4b68b 12614 * whitespace.el (global-whitespace-mode): Keep highlight when
cb79b8c0
VJL
12615 switching between major modes on a file.
12616
602ea69d
SM
126172011-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
12618
12619 * progmodes/octave-mod.el (octave-in-comment-p, octave-in-string-p)
12620 (octave-not-in-string-or-comment-p): Use syntax-ppss so it works with
12621 multi-line comments as well.
12622
06b60517
JB
126232011-04-19 Juanma Barranquero <lekktu@gmail.com>
12624
12625 Lexical-binding cleanup.
12626
12627 * arc-mode.el (archive-mode-revert):
12628 * cmuscheme.el (scheme-interactively-start-process):
12629 * custom.el (custom-initialize-delay):
12630 * dnd.el (dnd-open-local-file, dnd-open-remote-url):
12631 * dos-w32.el (direct-print-region-helper, direct-print-region-function):
12632 * emacs-lock.el (emacs-lock-clear-sentinel):
12633 * ezimage.el (defezimage):
12634 * follow.el (follow-avoid-tail-recenter):
12635 * fringe.el (set-fringe-mode-1):
12636 * generic-x.el (bat-generic-mode-compile):
12637 * help-mode.el (help-info-variable, help-do-xref)
12638 (help-mode-revert-buffer):
12639 * help.el (view-emacs-todo):
12640 * iswitchb.el (iswitchb-completion-help):
12641 * jka-compr.el (jka-compr-make-temp-name, jka-compr-load):
12642 * kmacro.el (kmacro-cycle-ring-next, kmacro-cycle-ring-previous)
12643 (kmacro-delete-ring-head, kmacro-bind-to-key, kmacro-view-macro):
12644 * locate.el (locate-update):
12645 * longlines.el (longlines-encode-region)
12646 (longlines-after-change-function):
12647 * outline.el (outline-isearch-open-invisible):
12648 * ps-def.el (declare-function, charset-dimension, char-width)
12649 (encode-char):
12650 * ps-mule.el (ps-mule-plot-string):
12651 * recentf.el (recentf-make-menu-items, recentf-cancel-dialog)
12652 (recentf-edit-list-select, recentf-edit-list-validate)
12653 (recentf-open-files-action):
12654 * rect.el (delete-whitespace-rectangle-line)
12655 (rectangle-number-line-callback):
12656 * register.el (window-configuration-to-register)
12657 (frame-configuration-to-register):
12658 * scroll-bar.el (scroll-bar-mode, toggle-horizontal-scroll-bar):
12659 * select.el (xselect-convert-to-string, xselect-convert-to-length)
12660 (xselect-convert-to-targets, xselect-convert-to-delete)
12661 (xselect-convert-to-filename, xselect-convert-to-charpos)
12662 (xselect-convert-to-lineno, xselect-convert-to-colno)
12663 (xselect-convert-to-os, xselect-convert-to-host)
12664 (xselect-convert-to-user, xselect-convert-to-class)
12665 (xselect-convert-to-name, xselect-convert-to-integer)
12666 (xselect-convert-to-atom, xselect-convert-to-identity):
12667 * subr.el (declare, ignore, process-kill-without-query)
12668 (text-clone-maintain):
12669 * terminal.el (te-get-char, te-tic-sentinel):
12670 * tool-bar.el (tool-bar-make-keymap):
12671 * tooltip.el (tooltip-timeout, tooltip-hide, tooltip-help-tips):
12672 * type-break.el (type-break-mode, type-break-noninteractive-query):
12673 * view.el (View-back-to-mark):
12674 * wid-browse.el (widget-browse-action, widget-browse-widget)
12675 (widget-browse-widgets, widget-browse-sexp):
12676 * widget.el (define-widget-keywords):
12677 * xt-mouse.el (xterm-mouse-translate, turn-off-xterm-mouse-tracking):
12678 Mark unused parameters.
12679
12680 * align.el (align-adjust-col-for-rule): Mark unused parameter.
12681 (align-areas): Remove unused variable `look'.
12682 (align-region): Remove unused variables `real-end' and `pos-list'.
12683
12684 * apropos.el (apropos-score-doc): Remove unused variable `i'.
12685
12686 * bindings.el (mode-line-modified, mode-line-remote):
12687 Mark unused parameters.
12688 (mode-line-mule-info): Mark unused parameter; don't quote `lambda'.
12689
12690 * buff-menu.el (Buffer-menu-revert-function): Mark unused parameters.
12691 (Buffer-menu-mode): Mark unused parameter; don't quote `lambda'.
12692
12693 * comint.el (comint-history-isearch-pop-state)
12694 (comint-postoutput-scroll-to-bottom, comint-truncate-buffer)
12695 (comint-strip-ctrl-m, comint-read-noecho): Mark unused parameters.
12696 (comint-substitute-in-file-name): Doc fix.
12697
12698 * completion.el (cmpl-statistics-block): Mark unused parameter.
12699 (add-completions-from-tags-table, add-completions-from-lisp-buffer)
12700 (save-completions-to-file, load-completions-from-file):
12701 Remove unused local variable `e'.
12702
12703 * composite.el (compose-chars): Remove unused variable `len'.
12704 (lgstring-insert-glyph): Remove unused variable `g'.
12705 (compose-glyph-string): Remove unused variables `ascent',
12706 `descent', `lbearing' and `rbearing'.
12707 (compose-glyph-string-relative): Remove unused variables
12708 `lbearing', `rbearing' and `wadjust'.
12709 (compose-gstring-for-graphic): Remove unused variables `header',
12710 `wadjust', `xoff' and `yoff'. Use `let', not `let*'.
12711 (compose-gstring-for-terminal): Remove unused variables `header'
12712 and `nchars'. Use `let', not `let*'.
12713
12714 * cus-edit.el (Custom-set, Custom-save, custom-reset)
12715 (Custom-reset-current, Custom-reset-saved, Custom-reset-standard)
12716 (Custom-buffer-done, custom-buffer-create-internal)
12717 (custom-browse-visibility-action, custom-browse-group-tag-action)
12718 (custom-browse-variable-tag-action, custom-browse-face-tag-action)
12719 (widget-magic-mouse-down-action, custom-toggle-parent)
12720 (custom-add-parent-links, custom-toggle-hide-variable)
12721 (custom-face-edit-value-visibility-action, custom-face-edit-fix-value)
12722 (custom-toggle-hide-face, face, hook, custom-group-link-action)
12723 (custom-face-menu-create, custom-variable-menu-create, get)
12724 (custom-group-menu-create, Custom-no-edit): Mark unused parameters.
12725 (custom-reset-standard-save-and-update): Remove unused variable `value'.
12726 (customize-apropos): Remove unused variable `tests'.
12727 (custom-group-value-create): Remove unused variable `hidden-p'.
12728 (sort-fold-case): Declare.
12729
12730 * cus-theme.el (custom-reset-standard-faces-list)
12731 (custom-reset-standard-variables-list): Declare.
12732 (customize-create-theme, custom-theme-revert, custom-theme-write)
12733 (custom-theme-choose-mode, customize-themes, custom-theme-save):
12734 Mark unused parameters.
12735
12736 * dabbrev.el (dabbrev-completion): Remove unused variable `init'.
12737
12738 * delim-col.el (delimit-columns-max): Move defvar before first use.
12739
12740 * descr-text.el (describe-char-categories): Don't quote `lambda'.
bd0d2ee2 12741 (describe-char): Don't quote `lambda'. Mark unused parameter.
06b60517
JB
12742
12743 * desktop.el (desktop-save-buffer-p): Mark unused parameter.
12744 (auto-insert): Declare.
12745 (desktop-restore-file-buffer): Rename desktop-* parameters;
12746 mark unused ones.
12747 (desktop-create-buffer): Rename desktop-* parameters and bind them.
12748 (desktop-buffer): Rename desktop-* parameters.
12749
12750 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
12751 (dframe-reposition-frame-xemacs, dframe-help-echo)
12752 (dframe-hack-buffer-menu, dframe-set-timer, dframe-set-timer-internal):
12753 Mark unused parameters.
12754
12755 * dired-aux.el (backup-extract-version-start, overwrite-query)
12756 (overwrite-backup-query, rename-regexp-query)
12757 (rename-non-directory-query): Declare.
12758 (dired-shell-stuff-it, dired-do-create-files): Mark unused parameters.
12759 (dired-add-entry): Remove unused variable `orig-file-name'.
12760 (dired-copy-file-recursive): Remove unused variable `dirfailed'.
12761 Use parameter PRESERVE-TIME instead of accessing dynamic variable
12762 `dired-copy-preserve-time' directly.
12763 (dired-do-create-files-regexp): Remove unused variable `fn-count'.
12764 (dired-insert-subdir-newpos): Rename unused variable `pos'.
12765
12766 * dired-x.el (dired-omit-size-limit): Move defcustom before first use.
12767 (dired-virtual-revert, dired-make-relative-symlink):
12768 Mark unused parameters.
12769 (manual-program): Declare.
12770 (dired-x-hands-off-my-keys): Rename parameters of lambda expression.
12771 (inode, s, mode, nlink, uid, gid, size, time, name, sym): Declare them,
12772 wrapped in `with-no-warnings' to avoid replacing one warning by another.
12773
12774 * dirtrack.el (dirtrack): Remove unused variable `multi-line'.
12775
12776 * dos-fns.el (dos-8+3-filename): Remove unused variable `i'.
12777
12778 * echistory.el (electric-history-in-progress, Helper-return-blurb):
12779 Declare.
12780
12781 * edmacro.el (edmacro-finish-edit): Remove unused variable `kmacro'.
12782
12783 * electric.el (Electric-command-loop): Rename parameter
12784 INHIBIT-QUIT to INHIBIT-QUITTING and bind `inhibit-quit'.
12785
12786 * expand.el (expand-in-literal): Remove unused variable `here'.
12787
12788 * facemenu.el (facemenu-add-new-color):
12789 Remove unused variable `docstring'.
12790
12791 * faces.el (face-id, make-face-bold, make-face-unbold, make-face-italic)
12792 (make-face-unitalic, make-face-bold-italic): Mark unused parameters.
12793 (face-attr-construct): Mark unused parameter. Doc fix.
12794 (read-color): Remove unused variable `hex-string'.
12795
12796 * files.el (parse-colon-path): Rename argument CD-PATH to SEARCH-PATH.
12797 (locate-dominating-file): Remove unused vars `prev-file' and `user'.
12798 (remote-file-name-inhibit-cache, revert-buffer): Clean up docstrings.
12799 (display-buffer-other-frame): Remove unused variable `old-window'.
12800 (kill-buffer-hook): Declare.
12801 (insert-file-contents-literally, set-auto-mode, risky-local-variable-p):
12802 Mark unused parameters.
12803 (after-find-file): Pass 1 to `auto-save-mode', not t.
12804
12805 * files-x.el (auto-insert): Declare.
12806 (modify-file-local-variable-prop-line): Remove unused variable `val'.
12807
12808 * find-lisp.el (find-lisp-find-dired-internal): Remove unused
bd0d2ee2 12809 variable `buf'. Mark unused parameter.
06b60517
JB
12810 (find-lisp-insert-directory): Mark unused parameter.
12811
12812 * format.el (format-decode-run-method): Mark unused parameter; doc fix.
12813 (format-encode-region): Remove unused variables `cur-buf' and `result'.
12814 (format-common-tail): Remove, unused.
12815 (format-deannotate-region): Remove unused variable `loc'.
12816 (format-annotate-region): Remove unused variable `p'.
12817 (format-annotate-single-property-change): Remove unused variables
12818 `default' and `tail'.
12819
12820 * forms.el (read-file-filter): Declare.
12821 (forms--iif-hook, forms--revert-buffer): Mark unused parameters.
12822
12823 * frame.el (frame-creation-function-alist): Mark unused parameter.
12824 (frame-geom-spec-cons): Pass FRAME to `frame-geom-value-cons'.
12825
12826 * hilit-chg.el (hilit-chg-cust-fix-changes-face-list, hilit-chg-clear):
12827 Remove unused parameters.
12828 (hilit-chg-set-face-on-change): Remove unused variable `beg-decr'.
12829 (highlight-compare-with-file): Remove unused variable `buf-b-read-only'.
12830
12831 * htmlfontify.el (hfy-default-footer, hfy-decor, hfy-invisible)
12832 (hfy-parse-tags-buffer, hfy-prepare-index-i, hfy-prepare-index)
12833 (hfy-prepare-tag-map): Mark unused parameters.
12834 (htmlfontify-buffer): Use `called-interactively-p'.
12835
12836 * ibuf-ext.el (ibuffer-do-kill-lines, ibuffer-jump-to-buffer)
12837 (ibuffer-copy-filename-as-kill, ibuffer-mark-on-buffer)
12838 (ibuffer-do-occur): Mark unused parameters.
12839 (ibuffer-forward-next-marked): Remove unused variable `curmark'.
12840 (ibuffer-diff-buffer-with-file-1): Remove unused variable `proc'.
12841
12842 * ibuffer.el: Don't quote `lambda'.
12843 (ibuffer-count-marked-lines, ibuffer-count-deletion-lines)
12844 (ibuffer-unmark-all, ibuffer-toggle-marks, ibuffer-redisplay-engine):
12845 Mark unused parameters.
12846
12847 * ido.el (ido-mode, ido-wide-find-dir-or-delete-dir)
12848 (ido-completing-read): Mark unused parameters.
12849 (ido-copy-current-word): Mark unused parameters;
12850 remove unused variable `name'.
12851 (ido-sort-merged-list): Remove unused parameter `dirs'.
12852
12853 * ielm.el (ielm-input-sender): Mark unused parameter.
12854 (ielm-string, ielm-form, ielm-pos, ielm-result, ielm-error-type)
12855 (ielm-output, ielm-wbuf, ielm-pmark): Declare.
12856 (ielm-eval-input): Rename argument IELM-STRING to INPUT-STRING to keep
12857 `ielm-string' as a dynamic variable accessible from the IELM prompt.
12858 Bind `ielm-string' to INPUT-STRING. Remove unused variable `err'.
12859
12860 * image-dired.el (image-dired-display-thumbs): Remove unused
12861 variables `curr-file' and `count'.
12862 (image-dired-remove-tag): Remove unused variable `start'.
12863 (image-dired-tag-files, image-dired-create-thumbs): Remove unused
12864 variable `curr-file'
12865 (image-dired-rotate-original): Remove unused variable `temp-file'.
12866 (image-dired-mouse-select-thumbnail, image-dired-mouse-toggle-mark):
12867 Remove unused variable `file'.
12868 (image-dired-gallery-generate): Remove unused variable `curr'.
12869 (image-dired-dired-edit-comment-and-tags): Mark unused parameters.
12870
12871 * indent.el (tab-to-tab-stop): Remove unused variable `opoint'.
12872
12873 * info-xref.el (info-xref-goto-node-p): Remove unused variable `err'.
12874
12875 * informat.el (texinfo-command-start, texinfo-command-end): Declare.
12876
12877 * isearch.el (minibuffer-history-symbol): Declare.
12878 (isearch-edit-string): Remove unused variable `err'.
12879 (isearch-message-prefix, isearch-message-suffix):
12880 Mark unused parameters.
12881
12882 * ls-lisp.el (ls-lisp-insert-directory): Remove unused variable `fil'.
12883
12884 * macros.el (insert-kbd-macro): Remove unused variable `mods'.
12885
12886 * makesum.el (double-column): Remove unused variable `cnt'.
12887
12888 * misearch.el (multi-isearch-pop-state): Mark unused parameter.
12889 (ido-ignore-item-temp-list): Declare.
12890
12891 * mouse-drag.el (mouse-drag-throw): Remove unused variables
12892 `mouse-delta', `window-last-row', `mouse-col-delta', `window-last-col',
12893 `adjusted-mouse-col-delta' and `adjusted-mouse-delta'.
12894 (mouse-drag-drag): Remove unused variables `mouse-delta' and
12895 `mouse-col-delta'.
12896
12897 * mouse-sel.el (mouse-extend-internal):
12898 Remove unused variable `orig-window-frame'.
12899
12900 * pcomplete.el (pcomplete-args, pcomplete-begins, pcomplete-last)
12901 (pcomplete-index, pcomplete-stub, pcomplete-seen, pcomplete-norm-func):
12902 Move declarations before first use.
12903 (pcomplete-opt): Mark unused parameters; doc fix.
12904
12905 * proced.el (proced-revert): Mark unused parameter.
12906 (proced-send-signal): Remove unused variable `err'.
12907
12908 * ps-print.el (ps-print-preprint-region, ps-print-preprint):
12909 Rename parameter PREFIX-ARG to ARG.
12910 (ps-basic-plot-string, ps-basic-plot-whitespace):
12911 Mark unused parameters.
12912
12913 * replace.el (replace-count): Define.
12914 (occur-revert-function): Mark unused parameters.
12915 (ido-ignore-item-temp-list, isearch-error, isearch-forward)
12916 (isearch-case-fold-search, isearch-string): Declare.
12917 (occur-engine): Rename parameter CASE-FOLD-SEARCH to CASE-FOLD and
12918 bind `case-fold-search'. Remove unused variables `beg' and `end',
12919 and simplify.
12920 (replace-eval-replacement): Rename parameter REPLACE-COUNT to
12921 COUNT and bind `replace-count'.
12922 (replace-loop-through-replacements): Rename parameter REPLACE-COUNT
12923 to COUNT.
12924
12925 * savehist.el (print-readably, print-string-length): Declare.
12926
12927 * shadowfile.el (shadow-expand-cluster-in-file-name):
12928 Remove unused variable `cluster'.
12929 (shadow-copy-file): Remove unused variable `i'.
12930 (shadow-noquery, shadow-clusters, shadow-site-cluster)
12931 (shadow-parse-fullname, shadow-parse-name, shadow-define-cluster)
12932 (shadow-define-literal-group, shadow-define-regexp-group)
12933 (shadow-make-group, shadow-shadows-of): Clean up docstrings.
12934
12935 * shell.el (shell-filter-ctrl-a-ctrl-b): Mark unused parameter.
12936 (shell): Use `called-interactively-p'.
12937 (shell-directory-tracker): Remove unused variable `chdir-failure'.
12938
12939 * simple.el (compilation-context-lines, comint-file-name-quote-list)
12940 (comint-file-name-chars, comint-delimiter-argument-list): Declare.
12941 (delete-backward-char): Remove unused variable `ocol'.
12942 (minibuffer-avoid-prompt, minibuffer-history-isearch-pop-state)
12943 (line-move-1, event-apply-alt-modifier, event-apply-super-modifier)
12944 (event-apply-hyper-modifier, event-apply-shift-modifier)
12945 (event-apply-control-modifier, event-apply-meta-modifier):
12946 Mark unused parameters.
12947 (undo-make-selective-list): Remove duplicate variable `undo-elt'.
12948 (normal-erase-is-backspace-mode): Remove unused variable `old-state'.
12949
12950 * speedbar.el (speedbar-ignored-directory-expressions)
12951 (speedbar-supported-extension-expressions, speedbar-directory-buttons)
12952 (speedbar-find-file, speedbar-dir-follow)
12953 (speedbar-directory-buttons-follow, speedbar-tag-find)
12954 (speedbar-buffer-buttons, speedbar-buffer-buttons-temp)
12955 (speedbar-buffers-line-directory, speedbar-buffer-click):
12956 Mark unused parameters.
12957 (speedbar-tag-file): Remove unused variable `mode'.
12958 (speedbar-buffers-tail-notes): Remove unused variable `mod'; simplify.
12959
12960 * strokes.el (strokes-decode-buffer): Remove unused variable `ext'.
12961
12962 * talk.el (talk): Remove unused variable `display'.
12963
12964 * tar-mode.el (tar-subfile-save-buffer): Remove unused variable `name'.
12965 (tar-write-region-annotate): Mark unused parameter.
12966
12967 * time.el (now, time, load, mail, 24-hours, hour, 12-hours, am-pm)
12968 (minutes, seconds, time-zone, day, year, monthname, month, dayname):
12969 Declare them, wrapped in `with-no-warnings' to avoid replacing one
12970 warning by another.
12971
12972 * time-stamp.el (time-stamp-string-preprocess):
12973 Remove unused variable `require-padding'.
12974
12975 * tree-widget.el (widget-glyph-enable): Declare.
12976 (tree-widget-action): Mark unused parameter.
12977
12978 * w32-fns.el (x-get-selection): Mark unused parameter.
12979 (autoload-make-program, generated-autoload-file): Declare.
12980
12981 * wdired.el (wdired-revert): Mark unused parameters.
12982 (wdired-xcase-word): Remove unused variable `err'.
12983
12984 * whitespace.el (whitespace-buffer-changed): Mark unused parameters.
12985 (whitespace-help-scroll): Remove unused variable `data-help'.
12986
12987 * wid-edit.el (widget-mouse-help, widget-overlay-inactive)
12988 (widget-image-insert, widget-after-change, default)
12989 (widget-default-format-handler, widget-default-notify)
12990 (widget-default-prompt-value, widget-info-link-action)
12991 (widget-url-link-action, widget-function-link-action)
12992 (widget-variable-link-action, widget-file-link-action)
12993 (widget-emacs-library-link-action, widget-emacs-commentary-link-action)
12994 (widget-field-prompt-internal, widget-field-action, widget-field-match)
12995 (widget-choice-mouse-down-action, toggle, widget-radio-button-notify)
12996 (widget-insert-button-action, widget-delete-button-action, visibility)
12997 (widget-documentation-link-action, widget-documentation-string-action)
12998 (widget-const-prompt-value, widget-regexp-match, symbol)
12999 (widget-coding-system-prompt-value)
13000 (widget-key-sequence-value-to-external, sexp)
13001 (widget-sexp-value-to-internal, character, vector, cons)
13002 (widget-choice-prompt-value, widget-boolean-prompt-value)
13003 (widget-color--choose-action): Mark unused parameters.
13004 (widget-item-match-inline, widget-choice-match-inline)
13005 (widget-checklist-match, widget-checklist-match-inline)
13006 (widget-group-match): Rename parameter VALUES to VALS.
13007 (widget-field-value-set): Remove unused variable `size'.
13008 (widget-color-action): Remove unused variables `value' and `start'.
13009
13010 * windmove.el (windmove-wrap-loc-for-movement): Remove unused
bd0d2ee2 13011 variable `dir'. Doc fix.
06b60517
JB
13012 (windmove-find-other-window): Don't pass it.
13013
13014 * window.el (count-windows): Mark unused parameter.
13015 (bw-adjust-window): Remove unused variable `err'.
13016
13017 * woman.el (woman-file-name): Remove unused variable `default'.
13018 (woman-expand-directory-path): Rename parameters WOMAN-MANPATH and
13019 WOMAN-PATH to PATH-DIRS and PATH-REGEXPS, respectively.
13020 (global-font-lock-mode): Declare.
13021 (woman-decode-region): Mark unused parameter.
13022 (woman-get-tab-stop): Rename parameter TAB-STOP-LIST to TAB-STOPS.
13023
13024 * x-dnd.el (x-dnd-default-test-function, x-dnd-handle-old-kde)
13025 (x-dnd-handle-xdnd, x-dnd-handle-motif): Mark unused parameters.
13026 (x-dnd-handle-moz-url): Remove unused variable `title'.
13027 (x-dnd-handle-xdnd): Remove unused variables `x', `y' and `ret-action'.
13028
13029 * xml.el (xml-parse-tag, xml-parse-attlist):
13030 Remove unused variable `pos'.
13031
bc4f7f3d
GM
130322011-04-19 Glenn Morris <rgm@gnu.org>
13033
13034 * calendar/cal-tex.el (cal-tex-list-holidays, cal-tex-cursor-month)
13035 (cal-tex-cursor-week, cal-tex-cursor-week2, cal-tex-cursor-week-iso)
13036 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
13037 (cal-tex-cursor-filofax-daily, cal-tex-mini-calendar)
13038 * calendar/cal-html.el (cal-html-insert-minical):
13039 * calendar/diary-lib.el (diary-list-entries-1, diary-list-entries)
13040 (calendar-mark-date-pattern):
13041 Prefix "unused" locals.
13042
13043 * calendar/cal-dst.el (dst-adjust-time): Remove never-implemented
13044 optional argument `style'.
13045
13046 * calendar/appt.el (appt-make-list):
13047 * calendar/cal-china.el (calendar-chinese-date-string):
13048 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits)
13049 (diary-hebrew-yahrzeit):
13050 * calendar/cal-tex.el (cal-tex-last-blank-p, cal-tex-cursor-week2):
13051 * calendar/calendar.el (calendar-generate-window):
13052 * calendar/time-date.el (time-to-days):
13053 Remove unused local variables.
13054
16a43933
CY
130552011-04-18 Chong Yidong <cyd@stupidchicken.com>
13056
13057 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Use a custom
13058 glyphless-char-display table.
13059 (tabulated-list-glyphless-char-display): New var.
13060
7eed1860
SS
130612011-04-18 Sam Steingold <sds@gnu.org>
13062
13063 * vc/add-log.el (change-log-font-lock-keywords): Add "Thanks to"
13064 to acknowledgments.
13065
4d2d1ccd
GM
130662011-04-17 Glenn Morris <rgm@gnu.org>
13067
13068 * calendar/diary-lib.el (diary-sexp-entry):
13069 * calendar/holidays.el (holiday-sexp):
13070 Set debug-on-error rather than the removed stack-trace-on-error.
13071
239da61d
GM
130722011-04-16 Glenn Morris <rgm@gnu.org>
13073
13074 * progmodes/f90.el: Use lexical-binding.
13075 (f90-get-correct-indent): Remove unnecessary local variable `cont'.
13076
8b05752a
SM
130772011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
13078
daca8ba5
SM
13079 * mail/sendmail.el (mail-mode-map): Use completion-at-point.
13080 (mail-mode): Setup mailalias completion here instead.
13081 * mail/mailalias.el: Use lexical-binding.
13082 (pattern, mailalias-done): Declare dynamic.
13083 (mail-completion-at-point-function): New function, from mail-complete.
13084 (mail-complete): Use it.
13085 (mail-completion-expand): New function.
13086 (mail-get-names): Use it.
13087 (mail-directory, mail-directory-process, mail-directory-stream):
13088 Don't use `pattern' for lexically bound arg.
13089
6f542485
SM
13090 * emacs-lisp/lisp-mode.el (eval-defun-2): Use eval-sexp-add-defvars.
13091
037e7c3f
SM
13092 * htmlfontify.el (hfy-etags-cmd): Remove inoperant eval-and-compile.
13093 (hfy-e2x-etags-cmd, hfy-etags-cmd-alist-default)
13094 (hfy-etags-cmd-alist): Don't eval-and-compile any more.
13095
8b05752a
SM
13096 * emacs-lisp/bytecomp.el (byte-temp-output-buffer-show)
13097 (byte-save-window-excursion, byte-temp-output-buffer-setup)
13098 (byte-interactive-p): Define them again, for use when inlining
13099 old code.
13100
49093f60
JB
131012011-04-15 Juanma Barranquero <lekktu@gmail.com>
13102
13103 * loadup.el: Use `string-to-number', not `string-to-int'.
13104
b5b8e7de
SM
131052011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
13106
13107 * progmodes/gud.el (gud-gdb): Use completion-at-point instead of
13108 gud-gdb-complete-command.
13109 (gud-gdb-completions): New function, from gud-gdb-complete-command.
13110 (gud-gdb-completion-at-point): New function.
13111 (gud-gdb-completions): Remove.
13112
f42efeb5
MA
131132011-04-14 Michael Albinus <michael.albinus@gmx.de>
13114
49093f60
JB
13115 * net/tramp-sh.el (tramp-sh-handle-file-attributes): Handle the case
13116 when the scripts fail. Use `tramp-do-file-attributes-with-ls' then.
13117 (tramp-do-copy-or-rename-file-out-of-band): Do not check any longer
13118 whether `executable-find' is bound.
f42efeb5
MA
13119
13120 * net/tramp-smb.el (tramp-smb-handle-copy-file): Fix docstring.
13121
e240cc21
SM
131222011-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
13123
13124 * minibuffer.el (completion-in-region-mode-predicate)
13125 (completion-in-region-mode--predicate): New vars.
13126 (completion-in-region, completion-in-region--postch)
13127 (completion-in-region-mode): Use them.
13128 (completion--capf-wrapper): Also return the hook function.
13129 (completion-at-point, completion-help-at-point):
13130 Adjust and provide a predicate.
c2bd2ab0
SM
13131
13132 Preserve arg names for advice of subr and lexical functions (bug#8457).
13133 * help-fns.el (help-function-arglist): Consolidate the subr and
13134 new-byte-code cases. Add argument `preserve-names' to extract names
13135 from the docstring when needed.
13136 * emacs-lisp/advice.el (ad-define-subr-args, ad-undefine-subr-args)
13137 (ad-subr-args-defined-p, ad-get-subr-args, ad-subr-arglist): Remove.
13138 (ad-arglist): Use help-function-arglist's new arg.
13139 (ad-definition-type): Use cond.
13140
c183f693
JB
131412011-04-13 Juanma Barranquero <lekktu@gmail.com>
13142
06641a47
JB
13143 * autorevert.el (auto-revert-handler):
13144 Bind `remote-file-name-inhibit-cache', not `tramp-cache-inhibit-cache',
13145 which was removed in 2010-10-02T13:21:43Z!michael.albinus@gmx.de.
13146 Don't quote lambda.
13147
c183f693
JB
13148 * image-mode.el (image-transform-set-scale):
13149 Fix change in 2011-04-09T20:28:01Z!cyd@stupidchicken.com.
13150
1e3b6001
G
131512011-04-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
13152
13153 * net/network-stream.el (network-stream-open-starttls): Only do
e9fce1ac 13154 opportunistic STARTTLS upgrades if we have built-in GnuTLS support.
1e3b6001
G
13155 Upgrades via gnutls-cli are too slow to be done opportunistically.
13156
2d6af8dd
JB
131572011-04-12 Juanma Barranquero <lekktu@gmail.com>
13158
13159 * dframe.el (dframe-current-frame): Remove spurious quote.
13160
c0749a51
GM
131612011-04-12 Glenn Morris <rgm@gnu.org>
13162
088d0d61
GM
13163 * calendar/cal-tex.el (cal-tex-end-document):
13164 Try to automatically use latin1 input if needed.
13165
c0749a51
GM
13166 * calendar/cal-hebrew.el (diary-hebrew-rosh-hodesh):
13167 Don't try to cons a mark onto an empty element.
13168
5c90fde0
LL
131692011-04-11 Leo Liu <sdl.web@gmail.com>
13170
13171 * ido.el (ido-buffer-internal): Allow method 'kill for virtual
13172 buffers.
13173 (ido-kill-buffer-at-head): Support killing virtual buffers.
13174
369e974d
CY
131752011-04-10 Chong Yidong <cyd@stupidchicken.com>
13176
13177 * minibuffer.el (completion-show-inline-help): New var.
13178 (completion--do-completion, minibuffer-complete)
daca8ba5
SM
13179 (minibuffer-force-complete, minibuffer-complete-word):
13180 Inhibit minibuffer messages if completion-show-inline-help is nil.
369e974d
CY
13181
13182 * icomplete.el (icomplete-mode): Bind completion-show-inline-help
13183 to avoid interference from inline help (Bug#5849).
13184
37f1c930
LL
131852011-04-10 Leo Liu <sdl.web@gmail.com>
13186
099c39a4
JB
13187 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
13188 Fix typo.
37f1c930 13189
a32d4040
CY
131902011-04-09 Chong Yidong <cyd@stupidchicken.com>
13191
13192 * image-mode.el (image-toggle-display-image): Signal an error if
13193 not in Image mode.
13194 (image-transform-mode, image-transform-resize)
13195 (image-transform-set-rotation): Doc fix.
daca8ba5 13196 (image-transform-set-resize): Delete.
a32d4040
CY
13197 (image-transform-set-scale, image-transform-fit-to-height)
13198 (image-transform-fit-to-width): Handle image-toggle-display-image
13199 and image-transform-resize directly.
13200
099c39a4 132012011-04-08 Sho Nakatani <lay.sakura@gmail.com>
d7b89879
TH
13202
13203 * doc-view.el (doc-view-fit-width-to-window)
099c39a4
JB
13204 (doc-view-fit-height-to-window, doc-view-fit-page-to-window):
13205 New functions for fitting the shown image to the Emacs window size.
d7b89879
TH
13206 (doc-view-mode-map): Add bindings for the new functions.
13207
099c39a4 132082011-04-08 Juanma Barranquero <lekktu@gmail.com>
ddc20cdb 13209
4d61f28d 13210 * vc/vc-annotate.el (vc-annotate-show-log-revision-at-line):
ddc20cdb
JB
13211 Fix typo in docstring.
13212
3726838a
EZ
132132011-04-08 Eli Zaretskii <eliz@gnu.org>
13214
04f33f1e
EZ
13215 * files.el (file-size-human-readable): Produce one digit after
13216 decimal, like "ls -lh" does.
13217
13218 * ls-lisp.el (ls-lisp-format-file-size): Allow for 7 characters in
13219 the file size representation.
13220
3726838a
EZ
13221 * simple.el (list-processes): If async subprocesses are not
13222 available, error out with a clear error message.
13223
cbb59342
CY
132242011-04-08 Chong Yidong <cyd@stupidchicken.com>
13225
13226 * help.el (help-form-show): New function, to be called from C.
13227 Put help-form output in a buffer named differently than *Help*.
13228
e3971c44
EZ
132292011-04-08 Eli Zaretskii <eliz@gnu.org>
13230
13231 * files.el (file-size-human-readable): New function.
13232
13233 * ls-lisp.el (ls-lisp-format-file-size): Use it, instead of
13234 computing the representation inline. Don't require `cl'.
13235
12544bbe
GM
132362011-04-08 Glenn Morris <rgm@gnu.org>
13237
a1de6c6a
GM
13238 * man.el (Man-page-header-regexp): Solaris < 2.6 no longer supported.
13239
3c4671f4
GM
13240 * net/browse-url.el (browse-url-firefox):
13241 Test system-type, not system-configuration.
13242
b605679c
GM
13243 * vc/log-edit.el (log-edit-empty-buffer-p): New function.
13244 (log-edit-insert-cvs-template, log-edit-insert-cvs-rcstemplate):
13245 Use log-edit-empty-buffer-p. (Bug#7598)
13246
56442f0c
GM
13247 * net/rlogin.el (rlogin-process-connection-type): Simplify.
13248 (rlogin-mode-map): Initialize in the defvar.
13249 (rlogin): Use ignore-errors.
13250
12544bbe
GM
13251 * replace.el (occur-mode-map): Some fixes for menu items.
13252
eb237b0f
AH
132532011-04-07 Aaron S. Hawley <aaron.s.hawley@gmail.com>
13254
13255 * play/morse.el (denato-region): Handle varying case. (Bug#8386)
13256
7d668f2c
CY
132572011-04-06 Chong Yidong <cyd@stupidchicken.com>
13258
e67a13ab
CY
13259 * emacs-lisp/cconv.el (cconv--analyse-use): Ignore "ignored" when
13260 issuing unused warnings.
13261
13262 * emacs-lisp/tabulated-list.el (tabulated-list-print): Use lambda
13263 macro directly.
13264
7d668f2c
CY
13265 * simple.el: Lisp reimplement of list-processes. Based on an
13266 earlier reimplementation by Leo Liu, but using tabulated-list.el.
13267 (process-menu-mode): New major mode.
13268 (list-processes--refresh, list-processes):
13269 (process-menu-visit-buffer): New functions.
13270
13271 * files.el (save-buffers-kill-emacs): Don't assume any return
13272 value of list-processes, which is undocumented anyway.
13273
a83ec3c9
CY
132742011-04-06 Chong Yidong <cyd@stupidchicken.com>
13275
13276 * emacs-lisp/tabulated-list.el: New file.
13277
e91a96fe
CY
13278 * emacs-lisp/package.el: Use Tabulated List mode.
13279 (package-menu-mode-map): Inherit from tabulated-list-mode-map.
13280 (package-menu-mode): Derive from tabulated-list-mode. Set up the
13281 table format using Tabulated List mode variables.
13282 (package--push): New macro, replacing package-list-maybe-add.
13283 (package-menu--generate): Use package--push. Renamed from
13284 package--generate-package-list.
13285 (package-menu-refresh, list-packages): Use it.
daca8ba5 13286 (package-menu--print-info): Rename from package-print-package.
e91a96fe 13287 Return insertion data instead of inserting it directly.
099c39a4
JB
13288 (package-menu-describe-package, package-menu-execute):
13289 Use tabulated-list-get-id.
e91a96fe
CY
13290 (package-menu-mark-delete, package-menu-mark-install)
13291 (package-menu-mark-unmark, package-menu-backup-unmark)
099c39a4
JB
13292 (package-menu-mark-obsolete-for-deletion):
13293 Use tabulated-list-put-tag.
e91a96fe
CY
13294 (package--list-packages, package-menu-revert)
13295 (package-menu-get-package, package-menu-get-version)
13296 (package-menu-sort-by-column): Functions deleted.
13297 (package-menu-package-list, package-menu-sort-key): Vars deleted.
13298 (package-menu--status-predicate, package-menu--version-predicate)
13299 (package-menu--name-predicate)
13300 (package-menu--description-predicate): Handle arguments in the
13301 Tabulated List format.
13302 (package-list-packages-no-fetch): Call list-packages.
13303
3e214b50
JB
133042011-04-06 Juanma Barranquero <lekktu@gmail.com>
13305
13306 * files.el (after-find-file-from-revert-buffer): Remove variable.
c9d0ec6d 13307 (after-find-file): Don't bind it.
3e214b50
JB
13308 (revert-buffer-in-progress-p): New variable.
13309 (revert-buffer): Bind it.
13310 Pass nil for `after-find-file-from-revert-buffer'.
13311
13312 * saveplace.el (save-place-find-file-hook): Use new variable
13313 `rever-buffer-in-progress-p', not `after-find-file-from-revert-buffer'.
13314
3f0f1700
GM
133152011-04-06 Glenn Morris <rgm@gnu.org>
13316
c0274801
GM
13317 * Makefile.in (AUTOGEN_VCS): New variable.
13318 (autoloads): Use $AUTOGEN_VCS.
13319
3f0f1700
GM
13320 * calendar/cal-move.el (calendar-scroll-toolkit-scroll): New function.
13321 * calendar/calendar.el (calendar-mode-map):
13322 Check for toolkit scroll bars. (Bug#8305)
13323
41ea9e48
CY
133242011-04-05 Chong Yidong <cyd@stupidchicken.com>
13325
13326 * minibuffer.el (completion-in-region--postch)
13327 (completion-in-region-mode): Remove unnecessary messages.
13328
6194c800
JB
133292011-04-05 Juanma Barranquero <lekktu@gmail.com>
13330
33256f14
JB
13331 * font-lock.el (font-lock-refresh-defaults):
13332 Don't bind `hi-lock--inhibit-font-lock-hook', removed in
13333 2010-10-09T04:09:19Z!cyd@stupidchicken.com and 2010-10-11T23:57:49Z!lekktu@gmail.com (2010-10-12).
13334
6194c800
JB
13335 * info.el (Info-directory-list, Info-read-node-name-2)
13336 (Info-split-parameter-string): Doc fixes.
13337 (Info-virtual-nodes): Reflow docstring.
13338 (Info-find-file, Info-directory-toc-nodes, Info-history-toc-nodes)
13339 (Info-apropos-toc-nodes, info-finder, Info-get-token)
13340 (Info-find-emacs-command-nodes, Info-speedbar-key-map):
13341 Fix typos in docstrings.
13342 (Info-revert-buffer-function, Info-search, Info-isearch-pop-state)
13343 (Info-speedbar-hierarchy-buttons, Info-speedbar-goto-node)
13344 (Info-speedbar-buttons, Info-desktop-buffer-misc-data)
13345 (Info-restore-desktop-buffer): Mark unused parameters.
13346 (Info-directory-find-file, Info-directory-find-node)
13347 (Info-history-find-file, Info-history-find-node, Info-toc-find-node)
13348 (Info-virtual-index-find-node, Info-apropos-find-file)
13349 (Info-apropos-find-node, Info-finder-find-file, Info-finder-find-node):
33256f14 13350 Mark unused parameters; fix typos in docstrings.
6194c800
JB
13351 (Info-virtual-index): Remove unused local variable `nodename'.
13352
b87a8200 133532011-04-05 Deniz Dogan <deniz@dogan.se>
0f6ee7d2 13354
b87a8200
DD
13355 * net/rcirc.el: Update my e-mail address.
13356 (rcirc-mode-map): Remove M-o binding.
0f6ee7d2 13357
3b2ff876
CY
133582011-04-05 Chong Yidong <cyd@stupidchicken.com>
13359
13360 * startup.el (command-line): Save the cursor's theme-face
13361 directly, instead of using face-override-spec.
13362
13363 * custom.el (load-theme): Minor optimization in assigning faces.
13364
8d17e7ca
JB
133652011-04-04 Juanma Barranquero <lekktu@gmail.com>
13366
13367 * help-fns.el (describe-variable): Complete all variables having
13368 documentation, including keywords.
13369 http://lists.gnu.org/archive/html/emacs-devel/2011-04/msg00112.html
13370
2fbc1934
JB
133712011-04-04 Juanma Barranquero <lekktu@gmail.com>
13372
13373 Convert to lexical-binding.
13374
13375 * bs.el (bs-refresh, bs-sort-buffer-interns-are-last)
13376 (bs--get-marked-string, bs--get-modified-string)
13377 (bs--get-readonly-string, bs--get-size-string, bs--get-name)
13378 (bs--get-mode-name, bs--get-file-name): Mark unused arguments.
13379 (bs--configuration-name-for-prefix-arg): Rename argument PREFIX-ARG.
13380
13381 * ehelp.el (electric-help-execute-extended)
13382 (electric-help-ctrl-x-prefix):
13383 * hexl.el (hexl-revert-buffer-function):
13384 * linum.el (linum-after-change, linum-after-scroll):
13385 * emacs-lisp/re-builder.el (reb-auto-update): Mark unused arguments.
13386
13387 * help-fns.el (help-describe-category-set): Remove unused ERR variable.
13388
74f50695
DU
133892011-04-04 Daiki Ueno <ueno@unixuser.org>
13390
13391 * epa-dired.el:
13392 * epa-mail.el:
13393 * epa-hook.el:
13394 * epa-file.el:
13395 * epa.el:
13396 * epg.el: Use lexical binding.
13397
c11325f7
CY
133982011-04-03 Chong Yidong <cyd@stupidchicken.com>
13399
0d9e9a12
CY
13400 * dired-aux.el (dired-create-files): Add docstring (Bug#7970).
13401
c11325f7 13402 * textmodes/flyspell.el (flyspell-word): Recognize default
daca8ba5
SM
13403 dictionary case for flyspell-mark-duplications-exceptions.
13404 Use regexp matching for languages.
c11325f7
CY
13405 (flyspell-mark-duplications-exceptions): Add "that" and "had" for
13406 default dictionary (Bug#7926).
13407
da91b5f2
CY
134082011-04-02 Chong Yidong <cyd@stupidchicken.com>
13409
099c39a4
JB
13410 * emacs-lisp/package.el (package--with-work-buffer):
13411 Recognize https URLs.
da91b5f2 13412
099c39a4
JB
13413 * net/network-stream.el: Move from gnus/proto-stream.el.
13414 Change prefix to network-stream throughout.
da91b5f2
CY
13415 (open-protocol-stream): Merge into open-network-stream, leaving
13416 open-protocol-stream as an alias. Handle nil BUFFER args.
13417
13418 * subr.el (open-network-stream): Move to net/network-stream.el.
13419
afa8e9f6
GM
134202011-04-02 Glenn Morris <rgm@gnu.org>
13421
1d2e369d
GM
13422 * find-dired.el (find-exec-terminator): New option.
13423 (find-ls-option): Test for -ls support.
13424 (find-ls-subdir-switches): Test for -b in find-ls-option.
13425 (find-dired, find-grep-dired): Doc fixes.
13426 (find-dired): Use find-exec-terminator.
13427
8abb7da8 13428 * find-dired.el (find-ls-option, find-ls-subdir-switches)
e7a395b5
GM
13429 (find-grep-options): Do not autoload these defcustoms, remove purecopy.
13430 (find-name-arg): Remove purecopy.
8abb7da8 13431
f3ca7378
GM
13432 * progmodes/grep.el (grep-find-use-xargs): Doc fix.
13433 (grep-compute-defaults): Check for `-exec COMMAND +' support.
13434 Set grep-find-use-xargs, grep-find-command, and grep-find-template
13435 accordingly. Don't add the null-device if not needed.
13436
afa8e9f6
GM
13437 * files.el (save-some-buffers): Doc fix.
13438
35eae264
EZ
134392011-04-02 Eli Zaretskii <eliz@gnu.org>
13440
13441 * makefile.w32-in (EMACS): Default to ../src/$(BLD)/emacs.exe.
13442
26b51db5
JB
134432011-04-01 Juanma Barranquero <lekktu@gmail.com>
13444
13445 * progmodes/idlwave.el (idlwave-one-key-select, idlwave-list-abbrevs):
13446 Use `dolist' rather than `mapcar'.
13447
7200d79c
SM
134482011-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
13449
03408648 13450 Add lexical binding.
7200d79c 13451
03408648
SM
13452 * subr.el (apply-partially): Use new closures rather than CL.
13453 (--dolist-tail--, --dotimes-limit--): Don't declare dynamic.
13454 (dolist, dotimes): Use slightly different expansion for lexical code.
13455 (functionp): Move to C.
13456 (letrec): New macro.
13457 (with-wrapper-hook): Use it and apply-partially instead of CL.
13458 (eval-after-load): Preserve lexical-binding.
13459 (save-window-excursion, with-output-to-temp-buffer): Turn them
13460 into macros.
7200d79c 13461
03408648
SM
13462 * simple.el (with-wrapper-hook, apply-partially): Move to subr.el.
13463
13464 * help-fns.el (help-split-fundoc): Return nil if there's nothing else
13465 than the arglist.
13466 (help-add-fundoc-usage): Don't add `Not documented'.
13467 (help-function-arglist): Handle closures, subroutines, and new
13468 byte-code-functions.
13469 (help-make-usage): Remove leading underscores.
13470 (describe-function-1): Handle closures.
13471 (describe-variable): Use special-variable-p for completion.
13472
13473 * files.el (lexical-binding): Declare safe.
f488fb65 13474
03408648
SM
13475 * emacs-lisp/pcase.el: Don't use destructuring-bind.
13476 (pcase--memoize): Rename from pcase-memoize. Change weakness.
13477 (pcase): Add `let' pattern.
13478 Change memoization so it actually works.
13479 (pcase-mutually-exclusive-predicates): Add byte-code-function-p.
13480 (pcase--u1) <guard, pred>: Fix possible shadowing problem.
13481 <let>: New case.
f488fb65 13482
03408648
SM
13483 * emacs-lisp/macroexp.el: Use lexical binding.
13484 (macroexpand-all-1): Check obsolete macros. Expand compiler-macros.
13485 Don't convert ' to #' without checking that it's indeed quoting
13486 a lambda.
13487
13488 * emacs-lisp/lisp-mode.el (eval-last-sexp-1):
f488fb65 13489 Use eval-sexp-add-defvars.
03408648
SM
13490 (eval-sexp-add-defvars): New fun.
13491
13492 * emacs-lisp/float-sup.el (pi): Don't declare as dynamically bound.
13493
13494 * emacs-lisp/eieio.el (byte-compile-file-form-defmethod):
13495 Don't autoload.
13496 (eieio-defgeneric-form-primary-only-one): Use `byte-compile' rather
13497 than the internal `byte-compile-lambda'.
13498 (defmethod): Don't hide code under quotes.
13499 (eieio-defmethod): New `code' argument.
13500
13501 * emacs-lisp/eieio-comp.el: Remove.
13502
13503 * emacs-lisp/edebug.el (edebug-eval-defun)
13504 (edebug-eval-top-level-form): Use eval-sexp-add-defvars.
13505 (edebug-toggle): Avoid `eval'.
13506
13507 * emacs-lisp/disass.el (disassemble-internal): Handle new
13508 `closure' objects.
13509 (disassemble-1): Handle new byte codes.
13510
13511 * emacs-lisp/cl.el (pushnew): Silence warning.
13512
13513 * emacs-lisp/cl-macs.el (cl-byte-compile-block)
13514 (cl-byte-compile-throw): Remove.
13515 (cl-block-wrapper, cl-block-throw): Use compiler-macros instead.
13516
13517 * emacs-lisp/cl-extra.el (cl-macroexpand-all): Properly quote CL
13518 closures.
13519
13520 * emacs-lisp/cconv.el: New file.
13521
13522 * emacs-lisp/bytecomp.el: Use lexical binding instead of
13523 a "bytecomp-" prefix. Macroexpand everything as a separate phase.
13524 (byte-compile-initial-macro-environment):
13525 Handle declare-function here.
13526 (byte-compile--lexical-environment): New var.
13527 (byte-stack-ref, byte-stack-set, byte-discardN)
13528 (byte-discardN-preserve-tos): New lap codes.
13529 (byte-interactive-p): Don't use any more.
13530 (byte-compile-push-bytecodes, byte-compile-push-bytecode-const2):
13531 New macros.
13532 (byte-compile-lapcode): Use them and handle new lap codes.
13533 (byte-compile-obsolete): Remove.
13534 (byte-compile-arglist-signature): Handle new byte-code arg"lists".
13535 (byte-compile-arglist-warn): Check late def of inlinable funs.
13536 (byte-compile-cl-warn): Don't silence warnings for compiler-macros
13537 since they should have been expanded by now.
13538 (byte-compile--outbuffer): Rename from bytecomp-outbuffer.
13539 (byte-compile-from-buffer): Remove unused second arg.
13540 (byte-compile-preprocess): New function.
13541 (byte-compile-toplevel-file-form): New function to distinguish
13542 file-form calls from outside from file-form calls from hunk-handlers.
13543 (byte-compile-file-form): Simplify.
13544 (byte-compile-file-form-defsubst): Remove.
13545 (byte-compile-file-form-defmumble): Simplify now that
13546 byte-compile-lambda always returns a byte-code-function.
13547 (byte-compile): Preprocess.
13548 (byte-compile-byte-code-maker, byte-compile-byte-code-unmake):
13549 Remove, not used any more.
13550 (byte-compile-arglist-vars, byte-compile-make-lambda-lexenv)
13551 (byte-compile-make-args-desc): New funs.
13552 (byte-compile-lambda): Handle lexical functions. Always return
13553 a byte-code-function.
13554 (byte-compile-reserved-constants): New var, to make up room for
13555 closed-over variables.
13556 (byte-compile-constants-vector): Obey it.
13557 (byte-compile-top-level): New args `lexenv' and `reserved-csts'.
13558 (byte-compile-macroexpand-declare-function): New function.
13559 (byte-compile-form): Call byte-compile-unfold-bcf to inline immediate
13560 byte-code-functions.
13561 (byte-compile-form): Check obsolescence here.
13562 (byte-compile-inline-lapcode, byte-compile-unfold-bcf): New functions.
13563 (byte-compile-variable-ref): Remove.
13564 (byte-compile-dynamic-variable-op): New fun.
13565 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
13566 (byte-compile-variable-set): New funs.
13567 (byte-compile-discard): Add 2 args.
13568 (byte-compile-stack-ref, byte-compile-stack-set)
13569 (byte-compile-make-closure, byte-compile-get-closed-var): New funs.
13570 (byte-compile-funarg, byte-compile-funarg-2): Remove, handled in
13571 macroexpand-all instead.
13572 (byte-compile-quote-form): Remove.
13573 (byte-compile-push-binding-init, byte-compile-not-lexical-var-p)
13574 (byte-compile-bind, byte-compile-unbind): New funs.
13575 (byte-compile-let): Handle let* and lexical binding.
13576 (byte-compile-let*): Remove.
13577 (byte-compile-catch, byte-compile-unwind-protect)
13578 (byte-compile-track-mouse, byte-compile-condition-case):
13579 Handle a new :fun-body form, used for lexical scoping.
13580 (byte-compile-save-window-excursion)
13581 (byte-compile-with-output-to-temp-buffer): Remove.
13582 (byte-compile-defun): Simplify.
13583 (byte-compile-stack-adjustment): New fun.
13584 (byte-compile-out): Use it.
13585 (byte-compile-refresh-preloaded): Don't reload byte-compiler files.
13586
13587 * emacs-lisp/byte-run.el (make-obsolete): Don't set the `byte-compile'
13588 handler any more.
13589
13590 * emacs-lisp/byte-opt.el: Use lexical binding.
13591 (byte-inline-lapcode): Remove (to bytecomp).
13592 (byte-compile-inline-expand): Pay attention to inlining to/from
13593 lexically bound code.
13594 (byte-compile-unfold-lambda): Don't handle byte-code-functions
13595 any more.
13596 (byte-optimize-form-code-walker): Don't handle save-window-excursion
13597 any more and don't call compiler-macros.
13598 (byte-compile-splice-in-already-compiled-code): Remove.
13599 (byte-code): Don't inline any more.
13600 (disassemble-offset): Receive `bytes' as argument rather than via
13601 dynamic scoping.
13602 (byte-compile-tag-number): Declare before first use.
13603 (byte-decompile-bytecode-1): Handle new byte-codes, don't change
13604 `return' even if make-spliceable.
13605 (byte-compile-side-effect-and-error-free-ops): Add stack-ref, remove
13606 obsolete interactive-p.
13607 (byte-optimize-lapcode): Optimize new lap-codes.
13608 Don't trip up on new form of `byte-constant' lap code.
13609
13610 * emacs-lisp/autoload.el (make-autoload): Don't burp on trivial macros.
13611
13612 * emacs-lisp/advice.el (ad-arglist): Use help-function-arglist.
13613
13614 * custom.el (custom-initialize-default, custom-declare-variable):
13615 Use `defvar'.
13616
13617 * Makefile.in (BIG_STACK_DEPTH, BIG_STACK_OPTS, BYTE_COMPILE_FLAGS):
13618 New variables.
13619 (compile-onefile, .el.elc, compile-calc, recompile): Use them.
13620 (COMPILE_FIRST): Add macroexp and cconv.
13621 * makefile.w32-in: Mirror changes in Makefile.in.
13622
13623 * vc/cvs-status.el:
13624 * vc/diff-mode.el:
13625 * vc/log-edit.el:
13626 * vc/log-view.el:
13627 * vc/smerge-mode.el:
13628 * textmodes/bibtex-style.el:
13629 * textmodes/css.el:
13630 * startup.el:
13631 * uniquify.el:
da91b5f2
CY
13632 * minibuffer.el:
13633 * newcomment.el:
13634 * reveal.el:
13635 * server.el:
13636 * mpc.el:
13637 * emacs-lisp/smie.el:
13638 * doc-view.el:
13639 * dired.el:
03408648
SM
13640 * abbrev.el: Use lexical binding.
13641
0f0c1f27
EZ
136422011-04-01 Eli Zaretskii <eliz@gnu.org>
13643
13644 * info.el (info-display-manual): New function.
13645
c82b2579
SM
136462011-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
13647
13648 * loadup.el: Load minibuffer after loaddefs, to use define-minor-mode.
13649
221ddf68
TH
136502011-03-31 Tassilo Horn <tassilo@member.fsf.org>
13651
13652 * net/rcirc.el (rcirc-handler-001): Only authenticate, if there's
2fbc1934 13653 an entry for that server in rcirc-authinfo. (Bug#8385)
221ddf68 13654
cba6e77e
GM
136552011-03-31 Glenn Morris <rgm@gnu.org>
13656
e040639f
GM
13657 * progmodes/f90.el (f90-find-tag-default): Handle multiple `%'.
13658
cba6e77e
GM
13659 * generic-x.el (etc-fstab-generic-mode): Add ext4, sysfs keywords.
13660
6d0f1c9e
CS
136612011-03-30 Christoph Scholtes <cschol2112@googlemail.com>
13662
13663 * progmodes/python.el (python-default-interpreter)
13664 (python-python-command-args, python-jython-command-args)
13665 (python-which-shell, python-which-args, python-which-bufname)
13666 (python-file-queue, python-comint-output-filter-function)
13667 (python-toggle-shells, python-shell): Remove obsolete defcustoms,
13668 variables and functions.
13669
3e2d70fd
SM
136702011-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
13671
13672 * minibuffer.el (completion-table-dynamic): Optimize `boundaries'.
13673 (completion-in-region-mode): New minor mode.
13674 (completion-in-region): Use it.
13675 (completion-in-region--data, completion-in-region-mode-map): New vars.
13676 (completion-in-region--postch): New function.
13677 (completion--capf-misbehave-funs, completion--capf-safe-funs):
13678 New vars.
13679 (completion--capf-wrapper): New function.
13680 (completion-at-point): Use it to track well-behavedness of
13681 hook functions.
13682 (completion-help-at-point): New command.
13683
f3e4086c
JM
136842011-03-30 Jason Merrill <jason@redhat.com> (tiny change)
13685
13686 * vc/add-log.el (add-change-log-entry): Don't use whitespace
13687 syntax class to search for whitespace on a single line
13688 (Message-ID: <4D938140.4030905@redhat.com>).
13689
eb7ffc14
LL
136902011-03-30 Leo Liu <sdl.web@gmail.com>
13691
13692 * abbrev.el (abbrev-edit-save-to-file, abbrev-edit-save-buffer):
13693 New commands.
13694 (edit-abbrevs-map): Bind them here.
13695 (write-abbrev-file): New optinal arg VERBOSE. (Bug#5937)
13696
d806ab68
KM
136972011-03-29 Ken Manheimer <ken.manheimer@gmail.com>
13698
13699 * allout.el (allout-hide-by-annotation, allout-flag-region):
13700 Reduce possibility of overlay leakage by making them volatile.
13701
13702 * allout-widgets.el (allout-widgets-tally): Define as nil so the
13703 hash is not shared between buffers. Mode initialization is
13704 responsible for giving it a useful starting value.
13705 (allout-item-span): Reduce possibility of overlay leakage by
13706 making them volatile.
13707 (allout-widgets-count-buttons-in-region): Add diagnostic function
13708 for tracking down button overlay leaks.
13709
ea622834
LL
137102011-03-29 Leo Liu <sdl.web@gmail.com>
13711
13712 * ido.el (ido-read-internal): Use the default history var
13713 minibuffer-history if no HISTORY is specified.
13714
b62f8267
G
137152011-03-28 Brian T. Sniffen <bsniffen@akamai.com> (tiny change)
13716
03408648
SM
13717 * net/imap.el (imap-shell-open, imap-process-connection-type):
13718 Use imap-process-connection-type for 'shell' streams as well as
b62f8267
G
13719 Kerberos, SSL, other subprocesses.
13720
947b6566
LL
137212011-03-28 Leo Liu <sdl.web@gmail.com>
13722
13723 * abbrev.el (abbrev-table-empty-p): New function.
13724 (prepare-abbrev-list-buffer): Place empty abbrev tables after
13725 nonempty ones. (Bug#5937)
13726
5ffb62aa
JD
137272011-03-27 Jan Djärv <jan.h.d@swipnet.se>
13728
13729 * cus-start.el (all): Add boolean ns-auto-hide-menu-bar.
13730
7a097943
LL
137312011-03-27 Leo Liu <sdl.web@gmail.com>
13732
13733 * ansi-color.el (ansi-color-names-vector): Allow cons cell value
13734 for foreground and background colors.
13735 (ansi-color-make-color-map): Adapt.
13736
c5b40130
LL
137372011-03-25 Leo Liu <sdl.web@gmail.com>
13738
1f48f7d2
LL
13739 * midnight.el (midnight-time-float): Remove. Note it calculates
13740 the microsecond component incorrectly and seconds-to-time does the
13741 same job.
625897ec 13742 Remove redundant (require 'timer).
1f48f7d2 13743
c5b40130
LL
13744 * ido.el (ido-read-internal): Simplify with read-from-minibuffer.
13745 (ido-completions): Remove unused arguments. (Bug#8329)
13746
d86d2721
SM
137472011-03-24 Stefan Monnier <monnier@iro.umontreal.ca>
13748
13749 * minibuffer.el (completion--flush-all-sorted-completions):
13750 Remove itself from hook.
13751 (completion-at-point): Let the functions perform the completion
13752 immediately and return nil or t.
13753 * comint.el (comint-dynamic-complete-functions): Now identical to
13754 completion-at-point-functions.
13755 (comint-dynamic-list-input-ring): Remove unused var `index'.
13756 (comint--match-partial-filename, comint--unquote&expand-filename):
13757 New funs, split from comint-match-partial-filename.
13758 (comint-dynamic-complete): Use completion-at-point.
13759 (comint-dynamic-complete-filename): Use comint--match-partial-filename.
13760
e8974c48
DA
137612011-03-24 Drew Adams <drew.adams@oracle.com>
13762
13763 * thingatpt.el: Support `defun'.
13764
def71b5e
LL
137652011-03-23 Leo Liu <sdl.web@gmail.com>
13766
cb5af48e
LL
13767 * abbrevlist.el: Move to obsolete/abbrevlist.el.
13768
def71b5e
LL
13769 * help-mode.el (help-mode-finish): Tweak regexp.
13770
927c53e7
GM
137712011-03-23 Glenn Morris <rgm@gnu.org>
13772
18d05bed
GM
13773 * eshell/esh-opt.el (eshell-eval-using-options):
13774 Do not bind unused local variable `eshell-option-stub'.
13775
927c53e7
GM
13776 * progmodes/gdb-mi.el (gdb): Fix typo in previous change.
13777
9d0da923
JB
137782011-03-22 Juanma Barranquero <lekktu@gmail.com>
13779
13780 * emacs-lisp/derived.el (define-derived-mode): Wrap declaration of
13781 keymap variable in `with-no-warnings' to avoid a warning when the
13782 keymap has been already `defconst'ed.
13783
4b978a67
LL
137842011-03-22 Leo Liu <sdl.web@gmail.com>
13785
13786 * abbrev.el (write-abbrev-file): Use utf-8 for writing if it can
13787 encode all chars in abbrevs; otherwise use emacs-mule or
13788 utf-8-emacs. (Bug#8308)
13789
5fd62452
JB
137902011-03-22 Juanma Barranquero <lekktu@gmail.com>
13791
0b1596c6
JB
13792 * simple.el (backward-delete-char-untabify):
13793 Avoid warning about using `delete-backward-char'.
13794
5fd62452
JB
13795 * image.el (image-type-file-name-regexps): Make it variable.
13796 `imagemagick-register-types' modifies it, and the user may want
13797 to add new extensions for known image types.
13798 (imagemagick-register-types): Throw error if not using ImageMagick.
13799
0b4e93f1
LL
138002011-03-22 Leo Liu <sdl.web@gmail.com>
13801
13802 * net/rcirc.el (rcirc-completion-at-point): Return nil if point is
13803 located before rcirc-prompt-end-marker.
13804 (rcirc-complete): Error if point is not after rcirc prompt.
13805 Handle the case when table is nil.
9882e214 13806 (rcirc-user-authenticated): Define to fix compiler warning.
0b4e93f1 13807
fccee4ab
CY
138082011-03-22 Chong Yidong <cyd@stupidchicken.com>
13809
13810 * custom.el (custom--inhibit-theme-enable): Make it affect only
13811 custom-theme-set-variables and custom-theme-set-faces.
13812 (provide-theme): Ignore custom--inhibit-theme-enable.
13813 (load-theme): Enable the theme explicitly if NO-ENABLE is non-nil.
13814 (custom-enabling-themes): Delete variable.
d86d2721
SM
13815 (enable-theme): Accept only loaded themes as arguments.
13816 Ignore the special custom-enabled-themes variable.
fccee4ab
CY
13817 (custom-enabled-themes): Forbid themes from setting this.
13818 Eliminate use of custom-enabling-themes.
13819 (custom-push-theme): Quote "changed" custom var entry.
0357c7ae 13820
af896da6
LL
138212011-03-21 Leo Liu <sdl.web@gmail.com>
13822
13823 * ido.el (ido-read-internal): Add ido-selected to history instead
13824 of user input.
13825
78f64af0
SM
138262011-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
13827
13828 * subr.el (deferred-action-list, deferred-action-function):
13829 Mark obsolete.
13830
b16ac1ec
LL
138312011-03-21 Leo Liu <sdl.web@gmail.com>
13832
810f7698
LL
13833 * vc/log-view.el: Remove (require 'wid-edit), not needed after the
13834 change on 2011-02-13 (bug#8309).
13835
b16ac1ec
LL
13836 * minibuffer.el (read-file-name-function): Change default value.
13837 (read-file-name--defaults): Rename from read-file-name-defaults.
13838 (read-file-name-default): Rename from read-file-name.
13839 (read-file-name): Call read-file-name-function.
13840
4e05e67e
GM
138412011-03-21 Glenn Morris <rgm@gnu.org>
13842
13843 * eshell/esh-opt.el (eshell-eval-using-options, eshell-process-args):
13844 Doc fixes.
13845
4359915b
CY
138462011-03-21 Chong Yidong <cyd@stupidchicken.com>
13847
13848 * cus-theme.el: Add missing provide statement.
13849 (customize-create-theme): Extract theme value correctly.
13850 (custom-theme-visit-theme): Autoload.
13851 (customize-create-theme): Prompt before inserting default faces.
13852
1fe275ee
JB
138532011-03-20 Jay Belanger <jay.p.belanger@gmail.com>
13854
13855 * calc/calc-menu.el (calc-units-menu): Add entries for logarithmic
13856 units and musical notes.
13857
cd394be1 138582011-03-20 Leo Liu <sdl.web@gmail.com>
3ec03f7e
LL
13859
13860 * ido.el (ido-read-internal): Use completing-read-default.
13861 (ido-completing-read): Fix compatibility with completing-read.
13862
7d476bde
CO
138632011-03-20 Christian Ohler <ohler@gnu.org>
13864
13865 * emacs-lisp/ert.el (ert-run-tests-batch): Remove unused variable.
13866 (ert-delete-all-tests): Use `called-interactively-p' rather than
13867 `interactive-p'.
13868 (ert--make-xrefs-region): Respect END.
13869
fe0fb33e
CY
138702011-03-19 Chong Yidong <cyd@stupidchicken.com>
13871
ff854b0b
CY
13872 * dired-aux.el (dired-create-directory): Signal an error if the
13873 directory already exists (Bug#8246).
13874
fe0fb33e
CY
13875 * facemenu.el (list-colors-display): Call list-faces-display
13876 inside with-help-window.
13877 (list-colors-print): Use display property to align the final
13878 column, instead of checking window-width.
13879
576bce32
EZ
138802011-03-19 Eli Zaretskii <eliz@gnu.org>
13881
4d61f28d 13882 * vc/emerge.el (emerge-metachars): Separate value for ms-dos and
576bce32
EZ
13883 windows-nt systems.
13884 (emerge-protect-metachars): Quote correctly for ms-dos and
13885 windows-nt systems.
13886
89c41d68 138872011-03-19 Ralph Schleicher <rs@ralph-schleicher.de>
e6ce307c
RS
13888
13889 * info.el (info-initialize): Replace all uses of `:' with
13890 path-separator for compatibility with non-Unix systems.
13891 Cache quoting of path-separator. (Bug#8258)
13892
b14e3e21 138932011-03-19 Juanma Barranquero <lekktu@gmail.com>
ad22b7f7
JB
13894
13895 * avoid.el (mouse-avoidance-mode, mouse-avoidance-nudge-dist)
13896 (mouse-avoidance-threshold, mouse-avoidance-banish-destination)
13897 (mouse-avoidance-mode): Fix typos in docstrings.
13898
4525ce3e
CY
138992011-03-19 Chong Yidong <cyd@stupidchicken.com>
13900
13901 * startup.el (package-subdirectory-regexp): Move from package.el.
13902 Omit \\` and \\', and let callers add them.
13903
13904 * emacs-lisp/package.el (package-strip-version)
13905 (package-load-all-descriptors): Add \\` and \\' to
13906 package-subdirectory-regexp before using it.
13907 (package-untar-buffer): New arg DIR; ensure that file untars only
13908 into this expected directory. Remove superfluous delete-region.
13909 (package-unpack): Caller changed.
13910 (package-tar-file-info): Use package-subdirectory-regexp.
13911
a904a09a 139122011-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
1518e4f0 13913
a904a09a
SM
13914 * vc/diff-mode.el (diff-mode-map): Shadow problematic bindings from
13915 diff-mode-shared-map (bug#8284).
13916 (diff-mode-shared-map): Re-introduce some bindings that were problematic.
1518e4f0
G
13917
139182011-03-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
13919
13920 * calendar/time-date.el (format-seconds): Use assoc instead of
13921 assoc-string, since assoc-string doesn't exist in XEmacs.
13922
171fc304
JB
139232011-03-17 Juanma Barranquero <lekktu@gmail.com>
13924
13925 * custom.el (custom-known-themes): Reflow docstring.
13926 (custom-theme-load-path): Fix typo in docstring.
13927 (load-theme): Fix typo in error message.
13928 (custom-available-themes, custom-variable-theme-value):
13929 Use `let', not `let*'.
13930
d71990a1
JB
139312011-03-17 Jay Belanger <jay.p.belanger@gmail.com>
13932
13933 * calc/README: Mention inclusion of musical notes.
13934
13935 * calc/calc-units.el (calc-lu-quant): Rename from
13936 `calc-logunits-quantity'.
13937 (calcFunc-lupquant): Rename from `calcFunc-powerquant'.
13938 (calcFunc-lufquant): Rename from `calcFunc-fieldquant'.
13939 (calc-db): Rename from `calc-dblevel'.
13940 (calcFunc-dbpower): Rename from `calcFunc-dbpowerlevel'.
13941 (calcFunc-dbfield): Rename from `calcFunc-dbfieldlevel'.
13942 (calc-np): Rename from `calc-nplevel'.
13943 (calcFunc-nppower): Rename from `calcFunc-nppowerlevel'.
13944 (calcFunc-npfield): Rename from `calcFunc-npfieldlevel'.
13945 (calc-lu-plus): Rename from `calc-logunits-add'.
13946 (calcFunc-lupadd): Rename from `calcFunc-lupoweradd'.
13947 (calcFunc-lufadd): Rename from `calcFunc-lufieldadd'.
13948 (calc-lu-minus): Rename from `calc-logunits-sub'.
13949 (calcFunc-lupsub): Rename from `calcFunc-lupowersub'.
13950 (calcFunc-lufsub): Rename from `calcFunc-lufieldsub'.
13951 (calc-lu-times): Rename from `calc-logunits-mul'.
13952 (calcFunc-lupmul): Rename from `calcFunc-lupowermul'.
13953 (calcFunc-lufmul): Rename from `calcFunc-lufieldmul'.
13954 (calc-lu-divide): Rename from `calc-logunits-div'.
13955 (calcFunc-lupdiv): Rename from `calcFunc-lupowerdiv'.
13956 (calcFunc-lufdiv): Rename from `calcFunc-lufielddiv'.
13957
13958 * calc/calc-ext.el (calc-init-extensions): Update the names of the
13959 functions being autoloaded.
13960
13961 * calc/calc.el (calc-lu-power-reference): Rename from
13962 `calc-logunits-power-reference'.
13963 (calc-lu-field-reference): Rename from
13964 `calc-logunits-field-reference'.
13965
7a71b18d
GM
13966 * calc/calc-help.el (calc-l-prefix-help):
13967 Mention musical note functions.
d71990a1 13968
40c2934b
SM
139692011-03-17 Stefan Monnier <monnier@iro.umontreal.ca>
13970
13971 * minibuffer.el (completion-all-sorted-completions):
13972 Use :completion-cycle-penalty text property if present.
13973
b0911414
KM
139742011-03-16 Ken Manheimer <ken.manheimer@gmail.com>
13975
13976 * allout.el (allout-yank-processing): Adjust for new rebulleting
13977 regime so bullet being yanked is used without prompting the user
13978 for a choice.
13979
8a05b668
JB
139802011-03-16 Juanma Barranquero <lekktu@gmail.com>
13981
13982 * startup.el (command-line): Warn the user that _emacs is deprecated.
13983
5ba5fb81
JB
139842011-03-16 Juanma Barranquero <lekktu@gmail.com>
13985
13986 * progmodes/delphi.el (delphi-search-path, delphi-indent-level)
13987 (delphi-verbose, delphi-comment-face, delphi-string-face)
13988 (delphi-keyword-face, delphi-ignore-changes, delphi-indent-line)
13989 (delphi-mode-abbrev-table, delphi-debug-buffer, delphi-tab)
13990 (delphi-find-unit, delphi-find-current-xdef, delphi-fill-comment)
13991 (delphi-new-comment-line, delphi-font-lock-defaults)
13992 (delphi-debug-mode-map, delphi-mode-syntax-table, delphi-mode):
13993 Fix typos in docstrings.
13994
2dab465b
KM
139952011-03-15 Ken Manheimer <ken.manheimer@gmail.com>
13996
5ba5fb81 13997 * allout.el (allout-make-topic-prefix, allout-rebullet-heading):
2dab465b
KM
13998 Invert the roles of character and string values for INSTEAD, so a
13999 string is used for the more common case of a defaulting prompt.
14000
0adf5618
SM
140012011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
14002
14003 * progmodes/ruby-mode.el (ruby-backward-sexp):
14004 * progmodes/ebrowse.el (ebrowse-draw-file-member-info):
14005 * play/gamegrid.el (gamegrid-make-face):
14006 * play/bubbles.el (bubbles--grid-width, bubbles--grid-height)
14007 (bubbles--colors, bubbles--shift-mode, bubbles--initialize-images):
14008 * notifications.el (notifications-notify):
14009 * net/xesam.el (xesam-search-engines):
14010 * net/quickurl.el (quickurl-list-insert):
14011 * vc/vc-hg.el (vc-hg-dir-printer): Fix use of case.
14012
d72700e5
CY
140132011-03-15 Chong Yidong <cyd@stupidchicken.com>
14014
14015 * startup.el (command-line): Update package subdirectory regexp.
14016
49c5410a
SM
140172011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
14018
c6eee9aa
SM
14019 * allout.el (allout-abbreviate-flattened-numbering)
14020 (allout-mode-deactivate-hook): Fix up obsolescence "date".
14021
49c5410a
SM
14022 * subr.el (read-char-choice): Only show the cursor after the prompt,
14023 not after the answer.
14024
047b2bb9
KR
140252011-03-15 Kevin Ryde <user42@zip.com.au>
14026
14027 * help-fns.el (variable-at-point): Skip leading quotes, if any
14028 (bug#8253).
14029
0a57d256
SM
140302011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
14031
14032 * emacs-lisp/bytecomp.el (byte-compile-save-excursion): Change the
14033 warning message.
14034
77c992bc
MA
140352011-03-14 Michael Albinus <michael.albinus@gmx.de>
14036
14037 * shell.el (shell): When called interactively, offer to change the
14038 shell file name on remote hosts.
14039
eebc475d
TZ
140402011-03-13 Teodor Zlatanov <tzz@lifelogs.com>
14041
14042 * net/ldap.el (ldap-search-internal): Add `auth-source-search'
14043 integration for LDAP parameters. The host, base, user or binddn,
14044 and secret tokens can be specified in a netrc file, for instance.
14045 This is optional because an `auth-source' parameter must be
14046 specified in the search attributes.
14047
9d05d1ba
JB
140482011-03-13 Juanma Barranquero <lekktu@gmail.com>
14049
14050 * help.el (describe-mode): Link to the mode's definition (bug#8185).
14051
09d9db2c
GM
140522011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
14053
14054 * ebuff-menu.el (electric-buffer-menu-mode-map): Move initialization
14055 into declaration. Remove redundant and harmful binding.
14056
140572011-03-12 Eli Zaretskii <eliz@gnu.org>
14058
14059 * files.el (file-ownership-preserved-p): Pass `integer' as an
14060 explicit 2nd argument to `file-attributes'. If the file's owner
14061 is the Administrators group on Windows, and the current user is
14062 Administrator, consider that a match.
14063
14064 * server.el (server-ensure-safe-dir): Consider server directory
14065 safe on MS-Windows if its owner is the Administrators group while
14066 the current Emacs user is Administrator. Use `=' to compare
14067 numerical UIDs, since they could be integers or floats.
14068
219bd536
JB
140692011-03-12 Juanma Barranquero <lekktu@gmail.com>
14070
14071 * vc/vc-bzr.el (vc-bzr-state): Handle bzr 2.3.0 (follow-up to bug#8170).
14072
f3afd36b
MA
140732011-03-12 Michael Albinus <michael.albinus@gmx.de>
14074
14075 Sync with Tramp 2.2.1.
14076
14077 * net/tramp-sh.el (tramp-methods): Exchange "%k" marker with options.
14078
14079 * net/trampver.el: Update release number.
14080
3aaaa6f1
SM
140812011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
14082
94642599
SM
14083 * progmodes/compile.el (compilation--previous-directory): Fix up
14084 various nil/dead-marker mismatches (bug#8014).
14085 (compilation-directory-properties, compilation-error-properties):
14086 Don't call it at a position past the one we're about to change.
14087
3aaaa6f1
SM
14088 * emacs-lisp/bytecomp.el (byte-compile-make-obsolete-variable):
14089 Disable obsolescence warnings in the file that declares it.
14090
14239447
KM
140912011-03-11 Ken Manheimer <ken.manheimer@gmail.com>
14092
099c39a4
JB
14093 * allout-widgets.el (allout-widgets-tally):
14094 Initialize allout-widgets-tally as a hash table rather than nil to
14095 prevent mode-line redisplay warnings. Also, clarify the module
14096 description and fix a comment typo.
14239447 14097
135e287c
JB
140982011-03-11 Juanma Barranquero <lekktu@gmail.com>
14099
14100 * help-fns.el (describe-variable): Don't complete keywords.
14101 Suggested by Teodor Zlatanov <tzz@lifelogs.com>.
14102
ffbf300e
CY
141032011-03-10 Chong Yidong <cyd@stupidchicken.com>
14104
ba08b241
CY
14105 * emacs-lisp/package.el (package-version-join): Impose a standard
14106 string representation for pre/alpha/beta version lists.
14107 (package-unpack-single): Standardize the directory name by passing
14108 it through package-version-join.
14109 (package-strip-rcs-id): Accept any version string that does not
14110 signal an error in version-to-list.
ffbf300e 14111
f346fd6b
MA
141122011-03-10 Michael Albinus <michael.albinus@gmx.de>
14113
14114 * simple.el (delete-trailing-whitespace): Return nil for the
14115 benefit of `write-file-functions'.
14116
ccb55d27
GM
141172011-03-10 Glenn Morris <rgm@gnu.org>
14118
5ceaac0c
GM
14119 * vc/vc-hg.el (vc-hg-pull, vc-hg-merge-branch): Use vc-hg-program.
14120
02da65ff
GM
14121 * vc/vc-git.el (vc-git-program): New option.
14122 (vc-git-branches, vc-git-pull, vc-git-merge-branch, vc-git-command)
14123 (vc-git--call): Use it.
14124
b2f603cc
GM
14125 * eshell/esh-util.el (eshell-condition-case): Doc fix.
14126
5772caab
GM
14127 * cus-edit.el (Custom-newline): If no button at point, look
14128 for a subgroup button at start-of-line. (Bug#2298)
14129
ccb55d27
GM
14130 * mail/rmail.el (rmail-msgend, rmail-msgbeg): Doc fixes.
14131
ec6ecaed
JD
141322011-03-10 Julien Danjou <julien@danjou.info>
14133
14134 * avoid.el (mouse-avoidance-ignore-p): Do not move the cursor if
14135 `cursor-type' is nil.
14136
9d5aa01d
JB
141372011-03-09 Jay Belanger <jay.p.belanger@gmail.com>
14138
14139 * calc/calc.el (calc-mode-map): Don't bind "C-_" to `calc-missing-key'.
14140
b6a5875b
KM
141412011-03-09 Ken Manheimer <ken.manheimer@gmail.com>
14142
7a71b18d 14143 * allout.el: Change so yank of distinctive-bullet items
b6a5875b
KM
14144 preserves the existing header prefix, rebulleting it if necessary,
14145 rather than replacing it. This is necessary for proper operation
14146 of cooperative addons like allout-widgets.
1154d12e
JB
14147 (allout-make-topic-prefix, allout-rebullet-heading):
14148 Change SOLICIT arg to INSTEAD, and interpret additionally a string
14149 value as alternate bullet to be used, instead of prompting the user
14150 for a bullet character.
b6a5875b 14151
ee545c35
MA
141522011-03-09 Michael Albinus <michael.albinus@gmx.de>
14153
d86d2721
SM
14154 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
14155 Do not use `tramp-file-name-port', because this returns also
ee545c35
MA
14156 `tramp-default-port'.
14157
c47971d7
DD
141582011-03-09 Deniz Dogan <deniz.a.m.dogan@gmail.com>
14159
14160 * net/rcirc.el (rcirc-handler-001): Remove useless
14161 with-rcirc-process-buffer.
14162 (rcirc-check-auth-status): Swap arguments to string-match.
14163
13522cb4
GM
141642011-03-09 Glenn Morris <rgm@gnu.org>
14165
0be6f4f1
GM
14166 * shell.el (shell-mode):
14167 Set comint-input-ring-size from HISTSIZE. (Bug#7889)
14168
13522cb4
GM
14169 * progmodes/gdb-mi.el (gdb): Improve 2010-12-08 change.
14170 Check for GDBHISTFILE, HISTSIZE, etc. (Bug#7889)
14171
515de2e3
CY
141722011-03-08 Chong Yidong <cyd@stupidchicken.com>
14173
14174 * emacs-lisp/package.el (package-refresh-contents)
14175 (package-menu-execute): Use condition-case-no-debug.
14176
b511b994
MA
141772011-03-08 Michael Albinus <michael.albinus@gmx.de>
14178
14179 * simple.el (shell-command-to-string): Use `process-file'.
14180
14181 * emacs-lisp/package.el (package-tar-file-info): Handle also
14182 remote files.
14183
d86d2721
SM
14184 * emacs-lisp/package-x.el (package-upload-buffer-internal):
14185 Use `equal' for upload base check.
b511b994 14186
25bbfb31
AM
141872011-03-08 Arni Magnusson <arnima@hafro.is> (tiny change)
14188
14189 * textmodes/texinfo.el (texinfo-environments):
14190 Add deftypecv, deftypeivar, deftypemethod, deftypeop, html. (Bug#2783)
14191
be996521
GM
141922011-03-08 Glenn Morris <rgm@gnu.org>
14193
e9c8529f
GM
14194 * cus-start.el (cursor-in-non-selected-windows):
14195 Fix :set quoting oddness. (Bug#8192)
14196
be996521
GM
14197 * font-lock.el (lisp-font-lock-keywords-1): Don't highlight `)'
14198 in some setf expressions. (Bug#2159)
14199
2bb5649e
CY
142002011-03-08 Chong Yidong <cyd@stupidchicken.com>
14201
14202 * custom.el (custom-available-themes): Return themes in
14203 alphabetical order.
14204
33383987 14205See ChangeLog.15 for earlier changes.
e3d51b27
MR
14206
14207;; Local Variables:
14208;; coding: utf-8
e3d51b27
MR
14209;; End:
14210
acaf905b 14211 Copyright (C) 2011-2012 Free Software Foundation, Inc.
e3d51b27
MR
14212
14213 This file is part of GNU Emacs.
14214
14215 GNU Emacs is free software: you can redistribute it and/or modify
14216 it under the terms of the GNU General Public License as published by
14217 the Free Software Foundation, either version 3 of the License, or
14218 (at your option) any later version.
14219
14220 GNU Emacs is distributed in the hope that it will be useful,
14221 but WITHOUT ANY WARRANTY; without even the implied warranty of
14222 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14223 GNU General Public License for more details.
14224
14225 You should have received a copy of the GNU General Public License
14226 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.