icalendar-tests: Fix Bug#11525 -- Add icalendar-import-format-uid
[bpt/emacs.git] / lisp / ChangeLog
CommitLineData
6dbaa1c7
UJ
12012-05-29 Ulf Jasper <ulf.jasper@web.de>
2
3 * calendar/icalendar.el
4 (icalendar-export-region): Export UID properly.
5
62012-05-29 Leo <sdl.web@gmail.com>
7 * calendar/icalendar.el (icalendar-import-format): Add
8 `icalendar-import-format-uid' (Bug#11525).
9 (icalendar-import-format-uid): New.
10 (icalendar--parse-summary-and-rest, icalendar--format-ical-event):
11 Export UID.
12
6876a58d
SM
132012-05-29 Stefan Monnier <monnier@iro.umontreal.ca>
14
15 * emacs-lisp/pcase.el (pcase--expand): Accept different sets of vars in
16 different alternative patterns.
17 (pcase-codegen): Be more careful to preserve identity.
18 (pcase--u1): Don't forget to mark vars as used.
19
20 * emacs-lisp/bytecomp.el (byte-compile-constp): Treat #'v as a constant.
21 (byte-compile-close-variables): Bind byte-compile--outbuffer here...
22 (byte-compile-from-buffer): ...rather than here.
23
24 * emacs-lisp/byte-opt.el (byte-compile-inline-expand): Don't re-preprocess
25 functions from byte-compile-function-environment.
26
46b7967e
TN
272012-05-29 Troels Nielsen <bn.troels@gmail.com>
28
29 * window.el (window-deletable-p): Avoid deleting the root window
30 of a frame with an active minibuffer.
31
69d565e2
MR
322012-05-29 Martin Rudalics <rudalics@gmx.at>
33
34 * simple.el (choose-completion): Use quit-window (Bug#11567).
35
a149fa51
CY
362012-05-29 Chong Yidong <cyd@gnu.org>
37
38 * whitespace.el (whitespace-cleanup): Fix usage of
39 whitespace-empty-at-bob-regexp (Bug#11492).
40
2b311310
AH
412012-05-29 Aaron S. Hawley <aaron.s.hawley@gmail.com>
42
43 * vc/vc.el (vc-revert, vc-rollback): Dont kill vc-diff buffer on
44 revert (Bug#11488).
45
b9cb2387
JL
462012-05-29 Juri Linkov <juri@jurta.org>
47
48 * isearch.el (isearch-mode-map): Bind `M-s _' to
49 `isearch-toggle-symbol'. Bind `M-s c' to
50 `isearch-toggle-case-fold'.
51 (search-map): Bind `M-s _' to `isearch-forward-symbol'.
52 (isearch-forward): Add `M-s _' to the docstring.
53 (isearch-forward-symbol, isearch-toggle-case-fold)
54 (isearch-symbol-regexp): New functions. (Bug#11381)
55
d5e61c1c
JL
562012-05-29 Juri Linkov <juri@jurta.org>
57
58 * isearch.el (isearch-word): Add docstring. (Bug#11381)
59 (isearch-occur, isearch-search-and-update): If `isearch-word' is
60 a function, call it to get the regexp.
61 (isearch-message-prefix): If `isearch-word' holds a symbol, use its
62 property `isearch-message-prefix' instead of the string "word ".
63 (isearch-search-fun-default): For the case of `isearch-word',
64 return a lambda that calls re-search-forward/re-search-backward
65 with a regexp returned by `word-search-regexp' or by the function
66 in `isearch-word'.
67
8cbd80f7
JL
682012-05-29 Juri Linkov <juri@jurta.org>
69
70 * isearch.el (isearch-search-fun-default): New function.
71 (isearch-search-fun): Move default part to the new function
72 `isearch-search-fun-default'.
73 (isearch-search-fun-function): Set the default value to
74 `isearch-search-fun-default'. (Bug#11381)
75
76 * comint.el (comint-history-isearch-end):
77 Use `isearch-search-fun-default'.
78 (comint-history-isearch-search): Use `isearch-search-fun-default'
79 and remove spacial case for `isearch-word'.
80 (comint-history-isearch-wrap): Remove spacial case for
81 `isearch-word'.
82
83 * hexl.el (hexl-isearch-search-function):
84 Use `isearch-search-fun-default'.
85
86 * info.el (Info-isearch-search): Use `isearch-search-fun-default'.
87 Use `word-search-regexp' for `isearch-word'.
88
89 * misearch.el (multi-isearch-search-fun):
90 Use `isearch-search-fun-default'.
91
92 * simple.el (minibuffer-history-isearch-search):
93 Use `isearch-search-fun-default' and remove spacial case for
94 `isearch-word'.
95 (minibuffer-history-isearch-wrap): Remove spacial case for
96 `isearch-word'.
97
98 * textmodes/reftex-global.el (reftex-isearch-wrap-function):
99 Remove spacial case for `isearch-word'.
100 (reftex-isearch-isearch-search): Use `isearch-search-fun-default'.
101
85c8c5b6
AM
1022012-05-28 Agustín Martín Domingo <agustin.martin@hispalinux.es>
103
104 Decrease XEmacs incompatibilities.
105 * textmodes/flyspell.el (flyspell-check-pre-word-p):
106 Use `string-match'.
107 (flyspell-delete-region-overlays): Use alternative definition for
108 XEmacs.
109 (flyspell-delete-all-overlays): Use `flyspell-delete-region-overlays'.
110 (flyspell-word): Use `process-kill-without-query' if XEmacs.
111 (flyspell-mode-on): Use `interactive-p' if XEmacs.
112 (flyspell-incorrect-face, flyspell-duplicate-face): Do not use
113 `define-obsolete-face-alias' under XEmacs, but old method.
114
115 * textmodes/ispell.el (ispell-with-no-warnings): XEmacs alternative
116 `with-no-warnings' definition or Emacs alias.
117 (ispell-command-loop, ispell-message): Use `ispell-with-no-warnings'.
118 (ispell-word): Do not use `region-p' if XEmacs.
119
8cab9efc
AM
1202012-05-28 Agustín Martín Domingo <agustin.martin@hispalinux.es>
121
122 * textmodes/ispell.el (ispell-find-aspell-dictionaries):
123 Check for `ispell-dictionary-base-alist' instead of full
124 `ispell-dictionary-alist'.
125 (ispell-init-process): Show spellchecker when starting new Ispell
126 process.
127
fda91268
RZ
1282012-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
129
130 * progmodes/vhdl-mode.el: Sync with upstream 3.33.28.
131 http://www.iis.ee.ethz.ch/~zimmi/emacs/vhdl-mode.html#release-notes-3.33
132
694ea8e3
JB
1332012-05-27 Juanma Barranquero <lekktu@gmail.com>
134
135 * version.el (motif-version-string, gtk-version-string)
136 (ns-version-string): Declare.
137
e4d4f539
JL
1382012-05-27 Juri Linkov <juri@jurta.org>
139
140 * emacs-lisp/lisp-mode.el (eval-defun-2): Use `eval-sexp-add-defvars'
141 after the `eval-defun-1' specialcaseing
142 like in `edebug-eval-defun' (bug#10181).
143
144 * emacs-lisp/edebug.el (edebug-eval-defun): Set `face-documentation'
145 like in `eval-defun-1'.
146
33017faf 1472012-05-27 Eli Zaretskii <eliz@gnu.org>
b30b64b9 148
fda91268
RZ
149 * mail/sendmail.el (mail-yank-region):
150 Recognize rmail-yank-current-message in addition to insert-buffer.
151 Fixes mail-mode's "C-c C-r" that otherwise does nothing when invoked in
b30b64b9
EZ
152 a *mail* buffer created through rmail-start-mail with sendmail as
153 mail-user-agent.
154
33017faf
GM
1552012-05-27 Chong Yidong <cyd@gnu.org>
156
157 * net/gnutls.el (gnutls-min-prime-bits): Improve docstring.
158 Default to 256 (Bug#11267).
159
160 * help.el (describe-mode): Doc fix.
161
04188bb9
GM
1622012-05-26 Glenn Morris <rgm@gnu.org>
163
38264cc9
GM
164 * w32-fns.el (w32-init-info): Remove.
165 * paths.el (Info-default-directory-list): Add w32-init-info equivalent.
166
eb7afdad
GM
167 * info.el (info-initialize): For self-contained NS builds, put the
168 included info/ directory at the front. (Bug#2791)
169
04188bb9
GM
170 * paths.el (Info-default-directory-list): Make it a defcustom,
171 mainly so that we can use custom-initialize-delay.
172
a179e3f7
SM
1732012-05-26 Stefan Monnier <monnier@iro.umontreal.ca>
174
43416392
SM
175 * subr.el (buffer-has-markers-at): Mark obsolete.
176
a179e3f7 177 * subr.el (lambda): Use declare.
43416392 178
a179e3f7
SM
179 * emacs-lisp/lisp-mode.el (lambda):
180 * emacs-lisp/edebug.el (lambda): Move properties to its definition.
181
34a008d9
AH
1822012-05-26 Aaron S. Hawley <aaron.s.hawley@gmail.com>
183
184 * thingatpt.el (forward-same-syntax): Handle no ARG case. (Bug#11560)
185
0a3b289f
GM
1862012-05-26 Glenn Morris <rgm@gnu.org>
187
188 * progmodes/cc-mode.el (auto-mode-alist): Fix typo.
189
758c81e8
GM
1902012-05-25 Glenn Morris <rgm@gnu.org>
191
f9f334f0
GM
192 * paths.el: Remove no-byte-compile.
193 * loadup.el: No need to load paths.el uncompiled.
194
87eb79c2
GM
195 * image.el (imagemagick-types-inhibit): Doc fix.
196
758c81e8
GM
197 * version.el: Remove no-byte-compile and associated formatting.
198 * loadup.el: No need to load version.el uncompiled. AFAICS, this
199 is ancient code from when there was an "inc-vers.el".
200
e7e85dc0
SM
2012012-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
202
203 * progmodes/gdb-mi.el: Minor style changes.
204 (gdb-enable-debug, gdb-speedbar-auto-raise, gdb-many-windows):
205 Turn into minor modes.
206 (gdb--if-arrow): Rename from gdb-if-arrow, make it hygienic.
207 (gdb-mouse-until, gdb-mouse-jump): Adjust uses accordingly.
208 (gdb-shell): Remove unneeded let-binding.
209 (gdb-get-many-fields): Eliminate O(n²) behavior.
210
f31237a4
EZ
2112012-05-25 Eli Zaretskii <eliz@gnu.org>
212
213 * cus-start.el <vertical-centering-font-regexp>: Avoid warning on
214 platforms that don't link in fontset.c.
215
bc1b21bb
JL
2162012-05-25 Juri Linkov <juri@jurta.org>
217
218 Use the same diff color scheme as in modern VCSes (bug#10181).
219
220 * vc/diff-mode.el (diff-header, diff-file-header): Remove "green"
221 to avoid confusion with `diff-added' that now uses green colors.
222 (diff-removed): Use shades of red.
223 (diff-added): Use shades of green.
224 (diff-changed): Leave just the yellow color.
225 (diff-use-changed-face): New variable.
226 (diff-font-lock-keywords): Use `diff-use-changed-face' to decide
227 how to highlight context diff changes.
228 (diff-refine-change): Use shades of yellow.
229 (diff-refine-removed): New face that uses shades of red.
230 (diff-refine-added): New face that uses shades of green.
231 (diff-refine-hunk): Use `diff-refine-change', `diff-refine-added',
232 `diff-refine-removed' in the call to `smerge-refine-subst'
233 depending on the value of `diff-use-changed-face'.
234
235 * vc/smerge-mode.el (smerge-mine): Use shades of red.
236 (smerge-other): Use shades of green.
237 (smerge-base): Use shades of yellow.
238 (smerge-refined-change): Empty face.
239 (smerge-refined-removed): New face that uses shades of red.
240 (smerge-refined-added): New face that uses shades of green.
241 (smerge-refine-subst): Rename arg `props' to `props-c'. Add new
242 args `props-r' and `props-a', and use them. Doc fix.
243 (smerge-refine): Evaluate `smerge-use-changed-face' and depending
244 on its value use different faces `smerge-refined-change',
245 `smerge-refined-removed', `smerge-refined-added' in the call to
246 `smerge-refine-subst'.
247
248 * vc/ediff-init.el (ediff-current-diff-A, ediff-fine-diff-A):
249 Add face condition `min-colors 88' with shades of red.
250 (ediff-current-diff-B, ediff-fine-diff-B): Add face condition
251 `min-colors 88' with shades of green.
252 (ediff-current-diff-C, ediff-fine-diff-C): Add face condition
253 `min-colors 88' with shades of yellow.
254
6df9112c
GM
2552012-05-24 Glenn Morris <rgm@gnu.org>
256
ead5edc0
GM
257 * paths.el (prune-directory-list, remote-shell-program): Move to...
258 * files.el (prune-directory-list, remote-shell-program): ...here.
259 For the latter, delay initialization, prefer ssh, just search PATH.
260
f18b81e6
GM
261 * paths.el (term-file-prefix): Move to faces.el (the only user).
262 * faces.el (term-file-prefix): Move here, make it a defcustom.
263
ee2f89a6
GM
264 * paths.el (news-directory, news-path, news-inews-program):
265 Move to gnus/nnspool.el.
61a583ca 266
f8815e4c
GM
267 * paths.el (gnus-default-nntp-server): Remove (gnus.el defines it).
268
c8f3b42c
GM
269 * paths.el (rmail-file-name, rmail-spool-directory): Move from here...
270 * mail/rmail.el (rmail-file-name, rmail-spool-directory): ... to here.
271 Make the latter a defcustom, with a delayed initialization.
272
6df9112c
GM
273 * paths.el (gnus-nntp-service, gnus-local-organization): Remove.
274 These were deleted from Gnus itself late 2010.
275
5dadff36
JB
2762012-05-22 Juanma Barranquero <lekktu@gmail.com>
277
9e1701c6
JB
278 * progmodes/which-func.el (which-func-ff-hook):
279 Check against user-error, not error.
280
bd7239f5 281 * emacs-lisp/edebug.el (top): Do not load or set up loading of
5dadff36
JB
282 cl-specs.el, which no longer exists.
283
3290526d
GM
2842012-05-22 Glenn Morris <rgm@gnu.org>
285
286 * info.el (info-emacs-bug): New command.
287 * menu-bar.el (menu-bar-help-menu): Add "How to Report a Bug" to Help.
288 * mail/emacsbug.el (report-emacs-bug): Replace with info-emacs-bug.
289
ff0c3cfb
GM
2902012-05-21 Glenn Morris <rgm@gnu.org>
291
292 * makefile.w32-in (update-subdirs-SH):
293 * Makefile.in (update-subdirs): Update for moved update-subdirs.
294
5814f126
SM
2952012-05-21 Stefan Monnier <monnier@iro.umontreal.ca>
296
a52c0aa0
SM
297 * hi-lock.el (hi-lock-face-defaults): Move obsolete before definition.
298
5814f126
SM
299 * progmodes/compile.el (compilation-error-regexp-alist-alist):
300 Simplify Maven regexp, and make sure the file can't start with a space
301 (bug#11517).
302
b847032c
GM
3032012-05-21 Glenn Morris <rgm@gnu.org>
304
305 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
306 Scrap superfluous subshells.
307
3858bfe7
SM
3082012-05-19 Stefan Monnier <monnier@iro.umontreal.ca>
309
310 * emacs-lisp/bytecomp.el (byte-compile-root-dir): New var.
311 (byte-compile-warning-prefix, batch-byte-compile-file): Use it.
312
d14b0029
JB
3132012-05-19 Jay Belanger <jay.p.belanger@gmail.com>
314
315 * calc/calc.el (calc-ensure-consistent-units): New variable.
316
a52c0aa0
SM
317 * calc/calc-units.el (math-consistent-units-p)
318 (math-check-unit-consistency): New functions.
319 (calc-quick-units, calc-convert-units):
320 Use `math-check-unit-consistency' when `calc-ensure-consistent-units'
321 is non-nil.
d14b0029
JB
322 (calc-extract-units): Fix typo.
323
60c4db3a
SM
3242012-05-18 Stefan Monnier <monnier@iro.umontreal.ca>
325
77f3b62e
SM
326 * vc/vc-bzr.el (vc-bzr-state-heuristic): Save match-data around sha1.
327
60c4db3a
SM
328 * textmodes/flyspell.el: Commenting style, plus code simplifications.
329 (flyspell-default-deplacement-commands): Don't spell check after
330 repeated window/frame switches (e.g. triggered by mouse-movement).
331 (flyspell-delay-commands, flyspell-deplacement-commands): Use mapc.
332 (flyspell-debug-signal-word-checked): Simplify and fit in 80 cols.
333 (flyspell-casechars-cache, flyspell-ispell-casechars-cache)
334 (flyspell-not-casechars-cache, flyspell-ispell-not-casechars-cache):
335 Remove unused vars.
336 (flyspell-get-casechars, flyspell-get-not-casechars):
337 Simplify; Don't bother removing a ] just to add it back.
338 * textmodes/ispell.el (ispell-program-name): Use executable-find.
339
b1a10716
RS
3402012-05-18 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
341
342 * calc/calc-lang.el (math-C-parse-bess, math-C-parse-fma):
343 New functions.
bd7239f5 344 (math-function-table): Add support for more C functions.
b1a10716 345
3f1b25b5
AM
3462012-05-18 Agustín Martín Domingo <agustin.martin@hispalinux.es>
347
348 * flyspell.el (flyspell-check-pre-word-p, flyspell-check-word-p)
349 (flyspell-debug-signal-word-checked): Protect delay handling for
350 otherchars against empty otherchars.
351
b581bb5c
SM
3522012-05-18 Stefan Monnier <monnier@iro.umontreal.ca>
353
354 * emacs-lisp/lisp-mode.el (doc-string-elt): Move those properties to
355 their respective macro declarations.
356 * skeleton.el (define-skeleton):
357 * progmodes/compile.el (define-compilation-mode):
358 * ibuf-macs.el (define-ibuffer-sorter, define-ibuffer-op)
359 (define-ibuffer-filter):
360 * emacs-lisp/generic.el (define-generic-mode):
361 * emacs-lisp/easy-mmode.el (define-minor-mode)
362 (define-globalized-minor-mode):
363 * emacs-lisp/cl-macs.el (defun*, defmacro*, defstruct, deftype):
364 * emacs-lisp/byte-run.el (defsubst):
365 * custom.el (deftheme): Add doc-string metadata.
366
70b8ef8f
SM
3672012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
368
369 * emacs-lisp/cl-macs.el, emacs-lisp/cl.el: Move indent info.
370
b1198e17
SM
3712012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
372
9abdc45d
SM
373 * emacs-lisp/pcase.el (pcase--u1): Avoid ((lambda ...) ...).
374
b1198e17
SM
375 * emacs-lisp/cl.el: Add edebug specs from cl-specs.el.
376 * emacs-lisp/cl-macs.el: Idem.
377 * emacs-lisp/cl-specs.el: Remove.
378
4735906a
SM
3792012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
380
381 Minor renaming of internal CL functions and variables.
382 * emacs-lisp/cl-seq.el (cl--adjoin): Rename from cl-adjoin.
383 (cl--position): Rename from cl-position.
384 (cl--delete-duplicates): Rename from cl-delete-duplicates.
385 * emacs-lisp/cl.el (cl--gensym-counter): Rename from *gensym-counter*.
386 (cl--random-state): Rename from *random-state*.
387
ac348012
SM
3882012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
389
390 * emacs-lisp/cl-macs.el (cl-transform-lambda): Don't add spurious
391 parens around the arg list (bug#11499).
392
a0a79cde
JL
3932012-05-17 Juri Linkov <juri@jurta.org>
394
395 * isearch.el (word-search-regexp, word-search-backward)
396 (word-search-forward, word-search-backward-lax)
397 (word-search-forward-lax): Move functions from search.c
398 (bug#10145, bug#11381).
399
65034a51
AM
4002012-05-16 Agustín Martín Domingo <agustin.martin@hispalinux.es>
401
402 * flyspell.el (flyspell-check-pre-word-p, flyspell-check-word-p)
403 (flyspell-debug-signal-word-checked): Delay for otherchars as for
404 normal word components.
405
1a72a195
SM
4062012-05-16 Stefan Monnier <monnier@iro.umontreal.ca>
407
408 * minibuffer.el (completion--sifn-requote): Fix last change.
409 (minibuffer-local-must-match-filename-map):
410 Move define-obsolete-variable-alias before its var.
411
fdb058c2
SM
4122012-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
413
c41045e6
SM
414 * emacs-lisp/pcase.el (pcase-let*, pcase-let): Fix edebug spec.
415
036dfb8b
SM
416 * minibuffer.el (completion--sifn-requote): Handle sifn's truncation
417 behavior.
418 (completion--string-equal-p): New function.
419 (completion--twq-all): Use it to get better assertion failure data.
420
2473256d
SM
421 Only handle ".." and '..' quoting in shell-mode (bug#11466).
422 * shell.el (shell--unquote&requote-argument, shell--unquote-argument)
423 (shell--requote-argument): New functions.
424 (shell-completion-vars): Use them.
425 (shell--parse-pcomplete-arguments): Rename from
426 shell-parse-pcomplete-arguments.
427 * comint.el (comint-word): Obey comint-file-name-quote-list. Simplify.
428 (comint--unquote&requote-argument): Don't handle ".." and '..' quoting.
429 Obey comint-file-name-quote-list.
430
fdb058c2
SM
431 * emacs-lisp/smie.el (smie-indent--bolp-1): New function.
432 (smie-indent-keyword): Use it.
433
51fa99f1
SM
4342012-05-14 Stefan Merten <smerten@oekonux.de>
435
436 * textmodes/rst.el (rst-re-alist): Fix loading (bug#11462).
437
e18afed7 4382012-05-14 Stefan Monnier <monnier@iro.umontreal.ca>
d9d1dfef
SM
439
440 * net/rlogin.el (rlogin-mode-map): Fix last change.
441
e18afed7 4422012-05-14 Jason L. Wright <jason.wright@inl.gov> (tiny change)
8633b1f4
JW
443
444 * mail/smtpmail.el (smtpmail-send-command): Send the command and
445 the following \r\n using a single `process-send-string', since the
446 Lotus SMTP server refuses to accept any commands if they are sent
e18afed7 447 with two `process-send-string's (Bug#11444).
8633b1f4 448
e18afed7 4492012-05-14 Stefan Monnier <monnier@iro.umontreal.ca>
fe263b8f 450
fdb058c2
SM
451 * shell.el (shell-parse-pcomplete-arguments):
452 Obey pcomplete-arg-quote-list inside double-quoted args (Bug#11348).
e18afed7 453
2d21d7f6
WJ
4542012-05-14 Wolfgang Jenkner <wjenkner@inode.at>
455
e18afed7 456 * image-mode.el: Fit to width/height for rotated images (Bug#11431).
2d21d7f6
WJ
457 (image-transform-scale, image-transform-right-angle-fudge): New vars.
458 (image-transform-width, image-transform-fit-width): New functions.
459 (image-transform-properties): Use them.
460 (image-transform-check-size): New function.
461 (image-toggle-display-image): Use it (for testing).
462 (image-transform-set-rotation): Reduce angle mod 360.
463 Delete obsolete comment.
464
7102e6d0
WJ
4652012-05-14 Wolfgang Jenkner <wjenkner@inode.at>
466
467 * image-mode.el: Fix scaling (bug#11399).
468 (image-transform-resize): Doc fix.
469 (image-transform-properties): Default scale is 1 and height should
470 be an integer.
471
06bc5e6e
SM
4722012-05-13 Johan Bockgård <bojohan@gnu.org>
473
474 * emacs-lisp/smie.el (smie-next-sexp): Use accessor `op-forw' rather
475 than hard-coding `car', to fix misbehavior when moving forward.
476
0ae03b6a
CY
4772012-05-13 Chong Yidong <cyd@gnu.org>
478
479 * emacs-lisp/tabulated-list.el (tabulated-list-format)
480 (tabulated-list-entries, tabulated-list-padding)
481 (tabulated-list-sort-key): Make permanent-local.
482
483 * ebuff-menu.el: Adapt to Buffer Menu changes (Bug#11455).
484 (electric-buffer-list): Put electric buffer menu
485 command descriptions in this docstring, instead of the docstring
486 of electric-buffer-menu-mode. Code cleanups.
487 (electric-buffer-menu-mode): Use define-derived-mode. Rename from
488 Electric-buffer-menu-mode.
489 (electric-buffer-update-highlight): Minor code cleanup.
490
205a7391
MA
4912012-05-13 Michael Albinus <michael.albinus@gmx.de>
492
493 * net/dbus.el (dbus-call-method): Restore events not from D-Bus.
494 (Bug#11447)
495
e5bd0a28
SM
4962012-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
497
498 Move define-obsolete-variable-alias before the var's definition.
499 * vc/log-edit.el (vc-comment-ring, vc-comment-ring-index):
500 * tooltip.el (tooltip-hook):
501 * textmodes/reftex-toc.el (reftex-toc-map):
502 * textmodes/reftex-sel.el (reftex-select-label-map)
503 (reftex-select-bib-map):
504 * textmodes/reftex-index.el (reftex-index-map)
505 (reftex-index-phrases-map):
506 * speedbar.el (speedbar-syntax-table, speedbar-key-map):
507 * progmodes/meta-mode.el (meta-mode-map):
508 * novice.el (disabled-command-hook):
509 * loadhist.el (unload-hook-features-list):
510 * frame.el (blink-cursor):
511 * files.el (find-file-not-found-hooks, write-file-hooks)
512 (write-contents-hooks):
513 * emulation/tpu-edt.el (GOLD-map):
514 * emacs-lock.el (emacs-lock-from-exiting):
515 * emacs-lisp/generic.el (generic-font-lock-defaults):
516 * emacs-lisp/chart.el (chart-map):
517 * dos-fns.el (register-name-alist):
518 * dired-x.el (dired-omit-files-p):
519 * desktop.el (desktop-enable):
520 * cus-edit.el (custom-mode-hook):
521 * buff-menu.el (buffer-menu-mode-hook):
522 * bookmark.el (bookmark-read-annotation-text-func)
523 (bookmark-exit-hooks):
524 * allout.el (allout-mode-deactivate-hook)
525 (allout-exposure-change-hook, allout-structure-added-hook)
526 (allout-structure-deleted-hook, allout-structure-shifted-hook):
527 * dirtrack.el (dirtrack-toggle, dirtrackp, dirtrack-debug-toggle)
528 (dirtrack-debug): Move call to define-obsolete-variable-alias so it
529 comes before the corresponding variable's definition.
530
ac59c2f6
CY
5312012-05-12 Chong Yidong <cyd@gnu.org>
532
533 * buff-menu.el (Buffer-menu-buffer+size-width): Doc fix (Bug#11454).
0d909786
CY
534 (Buffer-menu-mouse-select): Restore function (Bug#11459).
535 (Buffer-menu-mode-map): Bind it.
536 (Buffer-menu--pretty-name): Add a mouse-face property.
ac59c2f6 537
dee6c9a3
SM
5382012-05-11 Stefan Monnier <monnier@iro.umontreal.ca>
539
2171cea5
SM
540 * progmodes/prolog.el: Use SMIE. Cleanup regexp setup.
541 (prolog-upper-case-string, prolog-lower-case-string)
542 (prolog-atom-char-regexp, prolog-atom-regexp): Initialize in defconst.
543 (prolog-use-smie, prolog-smie-grammar): New vars.
544 (prolog-smie-forward-token, prolog-smie-backward-token)
545 (prolog-smie-rules): New funs.
546 (prolog-comment-indent): Remove.
547 (prolog-mode-variables): Use default comment indentation instead.
548 Setup SMIE.
549 (prolog-build-case-strings, prolog-set-atom-regexps): Remove.
550 (prolog-mode): Don't call them any more.
551 (prolog-electric-colon, prolog-electric-dash)
552 (prolog-edit-menu-insert-move): Use indent-according-to-mode.
553
aa0382bd
SM
554 * dabbrev.el (dabbrev-expand): Make "no expansion found" a user-error.
555
dbacb4bd
SM
556 * minibuffer.el (completion--twq-all): Again, allow case differences.
557
13bdd94c
SM
558 * term.el: Move keymap initialization code to be more idiomatic.
559 (term-signals-menu, term-mode-map, term-raw-map, term-raw-escape-map)
560 (term-terminal-menu): Move initialization into declaration.
561 (term-escape-char): Let the user set it in her .emacs.
562
ff46c759
SM
563 * progmodes/sh-script.el: Use post-self-insert-hook&electric-pair-mode.
564 Provide SMIE-based indentation (not enabled by default yet).
565 (sh-mode-map): Don't bind electric keys.
566 Use electric-pair-mode instead of skeleton-pair.
567 (sh-assignment-regexp): Fit within 80 columns.
568 (sh-indent-supported): Specify actual shell name instead of boolean.
569 (sh--maybe-here-document): New fun, from sh-maybe-here-document.
570 (sh-maybe-here-document): Use it. Make obsolete.
571 (sh-electric-here-document-mode) New minor mode.
572 (sh-mode): Use it. Don't set sh-indent-supported-here here.
573 (sh-smie-sh-grammar, sh-smie--sh-operators, sh-smie--sh-operators-re)
574 (sh-smie--sh-operators-back-re, sh-indent-after-continuation)
575 (sh-smie-rc-grammar, sh-use-smie): New vars.
576 (sh-smie--keyword-p, sh-smie--newline-semi-p, sh-smie--sh-keyword-p)
577 (sh-smie-sh-forward-token, sh-smie--looking-back-at-continuation-p)
578 (sh-smie-sh-backward-token, sh-smie--continuation-start-indent)
579 (sh-smie-sh-rules, sh-smie-rc-rules, sh-smie--sh-keyword-in-p)
580 (sh-smie--rc-after-special-arg-p, sh-smie-rc-backward-token)
581 (sh-smie-sh-rules, sh-smie--rc-newline-semi-p): New functions.
582 (sh-set-shell): Use smie-setup if requested.
583
dee6c9a3
SM
584 * term.el (term-set-escape-char): Properly set term-escape-char.
585 See http://stackoverflow.com/questions/10524656.
586
9f9aa044
CY
5872012-05-10 Chong Yidong <cyd@gnu.org>
588
589 * ffap.el (ffap-url-unwrap-local): Make it work right (Bug#9131).
590 Use url-generic-parse-url, and handle host names and Windows
591 filenames properly.
592 (ffap-url-unwrap-remote): Use url-generic-parse-url.
593 (ffap-url-unwrap-remote): Accept list values, specifying a list of
594 URL schemes to work on.
595 (ffap--toggle-read-only): New function.
596 (ffap-read-only, ffap-read-only-other-window)
597 (ffap-read-only-other-frame): Use it.
598 (ffap-fixup-url): Don't check ffap-ftp-regexp, since it is not
599 necessary for ffap-url-unwrap-remote.
600
836d29b3
DA
6012012-05-10 Dave Abrahams <dave@boostpro.com>
602
603 * cus-start.el (create-lockfiles): Add it.
604
00fd78ed
CY
6052012-05-09 Chong Yidong <cyd@gnu.org>
606
607 * net/browse-url.el (browse-url-url-encode-chars): Use upper-case.
608 (browse-url-encode-url): Encode spaces and quotes (Bug#6300).
609
666b903b 6102012-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
1cb51c12
SM
611
612 * shell.el (shell-completion-vars): Fix last change (bug#11348).
613
666b903b 6142012-05-09 Chong Yidong <cyd@gnu.org>
18f00515
CY
615
616 * ansi-color.el (ansi-color-process-output): Check for validity of
617 comint-last-output-start before using it. This avoids a bad
618 interaction with gdb-mi's input/output buffer.
619
666b903b 6202012-05-09 Glenn Morris <rgm@gnu.org>
fd075e7b
GM
621
622 * files.el (dir-locals-read-from-file):
623 Mention dir-locals in any error message.
624
666b903b 6252012-05-09 Chong Yidong <cyd@gnu.org>
25f292cd
CY
626
627 * emacs-lisp/package.el (package-built-in-p): Handle the `emacs'
628 package (Bug#11410).
629
f677562b
CY
630 * emacs-lisp/package.el (package-buffer-info): Avoid putting local
631 variables into description.
632
666b903b 6332012-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
3d53ee1b
SM
634
635 * shell.el (shell-completion-vars): Set pcomplete-arg-quote-list like
636 shell-delimiter-argument-list (bug#11348).
637 (shell-parse-pcomplete-arguments): Obey pcomplete-arg-quote-list.
638
b499d8d0
JB
6392012-05-09 Juanma Barranquero <lekktu@gmail.com>
640
8f6b6da8
JB
641 * textmodes/rst.el: Silence byte-compiler warnings.
642 (rst-re-alist, rst-reset-section-caches): Move around.
643 (rst-re): Use `characterp', not `char-valid-p'.
644 (font-lock-beg, font-lock-end): Declare.
645
4824146a
JB
646 * progmodes/idlw-shell.el (specs): Remove reference to deleted
647 variable `idlwave-shell-activate-alt-keybindings' and simplify.
648
b499d8d0
JB
649 * eshell/esh-cmd.el (eshell-debug-command): Fix typo in previous change.
650
ad89bb83
GM
6512012-05-08 Glenn Morris <rgm@gnu.org>
652
653 * files.el (auto-mode-alist): Treat ".make" like ".mk".
654
8bba5a75
SM
6552012-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
656
49ed9c8e
SM
657 * vc/log-edit.el: Add GNU coding standards highlighting.
658 (log-edit-font-lock-gnu-style)
659 (log-edit-font-lock-gnu-keywords): New vars.
660 (log-edit-font-lock-keywords): New fun.
661 (log-edit-mode): Don't fold case in font-lock.
662 (log-edit-font-lock-keywords): Do not assume case-folding.
663
07d00b56
SM
664 * imenu.el: Misc cleanup. Make docstrings out of comments.
665 Use lexical-binding.
666 (imenu--index-alist, imenu--last-menubar-index-alist)
667 (imenu-menubar-modified-tick): Use defvar-local.
668 (imenu--split-menu): Remove unused var.
669 (imenu--cleanup-seen): Declare as global.
670 (imenu--cleanup): Use dolist.
671
8bba5a75
SM
672 * subr.el (defvar-local): Add debug spec and doc-string position.
673
5075bdb5
GM
6742012-05-08 Glenn Morris <rgm@gnu.org>
675
c052c904
GM
676 * lisp/language/burmese.el, language/cham.el, language/czech.el:
677 * language/english.el, language/georgian.el, language/greek.el:
678 * language/japanese.el, language/khmer.el, language/korean.el:
679 * language/lao.el, language/misc-lang.el, language/romanian.el:
680 * language/sinhala.el, language/slovak.el, language/tai-viet.el:
681 * language/thai.el, language/utf-8-lang.el:
682 Remove no-byte-compile setting.
683
5075bdb5
GM
684 * play/zone.el (zone-pgm-stress): Don't pollute kill-ring. (Bug#11388)
685
06f679a7
AH
6862012-05-08 Aaron S. Hawley <aaron.s.hawley@gmail.com>
687
688 * progmodes/make-mode.el (makefile-browse):
689 Remove unnecessary interactive. (Bug#11324)
690
03794570
GM
6912012-05-07 Glenn Morris <rgm@gnu.org>
692
af8630f4
GM
693 * forms-d2.el, forms-pass.el: Move to ../etc/forms directory.
694
03794570
GM
695 * international/mule.el (find-auto-coding): Make "unibyte: t" obsolete.
696
f0809a9d
SM
6972012-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
698
28be5ce7
SM
699 * loadup.el: Preload newcomment.el.
700 * newcomment.el: Move autoload-only code to toplevel.
701
f0809a9d
SM
702 * buff-menu.el (list-buffers--refresh): Mark `size' as right-align.
703 * emacs-lisp/tabulated-list.el (tabulated-list-init-header):
704 Handle new :right-align column property.
705 (tabulated-list-print-col): Idem, plus use `display' text-property to
706 try and preserve alignment for variable pitch fonts.
707
1241b724
CY
7082012-05-07 Chong Yidong <cyd@gnu.org>
709
710 * emacs-lisp/tabulated-list.el: Add no-header-line alternative.
711 (tabulated-list-use-header-line): New var.
712 (tabulated-list-init-header): Use it.
713 (tabulated-list-print-fake-header): New function.
714 (tabulated-list-print): Use it.
715 (tabulated-list-sort-button-map): Add non-header-line commands.
716 (tabulated-list-init-header): Add column name property to basic
717 labels as well.
718 (tabulated-list-col-sort): Handle non-header-line button case.
719 (tabulated-list--sort-by-column-name): Fix a corner case.
720
f0809a9d
SM
721 * buff-menu.el (list-buffers--refresh):
722 Handle Buffer-menu-use-header-line.
1241b724 723
e5f9458f
CY
7242012-05-06 Chong Yidong <cyd@gnu.org>
725
726 * buff-menu.el: Convert to Tabulated List mode.
727 (Buffer-menu-buffer+size-width): Make obsolete.
728 (Buffer-menu-name-width, Buffer-menu-size-width): New variables.
729 (Buffer-menu-mode-map): Inherit from tabulated-list-mode-map.
730 (Buffer-menu-mode): Derive from tabulated-list-mode. Move command
731 documentation into docstring of buffer-menu.
732 (Buffer-menu-toggle-files-only): Add an informative message.
733 (Buffer-menu-sort): Convert to alias for tabulated-list-sort.
734 (Buffer-menu-buffer, Buffer-menu-beginning, Buffer-menu-mark)
735 (Buffer-menu-unmark, Buffer-menu-backup-unmark)
736 (Buffer-menu-delete, Buffer-menu-save, Buffer-menu-not-modified)
737 (Buffer-menu-execute, Buffer-menu-select)
738 (Buffer-menu-marked-buffers, Buffer-menu-toggle-read-only)
739 (Buffer-menu-bury): Use Tabulated List machinery.
740 (Buffer-menu-mouse-select, Buffer-menu-sort-by-column)
741 (Buffer-menu-sort-button-map, Buffer-menu-make-sort-button):
f0809a9d 742 Delete.
e5f9458f
CY
743 (list-buffers--refresh): New function.
744 (list-buffers-noselect): Use it.
745 (tabulated-list-entry-size->, Buffer-menu--pretty-name)
746 (Buffer-menu--pretty-file-name): New helper functions.
747
748 * loadup.el: Preload tabulated-list.
749
750 * emacs-lisp/tabulated-list.el (tabulated-list-sort): Rename from
751 tabulated-list-sort-column.
752 (tabulated-list-init-header): Add the initial aligning space even
753 if tabulated-list-padding is zero.
754
e129292c
CS
7552012-05-06 Christopher Schmidt <christopher@ch.ristopher.com>
756
757 * emacs-lisp/cl-macs.el (cl-expr-contains): Handle cons cells
758 whose cdr is not a cons cell correctly (bug#11038).
759
6632d361
CY
7602012-05-06 Chong Yidong <cyd@gnu.org>
761
e129292c
CS
762 * emacs-lisp/tabulated-list.el (tabulated-list-format):
763 Accept additional plist in column descriptors.
6632d361
CY
764 (tabulated-list-init-header): Obey it.
765 (tabulated-list-get-entry): New function.
766 (tabulated-list-put-tag): Use it. Use string-width instead of
767 length.
768 (tabulated-list--column-number): New function.
769 (tabulated-list-print): Use it.
e129292c
CS
770 (tabulated-list-print-col): New function.
771 Set `tabulated-list-column-name' property on each column's text.
6632d361 772 (tabulated-list-print-entry): Use it.
e129292c
CS
773 (tabulated-list-delete-entry, tabulated-list-set-col):
774 New functions.
6632d361
CY
775 (tabulated-list-sort-column): New command (Bug#11337).
776
3cc99f68
CY
777 * buff-menu.el (list-buffers): Move C-x C-b binding from
778 buff-menu.el to bindings.el.
779
780 * ebuff-menu.el (Electric-buffer-menu-undefined): Use the
781 :advertised-binding feature.
782
52b61776
TN
7832012-05-06 Troels Nielsen <bn.troels@gmail.com> (tiny change)
784
785 * progmodes/compile.el (compilation-internal-error-properties):
786 Calculate start position correctly when end-col is set but
787 end-line is not (Bug#11382).
788
ebfe2597
WJ
7892012-05-06 Wolfgang Jenkner <wjenkner@inode.at>
790
791 * man.el (Man-unindent): Use text-property-default-nonsticky to
792 prevent untabify from inheriting face properties (Bug#11408).
793
a43f98b3
GM
7942012-05-05 Glenn Morris <rgm@gnu.org>
795
48176e8b
GM
796 * calendar/cal-html.el: Optionally include holidays in the output.
797 Suggested by Ed Reingold <reingold@emr.cs.iit.edu>.
798 (cal-html-holidays): New option.
799 (cal-html-css-default): Add holiday entry.
800 (holiday-in-range): Autoload it.
801 (cal-html-htmlify-entry): Add optional class argument.
802 (cal-html-htmlify-list): Add optional holidays argument.
803 (cal-html-insert-agenda-days): Include holidays in the output.
804 (cal-html-one-month): Maybe include holidays.
805
a43f98b3
GM
806 * calendar/holidays.el (holiday-in-range):
807 Move here from cal-tex-list-holidays.
808 * calendar/cal-tex.el (cal-tex-list-holidays):
809 Make it an obsolete alias for holiday-in-range. Update all callers.
810
fef9d149 8112012-05-05 Chong Yidong <cyd@gnu.org>
eceeb5fc
CY
812
813 * select.el (xselect--encode-string): Always use utf-8 for TEXT on
814 Nextstep.
815
248da2f4
RW
8162012-05-05 Ransom Williams <auvergnerw@gmail.com> (tiny change)
817
818 * files.el (file-auto-mode-skip): New var.
819 (set-auto-mode-1): Use it.
820
f95e9344
SM
8212012-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
822
df96ab1e
SM
823 * repeat.el: Use lexical-binding.
824 (repeat-last-self-insert, repeat-num-input-keys-at-self-insert)
825 (repeat-undo-count): Remove.
826 (repeat):
827 * progmodes/octave-mod.el (octave-abbrev-start):
828 * progmodes/f90.el (f90-abbrev-start):
829 * face-remap.el (text-scale-adjust):
830 * kmacro.el (kmacro-call-macro): Use set-temporary-overlay-map.
831
5342bb06
SM
832 * emacs-lisp/pcase.el (pcase--let*): New function.
833 (pcase--expand, pcase-codegen, pcase--q1): Use it to reduce nesting
834 a bit more.
835 (pcase--split-pred): Be more clever about ruling out overlap between
836 a predicate and some constant pattern.
837 (pcase--q1): Use `null' instead of (eq foo nil).
838
f95e9344
SM
839 * subr.el (setq-local, defvar-local): New macros.
840 (kbd): Redefine as an alias.
841 (with-selected-window): Leave unrelated frames alone.
842 (set-temporary-overlay-map): New function.
843
71873e2b
SM
8442012-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
845
846 * subr.el (user-error): New function.
847 * window.el (switch-to-buffer):
848 * vc/smerge-mode.el (smerge-resolve-function, smerge-resolve)
849 (smerge-match-conflict):
850 * simple.el (previous-matching-history-element)
851 (next-matching-history-element, goto-history-element, undo-more)
852 (undo-start):
853 * progmodes/etags.el (visit-tags-table-buffer, find-tag-tag)
854 (find-tag-noselect, find-tag-in-order, etags-goto-tag-location)
855 (next-file, tags-loop-scan, list-tags, complete-tag):
856 * progmodes/compile.el (compilation-loop):
857 * mouse.el (mouse-minibuffer-check):
858 * man.el (Man-bgproc-sentinel, Man-goto-page):
859 * info.el (Info-find-node-2, Info-extract-pointer, Info-history-back)
860 (Info-history-forward, Info-follow-reference, Info-menu)
861 (Info-extract-menu-item, Info-extract-menu-counting)
862 (Info-forward-node, Info-backward-node, Info-next-menu-item)
863 (Info-last-menu-item, Info-next-preorder, Info-last-preorder)
864 (Info-next-reference, Info-prev-reference, Info-index)
865 (Info-index-next, Info-follow-nearest-node)
866 (Info-copy-current-node-name):
867 * imenu.el (imenu--make-index-alist)
868 (imenu-default-create-index-function, imenu-add-to-menubar):
869 * files.el (basic-save-buffer, recover-file):
870 * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
871 * emacs-lisp/checkdoc.el (checkdoc-continue, checkdoc-comments)
872 (checkdoc-message-text, checkdoc-defun):
873 * dabbrev.el (dabbrev-completion, dabbrev--abbrev-at-point):
874 * cus-edit.el (customize-changed-options, customize-rogue)
875 (customize-saved, custom-variable-set, custom-variable-mark-to-save)
876 (custom-variable-mark-to-reset-standard)
877 (custom-variable-reset-backup, custom-face-mark-to-reset-standard)
878 (custom-file):
879 * completion.el (check-completion-length):
880 * comint.el (comint-search-arg)
881 (comint-previous-matching-input-string-position)
882 (comint-previous-matching-input)
883 (comint-replace-by-expanded-history-before-point, comint-send-input)
884 (comint-copy-old-input, comint-backward-matching-input)
885 (comint-goto-process-mark, comint-set-process-mark):
886 * calendar/calendar.el (calendar-cursor-to-date): Use it.
887 * bindings.el (debug-ignored-errors): Remove regexps, add `user-error'.
888
8a61ee22
SM
8892012-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
890
66408d1e
SM
891 * dabbrev.el (dabbrev--ignore-case-p): New function.
892 (dabbrev-completion, dabbrev-expand, dabbrev--substitute-expansion):
893 Use it.
894
8a61ee22
SM
895 * files.el (automount-dir-prefix): Mark as obsolete.
896
3c74813a
GM
8972012-05-04 Glenn Morris <rgm@gnu.org>
898
899 * patcomp.el, play/bruce.el: Move to obsolete/.
900
0bfcf5c5
PE
9012012-05-04 Paul Eggert <eggert@cs.ucla.edu>
902
903 Fix minor Y10k bugs.
904 * arc-mode.el (archive-unixdate):
905 * autoinsert.el (auto-insert-alist):
906 * calc/calc-forms.el (math-this-year):
907 * emacs-lisp/copyright.el (copyright-current-year)
908 (copyright-update-year, copyright):
909 * tar-mode.el (tar-clip-time-string):
910 * time.el (display-time-update):
911 Don't assume years have 4 digits.
912
78f3273a
CY
9132012-05-04 Chong Yidong <cyd@gnu.org>
914
915 * dos-w32.el (file-name-buffer-file-type-alist)
916 (direct-print-region-use-command-dot-com):
917 * ffap.el (ffap-menu-regexp):
918 * find-file.el (ff-special-constructs):
919 * follow.el (follow-debug):
920 * forms.el (forms--debug):
921 * iswitchb.el (iswitchb-all-frames):
922 * ido.el (ido-all-frames):
923 * emacs-lisp/timer.el (timer-max-repeats):
924 * mail/feedmail.el (feedmail-mail-send-hook)
925 (feedmail-mail-send-hook-queued):
926 * mail/footnote.el (footnote-signature-separator):
927 * mail/mailabbrev.el (mail-alias-separator-string)
928 (mail-abbrev-mode-regexp):
929 * mail/rmail.el (rmail-speedbar-match-folder-regexp):
930 * progmodes/idlwave.el (idlwave-libinfo-file)
931 (idlwave-default-completion-case-is-down)
932 (idlwave-library-routines): Convert defvars to defcustoms.
933
934 * mail/rmail.el (rmail-decode-mime-charset):
935 * progmodes/idlw-shell.el (idlwave-shell-print-expression-function)
936 (idlwave-shell-fix-inserted-breaks)
937 (idlwave-shell-activate-alt-keybindings)
938 (idlwave-shell-use-breakpoint-glyph):
939 * facemenu.el (facemenu-unlisted-faces): Delete obsolete vars.
940
f7ae6719
SM
9412012-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
942
943 * minibuffer.el (completion--twq-all): Beware completion-ignore-case.
944
47086495
WS
9452012-05-03 Wilson Snyder <wsnyder@wsnyder.org>
946
947 * progmodes/verilog-mode.el (font-lock-keywords):
948 Fix mis-highligting auto. Reported by Craig Barner.
949 (verilog-auto, verilog-auto-undef): Add AUTOUNDEF to remove
950 defines from global name space. Reported by Dan Dever.
951 (verilog-auto-reset, verilog-auto-reset-widths)
952 (verilog-auto-tieoff): Support using unbased numbers for
953 AUTORESET and AUTOTIEOFF.
954 (verilog-submit-bug-report): Update variable list.
955 (verilog-read-auto-params): Fix AUTOINPUT regexps containing
956 parenthesis from not matching. Reported by Michael Rytting.
957 (verilog-auto-template-lint): Fix hash error when linting modules
958 with no used templates.
959 (verilog-warn, verilog-warn-error)
960 (verilog-warn-fatal): When non-interactive report multiple
961 warnings before exiting. Suggested by Brad Dobbie.
962 (verilog-auto-template-lint, verilog-auto-template-warn-unused)
963 (verilog-read-auto-template): Add `verilog-auto-template-warn-unused'
964 to report unused template errors. Reported by Brad Dobbie.
965 (verilog-read-decls): Fix AUTOWIRE etc on supply0, supply1 type
966 nets, bug438. Reported by Vns Blore.
967 (verilog-auto-inout-module, verilog-auto-reg)
968 (verilog-read-decls, verilog-read-sub-decls-sig)
969 (verilog-signals-edit-wire-reg, verilog-signals-with):
970 Fix passing of Verilog data types in ANSI input/output ports
971 such as "output logic" into the AUTOs. Special case "wire" and
972 "reg" for backwards compatibility presuming Verilog 2001.
973 (verilog-auto-ascii-enum): Add "auto enum" as alias.
974 (verilog-preprocess): Fix replication of preprocess output.
975 Reported by Brad Dobbie.
976 (verilog-auto-inst-interfaced-ports):
977 Create verilog-auto-inst-interfaced-ports, bug429.
978 Reported by Julian Gorfajn.
979 (verilog-after-save-font-hook)
980 (verilog-before-save-font-hook): New variable.
981 (verilog-modi-cache-results, verilog-save-font-mod-hooked)
982 (verilog-save-font-mods): Wrap disabling fontification, reported
983 by David Rogoff.
984 (verilog-do-indent, verilog-pretty-declarations-auto)
985 (verilog-sk-def-reg): Fix obeying `verilog-auto-lineup', bug305.
986 Reported by Pierre-David Pfister.
987 (verilog-set-auto-endcomments): Fix endtask auto comments outside
988 of class declarations, bug292. Reported by Kevin Heilman.
989 (verilog-read-decls): Fix 'parameter type' not appearing in
990 AUTOINSTPARAM, bug340. Reported by Jonathan Greenlaw.
991 (verilog-auto-logic): Fix when AUTOLOGIC present to properly do
992 AUTOINPUTs, bug411. Reported by Jonathan Greenlaw.
993 (verilog-read-auto-lisp): Avoid syntax-ppss warning on AUTOLISP.
994 Reported by David Kravitz.
995
9962012-05-03 Michael McNamara <mac@mail.brushroad.com>
997
998 * progmodes/verilog-mode.el (verilog-pretty-expr): Don't line up
999 assignment with tests in ifs and for loops.
1000 (verilog-extended-complete-re, verilog-complete-reg): Change so
1001 that DPI inport functions don't look like fuction declarations.
1002 (verilog-pretty-expr): Don't line up assignment
1003 operations to the test and increment in if and for loops
1004 (verilog-extended-complete-re, verilog-complete-reg): Change so
1005 that DPI inport functions don't look like fuction declarations
1006
2e51d4b5
KH
10072012-05-03 Kenichi Handa <handa@m17n.org>
1008
1009 * mail/rmailmm.el (rmail-show-mime): Catch an error caused by text
c846da43 1010 decoding, and show a warning message without signaling an error
2e51d4b5
KH
1011 (Bug#11282).
1012
2bd785a2
SM
10132012-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
1014
1015 * emacs-lisp/bytecomp.el
1016 (byte-compile-file-form-custom-declare-variable): Compile all elements,
1017 since cconv.el might have introduced :fun-body, internal-make-closure,
1018 and friends for bytecomp to handle (bug#11391).
1019 * custom.el (defcustom): Avoid ((λ ..) ..).
1020
99d27583
SM
10212012-05-02 Stefan Monnier <monnier@iro.umontreal.ca>
1022
1023 * subr.el (read-passwd): Better clean after ourselves (bug#11392).
1024
55a71479
JB
10252012-05-02 Juanma Barranquero <lekktu@gmail.com>
1026
1027 * notifications.el (dbus-debug):
1028 * term/linux.el (gpm-mouse-enable):
1029 * term/screen.el (xterm-register-default-colors): Declare.
1030
7b97c764
CY
10312012-05-02 Chong Yidong <cyd@gnu.org>
1032
2bc356d7
CY
1033 * cus-start.el (gc-cons-percentage, exec-suffixes)
1034 (dos-display-scancodes, dos-hyper-key, dos-super-key)
1035 (dos-keypad-mode, debug-on-signal, vertical-centering-font-regexp)
1036 (make-cursor-line-fully-visible, void-text-area-pointer)
1037 (font-list-limit): Add customization data.
1038
7b97c764
CY
1039 * allout.el (allout-exposure-change-functions)
1040 (allout-structure-added-functions)
1041 (allout-structure-deleted-functions)
1042 (allout-structure-shifted-functions): Rename abnormal hooks from
1043 *-hook, and convert to defcustoms.
5d3385a0
JB
1044 (allout-after-copy-or-kill-hook, allout-post-undo-hook):
1045 Convert to defcustoms.
7b97c764
CY
1046 (allout-mode-hook, allout-mode-deactivate-hook): Doc fix.
1047
1048 * allout-widgets.el: Hook callers changed.
1049
90207a15 10502012-05-02 Eli Zaretskii <eliz@gnu.org>
91af76bf
EZ
1051
1052 * mail/rmail.el (rmail-yank-current-message): Use the encoding of
1053 the yanked message in preference to the default value of
1054 buffer-file-coding-system.
1055
90207a15 10562012-05-02 Martin Rudalics <rudalics@gmx.at>
d9558cad 1057
5d3385a0
JB
1058 * window.el (display-buffer--action-function-custom-type):
1059 Fix entry.
d9558cad 1060
90207a15 10612012-05-02 Alan Mackenzie <acm@muc.de>
09affde0
AM
1062
1063 * progmodes/cc-defs.el (c-version): Update to 5.32.3.
1064
d80ac57b
GM
10652012-05-01 Glenn Morris <rgm@gnu.org>
1066
976f7668
GM
1067 * cus-start.el (suggest-key-bindings): Remove, now it is in Lisp.
1068
beb83b5a
GM
1069 * eshell/esh-cmd.el (eshell-debug-command): Doc fix. Add :set.
1070
d80ac57b
GM
1071 * cus-edit.el (custom-variable-documentation): Simplify with format.
1072
b593d6a9
AH
10732012-05-01 Aaron S. Hawley <aaron.s.hawley@gmail.com>
1074 Stefan Monnier <monnier@iro.umontreal.ca>
1075
1076 * simple.el (suggest-key-bindings, execute-extended-command):
1077 Move from keyboard.c.
1078
782fbf2a
CY
10792012-05-01 Chong Yidong <cyd@gnu.org>
1080
1081 * follow.el: Eliminate advice.
1082 (set-process-filter, process-filter, sit-for): Advice deleted.
1083 (follow-mode-off-hook): Obsolete hook removed.
b593d6a9
AH
1084 (follow-avoid-tail-recenter-p, follow-process-filter-alist):
1085 Vars deleted.
782fbf2a
CY
1086 (follow-auto): Use a :set function.
1087 (follow-mode): Rewritten. Don't advise process filters.
1088 (follow-switch-to-current-buffer-all, follow-scroll-up)
1089 (follow-scroll-down): Assume follow-mode is bound.
1090 (follow-comint-scroll-to-bottom)
1091 (follow-align-compilation-windows): New functions.
1092 (follow--window-sorter): New function.
1093 (follow-all-followers): Use it to explicitly sort windows by their
1094 positions; don't make assumptions about next-window order.
1095 (follow-windows-start-end, follow-delete-other-windows-and-split)
1096 (follow-calc-win-start): Doc fix.
1097 (follow-windows-aligned-p, follow-select-if-visible): Don't call
1098 vertical-motion unnecessarily.
1099 (follow-adjust-window): New function.
1100 (follow-post-command-hook): Use it.
1101 (follow-call-set-process-filter, follow-call-process-filter)
1102 (follow-intercept-process-output, follow-tidy-process-filter-alist)
1103 (follow-stop-intercept-process-output, follow-generic-filter):
1104 Functions deleted.
1105 (follow-scroll-bar-toolkit-scroll, follow-scroll-bar-drag)
b593d6a9
AH
1106 (follow-scroll-bar-scroll-up, follow-scroll-bar-scroll-down):
1107 New functions, replacing advice on scroll-bar-* commands.
87233a14 1108 (follow-mwheel-scroll): New function (Bug#4112).
782fbf2a
CY
1109
1110 * comint.el (comint-adjust-point): New function.
b593d6a9
AH
1111 (comint-postoutput-scroll-to-bottom): Use it.
1112 Call follow-comint-scroll-to-bottom for Follow mode buffers.
782fbf2a 1113
290af740
GM
11142012-05-01 Glenn Morris <rgm@gnu.org>
1115
1116 * term/AT386.el, term/apollo.el, term/bobcat.el, term/cygwin.el:
1117 * term/iris-ansi.el, term/linux.el, term/lk201.el, term/news.el:
1118 * term/screen.el, term/vt102.el, term/vt125.el, term/vt200.el:
1119 * term/vt201.el, term/vt220.el, term/vt240.el, term/vt300.el:
1120 * term/vt320.el, term/vt400.el, term/vt420.el, term/wyse50.el:
1121 Remove no-byte-compile setting.
1122
6eac8dc9
SM
11232012-05-01 Stefan Monnier <monnier@iro.umontreal.ca>
1124
1125 * minibuffer.el (completion-table-with-quoting): Fix compatibility
1126 all-completions code to not return a number in the last cdr.
1127
9cc7819c
LL
11282012-04-30 Leo Liu <sdl.web@gmail.com>
1129
1130 * ibuf-ext.el (ibuffer-diff-buffer-with-file-1): Avoid buffer
1131 read-only error.
1132
c93b886f
CY
11332012-04-29 Chong Yidong <cyd@gnu.org>
1134
1135 * follow.el (follow-calc-win-end): Rewrite to handle partial
1136 screen lines correctly (Bug#8390).
1137 (follow-avoid-tail-recenter): Minor cleanup.
1138
8b6c19f4
SM
11392012-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
1140
1141 Avoid the obsolete `assoc' package.
1142 * speedbar.el (speedbar-refresh): Avoid adelete.
1143 (speedbar-file-lists): Simplify and avoid aput.
1144 * man.el (Man--sections, Man--refpages): New vars, replacing
1145 Man-sections-alist and Man-refpages-alist.
1146 (Man-build-section-alist, Man-build-references-alist):
1147 Use them; avoid aput.
1148 (Man--last-section, Man--last-refpage): New vars.
1149 (Man-follow-manual-reference): Use them.
1150 Use the `default' arg of completing-read.
1151 (Man-goto-section): Idem. Move prompt to the `interactive' spec.
1152
c5bb7569
CY
11532012-04-27 Chong Yidong <cyd@gnu.org>
1154
d1d2e2e8
CY
1155 * vc/diff.el (diff-sentinel): Go to bob (Bug#10259).
1156
15cd8efd
CY
1157 * startup.el (x-apply-session-resources): New function.
1158
1159 * term/ns-win.el (ns-initialize-window-system):
1160 * term/w32-win.el (w32-initialize-window-system):
1161 * term/x-win.el (x-initialize-window-system): Use it to properly
1162 set menu-bar-mode and other vars from X resources, even if the
1163 initial frame is not a window-system frame (Bug#2299).
1164
c5bb7569
CY
1165 * subr.el (read-key): Avoid running filter function when setting
1166 up temporary tool bar entries (Bug#9922).
1167
a8e7d6d7 11682012-04-27 Andreas Schwab <schwab@linux-m68k.org>
c4347ab9
AS
1169
1170 * vc/vc-git.el (vc-git-state): Fix regexp matching diff output.
1171 (Bug#11344)
1172
a8e7d6d7 11732012-04-27 Chong Yidong <cyd@gnu.org>
acb71f1d
CY
1174
1175 * select.el (xselect--encode-string): New function, split from
1176 xselect-convert-to-string.
1177 (xselect-convert-to-string): Use it.
1178 (xselect-convert-to-filename, xselect-convert-to-os)
1179 (xselect-convert-to-host, xselect-convert-to-user): Ensure that
1180 returned strings are properly encoded (Bug#11315).
1181
a8e7d6d7 11822012-04-27 Chong Yidong <cyd@gnu.org>
d55486c7
CY
1183
1184 * simple.el (delete-active-region): Move to killing custom group.
1185
a8e7d6d7 11862012-04-27 Andreas Schwab <schwab@linux-m68k.org>
581b6788
AS
1187
1188 * progmodes/which-func.el (which-func-current): Quote %
1189 characters for mode-line processing.
1190
578c1d4b 11912012-04-27 Chong Yidong <cyd@gnu.org>
18edb22d
CY
1192
1193 * xml.el (xml-parse-region, xml-parse-tag): Avoid errors due to
1194 reaching eob (Bug#11286).
1195
a8e7d6d7 11962012-04-27 Eli Zaretskii <eliz@gnu.org>
9ee9f470
EZ
1197
1198 * progmodes/gdb-mi.el (gdb-control-level): New variable.
1199 (gdb): Make it buffer-local and init to zero.
1200 (gdb-control-commands-regexp): New variable.
1201 (gdb-send): Don't wrap in "-interpreter-exec console" if
1202 gdb-control-level is positive. Increment gdb-control-level
1203 whenever the command matches gdb-control-commands-regexp, and
1204 decrement it each time the command is "end". (Bug#11279)
1205
a8e7d6d7 12062012-04-27 Martin Rudalics <rudalics@gmx.at>
41cfe0cb
MR
1207
1208 * window.el (adjust-window-trailing-edge, enlarge-window)
1209 (shrink-window, window-resize):
1210 * mouse.el (mouse-drag-line): Fix resizing of minibuffer
1211 windows (Bug#11276).
1212
b3608390
CY
12132012-04-27 Chong Yidong <cyd@gnu.org>
1214
1215 * progmodes/pascal.el (pascal--extra-indent): Rename from ind, to
a8e7d6d7 1216 fix "missing prefix" warning. All callers changed.
b3608390 1217
797e6e88
SM
12182012-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
1219
1220 * emacs-lisp/assoc.el: Move to obsolete/.
1221
e95a67dc
SM
12222012-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
1223
657c21e4 1224 * emacs-lisp/assoc.el (aget): Fix dynamic-scoping issue (bug#11352).
e95a67dc
SM
1225
1226 * term/ns-win.el (ns-define-service):
1227 * progmodes/pascal.el (pascal-goto-defun):
1228 * progmodes/js.el (js--read-tab):
1229 * progmodes/etags.el (tags-lazy-completion-table):
1230 * emacs-lisp/syntax.el (syntax-propertize-via-font-lock):
1231 * emacs-lisp/ewoc.el (ewoc--wrap):
1232 * emacs-lisp/assoc.el (aput, adelete, amake):
1233 * doc-view.el (doc-view-convert-current-doc):
1234 * vc/diff.el (diff-no-select): Replace lexical-let by lexical-binding.
1235
cb3e7ae0
CY
12362012-04-26 Chong Yidong <cyd@gnu.org>
1237
dce04f7f
CY
1238 * image.el (image-type-from-buffer): Only return supported image
1239 type (Bug#9045).
1240
cb3e7ae0
CY
1241 * vc/diff-mode.el (diff-beginning-of-hunk): Return a meaningful
1242 value, for symmetry with diff-end-of-hunk.
1243 (diff-split-hunk, diff-find-source-location)
1244 (diff-ignore-whitespace-hunk, diff-refine-hunk): Use it.
1245 (diff-bounds-of-hunk, diff-bounds-of-file): New functions.
1246 (diff-restrict-view, diff-hunk-kill, diff-file-kill): Use them to
1247 compute the relevant hunk or file properly (Bug#6005).
1248 (diff-file-junk-re): Add bzr's "modified file" tag (Bug#6041).
1249
0d42eb3e
SM
12502012-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
1251
1252 * vc/vc-mtn.el:
1253 * vc/vc-hg.el:
1254 * vc/vc-git.el:
1255 * vc/vc-dir.el:
1256 * vc/vc-cvs.el:
1257 * vc/vc-bzr.el:
1258 * vc/vc-arch.el:
1259 * vc/vc.el: Replace lexical-let by lexical-binding.
1260 * minibuffer.el (lazy-completion-table): Avoid ((λ ...) ...).
1261 * emacs-lisp/cl-macs.el (lexical-let): Fix use in lexical-binding.
1262 * emacs-lisp/cconv.el (cconv-analyse-form): Warn use of ((λ ...) ...).
1263
f08ae1c9
CY
12642012-04-26 Chong Yidong <cyd@gnu.org>
1265
8b71081d
CY
1266 * vc/diff-mode.el (diff-undo): New command (Bug#5302).
1267 (diff-mode-shared-map): Bind it to / and [remap undo].
1268
f08ae1c9
CY
1269 * vc/ediff-wind.el (ediff-setup-windows-default): New function.
1270 (ediff-window-setup-function): Use it as the default, to set up
1271 windows based on whether the current frame is graphical (Bug#2138).
1272 (ediff-choose-window-setup-function-automatically): Make obsolete.
1273
1274 * vc/ediff-init.el: Always define ediff-pixel-width/height.
1275
ef24141c
SM
12762012-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
1277
cc356a5d
SM
1278 * ffap.el: Remove old code for obsolete package.
1279 (ffap-complete-as-file-p): Remove.
1280
b4ff4f1f
SM
1281 Use completion-table-with-quoting for comint and pcomplete.
1282 * comint.el (comint--unquote&requote-argument)
1283 (comint--unquote-argument, comint--requote-argument): New functions.
1284 (comint--unquote&expand-filename, comint-unquote-filename): Obsolete.
1285 (comint-quote-filename): Use regexp-opt-charset.
1286 (comint--common-suffix, comint--common-quoted-suffix)
1287 (comint--table-subvert): Remove.
1288 (comint-unquote-function, comint-requote-function): New vars.
1289 (comint--complete-file-name-data): Use them with
1290 completion-table-with-quoting.
1291 * pcmpl-unix.el (pcomplete/scp): Use completion-table-subvert.
1292 * pcomplete.el (pcomplete-arg-quote-list)
1293 (pcomplete-quote-arg-hook, pcomplete-quote-argument): Obsolete.
1294 (pcomplete-unquote-argument-function): Default to non-nil.
1295 (pcomplete-unquote-argument): Simplify.
1296 (pcomplete--common-quoted-suffix): Remove.
1297 (pcomplete-requote-argument-function): New var.
1298 (pcomplete--common-suffix): New function.
1299 (pcomplete-completions-at-point): Use completion-table-with-quoting
1300 and completion-table-subvert.
1301
79c4eeb4
SM
1302 * minibuffer.el: Use completion-table-with-quoting for read-file-name.
1303 (minibuffer--double-dollars): Preserve properties.
1304 (completion--sifn-requote): New function.
1305 (completion--file-name-table): Rewrite using it and c-t-with-quoting.
1306
ef24141c
SM
1307 * minibuffer.el: Add support for completion of quoted/escaped data.
1308 (completion-table-with-quoting, completion-table-subvert): New funs.
1309 (completion--twq-try, completion--twq-all): New functions.
1310 (completion--nth-completion): New function.
1311 (completion-try-completion, completion-all-completions): Use it.
1312
784e7d6e
LL
13132012-04-25 Leo Liu <sdl.web@gmail.com>
1314
dd2ac746
SM
1315 * progmodes/python.el (python-pdbtrack-get-source-buffer):
1316 Use compilation-message if available to find real filename.
784e7d6e 1317
07875ee7
CY
13182012-04-25 Chong Yidong <cyd@gnu.org>
1319
1320 * vc/diff-mode.el (diff-setup-whitespace): New function.
1321 (diff-mode): Use it.
1322
1323 * vc/diff.el (diff-sentinel):
1324 * vc/vc.el (vc-diff-finish): Call diff-setup-whitespace to assign
1325 Whitespace mode variables based on diff style (Bug#8612).
1326
5055880d
LL
13272012-04-25 Leo Liu <sdl.web@gmail.com>
1328
daf75653
LL
1329 * progmodes/python.el (python-send-region): Add suffix .py to the
1330 temp file.
1331
5055880d
LL
1332 * files.el (auto-mode-alist): Use javascript-mode instead.
1333
db9b177b
AH
13342012-04-25 Alex Harsanyi <AlexHarsanyi@gmail.com>
1335
ef24141c 1336 Sync with soap-client repository. Support SOAP simpleType (Bug#10331).
db9b177b
AH
1337
1338 * soap-client.el (soap-resolve-references-for-sequence-type)
ef24141c 1339 (soap-resolve-references-for-array-type): Hack to prevent self
db9b177b 1340 references, see Bug#9.
ef24141c 1341 (soap-parse-envelope): Report the contents of the 'detail' node
db9b177b 1342 when receiving a fault reply.
ef24141c 1343 (soap-parse-envelope): Report the contents of the entire 'detail' node.
db9b177b
AH
1344
1345 * soap-inspect.el (soap-sample-value-for-simple-type)
ef24141c 1346 (soap-inspect-simple-type): New function.
db9b177b 1347
ef24141c 1348 * soap-client.el (soap-simple-type): New struct.
db9b177b 1349 (soap-default-xsd-types, soap-default-soapenc-types)
ef24141c
SM
1350 (soap-decode-basic-type, soap-encode-basic-type):
1351 support unsignedInt and double basic types.
db9b177b 1352 (soap-resolve-references-for-simple-type)
ef24141c
SM
1353 (soap-parse-simple-type, soap-encode-simple-type): New function.
1354 (soap-parse-schema): Parse xsd:simpleType declarations.
db9b177b
AH
1355
1356 * soap-client.el (soap-default-xsd-types)
ef24141c
SM
1357 (soap-default-soapenc-types): Add integer, byte and anyURI types.
1358 (soap-parse-complex-type-complex-content): Use `soap-wk2l' to find
1359 the local name of "soapenc:Array".
1360 (soap-decode-basic-type, soap-encode-basic-type): Support encoding
db9b177b
AH
1361 decoding integer, byte and anyURI xsd types.
1362
1fc6097b
CY
13632012-04-25 Chong Yidong <cyd@gnu.org>
1364
1365 * cus-edit.el (custom-buffer-create-internal): Update header text.
1366
afc6df87
EZ
13672012-04-25 Eli Zaretskii <eliz@gnu.org>
1368
1369 * progmodes/gdb-mi.el (gdb-init-1): Condition Windows-specific
1370 settings on 'system-type', not on 'window-system'. On MS-Windows,
1371 set interactive-mode on in GDB.
1372
dfbd787f
SM
13732012-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
1374
1375 * progmodes/ruby-mode.el: Simplify last change, and cleanup code.
1376 (ruby-syntax-propertize-regexp): Remove.
1377 (ruby-syntax-propertize-function): Split regexp into chunks.
1378 Match following code directly.
1379
85222d44
DG
13802012-04-24 Dmitry Gutov <dgutov@yandex.ru>
1381
51a8ea2a
DG
1382 * progmodes/ruby-mode.el: Handle Cucumber defs (bug#6286).
1383 (ruby-syntax-propertize-regexp): New function.
1384 (ruby-syntax-propertize-function): Use it to handle regexp not preceded
1385 by a special keyword.
1386
85222d44
DG
1387 * progmodes/ruby-mode.el: Handle general delimited literals (bug#6286).
1388 (ruby-syntax-general-delimiters-goto-beg)
1389 (ruby-syntax-propertize-general-delimiters): New functions.
1390 (ruby-syntax-propertize-function): Use them to handle GDL.
1391 (ruby-font-lock-keywords): Move old handling of GDL...
1392 (ruby-font-lock-syntactic-keywords): .. to here.
1393 (ruby-calculate-indent): Adjust indentation for GDL.
1394
b613912b
MA
13952012-04-24 Michael Albinus <michael.albinus@gmx.de>
1396
b5380639
MA
1397 * notifications.el (top): Remove unneeded declarations.
1398 (notifications-specification-version): Change to "1.2".
e43042fe 1399 (notifications-interface, notifications-notify-method)
b613912b
MA
1400 (notifications-close-notification-method): Fix docstring.
1401 (notifications-get-capabilities-method): New defconst.
e43042fe
MA
1402 (notifications-notify): Add :action-items, :resident and
1403 :transient hints. Change "image_data" to "image-data" and
1404 "image_path" to "image-path".
b613912b
MA
1405 (notifications-get-capabilities): New defun.
1406
257440aa
LL
14072012-04-24 Leo Liu <sdl.web@gmail.com>
1408
1409 * progmodes/python.el: Move hideshow setup to the end.
1410
b1bac16e
MR
14112012-04-24 Martin Rudalics <rudalics@gmx.at>
1412
1413 * window.el (handle-select-window): Clear echo area since this is
1414 no more done by read_char (Bug#11304).
1415
d81bd059
SM
14162012-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
1417
1418 * ibuffer.el (ibuffer-mode-map): Bind `/ m' to filter-used-mode
1419 and `/ M' to filter-derived-mode.
1420 * ibuf-ext.el (ibuffer-list-buffer-modes): Simplify; avoid add-to-list.
1421 (ibuffer-filter-by-mode, ibuffer-filter-by-used-mode)
1422 (ibuffer-mark-by-mode): Use default rather than initial-input.
1423 (ibuffer-filter-by-derived-mode): Autoload and require-match.
1424
c4cf6d91
IA
14252012-04-24 Ivan Andrus <darthandrus@gmail.com> (tiny change)
1426
1427 * ibuf-ext.el (ibuffer-list-buffer-modes): Add `include-parents' arg.
1428 (ibuffer-filter-by-derived-mode): New filter.
1429 * ibuffer.el (ibuffer-mode-map): Bind to `/ w'.
1430
7511ded8
CY
14312012-04-23 Andreas Politz <politza@fh-trier.de>
1432
1433 * subr.el (accept-change-group): Fix arg usage (Bug#6095).
1434
775c916b
CY
14352012-04-23 Chong Yidong <cyd@gnu.org>
1436
1437 * cus-edit.el (customize-apropos, customize-apropos-options):
1438 Disable matching of non-option variables (Bug#11176).
1439 (customize-option, customize-option-other-window)
1440 (customize-changed-options): Doc fix.
1441 (customize-apropos-options, customize-apropos-faces)
1442 (customize-apropos-groups): Use apropos-read-pattern (Bug#11124).
1443
1444 * apropos.el (apropos-read-pattern): Make prompt less cryptic.
922d37d3 1445 Fix word list splitting (Bug#11132).
46c71e23
CY
1446 (apropos-symbol, apropos-keybinding, apropos-label)
1447 (apropos-property, apropos-function-button)
1448 (apropos-variable-button, apropos-misc-button): New faces.
1449 (apropos-symbol-face, apropos-keybinding-face)
1450 (apropos-label-face, apropos-property-face, apropos-match-face):
1451 Variables removed (Bug#8396).
1452 (apropos-library-button, apropos-format-plist, apropos-print)
1453 (apropos-print-doc, apropos-describe-plist): Callers changed.
775c916b 1454
2df41f9c
MA
14552012-04-23 Michael Albinus <michael.albinus@gmx.de>
1456
1457 * net/xesam.el (xesam-mode-map): Use let-bound map in
1458 initialization. (Bug#11292)
1459
da00640a
AM
14602012-04-23 Agustín Martín Domingo <agustin.martin@hispalinux.es>
1461
1462 Preserve ispell session localwords when switching back to
1463 original buffer.
1464
1465 * ispell.el (ispell-buffer-session-localwords): New buffer-local
1466 variable to hold buffer session localwords.
1467 (ispell-kill-ispell): add option 'clear to delete session
1468 localwords.
1469 (ispell-command-loop, ispell-change-dictionary)
1470 (ispell-buffer-local-words): Preserve session localwords when
1471 needed.
1472
1473 * flyspell.el (flyspell-process-localwords, flyspell-do-correct):
1474 Preserve session localwords when needed.
1475
f621ccf5
AM
14762012-04-23 Agustín Martín Domingo <agustin.martin@hispalinux.es>
1477
1478 * ispell.el (ispell-insert-word) Remove unneeded function using
1479 obsolete `translation-table-for-input'.
ef24141c
SM
1480 (ispell-word, ispell-process-line, ispell-complete-word):
1481 Use plain `insert' instead of removed `ispell-insert-word'.
f621ccf5 1482
c2d1019e
CY
14832012-04-22 Chong Yidong <cyd@gnu.org>
1484
1485 * cus-edit.el (custom-variable-menu)
1486 (custom-variable-reset-saved, custom-face-menu)
1487 (custom-face-reset-saved): If there is no saved value, make the
1488 "reset-saved" operation bring back the default (Bug#9509).
1489 (custom-face-state): Properly detect themed faces.
1490
eeddc531
CY
1491 * faces.el (face-spec-set): Stop supporting deprecated form of
1492 third arg.
1493
dcbf5805
MA
14942012-04-22 Michael Albinus <michael.albinus@gmx.de>
1495
1496 Move functions from C to Lisp. Make non-blocking method calls
1497 the default. Implement further D-Bus standard interfaces.
1498
ef24141c
SM
1499 * net/dbus.el (dbus-message-internal): Declare function.
1500 Remove unneeded function declarations.
dcbf5805
MA
1501 (defvar dbus-message-type-invalid, dbus-message-type-method-call)
1502 (dbus-message-type-method-return, dbus-message-type-error)
1503 (dbus-message-type-signal): Declare variables. Remove local
1504 definitions.
1505 (dbus-interface-dbus, dbus-interface-peer)
1506 (dbus-interface-introspectable, dbus-interface-properties)
1507 (dbus-path-emacs, dbus-interface-emacs, dbus-return-values-table):
1508 Adapt docstring.
1509 (dbus-interface-objectmanager): New defconst.
1510 (dbus-call-method, dbus-call-method-asynchronously)
1511 (dbus-send-signal, dbus-method-return-internal)
1512 (dbus-method-error-internal, dbus-register-service)
1513 (dbus-register-signal, dbus-register-method): New defuns, moved
1514 from dbusbind.c
1515 (dbus-call-method-handler, dbus-setenv)
ef24141c
SM
1516 (dbus-get-all-managed-objects, dbus-managed-objects-handler):
1517 New defuns.
dcbf5805
MA
1518 (dbus-call-method-non-blocking): Make it an obsolete function.
1519 (dbus-unregister-object, dbus-unregister-service)
1520 (dbus-handle-event, dbus-register-property)
1521 (dbus-property-handler): Obey the new structure of
1522 `bus-registered-objects'.
1523 (dbus-introspect): Use `dbus-call-method'. Use a timeout.
1524 (dbus-get-property, dbus-set-property, dbus-get-all-properties):
1525 Use `dbus-call-method'.
1526
cf20dee0
CY
15272012-04-22 Chong Yidong <cyd@gnu.org>
1528
1529 * cus-edit.el (custom-commands, custom-reset-menu)
1530 (Custom-reset-standard): Tweak labels.
1531 (custom-reset-button-menu): Change default to t.
1532 (custom-buffer-create-internal): For the custom-reset-button-menu
1533 case, put the revert button first.
1534 (custom-group-subtitle): New face.
1535 (custom-group-value-create): Align docstring to a specific column.
1536
1537 * wid-edit.el (widget-documentation-link-add): Don't handle
1538 indentation in this function.
1539 (widget-documentation-string-indent-to): New function.
1540 (widget-documentation-string-value-create): Use it.
1541
1542 * autorevert.el (auto-revert):
1543 * epg-config.el (epg):
1544 * ibuffer.el (ibuffer):
1545 * mpc.el (mpc):
1546 * ses.el (ses):
1547 * eshell/eshell.el (eshell):
1548 * net/ange-ftp.el (ange-ftp):
1549 * progmodes/ebnf2ps.el (postscript):
1550 * progmodes/flymake.el (flymake):
1551 * progmodes/prolog.el (prolog):
1552 * progmodes/verilog-mode.el (verilog-mode):
1553 * progmodes/which-func.el (which-func):
1554 * term/xterm.el (xterm):
1555 * textmodes/picture.el (picture):
1556 * textmodes/tildify.el (tildify):
1557 * vc/ediff.el (ediff): Tweak defgroups to improve presentation in
1558 customization buffers.
1559
583e23bd
AM
15602012-04-22 Alan Mackenzie <acm@muc.de>
1561
1562 * progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache):
1563 Adding a ) can hide the resulting (..) from searches. Fix it.
1564 Bound the backward search to the position of the existing (.
1565
7dd51bf1
JB
15662012-04-21 Juanma Barranquero <lekktu@gmail.com>
1567
1568 * progmodes/verilog-mode.el (verilog-mode): Check whether
1569 which-func-modes is t before adding verilog-mode.
1570 Reported by Andy Moreton <andrewjmoreton@gmail.com>.
1571
d64a438f
LL
15722012-04-21 Leo Liu <sdl.web@gmail.com>
1573
7dd51bf1 1574 * net/rcirc.el (rcirc): Avoid error when process-contact returns t.
d64a438f 1575
081e8d65
MV
15762012-04-21 Michael Vehrs <Michael.Burschik@gmx.de>
1577
1578 * woman.el: Add support for "T{ T}" tbl syntax, and fix the
1579 filling of the last column of a table (Bug#5635).
1580 (woman-find-next-control-line): New arg, specifying an additional
1581 regexp component for the control line.
1582 (woman2-roff-buffer): Use it.
1583 (woman-break-table): New function.
1584 (woman2-TS): Use it.
1585
15862012-04-21 Chong Yidong <cyd@gnu.org>
1587
1588 * woman.el (woman-set-buffer-display-table, woman-decode-region)
1589 (woman-horizontal-escapes, woman-negative-vertical-space)
1590 (woman-tab-to-tab-stop, woman2-fc, woman2-TS)
1591 (WoMan-warn-ignored): Use ?\s instead of ?\ .
1592
ed571ccb
SM
15932012-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
1594
1595 * minibuffer.el (completion-file-name-table): Complete user names.
1596
39773899
LL
15972012-04-20 Leo Liu <sdl.web@gmail.com>
1598
1599 * font-lock.el (lisp-font-lock-keywords-2): Add pcase, pcase-let
1600 and pcase-let*.
1601
de6ff46d
CY
16022012-04-20 Chong Yidong <cyd@gnu.org>
1603
1604 * server.el (server-execute): Respect initial-buffer-choice if it
1605 is a string and there are no files to open (Bug#2825).
1606 (server-create-window-system-frame, server-create-tty-frame):
1607 Don't switch buffers here.
2d0e8e61
CY
1608 (server-process-filter): Only try to open a window system frame if
1609 compiled with graphical support (Bug#8314).
de6ff46d 1610
54071013
DN
16112012-04-20 Dan Nicolaescu <dann@gnu.org>
1612
1613 * battery.el (battery-echo-area-format): Display remaining time
1614 for sysfs backend too (Bug#11269).
1615 (battery-linux-sysfs): Fix conditional for the charge.
1616
f30d612a
CY
16172012-04-20 Chong Yidong <cyd@gnu.org>
1618
c07a4c0b 1619 * progmodes/gdb-mi.el (gdb): Revert previous change.
f30d612a
CY
1620 (gdb-inferior-io--init-proc): New function.
1621 (gdb-init-1): Use it.
1622 (gdb-inferior-io-sentinel): New sentinel for the gdb-inferior pty,
1623 responsible for allocating a new pty and hooking it to gdb when
1624 the old pty gets an EIO due to process exit.
1625 (gdb-delchar-or-quit): New command. Bind it in gdb-mi buffers.
1626 (gdb-tooltip-print): Don't use obsolete tooltip-use-echo-area.
1627 (gdb-inferior-io--maybe-delete-pty): Move into gdb-reset.
1628
2116e93c
EZ
16292012-04-20 Eli Zaretskii <eliz@gnu.org>
1630
1631 * window.el (window-min-size, window-sizable, window-min-delta)
1632 (window-max-delta, window--resizable, window-resizable)
1633 (window-total-size, window-full-height-p, window-full-width-p)
1634 (window-in-direction, window--resize-mini-window, window-resize)
1635 (window--resize-child-windows-normal)
1636 (window--resize-child-windows, window--resize-siblings)
1637 (window--resize-this-window, adjust-window-trailing-edge)
cd0f830c 1638 (enlarge-window, shrink-window): Doc fixes.
2116e93c 1639
c07a4c0b 16402012-04-20 Chong Yidong <cyd@gnu.org>
b668fa6e 1641
ef24141c
SM
1642 * progmodes/gdb-mi.el (gdb-inferior-io--maybe-delete-pty):
1643 New function to call delete-process on the gdb-inferior buffer's pty.
b668fa6e
CY
1644 (gdb-reset): Use it, instead of relying on kill-buffer to kill the
1645 pty process (Bug#11273).
1646 (gdb-update): New arg to suppress talking to the gdb process.
1647 (gdb-done-or-error): Use it.
1648 (gdb-stopped-functions): Rename from gdb-stopped-hooks.
1649 (gdb): Call gdb-inferior-io--maybe-delete-pty as a workaround for
1650 sentinel not being called.
1651
1652 * comint.el (make-comint-in-buffer, comint-exec): Doc fix.
1653
d02766ab
CY
1654 * progmodes/grep.el (grep, rgrep): Doc fix (Bug#11268).
1655
c07a4c0b 16562012-04-20 Glenn Morris <rgm@gnu.org>
016a35df
GM
1657
1658 * net/network-stream.el (open-network-stream): Doc fix.
1659
c07a4c0b 16602012-04-20 Chong Yidong <cyd@gnu.org>
2c070447
CY
1661
1662 * emacs-lisp/tabulated-list.el (tabulated-list-print): Fix typos.
1663
c07a4c0b 16642012-04-20 Alan Mackenzie <acm@muc.de>
f0f6bc35
AM
1665
1666 Ensure searching for keywords is case sensitive.
1667
1668 * progmodes/cc-cmds.el (c-electric-brace, c-electric-lt-gt)
1669 (c-electric-paren, c-beginning-of-defun, c-end-of-defun)
1670 (c-defun-name, c-mark-function, c-cpp-define-name)
1671 (c-comment-indent, c-scan-conditionals, c-indent-defun)
c07a4c0b 1672 (c-context-line-break): Bind case-fold-search to nil.
f0f6bc35 1673
ef24141c
SM
1674 * progmodes/cc-mode.el (c-font-lock-fontify-region):
1675 Bind case-fold-search to nil.
f0f6bc35 1676
c07a4c0b 16772012-04-20 Chong Yidong <cyd@gnu.org>
4fc2c72a
CY
1678
1679 * mail/sendmail.el (mail-bury): Call return action with the right
1680 Rmail buffer (Bug#11242).
1681
9a864fa2
CY
1682 * server.el (server-process-filter): Handle corner case where both
1683 tty and nowait options are present (Bug#11102).
1684
539aa513
EZ
16852012-04-20 Eli Zaretskii <eliz@gnu.org>
1686
1687 * version.el (emacs-bzr-version, emacs-bzr-get-version): Doc fixes.
6cf2a23e
EZ
1688 (top level): Put into the executable the ident-style '$Id:' tag on
1689 windows-nt as well.
539aa513 1690
cfc7d5da
SM
16912012-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
1692
1693 * electric.el (electric-indent-post-self-insert-function): Check that
1694 electric-indent-mode is enabled in current buffer.
1695
5b01685c
JB
16962012-04-19 Juanma Barranquero <lekktu@gmail.com>
1697
1698 * imenu.el (imenu-progress-message): Restore; it is "used" in
1699 erc/erc-imenu.el and net/snmp-mode.el.
1700
4d6769e1
JB
17012012-04-19 Juanma Barranquero <lekktu@gmail.com>
1702
1703 * avoid.el (mouse-avoidance-mode): Mark unused arg.
1704 (mouse-avoidance-nudge-mouse): Remove unused binding.
1705
1706 * bs.el (bs-toggle-readonly): Call `toggle-read-only' interactively.
1707
1708 * descr-text.el (describe-char):
1709 * progmodes/python.el (python-describe-symbol):
1710 Don't call `toggle-read-only', set `buffer-read-only'.
1711
1712 * imenu.el (imenu-default-goto-function): Mark unused args.
1713 (imenu-progress-message): Remove obsolete macro; all callers changed.
1714
1715 * subr.el (keymap-canonicalize): Remove unused binding.
1716 (read-passwd): Mark unused arg.
1717
1718 * tutorial.el (tutorial--display-changes): Remove unused binding.
1719 (tutorial--save-tutorial-to): Remove unused variable.
1720
1721 * emacs-lisp/package.el (define-package, package-menu-mark-delete)
1722 (package-menu-mark-install, package-menu-mark-unmark): Mark unused args.
1723 (package-generate-autoloads, package-menu--generate)
1724 (package-menu--find-upgrades): Remove unused bindings.
1725
1726 * emulation/cua-rect.el (cua-restrict-regexp-rectangle)
1727 (cua-restrict-prefix-rectangle): Doc fixes. Remove unused bindings.
1728 (cua--mouse-ignore, cua--delete-rectangle, cua--extract-rectangle)
1729 (cua--indent-rectangle, cua-open-rectangle, cua-close-rectangle)
1730 (cua-blank-rectangle, cua-string-rectangle, cua-replace-in-rectangle)
1731 (cua-incr-rectangle, cua-sequence-rectangle, cua--convert-rectangle-as)
1732 (cua--rectangle-aux-replace, cua--left-fill-rectangle)
1733 (cua-scroll-rectangle-up, cua-scroll-rectangle-down)
1734 (cua-delete-char-rectangle): Mark unused args.
1735 (cua-align-rectangle): Remove unused binding.
1736
1737 * mail/rmail.el (compilation--message->loc)
1738 (epa--find-coding-system-for-mime-charset): Declare.
1739
1740 * net/dbus.el (dbus-register-service): Declare.
1741 (dbus-name-owner-changed-handler): Remove unused binding.
1742
1743 * nxml/nxml-mode.el (nxml-electric-slash, nxml-in-mixed-content-p)
1744 (nxml-compute-indent-from-matching-start-tag): Remove unused variables.
1745 (nxml-scan-backward-within): Mark unused arg.
1746 (nxml-dynamic-markup-word): Remove unused binding.
1747
1748 * mouse.el (mouse-menu-major-mode-map):
1749 * emacs-lisp/authors.el (authors-scan-change-log)
1750 (authors-add-to-author-list):
1751 * emacs-lisp/avl-tree.el (avl-tree--enter-balance):
1752 * emacs-lisp/smie.el (smie-auto-fill):
1753 * mail/sendmail.el (mail-bury):
1754 * mail/unrmail.el (unrmail):
1755 * net/tls.el (open-tls-stream):
1756 * textmodes/picture.el (picture-mouse-set-point):
1757 Remove unused bindings.
1758
8c8fc5df
MA
17592012-04-19 Michael Albinus <michael.albinus@gmx.de>
1760
1761 * net/tramp.el (tramp-action-password): Let-bind
1762 `enable-recursive-minibuffers' to t.
1763
a77b0ac9
SS
17642012-04-18 Sam Steingold <sds@gnu.org>
1765
1766 * progmodes/gud.el (gud-key-prefix): Use :type 'key-sequence
1767 instead of 'string to accommodate values like [f11].
1768 Always use `vconcat' instead of `concat' on it, like in `gud-def'.
1769 * progmodes/gdb-mi.el: Likewise.
1770
12a106a9
LL
17712012-04-18 Leo Liu <sdl.web@gmail.com>
1772
1773 * abbrev.el (edit-abbrevs): Move point to the abbrev table of
1774 current buffer.
1775 (prepare-abbrev-list-buffer): Enter edit-abbrevs-mode only if
1776 LOCAL is nil.
1777
bc6494ef
CY
17782012-04-18 Chong Yidong <cyd@gnu.org>
1779
1780 * simple.el (line-move): Use forward-line if in batch mode
1781 (Bug#11053).
1782
c09c46b2
CS
17832012-04-18 Christopher Schmidt <christopher@ch.ristopher.com>
1784
1785 * files.el (after-find-file): Do not try to add a final newline if
1786 the buffer is read-only (Bug#11156).
1787
5f6530ea
RS
17882012-04-17 Richard Stallman <rms@gnu.org>
1789
1790 * mail/rmail.el (rmail-start-mail):
1791 Pass (rmail-mail-return...) for the return-action.
1792 Pass (rmail-yank-current-message...) for the yank-action.
1793 (rmail-yank-current-message): New function.
1794 (rmail-mail): Pass the Rmail buffer, not view buffer, for replybuffer.
1795 (rmail-reply): Likewise.
1796 (rmail-forward): Pass the Rmail buffer, not nil, for replybuffer.
1797
1798 * mail/sendmail.el (mail-bury): Choose the first rmail-mode
c09c46b2 1799 buffer, not the last. Reject temp buffers. Use the rmail-mode
5f6530ea
RS
1800 buffer, not newbuf.
1801
197b6f3c
JB
18022012-04-17 Juanma Barranquero <lekktu@gmail.com>
1803
1804 * server.el (server-ensure-safe-dir): Simplify.
1805
2311d8e5 18062012-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
98fb480e 1807
2311d8e5
GM
1808 * emacs-lisp/smie.el: Provide smarter auto-filling.
1809 (smie-auto-fill): New function.
1810 (smie-setup): Use it.
98fb480e 1811
2311d8e5
GM
1812 * newcomment.el (comment-choose-indent): Obey comment-inline-offset.
1813
18142012-04-17 Philipp Haselwarter <philipp.haselwarter@gmx.de> (tiny change)
8eb5d48f
PH
1815
1816 * newcomment.el (comment-inline-offset): New custom var (bug#11090).
1817 (comment-indent): Use it.
1818
2311d8e5 18192012-04-17 Vincent Belaïche <vincentb1@users.sourceforge.net>
4bdf2ad2
VB
1820
1821 * ses.el: The overall change is to add cell renaming, that is
1822 setting fancy names for cell symbols other than name matching
1823 "\\`[A-Z]+[0-9]+\\'" regexp .
2311d8e5 1824 (ses-localvars): Add ses--renamed-cell-symb-list.
4bdf2ad2 1825 (ses-create-cell-variable): New defun.
2311d8e5 1826 (ses-destroy-cell-variable-range): Respect ses--numrows, ses--numcols.
4bdf2ad2
VB
1827 (ses-relocate-formula): Relocate formulas only for cells the
1828 symbols of which are not renamed, i.e. symbols whose names do not
1829 match regexp "\\`[A-Z]+[0-9]+\\'".
1830 (ses-relocate-all): Relocate values only for cells the symbols of
1831 which are not renamed.
1832 (ses-load): Create cells variables as the (ses-cell ...) are read,
1833 in order to check row col consistency with cell symbol name only
1834 for cells that are not renamed.
1835 (ses-replace-name-in-formula): New defun.
1836 (ses-rename-cell): New defun.
4bdf2ad2 1837
fc72b15c
PO
18382012-04-17 Peter Oliver <bzr@mavit.org.uk> (tiny change)
1839
1840 * progmodes/perl-mode.el (perl-indent-parens-as-block):
1841 New option (bug#11118).
1842 (perl-calculate-indent): Respect it.
1843
12e10e61
GM
18442012-04-17 Glenn Morris <rgm@gnu.org>
1845
1846 * dired-aux.el (dired-mark-read-string): Doc fix.
1847
30009afd
DA
18482012-04-17 Dmitry Antipov <dmantipov@yandex.ru>
1849
1850 * dired-aux.el (dired-mark-read-string): Offer optional completion.
1851 (dired-do-chxxx): Complete chown, chgrp over users, groups. (Bug#7900)
1852
41f03f4d
GM
18532012-04-17 Glenn Morris <rgm@gnu.org>
1854
1855 * mouse.el (mouse-drag-track):
1856 * speedbar.el (speedbar-frame-mode):
1857 Use auto-hscroll-mode rather than the alias automatic-hscrolling.
1858
f45f90f3
LL
18592012-04-16 Leo Liu <sdl.web@gmail.com>
1860
1861 * progmodes/python.el: Trivial cleanup.
1862
94ee8db5
GM
18632012-04-16 Glenn Morris <rgm@gnu.org>
1864
121b8917
GM
1865 * vc/vc.el (vc-string-prefix-p):
1866 * vc/pcvs-util.el (cvs-string-prefix-p):
1867 * textmodes/tex-mode.el (latex-string-prefix-p, tex-string-prefix-p):
1868 * mpc.el (mpc-string-prefix-p):
1869 Make all of these into obsolete aliases for string-prefix-p.
1870 Update callers.
1871 * vc/pcvs.el, vc/vc-dispatcher.el, vc/vc-dir.el: Update callers.
1872
1197ecfa
GM
1873 * textmodes/two-column.el: Move custom options to the start.
1874 (frame-width): Remove compat definition.
1875 (2C-associate-buffer, 2C-dissociate):
1876 Use with-current-buffer rather than save-excursion.
1877 (2C-dissociate): Force a mode-line update.
1878 (2C-autoscroll): Use ignore-errors.
1879
099e7202
GM
1880 * emacs-lisp/eieio-opt.el (describe-class, describe-generic):
1881 Autoload trivia.
1882
bf350d6a
GM
1883 * emacs-lisp/cl-extra.el (*random-state*):
1884 Remove unnecessary declaration.
1885
0e829eab
GM
1886 * calendar/cal-tex.el (cal-tex-end-document): Trivial clarification.
1887
e3ad7552
GM
1888 * play/cookie1.el (cookie-snarf):
1889 Give an explicit error if input file cannot be read.
1890
68892d27
GM
1891 * play/yow.el (yow-file): Use expand-file-name rather than concat.
1892
20f0c46d
GM
1893 * progmodes/perl-mode.el (c-macro-expand):
1894 Remove unnecessary autoload (it is in loaddefs.el).
1895
5a0978ce
GM
1896 * textmodes/picture.el (picture-desired-column)
1897 (picture-update-desired-column): Convert comments to doc-strings.
1898 (picture-substitute): Remove function.
1899 (picture-mode-map): Initialize in the defvar.
1900
6b955486
GM
1901 * woman.el: Remove eval-after-load for tar-mode.
1902 * tar-mode.el (tar-mode-map): Add woman binding and menu entry.
1903 (woman-tar-extract-file): Autoload it.
1904
94ee8db5
GM
1905 * frame.el (automatic-hscrolling): Make this alias obsolete.
1906
177eca34
AM
19072012-04-12 Agustín Martín Domingo <agustin.martin@hispalinux.es>
1908
1909 * ispell.el (ispell-set-spellchecker-params): Post-process
4be3075e 1910 `ispell-dictionary-alist' to use [:alpha:] and utf-8 if possible.
3851314b
AM
1911 (ispell-dictionary-base-alist): Revert to original XEmacs
1912 friendly version for default. [:alpha:] will be added in
1913 `ispell-set-spellchecker-params' if needed
177eca34 1914
c505aaeb
CY
19152012-04-16 Chong Yidong <cyd@gnu.org>
1916
1917 * image.el (imagemagick--extension-regexp): New variable.
1918 (imagemagick-register-types): Use it.
1919 (imagemagick-types-inhibit): Add :set function. Allow new value
1920 of t to inhibit all types.
1921
1922 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Avoid cl macros,
1923 so we can preload it.
1924
1925 * loadup.el (fboundp): Preload regexp-opt, needed by
1926 imagemagick-register-types.
1927
60efac0f
CY
19282012-04-15 Chong Yidong <cyd@gnu.org>
1929
1930 * frame.el (scrolling): Remove nearly unused customization group.
1931
1932 * scroll-all.el (scroll-all-mode): Move to windows group.
1933
5dd1713e
CY
19342012-04-15 Chong Yidong <cyd@gnu.org>
1935
1936 * bindings.el (goto-map): Bind goto-char to M-g c (Bug#11240).
1937
e6fd457e
CY
19382012-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
1939
1940 Avoid the use of ((lambda ...) ...) in lexical-binding code.
4d6769e1 1941 * emacs-lisp/easy-mmode.el (define-minor-mode): Use funcall (bug#11241).
e6fd457e 1942
e153c136
GM
19432012-04-15 Glenn Morris <rgm@gnu.org>
1944
1945 * simple.el (process-file-side-effects): Doc fix.
1946
e6fd457e 19472012-04-15 Glenn Morris <rgm@gnu.org>
ca7d96c8
GM
1948
1949 * international/mule-cmds.el (set-language-environment): Doc fix.
1950
3603c3b1
JB
19512012-04-14 Juanma Barranquero <lekktu@gmail.com>
1952
1953 * server.el (server-auth-key, server-generate-key): Doc fixes.
1954 (server-get-auth-key): Doc fix. Use `string-match-p'.
1955 (server-start): Reflow docstring.
1956
e6de100c
LI
19572012-04-14 Lars Ingebrigtsen <larsi@gnus.org>
1958
1959 * server.el (server-generate-key): `called-interactively-p'
1960 requires a parameter.
1961
29734c21
MN
19622012-04-14 Michal Nazarewicz <mina86@mina86.com>
1963
1964 * server.el (server-auth-key): New variable.
75f1671a 1965 (server-generate-key, server-get-auth-key): New function.
29734c21
MN
1966 (server-start): Use the new variable and functions to allow
1967 setting a permanent server key (bug#9423).
1968
d65c9521
LL
19692012-04-14 Leo Liu <sdl.web@gmail.com>
1970
1971 * vc/diff-mode.el (diff-file-prev/next): Fix typo.
1972
5ae255c7
PE
19732012-04-14 Paul Eggert <eggert@cs.ucla.edu>
1974
1975 Spelling fixes.
1976 * hexl.el (hexl-rulerize): Rename from hexl-rulerise, since
1977 Emacs uses American spelling.
1978
d5e6342e
JB
19792012-04-14 Juanma Barranquero <lekktu@gmail.com>
1980
1981 * emacs-lock.el (emacs-lock-locked-buffer-functions): New hook.
1982 (emacs-lock--exit-locked-buffer): Return the locked buffer. Doc fix.
1983 (emacs-lock--kill-emacs-hook, emacs-lock--kill-emacs-query-functions)
1984 (emacs-lock--kill-buffer-query-functions): Run new hook. (Bug#11017)
1985
ab036cd7
SM
19862012-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
1987
1988 * progmodes/which-func.el (which-func-modes): Change default.
1989
35dc09a1 19902012-04-14 Kim F. Storm <storm@cua.dk>
9557e2be
CY
1991
1992 * emulation/cua-base.el (cua-exchange-point-and-mark): Just call
1993 exchange-point-and-mark if cua-enable-cua-keys is nil (Bug#11191).
1994
35dc09a1 19952012-04-14 Chong Yidong <cyd@gnu.org>
81927dd2
CY
1996
1997 * custom.el (custom-theme-set-variables): Doc fix.
1998
35dc09a1 19992012-04-14 Glenn Morris <rgm@gnu.org>
8edb942b
GM
2000
2001 * international/mule.el (set-auto-coding-for-load): Doc fix.
2002
35dc09a1 20032012-04-14 Alan Mackenzie <acm@muc.de>
0de3da9f 2004
35dc09a1
GM
2005 * progmodes/cc-menus.el (cc-imenu-objc-generic-expression): Make
2006 imenu work again for Objective C Mode. Correct the *-index values,
2007 these having been disturbed by a previous change in 2011-08.
57f845ee 2008
0de3da9f
AM
2009 * progmodes/cc-engine.el (c-before-change-check-<>-operators):
2010 Correct two search limits.
2011
35dc09a1 20122012-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
ede141ac
SM
2013
2014 * startup.el (command-line-1): Inhibit splash from daemon (bug#10996).
2015
35dc09a1 20162012-04-14 Andreas Schwab <schwab@linux-m68k.org>
d0203d61
AS
2017
2018 * international/characters.el: Fix sorting.
2019
35dc09a1 20202012-04-14 Eli Zaretskii <eliz@gnu.org>
cb80bcd1
EZ
2021
2022 * international/characters.el: Add more missing Latin case pairs.
2023
35dc09a1 20242012-04-14 Glenn Morris <rgm@gnu.org>
4a427f58
GM
2025
2026 * files.el (dir-locals-set-class-variables): Doc fix.
2027
35dc09a1 20282012-04-14 Eli Zaretskii <eliz@gnu.org>
9f847f41 2029
3f1b5bf8
EZ
2030 * international/characters.el: Add set-case-syntax-pair call for
2031 LATIN CAPITAL LETTER Y WITH DIAERESIS RET and its lower-case
2032 counterpart. (Bug#11209)
2033
9f847f41
EZ
2034 * simple.el (shell-command-on-region): Doc fix. (Bug#11208)
2035
35dc09a1 20362012-04-14 Glenn Morris <rgm@gnu.org>
0c2014a3
GM
2037
2038 * calendar/holidays.el (calendar-check-holidays): Doc fix.
2039
35dc09a1 20402012-04-14 Eli Zaretskii <eliz@gnu.org>
e2627d21 2041
35dc09a1
GM
2042 * textmodes/ispell.el (ispell-dictionary-base-alist):
2043 Add data for Hebrew.
e2627d21 2044
35dc09a1 20452012-04-14 Chong Yidong <cyd@gnu.org>
5c14e333 2046
35dc09a1
GM
2047 * net/rcirc.el (rcirc-cmd-quit):
2048 Revert 2012-03-18 change (Bug#11192).
5c14e333 2049
35dc09a1 20502012-04-14 Glenn Morris <rgm@gnu.org>
bf6fa423
GM
2051
2052 * pcmpl-rpm.el (pcomplete/rpm): Handle -qf.
2053
35dc09a1 20542012-04-14 Eli Zaretskii <eliz@gnu.org>
82b24fb2 2055
4517fe3a
SM
2056 * minibuffer.el (completion-in-region-mode-map):
2057 Bind completion-help-at-point to M-? rather than ?. (Bug#11182)
82b24fb2 2058
b472a594
VD
20592012-04-13 Vivek Dasmohapatra <vivek@etla.org>
2060
2061 * hexl.el (hexl-insert-char): Make display sizes other than 16 work.
2062
09b95ce3
MY
20632012-04-13 Masatake YAMATO <yamato@redhat.com>
2064
2065 * minibuffer.el (minibuffer-local-filename-syntax): New variable
2066 to allow `C-M-f' and `C-M-b' to move to the nearest path
2067 separator (bug#9511).
2068
4b63a9ca
LI
20692012-04-13 Lars Ingebrigtsen <larsi@gnus.org>
2070
2071 * avoid.el: Require cl when compiling. And also move the
2072 `provide' to the end.
2073
7b55b8bf
TV
20742012-04-13 Thierry Volpiatto <thierry.volpiatto@gmail.com>
2075
2076 * avoid.el (mouse-avoidance-banish-position): New variable.
2077 (mouse-avoidance-banish-destination): Use it (bug#10165).
2078
adedaa1f
LL
20792012-04-13 Leo Liu <sdl.web@gmail.com>
2080
2081 * progmodes/which-func.el (which-func-modes): Add objc-mode.
2082
70e74021
KB
20832012-04-13 Ken Brown <kbrown@cornell.edu>
2084
2085 * net/browse-url.el (browse-url-file-url): Remove Cygwin hack;
ab036cd7 2086 this is no longer needed now that cygstart understands file:// URLs.
70e74021
KB
2087 (browse-url-filename-alist): For the same reason, don't modify
2088 file:// URLs on Cygwin.
2089
e75e89ba
SM
20902012-04-13 Stefan Monnier <monnier@iro.umontreal.ca>
2091
2092 * emulation/cua-base.el (cua--pre-command-handler-1): Don't activate
2093 the region on shift if the binding is already shifted (bug#11221).
2094
82f289a4
GM
20952012-04-12 Glenn Morris <rgm@gnu.org>
2096
2097 * mail/mailpost.el: Move to obsolete/.
2098
d333dc4c
DA
20992012-04-12 Drew Adams <drew.adams@oracle.com>
2100
2101 * imenu.el (imenu--generic-function): Ignore invisible definitions
2102 (bug#10123).
2103
0d15b5ba
VD
21042012-04-12 Vivek Dasmohapatra <vivek@etla.org>
2105
2106 * hexl.el (hexl-bits): New variable.
2107 (hexl-options): Mention the variable in the doc string.
75f1671a 2108 (hexl-rulerise, hexl-line-displen): New functions.
0d15b5ba 2109 (hexl-mode): Mention the new variable.
75f1671a
JB
2110 (hexl-mode, hexl-current-address, hexl-current-address):
2111 Use the displen.
0d15b5ba
VD
2112 (hexl-ascii-start-column): New function.
2113 (hexl-address-to-marker, hexl-beginning-of-line, hexl-options)
2114 (hexl-insert-char, hexl-mode-ruler): Use the displen (bug#4941).
2115
64a440db
AM
21162012-04-12 Agustín Martín Domingo <agustin.martin@hispalinux.es>
2117
2118 * textmodes/flyspell.el (flyspell-large-region): For hunspell, use
2119 '("-i" ENCODING), in 2 separate command-line arguments, to specify
2120 the encoding, as expected by hunspell.
2121
6decb6c2
SM
21222012-04-12 Stefan Monnier <monnier@iro.umontreal.ca>
2123
2124 * battery.el (battery--linux-sysfs-regexp): New const.
2125 (battery-status-function): Use it. Remove yeeloong special case.
2126 (battery-yeeloong-sysfs): Remove.
2127 (battery-echo-area-format): Remove yeeloong special case.
2128
088be6fb
SM
21292012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
2130
6622e416
SM
2131 * imenu.el (imenu-add-to-menubar): `current-local-map' can be nil.
2132 Reported by Noah Friedman.
2133
088be6fb
SM
2134 * subr.el (read-passwd): Use read-string.
2135
b49f886e
LMI
21362012-04-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
2137
2138 * vcursor.el (vcursor-move): Increase the priority of the overlay
2139 (bug#9663).
2140
a63067fc
DD
21412012-04-11 Deniz Dogan <deniz.a.m.dogan@gmail.com>
2142
2143 * net/rcirc.el (rcirc-kill-channel-buffers): New variable.
2144 (rcirc-kill-buffer-hook): Use it to kill channel buffers (bug#5128).
2145
ac3cf14a
WS
21462012-04-11 William Stevenson <yhvh2000@gmail.com>
2147
2148 * textmodes/artist.el (artist-mode): Convert artist-mode to use
2149 define-minor-mode (bug#10760).
2150
c4fc691b 21512012-04-11 Wolfgang Jenkner <wjenkner@inode.at> (tiny change)
49a2697c 2152
4d6769e1 2153 * progmodes/grep.el (rgrep): Tweak the find command line so
49a2697c
WJ
2154 that directories matching `grep-find-ignored-files' won't be
2155 pruned (bug#10351).
2156
af23e2e5
CY
21572012-04-11 Chong Yidong <cyd@gnu.org>
2158
2159 * startup.el (command-line): Remove support for long-obsolete
2160 variable font-lock-face-attributes.
2161
ab7ce8c1
GM
21622012-04-11 Glenn Morris <rgm@gnu.org>
2163
2164 * vc/vc-bzr.el (vc-bzr-status): Avoid condition-case-unless-debug.
2165
de8c03dc
SM
21662012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
2167
2168 * window.el (window--state-get-1): Obey window-point-insertion-type.
2169
050cc68b
LB
21702012-04-11 Lennart Borgman <lennart.borgman@gmail.com>
2171
2172 * emacs-lisp/lisp.el (narrow-to-defun): `beginning-of-defun' goes
2173 to previous function when point is on the first character of a
75f1671a 2174 function. Take care of that in `narrow-to-defun' (bug#6157).
050cc68b 2175
a38c310c
GM
21762012-04-11 Glenn Morris <rgm@gnu.org>
2177
effed0c2
GM
2178 * vc/vc-bzr.el (vc-bzr-status): Handle all errors,
2179 not just file-errors.
2180
a38c310c
GM
2181 * vc/vc-bzr.el (vc-bzr-sha1-program, sha1-program): Remove.
2182 (vc-bzr-sha1): Use internal sha1.
2183
0221e323
SM
21842012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
2185
2186 * progmodes/flymake.el (flymake-mode): Beware read-only dirs (bug#8954).
2187
43956923
SG
21882012-04-10 Sébastien Gross <seb@chezwam.org> (tiny change)
2189
2190 * progmodes/hideshow.el (hs-hide-all): Don't infloop on comments
2191 that start in the middle of the line (bug#10496).
2192
6a8c9eaf
DN
21932012-04-10 Dan Nicolaescu <dann@gnu.org>
2194
2195 * battery.el (battery-linux-proc-acpi): Only one battery is
2196 discharged at a time, but that seems to confuse battery.el when
2197 computing `rate-type' for the battery not being discharged
2198 (bug#10332).
2199
1930bf5d
SM
22002012-04-10 Stefan Monnier <monnier@iro.umontreal.ca>
2201
2a718f6f
SM
2202 * emacs-lisp/autoload.el (autoload-make-program): Remove, unused.
2203
599430d0
SM
2204 * international/quail.el: Use dolist and simplify.
2205 (quail-define-package, quail-update-keyboard-layout)
2206 (quail-define-rules): Use dolist.
2207 (quail-insert-kbd-layout, quail-get-translation): CSE.
2208
a2754b6c
SM
2209 * tmm.el: Use dolist, remove left over hook.
2210 (tmm-prompt, tmm-define-keys, tmm-shortcut, tmm-get-keybind):
2211 Use dolist.
2212 (calendar-load-hook): Don't mess with it.
2213
1930bf5d
SM
2214 * vc/vc-annotate.el (vc-annotate-show-diff-revision-at-line-internal):
2215 Use derived-mode-p. Run the diff asynchronously.
2216
9f67961c
LMI
22172012-04-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
2218
2219 * obsolete/mouse-sel.el: Add an Obsolete-since header.
2220
2a8ce227
JB
22212012-04-10 Juanma Barranquero <lekktu@gmail.com>
2222
2223 * misc.el: Display absolute path of loaded DLLs (bug#10424).
2224 (list-dynamic-libraries--loaded): New function.
2225 (list-dynamic-libraries--refresh): Use it.
2226
8f33b5f8
NW
22272012-04-10 Nathan Weizenbaum <nweiz@google.com>
2228
1930bf5d
SM
2229 * progmodes/python.el (python-fill-paragraph):
2230 Make python-fill-region in a multiline string work when font-lock is
8f33b5f8
NW
2231 disabled (bug#7018).
2232
b12f0439
L
22332012-04-10 Laimonas Vėbra <laimonas.vebra@gmail.com> (tiny change)
2234
1930bf5d 2235 * language/european.el (cp775): Add oem/legacy (en)coding on
75f1671a
JB
2236 DOS/MS Windows for the Baltic languages. There are still plenty
2237 of texts written in this encoding/codepage (bug#6519).
b12f0439 2238
57c3bd01
GM
22392012-04-10 Glenn Morris <rgm@gnu.org>
2240
2241 * cus-start.el (eol-mnemonic-unix, eol-mnemonic-dos, eol-mnemonic-mac):
2242 Add :standard values, reducing "rogue" customs in emacs -Q a bit more.
2243
6c3eab30
FA
22442012-04-10 Florian Adamsky <florian@adamsky.it> (tiny change)
2245
1930bf5d 2246 * recentf.el (recentf-dialog-mode-map): Add two keybindings for
6c3eab30
FA
2247 next-line "n" and previous-line "p" in order to make recentf more
2248 consistent with ibuffer, dired or org-mode (bug#9387).
2249
24d78a88
LMI
22502012-04-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
2251
bc72b5d9
LMI
2252 * image.el (put-image): Return the overlay created instead of the
2253 optional input string (bug#7834). Note that this may break code
2254 that is (for some reason or other) depending on `put-image'
2255 returning the string.
2256
bd2dba5a
LMI
2257 * mouse-sel.el (mouse-sel-mode): Mark as obsolete (bug#6174).
2258
74beb59f
LMI
2259 * simple.el (zap-to-char): Allow zapping using input methods
2260 (bug#1580).
2261
24d78a88
LMI
2262 * textmodes/fill.el (fill-region): Leave point and mark where they
2263 were before filling (bug#5399).
2264
263f20cd
GM
22652012-04-09 Glenn Morris <rgm@gnu.org>
2266
2267 * version.el (emacs-bzr-get-version):
2268 Handle lightweight checkouts of local branches.
2269
58d1f797
AS
22702012-04-09 Andreas Schwab <schwab@linux-m68k.org>
2271
263f20cd 2272 * international/characters.el: Recover lost case pairs. (Bug#11209)
58d1f797 2273
b4d3bc10
CY
22742012-04-09 Chong Yidong <cyd@gnu.org>
2275
2276 * custom.el (custom-variable-p): Return nil for non-symbol
2277 arguments instead of signaling an error.
2278 (user-variable-p): Obsolete alias for custom-variable-p.
2279
2280 * apropos.el (apropos-variable):
2281 * files-x.el (read-file-local-variable):
2282 * simple.el (set-variable):
2283 * woman.el (woman-mini-help):
2284 * emacs-lisp/byte-opt.el (side-effect-free-fns): Callers changed.
2285
fd06db5d
GM
22862012-04-09 Glenn Morris <rgm@gnu.org>
2287
e5fcdb5e
GM
2288 * startup.el (normal-top-level): Don't look for leim-list.el
2289 in places where it will not be found. (Bug#910)
2290
fd06db5d
GM
2291 * international/mule-cmds.el (set-default-coding-systems):
2292 * files.el (normal-mode):
2293 Remove guarded calls to ucs-set-table-for-input. (Bug#9821)
2294 This function was removed with ucs-tables.el in 2008.
2295
b39bb7e1
EZ
22962012-04-08 Eli Zaretskii <eliz@gnu.org>
2297
2298 * textmodes/ispell.el (ispell-check-version): For hunspell, set
2299 ispell-encoding8-command to "-i", without a trailing space.
2300 (ispell-start-process): For hunspell, use '("-i" ENCODING), in 2
2301 separate command-line arguments, to specify the encoding, since
2302 that's how hunspell expects it.
2303
5c5b8e23
GM
23042012-04-08 Glenn Morris <rgm@gnu.org>
2305
2306 * loadup.el: Load bindings before cus-start.
2307 This reduces somewhat the number of "rogue" settings in emacs -Q.
2308
a1ed8b05
GM
23092012-04-07 Glenn Morris <rgm@gnu.org>
2310
2311 * version.el (emacs-bzr-get-version): New function.
dfae128a 2312 (emacs-bzr-version): New variable.
a1ed8b05
GM
2313 * loadup.el (emacs-bzr-version): Set it. (Bug#8054)
2314 * mail/emacsbug.el (report-emacs-bug): Include bzr version.
2315
b142f158
EZ
23162012-04-07 Eli Zaretskii <eliz@gnu.org>
2317
dfae128a
GM
2318 * international/uni-bidi.el, international/uni-category.el:
2319 * international/uni-combining.el, international/uni-decimal.el:
2320 * international/uni-decomposition.el, international/uni-digit.el:
2321 * international/uni-lowercase.el, international/uni-mirrored.el:
2322 * international/uni-name.el, international/uni-numeric.el:
2323 * international/uni-titlecase.el, international/uni-uppercase.el:
2324 Update for Unicode 6.1.
b142f158 2325
9078ead6
EZ
23262012-04-07 Eli Zaretskii <eliz@gnu.org>
2327
2328 * term/w32-win.el (dynamic-library-alist): Add libxml2 DLLs.
2329
f23d2c7d
LMI
23302012-04-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
2331
2332 * window.el (shrink-window): Mention the `window-min-height'
2333 variable in the doc string.
2334
0a0a3573
BG
23352012-04-05 Bastien Guerry <bzg@altern.org>
2336
2337 * color.el (color-lighten-name): Fix typo.
2338
e5248ac9
SM
23392012-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
2340
2341 * server.el (server--on-display-p): New function.
2342 (server--on-display-p): Use it.
2343
b4243e22
GV
23442012-04-04 Gabor Vida <vidagabor@gmail.com> (tiny change)
2345
2346 * ido.el (ido-wide-find-dirs-or-files): Use file-name-absolute-p
2347 (bug#11145).
2348
305d9f44
SM
23492012-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
2350
2351 * comint.el (comint--common-quoted-suffix): Check string boundary
2352 before comparing (bug#11158).
2353 * pcomplete.el (pcomplete--common-quoted-suffix): Idem.
2354
3d439cd1
CY
23552012-04-04 Chong Yidong <cyd@gnu.org>
2356
321cc491
CY
2357 * minibuffer.el (completion-extra-properties): Doc fix.
2358
3d439cd1
CY
2359 * subr.el (delayed-warnings-hook): Doc fix.
2360
2d562c0f
DU
23612012-04-04 Daiki Ueno <ueno@unixuser.org>
2362
2363 * epa.el (epa--select-keys): Bind C-c C-c to finish the key
2364 selection (Bug#11159).
2365 (epa-insert-keys): Inform that the default public key will be
2366 exported if no key is selected.
2367
4443f204
RS
23682012-04-04 Richard Stallman <rms@gnu.org>
2369
2370 * mail/emacsbug.el (report-emacs-bug): Bind inhibit-read-only.
2371
529c06b6
CY
23722012-04-03 Chong Yidong <cyd@gnu.org>
2373
2374 * mail/sendmail.el (mail-mode-map): Bind C-c C-i to
2375 mail-insert-file, not its obsolete alias mail-attach-file.
2376
66b907dc
MA
23772012-04-03 Michael Albinus <michael.albinus@gmx.de>
2378
2379 * notifications.el (notifications-notify): Fix docstring.
2380
c0ea195d
GM
23812012-04-02 Glenn Morris <rgm@gnu.org>
2382
2383 * emacs-lisp/authors.el (authors-aliases): Another addition.
2384
5ca64e00
MA
23852012-04-02 Michael Albinus <michael.albinus@gmx.de>
2386
2387 * net/tramp-gvfs.el (tramp-gvfs-send-command): Apply
2388 `tramp-compat-call-process' instead of `tramp-local-call-process'.
2389 Reported by Magnus Henoch <magnus.henoch@gmail.com>.
2390
42ee526b
CY
23912012-04-01 Chong Yidong <cyd@gnu.org>
2392
2393 * files.el (file-in-directory-p): Rename from file-subdir-of-p.
2394 Handle root directory properly.
2395 (copy-directory): Caller changed.
2396
2397 * dired-aux.el (dired-copy-file-recursive, dired-create-files):
2398 * net/tramp.el (tramp-file-name-for-operation): Callers changed.
2399
0b021094
GM
24002012-03-31 Glenn Morris <rgm@gnu.org>
2401
40f86458
GM
2402 * term/xterm.el (xterm-extra-capabilities): Doc fix.
2403
7019c177
GM
2404 * language/indian.el ("Devanagari"): Fix typo. (Bug#11103)
2405
a1daddd6
GM
2406 * calendar/calendar.el (calendar-window-list)
2407 (calendar-hide-window): Restore. (Bug#11140)
2408 (calendar-exit): Use calendar-window-list, calendar-hide-window again.
2409
0b021094
GM
2410 * emacs-lisp/edebug.el (edebug-unwrap-results): Doc fix.
2411
40311efc
TV
24122012-03-30 Thierry Volpiatto <thierry.volpiatto@gmail.com>
2413
2414 * dired-aux.el (dired-copy-file-recursive, dired-create-files):
2415 Check if file is a symlink (Bug#10489).
2416
2417 * files.el (copy-directory): Likewise.
2418
5319014e
CY
24192012-03-30 Chong Yidong <cyd@gnu.org>
2420
2421 * image.el (imagemagick-types-inhibit)
2422 (imagemagick-register-types): Doc fix.
2423
935d1290
AM
24242012-03-30 Agustín Martín Domingo <agustin.martin@hispalinux.es>
2425
ef24141c
SM
2426 * ispell.el (ispell-get-extended-character-mode):
2427 Disable extended-char-mode for hunspell. hunspell does not support it
75f1671a 2428 and treats ~word as ordinary words in pipe mode.
935d1290 2429
61c6e8fd
GM
24302012-03-30 Glenn Morris <rgm@gnu.org>
2431
2432 * tutorial.el (help-with-tutorial): Ensure local variables don't
2433 happen to make the buffer read-only. (Bug#11127)
2434
81fdff00
SM
24352012-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
2436
2437 * progmodes/perl-mode.el (perl-indent-line): Use `noindent' in strings.
2438 (perl-calculate-indent): Return `noindent' in strings.
2439
6e7a6ec0
SS
24402012-03-28 Sam Steingold <sds@gnu.org>
2441
2442 * calendar/calendar.el (calendar-exit): Use `quit-windows-on'
2443 instead of the broken adhockery which does not prevent calendar
2444 buffers from being displayed at random after exit.
2445 (calendar-window-list, calendar-hide-window): Remove the broken
2446 adhockery.
2447
fee88ca0
GM
24482012-03-28 Glenn Morris <rgm@gnu.org>
2449
2450 * replace.el (query-replace-map): Doc fix.
2451
38de3354
AS
24522012-03-28 Andreas Schwab <schwab@linux-m68k.org>
2453
2454 * vc/vc-git.el (vc-git-state): Don't try to match all of the diff
2455 contents. (Bug#11109)
2456
b973155e
SM
24572012-03-27 Stefan Monnier <monnier@iro.umontreal.ca>
2458
2459 * emacs-lisp/avl-tree.el (avl-tree--enter-balance): Fix paren typo
2460 (bug#11077).
2461 (avl-tree--check, avl-tree--check-node): New funs.
2462
dcb6e7b3
MR
24632012-03-27 Martin Rudalics <rudalics@gmx.at>
2464
2465 * window.el (switch-to-visible-buffer): New option.
b973155e
SM
2466 (switch-to-prev-buffer, switch-to-next-buffer):
2467 Observe switch-to-visible-buffer. Make sure that checking for a window
dcb6e7b3
MR
2468 showing a buffer already is done on the same frame.
2469
b4fa35fa
GM
24702012-03-27 Glenn Morris <rgm@gnu.org>
2471
2472 * startup.el (mail-host-address): Doc fix.
2473
f9210e18
SM
24742012-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
2475
2476 * emacs-lisp/bytecomp.el (byte-compile-constants-vector): Allow more
2477 than 197 variables.
2478
c0bf7753
AF
24792012-03-26 Ami Fischman <ami@fischman.org>
2480
2481 * vc/vc-git.el (vc-git-state): Avoid unnecessarily locking.
2482
33da7b16
GM
24832012-03-26 Glenn Morris <rgm@gnu.org>
2484
02243d9d
GM
2485 * files.el (save-buffers-kill-emacs): Doc fix.
2486
33da7b16
GM
2487 * startup.el (normal-top-level, command-line, command-line-1):
2488 Give them doc strings.
2489
e5a69fd0
EZ
24902012-03-25 Eli Zaretskii <eliz@gnu.org>
2491
2492 * makefile.w32-in (install): Use $(DIRNAME)_same-dir.tst instead
b973155e 2493 of same-dir.tst, to avoid stepping on other (parallel) Make job's toes.
e5a69fd0 2494
9a69676a
CY
24952012-03-25 Chong Yidong <cyd@gnu.org>
2496
4125cb8b
CY
2497 * custom.el (load-theme): Even if NO-ENABLE arg is t, reenable the
2498 theme if it was previously enabled before (Bug#11031).
2499
dd470960
CY
2500 * cus-theme.el (custom-theme-write-faces): Retrieve current face
2501 spec with custom-face-get-current-spec if its :shown-value is not
2502 determined yet (Bug#9337).
4125cb8b 2503 (customize-create-theme, custom-theme-revert): Doc fixes.
dd470960 2504
9a69676a
CY
2505 * button.el (button-at): Minor addition to docstring.
2506
6e7e90fa
SL
25072012-03-24 Simon Leinen <simon.leinen@gmail.com>
2508
2509 * vc/vc.el (vc-merge): Fix a prompt.
2510
f06e2758
CY
25112012-03-24 Chong Yidong <cyd@gnu.org>
2512
2513 * mwheel.el (mwheel-scroll): Call deactivate-mark at the right
2514 point (Bug#9623).
2515
6e7e90fa
SL
2516 * button.el (button-at): Minor addition to docstring.
2517
b9d0879b
SM
25182012-03-23 Stefan Monnier <monnier@iro.umontreal.ca>
2519
2520 * newcomment.el (comment-choose-indent): No space after BOL.
2521
e71cebb3
SS
25222012-03-22 Sam Steingold <sds@gnu.org>
2523
2524 * window.el (switch-to-prev-buffer): Revert last patch because the
2525 bug turned out to be an advertised feature (Elisp manual 28.14).
2526
335aff35
GM
25272012-03-22 Glenn Morris <rgm@gnu.org>
2528
2529 * vc/vc-bzr.el (vc-bzr-status-switches): New option. (Bug#6724)
2530 (vc-bzr-command): If running "status", pass vc-bzr-status-switches.
2531
c676576a
LMI
25322012-03-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
2533
2534 * net/network-stream.el (network-stream-open-starttls): Make error
2535 message under Windows be less misleading.
2536
126f3d39
LW
25372012-03-22 Liang Wang <netcasper@gmail.com> (tiny change)
2538
2539 * progmodes/etags.el (etags-list-tags): Only use tags which goto-func
2540 understands (bug#9942).
2541
64fee311
CY
25422012-03-22 Chong Yidong <cyd@gnu.org>
2543
2544 * simple.el (end-of-visible-line): Handle return value of
2545 next-single-property-change properly (Bug#9371).
2546
a640d29a
KH
25472012-03-22 Kenichi Handa <handa@m17n.org>
2548
2549 * international/quail.el (quail-insert-kbd-layout): Fix previous
2550 change. To avoid unwanted bidi reordering, use
2551 bidi-string-mark-left-to-right instead of inserting LRO and PDF.
2552
39675016
DG
25532012-03-21 Dmitry Gutov <dgutov@yandex.ru>
2554
2555 * progmodes/ruby-mode.el: Don't confuse "end:" for "end" (bug#10786).
2556 (ruby-block-end-re, ruby-delimiter, ruby-parse-partial)
2557 (ruby-beginning-of-indent): Be more careful with the difference
2558 between word-boundary and symbol boundary.
2559 (ruby-mode-syntax-table): Make : a symbol constituent.
2560
0a6934fc 25612012-03-21 Andreas Politz <politza@fh-trier.de>
1acad97c 2562
3d008e4f
SM
2563 * outline.el (outline-flag-region): Evaporate overlays (bug#10789).
2564
0a6934fc
SM
25652012-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
2566
af67c9d7
SM
2567 * progmodes/etags.el (tags-completion-at-point-function):
2568 Improve last fix.
2569
1acad97c
SM
2570 * files.el (move-file-to-trash): Files aren't regexps (bug#11055).
2571
e298b5da
SS
25722012-03-21 Sam Steingold <sds@gnu.org>
2573
2574 * progmodes/etags.el (tags-completion-at-point-function):
2575 Avoid the error when point is inside the pattern.
2576
91d82a70
JY
25772012-03-21 John Yates <john@yates-sheets.org> (tiny change)
2578
2579 * progmodes/hideshow.el (hs-inside-comment-p): Fix hiding of first
2580 line (Bug#10855).
2581
69188b79
CY
25822012-03-21 Drew Adams <drew.adams@oracle.com>
2583
2584 * info.el (Info-menu): Handle string value of FORK arg (Bug#10858).
2585
99fc91fe
AK
25862012-03-21 Anmol Khirbat <anmol@khirbat.net> (tiny change)
2587
2588 * ido.el (ido-set-current-directory, ido-read-internal)
2589 (ido-choose-completion-string, ido-completion-help): Handle nil
2590 value of ido-completion-buffer (Bug#11008).
2591
087bbb4c
SS
25922012-03-21 Sam Steingold <sds@gnu.org>
2593
2594 * window.el (switch-to-prev-buffer): Do not switch to a visible
2595 window previous buffer, just like with the frame previous buffers.
2596
fb5b8aca
CY
25972012-03-21 Chong Yidong <cyd@gnu.org>
2598
2599 * faces.el (make-face, make-empty-face, copy-face):
2600 * face-remap.el (face-remap-add-relative, face-remap-set-base):
2601 Doc fixes.
2602
dc9924b8
SM
26032012-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
2604
2605 * wid-edit.el (widget-complete-field): Remove (bug#11051).
2606 (widget-complete): Remove broken use of it.
2607
f0bcceb9
CY
26082012-03-20 Chong Yidong <cyd@gnu.org>
2609
dc9924b8
SM
2610 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
2611 Use string-width and truncate-string-width to handle arbitrary
f0bcceb9
CY
2612 characters.
2613
ee52ebf3
TH
26142012-03-20 Tassilo Horn <tassilo@member.fsf.org>
2615
2616 * textmodes/artist.el (artist-menu-map): Bind Rectangle menu item
2617 to draw rectangles, not squares. (Regression introduced by revno
2618 2011-03-02T03:48:01Z!cyd@stupidchicken.com)
2619
4c5779ab
CY
26202012-03-18 Chong Yidong <cyd@gnu.org>
2621
2622 * faces.el (face-spec-reset-face): Don't call display-graphic-p if
2623 it is not yet defined (for temacs).
2624
15360934
LL
26252012-03-18 Leo Liu <sdl.web@gmail.com>
2626
dc9924b8 2627 * net/rcirc.el (rcirc-cmd-quit): Allow quiting all servers with prefix.
15360934 2628
d9a8eb66
EZ
26292012-03-17 Eli Zaretskii <eliz@gnu.org>
2630
2631 * textmodes/ispell.el (ispell-skip-tib, ispell-keep-choices-win)
2632 (ispell-choices-win-default-height, ispell-silently-savep)
2633 (ispell-dictionary-alist, ispell-encoding8-command)
2634 (ispell-check-version, ispell-aspell-find-dictionary)
2635 (ispell-valid-dictionary-list, ispell-words-keyword)
2636 (ispell-get-word, ispell-internal-change-dictionary)
2637 (ispell-region, ispell-skip-region-list)
2638 (ispell-begin-skip-region-regexp, ispell-ignore-fcc)
2639 (ispell-process-line, ispell-minor-mode, ispell-minor-check)
2640 (ispell-message-text-end, ispell-message)
2641 (ispell-buffer-local-parsing): Doc fix.
2642
f02ff80d
J
26432012-03-13 Jambunathan K <kjambunathan@gmail.com>
2644
2645 * htmlfontify.el: Add support for code block fontification for ODT
2646 export (Bug #9914).
2647 (hfy-optimisations): Define new option
2648 `body-text-only'
2649 (hfy-fontify-buffer): Honor above setting.
2650 (hfy-begin-span, hfy-end-span): New routines factored out form
2651 `hfy-fontify-buffer'.
2652 (hfy-begin-span-handler, hfy-end-span-handler): New variables
2653 that permit insertion of custom tags.
2654 (hfy-fontify-buffer): Use above handlers.
2655 (hfy-face-to-css-default): Same as the earlier `hfy-face-to-css'.
2656 (hfy-face-to-css): Re-defined to be a variable.
dc9924b8 2657 (hfy-compile-stylesheet): Modify. Allow stylesheet to be built
75f1671a 2658 over multiple runs. This is made possible by having the caller let
f02ff80d
J
2659 bind a special variable `hfy-user-sheet-assoc'.
2660 (htmlfontify-string): New defun.
2661 (hfy-compile-face-map): Make sure that the last char in the
2662 buffer is correctly fontified.
2663 (hfy-face-resolve-face): Whitespace only change.
2664
9ac7a13f
EZ
26652012-03-17 Eli Zaretskii <eliz@gnu.org>
2666
2667 * textmodes/ispell.el (ispell-get-decoded-string): Make the error
2668 message more clear.
2669
e2b5bdd7
LL
26702012-03-16 Leo Liu <sdl.web@gmail.com>
2671
2672 * emacs-lisp/copyright.el (copyright-year-ranges): Fix typo.
2673
2e492df3
AM
26742012-03-16 Alan Mackenzie <acm@muc.de>
2675
2676 Further optimise the handling of large macros.
2677
2678 * progmodes/cc-engine.el (c-crosses-statement-barrier-p): Use a
2679 limit to a call of `c-literal-limits'.
2680 (c-determine-+ve-limit): New function.
dc9924b8
SM
2681 (c-at-macro-vsemi-p): Move `c-in-literal' to the bottom of an `and'.
2682 (c-guess-basic-syntax): In macros, restrict a search limit to 2000.
2e492df3
AM
2683 In CASE 5B, restrict a search limit to 500.
2684 (c-just-after-func-arglist-p): Obviouly wrong `or' -> `and'.
2685
2686 * progmodes/cc-mode.el (c-neutralize-syntax-in-and-mark-CPP):
2687 Restrict macro bounds to +-500 from after-change's BEG END.
2688
50e94f0c
LL
26892012-03-16 Leo Liu <sdl.web@gmail.com>
2690
2691 * font-lock.el (lisp-font-lock-keywords-2): Add letrec.
2692
6f09f6ed
AH
26932012-03-16 Aaron S. Hawley <Aaron.S.Hawley@gmail.com>
2694
2695 * tar-mode.el (tar-mode): Fix saving by conditionally undoing
dc9924b8 2696 `special-mode' setting of `buffer-read-only'. (Bug#11010)
6f09f6ed 2697
c7e73d51
GM
26982012-03-16 Glenn Morris <rgm@gnu.org>
2699
da986230
GM
2700 * view.el (view-buffer, view-buffer-other-window)
2701 (view-buffer-other-frame): Doc fixes re special mode-class.
2702
0835f01e
GM
2703 * subr.el (eval-after-load): If named feature is provided not from
2704 a file, run after-load forms. (Bug#10946)
2705
c7e73d51
GM
2706 * calendar/calendar.el (calendar-insert-at-column):
2707 Handle non-unit-width characters a bit better. (Bug#10978)
2708
3f2eafd1
CY
27092012-03-15 Chong Yidong <cyd@gnu.org>
2710
2711 * emacs-lisp/ring.el (ring-extend): New function.
2712 (ring-insert+extend): Extend the ring correctly (Bug#11019).
2713
2714 * comint.el (comint-read-input-ring)
2715 (comint-add-to-input-history): Grow comint-input-ring lazily.
2716
103af3fe
SM
27172012-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
2718
663b1677
SM
2719 * progmodes/perl-mode.el (perl-syntax-propertize-special-constructs):
2720 Fix up parsing of multiline twoarg non-paired elements (bug#11014).
2721
103af3fe
SM
2722 * imenu.el: Fix multiple inheritance breakage (bug#9199).
2723 (imenu-add-to-menubar): Don't add a redundant index.
2724 (imenu-update-menubar): Handle a dynamically composed keymap.
2725
899cb7cb
KY
27262012-03-13 Katsumi Yamaoka <yamaoka@jpl.org>
2727
2728 * mail/sendmail.el (mail-encode-header):
2729 Bind rfc2047-encode-encoded-words to nil.
2730
3809f91d
GM
27312012-03-13 Glenn Morris <rgm@gnu.org>
2732
2733 * calendar/calendar.el (calendar-string-spread):
2734 Handle non-unit-width characters a bit better. (Bug#10978)
2735
9e345a01
LL
27362012-03-13 Leo Liu <sdl.web@gmail.com>
2737
2738 * vc/vc-hg.el (vc-hg-working-revision): Rework to work with both
2739 directory and file as argument (Bug#10822).
2740
4a07df36
KS
27412012-03-13 Kaushik Srenevasan <ksrenevasan@gmail.com> (tiny change)
2742
2743 * progmodes/gdb-mi.el (gdb-invalidate-disassembly):
2744 For dynamically generated code, follow $PC.
2745 (gdb-disassembly-handler-custom): Handle no function name case.
2746
4aaa9356
TL
27472012-03-13 Tim Landscheidt <tim@tim-landscheidt.de> (tiny change)
2748
2749 * calendar/icalendar.el (icalendar-export-file, icalendar-import-file):
2750 * emulation/ws-mode.el (ws-query-replace):
2751 * sort.el (sort-regexp-fields):
2752 Fix missing trailing whitespace in interactive prompts. (Bug#11002)
2753
225979da
SM
27542012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
2755
2756 * dabbrev.el: Fix cycle completion order (bug#10963).
2757 (dabbrev--last-obarray, dabbrev--last-completion-buffer): Remove.
2758 (dabbrev-completion): Don't use an obarray; provide
2759 a cycle-sort-function.
2760
e2f1fdab
LL
27612012-03-12 Leo Liu <sdl.web@gmail.com>
2762
dc9924b8 2763 * simple.el (kill-new): Use equal-including-properties for comparison.
e2f1fdab
LL
2764 (kill-do-not-save-duplicates): Doc fix.
2765
b19490ed
SM
27662012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
2767
2768 * dabbrev.el: Fix cycle completion (bug#10963).
2769 Use lexical binding and wrap to 80 columns.
2770 (dabbrev-completion): Delay computing the list of completions.
2771
4b05d722
KH
27722012-03-12 Kenichi Handa <handa@m17n.org>
2773
2774 * international/quail.el (quail-insert-kbd-layout): Surround each
2775 row by LRO and PDF instead of inserting many LRMs. Pad the left
2776 and right of each non-spacing marks. Insert invisible space
2777 between lower and upper characters to prevent composition.
2778
dbbc2e69
SM
27792012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
2780
2781 * minibuffer.el (minibuffer-complete): Don't get confused when the
2782 function is run twice via different commands (bug#10958).
2783 (complete-with-action): Fix docstring.
2784
292112ed
CY
27852012-03-12 Chong Yidong <cyd@gnu.org>
2786
5d1ac394
CY
2787 * nxml/nxml-mode.el (nxml-mode-map): Do not bind C-RET (Bug#6776).
2788 (nxml-completion-at-point-function): New function.
2789 (nxml-mode): Use it.
2790 (nxml-bind-meta-tab-to-complete-flag): Default to t.
2791
292112ed
CY
2792 * emacs-lisp/package.el (package-unpack, package-unpack-single):
2793 Load generated autoloads file before byte compiling (Bug#10970).
2794 (package--make-autoloads-and-compile): New helper fun.
2795
4098f8f7
CS
27962012-03-12 Christopher Schmidt <christopher@ch.ristopher.com>
2797
2798 * ibuffer.el (ibuffer-redisplay): Remove another gratuitous error.
2799
8f754691
MA
28002012-03-11 Michael Albinus <michael.albinus@gmx.de>
2801
2802 * autorevert.el (auto-revert-handler): Ensure, that
2803 file-readable-p is applied only for local files or in
2804 auto-revert-tail-mode.
2805
e29ab36b
AS
28062012-03-11 Andreas Schwab <schwab@linux-m68k.org>
2807
dbbc2e69
SM
2808 * server.el (server-eval-at): Handle non-tcp connections.
2809 Decode result string.
ad0bf5b6 2810
e29ab36b
AS
2811 * server.el (server-msg-size): New constant.
2812 (server-reply-print): New function.
2813 (server-eval-and-print): Use it.
2814 (server-eval-at): Use server-quote-arg and server-unquote-arg.
2815 Handle -print-nonl.
2816
de5939ba
CS
28172012-03-11 Christopher Schmidt <christopher@ch.ristopher.com>
2818
2819 * ibuffer.el (ibuffer-redisplay): Remove gratuitous error
2820 (Bug#10987).
2821
0c93eabf
CY
28222012-03-11 Chong Yidong <cyd@gnu.org>
2823
397a688f
CY
2824 * simple.el (goto-line): Doc fix (Bug#9938).
2825
2cc775f9
CY
2826 * subr.el (save-window-excursion): Doc fix (Bug#9979).
2827
0c93eabf
CY
2828 * dabbrev.el (dabbrev--find-expansion): Update progress reporter
2829 when finished (Bug#10963).
2830
c491fa41
MR
28312012-03-11 Martin Rudalics <rudalics@gmx.at>
2832
2833 * window.el (split-window-below): Fix bug in case where
2834 split-window-keep-point is nil (Bug#10971).
2835
300e8fa5
JL
28362012-03-11 Juri Linkov <juri@jurta.org>
2837
2838 * replace.el (replace-highlight): Set isearch-word to nil
2839 unconditionally. (Bug#10887)
2840
dbf6c5a1
EZ
28412012-03-10 Eli Zaretskii <eliz@gnu.org>
2842
2843 * net/mairix.el (mairix-replace-invalid-chars): Rename from
2844 mairix-replace-illegal-chars; all callers changed. Don't remove
dc9924b8 2845 ^, ~, and = characters: they are meaningful in mairix search specs.
dbf6c5a1
EZ
2846 (mairix-widget-create-query): Add usage information about mairix
2847 search forms: negating words, searching for substrings, etc.
2848
b9e501de
JP
28492012-03-10 Jae-hyeon Park <jae-hyeon.park@desy.de> (tiny change)
2850
2851 * international/fontset.el (font-encoding-alist): Add an entry for
2852 ksx1001 (Bug#5667).
2853
92795c91
RS
28542012-03-10 Richard Stallman <rms@gnu.org>
2855
1694e6c1
RS
2856 * mail/sendmail.el (mail-encode-header):
2857 Set rfc2047-encode-encoded-words.
2858
607e8555
RS
2859 * mail/mail-utils.el (mail-quote-printable): Quote multibyte chars.
2860
de3bc99a
RS
2861 * mail/rmail.el (rmail-buffers-swapped-p): Don't assume dead
2862 view buffer means not swapped.
2863 (rmail-view-buffer-kill-buffer-hook): Give buf name in error msg.
2864 (rmail-write-region-annotate): Error if real text has disappeared.
2865
92795c91
RS
2866 * epa-mail.el (epa-mail-encrypt): Bind inhibit-read-only.
2867
699bd04e
CY
28682012-03-10 Chong Yidong <cyd@gnu.org>
2869
2870 * emulation/cua-rect.el (cua--init-rectangles):
dbbc2e69
SM
2871 * emulation/cua-base.el (cua--init-keymaps):
2872 Add delete-forward-char to remappings (Bug#9666).
699bd04e 2873
570a1714
MR
28742012-03-10 Martin Rudalics <rudalics@gmx.at>
2875
dbbc2e69
SM
2876 * speedbar.el (speedbar-unhighlight-one-tag-line):
2877 Avoid unhighlighting due to frame switching (Bug#10275).
570a1714 2878
82dcf4e4
CY
28792012-03-10 Chong Yidong <cyd@gnu.org>
2880
7a2c7ca7
CY
2881 * minibuffer.el (completion-in-region, completion-help-at-point):
2882 Give the completion field overlay a high priority (Bug#6830).
2883
82dcf4e4
CY
2884 * dired.el (dired-goto-file): Recognize absolute file name
2885 listings (Bug#7126).
2886 (dired-goto-file-1): New helper function.
2887 (dired-toggle-read-only): Inhibit warnings.
2888
052e28ac
MA
28892012-03-09 Michael Albinus <michael.albinus@gmx.de>
2890
75f1671a 2891 * net/dbus.el (dbus-property-handler): Return empty array if
052e28ac
MA
2892 there are no properties.
2893
95d5e396
LL
28942012-03-09 Leo Liu <sdl.web@gmail.com>
2895
2896 * savehist.el (savehist-printable): Stricter check for string
2897 value (Bug#10937).
2898
3f018d6d
EZ
28992012-03-09 Eli Zaretskii <eliz@gnu.org>
2900
dbbc2e69
SM
2901 * mail/smtpmail.el (smtpmail-send-it):
2902 Bind coding-system-for-write to *-unix, so that FCC files are kept in
3f018d6d
EZ
2903 valid mbox format.
2904
f7fd3d79
GM
29052012-03-09 Glenn Morris <rgm@gnu.org>
2906
2907 * files.el (dir-locals-find-file):
2908 Don't check result is regular, readable.
2909 (dir-locals-read-from-file): Demote errors.
2910
6ff6e72f
EZ
29112012-03-08 Eli Zaretskii <eliz@gnu.org>
2912
dbbc2e69
SM
2913 * international/quail.el (quail-insert-kbd-layout):
2914 Insert invisible LRM characters before each character in a keyboard
6ff6e72f
EZ
2915 layout cell, to prevent their reordering by bidi display engine.
2916 For details, see the discussion in
2917 http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00085.html.
2918
9cec7834
AM
29192012-03-08 Alan Mackenzie <acm@muc.de>
2920
2921 * progmodes/cc-cmds.el (c-mark-function): Make it leave a mark at
2922 the starting position; make it extend the marked region when
2923 invoked repeatedly - all under appropriate circumstances.
2924 Fixes bugs #5525, #10906.
2925
9a40b8d4
GM
29262012-03-08 Glenn Morris <rgm@gnu.org>
2927
2928 * files.el (locate-dominating-file, dir-locals-find-file):
2929 Undo 2012-03-06 change.
2930
7a08ed35
EZ
29312012-03-07 Eli Zaretskii <eliz@gnu.org>
2932
dbbc2e69
SM
2933 * international/quail.el (quail-help):
2934 Force bidi-paragraph-direction be left-to-right. See discussion in
7a08ed35
EZ
2935 http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00062.html
2936 for the reason.
2937
5aca4f71 29382012-03-07 Michael Albinus <michael.albinus@gmx.de>
6612a284
MA
2939
2940 Avoid superfluous registering of signals. (Bug#10807)
2941
2942 * notifications.el (notifications-on-action-object)
2943 (notifications-on-close-object): New defvars.
2944 (notifications-on-action-signal, notifications-on-closed-signal):
2945 Unregister the signal if not needed any longer.
2946 (notifications-notify): Register `notifications-action-signal' or
2947 `notifications-closed-signal', if :on-action or :on-close has been
2948 passed as argument.
2949
78e8b10a
CY
29502012-03-07 Chong Yidong <cyd@gnu.org>
2951
2952 * cus-start.el: Avoid x-select-enable-clipboard-manager warning on
2953 non-X platforms.
2954
69481eb8
GM
29552012-03-06 Glenn Morris <rgm@gnu.org>
2956
2957 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
2958 (x-disown-selection-internal, x-get-selection-internal):
2959 Doc fix (add arglist signatures). (Bug#10783)
2960
133b8e11
KS
29612012-03-06 Kaushik Srenevasan <ksrenevasan@gmail.com> (tiny change)
2962
2963 * progmodes/gdb-mi.el (gdb-breakpoints-list-handler-custom):
2964 Handle breakpoints with no "type".
2965
99a83064
GM
29662012-03-06 Glenn Morris <rgm@gnu.org>
2967
2968 * files.el (locate-dominating-file): Add optional predicate argument.
2969 (dir-locals-find-file): Make use of above change.
2970
17798e78
TTN
29712012-03-06 Thien-Thi Nguyen <ttn@gnuvola.org>
2972
2973 * info.el (Info-insert-dir): Also try "dir.gz".
2974
eb182446
GM
29752012-03-06 Glenn Morris <rgm@gnu.org>
2976
8f2114ee
GM
2977 * files.el (dir-locals-find-file):
2978 Ignore non-readable or non-regular files. (Bug#10928)
2979
eb182446
GM
2980 * files.el (locate-dominating-file): Doc fix.
2981
24679323
AS
29822012-03-06 Adam Spiers <emacs@adamspiers.org> (tiny change)
2983
2984 * calendar/calendar.el (calendar-set-mode-line):
2985 `getenv' returns a string. (Bug#10951)
2986
01d972a9
LL
29872012-03-05 Leo Liu <sdl.web@gmail.com>
2988
109aa8a9
LL
2989 * simple.el (backward-delete-char-untabify): Constrain point to
2990 field (Bug#10939).
2991
01d972a9
LL
2992 * eshell/em-cmpl.el (eshell-cmpl-initialize): Fix shift-tab key.
2993
10607bea
CY
29942012-03-05 Chong Yidong <cyd@gnu.org>
2995
2996 * simple.el (count-words): If called from Lisp, return the word
2997 count, for symmetry with `count-lines'. Arglist changed.
2998 (count-words--message): Args changed. Consolidate counting code
2999 from count-words and count-words-region.
3000 (count-words-region): Caller changed.
3001 (count-lines-region): Make it an obsolete alias.
3002
5dd11cfe
TH
30032012-03-04 Tassilo Horn <tassilo@member.fsf.org>
3004
3005 * saveplace.el (save-place-to-alist)
3006 (save-place-ignore-files-regexp): Allow value nil to disable this
3007 feature.
3008
c349f4e6
CY
30092012-03-04 Chong Yidong <cyd@gnu.org>
3010
3011 * faces.el (face-spec-reset-face): For the default face, reset the
3012 attributes to default values (Bug#10748).
3013
e627be4c
LMI
30142012-03-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
3015
3016 * mail/emacsbug.el (report-emacs-bug-hook): Fix up thinko in
3017 previous patch: Check `message-send-mail-function', and not the
3018 default function (bug#10897).
3019
ebeabff4
MA
30202012-03-04 Michael Albinus <michael.albinus@gmx.de>
3021
a41a6cf4
MA
3022 * notifications.el (notifications-on-action-signal)
3023 (notifications-on-closed-signal): Check for unique service name of
3024 incoming event. Fix error in removing entry.
ebeabff4 3025 (top): Register for signals with wildcard service name.
a41a6cf4 3026 (notifications-notify): Use daemon unique service name for map entries.
ebeabff4 3027
c1ca42b4
CY
30282012-03-04 Chong Yidong <cyd@gnu.org>
3029
dc9924b8 3030 * cus-start.el: Make x-select-enable-clipboard-manager customizable.
c1ca42b4 3031
ea16568d
GM
30322012-03-04 Glenn Morris <rgm@gnu.org>
3033
3034 * abbrev.el (copy-abbrev-table, abbrev-table-p)
3035 (abbrev-minor-mode-table-alist, define-abbrev, abbrev-insert)
3036 (expand-abbrev, define-abbrev-table): Doc fixes.
3037
fbae4637
LMI
30382012-03-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
3039
3040 * mail/emacsbug.el (report-emacs-bug-hook): Look at the value of
3041 `message-default-send-mail-function' and not `send-mail-function'
3042 when doing the prompting for `sendmail-query-once' before sending
3043 in Message buffers (bug#10897).
3044
a1e7225c
LMI
3045 * net/tls.el (open-tls-stream): Don't set the dont-query-on-exit flag.
3046 This is inconsistent with all the other stream functions, which leave
3047 the setting up to the higher levels (if so wanted) (bug#10931).
3048
56d093a9
AM
30492012-03-02 Alan Mackenzie <acm@muc.de>
3050
3051 Depessimize the handling of very large macros.
3052
3053 * progmodes/cc-engine.el (c-macro-cache, c-macro-cache-start-pos):
3054 (c-macro-cache-syntactic): New variables to implement a one
3055 element macro cache.
3056 (c-invalidate-macro-cache): New function.
3057 (c-beginning-of-macro, c-end-of-macro, c-syntactic-end-of-macro):
3058 Adapt to use the new cache.
3059 (c-state-safe-place): Use better the cache of safe positions.
3060 (c-state-semi-nonlit-pos-cache)
3061 (c-state-semi-nonlit-pos-cache-limit):
3062 New variables for...
3063 (c-state-semi-safe-place): New function. Here, in a macro is "safe".
3064 (c-invalidate-state-cache-1): New stuff for c-state-semi-safe-place.
dbbc2e69
SM
3065 (c-in-literal, c-literal-limits, c-determine-limit-get-base):
3066 Use c-state-semi-safe-place.
56d093a9 3067
dbbc2e69
SM
3068 * progmodes/cc-langs.el (c-get-state-before-change-functions):
3069 Add c-invalidate-macro-cache to the C, C++, Obj entries.
56d093a9 3070
817e5c3d
MA
30712012-03-02 Michael Albinus <michael.albinus@gmx.de>
3072
dbbc2e69
SM
3073 * jka-compr.el (jka-compr-call-process):
3074 Apply `file-accessible-directory-p' only when the default directory is
817e5c3d
MA
3075 not remote.
3076
a032a702
MA
30772012-03-01 Michael Albinus <michael.albinus@gmx.de>
3078
3079 * files.el (file-equal-p): Fix docstring. Avoid unnecessary
3080 access of FILE2, if FILE1 does not exist.
3081
99a54f21
MA
3082 * net/tramp-sh.el (tramp-remote-process-environment): Add "PAGER=\"\"".
3083 Reported by Robert Lupton the Good <rhl@astro.princeton.edu>.
3084
3085 * vc/vc-git.el (vc-git--call): Enable `inhibit-null-byte-detection'.
3086 Add "PAGER=" to `process-environment'.
3087
f6561e1f
MM
30882012-03-01 Michael R. Mauger <mmaug@yahoo.com>
3089
3090 * progmodes/sql.el: Bug fix
3091 (sql-get-login-ext): Save login values in globals.
3092 (sql-get-login): Use new version of `sql-get-login-ext'.
3093 (sql-interactive-mode): Set global `sql-connection' to nil.
3094 (sql-connect): Set global values for connection.
3095 (sql-product-interactive): Save global values as buffer local.
3096
2d44d9cc
LL
30972012-02-29 Leo Liu <sdl.web@gmail.com>
3098
3099 * abbrev.el (define-abbrevs): Reset sys to nil.
3100
96b49301 31012012-02-28 Thierry Volpiatto <thierry.volpiatto@gmail.com>
3102
bf7f9bc5
JB
3103 * files.el (file-equal-p): Rename from `files-equal-p'.
3104 Return nil when one or both files don't exist.
96b49301 3105 (file-subdir-of-p): Now only top directory must exists,
3106 return nil if it doesn't.
bf7f9bc5
JB
3107 (copy-directory): No need to test with `file-subdir-of-p' after
3108 creating dir.
3109 * net/tramp.el (tramp-file-name-for-operation): Rename `files-equal-p'
3110 to `file-equal-p'.
96b49301 3111
44e97401
GM
31122012-02-28 Glenn Morris <rgm@gnu.org>
3113
3114 * shell.el (shell-mode):
3115 * progmodes/vhdl-mode.el (wildcard-to-regexp, file-expand-wildcards):
3116 * play/landmark.el (landmark-font-lock-face-O):
3117 * play/handwrite.el (handwrite):
3118 * play/gomoku.el (gomoku-O):
3119 * net/browse-url.el (browse-url-browser-display):
3120 * international/mule.el (define-charset):
3121 * htmlfontify.el (hfy-etags-cmd, hfy-face-attr-for-class):
3122 * filesets.el (filesets-find-file-delay):
3123 * eshell/em-xtra.el (eshell-xtra):
3124 * eshell/em-unix.el (eshell-grep):
3125 * emulation/viper.el (viper-mode):
3126 * emacs-lisp/regexp-opt.el (regexp-opt-group):
3127 * emacs-lisp/easymenu.el (easy-menu-define):
3128 * calendar/timeclock.el (timeclock-use-display-time):
3129 * bs.el (bs-mode):
3130 * bookmark.el (bookmark-save-flag):
3131 Doc fix (standardize possessive apostrophe usage).
3132
c98c6276
CY
31332012-02-27 Chong Yidong <cyd@gnu.org>
3134
bf7f9bc5
JB
3135 * emulation/viper-cmd.el (viper-intercept-ESC-key):
3136 Fix key-binding lookup for ESC key (Bug#9146).
ecf5f74e 3137
c98c6276
CY
3138 * font-lock.el (font-lock-specified-p): Rename from
3139 font-lock-spec-present. Callers changed.
3140
9c62cd04 31412012-02-27 Daniel Hackney <dan@haxney.org>
8ac9e529 3142
bf7f9bc5
JB
3143 * emacs-lisp/package.el (package-compute-transaction):
3144 Handle holding a package version to t in package-load-list.
8ac9e529 3145
530739c9
MA
31462012-02-26 Michael Albinus <michael.albinus@gmx.de>
3147
3148 * net/tramp.el (tramp-inodes, tramp-devices): Initialize with 0.
3149 (tramp-get-inode, tramp-get-device): Use cached values.
3150
487915d7
AM
31512012-02-26 Alan Mackenzie <acm@muc.de>
3152
3153 Check there is a font-lock specification before doing initial
3154 fontification.
3155
3156 * font-core.el (font-lock-mode): Move the conditional from
3157 :after-hook to font-lock-initial-fontify.
3158 (font-lock-default-function): Move the check for a specification
3159 to font-lock-spec-present.
3160
dc9924b8 3161 * font-lock.el (font-lock-initial-fontify): Call ...
487915d7
AM
3162 (font-lock-spec-present): New function.
3163
4fd96557
JB
31642012-02-26 Jim Blandy <jimb@red-bean.com>
3165
3166 * progmodes/gdb-mi.el (gdb-mi-quote): New function.
3167 (gdb-send): Apply it to the operand of the '-interpreter-exec
3168 console' command, so that we can pass arguments with (say) quotes
3169 in them. Store exact string sent in gdb-debug-log (Bug#10765).
3170
9a4888c0
CY
31712012-02-26 Chong Yidong <cyd@gnu.org>
3172
07498861
CY
3173 * help-fns.el (describe-function-1): Clarify description of
3174 remapping (Bug#10844).
3175
9a4888c0
CY
3176 * files.el (files-equal-p): Doc fix.
3177 (file-subdir-of-p): Doc fix. Convert loop macro to plain Lisp,
3178 and quit the loop once a mismatch is found.
3179
ea8fb88d
JB
31802012-02-25 Juanma Barranquero <lekktu@gmail.com>
3181
3182 * bs.el (bs--show-with-configuration): Don't throw an error
3183 if the window cannot be split; otherwise, subsequent calls to
3184 bs-show fail, restoring a stale window config. (Bug#10882)
3185
525795c1
JD
31862012-02-25 Jan Djärv <jan.h.d@swipnet.se>
3187
3188 * term/ns-win.el (global-map): Bind ns-drag-file to
3189 ns-find-file (Bug#5855, Bug#10050).
3190
f008086f
AS
31912012-02-25 Andreas Schwab <schwab@linux-m68k.org>
3192
3193 * calendar/parse-time.el (parse-time-string): Allow extractor to
3194 return nil.
3195
a3fcfa99
MA
31962012-02-25 Michael Albinus <michael.albinus@gmx.de>
3197
91027d08
JB
3198 * net/tramp.el (tramp-file-name-for-operation):
3199 Add `files-equal-p' and `file-subdir-of-p'.
a3fcfa99
MA
3200
3201 * net/tramp-sh.el (tramp-sh-handle-copy-directory):
91027d08
JB
3202 * net/tramp-smb.el (tramp-smb-handle-copy-directory):
3203 Add COPY-CONTENTS argument.
a3fcfa99 3204
67b0de11
CY
32052012-02-25 Chong Yidong <cyd@gnu.org>
3206
3207 Add custom groups for VC backends, for consistency with vc-bzr.
3208
3209 * vc/vc-arch.el (vc-arch):
3210 * vc/vc-cvs.el (vc-cvs):
3211 * vc/vc-git.el (vc-git):
3212 * vc/vc-hg.el (vc-hg):
3213 * vc/vc-mtn.el (vc-mtn):
3214 * vc/vc-rcs.el (vc-rcs):
3215 * vc/vc-sccs.el (vc-sccs):
3216 * vc/vc-svn.el (vc-svn): New customization group (Bug#10871).
3217 All relevant defcustoms reassigned.
3218
3c9dfce6
CY
32192012-02-25 Chong Yidong <cyd@gnu.org>
3220
1339bf43
CY
3221 * newcomment.el (comment-styles): Add autoload (Bug#10868).
3222
3c9dfce6
CY
3223 * term/x-win.el (x-initialize-window-system): Reduce default for
3224 x-selection-timeout to 5 seconds (Bug#8869).
3225
25b2e303 32262012-02-24 Thierry Volpiatto <thierry.volpiatto@gmail.com>
3227
ec70a47d
GM
3228 * files.el (files-equal-p, file-subdir-of-p): New functions.
3229 (copy-directory): Error when trying to copy a directory on itself.
25b2e303 3230 Add missing copy-contents arg to tramp handler.
ec70a47d
GM
3231 * dired-aux.el (dired-copy-file-recursive): Same.
3232 (dired-create-files): Modify destination when source is equal to
3233 dest when copying files.
53a46cd0 3234 Return also when dest is a subdir of source. (Bug#10489)
25b2e303 3235
914260cd
MA
32362012-02-24 Michael Albinus <michael.albinus@gmx.de>
3237
3238 * net/ange-ftp.el (ange-ftp-parse-netrc): Suppress comment lines.
3239 (Bug#10874)
3240
2cb228f7
AM
32412012-02-23 Alan Mackenzie <acm@muc.de>
3242
3243 * emacs-lisp/easy-mmode.el (define-minor-mode): Add extra
3244 parameter "after-hook:" to allow the expansion to run code after
3245 the execution of the mode hooks.
3246
3247 * font-lock.el (font-lock-initial-fontify): New function extracted
91027d08 3248 from font-lock-mode-internal.
2cb228f7 3249
91027d08 3250 * font-core.el (font-lock-mode): Call font-lock-initial-fontify in
2cb228f7
AM
3251 :after-hook.
3252
8f0fde21
SM
32532012-02-23 Stefan Monnier <monnier@iro.umontreal.ca>
3254
3e88618b
SM
3255 * minibuffer.el: Make sure cycling is reset upon edit with icomplete.el.
3256 (completion--cache-all-sorted-completions): New function.
3257 (completion-all-sorted-completions): Use it.
3258 (completion--do-completion, minibuffer-force-complete):
3259 Use it to re-instate the flush hook.
3260
8f0fde21
SM
3261 * icomplete.el (icomplete-completions): Replace last fix with a better
3262 one (bug#10850).
3263
8e911f6f
DG
32642012-02-23 Dmitry Gutov <dgutov@yandex.ru>
3265
3266 * emacs-lisp/lisp.el (beginning-of-defun-raw): Don't call end-of-defun
3267 when it might call us back infinitely (bug#10797).
3268
49fe4321
GM
32692012-02-23 Glenn Morris <rgm@gnu.org>
3270
3271 * minibuffer.el (completion-category-overrides): Doc fix.
3272
b291b572
SM
32732012-02-23 Stefan Monnier <monnier@iro.umontreal.ca>
3274
3275 * minibuffer.el (completion-table-with-context): Fix inf-loop.
3276 Reported by Aaron S. Hawley <aaron.s.hawley@gmail.com>.
3277
31a9ef2e
GM
32782012-02-23 Glenn Morris <rgm@gnu.org>
3279
5e6e6794 3280 * emacs-lisp/authors.el (authors-aliases, authors-fixed-case)
31a9ef2e
GM
3281 (authors-obsolete-files-regexps, authors-ignored-files)
3282 (authors-ambiguous-files, authors-renamed-files-alist):
3283 Add more entries.
3284
0bd1e074
JL
32852012-02-23 Juri Linkov <juri@jurta.org>
3286
3287 * isearch.el (isearch-occur): Sync interactive spec with occur's
3288 new feature in `occur-read-primary-args'. Doc fix. (Bug#10705)
3289
b617673c
JL
3290 * replace.el (occur-menu-map): Add menu item for `occur-edit-mode'.
3291
19e9789e
JL
32922012-02-22 Juri Linkov <juri@jurta.org>
3293
3294 * international/mule-cmds.el (read-char-by-name): Use \` and \'.
3295 (ucs-insert): Doc fix. Check for hex digits in the string.
3296 Don't display `nil' in the error message. (Bug#10857)
3297
f41ce09d
AM
32982012-02-22 Alan Mackenzie <acm@muc.de>
3299
7a71b18d 3300 * progmodes/cc-mode.el: Revert change #2012-02-06T22:08:41Z!larsi@gnus.org from 2012-02-06.
f41ce09d 3301
ac2eceee
GM
33022012-02-22 Glenn Morris <rgm@gnu.org>
3303
3304 * ffap.el (ffap-c-path):
3305 * man.el (Man-header-file-path): Handle multiarch. (Bug#10702)
3306
abd1f678
CY
33072012-02-22 Chong Yidong <cyd@gnu.org>
3308
3309 * custom.el (load-theme): Doc fix.
3310
f25aef2e
GM
33112012-02-22 Glenn Morris <rgm@gnu.org>
3312
3313 * dired-x.el (dired-guess-shell-alist-default):
3314 Remove escape sequences from nroff output. (Bug#172)
3315
5f8dc2ca
GM
33162012-02-21 Glenn Morris <rgm@gnu.org>
3317
6ff86ec4
GM
3318 * vc/emerge.el (emerge-defvar-local):
3319 Set `permanent-local' property rather than unused `preserved'.
3320
be3223a3 3321 * textmodes/picture.el (picture-delete-char): New alias.
5f8dc2ca
GM
3322 (picture-mode-map): Use it. (Bug#10860)
3323 (picture-mode): Doc fix.
3324
3fe58f4f
JB
33252012-02-21 Juanma Barranquero <lekktu@gmail.com>
3326
3327 * newcomment.el (uncomment-region-default): Remove unused binding.
3328
f9a998c3
GM
33292012-02-21 Glenn Morris <rgm@gnu.org>
3330
3331 * textmodes/picture.el (picture-motion, picture-motion-reverse)
3332 (picture-self-insert, picture-tab-chars): Doc fix.
3333 (picture-mode-map): Fix C-a, C-e.
3334
c6029348
GM
33352012-02-20 Glenn Morris <rgm@gnu.org>
3336
3337 * emacs-lisp/authors.el (authors-aliases): Add another entry.
3338
ab1ce9d7
LL
33392012-02-20 Leo Liu <sdl.web@gmail.com>
3340
3341 * icomplete.el (icomplete-completions): Check FROM arg before
3342 passing to substring (Bug#10850).
3343
0fd40f89
CY
33442012-02-19 Chong Yidong <cyd@gnu.org>
3345
3346 * comint.el: Require ansi-color.
3347 (comint-output-filter-functions): Add ansi-color-process-output.
3348
3349 * ansi-color.el: Don't set comint-output-filter-functions; it is
3350 now in the initial value defined in comint.el.
3351 (ansi-color-apply-face-function): New variable.
3352 (ansi-color-apply-on-region): Use it.
3353 (ansi-color-apply-overlay-face): New function.
3354
3355 * shell.el (shell): No need to require ansi-color.
3356 (shell-mode): Use ansi-color-apply-face-function to highlight
3357 color escapes using font-lock-face property (Bug#10835).
3358
20af2394
CY
33592012-02-19 Chong Yidong <cyd@gnu.org>
3360
3361 * vc/ediff-init.el (ediff-strip-mode-line-format): Handle non-list
3362 mode-line formats (Bug#10839).
3363
e23a3fbe
GM
33642012-02-18 Glenn Morris <rgm@gnu.org>
3365
b474519e
GM
3366 * mail/rmail.el (rmail-dont-reply-to-names): Mark as obsolete.
3367
3368 * mail/undigest.el (unforward-rmail-message): Doc fix.
3369
e23a3fbe
GM
3370 * saveplace.el (save-place-ignore-files-regexp): Add :version.
3371
57939ff4
EZ
33722012-02-18 Eli Zaretskii <eliz@gnu.org>
3373
3374 * international/characters.el (script-list): Sync with the latest
3375 Unicode Character Database.
3376
0c23686e
AS
33772012-02-18 Andreas Schwab <schwab@linux-m68k.org>
3378
3379 * international/titdic-cnv.el: Remove duplicate coding tag.
3380 * language/cham.el: Likewise.
3381 * language/tai-viet.el: Likewise.
3382
6818b449
GM
33832012-02-18 Glenn Morris <rgm@gnu.org>
3384
3385 * calendar/cal-menu.el (cal-menu-diary-menu, cal-menu-goto-menu):
3386 * calendar/calendar.el (diary-file, diary-bahai-entry-symbol)
3387 (calendar-bahai-all-holidays-flag, calendar-other-dates):
3388 * calendar/diary-lib.el (diary-abbreviated-year-flag):
3389 * calendar/holidays.el (holiday-bahai-holidays)
3390 (calendar-holidays, list-holidays):
3391 Use utf-8 Bahá'í in doc-strings, menus, etc.
3392
0311a3fc
TH
33932012-02-17 Tassilo Horn <tassilo@member.fsf.org>
3394
3395 * saveplace.el (save-place-ignore-files-regexp): New variable
3396 allowing for excluding files from saving their location of point.
3397 The default value matches the temporary commit message editing
3398 files from Git, SVN, Bazaar, and Mercurial.
3399 (save-place-to-alist): Use it.
3400
eb864a71
LM
34012012-02-17 Lawrence Mitchell <wence@gmx.li>
3402 Stefan Monnier <monnier@iro.umontreal.ca>
3403
3404 * newcomment.el (uncomment-region-default): Don't leave extra space
3405 when an arg is provided (bug#8150).
3406
ee0ce425
TZ
34072012-02-17 Teodor Zlatanov <tzz@lifelogs.com>
3408
eb864a71 3409 * net/gnutls.el (gnutls-trustfiles): Fix Cygwin bundle location.
ee0ce425 3410
95ddf442
GM
34112012-02-17 Glenn Morris <rgm@gnu.org>
3412
3413 * net/socks.el: Require network-stream. (Bug#10599)
3414
48dd1e39 34152012-02-17 Kenichi Handa <handa@m17n.org>
c406be43
KH
3416
3417 * international/charprop.el:
3418 * international/uni-name.el:
3419 * international/uni-old-name.el:
3420 * international/uni-comment.el: Regenerate.
3421
d68cd087
GM
34222012-02-16 Glenn Morris <rgm@gnu.org>
3423
3424 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits):
3425 Interactively in calendar buffer, give an error if not on a date.
3426
13932042
GM
34272012-02-15 Glenn Morris <rgm@gnu.org>
3428
3429 * shell.el (shell-delimiter-argument-list):
3430 Revert 2011-02-17 change. (Bug#8027)
3431
c3a70e2b
CY
34322012-02-15 Chong Yidong <cyd@gnu.org>
3433
60236b0d
CY
3434 * minibuffer.el (completion-at-point-functions): Doc fix.
3435
c3a70e2b
CY
3436 * custom.el (defcustom): Doc fix; note use of defvar.
3437
9f26dc24
GM
34382012-02-15 Glenn Morris <rgm@gnu.org>
3439
3440 * mail/smtpmail.el (smtpmail-smtp-user, smtpmail-stream-type):
3441 Doc fixes.
3442
6546b134
GM
34432012-02-14 Glenn Morris <rgm@gnu.org>
3444
3445 * mail/smtpmail.el (smtpmail-query-smtp-server): Give it a doc.
3446
d29b2b4c
LI
34472012-02-14 Lars Ingebrigtsen <larsi@gnus.org>
3448
3449 * mail/smtpmail.el (smtpmail-query-smtp-server): Fix typo in the
3450 way the ports list is computed.
835bdcba
LI
3451 (smtpmail-query-smtp-server): Prompt the user for a port number if
3452 we can't connect to any of the standard ports (bug#10810).
d29b2b4c 3453
08dcdbc9
TZ
34542012-02-14 Teodor Zlatanov <tzz@lifelogs.com>
3455
3456 * net/gnutls.el (gnutls-trustfiles): Add Cygwin location.
3457
2605051a
GM
34582012-02-13 Glenn Morris <rgm@gnu.org>
3459
3460 * minibuffer.el (read-file-name): Doc fix. (Bug#10798)
3461
7ee99f32
TZ
34622012-02-13 Teodor Zlatanov <tzz@lifelogs.com>
3463
3464 * net/gnutls.el (gnutls-trustfiles): New variable.
3465 (gnutls-negotiate): Use it.
3466
5f0af64f
LI
34672012-02-13 Lars Ingebrigtsen <larsi@gnus.org>
3468
3469 * simple.el (mail-user-agent): Mention that `gnus-user-agent' only
3470 does its stuff if Gnus is running.
3471
c14fcc95
AM
34722012-02-13 Alan Mackenzie <acm@muc.de>
3473
3474 Fix a loop in c-set-fl-decl-start.
3475
7a71b18d 3476 * progmodes/cc-engine.el (c-set-fl-decl-start): Add a check that
c14fcc95
AM
3477 c-backward-syntactic-ws actually moves backwards.
3478
142b4d90
LL
34792012-02-13 Leo Liu <sdl.web@gmail.com>
3480
3481 * net/rcirc.el (rcirc-markup-attributes): Move point to the
3482 beginning so that all \C-o chars are removed.
3483
fa9958a6
TZ
34842012-02-12 Teodor Zlatanov <tzz@lifelogs.com>
3485
dc9924b8 3486 * net/gnutls.el (gnutls-algorithm-priority): Add missing :group tag.
fa9958a6 3487
0bc5886a
AM
34882012-02-12 Alan Mackenzie <acm@muc.de>
3489
3490 Fix infinite loop with long macros.
4d6769e1 3491 * progmodes/cc-engine.el (c-state-safe-place): Handle macros properly.
0bc5886a 3492
d4bd55e7
CY
34932012-02-12 Chong Yidong <cyd@gnu.org>
3494
3495 * window.el (display-buffer): Doc fix (Bug#10785).
3496
66f3fe22
GM
34972012-02-12 Glenn Morris <rgm@gnu.org>
3498
bd7da63e
GM
3499 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
3500 (x-disown-selection-internal, x-get-selection-internal):
3501 Sync docs with the xselect.c versions.
3502
66f3fe22
GM
3503 * allout-widgets.el: Add missing license notice.
3504
3e0d2fa7
GM
35052012-02-11 Glenn Morris <rgm@gnu.org>
3506
cfecdf09
GM
3507 * select.el (x-get-selection-internal, x-own-selection-internal)
3508 (x-disown-selection-internal):
3509 * x-dnd.el (x-get-selection-internal): Update declarations.
3510
6d216d7f
GM
3511 * vc/log-view.el (vc-diff-internal): Remove unneeded declaration.
3512
2bed3f04
GM
3513 * window.el (window-sides-slots):
3514 * tool-bar.el (tool-bar-position):
3515 * term/xterm.el (xterm-extra-capabilities):
3516 * ses.el (ses-self-reference-early-detection):
3517 * progmodes/verilog-mode.el (verilog-auto-declare-nettype)
3518 (verilog-auto-wire-type)
3519 (verilog-auto-delete-trailing-whitespace)
3520 (verilog-auto-reset-blocking-in-non, verilog-auto-inst-sort)
3521 (verilog-auto-tieoff-declaration):
3522 * progmodes/sql.el (sql-login-hook, sql-ansi-statement-starters)
3523 (sql-oracle-statement-starters, sql-oracle-scan-on):
3524 * progmodes/prolog.el (prolog-align-comments-flag)
3525 (prolog-indent-mline-comments-flag, prolog-object-end-to-0-flag)
3526 (prolog-left-indent-regexp, prolog-paren-indent-p)
3527 (prolog-paren-indent, prolog-parse-mode, prolog-keywords)
3528 (prolog-types, prolog-mode-specificators)
3529 (prolog-determinism-specificators, prolog-directives)
3530 (prolog-electric-newline-flag, prolog-hungry-delete-key-flag)
3531 (prolog-electric-dot-flag)
3532 (prolog-electric-dot-full-predicate-template)
3533 (prolog-electric-underscore-flag, prolog-electric-tab-flag)
3534 (prolog-electric-if-then-else-flag, prolog-electric-colon-flag)
3535 (prolog-electric-dash-flag, prolog-old-sicstus-keys-flag)
3536 (prolog-program-switches, prolog-prompt-regexp)
3537 (prolog-debug-on-string, prolog-debug-off-string)
3538 (prolog-trace-on-string, prolog-trace-off-string)
3539 (prolog-zip-on-string, prolog-zip-off-string)
3540 (prolog-use-standard-consult-compile-method-flag)
3541 (prolog-use-prolog-tokenizer-flag, prolog-imenu-flag)
3542 (prolog-imenu-max-lines, prolog-info-predicate-index)
3543 (prolog-underscore-wordchar-flag, prolog-use-sicstus-sd)
3544 (prolog-char-quote-workaround):
3545 * progmodes/cc-vars.el (c-defun-tactic):
3546 * net/tramp.el (tramp-encoding-command-interactive)
3547 (tramp-local-end-of-line):
3548 * net/soap-client.el (soap-client):
3549 * net/netrc.el (netrc-file):
3550 * net/gnutls.el (gnutls):
3551 * minibuffer.el (completion-category-overrides)
3552 (completion-cycle-threshold)
3553 (completion-pcm-complete-word-inserts-delimiters):
3554 * man.el (Man-name-local-regexp):
3555 * mail/feedmail.el (feedmail-display-full-frame):
3556 * international/characters.el (glyphless-char-display-control):
3557 * eshell/em-ls.el (eshell-ls-date-format):
3558 * emacs-lisp/cl-indent.el (lisp-lambda-list-keyword-alignment)
3559 (lisp-lambda-list-keyword-parameter-indentation)
3560 (lisp-lambda-list-keyword-parameter-alignment):
3561 * doc-view.el (doc-view-image-width, doc-view-unoconv-program):
3562 * dired-x.el (dired-omit-verbose):
3563 * cus-theme.el (custom-theme-allow-multiple-selections):
3564 * calc/calc.el (calc-highlight-selections-with-faces)
3565 (calc-lu-field-reference, calc-lu-power-reference)
3566 (calc-note-threshold):
3567 * battery.el (battery-mode-line-limit):
3568 * arc-mode.el (archive-7z-extract, archive-7z-expunge)
3569 (archive-7z-update):
3570 * allout.el (allout-prefixed-keybindings)
3571 (allout-unprefixed-keybindings)
3572 (allout-inhibit-auto-fill-on-headline)
3573 (allout-flattened-numbering-abbreviation):
3574 * allout-widgets.el (allout-widgets-auto-activation)
3575 (allout-widgets-icons-dark-subdir)
3576 (allout-widgets-icons-light-subdir, allout-widgets-icon-types)
3577 (allout-widgets-theme-dark-background)
3578 (allout-widgets-theme-light-background)
3579 (allout-widgets-item-image-properties-emacs)
3580 (allout-widgets-item-image-properties-xemacs)
3581 (allout-widgets-run-unit-tests-on-load)
3582 (allout-widgets-time-decoration-activity)
3583 (allout-widgets-hook-error-post-time)
3584 (allout-widgets-track-decoration):
3585 Add missing :version tags to new defcustoms and defgroups.
3586
5fec1b8e
GM
3587 * progmodes/sql.el (sql-ansi-statement-starters)
3588 (sql-oracle-statement-starters): Add custom type.
3589
3e0d2fa7
GM
3590 * progmodes/prolog.el: Remove leading '*' from defcustom docs.
3591 (prolog-system-version): Give it a type.
3592
90b671e2
EZ
35932012-02-11 Eli Zaretskii <eliz@gnu.org>
3594
3595 * term/pc-win.el (x-select-text, x-selection-owner-p)
3596 (x-own-selection-internal, x-disown-selection-internal)
3597 (x-get-selection-internal): Sync doc strings and argument lists
3598 with xselect.c, common-win.el and x-win.el. (Bug#10783)
3599
5eac0c02
LL
36002012-02-11 Leo Liu <sdl.web@gmail.com>
3601
3602 * progmodes/python.el (python-end-of-statement): Fix infinite
3603 loop. (Bug#10788)
3604
f82cb659
GM
36052012-02-10 Glenn Morris <rgm@gnu.org>
3606
3607 * international/mule-cmds.el (unify-8859-on-encoding-mode)
3608 (unify-8859-on-decoding-mode): Properly mark as obsolete.
3609
cc26d239
LI
36102012-02-10 Lars Ingebrigtsen <larsi@gnus.org>
3611
3612 * mail/emacsbug.el (report-emacs-bug-hook): Query the user first
3613 about SMTP before checking the From header.
3614
91027d08 3615 * mail/sendmail.el (sendmail-query-user-about-smtp): Refactor out
cc26d239
LI
3616 into own function for reuse by emacsbug.el.
3617
1be3ca5a
LL
36182012-02-10 Leo Liu <sdl.web@gmail.com>
3619
3620 * subr.el (condition-case-unless-debug): Rename from
3621 condition-case-no-debug. All callers changed.
3622 (with-demoted-errors): Fix caller.
3623
3624 * vc/diff-mode.el (diff-auto-refine-mode, diff-hunk):
3625 * nxml/rng-valid.el (rng-do-some-validation):
3626 * emacs-lisp/package.el (package-refresh-contents)
3627 (package-menu-execute):
3628 * desktop.el (desktop-create-buffer):
91027d08 3629 * font-lock.el (lisp-font-lock-keywords-2): Caller changed.
1be3ca5a 3630
b011fbfe
GM
36312012-02-10 Glenn Morris <rgm@gnu.org>
3632
b2096d72
GM
3633 * textmodes/bibtex.el:
3634 Add missing :version tags for new/changed defcustoms.
3635
b011fbfe
GM
3636 * files.el (remote-file-name-inhibit-cache): Doc fixes.
3637
4c7e65bf
LI
36382012-02-09 Lars Ingebrigtsen <larsi@rusty>
3639
3640 * mail/smtpmail.el (smtpmail-user-mail-address): New function.
3641 (smtpmail-via-smtp): Use it, or fall back on the From address.
3642 (smtpmail-send-it): Ditto.
3643
f3934f6f
SM
36442012-02-09 Stefan Monnier <monnier@iro.umontreal.ca>
3645
3646 * emacs-lisp/bytecomp.el (byte-compile-file-form-defvar):
3647 Don't fallback on byte-compile-defvar. Optimize (defvar foo) away.
3648 (byte-compile-tmp-var): New const.
3649 (byte-compile-defvar): Use it to minimize .elc size.
3650 Just use `defvar' rather than simulate it (bug#10761).
3651
a075a2c5
GM
36522012-02-09 Glenn Morris <rgm@gnu.org>
3653
cf3aa21b
GM
3654 * files.el (rename-uniquely): Doc fix. (Bug#3806)
3655
354998cd
GM
3656 * progmodes/cc-guess.el (c-guess-offset-threshold, c-guess-region-max):
3657 Add :version tags.
3658
dc9924b8
SM
3659 * progmodes/compile.el (compilation-error-screen-columns)
3660 (compilation-first-column, compilation-filter-start): Doc fixes.
83274125 3661
dab3703d
GM
3662 * vc/log-view.el (log-view-toggle-entry-display):
3663 * vc/vc.el (vc-merge, vc-pull): Doc fixes.
3664
3f88cd72
GM
3665 * mail/emacsbug.el (report-emacs-bug-can-use-osx-open)
3666 (report-emacs-bug-can-use-xdg-email):
3667 (report-emacs-bug-insert-to-mailer): Doc fixes.
3668 (report-emacs-bug): Message fix.
3669
d95b247d
GM
3670 * net/browse-url.el (browse-url-can-use-xdg-open)
3671 (browse-url-xdg-open): Doc fixes.
3672
a075a2c5
GM
3673 * electric.el (electric-indent-mode, electric-pair-mode)
3674 (electric-layout-rules, electric-layout-mode): Doc fixes.
3675 (electric-pair-pairs, electric-pair-skip-self): Add :version tags.
3676
ffb6157e
MR
36772012-02-08 Martin Rudalics <rudalics@gmx.at>
3678
3679 * server.el (server-unselect-display): Don't inadvertently kill
3680 the current buffer. (Bug#10729)
3681
e1ac4066
GM
36822012-02-08 Glenn Morris <rgm@gnu.org>
3683
34e8a2da
GM
3684 * progmodes/sql.el (sql-port, sql-connection-alist, sql-list-all)
3685 (sql-list-table): Doc fixes.
3686
b4ac6e8c
GM
3687 * image-mode.el (image-transform-minor-mode-map, image-transform-mode):
3688 Comment out (does nothing).
3689
e1ac4066
GM
3690 * completion.el (dynamic-completion-mode):
3691 * dirtrack.el (dirtrack-debug-mode):
3692 * electric.el (electric-layout-mode):
3693 * epa-mail.el (epa-mail-mode, epa-global-mail-mode):
3694 * face-remap.el (text-scale-mode, buffer-face-mode):
3695 * iimage.el (iimage-mode):
3696 * image-mode.el (image-transform-mode):
3697 * minibuffer.el (completion-in-region-mode):
3698 * scroll-lock.el (scroll-lock-mode):
3699 * simple.el (next-error-follow-minor-mode):
3700 * tar-mode.el (tar-subfile-mode):
3701 * tooltip.el (tooltip-mode):
3702 * vcursor.el (vcursor-use-vcursor-map):
3703 * wid-browse.el (widget-minor-mode):
3704 * emulation/tpu-edt.el (tpu-edt-mode):
3705 * emulation/tpu-extras.el (tpu-cursor-free-mode):
3706 * international/iso-ascii.el (iso-ascii-mode):
3707 * language/thai-util.el (thai-word-mode):
3708 * mail/supercite.el (sc-minor-mode):
3709 * net/goto-addr.el (goto-address-mode):
3710 * net/rcirc.el (rcirc-multiline-minor-mode, rcirc-track-minor-mode):
3711 * progmodes/cwarn.el (cwarn-mode):
3712 * progmodes/flymake.el (flymake-mode):
3713 * progmodes/glasses.el (glasses-mode):
3714 * progmodes/hideshow.el (hs-minor-mode):
3715 * progmodes/pascal.el (pascal-outline-mode):
3716 * textmodes/enriched.el (enriched-mode):
3717 * vc/smerge-mode.el (smerge-mode):
3718 Doc fixes (minor mode argument).
3719
5e0d957f
EZ
37202012-02-07 Eli Zaretskii <eliz@gnu.org>
3721
3722 * ls-lisp.el (ls-lisp-sanitize): New function.
3723 (ls-lisp-insert-directory): Use it to fix or remove any elements
3724 in file-alist with missing attributes. (Bug#4673)
3725
98d7371e
AM
37262012-02-07 Alan Mackenzie <acm@muc.de>
3727
3728 Fix spurious recognition of c-in-knr-argdecl.
3729
3730 * progmodes/cc-engine.el (c-in-knr-argdecl): Check for '=' in a
3731 putative K&R region.
3732
667ced3a
AM
37332012-02-07 Alan Mackenzie <acm@muc.de>
3734
eb864a71
LM
3735 * progmodes/cc-engine.el (c-forward-objc-directive):
3736 Prevent looping in "#pragma mark @implementation".
667ced3a 3737
5b77774d
MA
37382012-02-07 Michael Albinus <michael.albinus@gmx.de>
3739
3740 * notifications.el (notifications-on-closed-signal): Make `reason'
3741 optional. (Bug#10744)
3742
af008560
GM
37432012-02-07 Glenn Morris <rgm@gnu.org>
3744
60d47423
GM
3745 * emacs-lisp/easy-mmode.el (define-minor-mode):
3746 Doc fixes for the macro and the mode it defines.
3747
dd605cc4
GM
3748 * image.el (imagemagick-types-inhibit): Doc fix.
3749
af008560
GM
3750 * cus-start.el (imagemagick-render-type): Add it.
3751
5cc59a37
LI
37522012-02-06 Lars Ingebrigtsen <larsi@gnus.org>
3753
4d6769e1
JB
3754 * progmodes/cc-mode.el (c-standard-font-lock-fontify-region-function):
3755 Set the default at load time, too, so that `font-lock-fontify-buffer'
3756 can be called without setting up the entire mode first. This fixes
3757 a bug in `mm-inline-text' with C MIME parts.
5cc59a37 3758
9a6dd747
CY
37592012-02-06 Chong Yidong <cyd@gnu.org>
3760
2d16b285
CY
3761 * simple.el (list-processes--refresh): Delete exited processes
3762 (Bug#8094).
3763
171e9b6e
CY
3764 * comint.el (comint-next-prompt): next-single-char-property-change
3765 and prev-single-char-property-change never return nil (Bug#8657).
3766
9a6dd747
CY
3767 * custom.el (defcustom): Doc fix (Bug#9711).
3768
aa4589a7
CY
37692012-02-05 Chong Yidong <cyd@gnu.org>
3770
5c2a252f
CY
3771 * cus-edit.el (custom-variable-reset-backup): Quote the value
3772 before storing it in the customized-value property (Bug#6712).
4aab9006 3773 (custom-display): Add a customization type tag.
983b9602 3774 (custom-buffer-create-internal): Improve tooltip message.
5c2a252f 3775
aa4589a7
CY
3776 * wid-edit.el (widget-field-value-get): New optional arg to
3777 suppress trailing whitespace truncation.
3778 (character): Use it (Bug#2689).
3779
1ff980ae
AS
37802012-02-05 Andreas Schwab <schwab@linux-m68k.org>
3781
3782 * progmodes/gud.el (gud-pv): Use pv instead of pv1.
3783 * progmodes/gdb-mi.el (gud-pp): Use pp instead of pp1.
3784
03988c98
CY
37852012-02-05 Chong Yidong <cyd@gnu.org>
3786
eeb6cc88
CY
3787 * cus-edit.el (custom-variable-value-create): For mismatched
3788 types, show the current value (Bug#7600).
3789
03988c98
CY
3790 * custom.el (defcustom): Doc fix.
3791
f8cdeef0
GM
37922012-02-05 Glenn Morris <rgm@gnu.org>
3793
3794 * font-lock.el (lisp-font-lock-keywords-2): Add with-wrapper-hook.
3795
0696d255
JB
37962012-02-05 Juanma Barranquero <lekktu@gmail.com>
3797
3798 * emacs-lisp/pp.el (pp-to-string): Use `with-temp-buffer'.
3799 (pp-buffer): Use `ignore-errors', `looking-at-p'.
3800 (pp-last-sexp): Use `looking-at-p'.
3801
34c99998
GM
38022012-02-04 Glenn Morris <rgm@gnu.org>
3803
8f05da42
GM
3804 * files.el (revert-buffer):
3805 Doc fix (mention revert-buffer-in-progress-p).
3806
f160676e
GM
3807 * emacs-lisp/ert-x.el (ert-simulate-command):
3808 Check deferred-action-list (which is obsolete) is bound.
3809
c7291ad9
GM
3810 * subr.el (with-wrapper-hook): Doc fixes.
3811
34c99998
GM
3812 * simple.el (filter-buffer-substring-functions)
3813 (buffer-substring-filters, filter-buffer-substring): Doc fixes.
3814
6283a7d3
LL
38152012-02-04 Lars Ljung <lars@matholka.se> (tiny change)
3816
3817 * eshell/esh-ext.el (eshell-windows-shell-file): Match "cmdproxy"
3818 anywhere in shell-file-name, not just at the beginning. (Bug#10523)
3819
e96e3013
LL
38202012-02-04 Leo Liu <sdl.web@gmail.com>
3821
3822 * emacs-lisp/smie.el: Fix dead link (Bug#10711).
3823
8ded50f2
GM
38242012-02-04 Glenn Morris <rgm@gnu.org>
3825
82ff1d13
GM
3826 * image.el (image-extension-data): Add obsolete alias.
3827
987a0a16
GM
3828 * isearch.el (isearch-update): Doc fix.
3829
ea32ef46
GM
3830 * facemenu.el (list-colors-display): Doc fix (minor rephrasing).
3831
8ded50f2
GM
3832 * ido.el (ido-find-file): Doc fix (ido-toggle-vc not on any key).
3833
eea14f31
GM
38342012-02-03 Glenn Morris <rgm@gnu.org>
3835
3836 * image.el (image-animated-p): Doc fix. Use image-animated-types.
3837 (image-animate-timeout): Doc fix.
3838
3839 * image-mode.el (image-animate-loop, image-toggle-animation): Doc fixes.
3840
12f381b7
GM
38412012-02-02 Glenn Morris <rgm@gnu.org>
3842
953cebf5
GM
3843 * server.el (server-auth-dir): Doc fix.
3844 (server-eval-at): Doc fix. Give an explicit error if !server-use-tcp.
3845
12f381b7
GM
3846 * subr.el (run-mode-hooks): Doc fix.
3847
953a8c3b
JL
38482012-02-02 Juri Linkov <juri@jurta.org>
3849
3850 * image-mode.el (image-toggle-display-image): Remove tautological
3851 `major-mode' from the `derived-mode-p' test.
3852
c5d3843c
KH
38532012-02-02 Kenichi Handa <handa@m17n.org>
3854
9f6e692e 3855 * composite.el (compose-region): Cancel previous change.
c5d3843c 3856
159462d4 38572012-02-02 Kenichi Handa <handa@m17n.org>
d2a51fd7
KH
3858
3859 * composite.el (compose-region, compose-string): Signal error for
3860 a null string component (Bug#6988).
3861
9f562668
CY
38622012-02-01 Chong Yidong <cyd@gnu.org>
3863
e2cef717
CY
3864 * view.el (view-buffer-other-window, view-buffer-other-frame):
3865 Handle special modes like view-buffer (Bug#10650).
3866 (view-buffer): Simplify.
3867
9f562668
CY
3868 * frame.el (set-frame-font): Tweak meaning of third argument.
3869
9f6e692e
JB
3870 * dynamic-setting.el (font-setting-change-default-font):
3871 Use set-frame-font (Bug#9982).
9f562668 3872
781acb9f
GM
38732012-02-01 Glenn Morris <rgm@gnu.org>
3874
6035be52
GM
3875 * progmodes/compile.el (compilation-internal-error-properties):
3876 Respect compilation-first-column in the "*compilation*" buffer.
3877
781acb9f
GM
3878 * emacs-lisp/easy-mmode.el (define-minor-mode):
3879 Relax :variable's test for a named function.
3880
abbceb00
AM
38812012-01-31 Alan Mackenzie <acm@muc.de>
3882
3883 * progmodes/cc-engine.el (c-guess-basic-syntax): CASE 5B.1: Fix an
3884 off by one error.
3885
fce3fdeb
CY
38862012-01-31 Chong Yidong <cyd@gnu.org>
3887
3888 * frame.el (set-frame-font): New arg ALL-FRAMES.
3889
3890 * menu-bar.el (menu-set-font): Use set-frame-font.
3891
3892 * faces.el (face-spec-reset-face): Don't apply unspecified
3893 attribute values to the default face.
3894
47893581
JB
38952012-01-31 Juanma Barranquero <lekktu@gmail.com>
3896
3897 * progmodes/cwarn.el (cwarn): Remove dead link.
3898 (cwarn-configuration, cwarn-verbose, cwarn-mode-text, cwarn-load-hook):
3899 Remove * from defcustom docstrings.
3900 (turn-on-cwarn-mode): Make obsolete.
3901 (c-at-toplevel-p): Remove compatibility code for Emacs 20.3 and older.
3902 (turn-on-cwarn-mode-if-enabled): Call `cwarn-mode'.
3903
e58e988a
GM
39042012-01-31 Glenn Morris <rgm@gnu.org>
3905
60dc2671 3906 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix.
6c9b47ae 3907 Fix :variable handling of mode a symbol not equal to modefun.
60dc2671 3908 Allow named functions to be used as the cdr of :variable.
e58e988a 3909
7a3f511d
GM
39102012-01-30 Glenn Morris <rgm@gnu.org>
3911
3912 * emacs-lisp/authors.el (authors-fixed-entries):
3913 Remove reference to deleted file rnewspost.el.
3914
cb882333
JB
39152012-01-29 Juanma Barranquero <lekktu@gmail.com>
3916
3917 * window.el (window-with-parameter): Remove unused variable `windows'.
3918 (window--side-check): Remove unused variable `code'.
3919 (window--resize-siblings): Remove unused variable `first'.
3920 (adjust-window-trailing-edge): Remove unused variable `failed'.
3921 (window-deletable-p, window--delete): Remove unused variable `buffer'.
3922 Use `let', not `let*'.
3923 (balance-windows-2): Remove unused variable `found'.
3924 (window--state-put-2): Remove unused variable `splits'.
3925 (window-state-put): Remove unused variable `selected'.
3926 (same-window-p): Use `string-match-p'.
3927 (display-buffer-assq-regexp): Remove unused variable `value'.
3928 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
3929 Mark argument ALIST as ignored.
3930 (pop-to-buffer): Remove unused variable `old-window'.
3931
907201af
EZ
39322012-01-29 Eli Zaretskii <eliz@gnu.org>
3933
3934 * jka-cmpr-hook.el (jka-compr-compression-info-list): Support .lz
3935 and .lzma compressed files.
3936
ea162670
CY
39372012-01-29 Chong Yidong <cyd@gnu.org>
3938
5b95ee8a
CY
3939 * frame.el (window-system-default-frame-alist): Doc fix.
3940
ea162670
CY
3941 * dynamic-setting.el (font-setting-change-default-font): Don't
3942 change the default face if SET-FONT argument is non-nil (Bug#9982).
3943
d6e6f4b1
SB
39442012-01-29 Samuel Bronson <naesten@gmail.com> (tiny change)
3945
3946 * custom.el (defcustom): Add doc link to Lisp manual (Bug#10635).
3947
0f29fa41 39482012-01-29 Syver Enstad <syver.enstad@cisco.com> (tiny change)
6b25e4e2
SE
3949
3950 * progmodes/gud.el (pdb): Give pdb full paths, to allow setting
3951 breakpoints in files outside current directory (Bug#6098).
3952
db174434
CY
39532012-01-29 Chong Yidong <cyd@gnu.org>
3954
6b25e4e2
SE
3955 * progmodes/python.el: Require ansi-color at top-level.
3956
6df6ae42
JB
3957 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-abbrev-table):
3958 Define and use in Emacs Lisp mode (Bug#9360).
db174434
CY
3959 (lisp-mode-abbrev-table): Add doc.
3960 (lisp-mode-variables): Don't set local-abbrev-table.
3961 (lisp-interaction-mode): Use emacs-lisp-mode-abbrev-table.
3962
e70ee681
RW
39632012-01-28 Roland Winkler <winkler@gnu.org>
3964
3965 * textmodes/bibtex.el (bibtex-vec-incr): Fix docstring.
3966
ace88aa2
RW
39672012-01-28 Roland Winkler <winkler@gnu.org>
3968
3969 * textmodes/bibtex.el (bibtex-entry-alist): New function.
3970 (bibtex-set-dialect): Use it. Either set global values of
3971 dialect-dependent variables or bind these variables buffer-locally
3972 (Bug#10254).
3973 (bibtex-mode): Call bibtex-set-dialect via
3974 hack-local-variables-hook.
eb864a71
LM
3975 (bibtex-dialect): Update docstring.
3976 Add safe-local-variable predicate.
ace88aa2
RW
3977 (bibtex-entry-alist, bibtex-field-alist): Initialize via
3978 bibtex-set-dialect.
3979 (bibtex-mode-map): Define menu for each dialect.
3980 (bibtex-entry): Fix docstring.
3981
93376c5b
CY
39822012-01-28 Chong Yidong <cyd@gnu.org>
3983
3984 * eshell/esh-arg.el (eshell-quote-argument): New function.
3985
3986 * eshell/esh-ext.el (eshell-invoke-batch-file):
3987 * eshell/em-unix.el (eshell/cat, eshell/du): Use it to quote the
3988 first arg to eshell-parse-command (Bug#10523).
3989
4372494f
DA
39902012-01-28 Drew Adams <drew.adams@oracle.com>
3991
3992 * net/ange-ftp.el (ange-ftp-canonize-filename): Check, that
3993 `default-directory' is non-nil.
3994
4d4ec1f8
EZ
39952012-01-28 Eli Zaretskii <eliz@gnu.org>
3996
3997 * mail/emacsbug.el (report-emacs-bug): Fill the potentially long
3998 line that displays system-configuration-options. (Bug#9924)
3999
7c188927
DA
40002012-01-28 Drew Adams <drew.adams@oracle.com>
4001
4002 * descr-text.el (describe-char): Show information about POS, in
4003 addition to information about the character at POS. Improve and
4004 update the doc string. Change "code point" to "code point in
4005 charset", to avoid confusion with the character's Unicode code
4006 point shown above that. (Bug#10129)
4007
e0da685a
EZ
40082012-01-28 Eli Zaretskii <eliz@gnu.org>
4009
4010 * descr-text.el (describe-char): Show the raw character, not only
4011 its display form at POS. Suggested by Kenichi Handa <handa@m17n.org>.
4012 See http://lists.gnu.org/archive/html/emacs-devel/2012-01/msg00760.html
4013 for the reasons.
4014
70550acf
PH
40152012-01-28 Phil Hagelberg <phil@hagelb.org>
4016
eb864a71
LM
4017 * emacs-lisp/package.el (package-install):
4018 Run package-refresh-contents if there is no archive yet (Bug#9798).
70550acf 4019
0ce8e868
CY
40202012-01-28 Chong Yidong <cyd@gnu.org>
4021
cb882333
JB
4022 * emacs-lisp/package.el (package-maybe-load-descriptor):
4023 New function, split from package-maybe-load-descriptor.
0ce8e868
CY
4024 (package-maybe-load-descriptor): Use it.
4025 (package-download-transaction): Fully load required packages
4026 inside the loop, so that `require' calls work (Bug#10593).
4027 (package-install): No need to call package-initialize now.
4028
2e7f3bea
CY
40292012-01-28 Chong Yidong <cyd@gnu.org>
4030
6e9bad14
CY
4031 * simple.el (deactivate-mark): Doc fix (Bug#8614).
4032
f823b8ca
CY
4033 * tooltip.el (tooltip-mode): Doc fix.
4034 (tooltip-use-echo-area): Mark as obsolete (Bug#6595).
4035
2680c309
CY
4036 * frame.el (set-cursor-color): Doc fix (Bug#352).
4037
d7a9e63b
CY
4038 * mail/rmail.el (rmail-start-mail): Add send-action again (Bug#10625).
4039 (rmail-mail-return): Switch to NEWBUF only if it is non-nil.
4040
2e7f3bea
CY
4041 * cus-edit.el (custom-buffer-create-internal): Fix search button
4042 action (Bug#10542).
2ae01800 4043 (customize-unsaved, customize-saved): Doc fix (Bug#10541).
2e7f3bea 4044
fc4f7a23
EW
40452012-01-27 Eduard Wiebe <usenet@pusto.de>
4046
4047 * dired.el (dired-mark-files-regexp):
4048 Include any subdirectory components. (Bug#10445)
4049
7dd37071
ML
40502012-01-27 Mike Lamb <mrlamb@gmail.com> (tiny change)
4051
4052 * pcmpl-unix.el (pcmpl-ssh-known-hosts):
4053 Handle [host]:port syntax. (Bug#10533)
4054
a268160b
AH
40552012-01-27 Alex Harsanyi <harsanyi@mac.com>
4056
4057 * xml.el (xml-parse-tag): Fix parsing of comments (Bug#10405).
4058
e43273ef
GM
40592012-01-26 Glenn Morris <rgm@gnu.org>
4060
4061 * dired-x.el (dired-bind-jump): Use ctl-x-map and ctl-x-4-map.
4062 * term.el (term-raw-escape-map): Use Control-X-prefix.
4063 * vc/vc-hooks.el (vc-prefix-map): Use ctl-x-map. (Bug#10566)
4064
1edf595d
MR
40652012-01-25 Martin Rudalics <rudalics@gmx.at>
4066
4067 * window.el (window-state-get, window--state-get-1): Don't deal
4068 with fixed-sizeness of windows. Simplify code.
4069
fa8eafef
JC
40702012-01-25 Jérémy Compostella <jeremy.compostella@gmail.com>
4071
6df6ae42
JB
4072 * window.el (window--state-get-1, window--state-put-2):
4073 Don't save and restore the mark.
fa8eafef 4074
0b21c100
CY
40752012-01-25 Chong Yidong <cyd@gnu.org>
4076
4077 * custom.el (custom-variable-p): Doc fix.
4078
5ae1a6c8
GM
40792012-01-25 Glenn Morris <rgm@gnu.org>
4080
40047858
GM
4081 * dired.el (dired-goto-file): Handle some of the more common
4082 characters that `ls -b' escapes. (Bug#10596)
4083
5ddce96c
GM
4084 * progmodes/compile.el (compilation-next-error-function):
4085 Respect compilation-first-column in the "*compilation*" buffer.
4086 * progmodes/grep.el (grep-first-column): New variable. (Bug#10594)
4087
5ae1a6c8
GM
4088 * vc/vc.el (vc-modify-change-comment): Scoping fix. (Bug#10513)
4089
b559f1a9
GM
40902012-01-24 Glenn Morris <rgm@gnu.org>
4091
4092 * pcmpl-gnu.el (pcomplete/tar): Handle " - ". (Bug#10457)
4093
6725d21a
JD
40942012-01-24 Julien Danjou <julien@danjou.info>
4095
4096 * color.el (color-rgb-to-hsl): Fix value computing.
4097 (color-hue-to-rgb): New function.
4098 (color-hsl-to-rgb): New function.
4099 (color-clamp, color-saturate-hsl, color-saturate-name)
4100 (color-desaturate-hsl, color-desaturate-name, color-lighten-hsl)
4101 (color-lighten-name, color-darken-hsl, color-darken-name): New function.
4102
70df4bbe
GM
41032012-01-24 Glenn Morris <rgm@gnu.org>
4104
4105 * vc/vc-rcs.el (vc-rcs-create-tag):
4106 * vc/vc-sccs.el (vc-sccs-create-tag):
4107 Fix argument spec to be what vc-create-tag expects. (Bug#10515)
4108
802a2ae2
ML
41092012-01-23 Mike Lamb <mrlamb@gmail.com> (tiny change)
4110
4111 * eshell/esh-util.el (eshell-read-hosts-file):
4112 Skip comment lines. (Bug#10549)
4113
d7128bb1
ML
4114 * eshell/em-unix.el (pcomplete/ssh): Remove. (Bug#10548)
4115
d1a5c3b4
JB
41162012-01-23 Juanma Barranquero <lekktu@gmail.com>
4117
2724d9c7
JB
4118 * subr.el (display-delayed-warnings): Doc fix.
4119 (collapse-delayed-warnings): New function to collapse identical
4120 adjacent warnings.
4121 (delayed-warnings-hook): Add it.
d1a5c3b4 4122
a5509865
MA
41232012-01-22 Michael Albinus <michael.albinus@gmx.de>
4124
4125 * net/tramp.el (tramp-action-login): Set connection property "login-as".
4126
4127 * net/tramp-cache.el (tramp-dump-connection-properties): Do not dump
4128 properties, when "login-as" is set.
4129
4130 * net/tramp-sh.el (tramp-methods): Add user spec to "pscp" and "psftp".
4131 (tramp-default-user-alist): Don't add "pscp".
4132 (tramp-do-copy-or-rename-file-out-of-band): Use connection
4133 property "login-as", if set. (Bug#10530)
4134
cc6d5805
MA
41352012-01-21 Michael Albinus <michael.albinus@gmx.de>
4136
4137 * net/tramp-sh.el (tramp-default-user-alist): Don't add "plink",
4138 "plink1" and "psftp". (Bug#10530)
4139
41402012-01-21 Kenichi Handa <handa@m17n.org>
71784361
KH
4141
4142 * international/mule-cmds.el (prefer-coding-system): Show a
4143 warning message if the default value of file-name-coding-system
4144 was not changed.
4145
f0960428
JC
41462012-01-21 Jérémy Compostella <jeremy.compostella@gmail.com>
4147
cb882333
JB
4148 * windmove.el (windmove-reference-loc):
4149 Fix windmove-reference-loc miscalculation.
f0960428 4150
dd6f2a63
JB
41512012-01-21 Jay Belanger <jay.p.belanger@gmail.com>
4152
4153 * calc/calc-units.el (math-put-default-units): Don't use "1" as a
4154 default unit.
4155
7b447e9b
GM
41562012-01-21 Glenn Morris <rgm@gnu.org>
4157
117a9ea1
GM
4158 * international/mule.el (auto-coding-alist): Add .tbz.
4159
7b447e9b
GM
4160 * files.el (local-enable-local-variables): Doc fix.
4161 (inhibit-local-variables-regexps): Rename from
4162 inhibit-first-line-modes-regexps. Keep old name as obsolete alias.
4163 Doc fix. Add some extensions from auto-coding-alist.
4164 (inhibit-local-variables-suffixes):
4165 Rename from inhibit-first-line-modes-suffixes. Doc fix.
4166 (inhibit-local-variables-p):
4167 New function, extracted from set-auto-mode-1.
4168 (set-auto-mode): Doc fix. Respect inhibit-local-variables-regexps.
4169 (set-auto-mode-1): Doc fix. Use inhibit-local-variables-p.
4170 (hack-local-variables): Doc fix. Make the mode-only case
4171 respect enable-local-variables and friends.
4172 Respect inhibit-local-variables-regexps for file-locals, but
4173 not for directory-locals.
4174 (set-visited-file-name):
4175 Take account of inhibit-local-variables-regexps.
4176 Whether it applies may change as the file name is changed.
4177 * jka-cmpr-hook.el (jka-compr-install):
4178 * jka-compr.el (jka-compr-uninstall):
4179 Update for inhibit-first-line-modes-suffixes name change.
4180
dd6e3cdd
MR
41812012-01-20 Martin Rudalics <rudalics@gmx.at>
4182
4183 * help-macro.el (make-help-screen): Temporarily restore original
4184 binding for minor-mode-map-alist (Bug#10454).
4185
0d0deb38
JD
41862012-01-19 Julien Danjou <julien@danjou.info>
4187
4188 * color.el (color-name-to-rgb): Use the white color to find the max
4189 color component value and return correctly computed values.
4190 (color-name-to-rgb): Add missing float conversion for max value.
4191
34a02f46
MR
41922012-01-19 Martin Rudalics <rudalics@gmx.at>
4193
4194 * window.el (window--state-get-1, window-state-get): Do not use
eb864a71
LM
4195 special state value for window-persistent-parameters.
4196 Rename argument IGNORE to WRITABLE. Rewrite doc-string.
34a02f46
MR
4197 (window--state-put-2): Reset all window parameters to nil before
4198 assigning values of persistent parameters.
4199
606c44c4
AM
42002012-01-18 Alan Mackenzie <acm@muc.de>
4201
4202 Eliminate sluggishness and hangs in fontification of "semicolon
4203 deserts".
4204
cb882333
JB
4205 * progmodes/cc-engine.el (c-state-nonlit-pos-interval):
4206 Change value 10000 -> 3000.
606c44c4
AM
4207 (c-state-safe-place): Reformulate so it doesn't stack up an
4208 infinite number of wrong entries in c-state-nonlit-pos-cache.
4209 (c-determine-limit-get-base, c-determine-limit): New functions to
4210 determine backward search limits disregarding literals.
4211 (c-find-decl-spots): Amend commenting.
4212 (c-cheap-inside-bracelist-p): New function which detects "={".
4213
4214 * progmodes/cc-fonts.el
4215 (c-make-font-lock-BO-decl-search-function): Give a limit to a
4216 backward search.
4217 (c-font-lock-declarations): Fix an occurrence of point being
4218 undefined. Check additionally for point being in a bracelist or
4219 near a macro invocation without a semicolon so as to avoid a
4220 fruitless time consuming search for a declarator. Give a more
4221 precise search limit for declarators using the new
4222 c-determine-limit.
4223
f3860cea
GM
42242012-01-18 Glenn Morris <rgm@gnu.org>
4225
4226 * files.el (auto-mode-alist, inhibit-first-line-modes-regexps)
4227 (set-auto-mode): Doc fixes.
4228
1db03b16
GM
42292012-01-17 Glenn Morris <rgm@gnu.org>
4230
0e6038be
GM
4231 * isearch.el (search-nonincremental-instead): Fix doc typo.
4232
1db03b16
GM
4233 * dired.el (dired-insert-directory): Handle newlines in directory name.
4234 (dired-build-subdir-alist): Unescape newlines in directory name.
4235
4cb0aa75
MA
42362012-01-17 Michael Albinus <michael.albinus@gmx.de>
4237
4238 * net/tramp.el (tramp-local-end-of-line): New defcustom.
4239 (tramp-action-login, tramp-action-yesno, tramp-action-yn)
4240 (tramp-action-terminal): Use it. (Bug#10530)
4241
1d00653d
SM
42422012-01-16 Stefan Monnier <monnier@iro.umontreal.ca>
4243
4244 * minibuffer.el (completion--replace): Strip properties (bug#10062).
4245
6a6ee00d
MR
42462012-01-16 Martin Rudalics <rudalics@gmx.at>
4247
4248 * window.el (window-state-ignored-parameters): Remove variable.
4249 (window--state-get-1): Rename argument MARKERS to IGNORE.
4250 Handle persistent window parameters. Make copy of clone-of
4251 parameter only if requested. (Bug#10348)
4252 (window--state-put-2): Install a window parameter only if it has
4253 a non-nil value or an existing parameter shall be overwritten.
4254
97912def
MA
42552012-01-15 Michael Albinus <michael.albinus@gmx.de>
4256
4257 * net/tramp-sh.el (tramp-remote-path): Set tramp-autoload cookie.
4258
688070a5
EZ
42592012-01-14 Eli Zaretskii <eliz@gnu.org>
4260
4261 * info.el (Info-toc-build): If the Info file has no "Up" pointer,
4262 don't pass the (nil) value of `upnode' to string-match.
4263
301afadc
CY
42642012-01-14 Chong Yidong <cyd@gnu.org>
4265
4266 * startup.el (command-line): Fix X resource class for cursorColor.
04877ddb 4267 Fix values recognized by the cursorBlink resource.
301afadc 4268
9e5788aa
PE
42692012-01-14 Paul Eggert <eggert@cs.ucla.edu>
4270
4271 * epg.el (epg--make-temp-file): Avoid permission race condition
4272 when running on old Emacs versions (bug#10403).
4273
3cdb7f5a
GM
42742012-01-14 Glenn Morris <rgm@gnu.org>
4275
4276 * dired.el (dired-get-filename): Fix 'verbatim case of previous change.
4277
8c82b1b4
AM
42782012-01-13 Alan Mackenzie <acm@muc.de>
4279
4280 Fix filling for when filladapt mode is enabled.
4281
4282 * progmodes/cc-cmds.el (c-fill-paragraph): In the invocation of
4283 c-mask-paragraph, pass in `fill-paragraph' rather than
4284 `fill-region-as-paragraph'. (This is a reversion of a previous
4285 change.)
eb864a71
LM
4286 * progmodes/cc-mode.el (c-basic-common-init):
4287 Make fill-paragraph-handle-comment buffer local and set it to nil.
8c82b1b4 4288
e517eda4
GM
42892012-01-13 Glenn Morris <rgm@gnu.org>
4290
1498536e
GM
4291 * dired.el (dired-switches-escape-p): New function.
4292 (dired-insert-directory): Use dired-switches-escape-p.
4293 (dired-get-filename): Undo "\ " quoting if needed. (Bug#10469)
4294
e517eda4
GM
4295 * find-dired.el (find-ls-option): Doc fix. (Bug#10262)
4296
328f984d
GM
42972012-01-12 Glenn Morris <rgm@gnu.org>
4298
4299 * mail/sendmail.el (mail-mode): Update paragraph-separate for
4300 changes in adaptive-fill-regexp. (Bug#10276)
4301
2cc769a8
AM
43022012-01-11 Alan Mackenzie <acm@muc.de>
4303
4304 Fix Emacs bug #10463 - put `widen's around the critical spots.
4305
1d00653d 4306 * progmodes/cc-engine.el (c-in-literal, c-literal-limits): Put a
2cc769a8
AM
4307 widen around each invocation of c-state-pp-to-literal. Remove an
4308 unused let variable.
4309
e52c37fa
GM
43102012-01-11 Glenn Morris <rgm@gnu.org>
4311
4312 * dired-aux.el (dired-do-shell-command): Fix */? logic. (Bug#6561)
09044622 4313 Doc fix.
e52c37fa 4314
96f8741e
CY
43152012-01-10 Chong Yidong <cyd@gnu.org>
4316
1d00653d
SM
4317 * net/network-stream.el (network-stream-open-starttls):
4318 Avoid emitting a confusing error message when the server gives a bad
96f8741e
CY
4319 response to the capability command.
4320
b09a806e
GM
43212012-01-10 Glenn Morris <rgm@gnu.org>
4322
4323 * mail/unrmail.el (unrmail): Tweak previous change.
4324
7655cb66
CY
43252012-01-09 Chong Yidong <cyd@gnu.org>
4326
4327 * custom.el (custom-safe-themes): Use SHA-256 for hashing.
4328
9d5a8f0b
AM
43292012-01-08 Alan Mackenzie <acm@muc.de>
4330
4331 Optimise font locking in long enum definitions.
4332
4333 * progmodes/cc-fonts.el (c-font-lock-declarations): Add an extra
4334 arm to a cond form to handle enums.
4335 * progmodes/cc-langs.el (c-enums-contain-decls): New lang variable.
4336 * progmodes/cc-mode.el (c-font-lock-fontify-region): Correct a typo.
4337
9a0115ab 43382012-01-07 Paul Eggert <eggert@cs.ucla.edu>
6bb72cbd
PE
4339
4340 * files.el (move-file-to-trash): Preserve default file modes on error.
a0562b3d 4341 (Bug#10401)
6bb72cbd 4342
f186bb95
LMI
43432012-01-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
4344
29232a68
LMI
4345 * faces.el (set-face-attribute): Clarify the meaning of the nil
4346 frame (bug#10294).
4347
4e5d086d
LMI
4348 * subr.el (with-selected-frame): Mention that the selected frame
4349 is restored (bug#9980).
4350
8e66aebe
LMI
4351 * ibuffer.el (ibuffer-mode): List the bindings in the corrent map
4352 (bug#9759).
4353
cd394be1 4354 * mail/smtpmail.el (password-cache-add): Remove unused declaration.
f186bb95
LMI
4355 (password-read): Don't autoload unused function.
4356
adf4e762
JB
43572012-01-07 Juanma Barranquero <lekktu@gmail.com>
4358
4359 * progmodes/which-func.el (which-func-mode): Turn into a
4360 non-interactive function and mark as obsolete (bug#10428).
4361
89bd9ccd
CY
43622012-01-06 Chong Yidong <cyd@gnu.org>
4363
4364 * files.el (hack-dir-local-variables-non-file-buffer): Add doc.
4365 (hack-one-local-variable-eval-safep): Allow 0 arg for minor mode
4366 functions, along with 1 and -1.
4367
4afee9d5
EZ
43682012-01-06 Eli Zaretskii <eliz@gnu.org>
4369
4370 * time.el (display-time-load-average)
4371 (display-time-default-load-average): Doc fixes. See the thread
4372 starting at
4373 http://lists.gnu.org/archive/html/help-gnu-emacs/2012-01/msg00059.html
4374 for the details.
4375
536aea70
GM
43762012-01-06 Glenn Morris <rgm@gnu.org>
4377
665ae865
GM
4378 * mail/unrmail.el (unrmail): Give an explicit error if the input file
4379 has no messages. (Bug#10377)
4380
c869783d
GM
4381 * info.el (Info-mode-map): Bind e to end-of-buffer, rather
4382 than Info-edit. (Bug#10385)
4383
2bb4227e
GM
4384 * time.el (display-time-load-average, display-time-next-load-average):
4385 Doc fixes.
4386
7d5944b9
GM
4387 * emacs-lisp/bytecomp.el (byte-compile-file): Do not propagate a file
4388 local setting of buffer-read-only to the input buffer. (Bug#10419)
4389
536aea70
GM
4390 * calendar/calendar.el (calendar-mode):
4391 Locally set scroll-margin to 0. (Bug#10379)
4392
7dccca16
UM
43932012-01-06 Ulrich Mueller <ulm@gentoo.org>
4394
4395 * play/doctor.el (doctor-death): Escape "," characters. (Bug#10370)
4396
afbb7930
GM
43972012-01-05 Glenn Morris <rgm@gnu.org>
4398
4399 * eshell/em-unix.el (diff-no-select): Autoload it.
4400 (eshell/diff): Use diff-no-select. (Bug#10420)
4401
04482335
CY
44022012-01-05 Chong Yidong <cyd@gnu.org>
4403
7baca3bc
CY
4404 * shell.el (shell-dynamic-complete-functions): Revert last change.
4405 (shell-command-completion-function): New function.
4406 (shell-completion-vars): Use it to implement
4407 shell-completion-execonly (Bug#10417).
4408
04482335
CY
4409 * custom.el (enable-theme): Don't set custom-safe-themes.
4410
1d00653d
SM
4411 * cus-theme.el (custom-theme-merge-theme):
4412 Ignore custom-enabled-themes and custom-safe-themes.
04482335 4413
bb5aa5d6
MM
44142012-01-05 Michael R. Mauger <mmaug@yahoo.com>
4415
4416 * progmodes/sql.el (sql-login-hook): Add hook to respond to the
4417 first prompt in `sql-interacive-mode'.
4418 (sql-mode-oracle-font-lock-keywords): Add CONNECT_BY_* builtin
04482335 4419 keywords.
6df6ae42 4420 (sql-mode-mysql-font-lock-keywords): Add ELSEIF keyword.
bb5aa5d6
MM
4421 (sql-product-interactive): Bug fix: Set `sql-buffer' in
4422 context of original buffer. Invoke `sql-login-hook'.
4423
a7183d7c
EZ
44242012-01-04 Eli Zaretskii <eliz@gnu.org>
4425
4426 * mail/rmail.el (rmail-font-lock-keywords): Accept non-ASCII
4427 letters in cite-prefix.
4428
a1eacd1e
LMI
44292012-01-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
4430
4431 * mail/smtpmail.el (smtpmail-stream-type): Mention the `ssl' value.
4432
787cdb34
CY
44332012-01-03 Chong Yidong <cyd@gnu.org>
4434
1d00653d
SM
4435 * shell.el (shell-dynamic-complete-functions):
4436 Put pcomplete-completions-at-point, so as to try
787cdb34
CY
4437 comint-filename-completion first (Bug#10417).
4438
30710442
RS
44392012-01-02 Richard Stallman <rms@gnu.org>
4440
4441 * battery.el (battery-status-function):
4442 Detect when to use battery-yeeloong-sysfs.
4443 (battery-echo-area-format): Add string for Yeeloong.
4444 (battery-linux-proc-apm, battery-linux-proc-acpi): Doc fixes.
4445 (battery-yeeloong-sysfs): New function.
4446
f75bfc33
CY
44472012-01-02 Chong Yidong <cyd@gnu.org>
4448
4449 * dirtrack.el (dirtrack-list): Eliminate unused third element.
4450 (dirtrack): Merge code for handling relative filenames in prompt
4451 from shell-dir-cookie-watcher.
4452 (dirtrack-debug-message): New arg to avoid excess format calls.
4453
4454 * shell.el (shell-dir-cookie-re): Variable deleted.
4455 (shell-dir-cookie-watcher): Function deleted.
4456 (shell-mode): Don't use shell-dir-cookie-re, since it is redundant
4457 with dirtrack-mode.
4458
651e947e
EZ
44592012-01-01 Eli Zaretskii <eliz@gnu.org>
4460
1d00653d
SM
4461 * term/w32-win.el (dynamic-library-alist) <gnutls>:
4462 Load libgnutls-28.dll, from GnuTLS version 3.x, in preference to
651e947e
EZ
4463 libgnutls-26.dll.
4464
94d4c7dc
AS
44652011-12-31 Andreas Schwab <schwab@linux-m68k.org>
4466
4467 * emacs-lisp/bytecomp.el (byte-compile-file): Fix indentation.
4468
8d43f3cd
EZ
44692011-12-31 Eli Zaretskii <eliz@gnu.org>
4470
4471 * mail/rmail.el (rmail-show-message-1): Decode any RFC2047 encoded
4472 headers of non-MIME messages, when rmail-enable-mime is non-nil.
4473
98c8795a
MA
44742011-12-29 Michael Albinus <michael.albinus@gmx.de>
4475
4476 * net/tramp-sh.el (tramp-find-shell): Set "remote-shell" property
4477 also for alternative shells.
4478 (tramp-open-connection-setup-interactive-shell): Check, whether
4479 the shell is a busybox.
4480 (tramp-send-command): Don't suppress multiple prompts for
4481 busyboxes, it hurts.
4482
51281b32
CY
44832011-12-28 Chong Yidong <cyd@gnu.org>
4484
4485 * progmodes/gdb-mi.el (gdb-get-source-file-list)
4486 (gdb-get-source-file): Move mode line update to
4487 gdb-get-source-file (Bug#10087).
4488
2170cb53
CY
44892011-12-25 Chong Yidong <cyd@gnu.org>
4490
4491 * progmodes/gud.el (gud-gdb-fetch-lines-filter): Just use
4492 gud-gdb-marker-filter without taking it as an argument.
4493 (gud-gdb-run-command-fetch-lines): Caller changed.
4494 (gud-gdb-completion-function): New variable.
4495 (gud-gdb-completion-at-point): Use it.
4496 (gud-gdb-completions-1): Split from gud-gdb-completions.
4497
4498 * progmodes/gdb-mi.el (gdb-input): Accept command and handler
4499 function as separate arguments.
4500 (gdb-init-1, gdb-non-stop-handler, gdb-check-target-async)
4501 (gdb-tooltip-print-1, gud-watch, gdb-speedbar-update)
4502 (gdb-var-list-children, gdb-var-set-format, gdb-var-delete-1)
4503 (gdb-var-delete-children, gdb-edit-value, gdb-var-update)
4504 (gdb-stopped, def-gdb-auto-update-trigger)
4505 (gdb-place-breakpoints, gdb-select-thread, gdb-select-frame)
b81d40f0
JB
4506 (gdb-get-changed-registers, gdb-get-main-selected-frame):
4507 Callers changed.
2170cb53
CY
4508 (gud-gdbmi-completions): New function.
4509 (gdb): Use it for generating the completion table.
4510
be8b11bb
AM
45112011-12-24 Alan Mackenzie <acm@muc.de>
4512
4513 Introduce a mechanism to widen the region used in context font
1d00653d 4514 locking. Use this to protect declarations from losing their contexts.
be8b11bb 4515
1d00653d
SM
4516 * progmodes/cc-langs.el (c-before-font-lock-functions):
4517 Replace c-set-fl-decl-start with c-change-set-fl-decl-start (Renaming).
b81d40f0 4518 (c-before-context-fontification-functions): New defvar, a list of
be8b11bb
AM
4519 functions to be run just before context (etc.) font locking.
4520
4521 * progmodes/cc-mode.el (c-extend-font-lock-region-for-macros):
b81d40f0 4522 New, functionality extracted from
be8b11bb 4523 c-neutralize-syntax-in-and-mark-CPP.
b81d40f0 4524 (c-in-after-change-fontification): New variable.
be8b11bb
AM
4525 (c-after-change): Set c-in-after-change-fontification.
4526 (c-set-fl-decl-start): Rejig its interface, so it can be called
4527 from both after-change and context fontifying.
b81d40f0
JB
4528 (c-change-set-fl-decl-start, c-context-set-fl-decl-start):
4529 New functions.
4530 (c-standard-font-lock-fontify-region-function): New variable.
4531 (c-font-lock-fontify-region): New function.
be8b11bb 4532
341cf6ac
JL
45332011-12-24 Juri Linkov <juri@jurta.org>
4534
4535 * window.el (window--state-get-1): Set `FORCE' arg of `mark' to t.
4536 (Bug#10348)
4537
bffcee0a
MA
45382011-12-23 Michael Albinus <michael.albinus@gmx.de>
4539
4540 * net/ange-ftp.el (ange-ftp-copy-file-internal): Check for
4541 existence of source file. (Bug#10325)
4542
cb5e207c
AM
45432011-12-23 Alan Mackenzie <acm@muc.de>
4544
4545 Fix unstable fontification inside templates.
4546
b81d40f0
JB
4547 * progmodes/cc-langs.el (c-before-font-lock-functions):
4548 Newly created from the singular version. The (c c++ objc) entry now
cb5e207c
AM
4549 additionally has c-set-fl-decl-start. The other languages (apart
4550 from AWK) have that as a single entry.
4551
b81d40f0
JB
4552 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
4553 The functionality for "local" declarations has been extracted to
cb5e207c
AM
4554 c-set-fl-decl-start.
4555
b81d40f0
JB
4556 * progmodes/cc-mode.el (c-common-init, c-after-change):
4557 Changes due to pluralisation of c-before-font-lock-functions.
cb5e207c
AM
4558 (c-set-fl-decl-start): New function, extracted from
4559 c-font-lock-enclosing-decls and enhanced.
4560
60ff536c
JB
45612011-12-23 Juanma Barranquero <lekktu@gmail.com>
4562
4563 * desktop.el (desktop-internal-v2s): Fix typos in docstring (bug#10353).
4564
1c4757d6
JL
45652011-12-22 Juri Linkov <juri@jurta.org>
4566
4567 * progmodes/grep.el (rgrep): Fix docstring. (Bug#10185)
4568
d031f2c7
CY
45692011-12-22 Chong Yidong <cyd@gnu.org>
4570
4571 * vc/vc-hooks.el (vc-keep-workfiles): Doc fix.
4572
bace743a
DA
45732011-12-21 Drew Adams <drew.adams@oracle.com>
4574
4575 * files.el (file-remote-p): Fix docstring. (Bug#10319)
4576
728a1f2b
JC
45772011-12-21 Jérémy Compostella <jeremy.compostella@gmail.com>
4578
4579 * battery.el (battery-linux-sysfs): Add missing parameters from acpi.
4580
0d373f73
TZ
45812011-12-21 Teodor Zlatanov <tzz@lifelogs.com>
4582
fec0aaa4
TZ
4583 * progmodes/cfengine.el: Add Version. Improve CFEngine 3.x syntax
4584 highlighting and support. Fix up comments for capitalization.
4585 (cfengine-mode-debug): New var.
4586 (cfengine3-mode): Change the modeline indicator to "CFE3".
4587 (cfengine3-font-lock-keywords): Improve defun highlighting.
4588 (cfengine2-actions): Rename from `cfengine-actions'.
4589 (cfengine2-font-lock-keywords): Rename from
4590 `cfengine-font-lock-keywords'.
4591 (cfengine2-imenu-expression): Rename from
4592 `cfengine-imenu-expression'.
4593 (cfengine2-outline-level): Rename from `cfengine-outline-level'.
4594 (cfengine2-beginning-of-defun): Rename from
4595 `cfengine-beginning-of-defun'.
4596 (cfengine2-end-of-defun): Rename from `cfengine-end-of-defun'.
4597 (cfengine2-indent-line): Rename from `cfengine-indent-line'.
4598 (cfengine2-mode): Rename from `cfengine-mode'. Change the
4599 modeline indicator to "CFE2".
4600 (cfengine-mode): Defalias to `cfengine-auto-mode'.
4601 (cfengine-mode-abbrevs): Mark obsolete.
0d373f73 4602
bc86f573
CY
46032011-12-21 Chong Yidong <cyd@gnu.org>
4604
4605 * vc/vc-bzr.el (vc-bzr-rename-file): Don't pass ~ to Bzr in
4606 filename argument.
4607
d45ba96b
MR
46082011-12-20 Martin Rudalics <rudalics@gmx.at>
4609
4610 * window.el (window-normalize-buffer-to-display): Remove.
4611 (display-buffer): Handle buffer-or-name argument as in Emacs 23.
4612
a6198c90
CY
46132011-12-19 Chong Yidong <cyd@gnu.org>
4614
4615 * vc/vc-dir.el (vc-dir-parent-marked-p, vc-dir-children-marked-p):
4616 Don't signal an error in a predicate function; return non-nil.
4617 (vc-dir-mark-file): Move the error here.
4618 (vc-dir-mark-unmark): If acting on the region, keep going if one
4619 of the entries cannot be marked/unmarked.
4620 (vc-dir-mark-all-files): If current entry is a directory, mark
4621 only child files, as documented.
4622
34c5fb55
VB
46232011-12-19 Vincent Belaïche <vincentb1@users.sourceforge.net>
4624
4625 * ses.el: Ooops... undo changes of 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net, as trunk
4626 branch is feature frozen, and 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net was a feature
4627 addition.
4628
c803b2b7
JD
46292011-12-18 Jan Djärv <jan.h.d@swipnet.se>
4630
4631 * term/ns-win.el (ns-get-selection-internal)
4632 (ns-store-selection-internal): Declare.
1154d12e
JB
4633 (ns-store-cut-buffer-internal, ns-get-cut-buffer-internal):
4634 Declare as obsolete.
4635 (ns-get-pasteboard, ns-paste-secondary):
4636 Use ns-get-selection-internal.
4637 (ns-set-pasteboard, ns-copy-including-secondary):
4638 Use ns-store-selection-internal.
c803b2b7 4639
9cff91f8 46402011-12-17 Chong Yidong <cyd@gnu.org>
99a289d9
CY
4641
4642 * vc/vc.el (vc-next-action): Doc fix; remove CVS-isms.
9cff91f8 4643 (vc-deduce-fileset): Doc fix.
99a289d9 4644
f16c898a
AS
46452011-12-16 Andreas Schwab <schwab@linux-m68k.org>
4646
4647 * calc/calc-misc.el (calc-help): Avoid wrapping help message.
4648
763237c4
SS
46492011-12-13 Sam Steingold <sds@gnu.org>
4650
4651 * man.el (Man-getpage-in-background): When running under a
4652 window-system, ignore $MANWIDTH and $COLUMNS.
4653
5fc1c122
KH
46542011-12-15 Kenichi Handa <handa@m17n.org>
4655
4656 * language/ethio-util.el: Change coding tag to utf-8-emacs.
4657 (setup-ethiopic-environment-internal): Comment out key-binding for
4658 ethio-toggle-punctuation.
4659
13d49cbb
AM
46602011-12-13 Alan Mackenzie <acm@muc.de>
4661
898169a2
AM
4662 Add the switch statement to AWK Mode.
4663
7a71b18d 4664 * progmodes/cc-awk.el (awk-font-lock-keywords): Add "switch", "case",
898169a2
AM
4665 "default" to the keywords regexp.
4666
7a71b18d 4667 * progmodes/cc-langs.el (c-label-kwds): Let AWK take the same
898169a2 4668 expression as the rest.
1d00653d
SM
4669 (c-nonlabel-token-key): Allow string literals for AWK.
4670 Refactor for the other modes.
898169a2 4671
13d49cbb 4672 Large brace-block initialisation makes CC Mode slow: Fix.
1d00653d 4673 Tidy up and accelerate c-in-literal, etc. by using the c-parse-state
13d49cbb
AM
4674 routines. Limit backward searching in c-font-lock-enclosing.decl.
4675
4676 * progmodes/cc-engine.el (c-state-pp-to-literal): Return the
4677 pp-state and literal type in addition to the limits.
1d00653d 4678 (c-state-safe-place): New defun, extracted from c-state-literal-at.
13d49cbb 4679 (c-state-literal-at): Use the above new defun.
1d00653d
SM
4680 (c-slow-in-literal, c-fast-in-literal): Remove.
4681 (c-in-literal, c-literal-limits): Amend to use c-state-pp-to-literal.
13d49cbb
AM
4682
4683 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls): Check for
4684 being in a literal. Add a limit for backward searching.
4685
4686 * progmodes/cc-mode.el (awk-mode): Don't alias c-in-literal to
4687 c-slow-in-literal.
4688
15e0efc7
SM
46892011-12-13 Stefan Monnier <monnier@iro.umontreal.ca>
4690
4691 * progmodes/pascal.el: Declare `ind' as dyn-bound (bug#10264).
4692
454592a6
MR
46932011-12-13 Martin Rudalics <rudalics@gmx.at>
4694
4695 * window.el (delete-other-windows): Use correct frame in call to
4696 window-with-parameter.
4697
87393f26
DP
46982011-12-12 Daniel Pfeiffer <occitan@t-online.de>
4699
4700 * progmodes/make-mode.el: Bring it up to date with makepp V2.0.
4701 (makefile-make-font-lock-keywords): Extend meaning of `keywords'.
4702 (makefile-gmake-statements, makefile-makepp-statements):
4703 Use it and add new makepp keywords.
4704 (makefile-makepp-font-lock-keywords): Add new patterns.
4705 (makefile-match-function-end): Match new [...] and [[...]].
4706
11636b22
JB
47072011-12-11 Juanma Barranquero <lekktu@gmail.com>
4708
4709 * ses.el (ses-call-printer-return, ses-cell-property-get)
4710 (ses-sym-rowcol, ses-printer-validate, ses-formula-record)
4711 (ses-create-cell-variable, ses-reset-header-string)
4712 (ses-cell-set-formula, ses-repair-cell-reference-all)
4713 (ses-self-reference-early-detection, ses-in-print-area, ses-set-curcell)
4714 (ses-check-curcell, ses-call-printer, ses-adjust-print-width)
4715 (ses-print-cell-new-width, ses-formula-references, ses-relocate-formula)
4716 (ses-aset-with-undo, ses-load, ses-truncate-cell)
4717 (ses-read-column-printer, ses-read-default-printer, ses-insert-row)
4718 (ses-delete-row, ses-delete-column, ses-append-row-jump-first-column)
4719 (ses-kill-override, ses-yank-pop, ses-yank-cells, ses-yank-tsf)
4720 (ses-yank-resize, ses-export-tab, ses-mark-row, ses-mark-column)
4721 (ses-renarrow-buffer, ses-insert-range, ses-insert-ses-range)
4722 (ses-safe-printer, ses-safe-formula, ses-warn-unsafe, ses--clean-!)
4723 (ses--clean-_, ses-range, ses-select, ses-center, ses-center-span)
4724 (ses-dashfill, ses-unsafe): Fix typos and reflow docstrings.
4725
cf018193
VB
47262011-12-11 Vincent Belaïche <vincentb1@users.sourceforge.net>
4727
4728 * ses.el: The overall change is to add cell renaming, that is
4729 setting fancy names for cell symbols other than name matching
4730 "\\`[A-Z]+[0-9]+\\'" regexp .
4731 (ses-create-cell-variable): New defun.
4732 (ses-relocate-formula): Relocate formulas only for cells the
4733 symbols of which are not renamed, i.e. symbols whose names do not
4734 match regexp "\\`[A-Z]+[0-9]+\\'".
4735 (ses-relocate-all): Relocate values only for cells the symbols of
4736 which are not renamed.
4737 (ses-load): Create cells variables as the (ses-cell ...) are read,
4738 in order to check row col consistency with cell symbol name only
4739 for cells that are not renamed.
4740 (ses-replace-name-in-formula): New defun.
4741 (ses-rename-cell): New defun.
4742
ee957461
CY
47432011-12-11 Chong Yidong <cyd@gnu.org>
4744
4745 * progmodes/gdb-mi.el (gdb): Set comint-prompt-regexp, required
4746 for completion via gud-gdb-fetch-lines-filter (Bug#10274).
4747
9a9e9ef0
MR
47482011-12-11 Eric Hanchrow <eric.hanchrow@gmail.com>
4749
4750 * window.el (other-window): Fix docstring.
4751
92a8eba5
EZ
47522011-12-10 Eli Zaretskii <eliz@gnu.org>
4753
4754 * mail/rmailsum.el (rmail-header-summary): RFC2047 decode the
1d00653d
SM
4755 `from' or `to' address before taking its substring.
4756 Fixes incorrect display in Rmail summary buffer whereby an RFC2047
92a8eba5
EZ
4757 encoded name is chopped in the middle of the encoded string, and
4758 thus displayed encoded.
4759
e152e577
JB
47602011-12-10 Juanma Barranquero <lekktu@gmail.com>
4761
4762 * makefile.w32-in (update-subdirs-CMD): Use a Local Variables section.
4763
e5d84bfe
EZ
47642011-12-10 Eli Zaretskii <eliz@gnu.org>
4765
4766 * textmodes/texnfo-upd.el: Update commentary. Add a warning not
4767 to use texinfo-update-node and commands that call it if the
4768 Texinfo file uses @node lines without next/prev/up pointers.
b8830d28 4769 Correct outdated description about texinfo-master-menu.
e5d84bfe
EZ
4770 (texinfo-all-menus-update, texinfo-master-menu)
4771 (texinfo-update-node, texinfo-every-node-update)
4772 (texinfo-multiple-files-update): Doc fix. Warn against updating
4773 all the @node lines.
4774 (texinfo-master-menu): Only call texinfo-update-node if the prefix
b8830d28
EZ
4775 argument is numeric. Explain better in the doc string what the
4776 function really does.
4777 (texinfo-insert-master-menu-list): Improve the error message
4778 displayed if there's no menu in the Top node.
4779 (Bug#2975) See also this thread:
e5d84bfe
EZ
4780 http://lists.gnu.org/archive/html/emacs-devel/2011-12/msg00156.html.
4781
1d84e9bb
MG
47822011-12-09 Manuel Gómez <mgrojo@gmail.com> (tiny change)
4783
4784 * speedbar.el (speedbar-supported-extension-expressions):
4785 Add .adb and .ads, commonly used for Ada source code (bug#10256).
4786
382c953b
JB
47872011-12-09 Juanma Barranquero <lekktu@gmail.com>
4788
4789 * printing.el (pr-mode-alist):
4790 * simple.el (filter-buffer-substring-functions)
4791 (completion-list-insert-choice-function):
4792 * window.el (window-with-parameter, window-atom-root)
4793 (window-sides-slots, window-size-fixed, window-min-delta)
4794 (window-max-delta, window--resize-mini-window)
4795 (window--resize-child-windows-normal, window-tree)
4796 (delete-other-windows, quit-window, split-window)
4797 (display-buffer-record-window, special-display-buffer-names)
4798 (special-display-regexps, special-display-popup-frame)
4799 (same-window-p, split-window-sensibly)
4800 (display-buffer-overriding-action, display-buffer-alist)
4801 (display-buffer-base-action, display-buffer, switch-to-buffer)
4802 (switch-to-buffer-other-window, switch-to-buffer-other-frame)
4803 (fit-window-to-buffer, recenter-positions)
4804 (mouse-autoselect-window-state, mouse-autoselect-window-select):
4805 * emacs-lisp/syntax.el (syntax-propertize-function): Fix typos
4806 and remove unneeded backslashes in docstrings.
4807
39c9faef
SM
48082011-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
4809
98449af8
SM
4810 * emacs-lisp/lisp-mode.el (defmethod): Add doc-string-elt (bug#10244).
4811
39c9faef
SM
4812 * pcmpl-gnu.el: Don't fail when there is no Makefile nor -f arg.
4813 (pcmpl-gnu-makefile-regexps): Accept "makefile" as well as files that
4814 end in ".mk".
4815 (pcmpl-gnu-make-rule-names): Check "makefile" and ignore errors
4816 when reading the makefile (bug#10116).
4817
86ed9fdc
SM
48182011-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
4819
4820 * pcmpl-gnu.el (pcomplete/make): Also allow filename arguments
4821 (bug#10116).
4822
5580f89d
GM
48232011-12-06 Glenn Morris <rgm@gnu.org>
4824
4825 * emacs-lisp/package.el (package-archives): Doc fix re riskiness.
4826
28d3917c
CY
48272011-12-06 Chong Yidong <cyd@gnu.org>
4828
4829 * progmodes/cc-fonts.el (c-annotation-face): Use defface.
4830
a98edce9
JB
48312011-12-06 Juanma Barranquero <lekktu@gmail.com>
4832
4833 * textmodes/table.el (table-shorten-cell): Fix typo.
4834
e65adfac
CG
48352011-12-05 Christopher Genovese <genovese.cr@gmail.com> (tiny change)
4836
4837 * emacs-lisp/assoc.el (aput): Fix return value (bug#10146)
4838
71cc0b74
EZ
48392011-12-05 Eli Zaretskii <eliz@gnu.org>
4840
4841 * descr-text.el (describe-char): Fix display of strong
4842 right-to-left characters and directional embeddings and overrides.
4843
4844 * simple.el (what-cursor-position): Fix display of codepoints of
4845 strong right-to-left characters.
4846
315bc30d
CY
48472011-12-05 Chong Yidong <cyd@gnu.org>
4848
4849 * faces.el (read-color): Doc fix.
4850
58a70b94
GM
48512011-12-05 Glenn Morris <rgm@gnu.org>
4852
4853 * align.el (align--set-marker): Add doc-string.
4854 Don't try to move something that is not a marker. (Bug#10216)
4855
5158face
GM
48562011-12-04 Glenn Morris <rgm@gnu.org>
4857
4858 * calendar/appt.el (appt-add): Rewrite the interactive-spec to avoid
4859 overly zealous deletion of trailing whitespace.
4860
520fca41
JB
48612011-12-04 Juanma Barranquero <lekktu@gmail.com>
4862
4863 * server.el (server-delete-client): On Windows, do not try to delete
4864 the only terminal.
4865 (server-process-filter): On Windows, treat requests for a tty frame as
4866 if they were for a GUI frame if the running server is in GUI mode.
4867
5e605a2e
GM
48682011-12-03 Glenn Morris <rgm@gnu.org>
4869
4870 * textmodes/texinfmt.el (batch-texinfo-format): Doc fix. (Bug#10207)
4871
5c3fe83f
SM
48722011-12-03 Stefan Monnier <monnier@iro.umontreal.ca>
4873
6f5e57e7
SM
4874 * electric.el: Streamline electric-indent's hook.
4875 (electric-indent-chars): Revert to simple list.
4876 (electric-indent-functions): New var.
4877 (electric-indent-post-self-insert-function): Use it.
4878
5c3fe83f
SM
4879 * progmodes/prolog.el (prolog-find-value-by-system): Avoid error when
4880 there's no inferior buffer (bug#10196).
4881 (prolog-consult-compile): Don't use toggle-read-only.
4882
6bdac736
MA
48832011-12-02 Michael Albinus <michael.albinus@gmx.de>
4884
4885 * net/tramp-sh.el (tramp-maybe-open-connection): Handle user
4886 interrupt. (Bug#10187)
4887
6131ba7f
SM
48882011-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
4889
99c79fee
SM
4890 * pcmpl-gnu.el (pcomplete/tar): large-file-warn-threshold can be nil
4891 (bug#9160).
4892
6131ba7f
SM
4893 * dired-aux.el (dired-query): Don't assume help-char is modifier-free
4894 (bug#10191).
4895
cb0a02ea
JL
48962011-12-02 Juri Linkov <juri@jurta.org>
4897
4898 * info.el (Info-search): Display "end of manual" when Isearch
4899 reaches the end of single-file Info manual. (Bug#9918)
4900
66e0570c
EZ
49012011-12-02 Eli Zaretskii <eliz@gnu.org>
4902
4903 * isearch.el (isearch-message-prefix): Run the input method part
4904 of the prompt through bidi-string-mark-left-to-right. (Bug#10183)
4905
02b16839
JL
49062011-12-02 Juri Linkov <juri@jurta.org>
4907
4908 * isearch.el (isearch-occur): Use `word-search-regexp' for
4909 `isearch-word'.
4910 (isearch-search-and-update): Add condition for `isearch-word' and
4911 call `word-search-regexp'. (Bug#10145)
4912
0b950688
GM
49132011-12-01 Glenn Morris <rgm@gnu.org>
4914
4915 * eshell/em-hist.el (eshell-hist-initialize):
4916 Handle eshell-history-size nil and HISTSIZE set or unset.
e8087a76 4917 (eshell-history-file-name, eshell-history-size): Fix custom type.
0b950688 4918
9505c3c7
SM
49192011-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
4920
4921 * man.el (Man-completion-table): Fix the lambda case (bug#10168).
4922
1bbe96b2 49232011-12-01 Michael McNamara <mac@mail.brushroad.com>
6288f0ca 4924
a1beca85
SM
4925 * progmodes/verilog-mode.el (verilog-pretty-expr):
4926 Rework verilog-pretty-expr to handle new assignment operators in system
6288f0ca
WS
4927 verilog, such as += *= and the like.
4928 (verilog-assignment-operator-re): Regular expression to find the
4929 assigment operator in a verilog assignment.
4930 (verilog-assignment-operation-re): Regular expression to find an
4931 assignment statement for pretty-expr.
4932 (verilog-in-attribute-p): Query returns true if point is in an
4933 attribute context; used to skip these for expression line up from
4934 pretty-expr.
4935 (verilog-in-parameter-p): Query returns true if point is in an
4936 parameter definition context; used to skip these for expression
4937 line up from pretty-expr.
4938 (verilog-in-parenthesis-p): Query returns true if point is in a
4939 parenthetical expression, specifically ( ) but not [ ] or { };
4940 used by pretty-expr.
4941 (verilog-just-one-space): If there is no space, don't add one.
4942 (verilog-get-lineup-indent-2): Specifically skip just attribute
4943 contexts for expression lineup, rather than skipping all
4944 parenthetical expressions.
4945 (verilog-calculate-indent): Fix comment, and fix indent.
4946 (verilog-do-indent): Indent declarations in lists (suggested by
4947 Joachim Lechner).
4948 (verilog-mode-abbrev-table): Populate abbrev mode with the various
4949 skeleton items.
4950 (verilog-sk-ovm-class): Add skeleton for OVM classes (reported
4951 by Alain Mellan).
4952
1bbe96b2 49532011-12-01 Wilson Snyder <wsnyder@wsnyder.org>
6288f0ca
WS
4954
4955 * progmodes/verilog-mode.el (verilog-read-defines): Fix reading
4956 parameters with embedded comments. Reported by Ray Stevens.
4957 (verilog-calc-1, verilog-fork-wait-re) (verilog-forward-sexp,
4958 verilog-wait-fork-re): Fix indentation of "wait fork", bug407.
4959 Reported by Tim Holt.
4960 (verilog-auto): Fix AUTOing a upper module then AUTOing module
4961 instantiated by upper module causing wrong expansion until AUTOed a
4962 second time. Reported by K C Buckenmaier.
4963 (verilog-diff-auto): Fix showing .* as a difference when
4964 `verilog-auto-star-save' off. Reported by Dan Dever.
4965 (verilog-auto-reset, verilog-read-always-signals)
4966 (verilog-auto-reset-blocking-in-non): Fix AUTORESET including
4967 temporary signals in reset list if
4968 verilog-auto-reset-blocking-in-non is nil, and match assignment
a1beca85
SM
4969 style to each signal's assignment type, bug381.
4970 Reported by Thomas Esposito.
6288f0ca
WS
4971 (verilog-sk-uvm-class, verilog-uvm-begin-re, verilog-uvm-end-re)
4972 (verilog-uvm-statement-re): Support UVM indentation and
4973 highlighting, with old OVM keywords only.
a1beca85 4974 (verilog-auto-tieoff, verilog-auto-tieoff-declaration):
1d00653d
SM
4975 Support AUTOTIEOFF creating non-wire data types.
4976 Suggested by Jonathan Greenlaw.
6288f0ca
WS
4977 (verilog-auto-insert-lisp, verilog-delete-to-paren)
4978 (verilog-forward-sexp-cmt, verilog-forward-sexp-ign-cmt)
4979 (verilog-inject-sense, verilog-read-inst-pins)
a1beca85
SM
4980 (verilog-read-sub-decls, verilog-read-sub-decls-line):
4981 Fix mismatching parenthesis inside commented out code when deleting
382c953b 4982 AUTOINST, bug383. Reported by Jonathan Greenlaw.
6288f0ca
WS
4983 (verilog-auto-ascii-enum): Fix AUTOASCIIENUM one-hot with
4984 non-numeric vector width. Reported by Alex Reed.
4985 (verilog-auto-ascii-enum): Add "onehot" option to work around not
382c953b 4986 detecting signals with parameter widths. Reported by Alex Reed.
a1beca85
SM
4987 (verilog-auto-delete-trailing-whitespace):
4988 With `verilog-auto-delete-trailing-whitespace' remove trailing
6288f0ca
WS
4989 whitespace in auto expansion, bug371. Reported by Brad Dobbie.
4990 (verilog-run-hooks, verilog-scan-cache-flush, verilog-syntax-ppss):
4991 Fix verilog-scan-cache corruption when running user AUTO expansion
4992 hooks that call indentation routines.
4993 (verilog-simplify-range-expression): Fix typo ignoring lower case
4994 identifiers.
4995 (verilog-delete-auto): Fix delete-autos to also remove user created
4996 automatics, as long as they start with AUTO.
4997 (verilog-batch-diff-auto, verilog-diff-auto)
4998 (verilog-diff-function): Add `verilog-diff-auto' and bind to
4999 "C-c?" to report differences in AUTO expansion, ignoring spaces.
5000 (verilog-backward-syntactic-ws-quick, verilog-beg-of-defun-quick)
5001 (verilog-in-paren-quick, verilog-re-search-backward-quick)
a1beca85
SM
5002 (verilog-re-search-forward-quick, verilog-syntax-ppss):
5003 Fix calling `syntax-ppss' when inside auto expansions as the ppss hook
6288f0ca
WS
5004 is disabled and its cache will get corrupt, causing AUTOS not to
5005 expand. Instead use only -quick functions.
5006 (verilog-scan-region): Fix scanning over escaped quotes.
5007 (verilog-inside-comment-or-string-p, verilog-inside-comment-p)
5008 (verilog-re-search-backward-quick)
5009 (verilog-re-search-forward-quick, verilog-scan): verilog-scan and
5010 related functions now ignore strings, to fix misparsing of strings
5011 with magic comments embedded in them.
a1beca85
SM
5012 (verilog-read-auto-template):
5013 Fix 'verilog-auto-inst-template-numbers' with extra newline before (.
5014 Reported by Brad Dobbie.
5015 (verilog-read-auto-template):
5016 Fix 'verilog-auto-inst-template-numbers' with comments.
6288f0ca 5017 Reported by Brad Dobbie.
6288f0ca
WS
5018 (verilog-auto-inst, verilog-auto-inst-param)
5019 (verilog-auto-inst-sort): Add 'verilog-auto-inst-sort' to reduce
5020 merge conflicts with AUTOINST, bug358. Reported by Brad Dobbie.
5021 (verilog-auto-inst-template-numbers): Add 'lhs' policy for
a1beca85
SM
5022 debugging templates without merge conflicts, bug357.
5023 Reported by Brad Dobbie.
5024 (verilog-read-auto-template):
5025 Fix verilog-auto-inst-template-numbers with multiple templates.
6288f0ca
WS
5026 Reported by Brad Dobbie.
5027 (verilog-define-abbrev): Fix verilog-mode abbrevs to be system
5028 abbrevs so user won't be asked to save.
5029 (verilog-read-auto-lisp-present): Fix to start at beginning of
5030 buffer in case called outside of verilog-auto.
5031 (verilog-simplify-range-expression): Fix AUTOWIRE expanding "X-1+1"
5032 to "X-2". Reported by Matthew Myers.
5033 (verilog-auto, verilog-auto-inout-in): Add AUTOINOUTIN for creating
5034 all inputs from module templates. Reported by Leith Johnson.
5035 (verilog-module-inside-filename-p): Fix locating programs as with
5036 modules.
5037 (verilog-auto-inst-port): Fix vl-width expressions when using
5038 verilog-auto-inst-param-value, bug331. Reported by Julian Gorfajn.
5039 (verilog-decls-get-regs, verilog-decls-get-signals,
5040 verilog-decls-get-vars, verilog-decls-get-wires, verilog-decls-new,
5041 verilog-modi-cache-add-vars, verilog-modi-cache-add-wires,
5042 verilog-read-decls): Combine reg and wire structures into one var
5043 structure to represent SystemVerilog concepts.
5044 (verilog-auto-ascii-enum, verilog-auto-logic, verilog-auto-reg)
5045 (verilog-auto-reg-input, verilog-auto-tieoff, verilog-auto-wire)
a1beca85
SM
5046 (verilog-auto-wire-type, verilog-insert-definition):
5047 Add verilog-auto-wire-type and AUTOLOGIC to support using
6288f0ca
WS
5048 SystemVerilog "logic" keyword instead of "wire"/"reg".
5049 (verilog-auto-reg-input, verilog-decls-get-signals): Fix AUTOWIRE
5050 to declares outputs that also have assignments (presumably in an
a1beca85
SM
5051 ifdef or generate if so there's not a driver conflict).
5052 Reported by Matthew Myers.
5053 (verilog-auto-declare-nettype, verilog-insert-definition):
5054 Add verilog-auto-declare-nettype to fix declarations using
6288f0ca
WS
5055 `default_nettype none. Reported by Julian Gorfajn.
5056 (verilog-read-always-signals-recurse, verilog-read-decls)
5057 (verilog-read-sub-decls-gate): Fix infinite loop with (*) and
5058 malformed end statement, bug325. Reported by Joshua Wise and
5059 Andrew Drake.
5060 (verilog-auto-star-safe, verilog-delete-auto-star-implicit)
5061 (verilog-inst-comment-re): Fix not deleting Interfaced comment
1d00653d
SM
5062 when expanding .* in interfaces, bug320.
5063 Reported by Pierre-David Pfister.
6288f0ca 5064 (verilog-read-module-name): Fix import statements between module
1d00653d
SM
5065 name and open parenthesis, bug317.
5066 Reported by Pierre-David Pfister.
6288f0ca
WS
5067 (verilog-simplify-range-expression): Fix simplification of
5068 multiplications inside AUTOWIRE connections, bug303.
5069 (verilog-auto-inst-port): Support parameter expansion in
5070 multidimensional arrays.
5071 (verilog-read-decls): Fix AUTOREG etc looking for "endproperty"
5072 after "assert property". Reported by Julian Gorfajn.
5073 (verilog-simplify-range-expression): Fix "couldn't merge" errors
5074 with multiplication, bug303.
5075 (verilog-read-decls): Fix parsing of unsigned data types, bug302.
5076 Reported by Jan Frode Lonnum.
5077
1bbe96b2
GM
50782011-11-30 Juanma Barranquero <lekktu@gmail.com>
5079
5080 * htmlfontify.el (hfy-page-header, hfy-post-html-hooks)
5081 (hfy-shell-file-name, hfy-shell):
5082 * international/fontset.el (x-decompose-font-name): Fix typos.
5083
50842011-11-29 Ken Brown <kbrown@cornell.edu>
5085
5086 * progmodes/gdb-mi.el: Fix bug#9853, bug#9858, and bug#9878.
5087 (gdb-version): Remove defvar.
5088 (gdb-supports-non-stop): New defvar, replacing `gdb-version'.
5089 (gdb-gud-context-command, gdb-non-stop-handler)
5090 (gdb-current-context-command, gdb-stopped): Use it.
5091 (gdb-init-1): Enable pretty printing here.
6131ba7f
SM
5092 (gdb-non-stop-handler): Don't enable pretty-printing here.
5093 Check to see if the target supports non-stop mode; if not, turn off
1bbe96b2
GM
5094 non-stop mode. Use the following.
5095 (gdb-check-target-async): New defun.
5096 (gud-watch, gdb-stopped): Fix whitespace.
5097 (gdb-get-source-file): Don't try to display the source file if
5098 `gdb-main-file' is nil.
5099
51002011-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
5101
5102 * align.el: Try to generate fewer markers (bug#10047).
5103 (align--set-marker): New macro.
5104 (align-region): Use it.
5105
c935221f
SM
51062011-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
5107
5108 * isearch.el (isearch-yank-x-selection): Deactivate mark (bug#10022).
5109
e70b5064
CY
51102011-11-29 Chong Yidong <cyd@gnu.org>
5111
5112 * indent.el (indent-for-tab-command, indent-according-to-mode):
5113 Doc fix.
5114 (indent-region): Doc fix. Switch nested ifs to equivalent cond.
5115
f3af92b7
MA
51162011-11-29 Michael Albinus <michael.albinus@gmx.de>
5117
5118 * vc/diff-mode.el (diff-find-file-name): Make `read-file-name'
5119 aware of remote file names. (Bug#10124)
5120
ed472be9
CY
51212011-11-29 Chong Yidong <cyd@gnu.org>
5122
5123 * frame.el (auto-raise-mode, auto-lower-mode): Doc fix.
5124
24510c22
SM
51252011-11-28 Stefan Monnier <monnier@iro.umontreal.ca>
5126
5127 * files.el (find-file): Don't use force-same-window (bug#10144).
5128 * window.el (switch-to-buffer): Better match Emacs-23 behavior and only
5129 use pop-to-buffer if the selected window can't be used.
5130 (pop-to-buffer-same-window): Use display-buffer--same-window-action.
5131
c60c3703
EZ
51322011-11-28 Eli Zaretskii <eliz@gnu.org>
5133
5134 * vc/diff-mode.el (diff-mode-map): Don't inherit 'z' => 'M-z' from
5135 special-mode-map.
5136
e95def75
CY
51372011-11-28 Chong Yidong <cyd@gnu.org>
5138
5139 * emacs-lisp/easy-mmode.el (define-minor-mode): Fix default doc.
5140
c3f1c606
NR
51412011-11-27 Nick Roberts <nickrob@snap.net.nz>
5142
5143 * progmodes/gdb-mi.el (gdb-init-1): Condition execution of
5144 gdb-get-source-file-list on gdb-create-source-file-list.
5145
00db469c
EZ
51462011-11-26 Eli Zaretskii <eliz@gnu.org>
5147
5148 * whitespace.el (whitespace-newline): Use a different foreground
5149 color for 16-color light-background displays.
5150
4ad3bc2a
CY
51512011-11-24 Chong Yidong <cyd@gnu.org>
5152
5153 * window.el (display-buffer--special-action): Doc fix.
5154
e9fce1ac
JB
51552011-11-25 Juanma Barranquero <lekktu@gmail.com>
5156
5157 * emacs-lisp/avl-tree.el (avl-tree--do-copy, avl-tree-create)
5158 (avl-tree-compare-function, avl-tree-empty, avl-tree-enter)
5159 (avl-tree-delete, avl-tree-member, avl-tree-member-p, avl-tree-map)
5160 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar, avl-tree-copy)
5161 (avl-tree-clear, avl-tree-stack, avl-tree-stack-pop)
5162 (avl-tree-stack-first):
5163 * emacs-lisp/cconv.el (cconv--analyse-use):
5164 * net/gnutls.el (gnutls-negotiate): Fix typos.
5165
cb825e5d
GM
51662011-11-24 Glenn Morris <rgm@gnu.org>
5167
3adbe224
GM
5168 * lpr.el (lpr-windows-system, lpr-lp-system):
5169 * mail/binhex.el (binhex-begin-line):
5170 * progmodes/grep.el (grep-history, grep-find-history):
5171 * textmodes/flyspell.el:
5172 * vc/pcvs-defs.el (cvs-global-menu):
5173 * vc/vc-bzr.el (vc-bzr-admin-checkout-format-file):
5174 * vc/vc-mtn.el (vc-mtn-admin-dir, vc-mtn-admin-format):
5175 * vc/vc-cvs.el (vc-cvs-registered): Give them basic doc-strings.
5176
321decc8
GM
5177 * net/tls.el: Fix case of "GnuTLS".
5178
420b63ad
GM
5179 * paths.el (rmail-file-name): Format doc-string for make-docfile.
5180
cb825e5d
GM
5181 * version.el (emacs-build-system): Give it a doc-string.
5182
a0649f08
JL
51832011-11-24 Juri Linkov <juri@jurta.org>
5184
5185 * view.el (view-buffer): Revert 2011-07-19T15:01:49Z!larsi@gnus.org from 2011-07-19 (bug#8615).
5186
c0bc0fd4
GM
51872011-11-24 Glenn Morris <rgm@gnu.org>
5188
5189 * mail/rmailmm.el (rmail-mime): When rmail-enable-mime is non-nil,
5190 if called on a non-mime message just toggle the headers. (Bug#8006)
5191
20db1522
JB
51922011-11-24 Juanma Barranquero <lekktu@gmail.com>
5193
5194 * allout.el (allout-setup, allout-auto-save-temporarily-disabled)
5195 (allout-lead-with-comment-string, allout-structure-deleted-hook)
5196 (allout-mode, allout-chart-subtree, allout-hotspot-key-handler)
5197 (allout-rebullet-heading, allout-open-sibtopic)
5198 (allout-toggle-current-subtree-encryption)
5199 (allout-toggle-subtree-encryption, allout-encrypt-string)
5200 (allout-next-topic-pending-encryption, allout-adjust-file-variable)
5201 (allout-distinctive-bullets-string, allout-auto-activation):
5202 * window.el (window-normalize-buffer-to-display):
5203 * progmodes/verilog-mode.el (verilog-batch-indent):
5204 * textmodes/bibtex.el (bibtex-field-braces-opt)
5205 (bibtex-field-strings-opt):
5206 * vc/cvs-status.el (cvs-tree-merge):
5207 Fix typos.
5208
7262a87c
MA
52092011-11-23 Michael Albinus <michael.albinus@gmx.de>
5210
5211 * rfn-eshadow.el (rfn-eshadow-update-overlay): Let-bind
5212 `non-essential' to t, in order to avoid remote connections.
5213
283430a1
EZ
52142011-11-23 Eli Zaretskii <eliz@gnu.org>
5215
a1beca85
SM
5216 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
5217 On MS-DOS and MS-Windows, compare with loaddefs.el
283430a1
EZ
5218 case-insensitively.
5219
d2992a38
ML
52202011-11-23 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
5221
5222 * mail/unrmail.el (unrmail): Always add blank line. (Bug#7743)
5223
50419064
GM
52242011-11-23 Glenn Morris <rgm@gnu.org>
5225
da94eca1
GM
5226 * paths.el (rmail-file-name): Reformat the doc-string so that it
5227 is picked up.
5228
9aac4de2
GM
5229 * mail/rmail.el (rmail-message-filter, rmail-auto-file): Doc fixes.
5230 (rmail-auto-file): Ignore case in the "special" field names,
5231 as mail-fetch-field does for all others.
5232
8038d2d2
GM
5233 * mail/rmail.el (rmail-forward):
5234 * mail/rmailkwd.el (rmail-set-label):
5235 * mail/rmailout.el (rmail-output, rmail-output-as-seen)
5236 (rmail-output-body-to-file): Give error if no message. (Bug#10082)
5237
f3fe222a
GM
5238 * mail/rmail.el (rmail-current-message): Doc fix.
5239
50419064
GM
5240 * mail/rmail.el (rmail-message-filter): Mark as obsolete. (Bug#2624)
5241
28109f49
SM
52422011-11-22 Stefan Monnier <monnier@iro.umontreal.ca>
5243
5244 * server.el (server-eval-and-print): Allow C-g (bug#6585).
5245
394c65f1
GM
52462011-11-22 Glenn Morris <rgm@gnu.org>
5247
5248 * mail/rmailmm.el (test-rmail-mime-handler)
5249 (test-rmail-mime-bulk-handler)
5250 (test-rmail-mime-multipart-handler): Move tests to test/ directory.
5251
f2a0aa3a
JL
52522011-11-21 Juri Linkov <juri@jurta.org>
5253
1154d12e
JB
5254 * calc/calc.el (calc-read-key-sequence):
5255 Let-bind `input-method-function' to nil. (Bug#10018)
f2a0aa3a 5256
9c34a344
LMI
52572011-11-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
5258
5259 * emacs-lisp/cl-indent.el (common-lisp-loop-part-indentation):
5260 Tell the caller that the next line needs recomputation, even
5261 though it doesn't start a sexp (bug#10094).
5262
f04a3be9
SM
52632011-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
5264
5265 * emacs-lisp/autoload.el (autoload-generate-file-autoloads): Simplify.
5266
7978747f
SM
52672011-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
5268
f04a3be9
SM
5269 * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
5270 Use force-same-window.
7978747f 5271
fe7a3057
JB
52722011-11-20 Juanma Barranquero <lekktu@gmail.com>
5273
5274 * descr-text.el (describe-char-unicode-data):
5275 * json.el (json-string-escape):
5276 * mail/footnote.el (footnote-unicode-string, footnote-unicode-regexp)
5277 (Footnote-unicode, Footnote-style-p):
5278 * net/ntlm.el (ntlm-get-password-hashes): Fix typos.
5279
24901d61
CY
52802011-11-20 Chong Yidong <cyd@gnu.org>
5281
5282 * window.el (replace-buffer-in-windows): Restore interactive spec.
5283
bac7ff22
SM
52842011-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
5285
24f3d7b9
SM
5286 * electric.el (electric-indent-mode): Fix last change (too optimistic).
5287
bac7ff22
SM
5288 * emacs-lisp/bytecomp.el: Silence obsolete warnings more reliably.
5289 (byte-compile-global-not-obsolete-vars): New var.
5290 (byte-compile-check-variable, byte-compile-make-obsolete-variable):
5291 Use it.
5292 (byte-compile-warn-obsolete): Align text with the one in *Help*.
5293
cd1181db
JB
52942011-11-20 Juanma Barranquero <lekktu@gmail.com>
5295
5296 * progmodes/cwarn.el (cwarn-is-enabled, cwarn-font-lock-keywords):
5297 * progmodes/pascal.el (electric-pascal-equal):
5298 * textmodes/reftex-dcr.el (reftex-view-crossref-from-bibtex):
5299 * xml.el (xml-substitute-special): Fix typos.
5300
7fb18e9e
GM
53012011-11-20 Glenn Morris <rgm@gnu.org>
5302
5303 * mail/rmail.el (rmail-enable-mime-composing): Make it a defcustom.
5304 (rmail-insert-mime-forwarded-message-function, rmail-mime-feature):
5305 Doc fixes.
5306 (rmail-decode-mime-charset): Mark as obsolete.
5307
5308 * mail/rmailsum.el (rmail-message-regexp-p-1):
5309 * mail/rmail.el (rmail-search-message, rmail-forward, rmail-resend):
5310 Before using mime functions, check they are set. (Bug#10077)
5311
d5a6b3ba
JL
53122011-11-19 Juri Linkov <juri@jurta.org>
5313
5314 * info.el (Info-finder-find-node): Use `package--builtins' instead
5315 of `package-alist'. Use node names formed by the pattern "Keyword "
5316 and the keyword name.
5317
e981b61f
AS
53182011-11-19 Andreas Schwab <schwab@linux-m68k.org>
5319
1d00653d 5320 * progmodes/sh-script.el (sh-assignment-regexp): Add entry for bash.
e981b61f 5321
3ffbc301
JL
53222011-11-19 Juri Linkov <juri@jurta.org>
5323
5324 * info.el (Info-hide-note-references): Add `:set' tag to `defcustom'
5325 that calls `revert-buffer' on all Info buffers. (Bug#9915)
5326 (Info-revert-find-node): Remove let-bindings `old-buffer-name',
5327 `old-history', `old-history-forward'. Add let-binding
5328 `window-selected'. Remove calls to `kill-buffer',
5329 `switch-to-buffer' and `Info-mode'. Set `Info-current-file' to nil
5330 before calling `Info-find-node', so `Info-find-node-2' will reread
5331 the Info file. Restore window positions only when `window-selected'
5332 is non-nil.
5333
30c62133
JL
53342011-11-19 Juri Linkov <juri@jurta.org>
5335
5336 * isearch.el (isearch-lazy-highlight-new-loop):
5337 Remove condition `(not isearch-error)'. (Bug#9918)
5338
5339 * misearch.el (multi-isearch-search-fun): Add condition
5340 `(not bound)' to ignore lazy-highlighting search.
5341 Add the search-failed message "end of multi" when the end of
5342 multi-sequence is reached. Uncapitalize the search-failed
5343 message "Repeat for next buffer".
5344
5345 * info.el (Info-search): Add the search-failed message
5346 "end of the manual" when the end of the manual is reached
5347 in Isearch mode.
5348
645ca9cf
JL
53492011-11-19 Juri Linkov <juri@jurta.org>
5350
5351 * info.el (Info-find-node-2, Info-select-node, Info-history-find-node):
5352 Use non-destructive `remove' instead of `delete' because
5353 `Info-history-list' stored to `Info-isearch-initial-history-list' in
5354 `Info-isearch-start' might need to be restored in `Info-isearch-end'.
5355
df754f66
JL
53562011-11-19 Juri Linkov <juri@jurta.org>
5357
5358 * isearch.el (isearch-edit-string): Let-bind `history-add-new-input'
5359 to nil instead of binding `search-ring' and `regexp-search-ring'.
5360 (Bug#9185)
5361
0e23d96a
EZ
53622011-11-19 Eli Zaretskii <eliz@gnu.org>
5363
5364 * simple.el (line-move): Force movement by logical lines for any
5365 hscrolled window, not only when auto-hscroll-mode is on.
5366 (line-move-visual): Update doc string to that effect. (Bug#10076)
5367
8a6ccb66
AS
53682011-11-19 Andreas Schwab <schwab@linux-m68k.org>
5369
5370 * language/european.el (macintosh): Define as alias for mac-roman.
5371
49ae5b39
EZ
53722011-11-19 Eli Zaretskii <eliz@gnu.org>
5373
5374 * mail/rmailmm.el (rmail-mime-display-header)
5375 (rmail-mime-display-tagline, rmail-mime-display-body): New defsubsts.
5376 (rmail-mime-entity-segment, rmail-mime-toggle-raw)
5377 (rmail-mime-toggle-hidden, rmail-mime-insert-text)
5378 (rmail-mime-insert-bulk, rmail-mime-insert-multipart)
5379 (rmail-mime-insert, rmail-mime-insert-tagline): Use them instead
5380 of a raw aref.
5381 (rmail-mime-entity-segment): To get past the tagline, move forward
5382 2 more lines, to account for the 2 empty lines that precede and
5383 follow the line with the buttons.
5384 (rmail-mime-update-tagline): Move one more line, to get past the
5385 empty line that follows the buttons in the tagline. (Bug#9520)
5386
c56cad4a
MR
53872011-11-19 Martin Rudalics <rudalics@gmx.at>
5388
5389 * window.el (window-max-delta-1, window-min-delta-1)
5390 (window-min-size-1, window-state-get-1, window-state-put-1)
5391 (window-state-put-2): Use "window--" prefix.
5392
cbe71af3
SM
53932011-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
5394
2ad52c60
SM
5395 * emacs-lisp/smie.el: Improve warnings and conflict detection.
5396 (smie-warning-count): New var.
5397 (smie-set-prec2tab): Use it.
5398 (smie-bnf->prec2): Improve warnings. Add docstring.
5399 (smie-bnf--closer-alist): Rename from smie-bnf-closer-alist.
5400 (smie-bnf--set-class): New function.
5401 (smie-bnf--classify): Rename from smie-bnf-classify. Rewrite to fix
5402 corner case.
5403
6944dbc1
SM
5404 * progmodes/compile.el: Obey compilation-first-column in dest buffer.
5405 (compilation-error-properties, compilation-move-to-column):
5406 Handle compilation-first-column while in the target buffer.
5407
c400c4d7
SM
5408 * progmodes/cc-engine.el (c-remove-stale-state-cache-backwards):
5409 Don't hardcode point-min==1.
5410
6dbe3e96
SM
5411 * eshell/esh-cmd.el (eshell-do-eval): Handle `setq' (bug#9907).
5412 (eshell-rewrite-for-command): Remove workaround.
5413 (eshell-do-pipelines, eshell-do-pipelines-synchronously)
5414 (eshell-do-eval, eshell-exec-lisp): Avoid gratuitous setq.
5415 * eshell/esh-util.el (eshell-condition-case, eshell-for): Use declare.
5416
cbe71af3
SM
5417 * files-x.el (modify-file-local-variable): Obey commenting conventions.
5418
a8e1496d
GM
54192011-11-17 Glenn Morris <rgm@gnu.org>
5420
5421 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
5422 Ignore buffer-local generated-autoload-file if it is the same
5423 as the global value. (Bug#10049)
5424
df85d315
JB
54252011-11-17 Juanma Barranquero <lekktu@gmail.com>
5426
5427 * textmodes/reftex-toc.el (reftex-toc-return-marker, reftex-toc-help)
5428 (reftex-toc, reftex-toc, reftex-toc-dframe-p, reftex-toc-next-heading)
5429 (reftex-toc-previous-heading, reftex-toc-max-level)
5430 (reftex-toc-goto-line-and-hide, reftex-toc-show-calling-point)
5431 (reftex-toc-quit, reftex-toc-revert, reftex-toc-jump)
5432 (reftex-toc-do-promote, reftex-toc-promote-prepare)
5433 (reftex-toc-promote-action, reftex-toc-extract-section-number)
5434 (reftex-toc-load-all-files-for-promotion, reftex-toc-rename-label)
5435 (reftex-toc-rename-label, reftex-toc-visit-location)
5436 (reftex-toc-visit-location, reftex-toggle-auto-toc-recenter)
5437 (reftex-toggle-auto-toc-recenter, reftex-toggle-auto-toc-recenter)
5438 (reftex-make-separate-toc-frame): Fix typos, and use TOC consistently,
5439 leaving "*toc*" only for references to the buffer.
5440
a0c2d0ae
MR
54412011-11-17 Martin Rudalics <rudalics@gmx.at>
5442
5443 * window.el (window-resize, delete-window, split-window):
5444 Replace window-splits by window-combination-resize.
1d00653d 5445 * cus-start.el (window-splits): Replace by window-combination-resize.
a0c2d0ae 5446
35c0bac8
GM
54472011-11-17 Glenn Morris <rgm@gnu.org>
5448
5449 * progmodes/sh-script.el (sh-font-lock-keywords-var):
5450 Make bash entry derive from sh entry, not shell entry.
5451
d0c8fc8a
MA
54522011-11-16 Michael Albinus <michael.albinus@gmx.de>
5453
d0c8fc8a
MA
5454 * net/tramp-cache.el (tramp-flush-file-property): Flush also
5455 properties of linked files. (Bug#9879)
5456
7262a87c
MA
5457 * net/tramp-sh.el (tramp-sh-handle-file-truename): Cache only the
5458 local file name.
5459
7877f373
JB
54602011-11-16 Juanma Barranquero <lekktu@gmail.com>
5461
5462 * menu-bar.el (menu-bar-file-menu):
5463 * printing.el (pr-ps-utility):
5464 * calendar/icalendar.el (icalendar, icalendar--convert-tz-offset)
5465 (icalendar--convert-to-ical, icalendar--convert-ordinary-to-ical)
5466 (icalendar--convert-weekly-to-ical, icalendar--convert-yearly-to-ical)
5467 (icalendar--convert-sexp-to-ical, icalendar--convert-block-to-ical)
5468 (icalendar--convert-float-to-ical, icalendar--convert-date-to-ical)
5469 (icalendar--convert-cyclic-to-ical)
5470 (icalendar--convert-anniversary-to-ical, icalendar-import-buffer)
5471 (icalendar--convert-ical-to-diary)
5472 (icalendar--convert-recurring-to-diary)
5473 (icalendar--convert-non-recurring-all-day-to-diary)
5474 (icalendar-import-format-sample):
5475 * progmodes/idlw-shell.el (idlwave-shell-mode):
5476 * progmodes/vhdl-mode.el (vhdl-mode, vhdl-print-two-column)
5477 (vhdl-print-customize-faces, vhdl-mode, vhdl-ps-print-settings)
5478 (vhdl-ps-print-init): Fix typos.
5479
10649b82
KM
54802011-11-16 Ken Manheimer <ken.manheimer@gmail.com>
5481
9d0cfcd6
GM
5482 * allout.el, allout-widgets.el (file metadata): Attribute copyright to
5483 FSF and collapse date sequence, obscure author/maintainer email address
5484 better, remove extra version line, track relocation of author's webpage.
10649b82 5485
9d0cfcd6
GM
5486 * progmodes/python.el (python-pdbtrack-input-prompt)
5487 (python-pdbtrack-track-stack-file): Adjust to recognize ipdb as well as
5488 regular python pdb prompts. Adjustments shamelessly taken exactly as
5489 suggested in EmacsWiki page (tiny change):
5490 http://www.emacswiki.org/PythonProgrammingInEmacs#toc14
8642c216 5491
58179cce
JB
54922011-11-16 Juanma Barranquero <lekktu@gmail.com>
5493
5494 * expand.el (expand-pos, expand-index, expand-point):
5495 Remove redundant info from docstring.
5496 (expand-add-abbrevs): Doc fix.
5497 (expand-c-sample-expand-list, expand-sample-lisp-mode-expand-list)
5498 (expand-sample-perl-mode-expand-list): Fix typos.
5499
5500 * net/dbus.el (dbus-event-member-name):
5501 * play/5x5.el (5x5-solve-rotate-left, 5x5-solver-output):
5502 * term/pc-win.el (msdos-create-frame-with-faces):
5503 * textmodes/texinfmt.el (texinfo-format-image): Fix typos.
5504
b6f67890
MR
55052011-11-16 Martin Rudalics <rudalics@gmx.at>
5506
5507 * window.el (split-window, window-state-get-1)
5508 (window-state-put-1, window-state-put-2): Rename occurrences of
5509 window-nest to window-combination-limit.
1d00653d 5510 * cus-start.el (window-nest): Rename to window-combination-limit.
b6f67890 5511
ce7ddba0
CY
55122011-11-16 Chong Yidong <cyd@gnu.org>
5513
5514 * progmodes/autoconf.el (autoconf-mode): Fix comment-start-skip
5515 regexp (Bug#10033).
5516
3ae704f4
SM
55172011-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
5518
5519 * tmm.el (tmm-prompt): Use minibuffer-with-setup-hook (bug#10053).
5520 `completing-read' will remove *Completions* and will preserve
5521 current-buffer for us.
5522 (tmm-add-prompt): Users of *Completions* will always (re)set its
5523 major mode.
5524 (tmm-old-comp-map): Remove.
5525
6ad1cdde
GM
55262011-11-16 Glenn Morris <rgm@gnu.org>
5527
5528 * mail/rmailedit.el: Require rmailmm when compiling.
5529 (rmail-old-mime-state): New declaration.
5530 (rmail-edit-current-message): If editing a mime message,
5531 edit the "raw" message from the mbox buffer.
5532 (rmail-cease-edit): Handle mime messages. (Bug#9840)
5533
d20faa20
GM
55342011-11-15 Glenn Morris <rgm@gnu.org>
5535
5536 * mail/rmailmm.el (rmail-mime-toggle-raw): Remove entity arg,
5537 which wasn't being used. Add optional arg to force given state.
5538 (rmail-mime): Add optional arg to force given state.
5539
c7015153
JB
55402011-11-15 Juanma Barranquero <lekktu@gmail.com>
5541
5542 * allout.el (allout-encryption-plaintext-sanitization-regexps):
5543 * frame.el (display-mm-dimensions-alist):
5544 * outline.el (outline-mode-menu-bar-map, outline-move-subtree-up)
5545 (outline-move-subtree-down):
5546 * net/newst-treeview.el (newsticker--treeview-do-get-node-of-feed)
5547 (newsticker--treeview-do-get-node):
5548 * net/quickurl.el (quickurl-list-buffer-name):
5549 * progmodes/dcl-mode.el (dcl-mode):
5550 * progmodes/gdb-mi.el (gdb-mapcar*):
5551 * progmodes/sql.el (sql-mode-oracle-font-lock-keywords): Fix typos.
5552
45261b50
GM
55532011-11-15 Glenn Morris <rgm@gnu.org>
5554
5555 * mail/rmail.el (rmail-file-coding-system): It's only ever used
5556 in a boolean sense, so just make it a boolean, and fix the doc.
5557 (rmail-show-mime-function, rmail-mime-feature)
5558 (rmail-require-mime-maybe): Doc fixes.
5559 (rmail-show-message-1): Check rmail-show-mime-function is non-nil.
5560
5561 * mail/rmailmm.el (rmail-show-mime): Doc fix.
5562
0d26e0b6
JB
55632011-11-15 Juanma Barranquero <lekktu@gmail.com>
5564
5565 * epg.el (epg-start-decrypt, epg-start-verify, epg-start-sign)
5566 (epg-start-encrypt, epg-start-export-keys, epg-start-import-keys)
5567 (epg-start-receive-keys, epg-start-delete-keys, epg-start-sign-keys)
5568 (epg-start-generate-key, epg-context-set-progress-callback): Fix typos.
5569
447f30f6
GM
55702011-11-15 Glenn Morris <rgm@gnu.org>
5571
672b871d
GM
5572 * mail/rmailmm.el (rmail-mime-entity, rmail-mime-entity-segment)
5573 (rmail-mime-shown-mode, rmail-mime-hidden-mode, rmail-mime-raw-mode)
5574 (rmail-mime-toggle-hidden, rmail-mime-insert-tagline)
5575 (rmail-mime-insert-header, rmail-mime-handle, rmail-mime-parse)
5576 (rmail-mime, rmail-show-mime): Doc fixes.
5577
f6aa5bb1
GM
5578 * term/ns-win.el (mode-line-frame-identification):
5579 Leave it alone. (Bug#10051)
5580
947cd66b
GM
5581 * simple.el (mark-whole-buffer): Doc fix. (Bug#10023)
5582
447f30f6
GM
5583 * mail/rmailout.el (rmail-output-to-rmail-buffer):
5584 Handle empty buffers. (Bug#9978)
5585
0b381c7e
JB
55862011-11-14 Juanma Barranquero <lekktu@gmail.com>
5587
5588 * international/mule.el (define-charset):
5589 * mail/rmailmm.el (rmail-mime-find-header-encoding):
5590 * progmodes/prolog.el (prolog-mode-hook, prolog-inferior-mode-hook):
5591 * progmodes/verilog-mode.el (verilog-backward-token):
5592 * textmodes/ispell.el (lookup-words):
5593 * textmodes/sgml-mode.el (sgml-guess-indent): Fix typos.
5594
71e027ac
GM
55952011-11-14 Glenn Morris <rgm@gnu.org>
5596
56632ce4
GM
5597 * progmodes/executable.el
5598 (executable-make-buffer-file-executable-if-script-p):
5599 Handle file-modes returning nil.
5600
40500957
GM
5601 * mail/rmailsum.el (rmail-summary): Remove movement to beginning of
5602 message - not necessary, and causes problems. (Bug#9831)
5603
071c2340
GM
5604 * mail/rmailsum.el (rmail-new-summary): Preserve message number.
5605
d3cfca60
GM
5606 * mail/rmail.el (rmail-no-mail-p): Remove mode-line N/M indicator.
5607
71e027ac
GM
5608 * mail/rmailsum.el (rmail-summary, rmail-new-summary)
5609 (rmail-new-summary-1): Allow empty summaries. (Bug#9964)
5610 (rmail-new-summary): Remember that rmail-summary-buffer is buffer-local.
5611
89d61221
MR
56122011-11-12 Martin Rudalics <rudalics@gmx.at>
5613
5614 * window.el (window-resize, delete-window): Use window-splits
5615 variable instead of function.
5616 (window-state-get-1, window-state-put-2, window-state-put):
5617 Don't deal with windows' splits status.
5618
98282f6f
GM
56192011-11-12 Glenn Morris <rgm@gnu.org>
5620
5621 * apropos.el (apropos-do-all, apropos-library, apropos-value)
5622 (apropos-documentation): Doc fixes.
5623
40a8bdf6
JB
56242011-11-11 Juanma Barranquero <lekktu@gmail.com>
5625
5626 * progmodes/idlw-shell.el (idlwave-shell-make-new-bp-overlay):
5627 * textmodes/sgml-mode.el (html-tag-help): Fix typos.
5628
65bd19ff
SM
56292011-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
5630
5631 * electric.el (electric-indent-post-self-insert-function): Make it
5632 possible for a char to only indent in some circumstances.
5633 (electric-indent-mode): Simplify.
5634
54f9154c
MR
56352011-11-11 Martin Rudalics <rudalics@gmx.at>
5636
5637 * window.el (windows-with-parameter): Remove unused function.
5638 (windows-at-side): Rename to window-at-side-list.
5639 (window-check, window-atom-check, window-atom-check-1)
5e92ca23
MR
5640 (window-side-check, window-size-ignore, window-size-fixed-1)
5641 (window-in-direction-2): Prefix with "window--".
5642 (window-tree-1): Rename to window--subtree, fix doc-string.
54f9154c 5643
68cbc58b
GM
56442011-11-11 Glenn Morris <rgm@gnu.org>
5645
5646 * subr.el (eval-after-load): If FILE is already loaded,
5647 evaluate FORM before it gets wrapped in more stuff. (Bug#10009)
5648
b2621720
GM
56492011-11-10 Glenn Morris <rgm@gnu.org>
5650
9a4de110
GM
5651 * vc/vc-svn.el (vc-svn-create-repo, vc-svn-modify-change-comment):
5652 Call svn via vc-svn-command rather than vc-do-command.
5653 (vc-svn-command): Add --non-interactive. (Bug#9993)
5654 (vc-svn-update, vc-svn-merge-news): No need for --non-interactive.
5655
b2621720
GM
5656 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
5657 Add toggle-read-only. (Bug#7292)
5658 * files.el (toggle-read-only): Mention that it should only
5659 be used interactively. (Bug#10006)
5660
1dce7193
SM
56612011-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
5662
d9ac1a1e
SM
5663 * progmodes/compile.el (compilation-error-regexp-alist-alist):
5664 Adjust regexp for OCaml warnings.
5665
0c325082
SM
5666 * electric.el (electric-pair-post-self-insert-function): Let user
5667 turn it off buffer-locally (bug#9932).
5668
90132c14
SM
5669 * progmodes/python.el (python-beginning-of-statement):
5670 Rewrite (bug#2703).
5671
1dce7193
SM
5672 * progmodes/compile.el: Better handle TABs (bug#9749).
5673 (compilation-internal-error-properties)
5674 (compilation-next-error-function): Obey the target buffer's
5675 compilation-error-screen-columns.
5676
c4e7c63a
JB
56772011-11-09 Juanma Barranquero <lekktu@gmail.com>
5678
5679 * progmodes/meta-mode.el: Remove obsolete comments.
5680 (meta-right-comment-regexp, meta-ignore-comment-regexp):
5681 Fix typos in docstrings.
5682
2cffd681
MR
56832011-11-09 Martin Rudalics <rudalics@gmx.at>
5684
5685 * window.el (window-size-fixed-p): Rewrite doc-string.
1dce7193 5686 (window-resizable-p): Rename to window--resizable-p. Update callers.
2cffd681
MR
5687 (window--resizable): New function. Make all callers of
5688 window-resizable call window--resizable instead.
5689 (window-resizable): Rewrite in terms of window--resizable.
5690
0edcba87
GM
56912011-11-08 Glenn Morris <rgm@gnu.org>
5692
5693 * progmodes/delphi.el (delphi-mode-syntax-table):
5694 Let define-derived-mode define a proper syntax table. (Bug#9994)
5695
4b0d61e3
SM
56962011-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
5697
5698 * window.el: Stay away from defsubst.
5699 (window-list-no-nils): Remove.
5700 (window-state-get-1, window-state-get): Use backquote instead.
5701
cd394be1 57022011-11-08 Thierry Volpiatto <thierry.volpiatto@gmail.com>
fcbcac2e 5703
4b0d61e3 5704 * emacs-lisp/find-func.el (find-function-read):
fcbcac2e 5705 Fix incorrect use of default argument in `completing-read'.
5706
e1c2c6f2
MR
57072011-11-08 Martin Rudalics <rudalics@gmx.at>
5708
5709 * window.el (display-buffer-function, special-display-function):
5710 Mention display-buffer-record-window but do not mention
5711 help-setup parameter in doc-strings.
b3f4a882 5712 (window-min-delta): Fix doc-string typo.
e1c2c6f2 5713
105216ed
CY
57142011-11-08 Chong Yidong <cyd@gnu.org>
5715
5716 * window.el (window-total-height, window-total-width): Doc fix.
5717 (window-body-size): Move from C.
5718 (window-body-height, window-body-width): Move to C.
5719
0a9f9ab5
SM
57202011-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
5721
5722 * window.el: Make special-display like display-buffer-alist (bug#9532).
5723 (display-buffer--special-action): New function, morphed
5724 from display-buffer--special.
5725 (display-buffer): Use it to handle special-display-buffers at higher
5726 priority (just after display-buffer-alist).
5727 (display-buffer-fallback-action, display-buffer--other-frame-action)
5728 (pop-to-buffer-same-window): Remove display-buffer--special.
5729
a769dd15
GM
57302011-11-07 Glenn Morris <rgm@gnu.org>
5731
5732 * calendar/cal-menu.el (cal-menu-set-date-title):
5733 Do nothing if not in a calendar. (Bug#9976)
5734
05a61ee3
SM
57352011-11-07 Stefan Monnier <monnier@iro.umontreal.ca>
5736
5737 * files.el (find-file): Always use selected-window.
5738
be7f5545
MR
57392011-11-07 Martin Rudalics <rudalics@gmx.at>
5740
5741 * window.el (window-combinations): Make WINDOW argument
5742 mandatory. Rewrite doc-string.
5743 (walk-window-subtree, window-atom-check, window-min-delta)
5744 (window-max-delta, window--resize-this-window)
5745 (window--resize-root-window-vertically, window-tree)
5746 (balance-windows, window-state-put): Rewrite doc-strings as to
5747 not mention the term "subwindow".
5748 (window--resize-subwindows-skip-p): Rename to
5749 window--resize-child-windows-skip-p.
5750 (window--resize-subwindows-normal): Rename to
5751 window--resize-child-windows-normal.
5752 (window--resize-subwindows): Rename to
5753 window--resize-child-windows.
5754 (window-or-subwindow-p): Rename to window--in-subtree-p.
5755
3c6702ef
ML
57562011-11-07 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
5757
5758 * mail/rmail.el (rmail-get-new-mail, rmail-insert-inbox-text):
5759 Ensure that mbox format messages end in two newlines (Bug#9974).
5760
49745b39
CY
57612011-11-06 Chong Yidong <cyd@gnu.org>
5762
5763 * window.el (window-combination-p): Function deleted; its
5764 side-effect is not used in any existing code.
5765 (window-combinations, window-combined-p): Call window-*-child
5766 directly.
5767
24300f5f
CY
57682011-11-05 Chong Yidong <cyd@gnu.org>
5769
5770 * window.el (window-valid-p): Rename from window-any-p.
447f16b8
CY
5771 (window-size-ignore, window-state-get): Callers changed.
5772 (window-normalize-window): Rename from window-normalize-any-window.
5773 New arg LIVE-ONLY, replacing window-normalize-live-window.
1dce7193 5774 (window-normalize-live-window): Delete.
447f16b8
CY
5775 (window-combination-p, window-combined-p, window-combinations)
5776 (walk-window-subtree, window-atom-root, window-min-size)
5777 (window-sizable, window-sizable-p, window-size-fixed-p)
5778 (window-min-delta, window-max-delta, window-resizable)
5779 (window-resizable-p, window-full-height-p, window-full-width-p)
5780 (window-current-scroll-bars, window-point-1, set-window-point-1)
5781 (window-at-side-p, window-in-direction, window-resize)
5782 (adjust-window-trailing-edge, maximize-window, minimize-window)
5783 (window-deletable-p, delete-window, delete-other-windows)
5784 (record-window-buffer, unrecord-window-buffer)
5785 (switch-to-prev-buffer, switch-to-next-buffer, window--delete)
5786 (quit-window, split-window, window-state-put)
5787 (set-window-text-height, fit-window-to-buffer)
5788 (shrink-window-if-larger-than-buffer): Callers changed.
24300f5f 5789
89bd5ee1
EZ
57902011-11-04 Eli Zaretskii <eliz@gnu.org>
5791
53479029
EZ
5792 * mail/rmail.el (rmail-simplified-subject): Decode subject with
5793 rfc2047-decode-string.
5794 (rmail-mime-toggle-hidden): Declare to avoid byte-compilation
5795 warnings.
5796
89bd5ee1
EZ
5797 * window.el (window-body-height, window-body-width): Mention in
5798 the doc string that the return values are in frame's canonical
5799 units. (Bug#9949)
5800
bd17fdee
AM
58012011-11-03 Alan Mackenzie <acm@muc.de>
5802
5803 * progmodes/cc-langs.el (c-nonlabel-token-2-key): New variable for
5804 change in cc-engine.el.
5805
acc825c5
SM
58062011-11-02 Stefan Monnier <monnier@iro.umontreal.ca>
5807
5808 * window.el (switch-to-buffer): Use `force-same-window' interactively.
5809
1885e5b8
MR
58102011-11-02 Martin Rudalics <rudalics@gmx.at>
5811
5812 * window.el (quit-window): Call unrecord-window-buffer after
5813 showing another buffer in the window. (Bug#9937)
acc825c5 5814 (bury-buffer): Call switch-to-prev-buffer with second argument `bury'.
1885e5b8 5815
ebe06da9
JB
58162011-11-02 Juanma Barranquero <lekktu@gmail.com>
5817
5818 * vc/vc-bzr.el (vc-bzr-state, vc-bzr-after-dir-status):
5819 Accept status with more than 9 shelves. (Bug#9935)
5820 Reported by Colin D Bennett <colin@gibibit.com>.
5821
4ee88440
MR
58222011-11-01 Martin Rudalics <rudalics@gmx.at>
5823
5824 * help.el (with-help-window): Don't reference
5825 temp-buffer-show-specifiers in doc-string.
5826
08e1d82c
AS
58272011-10-31 Andreas Schwab <schwab@linux-m68k.org>
5828
5829 * subr.el (keymap--menu-item-with-binding): Ignore item if not a
5830 menu-item.
5831
84bd6e9e
VJL
58322011-10-30 Vinicius Jose Latorre <viniciusjl@ig.com.br>
5833
5834 * whitespace.el: New version 13.2.2.
5835 (whitespace-newline-mode): Disable properly. Reported by Sarah
5836 <EmacsWiki>.
5837
dba0634a
UJ
58382011-10-30 Ulf Jasper <ulf.jasper@web.de>
5839
5840 * net/newst-treeview.el: Remove "Time-stamp".
5841 (newsticker--group-manage-orphan-feeds): Do not call
5842 newsticker--treeview-tree-update.
db22a3c2
JB
5843 (newsticker-treeview-update, newsticker-treeview):
5844 Call newsticker--treeview-tree-update if necessary.
dba0634a 5845
3d8daefe
MR
58462011-10-30 Martin Rudalics <rudalics@gmx.at>
5847
5848 * window.el (window-iso-combination-p, window-iso-combined-p)
acc825c5
SM
5849 (window-iso-combinations): Remove "iso-" infix.
5850 Suggested by Chong Yidong.
3d8daefe
MR
5851 (window-min-size-1, window-size-fixed-1, window-min-delta-1)
5852 (window-max-delta-1, window-resize, window--resize-siblings)
5853 (window--resize-this-window, adjust-window-trailing-edge)
5854 (split-window, balance-windows-1)
5855 (shrink-window-if-larger-than-buffer):
5856 * calendar/calendar.el (calendar-generate-window):
db22a3c2 5857 * help.el (resize-temp-buffer-window): Adjust callers accordingly.
3d8daefe 5858
1bc4c3ae
SM
58592011-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
5860
5861 * eshell/esh-cmd.el (eshell-rewrite-for-command): Don't modify the list
5862 in place (bug#9907).
5863 (eshell-subcommand-arg-values, eshell-rewrite-named-command)
5864 (eshell-rewrite-if-command, eshell-rewrite-for-command)
5865 (eshell-structure-basic-command, eshell-rewrite-while-command)
5866 (eshell-invokify-arg, eshell-parse-pipeline, eshell-parse-command)
5867 (eshell-parse-subcommand-argument, eshell-parse-lisp-argument)
5868 (eshell-trap-errors, eshell-do-pipelines, eshell-do-eval)
5869 (eshell-do-pipelines-synchronously, eshell-eval-command):
5870 Use backquotes and prefer setq to set.
5871 (eshell-lookup-function, function-p-func, eshell-functionp): Remove.
5872 (eshell-macrop): Use functionp.
c1e2f5fa 5873 (eshell-do-eval): Handle multiple expressions in `while' body.
1bc4c3ae 5874
30b65d9c
CY
58752011-10-30 Chong Yidong <cyd@gnu.org>
5876
5877 * emulation/viper-cmd.el (viper-exec-change): Use push-mark
5878 instead of set-mark (Bug#9810).
5879
2d197ffb
CY
58802011-10-30 Chong Yidong <cyd@gnu.org>
5881
5882 * window.el (split-window-below, split-window-right): Rename from
5883 split-window-above-each-other and split-window-side-by-side
5884 respectively. All callers changed.
5885 (split-window-sensibly, split-window-sensibly): Use them.
5886 (split-window-keep-point): Doc fix.
5887
5888 * isearch.el: Add isearch-scroll property to split-window-below
5889 and split-window-right.
5890
5891 * follow.el (follow-mode):
5892 * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
5893 * progmodes/ada-xref.el (ada-gdb-application):
5894 * emulation/vip.el (vip-buffer-in-two-windows):
5895 * image-dired.el (image-dired-dired-with-window-configuration):
5896 * dired-x.el (dired-do-find-marked-files):
5897 * dired.el (dired-pop-to-buffer):
5898 * bs.el (bs--show-with-configuration):
5899 * vc/emerge.el (emerge-setup-windows):
5900 * textmodes/two-column.el (2C-two-columns):
5901 * textmodes/reftex-toc.el (reftex-toc):
5902 * progmodes/gdb-mi.el (gdb-setup-windows):
5903 * progmodes/fortran.el (fortran-window-create):
5904 * net/newst-treeview.el (newsticker--treeview-window-init):
5905 * emulation/ws-mode.el (wordstar-C-o-map, wordstar-mode):
5906 * emulation/tpu-edt.el (tpu-gold-map):
5907 * emulation/crisp.el (crisp-mode-map):
5908 * calendar/calendar.el (calendar-basic-setup): Callers changed.
5909
38bb2ca8
CY
59102011-10-29 Chong Yidong <cyd@gnu.org>
5911
aa4de341
CY
5912 * subr.el (y-or-n-p): Add code for batch mode (Bug#9818).
5913
e1eb5385
CY
5914 * mouse.el (mouse-yank-primary): Push the mark (Bug#9894).
5915
5d2ece3c
CY
5916 * textmodes/flyspell.el (flyspell-word): Fix char offset for
5917 forged Ispell output (Bug#7904).
5918
38bb2ca8
CY
5919 * emacs-lisp/package.el (package-refresh-contents): Add autoload.
5920
d0af9f77
SM
59212011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
5922
5923 * doc-view.el: Avoid ugly errors about not finding nil.
5924 (doc-view-ghostscript-program, doc-view-dvipdfm-program)
5925 (doc-view-dvipdf-program, doc-view-unoconv-program)
5926 (doc-view-ps2pdf-program, doc-view-pdftotext-program):
5927 Avoid nil or absolute file name as default value.
5928 (doc-view-pdf->txt, doc-view-ps->pdf): Use executable-find here.
5929
52bedd34
AM
59302011-10-28 Alan Mackenzie <acm@muc.de>
5931
db22a3c2 5932 * progmodes/cc-defs.el (c-version): -> 5.32.2.
52bedd34 5933
7e43cfa5
AM
59342011-10-28 Alan Mackenzie <acm@muc.de>
5935
5936 Amend the handling of c-beginning/end-of-defun in nested declaration
5937 scopes.
5938
52bedd34
AM
5939 * progmodes/cc-vars.el (c-defun-tactic): Move here from
5940 cc-langs.el. Change it to a defcustom.
7e43cfa5 5941
52bedd34
AM
5942 * progmodes/cc-langs.el (c-defun-tactic): Move this variable to
5943 cc-vars.el.
7e43cfa5 5944
d0af9f77
SM
5945 * progmodes/cc-engine.el (c-beginning-of-statement-1):
5946 Prevent "class foo : bar" being spuriously recognized as a label.
7e43cfa5 5947
52bedd34 5948 * progmodes/cc-cmds.el (c-narrow-to-most-enclosing-decl-block):
acc825c5 5949 Add parameter `inclusive' (to include enclosing braces in the region).
7e43cfa5
AM
5950 (c-widen-to-enclosing-decl-scope): New function.
5951 (c-while-widening-to-decl-block): New macro.
5952 (c-beginning-of-defun, c-end-of-defun): Change algorithm to keep going
5953 outward for defun boundaries, and correspondingly change symbol
5954 `respect-enclosure' to `go-outward'.
5955 (c-declaration-limits): Change algorithm to report only the "innermost"
5956 defun's boundaries.
5957
1a2ce9ee
DD
59582011-10-28 Deniz Dogan <deniz@dogan.se>
5959
5960 * net/rcirc.el (rcirc-mode): Use hard newlines.
5961
bc97a826
AM
59622011-10-28 Alan Mackenzie <acm@muc.de>
5963
5964 Amend to indent and fontify macros "which include their own semicolon"
5965 correctly, using the "virtual semicolon" mechanism.
5966
52bedd34 5967 * progmodes/cc-defs.el: Update "virtual semicolon" comments.
bc97a826 5968
d0af9f77 5969 * progmodes/cc-engine.el (c-crosses-statement-barrier-p):
7877f373 5970 Recode to scan one line at a time rather than having \n and \r
58179cce 5971 explicitly in c-stmt-delim-chars (for some modes, e.g. AWK).
bc97a826 5972 (c-forward-label): Amend for virtual semicolons.
58179cce 5973 (c-at-macro-vsemi-p, c-macro-vsemi-status-unknown-p): New functions.
bc97a826 5974
52bedd34
AM
5975 * progmodes/cc-fonts.el (c-font-lock-declarations): Take account
5976 of the new C macros.
bc97a826 5977
52bedd34 5978 * progmodes/cc-langs.el (c-at-vsemi-p-fn):
acc825c5
SM
5979 (c-vsemi-status-unknown-p-fn): Move to earlier in the file.
5980 (c-opt-cpp-symbol, c-line-comment-start-regexp): New language vars.
bc97a826
AM
5981 (c-opt-cpp-macro-define): Make into a full language variable.
5982 (c-stmt-delim-chars, c-stmt-delim-chars-with-comma): Special value for
5983 AWK Mode (including \n, \r) removed, no longer needed.
5984
d0af9f77
SM
5985 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode):
5986 Invoke c-make-macro-with-semi-re.
bc97a826 5987
52bedd34
AM
5988 * progmodes/cc-vars.el (c-macro-with-semi-re):
5989 (c-macro-names-with-semicolon): New variables.
58179cce 5990 (c-make-macro-with-semi-re): New function.
bc97a826 5991
7a6c0941
SM
59922011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
5993
5994 * vc/log-edit.el: Fill empty field rather than adding new one.
5995 (log-edit-add-field): New function.
5996 (log-edit-insert-changelog): Use it.
5997
b0c4cdcf
ML
59982011-10-28 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
5999
6000 * mail/rmail.el (rmail-mode-map): Add M-C-f as in rmailsum (bug#9802).
6001
ee1f1da9
SM
60022011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
6003
6004 * progmodes/gdb-mi.el: Warn the user when -i=mi is missing.
6005 (gdb--check-interpreter): New function.
6006 (gdb): Use it.
6007
51bc5f8b
GM
60082011-10-27 Glenn Morris <rgm@gnu.org>
6009
416a2c45
GM
6010 * emacs-lisp/cl-extra.el (most-positive-float, most-negative-float)
6011 (least-positive-float, least-negative-float)
6012 (least-positive-normalized-float, least-negative-normalized-float)
6013 (float-epsilon, float-negative-epsilon):
6014 Remove unnecessary declarations.
6015
6016 * emacs-lisp/cl-extra.el (cl-float-limits): Add doc string.
6017 * emacs-lisp/cl.el (most-positive-float, most-negative-float)
6018 (least-positive-float, least-negative-float)
6019 (least-positive-normalized-float, least-negative-normalized-float)
6020 (float-epsilon, float-negative-epsilon): Add doc-strings,
6021 based on those in cl.texi.
6022
51bc5f8b
GM
6023 * files.el (set-visited-file-name): If the major-mode changed,
6024 reload the local variables. (Bug#9796)
6025
15de15c6
CY
60262011-10-27 Chong Yidong <cyd@gnu.org>
6027
6028 * subr.el (change-major-mode-after-body-hook): New hook.
6029 (run-mode-hooks): Run it.
6030
ee1f1da9
SM
6031 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
6032 Use change-major-mode-before-body-hook.
15de15c6
CY
6033
6034 * simple.el (fundamental-mode):
6035 * emacs-lisp/derived.el (define-derived-mode): Revert 2010-04-28
6036 change introducing fundamental-mode-hook.
6037
5430d399
JB
60382011-10-26 Juanma Barranquero <lekktu@gmail.com>
6039
acc825c5 6040 * term/w32-win.el (w32-default-color-map): Declare obsolete (Bug#9785).
5430d399 6041
ad74a69e
MA
60422011-10-26 Michael Albinus <michael.albinus@gmx.de>
6043
6044 * ido.el (ido-file-name-all-completions-1): Do not require
c7015153 6045 tramp.el explicitly. (Bug#7583)
ad74a69e 6046
71d4c2a5
SM
60472011-10-26 Stefan Monnier <monnier@iro.umontreal.ca>
6048
6049 * progmodes/octave-mod.el:
6050 * progmodes/octave-inf.el: Update maintainer.
6051
b1f6fa26
CY
60522011-10-26 Chong Yidong <cyd@gnu.org>
6053
6054 * subr.el (with-wrapper-hook): Rewrite doc.
6055
3f04efd6
MA
60562011-10-25 Michael Albinus <michael.albinus@gmx.de>
6057
6058 * net/tramp-sh.el (tramp-sh-handle-file-directory-p): Return t for
ad74a69e 6059 filenames "/method:foo:". (Bug#9793)
3f04efd6 6060
410488d3
SM
60612011-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
6062
6063 * comint.el (comint-get-old-input-default): Fix use-prompt-regexp case
6064 (bug#9865).
6065
c1ebb47e
GM
60662011-10-24 Glenn Morris <rgm@gnu.org>
6067
6068 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix. (Bug#9819)
6069
7f5c46c7
MA
60702011-10-24 Michael Albinus <michael.albinus@gmx.de>
6071
6072 * notifications.el: Add the requirement of a running D-Bus session
6073 bus to the Commentary.
6074
db2440b6
JL
60752011-10-24 Juri Linkov <juri@jurta.org>
6076
6077 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
6078 `search-whitespace-regexp' only when `isearch-regexp' is non-nil.
6079 (Bug#9364)
6080
feecf435
JL
60812011-10-24 Juri Linkov <juri@jurta.org>
6082
6083 * info.el (Info-following-node-name-re): Add newline to the list
6084 of allowed characters for leading space. (Bug#9824)
6085
a3839de2
SM
60862011-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
6087
acc825c5
SM
6088 * progmodes/octave-inf.el (inferior-octave-mode-map):
6089 Fix C-c C-h binding.
a3839de2
SM
6090 * progmodes/octave-mod.el (octave-help): Remove.
6091
09388e76
MA
60922011-10-23 Michael Albinus <michael.albinus@gmx.de>
6093
6094 Sync with Tramp 2.2.3.
6095
6096 * net/tramp-cache.el (top): Pacify byte-compiler using
6097 `init-file-user' and `site-run-file'.
6098
6099 * net/trampver.el: Update release number.
6100
86c60681
CY
61012011-10-23 Chong Yidong <cyd@gnu.org>
6102
6103 * files.el (toggle-read-only): Remove obsolete comment about
6104 version control.
6105
6106 * vc/vc-hooks.el (vc-toggle-read-only): Make it an obsolete alias
6107 for toggle-read-only. Note that this hasn't called vc-next-action
6108 since 2008-05-02, though it wasn't documented at the time.
6109
a3839de2
SM
6110 * vc/ediff-init.el (ediff-toggle-read-only-function):
6111 Use toggle-read-only.
86c60681 6112
cd5495ff
AM
61132011-10-22 Alan Mackenzie <bug-cc-mode@gnu.org>
6114
6115 Fix bug #9560, sporadic wrong indentation; improve instrumentation
6116 of c-parse-state.
6117
00b77525 6118 * progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache):
a3839de2 6119 correct faulty logical expression.
cd5495ff
AM
6120 (c-parse-state-state, c-record-parse-state-state):
6121 (c-replay-parse-state-state): New defvar/defuns.
6122 (c-debug-parse-state): Use new functions.
6123
42ee24ed
MR
61242011-10-22 Martin Rudalics <rudalics@gmx.at>
6125
6126 * mouse.el (mouse-drag-line): Fix minibuffer resizing broken by
53ebff1f 6127 last fix. Use window-in-direction correctly.
42ee24ed 6128
a7dee7e7
CY
61292011-10-21 Chong Yidong <cyd@gnu.org>
6130
6131 * progmodes/idlwave.el (idlwave-mode):
6132 * progmodes/vera-mode.el (vera-mode): No need to set
a3839de2
SM
6133 require-final-newline; that's done in prog-mode.
6134 Suggested by Stefan Monnier.
a7dee7e7 6135
e07b9a6d
MR
61362011-10-21 Martin Rudalics <rudalics@gmx.at>
6137
6138 * mouse.el (mouse-drag-window-above)
6139 (mouse-drag-move-window-bottom, mouse-drag-move-window-top)
6140 (mouse-drag-mode-line-1, mouse-drag-header-line)
6141 (mouse-drag-vertical-line-rightward-window): Remove.
6142 (mouse-drag-line): New function.
6143 (mouse-drag-mode-line, mouse-drag-header-line)
6144 (mouse-drag-vertical-line): Call mouse-drag-line.
6145 * window.el (window-at-side-p, windows-at-side): New functions.
6146
7e1361d9
UM
61472011-10-21 Ulrich Mueller <ulm@gentoo.org>
6148
6149 * tar-mode.el (tar-grind-file-mode):
6150 Fix handling of setuid/setgid, handle sticky bit. (Bug#9817)
6151
30fcaf3a
CY
61522011-10-21 Chong Yidong <cyd@gnu.org>
6153
6154 * progmodes/idlwave.el (idlwave-mode):
a3839de2
SM
6155 * progmodes/vera-mode.el (vera-mode):
6156 Use mode-require-final-newline.
30fcaf3a 6157
516eddb0
GM
61582011-10-20 Glenn Morris <rgm@gnu.org>
6159
db22a3c2 6160 * vc/vc.el (vc-next-action): Handle removed directories. (Bug#9781)
516eddb0 6161
10d5f513
CS
61622011-10-20 Christoph Scholtes <cschol2112@googlemail.com>
6163
6164 * emulation/cua-base.el (cua-set-mark): Fix case of string.
6165
ac6c8639
CY
61662011-10-20 Chong Yidong <cyd@gnu.org>
6167
6168 * emulation/cua-base.el (cua-mode):
6169 * mail/footnote.el (footnote-mode):
6170 * mail/mailabbrev.el (mail-abbrevs-mode):
6171 * net/xesam.el (xesam-minor-mode):
6172 * progmodes/bug-reference.el (bug-reference-mode):
6173 * progmodes/cap-words.el (capitalized-words-mode):
6174 * progmodes/compile.el (compilation-minor-mode)
6175 (compilation-shell-minor-mode):
6176 * progmodes/gud.el (gud-tooltip-mode):
6177 * progmodes/hideif.el (hide-ifdef-mode):
6178 * progmodes/idlw-shell.el (idlwave-shell-electric-debug-mode):
6179 * progmodes/subword.el (subword-mode):
6180 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
6181 * progmodes/which-func.el (which-function-mode):
6182 * term/tvi970.el (tvi970-set-keypad-mode):
6183 * term/vt100.el (vt100-wide-mode):
6184 * textmodes/flyspell.el (flyspell-mode):
6185 * textmodes/ispell.el (ispell-minor-mode):
6186 * textmodes/nroff-mode.el (nroff-electric-mode):
6187 * textmodes/paragraphs.el (use-hard-newlines):
6188 * textmodes/refill.el (refill-mode):
6189 * textmodes/reftex.el (reftex-mode):
6190 * textmodes/rst.el (rst-minor-mode):
6191 * textmodes/sgml-mode.el (html-autoview-mode)
6192 (sgml-electric-tag-pair-mode):
6193 * textmodes/tex-mode.el (latex-electric-env-pair-mode):
6194 * vc/diff-mode.el (diff-auto-refine-mode, diff-minor-mode):
6195 * emulation/crisp.el (crisp-mode):
6196 * emacs-lisp/eldoc.el (eldoc-mode):
6197 * emacs-lisp/checkdoc.el (checkdoc-minor-mode): Doc fixes for new
6198 minor mode behavior.
6199
aa42ab43
JL
62002011-10-19 Juri Linkov <juri@jurta.org>
6201
6202 * descr-text.el (describe-char): Add #x2010 and #x2011 to
6203 the list of hard-coded chars with escape-glyph face.
6204
89400f1d
SM
62052011-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
6206
6207 * vc/log-edit.el (log-edit-empty-buffer-p): Ignore empty headers.
6208
305c07f6
MA
62092011-10-19 Michael Albinus <michael.albinus@gmx.de>
6210
6211 * net/tramp.el (tramp-connectable-p): Make a stronger check on a
6212 running process.
6213
13754b54
GM
62142011-10-19 Glenn Morris <rgm@gnu.org>
6215
6216 * vc/vc-bzr.el (vc-bzr-after-dir-status):
6217 Ignore ignored files. (Bug#9726)
6218
06e21633
CY
62192011-10-19 Chong Yidong <cyd@gnu.org>
6220
6221 Doc fix for minor modes, stating that an omitted argument enables
6222 the mode unconditionally when called from Lisp.
6223
6224 * abbrev.el (abbrev-mode):
6225 * allout.el (allout-mode):
6226 * autoinsert.el (auto-insert-mode):
6227 * autoarg.el (autoarg-mode, autoarg-kp-mode):
6228 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
6229 (global-auto-revert-mode):
6230 * battery.el (display-battery-mode):
6231 * composite.el (global-auto-composition-mode)
6232 (auto-composition-mode):
6233 * delsel.el (delete-selection-mode):
6234 * desktop.el (desktop-save-mode):
6235 * dired-x.el (dired-omit-mode):
6236 * dirtrack.el (dirtrack-mode):
6237 * doc-view.el (doc-view-minor-mode):
6238 * double.el (double-mode):
6239 * electric.el (electric-indent-mode, electric-pair-mode):
6240 * emacs-lock.el (emacs-lock-mode):
6241 * epa-hook.el (auto-encryption-mode):
6242 * follow.el (follow-mode):
6243 * font-core.el (font-lock-mode):
6244 * frame.el (auto-raise-mode, auto-lower-mode, blink-cursor-mode):
6245 * help.el (temp-buffer-resize-mode):
6246 * hilit-chg.el (highlight-changes-mode)
6247 (highlight-changes-visible-mode):
6248 * hi-lock.el (hi-lock-mode):
6249 * hl-line.el (hl-line-mode, global-hl-line-mode):
6250 * icomplete.el (icomplete-mode):
6251 * ido.el (ido-everywhere):
6252 * image-file.el (auto-image-file-mode):
6253 * image-mode.el (image-minor-mode):
6254 * iswitchb.el (iswitchb-mode):
6255 * jka-cmpr-hook.el (auto-compression-mode):
6256 * linum.el (linum-mode):
6257 * longlines.el (longlines-mode):
6258 * master.el (master-mode):
6259 * mb-depth.el (minibuffer-depth-indicate-mode):
6260 * menu-bar.el (menu-bar-mode):
6261 * minibuf-eldef.el (minibuffer-electric-default-mode):
6262 * mouse-sel.el (mouse-sel-mode):
6263 * msb.el (msb-mode):
6264 * mwheel.el (mouse-wheel-mode):
6265 * outline.el (outline-minor-mode):
6266 * paren.el (show-paren-mode):
6267 * recentf.el (recentf-mode):
6268 * reveal.el (reveal-mode, global-reveal-mode):
6269 * rfn-eshadow.el (file-name-shadow-mode):
6270 * ruler-mode.el (ruler-mode):
6271 * savehist.el (savehist-mode):
6272 * scroll-all.el (scroll-all-mode):
6273 * scroll-bar.el (scroll-bar-mode):
6274 * server.el (server-mode):
6275 * shell.el (shell-dirtrack-mode):
6276 * simple.el (auto-fill-mode, transient-mark-mode)
6277 (visual-line-mode, overwrite-mode, binary-overwrite-mode)
6278 (line-number-mode, column-number-mode, size-indication-mode)
6279 (auto-save-mode, normal-erase-is-backspace-mode, visible-mode):
6280 * strokes.el (strokes-mode):
6281 * time.el (display-time-mode):
6282 * t-mouse.el (gpm-mouse-mode):
6283 * tool-bar.el (tool-bar-mode):
6284 * tooltip.el (tooltip-mode):
6285 * type-break.el (type-break-mode-line-message-mode)
6286 (type-break-query-mode):
6287 * view.el (view-mode):
6288 * whitespace.el (whitespace-mode, whitespace-newline-mode)
6289 (global-whitespace-mode, global-whitespace-newline-mode):
6290 * xt-mouse.el (xterm-mouse-mode): Doc fix.
6291
a3839de2
SM
6292 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
6293 Fix autogenerated docstring.
06e21633 6294
5214e501
JL
62952011-10-19 Juri Linkov <juri@jurta.org>
6296
6297 * net/browse-url.el (browse-url-can-use-xdg-open): Support LXDE
6298 by checking environment variables "DESKTOP_SESSION" and
6299 "XDG_CURRENT_DESKTOP". (Bug#9779)
6300
195f8db9
JL
63012011-10-19 Juri Linkov <juri@jurta.org>
6302
6303 * net/browse-url.el (browse-url-browser-function): Add "Chromium".
6304 (browse-url-chromium-program, browse-url-chromium-arguments):
6305 New defcustoms.
6306 (browse-url-default-browser): Check for `browse-url-chromium' and
6307 call `browse-url-chromium-program'.
6308 (browse-url-chromium): New command. (Bug#9779)
6309
343a34ff
JB
63102011-10-18 Juanma Barranquero <lekktu@gmail.com>
6311
6312 * facemenu.el (list-colors-duplicates): On Windows, detect more
6313 duplicates by assuming that only colors matching "^System" are
6314 special "system colors". (Bug#9722)
6315
6978a151
SM
63162011-10-18 Stefan Monnier <monnier@iro.umontreal.ca>
6317
6318 * vc/log-edit.el (log-edit): Add "Author:" header to encourage people
6319 to distinguish the author from the committer.
6320
6a80b297
MA
63212011-10-18 Michael Albinus <michael.albinus@gmx.de>
6322
6323 * net/tramp.el (tramp-file-name-handler): Load Tramp packages silently.
6324
b31a5677
JK
63252011-10-18 Jirka Kosek <jirka@kosek.cz> (tiny change)
6326
6327 * international/mule.el (sgml-html-meta-auto-coding-function):
6328 Add support for detecting encoding in HTML5 specified only as
6329 <meta charset="UTF-8">. Implementation just makes http-equiv and
6330 content-type parts from HTML4 encoding string optional. (Bug#9716)
6331
80c6d77f
GM
63322011-10-18 Glenn Morris <rgm@gnu.org>
6333
6334 * vc/vc.el (vc-initial-comment): Mark as obsolete. (Bug#9745)
6335
08b0fee8
CY
63362011-10-18 Chong Yidong <cyd@gnu.org>
6337
6338 * faces.el (cursor): Doc fix.
6339
67e729a5
CY
63402011-10-17 Chong Yidong <cyd@gnu.org>
6341
6342 * font-lock.el (font-lock-maximum-size): Mark as obsolete.
6343
343a34ff 63442011-10-17 Ryan Barrett <emacs@ryanb.org> (tiny change)
87e478b3
RB
6345
6346 * dirtrack.el (dirtrack): Support shell buffers with path
6347 prefixes, e.g. tramp-based remote shells. (Bug#9647)
6348
0bc06380
TZ
63492011-10-17 Teodor Zlatanov <tzz@lifelogs.com>
6350
6351 * json.el: Bump version to 1.3 and note change in History.
6352 (json-alist-p, json-plist-p): Rewrite to avoid recursion.
6353
8b79f3e0
SM
63542011-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
6355
5a7c536b
SM
6356 * comint.el (comint-insert-input, comint-send-input)
6357 (comint-get-old-input-default, comint-backward-matching-input)
6358 (comint-next-prompt): Use nil instead of `input' for field property of
6359 past user input (bug#114).
6360
96a8a0df
SM
6361 * minibuffer.el (completion--replace): Inherit surrounding properties
6362 (bug#114).
6363 (minibuffer-complete-and-exit): Use it.
6364
8b79f3e0
SM
6365 * comint.el (comint--table-subvert): Quote the all-completions output
6366 (bug#9160).
6367
b8f7ff0d
MR
63682011-10-17 Martin Rudalics <rudalics@gmx.at>
6369
8b79f3e0 6370 * ido.el (ido-default-buffer-method): Remove redundant :type entry.
4e5c3d2b 6371
b8f7ff0d 6372 * menu-bar.el (menu-bar-file-menu): Add entry for making new
d912bdcf 6373 window on right of selected. (Bug#9350) Reword other window
b8f7ff0d
MR
6374 entries and separate them from frame entries.
6375
c235b555
GM
63762011-10-15 Glenn Morris <rgm@gnu.org>
6377
6378 * emacs-lisp/ert.el (ert--explain-equal-rec, ert-select-tests):
6379 Doc fixes.
6380
6bbfa6e1
CY
63812011-10-15 Chong Yidong <cyd@stupidchicken.com>
6382
8b79f3e0
SM
6383 * net/network-stream.el (network-stream-open-starttls):
6384 Improve detection of failure due to lack of TLS support.
ec5c990d 6385
6bbfa6e1
CY
6386 * mail/sendmail.el (sendmail-query-once): Tweak prompt message,
6387 putting the input text in front and in bold.
6388
98488977
SM
63892011-10-14 Stefan Monnier <monnier@iro.umontreal.ca>
6390
3d1337be
SM
6391 * pcmpl-unix.el (pcomplete/ssh): SSH does allow ganging.
6392
ee0b45e4
SM
6393 * mpc.el (mpc-songs-jump-to): Don't burp if the user clicks in an
6394 empty buffer.
6395
98488977
SM
6396 * mouse.el (mouse-drag-mode-line-1): Modify the end-event we pushed on
6397 unread-command-events rather than pushing yet-another event.
6398
186f4720
EZ
63992011-10-14 Eli Zaretskii <eliz@gnu.org>
6400
6401 * mail/sendmail.el (sendmail-query-once): Improve the wording of
6402 the explanation of the possible choices. Make the options passed
6403 to completing-read shorter.
6404
8b7a997c
AM
64052011-10-13 Agustín Martín Domingo <agustin.martin@hispalinux.es>
6406
6407 * textmodes/flyspell.el (flyspell-large-region): Make sure
6408 extended character mode is used if defined (Bug#1339).
6409
12587bbb
EZ
64102011-10-13 Eli Zaretskii <eliz@gnu.org>
6411
6412 * simple.el (what-cursor-position): Fix the display of the
e7e2364b
EZ
6413 character info for LRE, LRO, RLE, and RLO characters by appending
6414 an invisible PDF.
12587bbb 6415
bad41229
SM
64162011-10-13 Stefan Monnier <monnier@iro.umontreal.ca>
6417
6418 * emacs-lisp/timer.el (with-timeout): Make sure we cancel the timer
6419 even in case of error; add debug spec; simplify data flow.
6420 (with-timeout-handler): Remove.
6421
28dbc92f
MA
64222011-10-12 Michael Albinus <michael.albinus@gmx.de>
6423
6424 Fix Bug#6019, Bug#9315.
6425
6426 * files.el (set-auto-mode): Call `file-name-sans-versions' for the
6427 complete `buffer-file-name', the local file name part could look
6428 remotely (for example on VMS).
6429
6430 * net/ange-ftp.el (ange-ftp-run-real-handler): Make it an alias of
6431 `tramp-run-real-handler'.
6432 (ange-ftp-fix-name-for-vms): Handle the case, where `name' is
6433 already quoted by '"'.
6434
6435 * net/tramp.el (tramp-rfn-eshadow-update-overlay): Ignore errors.
6436 Let `file-name-handler-alist' be nil, the local file name part
6437 could look remotely (for example on VMS).
6438
e1b0b23a
SM
64392011-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
6440
6441 * textmodes/flyspell.el (flyspell-word): Move with-local-quit
6442 from here...
6443 (flyspell-post-command-hook): ...to here.
6444
a120bde9
SM
64452011-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
6446
6447 * mail/sendmail.el (send-mail-function): Don't use sendmail-query-once
6448 if not needed.
6449 (sendmail-query-once): Remove OS dependencies. Make it a 3-way choice
6450 using completion. Protect against "slow" callers.
6451 Remove the "message hack".
6452
7ce7717b
JL
64532011-10-11 Juri Linkov <juri@jurta.org>
6454
6455 * isearch.el (isearch-lazy-highlight-word): New variable.
6456 (isearch-lazy-highlight-new-loop, isearch-lazy-highlight-search):
6457 Use it. (Bug#9727)
6458
c02ee9d6
GM
64592011-10-11 Glenn Morris <rgm@gnu.org>
6460
6461 * progmodes/f90.el (f90-next-statement): Ignore preprocessor lines,
6462 like f90-previous-statement does.
6463
93e616fd 64642011-10-11 Thierry Volpiatto <thierry.volpiatto@gmail.com>
6465
1f190e73 6466 * eshell/eshell.el (eshell-command): History should be saved
c02ee9d6
GM
6467 only in interactive use, to avoid error.
6468
af7b6078
SM
64692011-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
6470
6471 * minibuffer.el (completion-file-name-table): Fix last change,
6472 i.e. ignore normal errors but not the other ones.
6473
0563dae9
MR
64742011-10-10 Martin Rudalics <rudalics@gmx.at>
6475
6476 * window.el (special-display-buffer-names)
6477 (special-display-regexps): Remove some remnants of earlier
6478 changes from doc-strings.
366ca7f3
MR
6479 (quit-windows-on): New function.
6480
6481 * vc/vc.el (vc-revert, vc-rollback):
6482 * vc/vc-dispatcher.el (vc-finish-logentry): Call quit-windows-on
6483 instead of deleting windows. (Bug#4557) (Bug#5310) (Bug#5556)
9ac13c31 6484 (Bug#6183) (Bug#7074) (Bug#7447)
0563dae9 6485
49677495
MR
64862011-10-09 Martin Rudalics <rudalics@gmx.at>
6487
6488 * window.el (frame-auto-hide-function): Add version tag.
6489 (Bug#9699)
6490
56f2d1e1
MA
64912011-10-09 Michael Albinus <michael.albinus@gmx.de>
6492
6493 * net/tramp.el (tramp-file-name-handler): Add 'debug to the error
6494 condition.
6495
112a6592
LL
64962011-10-09 Leo Liu <sdl.web@gmail.com>
6497
6498 * mail/smtpmail.el (smtpmail-send-data): Add a missing space.
6499 (Bug#9701)
6500
0812589b
GM
65012011-10-08 Glenn Morris <rgm@gnu.org>
6502
6503 * progmodes/f90.el (f90-calculate-indent): Give preprocessor lines
6504 before the first code statement zero indent. (Bug#9690)
6505
b2b0776e
CY
65062011-10-08 Chong Yidong <cyd@stupidchicken.com>
6507
6508 * simple.el (count-words-region): Always count in the region.
6509 Report the number of lines and characters too.
6510 (count-words): New command, which counts in the buffer if the
6511 region is inactive, as count-words-region used to.
6512 (count-words--message): New function. Handle plurals.
6513 (count-lines-region): Make it an alias for count-words-region.
6514
6515 * bindings.el (esc-map): Replace count-lines-region with
6516 count-words-region.
6517
c557cd6b
MR
65182011-10-08 Martin Rudalics <rudalics@gmx.at>
6519
6520 * window.el (window--delete): Delete dedicated frame
6521 unconditionally when argument KILL is non-nil. (Bug#9699)
235ce86f 6522 (switch-to-buffer): Fix doc-string typo.
c557cd6b 6523
61a57ef4 65242011-10-08 Thierry Volpiatto <thierry.volpiatto@gmail.com>
6525
3a7d293b 6526 * eshell/eshell.el (eshell-command): Avoid using hooks.
61a57ef4 6527
c3833279
CY
65282011-10-07 Chong Yidong <cyd@stupidchicken.com>
6529
6530 * bindings.el ([M-left],[M-right]): Bind to left-word and
6531 right-word respectively.
6532
21ce8245
GM
65332011-10-07 Glenn Morris <rgm@gnu.org>
6534
6535 * cus-start.el (debug-on-quit): Fix custom type.
6536
6d823bb2
LMI
65372011-10-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
6538
0181e193
LMI
6539 * subr.el (define-key-after): Clarify that the function is not
6540 useful for non-menu keymaps.
6541
6d823bb2
LMI
6542 * progmodes/gdb-mi.el (gdb): Fix typo in doc string.
6543
8e3459ce 65442011-10-06 Thierry Volpiatto <thierry.volpiatto@gmail.com>
6545
21ce8245 6546 * eshell/eshell.el (eshell-command): Enable `eshell-mode' only
8e3459ce 6547 in current minibuffer (Fix bug with recursive minibuffers).
6548
a1c2d21e
CY
65492011-10-06 Chong Yidong <cyd@stupidchicken.com>
6550
6551 * progmodes/gdb-mi.el (gdb): Doc fix.
6552
5a4cf282
MR
65532011-10-05 Martin Rudalics <rudalics@gmx.at>
6554
6555 * window.el (frame-auto-hide-function): New option replacing
6556 frame-auto-delete. Suggested by Stefan Monnier.
6557 (window--delete): Call frame-auto-hide-function instead of
6558 investigating frame-auto-delete.
c96111ea
MR
6559 (window-point-1, set-window-point-1): New functions.
6560 (window-in-direction, record-window-buffer, window-state-get-1)
6561 (display-buffer-record-window): Use window-point-1 instead of
6562 window-point.
6563 (set-window-buffer-start-and-point): Use set-window-point-1.
5a4cf282 6564
9854542e
SM
65652011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
6566
6567 * emacs-lisp/edebug.el: Heed checkdoc recommendations.
6568
8943cfb0
GM
65692011-10-05 Glenn Morris <rgm@gnu.org>
6570
6571 * progmodes/perl-mode.el (perl-electric-terminator): Doc fix.
6572 (perl-calculate-indent): Suppress scan errors. (Bug#2205)
6573
647ab967
LL
65742011-10-05 Leo Liu <sdl.web@gmail.com>
6575
6576 * subr.el (read-char-choice): Fix argument to buffer-live-p which
6577 works with buffer object.
6578
3ddfbced
SM
65792011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
6580
6581 * mpc.el (mpc-tool-bar-map): Add labels.
6582
bdfa5dd2
GM
65832011-10-04 Glenn Morris <rgm@gnu.org>
6584
6585 * calendar/holidays.el (calendar-check-holidays): Doc fix.
6586
0e2070b5
MR
65872011-10-04 Martin Rudalics <rudalics@gmx.at>
6588
6589 * window.el (window--delete): New function.
6590 (frame-auto-delete): Resuscitate option.
6591 (bury-buffer, replace-buffer-in-windows)
6592 (quit-window): Rewrite using window--delete.
6593 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
6594 Pass display-buffer-mark-dedicated to window--display-buffer-2
6595 (Bug#9639).
6596
3dc61a09
SM
65972011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
6598
915a9b64
SM
6599 * pcmpl-unix.el (pcomplete/scp): Don't assume pcomplete-all-entries
6600 returns a list (bug#9554). Add remote file name completion.
6601 * comint.el (comint--table-subvert): Curry and get quote&unquote
6602 functions as arguments.
6603 (comint--complete-file-name-data): Adjust call accordingly.
6604 * pcomplete.el (pcomplete--table-subvert): Remove.
6605 (pcomplete-completions-at-point): Use comint--table-subvert instead.
6606
3dc61a09
SM
6607 * minibuffer.el (completion-table-case-fold): Use currying.
6608 (completion--styles-type, completion--cycling-threshold-type):
6609 New constants.
6610 (completion-styles, completion-category-overrides)
6611 (completion-cycle-threshold): Use them.
6612 * pcomplete.el (pcomplete-completions-at-point): Adjust call to
6613 completion-table-case-fold.
6614
8ea0a993
SB
66152011-10-03 Stephen Berman <stephen.berman@gmx.net>
6616
6617 * minibuffer.el (completion-category-overrides): Fix type of styles
6618 and add more user friendly tags (bug#9660).
6619
8c24b7f6
SM
66202011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
6621
6622 * international/mule-cmds.el: Fix abuses of apply-partially (bug#9661).
6623 (mule-input-method-string): New widget.
6624 (default-input-method, language-info-custom-alist): Use it.
6625
428fe61a
SM
66262011-10-02 Stefan Monnier <monnier@iro.umontreal.ca>
6627
32c1fffd
SM
6628 * pcomplete.el: Require comint.
6629 (pcomplete--common-suffix): Remove.
6630 (pcomplete--common-quoted-suffix): Use comint--common-suffix instead.
6631 (pcomplete--table-subvert): Sync with comint--table-subvert.
6632 (pcomplete--entries): Use comint-completion-file-name-table.
6633 * comint.el (comint-unquote-filename): Simplify.
6634 (comint-completion-file-name-table): New function (bug#9616).
6635 (comint--complete-file-name-data): Use it.
6636
428fe61a
SM
6637 * pcmpl-gnu.el (pcmpl-gnu-with-file-buffer): New macro (bug#9643).
6638 (pcmpl-gnu-tar-buffer): Remove.
6639 (pcmpl-gnu-with-file-buffer): Use it to avoid leaving the tar's buffer
9aaf2b9c
GM
6640 around. Make sure pcomplete-suffix-list is only changed temporarily.
6641 Don't look inside the tar's file if it's too large.
428fe61a 6642
04c52e2f
CY
66432011-10-01 Chong Yidong <cyd@stupidchicken.com>
6644
ce3cefcc
CY
6645 * cus-edit.el (custom-mode-map):
6646 * epa.el (epa-key-list-mode-map):
6647 * man.el (Man-mode-map):
6648 * startup.el (splash-screen-keymap):
6649 * simple.el (special-mode-map): Use scroll-up-command and
6650 scroll-down-command.
6651
6652 * progmodes/idlw-help.el (idlwave-help-mode-map):
6653 * progmodes/ebrowse.el (ebrowse-electric-position-mode-map):
6654 * net/newst-plainview.el (newsticker-mode-map):
6655 * emulation/ws-mode.el (wordstar-mode-map):
6656 * emulation/vi.el (vi-com-map):
6657 * calc/calc-graph.el (calc-graph-show-dumb):
6658 * term/sun.el (terminal-init-sun):
6659 * term/ns-win.el (global-map):
6660 * progmodes/grep.el (grep-mode-map):
6661 * progmodes/ebrowse.el (ebrowse-electric-list-mode-map):
6662 * mail/rmail.el (rmail-mode-map):
6663 * progmodes/cpp.el (cpp-edit-mode-map): Likewise.
6664
04c52e2f
CY
6665 * custom.el (custom-safe-themes, load-theme): Treat value of t for
6666 custom-safe-themes as special.
6667
79adf8c8
JD
66682011-10-01 Julien Danjou <julien@danjou.info>
6669
6670 * notifications.el (notifications-notify): Fix docstring.
6671
63bd50d3
PS
66722011-10-01 Per Starbäck <per@starback.se>
6673
6674 * pcmpl-gnu.el (pcomplete/tar): Fix tar-header-name call. (Bug#9643)
6675
199e4c7e
MR
66762011-09-30 Martin Rudalics <rudalics@gmx.at>
6677
6678 * startup.el (command-line-1): Fix last fix by inserting
6679 initial-scratch-message into *scratch* before displaying it.
cbc5ee22 6680 (Bug#9605) and (Bug#9636)
199e4c7e 6681
fe5f08dd
EZ
66822011-09-29 Eli Zaretskii <eliz@gnu.org>
6683
6684 * simple.el (line-move): If auto-hscroll-mode is disabled and the
6685 window is hscrolled, move by logical lines. (Bug#9607)
6686 (line-move-visual): Update the doc string to the above effect.
6687
b5516bbd
MR
66882011-09-29 Martin Rudalics <rudalics@gmx.at>
6689
ccee00c0
MR
6690 * window.el (display-buffer-record-window): When WINDOW is the
6691 selected window use `point' instead of `window-point'. (Bug#9626)
6692
b5516bbd
MR
6693 * startup.el (command-line-1): Use insert-before-markers when
6694 inserting initial-scratch-message. (Bug#9605)
ccee00c0 6695
b5516bbd
MR
6696 * help.el (help-window): Remove variable.
6697
52aa0014
GM
66982011-09-29 Glenn Morris <rgm@gnu.org>
6699
6700 * pcmpl-cvs.el (pcomplete/cvs): Add "status" handler.
6701
df9a7357
JB
67022011-09-29 Juanma Barranquero <lekktu@gmail.com>
6703
6704 * descr-text.el (describe-char-categories): Accept category
6705 descriptions more than one line long.
6706
a8406c20
SM
67072011-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
6708
88d9610c
SM
6709 * simple.el (delete-trailing-whitespace): Fix last change.
6710
a5daf810
SM
6711 * progmodes/perl-mode.el (perl-syntax-propertize-function):
6712 Don't confuse "y => 3" as the beginning of a `y' operation.
6713
a8406c20
SM
6714 * emacs-lisp/debug.el (debug-convert-byte-code): Don't assume the
6715 object has more than 4 slots (bug#9613).
6716
a239d4e9
JB
67172011-09-28 Juanma Barranquero <lekktu@gmail.com>
6718
6719 * subr.el (with-output-to-temp-buffer):
6720 * net/quickurl.el (quickurl, quickurl-browse-url):
6721 Fix typos in docstrings.
6722
693fbdb6
EZ
67232011-09-27 Eli Zaretskii <eliz@gnu.org>
6724
6725 * minibuffer.el (completion-styles)
6726 (completion-category-overrides): Cross reference each other in doc
6727 strings.
6728
8b457e28
GM
67292011-09-27 Glenn Morris <rgm@gnu.org>
6730
6731 * pcmpl-cvs.el (pcmpl-cvs-entries): Update for Emacs 22.1 changes
6732 to split-string. (Bug#9606)
6733
85a16208
LMI
67342011-09-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
6735
6736 * mail/smtpmail.el (smtpmail-via-smtp): Fix STARTTLS detection
6737 (bug#9615).
6738
502f9ebd
CY
67392011-09-27 Chong Yidong <cyd@stupidchicken.com>
6740
6741 * emacs-lisp/package.el (list-packages): Fix echo area message.
6742
7690bdea
LL
67432011-09-27 Leo Liu <sdl.web@gmail.com>
6744
6745 * ido.el (ido-read-internal): Accept cons cell HIST arg.
6746
e2ee6f30
MA
67472011-09-25 Michael Albinus <michael.albinus@gmx.de>
6748
6749 * net/dbus.el (dbus-unregister-object): Don't release services for
6750 registered signals. (Bug#9581)
6751
f3f98342
TZ
67522011-09-25 Teodor Zlatanov <tzz@lifelogs.com>
6753
6754 * progmodes/cfengine.el (cfengine-auto-mode): Add convenience
6755 function that picks between cfengine 2 and 3 support
6756 automatically. Update docs accordingly.
6757
dd7aa8dd
KH
67582011-09-22 Kenichi Handa <handa@m17n.org>
6759
6760 * language/ind-util.el (indian-tml-base-table): Add TAMIL DIGIT
6761 ZERO.
6762 (indian-itrans-v5-table-for-tamil): New variable.
6763 (indian-tml-itrans-v5-hash): Use the above variable (Bug#9336).
6764
3f2b07f8
KM
67652011-09-22 Ken Manheimer <ken.manheimer@gmail.com>
6766
6767 * allout.el (allout-this-command-hid-stuff): Buffer-local variable
6768 that's true if the current command involved collapsing of text.
6769 It's reset to false at the beginning of the next command.
6770 (allout-post-command-business): Move the cursor to the beginning
6771 of entry if the cursor is hidden and collapsing activity just
6772 happened.
6773
371d6a61
CY
67742011-09-24 Chong Yidong <cyd@stupidchicken.com>
6775
6776 * mouse.el (mouse-drag-track): Set scroll-margin to 0 while
6777 tracking (Bug#9541).
6778
2ac2721a
UJ
67792011-09-24 Ulf Jasper <ulf.jasper@web.de>
6780
6781 * net/newst-reader.el (newsticker-html-renderer)
1154d12e
JB
6782 (newsticker-show-news): Automatically load html rendering package
6783 if newsticker-html-renderer is set. Fixes "Warning: defvar ignored
6784 because w3m-fill-column is let-bound" and the error "Symbol's value
6785 as variable is void: w3m-fill-column".
2ac2721a 6786
fac7ae53
MA
67872011-09-24 Michael Albinus <michael.albinus@gmx.de>
6788
6789 * net/dbus.el (dbus-unregister-object): Remove match rule of signals.
6790 Release services only if they are defined. (Bug#9581)
6791
e08b633b
RS
67922011-09-23 Richard Stallman <rms@gnu.org>
6793
e488d29c
RS
6794 * textmodes/paragraphs.el (forward-sentence): For backwards case,
6795 distinguish start of paragraph from start of its text.
6796
19c38752
RS
6797 * mail/emacsbug.el (report-emacs-bug-query-existing-bugs): Autoload.
6798
e08b633b
RS
6799 * mail/rmail.el (rmail-view-buffer-kill-buffer-hook): New function.
6800 (rmail-generate-viewer-buffer): Put that hook on view buffer.
6801 (rmail-mode-kill-buffer-hook): Override that hook, to kill view buffer.
6802
0a39f27e
AS
68032011-09-23 Andreas Schwab <schwab@linux-m68k.org>
6804
6805 * international/mule-diag.el (mule-diag): Insert a newline after
6806 each fontset description.
6807
db4e950d
SM
68082011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
6809
6810 * simple.el (delete-trailing-whitespace):
6811 Document last change; simplify.
6812
eca3f3ea
PW
68132011-09-23 Peter J. Weisberg <pj@irregularexpressions.net>
6814
d68e189a
PW
6815 * simple.el (delete-trailing-whitespace): Also delete
6816 extra newlines at the end of the buffer.
6817
eca3f3ea
PW
6818 * textmodes/picture.el: Make motion commands obey shift-select-mode.
6819 (picture-newline): Use forward-line so as to ignore fields.
6820
01c157cc
SM
68212011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
6822
6823 * subr.el (with-wrapper-hook): Fix edebug spec.
6824
022de23e
LMI
68252011-09-23 Lars Magne Ingebrigtsen <larsi@gnus.org>
6826
6827 * simple.el (kill-line): Note effect of `show-trailing-whitespace'
6828 (bug#4538).
6829
91683089
MA
68302011-09-23 Michael Albinus <michael.albinus@gmx.de>
6831
eca3f3ea
PW
6832 * net/tramp-sh.el (tramp-sh-handle-file-name-all-completions):
6833 Fix nasty bug using wrong cached values.
91683089 6834
5bdd6fa4
AM
68352011-09-23 Alan Mackenzie <acm@muc.de>
6836
6837 * progmodes/cc-defs.el (c-version): Increase to 5.31.9.
6838
97adfb97
CY
68392011-09-23 Chong Yidong <cyd@stupidchicken.com>
6840
6841 * window.el (pop-to-buffer): Ensure right window is selected if we
6842 chose another frame.
6843
d4ef2b50
EZ
68442011-09-22 Eli Zaretskii <eliz@gnu.org>
6845
6846 * simple.el (what-cursor-position): Use get-char-property-change
6847 and next-single-char-property-change, to be able to show display
6848 properties that come from overlays as well as text properties.
6849
72258fe5
CY
68502011-09-22 Chong Yidong <cyd@stupidchicken.com>
6851
6852 * window.el (pop-to-buffer-same-window): New (reinstated) fun.
6853
6854 * cmuscheme.el (run-scheme, switch-to-scheme):
6855 * cus-edit.el (customize-group, custom-buffer-create)
6856 (customize-browse):
6857 * info.el (info):
6858 * shell.el (shell):
6859 * mail/sendmail.el (mail):
6860 * progmodes/inf-lisp.el (inferior-lisp): Use it (Bug#9532).
6861
8f098516
RS
68622011-09-22 Richard Stallman <rms@gnu.org>
6863
6864 * textmodes/paragraphs.el (forward-sentence): When setting PAR-BEG,
6865 move back only to line beg, don't move back over blank lines.
6866
e74f1bb6
MA
68672011-09-22 Michael Albinus <michael.albinus@gmx.de>
6868
6869 * files.el (copy-directory): Set directory attributes only in case
6870 they could be retrieved from the source directory. (Bug#9565)
6871
bfeef8b6
DK
68722011-09-22 Dima Kogan <dkogan@secretsauce.net> (tiny change)
6873
6874 * progmodes/hideshow.el (hs-looking-at-block-start-p)
6875 (hs-find-block-beginning, hs-hide-level-recursive):
6876 Ignore strings as well as comments. (Bug#9502)
6877
7e423bb8
AS
68782011-09-22 Andrew Schein <andrew@andrewschein.com> (tiny change)
6879
6880 * progmodes/sql.el (sql-comint-postgres):
6881 Convert port number to a string. (Bug#9566)
6882
b4d72fcf
MR
68832011-09-22 Martin Rudalics <rudalics@gmx.at>
6884
6885 * window.el (quit-window): Undedicate window when switching to
6886 previous buffer. Reported by Thierry Volpiatto
6887 <thierry.volpiatto@gmail.com>.
7f80c86d
MR
6888 (special-display-popup-frame): When popping up a new frame reset
6889 its previous buffers to nil. Simplify code.
b4d72fcf 6890
a7b88dc6
MA
68912011-09-21 Michael Albinus <michael.albinus@gmx.de>
6892
6893 * net/tramp.el (tramp-handle-shell-command): Set process sentinel
6894 and process filter, as done also in `shell-command'.
6895
cf4eacfd
MR
68962011-09-21 Martin Rudalics <rudalics@gmx.at>
6897
eca3f3ea 6898 * window.el (set-window-buffer-start-and-point):
1154d12e
JB
6899 Call set-window-start with NOFORCE argument t.
6900 Suggested by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
cf4eacfd
MR
6901 (quit-window): Reword doc-string. Handle new format of
6902 quit-restore parameter. Don't delete window if it has a
6903 previous buffer we can show instead of the present one.
6904 (display-buffer-record-window): Rewrite using a new format for
6905 the quit-restore window parameter
6906 (special-display-popup-frame, display-buffer-same-window)
6907 (display-buffer-reuse-window, display-buffer-pop-up-frame)
6908 (display-buffer-pop-up-window, display-buffer-use-some-window):
6909 Adapt symbol passed to display-buffer-record-window.
6910 * help.el (help-window-setup): Handle new format of quit-restore
6911 parameter.
6912
8d28cb95
SM
69132011-09-21 Stefan Monnier <monnier@iro.umontreal.ca>
6914
94ab793f
SM
6915 * faces.el (face-list): Fix docstring (bug#9564).
6916
8d28cb95
SM
6917 * window.el (display-buffer--action-function-custom-type):
6918 Don't include internal functions in the Custom interface.
6919
3820edeb
JL
69202011-09-20 Juri Linkov <juri@jurta.org>
6921
6922 * info.el (Info-history-skip-intermediate-nodes): New defcustom.
6923 (Info-forward-node, Info-backward-node, Info-next-preorder)
6924 (Info-last-preorder): Use it. (Bug#9528)
6925
5147931d
JL
69262011-09-20 Juri Linkov <juri@jurta.org>
6927
6928 * info.el (Info-last-preorder): Visit last menu item only when
6929 `Info-scroll-prefer-subnodes' is non-nil (third test-case of bug#9528).
6930
cf499a1a
JD
69312011-09-20 Julien Danjou <julien@danjou.info>
6932
6933 * password-cache.el (password-cache-remove): Remove entries even if the
6934 value is nil, so that password with a nil value (negative caching) is
6935 possible to invalidate.
6936
f84e2fe2
LM
69372011-09-20 Lawrence Mitchell <wence@gmx.li>
6938
6939 * progmodes/f90.el (f90-break-line): If breaking inside comment delete
6940 all whitespace around breakpoint. (Bug#9553)
6941 (f90-find-breakpoint): Only break at whitespace inside a comment.
6942
78054a46
SM
69432011-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
6944
6945 * minibuffer.el (completion-file-name-table): Keep track of errors.
6946 (completion-table-with-predicate): Handle the case where pred1 is nil.
6947 * pcomplete.el (pcomplete-completions-at-point): Simplify.
6948
345083b2
SM
69492011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
6950
e24e27be
SM
6951 * emacs-lisp/debug.el (debugger-args): Give it a docstring.
6952 (debugger-return-value): Signal an error if the debugging context does
6953 not await any return value.
6954
345083b2
SM
6955 * ps-mule.el (ps-mule-plot-string): Don't inf-loop (bug#5108).
6956 * image-mode.el (image-toggle-display-text)
6957 (image-toggle-display-image): Stay away from evil `intangible'.
6958
08d355e3
LL
69592011-09-19 Leo Liu <sdl.web@gmail.com>
6960
6961 * replace.el (occur-revert-arguments): Make it permanent-local.
6962 (occur-mode): Don't call font-lock-defontify.
6963
f01da43f
CY
69642011-09-19 Chong Yidong <cyd@stupidchicken.com>
6965
6966 * net/ldap.el (ldap-search-internal): Don't push empty search
6967 result (Bug#9508).
6968
b6072fa6
SM
69692011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
6970
6971 * whitespace.el (whitespace-newline-mode): Disable it right (bug#9550).
6972
443d6696
MA
69732011-09-19 Michael Albinus <michael.albinus@gmx.de>
6974
6975 * net/tramp-sh.el (tramp-inline-compress-commands): Add "xz".
6976 Suggested by Liam Stitt <stittl@cuug.ab.ca>.
6977
7cc6e154
JL
69782011-09-18 Juri Linkov <juri@jurta.org>
6979
6980 * buff-menu.el (Buffer-menu-mode-map):
6981 * dired.el (dired-mode-map):
6982 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map)
6983 (lisp-interaction-mode-map):
6984 * emacs-lisp/package.el (package-menu-mode-map):
6985 * epa.el (epa-key-list-mode-map):
6986 * menu-bar.el (menu-bar-showhide-tool-bar-menu)
6987 (menu-bar-options-menu):
6988 * outline.el (outline-mode-menu-bar-map):
6989 * vc/vc-bzr.el (vc-bzr-shelve-menu-map, vc-bzr-extra-menu-map):
6990 * vc/vc-dir.el (vc-dir-menu-map):
6991 * vc/vc-git.el (vc-git-stash-menu-map, vc-git-extra-menu-map):
6992 Capitalize non-function content words in menu item strings.
6993
6994 * dired.el (dired-mode-map): Add menu item for
6995 `image-dired-dired-toggle-marked-thumbs'.
6996
80302a81
JL
69972011-09-18 Juri Linkov <juri@jurta.org>
6998
6999 * isearch.el (isearch-edit-string): Bind `isearch-new-case-fold'
7000 to `isearch-case-fold-search' and restore its original value
7001 after the `isearch-mode' call.
7002
46c5cf66
JL
70032011-09-18 Juri Linkov <juri@jurta.org>
7004
7005 * progmodes/grep.el (grep-process-setup): Don't check code for 1
7006 because `zgrep' returns 1 for successful matches (bug#9226).
7007
d18b513b
JL
70082011-09-18 Juri Linkov <juri@jurta.org>
7009
7010 * info.el (Info-extract-menu-node-name): Check the second match
7011 for empty string (second test-case of bug#9528).
7012 (Info-last-preorder): Let-bind `Info-history' to nil to not add
7013 intermediate nodes to the history (first test-case of bug#9528).
7014
72753f87
JL
70152011-09-18 Juri Linkov <juri@jurta.org>
7016
7017 * info.el (Info-mode-syntax-table): New variable.
1154d12e 7018 (Info-mode): Set `:syntax-table' to `Info-mode-syntax-table' (bug#3312).
72753f87 7019
c9384295
JL
70202011-09-18 Juri Linkov <juri@jurta.org>
7021
1154d12e
JB
7022 * info.el (Info-file-supports-index-cookies):
7023 Increment line-beginning-position's arg from 3 to 4 because makeinfo
7024 outputs one more line for long file names (bug#4142).
c9384295 7025
d473dce8
CY
70262011-09-18 Chong Yidong <cyd@stupidchicken.com>
7027
7028 * newcomment.el (comment-normalize-vars): If prompting for
7029 comment-start, set comment-start-skip too (Bug#8424).
7030
2176854d
JB
70312011-09-18 Johan Bockgård <bojohan@gnu.org>
7032
7033 * icomplete.el: Fix previous fix of Bug#5849.
7034 (icomplete-mode): Don't set completion-show-inline-help.
7035 (icomplete-minibuffer-setup): Set completion-show-inline-help
7036 locally during icompletion.
7037
3aace4e4
CY
70382011-09-18 Chong Yidong <cyd@stupidchicken.com>
7039
c940224f
CY
7040 * woman.el (woman2-process-escapes): Don't delete unrecognized
7041 escapes (Bug#7843).
7042
3aace4e4
CY
7043 * files.el (inhibit-first-line-modes-regexps): Add image files.
7044 (hack-local-variables-prop-line): Return nil for malformed
7045 prop-lines (Bug#9044).
7046
710dec63
MA
70472011-09-18 Michael Albinus <michael.albinus@gmx.de>
7048
7049 * net/tramp.el (top): Don't require 'shell.
7050 (tramp-methods): Fix docstring.
7051 (tramp-get-remote-tmpdir): New defun, moved from tramp-sh.el.
8d28cb95
SM
7052 Return complete remote file name. Handle "smb" case.
7053 Use `tramp-tmpdir', if defined for the respective method.
710dec63
MA
7054 (tramp-make-tramp-temp-file): Adapt call of `tramp-get-remote-tmpdir'.
7055
7056 * net/tramp-compat.el (top): Require 'shell.
7057
7058 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
7059 (tramp-maybe-open-connection): Use `tramp-file-name-real-host' for
7060 `tramp-current-host'.
7061 (tramp-get-remote-tmpdir): Remove.
7062
7063 * net/tramp-smb.el (tramp-methods): Add `tramp-remote-shell' and
7064 `tramp-tmpdir' entries.
7065 (tramp-smb-errors): Add "NT_STATUS_IMAGE_ALREADY_LOADED".
7066 (tramp-smb-handle-file-attributes): Ignore errors.
7067 (tramp-smb-wait-for-output): Check also for process end.
7068
5d5ac8ec
LMI
70692011-09-18 Lars Magne Ingebrigtsen <larsi@gnus.org>
7070
7071 * mail/smtpmail.el (smtpmail-via-smtp): Ignore errors that arise
7072 when sending QUIT (bug#9312).
7073
8c0f49f0
CY
70742011-09-17 Chong Yidong <cyd@stupidchicken.com>
7075
7076 * replace.el (occur-mode-map): Rebind occur-edit-mode to "e" (Bug#8463).
7077 (occur-edit-mode-map): Bind C-c C-c to occur-cease-edit and C-o to
7078 occur-mode-display-occurrence.
7079 (occur-edit-mode): Add usage message.
7080 (occur-cease-edit): New command.
7081 (occur-after-change-function): Use text properties to find the
7082 position of the prefix text.
7083 (occur-engine): Set stickiness of prefix text properties.
7084
8f1383f7
GM
70852011-09-17 Glenn Morris <rgm@gnu.org>
7086
7087 * progmodes/etags.el (complete-tag):
7088 Fix call to completion-in-region. (Bug#9526)
7089
744ba0e3
JL
70902011-09-17 Juri Linkov <juri@jurta.org>
7091
7092 * textmodes/ispell.el (ispell-word): Add to the error message
7093 the word, ispell program name and current dictionary (bug#9121).
7094 (ispell-tex-arg-end): Capitalize "error" in the error message.
7095
d9bbf400
AS
70962011-09-17 Andreas Schwab <schwab@linux-m68k.org>
7097
7098 * emacs-lisp/bytecomp.el (byte-compile-lapcode): Fix overflow
7099 check. (Bug#4251)
7100
8da11505
JL
71012011-09-17 Juri Linkov <juri@jurta.org>
7102
7103 * window.el (window-safe-min-height, window-safe-min-width):
7104 Fix typos (followup to bug#9522).
7105
a91adc7e
SJ
71062011-09-17 Sven Joachim <svenjoac@gmx.de>
7107
7108 * window.el (window-min-width, window-state-put): Fix typos (bug#9522).
7109
064f328a
EZ
71102011-09-16 Eli Zaretskii <eliz@gnu.org>
7111
7112 * simple.el (line-move): If goal-column is set, move by logical
7113 lines, not by display lines. (Bug#971)
7114 (next-line, previous-line, goal-column, line-move-visual): Doc fix
7115 to reflect the above change.
7116
e69df516
SM
71172011-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
7118
7119 * image.el (imagemagick-register-types): Use regexp-opt.
7120
cbb0f9ab
CY
71212011-09-15 Chong Yidong <cyd@stupidchicken.com>
7122
7123 * window.el (display-buffer-base-action): Rename from
7124 display-buffer-default-action. Make default value empty.
7125 (display-buffer-overriding-action): Convert to defvar.
7126 (display-buffer-fallback-action): New var.
7127
25322144
CY
71282011-09-15 Chong Yidong <cyd@stupidchicken.com>
7129
7130 * emacs-lisp/package.el (package-alist): Fix risky-local-variable
7131 declaration.
7132 (package--add-to-archive-contents): If there is a duplicate entry
7133 with an older version, remove it.
7134 (package-menu-mark-delete, package-menu-mark-install)
7135 (package-menu-mark-unmark): Make unused args optional.
e69df516
SM
7136 (package-menu-mark-obsolete-for-deletion):
7137 Use package-menu-get-status instead of a regexp search.
25322144
CY
7138 (package-menu-get-status): Use tabulated-list-entry.
7139 (package-menu-mark-upgrades): New command.
d770725a 7140 (package-menu-mode-map): Bind it to U. Add it to menu bar.
25322144
CY
7141 (package-menu-execute): Do installation before deletion.
7142 (package-menu-refresh, package-menu-execute): Use derived-mode-p
7143 instead of checking major-mode.
7144 (package-menu--find-upgrades): New function.
7145
7520339c
LMI
71462011-09-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
7147
7148 * mail/smtpmail.el (smtpmail-send-command): Don't include AUTH
7149 passwords in the log buffer.
65a046c4
LMI
7150 (smtpmail-process-filter): Update the process marker so that the
7151 "broken by peer" status message is inserted in the right place.
7520339c 7152
d3c30954
SM
71532011-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
7154
3fe48822
SM
7155 * textmodes/bibtex.el (bibtex-complete-string-cleanup)
7156 (bibtex-complete-crossref-cleanup): Adjust to accommodate needs of
7157 bibtex-completion-at-point-function.
7158 (bibtex-completion-at-point-function): Use them.
7159
1b8b3954
SM
7160 * newcomment.el (comment-add, comment-valid-prefix-p): Docfix.
7161
d3c30954
SM
7162 * mpc.el (mpc-constraints-tag-lookup): New function.
7163 (mpc-constraints-restore): Use it to make jumping to "album=Foo" apply
7164 also to browser "album|playlist".
7165
72779976
JL
71662011-09-14 Juri Linkov <juri@jurta.org>
7167
7168 * isearch.el (isearch-fail-pos): Add new arg `msg'. Doc fix.
7169 (isearch-edit-string): Use length of `isearch-string' when
7170 `isearch-fail-pos' returns nil.
7171 (isearch-message): Remove duplicate code and call
7172 `isearch-fail-pos' with arg `t'.
7173
a0bf2bcd
CY
71742011-09-14 Chong Yidong <cyd@stupidchicken.com>
7175
17bb0a2d
CY
7176 * replace.el (occur-mode-goto-occurrence): Don't force using other
7177 window (Bug#9499).
7178
a0bf2bcd
CY
7179 * dired-aux.el (dired-do-chmod): Don't provide initial input.
7180
f678e0b6
MR
71812011-09-14 Martin Rudalics <rudalics@gmx.at>
7182
7183 * window.el (display-buffer-window): Remove.
7184 (display-buffer-record-window): Use help-setup window parameter
7185 instead of variable display-buffer-window.
7186 (display-buffer-function, special-display-buffer-names)
7187 (special-display-function): Mention help-setup parameter instead
7188 of display-buffer-window in doc-string.
d3c30954
SM
7189 * help.el (help-window-setup): New argument help-window.
7190 Use help-window-setup parameter instead of display-buffer-window.
f678e0b6
MR
7191 Reword some messages.
7192 (with-help-window): Pass window used for displaying the buffer
7193 to help-window-setup. Don't set display-buffer-window.
7194
8e39b2e8
GM
71952011-09-13 Glenn Morris <rgm@gnu.org>
7196
7197 * emacs-lisp/debug.el (debugger-make-xrefs):
7198 Preserve point. (Bug#9462)
7199
85e9c04b
CY
72002011-09-13 Chong Yidong <cyd@stupidchicken.com>
7201
7202 * window.el (window-deletable-p): Use next-frame.
7203
1b36ed6a
MR
72042011-09-13 Martin Rudalics <rudalics@gmx.at>
7205
7206 * window.el (window-auto-delete): Remove.
7207 (window-deletable-p): Remove argument FORCE. Don't deal with
e4769531 7208 dedication and previous buffers.
1b36ed6a
MR
7209 (switch-to-prev-buffer): Don't delete window.
7210 (delete-windows-on): Delete a window's frame if and only if the
7211 window is dedicated.
7212 (replace-buffer-in-windows): Delete buffer's window or frame if
7213 and only if window is dedicated.
7214 (quit-window): Handle quit-restore as before last change.
4d61f28d 7215 (bury-buffer): Delete window only if window-deletable-p returns t.
1b36ed6a 7216
ef8ef9fb
CY
72172011-09-13 Chong Yidong <cyd@stupidchicken.com>
7218
7219 * window.el (window-deletable-p): Never delete the last frame on a
7220 given terminal.
7221
b2cba41e
GM
72222011-09-13 Glenn Morris <rgm@gnu.org>
7223
7224 * help.el (describe-key-briefly): Copy previous standard-output change.
7225
51553db6 72262011-09-13 PJ Weisberg <pj@irregularexpressions.net>
e3ce671f
PW
7227
7228 * help.el (where-is): Respect non-standard standard-output. (Bug#9030)
7229
b7556719
GM
72302011-09-13 Glenn Morris <rgm@gnu.org>
7231
7232 * emacs-lisp/lisp-mode.el (lisp-indent-function):
7233 * progmodes/scheme.el (scheme-indent-function): Doc fixes.
7234
64b51947
CY
72352011-09-12 Chong Yidong <cyd@stupidchicken.com>
7236
7237 * dired-aux.el (dired-mark-read-string): Don't return default
7238 value on empty input (Bug#9361).
7239 (dired-do-chxxx): Treat empty input for "touch" as no -t option.
7240 Omit initial minibuffer contents.
7241 (dired-do-chmod): Signal an error on empty input.
7242 (dired-mark-read-string): Don't return default on empty input.
7243
7244 * files.el (file-modes-symbolic-to-number): Doc fix.
7245
393a301e
SM
72462011-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
7247
7248 * international/mule-cmds.el (ucs-completions): Remove.
7249 (read-char-by-name): Use complete-with-action instead; add metadata.
7250
fa5660f9
CY
72512011-09-11 Chong Yidong <cyd@stupidchicken.com>
7252
7253 * window.el (display-buffer--action-function-custom-type)
7254 (display-buffer--action-custom-type): New vars.
7255 (display-buffer-alist, display-buffer-default-action)
7256 (display-buffer-overriding-action): Add defcustom types.
7257
4a592f66
CY
7258 * frame.el (delete-other-frames): Doc fix (Bug#276).
7259
73d56dbd
LMI
72602011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
7261
7262 * play/doctor.el (make-doctor-variables): Define `doctor-sent'.
7263
37ac18a3
CY
72642011-09-11 Chong Yidong <cyd@stupidchicken.com>
7265
7266 Change modes that used same-window-* vars to use switch-to-buffer.
7267
7268 * progmodes/gdb-mi.el (gdb-restore-windows, gdb-setup-windows):
7269 Use switch-to-buffer.
7270
7271 * cus-edit.el (customize-group, custom-buffer-create)
393a301e
SM
7272 (customize-browse, custom-buffer-create-other-window):
7273 Use switch-to-buffer or switch-to-buffer-other-window.
37ac18a3
CY
7274
7275 * info.el (info, Info-find-node, Info-revert-find-node, Info-next)
7276 (Info-prev, Info-up, Info-speedbar-goto-node)
7277 (info-display-manual): Use switch-to-buffer.
7278 (Info-speedbar-goto-node): Use switch-to-buffer-other-frame.
7279
7280 * mail/sendmail.el (mail): Use switch-to-buffer.
7281 (mail-recover): Use switch-to-buffer-other-window.
7282
7283 * cmuscheme.el (run-scheme, switch-to-scheme):
7284 * ielm.el (ielm):
7285 * shell.el (shell):
7286 * net/rlogin.el (rlogin):
7287 * net/telnet.el (telnet, rsh):
7288 * progmodes/inf-lisp.el (inferior-lisp): Use switch-to-buffer.
7289
10195bd6
AS
72902011-09-11 Andreas Schwab <schwab@linux-m68k.org>
7291
7292 * dired.el (dired-sort-toggle-or-edit): Revert last changes.
7293
b322f63a
LMI
72942011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
7295
39d7fed6
LMI
7296 * dired.el (dired-sort-toggle-or-edit): -o doesn't exist on *BSD,
7297 so don't mention it (bug#9301).
ba5a81f1 7298 (dired-sort-toggle-or-edit): Clarify string further.
39d7fed6 7299
ee0e9f11
LMI
7300 * faces.el (face-spec-set-match-display): Make `(type graphic)'
7301 match `x', `w32' and `ns', like the manual says (bug#9029).
7302
0b1c89c1 7303 * subr.el (eval-after-load): Doc string clarification (bug#9125).
da9fcb93
LMI
7304 (process-kill-buffer-query-function): Mention the buffer name in
7305 the query.
0b1c89c1 7306
77549ea8
LMI
7307 * image-mode.el (image-next-line): The line parameter is mandatory
7308 (bug#9258).
7309
803ef892
LMI
7310 * dired.el (dired-sort-toggle-or-edit): Mention -o and -g, too,
7311 which can be useful (bug#9301).
7312
12980837
LMI
7313 * textmodes/flyspell.el: Remove obsolete comment (bug#9368).
7314
91054f8f
LMI
7315 * subr.el (match-string): Mention that the current buffer should
7316 be the same as the search was done in (bug#9282).
7317
b322f63a
LMI
7318 * facemenu.el: Disable the remove-* commands if the mark isn't
7319 active (bug#9162).
7320
3199b96f
CY
73212011-09-10 Chong Yidong <cyd@stupidchicken.com>
7322
7323 * buff-menu.el (Buffer-menu-switch-other-window): Use second arg
7324 of display-buffer.
7325 (Buffer-menu-2-window): Use switch-to-buffer-other-window.
7326
7327 * replace.el (occur-mode-goto-occurrence)
7328 (occur-mode-display-occurrence) Use second arg of pop-to-buffer
7329 and display-buffer.
7330
7331 * mail/reporter.el (reporter-submit-bug-report): Use second arg of
7332 display-buffer.
7333
7334 * mail/sendmail.el (sendmail-user-agent-compose): Don't bind the
7335 special-display and same-window variables.
7336 (mail-other-window): Use switch-to-buffer-other-window.
7337 (mail-other-frame): USe switch-to-buffer-other-frame.
7338
393a301e
SM
7339 * progmodes/gdb-mi.el (gdb-frame-gdb-buffer):
7340 Use display-buffer-other-frame.
3199b96f
CY
7341 (gdb-display-gdb-buffer): Use pop-to-buffer.
7342
7343 * progmodes/gud.el (gud-goto-info): Use info-other-window.
7344
7345 * progmodes/python.el: Don't set same-window-buffer-names.
7346
7347 * textmodes/bibtex.el (bibtex-search-entry): Use switch-to-buffer.
7348
7349 * window.el (display-buffer-alist): Add *Python*.
7350
8319e0bf
CY
73512011-09-10 Chong Yidong <cyd@stupidchicken.com>
7352
7353 * window.el (display-buffer-alist): Add entry for buffers
7354 previously handled same-window-*.
7355 (display-buffer-alist, display-buffer-default-action)
7356 (display-buffer-overriding-action): Mark as risky.
7357 (display-buffer-alist): Document action function changes.
7358 (display-buffer--same-window-action)
7359 (display-buffer--other-frame-action): New variables.
7360 (switch-to-buffer, display-buffer-other-frame): Use them.
7361 (display-buffer): Rename reuse-frame entry to reusable-frames.
7362 (display-buffer-reuse-selected-window): Function deleted.
7363 (display-buffer-reuse-window): Handle reusable-frames alist entry.
7364 If it's omitted, check pop-up-frames/display-buffer-reuse-frames.
7365 (display-buffer-special): New function.
7366 (display-buffer--maybe-pop-up-frame-or-window): Rename from
7367 display-buffer-reuse-or-pop-window. Split off special-display
7368 part into display-buffer-special.
7369 (display-buffer-use-some-window): Don't perform any special
7370 pop-up-frames handling.
7371 (pop-to-buffer): Use window-normalize-buffer-to-switch-to.
393a301e 7372 (display-buffer--maybe-same-window): Rename from
0d3ff375 7373 display-buffer-maybe-same-window.
8319e0bf 7374
919a69aa
CY
7375 * info.el: Don't set same-window-regexps.
7376 (info-setup): New function.
7377 (info-other-window, info): Call it.
7378
7379 * cus-edit.el: Don't set same-window-regexps.
7380 (customize-group): New argument.
7381 (customize-group-other-window): Use it.
7382 (customize-face, customize-face-other-window): Likewise.
7383 (custom-buffer-create-other-window): Use pop-to-buffer directly.
7384
8319e0bf
CY
7385 * net/rlogin.el:
7386 * net/telnet.el:
7387 * progmodes/gud.el: Don't set same-window-regexps.
7388
7389 * cmuscheme.el:
7390 * ielm.el:
7391 * shell.el:
7392 * mail/sendmail.el:
7393 * progmodes/inf-lisp.el: Don't set same-window-buffer-names.
7394
25173000
JL
73952011-09-10 Juri Linkov <juri@jurta.org>
7396
7397 * isearch.el (isearch-edit-string): Remove obsolete mention of
7398 `C-w' (`isearch-yank-word-or-char') from docstring.
7399 (isearch-query-replace): Fix typo in docstring (bug#9466).
7400
056e44ef
JL
74012011-09-10 Juri Linkov <juri@jurta.org>
7402
7403 * paren.el (show-paren-function): Don't show escaped parens.
7404 Let-bind `unescaped' to `t' when paren is not escaped. (Bug#9461)
7405
c3760c17
EZ
74062011-09-10 Eli Zaretskii <eliz@gnu.org>
7407
7408 * mail/sendmail.el (mml-to-mime, mml-attach-file)
7409 (mm-default-file-encoding): Remove autoload forms, they are
7410 replaced with autoload cookies in mml.el and mm-encode.el.
7411 (mail-add-attachment): New command.
7412 (mail-mode-map): Add a menu-bar item for mail-add-attachment.
7413 (mail-mode): Mention mail-insert-file and mail-add-attachment in
7414 the doc string.
7415 (mml-to-mime, mml-attach-file, mm-default-file-encoding): Declare.
7416
fece895e
RT
74172011-09-10 Reuben Thomas <rrt@sc3d.org>
7418
e69df516
SM
7419 * simple.el (count-words-region): Use buffer if there's no region
7420 (bug#9429).
fece895e 7421
5e68ce4a
JL
74222011-09-09 Juri Linkov <juri@jurta.org>
7423
7424 * wdired.el (wdired-change-to-wdired-mode): Set buffer-local
7425 `isearch-filter-predicate' to `wdired-isearch-filter-read-only'.
7426 (wdired-isearch-filter-read-only): New function. (Bug#6362)
7427
0a6b9622
AM
74282011-09-09 Alan Mackenzie <acm@muc.de>
7429
7430 * progmodes/cc-mode.el (awk-mode): Prevent `define-derived-mode'
7431 spuriously generating `awk-mode-syntax-table'. (Bug #9448).
7432
14a29deb
EZ
74332011-09-09 Eli Zaretskii <eliz@gnu.org>
7434
7435 Fix for Savannah bug#9392.
7436 * simple.el (mail-encode-mml): New defvar.
7437
7438 * mail/rmail.el (mail-encode-mml): Add a defvar.
7439 (rmail-enable-mime-composing): Default to t.
7440 (rmail-forward): Use MIME method of forwarding only if both
7441 rmail-enable-mime-composing and rmail-enable-mime are non-nil.
7442 Set mail-encode-mml non-nil if the MIME method was used.
7443
7444 * mail/sendmail.el (mml-to-mime): Add autoload form.
7445 (mail-encode-mml): Add a defvar.
7446 (mail-mode): Make mail-encode-mml buffer-local and initialize it
7447 to nil.
7448 (mail-send): If mail-encode-mml is non-nil, run the outgoing
7449 message through mml-to-mime, and reset mail-encode-mml to nil.
7450
28c45130
GM
74512011-09-09 Glenn Morris <rgm@gnu.org>
7452
7453 * woman.el (woman-if-body): When processing an .el block,
7454 do not delete the next .el block as well. (Bug#9447)
69f4b618 7455 (woman-special-characters): Add oq, cq, and hy characters.
28c45130 7456
9b1c252e
MR
74572011-09-08 Martin Rudalics <rudalics@gmx.at>
7458
7459 * window.el (window-deletable-p): Make sure window is live before
7460 invoking window-prev-buffers.
7461
567457e3
LL
74622011-09-08 Leo Liu <sdl.web@gmail.com>
7463
7464 * net/rcirc.el (rcirc-cmd-invite): New rcirc command. (Bug#9453)
7465
97f05794
JL
74662011-09-08 Juri Linkov <juri@jurta.org>
7467
7468 * progmodes/compile.el (compilation-environment): Make it
7469 a defcustom (bug#8340).
7470
8b0874b5
MR
74712011-09-08 Martin Rudalics <rudalics@gmx.at>
7472
7473 * window.el (frame-auto-delete): Rename to window-auto-delete.
7474 Make it control auto-deletion of windows and/or frames.
7475 (window-deletable-p): New argument FORCE. Rewrite conditions
5e617bc2 7476 for deleting window/frame. (Bug#9419)
8b0874b5
MR
7477 (switch-to-prev-buffer, replace-buffer-in-windows, quit-window):
7478 Rewrite handling of case when window/frame can be deleted.
7479 (delete-windows-on): Call window-deletable-p with new FORCE
5e617bc2 7480 argument t. (Bug#9456)
8b0874b5 7481
4feb6e73
CY
74822011-09-07 Chong Yidong <cyd@stupidchicken.com>
7483
7484 * help-mode.el (help-mode): Restore autoload.
7485
91ab9c13
JL
74862011-09-07 Juri Linkov <juri@jurta.org>
7487
7488 * progmodes/compile.el (compilation-start): Let-bind `thisenv' to
7489 `compilation-environment'. Set buffer-local
7490 `compilation-environment' to `thisenv' later after (funcall mode).
7491 (Bug#8340)
7492
7493 * vc/vc-git.el (vc-git-grep): Remove --no-color. (Bug#9408)
7494 (vc-git-grep): Prepend "PAGER=" to `compilation-environment'
7495 instead of replacing its value. (Bug#8340)
7496
0527e251
JL
74972011-09-07 Juri Linkov <juri@jurta.org>
7498
7499 * progmodes/grep.el (grep-regexp-alist): Calculate column positions
7500 based on text properties put by `grep-filter' instead of matching
7501 escape sequences.
7502 (grep-mode): Set buffer-local `compilation-error-screen-columns'
7503 to the value of `grep-error-screen-columns' (bug#9438).
7504
249f792c
JL
75052011-09-07 Juri Linkov <juri@jurta.org>
7506
7507 * simple.el (next-error-highlight, next-error-highlight-no-select):
7508 Doc fix (bug#9432).
7509
ff7271b9
OT
75102011-09-07 OKAZAKI Tetsurou <okazaki.tetsurou@gmail.com> (tiny change)
7511
7512 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
7513 Check for null c-opt-block-decls-with-vars-key. (Bug#9443)
7514
183fc730
LL
75152011-09-07 Leo Liu <sdl.web@gmail.com>
7516
7517 * net/rcirc.el (rcirc-mode): Conditionally initialize
7518 rcirc-input-ring.
7519
77694924
SM
75202011-09-07 Stefan Monnier <monnier@iro.umontreal.ca>
7521
7522 * emacs-lisp/find-func.el (find-function-C-source): Only set
7523 find-function-C-source-directory after checking that we found a source
7524 file there (bug#9440).
7525
d809b8eb
AM
75262011-09-06 Alan Mackenzie <acm@muc.de>
7527
7528 * isearch.el (isearch-other-meta-char): Wherever a key list is
7529 unread, "unread" the prefix arg, too. This fixes bug #8901.
7530
453de99f
OG
75312011-09-05 Oleksandr Gavenko <gavenkoa@gmail.com> (tiny change)
7532
7533 * progmodes/grep.el (rgrep): Add "-type d" (bug#9414).
7534
90439906
JL
75352011-09-05 Juri Linkov <juri@jurta.org>
7536
7537 * progmodes/grep.el (grep-process-setup): Fix comments (bug#8084).
7538
f62bd846
JL
75392011-09-05 Juri Linkov <juri@jurta.org>
7540
7541 * progmodes/grep.el (grep-filter): Avoid incomplete processing by
7542 keeping point where processing of grep matches begins, and
7543 continue to delete remaining escape sequences from the same point.
7544 (grep-filter): Make leading zero optional in "0?1;31m" because
7545 git-grep emits "\033[1;31m" escape sequences unlike expected
7546 "\033[01;31m" as GNU Grep does (bug#9408).
7547 (grep-process-setup): Replace obsolete "ml=" with newer "sl=".
7548
045820ec
JL
75492011-09-05 Juri Linkov <juri@jurta.org>
7550
7551 * subr.el (y-or-n-p): Capitalize "yes".
7552
f5e29b9b
MA
75532011-09-04 Michael Albinus <michael.albinus@gmx.de>
7554
7555 * net/tramp.el (top): Require 'shell. Use `tramp-unload-hook' but
7556 `tramp-cache-unload-hook' where appropriate.
7557 (tramp-methods): Rename `tramp-remote-sh' to
7558 `tramp-remote-shell'. Add `tramp-remote-shell-args'.
7559 (tramp-handle-shell-command): New defun, moved from tramp-sh.el.
7560
7561 * net/tramp-sh.el (top): Don't require 'shell.
7562 (tramp-methods): Add `tramp-remote-shell' and
7563 `tramp-remote-shell-args' entries.
7564 (tramp-sh-file-name-handler-alist): Use `tramp-handle-shell-command'.
7565 (tramp-sh-handle-shell-command): Remove.
7566 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
7567 Use `tramp-remote-shell'.
7568
2784c434
CY
75692011-09-03 Chong Yidong <cyd@stupidchicken.com>
7570
393a301e 7571 * mail/sendmail.el (sendmail-query-once-function): Delete.
2784c434
CY
7572 (sendmail-query-once): Save directly to send-mail-function.
7573 Update message-send-mail-function too.
7574
7575 * mail/smtpmail.el (smtpmail-try-auth-methods): Clarify prompt.
7576
464cdf56
CS
75772011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
7578
7579 * progmodes/python.el (python-mode-map): Use correct function to
7580 start python interpreter from menu-bar (as reported by Geert
7581 Kloosterman).
7582 (inferior-python-mode-map): Fix typo.
393a301e 7583 (python-shell-map): Remove.
464cdf56 7584
d37e5c87
DD
75852011-09-03 Deniz Dogan <deniz@dogan.se>
7586
7587 * net/rcirc.el (rcirc-print): Simplify code for
7588 rcirc-scroll-show-maximum-output. There is no need to walk
7589 through all windows to find the right one.
7590
f3ada0ee
CS
75912011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
7592
7593 * help.el (help-return-method): Doc fix.
7594
1f3c99ca
MR
75952011-09-03 Martin Rudalics <rudalics@gmx.at>
7596
7597 * window.el (window-deletable-p): Don't return a non-nil value
7598 when there's a buffer that was shown in the window before.
7599 (Bug#9419)
393a301e
SM
7600 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
7601 Set window's previous buffers to nil.
1f3c99ca 7602
a3cf097f
EZ
76032011-09-03 Eli Zaretskii <eliz@gnu.org>
7604
7605 * mail/rmailmm.el (rmail-mime-insert-tagline): Insert an extra
7606 newline before and after the tag line, so it doesn't interfere
7607 with determining the paragraph direction of bidirectional text.
7608
3d03de90
LL
76092011-09-03 Leo Liu <sdl.web@gmail.com>
7610
7611 * files.el (find-file-not-true-dirname-list): Remove. (Bug#9422)
7612
c3313451
CY
76132011-09-02 Chong Yidong <cyd@stupidchicken.com>
7614
393a301e 7615 * window.el (pop-to-buffer-1, pop-to-buffer-same-window): Delete.
c3313451
CY
7616 (pop-to-buffer): Change interactive spec. Pass second argument
7617 directly to display-buffer.
7618 (display-buffer): Fix interactive spec. Use functionp to
7619 distinguish between a function and a list of functions.
7620
7621 * abbrev.el (edit-abbrevs):
7622 * arc-mode.el (archive-extract):
7623 * autoinsert.el (auto-insert):
7624 * bookmark.el (bookmark-bmenu-list):
7625 * files.el (find-file):
7626 * view.el (view-buffer):
7627 * progmodes/compile.el (compilation-goto-locus):
7628 * textmodes/bibtex.el (bibtex-initialize): Use switch-to-buffer.
7629
89894cd8
CY
76302011-09-02 Chong Yidong <cyd@stupidchicken.com>
7631
7632 * window.el (display-buffer-alist): Doc fix.
7633 (display-buffer): Add docstring. Don't treat
7634 display-buffer-default specially.
7635 (display-buffer-reuse-selected-window)
7636 (display-buffer-same-window, display-buffer-maybe-same-window)
7637 (display-buffer-reuse-window, display-buffer-pop-up-frame)
7638 (display-buffer-pop-up-window)
7639 (display-buffer-reuse-or-pop-window)
7640 (display-buffer-use-some-window): New functions.
7641 (display-buffer-default-action): Use them.
393a301e 7642 (display-buffer-default): Delete.
89894cd8
CY
7643 (pop-to-buffer-1): Fix choice of actions.
7644
ae0bc9fb
SM
76452011-09-02 Stefan Monnier <monnier@iro.umontreal.ca>
7646
7647 * minibuffer.el (completion--insert-strings): Don't get confused by
7648 completion entries that end with an LF char.
7649
e9d90883
EZ
76502011-09-01 Eli Zaretskii <eliz@gnu.org>
7651
7652 * window.el (frame-auto-delete, window-deletable-p): Doc fix.
7653
437014c8
CY
76542011-09-01 Chong Yidong <cyd@stupidchicken.com>
7655
7656 * window.el (display-buffer): Restore interactive spec.
ae0bc9fb
SM
7657 (display-buffer-same-window, display-buffer-other-window):
7658 New functions.
437014c8
CY
7659 (pop-to-buffer-1): New function. Use the above.
7660 (pop-to-buffer, pop-to-buffer-same-window): Use it.
ae0bc9fb 7661 (pop-to-buffer-other-window, pop-to-buffer-other-frame): Delete.
437014c8
CY
7662
7663 * view.el (view-buffer-other-window, view-buffer-other-frame):
7664 Just use pop-to-buffer.
7665
a5e063d5
TV
76662011-09-01 Thierry Volpiatto <thierry.volpiatto@gmail.com>
7667
7668 * vc/vc-rcs.el (vc-rcs-responsible-p): Handle directories. (Bug#9391)
7669
793d32bb
WH
76702011-09-01 Wilfred Hughes <wilfred@potatolondon.com> (tiny change)
7671
7672 * vc/vc-git.el (vc-git-grep): Use --no-color. (Bug#9408)
7673
d65e4c15
RS
76742011-08-31 Richard Stallman <rms@gnu.org>
7675
7676 * mail/rmail.el (rmail-epa-decrypt): Rewrite to take account
7677 of the separation of rmail-view-buffer from rmail-buffer.
7678 If you say no to "replace original", the decrypt is in the
7679 view buffer. If you say yes, the decrypt goes into the
7680 rmail buffer also.
7681
f818cd2a
MR
76822011-08-31 Martin Rudalics <rudalics@gmx.at>
7683
7684 * window.el (display-buffer-window): Rewrite doc-string.
7685 (display-buffer-record-window): New function.
7686 (display-buffer-macro-specifiers)
7687 (display-buffer-even-window-sizes, display-buffer-set-height)
7688 (display-buffer-set-width, display-buffer-in-window)
7689 (display-buffer-reuse-window, display-buffer-split-specifiers)
7690 (display-buffer-side-specifiers, display-buffer-split-window-1)
7691 (display-buffer-split-window, display-buffer-split-atom-window)
7692 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
7693 (display-buffer-pop-up-side-window, display-buffer-in-side-window)
7694 (display-buffer-other-window-means-other-frame)
7695 (display-buffer-normalize-special)
7696 (display-buffer-normalize-default)
7697 (display-buffer-normalize-argument)
7698 (display-buffer-normalize-alist-1, display-buffer-normalize-alist)
7699 (display-buffer-normalize-specifiers, display-buffer-frame)
7700 (display-buffer-same-window, display-buffer-same-frame)
7701 (display-buffer-other-window)
7702 (display-buffer-same-frame-other-window)
7703 (display-buffer-other-frame, pop-to-buffer-same-window)
7704 (pop-to-buffer-same-frame, pop-to-buffer-other-window)
7705 (pop-to-buffer-same-frame-other-window, pop-to-buffer-other-frame)
7706 (switch-to-buffer-same-frame)
7707 (switch-to-buffer-other-window-same-frame)
7708 (display-buffer-alist-of-strings-p, display-buffer-alist-add)
7709 (display-buffer-alist-set-1, display-buffer-alist-set-2)
7710 (display-buffer-alist-set): Remove.
7711 (display-buffer-function, special-display-buffer-names)
ae0bc9fb
SM
7712 (special-display-regexps, special-display-function):
7713 In doc-string refer to display-buffer-window and quit-restore
f818cd2a
MR
7714 parameter.
7715 (pop-up-frame-alist, pop-up-frame-function, special-display-p)
7716 (special-display-frame-alist, special-display-popup-frame)
7717 (same-window-buffer-names, same-window-regexps, same-window-p)
7718 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
7719 (split-window-preferred-function, split-height-threshold)
7720 (split-width-threshold, window-splittable-p)
7721 (split-window-sensibly, window--try-to-split-window)
7722 (window--frame-usable-p, even-window-heights)
7723 (window--even-window-heights, window--display-buffer-1)
ae0bc9fb
SM
7724 (window--display-buffer-2, display-buffer-other-frame):
7725 Restore old Emacs 23 code, order and doc-strings where applicable.
f818cd2a
MR
7726 (display-buffer-default, display-buffer-assq-regexp): New functions.
7727 (display-buffer-alist): Rewrite doc-string.
7728 (display-buffer-default-action)
7729 (display-buffer-overriding-action): New variables.
7730 (display-buffer, switch-to-buffer): Rewrite.
7731 (pop-to-buffer): Restore Emacs 23 behavior but use
7732 window-normalize-buffer-to-display.
7733 (switch-to-buffer-other-window, switch-to-buffer-other-frame):
7734 Restore Emacs 23 behavior but use
7735 window-normalize-buffer-to-switch-to.
7736 (pop-to-buffer-same-window): Rewrite.
ae0bc9fb
SM
7737 (pop-to-buffer-other-window, pop-to-buffer-other-frame):
7738 Rewrite using Emacs 23 options.
f818cd2a 7739
5bc3b51d
MA
77402011-08-31 Michael Albinus <michael.albinus@gmx.de>
7741
7742 * net/tramp.el (tramp-root-regexp): Remove.
7743 (tramp-completion-file-name-regexp-unified)
7744 (tramp-completion-file-name-regexp-separate)
7745 (tramp-completion-file-name-regexp-url): Don't use leading volume
7746 letter on win32 systems. (Bug#5303, Bug#9311)
ae0bc9fb
SM
7747 (tramp-drop-volume-letter): Simplify definition.
7748 Suggested by Stefan Monnier <monnier@iro.umontreal.ca>.
5bc3b51d 7749
b1a4f8e1
SM
77502011-08-30 Stefan Monnier <monnier@iro.umontreal.ca>
7751
7752 * subr.el (event-modifiers): Fix "missing modifier" part of docstring
7753 (bug#9356).
7754
5664fa7b
RT
77552011-08-30 Reuben Thomas <rrt@sc3d.org> (tiny change)
7756
b1a4f8e1 7757 * vc/pcvs-defs.el (cvs-find-file-and-jump): Docstring typo (bug#9369).
5664fa7b 7758
9a45d6c3
JL
77592011-08-29 Juri Linkov <juri@jurta.org>
7760
7761 * isearch.el (isearch-done): Don't display message "Mark saved"
7762 when arg `edit' is non-nil to prevent its flicker in the echo area.
7763
fb87e0fb
CY
77642011-08-28 Chong Yidong <cyd@stupidchicken.com>
7765
7766 * emacs-lisp/package.el (package-menu-mark-delete): Allow marking
7767 obsolete packages for deletion.
7768
09ac1c2a
CS
77692011-08-28 Christoph Scholtes <cschol2112@googlemail.com>
7770
7771 * help-mode.el (help-mode-map): Add special-mode-map to parent.
5e617bc2 7772 (help-mode): Derive help-mode from special-mode. Don't invoke
09ac1c2a
CS
7773 view-mode from help-mode.
7774 (help-xref-override-view-map): Remove.
7775 (help-make-xrefs): Remove minor-mode-overriding-map-alist since
7776 view-mode is not used anymore.
7777
7a1ff57f
CY
77782011-08-28 Chong Yidong <cyd@stupidchicken.com>
7779
7780 * server.el (server-port): Doc fix.
7781
b9696605
CY
7782 * cus-theme.el (custom-theme-choose-mode): Inherit from
7783 special-mode (Bug#9124).
7784 (custom-theme-choose-mode-map): Add special-mode to parent.
7785
ef8cdf8c
AM
77862011-08-28 Alan Mackenzie <acm@muc.de>
7787
7788 * progmodes/cc-fonts.el
7789 (c-make-font-lock-BO-decl-search-function): New function.
7790 (c-basic-matchers-after - "Fontify the clauses after various
7791 keywords"): Extract the three keyword lists for the 3 erroneous
7792 constructs from the list of four, and use the new function above
7793 in place of an old one.
7794
27de4e20
DD
77952011-08-28 Deniz Dogan <deniz@dogan.se>
7796
7797 * net/rcirc.el (rcirc-insert-prev-input)
7798 (rcirc-insert-next-input): Remove unused argument.
7799
356a3681
SM
78002011-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
7801
7802 * shell.el (shell-parse-pcomplete-arguments): Unquote args (bug#9160).
7803
3fc9b218
AM
78042011-08-27 Alan Mackenzie <acm@muc.de>
7805
7806 * progmodes/cc-menus.el (cc-imenu-c++-generic-expression): Make it
7807 handle function pointer parameters properly.
7808
538a061c
MR
78092011-08-27 Martin Rudalics <rudalics@gmx.at>
7810
7811 * window.el (display-buffer-reuse-window): Fix case where
7812 selected window was reused with non-nil OTHER-WINDOW argument.
7813 (Bug#9381)
7814
35b1c40c
DD
78152011-08-27 Deniz Dogan <deniz@dogan.se>
7816
7817 * net/rcirc.el (rcirc-check-auth-status): Adding support for
7818 oftc's NickServ messages.
7819
2f6a3e79
GM
78202011-08-27 Glenn Morris <rgm@gnu.org>
7821
7822 * saveplace.el (save-place-limit): Make it finite. (Bug#9352)
7823
7254299e
CY
78242011-08-26 Chong Yidong <cyd@stupidchicken.com>
7825
7826 * emacs-lisp/package.el (package-install): Call package-initialize
7827 if called interactively.
7828
f8ccf167
LL
78292011-08-26 Leo Liu <sdl.web@gmail.com>
7830
7831 * emacs-lisp/cl-macs.el (defstruct): Fix format. (Bug#9357)
7832
3e8cd5ce
JL
78332011-08-25 Juri Linkov <juri@jurta.org>
7834
7835 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
7836 `search-whitespace-regexp' (bug#9364).
7837
93eb7113
JL
78382011-08-25 Juri Linkov <juri@jurta.org>
7839
7840 * isearch.el (isearch-edit-string): Let-bind `search-ring' and
7841 `regexp-search-ring' to their global values to protect from
7842 updating by `read-from-minibuffer' (bug#9185).
7843
f65d1611
JL
78442011-08-25 Juri Linkov <juri@jurta.org>
7845
7846 * textmodes/ispell.el (ispell-command-loop): Add newline
7847 at the end of the "Use option `i'..." line.
7848
f1cf7a31
JL
78492011-08-25 Juri Linkov <juri@jurta.org>
7850
7851 * battery.el (display-battery-mode): If `battery-status-function'
7852 or `battery-mode-line-format' is nil, display the message and set
7853 `display-battery-mode' to nil (bug#9363).
7854
0c95fcf7
EZ
78552011-08-25 Eli Zaretskii <eliz@gnu.org>
7856
7857 * buff-menu.el (Buffer-menu-buffer+size): Remove calls to
7858 bidi-string-mark-left-to-right; they are unnecessary now.
7859
a2ebe600
DD
78602011-08-25 Deniz Dogan <deniz@dogan.se>
7861
7862 * net/quickurl.el: Documentation typo fixes.
7863
e4ed06f1
CY
78642011-08-25 Chong Yidong <cyd@stupidchicken.com>
7865
7866 * window.el (bury-buffer, quit-window): Use bury-buffer-internal.
7867
e5f1c99e
GM
78682011-08-25 Glenn Morris <rgm@gnu.org>
7869
b2948976
GM
7870 * emacs-lisp/derived.el (define-derived-mode): Doc fix.
7871
e5f1c99e
GM
7872 * mail/smtpmail.el (smtpmail-smtp-user): Add version: tag.
7873 (smtpmail-via-smtp): Handle nil response from smtp.
7874
f22f4808
JL
78752011-08-24 Juri Linkov <juri@jurta.org>
7876
7877 * proced.el (proced-marked): Inherit from `error' instead of
7878 `font-lock-warning-face'.
7879
7880 * ibuffer.el (ibuffer-marked-face): Change default face from
7881 `font-lock-warning-face' to `warning'.
7882 (ibuffer-deletion-face): Change default face from
7883 `font-lock-type-face' to `error'.
7884
7885 * battery.el (battery-update): Use the face `error' instead of
7886 `font-lock-warning-face' (bug#6117).
7887
6a93965e
JL
78882011-08-24 Juri Linkov <juri@jurta.org>
7889
7890 * faces.el (success): Change face color from "Green3" to
7891 "ForestGreen" on light background (bug#9353).
7892
1ed43b09
CY
78932011-08-24 Chong Yidong <cyd@stupidchicken.com>
7894
5664fa7b
RT
7895 * window.el (quit-window): Rename from quit-restore-window.
7896 Use same arglist as old quit-window.
1ed43b09
CY
7897 (frame-auto-delete): Doc fix.
7898
7899 * view.el (view-mode-exit): Use quit-window.
7900
11dcdbb2
JL
79012011-08-24 Juri Linkov <juri@jurta.org>
7902
7903 * isearch.el (isearch-ring-adjust1): Start visiting previous
7904 search strings from the index 0 (-1 + 1) instead of 1 (0 + 1).
7905 (isearch-repeat, isearch-edit-string): Call `isearch-ring-adjust1'
7906 for empty search string (when the last search string is reused
7907 automatically) to adjust the isearch ring to the last element and
7908 prepare the correct index for further M-p commands (bug#9185).
7909
de62b4df
KH
79102011-08-24 Kenichi Handa <handa@m17n.org>
7911
7912 * international/ucs-normalize.el: If decomposition property of
7913 CHAR is the default one (i.e. a list of CHAR itself), treat it as
7914 nil.
7915 (nfd, nfkd): Likewise.
7916
963b492b
SM
79172011-08-24 Stefan Monnier <monnier@iro.umontreal.ca>
7918
7919 * mpc.el (mpc--proc-filter): Don't signal mpc-proc-error since signals
7920 from process filters aren't reliably transmitted to the surrounding
7921 accept-process-output.
7922 (mpc-proc-check): New function.
7923 (mpc-proc-sync): Use it (bug#8293)
7924
93b6b5e1
SM
79252011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
7926
7927 * emacs-lisp/eieio.el (eieio-defmethod, eieio-defgeneric):
7928 Add compatibility functions (bug#9313).
7929
bca633fb
EZ
79302011-08-23 Eli Zaretskii <eliz@gnu.org>
7931
b177498a
EZ
7932 * cus-start.el (all): Add entry for bidi-paragraph-direction.
7933
6df6ae42 7934 * international/uni-bidi.el: Regenerate.
bca633fb 7935
0902a04e
KH
79362011-08-23 Kenichi Handa <handa@m17n.org>
7937
7938 * international/charprop.el:
7939 * international/uni-bidi.el:
7940 * international/uni-category.el:
7941 * international/uni-combining.el:
7942 * international/uni-comment.el:
7943 * international/uni-decimal.el:
7944 * international/uni-decomposition.el:
7945 * international/uni-digit.el:
7946 * international/uni-lowercase.el:
7947 * international/uni-mirrored.el:
7948 * international/uni-name.el:
7949 * international/uni-numeric.el:
7950 * international/uni-old-name.el:
7951 * international/uni-titlecase.el:
7952 * international/uni-uppercase.el: Regenerate.
7953
3bbf23bc
MR
79542011-08-23 Martin Rudalics <rudalics@gmx.at>
7955
7956 * help.el (help-window-setup): Fix message displayed when other
7957 window is reused. (Bug#9341)
7958
b3fd59bd
SM
79592011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
7960
1802e444
SM
7961 * shell.el (shell-completion-vars): Set pcomplete-arg-quote-list.
7962 * pcomplete.el (pcomplete-quote-argument): Fix thinko (bug#9161).
7963
b3fd59bd
SM
7964 * pcomplete.el (pcomplete-parse-comint-arguments): Fix inf-loop.
7965 Mark obsolete.
7966 * shell.el (shell-parse-pcomplete-arguments): New function.
7967 (shell-completion-vars): Use it instead (bug#9160).
7968
4eb61348
SM
79692011-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
7970
867cab74
SM
7971 * progmodes/sh-script.el (sh-maybe-here-document): Disable magic in
7972 strings and comments (bug#9333).
7973
4eb61348
SM
7974 * emacs-lisp/debug.el (debug-arglist): New function.
7975 (debug-convert-byte-code): Use it. Handle lexical byte-codes.
7976 (debug-on-entry-1): Handle interpreted closures (bug#9120).
7977
262a1439
JL
79782011-08-22 Juri Linkov <juri@jurta.org>
7979
56ee679c
JL
7980 * progmodes/compile.el (compilation-mode-font-lock-keywords):
7981 Revert regexp that highlights output switches to its old
7982 pre-2010-10-28 value and remove one `?' from it (bug#9319).
7983
262a1439
JL
7984 * progmodes/grep.el (grep-process-setup): Use `buffer-modified-p'
7985 to check for empty output (bug#9226).
7986
f13f86fb
CY
79872011-08-22 Chong Yidong <cyd@stupidchicken.com>
7988
7989 * progmodes/scheme.el (scheme-mode-syntax-table): Don't use
7990 symbol-constituent as the default, as that stops font-lock from
7991 working properly (Bug#8843).
7992
c65c9622
LMI
79932011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
7994
7995 * mail/smtpmail.el (smtpmail-via-smtp): Only bind
7996 `coding-system-for-*' around the process open call to avoid
7997 auth-source side effects.
e7f2c178 7998 (smtpmail-try-auth-methods): Expand the secret password.
7185da52
LMI
7999 (smtpmail-query-smtp-server): Allow `quit'-ing out in case the
8000 probe hangs.
c65c9622 8001
23a8a5ab
CY
80022011-08-21 Chong Yidong <cyd@stupidchicken.com>
8003
ff98b2dd
CY
8004 * term.el (term-mouse-paste): Yank primary selection (Bug#6845).
8005
23a8a5ab
CY
8006 * emacs-lisp/find-func.el (find-function-noselect): New arg
8007 lisp-only.
8008
8009 * emacs-lisp/edebug.el (edebug-instrument-function): Use it to
8010 signal an error for built-in functions (Bug#6664).
8011
f5e3c598
LMI
80122011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
8013
8014 * mail/smtpmail.el (smtpmail-smtp-user): New variable.
8015 (smtpmail-try-auth-methods): Use it.
8016
a3f2468a
CY
80172011-08-21 Chong Yidong <cyd@stupidchicken.com>
8018
2c34e8da
CY
8019 * font-lock.el (font-lock-fontify-region)
8020 (font-lock-unfontify-region, font-lock-default-fontify-buffer)
8021 (font-lock-default-unfontify-buffer)
8022 (font-lock-default-fontify-region)
8023 (font-lock-default-unfontify-region): Add docstrings (Bug#8624).
8024
b3fd59bd
SM
8025 * progmodes/compile.el (compilation-error-properties):
8026 Fix confusion between file struct and message struct (Bug#9319).
02e5c89e
CY
8027 (compilation-error-regexp-alist-alist): Fix 2011-05-09 change to
8028 `ant' regexp.
ee31aabc 8029
a3f2468a
CY
8030 * net/browse-url.el (browse-url-firefox): Don't call
8031 browse-url-firefox-sentinel unless using -remote (Bug#9328).
8032
8e999f70
GM
80332011-08-20 Glenn Morris <rgm@gnu.org>
8034
c21a496a
GM
8035 * tutorial.el (help-with-tutorial): Avoid an error on short screens.
8036
59ee0542
GM
8037 * tutorial.el (tutorial--default-keys): Update some default bindings.
8038
8e999f70
GM
8039 * files.el (hack-local-variables): Fully ignore case for "mode:".
8040
e3715033
AM
80412011-08-20 Alan Mackenzie <acm@muc.de>
8042
8043 Resolve invalid use of a regexp in regexp-opt.
8044
4d61f28d
JB
8045 * progmodes/cc-fonts.el (c-complex-decl-matchers): Add in special
8046 detection for a java annotation.
e3715033 8047
4d61f28d 8048 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Add in special
e3715033
AM
8049 detection for a java annotation.
8050
4d61f28d
JB
8051 * progmodes/cc-langs.el (c-prefix-spec-kwds-re): Remove the special
8052 handling for java.
e3715033
AM
8053 (c-modifier-kwds): Remove the regexp "@[A-za-z0-9]+".
8054
04ed2e9c
CY
80552011-08-20 Chong Yidong <cyd@stupidchicken.com>
8056
8057 * startup.el (normal-top-level-add-subdirs-to-load-path): Doc fix
8058 (Bug#9274).
8059
826cee64
AM
80602011-08-20 Alan Mackenzie <acm@muc.de>
8061
58179cce 8062 Fontify CPP expressions correctly when starting in the middle of
826cee64
AM
8063 such a construct. Mainly for when jit-lock etc. starts a chunk
8064 here.
8065
58179cce 8066 * progmodes/cc-fonts.el (c-font-lock-context): New buffer local
826cee64 8067 variable.
58179cce 8068 (c-make-font-lock-search-form): New function, extracted from
826cee64
AM
8069 c-make-font-lock-search-function.
8070 (c-make-font-lock-search-function): Use the above function.
8071 (c-make-font-lock-context-search-function): New function.
8072 (c-cpp-matchers): Enhance the preprocessor expression case with
8073 the above function
8074 (c-font-lock-complex-decl-prepare): Test for being in a CPP form
8075 which takes an expression.
8076
8077 * progmodes/cc-langs.el (c-cpp-expr-intro-re): New lang-variable.
8078
13009bd8
MR
80792011-08-20 Martin Rudalics <rudalics@gmx.at>
8080
8081 * window.el (display-buffer-reuse-window)
8082 (display-buffer-pop-up-window): Don't reuse or split a side
8083 window.
8084
9234ff7f
GM
80852011-08-19 Glenn Morris <rgm@gnu.org>
8086
8087 * files.el (hack-local-variables-prop-line, hack-local-variables):
5e617bc2 8088 Downcase "Mode:". (Bug#9331)
9234ff7f 8089
f635daa1
CY
80902011-08-18 Chong Yidong <cyd@stupidchicken.com>
8091
8092 * international/characters.el: Add L and R categories.
8093
8094 * subr.el (bidi-string-mark-left-to-right): Rename from
8095 string-mark-left-to-right. Use category search.
8096
8097 * buff-menu.el (Buffer-menu-buffer+size): Callers changed.
8098
bc987f8b
JL
80992011-08-18 Juri Linkov <juri@jurta.org>
8100
8101 * faces.el (error, warning, success): New faces with definitions
8102 copied from old default values of `font-lock-warning-face',
8103 `compilation-warning', `compilation-info' (bug#6117).
8104
8105 * font-lock.el (font-lock-warning-face): Inherit from `error'.
8106
8107 * progmodes/compile.el (compilation-error): Inherit from `error'.
8108 (compilation-warning): Inherit from `warning'.
8109 (compilation-info): Inherit from `success'.
8110
8111 * dired.el (dired-marked): Inherit from `warning'.
8112 (dired-flagged): Inherit from `error'.
8113
57173b96
LMI
81142011-08-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
8115
3e79eb87
LMI
8116 * mail/smtpmail.el (auth-source): Require to avoid problems with
8117 binding variables (bug#9298). Also clean up some unused
8118 autoloads.
8119
b3fd59bd
SM
8120 * net/network-stream.el (network-stream-open-starttls):
8121 Support using starttls.el without using gnutls-cli.
57173b96 8122
02b404de
JL
81232011-08-17 Juri Linkov <juri@jurta.org>
8124
8125 * progmodes/grep.el (rgrep): Handle the case when
8126 `grep-find-command' is a cons cell (bug#9278).
8127
8c9177f2
MR
81282011-08-17 Martin Rudalics <rudalics@gmx.at>
8129
8130 * window.el (display-buffer-pop-up-frame): Run frame creation
8131 function with BUFFER current (as special-display-popup-frame
8132 does). Reported by Drew Adams.
8133
3644a0ab
DU
81342011-08-17 Daiki Ueno <ueno@unixuser.org>
8135
8136 * epa-mail.el: Simplify GnuPG group expansion using
8137 epg-expand-group.
8138 (epa-mail-group-alist, epa-mail-group-modtime)
8139 (epa-mail-gnupg-conf-file, epa-mail-parse-groups)
8140 (epa-mail-sync-groups, epa-mail-expand-recipient-1)
8141 (epa-mail-expand-recipients-2, epa-mail-expand-recipients):
8142 Remove.
8143
5e617bc2 81442011-08-16 Feng Li <fengli@gmail.com> (tiny change)
7c643369
FL
8145
8146 * calc/calc-ext.el (math-defintegral-2): Remove nested backquote.
8147
9c4aeabf
AM
81482011-08-16 Alan Mackenzie <acm@muc.de>
8149
8150 * progmodes/cc-engine.el (c-state-cache-non-literal-place):
8151 Correct, to avoid the inside of macros.
8152
3a99bf64
RS
81532011-08-16 Richard Stallman <rms@gnu.org>
8154
04963aa8
RS
8155 * epa-mail.el: Handle GnuPG group definitions.
8156 (epa-mail-group-alist, epa-mail-group-modtime)
8157 (epa-mail-gnupg-conf-file): New variables.
8158 (epa-mail-parse-groups, epa-mail-sync-groups)
8159 (epa-mail-expand-recipient-1, epa-mail-expand-recipients-2)
8160 (epa-mail-expand-recipients): New functions.
8161 (epa-mail-encrypt): Call epa-mail-expand-recipients.
8162
177549d0
RS
8163 * mail/rmail.el (rmail-epa-decrypt): New command.
8164
fe38beef
RS
8165 * epa.el (epa-decrypt-region): New arg MAKE-BUFFER-FUNCTION.
8166 Don't bind buffer-read-only, just inhibit-read-only.
3a99bf64
RS
8167 (epa--find-coding-system-for-mime-charset): Fix the non-xemacs case.
8168 (epa-decrypt-armor-in-region): Make error message clearer.
8169
934eacb9
SM
81702011-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
8171
8172 * minibuffer.el (completion-pcm--merge-completions): Don't merge "a1b"
8173 and "a2b" to "ab" for `prefix'.
8174
d024fb4e
CY
81752011-08-14 Chong Yidong <cyd@stupidchicken.com>
8176
8177 * ibuf-ext.el (ibuffer-filter-disable): New arg for deleting
8178 filter groups.
de148fee
CY
8179 (ibuffer-included-in-filter-p-1): Use it. Suggested by Rafaël
8180 Fourquet (Bug#8804).
d024fb4e 8181
62f1ca49
JB
81822011-08-12 Juanma Barranquero <lekktu@gmail.com>
8183
8184 * startup.el (argi): Declare as global variable (bug#9275).
8185
9ccaaa4b
CY
81862011-08-12 Chong Yidong <cyd@stupidchicken.com>
8187
8188 * subr.el (string-mark-left-to-right): Search the entire string
8189 for RTL script, not just the terminating character. Doc fix.
8190
a3dae87a
SM
81912011-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
8192
6cd18349
SM
8193 * progmodes/js.el (js-syntax-propertize, js-syntax-propertize-regexp):
8194 New function.
8195 (js--regexp-literal, js-syntax-propertize-function): Remove.
8196 (js-mode): Use js-syntax-propertize to handle multilines (bug#9183).
8197 (js-mode-map): Don't rebind electric keys.
8198 (js-insert-and-indent): Remove.
8199 (js-mode): Setup electric-layout and electric-indent instead.
8200
a3dae87a
SM
8201 * epa-file.el (epa-file-select-keys): Revert to nil default (bug#9280).
8202
9d5cb631
DU
82032011-08-12 Daiki Ueno <ueno@unixuser.org>
8204
8205 * epa.el (epa-progress-callback-function): Fix the logic of
8206 displaying progress.
8207 * epa-file.el (epa-file-insert-file-contents): Make progress
8208 display more user-friendly.
8209 (epa-file-write-region): Ditto.
8210
3e26a4a2
CY
82112011-08-10 Chong Yidong <cyd@stupidchicken.com>
8212
8213 * subr.el (string-mark-left-to-right): New function.
8214
8215 * buff-menu.el (Buffer-menu-buffer+size): Remove LRM argument.
8216 Use string-mark-left-to-right.
8217 (list-buffers-noselect): Caller changed.
8218
a3dae87a
SM
8219 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
8220 Use string-mark-left-to-right.
3e26a4a2
CY
8221 (tabulated-list-print): Recenter after moving point.
8222
ac8cf6e6
JL
82232011-08-10 Juri Linkov <juri@jurta.org>
8224
8225 * progmodes/grep.el (rgrep): Don't bind `process-connection-type'.
8226 This finishes incomplete reversion of 2011-06-30T01:09:13Z!larsi@gnus.org
8227 intended by 2011-07-06T15:49:19Z!larsi@gnus.org.
8228
8d96c9a4
CY
82292011-08-09 Chong Yidong <cyd@stupidchicken.com>
8230
8231 * hi-lock.el (hi-lock-unface-buffer): Fix interactive spec
8232 (Bug#7554).
8233
7be1c708 82342011-08-09 Andreas Schwab <schwab@linux-m68k.org>
29bbcfa7
AS
8235
8236 * xt-mouse.el (xterm-mouse-event-read): Try to recover the raw
8237 character. (Bug#6594)
8238
37e11a63
CY
82392011-08-08 Chong Yidong <cyd@stupidchicken.com>
8240
839dde57
CY
8241 * image-dired.el: Don't use find-file for temporary work (Bug#7895).
8242 (image-dired--with-db-file): New macro.
8243 (image-dired-write-tags, image-dired-remove-tag)
8244 (image-dired-create-gallery-lists, image-dired-write-comments)
8245 (image-dired-get-comment, image-dired-mark-tagged-files)
8246 (image-dired-list-tags, image-dired-gallery-generate): Use it.
8247 (image-dired-gallery-generate): Use insert-file-contents.
8248
37e11a63
CY
8249 * time.el (display-time-world-list, display-time-world-display):
8250 * time-stamp.el (time-stamp-string):
8251 * vc/add-log.el (add-change-log-entry): Use setenv instead of
8252 set-time-zone-rule (Bug#7337).
8253
0b4946c4
DU
82542011-08-08 Daiki Ueno <ueno@unixuser.org>
8255
8256 * epg.el (epg--status-KEYEXPIRED, epg--status-KEYREVOKED): Fix typo.
8257 (epg-error-to-string, epg-errors-to-string): New function.
8258 (epg-wait-for-completion): Reverse errors list.
8259 (epg--check-error-for-decrypt, epg-sign-file, epg-sign-string)
8260 (epg-encrypt-file, epg-encrypt-string, epg-export-keys-to-file)
8261 (epg--import-keys-1, epg-receive-keys, epg-delete-keys)
8262 (epg-sign-keys, epg-generate-key-from-file)
8263 (epg-generate-key-from-string): Format errors by using
8264 epg-errors-to-string (bug#9255).
8265 (epg--status-INV_SGNR, epg--status-NO_SGNR): New status handler.
8266
75bfc667
JL
82672011-08-07 Juri Linkov <juri@jurta.org>
8268
8269 * faces.el (list-faces-display): Remove extra angle bracket
8270 from `help-mode-map'.
8271
8272 * info.el (Info-history-toc-nodes): Doc fix.
8273
8274 * longlines.el (longlines-mode): Doc fix.
8275
673e08bb
SM
82762011-08-05 Stefan Monnier <monnier@iro.umontreal.ca>
8277
4640dd88
SM
8278 * progmodes/js.el (js--regexp-literal): Accept regexps at the beginning
8279 of statements and in a few more cases (bug#9183).
8280
673e08bb
SM
8281 * emacs-lisp/cl-macs.el (cl--make-usage-var, cl--make-usage-args):
8282 New functions.
8283 (cl-transform-lambda): Use them (bug#9239).
8284
89b3f019
MR
82852011-08-05 Martin Rudalics <rudalics@gmx.at>
8286
8287 * window.el (display-buffer-same-window)
8288 (display-buffer-same-frame, display-buffer-other-window)
8289 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
8290 (pop-to-buffer-other-window)
8291 (pop-to-buffer-same-frame-other-window)
8292 (pop-to-buffer-other-frame): Make them defuns.
8293 (switch-to-buffer): Don't set LABEL argument of pop-to-buffer.
8294
640c8776
SM
82952011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
8296
8297 * subr.el (make-composed-keymap): Move from C. Change calling
8298 convention, and improve docstring to bring attention to a subtle point.
8299 * minibuffer.el (completing-read-default): Adjust accordingly.
8300
63648a95
MA
83012011-08-03 Michael Albinus <michael.albinus@gmx.de>
8302
8303 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
8304 (tramp-open-shell): Use `tramp-shell-quote-argument'.
8305
8306 * net/trampver.el: Update release number.
8307
b796c9b7
SM
83082011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
8309
8310 * progmodes/sh-script.el (sh-font-lock-paren): Don't mistake "main" for
8311 "in" (bug#9190).
8312
2239d7d5
LMI
83132011-08-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
8314
e07dd7c3
LMI
8315 * mail/sendmail.el (sendmail-query-once): Restore the current
8316 buffer after querying (bug#9074).
8317
0e6a2bd7
LMI
8318 * dired.el (dired-flagged): Use different faces for marked and
8319 flagged files (bug#6117).
8320
ce887515
LMI
8321 * emacs-lisp/cl-macs.el (dolist): Mention that there's a nil block
8322 (bug#4433).
8323
92f2affc
LMI
8324 * ido.el (ido-mode): Switch off the message if called
8325 non-interactively.
8326
57d5aff0
LMI
8327 * mail/smtpmail.el (smtpmail-query-smtp-server): Try port 25
8328 before 587, since it appears that that's more likely to work for
8329 more people.
8330
98cd6c18 8331 * cus-edit.el (custom-file): When running under emacs -q, always
e1dbe924 8332 refuse to save the customizations, even if the .emacs file doesn't
98cd6c18
LMI
8333 exist.
8334
b96dec83
LMI
8335 * info.el: Remove the `Info-beginning-of-buffer' function
8336 (bug#8325).
8337
b796c9b7
SM
8338 * net/network-stream.el (network-stream-open-starttls):
8339 Use `starttls-available-p' to see whether starttls.el can be used.
2239d7d5 8340
d90e2ea0
MR
83412011-08-01 Martin Rudalics <rudalics@gmx.at>
8342
8343 * window.el (display-buffer-in-window): Don't set dedicated status
8344 of window here (Bug#9215).
8345 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
8346 (display-buffer-pop-up-side-window)
b796c9b7 8347 (display-buffer-in-side-window): Set dedicated status of window here.
d90e2ea0 8348
cca09170
SM
83492011-08-01 Stefan Monnier <monnier@iro.umontreal.ca>
8350
8351 * emacs-lisp/package.el (package-generate-autoloads): Load autoloads
8352 before binding generated-autoload-file.
8353
027b979c
DD
83542011-08-01 Deniz Dogan <deniz@dogan.se>
8355
8356 * net/rcirc.el (rcirc-handler-333): Clarify docstring.
8357
3c7ee4f3
MA
83582011-07-30 Michael Albinus <michael.albinus@gmx.de>
8359
8360 Sync with Tramp 2.2.2.
8361
8362 * net/trampver.el: Update release number.
8363
2cc8e51a
JL
83642011-07-30 Juri Linkov <juri@jurta.org>
8365
8366 * dired-aux.el (dired-touch-initial): Remove function.
8367 (dired-do-chxxx): For op-symbol `touch', set `initial' to the
8368 current time, and `default' to the last modification time of the
8369 current marked file (bug#6887).
8370
a514d856
JM
83712011-07-28 Jose E. Marchesi <jemarch@gnu.org>
8372
8373 * simple.el (goto-line): Use string-to-number to provide a
2cc8e51a 8374 numeric argument to read-number (bug#9163).
a514d856 8375
8a7eddd7
MA
83762011-07-27 Michael Albinus <michael.albinus@gmx.de>
8377
8378 * net/tramp-sh.el (tramp-maybe-send-script): Don't let-bind the
8379 connection process, it could be nil.
8380
1ddd96f5
LL
83812011-07-27 Leo Liu <sdl.web@gmail.com>
8382
8383 Simplify url handling in rcirc-mode.
8384
8385 * net/rcirc.el (rcirc-browse-url-map, rcirc-browse-url-at-point)
8386 (rcirc-browse-url-at-mouse): Remove.
8387 * net/rcirc.el (rcirc-markup-urls): Use `make-button'.
8388
b248a85d
AM
83892011-07-26 Alan Mackenzie <acm@muc.de>
8390
8391 Fontify bitfield declarations properly.
8392
8393 * progmodes/cc-langs.el (c-has-bitfields): New lang variable.
8394 (c-symbol-chars): Now exported as a lang variable.
8395 (c-not-primitive-type-keywords): New lang variable.
8396
8397 * progmodes/cc-fonts.el (c-font-lock-declarations): Jump over the
8398 QT keyword "more" to prevent "more slots: ...." being spuriously
58179cce 8399 parsed as a bitfield declaration.
b248a85d 8400
b796c9b7
SM
8401 * progmodes/cc-engine.el (c-beginning-of-statement-1):
8402 Refactor and enhance to handle bitfield declarations.
b248a85d
AM
8403 (c-punctuation-in): New function.
8404 (c-forward-decl-or-cast-1): Enhance CASE 3 to handle bitfield
8405 declarations properly.
8406
68575ab0
UJ
84072011-07-26 Ulf Jasper <ulf.jasper@web.de>
8408
8409 * calendar/icalendar.el (icalendar--all-events): Take care of
8410 multiple vcalendars in a single file.
b796c9b7 8411 (icalendar--convert-float-to-ical): Checkdoc fixes.
68575ab0 8412
0f0a88b9
DD
84132011-07-25 Deniz Dogan <deniz@dogan.se>
8414
8415 * image.el (insert-image): Clarifying docstring.
8416
0b3f36df
MA
84172011-07-24 Michael Albinus <michael.albinus@gmx.de>
8418
8419 * net/tramp-sh.el (tramp-barf-unless-okay): Return the value of
8420 `tramp-send-command-and-check' if there is no error.
8421 (tramp-send-command-and-read): Suppress *all* errors if NOERROR.
8422
a9901f61
AM
84232011-07-22 Alan Mackenzie <acm@muc.de>
8424
8425 Prevent cc-langs.elc being loaded at run time.
8426
8427 * progmodes/cc-mode.el: Remove two autoload forms which loaded
8428 cc-langs.
8429
4d61f28d 8430 * progmodes/cc-langs.el (c-make-init-lang-vars-fun): Don't emit
a9901f61
AM
8431 "(require 'cc-langs)". Quote a form so it will evaluate at
8432 (cc-mode's) compilation time.
8433
11d074b2
MA
84342011-07-22 Michael Albinus <michael.albinus@gmx.de>
8435
8436 * net/tramp.el (tramp-file-name-handler): Avoid recursive
8437 loading. (Bug#9114)
8438
938b94c8
MR
84392011-07-21 Martin Rudalics <rudalics@gmx.at>
8440
8441 * window.el (display-buffer-pop-up-window)
8442 (display-buffer-pop-up-side-window)
8443 (display-buffer-in-side-window): Call display-buffer-set-height
8444 and display-buffer-set-width after setting the new window's
b796c9b7 8445 buffer so `fit-window-to-buffer' and friends work on the right buffer.
938b94c8 8446
bfa4f190
SS
84472011-07-20 Sam Steingold <sds@gnu.org>
8448
8449 * progmodes/etags.el (etags-file-of-tag, etags-tags-table-files)
8450 (etags-tags-included-tables): Call `convert-standard-filename' on
8451 the file names contained in TAGS so that windows Emacs can handle
8452 TAGS files created by cygwin ctags.
8453
8ca42262
LMI
84542011-07-20 Lars Magne Ingebrigtsen <larsi@gnus.org>
8455
8456 * proced.el (proced-update): Revert yesterday's bug#1779 patch,
8457 which apparently didn't work.
8458
5db2afd2 84592011-07-19 Roland Winkler <winkler@gnu.org>
2ecab2b5 8460
5db2afd2
RW
8461 * proced.el (proced-send-signal): For *Marked Processes* buffer
8462 put point at beginning of buffer.
8463
92e15d10
SB
84642011-07-19 Stephen Berman <stephen.berman@gmx.net>
8465
8466 * proced.el (proced-format): Make header lines align with the text
8467 (bug#1779).
8468
1bfd59e5
LMI
84692011-07-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
8470
8471 * view.el (view-buffer): Allow running in `special' modes if we're
8472 visiting a file (bug#8615).
8473
f5aae37c
MR
84742011-07-19 Martin Rudalics <rudalics@gmx.at>
8475
8476 * window.el (display-buffer-alist-of-strings-p)
b796c9b7
SM
8477 (display-buffer-alist-set-1, display-buffer-alist-set-2):
8478 New functions.
f5aae37c
MR
8479 (display-buffer-alist-set): Rewrite to handle Emacs 23 options
8480 more accurately.
8481
bf2c1571
AM
84822011-07-18 Alan Mackenzie <acm@muc.de>
8483
8484 Fontify declarators properly when, e.g., a jit-lock chunk begins
8485 inside a declaration.
8486
8487 * progmodes/cc-langs.el (c-symbol-chars): Correct a typo.
8488
b796c9b7
SM
8489 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
8490 New function.
bf2c1571
AM
8491 (c-complex-decl-matchers): Insert reference to
8492 c-font-lock-enclosing-decls.
8493
8494 * progmodes/cc-engine.el (c-backward-single-comment):
8495 (c-backward-comments): Bind open-paren-in-column-0-is-defun-start
8496 to nil around calls to (forward-comment -1).
8497
4e190b80
LMI
84982011-07-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
8499
12dc863d
LMI
8500 * image.el (put-image): Doc typo fix.
8501
a762e966
LMI
8502 * progmodes/etags.el (tags-search): Doc typo fix.
8503
4e190b80
LMI
8504 * mail/smtpmail.el (smtpmail-via-smtp): Query the user for
8505 password if we get errors 550 to 554.
8506
f019fb21
LMI
85072011-07-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
8508
b796c9b7 8509 * net/gnutls.el (gnutls-log-level): Remove.
750c33f7 8510
81746738
LMI
8511 * textmodes/fill.el (adaptive-fill-regexp): Include EN DASH as an
8512 indentation character (bug#6380).
8513
3ee3a1b5
LMI
8514 * files.el (buffer-offer-save): Made permanently local (bug#6241).
8515
c82f64de
LMI
8516 * doc-view.el (doc-view-make-safe-dir): Rewrite the error message
8517 to clarify what the problem is (bug#4291).
8518
f019fb21
LMI
8519 * simple.el (current-kill): Clarify what
8520 `interprogram-paste-function' does (bug#7500).
ca425c7c
LMI
8521 (auto-fill-mode): Document `auto-fill-function' in relation to
8522 `auto-fill-mode' (bug#2470).
f019fb21 8523
0794775d
LM
85242011-07-16 Lawrence Mitchell <wence@gmx.li>
8525
8526 * emacs-lisp/cl-macs.el (defstruct): Ignore argument to setf
8527 method if slot is read-only (bug#9035).
8528
be39b8cc
MR
85292011-07-16 Martin Rudalics <rudalics@gmx.at>
8530
b796c9b7 8531 * frame.el (select-frame-set-input-focus): New argument NORECORD.
be39b8cc 8532 * window.el (pop-to-buffer): Select window used even if it was
b796c9b7
SM
8533 selected before, see discussion of (Bug#8615), (Bug#6954).
8534 Pass argument NORECORD on to select-frame-set-input-focus.
be39b8cc 8535
6ccf7859
GM
85362011-07-15 Glenn Morris <rgm@gnu.org>
8537
8538 * subr.el (read-char-choice): Allow quitting. (Bug#9001)
03ea5b87 8539 Respect help-form.
6ccf7859 8540
87e86684
LM
85412011-07-09 Lawrence Mitchell <wence@gmx.li>
8542
8543 * net/gnutls.el (gnutls-min-prime-bits): New variable.
8544 (gnutls-negotiate): Use it.
8545
d6066239
LMI
85462011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
8547
b796c9b7
SM
8548 * net/gnutls.el (gnutls-negotiate):
8549 Upcase `gnutls-algorithm-priority'.
d6066239 8550
bd23ebc0
GM
85512011-07-15 Glenn Morris <rgm@gnu.org>
8552
c65bca65
GM
8553 * jka-compr.el (jka-compr-verbose): Move from here...
8554 * jka-cmpr-hook.el (jka-compr-verbose): ... to here. (Bug#9090)
8555 Add missing :version tag.
8556 * info.el: No need to require jka-compr when compiling.
bd23ebc0 8557
478615cc
LMI
85582011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
8559
7b41decb
LMI
8560 * net/gnutls.el (gnutls-algorithm-priority): New variable.
8561 (gnutls-negotiate): Use it.
8562
dbc44fcd
LMI
8563 * emacs-lisp/cl-macs.el (declare): Link to the "Declarations" node.
8564
06789f97
LMI
8565 * info.el (Info-beginning-of-buffer): New command.
8566 (Info-mode-map): Use it instead of `beginning-of-buffer' to allow
8567 announcing `b' as the key (bug#8325).
ab896c37 8568 (Info-mode-menu): Use `Info-beginning-of-buffer' for consistency.
06789f97 8569
c39da690
LMI
8570 * emacs-lisp/cl-macs.el (declare): Doc string fix-up.
8571
3aa5f34b
LMI
8572 * international/mule-cmds.el
8573 (describe-specified-language-support): Make the error message
8574 clearer (bug#8905).
8575
4bf0979f
LMI
8576 * emacs-lisp/cl-macs.el (declare): Add a doc string (bug#8690).
8577
478615cc
LMI
8578 * isearch.el (isearch-barrier): Add a doc string, since it's
8579 mentioned in a function doc string (bug#8678).
8580
75c68aa1
MR
85812011-07-15 Martin Rudalics <rudalics@gmx.at>
8582
8583 * window.el (switch-to-buffer): Call pop-to-buffer with normalized
8584 buffer argument (Bug#9083) and self-identifying label argument.
8585
a7c33da2
GM
85862011-07-15 Glenn Morris <rgm@gnu.org>
8587
8588 * emacs-lisp/debug.el (debug): Doc fix. (Bug#8273)
8589
2f5c6024
LMI
85902011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
8591
8592 * man.el (Man-fontify-manpage): Fix message when formatting the
8593 man page (bug#7929).
8594
0bb23927 85952011-07-14 Eli Zaretskii <eliz@gnu.org>
cce4b0a7
EZ
8596
8597 * buff-menu.el (Buffer-menu-buffer+size): Accept an additional
8598 argument LRM; if non-nil, append an invisible LRM character to the
8599 buffer name.
8600 (list-buffers-noselect): Call Buffer-menu-buffer+size with the
8601 last argument non-nil, when formatting buffer names.
0bb23927
EZ
8602 (Buffer-menu-mode, list-buffers-noselect): Force left-to-right
8603 paragraph direction.
cce4b0a7 8604
621ef9ab
LMI
86052011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
8606
d1583c48
LMI
8607 * man.el (Man-bgproc-sentinel): Skip any arguments and only output
8608 the man page name (bug#7929).
8609
6a57fb5f
LMI
8610 * image.el (put-image): Mention the `put-image' overlay property
8611 (bug#7834).
8612
d7956b14
LMI
8613 * scroll-bar.el (set-scroll-bar-mode): Mention that
8614 `scroll-bar-mode' lists the values (bug#7772).
8615
5b2d4a66
LMI
8616 * image-mode.el (image-mode-fit-frame): Mention that it's a toggle
8617 command (bug#7729).
8618
7509a874
LMI
8619 * rect.el (apply-on-rectangle): Return the point after the last
8620 operation.
8621 (string-rectangle): Go to the point after the last operation
8622 (bug#7522).
8623
4fe74b19
LMI
8624 * printing.el (pr-toggle-region): Clarify the documentation
8625 slightly (bug#7493).
8626
b796c9b7
SM
8627 * time.el (display-time-update):
8628 Allow `display-time-mail-function' to return nil (bug#7158).
8629 Fix suggested by Detlev Zundel.
ab283561 8630
fc233c9d
LMI
8631 * vc/diff.el (diff): Clarify the order the file names are read
8632 (bug#7111).
8633
43f5740b
LMI
8634 * mouse.el (mouse-set-region): Link to `mouse-drag-copy-region' in
8635 the doc string (bug#7015).
8636
f2182a76
LMI
8637 * font-lock.el (font-lock-maximum-decoration): Mention what
8638 numeric levels mean (bug#6935).
8639
621ef9ab
LMI
8640 * startup.el (initial-buffer-choice): Don't mention the `none'
8641 selection, which is against policy.
8642
adc47434
MR
86432011-07-14 Martin Rudalics <rudalics@gmx.at>
8644
b796c9b7
SM
8645 * window.el (display-buffer-normalize-special):
8646 Replace `dedicated' by `dedicate' to dedicate window (Bug#9072).
adc47434 8647
7e5bfb8f
EZ
86482011-07-14 Eli Zaretskii <eliz@gnu.org>
8649
8650 * subr.el (version<, version<=, version=): Mention "-CVS" and
8651 "-12345" alpha version numbers.
8652
27fa387a
CY
86532011-07-14 Chong Yidong <cyd@stupidchicken.com>
8654
8655 * bindings.el: Add advertised binding for set-mark-command
8656 (Bug#5772).
8657
8bdfa064
CY
86582011-07-14 Chong Yidong <cyd@stupidchicken.com>
8659
8660 * bindings.el (mode-line-other-buffer):
8661 * bookmark.el (bookmark-bmenu-2-window):
8662 * bs.el (bs-cycle-next, bs-cycle-previous):
8663 * net/tramp-cmds.el (tramp-append-tramp-buffers): Revert to using
8664 switch-to-buffer.
8665
8666 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
b796c9b7 8667 Delete.
8bdfa064 8668
5eba16a3
JB
86692011-07-14 Juanma Barranquero <lekktu@gmail.com>
8670
8671 * follow.el (follow-debug-message, follow-redisplay):
8672 * jka-cmpr-hook.el (with-auto-compression-mode):
8673 Fix typos in docstrings.
8674
15853710
LMI
86752011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
8676
a28e4607
LMI
8677 * subr.el (with-silent-modifications): Clarify somewhat what the
8678 macro inhibits (bug#6525).
8679
15853710
LMI
8680 * simple.el (eval-expression): Note what it does if called
8681 interactively (bug#6495).
8682
bee0fcef
CY
86832011-07-13 Chong Yidong <cyd@stupidchicken.com>
8684
b796c9b7
SM
8685 * window.el (switch-to-buffer): New arg FORCE-SAME-WINDOW.
8686 Use pop-to-buffer buffer-or-name if it is nil.
bee0fcef
CY
8687
8688 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
8689 Remove switch-to-buffer.
8690
58274504
LMI
86912011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
8692
bd2fcc8d
LMI
8693 * files.el (make-directory): Clarify that an error will be raised
8694 if there's an error (bug#6397).
8695
0f04b32c
LMI
8696 * startup.el (initial-buffer-choice): Add `none' as a choice
8697 (bug#6234).
8698
465c5fc8
LMI
8699 * subr.el (add-hook): Clarify section about buffer-local hooks
8700 (bug#6218).
8701
58274504
LMI
8702 * dired.el (dired-flagged): Clarify doc string (bug#6117).
8703
bead9a43
JB
87042011-07-13 Juanma Barranquero <lekktu@gmail.com>
8705
8706 * tabify.el (untabify): Preserve the current column so that point
8707 doesn't move (bug#6032).
8708
3af98a7b
LMI
87092011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
8710
b796c9b7
SM
8711 * progmodes/cperl-mode.el (cperl-syntaxify-by-font-lock):
8712 Rewrite to avoid awkward possessive "s" (bug#5986).
3af98a7b 8713
6240145a
GM
87142011-07-13 Glenn Morris <rgm@gnu.org>
8715
8716 * dired.el (dired-use-ls-dired): Doc fix. (Bug#9039).
8717 (dired-insert-directory): Give a message the first time
8718 if ls is found not to support --dired.
8719
1d8c2ccc
LMI
87202011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
8721
8722 * simple.el (toggle-truncate-lines): Clarify what is toggled
8723 (bug#5580). Text by Drew Adams.
8724
5fc4038e
CY
87252011-07-13 Chong Yidong <cyd@stupidchicken.com>
8726
8727 * simple.el (blink-matching-open): Make the error message from the
8728 last change less verbose.
8729
bf6012e5
DN
87302011-07-13 Dan Nicolaescu <dann@ics.uci.edu>
8731
8732 * font-lock.el (font-lock-comment-face): Use the high contrast
8733 "yellow" color for font-lock-comment-face on low color terminals
8734 using a dark background color (bug#4221).
8735
343c3b5a
LMI
87362011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
8737
7e9505c5
LMI
8738 * dired.el (dired-insert-set-properties): Make the doc string
8739 reflect what it does now (bug#5325).
8740
c26fdcf5
LMI
8741 * simple.el (blink-matching-open): Say that we were unable to find
8742 the match within the limit, if we're limited (bug#5122).
8743
bb388cc5
LMI
8744 * international/mule-cmds.el (prefer-coding-system): Add an
8745 example (bug#4869).
8746
343c3b5a
LMI
8747 * progmodes/etags.el (tags-search): Document `file-list-form'
8748 (bug#4731).
8749
2a517d45
LM
87502011-07-13 Lawrence Mitchell <wence@gmx.li>
8751
8752 * net/browse-url.el (browse-url-default-browser)
8753 (browse-url-browser-function): Make the default browser choice a
8754 bit more logical (bug#4300). Also clean up the doc string.
8755
b6c78ef2
JB
87562011-07-13 Juanma Barranquero <lekktu@gmail.com>
8757
8758 * bindings.el (completion-ignored-extensions): Add OpenMCL/Clozure
8759 binary endings (bug#4440).
8760
1c4dd947
LMI
87612011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
8762
a2014063
LMI
8763 * info.el (info-insert-file-contents): Inhibit jka-compr messages,
8764 which can be pretty annoying (bug#8971).
8765
9c9c2d88
LMI
8766 * jka-compr.el (jka-compr-verbose): New variable, and use
8767 throughout (bug#8971).
8768
1c4dd947
LMI
8769 * info.el (Info-find-file): Fall back on the installation
8770 directory if we can't find the info node anywhere else.
8771
a1c9f41b
SO
87722011-07-13 Sergei Organov <osv@javad.com> (tiny change)
8773
8774 * vc/vc.el (vc-revert-file):
8775 Don't set file time-stamp in the past. (Bug#5181)
8776
536f3d36
LMI
87772011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
8778
7152b011
LMI
8779 * files.el (after-find-file): Give a better error message when
8780 trying to find a symlink that points to a file that doesn't exist
8781 (bug#4398).
8782
536f3d36
LMI
8783 * progmodes/cc-vars.el: Remove (probably) misleading comment
8784 (bug#4396).
8785
460c0fba
JB
87862011-07-12 Johan Bockgård <bojohan@gnu.org>
8787
8788 * mouse-sel.el (mouse-sel-primary-overlay): Use the `region' face.
8789
7a6bda45
CY
87902011-07-12 Chong Yidong <cyd@stupidchicken.com>
8791
8792 * mouse-sel.el: Hack restoring functionality, while keeping
8793 compatibility with 2010-07-03 changes to mouse selection.
8794 (mouse-sel-primary-overlay): New var.
8795 (mouse-sel-selection-alist): Use it.
8796 (mouse-sel-mode): Doc fix; remove points that are default features
8797 of mouse.el.
8798
c79598ef
JB
87992011-07-12 Johan Bockgård <bojohan@gnu.org>
8800
8801 * progmodes/compile.el (compilation-error-regexp-alist-alist):
8802 Fix previous fix (bug#2490).
8803
ff8be6ef
RW
88042011-07-12 Roland Winkler <winkler@gnu.org>
8805
b796c9b7
SM
8806 * textmodes/bibtex.el (bibtex-initialize):
8807 Use pop-to-buffer-same-window.
ff8be6ef
RW
8808 (bibtex-search-entries): Fix interactive call.
8809
296ba3ee
LMI
88102011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
8811
f5242a02 8812 * progmodes/compile.el (compilation-error-regexp-alist-alist):
b796c9b7
SM
8813 Fontise bytecomp Error lines more correctly (bug#2490).
8814 Fix suggested by Johan Bockgård.
f5242a02 8815
296ba3ee
LMI
8816 * subr.el (remove-duplicates): Remove; `delete-dups' is sufficient.
8817
8818 * dired-x.el (dired-guess-default): Use `delete-dups'.
8819
f69fd0d2
CY
88202011-07-12 Chong Yidong <cyd@stupidchicken.com>
8821
8822 * dired.el (dired-mark-prompt):
8823 * dired-aux.el (dired-read-shell-command): Doc fix.
8824
eab5dc07
LMI
88252011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
8826
b796c9b7
SM
8827 * mail/sendmail.el (sendmail-query-once):
8828 Use `customize-save-variable' unconditionally, now that it works under
9988520a
LMI
8829 emacs -Q.
8830
8831 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
8832
eab5dc07
LMI
8833 * cus-edit.el (custom-file): Take an optional no-error variable.
8834 (customize-save-variable): Set the variable, and give a warning if
8835 running under "emacs -q".
8836
a1e65d42
JB
88372011-07-11 Juanma Barranquero <lekktu@gmail.com>
8838
8839 * loadhist.el (unload-feature-special-hooks):
8840 Add `auto-coding-functions', `fill-nobreak-predicate' and
8841 `find-directory-functions' (bug#5327).
8842
1d52da10
LMI
88432011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
8844
be958f1d
LMI
8845 * vc/ediff.el (ediff-patch-file): Clarify doc string (bug#3138).
8846
5bedb26c
LMI
8847 * cus-edit.el (custom-guess-name-alist): -alist variables should
8848 use the `alist' type (bug#3120). Suggested by Drew Adams.
8849
1d52da10
LMI
8850 * printing.el: Add documentation to all the `pr-toggle-' commands.
8851
cd394be1 88522011-07-11 Leo Liu <sdl.web@gmail.com>
481a51b6
LL
8853
8854 * files.el (toggle-read-only): Only do the `C-x C-q' warning on VC
8855 backends where it makes sense (bug#2623).
8856
dcc88d8a
LMI
88572011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
8858
c3de9feb
LMI
8859 * dired-x.el (dired-guess-default): Remove duplicate shell command
8860 entries (bug#2028).
8a93078b 8861 (dired-guess-default): Fix grammar in doc string (bug#2028).
eea84fe5 8862 (dired-guess-shell-alist-user): Clarify the example a bit (bug#2030).
c3de9feb 8863
dcc88d8a
LMI
8864 * subr.el (remove-duplicates): New conveniency function.
8865
505e3645
LMI
88662011-07-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
8867
8868 * tool-bar.el (tool-bar-mode): Clarify positive/negative arguments
8869 (bug#1526).
8870
88712011-07-10 Martin Rudalics <rudalics@gmx.at>
8872
8873 * window.el (display-buffer-normalize-default): Don't invert
8874 meaning of even-window-heights. Reported by Eli Zaretskii
8875 <eliz@gnu.org>.
8876
455e4fa1
BR
88772011-07-10 Bob Rogers <rogers@rgrjr.dyndns.org>
8878
8879 * vc/vc.el (vc-diff-internal): Fix race condition (Bug#1256).
8880
8e0bc3e9
CY
88812011-07-10 Chong Yidong <cyd@stupidchicken.com>
8882
8883 * window.el (display-buffer): Fix arguments to
8884 display-buffer-reuse-window in last change.
8885
fa7c3228
CY
8886 * faces.el (link): Use a less saturated blue on light backgrounds.
8887
8888 * startup.el (fancy-startup-text, fancy-about-text)
8889 (fancy-startup-tail): Use font-lock faces, for background safety.
8890
c0a7f300
BN
88912011-07-09 Bob Nnamtrop <bobnnamtrop@gmail.com> (tiny change)
8892
b796c9b7
SM
8893 * emulation/viper-cmd.el (viper-change-state-to-vi):
8894 Limit triggering of abbrev expansion (Bug#9038).
c0a7f300 8895
4dc2a129
MR
88962011-07-09 Martin Rudalics <rudalics@gmx.at>
8897
8898 * window.el (display-buffer-default-specifiers): Remove.
8899 (display-buffer-macro-specifiers): Remove default specifiers.
8900 (display-buffer-alist): Default to nil.
b796c9b7 8901 (display-buffer-reuse-window): New optional argument other-window.
4dc2a129
MR
8902 (display-buffer-pop-up-window): Allow splitting internal
8903 windows. Check whether a live window was created.
8904 (display-buffer-other-window-means-other-frame)
8905 (display-buffer-normalize-arguments): Rename to
8906 display-buffer-normalize-argument and rewrite. Set the
8907 other-window specifier.
8908 (display-buffer-normalize-special): New function.
8909 (display-buffer-normalize-options): Rename to
8910 display-buffer-normalize-default and rewrite.
8911 (display-buffer-normalize-options-inhibit): Remove.
8912 (display-buffer-normalize-specifiers): Rewrite.
8913 (display-buffer): Process other-window specifier and call
8914 display-buffer-reuse-window with it. Emulate Emacs 23 behavior
8915 more faithfully.
b796c9b7 8916 (pop-up-windows, even-window-heights): Restore Emacs 23 default values.
4dc2a129 8917 (display-buffer-alist-set): Don't handle 'unset default values.
b796c9b7
SM
8918 (display-buffer-in-window, display-buffer-alist-set):
8919 Replace symbol "dedicated" by "dedicate". Reported by Tassilo Horn
4dc2a129
MR
8920 <tassilo@member.fsf.org>.
8921
2d43b8c9
LL
89222011-07-09 Leo Liu <sdl.web@gmail.com>
8923
8924 * register.el (insert-register): Restore accidental change on
8925 2011-06-26. (Bug#9028)
8926
7f9b7c53
GM
89272011-07-09 Glenn Morris <rgm@gnu.org>
8928
8929 * subr.el (remq): Handle the empty list. (Bug#9024)
8930
f042cfd8
AS
89312011-07-08 Andreas Schwab <schwab@linux-m68k.org>
8932
8933 * mail/sendmail.el (send-mail-function): No longer delay custom
8934 initialization.
8935 * custom.el (custom-initialize-delay): Doc fix.
8936
856b2f11
SM
89372011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
8938
8939 * abbrev.el (expand-abbrev): Try to preserve point (bug#5805).
8940
afae1d68
MA
89412011-07-08 Michael Albinus <michael.albinus@gmx.de>
8942
8943 * net/tramp-sh.el (tramp-sh-handle-start-file-process): Use a
8944 human-friendly prompt.
8945
0757af94
SM
89462011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
8947
8948 * vc/vc-bzr.el (vc-bzr-revision-keywords): Remove svn, it's only
8949 provided by a particular plugin.
8950
d760b731
LMI
89512011-07-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
8952
8953 * mail/sendmail.el (sendmail-query-once): If we aren't allowed to
8954 save customizations (with "emacs -Q"), just set the variable
8955 instead of erroring out.
8956
8957 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
8958
cd79ce90
JL
89592011-07-08 Juri Linkov <juri@jurta.org>
8960
8961 * arc-mode.el (archive-zip-expunge, archive-zip-update)
8962 (archive-zip-update-case): Use 7z if found by `executable-find'.
8963 The order of searching the available programs is the same as in
8964 `archive-zip-extract' (bug#8968).
8965
14cc04aa
CY
89662011-07-07 Chong Yidong <cyd@stupidchicken.com>
8967
8968 * menu-bar.el (menu-bar-line-wrapping-menu): Revert last change.
8969 (menu-bar-options-menu): Tweak descriptions.
8970
0a1848ec
LMI
89712011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
8972
8973 * menu-bar.el (menu-bar-line-wrapping-menu): Make all the Options
8974 menu items into verb phrases (bug#1421). Also refill to fit under
8975 80 columns.
8976
f5bd0689
CY
89772011-07-07 Chong Yidong <cyd@stupidchicken.com>
8978
538e85c6
CY
8979 * info.el (info, Info-read-node-name-2, Info-read-node-name-1)
8980 (Info-read-node-name): Doc fix (Bug#1084).
8981
f5bd0689
CY
8982 * thingatpt.el (forward-thing, bounds-of-thing-at-point)
8983 (thing-at-point, beginning-of-thing, end-of-thing, in-string-p)
8984 (end-of-sexp, beginning-of-sexp)
8985 (thing-at-point-bounds-of-list-at-point, forward-whitespace)
8986 (forward-symbol, forward-same-syntax, word-at-point)
8987 (sentence-at-point): Doc fix (Bug#1144).
8988
56ec5115
LMI
89892011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
8990
f3f8e37f
LMI
8991 * info.el (Info-mode-map): Remove S-TAB binding, since [backtab]
8992 should cover it (bug#1281).
8993
0757af94 8994 * cus-edit.el (custom-show): Mark as obsolete.
af0905c8 8995
e9fce1ac 8996 * net/network-stream.el (network-stream-open-starttls): If GnuTLS
12b9eb35
LMI
8997 negotiation fails, then possibly try again with a non-encrypted
8998 connection (bug#9017).
8999
56ec5115
LMI
9000 * mail/smtpmail.el (smtpmail-stream-type): Note that `plain' can
9001 be used.
9002
c2f9aec8
RS
90032011-07-07 Richard Stallman <rms@gnu.org>
9004
9005 * mail/rmail.el (rmail-next-error-move): Use `compilation-message'
9006 property, and handle its changed format.
9007 Look for the correct line number.
9008 Use file's line contents (but not past first =) to find
9009 correct line in message.
9010
ef7b981d 90112011-07-07 Kenichi Handa <handa@m17n.org>
c805dec0
KH
9012
9013 * international/characters.el (build-unicode-category-table):
9014 Delete it.
0757af94 9015 (unicode-category-table): Set it by unicode-property-table-internal.
c805dec0 9016
0757af94 9017 * international/mule-cmds.el (char-code-property-alist): Move to
c805dec0
KH
9018 to src/chartab.c.
9019 (get-char-code-property): Call unicode-property-table-internal to
9020 load a file. Call get-unicode-property-internal where necessary.
9021 (put-char-code-property): Call unicode-property-table-internal to
9022 load a file. Call put-unicode-property-internal where necessary.
9023 put-unicode-property-internal where necessary.
0757af94
SM
9024 (char-code-property-description):
9025 Call unicode-property-table-internal to load a file.
c805dec0
KH
9026
9027 * international/charprop.el:
9028 * international/uni-bidi.el:
9029 * international/uni-category.el:
9030 * international/uni-combining.el:
9031 * international/uni-comment.el:
9032 * international/uni-decimal.el:
9033 * international/uni-decomposition.el:
9034 * international/uni-digit.el:
9035 * international/uni-lowercase.el:
9036 * international/uni-mirrored.el:
9037 * international/uni-name.el:
9038 * international/uni-numeric.el:
9039 * international/uni-old-name.el:
9040 * international/uni-titlecase.el:
9041 * international/uni-uppercase.el: Regenerate.
9042
9043 * loadup.el: Load international/charprop.el before
9044 international/characters.
9045
e14b388a
CY
90462011-07-07 Chong Yidong <cyd@stupidchicken.com>
9047
9048 * window.el (next-buffer, previous-buffer): Signal an error if
9049 called from a minibuffer window.
9050
9051 * bindings.el: Revert 2011-07-04 change.
9052
354cf0ba
RS
90532011-07-06 Richard Stallman <rms@gnu.org>
9054
9055 * mail/rmailmm.el (rmail-mime-process): Use markers for buf positions.
9056 (rmail-mime-insert-bulk, rmail-mime-insert-text):
9057 Treat markers like ints.
9058 (rmail-mime-entity): Doc fix.
9059
a48868a7
LMI
90602011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
9061
4906cd3d
LMI
9062 * mail/smtpmail.el (smtpmail-default-smtp-server): Made into a
9063 defcustom again for backwards compatibility.
9064
e0457abe
LMI
9065 * simple.el (shell-command-on-region): Fill.
9066
d67f7e1f
LMI
9067 * dired-aux.el (dired-kill-line): Add a doc string.
9068
fe204702
LMI
9069 * dabbrev.el (dabbrev-abbrev-char-regexp): Note that nil defaults
9070 to "\\sw\\|\\s_" (bug#358).
9071
a48868a7
LMI
9072 * dired.el (dired-mode): Clarify "unmark or unflag" (bug#8770).
9073 (dired-unmark-backward): Ditto.
9074 (dired-flag-backup-files): Ditto.
9075
9076 * dired-x.el (dired-mark-sexp): Ditto.
9077
aa8a705c
RS
90782011-07-06 Richard Stallman <rms@gnu.org>
9079
9080 * mail/rmailmm.el: Give entity a new slot, TRUNCATED.
9081 (rmail-mime-entity): New arg TRUNCATED.
9082 (rmail-mime-entity-truncated, rmail-mime-entity-set-truncated):
9083 New functions.
9084 (rmail-mime-save): Warn if entity is truncated.
9085 (rmail-mime-toggle-hidden): Likewise, for showing.
9086 (rmail-mime-process-multipart): Record when an entity is truncated.
9087
a9a936b9
RS
9088 * mail/rmailmm.el (rmail-search-mime-message): Don't get confused
9089 if ENTITY is a string.
9090
1f2b92cb
LMI
90912011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
9092
f4f73198 9093 * emacs-lisp/lisp-mode.el (eval-defun-1): Update the documentation
0757af94
SM
9094 of faces when `M-C-x'-ing their definitions (bug#8378).
9095 Also clean up the code slightly.
f4f73198 9096
12b16734 9097 * progmodes/grep.el (rgrep): Don't bind `process-connection-type',
da6062e6 9098 because that makes the colors go away.
12b16734 9099
f0691d22
LMI
9100 * mail/sendmail.el (send-mail-function): Change the default to
9101 `sendmail-query-once'.
9e87df06 9102 (sendmail-query-once): Add an autoload cookie.
f0691d22 9103
1f2b92cb
LMI
9104 * net/network-stream.el (network-stream-open-starttls): Try using
9105 a plain connection even if the server offered STARTTLS, and we
9106 kinda wanted to use it, if Emacs doesn't have any STARTTLS
9107 capability. This should make smtpmail.el work in slightly more
9108 configurations.
9109
1cdd2a1b
MA
91102011-07-06 Michael Albinus <michael.albinus@gmx.de>
9111
9112 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
9113 New defun.
9114 * net/tramp-cmds.el (tramp-append-tramp-buffers): Use it.
9115
fbcc67e2
MM
91162011-07-06 Michael R. Mauger <mmaug@yahoo.com>
9117
9118 * progmodes/sql.el: Version 3.0
0757af94 9119 (sql-product-alist): Add product :completion-object,
fbcc67e2 9120 :completion-column, and :statement attributes.
0757af94 9121 (sql-mode-menu, sql-interactive-mode-map): Fix List entries.
fbcc67e2 9122 (sql-mode-syntax-table): Mark all punctuation.
0757af94 9123 (sql-font-lock-keywords-builder): Temporarily remove fallback on
fbcc67e2
MM
9124 ansi keywords.
9125 (sql-regexp-abbrev, sql-regexp-abbrev-list): New functions.
0757af94 9126 (sql-mode-oracle-font-lock-keywords): Improve.
fbcc67e2
MM
9127 (sql-oracle-show-reserved-words): New function for development.
9128 (sql-product-font-lock): Simplify for source code buffers.
9129 (sql-product-syntax-table, sql-product-font-lock-syntax-alist):
9130 New functions.
9131 (sql-highlight-product): Set product specific syntax table.
0757af94
SM
9132 (sql-mode-map): Add statement movement functions.
9133 (sql-ansi-statement-starters, sql-oracle-statement-starters):
9134 New variable.
fbcc67e2
MM
9135 (sql-statement-regexp, sql-beginning-of-statement)
9136 (sql-end-of-statement, sql-signum): New functions.
0757af94 9137 (sql-buffer-live-p, sql=find-sqli-buffer): Add CONNECTION parameter.
fbcc67e2
MM
9138 (sql-show-sqli-buffer): Bug fix.
9139 (sql-interactive-mode): Store connection data as buffer local.
0757af94 9140 (sql-connect): Add NEW-NAME parameter. Redesign interaction
fbcc67e2
MM
9141 with sql-interactive-mode.
9142 (sql-save-connection): Save buffer local settings.
0757af94 9143 (sql-connection-menu-filter): Change menu entry name.
fbcc67e2
MM
9144 (sql-product-interactive): Bug fix.
9145 (sql-preoutput-hold): New variable.
9146 (sql-interactive-remove-continuation-prompt): Bug fixes.
9147 (sql-debug-redirect): New variable.
9148 (sql-str-literal): New function.
9149 (sql-redirect, sql-redirect-one, sql-redirect-value, sql-execute):
0757af94 9150 Redesign.
fbcc67e2
MM
9151 (sql-oracle-save-settings, sql-oracle-restore-settings)
9152 (sql-oracle-list-all, sql-oracle-list-table): New functions.
9153 (sql-completion-object, sql-completion-column)
9154 (sql-completion-sqlbuf): New variables.
9155 (sql-build-completions-1, sql-build-completions)
9156 (sql-try-completion): New functions.
9157 (sql-read-table-name): Use them.
9158 (sql-contains-names): New buffer local variable.
9159 (sql-list-all, sql-list-table): Use it.
9160 (sql-oracle-completion-types): New variable.
9161 (sql-oracle-completion-object, sql-sqlite-completion-object)
9162 (sql-postgres-completion-object): New functions.
9163
d4eaeab1
GM
91642011-07-06 Glenn Morris <rgm@gnu.org>
9165
9166 * window.el (pop-to-buffer): Doc fix.
9167
322b7dab 91682011-07-06 Markus Heiser <markus.heiser@darmarit.de> (tiny change)
a1d3a912
CY
9169
9170 * progmodes/gud.el (gud-pdb-marker-regexp): Accept \r char (Bug#5653).
9171
322b7dab 91722011-07-06 Chong Yidong <cyd@stupidchicken.com>
0484d600 9173
322b7dab 9174 * window.el (special-display-popup-frame): Doc fix (Bug#8853).
4f8f657f 9175
322b7dab 9176 * info.el (Info-directory-toc-nodes): Minor doc fix (Bug#8833).
8f43cbf3 9177
605dd5bf
CY
91782011-07-05 Chong Yidong <cyd@stupidchicken.com>
9179
9180 * button.el (button): Inherit from link face. Suggested by Dan
9181 Nicolaescu.
9182
7dbfa719
SM
91832011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
9184
3db614b0
SM
9185 * progmodes/gdb-mi.el: Fit in 80 columns.
9186 (gdb-setup-windows, gdb-restore-windows): Avoid other-window and
9187 switch-to-buffer.
9188
7dbfa719
SM
9189 * progmodes/which-func.el (which-func-ff-hook): Don't output a message
9190 if imenu is simply not configured (bug#8941).
9191
919d884a
KM
91922011-07-05 Ken Manheimer <ken.manheimer@gmail.com>
9193
9194 * allout.el (allout-post-undo-hook): New allout outline-change
9195 event hook to signal undo activity.
9196 (allout-post-command-business): Run allout-post-undo-hook if an
9197 undo just occurred.
7dbfa719
SM
9198 (allout-after-copy-or-kill-hook, allout-mode): Minor docstring changes.
9199 * allout-widgets.el (allout-widgets-after-undo-function):
9200 Ensure the integrity of the current item's decoration after it has been
919d884a
KM
9201 in the vicinity of an undo.
9202 (allout-widgets-mode): Include allout-widgets-after-undo-function
9203 on the new allout-post-undo-hook.
9204
450a0f09
SM
92052011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
9206
9207 * emacs-lisp/lisp-mode.el (lisp-interaction-mode-abbrev-table):
9208 Let define-derived-mode define it.
9209 * emacs-lisp/derived.el (define-derived-mode): Try to avoid creating
9210 cycles of abbrev-table inheritance (bug#8998).
9211
2de69e00
RW
92122011-07-05 Roland Winkler <winkler@gnu.org>
9213
9214 * textmodes/bibtex.el: Add support for biblatex.
9215 (bibtex-BibTeX-entry-alist, bibtex-biblatex-entry-alist)
9216 (bibtex-BibTeX-field-alist, bibtex-biblatex-field-alist)
9217 (bibtex-dialect-list, bibtex-dialect, bibtex-no-opt-remove-re)
9218 (bibtex-entry-alist, bibtex-field-alist): New variables.
9219 (bibtex-entry-field-alist): Obsolete alias for
9220 bibtex-BibTeX-entry-alist.
9221 (bibtex-entry-alist, bibtex-field-alist): New widgets.
9222 (bibtex-set-dialect): New command.
9223 (bibtex-entry-type, bibtex-entry-head)
450a0f09
SM
9224 (bibtex-entry-maybe-empty-head, bibtex-any-valid-entry-type):
9225 Bind via bibtex-set-dialect.
2de69e00
RW
9226 (bibtex-Article, bibtex-Book, bibtex-Booklet, bibtex-InBook)
9227 (bibtex-InCollection, bibtex-InProceedings, bibtex-Manual)
9228 (bibtex-MastersThesis, bibtex-Misc, bibtex-PhdThesis)
9229 (bibtex-Proceedings, bibtex-TechReport, bibtex-Unpublished):
9230 Define via bibtex-set-dialect.
450a0f09
SM
9231 (bibtex-name-in-field, bibtex-remove-OPT-or-ALT):
9232 Obey bibtex-no-opt-remove-re.
2de69e00
RW
9233 (bibtex-vec-push, bibtex-vec-incr): New functions.
9234 (bibtex-format-entry, bibtex-field-list)
9235 (bibtex-print-help-message, bibtex-validate)
9236 (bibtex-search-entries): Use new format of bibtex-entry-alist.
9237
2dcdbdd9
SM
92382011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
9239
9240 * progmodes/compile.el (compilation-goto-locus):
9241 * net/tramp-cmds.el (tramp-append-tramp-buffers):
9242 * bs.el (bs-cycle-next, bs-cycle-previous):
9243 * bookmark.el (bookmark-bmenu-list, bookmark-bmenu-2-window):
9244 * bindings.el (mode-line-other-buffer):
9245 * autoinsert.el (auto-insert):
9246 * arc-mode.el (archive-extract):
9247 * abbrev.el (edit-abbrevs): Fix some uses of switch-to-buffer.
9248
b27640fe
JB
92492011-07-05 Juanma Barranquero <lekktu@gmail.com>
9250
9251 * emacs-lock.el (emacs-lock-mode): Fix typo in variable name.
9252 Fix check of `emacs-lock-unlockable-modes'.
9253 Coerce true values of `emacs-lock--try-unlocking' to t.
9254
53bbe3ad
JB
92552011-07-05 Juanma Barranquero <lekktu@gmail.com>
9256
9257 * obsolete/old-emacs-lock.el: Rename from emacs-lock.el.
9258 * emacs-lock.el: New file.
9259
1d3cdbc7
JD
92602011-07-05 Julien Danjou <julien@danjou.info>
9261
9262 * textmodes/rst.el (rst-define-level-faces): Use `facep' rather
9263 than `boundp' to check if face is set.
9264
9173deec
JB
92652011-07-05 Juanma Barranquero <lekktu@gmail.com>
9266
9267 * register.el (registerv-make):
9268 * window.el (window-min-height): Fix typos in docstrings.
9269
869795d6
JD
92702011-07-05 Jan Djärv <jan.h.d@swipnet.se>
9271
9173deec 9272 * dynamic-setting.el (dynamic-setting-handle-config-changed-event):
869795d6
JD
9273 Update doc string.
9274
b768cdcd
JB
92752011-07-04 Juanma Barranquero <lekktu@gmail.com>
9276
9277 * server.el (server-execute): Catch quit and call
9278 `server-return-error' to pass the error back to emacsclient and
9279 close the connection (bug#8942).
9280
13aa217b
KM
92812011-07-04 Ken Manheimer <ken.manheimer@gmail.com>
9282
9283 * allout.el (allout-encrypt-unencrypted-on-saves): Do not provide
9284 insecure exception for current topic. Also note that auto-saves
9285 are handled differently.
9286
5d3385a0 9287 (allout-auto-save-temporarily-disabled, allout-just-did-undo):
13aa217b
KM
9288 State variables for tracking auto-save inhibition situation.
9289
9290 (allout-write-contents-hook-handler): Rename from
9291 'allout-write-file-hook-handler', and describe how it depends on
9292 write-contents-functions sensitivity to non-nil value to prevent
9293 file write.
9294
9295 (allout-auto-save-hook-handler): Remove. auto-save does not check
9296 this in individual buffers, only in the starting buffer, so this
9297 is not the right way for us to inhibit auto-save in a buffer
9298 according to its condition.
9299
9300 (allout-mode): Use new allout-write-contents-hook-handler, and
9301 only with write-contents-functions. Remove auto-save provisions -
9302 they're implemented elsewhere.
9303
9304 (allout-before-change-handler): If undo is in progress, note that
9305 for attention of allout-post-command-business.
9306
9307 (allout-post-command-business): If the command we're following was
9308 an undo, check for change in the status of encrypted items and
9309 adjust auto-save inhibitions accordingly.
9310
9311 (allout-toggle-subtree-encryption): Adjust auto-save inhibition
9312 according to whether there are or aren't any plain-text topics
9313 pending encryption.
9314
2dcdbdd9 9315 (allout-inhibit-auto-save-info-for-decryption):
1154d12e
JB
9316 Adjust buffer-saved-size and some allout state to inhibit auto-saves
9317 if there are plain-text topics pending encryption.
13aa217b
KM
9318
9319 (allout-maybe-resume-auto-save-info-after-encryption): Adjust
9320 buffer-saved-size and some allout state to not inhibit auto-saves
9321 if there are no longer any plain-text topics pending encryption.
9322
0757af94
SM
9323 (allout-next-topic-pending-encryption, allout-encrypt-decrypted):
9324 No longer provide for exemption of the current topic.
13aa217b 9325
ac89b32c
JL
93262011-07-04 Juri Linkov <juri@jurta.org>
9327
9328 Add 7z operations to delete and save changed members (bug#8968).
9329 * arc-mode.el (archive-7z-expunge, archive-7z-update):
9330 New defcustoms.
9331 (archive-7z-write-file-member): New function.
9332 (archive-7z-summarize): Fix the number of dashes in the
9333 listing output.
9334
8fa39615
SM
93352011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
9336
9337 * pcmpl-linux.el (pcomplete-pare-list): Re-add, from pcomplete.el
9338 (bug#8958).
9339
2f11b3f1
CY
93402011-07-04 Chong Yidong <cyd@stupidchicken.com>
9341
d66fef2b
CY
9342 * bindings.el: Ignore next-buffer and previous-buffer in
9343 minibuffer-local-map.
9344
2f11b3f1
CY
9345 * font-lock.el (font-lock-builtin-face): Change light background
9346 color to dark slate blue (Bug#6693).
9347
f932a347
WD
93482011-07-04 Wang Diancheng <dcwang@kingbase.com.cn> (tiny change)
9349
9350 * progmodes/gdb-mi.el (gdb): Use completion-at-point.
9351
c8af70e1
SM
93522011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
9353
9354 * files.el (find-file): Use pop-to-buffer-same-window (bug#8911).
9355 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
9356 Add switch-to-buffer.
9357
f158badc
LMI
93582011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
9359
9360 * isearch.el (isearch-search-fun-function): Clarify further the
9361 meaning of the function returned.
9362
6d95bd46
MA
93632011-07-04 Michael Albinus <michael.albinus@gmx.de>
9364
9365 * net/tramp-cmds.el (tramp-cleanup-this-connection): New command.
9366
9367 * net/tramp-sh.el (tramp-color-escape-sequence-regexp): New defconst.
9368 (tramp-sh-handle-insert-directory, tramp-convert-file-attributes):
9369 Use it.
9370 (tramp-remote-path): Add "/bin" and "/usr/bin". On busyboxes,
9371 `tramp-default-remote-path' does not exist.
9372 (tramp-send-command-and-read): New optional argument NOERROR.
9373 (tramp-open-connection-setup-interactive-shell)
9374 (tramp-get-remote-path, tramp-get-remote-stat): Use it.
9375 (tramp-get-remote-readlink): Do not mask with `ignore-errors'.
9376 (tramp-process-sentinel): Flush also process' connection property.
9377 (tramp-sh-handle-start-file-process): Do not set process
9378 sentinel. It is done now ...
9379 (tramp-maybe-open-connection): ... here. (Bug#8929)
9380
909e6b67
MK
93812011-07-04 MON KEY <monkey@sandpframing.com>
9382
9383 * play/animate.el (animate-string): Doc fixes and allow changing
9384 the buffer name (bug#5417).
9385
93862011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
9387
c8af70e1 9388 * play/animate.el (animation-buffer-name): Rename from *animate*.
909e6b67 9389
f34755dc
PE
93902011-07-04 Paul Eggert <eggert@cs.ucla.edu>
9391
396cec72
PE
9392 * emacs-lisp/timer.el: Use time-date fns rather than rolling our own.
9393 This is simpler and helps future-proof the code.
9394 (timer-until): Use time-subtract and float-time.
08235028 9395 (timer--time-less-p): Use time-less-p.
f34755dc 9396
56e6cc31
JB
93972011-07-04 Juanma Barranquero <lekktu@gmail.com>
9398
3abb79e5
JB
9399 * type-break.el (timep): Use the value of `float-time' to avoid a
9400 byte-compiler warning.
9401
56e6cc31
JB
9402 * server.el (server-eval-and-print): Return any result, even nil.
9403
7b9430b4
PE
94042011-07-03 Paul Eggert <eggert@cs.ucla.edu>
9405
9406 * type-break.el: Accept time formats that the builtins accept.
9407 (timep, type-break-time-difference): Accept any format that
9408 float-time accepts, rather than insisting on (HIGH LOW USECS) format.
9409 This is simpler and helps future-proof the code.
9410 (type-break-time-difference): Round rather than ignoring
9411 subseconds components.
9412
3034e9e7
LMI
94132011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
9414
9415 * info.el (Info-apropos-matches): Make non-interactive, since it
9416 doesn't seem to do anything useful as a command (bug#8829).
9417
1485f4c0
CY
94182011-07-03 Chong Yidong <cyd@stupidchicken.com>
9419
9420 * frame.el (frame-background-mode, frame-set-background-mode):
c8af70e1 9421 Move from faces.el.
1485f4c0
CY
9422 (frame-default-terminal-background): New function.
9423
9424 * custom.el (custom-push-theme): Don't record faces in `changed'
9425 theme; this doesn't work correctly for per-frame face settings.
9426 (disable-theme): Use face-set-after-frame-default to reset faces.
9427 (custom--frame-color-default): New function.
9428
9fa3dd45
LMI
94292011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
9430
c8af70e1 9431 * dired.el (dired-flagging-regexp): Remove unused variable
9fa3dd45
LMI
9432 (bug#8769).
9433
6cbbc20c
KR
94342011-03-29 Kevin Ryde <user42@zip.com.au>
9435
9436 * progmodes/compile.el (compilation-error-regexp-alist-alist):
9437 `perl-Test2' extend to match possible "fail #N" rep count
9438 (bug#8377).
9439
c7f98048
LMI
94402011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
9441
65676592
LMI
9442 * mail/feedmail.el (feedmail-buffer-to-smtpmail):
9443 `smtpmail-via-smtp' now returns the error instead of nil.
9444
c7f98048
LMI
9445 * isearch.el (isearch-search-fun-function): Clarify the doc string
9446 (bug#8101).
9447
56e6cc31 94482011-07-03 Richard Kim <emacs18@gmail.com> (tiny change)
9a51c6c7
RK
9449
9450 * textmodes/texnfo-upd.el (texinfo-insert-menu): Don't insert
9451 unnecessary spaces (bug#8987).
9452
2b216704
LMI
94532011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
9454
9455 * net/network-stream.el (open-network-stream): Use the
9456 :end-of-capability command thoughout.
9457
94582011-07-03 Wolfgang Jenkner <wjenkner@inode.at> (tiny change)
9459
9460 * net/network-stream.el (open-network-stream): Add the
9461 :end-of-capability command parameter, used by pop3.el.
9462
36adf6ce
LMI
94632011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
9464
1ca0da0e
LMI
9465 * dired.el (dired-map-over-marks): Refill the doc string (bug#6814).
9466
fc00f69c
LMI
9467 * fringe.el (fringe-query-style): Remove redundant text " (type ?
9468 for list)" (bug#6475).
9469
28fd8759 9470 * files.el (file-expand-wildcards): Ignore non-readable
8350f087 9471 sub-directories while trying to find matches instead of signaling
28fd8759
LMI
9472 an error (bug#6297).
9473
0dd8b6da
LMI
9474 * man.el (Man-reference-regexp): Allow matching possible
9475 word-wrapped references (bug#6289).
9476
ce1438d6
LMI
9477 * vc/vc.el (vc-modify-change-comment): Change *VC-log* to *vc-log*
9478 for consistency with the other vc buffers (bug#6197).
9479 (vc-checkin): Ditto.
9480
9481 * vc/vc-arch.el: Fix comments to match the *VC-log* name change.
9482
36adf6ce
LMI
9483 * longlines.el (longlines-mode): Document what ARG does (bug#6150).
9484
e83cc1f7
LMI
94852011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
9486
8a20ca4c
LMI
9487 * custom.el (defcustom): Clarify that :set is only used in the
9488 Customize user interface (bug#6089).
9489
83319045
LMI
9490 * progmodes/flymake.el (flymake-mode): If the buffer isn't
9491 associated with a file, refuse to run instead of erroring out
9492 (bug#6084).
9493
a8392169
LMI
9494 * textmodes/fill.el (fill-region): Remove the "Ordinarily" from
9495 the doc string, since it appears that using `fill-column' always
9496 controls the width (bug#7845).
9497
e83cc1f7
LMI
9498 * simple.el (shell-command-on-region): Say where the error output
9499 went if `shell-command-default-error-buffer' is set (bug#6857).
9500
e47ca23b
KM
95012011-07-02 Ken Manheimer <ken.manheimer@gmail.com>
9502
9503 * allout.el (allout-yank-processing): Adjust cursor position for
9504 backwards-deleted space.
9505
9506 (allout-rebullet-heading): Register changes with
9507 allout-exposure-changed-hook, so the modified topic is properly
9508 decorated.
9509
5cf56143
LMI
95102011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
9511
08549772
LMI
9512 * minibuffer.el (completion-in-region): Document PREDICATE
9513 (bug#7136).
9514
48e96771
LMI
9515 * info-look.el (info-lookup-add-help): Clarify that ARGS is a list
9516 of keyword/argument pairs (bug#6904).
9517
c8af70e1
SM
9518 * replace.el (multi-occur):
9519 Mention `multi-occur-in-matching-buffers' in the doc string (bug#7566).
5cf56143 9520
e17d05e2
LMI
95212011-07-02 Drew Adams <drew.adams@oracle.com>
9522
9523 * dired.el (dired-mark-if): Make the message about whether it's
9524 marking or unmarking clearer (bug#8523).
9525
063b0e45
LMI
95262011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
9527
9528 * disp-table.el (display-table-print-array): New function.
9529 (describe-display-table): Use it to print the vectors more pretty
9530 (Bug#8859).
9531
28545e04
MR
95322011-07-02 Martin Rudalics <rudalics@gmx.at>
9533
9534 * window.el (window-state-get-1): Don't assign clone numbers.
9535 Add clone-of item to list of window parameters.
9536 (window-state-put-2): Don't process clone numbers.
9537 (display-buffer-alist): Fix doc-string.
9538
3349e122
SM
95392011-07-02 Stefan Monnier <monnier@iro.umontreal.ca>
9540
9541 * subr.el (remq): Don't allocate if it's not needed.
9542 (keymap--menu-item-binding, keymap--menu-item-with-binding)
9543 (keymap--merge-bindings): New functions.
9544 (keymap-canonicalize): Use them to refine the canonicalization.
9545 * minibuffer.el (minibuffer-local-completion-map)
9546 (minibuffer-local-must-match-map): Move initialization from C.
9547 (minibuffer-local-filename-completion-map): Move initialization from C;
9548 don't inherit from anything here.
9549 (minibuffer-local-filename-must-match-map): Make obsolete.
9550 (completing-read-default): Use make-composed-keymap to combine
9551 minibuffer-local-filename-completion-map with either
9552 minibuffer-local-must-match-map or
9553 minibuffer-local-filename-completion-map.
9554
d224ac83
GM
95552011-07-01 Glenn Morris <rgm@gnu.org>
9556
3de63bf8
GM
9557 * type-break.el (type-break-time-sum): Use dolist.
9558
d224ac83
GM
9559 * textmodes/flyspell.el (flyspell-word-search-backward):
9560 Replace CL function.
9561
1a1e3f32
SM
95622011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
9563
fe3f64d5
SM
9564 * mouse.el (mouse--strip-first-event): New function.
9565 (function-key-map): Use it to map fringe clicks to normal clicks
9566 by default.
9567
eb604e34
SM
9568 * vc/vc-bzr.el (vc-bzr-revision-keywords): Update.
9569 (vc-bzr-revision-completion-table): Add support for annotate and date.
9570
1a1e3f32
SM
9571 * emacs-lisp/derived.el (define-derived-mode): Make abbrev-table
9572 inherit from parent.
9573
5bd35902
LMI
95742011-07-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
9575
ace6c69c 9576 * dired-aux.el (dired-diff): Doc fixup (bug#8816).
26bde865 9577 (dired-show-file-type): Doc fixup (bug#8818).
ace6c69c 9578
191e2bed
LMI
9579 * dired.el (dired-mode): Fix up the doc string as suggested by
9580 Drew Adams (bug#8817).
9581
5bd35902
LMI
9582 * progmodes/flymake.el (flymake-find-file-hook): Add an `autoload'
9583 cookie, since the manual says that it should be possible to add
9584 this function to `find-file-hook' (bug#8709).
9585
eee8207a
TZ
95862011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
9587
9588 * progmodes/cfengine.el: Moved all cfengine3.el functionality
9589 here. Noted Ted Zlatanov as the maintainer.
9590 (cfengine-common-settings, cfengine-common-syntax): New functions
9591 to set up common things between `cfengine-mode' and
9592 `cfengine3-mode'.
9593 (cfengine3-mode): New mode.
9594 (cfengine3-defuns cfengine3-defuns-regex
9595 (cfengine3-class-selector-regex cfengine3-category-regex)
9596 (cfengine3-vartypes cfengine3-font-lock-keywords)
9597 (cfengine3-beginning-of-defun, cfengine3-end-of-defun)
eb604e34 9598 (cfengine3-indent-line): Add from cfengine3.el.
eee8207a 9599
36b148cf
MA
96002011-07-01 Michael Albinus <michael.albinus@gmx.de>
9601
9602 * net/tramp.el (tramp-encoding-command-interactive): New defcustom.
9603
9604 * net/tramp-sh.el (tramp-maybe-open-connection): Use it.
9605
0bf4ba9a
MR
96062011-07-01 Martin Rudalics <rudalics@gmx.at>
9607
9608 * window.el (same-window-buffer-names, same-window-regexps)
9609 (same-window-p, special-display-frame-alist)
9610 (special-display-popup-frame, special-display-function)
9611 (special-display-buffer-names, special-display-regexps)
9612 (special-display-p, pop-up-frame-alist, pop-up-frame-function)
9613 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
9614 (split-window-preferred-function, split-height-threshold)
9615 (split-width-threshold, even-window-heights)
9616 (display-buffer-mark-dedicated, window-splittable-p)
9617 (split-window-sensibly, window-safely-shrinkable-p):
9618 Un-obsolete.
9619 (display-buffer): Don't spread args with function specifier
9620 because special-display-popup-frame won't like it.
9621
35837f51
PE
96222011-07-01 Paul Eggert <eggert@cs.ucla.edu>
9623
d0672f86
PE
9624 Time-stamp simplifications and fixes.
9625 These improve accuracy slightly, and future-proof the code
9626 against some potential changes to current-time format.
9627
b9444d97
PE
9628 * woman.el (woman-decode-buffer, WoMan-log-end): Log fractional secs
9629 by using time-since and float-time.
9630
0ef923dc
PE
9631 * vc/ediff-util.el (ediff-calc-command-time): Use time-since
9632 and float-time. Say "NNN.NNN seconds" rather than "NNN seconds
9633 + NNN microseconds".
9634
2f81380d
PE
9635 * type-break.el (type-break-time-sum): Rewrite using time-add.
9636
845b5c3e
PE
9637 * play/hanoi.el (hanoi-current-time-float): Remove.
9638 All uses replaced by float-time.
9639
ee6f1be0
PE
9640 * nxml/rng-maint.el (rng-time-function): Rewrite using time-subtract.
9641 This yields a more-accurate answer.
9642 (rng-time-to-float): Remove; no longer needed.
9643
fe955043
PE
9644 * emacs-lisp/timer.el (timer-relative-time): Use time-add.
9645
5777162a
PE
9646 * calendar/timeclock.el (timeclock-seconds-to-time):
9647 Defalias to seconds-to-time, since they're the same thing.
9648
3103f8b6 9649 * emacs-lisp/elp.el (elp-elapsed-time):
e2bac5f6 9650 * emacs-lisp/benchmark.el (benchmark-elapse):
35837f51
PE
9651 * allout-widgets.el (allout-elapsed-time-seconds): Use float-time.
9652
0e61a35f
SM
96532011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
9654
9655 * window.el (bury-buffer): Don't iconify the only frame.
9656 (switch-to-buffer): Revert to Emacs<23 behavior, i.e. do not fallback
9657 to pop-to-buffer. Use pop-to-buffer-same-frame if you don't like that.
9658
ddd63a1e
CY
96592011-07-01 Chong Yidong <cyd@stupidchicken.com>
9660
0e61a35f
SM
9661 * eshell/em-smart.el (eshell-smart-display-navigate-list):
9662 Add mouse-yank-primary.
ddd63a1e 9663
055f4923
TZ
96642011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
9665
9666 * progmodes/cfengine3.el: New file to support CFEngine 3.x.
9667
6a2fb145
SM
96682011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
9669
9670 * emacs-lisp/find-func.el (find-library--load-name): New fun.
9671 (find-library-name): Use it to find relative load names when provided
9672 absolute file name (bug#8803).
9673
fd4983f2
LMI
96742011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
9675
887d14ad
LMI
9676 * textmodes/flyspell.el (flyspell-word): Consider words that
9677 differ only in case as potential doublons (bug#5687).
9678
c53dc7fc
LMI
9679 * net/soap-client.el (soap-invoke, soap-wsdl-resolve-references):
9680 Remove two rather uninteresting debugging-like messages to make
9681 debbugs.el more silent.
9682
fd4983f2
LMI
9683 * comint.el (comint-password-prompt-regexp): Accept "Response" as
9684 a password-like phrase.
9685
7a71b18d 96862011-06-30 Masatake YAMATO <yamato@redhat.com>
b14c0c55
AM
9687
9688 * progmodes/cc-guess.el: New file.
9689
6a2fb145 9690 * progmodes/cc-langs.el (c-mode-menu): Add "Style..." submenu.
b14c0c55
AM
9691
9692 * progmodes/cc-styles.el (cc-choose-style-for-mode): New function
9693 derived from `c-basic-common-init'.
9694
9695 * progmodes/cc-mode.el (top-level): Require cc-guess.
9696 (c-basic-common-init): Use `cc-choose-style-for-mode'.
9697
1fa280a3
LM
96982011-06-30 Lawrence Mitchell <wence@gmx.li>
9699
9700 * progmodes/js.el (js-mode): Don't stomp on global settings (bug#8933).
9701
e6597158
AM
97022011-06-30 Alan Mackenzie <acm@muc.de>
9703
1fa280a3
LM
9704 * progmodes/cc-engine.el (c-guess-continued-construct):
9705 Correct the handling of template-args-cont, particularly for when font
e6597158
AM
9706 lock is disabled. Name this case as "CASE G".
9707
68ba37fb
KM
97082011-06-30 Ken Manheimer <ken.manheimer@gmail.com>
9709
9710 * allout.el (allout-yank-processing): Fix injection of extra space
9711 between bullet and non-whitespace character in first topic when
9712 pasting, ensuring that the actual spacing in the pasted topic
9713 following the bullet char is preserved. This extra space was
9714 causing pasted encrypted topics to get a decrypted status even
9715 when the content was actually still encrypted. Now the decryption
9716 status from before the paste is preserved.
9717
9718 (allout-flag-region): Set all allout overlays so they evaporate
9719 when reduced to zero length (evanescent), to prevent overlay
9720 leakage.
9721
887a0b34
GM
97222011-06-30 Glenn Morris <rgm@gnu.org>
9723
94b9acce
GM
9724 * w32-fns.el (w32-charset-info-alist): Declare.
9725
1d9b46d4
GM
9726 * find-dired.el (find-grep-options): Simplify.
9727
cc232200
GM
9728 * term/ns-win.el (ns-set-resource): Declare.
9729
28e77c46
GM
9730 * ses.el (row, col): Declare dynamic variables honestly.
9731
887a0b34
GM
9732 * textmodes/reftex-parse.el (index-tags): Declare.
9733
658d8eb8
CY
97342011-06-30 Chong Yidong <cyd@stupidchicken.com>
9735
9736 * cus-edit.el (customize-push-and-save): New function.
9737
9738 * files.el (hack-local-variables-confirm): Use it.
9739
1fa280a3
LM
9740 * custom.el (load-theme): New arg NO-CONFIRM.
9741 Use customize-push-and-save (Bug#8720).
658d8eb8
CY
9742 (custom-enabled-themes): Doc fix.
9743
9744 * cus-theme.el (customize-create-theme)
9745 (custom-theme-merge-theme): Callers to load-theme changed.
9746
bb617717
LMI
97472011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
9748
d61bdd5d
LMI
9749 * thingatpt.el (thing-at-point-short-url-regexp): Require that
9750 short URLs have at least one dot in them (bug #7614).
9751
bb617717
LMI
9752 * progmodes/grep.el (rgrep): Bind `process-connection-type' to
9753 nil, because using a pty is apparently too slow (bug #895).
9754
2f31f37a
LMI
97552011-06-29 Lars Magne Ingebrigtsen <larsi@gnus.org>
9756
9757 * mail/sendmail.el (sendmail-query-once): New function.
9758 (sendmail-query-once-function): New variable.
9759
3076b24e
GM
97602011-06-29 Glenn Morris <rgm@gnu.org>
9761
faf2a174
GM
9762 * files.el (auto-mode-alist): Add .f03, .f08 for f90-mode.
9763
3076b24e
GM
9764 * ses.el (top-level): Require cl when compiling.
9765 (ses-set-localvars): Fix error statement.
9766 Call it at compile time to silence a storm of warnings.
9767
5386012d
MR
97682011-06-29 Martin Rudalics <rudalics@gmx.at>
9769
9770 * window.el (normalize-live-buffer): Rename to
9771 window-normalize-buffer.
9772 (normalize-live-frame): Rename to window-normalize-frame.
9773 (normalize-any-window): Rename to window-normalize-any-window.
9774 (normalize-live-window): Rename to window-normalize-live-window.
9775 (make-window-atom): Rename to window-make-atom.
9776 (window-resize-reset): Rename to window--resize-reset.
9777 (window-resize-reset-1): Rename to window--resize-reset-1.
9778 (resize-mini-window): Rename to window--resize-mini-window.
9779 (resize-subwindows-skip-p): Rename to
9780 window--resize-subwindows-skip-p.
9781 (resize-subwindows-normal): Rename to
9782 window--resize-subwindows-normal.
9783 (resize-subwindows): Rename to window--resize-subwindows.
9784 (resize-other-windows): Rename to window--resize-siblings.
9785 (resize-this-window): Rename to window--resize-this-window.
9786 (resize-root-window): Rename to window--resize-root-window.
9787 (resize-root-window-vertically): Rename to
9788 window--resize-root-window-vertically.
9789 (normalize-buffer-to-display): Rename to
9790 window-normalize-buffer-to-display.
9791 (normalize-buffer-to-switch-to): Rename to
9792 window-normalize-buffer-to-switch-to.
9793 Correspondingly update all callers of the functions listed
9794 above.
9795 (display-buffer-alist, display-buffer-normalize-arguments)
9796 (display-buffer-normalize-options, display-buffer)
9797 (display-buffer-alist-set): Use "function" instead of
9798 "fun-with-args".
9799
1176868d
CY
98002011-06-28 Chong Yidong <cyd@stupidchicken.com>
9801
9802 * mail/emacsbug.el (report-emacs-bug): Handle non-gnu bug
9803 addresses more clearly. Add hyperlinks for bug-gnu-emacs and
9804 debbugs.gnu.org. Mention acknowledgment email.
9805
20a7a65f
LMI
98062011-06-28 Lars Magne Ingebrigtsen <larsi@gnus.org>
9807
9808 * mail/smtpmail.el (smtpmail-send-it): Leave off changing the
9809 buffer multibyteness, since it shouldn't matter.
9810
5f45cca5
MR
98112011-06-28 Martin Rudalics <rudalics@gmx.at>
9812
9813 * window.el (display-buffer-in-side-window): Handle dedicated
9814 windows as in display-buffer-reuse-window.
9815 (display-buffer-normalize-alist): Use value of override
9816 specifier.
9817 (display-buffer-normalize-specifiers): Use value of
9818 other-window-means-other-frame specifier.
9819 (display-buffer-alist): Rewrite some texts in widgets.
9820 (display-buffer): Spread arguments when calling function
9821 specified by fun-with-args.
9822
ad85fe1f
DD
98232011-06-28 Deniz Dogan <deniz@dogan.se>
9824
1fa280a3
LM
9825 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-syntax-table):
9826 Unnest `let'.
da68c4c8 9827
ad85fe1f
DD
9828 * textmodes/css-mode.el (css-font-lock-keywords): Fix grouped
9829 selectors (Bug#5732).
ec49bd31 9830 (css-proprietary-nmstart-re): Use `regexp-opt'.
ad85fe1f 9831
a08cc025
JA
98322011-06-27 Jari Aalto <jari.aalto@cante.net>
9833
9834 * eshell/em-ls.el: Display `ls -l' dates in ISO format (Bug#8440).
9835 (eshell-ls-date-format): New defcustom.
9836 (eshell-ls-file): Use it.
9837
e2b551c5
SM
98382011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
9839
9840 * help-fns.el (describe-variable): Fix message for terminal-local vars.
9841
8982b231
KY
98422011-06-27 Katsumi Yamaoka <yamaoka@jpl.org>
9843
9844 * net/ange-ftp.el: Allow loading .gz files (Bug#6923).
9845 (ange-ftp-make-tmp-name): New arg.
9846 (ange-ftp-file-local-copy): Use it.
9847
36c9fa27
J
98482011-06-27 Jambunathan K <kjambunathan@gmail.com>
9849
9850 * tar-mode.el (tar-untar-buffer): Set coding-system-for-write to
9851 no-conversion (Bug#8870).
9852
d68443dc
MR
98532011-06-27 Martin Rudalics <rudalics@gmx.at>
9854
9855 * window.el (window-right, window-left, window-child)
9856 (window-child-count, window-last-child)
9857 (window-iso-combination-p, walk-window-tree-1)
9858 (window-atom-check-1, window-tree-1, delete-window)
9859 (window-state-get-1, display-buffer-even-window-sizes): Adapt to
9860 new naming conventions - window-vchild, window-hchild,
9861 window-next and window-prev are now called window-top-child,
9862 window-left-child, window-next-sibling and window-prev-sibling
9863 respectively.
d615d6d2
MR
9864 (resize-window-reset): Rename to window-resize-reset.
9865 (resize-window-reset-1): Rename to window-resize-reset-1.
9866 (resize-window): Rename to window-resize.
9867 (window-min-height, window-min-width)
9868 (resize-mini-window, resize-this-window, resize-root-window)
9869 (resize-root-window-vertically, adjust-window-trailing-edge)
9870 (enlarge-window, shrink-window, maximize-window)
9871 (minimize-window, delete-window, quit-restore-window)
9872 (split-window, balance-windows, balance-windows-area-adjust)
9873 (balance-windows-area, window-state-put-2)
9874 (display-buffer-even-window-sizes, display-buffer-set-height)
9875 (display-buffer-set-width, set-window-text-height)
9876 (fit-window-to-buffer): Rename all "resize-window" prefixed
9877 calls to use the "window-resize" prefix convention.
9878 (display-buffer-alist): Fix symbol for label specifier.
9879 (display-buffer-reuse-window): Set reuse-dedicated to cdr of
9880 corresponding specifier.
9881 Reported by Juanma Barranquero <lekktu@gmail.com>.
d68443dc 9882
b6458526
VB
98832011-06-27 Vincent Belaïche <vincentb1@users.sourceforge.net>
9884
9885 * ses.el (ses-destroy-cell-variable-range): Fix heading comment
9886 convention.
9887 (ses-call-printer): Does not pass an empty string to formatter when the
9888 cell is empty to keep from barking printer Calc math-format-value.
9889
d31fd9ac
RS
98902011-06-27 Richard Stallman <rms@gnu.org>
9891
43d5bf84
RS
9892 * battery.el (battery-mode-line-limit): New variable.
9893 (battery-update): Handle it.
9894
d31fd9ac
RS
9895 * mail/rmailmm.el (rmail-mime-process-multipart):
9896 Handle truncated messages.
9897
819a6054
GM
98982011-06-27 Glenn Morris <rgm@gnu.org>
9899
9900 * progmodes/flymake.el (flymake-err-line-patterns):
9901 Allow for column numbers in the ant/javac pattern. (Bug#8866)
9902
cedc73f2
VB
99032011-06-27 Vincent Belaïche <vincentb1@users.sourceforge.net>
9904
819a6054 9905 * ses.el (ses-relocate-range): Keep rest of arguments for ses-range.
cedc73f2
VB
9906 (ses--clean-!, ses--clean-_): New functions.
9907 (ses-range): Add configurability of readout order, and conversion
9908 to Calc vector.
9909
5e5d49b6
VB
9910 * ses.el (ses-repair-cell-reference-all): New function.
9911 (ses-cell-symbol): Set macro as safe, so that it can be used in
9912 formulas.
9913
56e6cc31 9914 * ses.el: Update cycle detection algorithm.
90ca8b49 9915 (ses-localvars): Add ses--Dijkstra-attempt-nb and
819a6054 9916 ses--Dijkstra-weight-bound, and initial values thereof when applicable.
90ca8b49
VB
9917 (ses-set-localvars): New function.
9918 (ses-make-cell): Add property-list as a cell element.
9919 (ses-cell-property-get-fun, ses-cell-property-get)
9920 (ses-cell-property-delq-fun, ses-cell-property-set-fun)
819a6054
GM
9921 (ses-cell-property-pop-fun, ses-cell-property-get-handle-fun):
9922 New functions.
90ca8b49
VB
9923 (ses-cell-property-set, ses-cell-property-pop)
9924 (ses-cell-property-get-handle): New macro.
9925 (ses-cell-property-handle-car, ses-cell-property-handle-setcar):
9926 New aliases, used for code readability.
9927 (ses-calculate-cell, ses-update-cells): Use Dijkstra algorithm for
9928 cycle detection.
9929 (ses-self-reference-early-detection): New defcustom.
fac916bf 9930 (ses-formula-references): Robustify against self-referring cells.
90ca8b49
VB
9931 (ses-mode): Use ses-set-localvars.
9932 (ses-command-hook): Add call to ses-initialize-Dijkstra-attempt
9933 before lauching the update processing.
9934 (ses-initialize-Dijkstra-attempt): New function.
9935 (ses-recalculate-cell): Update for cycle detection based on
9936 Dijkstra algorithm.
9937
2bb63e81
VB
9938 * ses.el: Fix commenting and indenting convention.
9939
c9d29fb8
SM
99402011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
9941
9942 * bs.el (bs-cycle-next): Complete last change.
9943
d8e4b68b
JB
99442011-06-27 Drew Adams <drew.adams@oracle.com>
9945
9946 * faces.el (list-faces-display): Add help-mode-map to output (bug#8939).
9947
40098786
LMI
99482011-06-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
9949
c9d29fb8
SM
9950 * net/network-stream.el (network-stream-open-starttls):
9951 Don't re-get capabilities unless we've reestablished connection.
f6ab314e
LMI
9952 (network-stream-open-starttls): Fix stupid typo with gnutls-clii.
9953
40098786
LMI
9954 * mail/smtpmail.el (smtpmail-via-smtp): Bind coding-system-for-*
9955 to binary to possibly avoid line encoding issues on Windows (among
9956 other things).
9957
468d09d4
LMI
99582011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
9959
9960 * net/network-stream.el (open-network-stream): Return an :error
9961 saying what the problem was, if possible.
9962
9963 * mail/smtpmail.el (smtpmail-via-smtp): Report the error from the
9964 server.
9965
9966 * net/network-stream.el (network-stream-open-starttls): If we
9967 wanted to use STARTTLS, and the server offered it, but we weren't
9968 able to because we had no STARTTLS support, then close the connection.
9969 (open-network-stream): Return an :error element, if present.
9970
16f07dd7
CY
99712011-06-26 Chong Yidong <cyd@stupidchicken.com>
9972
88821ca0
CY
9973 * hl-line.el (hl-line-sticky-flag): Doc fix.
9974 (global-hl-line-sticky-flag): New option (Bug#8323).
9975 (global-hl-line-highlight): Obey it.
9976
16f07dd7
CY
9977 * vc/vc.el (vc-revert-show-diff): Default to t.
9978
6b5ccddf
KM
99792011-06-26 Ken Manheimer <ken.manheimer@gmail.com>
9980
c9d29fb8
SM
9981 * allout-widgets.el (allout-widgets-post-command-business):
9982 Stop decorating intermediate isearch matches. They're not being
6b5ccddf
KM
9983 undecorated when an isearch is continued past, and isearch
9984 automatically collapses them. This leads to "widget leaks", where
9985 decorated items accumulate in collapsed areas. Lines with lots of
c9d29fb8
SM
9986 hidden widgets can slow down cursor travel, substantially.
9987 Too much complicated machinery would be needed to ensure undecoration,
6b5ccddf
KM
9988 so we're doing without this nicety.
9989
9990 (allout-widgets-tally-string): Don't try to do a hash-table-count
9991 of allout-widgets-tally when it's nil. This eliminates spurious "Error
9992 during redisplay: (wrong-type-argument hash-table-p nil)" warnings in
9993 *Messages* when allout-widgets-maintain-tally is t.
9994
355f2e07
MR
99952011-06-26 Martin Rudalics <rudalics@gmx.at>
9996
9997 * window.el (display-buffer-normalize-argument): Rename to
9998 display-buffer-normalize-arguments. Handle special meaning of
6b5ccddf
KM
9999 LABEL argument. Respect special-display-function when popping up
10000 a new frame. Fix code searching for a window showing the buffer
10001 on another frame.
c9d29fb8
SM
10002 (display-buffer-normalize-specifiers):
10003 Call display-buffer-normalize-arguments.
355f2e07
MR
10004 (display-buffer-in-window): Don't undedicate the window if its
10005 buffer remains the same.
10006 Reported by Drew Adams <drew.adams@oracle.com>.
10007 (display-buffer-alist): Add choice for same-window macro
10008 specfier.
10009 (display-buffer): Mention special meaning of LABEL argument in
10010 doc-string. Fix quoting. Don't pop up a new frame even as
10011 fallback.
10012
7ca8fc42
JB
100132011-06-26 Juanma Barranquero <lekktu@gmail.com>
10014
10015 * bs.el (bs-cycle-next): Pass current buffer to `bury-buffer' to
10016 avoid deleting the current window in some cases (bug#8911).
10017
bc312254
AS
100182011-06-26 Andreas Schwab <schwab@linux-m68k.org>
10019
10020 * emacs-lisp/smie.el (smie-bnf->prec2): Fix last change.
10021 (Bug#8934)
10022
2db18f3f
LMI
100232011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
10024
c9d29fb8
SM
10025 * net/network-stream.el (network-stream-open-starttls):
10026 Use built-in TLS support if `gnutls-available-p' is true.
2db18f3f
LMI
10027 (network-stream-open-tls): Ditto.
10028
6302e0d3
LL
100292011-06-26 Leo Liu <sdl.web@gmail.com>
10030
10031 * register.el (registerv): New struct.
10032 (registerv-make): New function.
c9d29fb8
SM
10033 (jump-to-register, describe-register-1, insert-register):
10034 Support the jump-func, print-func and insert-func slot of a registerv
6302e0d3
LL
10035 struct. (Bug#8415)
10036
5fdd4046
CY
100372011-06-26 Chong Yidong <cyd@stupidchicken.com>
10038
2afef60a
CY
10039 * vc/vc.el (vc-revert-show-diff): New defcustom.
10040 (vc-diff-internal): New arg specifying diff buffer.
10041 (vc-revert): Obey vc-revert-show-diff. If we show a diff, don't
10042 reuse an existing *vc-diff* buffer (Bug#8927).
10043
5fdd4046
CY
10044 * progmodes/cperl-mode.el (cperl-mode): Derive from prog-mode.
10045
e93db24a
GM
100462011-06-26 Glenn Morris <rgm@gnu.org>
10047
10048 * progmodes/f90.el (f90-critical-indent): New option.
10049 (f90-font-lock-keywords-2, f90-blocks-re, f90-end-block-re)
10050 (f90-start-block-re, f90-mode-abbrev-table): Add block, critical.
10051 (f90-mode): Doc fix.
10052 (f90-looking-at-critical, f90-looking-at-end-critical): New funcs.
10053 (f90-no-block-limit, f90-calculate-indent, f90-end-of-block)
10054 (f90-beginning-of-block, f90-next-block, f90-indent-region)
10055 (f90-match-end): Handle block, critical.
10056
eefff499
GM
100572011-06-25 Glenn Morris <rgm@gnu.org>
10058
f6ba4cc9
GM
10059 * calendar/diary-lib.el (diary-included-files): Doc fix.
10060 (diary-include-files): New function, extracted from
10061 diary-include-other-diary-files and diary-mark-included-diary-files.
10062 (diary-include-other-diary-files, diary-mark-included-diary-files):
10063 Just call diary-include-files.
10064 (diary-mark-entries): Reset diary-included-files on first call.
10065
16712304
GM
10066 * calendar/diary-lib.el (diary-mark-entries)
10067 (diary-mark-included-diary-files):
10068 Visit included diary-files in temp buffers.
10069
5d8e0d43
GM
10070 * progmodes/f90.el (f90-keywords-re, f90-font-lock-keywords-1)
10071 (f90-blocks-re, f90-program-block-re, f90-end-block-re)
10072 (f90-start-block-re, f90-imenu-generic-expression)
10073 (f90-looking-at-program-block-start, f90-no-block-limit):
10074 Add support for submodules.
10075
ccf7a5d5
GM
10076 * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
10077 (f90-procedures-re, f90-constants-re): Add some F2008 stuff.
eefff499 10078
11fdef7d 100792011-06-25 Eli Zaretskii <eliz@gnu.org>
638e9005
EZ
10080
10081 * net/ange-ftp.el (ange-ftp-insert-file-contents): Let-bind
10082 buffer-file-type before setting its value, to avoid disastrous
eefff499 10083 global effects on decoding files for DOS/Windows systems. (Bug#8780)
638e9005 10084
74f53697
JB
100852011-06-25 Juanma Barranquero <lekktu@gmail.com>
10086
10087 * allout.el (allout-unload-function): Pass -1 to `allout-mode'.
10088
10089 * ses.el (ses-unload-function):
10090 * emacs-lisp/re-builder.el (re-builder-unload-function): Simplify.
10091
10092 * proced.el (proced-unload-function):
10093 * progmodes/cperl-mode.el (cperl-mode-unload-function): Remove.
10094
18a4ce5e
AR
100952011-06-25 Andreas Rottmann <a.rottmann@gmx.at>
10096
10097 * server.el (server-create-window-system-frame): Add parameters arg.
10098 (server-process-filter): Doc fix. Handle frame-parameters.
10099
519d22cc
JB
101002011-06-25 Juanma Barranquero <lekktu@gmail.com>
10101
10102 Fix bug#8730, bug#8781.
10103
10104 * loadhist.el (unload--set-major-mode): New function.
10105 (unload-feature): Use it.
10106
10107 * progmodes/python.el (python-after-info-look): Add autoload cookie.
10108 (python-unload-function): New function.
10109
c206f5b0
SM
101102011-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
10111
10112 * mail/rmail.el (rmail-show-message-1): Use restore-buffer-modified-p.
10113
f9ad64f3
GS
101142011-06-25 Giuseppe Scrivano <gscrivano@gnu.org>
10115
10116 * net/browse-url.el (browse-url-firefox-program): Add icecat to
10117 the candidates list.
10118
7d0da90e
JB
101192011-06-24 Juanma Barranquero <lekktu@gmail.com>
10120
10121 * progmodes/verilog-mode.el (verilog-mode): Fix test for bound variable.
10122
14b4e83d
RS
101232011-06-23 Richard Stallman <rms@gnu.org>
10124
10125 * mail/rmail.el: Going to grep hit in Rmail buffer finds the message.
10126 (rmail-variables): Set next-error-move-function.
10127 (rmail-what-message): Take argument POS.
10128 (rmail-next-error-move): New function.
10129
273d2baf
SM
101302011-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
10131
10132 * emacs-lisp/smie.el (smie-bnf->prec2): Give more understandable error
10133 messages for adjacent non-terminals.
10134
56c2cc9a
RS
101352011-06-23 Richard Stallman <rms@gnu.org>
10136
10137 * mail/rmail.el (rmail-retry-ignored-headers): Add message-id.
f444564c 10138 (rmail-show-message-1): Preserve buffer modified flag.
8050daa1
RS
10139 (rmail-start-mail): Don't specify use of rmail-mail-return;
10140 that's done by mail-bury now.
10141 (rmail-mail-return): Handle arg NEWBUF.
56c2cc9a 10142
d59eb518
MA
101432011-06-23 Michael Albinus <michael.albinus@gmx.de>
10144
10145 * net/tramp-sh.el (tramp-method-out-of-band-p): Check, whether
10146 SIZE is a number.
10147
02cfc6d6
MR
101482011-06-23 Martin Rudalics <rudalics@gmx.at>
10149
10150 * window.el (get-lru-window, get-mru-window)
10151 (get-largest-window): Never return a minibuffer window.
10152 (display-buffer-pop-up-window): Fix a bug that could lead to
10153 reusing the minibuffer window.
10154 (display-buffer): Pass original specifier argument to
10155 display-buffer-function instead of the normalized one.
10156 Reported by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
10157
4e323265
LL
101582011-06-22 Leo Liu <sdl.web@gmail.com>
10159
10160 * minibuffer.el (completing-read-function)
10161 (completing-read-default): Move from minibuf.c
10162
7a70468f
RS
101632011-06-22 Richard Stallman <rms@gnu.org>
10164
50718fc2
RS
10165 * mail/sendmail.el (mail-bury): If Rmail is in use, return nicely
10166 to Rmail even if not started by a special Rmail command.
10167
7a70468f
RS
10168 * mail/rmailmm.el (rmail-insert-mime-forwarded-message):
10169 Copy the buffer currently showing just one message.
10170
297dde5a
RW
101712011-06-22 Roland Winkler <winkler@gnu.org>
10172
10173 * textmodes/bibtex.el (bibtex-entry-update): Use mapc.
10174 (bibtex-clean-entry): First delete the old key so that a
10175 customized algorithm for generating the new key does not get
10176 confused by the old key.
10177 (bibtex-url): Obey regexp of first step.
10178 (bibtex-search-entries): Do not use add-to-list with local
10179 list-var.
10180
97bb1093
LMI
101812011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
10182
10183 * mail/smtpmail.el (smtpmail-try-auth-methods): If the user has
10184 stored a user name, then query for the password first, instead of
10185 waiting for SMTP to give an error message and the trying again.
10186
1c0f1a19
JD
101872011-06-22 Lawrence Mitchell <wence@gmx.li>
10188
10189 * net/browse-url.el (browse-url-xdg-open): Use 0, rather than nil
10190 BUFFER in call-process.
10191
396f7c9d
LMI
101922011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
10193
10194 * mail/smtpmail.el (smtpmail-via-smtp): Make sure we don't send
10195 QUIT twice.
ddb7ffee
LMI
10196 (smtpmail-try-auth-methods): Require user name and password from
10197 auth-source.
396f7c9d 10198
8998d1b3
MR
101992011-06-22 Martin Rudalics <rudalics@gmx.at>
10200
10201 * window.el (display-buffer-default-specifiers)
10202 (display-buffer-alist): Remove entries for pop-up-frame-alist.
10203 Suggested by Katsumi Yamaoka <yamaoka@jpl.org>.
130e3e11 10204 (split-window): Normalize SIDE argument (Bug#8916).
8998d1b3
MR
10205
10206 * frame.el (pop-up-frame-alist, pop-up-frame-function)
10207 (special-display-frame-alist, special-display-popup-frame):
10208 Remove duplicate declarations. These are now in window.el.
10209
4ea31e07
LMI
102102011-06-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
10211
c9d29fb8
SM
10212 * mail/smtpmail.el (smtpmail-via-smtp):
10213 Set :use-starttls-if-possible so that we always use STARTTLS if the
6af7a784
LMI
10214 server supports it. SMTP servers that support STARTTLS commonly
10215 require it.
10216
10217 * net/network-stream.el (network-stream-open-starttls): Support
10218 upgrading to STARTTLS always, even if we don't have built-in support.
fa463103 10219 (open-network-stream): Add the :always-query-capabilities keyword.
6af7a784 10220
95f41d9a
LMI
10221 * mail/smtpmail.el: Rewritten to do opportunistic STARTTLS
10222 upgrades with `open-network-stream', and rely solely on
10223 auth-source for all credentials. Big changes throughout the file,
10224 but in particular:
c9d29fb8
SM
10225 (smtpmail-auth-credentials): Remove.
10226 (smtpmail-starttls-credentials): Remove.
7d36ad46
LMI
10227 (smtpmail-via-smtp): Check for servers saying they want AUTH after
10228 MAIL FROM, too.
95f41d9a 10229
c9d29fb8
SM
10230 * net/network-stream.el (network-stream-open-starttls):
10231 Provide support for client certificates both for external and built-in
4ea31e07
LMI
10232 STARTTLS.
10233 (auth-source): Require.
10234 (open-network-stream): Document the :client-certificate keyword.
eb8c9362
LMI
10235 (network-stream-certificate): Change cert-cert to cert and
10236 cert-key to key.
4ea31e07 10237
065ec2c7
MA
102382011-06-21 Michael Albinus <michael.albinus@gmx.de>
10239
10240 * net/tramp-cache.el (top): Don't load the persistency file when
10241 "emacs -Q" has been called.
10242
cd93b359
DR
102432011-06-21 Tim Harper <timcharper@gmail.com>
10244
d8e4b68b
JB
10245 * term/ns-win.el (ns-initialize-window-system):
10246 Set application-specific `ApplePressAndHoldEnabled' system
cd93b359
DR
10247 resource to NO as it is not yet supported by the NS port.
10248
ae9c0411
JB
102492011-06-21 Juanma Barranquero <lekktu@gmail.com>
10250
10251 * misc.el (list-dynamic-libraries--refresh): Compute header here...
10252 (list-dynamic-libraries): ...not here.
10253
7f3f739f
LL
102542011-06-21 Leo Liu <sdl.web@gmail.com>
10255
10256 * subr.el (sha1): Implement sha1 using secure-hash.
10257
327c8fb1
MR
102582011-06-21 Martin Rudalics <rudalics@gmx.at>
10259
10260 * window.el (display-buffer-alist): In default value do not
10261 enforce searching a window on any but the selected frame.
10262 Reported by Katsumi Yamaoka <yamaoka@jpl.org>.
10263 (display-buffer-select-window): Remove function.
10264 (display-buffer-in-window): When a window on another frame gets
10265 reused, do not select it any more but just raise its frame if
10266 necessary (Bug#8851) and (Bug#8856).
10267 (display-buffer-normalize-options): Handle pop-up-frames related
10268 options more faithfully.
10269 (pop-to-buffer): Don't rely on `display-buffer' selecting the
10270 window if it is on another frame.
c9d29fb8
SM
10271 (display-buffer-alist, display-buffer-default-specifiers):
10272 Don't make new frame unsplittable by default.
9e9de014
MR
10273 (display-buffer-normalize-argument): Fix doc-string typo and use
10274 'same-frame-other-window instead of 'other-window when associating
10275 with display-buffer-macro-specifiers.
327c8fb1 10276
7cf3f556
VB
102772011-06-21 Vincent Belaïche <vincent.b.1@hotmail.fr>
10278
10279 * play/5x5.el (5x5-solve-rotate-left, 5x5-solve-rotate-right):
10280 New functions.
10281 (5x5-mode-map, 5x5-mode-menu): Bind them.
10282 (5x5-draw-grid): Tweak the solver's rendering.
10283
60a406cf
SM
102842011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
10285
10286 * progmodes/compile.el (compilation-error-regexp-alist-alist): Rename
10287 `caml' to `python-tracebacks-and-caml'; allow leading tabs (bug#8585).
10288
d8e4b68b 102892011-06-21 Drew Adams <drew.adams@oracle.com>
5d907d6c
DA
10290
10291 * menu-bar.el: Use function variable instead of switch-to-buffer.
10292 (menu-bar-select-buffer-function): New variable.
60a406cf 10293 (menu-bar-update-buffers): Use it (bug#8876).
5d907d6c 10294
478d6f95
SM
102952011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
10296
10297 * emacs-lisp/bytecomp.el (add-to-list): Add handler to check the
10298 variable's status.
10299
ca530739
JD
103002011-06-20 Jan Djärv <jan.h.d@swipnet.se>
10301
10302 * x-dnd.el (x-dnd-version-from-flags)
10303 (x-dnd-more-than-3-from-flags): New functions that handle long-as-cons
10304 and long as number (Bug#8899).
10305 (x-dnd-handle-xdnd): Call functions above (Bug#8899).
10306
bcd70d97
SM
103072011-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
10308
60a406cf 10309 * minibuffer.el (completion-metadata): Add `metadata' to the alist.
4cb3bfa0
SM
10310 (completion-try-completion, completion-all-completions): Compute the
10311 metadata argument if it's missing; make it optional (bug#8795).
10312
60a406cf 10313 * wid-edit.el: Use lex-bind and move towards completion-at-point.
bcd70d97
SM
10314 (widget-complete): Use new :completion-function property.
10315 (widget-completions-at-point): New function.
10316 (default): Use :completion-function instead of :complete.
60a406cf
SM
10317 (widget-default-completions): Rename from widget-default-complete;
10318 Rewrite.
bcd70d97
SM
10319 (widget-string-complete, widget-file-complete, widget-color-complete):
10320 Remove functions.
10321 (file, symbol, function, variable, coding-system, color):
10322 * international/mule-cmds.el (default-input-method, charset)
10323 (language-info-custom-alist):
10324 * cus-edit.el (face): Use new property :completions.
10325
10326 * progmodes/pascal.el (pascal-completions-at-point): New function.
10327 (pascal-mode): Use it.
10328 (pascal-mode-map): Use completion-at-point.
10329 (pascal-toggle-completions): Make obsolete.
10330 (pascal-complete-word, pascal-show-completions):
10331 * progmodes/octave-mod.el (octave-complete-symbol):
10332 Redefine as obsolete alias.
10333 * progmodes/octave-inf.el (inferior-octave-completion-at-point):
10334 Signal absence of completion info for old Octave,
10335 (inferior-octave-complete): Redefine as obsolete alias.
10336 * progmodes/meta-mode.el: Use lexical-binding and completion-at-point.
10337 (meta-completions-at-point): Rename from meta-complete-symbol and
10338 adapt it for use on completion-at-point-functions.
10339 (meta-common-mode): Use it.
10340 (meta-looking-at-backward, meta-match-buffer): Remove.
10341 (meta-complete-symbol): Redefine as obsolete alias.
10342 (meta-common-mode-map): Use completion-at-point.
10343 * progmodes/make-mode.el: Use lexical-binding and completion-at-point.
10344 (makefile-mode-map): Use completion-at-point.
10345 (makefile-completions-at-point): Rename from makefile-complete and
10346 adapt it for use on completion-at-point-functions.
10347 (makefile-mode): Use it.
10348 (makefile-complete): Redefine as obsolete alias.
10349
aebf69c8
DD
103502011-06-20 Deniz Dogan <deniz@dogan.se>
10351
10352 * net/rcirc.el: Delete trailing whitespaces once and for all.
10353
bfbbb27d
DC
103542011-06-20 Daniel Colascione <dan.colascione@gmail.com>
10355
10356 * emacs-lisp/syntax.el (syntax-ppss): Further improve docstring.
10357
d264a46b
CY
103582011-06-19 Chong Yidong <cyd@stupidchicken.com>
10359
4ca009e5
CY
10360 * files.el (auto-mode-alist): Entry for m2-mode (Bug#8852).
10361
d264a46b
CY
10362 * info.el (Info-apropos-toc-nodes): Minor doc fix (Bug#8833).
10363
fbf5b3ce
MR
103642011-06-19 Martin Rudalics <rudalics@gmx.at>
10365
10366 * window.el (display-buffer-other-window-means-other-frame):
10367 Call display-buffer-normalize-alist.
10368 (display-buffer-normalize-specifiers-1): Rename to
10369 display-buffer-normalize-argument. New argument other-frame.
10370 Rewrite.
10371 (display-buffer-normalize-specifiers-2): Rename to
10372 display-buffer-normalize-options.
10373 (display-buffer-normalize-alist-1): New function.
10374 (display-buffer-normalize-specifiers-3): Rename to
bcd70d97
SM
10375 display-buffer-normalize-alist.
10376 Call display-buffer-normalize-alist-1.
fbf5b3ce
MR
10377 (display-buffer-normalize-options-inhibit): New variable.
10378 (display-buffer-normalize-specifiers): Rewrite calling
10379 display-buffer-normalize-alist,
10380 display-buffer-normalize-argument, and
10381 display-buffer-normalize-options. Don't call the latter if
10382 display-buffer-normalize-options-inhibit is non-nil.
10383 (frame-auto-delete): New option.
10384 (window-deletable-p): Use frame-auto-delete.
9d89fec7
MR
10385 (window-list-no-nils, window-state-ignored-parameters)
10386 (window-state-get-1, window-state-get, window-state-put-list)
bcd70d97
SM
10387 (window-state-put-1, window-state-put-2, window-state-put):
10388 New functions.
9a028c23
MR
10389 (display-buffer-normalize-options): Move special-display-p group
10390 after pop-up-frame group (Bug#8851) and (Bug#8856).
fbf5b3ce 10391
6d10d800
CY
103922011-06-18 Chong Yidong <cyd@stupidchicken.com>
10393
6420d28b
CY
10394 * emacs-lisp/rx.el (rx-constituents): Add support for numbered
10395 groups (Bug#8776).
10396 (rx-submatch-n): New function.
10397 (rx): Document it.
10398
ddb8b596
CY
10399 * dired-x.el (dired-mark-unmarked-files): Fix interactive spec
10400 (Bug#8768).
10401
10402 * replace.el (occur-mode-map): Set occur-edit-mode binding to "e".
10403
77080289
CY
10404 * textmodes/fill.el (default-justification): Add :safe (Bug#8879).
10405
61dfb316
CY
10406 * cus-face.el (custom-declare-face): Call custom-theme-recalc face
10407 anytime existing face settings are present (Bug#8889).
10408
6d10d800
CY
10409 * progmodes/delphi.el (delphi-mode-syntax-table): Use defvar.
10410 (delphi-mode): Use define-derived-mode to inherit from prog-mode.
10411 Remove unused argument.
10412
be3fb2b8
MR
104132011-06-18 Martin Rudalics <rudalics@gmx.at>
10414
bcd70d97
SM
10415 * window.el (display-buffer-default-specifiers):
10416 Remove pop-up-frame. Add pop-up-window-min-height,
be3fb2b8
MR
10417 pop-up-window-min-width, and another reuse-window specifier
10418 (Bug#8882). Reported by Dan Nicolaescu <dann@gnu.org>.
bcd70d97
SM
10419 (display-buffer-normalize-specifiers-2):
10420 Handle split-height-threshold and split-width-threshold also when
be3fb2b8
MR
10421 pop-up-windows is unset. Add a reuse-window specifier for the
10422 case popping up a new window fails.
10423 (special-display-popup-frame): Remove double quoting.
28dec25a 10424 (display-buffer-normalize-specifiers-1): Fix thinko.
be3fb2b8 10425
1c6d8c76
SM
104262011-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
10427
10428 * shell.el (shell-completion-vars): Set pcomplete-termination-string
10429 according to comint-completion-addsuffix.
10430
10431 * pcomplete.el: Convert to lexical binding and fix bug#8819.
10432 (pcomplete-suffix-list): Mark as obsolete.
10433 (pcomplete-completions-at-point): Capture pcomplete-norm-func and
10434 pcomplete-seen in the closure.
10435 (pcomplete-comint-setup): Setup completion-at-point as well.
10436 (pcomplete--entries): New function.
10437 (pcomplete--env-regexp): New var.
10438 (pcomplete-entries): Rewrite to work with partial-completion and
10439 without relying on pcomplete-suffix-list.
10440 (pcomplete-pare-list): Remove, unused.
10441
25aef8b8
MR
104422011-06-17 Martin Rudalics <rudalics@gmx.at>
10443
10444 * window.el (display-buffer-alist): Set pop-up-window-min-height
10445 and pop-up-window-min-width in default value. Reported by
10446 Thierry Volpiatto <thierry.volpiatto@gmail.com>. New specifier
10447 other-window-means-other-frame.
10448 (display-buffer-macro-specifiers): Comment out entry for
10449 other-window specifier.
10450 (display-buffer-other-window-means-other-frame): New function.
10451 (display-buffer-normalize-specifiers-1): New arguments
10452 buffer-name and label. Treat other-window case specially.
10453 (display-buffer-normalize-specifiers-2): Treat other-window case
10454 specially.
10455 (display-buffer-normalize-specifiers-3): New function.
bcd70d97
SM
10456 (display-buffer-normalize-specifiers):
10457 Call display-buffer-normalize-specifiers-3.
25aef8b8 10458
dbad4f69
MR
104592011-06-17 Martin Rudalics <rudalics@gmx.at>
10460
10461 * window.el (same-window-p): Fix two typos introduced when
10462 adding with-no-warnings.
d1067961
MR
10463 (display-buffer-normalize-specifiers-1): Don't check
10464 pop-up-frames for 'unset initialization.
10465 (display-buffer-normalize-specifiers-2): Major rewrite using
10466 special-display-p and same-window-p (Bug#8851) and (Bug#8856).
10467 (pop-up-frames, display-buffer-reuse-frames)
10468 (display-buffer-mark-dedicated): Don't initialize to 'unset.
10469 Suggested by David Engster <deng@randomsample.de>.
10470 (even-window-heights): Initialize to 'unset.
10471 (display-buffer-alist-set): Handle new 'unset initializations.
25aef8b8
MR
10472 (display-buffer-macro-specifiers): Don't pop up a new frame in the
10473 other window case.
dbad4f69 10474
9b9c9e3a
MR
104752011-06-16 Martin Rudalics <rudalics@gmx.at>
10476
bcd70d97
SM
10477 * window.el (display-buffer-normalize-specifiers-1):
10478 Respect current value of pop-up-frames for most reasonable values of
9b9c9e3a 10479 second argument of display-buffer (Bug#8865).
981d5c09
MR
10480 (switch-to-buffer-same-frame, switch-to-buffer-other-window)
10481 (switch-to-buffer-other-window-same-frame)
10482 (switch-to-buffer-other-frame): Fix doc-strings. Reported by Drew
10483 Adams (Bug#8875).
9c2755e9
MR
10484 (display-buffer): Don't check noninteractive when calling
10485 display-buffer-pop-up-frame.
10486 (display-buffer-pop-up-frame): Never pop up a frame in
10487 noninteractive mode (Bug#8857).
67222e1d
MR
10488 (enlarge-window, shrink-window): Don't report an error when the
10489 window can't be resized as requested (Bug#8862).
9b9c9e3a 10490
2b75be67
SM
104912011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
10492
9ffdd3ba
SM
10493 * pcmpl-rpm.el (pcomplete/rpm): Minor simplification.
10494
cb581a67
SM
10495 * emacs-lisp/debug.el (debug): Don't leave the buffer in Debugger.
10496
2b75be67
SM
10497 * abbrev.el (define-abbrev-table): Don't add a table multiple times.
10498
8c0e3589
AM
104992011-06-15 Alan Mackenzie <acm@muc.de>
10500
cb581a67
SM
10501 * progmodes/cc-fonts.el (c-font-lock-declarations): 1: Whilst checking
10502 for declarators, disable knr checking to speed up for normal files.
10503 2: Refactor, replacing a sequence of nested if forms by a cond form.
8c0e3589 10504
b96e6cde
LMI
105052011-06-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
10506
4bba86e6
LMI
10507 * net/network-stream.el (open-network-stream): Add the keyword
10508 :always-query-capabilities for the case where you want to force a
10509 `plain' network connection, but the protocol still requires the
10510 capabilitiy command (i.e., SMTP and EHLO).
10511
2b75be67 10512 * subr.el (process-live-p): Rename from `process-alive-p' for
b96e6cde
LMI
10513 consistency with other `-live-p' functions.
10514
efdcdbf8
SM
105152011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
10516
10517 * window.el (same-window-buffer-names, same-window-regexps)
10518 (special-display-frame-alist, special-display-popup-frame)
10519 (special-display-function, special-display-buffer-names)
10520 (special-display-regexps, pop-up-frame-alist)
10521 (pop-up-frame-function, pop-up-frames, display-buffer-reuse-frames)
10522 (pop-up-windows, split-window-preferred-function)
10523 (split-height-threshold, split-width-threshold, even-window-heights)
10524 (display-buffer-mark-dedicated): Don't encourage the use of
10525 display-buffer-alist from Elisp code.
10526
c5cde042
DN
105272011-06-15 Dan Nicolaescu <dann@ics.uci.edu>
10528
10529 * progmodes/python.el (python-mode): Derive from prog-mode.
10530 * progmodes/ps-mode.el (ps-mode):
10531 * progmodes/mixal-mode.el (mixal-mode):
50328a1b 10532 * progmodes/cfengine.el (cfengine-mode):
c5cde042
DN
10533 * progmodes/ld-script.el (ld-script-mode): Likewise.
10534
baa1c9ab
MR
105352011-06-15 Martin Rudalics <rudalics@gmx.at>
10536
10537 * window.el (display-buffer-alist): Trim default value to avoid
10538 popping up a new frame (Bug#8857) or reusing an arbitrary window
10539 on another frame.
10540 (display-buffer): Do not fall back on popping up a new frame in
10541 batch mode (Bug#8857).
10542
c5dd5a51
CY
105432011-06-14 Chong Yidong <cyd@stupidchicken.com>
10544
10545 * cus-theme.el (describe-theme-1): Use custom-theme-p.
10546 (custom-theme-summary): New function.
10547 (customize-themes): Use it.
10548
d647b7c4
GM
105492011-06-13 Glenn Morris <rgm@gnu.org>
10550
10551 * cus-dep.el (custom-make-dependencies): Use up command-line-args-left.
10552
9481c002
MR
105532011-06-13 Martin Rudalics <rudalics@gmx.at>
10554
357f93d2
MR
10555 * help.el (help-window): Remove variable.
10556 (help-window-point-marker, temp-buffer-max-height)
10557 (temp-buffer-resize-mode, help-window-select): Rewrite doc-strings.
10558 (help-print-return-message): Don't set help-window.
10559 (resize-temp-buffer-window): Rewrite cod eand doc-string.
10560 (help-window-setup-finish): Remove.
10561 (help-window-display-message, help-window-setup)
10562 (with-help-window): Major rewrite based on new
10563 display-buffer-window variable.
10564
10565 * help-mode.el (help-mode-finish): Remove help-window related
10566 code.
10567
10568 * view.el (view-exits-all-viewing-windows): Remove reference to
10569 view-return-to-alist in doc-string.
10570 (view-return-to-alist): Make obsolete.
10571 (view-buffer): Call pop-to-buffer-same-window and remove
10572 undo-window code.
10573 (view-buffer-other-window): Call pop-to-buffer-other-window and
10574 simplify code. Ignore second argument.
10575 (view-buffer-other-frame): Call pop-to-buffer-other-frame and
10576 simplify code. Ignore second argument.
10577 (view-return-to-alist-update): Make obsolete.
10578 (view-mode-enter): Rename second argument to QUIT-RESTORE.
10579 Rewrite using quit-restore window parameters.
2b75be67
SM
10580 (view-mode-exit): Rename second argument to EXIT-ONLY.
10581 Rewrite using quit-restore-window.
357f93d2
MR
10582 (View-exit, View-exit-and-edit, View-leave, View-quit)
10583 (View-quit-all, View-kill-and-leave): Call view-mode-exit with
10584 appropriate arguments.
10585 (view-end-message): Use quit-restore window parameter.
10586
9481c002
MR
10587 * window.el (display-buffer-function): Rewrite doc-string.
10588 (display-buffer-window, display-buffer-alist): New variables.
10589 (display-buffer-split-specifiers)
10590 (display-buffer-side-specifiers)
10591 (display-buffer-macro-specifiers): New constants.
10592 (display-buffer-even-window-sizes, display-buffer-set-height)
10593 (display-buffer-set-width, display-buffer-select-window)
10594 (display-buffer-in-window, display-buffer-reuse-window)
10595 (display-buffer-split-window-1, display-buffer-split-window)
10596 (display-buffer-split-atom-window, display-buffer-pop-up-window)
10597 (display-buffer-pop-up-frame, display-buffer-pop-up-side-window)
10598 (display-buffer-in-side-window, normalize-buffer-to-display)
10599 (display-buffer-normalize-specifiers-1)
10600 (display-buffer-normalize-specifiers-2)
2b75be67
SM
10601 (display-buffer-normalize-specifiers, display-buffer-frame):
10602 New functions.
9481c002
MR
10603 (display-buffer): Major rewrite.
10604 (display-buffer-other-window, display-buffer-other-frame)
10605 (pop-to-buffer, switch-to-buffer-other-window)
10606 (switch-to-buffer-other-frame): Rewrite.
10607 (display-buffer-same-window, display-buffer-same-frame)
10608 (display-buffer-same-frame-other-window)
10609 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
10610 (pop-to-buffer-other-window)
10611 (pop-to-buffer-same-frame-other-window)
10612 (pop-to-buffer-other-frame, switch-to-buffer-same-frame)
10613 (switch-to-buffer-other-window-same-frame): New functions.
10614 (same-window-p, special-display-p): Rewrite disabling warnings.
10615 Make obsolete.
10616 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
10617 (display-buffer-mark-dedicated): Initialize to symbol 'unset.
10618 Make obsolete
10619 (same-window-buffer-names, same-window-regexps)
10620 (special-display-frame-alist, special-display-popup-frame)
10621 (special-display-function, special-display-buffer-names)
10622 (special-display-regexps, pop-up-frame-alist)
10623 (pop-up-frame-function, split-window-preferred-function)
10624 (split-height-threshold, split-width-threshold)
10625 (even-window-heights): Make obsolete.
10626
9db51aca
GM
106272011-06-12 Glenn Morris <rgm@gnu.org>
10628
10629 * term/xterm.el (terminal-init-xterm): `version' may be nil. (Bug#8838)
7cb363eb 10630 Misc simplifications.
9db51aca 10631
39cffb44
MR
106322011-06-12 Martin Rudalics <rudalics@gmx.at>
10633
10634 * window.el (window-safely-shrinkable-p): Restore function which
10635 was inadvertently removed in change from 2011-06-11. Declare as
10636 obsolete.
10637
2b75be67
SM
10638 * calendar/calendar.el (calendar-generate-window):
10639 Use window-iso-combined-p instead of combination of one-window-p and
39cffb44
MR
10640 window-safely-shrinkable-p.
10641
a8955be7
GM
106422011-06-12 Glenn Morris <rgm@gnu.org>
10643
10644 * progmodes/fortran.el (fortran-mode-syntax-table):
10645 * progmodes/f90.el (f90-mode-syntax-table):
10646 Set % to punctuation. (Bug#8820)
10647 (f90-find-tag-default): Remove, no longer needed.
10648
f0d4059d
DC
106492011-06-12 Daniel Colascione <dan.colascione@gmail.com>
10650
10651 * emacs-lisp/syntax.el (syntax-ppss): Clarify which items are invalid.
10652
1100a63c
CY
106532011-06-11 Chong Yidong <cyd@stupidchicken.com>
10654
10655 * image.el (image-animated-p): Return animation delay in seconds.
10656 Avoid bit manipulation in Lisp; use `delay' entry in the metadata.
10657 (image-animate-timeout): Remove DELAY argument. Don't assume
10658 every subimage has the same delay; get it from image-animated-p.
10659 (image-animate): Caller changed.
10660
def722bf
MA
106612011-06-11 Michael Albinus <michael.albinus@gmx.de>
10662
10663 * net/tramp.el (tramp-debug-message): Add `tramp-with-progress-reporter'
10664 to ignored backtrace functions.
10665
0a2bb1a9
GM
106662011-06-11 Glenn Morris <rgm@gnu.org>
10667
10668 * calendar/appt.el (appt-disp-window-function): Doc fix.
10669 (appt-check): Handle overlapping appointments. (Bug#8337)
10670
6198ccd0
MR
106712011-06-11 Martin Rudalics <rudalics@gmx.at>
10672
10673 * window.el (window-tree-1, window-tree): New functions, moving
10674 the latter to window.el.
10675 (bw-get-tree, bw-get-tree-1, bw-find-tree-sub)
10676 (bw-find-tree-sub-1, bw-l, bw-t, bw-r, bw-b, bw-dir, bw-eqdir)
10677 (bw-refresh-edges): Remove.
10678 (balance-windows-1, balance-windows-2): New functions.
10679 (balance-windows): Rewrite in terms of window tree functions,
10680 balance-windows-1 and balance-windows-2.
10681 (bw-adjust-window): Remove.
10682 (balance-windows-area-adjust): New function with functionality of
10683 bw-adjust-window but using resize-window.
2b75be67
SM
10684 (set-window-text-height): Rewrite doc-string.
10685 Use normalize-live-window and resize-window.
10686 (enlarge-window-horizontally, shrink-window-horizontally):
10687 Rename argument to DELTA.
6198ccd0
MR
10688 (window-buffer-height): New function.
10689 (fit-window-to-buffer, shrink-window-if-larger-than-buffer):
10690 Rewrite using new window resize routines.
2b75be67
SM
10691 (kill-buffer-and-window, mouse-autoselect-window-select):
10692 Use ignore-errors instead of condition-case.
6198ccd0
MR
10693 (quit-window): Call delete-frame instead of delete-windows-on
10694 for the only buffer on frame.
10695
9397e56f
MR
106962011-06-10 Martin Rudalics <rudalics@gmx.at>
10697
10698 * loadup.el (top-level): Load window before files for the sake
10699 of replace-buffer-in-windows.
10700
10701 * files.el (read-buffer-to-switch)
10702 (switch-to-buffer-other-window)
2b75be67
SM
10703 (switch-to-buffer-other-frame, display-buffer-other-frame):
10704 Move to window.el.
9397e56f
MR
10705
10706 * simple.el (get-next-valid-buffer, last-buffer, next-buffer)
10707 (previous-buffer): Move to window.el.
10708
10709 * bindings.el (unbury-buffer): Move to window.el.
10710
10711 * window.el (delete-other-windows-vertically): Move after
10712 definition of delete-other-windows.
10713 (other-window, delete-windows-on, replace-buffer-in-windows):
10714 Move here from window.c.
10715 (record-window-buffer, unrecord-window-buffer)
10716 (set-window-buffer-start-and-point, switch-to-prev-buffer)
10717 (switch-to-next-buffer): New functions.
10718 (get-next-valid-buffer, last-buffer, next-buffer): Move here
10719 from simple.el. Call switch-to-next-buffer.
2b75be67
SM
10720 (previous-buffer): Move here from simple.el.
10721 Call switch-to-prev-buffer.
9397e56f
MR
10722 (bury-buffer): Move here from buffer.c. Switch to previous
10723 buffer when window cannot be deleted.
10724 (unbury-buffer): Move here from bindings.el.
10725 (ctl-x-map): Move binding for other-window from window.c to
10726 here.
10727 (read-buffer-to-switch, switch-to-buffer-other-window)
10728 (switch-to-buffer-other-frame): Move here from files.el.
10729 (normalize-buffer-to-switch-to): New functions.
2b75be67
SM
10730 (switch-to-buffer): Move here from buffer.c.
10731 Use read-buffer-to-switch and normalize-buffer-to-switch-to.
9397e56f 10732
562dd5e9
MR
107332011-06-10 Martin Rudalics <rudalics@gmx.at>
10734
10735 * window.el (window-min-height, window-min-width): Move here
10736 from window.c. Add defcustoms and rewrite doc-strings.
10737 (resize-mini-window, resize-window): New functions.
10738 (adjust-window-trailing-edge, enlarge-window, shrink-window):
10739 Move here from window.c.
10740 (maximize-window, minimize-window): New functions.
10741 (delete-window, delete-other-windows, split-window): Move here
10742 from window.c.
10743 (window-split-min-size): New function.
10744 (split-window-keep-point): Mention split-window-above-each-other
10745 instead of split-window-vertically.
2b75be67 10746 (split-window-above-each-other, split-window-vertically):
1154d12e
JB
10747 Rename split-window-vertically to split-window-above-each-other
10748 and provide defalias for old definition.
10749 (split-window-side-by-side, split-window-horizontally):
10750 Rename split-window-horizontally to split-window-side-by-side
10751 and provide defalias for the old definition.
562dd5e9
MR
10752 (ctl-x-map): Move bindings for delete-window,
10753 delete-other-windows and enlarge-window here from window.c.
10754 Replace bindings for split-window-vertically and
10755 split-window-horizontally by bindings for
10756 split-window-above-each-other and split-window-side-by-side.
10757
10758 * cus-start.el (all): Remove entries for window-min-height and
10759 window-min-width. Add entries for window-splits and
10760 window-nest.
10761
f0da764a
GM
107622011-06-09 Glenn Morris <rgm@gnu.org>
10763
80675c21
GM
10764 * calendar/appt.el (appt-mode-line): New function.
10765 (appt-check, appt-disp-window): Use it.
10766
f0da764a
GM
10767 * files.el (hack-one-local-variable-eval-safep):
10768 Allow minor-modes with explicit +/-1 arguments.
10769
59f623b7
TZ
107702011-06-09 Teodor Zlatanov <tzz@lifelogs.com>
10771
10772 * term/xterm.el (xterm): Add defgroup.
10773 (xterm-extra-capabilities): Add defcustom to supply known xterm
10774 capabilities, skip querying them, or query them (default).
10775 (terminal-init-xterm): Use it.
10776 (terminal-init-xterm-modify-other-keys): New function to set up
10777 modifyOtherKeys support to simplify `terminal-init-xterm'.
10778
9aab8e0d
MR
107792011-06-09 Martin Rudalics <rudalics@gmx.at>
10780
10781 * window.el (resize-window-reset, resize-window-reset-1)
10782 (resize-subwindows-skip-p, resize-subwindows-normal)
10783 (resize-subwindows, resize-other-windows, resize-this-window)
10784 (resize-root-window, resize-root-window-vertically)
10785 (window-deletable-p, window-or-subwindow-p)
10786 (frame-root-window-p): New functions.
10787
e8b08aee
GM
107882011-06-09 Glenn Morris <rgm@gnu.org>
10789
10790 * net/ange-ftp.el (ange-ftp-switches-ok): New function.
10791 (ange-ftp-get-files): Use it.
10792
254c37a5
AK
107932011-06-09 Alexander Klimov <alserkli@inbox.ru> (tiny change)
10794
10795 * mail/sendmail.el (mail-recover-1, mail-recover):
10796 * files.el (recover-file, recover-session):
10797 Handle dired-listing-switches not being just a single short option.
10798
35d7dbd3
GM
107992011-06-09 Glenn Morris <rgm@gnu.org>
10800
10801 * calendar/appt.el (appt-display-message, appt-disp-window):
10802 Handle lists of appointments.
10803
387522b2
MR
108042011-06-08 Martin Rudalics <rudalics@gmx.at>
10805
2b75be67
SM
10806 * window.el (one-window-p): Move down in code.
10807 Rewrite doc-string.
10808 (window-current-scroll-bars): Rewrite doc-string.
10809 Normalize live window argument.
387522b2
MR
10810 (walk-windows, get-window-with-predicate, count-windows):
10811 Rewrite doc-string. Use window-list-1.
10812 (window-in-direction-2, window-in-direction, get-mru-window):
10813 New functions.
10814
d8e4b68b 108152011-06-08 Reuben Thomas <rrt@sc3d.org>
2c587104
GM
10816
10817 * progmodes/flymake.el (flymake-compilation-prevents-syntax-check):
10818 Doc fix (Bug#8713).
10819
108202011-06-08 Chong Yidong <cyd@stupidchicken.com>
10821
10822 * repeat.el (repeat-on-final-keystroke): Fix type (Bug#8696).
10823
108242011-06-08 Juanma Barranquero <lekktu@gmail.com>
10825
10826 * loadhist.el (unload-feature-special-hooks):
10827 Add `comint-output-filter-functions'.
10828
0de12c52
IK
108292011-06-08 Ivan Kanis <gnu@kanis.fr>
10830
10831 * calendar/appt.el (appt-check): Move some initializations into the let.
10832
f3d1777e
MR
108332011-06-08 Martin Rudalics <rudalics@gmx.at>
10834
10835 * window.el (window-height): Defalias to window-total-height.
10836 (window-width): Defalias to window-body-width.
10837
18af70d0
CY
108382011-06-07 Chong Yidong <cyd@stupidchicken.com>
10839
10840 * image-mode.el (image-toggle-animation): New command.
10841 (image-mode-map): Bind it to RET.
10842 (image-mode): Update message.
10843 (image-toggle-display-image): Avoid a spurious cache flush.
10844 (image-transform-rotation): Doc fix.
10845 (image-transform-properties): Return quickly in the normal case.
10846 (image-animate-loop): Rename from image-animate-max-time.
10847
2b75be67 10848 * image.el (image-animate-max-time): Move to image-mode.el.
18af70d0
CY
10849 (create-animated-image): Remove unnecessary function.
10850 (image-animate): Rename from image-animate-start. New arg.
2b75be67 10851 (image-animate-stop): Remove; just use image-animate-timer.
18af70d0
CY
10852 (image-animate-timer): Use car-safe.
10853 (image-animate-timeout): Rename argument.
10854
190b47e6
MR
108552011-06-07 Martin Rudalics <rudalics@gmx.at>
10856
10857 * window.el (get-lru-window, get-largest-window): Move here from
2b75be67
SM
10858 window.c. Rename first argument to ALL-FRAMES.
10859 Rephrase doc-strings.
10860 (get-buffer-window-list): Rewrite using window-list-1.
10861 Rephrase doc-string.
a1511caf
MR
10862 (window-safe-min-height, window-safe-min-width): New constants.
10863 (window-size-ignore, window-min-size, window-min-size-1)
10864 (window-sizable, window-sizable-p, window-size-fixed-1)
10865 (window-size-fixed-p, window-min-delta-1, window-min-delta)
10866 (window-max-delta-1, window-max-delta, window-resizable)
10867 (window-resizable-p, window-total-height, window-total-width)
10868 (window-body-width): New functions.
10869 (window-full-height-p, window-full-width-p): Rewrite using
10870 window-total-size.
10871 (window-body-height): Rewrite using window-body-size.
190b47e6 10872
85cc1f11
MR
108732011-06-06 Martin Rudalics <rudalics@gmx.at>
10874
10875 * window.el (window-right, window-left, window-child)
10876 (window-child-count, window-last-child, window-any-p)
10877 (normalize-live-buffer, normalize-live-frame)
10878 (normalize-any-window, normalize-live-window)
10879 (window-iso-combination-p, window-iso-combined-p)
10880 (window-iso-combinations)
10881 (walk-window-tree-1, walk-window-tree, walk-window-subtree)
10882 (windows-with-parameter, window-with-parameter)
10883 (window-atom-root, make-window-atom, window-atom-check-1)
2b75be67
SM
10884 (window-atom-check, window-side-check, window-check):
10885 New functions.
85cc1f11
MR
10886 (ignore-window-parameters, window-sides, window-sides-vertical)
10887 (window-sides-slots): New variables.
10888 (window-size-fixed): Move down in code. Minor doc-string fix.
10889
e7156492
AS
108902011-06-05 Andreas Schwab <schwab@linux-m68k.org>
10891
10892 * comint.el (comint-dynamic-complete-as-filename)
10893 (comint-dynamic-complete-filename): Correctly call
10894 completion-in-region.
10895
7e821d0d
DD
108962011-06-05 Deniz Dogan <deniz@dogan.se>
10897
10898 * net/rcirc.el (rcirc-prompt-for-encryption): Fix bug introduced
10899 in last change.
10900
ac09b8a1
DD
109012011-06-05 Deniz Dogan <deniz@dogan.se>
10902
10903 * net/rcirc.el (rcirc-prompt-for-encryption): New function.
10904 (rcirc): Use it to prompt for encryption.
10905
34699b85
RW
109062011-06-05 Roland Winkler <winkler@gnu.org>
10907
10908 * textmodes/bibtex.el (bibtex-search-buffer): New variable.
10909 (bibtex-search-entries): New command bound to C-c C-a.
10910 (bibtex-display-entries): New function.
10911
004dedd3
RW
109122011-06-05 Roland Winkler <winkler@gnu.org>
10913
10914 * textmodes/bibtex.el (bibtex-generate-url-list): Fix docstring.
10915 (bibtex-insert-kill): After yanking insert newline if necessary.
10916 (bibtex-initialize): Call bibtex-string-files-init only once.
10917 (bibtex-mode): Do not call easy-menu-add.
10918 (bibtex-validate-globally): Use save-excursion in bibtex buffers.
10919 (bibtex-yank): Set arg properly if nil.
10920
022fe7ce
RW
109212011-06-05 Roland Winkler <winkler@gnu.org>
10922
2b75be67
SM
10923 * textmodes/bibtex.el (bibtex-search-entry-globally):
10924 New variable.
022fe7ce
RW
10925 (bibtex-search-entry): Use it.
10926
b7c3692a
RW
109272011-06-05 Roland Winkler <winkler@gnu.org>
10928
10929 * textmodes/bibtex.el (bibtex-entry-format): New option
10930 sort-fields.
10931 (bibtex-format-entry, bibtex-reformat): Honor this option.
10932 (bibtex-parse-entry): Return fields in proper order.
10933
8eda563d
JB
109342011-06-05 Juanma Barranquero <lekktu@gmail.com>
10935
10936 * doc-view.el (doc-view-remove-if): Move computation of result out
10937 of `dolist' to silence misleading lexical-binding warning.
10938
7dbe3dbc
CY
109392011-06-04 Chong Yidong <cyd@stupidchicken.com>
10940
10941 * emacs-lisp/timer.el (timer-activate): Remove unused arg.
10942 (timer-activate, timer-activate-when-idle): Doc fix (Bug#8793).
10943
0c33dd17
MA
109442011-06-04 Michael Albinus <michael.albinus@gmx.de>
10945
10946 * net/tramp-sh.el (tramp-find-shell): Apply workaround also for
10947 "SunOS 5.10".
10948
f8f91c2b
MA
109492011-06-04 Michael Albinus <michael.albinus@gmx.de>
10950
10951 * net/tramp.el (tramp-set-completion-function, tramp-parse-rhosts)
10952 (tramp-parse-shosts, tramp-parse-sconfig, tramp-parse-shostkeys)
10953 (tramp-parse-hosts, tramp-parse-passwd, tramp-parse-netrc)
10954 (tramp-parse-putty):
10955 * net/tramp-sh.el (tramp-completion-function-alist-rsh)
10956 (tramp-completion-function-alist-ssh)
10957 (tramp-completion-function-alist-telnet)
10958 (tramp-completion-function-alist-su)
10959 (tramp-completion-function-alist-putty): Set `tramp-autoload'
10960 cookie.
10961
10962 * net/tramp-ftp.el:
10963 * net/tramp-sh.el:
10964 * net/tramp-smb.el: Set `tramp-autoload' cookie, and eval after
10965 load "tramp.el" `tramp-set-completion-function'.
10966
e17d9003
SM
109672011-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
10968
10969 * shell.el: Require and use pcomplete.
10970 (shell-dynamic-complete-functions): Add pcomplete-completions-at-point.
10971 (shell-completion-vars): Set pcomplete-default-completion-function.
10972
6c4cab03
DD
109732011-06-04 Deniz Dogan <deniz@dogan.se>
10974
10975 * iswitchb.el (iswitchb-window-buffer-p): Use `member' instead of
10976 `memq' (Bug#8799).
10977
ea9fafe0
SM
109782011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
10979
10980 * subr.el (make-progress-reporter): Add "..." by default (bug#8785).
10981
b3e945d3
JB
109822011-06-02 Juanma Barranquero <lekktu@gmail.com>
10983
10984 * bs.el (bs--mark-unmark, bs--nth-wrapper):
10985 * mpc.el (mpc-select-extend, mpc-songpointer-context):
10986 * vc/log-view.el (log-view-beginning-of-defun):
10987 * vc/smerge-mode.el (smerge-apply-resolution-patch)
10988 (smerge-refine-forward, smerge-refine-chopup-region):
10989 Silence warning for unused `dotimes' counter variables.
10990
7d520089
SM
109912011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
10992
10993 * net/tramp.el (tramp-with-progress-reporter): Rename from
10994 with-progress-reporter. Use `declare'.
10995 * net/tramp-smb.el:
10996 * net/tramp-sh.el:
10997 * net/tramp-gvfs.el: Update all uses.
10998
a1c2400f
JB
109992011-06-02 Jay Belanger <jay.p.belanger@gmail.com>
11000
11001 * calc/calc.el (calc-kill-stack-buffer): Make sure that the trail
11002 buffer isn't killed before making it current.
11003
2403c841
SM
110042011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
11005
11006 Silence various byte-compiler warnings.
11007 * emacs-lisp/byte-run.el (make-obsolete-variable): New argument
11008 `access-type' and new obsolescence format.
11009 * emacs-lisp/bytecomp.el (byte-compile-warn-obsolete): Adjust to
11010 new format.
11011 (byte-compile-check-variable): New `access-type' argument.
11012 Only warn if the access-type is obsolete.
11013 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
11014 (byte-compile-variable-set): Adjust callers.
11015 * help-fns.el (describe-variable): Adjust to new obsolescence format.
11016 * mail/sendmail.el (mail-mailer-swallows-blank-line): Only mark
11017 setting it as obsolete.
11018 * simple.el (minibuffer-completing-symbol):
11019 * font-lock.el (font-lock-beginning-of-syntax-function): Only mark read
11020 access as obsolete.
11021 * minibuffer.el (minibuffer-completing-file-name): Don't make it
11022 obsolete yet.
11023 * international/quail.el (quail-mouse-choose-completion): Remove unused
11024 code referring to obsolete var.
11025 (quail-choose-completion-string): Remove.
11026 * server.el (server-clients-with, server-kill-buffer-query-function)
11027 (server-kill-emacs-query-function): Silence "unused `proc'" warnings.
11028 * proced.el (proced-send-signal):
11029 * emacs-lisp/lisp.el (lisp-complete-symbol):
11030 Replace completion-annotate-function with completion-extra-properties.
11031
2462470b
SM
110322011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
11033
fb5b2591
SM
11034 * simple.el (goto-line): Use read-number.
11035 (overriding-map-is-bound): Remove.
11036 (saved-overriding-map): Change default.
11037 (save&set-overriding-map): Rename from ensure-overriding-map-is-bound;
11038 Take the map as argument.
11039 (universal-argument, negative-argument, digit-argument): Use it.
11040 (restore-overriding-map): Adjust.
11041 (do-auto-fill): Use fill-forward-paragraph.
11042 (keyboard-quit): Don't signal an error when debug-on-quit is non-nil.
11043
fd6fa53f
SM
11044 * minibuffer.el (minibuffer-inactive-mode-map): New var.
11045 (minibuffer-inactive-mode): New major mode.
11046 * mouse.el (mouse-drag-region): Remove the "mouse-1 pops up
11047 the *Messages* buffer" hack.
11048 (mouse-popup-menubar): Don't burp if the event is a normal key.
11049
2462470b
SM
11050 Miscellaneous tweaks.
11051 * emacs-lisp/cl-macs.el (dolist, dotimes): Use the same strategy for
11052 lexical scoping as in subr.el's dolist and dotimes.
11053 * emacs-lisp/bytecomp.el (byte-compile-unfold-bcf):
11054 Silence compiler warning.
11055 * thingatpt.el (forward-whitespace): Trivial coding style fix.
11056 * subr.el (with-output-to-temp-buffer): Provide an edebug spec.
11057 * international/ccl.el (ccl-compile): Trivial simplification.
11058 * help-fns.el (help-do-arg-highlight): Silence compiler warning.
11059 * emacs-lisp/testcover.el (testcover-end): Remove spurious
11060 `printflag' argument.
11061 * emacs-lisp/byte-run.el (make-obsolete, make-obsolete-variable):
11062 Purecopy the whole obsolescence data.
11063
108bf785
LL
110642011-06-01 Leo Liu <sdl.web@gmail.com>
11065
11066 * net/rcirc.el (rcirc-decode-coding-system): Revert last change;
11067 improve doc-string as suggested by Marco Pessotto
11068 <melmothx@gmail.com>.
11069 (rcirc-print): Fix last change.
11070
30a23501
SM
110712011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
11072
11073 * minibuffer.el (complete-with-action): Return nil for the metadata and
11074 boundaries of non-functional tables.
11075 (completion-table-dynamic): Return nil for the metadata.
11076 (completion-table-with-terminator): Add default case, using
11077 complete-with-action.
11078 (completion--metadata): New function.
11079 (completion-all-sorted-completions, minibuffer-completion-help): Use it
11080 to try and avoid pathological performance problems.
11081 (completion--embedded-envvar-table): Return `category' metadata.
11082
bcd54f83
LMI
110832011-05-31 Lars Magne Ingebrigtsen <larsi@gnus.org>
11084
11085 * subr.el (process-alive-p): New tiny convenience function.
11086
e227544d
SM
110872011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
11088
11089 * emacs-lisp/debug.el (debug): Save&restore not just the buffer's
11090 content but also its previous major mode.
11091
e8296fdc
HE
110922011-05-31 Helmut Eller <eller.helmut@gmail.com>
11093
4d61f28d 11094 * emacs-lisp/debug.el (debug): Restore the previous content of the
e8296fdc
HE
11095 *Backtrace* buffer when we exit with C-M-c.
11096
620c53a6
SM
110972011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
11098
11099 * minibuffer.el: Add metadata method to completion tables.
11100 (completion-category-overrides): New defcustom.
11101 (completion-metadata, completion--field-metadata)
11102 (completion-metadata-get, completion--styles)
11103 (completion--cycle-threshold): New functions.
11104 (completion-try-completion, completion-all-completions):
11105 Add `metadata' argument to choose completion-styles.
11106 (completion--do-completion): Use metadata to choose cycling.
11107 (completion-all-sorted-completions): Use metadata for sorting.
11108 Remove :completion-cycle-penalty which is not needed any more.
11109 (completion--try-word-completion): Add `metadata' argument.
11110 (minibuffer-completion-help): Check metadata for annotation function
11111 and sorting.
11112 (completion-file-name-table): Return `category' metadata.
11113 (minibuffer-completing-file-name): Make obsolete.
11114 * simple.el (minibuffer-completing-symbol): Make obsolete.
11115 * icomplete.el (icomplete-completions): Pass new `metadata' param to
11116 completion-try-completion.
11117
1257e755
SM
111182011-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
11119
11120 * mail/smtpmail.el (smtpmail-send-data): Add progress reporter.
11121
3767e706
LL
111222011-05-30 Leo Liu <sdl.web@gmail.com>
11123
11124 * net/rcirc.el (rcirc-debug-buffer): Use visible buffer name.
5ab33f2b
LL
11125 (rcirc-print): Decode all incoming messages (bug#8744).
11126 (rcirc-decode-coding-system): Allow value nil for automatic coding
11127 system detection.
3767e706 11128
d1a5d56a
GM
111292011-06-01 Glenn Morris <rgm@gnu.org>
11130
11131 * mail/emacsbug.el (report-emacs-bug-hook): Mailclient ignores From.
11132
e8cbec34
CY
111332011-05-29 Chong Yidong <cyd@stupidchicken.com>
11134
11135 * image.el (image-animate-max-time): Allow nil and t values.
11136 Default to nil.
11137 (create-animated-image): Doc fix.
11138 (image-animate-start): Remove second arg; just use
11139 image-animate-max-time.
11140 (image-animate-timeout): Doc fix. Args changed.
11141
11142 * image-mode.el (image-toggle-display-image): Ensure that the
11143 image spec passed to the animate timer is the same object as in
58179cce 11144 the buffer's display property (Bug#6981).
e8cbec34
CY
11145 (image-transform-properties): Doc fix.
11146
11147 * image.el (image-animate-max-time): Default to nil.
11148
159daf87
MR
111492011-05-29 Martin Rudalics <rudalics@gmx.at>
11150
11151 * menu-bar.el (kill-this-buffer-enabled-p): Avoid looping over
11152 entire buffer list (Bug#8184).
11153
d66c4c7c
CY
111542011-05-29 Chong Yidong <cyd@stupidchicken.com>
11155
11156 * image.el (imagemagick-types-inhibit)
11157 (imagemagick-register-types): Doc fix.
11158
80aec780
DD
111592011-05-29 Deniz Dogan <deniz@dogan.se>
11160
11161 * net/rcirc.el (rcirc): Use the user's stored encryption method by
11162 default.
11163
1dd3c2d9
CY
111642011-05-29 Chong Yidong <cyd@stupidchicken.com>
11165
11166 * select.el: Don't perform clipboard-manager saving in hooks;
11167 leave the hooks empty.
11168
60e56523
LL
111692011-05-28 Leo Liu <sdl.web@gmail.com>
11170
11171 * replace.el (occur-menu-map, occur-edit-mode-map): New vars.
11172 (occur-mode-map): Bind occur-edit-mode. Use occur-menu-map.
11173 (occur-edit-mode): New major mode (Bug#8463).
11174 (occur-after-change-function): New function.
11175 (occur-engine): Give Occur tags a read-only property.
11176
2b1e1a22
KR
111772011-05-28 Kevin Ryde <user42@zip.com.au>
11178
11179 * subr.el (def-edebug-spec): Doc fix (Bug#8430).
11180
5d344e88
CY
111812011-05-28 Chong Yidong <cyd@stupidchicken.com>
11182
8e6ca83d
CY
11183 * bindings.el (help-echo): Make the initial non-indicator dash
11184 empty on graphical terminals (Bug#7295).
11185
5d344e88
CY
11186 * files.el (auto-mode-alist): Move config rule after the
11187 in-stripping one (Bug#8547).
11188
bfbbace7
CY
11189 * newcomment.el (comment-end-skip): Doc fix (Bug#8659).
11190
fbeba6e2
CY
11191 * startup.el (normal-splash-screen): Remove gratuitous mode-line
11192 setting (Bug#8740).
11193
60ed8c72
AA
111942011-05-28 Alp Aker <aker@pitt.edu> (tiny change)
11195
4ac619f0
AA
11196 * buff-menu.el (Buffer-menu-revert-function, Buffer-menu-sort)
11197 (Buffer-menu-buffer+size): Use Buffer-menu-buffer-column
11198 (Bug#8539).
60ed8c72 11199
23db196e
CY
112002011-05-28 Chong Yidong <cyd@stupidchicken.com>
11201
11202 * emacs-lisp/re-builder.el (re-builder): Improve doc (Bug#8286).
11203
5012f24c
DK
112042011-05-28 Dima Kogan <dkogan@cds.caltech.edu> (tiny change)
11205
11206 * progmodes/hideshow.el (hs-looking-at-block-start-p): New fun.
11207 (hs-hide-block-at-point, hs-find-block-beginning)
11208 (hs-already-hidden-p, hs-hide-block, hs-show-block): Use it
11209 (Bug#8279).
11210
6a639b16
GM
112112011-05-28 Glenn Morris <rgm@gnu.org>
11212
11213 * startup.el (fancy-about-screen): Use standard mode line. (Bug#8740)
11214
d43eaf2c
CY
112152011-05-28 Chong Yidong <cyd@stupidchicken.com>
11216
5199bde1
CY
11217 * help-fns.el (describe-function-1): If the function is a derived
11218 major mode, print the parent mode.
11219
d43eaf2c
CY
11220 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode, java-mode)
11221 (idl-mode, pike-mode, awk-mode): Inherit from prog-mode.
11222
423428a8
SM
112232011-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
11224
0ff8e1ba 11225 * minibuffer.el (completion--capf-wrapper): Check applicability before
0b381c7e 11226 returning non-nil for non-exclusive completion data.
0ff8e1ba
SM
11227 * progmodes/etags.el (tags-completion-at-point-function):
11228 * info-look.el (info-lookup-completions-at-point): Mark as
11229 non-exclusive.
11230 (info-complete): Adjust accordingly.
11231
423428a8
SM
11232 * info-look.el: Convert to lexical-binding and completion-at-point.
11233 (info-lookup-completions-at-point): New function.
11234 (info-complete): Use it and completion-in-region.
11235
b74aa22b
DA
112362011-05-28 Drew Adams <drew.adams@oracle.com>
11237
11238 * isearch.el: Let M-e start with point at the first mismatched char.
11239 (isearch-fail-pos): New function.
11240 (isearch-edit-string): Use it.
11241
66e2e71d
DK
112422011-05-28 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
11243
11244 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
11245
b1890b0f 112462011-05-27 Toby Cubitt <toby-predictive@dr-qubit.org>
eb95d01d
TC
11247
11248 * emacs-lisp/avl-tree.el: New avl-tree-stack datatype. Add new
11249 traversal functions for avl-trees.
11250 (avl-tree--stack): New struct.
11251 (avl-tree-stack-p, avl-tree--stack-repopulate): New funs.
11252 (avl-tree-enter): Add optional `updatefun' arg.
93a1c12a
TC
11253 (avl-tree--do-enter): Add optional `updatefun' arg.
11254 Change return value.
eb95d01d 11255 (avl-tree-delete): Add optional `test' and `nilflag' args.
93a1c12a
TC
11256 (avl-tree--do-delete): Add `test' and `nilflag' args.
11257 Change return value.
eb95d01d
TC
11258 (avl-tree-member): Add optional `nilflag'
11259 (avl-tree-member-p): New function.
11260 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar): New functions.
11261 (avl-tree-stack, avl-tree-stack-pop, avl-tree-stack-first)
11262 (avl-tree-stack-empty-p): New functions.
11263
3769ddcf
TC
11264 * emacs-lisp/avl-tree.el (avl-tree--del-balance): Rename from
11265 avl-tree--del-balance1 and make it work both ways.
11266 (avl-tree--del-balance2): Remove.
11267 (avl-tree--enter-balance): Rename from avl-tree--enter-balance1 and
11268 make it work both ways.
11269 (avl-tree--enter-balance2): Remove.
11270 (avl-tree--switch-dir, avl-tree--dir-to-sign, avl-tree--sign-to-dir):
11271 New macros.
11272 (avl-tree--mapc, avl-tree-map): Add direction argument.
11273
eb95d01d 112742011-05-27 David Michael <fedora.dm0@gmail.com> (tiny change)
7a6b1aef
DM
11275
11276 * files.el (interpreter-mode-alist): Add rbash (bug#8745).
11277
a9f737ee
CY
112782011-05-27 Chong Yidong <cyd@stupidchicken.com>
11279
11280 * select.el: Support clipboard managers with built-in function
11281 x-clipboard-manager-save, via delete-frame-functions and
11282 kill-emacs-hook.
11283 (xselect-convert-to-targets): Add MULTIPLE target to list.
11284 (xselect-convert-to-save-targets): New function.
11285
c92a1e54
KH
112862011-05-27 Kenichi Handa <handa@m17n.org>
11287
11288 * mail/sendmail.el (mail-encode-header): Avoid double encoding by
11289 let-binding rfc2047-encode-encoded-words to nil.
11290
e145f188
GM
112912011-05-27 Glenn Morris <rgm@gnu.org>
11292
5ec8a862
GM
11293 * mail/emacsbug.el: Don't require url-util.
11294
4b29d9fb
GM
11295 * shell.el (shell-directory-tracker): Case matters. (Bug#8735)
11296
e145f188
GM
11297 * files.el (set-auto-mode):
11298 Also respect mode: entries at the end of the file. (Bug#8586)
11299
7d15102b
GM
113002011-05-26 Glenn Morris <rgm@gnu.org>
11301
98f593b8
GM
11302 * files.el (hack-local-variables-prop-line, hack-local-variables):
11303 Downcase mode names, as seems to be traditional.
27b48e63 11304 (hack-local-variables, hack-local-variables-apply): Doc fixes.
98f593b8 11305
7d15102b
GM
11306 * mail/emacsbug.el (report-emacs-bug): Mention checking From address.
11307 (report-emacs-bug-hook): Try to validate the From address. (Bug#8038)
11308
51d5b4ec
JD
113092011-05-25 Julien Danjou <julien@danjou.info>
11310
11311 * textmodes/rst.el (rst-define-level-faces): Do not define face
11312 symbol if it is already defined.
11313
91513f63
VB
113142011-05-24 Vincent Belaïche <vincentb1@users.sourceforge.net>
11315
11316 * play/5x5.el (5x5-new-game, 5x5-randomize):
11317 Reset 5x5-solver-output to nil when a new grid is cast.
11318 (5x5-log-init, 5x5-log): Use defsubst instead of defmacro to shunt
11319 these debugging traces, as defmacro breaks the compiled code.
11320
4d90d6d0
DK
113212011-05-24 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
11322
11323 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
11324
e1b90ef6
LL
113252011-05-24 Leo Liu <sdl.web@gmail.com>
11326
11327 * vc/vc-bzr.el (vc-bzr-sha1-program): Rename from sha1-program.
11328 (vc-bzr-sha1): Adapt.
11329
d8e4b68b 11330 * sha1.el: Remove. Function `sha1' is now builtin.
e1b90ef6
LL
11331
11332 * bindings.el: Provide sha1 feature.
11333
db0406bb 113342011-05-24 Kenichi Handa <handa@m17n.org>
b8d747b9
KH
11335
11336 * mail/sendmail.el: Require `rfc2047'.
11337 (mail-insert-from-field): Do not perform RFC2047 encoding.
11338 (mail-encode-header): New function.
11339 (sendmail-send-it): Set buffer-file-coding-system of the work
4d90d6d0
DK
11340 buffer to the return value of select-message-coding-system.
11341 Call mail-encode-header.
b8d747b9
KH
11342
11343 * mail/smtpmail.el (smtpmail-send-it): Call mail-encode-header.
11344
db0406bb 113452011-05-24 Sean Neakums <sneakums@zork.net> (tiny change)
7261f6ce 11346
4d90d6d0
DK
11347 * mail/supercite.el (sc-default-cite-frame):
11348 Handle sc-nested-citation-p when sc-cite-blank-lines-p is non-nil.
7261f6ce 11349
eb8a5e9b
GM
113502011-05-24 Glenn Morris <rgm@gnu.org>
11351
f8630703
GM
11352 * progmodes/python.el (brm-menu): Declare.
11353
8831bbed
GM
11354 * emulation/viper.el (viper-set-hooks): Declare.
11355
eb8a5e9b
GM
11356 * play/5x5.el (5x5-log-init, 5x5-log): Evaluate when compiling.
11357 (5x5-log-init, 5x5-log, 5x5-solver): Doc fixes.
11358 (math-map-vec, math-sub, math-mul, math-make-intv, math-reduce-vec)
11359 (math-format-number, math-pow, calcFunc-arrange, calcFunc-cvec)
11360 (calcFunc-diag, calcFunc-trn, calcFunc-inv, calcFunc-mrow)
11361 (calcFunc-mcol, calcFunc-vconcat, calcFunc-index): Declare.
11362
a2a25d24
SM
113632011-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
11364
11365 Add an :exit-function for completion-at-point.
11366
11367 * minibuffer.el (completion--done): New fun.
11368 (completion--do-completion): Use it. New arg `expect-exact'.
11369 (minibuffer-complete, minibuffer-complete-word): Don't output message,
11370 since completion--do-completion does it for us now.
11371 (minibuffer-force-complete): Use completion--done and
11372 completion--replace. Handle sole-completion case with more care.
11373 (minibuffer-complete-and-exit): Use new `expect-exact' arg.
11374 (completion-extra-properties): New var.
11375 (completion-annotate-function): Make obsolete.
11376 (minibuffer-completion-help): Adjust accordingly.
11377 Use completion-list-insert-choice-function.
11378 (completion-at-point, completion-help-at-point):
11379 Bind completion-extra-properties.
11380 (completion-pcm-word-delimiters): Add | (for uniquify, for example).
11381 * simple.el (completion-list-insert-choice-function): New var.
11382 (completion-setup-function): Preserve it.
11383 (choose-completion): Pay attention to it, shuffle the code a bit.
11384 (choose-completion-string): New arg `insert-function'.
11385
11386 * textmodes/bibtex.el: Convert to lexical binding.
11387 (bibtex-mode-map): Use completion-at-point.
11388 (bibtex-mode): Use define-derived-mode&completion-at-point-functions.
11389 (bibtex-completion-at-point-function): New fun, from bibtex-complete.
11390 (bibtex-complete): Define as obsolete alias.
11391 (bibtex-complete-internal): Remove.
11392 (bibtex-format-entry): Remove unused sub-group in regexp.
11393 * shell.el (shell--command-completion-data)
11394 (shell-environment-variable-completion):
11395 * pcomplete.el (pcomplete-completions-at-point):
11396 * comint.el (comint--complete-file-name-data): Use :exit-function
11397 instead of completion-table-with-terminator so it also works for
11398 choose-completion.
11399
e44e373d
SM
114002011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
11401
4f91a816
SM
11402 * <lots-of-files>.el: Don't quote lambda expressions with `quote'.
11403
782fc819
SM
11404 * vc/smerge-mode.el (smerge-refine-subst): Don't deactivate the mark
11405 (bug#8710).
11406
e44e373d
SM
11407 * emacs-lisp/lisp.el (up-list): Fix forward movement (bug#8708).
11408
381987c3
KM
114092011-05-23 Ken Manheimer <ken.manheimer@gmail.com>
11410
11411 * allout.el (allout-inhibit-auto-fill-on-headline): Create new
11412 customization variable and implement: If non-nil, auto-fill will
11413 be inhibited while on topic's header line.
11414
b776bc70
VB
114152011-05-23 Vincent Belaïche <vincentb1@users.sourceforge.net>
11416
11417 * play/5x5.el: I/ Add an arithmetic solver to suggest positions to
d8e4b68b 11418 click on. II/ Make 5x5 multisession. III/ Ensure that random grids
b776bc70
VB
11419 always have a solution in grid size = 5 cases.
11420 (5x5-mode-map): Add keybinding to function `5x5-solve-suggest'.
11421 (5x5-solver-output, 5x5-log-buffer): New vars.
11422 (5x5-grid, 5x5-x-pos, 5x5-y-pos, 5x5-moves, 5x5-cracking):
11423 Make these variables buffer local to achieve 5x5 multi-session-ness.
11424 (5x5): Set 5x5-grid-size only if SIZE is non-negative.
11425 (5x5-grid-to-vec, 5x5-vec-to-grid, 5x5-log-init, 5x5-log, 5x5-solver)
11426 (5x5-solve-suggest): New funs.
11427 (5x5-randomize): Use 5x5-make-move instead of 5x5-flip-cell to
11428 randomize a grid so that we ensure that there is always a solution.
11429 (5x5-make-random-grid): Allow other movement than flipping.
11430
7de88b6e
KR
114312011-05-23 Kevin Ryde <user42@zip.com.au>
11432
11433 * emacs-lisp/advice.el (ad-read-advised-function):
5a5fa834 11434 Use `function-called-at-point' as the default, if it has
7de88b6e
KR
11435 advice and passes PREDICATE.
11436
b1ef1257
SM
114372011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
11438
bbca48fe
SM
11439 * emacs-lisp/bytecomp.el (byte-compile-function-form): Only call
11440 byte-compile-lambda if it's actually a lambda.
11441
b1ef1257
SM
11442 * emacs-lisp/eieio.el (eieio-defgeneric-form-primary-only-one):
11443 Fix function quoting. Use backquote better.
11444
92a9cc65
YS
114452011-05-22 Yuanle Song <sylecn@gmail.com>
11446
11447 * nxml/rng-xsd.el (rng-xsd-check-pattern): Use case-sensitive
11448 matching (Bug#8516).
11449
f0fb8059
JA
114502011-01-22 Jari Aalto <jari.aalto@cante.net>
11451
11452 * vc/vc-dir.el (vc-default-dir-printer): Give edited tag a
11453 different face (Bug#8178).
11454
d5b44c93
CY
114552011-05-22 Chong Yidong <cyd@stupidchicken.com>
11456
11457 * vc/diff-mode.el (diff-changed): Don't use terminal specs for
11458 defface (Bug#8144).
11459
79106a44
SM
114602011-05-22 Stefan Monnier <monnier@iro.umontreal.ca>
11461
9c848d8a
SM
11462 * emacs-lisp/macroexp.el (macroexpand-all-1): Convert ' to #' for
11463 funcall as well (bug#8712). Warn when performing those conversions.
11464 * emacs-lisp/bytecomp.el (byte-compile-form): Fix error report.
11465
79106a44
SM
11466 * progmodes/grep.el (grep-mode): Fix it for good (bug#8684)!
11467
88dfa756
GM
114682011-05-22 Glenn Morris <rgm@gnu.org>
11469
11470 * files.el (hack-local-variables-prop-line): Small simplifications.
11471 (hack-local-variables, hack-local-variables-prop-line):
11472 If MODE-ONLY, return the mode, rather than just `t'.
11473
b7cf2c79
SM
114742011-05-21 Stefan Monnier <monnier@iro.umontreal.ca>
11475
11476 * progmodes/grep.el (grep-mode): Fix last change (bug#8684).
11477
3f1a8558
GM
114782011-05-21 Glenn Morris <rgm@gnu.org>
11479
7e4ccca3
GM
11480 * files.el (hack-local-variables-prop-line, hack-local-variables):
11481 If only interested in the mode, don't bother doing the other stuff.
11482
637d46ca
GM
11483 * image-mode.el (image-after-revert-hook):
11484 Redraw all frames on which the image is visible. (Bug#8567)
11485
973d955b
GM
11486 * dired-aux.el (dired-touch-initial): Just use current-time. (Bug#6887)
11487
3f1a8558
GM
11488 * wid-edit.el (widget-checklist-match-inline):
11489 Fix 2011-04-19 change. (Bug#8649)
11490
96479927
SM
114912011-05-20 Stefan Monnier <monnier@iro.umontreal.ca>
11492
1dcf791f
SM
11493 * emacs-lisp/checkdoc.el (checkdoc-sentencespace-region-engine):
11494 Also allow singlespace after single-letter capitals followed by a dot.
11495
96479927
SM
11496 * nxml/nxml-mode.el (nxml-electric-slash): Reindent when completion is
11497 enabled. Suggested by James Ahlborn <jahlborn@gmail.com> (bug#8704).
11498
35fd0881
N
114992011-05-20 Nix <nix@esperi.org.uk>
11500
11501 * files.el (basic-save-buffer-2):
11502 Fix handling of break-hardlink-on-save with non-existent files.
11503
82745640
DD
115042011-05-19 Deniz Dogan <deniz@dogan.se>
11505
11506 * net/rcirc.el (rcirc-mode): Initialize rcirc-urls to nil.
9ff90d99 11507 (rcirc-markup-urls): Check if rcirc-url-regexp is nil.
82745640 11508
4a720484
GM
115092011-05-19 Glenn Morris <rgm@gnu.org>
11510
d1f21341
GM
11511 * progmodes/f90.el (f90-type-def-re):
11512 Handle "type, bind(c)". (Bug#8691)
11513
4a720484
GM
11514 * emacs-lisp/autoload.el (batch-update-autoloads):
11515 Set autoload-excludes by parsing loadup.el rather than Makefiles.
11516
2fb0a219
MA
115172011-05-18 Michael Albinus <michael.albinus@gmx.de>
11518
11519 * net/tramp.el (tramp-process-actions): Set "first-password-request"
11520 property for the correct connection in case of multihops.
11521
e565dd37
GM
115222011-05-18 Glenn Morris <rgm@gnu.org>
11523
c2571358 11524 * emacs-lisp/authors.el (authors-fixed-entries): Remove fakemail.c.
c136e5cd
GM
11525 * mail/sendmail.el (sendmail-program): Fall back to just "sendmail".
11526
e565dd37
GM
11527 Rationalize calendar handling of day and month abbrev-arrays.
11528 * calendar/calendar.el (calendar-customized-p): New function.
11529 (calendar-abbrev-construct, calendar-make-alist): Change what it does.
11530 (calendar-day-name-array, calendar-month-name-array): Doc fix.
11531 Add :set function.
11532 (calendar-abbrev-length, calendar-day-abbrev-array)
11533 (calendar-month-abbrev-array): Make defcustoms, with appropriate :set.
11534 (calendar-day-abbrev-array, calendar-month-abbrev-array):
11535 Elements may no longer be nil.
11536 (calendar-day-name, calendar-month-name):
11537 Update for changed nature of abbrev arrays.
11538 * calendar/diary-lib.el (diary-name-pattern):
11539 Update for changed nature of abbrev arrays.
11540 (diary-mark-entries-1): Update calendar-make-alist calls.
11541 (diary-font-lock-date-forms): Doc fix for changed abbrev arrays.
11542 * calendar/cal-html.el (cal-html-day-abbrev-array):
11543 Simply inherit from calendar-day-abbrev-array.
11544
1d99a745
SM
115452011-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
11546
11547 * progmodes/grep.el (grep-mode): Disable default
11548 compilation-directory-matcher setting (bug#8684).
11549
7c1d9aa0
MA
115502011-05-17 Michael Albinus <michael.albinus@gmx.de>
11551
11552 * net/tramp.el (tramp-handle-insert-file-contents): Use "dd"
11553 instead of "head" and "tail". There were problems with SunOS 5.9,
11554 and it performs better.
11555
3952e9d8
GM
115562011-05-17 Glenn Morris <rgm@gnu.org>
11557
2dd12e7f
GM
11558 * mail/mail-utils.el (mail-dont-reply-to): Silence compiler.
11559
e4157b9c
GM
11560 * progmodes/idlw-shell.el (idlwave-shell-complete-filename):
11561 Replace obsolete function.
11562
8e249bbd
GM
11563 * shell.el (pcomplete-parse-arguments-function): Declare.
11564
3952e9d8
GM
11565 * calendar/appt.el (appt-message-warning-time, appt-display-mode-line)
11566 (appt-display-diary, appt-display-interval, appt-prev-comp-time)
11567 (appt-check): Doc fixes.
11568 (appt-disp-window-function, appt-delete-window-function):
11569 Remove needless special case in custom :type.
11570 (appt-display-count): Default to 0, not nil.
11571 (appt-check): Reset appt-display-count to 0, not nil.
11572
c71a0d48 115732011-05-17 Juanma Barranquero <lekktu@gmail.com>
165fd2df 11574
c71a0d48
GM
11575 * progmodes/python.el (python-font-lock-keywords):
11576 Add the Python 3.X keyword "nonlocal" (bug#8639).
165fd2df 11577
31d55be9
SM
115782011-05-16 Stefan Monnier <monnier@iro.umontreal.ca>
11579
11580 * emacs-lisp/eieio.el (defmethod): Fix quoting of code (bug#8677).
11581
3bfacb2f
KR
115822011-05-16 Kevin Ryde <user42@zip.com.au>
11583
11584 * info-look.el (makefile-automake-mode): New setups, looking in
11585 automake manual, then makefile-mode.
11586 (makefile-mode): Remove automake manual, have it just in
11587 makefile-automake-mode since there's various things different or
11588 not relevant to plain make.
11589 (makefile-mode): Remove "other-modes" non-existent automake-mode,
11590 believe a hypothetical automake-mode would go to makefile-mode,
11591 not the other way around.
11592
c8e83751
CY
115932011-05-15 Chong Yidong <cyd@stupidchicken.com>
11594
5e9e35cd
CY
11595 * vc/diff-mode.el (diff-fixup-modifs): Locate correct position for
11596 hunk-end tags (Bug#8672).
11597
c8e83751
CY
11598 * vc/vc-annotate.el (vc-annotate-mode-map): Bind = to
11599 vc-annotate-show-diff-revision-at-line (Bug#8671).
11600
50b23e5a
GM
116012011-05-14 Glenn Morris <rgm@gnu.org>
11602
7210a739
GM
11603 * vc/add-log.el (add-change-log-entry): Don't start adding a new entry
11604 in the middle of an existing one with multiple authors. (Bug#8645)
375cb676
GM
11605 (change-log-font-lock-keywords): Also handle multiple author lines
11606 with leading tabs. (Bug#8644)
7210a739 11607
4691905a
GM
11608 * calendar/appt.el (appt-check): Rename some local variables.
11609 Some simplification/reordering.
11610
50b23e5a
GM
11611 * mail/feedmail.el (feedmail-confirm-outgoing-timeout)
11612 (feedmail-sendmail-f-doesnt-sell-me-out)
11613 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
11614 (feedmail-debug-sit-for, feedmail-queue-express-hook)
11615 (feedmail-queue-runner-message-sender): Set :version.
1aa64307
GM
11616 (bbdb-search, bbdb-records, smtp-via-smtp, smtp-server)
11617 (bbdb-dwim-net-address, vm-mail): Declare.
50b23e5a
GM
11618 (feedmail-binmail-gnulinuxish-template):
11619 Rename from feedmail-binmail-linuxish-template.
11620 (feedmail-buffer-to-smtp, feedmail-vm-mail-mode):
11621 Use insert-buffer-substring.
11622
215cda7c
BC
116232011-05-14 Bill Carpenter <bill@carpenter.org>
11624
11625 * mail/feedmail.el (feedmail-patch-level): Increase.
11626 (feedmail-debug): New custom group.
11627 (feedmail-confirm-outgoing-timeout)
11628 (feedmail-sendmail-f-doesnt-sell-me-out)
11629 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
11630 (feedmail-debug-sit-for, feedmail-queue-express-hook): New options.
11631 (feedmail-sender-line, feedmail-from-line)
11632 (feedmail-fiddle-headers-upwardly, feedmail-enable-spray)
c2571358 11633 (feedmail-spray-this-address)
215cda7c
BC
11634 (feedmail-spray-address-fiddle-plex-list)
11635 (feedmail-queue-use-send-time-for-date)
11636 (feedmail-queue-use-send-time-for-message-id)
11637 (feedmail-last-chance-hook, feedmail-queue-runner-mode-setter)
11638 (feedmail-buffer-eating-function):
11639 Doc fixes.
11640 (feedmail-spray-via-bbdb, feedmail-buffer-to-smtp)
11641 (feedmail-vm-mail-mode, feedmail-message-action-scroll-up)
11642 (feedmail-message-action-scroll-down): New functions.
11643 (feedmail-queue-directory, feedmail-queue-draft-directory):
11644 Use expand-file-name.
11645 (feedmail-prompt-before-queue-standard-alist): Add scroll entries.
11646 Remove C-v help entry.
11647 (feedmail-queue-buffer-file-name): New variable.
11648 (feedmail-mail-send-hook-splitter, feedmail-buffer-to-binmail)
11649 (feedmail-buffer-to-smtpmail, feedmail-queue-express-to-draft)
11650 (feedmail-message-action-send-strong, feedmail-message-action-edit)
11651 (feedmail-message-action-draft, feedmail-message-action-draft-strong)
11652 (feedmail-message-action-queue, feedmail-message-action-queue-strong)
11653 (feedmail-message-action-toggle-spray)
11654 (feedmail-run-the-queue-no-prompts)
11655 (feedmail-run-the-queue-global-prompt, feedmail-queue-reminder)
11656 (feedmail-look-at-queue-directory, feedmail-queue-subject-slug-maker)
11657 (feedmail-create-queue-filename, feedmail-rfc822-time-zone):
11658 (feedmail-fiddle-header, feedmail-give-it-to-buffer-eater)
11659 (feedmail-envelope-deducer, feedmail-fiddle-from)
11660 (feedmail-fiddle-sender, feedmail-default-date-generator)
11661 (feedmail-fiddle-date, feedmail-fiddle-message-id)
11662 (feedmail-fiddle-spray-address)
11663 (feedmail-fiddle-list-of-spray-fiddle-plexes)
11664 (feedmail-fiddle-list-of-fiddle-plexes)
11665 (feedmail-fill-to-cc-function, feedmail-fill-this-one)
11666 (feedmail-one-last-look, feedmail-fqm-p): Add debug calls.
11667 (feedmail-queue-runner-message-sender, feedmail-binmail-template):
11668 Change default. Doc fix.
11669 (feedmail-queue-runner-cleaner-upper): Use feedmail-say-chatter.
11670 (feedmail-binmail-linuxish-template): New constant.
11671 (feedmail-buffer-to-sendmail): Doc fix. Add debug call.
11672 Respect feedmail-sendmail-f-doesnt-sell-me-out.
11673 (feedmail-send-it): Add debug call.
11674 Use feedmail-queue-buffer-file-name, and
11675 feedmail-send-it-immediately-wrapper.
11676 (feedmail-message-action-send): Add debug call.
11677 Use feedmail-send-it-immediately-wrapper.
11678 (feedmail-queue-express-to-queue): Add debug call.
11679 Run feedmail-queue-express-hook.
11680 (feedmail-message-action-help): Add debug call. Use feedmail-p-h-b-n.
11681 (feedmail-message-action-help-blat):
11682 Rename from feedmail-queue-send-edit-prompt-help-first.
11683 (feedmail-run-the-queue): Add debug call. Set buffer-file-type.
11684 Check line-endings. Handle errors better.
11685 (feedmail-queue-reminder-brief, feedmail-queue-reminder-medium):
11686 Doc fix. Add debug call.
11687 (feedmail-queue-send-edit-prompt): Doc fix. Add debug call.
11688 Use feedmail-queue-send-edit-prompt-inner.
11689 (feedmail-queue-runner-prompt, feedmail-scroll-buffer): New functions.
11690 (feedmail-queue-send-edit-prompt-inner): New function, extracted
11691 from feedmail-queue-send-edit-prompt.
11692 (feedmail-queue-send-edit-prompt-help)
11693 (feedmail-queue-send-edit-prompt-help-later): Remove functions.
11694 (feedmail-tidy-up-slug): Add debug call.
11695 Respect feedmail-queue-slug-suspect-regexp.
11696 (feedmail-queue-subject-slug-maker): Use buffer-substring-no-properties.
11697 (feedmail-dump-message-to-queue): Add debug call.
11698 Expand queue-directory.
11699 (feedmail-dump-message-to-queue): Change message slightly.
11700 Use feedmail-say-chatter.
11701 (feedmail-rfc822-date): Add debug call. Bind system-time-locale.
11702 (feedmail-send-it-immediately-wrapper): New function.
11703 (feedmail-send-it-immediately): Add debug calls. Use let not let*.
11704 Insert empty string rather than newline. Handle full-frame case.
11705 Use catch/throw. Use feedmail-say-chatter.
11706 (feedmail-fiddle-from): Try mail-host-address.
11707 (feedmail-default-message-id-generator): Doc fix.
11708 Bind system-time-locale. Handle missing end.
11709 (feedmail-fiddle-x-mailer): Add debug call.
11710 Handle feedmail-x-mailer-line being nil.
11711 (feedmail-accume-n-nuke-header, feedmail-deduce-address-list):
11712 Add debug call. Use buffer-substring-no-properties.
11713 (feedmail-say-debug, feedmail-say-chatter): New functions.
11714 (feedmail-find-eoh): Give an explicit error.
11715
42c7e61e
UJ
117162011-05-13 Ulf Jasper <ulf.jasper@web.de>
11717
c2571358 11718 * net/newst-treeview.el (newsticker-treeview-face): Change default
42c7e61e 11719 family from helvetica to sans.
c2571358 11720 (newsticker-treeview-tool-bar-map): Move tool-bar icons to
42c7e61e
UJ
11721 etc/images/newsticker.
11722
c2571358 11723 * net/newst-reader.el (newsticker-feed-face): Change default
42c7e61e
UJ
11724 family from helvetica to sans.
11725
11726 * net/newst-plainview.el (newsticker-new-item-face)
11727 (newsticker-old-item-face, newsticker-immortal-item-face)
11728 (newsticker-obsolete-item-face, newsticker-date-face)
c2571358 11729 (newsticker-statistics-face): Change default family from
42c7e61e 11730 helvetica to sans.
c2571358 11731 (newsticker--plainview-tool-bar-map): Move tool-bar icons to
42c7e61e
UJ
11732 etc/images/newsticker.
11733
5d3385a0
JB
11734 * net/newst-backend.el (newsticker--do-run-auto-mark-filter)
11735 (newsticker--process-auto-mark-filter-match): Tell user about
42c7e61e
UJ
11736 auto-marking.
11737
8497a297
DV
117382011-05-13 Didier Verna <didier@xemacs.org>
11739
11740 Common Lisp indentation improvements on defmethod and lambda-lists.
4d61f28d
JB
11741 * emacs-lisp/cl-indent.el: Advertise the changes and remove obsolete
11742 TODO entries.
8497a297
DV
11743 (lisp-lambda-list-keyword-parameter-indentation)
11744 (lisp-lambda-list-keyword-parameter-alignment)
11745 (lisp-lambda-list-keyword-alignment): New customizable user options.
11746 (lisp-indent-defun-method): Improve docstring.
11747 (extended-loop-p): Fix comment.
11748 (lisp-indent-lambda-list-keywords-regexp): New variable.
11749 (lisp-indent-lambda-list): New function.
11750 (lisp-indent-259): Use it.
11751 (lisp-indent-defmethod): Support for more than one
11752 method qualifier and properly indent methods lambda-lists.
11753 (defgeneric): Provide a missing common-lisp-indent-function property.
11754
f278f87f
SM
117552011-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
11756
11757 * thingatpt.el (bounds-of-thing-at-point): Return nil rather than
11758 bounds for the empty string (bug#8667).
11759
5233edd7
GM
117602011-05-13 Glenn Morris <rgm@gnu.org>
11761
5237a44f
GM
11762 * mail/feedmail.el (feedmail-buffer-to-sendmail): Require sendmail.
11763
8340026c 11764 * mail/sendmail.el (sendmail-program): Try executable-find first.
f278f87f 11765 (sendmail-send-it): `sendmail-program' cannot be unbound.
8340026c 11766
5233edd7 11767 * calendar/appt.el (appt-make-list): Simplify.
4accbca6 11768 (appt-time-msg-list): Doc fix.
a5464014 11769 (appt-check): Change mode-line message at the time of the appointment.
5233edd7 11770
92d10796
AS
117712011-05-12 Andreas Schwab <schwab@linux-m68k.org>
11772
11773 * progmodes/ld-script.el (ld-script-keywords)
11774 (ld-script-builtins): Update keywords list.
11775
914a0ae1
SM
117762011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
11777
c89be45f
SM
11778 * progmodes/grep.el (grep-filter): Don't trip on partial lines.
11779
914a0ae1
SM
11780 * shell.el (shell-completion-vars): New function.
11781 (shell-mode):
11782 * simple.el (read-shell-command): Use it.
11783 (blink-matching-open): No need for " [...]" in minibuffer-message.
11784
98dc3df3
GM
117852011-05-12 Glenn Morris <rgm@gnu.org>
11786
11787 * calendar/appt.el (appt-now-displayed): Remove pointless variable.
11788 (appt-check): Simplify.
11789
d2fc7e3d 117902011-05-12 Eli Zaretskii <eliz@gnu.org>
0e39ec21 11791
4d61f28d 11792 * vc/smerge-mode.el (smerge-resolve): Use null-device rather than a
0e39ec21
EZ
11793 literal "/dev/null".
11794
d2fc7e3d 117952011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
3f254caa
SM
11796
11797 * emacs-lisp/lisp.el (lisp-complete-symbol, lisp-completion-at-point):
11798 Fix typo.
11799
d2fc7e3d 118002011-05-12 Ralph Schleicher <rs@ralph-schleicher.de>
6eea50c7 11801
3f254caa
SM
11802 * progmodes/which-func.el (which-function):
11803 Use add-log-current-defun instead of add-log-current-defun-function,
6eea50c7
RS
11804 which might not be defined (Bug#8260).
11805
d45885f7
GM
118062011-05-12 Glenn Morris <rgm@gnu.org>
11807
11808 * emacs-lisp/bytecomp.el (byte-compile-file-form-defmumble):
11809 Let byte-compile-initial-macro-environment always take precedence.
11810
488086f4
SM
118112011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
11812
11813 * net/rcirc.el: Add support for SSL/TLS connections.
11814 (rcirc-server-alist): New field `encryption'.
11815 (rcirc): Check `encryption' settings.
11816 (rcirc-connect): New arg `encryption'. Use open-network-stream.
11817 Merge make-local-variable into `set'.
11818 (rcirc--connection-open-p): New function.
11819 (rcirc-send-string, rcirc-clean-up-buffer): Use it to handle case where
11820 the process is not a network process (e.g. running gnutls-cli).
11821 (set-rcirc-decode-coding-system, set-rcirc-encode-coding-system):
11822 Make rcirc-(en|de)code-coding-system local here.
11823 (rcirc-mode): Merge make-local-variable into `set'.
11824 (rcirc-parent-buffer): Make permanent buffer-local.
11825 (rcirc-multiline-minor-mode): Don't do it here.
11826 (rcirc-switch-to-server-buffer): Don't switch to a random buffer if
11827 there's no server buffer.
11828
7d3b9d44
GM
118292011-05-11 Glenn Morris <rgm@gnu.org>
11830
f64049c6
GM
11831 * newcomment.el (comment-kill): Prefix "unused" local.
11832
93c9df73
GM
11833 * term/w32console.el (get-screen-color): Declare.
11834
7d3b9d44
GM
11835 * emacs-lisp/bytecomp.el (byte-compile-arglist-warn):
11836 Handle symbol elements of byte-compile-initial-macro-environment.
11837
9e2dd53f
LL
118382011-05-10 Leo Liu <sdl.web@gmail.com>
11839
488086f4
SM
11840 * bookmark.el (bookmark-bmenu-mode-map):
11841 Bind bookmark-bmenu-search to `/'.
8b340240 11842
9e2dd53f 11843 * mail/footnote.el: Convert to utf-8 encoding.
b4044869
LL
11844 (footnote-unicode-string, footnote-unicode-regexp): New variable.
11845 (Footnote-unicode): New function.
11846 (footnote-style-alist): Add unicode style to the list.
11847 (footnote-style): Doc fix.
9e2dd53f 11848
79b70037
GM
118492011-05-10 Jim Meyering <meyering@redhat.com>
11850
11851 Fix doubled-word typos.
11852 * international/quail.el (quail-insert-kbd-layout): and and -> and
11853 * kermit.el: and and -> and
11854 * net/ldap.el (ldap-search-internal): to to -> to
11855 * progmodes/vhdl-mode.el (vhdl-offsets-alist): Likewise.
11856 * progmodes/js.el (js-mode): and and -> and
11857 * textmodes/artist.el (artist-move-to-xy): at at -> at
11858 (artist-draw-region-trim-line-endings): if if -> if
11859 And Safetyc -> Safety.
11860 * textmodes/reftex-dcr.el (reftex-view-crossref): at at -> at a
11861
b8f82dc1 118622011-05-10 Glenn Morris <rgm@gnu.org>
c2571358 11863 Stefan Monnier <monnier@iro.umontreal.ca>
b8f82dc1
GM
11864
11865 * files.el (hack-one-local-variable-eval-safep):
11866 Consider "eval: (foo-mode)" to be safe. (Bug#8613)
11867
4f99f44b
GM
118682011-05-10 Glenn Morris <rgm@gnu.org>
11869
11870 * calendar/diary-lib.el (diary-list-entries-hook)
11871 (diary-mark-entries-hook, diary-nongregorian-listing-hook)
11872 (diary-nongregorian-marking-hook, diary-list-entries)
11873 (diary-include-other-diary-files, diary-mark-entries)
11874 (diary-mark-included-diary-files): Doc fixes.
11875
84f29e6b
JB
118762011-05-09 Juanma Barranquero <lekktu@gmail.com>
11877
11878 * misc.el: Require tabulated-list.el during compilation.
11879
9bedd73a
CY
118802011-05-09 Chong Yidong <cyd@stupidchicken.com>
11881
488086f4
SM
11882 * progmodes/compile.el (compilation-start):
11883 Run compilation-filter-hook for the async case too.
9bedd73a
CY
11884 (compilation-filter-hook): Doc fix.
11885
797c735c
DD
118862011-05-09 Deniz Dogan <deniz@dogan.se>
11887
11888 * wdired.el: Remove outdated installation comment. Fix usage
11889 comment.
11890
5f4b1dfe
JB
118912011-05-09 Juanma Barranquero <lekktu@gmail.com>
11892
11893 * misc.el: Implement new command `list-dynamic-libraries'.
11894 (list-dynamic-libraries--loaded-only-p): New variable.
11895 (list-dynamic-libraries--refresh): New function.
11896 (list-dynamic-libraries): New command.
11897
4c44026c
CY
118982011-05-09 Chong Yidong <cyd@stupidchicken.com>
11899
488086f4
SM
11900 * progmodes/compile.el (compilation-error-regexp-alist-alist):
11901 Fix the ant regexp to handle end-line and end-column info from jikes.
4c44026c
CY
11902 Re-introduce maven regexp. Give the ruby-Test::Unit regexp a
11903 higher priority to avoid clobbering by gnu.
11904
027f966d
CY
119052011-05-08 Chong Yidong <cyd@stupidchicken.com>
11906
11907 * cus-face.el (custom-declare-face): Call custom-theme-recalc-face
11908 if the face has existing theme settings (Bug#8454).
11909
085f5d7d
CY
119102011-05-08 Ralph Schleicher <rs@ralph-schleicher.de>
11911
488086f4
SM
11912 * progmodes/perl-mode.el (perl-imenu-generic-expression):
11913 Only match variables declared via `my' or `our' (Bug#8261).
085f5d7d 11914
2a86a00c
RS
11915 * net/browse-url.el (browse-url-of-dired-file): Allow browsing of
11916 special file names `.' and `..' (Bug#8259).
11917
d9c54a06
CY
119182011-05-08 Chong Yidong <cyd@stupidchicken.com>
11919
488086f4
SM
11920 * progmodes/grep.el (grep-mode-font-lock-keywords):
11921 Remove buffer-changing entries.
d9c54a06
CY
11922 (grep-filter): New function.
11923 (grep-mode): Add it to compilation-filter-hook.
11924
11925 * progmodes/compile.el (compilation-filter-hook)
11926 (compilation-filter-start): New defvars.
11927 (compilation-filter): Call compilation-filter-hook prior to
11928 updating the process mark.
11929
c4662635
SM
119302011-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
11931
11932 * emacs-lisp/eieio.el (defmethod): Fix typo in last change.
11933
b0512a1d
EZ
119342011-05-07 Eli Zaretskii <eliz@gnu.org>
11935
605c9376
EZ
11936 * mail/sendmail.el (send-mail-function): On MS-Windows, default to
11937 mailclient-send-it even if window-system is nil. (Bug#8595)
11938
c4662635
SM
11939 * term/w32console.el (terminal-init-w32console):
11940 Call get-screen-color and use its output to set the frame
b0512a1d
EZ
11941 background-mode. (Bug#8597)
11942
d1dc2cc2
SM
119432011-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
11944
11945 Make bytecomp.el understand that defmethod defines funs (bug#8631).
11946 * emacs-lisp/eieio.el (eieio--defalias, eieio--defgeneric-init-form):
11947 New functions.
11948 (defgeneric, eieio--defmethod): Use them.
11949 (eieio-defgeneric): Remove.
11950 (defmethod): Call defgeneric in a way visible to the byte-compiler.
11951
915d1300
GM
119522011-05-07 Glenn Morris <rgm@gnu.org>
11953
a3961c3e
GM
11954 * calendar/timeclock.el (timeclock-log-data): Remove unused local.
11955 Use let rather than let*.
11956 (timeclock-find-discrep): Remove unused local.
11957
314347b9
GM
11958 * calendar/diary-lib.el (diary-comment-start): Doc fix.
11959
915d1300
GM
11960 * calendar/appt.el (appt-time-msg-list): Doc fix.
11961
275b59b0
NF
119622011-05-06 Noah Friedman <friedman@splode.com>
11963
11964 * apropos.el (apropos-print-doc): Only use
11965 emacs-lisp-docstring-fill-column when it is bound to an integer,
11966 per that variable's documentation.
11967
6c19f744
SM
119682011-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
11969
11970 * lpr.el (print-region-1): Echo lpr-program's output, so error messages
d1dc2cc2 11971 and warnings are not silently discarded (e.g. use -d instead of -P).
6c19f744 11972
60f884b2
GM
119732011-05-06 Glenn Morris <rgm@gnu.org>
11974
5006e634
GM
11975 * calendar/appt.el (appt-message-warning-time): Doc fix.
11976 (appt-warning-time-regexp): New option.
11977 (appt-make-list): Respect appt-message-warning-time.
11978
548d0a63
GM
11979 * calendar/diary-lib.el (diary-comment-start, diary-comment-end):
11980 New options.
11981 (diary-add-to-list): Strip comments from the displayed string.
11982 (diary-mode): Set comment-start and comment-end.
11983
60f884b2
GM
11984 * vc/diff-mode.el (smerge-refine-subst): Declare.
11985 (diff-refine-hunk): Don't require smerge-mode when compiling.
11986
989681bb
JB
119872011-05-06 Juanma Barranquero <lekktu@gmail.com>
11988
11989 * simple.el (list-processes): Return nil as the docstring says.
11990
a6bc05e1
MA
119912011-05-05 Michael Albinus <michael.albinus@gmx.de>
11992
11993 * net/ange-ftp.el (ange-ftp-binary-file-name-regexp): Set default
11994 to "".
11995 (ange-ftp-write-region, ange-ftp-insert-file-contents)
11996 (ange-ftp-copy-file-internal): Use only `ange-ftp-binary-file' for
11997 determining of binary transfer. (Bug#7383)
11998
23c22e9a
MA
119992011-05-05 Michael Albinus <michael.albinus@gmx.de>
12000
c4662635
SM
12001 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
12002 Fix port computation bug. (Bug#8618)
23c22e9a 12003
0bff894f
GM
120042011-05-05 Glenn Morris <rgm@gnu.org>
12005
b8296902
GM
12006 * allout-widgets.el (allout-widgets-mode-inhibit): Declare before use.
12007
1f522ce8
GM
12008 * simple.el (shell-dynamic-complete-functions)
12009 (comint-dynamic-complete-functions): Declare.
12010
cf5bee67
GM
12011 * net/network-stream.el (gnutls-negotiate):
12012 * simple.el (tabulated-list-print): Fix declarations.
12013
12014 * progmodes/gud.el (syntax-symbol, syntax-point):
12015 Remove unnecessary and incorrect declarations.
12016
0bff894f
GM
12017 * emacs-lisp/check-declare.el (check-declare-scan):
12018 Handle byte-compile-initial-macro-environment in bytecomp.el
12019
9869b3ae
SM
120202011-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
12021
12022 Fix earlier half-done eieio-defmethod change (bug#8338).
12023 * emacs-lisp/eieio.el (eieio--defmethod): Rename from eieio-defmethod.
12024 Streamline and change calling convention.
12025 (defmethod): Adjust accordingly and simplify.
12026 (eieio-defclass): Fix broken calls to eieio-defmethod and redirect to
12027 new eieio--defmethod.
12028 (slot-boundp): Minor CSE simplification.
12029
9c1d5ac5
MZ
120302011-05-05 Milan Zamazal <pdm@zamazal.org>
12031
12032 * progmodes/glasses.el (glasses-separate-capital-groups): New option.
12033 (glasses-make-readable): Use glasses-separate-capital-groups.
12034
455c834e
JB
120352011-05-05 Juanma Barranquero <lekktu@gmail.com>
12036
12037 * emacs-lisp/warnings.el (warning-level-aliases): Reflow docstring.
12038 (warning-series): Doc fix.
12039 (display-warning): Don't try to create the buffer if we just found it.
12040
9ed7c8cb
CY
120412011-05-04 Chong Yidong <cyd@stupidchicken.com>
12042
12043 * emacs-lisp/autoload.el (generated-autoload-file): Set to nil.
12044 (autoload-find-generated-file): New function.
12045 (generate-file-autoloads): Bind generated-autoload-file to
12046 buffer-file-name.
9869b3ae
SM
12047 (update-file-autoloads, update-directory-autoloads):
12048 Use autoload-find-generated-file. If called interactively, prompt for
9ed7c8cb
CY
12049 output file (Bug#7989).
12050 (batch-update-autoloads): Doc fix.
12051
0898ca10
JB
120522011-05-04 Juanma Barranquero <lekktu@gmail.com>
12053
12054 * term/w32-win.el (dynamic-library-alist): Add `gnutls'.
12055
31dfb76c
GM
120562011-05-04 Glenn Morris <rgm@gnu.org>
12057
f330b642
GM
12058 * calendar/diary-lib.el (diary-fancy-date-pattern): Turn it into a
12059 function, so it follows changes in calendar-date-style.
12060 (diary-fancy-date-matcher): New function.
12061 (diary-fancy-font-lock-keywords): Use diary-fancy-date-matcher.
12062 (diary-fancy-font-lock-fontify-region-function):
12063 Use diary-fancy-date-pattern as a function.
12064
31dfb76c
GM
12065 * calendar/diary-lib.el (diary-fancy-date-pattern): Do not use
12066 non-numbers for `year' etc pseudo-variables. (Bug#8583)
12067
48e79d6a
TZ
120682011-05-04 Teodor Zlatanov <tzz@lifelogs.com>
12069
12070 * net/gnutls.el (gnutls-negotiate): Use CL-style keyword arguments
12071 instead of positional arguments. Allow :keylist and :crlfiles
12072 arguments.
12073 (open-gnutls-stream): Call it.
12074
12075 * net/network-stream.el (network-stream-open-starttls): Adjust to
12076 call `gnutls-negotiate' with :process and :hostname arguments.
12077
dd5a5ee0
SM
120782011-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
12079
ef80fc09
SM
12080 * minibuffer.el (completion--message): New function.
12081 (completion--do-completion, minibuffer-complete)
12082 (minibuffer-force-complete, minibuffer-complete-word): Use it.
12083 (completion--do-completion): Don't ignore completion-auto-help when in
12084 icomplete-mode.
12085
dd5a5ee0
SM
12086 * whitespace.el (whitespace-trailing-regexp): Don't rely on the
12087 internal encoding (e.g. tibetan zero is not whitespace).
12088 (global-whitespace-mode): Prefer save-current-buffer.
12089 (whitespace-trailing-regexp): Remove useless save-match-data.
12090 (whitespace-empty-at-bob-regexp): Minor simplification.
12091
b7d22a83
CY
120922011-05-03 Chong Yidong <cyd@stupidchicken.com>
12093
12094 * emacs-lisp/autoload.el (generated-autoload-file): Doc fix (Bug#7989).
12095
5192af46
AM
120962011-05-03 Agustín Martín Domingo <agustin.martin@hispalinux.es>
12097
12098 * textmodes/ispell.el (ispell-add-per-file-word-list):
cdc4a047 12099 Use `concat' to create string for insertion.
5192af46 12100
5767d190
SM
121012011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
12102
12103 * textmodes/bibtex.el (bibtex-fill-field-bounds, bibtex-fill-entry):
12104 Avoid open-line which runs post-self-insert-hook.
12105 (bibtex-fill-entry): Remove unused `end' var.
12106
bf242939
AM
121072011-05-03 Dirk Ullrich <dirk.ullrich@googlemail.com> (tiny change)
12108
5767d190
SM
12109 * textmodes/ispell.el (ispell-add-per-file-word-list):
12110 Protect against `nil' value of `comment-start' (Bug#8579).
bf242939 12111
25666126
LL
121122011-05-03 Leo Liu <sdl.web@gmail.com>
12113
12114 * isearch.el (isearch-yank-pop): New command.
5767d190 12115 (isearch-mode-map): Bind it to `M-y'.
25666126
LL
12116 (isearch-forward): Mention it.
12117
52d3c2d0
SM
121182011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
12119
1bcace58
SM
12120 * simple.el (minibuffer-complete-shell-command): Remove.
12121 (minibuffer-local-shell-command-map): Use completion-at-point.
12122 (read-shell-command): Setup completion vars here instead.
12123 (read-expression-map): Bind TAB to symbol completion.
12124
52d3c2d0
SM
12125 * textmodes/ispell.el (lookup-words): Use with-temp-buffer; signal
12126 error directly rather via storing it into `results'.
12127
35813471
LL
121282011-05-02 Leo Liu <sdl.web@gmail.com>
12129
12130 * vc/diff.el: Fix description.
12131
e793a940
LMI
121322011-05-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
12133
12134 * server.el (server-eval-at): New function.
12135
8de66e05
LMI
121362011-05-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
12137
12138 * net/network-stream.el (open-network-stream): Take a :nowait
12139 parameter and pass it on to `make-network-process'.
12140 (network-stream-open-plain): Ditto.
12141
dcb79f20
AS
121422011-04-30 Andreas Schwab <schwab@linux-m68k.org>
12143
12144 * faces.el (face-spec-set-match-display): Don't match toolkit
12145 options on terminal frames.
12146
14a7fbd8
SM
121472011-04-29 Stefan Monnier <monnier@iro.umontreal.ca>
12148
7eabc1be
SM
12149 * progmodes/pascal.el: Use lexical binding.
12150 (pascal-mode-map): Remove author preferences.
12151
14a7fbd8
SM
12152 * pcomplete.el (pcomplete-std-complete): Don't abuse
12153 completion-at-point.
12154
50f84510
JB
121552011-04-28 Juanma Barranquero <lekktu@gmail.com>
12156
6e087a44
JB
12157 * calc/calccomp.el (math-comp-to-string-flat-term): Simplify by
12158 removing code that has been dead since 1991 or so.
12159
50f84510
JB
12160 * startup.el (command-line): When warning about "_emacs", use a
12161 delayed warning to allow the user to filter it out.
12162
0ba690bd
DD
121632011-04-28 Deniz Dogan <deniz@dogan.se>
12164
12165 * net/rcirc.el (rcirc-handler-353): Fix bug for channels which the
12166 user has not joined.
12167
08abfaad
SM
121682011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
12169
12170 * pcomplete.el (pcomplete-completions-at-point): Return nil if there
12171 aren't any completions at point.
12172
638f053a
JB
121732011-04-28 Juanma Barranquero <lekktu@gmail.com>
12174
12175 * subr.el (display-delayed-warnings): New function.
12176 (delayed-warnings-hook): New variable.
12177
8fff8daa
SM
121782011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
12179
08abfaad
SM
12180 * minibuffer.el (completion-at-point, completion-help-at-point):
12181 Don't presume that a given completion-at-point-function will always
12182 use the same calling convention.
12183
8fff8daa
SM
12184 * pcomplete.el (pcomplete-completions-at-point):
12185 Obey pcomplete-ignore-case. Don't call pcomplete-norm-func unless
12186 pcomplete-seen is non-nil.
12187 (pcomplete-comint-setup): Also recognize the new comint/shell
12188 completion functions.
12189 (pcomplete-do-complete): Don't call pcomplete-norm-func unless
12190 pcomplete-seen is non-nil.
12191
841a1577 121922011-04-27 Niels Giesen <niels.giesen@gmail.com>
211ec907 12193
841a1577 12194 * calendar/icalendar.el (diary-lib): Add require statement.
211ec907 12195 (icalendar--create-uid): Read out a uid from a text-property on
841a1577 12196 the first character in the entry. This allows for code to add its
211ec907
UJ
12197 own uid to the entry.
12198 (icalendar--convert-float-to-ical): Add export of
12199 `diary-float'-entries save for those with the optional DAY
12200 argument.
12201
2a782793
DC
122022011-04-27 Daniel Colascione <dan.colascione@gmail.com>
12203
12204 * subr.el (shell-quote-argument): Use alternate escaping strategy
12205 when we spot a variable reference in a string.
12206
0438ce91
DC
122072011-04-26 Daniel Colascione <dan.colascione@gmail.com>
12208
12209 * cus-start.el (all): Define customization for debug-on-event.
12210
841a1577 122112011-04-26 Daniel Colascione <dan.colascione@gmail.com>
8f91bf93
DC
12212
12213 * subr.el (shell-quote-argument): Escape correctly under Windows.
12214
d090ed6c
SM
122152011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
12216
12217 * emulation/cua-base.el (cua-selection-mode): Make it toggle again.
12218
bfd31217
MA
122192011-04-25 Michael Albinus <michael.albinus@gmx.de>
12220
d090ed6c
SM
12221 * net/tramp.el (tramp-process-actions): Add POS argument.
12222 Delete region between POS and (pos).
bfd31217 12223
d090ed6c
SM
12224 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
12225 Use `nil' position in `tramp-process-actions' call.
bfd31217
MA
12226 (tramp-maybe-open-connection): Call `tramp-process-actions' with pos.
12227
12228 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Use `nil'
12229 position in `tramp-process-actions' call.
12230
12231 * net/trampver.el: Update release number.
12232
e92f3bd3
SM
122332011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
12234
850256b5
SM
12235 * custom.el (defcustom): Obey lexical-binding.
12236
e92f3bd3
SM
12237 Fix octave-inf completion problems reported by Alexander Klimov.
12238 * progmodes/octave-inf.el (inferior-octave-mode-syntax-table):
12239 Inherit from octave-mode-syntax-table.
12240 (inferior-octave-mode): Set info-lookup-mode.
12241 (inferior-octave-completion-at-point): New function.
12242 (inferior-octave-complete): Use it and completion-in-region.
12243 (inferior-octave-dynamic-complete-functions): Use it as well, and use
12244 comint-filename-completion.
12245 * progmodes/octave-mod.el (octave-mode-syntax-table): Use _ syntax for
12246 symbol elements which shouldn't be word elements.
12247 (octave-font-lock-keywords, octave-beginning-of-defun)
12248 (octave-function-header-regexp): Adjust regexps accordingly.
12249 (octave-mode-map): Also use info-lookup-symbol for C-c C-h.
12250
cd22b309
JB
122512011-04-25 Juanma Barranquero <lekktu@gmail.com>
12252
12253 * net/gnutls.el (gnutls-errorp): Declare before first use.
12254
8b492194
TZ
122552011-04-24 Teodor Zlatanov <tzz@lifelogs.com>
12256
12257 * net/gnutls.el (gnutls-negotiate): Add hostname, verify-flags,
12258 verify-error, and verify-hostname-error parameters. Check whether
cd22b309 12259 default trustfile exists before going to use it. Add missing
5a5fa834 12260 argument to gnutls-message-maybe call. Return value.
8b492194
TZ
12261 Reported by Claudio Bley <claudio.bley@gmail.com>.
12262 (open-gnutls-stream): Add usage example.
12263
12264 * net/network-stream.el (network-stream-open-starttls): Give host
12265 parameter to `gnutls-negotiate'.
12266 (gnutls-negotiate): Adjust `gnutls-negotiate' declaration.
8f91bf93 12267 * subr.el (shell-quote-argument): Escape correctly under Windows.
8b492194 12268
841a1577 122692011-04-24 Daniel Colascione <dan.colascione@gmail.com>
05842630 12270
cd22b309
JB
12271 * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
12272 Use correct match group (bug#8438).
05842630 12273
3ba7869c
CY
122742011-04-24 Chong Yidong <cyd@stupidchicken.com>
12275
512e3ae1
CY
12276 * emacs-lisp/package.el (package-built-in-p): Fix typo.
12277 (package-menu--generate): New arg specifying packages to show.
12278 (package-menu-refresh, package-menu-execute, list-packages):
12279 Callers changed.
12280 (package-show-package-list): New function, replacing deleted
12281 package--list-packages (renamed because it is non-internal).
12282
12283 * finder.el (finder-list-matches): Use package-show-package-list
12284 instead of deleted package--list-packages.
12285
e92f3bd3
SM
12286 * vc/vc-annotate.el (vc-annotate-goto-line): New command.
12287 Based on a previous implementation by Juanma Barranquero (Bug#8366).
3ba7869c
CY
12288 (vc-annotate-mode-map): Bind it to RET.
12289
7031be6d
UR
122902011-04-24 Uday S Reddy <u.s.reddy@cs.bham.ac.uk> (tiny change)
12291
12292 * progmodes/etags.el (next-file): Don't use set-buffer to change
12293 buffers (Bug#8478).
12294
4ef177aa
CY
122952011-04-24 Chong Yidong <cyd@stupidchicken.com>
12296
c8d173eb
CY
12297 * files.el (auto-mode-alist): Use js-mode for .json (Bug#8529).
12298
4ef177aa
CY
12299 * apropos.el (apropos-label-face): Avoid variable-pitch face.
12300 (apropos-accumulator): Doc fix.
12301 (apropos-function, apropos-macro, apropos-command)
12302 (apropos-variable, apropos-face, apropos-group, apropos-widget)
12303 (apropos-plist): Add face property.
12304 (apropos-symbols-internal): Fix indentation.
12305 (apropos-print): Simplify help, and recognize apropos-multi-type.
12306 (apropos-print-doc): Use button-type-get to extract the button's
12307 face property. Fill docstring (Bug#8352).
12308
4ffd0d6b 123092011-04-23 Juanma Barranquero <lekktu@gmail.com>
be71f810
JB
12310
12311 * buff-menu.el (Buffer-menu--buffers): Fix typo in docstring (bug#8535).
12312
c6c32125 12313 * play/mpuz.el (mpuz-silent): Doc fix.
4ffd0d6b 12314 (mpuz-mode-map): Use mapc.
c6c32125
JB
12315 (mpuz-put-number-on-board): Rename parameter L to COLUMNS.
12316 (mpuz-letter-to-digit, mpuz-check-all-solved, mpuz-create-buffer):
12317 Fix typos in docstrings.
12318
58d468b4
JB
12319 * play/doctor.el (doc$, doctor-$, doctor-read-print, doctor-read-token)
12320 (doctor-nounp, doctor-pronounp): Fix typos in docstrings.
12321
6470c3c6
JB
12322 * mouse-drag.el (mouse-drag-throw): Fix typo in docstring.
12323
4ffd0d6b 123242011-04-23 Chong Yidong <cyd@stupidchicken.com>
6f21a319
CY
12325
12326 * minibuffer.el (completion--do-completion): Avoid the "Next char
12327 not unique" prompt if icomplete-mode is enabled (Bug#5849).
12328
3ad8bad0
CY
12329 * mouse.el (mouse-drag-mode-line-1): Make sure that if we push
12330 mouse-2 into unread-command-events, it is interpreted correctly.
12331
71d73c9c 12332 * image-mode.el (image-type, image-mode-map, image-minor-mode-map)
6395aab9 12333 (image-toggle-display): Doc fix.
71d73c9c 12334
841a1577 123352011-04-23 Stephen Berman <stephen.berman@gmx.net>
e935c6a2 12336
4ffd0d6b
GM
12337 * textmodes/page.el (what-page): Use line-number-at-pos to
12338 calculate line number (Bug#6825).
6e1dbaa9 12339
c2fb1b60
JB
123402011-04-22 Juanma Barranquero <lekktu@gmail.com>
12341
12342 * eshell/esh-mode.el (find-tag-interactive): Declare function.
12343 (eshell-find-tag): Remove `with-no-warnings', unneeded now.
12344 Pass argument NO-DEFAULT to `find-tag-interactive'.
12345
e02f48d7
JB
123462011-04-22 Juanma Barranquero <lekktu@gmail.com>
12347
12348 Lexical-binding cleanup.
12349
12350 * progmodes/ada-mode.el (ada-after-change-function, ada-loose-case-word)
12351 (ada-no-auto-case, ada-capitalize-word, ada-untab, ada-narrow-to-defun):
12352 * progmodes/ada-prj.el (ada-prj-initialize-values)
12353 (ada-prj-display-page, ada-prj-field-modified, ada-prj-display-help)
12354 (ada-prj-show-value):
12355 * progmodes/ada-xref.el (ada-find-any-references, ada-gdb-application):
12356 * progmodes/antlr-mode.el (antlr-with-displaying-help-buffer)
12357 (antlr-invalidate-context-cache, antlr-options-menu-filter)
12358 (antlr-language-option-extra, antlr-c++-mode-extra, antlr-run-tool):
12359 * progmodes/bug-reference.el (bug-reference-push-button):
12360 * progmodes/fortran.el (fortran-line-length):
12361 * progmodes/glasses.el (glasses-change):
12362 * progmodes/octave-mod.el (octave-fill-paragraph):
12363 * progmodes/python.el (python-mode, python-pdbtrack-track-stack-file)
12364 (python-pdbtrack-grub-for-buffer, python-sentinel):
12365 * progmodes/sql.el (sql-save-connection):
12366 * progmodes/tcl.el (tcl-indent-command, tcl-popup-menu):
12367 * progmodes/xscheme.el (xscheme-enter-debugger-mode):
12368 Mark unused parameters.
12369
12370 * progmodes/compile.el (compilation--flush-directory-cache)
12371 (compilation--flush-parse, compile-internal): Mark unused parameters.
12372 (compilation-buffer-name): Rename parameter MODE-NAME to NAME-OF-MODE.
12373 (compilation-next-error-function): Remove unused variable `timestamp'.
12374
12375 * progmodes/cpp.el (cpp-parse-close): Remove unused variable `begin'.
12376 (cpp-signal-read-only, cpp-grow-overlay): Mark unused parameters.
12377
12378 * progmodes/dcl-mode.el (dcl-end-of-command):
12379 Remove unused variable `start'.
12380 (dcl-calc-command-indent-multiple, dcl-calc-cont-indent-relative)
12381 (dcl-option-value-basic, dcl-option-value-offset)
12382 (dcl-option-value-margin-offset, dcl-option-value-comment-line):
12383 Mark unused parameters.
12384 (dcl-save-local-variable): Remove unused variable `val'.
12385 (mode): Declare.
12386
12387 * progmodes/delphi.el (delphi-save-state, delphi-after-change):
12388 Mark unused parameters.
12389 (delphi-ignore-changes): Move before first use.
12390 (delphi-charset-token-at): Remove unused variable `start'.
12391 (delphi-else-start): Remove unused variable `if-count'.
12392 (delphi-comment-block-start, delphi-comment-block-end):
12393 Remove unused variable `kind'.
12394 (delphi-indent-line): Remove unused variable `new-point'.
12395
12396 * progmodes/ebrowse.el (ebrowse-files-list)
12397 (ebrowse-list-of-matching-members, ebrowse-tags-list-members-in-file):
12398 Mark unused parameters. Don't quote `lambda'.
12399 (ebrowse-sort-tree-list, ebrowse-same-tree-member-buffer-list):
12400 Don't quote `lambda'.
12401 (ebrowse-revert-tree-buffer-from-file, ebrowse-tags-choose-class)
12402 (ebrowse-goto-visible-member/all-member-lists): Mark unused parameters.
12403 (ebrowse-create-tree-buffer): Rename parameter OBARRAY to CLASSES.
12404 (ebrowse-toggle-mark-at-point): Remove unused variable `pnt'.
12405 Use `ignore-errors'.
12406 (ebrowse-frozen-tree-buffer-name, ebrowse-find-source-file)
12407 (ebrowse-view/find-file-and-search-pattern)
12408 (ebrowse-view/find-member-declaration/definition):
12409 Rename parameter TAGS-FILE-NAME to TAGS-FILE.
12410 (ebrowse-find-class-declaration, ebrowse-view-class-declaration):
12411 Rename parameter PREFIX-ARG to PREFIX.
12412 (ebrowse-tags-read-name): Remove unused variables `start' and
12413 `member-info'.
12414 (ebrowse-display-member-buffer): Rename variable `tags-file-name'
12415 to `tags-file'.
12416
12417 * progmodes/etags.el (local-find-tag-hook): Declare.
12418 (tag-partial-file-name-match-p, tag-any-match-p, list-tags):
12419 Mark unused parameters.
12420
12421 * progmodes/executable.el (compilation-error-regexp-alist): Declare.
12422 (executable-interpret): Mark unused parameter.
12423
12424 * progmodes/flymake.el (flymake-process-sentinel)
12425 (flymake-after-change-function)
12426 (flymake-create-temp-with-folder-structure)
12427 (flymake-get-include-dirs-dot): Mark unused parameters.
12428 (flymake-safe-delete-directory): Remove unused variable `err'.
12429
12430 * progmodes/gdb-mi.el (speedbar-change-initial-expansion-list)
12431 (speedbar-timer-fn, speedbar-line-text)
12432 (speedbar-change-expand-button-char, speedbar-delete-subblock)
12433 (speedbar-center-buffer-smartly): Declare functions.
12434 (gdb-find-watch-expression): Remove unused variable `array'.
12435 (gdb-edit-value, gdb-gdb, gdb-ignored-notification, gdb-thread-created)
12436 (gdb-starting): Mark unused parameters.
12437 (gud-gdbmi-marker-filter): Remove unused variable `output-record'.
12438 (gdb-table-string): Remove unused variable `res'.
12439 (gdb-place-breakpoints): Remove unused variables `flag' and `bptno'.
12440 (gdb-disassembly-handler-custom): Remove unused variable `pos'.
12441 (gdb-display-buffer): Remove unused variable `cur-size'.
12442
12443 * progmodes/gud.el (gud-def): Use `defalias' instead of `defun' to
12444 allow lexical-binding compilation.
12445 (gud-expansion-speedbar-buttons, gud-gdb-goto-stackframe)
12446 (gud-dbx-massage-args, gud-xdb-massage-args, gud-perldb-massage-args)
12447 (gud-jdb-massage-args, gud-jdb-find-source, gud-find-class):
12448 Mark unused parameters.
12449 (gud-gdb-marker-filter): Remove unused variable `match'.
12450 (gud-find-class): Bind `syntax-symbol' and `syntax-point' to suitable
12451 lambda expressions and funcall them, instead of using `fset'.
12452
12453 * progmodes/hideif.el (hif-parse-if-exp): Rename parameter
12454 HIF-TOKEN-LIST to TOKEN-LIST and let-bind `hif-token-list'.
12455
12456 * progmodes/hideshow.el (hs-hide-block-at-point): Remove unused
12457 variable `header-beg'; use `let'.
12458
12459 * progmodes/icon.el (indent-icon-exp): Remove unused variables
12460 `restart', `last-sexp' and `at-do'.
12461
12462 * progmodes/js.el (js--debug): Mark unused parameter.
12463 (js--parse-state-at-point): Remove unused variable `bound'; use `let'.
12464 (js--splice-into-items): Remove unused variable `item'.
12465 (js--read-symbol, js--read-tab): Pass 1/-1 to `ido-mode', not t/nil.
12466
12467 * progmodes/make-mode.el (makefile-make-font-lock-keywords):
12468 Rename parameter FONT-LOCK-KEYWORDS to FL-KEYWORDS.
12469 (makefile-complete): Remove unused variable `try'.
12470 (makefile-fill-paragraph, makefile-match-function-end):
12471 Mark unused parameters.
12472
12473 * progmodes/octave-inf.el (inferior-octave-complete):
12474 Remove unused variable `proc'.
12475 (inferior-octave-output-digest): Mark unused parameter.
12476
12477 * progmodes/perl-mode.el (perl-calculate-indent):
12478 Remove unused variable `err'.
12479
12480 * progmodes/prolog.el (prolog-mode-keybindings-inferior)
12481 (prolog-indent-line): Mark unused parameters.
12482 (prolog-indent-line): Remove unused variable `beg'.
12483
12484 * progmodes/ps-mode.el (reporter-prompt-for-summary-p)
12485 (reporter-dont-compact-list): Declare.
12486
12487 * progmodes/sh-script.el (sh-font-lock-quoted-subshell):
12488 Remove unused variable `char'.
12489 (sh-debug): Mark unused parameter.
12490 (sh-get-indent-info): Remove unused variable `start'.
12491 (sh-calculate-indent): Remove unused variable `var'.
12492
12493 * progmodes/simula.el (simula-popup-menu): Mark unused parameter.
12494 (simula-electric-keyword): Remove unused variable `null'.
12495 (simula-search-backward, simula-search-forward): Remove unused
12496 variables `begin' and `end'.
12497
12498 * progmodes/vera-mode.el (vera-guess-basic-syntax):
12499 Remove unused variable `pos'.
12500 (vera-electric-tab, vera-comment-uncomment-region):
12501 Mark unused parameters.
12502 (vera-electric-tab): Rename parameter PREFIX-ARG to PREFIX.
12503
7ede3b65
CY
125042011-04-22 Chong Yidong <cyd@stupidchicken.com>
12505
12506 * emacs-lisp/package.el (package--builtins, package-alist)
12507 (package-load-descriptor, package-built-in-p, package-activate)
12508 (define-package, package-installed-p)
12509 (package-compute-transaction, package-buffer-info)
12510 (package--push): Doc fix. Distinguish more clearly between
12511 version strings and version lists.
12512
121656e9
JB
125132011-04-21 Juanma Barranquero <lekktu@gmail.com>
12514
12515 Lexical-binding cleanup.
12516
12517 * play/5x5.el (5x5-make-random-solution, 5x5-make-mutate-current)
12518 (5x5-make-mutate-best):
12519 * play/fortune.el (fortune-in-buffer):
12520 * play/gomoku.el (gomoku-init-display):
12521 * play/solitaire.el (solitaire, solitaire-do-check):
12522 * play/tetris.el (tetris-default-update-speed-function):
12523 Mark unused parameters.
12524
12525 * play/bubbles.el (bubbles-mode): Set `show-trailing-whitespace'.
12526 (bubbles--shift): Remove unused variable `char-org'.
12527 (bubbles--set-faces): Remove unused variable `fg-col'. Simplify.
12528 (bubbles--show-images): Remove unused variable `char'.
12529
12530 * play/decipher.el (decipher-keypress, decipher-alphabet-keypress)
12531 (decipher-get-undo, decipher-set-map, decipher-complete-alphabet)
12532 (decipher-resync, decipher-loop-with-breaks, decipher--analyze)
12533 (decipher-analyze-buffer): Use ?\s.
12534 (decipher-make-checkpoint): Remove unused variable `mapping'.
12535
12536 * play/doctor.el (doctor-doc): Rename parameter DOCTOR-SENT to SENT.
12537
12538 * play/gamegrid.el (gamegrid-add-score-with-update-game-score):
12539 Remove unused variable `result'; use `let'.
12540
12541 * play/gametree.el (gametree-current-layout, gametree-apply-layout):
12542 Rename parameter TOP-LEVEL to FROM-TOP-LEVEL; use `ignore-errors'.
12543 (gametree-children-shown-p, gametree-compute-reduced-score):
12544 Use `ignore-errors'.
12545
12546 * play/handwrite.el (ps-lpr-switches): Declare.
12547 (handwrite): Remove unused variables `pmin' and `lastp'.
12548
12549 * play/hanoi.el (hanoi-move-ring): Remove unused variable `total-steps'.
12550
12551 * play/landmark.el (landmark-init-display)
12552 (landmark-update-naught-weights): Mark unused parameters.
12553 (landmark-y): Remove unused variable `noise'. Simplify.
12554 (landmark-human-plays): Remove unused variable `score'.
12555
12556 * play/mpuz.el (mpuz-try-letter): Remove unused variable `message'.
12557 (mpuz-try-proposal): Remove unused variable `game'.
12558
12559 * play/zone.el (life-patterns): Declare.
12560
80f499c7
JB
125612011-04-20 Juanma Barranquero <lekktu@gmail.com>
12562
12563 * vc/vc.el (ediff-vc-internal): Declare function.
12564
024ff170
SM
125652011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
12566
c0a193ea
SM
12567 * shell.el: Use lexical-binding and std completion UI.
12568 (shell-filter-ctrl-a-ctrl-b): Work as a preoutput filter.
12569 (shell-mode): Put shell-filter-ctrl-a-ctrl-b on
12570 comint-preoutput-filter-functions rather than on
12571 comint-output-filter-functions.
12572 (shell-command-completion, shell--command-completion-data)
12573 (shell-filename-completion, shell-environment-variable-completion)
12574 (shell-c-a-p-replace-by-expanded-directory): New functions.
12575 (shell-dynamic-complete-functions, shell-dynamic-complete-command)
12576 (shell-dynamic-complete-filename, shell-replace-by-expanded-directory)
12577 (shell-dynamic-complete-environment-variable): Use them.
12578 (shell-dynamic-complete-as-environment-variable)
12579 (shell-dynamic-complete-as-command): Remove.
12580 (shell-match-partial-variable): Match past point.
12581 * comint.el: Clean up use of completion-at-point-functions.
12582 (comint-completion-at-point): New function.
12583 (comint-mode): Use it completion-at-point-functions.
12584 (comint-dynamic-complete): Make it obsolete.
12585 (comint-replace-by-expanded-history-before-point): Add dry-run arg.
12586 (comint-c-a-p-replace-by-expanded-history): New function.
12587 (comint-dynamic-complete-functions)
12588 (comint-replace-by-expanded-history): Use it.
12589 * minibuffer.el (completion-table-with-terminator): Allow dynamic
12590 termination strings. Try harder to avoid second try-completion.
12591 (completion-in-region-mode-map): Disable bindings that don't work yet.
12592
2dbaa080
SM
12593 * comint.el: Use lexical-binding. Require CL.
12594 (comint-dynamic-complete-functions): Use comint-filename-completion.
12595 (comint-completion-addsuffix): Tweak custom type.
12596 (comint-filename-completion, comint--common-suffix)
12597 (comint--common-quoted-suffix, comint--table-subvert)
12598 (comint--complete-file-name-data): New functions.
12599 (comint-dynamic-complete-as-filename, comint-dynamic-complete-filename)
12600 (comint-dynamic-list-filename-completions): Use them.
12601 (comint-dynamic-simple-complete): Make obsolete.
c0a193ea 12602
2dbaa080
SM
12603 * minibuffer.el (completion-in-region-mode):
12604 Keep completion-in-region-mode--predicate global.
12605 (completion-in-region--postch):
12606 Assume completion-in-region-mode--predicate is not null.
12607
c79a6f38
SM
12608 * progmodes/flymake.el (flymake-start-syntax-check-process):
12609 Obey `dir'. Simplify.
12610
024ff170
SM
12611 * vc/vc.el (vc-version-ediff): Call ediff-vc-internal directly, since
12612 we're in VC after all.
12613
1c6c854e
CS
126142011-04-20 Christoph Scholtes <cschol2112@googlemail.com>
12615
12616 * vc/vc.el (vc-diff-build-argument-list-internal)
024ff170 12617 (vc-version-ediff, vc-ediff): New commands.
1c6c854e
CS
12618 (vc-version-diff): Use vc-diff-build-argument-list-internal.
12619
bed7f140
SM
126202011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
12621
332e62ab
SM
12622 * emacs-lisp/byte-opt.el (byte-decompile-bytecode-1): Remove dead code,
12623 add sanity check.
12624
bed7f140
SM
12625 * obsolete/erc-hecomplete.el: Make obsolete.
12626 * obsolete/: Standardize obsolescence info in the header.
12627
f195c582
GM
126282011-04-20 Glenn Morris <rgm@gnu.org>
12629
12630 * calendar/solar.el (solar-horizontal-coordinates):
12631 Use the longitude argument rather than `calendar-longitude'.
12632 (solar-date-next-longitude): Remove unused locals.
12633
cb79b8c0
VJL
126342011-04-20 Vinicius Jose Latorre <viniciusjl@ig.com.br>
12635
12636 * whitespace.el: New version 13.2.1.
12637
126382011-04-20 felix <EmacsWiki> (tiny change)
12639
d8e4b68b 12640 * whitespace.el (global-whitespace-mode): Keep highlight when
cb79b8c0
VJL
12641 switching between major modes on a file.
12642
602ea69d
SM
126432011-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
12644
12645 * progmodes/octave-mod.el (octave-in-comment-p, octave-in-string-p)
12646 (octave-not-in-string-or-comment-p): Use syntax-ppss so it works with
12647 multi-line comments as well.
12648
06b60517
JB
126492011-04-19 Juanma Barranquero <lekktu@gmail.com>
12650
12651 Lexical-binding cleanup.
12652
12653 * arc-mode.el (archive-mode-revert):
12654 * cmuscheme.el (scheme-interactively-start-process):
12655 * custom.el (custom-initialize-delay):
12656 * dnd.el (dnd-open-local-file, dnd-open-remote-url):
12657 * dos-w32.el (direct-print-region-helper, direct-print-region-function):
12658 * emacs-lock.el (emacs-lock-clear-sentinel):
12659 * ezimage.el (defezimage):
12660 * follow.el (follow-avoid-tail-recenter):
12661 * fringe.el (set-fringe-mode-1):
12662 * generic-x.el (bat-generic-mode-compile):
12663 * help-mode.el (help-info-variable, help-do-xref)
12664 (help-mode-revert-buffer):
12665 * help.el (view-emacs-todo):
12666 * iswitchb.el (iswitchb-completion-help):
12667 * jka-compr.el (jka-compr-make-temp-name, jka-compr-load):
12668 * kmacro.el (kmacro-cycle-ring-next, kmacro-cycle-ring-previous)
12669 (kmacro-delete-ring-head, kmacro-bind-to-key, kmacro-view-macro):
12670 * locate.el (locate-update):
12671 * longlines.el (longlines-encode-region)
12672 (longlines-after-change-function):
12673 * outline.el (outline-isearch-open-invisible):
12674 * ps-def.el (declare-function, charset-dimension, char-width)
12675 (encode-char):
12676 * ps-mule.el (ps-mule-plot-string):
12677 * recentf.el (recentf-make-menu-items, recentf-cancel-dialog)
12678 (recentf-edit-list-select, recentf-edit-list-validate)
12679 (recentf-open-files-action):
12680 * rect.el (delete-whitespace-rectangle-line)
12681 (rectangle-number-line-callback):
12682 * register.el (window-configuration-to-register)
12683 (frame-configuration-to-register):
12684 * scroll-bar.el (scroll-bar-mode, toggle-horizontal-scroll-bar):
12685 * select.el (xselect-convert-to-string, xselect-convert-to-length)
12686 (xselect-convert-to-targets, xselect-convert-to-delete)
12687 (xselect-convert-to-filename, xselect-convert-to-charpos)
12688 (xselect-convert-to-lineno, xselect-convert-to-colno)
12689 (xselect-convert-to-os, xselect-convert-to-host)
12690 (xselect-convert-to-user, xselect-convert-to-class)
12691 (xselect-convert-to-name, xselect-convert-to-integer)
12692 (xselect-convert-to-atom, xselect-convert-to-identity):
12693 * subr.el (declare, ignore, process-kill-without-query)
12694 (text-clone-maintain):
12695 * terminal.el (te-get-char, te-tic-sentinel):
12696 * tool-bar.el (tool-bar-make-keymap):
12697 * tooltip.el (tooltip-timeout, tooltip-hide, tooltip-help-tips):
12698 * type-break.el (type-break-mode, type-break-noninteractive-query):
12699 * view.el (View-back-to-mark):
12700 * wid-browse.el (widget-browse-action, widget-browse-widget)
12701 (widget-browse-widgets, widget-browse-sexp):
12702 * widget.el (define-widget-keywords):
12703 * xt-mouse.el (xterm-mouse-translate, turn-off-xterm-mouse-tracking):
12704 Mark unused parameters.
12705
12706 * align.el (align-adjust-col-for-rule): Mark unused parameter.
12707 (align-areas): Remove unused variable `look'.
12708 (align-region): Remove unused variables `real-end' and `pos-list'.
12709
12710 * apropos.el (apropos-score-doc): Remove unused variable `i'.
12711
12712 * bindings.el (mode-line-modified, mode-line-remote):
12713 Mark unused parameters.
12714 (mode-line-mule-info): Mark unused parameter; don't quote `lambda'.
12715
12716 * buff-menu.el (Buffer-menu-revert-function): Mark unused parameters.
12717 (Buffer-menu-mode): Mark unused parameter; don't quote `lambda'.
12718
12719 * comint.el (comint-history-isearch-pop-state)
12720 (comint-postoutput-scroll-to-bottom, comint-truncate-buffer)
12721 (comint-strip-ctrl-m, comint-read-noecho): Mark unused parameters.
12722 (comint-substitute-in-file-name): Doc fix.
12723
12724 * completion.el (cmpl-statistics-block): Mark unused parameter.
12725 (add-completions-from-tags-table, add-completions-from-lisp-buffer)
12726 (save-completions-to-file, load-completions-from-file):
12727 Remove unused local variable `e'.
12728
12729 * composite.el (compose-chars): Remove unused variable `len'.
12730 (lgstring-insert-glyph): Remove unused variable `g'.
12731 (compose-glyph-string): Remove unused variables `ascent',
12732 `descent', `lbearing' and `rbearing'.
12733 (compose-glyph-string-relative): Remove unused variables
12734 `lbearing', `rbearing' and `wadjust'.
12735 (compose-gstring-for-graphic): Remove unused variables `header',
12736 `wadjust', `xoff' and `yoff'. Use `let', not `let*'.
12737 (compose-gstring-for-terminal): Remove unused variables `header'
12738 and `nchars'. Use `let', not `let*'.
12739
12740 * cus-edit.el (Custom-set, Custom-save, custom-reset)
12741 (Custom-reset-current, Custom-reset-saved, Custom-reset-standard)
12742 (Custom-buffer-done, custom-buffer-create-internal)
12743 (custom-browse-visibility-action, custom-browse-group-tag-action)
12744 (custom-browse-variable-tag-action, custom-browse-face-tag-action)
12745 (widget-magic-mouse-down-action, custom-toggle-parent)
12746 (custom-add-parent-links, custom-toggle-hide-variable)
12747 (custom-face-edit-value-visibility-action, custom-face-edit-fix-value)
12748 (custom-toggle-hide-face, face, hook, custom-group-link-action)
12749 (custom-face-menu-create, custom-variable-menu-create, get)
12750 (custom-group-menu-create, Custom-no-edit): Mark unused parameters.
12751 (custom-reset-standard-save-and-update): Remove unused variable `value'.
12752 (customize-apropos): Remove unused variable `tests'.
12753 (custom-group-value-create): Remove unused variable `hidden-p'.
12754 (sort-fold-case): Declare.
12755
12756 * cus-theme.el (custom-reset-standard-faces-list)
12757 (custom-reset-standard-variables-list): Declare.
12758 (customize-create-theme, custom-theme-revert, custom-theme-write)
12759 (custom-theme-choose-mode, customize-themes, custom-theme-save):
12760 Mark unused parameters.
12761
12762 * dabbrev.el (dabbrev-completion): Remove unused variable `init'.
12763
12764 * delim-col.el (delimit-columns-max): Move defvar before first use.
12765
12766 * descr-text.el (describe-char-categories): Don't quote `lambda'.
bd0d2ee2 12767 (describe-char): Don't quote `lambda'. Mark unused parameter.
06b60517
JB
12768
12769 * desktop.el (desktop-save-buffer-p): Mark unused parameter.
12770 (auto-insert): Declare.
12771 (desktop-restore-file-buffer): Rename desktop-* parameters;
12772 mark unused ones.
12773 (desktop-create-buffer): Rename desktop-* parameters and bind them.
12774 (desktop-buffer): Rename desktop-* parameters.
12775
12776 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
12777 (dframe-reposition-frame-xemacs, dframe-help-echo)
12778 (dframe-hack-buffer-menu, dframe-set-timer, dframe-set-timer-internal):
12779 Mark unused parameters.
12780
12781 * dired-aux.el (backup-extract-version-start, overwrite-query)
12782 (overwrite-backup-query, rename-regexp-query)
12783 (rename-non-directory-query): Declare.
12784 (dired-shell-stuff-it, dired-do-create-files): Mark unused parameters.
12785 (dired-add-entry): Remove unused variable `orig-file-name'.
12786 (dired-copy-file-recursive): Remove unused variable `dirfailed'.
12787 Use parameter PRESERVE-TIME instead of accessing dynamic variable
12788 `dired-copy-preserve-time' directly.
12789 (dired-do-create-files-regexp): Remove unused variable `fn-count'.
12790 (dired-insert-subdir-newpos): Rename unused variable `pos'.
12791
12792 * dired-x.el (dired-omit-size-limit): Move defcustom before first use.
12793 (dired-virtual-revert, dired-make-relative-symlink):
12794 Mark unused parameters.
12795 (manual-program): Declare.
12796 (dired-x-hands-off-my-keys): Rename parameters of lambda expression.
12797 (inode, s, mode, nlink, uid, gid, size, time, name, sym): Declare them,
12798 wrapped in `with-no-warnings' to avoid replacing one warning by another.
12799
12800 * dirtrack.el (dirtrack): Remove unused variable `multi-line'.
12801
12802 * dos-fns.el (dos-8+3-filename): Remove unused variable `i'.
12803
12804 * echistory.el (electric-history-in-progress, Helper-return-blurb):
12805 Declare.
12806
12807 * edmacro.el (edmacro-finish-edit): Remove unused variable `kmacro'.
12808
12809 * electric.el (Electric-command-loop): Rename parameter
12810 INHIBIT-QUIT to INHIBIT-QUITTING and bind `inhibit-quit'.
12811
12812 * expand.el (expand-in-literal): Remove unused variable `here'.
12813
12814 * facemenu.el (facemenu-add-new-color):
12815 Remove unused variable `docstring'.
12816
12817 * faces.el (face-id, make-face-bold, make-face-unbold, make-face-italic)
12818 (make-face-unitalic, make-face-bold-italic): Mark unused parameters.
12819 (face-attr-construct): Mark unused parameter. Doc fix.
12820 (read-color): Remove unused variable `hex-string'.
12821
12822 * files.el (parse-colon-path): Rename argument CD-PATH to SEARCH-PATH.
12823 (locate-dominating-file): Remove unused vars `prev-file' and `user'.
12824 (remote-file-name-inhibit-cache, revert-buffer): Clean up docstrings.
12825 (display-buffer-other-frame): Remove unused variable `old-window'.
12826 (kill-buffer-hook): Declare.
12827 (insert-file-contents-literally, set-auto-mode, risky-local-variable-p):
12828 Mark unused parameters.
12829 (after-find-file): Pass 1 to `auto-save-mode', not t.
12830
12831 * files-x.el (auto-insert): Declare.
12832 (modify-file-local-variable-prop-line): Remove unused variable `val'.
12833
12834 * find-lisp.el (find-lisp-find-dired-internal): Remove unused
bd0d2ee2 12835 variable `buf'. Mark unused parameter.
06b60517
JB
12836 (find-lisp-insert-directory): Mark unused parameter.
12837
12838 * format.el (format-decode-run-method): Mark unused parameter; doc fix.
12839 (format-encode-region): Remove unused variables `cur-buf' and `result'.
12840 (format-common-tail): Remove, unused.
12841 (format-deannotate-region): Remove unused variable `loc'.
12842 (format-annotate-region): Remove unused variable `p'.
12843 (format-annotate-single-property-change): Remove unused variables
12844 `default' and `tail'.
12845
12846 * forms.el (read-file-filter): Declare.
12847 (forms--iif-hook, forms--revert-buffer): Mark unused parameters.
12848
12849 * frame.el (frame-creation-function-alist): Mark unused parameter.
12850 (frame-geom-spec-cons): Pass FRAME to `frame-geom-value-cons'.
12851
12852 * hilit-chg.el (hilit-chg-cust-fix-changes-face-list, hilit-chg-clear):
12853 Remove unused parameters.
12854 (hilit-chg-set-face-on-change): Remove unused variable `beg-decr'.
12855 (highlight-compare-with-file): Remove unused variable `buf-b-read-only'.
12856
12857 * htmlfontify.el (hfy-default-footer, hfy-decor, hfy-invisible)
12858 (hfy-parse-tags-buffer, hfy-prepare-index-i, hfy-prepare-index)
12859 (hfy-prepare-tag-map): Mark unused parameters.
12860 (htmlfontify-buffer): Use `called-interactively-p'.
12861
12862 * ibuf-ext.el (ibuffer-do-kill-lines, ibuffer-jump-to-buffer)
12863 (ibuffer-copy-filename-as-kill, ibuffer-mark-on-buffer)
12864 (ibuffer-do-occur): Mark unused parameters.
12865 (ibuffer-forward-next-marked): Remove unused variable `curmark'.
12866 (ibuffer-diff-buffer-with-file-1): Remove unused variable `proc'.
12867
12868 * ibuffer.el: Don't quote `lambda'.
12869 (ibuffer-count-marked-lines, ibuffer-count-deletion-lines)
12870 (ibuffer-unmark-all, ibuffer-toggle-marks, ibuffer-redisplay-engine):
12871 Mark unused parameters.
12872
12873 * ido.el (ido-mode, ido-wide-find-dir-or-delete-dir)
12874 (ido-completing-read): Mark unused parameters.
12875 (ido-copy-current-word): Mark unused parameters;
12876 remove unused variable `name'.
12877 (ido-sort-merged-list): Remove unused parameter `dirs'.
12878
12879 * ielm.el (ielm-input-sender): Mark unused parameter.
12880 (ielm-string, ielm-form, ielm-pos, ielm-result, ielm-error-type)
12881 (ielm-output, ielm-wbuf, ielm-pmark): Declare.
12882 (ielm-eval-input): Rename argument IELM-STRING to INPUT-STRING to keep
12883 `ielm-string' as a dynamic variable accessible from the IELM prompt.
12884 Bind `ielm-string' to INPUT-STRING. Remove unused variable `err'.
12885
12886 * image-dired.el (image-dired-display-thumbs): Remove unused
12887 variables `curr-file' and `count'.
12888 (image-dired-remove-tag): Remove unused variable `start'.
12889 (image-dired-tag-files, image-dired-create-thumbs): Remove unused
12890 variable `curr-file'
12891 (image-dired-rotate-original): Remove unused variable `temp-file'.
12892 (image-dired-mouse-select-thumbnail, image-dired-mouse-toggle-mark):
12893 Remove unused variable `file'.
12894 (image-dired-gallery-generate): Remove unused variable `curr'.
12895 (image-dired-dired-edit-comment-and-tags): Mark unused parameters.
12896
12897 * indent.el (tab-to-tab-stop): Remove unused variable `opoint'.
12898
12899 * info-xref.el (info-xref-goto-node-p): Remove unused variable `err'.
12900
12901 * informat.el (texinfo-command-start, texinfo-command-end): Declare.
12902
12903 * isearch.el (minibuffer-history-symbol): Declare.
12904 (isearch-edit-string): Remove unused variable `err'.
12905 (isearch-message-prefix, isearch-message-suffix):
12906 Mark unused parameters.
12907
12908 * ls-lisp.el (ls-lisp-insert-directory): Remove unused variable `fil'.
12909
12910 * macros.el (insert-kbd-macro): Remove unused variable `mods'.
12911
12912 * makesum.el (double-column): Remove unused variable `cnt'.
12913
12914 * misearch.el (multi-isearch-pop-state): Mark unused parameter.
12915 (ido-ignore-item-temp-list): Declare.
12916
12917 * mouse-drag.el (mouse-drag-throw): Remove unused variables
12918 `mouse-delta', `window-last-row', `mouse-col-delta', `window-last-col',
12919 `adjusted-mouse-col-delta' and `adjusted-mouse-delta'.
12920 (mouse-drag-drag): Remove unused variables `mouse-delta' and
12921 `mouse-col-delta'.
12922
12923 * mouse-sel.el (mouse-extend-internal):
12924 Remove unused variable `orig-window-frame'.
12925
12926 * pcomplete.el (pcomplete-args, pcomplete-begins, pcomplete-last)
12927 (pcomplete-index, pcomplete-stub, pcomplete-seen, pcomplete-norm-func):
12928 Move declarations before first use.
12929 (pcomplete-opt): Mark unused parameters; doc fix.
12930
12931 * proced.el (proced-revert): Mark unused parameter.
12932 (proced-send-signal): Remove unused variable `err'.
12933
12934 * ps-print.el (ps-print-preprint-region, ps-print-preprint):
12935 Rename parameter PREFIX-ARG to ARG.
12936 (ps-basic-plot-string, ps-basic-plot-whitespace):
12937 Mark unused parameters.
12938
12939 * replace.el (replace-count): Define.
12940 (occur-revert-function): Mark unused parameters.
12941 (ido-ignore-item-temp-list, isearch-error, isearch-forward)
12942 (isearch-case-fold-search, isearch-string): Declare.
12943 (occur-engine): Rename parameter CASE-FOLD-SEARCH to CASE-FOLD and
12944 bind `case-fold-search'. Remove unused variables `beg' and `end',
12945 and simplify.
12946 (replace-eval-replacement): Rename parameter REPLACE-COUNT to
12947 COUNT and bind `replace-count'.
12948 (replace-loop-through-replacements): Rename parameter REPLACE-COUNT
12949 to COUNT.
12950
12951 * savehist.el (print-readably, print-string-length): Declare.
12952
12953 * shadowfile.el (shadow-expand-cluster-in-file-name):
12954 Remove unused variable `cluster'.
12955 (shadow-copy-file): Remove unused variable `i'.
12956 (shadow-noquery, shadow-clusters, shadow-site-cluster)
12957 (shadow-parse-fullname, shadow-parse-name, shadow-define-cluster)
12958 (shadow-define-literal-group, shadow-define-regexp-group)
12959 (shadow-make-group, shadow-shadows-of): Clean up docstrings.
12960
12961 * shell.el (shell-filter-ctrl-a-ctrl-b): Mark unused parameter.
12962 (shell): Use `called-interactively-p'.
12963 (shell-directory-tracker): Remove unused variable `chdir-failure'.
12964
12965 * simple.el (compilation-context-lines, comint-file-name-quote-list)
12966 (comint-file-name-chars, comint-delimiter-argument-list): Declare.
12967 (delete-backward-char): Remove unused variable `ocol'.
12968 (minibuffer-avoid-prompt, minibuffer-history-isearch-pop-state)
12969 (line-move-1, event-apply-alt-modifier, event-apply-super-modifier)
12970 (event-apply-hyper-modifier, event-apply-shift-modifier)
12971 (event-apply-control-modifier, event-apply-meta-modifier):
12972 Mark unused parameters.
12973 (undo-make-selective-list): Remove duplicate variable `undo-elt'.
12974 (normal-erase-is-backspace-mode): Remove unused variable `old-state'.
12975
12976 * speedbar.el (speedbar-ignored-directory-expressions)
12977 (speedbar-supported-extension-expressions, speedbar-directory-buttons)
12978 (speedbar-find-file, speedbar-dir-follow)
12979 (speedbar-directory-buttons-follow, speedbar-tag-find)
12980 (speedbar-buffer-buttons, speedbar-buffer-buttons-temp)
12981 (speedbar-buffers-line-directory, speedbar-buffer-click):
12982 Mark unused parameters.
12983 (speedbar-tag-file): Remove unused variable `mode'.
12984 (speedbar-buffers-tail-notes): Remove unused variable `mod'; simplify.
12985
12986 * strokes.el (strokes-decode-buffer): Remove unused variable `ext'.
12987
12988 * talk.el (talk): Remove unused variable `display'.
12989
12990 * tar-mode.el (tar-subfile-save-buffer): Remove unused variable `name'.
12991 (tar-write-region-annotate): Mark unused parameter.
12992
12993 * time.el (now, time, load, mail, 24-hours, hour, 12-hours, am-pm)
12994 (minutes, seconds, time-zone, day, year, monthname, month, dayname):
12995 Declare them, wrapped in `with-no-warnings' to avoid replacing one
12996 warning by another.
12997
12998 * time-stamp.el (time-stamp-string-preprocess):
12999 Remove unused variable `require-padding'.
13000
13001 * tree-widget.el (widget-glyph-enable): Declare.
13002 (tree-widget-action): Mark unused parameter.
13003
13004 * w32-fns.el (x-get-selection): Mark unused parameter.
13005 (autoload-make-program, generated-autoload-file): Declare.
13006
13007 * wdired.el (wdired-revert): Mark unused parameters.
13008 (wdired-xcase-word): Remove unused variable `err'.
13009
13010 * whitespace.el (whitespace-buffer-changed): Mark unused parameters.
13011 (whitespace-help-scroll): Remove unused variable `data-help'.
13012
13013 * wid-edit.el (widget-mouse-help, widget-overlay-inactive)
13014 (widget-image-insert, widget-after-change, default)
13015 (widget-default-format-handler, widget-default-notify)
13016 (widget-default-prompt-value, widget-info-link-action)
13017 (widget-url-link-action, widget-function-link-action)
13018 (widget-variable-link-action, widget-file-link-action)
13019 (widget-emacs-library-link-action, widget-emacs-commentary-link-action)
13020 (widget-field-prompt-internal, widget-field-action, widget-field-match)
13021 (widget-choice-mouse-down-action, toggle, widget-radio-button-notify)
13022 (widget-insert-button-action, widget-delete-button-action, visibility)
13023 (widget-documentation-link-action, widget-documentation-string-action)
13024 (widget-const-prompt-value, widget-regexp-match, symbol)
13025 (widget-coding-system-prompt-value)
13026 (widget-key-sequence-value-to-external, sexp)
13027 (widget-sexp-value-to-internal, character, vector, cons)
13028 (widget-choice-prompt-value, widget-boolean-prompt-value)
13029 (widget-color--choose-action): Mark unused parameters.
13030 (widget-item-match-inline, widget-choice-match-inline)
13031 (widget-checklist-match, widget-checklist-match-inline)
13032 (widget-group-match): Rename parameter VALUES to VALS.
13033 (widget-field-value-set): Remove unused variable `size'.
13034 (widget-color-action): Remove unused variables `value' and `start'.
13035
13036 * windmove.el (windmove-wrap-loc-for-movement): Remove unused
bd0d2ee2 13037 variable `dir'. Doc fix.
06b60517
JB
13038 (windmove-find-other-window): Don't pass it.
13039
13040 * window.el (count-windows): Mark unused parameter.
13041 (bw-adjust-window): Remove unused variable `err'.
13042
13043 * woman.el (woman-file-name): Remove unused variable `default'.
13044 (woman-expand-directory-path): Rename parameters WOMAN-MANPATH and
13045 WOMAN-PATH to PATH-DIRS and PATH-REGEXPS, respectively.
13046 (global-font-lock-mode): Declare.
13047 (woman-decode-region): Mark unused parameter.
13048 (woman-get-tab-stop): Rename parameter TAB-STOP-LIST to TAB-STOPS.
13049
13050 * x-dnd.el (x-dnd-default-test-function, x-dnd-handle-old-kde)
13051 (x-dnd-handle-xdnd, x-dnd-handle-motif): Mark unused parameters.
13052 (x-dnd-handle-moz-url): Remove unused variable `title'.
13053 (x-dnd-handle-xdnd): Remove unused variables `x', `y' and `ret-action'.
13054
13055 * xml.el (xml-parse-tag, xml-parse-attlist):
13056 Remove unused variable `pos'.
13057
bc4f7f3d
GM
130582011-04-19 Glenn Morris <rgm@gnu.org>
13059
13060 * calendar/cal-tex.el (cal-tex-list-holidays, cal-tex-cursor-month)
13061 (cal-tex-cursor-week, cal-tex-cursor-week2, cal-tex-cursor-week-iso)
13062 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
13063 (cal-tex-cursor-filofax-daily, cal-tex-mini-calendar)
13064 * calendar/cal-html.el (cal-html-insert-minical):
13065 * calendar/diary-lib.el (diary-list-entries-1, diary-list-entries)
13066 (calendar-mark-date-pattern):
13067 Prefix "unused" locals.
13068
13069 * calendar/cal-dst.el (dst-adjust-time): Remove never-implemented
13070 optional argument `style'.
13071
13072 * calendar/appt.el (appt-make-list):
13073 * calendar/cal-china.el (calendar-chinese-date-string):
13074 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits)
13075 (diary-hebrew-yahrzeit):
13076 * calendar/cal-tex.el (cal-tex-last-blank-p, cal-tex-cursor-week2):
13077 * calendar/calendar.el (calendar-generate-window):
13078 * calendar/time-date.el (time-to-days):
13079 Remove unused local variables.
13080
16a43933
CY
130812011-04-18 Chong Yidong <cyd@stupidchicken.com>
13082
13083 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Use a custom
13084 glyphless-char-display table.
13085 (tabulated-list-glyphless-char-display): New var.
13086
7eed1860
SS
130872011-04-18 Sam Steingold <sds@gnu.org>
13088
13089 * vc/add-log.el (change-log-font-lock-keywords): Add "Thanks to"
13090 to acknowledgments.
13091
4d2d1ccd
GM
130922011-04-17 Glenn Morris <rgm@gnu.org>
13093
13094 * calendar/diary-lib.el (diary-sexp-entry):
13095 * calendar/holidays.el (holiday-sexp):
13096 Set debug-on-error rather than the removed stack-trace-on-error.
13097
239da61d
GM
130982011-04-16 Glenn Morris <rgm@gnu.org>
13099
13100 * progmodes/f90.el: Use lexical-binding.
13101 (f90-get-correct-indent): Remove unnecessary local variable `cont'.
13102
8b05752a
SM
131032011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
13104
daca8ba5
SM
13105 * mail/sendmail.el (mail-mode-map): Use completion-at-point.
13106 (mail-mode): Setup mailalias completion here instead.
13107 * mail/mailalias.el: Use lexical-binding.
13108 (pattern, mailalias-done): Declare dynamic.
13109 (mail-completion-at-point-function): New function, from mail-complete.
13110 (mail-complete): Use it.
13111 (mail-completion-expand): New function.
13112 (mail-get-names): Use it.
13113 (mail-directory, mail-directory-process, mail-directory-stream):
13114 Don't use `pattern' for lexically bound arg.
13115
6f542485
SM
13116 * emacs-lisp/lisp-mode.el (eval-defun-2): Use eval-sexp-add-defvars.
13117
037e7c3f
SM
13118 * htmlfontify.el (hfy-etags-cmd): Remove inoperant eval-and-compile.
13119 (hfy-e2x-etags-cmd, hfy-etags-cmd-alist-default)
13120 (hfy-etags-cmd-alist): Don't eval-and-compile any more.
13121
8b05752a
SM
13122 * emacs-lisp/bytecomp.el (byte-temp-output-buffer-show)
13123 (byte-save-window-excursion, byte-temp-output-buffer-setup)
13124 (byte-interactive-p): Define them again, for use when inlining
13125 old code.
13126
49093f60
JB
131272011-04-15 Juanma Barranquero <lekktu@gmail.com>
13128
13129 * loadup.el: Use `string-to-number', not `string-to-int'.
13130
b5b8e7de
SM
131312011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
13132
13133 * progmodes/gud.el (gud-gdb): Use completion-at-point instead of
13134 gud-gdb-complete-command.
13135 (gud-gdb-completions): New function, from gud-gdb-complete-command.
13136 (gud-gdb-completion-at-point): New function.
13137 (gud-gdb-completions): Remove.
13138
f42efeb5
MA
131392011-04-14 Michael Albinus <michael.albinus@gmx.de>
13140
49093f60
JB
13141 * net/tramp-sh.el (tramp-sh-handle-file-attributes): Handle the case
13142 when the scripts fail. Use `tramp-do-file-attributes-with-ls' then.
13143 (tramp-do-copy-or-rename-file-out-of-band): Do not check any longer
13144 whether `executable-find' is bound.
f42efeb5
MA
13145
13146 * net/tramp-smb.el (tramp-smb-handle-copy-file): Fix docstring.
13147
e240cc21
SM
131482011-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
13149
13150 * minibuffer.el (completion-in-region-mode-predicate)
13151 (completion-in-region-mode--predicate): New vars.
13152 (completion-in-region, completion-in-region--postch)
13153 (completion-in-region-mode): Use them.
13154 (completion--capf-wrapper): Also return the hook function.
13155 (completion-at-point, completion-help-at-point):
13156 Adjust and provide a predicate.
c2bd2ab0
SM
13157
13158 Preserve arg names for advice of subr and lexical functions (bug#8457).
13159 * help-fns.el (help-function-arglist): Consolidate the subr and
13160 new-byte-code cases. Add argument `preserve-names' to extract names
13161 from the docstring when needed.
13162 * emacs-lisp/advice.el (ad-define-subr-args, ad-undefine-subr-args)
13163 (ad-subr-args-defined-p, ad-get-subr-args, ad-subr-arglist): Remove.
13164 (ad-arglist): Use help-function-arglist's new arg.
13165 (ad-definition-type): Use cond.
13166
c183f693
JB
131672011-04-13 Juanma Barranquero <lekktu@gmail.com>
13168
06641a47
JB
13169 * autorevert.el (auto-revert-handler):
13170 Bind `remote-file-name-inhibit-cache', not `tramp-cache-inhibit-cache',
13171 which was removed in 2010-10-02T13:21:43Z!michael.albinus@gmx.de.
13172 Don't quote lambda.
13173
c183f693
JB
13174 * image-mode.el (image-transform-set-scale):
13175 Fix change in 2011-04-09T20:28:01Z!cyd@stupidchicken.com.
13176
1e3b6001
G
131772011-04-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
13178
13179 * net/network-stream.el (network-stream-open-starttls): Only do
e9fce1ac 13180 opportunistic STARTTLS upgrades if we have built-in GnuTLS support.
1e3b6001
G
13181 Upgrades via gnutls-cli are too slow to be done opportunistically.
13182
2d6af8dd
JB
131832011-04-12 Juanma Barranquero <lekktu@gmail.com>
13184
13185 * dframe.el (dframe-current-frame): Remove spurious quote.
13186
c0749a51
GM
131872011-04-12 Glenn Morris <rgm@gnu.org>
13188
088d0d61
GM
13189 * calendar/cal-tex.el (cal-tex-end-document):
13190 Try to automatically use latin1 input if needed.
13191
c0749a51
GM
13192 * calendar/cal-hebrew.el (diary-hebrew-rosh-hodesh):
13193 Don't try to cons a mark onto an empty element.
13194
5c90fde0
LL
131952011-04-11 Leo Liu <sdl.web@gmail.com>
13196
13197 * ido.el (ido-buffer-internal): Allow method 'kill for virtual
13198 buffers.
13199 (ido-kill-buffer-at-head): Support killing virtual buffers.
13200
369e974d
CY
132012011-04-10 Chong Yidong <cyd@stupidchicken.com>
13202
13203 * minibuffer.el (completion-show-inline-help): New var.
13204 (completion--do-completion, minibuffer-complete)
daca8ba5
SM
13205 (minibuffer-force-complete, minibuffer-complete-word):
13206 Inhibit minibuffer messages if completion-show-inline-help is nil.
369e974d
CY
13207
13208 * icomplete.el (icomplete-mode): Bind completion-show-inline-help
13209 to avoid interference from inline help (Bug#5849).
13210
37f1c930
LL
132112011-04-10 Leo Liu <sdl.web@gmail.com>
13212
099c39a4
JB
13213 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
13214 Fix typo.
37f1c930 13215
a32d4040
CY
132162011-04-09 Chong Yidong <cyd@stupidchicken.com>
13217
13218 * image-mode.el (image-toggle-display-image): Signal an error if
13219 not in Image mode.
13220 (image-transform-mode, image-transform-resize)
13221 (image-transform-set-rotation): Doc fix.
daca8ba5 13222 (image-transform-set-resize): Delete.
a32d4040
CY
13223 (image-transform-set-scale, image-transform-fit-to-height)
13224 (image-transform-fit-to-width): Handle image-toggle-display-image
13225 and image-transform-resize directly.
13226
099c39a4 132272011-04-08 Sho Nakatani <lay.sakura@gmail.com>
d7b89879
TH
13228
13229 * doc-view.el (doc-view-fit-width-to-window)
099c39a4
JB
13230 (doc-view-fit-height-to-window, doc-view-fit-page-to-window):
13231 New functions for fitting the shown image to the Emacs window size.
d7b89879
TH
13232 (doc-view-mode-map): Add bindings for the new functions.
13233
099c39a4 132342011-04-08 Juanma Barranquero <lekktu@gmail.com>
ddc20cdb 13235
4d61f28d 13236 * vc/vc-annotate.el (vc-annotate-show-log-revision-at-line):
ddc20cdb
JB
13237 Fix typo in docstring.
13238
3726838a
EZ
132392011-04-08 Eli Zaretskii <eliz@gnu.org>
13240
04f33f1e
EZ
13241 * files.el (file-size-human-readable): Produce one digit after
13242 decimal, like "ls -lh" does.
13243
13244 * ls-lisp.el (ls-lisp-format-file-size): Allow for 7 characters in
13245 the file size representation.
13246
3726838a
EZ
13247 * simple.el (list-processes): If async subprocesses are not
13248 available, error out with a clear error message.
13249
cbb59342
CY
132502011-04-08 Chong Yidong <cyd@stupidchicken.com>
13251
13252 * help.el (help-form-show): New function, to be called from C.
13253 Put help-form output in a buffer named differently than *Help*.
13254
e3971c44
EZ
132552011-04-08 Eli Zaretskii <eliz@gnu.org>
13256
13257 * files.el (file-size-human-readable): New function.
13258
13259 * ls-lisp.el (ls-lisp-format-file-size): Use it, instead of
13260 computing the representation inline. Don't require `cl'.
13261
12544bbe
GM
132622011-04-08 Glenn Morris <rgm@gnu.org>
13263
a1de6c6a
GM
13264 * man.el (Man-page-header-regexp): Solaris < 2.6 no longer supported.
13265
3c4671f4
GM
13266 * net/browse-url.el (browse-url-firefox):
13267 Test system-type, not system-configuration.
13268
b605679c
GM
13269 * vc/log-edit.el (log-edit-empty-buffer-p): New function.
13270 (log-edit-insert-cvs-template, log-edit-insert-cvs-rcstemplate):
13271 Use log-edit-empty-buffer-p. (Bug#7598)
13272
56442f0c
GM
13273 * net/rlogin.el (rlogin-process-connection-type): Simplify.
13274 (rlogin-mode-map): Initialize in the defvar.
13275 (rlogin): Use ignore-errors.
13276
12544bbe
GM
13277 * replace.el (occur-mode-map): Some fixes for menu items.
13278
eb237b0f
AH
132792011-04-07 Aaron S. Hawley <aaron.s.hawley@gmail.com>
13280
13281 * play/morse.el (denato-region): Handle varying case. (Bug#8386)
13282
7d668f2c
CY
132832011-04-06 Chong Yidong <cyd@stupidchicken.com>
13284
e67a13ab
CY
13285 * emacs-lisp/cconv.el (cconv--analyse-use): Ignore "ignored" when
13286 issuing unused warnings.
13287
13288 * emacs-lisp/tabulated-list.el (tabulated-list-print): Use lambda
13289 macro directly.
13290
7d668f2c
CY
13291 * simple.el: Lisp reimplement of list-processes. Based on an
13292 earlier reimplementation by Leo Liu, but using tabulated-list.el.
13293 (process-menu-mode): New major mode.
13294 (list-processes--refresh, list-processes):
13295 (process-menu-visit-buffer): New functions.
13296
13297 * files.el (save-buffers-kill-emacs): Don't assume any return
13298 value of list-processes, which is undocumented anyway.
13299
a83ec3c9
CY
133002011-04-06 Chong Yidong <cyd@stupidchicken.com>
13301
13302 * emacs-lisp/tabulated-list.el: New file.
13303
e91a96fe
CY
13304 * emacs-lisp/package.el: Use Tabulated List mode.
13305 (package-menu-mode-map): Inherit from tabulated-list-mode-map.
13306 (package-menu-mode): Derive from tabulated-list-mode. Set up the
13307 table format using Tabulated List mode variables.
13308 (package--push): New macro, replacing package-list-maybe-add.
13309 (package-menu--generate): Use package--push. Renamed from
13310 package--generate-package-list.
13311 (package-menu-refresh, list-packages): Use it.
daca8ba5 13312 (package-menu--print-info): Rename from package-print-package.
e91a96fe 13313 Return insertion data instead of inserting it directly.
099c39a4
JB
13314 (package-menu-describe-package, package-menu-execute):
13315 Use tabulated-list-get-id.
e91a96fe
CY
13316 (package-menu-mark-delete, package-menu-mark-install)
13317 (package-menu-mark-unmark, package-menu-backup-unmark)
099c39a4
JB
13318 (package-menu-mark-obsolete-for-deletion):
13319 Use tabulated-list-put-tag.
e91a96fe
CY
13320 (package--list-packages, package-menu-revert)
13321 (package-menu-get-package, package-menu-get-version)
13322 (package-menu-sort-by-column): Functions deleted.
13323 (package-menu-package-list, package-menu-sort-key): Vars deleted.
13324 (package-menu--status-predicate, package-menu--version-predicate)
13325 (package-menu--name-predicate)
13326 (package-menu--description-predicate): Handle arguments in the
13327 Tabulated List format.
13328 (package-list-packages-no-fetch): Call list-packages.
13329
3e214b50
JB
133302011-04-06 Juanma Barranquero <lekktu@gmail.com>
13331
13332 * files.el (after-find-file-from-revert-buffer): Remove variable.
c9d0ec6d 13333 (after-find-file): Don't bind it.
3e214b50
JB
13334 (revert-buffer-in-progress-p): New variable.
13335 (revert-buffer): Bind it.
13336 Pass nil for `after-find-file-from-revert-buffer'.
13337
13338 * saveplace.el (save-place-find-file-hook): Use new variable
13339 `rever-buffer-in-progress-p', not `after-find-file-from-revert-buffer'.
13340
3f0f1700
GM
133412011-04-06 Glenn Morris <rgm@gnu.org>
13342
c0274801
GM
13343 * Makefile.in (AUTOGEN_VCS): New variable.
13344 (autoloads): Use $AUTOGEN_VCS.
13345
3f0f1700
GM
13346 * calendar/cal-move.el (calendar-scroll-toolkit-scroll): New function.
13347 * calendar/calendar.el (calendar-mode-map):
13348 Check for toolkit scroll bars. (Bug#8305)
13349
41ea9e48
CY
133502011-04-05 Chong Yidong <cyd@stupidchicken.com>
13351
13352 * minibuffer.el (completion-in-region--postch)
13353 (completion-in-region-mode): Remove unnecessary messages.
13354
6194c800
JB
133552011-04-05 Juanma Barranquero <lekktu@gmail.com>
13356
33256f14
JB
13357 * font-lock.el (font-lock-refresh-defaults):
13358 Don't bind `hi-lock--inhibit-font-lock-hook', removed in
13359 2010-10-09T04:09:19Z!cyd@stupidchicken.com and 2010-10-11T23:57:49Z!lekktu@gmail.com (2010-10-12).
13360
6194c800
JB
13361 * info.el (Info-directory-list, Info-read-node-name-2)
13362 (Info-split-parameter-string): Doc fixes.
13363 (Info-virtual-nodes): Reflow docstring.
13364 (Info-find-file, Info-directory-toc-nodes, Info-history-toc-nodes)
13365 (Info-apropos-toc-nodes, info-finder, Info-get-token)
13366 (Info-find-emacs-command-nodes, Info-speedbar-key-map):
13367 Fix typos in docstrings.
13368 (Info-revert-buffer-function, Info-search, Info-isearch-pop-state)
13369 (Info-speedbar-hierarchy-buttons, Info-speedbar-goto-node)
13370 (Info-speedbar-buttons, Info-desktop-buffer-misc-data)
13371 (Info-restore-desktop-buffer): Mark unused parameters.
13372 (Info-directory-find-file, Info-directory-find-node)
13373 (Info-history-find-file, Info-history-find-node, Info-toc-find-node)
13374 (Info-virtual-index-find-node, Info-apropos-find-file)
13375 (Info-apropos-find-node, Info-finder-find-file, Info-finder-find-node):
33256f14 13376 Mark unused parameters; fix typos in docstrings.
6194c800
JB
13377 (Info-virtual-index): Remove unused local variable `nodename'.
13378
b87a8200 133792011-04-05 Deniz Dogan <deniz@dogan.se>
0f6ee7d2 13380
b87a8200
DD
13381 * net/rcirc.el: Update my e-mail address.
13382 (rcirc-mode-map): Remove M-o binding.
0f6ee7d2 13383
3b2ff876
CY
133842011-04-05 Chong Yidong <cyd@stupidchicken.com>
13385
13386 * startup.el (command-line): Save the cursor's theme-face
13387 directly, instead of using face-override-spec.
13388
13389 * custom.el (load-theme): Minor optimization in assigning faces.
13390
8d17e7ca
JB
133912011-04-04 Juanma Barranquero <lekktu@gmail.com>
13392
13393 * help-fns.el (describe-variable): Complete all variables having
13394 documentation, including keywords.
13395 http://lists.gnu.org/archive/html/emacs-devel/2011-04/msg00112.html
13396
2fbc1934
JB
133972011-04-04 Juanma Barranquero <lekktu@gmail.com>
13398
13399 Convert to lexical-binding.
13400
13401 * bs.el (bs-refresh, bs-sort-buffer-interns-are-last)
13402 (bs--get-marked-string, bs--get-modified-string)
13403 (bs--get-readonly-string, bs--get-size-string, bs--get-name)
13404 (bs--get-mode-name, bs--get-file-name): Mark unused arguments.
13405 (bs--configuration-name-for-prefix-arg): Rename argument PREFIX-ARG.
13406
13407 * ehelp.el (electric-help-execute-extended)
13408 (electric-help-ctrl-x-prefix):
13409 * hexl.el (hexl-revert-buffer-function):
13410 * linum.el (linum-after-change, linum-after-scroll):
13411 * emacs-lisp/re-builder.el (reb-auto-update): Mark unused arguments.
13412
13413 * help-fns.el (help-describe-category-set): Remove unused ERR variable.
13414
74f50695
DU
134152011-04-04 Daiki Ueno <ueno@unixuser.org>
13416
13417 * epa-dired.el:
13418 * epa-mail.el:
13419 * epa-hook.el:
13420 * epa-file.el:
13421 * epa.el:
13422 * epg.el: Use lexical binding.
13423
c11325f7
CY
134242011-04-03 Chong Yidong <cyd@stupidchicken.com>
13425
0d9e9a12
CY
13426 * dired-aux.el (dired-create-files): Add docstring (Bug#7970).
13427
c11325f7 13428 * textmodes/flyspell.el (flyspell-word): Recognize default
daca8ba5
SM
13429 dictionary case for flyspell-mark-duplications-exceptions.
13430 Use regexp matching for languages.
c11325f7
CY
13431 (flyspell-mark-duplications-exceptions): Add "that" and "had" for
13432 default dictionary (Bug#7926).
13433
da91b5f2
CY
134342011-04-02 Chong Yidong <cyd@stupidchicken.com>
13435
099c39a4
JB
13436 * emacs-lisp/package.el (package--with-work-buffer):
13437 Recognize https URLs.
da91b5f2 13438
099c39a4
JB
13439 * net/network-stream.el: Move from gnus/proto-stream.el.
13440 Change prefix to network-stream throughout.
da91b5f2
CY
13441 (open-protocol-stream): Merge into open-network-stream, leaving
13442 open-protocol-stream as an alias. Handle nil BUFFER args.
13443
13444 * subr.el (open-network-stream): Move to net/network-stream.el.
13445
afa8e9f6
GM
134462011-04-02 Glenn Morris <rgm@gnu.org>
13447
1d2e369d
GM
13448 * find-dired.el (find-exec-terminator): New option.
13449 (find-ls-option): Test for -ls support.
13450 (find-ls-subdir-switches): Test for -b in find-ls-option.
13451 (find-dired, find-grep-dired): Doc fixes.
13452 (find-dired): Use find-exec-terminator.
13453
8abb7da8 13454 * find-dired.el (find-ls-option, find-ls-subdir-switches)
e7a395b5
GM
13455 (find-grep-options): Do not autoload these defcustoms, remove purecopy.
13456 (find-name-arg): Remove purecopy.
8abb7da8 13457
f3ca7378
GM
13458 * progmodes/grep.el (grep-find-use-xargs): Doc fix.
13459 (grep-compute-defaults): Check for `-exec COMMAND +' support.
13460 Set grep-find-use-xargs, grep-find-command, and grep-find-template
13461 accordingly. Don't add the null-device if not needed.
13462
afa8e9f6
GM
13463 * files.el (save-some-buffers): Doc fix.
13464
35eae264
EZ
134652011-04-02 Eli Zaretskii <eliz@gnu.org>
13466
13467 * makefile.w32-in (EMACS): Default to ../src/$(BLD)/emacs.exe.
13468
26b51db5
JB
134692011-04-01 Juanma Barranquero <lekktu@gmail.com>
13470
13471 * progmodes/idlwave.el (idlwave-one-key-select, idlwave-list-abbrevs):
13472 Use `dolist' rather than `mapcar'.
13473
7200d79c
SM
134742011-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
13475
03408648 13476 Add lexical binding.
7200d79c 13477
03408648
SM
13478 * subr.el (apply-partially): Use new closures rather than CL.
13479 (--dolist-tail--, --dotimes-limit--): Don't declare dynamic.
13480 (dolist, dotimes): Use slightly different expansion for lexical code.
13481 (functionp): Move to C.
13482 (letrec): New macro.
13483 (with-wrapper-hook): Use it and apply-partially instead of CL.
13484 (eval-after-load): Preserve lexical-binding.
13485 (save-window-excursion, with-output-to-temp-buffer): Turn them
13486 into macros.
7200d79c 13487
03408648
SM
13488 * simple.el (with-wrapper-hook, apply-partially): Move to subr.el.
13489
13490 * help-fns.el (help-split-fundoc): Return nil if there's nothing else
13491 than the arglist.
13492 (help-add-fundoc-usage): Don't add `Not documented'.
13493 (help-function-arglist): Handle closures, subroutines, and new
13494 byte-code-functions.
13495 (help-make-usage): Remove leading underscores.
13496 (describe-function-1): Handle closures.
13497 (describe-variable): Use special-variable-p for completion.
13498
13499 * files.el (lexical-binding): Declare safe.
f488fb65 13500
03408648
SM
13501 * emacs-lisp/pcase.el: Don't use destructuring-bind.
13502 (pcase--memoize): Rename from pcase-memoize. Change weakness.
13503 (pcase): Add `let' pattern.
13504 Change memoization so it actually works.
13505 (pcase-mutually-exclusive-predicates): Add byte-code-function-p.
13506 (pcase--u1) <guard, pred>: Fix possible shadowing problem.
13507 <let>: New case.
f488fb65 13508
03408648
SM
13509 * emacs-lisp/macroexp.el: Use lexical binding.
13510 (macroexpand-all-1): Check obsolete macros. Expand compiler-macros.
13511 Don't convert ' to #' without checking that it's indeed quoting
13512 a lambda.
13513
13514 * emacs-lisp/lisp-mode.el (eval-last-sexp-1):
f488fb65 13515 Use eval-sexp-add-defvars.
03408648
SM
13516 (eval-sexp-add-defvars): New fun.
13517
13518 * emacs-lisp/float-sup.el (pi): Don't declare as dynamically bound.
13519
13520 * emacs-lisp/eieio.el (byte-compile-file-form-defmethod):
13521 Don't autoload.
13522 (eieio-defgeneric-form-primary-only-one): Use `byte-compile' rather
13523 than the internal `byte-compile-lambda'.
13524 (defmethod): Don't hide code under quotes.
13525 (eieio-defmethod): New `code' argument.
13526
13527 * emacs-lisp/eieio-comp.el: Remove.
13528
13529 * emacs-lisp/edebug.el (edebug-eval-defun)
13530 (edebug-eval-top-level-form): Use eval-sexp-add-defvars.
13531 (edebug-toggle): Avoid `eval'.
13532
13533 * emacs-lisp/disass.el (disassemble-internal): Handle new
13534 `closure' objects.
13535 (disassemble-1): Handle new byte codes.
13536
13537 * emacs-lisp/cl.el (pushnew): Silence warning.
13538
13539 * emacs-lisp/cl-macs.el (cl-byte-compile-block)
13540 (cl-byte-compile-throw): Remove.
13541 (cl-block-wrapper, cl-block-throw): Use compiler-macros instead.
13542
13543 * emacs-lisp/cl-extra.el (cl-macroexpand-all): Properly quote CL
13544 closures.
13545
13546 * emacs-lisp/cconv.el: New file.
13547
13548 * emacs-lisp/bytecomp.el: Use lexical binding instead of
13549 a "bytecomp-" prefix. Macroexpand everything as a separate phase.
13550 (byte-compile-initial-macro-environment):
13551 Handle declare-function here.
13552 (byte-compile--lexical-environment): New var.
13553 (byte-stack-ref, byte-stack-set, byte-discardN)
13554 (byte-discardN-preserve-tos): New lap codes.
13555 (byte-interactive-p): Don't use any more.
13556 (byte-compile-push-bytecodes, byte-compile-push-bytecode-const2):
13557 New macros.
13558 (byte-compile-lapcode): Use them and handle new lap codes.
13559 (byte-compile-obsolete): Remove.
13560 (byte-compile-arglist-signature): Handle new byte-code arg"lists".
13561 (byte-compile-arglist-warn): Check late def of inlinable funs.
13562 (byte-compile-cl-warn): Don't silence warnings for compiler-macros
13563 since they should have been expanded by now.
13564 (byte-compile--outbuffer): Rename from bytecomp-outbuffer.
13565 (byte-compile-from-buffer): Remove unused second arg.
13566 (byte-compile-preprocess): New function.
13567 (byte-compile-toplevel-file-form): New function to distinguish
13568 file-form calls from outside from file-form calls from hunk-handlers.
13569 (byte-compile-file-form): Simplify.
13570 (byte-compile-file-form-defsubst): Remove.
13571 (byte-compile-file-form-defmumble): Simplify now that
13572 byte-compile-lambda always returns a byte-code-function.
13573 (byte-compile): Preprocess.
13574 (byte-compile-byte-code-maker, byte-compile-byte-code-unmake):
13575 Remove, not used any more.
13576 (byte-compile-arglist-vars, byte-compile-make-lambda-lexenv)
13577 (byte-compile-make-args-desc): New funs.
13578 (byte-compile-lambda): Handle lexical functions. Always return
13579 a byte-code-function.
13580 (byte-compile-reserved-constants): New var, to make up room for
13581 closed-over variables.
13582 (byte-compile-constants-vector): Obey it.
13583 (byte-compile-top-level): New args `lexenv' and `reserved-csts'.
13584 (byte-compile-macroexpand-declare-function): New function.
13585 (byte-compile-form): Call byte-compile-unfold-bcf to inline immediate
13586 byte-code-functions.
13587 (byte-compile-form): Check obsolescence here.
13588 (byte-compile-inline-lapcode, byte-compile-unfold-bcf): New functions.
13589 (byte-compile-variable-ref): Remove.
13590 (byte-compile-dynamic-variable-op): New fun.
13591 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
13592 (byte-compile-variable-set): New funs.
13593 (byte-compile-discard): Add 2 args.
13594 (byte-compile-stack-ref, byte-compile-stack-set)
13595 (byte-compile-make-closure, byte-compile-get-closed-var): New funs.
13596 (byte-compile-funarg, byte-compile-funarg-2): Remove, handled in
13597 macroexpand-all instead.
13598 (byte-compile-quote-form): Remove.
13599 (byte-compile-push-binding-init, byte-compile-not-lexical-var-p)
13600 (byte-compile-bind, byte-compile-unbind): New funs.
13601 (byte-compile-let): Handle let* and lexical binding.
13602 (byte-compile-let*): Remove.
13603 (byte-compile-catch, byte-compile-unwind-protect)
13604 (byte-compile-track-mouse, byte-compile-condition-case):
13605 Handle a new :fun-body form, used for lexical scoping.
13606 (byte-compile-save-window-excursion)
13607 (byte-compile-with-output-to-temp-buffer): Remove.
13608 (byte-compile-defun): Simplify.
13609 (byte-compile-stack-adjustment): New fun.
13610 (byte-compile-out): Use it.
13611 (byte-compile-refresh-preloaded): Don't reload byte-compiler files.
13612
13613 * emacs-lisp/byte-run.el (make-obsolete): Don't set the `byte-compile'
13614 handler any more.
13615
13616 * emacs-lisp/byte-opt.el: Use lexical binding.
13617 (byte-inline-lapcode): Remove (to bytecomp).
13618 (byte-compile-inline-expand): Pay attention to inlining to/from
13619 lexically bound code.
13620 (byte-compile-unfold-lambda): Don't handle byte-code-functions
13621 any more.
13622 (byte-optimize-form-code-walker): Don't handle save-window-excursion
13623 any more and don't call compiler-macros.
13624 (byte-compile-splice-in-already-compiled-code): Remove.
13625 (byte-code): Don't inline any more.
13626 (disassemble-offset): Receive `bytes' as argument rather than via
13627 dynamic scoping.
13628 (byte-compile-tag-number): Declare before first use.
13629 (byte-decompile-bytecode-1): Handle new byte-codes, don't change
13630 `return' even if make-spliceable.
13631 (byte-compile-side-effect-and-error-free-ops): Add stack-ref, remove
13632 obsolete interactive-p.
13633 (byte-optimize-lapcode): Optimize new lap-codes.
13634 Don't trip up on new form of `byte-constant' lap code.
13635
13636 * emacs-lisp/autoload.el (make-autoload): Don't burp on trivial macros.
13637
13638 * emacs-lisp/advice.el (ad-arglist): Use help-function-arglist.
13639
13640 * custom.el (custom-initialize-default, custom-declare-variable):
13641 Use `defvar'.
13642
13643 * Makefile.in (BIG_STACK_DEPTH, BIG_STACK_OPTS, BYTE_COMPILE_FLAGS):
13644 New variables.
13645 (compile-onefile, .el.elc, compile-calc, recompile): Use them.
13646 (COMPILE_FIRST): Add macroexp and cconv.
13647 * makefile.w32-in: Mirror changes in Makefile.in.
13648
13649 * vc/cvs-status.el:
13650 * vc/diff-mode.el:
13651 * vc/log-edit.el:
13652 * vc/log-view.el:
13653 * vc/smerge-mode.el:
13654 * textmodes/bibtex-style.el:
13655 * textmodes/css.el:
13656 * startup.el:
13657 * uniquify.el:
da91b5f2
CY
13658 * minibuffer.el:
13659 * newcomment.el:
13660 * reveal.el:
13661 * server.el:
13662 * mpc.el:
13663 * emacs-lisp/smie.el:
13664 * doc-view.el:
13665 * dired.el:
03408648
SM
13666 * abbrev.el: Use lexical binding.
13667
0f0c1f27
EZ
136682011-04-01 Eli Zaretskii <eliz@gnu.org>
13669
13670 * info.el (info-display-manual): New function.
13671
c82b2579
SM
136722011-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
13673
13674 * loadup.el: Load minibuffer after loaddefs, to use define-minor-mode.
13675
221ddf68
TH
136762011-03-31 Tassilo Horn <tassilo@member.fsf.org>
13677
13678 * net/rcirc.el (rcirc-handler-001): Only authenticate, if there's
2fbc1934 13679 an entry for that server in rcirc-authinfo. (Bug#8385)
221ddf68 13680
cba6e77e
GM
136812011-03-31 Glenn Morris <rgm@gnu.org>
13682
e040639f
GM
13683 * progmodes/f90.el (f90-find-tag-default): Handle multiple `%'.
13684
cba6e77e
GM
13685 * generic-x.el (etc-fstab-generic-mode): Add ext4, sysfs keywords.
13686
6d0f1c9e
CS
136872011-03-30 Christoph Scholtes <cschol2112@googlemail.com>
13688
13689 * progmodes/python.el (python-default-interpreter)
13690 (python-python-command-args, python-jython-command-args)
13691 (python-which-shell, python-which-args, python-which-bufname)
13692 (python-file-queue, python-comint-output-filter-function)
13693 (python-toggle-shells, python-shell): Remove obsolete defcustoms,
13694 variables and functions.
13695
3e2d70fd
SM
136962011-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
13697
13698 * minibuffer.el (completion-table-dynamic): Optimize `boundaries'.
13699 (completion-in-region-mode): New minor mode.
13700 (completion-in-region): Use it.
13701 (completion-in-region--data, completion-in-region-mode-map): New vars.
13702 (completion-in-region--postch): New function.
13703 (completion--capf-misbehave-funs, completion--capf-safe-funs):
13704 New vars.
13705 (completion--capf-wrapper): New function.
13706 (completion-at-point): Use it to track well-behavedness of
13707 hook functions.
13708 (completion-help-at-point): New command.
13709
f3e4086c
JM
137102011-03-30 Jason Merrill <jason@redhat.com> (tiny change)
13711
13712 * vc/add-log.el (add-change-log-entry): Don't use whitespace
13713 syntax class to search for whitespace on a single line
13714 (Message-ID: <4D938140.4030905@redhat.com>).
13715
eb7ffc14
LL
137162011-03-30 Leo Liu <sdl.web@gmail.com>
13717
13718 * abbrev.el (abbrev-edit-save-to-file, abbrev-edit-save-buffer):
13719 New commands.
13720 (edit-abbrevs-map): Bind them here.
13721 (write-abbrev-file): New optinal arg VERBOSE. (Bug#5937)
13722
d806ab68
KM
137232011-03-29 Ken Manheimer <ken.manheimer@gmail.com>
13724
13725 * allout.el (allout-hide-by-annotation, allout-flag-region):
13726 Reduce possibility of overlay leakage by making them volatile.
13727
13728 * allout-widgets.el (allout-widgets-tally): Define as nil so the
13729 hash is not shared between buffers. Mode initialization is
13730 responsible for giving it a useful starting value.
13731 (allout-item-span): Reduce possibility of overlay leakage by
13732 making them volatile.
13733 (allout-widgets-count-buttons-in-region): Add diagnostic function
13734 for tracking down button overlay leaks.
13735
ea622834
LL
137362011-03-29 Leo Liu <sdl.web@gmail.com>
13737
13738 * ido.el (ido-read-internal): Use the default history var
13739 minibuffer-history if no HISTORY is specified.
13740
b62f8267
G
137412011-03-28 Brian T. Sniffen <bsniffen@akamai.com> (tiny change)
13742
03408648
SM
13743 * net/imap.el (imap-shell-open, imap-process-connection-type):
13744 Use imap-process-connection-type for 'shell' streams as well as
b62f8267
G
13745 Kerberos, SSL, other subprocesses.
13746
947b6566
LL
137472011-03-28 Leo Liu <sdl.web@gmail.com>
13748
13749 * abbrev.el (abbrev-table-empty-p): New function.
13750 (prepare-abbrev-list-buffer): Place empty abbrev tables after
13751 nonempty ones. (Bug#5937)
13752
5ffb62aa
JD
137532011-03-27 Jan Djärv <jan.h.d@swipnet.se>
13754
13755 * cus-start.el (all): Add boolean ns-auto-hide-menu-bar.
13756
7a097943
LL
137572011-03-27 Leo Liu <sdl.web@gmail.com>
13758
13759 * ansi-color.el (ansi-color-names-vector): Allow cons cell value
13760 for foreground and background colors.
13761 (ansi-color-make-color-map): Adapt.
13762
c5b40130
LL
137632011-03-25 Leo Liu <sdl.web@gmail.com>
13764
1f48f7d2
LL
13765 * midnight.el (midnight-time-float): Remove. Note it calculates
13766 the microsecond component incorrectly and seconds-to-time does the
13767 same job.
625897ec 13768 Remove redundant (require 'timer).
1f48f7d2 13769
c5b40130
LL
13770 * ido.el (ido-read-internal): Simplify with read-from-minibuffer.
13771 (ido-completions): Remove unused arguments. (Bug#8329)
13772
d86d2721
SM
137732011-03-24 Stefan Monnier <monnier@iro.umontreal.ca>
13774
13775 * minibuffer.el (completion--flush-all-sorted-completions):
13776 Remove itself from hook.
13777 (completion-at-point): Let the functions perform the completion
13778 immediately and return nil or t.
13779 * comint.el (comint-dynamic-complete-functions): Now identical to
13780 completion-at-point-functions.
13781 (comint-dynamic-list-input-ring): Remove unused var `index'.
13782 (comint--match-partial-filename, comint--unquote&expand-filename):
13783 New funs, split from comint-match-partial-filename.
13784 (comint-dynamic-complete): Use completion-at-point.
13785 (comint-dynamic-complete-filename): Use comint--match-partial-filename.
13786
e8974c48
DA
137872011-03-24 Drew Adams <drew.adams@oracle.com>
13788
13789 * thingatpt.el: Support `defun'.
13790
def71b5e
LL
137912011-03-23 Leo Liu <sdl.web@gmail.com>
13792
cb5af48e
LL
13793 * abbrevlist.el: Move to obsolete/abbrevlist.el.
13794
def71b5e
LL
13795 * help-mode.el (help-mode-finish): Tweak regexp.
13796
927c53e7
GM
137972011-03-23 Glenn Morris <rgm@gnu.org>
13798
18d05bed
GM
13799 * eshell/esh-opt.el (eshell-eval-using-options):
13800 Do not bind unused local variable `eshell-option-stub'.
13801
927c53e7
GM
13802 * progmodes/gdb-mi.el (gdb): Fix typo in previous change.
13803
9d0da923
JB
138042011-03-22 Juanma Barranquero <lekktu@gmail.com>
13805
13806 * emacs-lisp/derived.el (define-derived-mode): Wrap declaration of
13807 keymap variable in `with-no-warnings' to avoid a warning when the
13808 keymap has been already `defconst'ed.
13809
4b978a67
LL
138102011-03-22 Leo Liu <sdl.web@gmail.com>
13811
13812 * abbrev.el (write-abbrev-file): Use utf-8 for writing if it can
13813 encode all chars in abbrevs; otherwise use emacs-mule or
13814 utf-8-emacs. (Bug#8308)
13815
5fd62452
JB
138162011-03-22 Juanma Barranquero <lekktu@gmail.com>
13817
0b1596c6
JB
13818 * simple.el (backward-delete-char-untabify):
13819 Avoid warning about using `delete-backward-char'.
13820
5fd62452
JB
13821 * image.el (image-type-file-name-regexps): Make it variable.
13822 `imagemagick-register-types' modifies it, and the user may want
13823 to add new extensions for known image types.
13824 (imagemagick-register-types): Throw error if not using ImageMagick.
13825
0b4e93f1
LL
138262011-03-22 Leo Liu <sdl.web@gmail.com>
13827
13828 * net/rcirc.el (rcirc-completion-at-point): Return nil if point is
13829 located before rcirc-prompt-end-marker.
13830 (rcirc-complete): Error if point is not after rcirc prompt.
13831 Handle the case when table is nil.
9882e214 13832 (rcirc-user-authenticated): Define to fix compiler warning.
0b4e93f1 13833
fccee4ab
CY
138342011-03-22 Chong Yidong <cyd@stupidchicken.com>
13835
13836 * custom.el (custom--inhibit-theme-enable): Make it affect only
13837 custom-theme-set-variables and custom-theme-set-faces.
13838 (provide-theme): Ignore custom--inhibit-theme-enable.
13839 (load-theme): Enable the theme explicitly if NO-ENABLE is non-nil.
13840 (custom-enabling-themes): Delete variable.
d86d2721
SM
13841 (enable-theme): Accept only loaded themes as arguments.
13842 Ignore the special custom-enabled-themes variable.
fccee4ab
CY
13843 (custom-enabled-themes): Forbid themes from setting this.
13844 Eliminate use of custom-enabling-themes.
13845 (custom-push-theme): Quote "changed" custom var entry.
0357c7ae 13846
af896da6
LL
138472011-03-21 Leo Liu <sdl.web@gmail.com>
13848
13849 * ido.el (ido-read-internal): Add ido-selected to history instead
13850 of user input.
13851
78f64af0
SM
138522011-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
13853
13854 * subr.el (deferred-action-list, deferred-action-function):
13855 Mark obsolete.
13856
b16ac1ec
LL
138572011-03-21 Leo Liu <sdl.web@gmail.com>
13858
810f7698
LL
13859 * vc/log-view.el: Remove (require 'wid-edit), not needed after the
13860 change on 2011-02-13 (bug#8309).
13861
b16ac1ec
LL
13862 * minibuffer.el (read-file-name-function): Change default value.
13863 (read-file-name--defaults): Rename from read-file-name-defaults.
13864 (read-file-name-default): Rename from read-file-name.
13865 (read-file-name): Call read-file-name-function.
13866
4e05e67e
GM
138672011-03-21 Glenn Morris <rgm@gnu.org>
13868
13869 * eshell/esh-opt.el (eshell-eval-using-options, eshell-process-args):
13870 Doc fixes.
13871
4359915b
CY
138722011-03-21 Chong Yidong <cyd@stupidchicken.com>
13873
13874 * cus-theme.el: Add missing provide statement.
13875 (customize-create-theme): Extract theme value correctly.
13876 (custom-theme-visit-theme): Autoload.
13877 (customize-create-theme): Prompt before inserting default faces.
13878
1fe275ee
JB
138792011-03-20 Jay Belanger <jay.p.belanger@gmail.com>
13880
13881 * calc/calc-menu.el (calc-units-menu): Add entries for logarithmic
13882 units and musical notes.
13883
cd394be1 138842011-03-20 Leo Liu <sdl.web@gmail.com>
3ec03f7e
LL
13885
13886 * ido.el (ido-read-internal): Use completing-read-default.
13887 (ido-completing-read): Fix compatibility with completing-read.
13888
7d476bde
CO
138892011-03-20 Christian Ohler <ohler@gnu.org>
13890
13891 * emacs-lisp/ert.el (ert-run-tests-batch): Remove unused variable.
13892 (ert-delete-all-tests): Use `called-interactively-p' rather than
13893 `interactive-p'.
13894 (ert--make-xrefs-region): Respect END.
13895
fe0fb33e
CY
138962011-03-19 Chong Yidong <cyd@stupidchicken.com>
13897
ff854b0b
CY
13898 * dired-aux.el (dired-create-directory): Signal an error if the
13899 directory already exists (Bug#8246).
13900
fe0fb33e
CY
13901 * facemenu.el (list-colors-display): Call list-faces-display
13902 inside with-help-window.
13903 (list-colors-print): Use display property to align the final
13904 column, instead of checking window-width.
13905
576bce32
EZ
139062011-03-19 Eli Zaretskii <eliz@gnu.org>
13907
4d61f28d 13908 * vc/emerge.el (emerge-metachars): Separate value for ms-dos and
576bce32
EZ
13909 windows-nt systems.
13910 (emerge-protect-metachars): Quote correctly for ms-dos and
13911 windows-nt systems.
13912
89c41d68 139132011-03-19 Ralph Schleicher <rs@ralph-schleicher.de>
e6ce307c
RS
13914
13915 * info.el (info-initialize): Replace all uses of `:' with
13916 path-separator for compatibility with non-Unix systems.
13917 Cache quoting of path-separator. (Bug#8258)
13918
b14e3e21 139192011-03-19 Juanma Barranquero <lekktu@gmail.com>
ad22b7f7
JB
13920
13921 * avoid.el (mouse-avoidance-mode, mouse-avoidance-nudge-dist)
13922 (mouse-avoidance-threshold, mouse-avoidance-banish-destination)
13923 (mouse-avoidance-mode): Fix typos in docstrings.
13924
4525ce3e
CY
139252011-03-19 Chong Yidong <cyd@stupidchicken.com>
13926
13927 * startup.el (package-subdirectory-regexp): Move from package.el.
13928 Omit \\` and \\', and let callers add them.
13929
13930 * emacs-lisp/package.el (package-strip-version)
13931 (package-load-all-descriptors): Add \\` and \\' to
13932 package-subdirectory-regexp before using it.
13933 (package-untar-buffer): New arg DIR; ensure that file untars only
13934 into this expected directory. Remove superfluous delete-region.
13935 (package-unpack): Caller changed.
13936 (package-tar-file-info): Use package-subdirectory-regexp.
13937
a904a09a 139382011-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
1518e4f0 13939
a904a09a
SM
13940 * vc/diff-mode.el (diff-mode-map): Shadow problematic bindings from
13941 diff-mode-shared-map (bug#8284).
13942 (diff-mode-shared-map): Re-introduce some bindings that were problematic.
1518e4f0
G
13943
139442011-03-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
13945
13946 * calendar/time-date.el (format-seconds): Use assoc instead of
13947 assoc-string, since assoc-string doesn't exist in XEmacs.
13948
171fc304
JB
139492011-03-17 Juanma Barranquero <lekktu@gmail.com>
13950
13951 * custom.el (custom-known-themes): Reflow docstring.
13952 (custom-theme-load-path): Fix typo in docstring.
13953 (load-theme): Fix typo in error message.
13954 (custom-available-themes, custom-variable-theme-value):
13955 Use `let', not `let*'.
13956
d71990a1
JB
139572011-03-17 Jay Belanger <jay.p.belanger@gmail.com>
13958
13959 * calc/README: Mention inclusion of musical notes.
13960
13961 * calc/calc-units.el (calc-lu-quant): Rename from
13962 `calc-logunits-quantity'.
13963 (calcFunc-lupquant): Rename from `calcFunc-powerquant'.
13964 (calcFunc-lufquant): Rename from `calcFunc-fieldquant'.
13965 (calc-db): Rename from `calc-dblevel'.
13966 (calcFunc-dbpower): Rename from `calcFunc-dbpowerlevel'.
13967 (calcFunc-dbfield): Rename from `calcFunc-dbfieldlevel'.
13968 (calc-np): Rename from `calc-nplevel'.
13969 (calcFunc-nppower): Rename from `calcFunc-nppowerlevel'.
13970 (calcFunc-npfield): Rename from `calcFunc-npfieldlevel'.
13971 (calc-lu-plus): Rename from `calc-logunits-add'.
13972 (calcFunc-lupadd): Rename from `calcFunc-lupoweradd'.
13973 (calcFunc-lufadd): Rename from `calcFunc-lufieldadd'.
13974 (calc-lu-minus): Rename from `calc-logunits-sub'.
13975 (calcFunc-lupsub): Rename from `calcFunc-lupowersub'.
13976 (calcFunc-lufsub): Rename from `calcFunc-lufieldsub'.
13977 (calc-lu-times): Rename from `calc-logunits-mul'.
13978 (calcFunc-lupmul): Rename from `calcFunc-lupowermul'.
13979 (calcFunc-lufmul): Rename from `calcFunc-lufieldmul'.
13980 (calc-lu-divide): Rename from `calc-logunits-div'.
13981 (calcFunc-lupdiv): Rename from `calcFunc-lupowerdiv'.
13982 (calcFunc-lufdiv): Rename from `calcFunc-lufielddiv'.
13983
13984 * calc/calc-ext.el (calc-init-extensions): Update the names of the
13985 functions being autoloaded.
13986
13987 * calc/calc.el (calc-lu-power-reference): Rename from
13988 `calc-logunits-power-reference'.
13989 (calc-lu-field-reference): Rename from
13990 `calc-logunits-field-reference'.
13991
7a71b18d
GM
13992 * calc/calc-help.el (calc-l-prefix-help):
13993 Mention musical note functions.
d71990a1 13994
40c2934b
SM
139952011-03-17 Stefan Monnier <monnier@iro.umontreal.ca>
13996
13997 * minibuffer.el (completion-all-sorted-completions):
13998 Use :completion-cycle-penalty text property if present.
13999
b0911414
KM
140002011-03-16 Ken Manheimer <ken.manheimer@gmail.com>
14001
14002 * allout.el (allout-yank-processing): Adjust for new rebulleting
14003 regime so bullet being yanked is used without prompting the user
14004 for a choice.
14005
8a05b668
JB
140062011-03-16 Juanma Barranquero <lekktu@gmail.com>
14007
14008 * startup.el (command-line): Warn the user that _emacs is deprecated.
14009
5ba5fb81
JB
140102011-03-16 Juanma Barranquero <lekktu@gmail.com>
14011
14012 * progmodes/delphi.el (delphi-search-path, delphi-indent-level)
14013 (delphi-verbose, delphi-comment-face, delphi-string-face)
14014 (delphi-keyword-face, delphi-ignore-changes, delphi-indent-line)
14015 (delphi-mode-abbrev-table, delphi-debug-buffer, delphi-tab)
14016 (delphi-find-unit, delphi-find-current-xdef, delphi-fill-comment)
14017 (delphi-new-comment-line, delphi-font-lock-defaults)
14018 (delphi-debug-mode-map, delphi-mode-syntax-table, delphi-mode):
14019 Fix typos in docstrings.
14020
2dab465b
KM
140212011-03-15 Ken Manheimer <ken.manheimer@gmail.com>
14022
5ba5fb81 14023 * allout.el (allout-make-topic-prefix, allout-rebullet-heading):
2dab465b
KM
14024 Invert the roles of character and string values for INSTEAD, so a
14025 string is used for the more common case of a defaulting prompt.
14026
0adf5618
SM
140272011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
14028
14029 * progmodes/ruby-mode.el (ruby-backward-sexp):
14030 * progmodes/ebrowse.el (ebrowse-draw-file-member-info):
14031 * play/gamegrid.el (gamegrid-make-face):
14032 * play/bubbles.el (bubbles--grid-width, bubbles--grid-height)
14033 (bubbles--colors, bubbles--shift-mode, bubbles--initialize-images):
14034 * notifications.el (notifications-notify):
14035 * net/xesam.el (xesam-search-engines):
14036 * net/quickurl.el (quickurl-list-insert):
14037 * vc/vc-hg.el (vc-hg-dir-printer): Fix use of case.
14038
d72700e5
CY
140392011-03-15 Chong Yidong <cyd@stupidchicken.com>
14040
14041 * startup.el (command-line): Update package subdirectory regexp.
14042
49c5410a
SM
140432011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
14044
c6eee9aa
SM
14045 * allout.el (allout-abbreviate-flattened-numbering)
14046 (allout-mode-deactivate-hook): Fix up obsolescence "date".
14047
49c5410a
SM
14048 * subr.el (read-char-choice): Only show the cursor after the prompt,
14049 not after the answer.
14050
047b2bb9
KR
140512011-03-15 Kevin Ryde <user42@zip.com.au>
14052
14053 * help-fns.el (variable-at-point): Skip leading quotes, if any
14054 (bug#8253).
14055
0a57d256
SM
140562011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
14057
14058 * emacs-lisp/bytecomp.el (byte-compile-save-excursion): Change the
14059 warning message.
14060
77c992bc
MA
140612011-03-14 Michael Albinus <michael.albinus@gmx.de>
14062
14063 * shell.el (shell): When called interactively, offer to change the
14064 shell file name on remote hosts.
14065
eebc475d
TZ
140662011-03-13 Teodor Zlatanov <tzz@lifelogs.com>
14067
14068 * net/ldap.el (ldap-search-internal): Add `auth-source-search'
14069 integration for LDAP parameters. The host, base, user or binddn,
14070 and secret tokens can be specified in a netrc file, for instance.
14071 This is optional because an `auth-source' parameter must be
14072 specified in the search attributes.
14073
9d05d1ba
JB
140742011-03-13 Juanma Barranquero <lekktu@gmail.com>
14075
14076 * help.el (describe-mode): Link to the mode's definition (bug#8185).
14077
09d9db2c
GM
140782011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
14079
14080 * ebuff-menu.el (electric-buffer-menu-mode-map): Move initialization
14081 into declaration. Remove redundant and harmful binding.
14082
140832011-03-12 Eli Zaretskii <eliz@gnu.org>
14084
14085 * files.el (file-ownership-preserved-p): Pass `integer' as an
14086 explicit 2nd argument to `file-attributes'. If the file's owner
14087 is the Administrators group on Windows, and the current user is
14088 Administrator, consider that a match.
14089
14090 * server.el (server-ensure-safe-dir): Consider server directory
14091 safe on MS-Windows if its owner is the Administrators group while
14092 the current Emacs user is Administrator. Use `=' to compare
14093 numerical UIDs, since they could be integers or floats.
14094
219bd536
JB
140952011-03-12 Juanma Barranquero <lekktu@gmail.com>
14096
14097 * vc/vc-bzr.el (vc-bzr-state): Handle bzr 2.3.0 (follow-up to bug#8170).
14098
f3afd36b
MA
140992011-03-12 Michael Albinus <michael.albinus@gmx.de>
14100
14101 Sync with Tramp 2.2.1.
14102
14103 * net/tramp-sh.el (tramp-methods): Exchange "%k" marker with options.
14104
14105 * net/trampver.el: Update release number.
14106
3aaaa6f1
SM
141072011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
14108
94642599
SM
14109 * progmodes/compile.el (compilation--previous-directory): Fix up
14110 various nil/dead-marker mismatches (bug#8014).
14111 (compilation-directory-properties, compilation-error-properties):
14112 Don't call it at a position past the one we're about to change.
14113
3aaaa6f1
SM
14114 * emacs-lisp/bytecomp.el (byte-compile-make-obsolete-variable):
14115 Disable obsolescence warnings in the file that declares it.
14116
14239447
KM
141172011-03-11 Ken Manheimer <ken.manheimer@gmail.com>
14118
099c39a4
JB
14119 * allout-widgets.el (allout-widgets-tally):
14120 Initialize allout-widgets-tally as a hash table rather than nil to
14121 prevent mode-line redisplay warnings. Also, clarify the module
14122 description and fix a comment typo.
14239447 14123
135e287c
JB
141242011-03-11 Juanma Barranquero <lekktu@gmail.com>
14125
14126 * help-fns.el (describe-variable): Don't complete keywords.
14127 Suggested by Teodor Zlatanov <tzz@lifelogs.com>.
14128
ffbf300e
CY
141292011-03-10 Chong Yidong <cyd@stupidchicken.com>
14130
ba08b241
CY
14131 * emacs-lisp/package.el (package-version-join): Impose a standard
14132 string representation for pre/alpha/beta version lists.
14133 (package-unpack-single): Standardize the directory name by passing
14134 it through package-version-join.
14135 (package-strip-rcs-id): Accept any version string that does not
14136 signal an error in version-to-list.
ffbf300e 14137
f346fd6b
MA
141382011-03-10 Michael Albinus <michael.albinus@gmx.de>
14139
14140 * simple.el (delete-trailing-whitespace): Return nil for the
14141 benefit of `write-file-functions'.
14142
ccb55d27
GM
141432011-03-10 Glenn Morris <rgm@gnu.org>
14144
5ceaac0c
GM
14145 * vc/vc-hg.el (vc-hg-pull, vc-hg-merge-branch): Use vc-hg-program.
14146
02da65ff
GM
14147 * vc/vc-git.el (vc-git-program): New option.
14148 (vc-git-branches, vc-git-pull, vc-git-merge-branch, vc-git-command)
14149 (vc-git--call): Use it.
14150
b2f603cc
GM
14151 * eshell/esh-util.el (eshell-condition-case): Doc fix.
14152
5772caab
GM
14153 * cus-edit.el (Custom-newline): If no button at point, look
14154 for a subgroup button at start-of-line. (Bug#2298)
14155
ccb55d27
GM
14156 * mail/rmail.el (rmail-msgend, rmail-msgbeg): Doc fixes.
14157
ec6ecaed
JD
141582011-03-10 Julien Danjou <julien@danjou.info>
14159
14160 * avoid.el (mouse-avoidance-ignore-p): Do not move the cursor if
14161 `cursor-type' is nil.
14162
9d5aa01d
JB
141632011-03-09 Jay Belanger <jay.p.belanger@gmail.com>
14164
14165 * calc/calc.el (calc-mode-map): Don't bind "C-_" to `calc-missing-key'.
14166
b6a5875b
KM
141672011-03-09 Ken Manheimer <ken.manheimer@gmail.com>
14168
7a71b18d 14169 * allout.el: Change so yank of distinctive-bullet items
b6a5875b
KM
14170 preserves the existing header prefix, rebulleting it if necessary,
14171 rather than replacing it. This is necessary for proper operation
14172 of cooperative addons like allout-widgets.
1154d12e
JB
14173 (allout-make-topic-prefix, allout-rebullet-heading):
14174 Change SOLICIT arg to INSTEAD, and interpret additionally a string
14175 value as alternate bullet to be used, instead of prompting the user
14176 for a bullet character.
b6a5875b 14177
ee545c35
MA
141782011-03-09 Michael Albinus <michael.albinus@gmx.de>
14179
d86d2721
SM
14180 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
14181 Do not use `tramp-file-name-port', because this returns also
ee545c35
MA
14182 `tramp-default-port'.
14183
c47971d7
DD
141842011-03-09 Deniz Dogan <deniz.a.m.dogan@gmail.com>
14185
14186 * net/rcirc.el (rcirc-handler-001): Remove useless
14187 with-rcirc-process-buffer.
14188 (rcirc-check-auth-status): Swap arguments to string-match.
14189
13522cb4
GM
141902011-03-09 Glenn Morris <rgm@gnu.org>
14191
0be6f4f1
GM
14192 * shell.el (shell-mode):
14193 Set comint-input-ring-size from HISTSIZE. (Bug#7889)
14194
13522cb4
GM
14195 * progmodes/gdb-mi.el (gdb): Improve 2010-12-08 change.
14196 Check for GDBHISTFILE, HISTSIZE, etc. (Bug#7889)
14197
515de2e3
CY
141982011-03-08 Chong Yidong <cyd@stupidchicken.com>
14199
14200 * emacs-lisp/package.el (package-refresh-contents)
14201 (package-menu-execute): Use condition-case-no-debug.
14202
b511b994
MA
142032011-03-08 Michael Albinus <michael.albinus@gmx.de>
14204
14205 * simple.el (shell-command-to-string): Use `process-file'.
14206
14207 * emacs-lisp/package.el (package-tar-file-info): Handle also
14208 remote files.
14209
d86d2721
SM
14210 * emacs-lisp/package-x.el (package-upload-buffer-internal):
14211 Use `equal' for upload base check.
b511b994 14212
25bbfb31
AM
142132011-03-08 Arni Magnusson <arnima@hafro.is> (tiny change)
14214
14215 * textmodes/texinfo.el (texinfo-environments):
14216 Add deftypecv, deftypeivar, deftypemethod, deftypeop, html. (Bug#2783)
14217
be996521
GM
142182011-03-08 Glenn Morris <rgm@gnu.org>
14219
e9c8529f
GM
14220 * cus-start.el (cursor-in-non-selected-windows):
14221 Fix :set quoting oddness. (Bug#8192)
14222
be996521
GM
14223 * font-lock.el (lisp-font-lock-keywords-1): Don't highlight `)'
14224 in some setf expressions. (Bug#2159)
14225
2bb5649e
CY
142262011-03-08 Chong Yidong <cyd@stupidchicken.com>
14227
14228 * custom.el (custom-available-themes): Return themes in
14229 alphabetical order.
14230
33383987 14231See ChangeLog.15 for earlier changes.
e3d51b27
MR
14232
14233;; Local Variables:
14234;; coding: utf-8
e3d51b27
MR
14235;; End:
14236
acaf905b 14237 Copyright (C) 2011-2012 Free Software Foundation, Inc.
e3d51b27
MR
14238
14239 This file is part of GNU Emacs.
14240
14241 GNU Emacs is free software: you can redistribute it and/or modify
14242 it under the terms of the GNU General Public License as published by
14243 the Free Software Foundation, either version 3 of the License, or
14244 (at your option) any later version.
14245
14246 GNU Emacs is distributed in the hope that it will be useful,
14247 but WITHOUT ANY WARRANTY; without even the implied warranty of
14248 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14249 GNU General Public License for more details.
14250
14251 You should have received a copy of the GNU General Public License
14252 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.