[Gnus] Don't score by headers when scoring by body
[bpt/emacs.git] / lisp / ChangeLog
CommitLineData
dedd1884
GM
12012-11-16 Glenn Morris <rgm@gnu.org>
2
7c82753d
GM
3 * window.el (fit-frame-to-buffer-bottom-margin)
4 (fit-frame-to-buffer, fit-window-to-buffer): Doc fixes.
5
dedd1884
GM
6 * faces.el (face-underline-p): Use face-attribute-specified-or.
7
662b0ee6
JB
82012-11-15 Juanma Barranquero <lekktu@gmail.com>
9
10 * emacs-lisp/cl-macs.el (cl-loop, cl-do, cl-do*): Doc fixes.
11
eb31fa40
SM
122012-11-15 Stefan Monnier <monnier@iro.umontreal.ca>
13
14 * emacs-lisp/cl-macs.el (cl-flet, cl-flet*): Fix docstring (bug#12895).
15
e2e13f18
GM
162012-11-15 Glenn Morris <rgm@gnu.org>
17
17c083ac
GM
18 * eshell/em-cmpl.el (eshell-pcomplete): New command. (Bug#12838)
19 (eshell-cmpl-initialize): Bind eshell-pcomplete to TAB, C-i.
20
bde3c6c0
GM
21 * faces.el (face-underline-p): Doc fix. Handle :underline being
22 things other than `t' (a string, a list).
23 (face-inverse-video-p): Doc fix.
24 (set-face-underline): Rename it back from set-face-underline-p.
25 Doc fix. Allow interactive input of values other than t.
26 (read-face-attribute): Apply formatting to :underline,
27 since like :box and :stipple it can take list values.
28
e2e13f18
GM
29 * term.el (ansi-term): Don't let C-x escape-char binding
30 clobber the more standard C-c binding. (Bug#12842)
31
3a514ab0
SM
322012-11-15 Stefan Monnier <monnier@iro.umontreal.ca>
33
34 * emacs-lisp/gv.el (setf): Fix debug spec for multiple assignments
35 (bug#12879).
36
e0ea8060
GM
372012-11-14 Glenn Morris <rgm@gnu.org>
38
39 * subr.el (set-temporary-overlay-map): Doc fix.
40
92346275
MR
412012-11-13 Martin Rudalics <rudalics@gmx.at>
42
43 * window.el (record-window-buffer)
44 (display-buffer-record-window): When copying the markers to
45 window-point preserve window-point-insertion-type. (Bug#12588)
46
7b1bf173
GM
472012-11-13 Glenn Morris <rgm@gnu.org>
48
49 * emacs-lisp/eieio-datadebug.el (eieio-debug-methodinvoke):
50 * net/tramp-gvfs.el (tramp-gvfs-dbus-event-error):
51 Use new names for hooks rather than obsolete aliases.
52
f8705f6e
SM
532012-11-12 Stefan Monnier <monnier@iro.umontreal.ca>
54
55 * emacs-lisp/gv.el (gv-define-simple-setter): One more fix (bug#12871).
56
9db94175
WJ
572012-11-12 Wolfgang Jenkner <wjenkner@inode.at>
58
59 * ansi-color.el (ansi-color-apply-sequence): Implement SGR codes
60 39 and 49. This fixes bug#12792. Also, treat unimplemented
61 parameters as 0, thereby restoring the behavior of revisions prior
62 to 2012-08-15T03:33:55Z!monnier@iro.umontreal.ca.
63
2e6625b5
FEG
642012-11-12 Fabián Ezequiel Gallina <fgallina@cuca>
65
66 Fix end-of-defun misbehavior.
67 * progmodes/python.el (python-nav-beginning-of-defun): Rename from
68 python-beginning-of-defun-function. Handle nested defuns
69 correctly.
70 (python-nav-end-of-defun): Rename from
71 python-end-of-defun-function. Ensure forward movement.
f8705f6e 72 (python-info-current-defun): Reimplement to work as intended
2e6625b5
FEG
73 with new fixed python-nav-{end,beginning}-of-defun. Stop scanning
74 parent defuns as soon as possible.
75
24c38527
GM
762012-11-12 Glenn Morris <rgm@gnu.org>
77
78 * progmodes/flymake.el (flymake-error-bitmap)
79 (flymake-warning-bitmap, flymake-fringe-indicator-position): Doc fixes.
80 (flymake-error-bitmap, flymake-warning-bitmap): Fix :types.
81
d1e1e53d
DG
822012-11-12 Dmitry Gutov <dgutov@yandex.ru>
83
84 * progmodes/ruby-mode.el (ruby-move-to-block): When moving
85 backward, always stop at indentation. Reverts the change from
86 2012-08-12T22:06:56Z!monnier@iro.umontreal.ca (Bug#12851).
87
68146aa5
GM
882012-11-11 Glenn Morris <rgm@gnu.org>
89
a1d3e07e
GM
90 * ibuffer.el (ibuffer-mode-map, ibuffer-mode):
91 Add ibuffer-filter-by-derived-mode.
92
84acf328
GM
93 * ibuffer.el (ibuffer-mode-map): Don't have two menu items with
94 the same name shadowing each other.
95
38785e75
GM
96 * window.el (with-temp-buffer-window): Doc tweak.
97
57fc0fee
GM
98 * emacs-lisp/debug.el (debugger-bury-or-kill): Doc tweak.
99
6ba6a3e5
GM
100 * help.el (temp-buffer-max-height):
101 * window.el (fit-frame-to-buffer, fit-frame-to-buffer-bottom-margin):
68146aa5
GM
102 * emacs-lisp/debug.el (debugger-bury-or-kill): Fix :version.
103
e4e46889
LL
1042012-11-10 Leo Liu <sdl.web@gmail.com>
105
106 * ido.el (ido-set-matches-1): Fix split-string args to avoid
107 performance issue. (Bug#12796)
108
19e09879
GM
1092012-11-10 Glenn Morris <rgm@gnu.org>
110
bf67dafa
GM
111 * term.el (term-default-fg-color, term-default-bg-color):
112 Make obsolete, rather than just saying "deprecated" in the doc.
113
19e09879
GM
114 * term.el (term): Rename from `term-face'.
115 (term-current-face, ansi-term-color-vector)
116 (term-default-fg-color, term-default-bg-color, term-ansi-reset):
117 Update all users.
118
d743088d
JD
1192012-11-09 Jan Djärv <jan.h.d@swipnet.se>
120
f8705f6e 121 * server.el (server-create-window-system-frame): Improve comment.
d743088d 122
531bdce6
JD
1232012-11-08 Jan Djärv <jan.h.d@swipnet.se>
124
125 * server.el (server-create-window-system-frame): Handle Nextstep
126 specially (Bug#12780).
127
fedb154e
GM
1282012-11-08 Glenn Morris <rgm@gnu.org>
129
130 * mail/emacsbug.el (report-emacs-bug-query-existing-bugs):
131 Unautoload, and make obsolete. (Bug#7449)
132
9d9e48d9
CY
1332012-11-08 Chong Yidong <cyd@gnu.org>
134
135 * vc/diff-mode.el (diff-delete-trailing-whitespace): Rewrite, and
136 rename from diff-remove-trailing-whitespace (Bug#12831).
137
32170f7f
SM
1382012-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
139
140 * emacs-lisp/advice.el: Require `cl-lib' at run-time to fix
141 miscompilation of trace.el.
142
26f59676
GM
1432012-11-08 Glenn Morris <rgm@gnu.org>
144
145 * vc/diff-mode.el (diff-remove-trailing-whitespace): Doc fix.
146
41626722
SM
1472012-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
148
149 * emacs-lisp/gv.el (gv-define-simple-setter): Fix last change
150 (bug#12812).
151
7d806bfe
CY
1522012-11-07 Chong Yidong <cyd@gnu.org>
153
154 * minibuf-eldef.el (minibuffer-eldef-shorten-default): Convert to
155 a defcustom with an appropriate :set function.
156 (minibuffer-default--in-prompt-regexps): New function.
157
2ee1d59f
GM
1582012-11-07 Glenn Morris <rgm@gnu.org>
159
031b2ea7
GM
160 * emacs-lisp/cl.el (define-setf-expander, defsetf)
161 (define-modify-macro): Doc fixes.
162
2ee1d59f
GM
163 * emacs-lisp/gv.el (gv-letplace): Fix doc typo.
164 (gv-define-simple-setter): Update doc of `fix-return'.
165
d57c286e
SM
1662012-11-07 Stefan Monnier <monnier@iro.umontreal.ca>
167
b715ed44
SM
168 * emacs-lisp/gv.el (gv-define-simple-setter): Don't evaluate `val'
169 twice when `fix-return' is set (bug#12813).
170
d57c286e
SM
171 * emacs-lisp/cl.el (defsetf): Pass the third arg to
172 gv-define-simple-setter (bug#12812).
173
c9cac599
SM
1742012-11-06 Stefan Monnier <monnier@iro.umontreal.ca>
175
176 * woman.el (woman-decode-region): Disable adaptive-fill when rendering
177 (bug#12756).
178
6b3770fb
GM
1792012-11-06 Glenn Morris <rgm@gnu.org>
180
181 * emacs-lisp/gv.el (gv-define-setter): Fix doc typo.
182
5593ed90
GM
1832012-11-05 Glenn Morris <rgm@gnu.org>
184
185 * emacs-lisp/cl-extra.el (cl-prettyexpand):
186 * emacs-lisp/cl-lib.el (cl-proclaim, cl-declaim):
187 * emacs-lisp/cl-macs.el (cl-destructuring-bind, cl-locally)
188 (cl-the, cl-compiler-macroexpand): Add basic doc strings.
189
190 * emacs-lisp/cl-extra.el (cl-maplist, cl-mapcan): Doc fix.
191
5c677d44
GM
1922012-11-03 Glenn Morris <rgm@gnu.org>
193
49138400
GM
194 * emacs-lisp/cl-macs.el (cl-parse-loop-clause):
195 Rename handler properties back from cl-- to cl-. (Bug#12788)
196
5c677d44
GM
197 * emacs-lisp/cl-macs.el (cl-do-all-symbols): Add doc string.
198
1d4341f9
EZ
1992012-11-03 Eli Zaretskii <eliz@gnu.org>
200
201 * term/pc-win.el: Don't load term/internal from here.
202
203 * loadup.el: Load term/internal from here.
204
12fd5ee1
FEG
2052012-11-03 Fabián Ezequiel Gallina <fgallina@cuca>
206
207 * progmodes/python.el (inferior-python-mode): Fix hang in
208 jit-lock (Bug#12645).
209
43bcfda6
MR
2102012-11-03 Martin Rudalics <rudalics@gmx.at>
211
212 * window.el (switch-to-visible-buffer)
213 (switch-to-buffer-preserve-window-point): Fix doc-strings.
214
b4b096e4
SB
2152012-11-01 Stephen Berman <stephen.berman@gmx.net>
216
217 * play/gomoku.el (gomoku-display-statistics): Update mode line
218 only if in Gomoku buffer; don't capitalize "won" (Bug#12771).
219
218e997a
MR
2202012-10-31 Martin Rudalics <rudalics@gmx.at>
221
222 * window.el (quit-restore-window): If the window has been
223 created on an existing frame and ended up as the sole window on
224 that frame, do not delete it (Bug#12764).
225
b08b6da7
SM
2262012-10-31 Stefan Monnier <monnier@iro.umontreal.ca>
227
3618df45
SM
228 * progmodes/sh-script.el (sh--inside-noncommand-expression):
229 Rename from sh--inside-arithmetic-expression, handle more cases
230 (bug#11263).
231
b08b6da7
SM
232 * progmodes/sh-script.el (sh--inside-arithmetic-expression): New func.
233 (sh-font-lock-open-heredoc): Use it (bug#12770).
234
4ddedf94
GM
2352012-10-30 Glenn Morris <rgm@gnu.org>
236
f43a5263
GM
237 * emacs-lisp/cl-extra.el (cl-mapc): Add autoload cookie. Doc fix.
238
4ddedf94
GM
239 * emacs-lisp/cl.el (letf): Doc fix. (Bug#12760)
240
748b0d84
CY
2412012-10-29 Chong Yidong <cyd@gnu.org>
242
b5dd9a77
CY
243 * isearch.el (isearch-other-meta-char): Ensure that a reprocessed
244 function key is stored in a keyboard macro (Bug#4894).
245
748b0d84
CY
246 * thingatpt.el (number-at-point): Apply a thing-at-point property.
247
e07fcbdc
SM
2482012-10-29 Stefan Monnier <monnier@iro.umontreal.ca>
249
d7f9cc85
SM
250 * vc/diff-mode.el (diff-context->unified): Don't get confused by "hunk
251 header comments".
252 (diff-unified->context, diff-context->unified)
253 (diff-reverse-direction, diff-fixup-modifs): Use `use-region-p'.
254
c606253c
SM
255 * emacs-lisp/cl.el (letf): Add missing indent rules (bug#12759).
256
e07fcbdc
SM
257 * files.el (find-alternate-file): Only ask one question (bug#12487).
258
894b9dd9
CY
2592012-10-29 Chong Yidong <cyd@gnu.org>
260
1dc2755a
CY
261 * vc/vc-hooks.el (vc-file-clearprops): Kill vc-parent-buffer.
262 Suggested by Dan Nicolaescu (Bug#6326).
263
329c48d8
CY
264 * info.el (Info-complete-menu-item): Avoid duplicates (Bug#12705).
265
2230fa5b 266 * startup.el (fancy-about-screen): Don't message (Bug#12680).
5c2f2631 267
e84cad57
CY
268 * thingatpt.el (thing-at-point): Doc fix (Bug#12691).
269
1913c5f5
CY
270 * imenu.el (imenu): Inhibit push-mark message (Bug#12726).
271
894b9dd9
CY
272 * face-remap.el (face-remap-add-relative): Handle the case where a
273 face-remapping-alist entry is a cons cell (Bug#12762).
274
329c48d8
CY
2752012-10-29 Kevin Ryde <user42@zip.com.au>
276
277 * woman.el (woman-parse-numeric-value): Handle picas correctly
278 (Bug#12639).
279
a0ccbcbd
GM
2802012-10-29 Glenn Morris <rgm@gnu.org>
281
282 * emacs-lisp/cl.el (defsetf): Doc fix.
283
b3871e59
SM
2842012-10-29 Stefan Monnier <monnier@iro.umontreal.ca>
285
286 * progmodes/sh-script.el (sh-font-lock-paren): Also put punctuation
287 syntax to the matching opener, if any (bug#12547).
288 (sh-smie-sh-forward-token, sh-smie-sh-backward-token): Recognize this
289 matching open as a "case-(".
290 (sh-smie-rc-grammar): Add a corresponding rule for it.
291
cd44022c
DH
2922012-10-28 Daniel Hackney <dan@haxney.org>
293
294 * emacs-lisp/package.el (package-generate-autoloads): Kill buffer
295 "PKGNAME-autoloads.el" in case we created it.
296
70edffb1
SM
2972012-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
298
86957a0c
SM
299 * minibuffer.el (completion--sifn-requote): Rewrite to handle things
300 like Tramp's "/foo:~bar//baz" -> "/scpc:foo:/baz" mapping (bug#11714).
b9383404 301 (completion--twq-all): Disable too-strict assertions.
86957a0c 302
70edffb1
SM
303 * tmm.el (tmm-prompt): Use map-keymap (bug#12744).
304
d069271c
EZ
3052012-10-27 Eli Zaretskii <eliz@gnu.org>
306
307 * profiler.el (profiler-report-make-entry-part): Fix help-echo
308 text to match the real keybindings.
309
e2f022a3
JL
3102012-10-27 Juri Linkov <juri@jurta.org>
311
312 * wdired.el (wdired-keep-marker-rename): New defcustom.
313 (wdired-do-renames): Use it instead of `dired-keep-marker-rename'.
314 (Bug#11795)
315
316 * dired.el (dired-keep-marker-rename): Add reference to
317 `wdired-keep-marker-rename' in the docstring.
318 Add default character value ?R to display initially in
319 Customization UI instead of ?@.
320
df171c23
MR
3212012-10-27 Martin Rudalics <rudalics@gmx.at>
322
323 * window.el (display-buffer): In doc-string describe
324 window-height and window-width alist entries.
325
326 * time.el (display-time-world): Restore fit-window-to-buffer
327 behavior.
328
05b621a6
CY
3292012-10-27 Chong Yidong <cyd@gnu.org>
330
331 * subr.el (insert-buffer-substring-as-yank): Doc fix.
332
55f197b2
J
3332012-10-26 Jambunathan K <kjambunathan@gmail.com>
334
335 * minibuffer.el (completion-category-overrides): New completion
336 category `bookmark' (bug#11131).
337
372212df
SM
3382012-10-26 Stefan Monnier <monnier@iro.umontreal.ca>
339
150f809c
SM
340 * emacs-lisp/advice.el (ad-assemble-advised-definition):
341 Silence bogus compiler warnings for ad-do-it.
342
372212df
SM
343 * bookmark.el (bookmark-completing-read): Set the completion category
344 to `bookmark' (bug#11131).
345
c5772569
B
3462012-10-26 Bastien <bzg@altern.org>
347 Stefan Monnier <monnier@iro.umontreal.ca>
348
349 * face-remap.el: Use lexical-binding.
350 (text-scale-adjust): Improve docstring. Use itself for the temporary
351 overlay-map bindings, so as to repeat the "Use..." message each time.
352
a2be0357
SM
3532012-10-26 Stefan Monnier <monnier@iro.umontreal.ca>
354
63314e57
SM
355 * emacs-lisp/macroexp.el (macroexp--expand-all):
356 Obey byte-compile-warning-enabled-p (bug#12486).
357
a2be0357
SM
358 * vc/diff-mode.el (diff-end-of-hunk): Also skip potential "no LF at eol".
359 (diff-refine-hunk): Similarly, handle the "no LF at eol" (bug#12584).
360
8c7727c3
MR
3612012-10-26 Martin Rudalics <rudalics@gmx.at>
362
363 * mouse.el (mouse-drag-line): Move last form into preceding when
364 clause (Bug#12731).
365
366 * help.el (resize-temp-buffer-window): Fix doc-string.
367
3f2a848d
DE
3682012-10-25 David Engster <deng@randomsample.de>
369
370 * emacs-lisp/eieio.el (eieio-update-lisp-imenu-expression):
a2be0357 371 Remove. This feature is already integrated in imenu.
3f2a848d
DE
372
373 * emacs-lisp/eieio-opt.el: Remove require for `button' since it is
374 always loaded. Require `speedbar' unconditionally.
375
a7723be6
SM
3762012-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
377
aaabfc8b
SM
378 * dired.el (dired-get-marked-files): Allow ! on . and .. (bug#12725).
379
414a8595
SM
380 * minibuffer.el (minibuffer-force-complete): Fix thinko.
381
fb5b9475
SM
382 * net/ldap.el (ldap-search-internal): The official ldif format starts
383 with a "version: 1" header (bug#12724).
384
a7723be6
SM
385 * emacs-lisp/package.el (package-installed-p): Warn if not ready
386 (bug#12721).
387
a05cb6e3
GM
3882012-10-25 Glenn Morris <rgm@gnu.org>
389
390 * emacs-lisp/cl-macs.el (cl-progv): Doc fix.
391
3c92de70
SM
3922012-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
393
394 * minibuffer.el (minibuffer-force-complete): Use one more marker
395 for the temporary-overlay-map command (bug#12619).
396
a4b6d7c6
CY
3972012-10-24 Chong Yidong <cyd@gnu.org>
398
399 * time.el (display-time-world-mode): Derive from special-mode.
400 (display-time-world): Use display-buffer (Bug#12708).
401 (display-time-world-mode-map): Variable deleted.
9321d8d7
CY
402 (display-time-world-display): Wrap the final delete-char inside
403 inhibit-read-only.
a4b6d7c6 404
75e8f9d2
CY
4052012-10-24 Chong Yidong <cyd@gnu.org>
406
cd996018
CY
407 * dired.el (dired-mark, dired-unmark, dired-flag-file-deletion):
408 Doc fix.
409
75e8f9d2
CY
410 * emacs-lisp/easymenu.el (easy-menu-define): Doc fix (Bug#12628).
411
d92df117
SM
4122012-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
413
414 * minibuffer.el (completion--all-sorted-completions-location): New var.
415 (completion--cache-all-sorted-completions)
416 (completion--flush-all-sorted-completions): Use it.
417 (completion-in-region, completion-in-region--postch)
418 (completion-at-point, completion-help-at-point): Use markers in
419 completion-in-region--data (bug#12619).
420
9c3e39f3
SM
4212012-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
422
c79825bd
SM
423 * progmodes/compile.el (compilation-start): Try to handle common
424 quoting of `cd' argument (bug#12640).
425
9c3e39f3
SM
426 * vc/diff-mode.el (diff-hunk): `save-excursion' while refining
427 (bug#12671).
428
a6709bc7
GM
4292012-10-23 Glenn Morris <rgm@gnu.org>
430
431 * progmodes/gud.el (gud-menu-map):
432 Check gdb-active-process is bound. (Bug#12358)
433
d1069532
SM
4342012-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
435
d20d69c0
SM
436 * repeat.el (repeat): Set real-this-command (bug#12232).
437
d1069532
SM
438 * htmlfontify.el (hfy-post-html-hook):
439 * filesets.el (filesets-cache-fill-content-hook):
440 * arc-mode.el (archive-extract-hook):
441 * progmodes/cc-mode.el (c-prepare-bug-report-hook):
442 * net/rcirc.el (rcirc-sentinel-functions)
443 (rcirc-receive-message-functions, rcirc-activity-functions)
444 (rcirc-print-functions):
445 * net/dbus.el (dbus-event-error-functions):
446 * emacs-lisp/eieio.el (eieio-pre-method-execution-functions):
447 * emacs-lisp/checkdoc.el (checkdoc-style-functions)
448 (checkdoc-comment-style-functions): Don't use "-hooks" suffix.
449 * term/sun.el (sun-raw-prefix-hooks):
450 * mail/sendmail.el (mail-yank-hooks): Use make-obsolete-variable.
451
f7eac6d8
MA
4522012-10-23 Michael Albinus <michael.albinus@gmx.de>
453
d1069532
SM
454 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
455 Set `tramp-chunksize' to 1. This improves the performance.
f7eac6d8
MA
456 (tramp-smb-wait-for-output): Add timeout to
457 `tramp-accept-process-output' calls.
458
608d9d7c
CY
4592012-10-23 Chong Yidong <cyd@gnu.org>
460
49238e7f
CY
461 * faces.el (font-list-limit): Define as an obsolete variable.
462
463 * startup.el (command-line):
464 * cus-start.el: Don't refer to font-list-limit.
465
608d9d7c
CY
466 * newcomment.el (comment-normalize-vars): Doc fix (Bug#12583).
467
4ff5b1b2
SM
4682012-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
469
470 * subr.el (internal-temp-output-buffer-show): Rename from
471 temp-output-buffer-show, since previously compiled files expect this name.
472
ea1d4aac
GM
4732012-10-23 Glenn Morris <rgm@gnu.org>
474
475 * image.el (image-type-from-file-name): If multiple types match,
476 return the first one that is supported. (Bug#9045)
477
eda82a31
GM
4782012-10-22 Glenn Morris <rgm@gnu.org>
479
480 * image.el (imagemagick-enabled-types): Doc fix.
481
4f020bec
TA
4822012-10-22 Takafumi Arakaki <aka.tkf@gmail.com> (tiny change)
483
484 * progmodes/which-func.el (which-func-current): The hash-table may have
485 an explicit nil (bug#12338).
486
c77d37e2
SM
4872012-10-22 Stefan Monnier <monnier@iro.umontreal.ca>
488
489 * electric.el (electric-pair-delete-selection-self-insert-function):
490 Rename to electric-pair-will-use-region, return a boolean.
491 (electric-pair-mode): Adjust accordingly. Don't require delsel.
492
493 * delsel.el (delete-selection-helper): Use a function instead of a hook.
494 (delete-selection-pre-hook): Use use-region-p.
495 (delete-selection-self-insert-function): Remove.
496 (self-insert-command): Obey self-insert-uses-region-functions.
497 (self-insert-iso): Revert to previous setting, since we don't actually
498 know what that command does.
499 (delete-selection-self-insert-hooks): Remove.
500
b1d39ccc
SL
5012012-10-22 Simon Law <sfllaw@sfllaw.ca> (tiny change)
502
503 * delsel.el (delete-selection-helper): New function, extracted from
504 delete-selection-pre-hook.
505 (delete-selection-pre-hook): Use it.
506 (delete-selection-self-insert-function): New function.
507 (delete-selection-self-insert-hooks): New hook.
508 (self-insert-command, self-insert-iso): Use it.
509 * electric.el (electric-pair-syntax): New function, extracted from
510 electric-pair-post-self-insert-function.
511 (electric-pair-post-self-insert-function): Use it.
512 (electric-pair-delete-selection-self-insert-function): New function.
513 (electric-pair-mode): Require delsel and setup
514 delete-selection-self-insert-hooks (bug#11520).
515
045ef729
CY
5162012-10-20 Chong Yidong <cyd@gnu.org>
517
4c5d08a8
CY
518 * vc/vc.el (vc-diff-internal): Set up Diff mode even if there are
519 no changes to show (Bug#12586).
520
045ef729
CY
521 * eshell/esh-cmd.el (eshell-rewrite-for-command): Copy the body
522 list explicitly (Bug#12571).
523
3503c798 5242012-10-20 Arne Jørgensen <arne@arnested.dk>
79e1997a 525
b1d39ccc
SL
526 * progmodes/flymake.el (flymake-create-temp-inplace):
527 Use file-truename.
79e1997a 528
2068905b
EZ
5292012-10-20 Eli Zaretskii <eliz@gnu.org>
530
531 * loadup.el: Update comment about uncompiled Lisp files. (Bug#12395)
532
4c9e9550
JB
5332012-10-20 Jay Belanger <jay.p.belanger@gmail.com>
534
535 * calc/calc-units.el (math-extract-units): Properly extract powers
536 of units.
537
1a6e7e38
DC
5382012-10-20 Daniel Colascione <dancol@dancol.org>
539
540 * frame.el (make-frame): Set x-display-name as we used to in order
541 to unbreak creating an X11 frame from an Emacs daemon started
542 without a display.
543
8e808318
SM
5442012-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
545
546 * minibuffer.el (minibuffer-force-complete): Make the next completion use
547 the same completion-field (bug@12221).
548
fb0104da
MR
5492012-10-19 Martin Rudalics <rudalics@gmx.at>
550
551 * emacs-lisp/debug.el (debug): Record height of debugger window
552 also when debugger will be back (Bug#8789).
553
8c27235e
CY
5542012-10-18 Chong Yidong <cyd@gnu.org>
555
556 * progmodes/gdb-mi.el (gdb-display-buffer-other-frame-action):
557 Convert to defcustom.
558 (gdb-get-source-file): Don't bind pop-up-windows.
559
560 * progmodes/gud.el (gud-display-line): Don't specially re-use
561 other frames for the gdb-mi case (Bug#12648).
562
90eacf99
SM
5632012-10-18 Stefan Monnier <monnier@iro.umontreal.ca>
564
aaf0c300
SM
565 * emacs-lisp/advice.el: Clean up commentary a bit.
566 (ad-do-advised-functions, ad-with-originals): Use `declare'.
567 (byte-code-function-p): Never redefine.
568
90eacf99
SM
569 * emacs-lisp/gv.el (cond): Same fix as before for `if'.
570
281c9d2b
GM
5712012-10-18 Glenn Morris <rgm@gnu.org>
572
40714e3d
GM
573 * dired.el (dired-sort-toggle): Some ls implementations only allow
574 a single option string. (Bug#12666)
575
281c9d2b
GM
576 * minibuffer.el (completion-cycle-threshold): Doc fix.
577
b278604e
KH
5782012-10-17 Kenichi Handa <handa@gnu.org>
579
90eacf99
SM
580 * international/mule.el (set-keyboard-coding-system):
581 Recover input meta mode when the new coding system doesn not use 8-bit.
b278604e
KH
582 Supply TERMINAL arg to set-input-meta-mode.
583
df171c23 5842012-10-17 Michael Heerdegen <michael_heerdegen@web.de>
7ebc5f5a
MH
585
586 * wdired.el (wdired-old-marks): New variable.
587 (wdired-change-to-wdired-mode): Locally set wdired-old-marks.
588 (wdired-do-renames): Move point with renamed file and don't lose
589 mark status (Bug#11795).
590
e5a94ec4
JL
5912012-10-16 Juri Linkov <juri@jurta.org>
592
593 * replace.el (query-replace-help): Mention multi-buffer replacement
594 keys in the Help message. (Bug#12655)
595
d18a0d24
CY
5962012-10-15 Chong Yidong <cyd@gnu.org>
597
598 * emacs-lisp/byte-run.el (defsubst): Doc fix.
599
8111f5e6
EZ
6002012-10-14 Eli Zaretskii <eliz@gnu.org>
601
7b9abf24
EZ
602 * window.el (display-buffer): Doc fix.
603
8111f5e6
EZ
604 * progmodes/compile.el (compilation-error-regexp-alist-alist):
605 Adjust the msft regexp to the output of Studio 2010, and move msft
606 before edg-1. See the discussion on emacs-devel,
607 http://lists.gnu.org/archive/html/emacs-devel/2012-09/msg00579.html,
608 for the details.
609
5046ef67
SM
6102012-10-14 Stefan Monnier <monnier@iro.umontreal.ca>
611
9760c73c
SM
612 * emacs-lisp/eieio.el (eieio-oset-default, eieio-oset, oset-default)
613 (oset): Move uses of object-class-fast macro after its definition.
614
5046ef67
SM
615 * emacs-lisp/gv.el (if): Don't use closures in non-lexical-binding code.
616
0d11ff1c
CY
6172012-10-13 Chong Yidong <cyd@gnu.org>
618
619 * textmodes/ispell.el (ispell-pdict-save): If flyspell-mode is
620 enabled, re-enable it (Bug#11963).
621
88ded8ac
MR
6222012-10-13 Martin Rudalics <rudalics@gmx.at>
623
624 * emacs-lisp/debug.el (debug): When debugger-will-be-back is
625 non-nil, restore window configuration (Bug#12623).
626
bd0ffffd
SM
6272012-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
628
06485aa8
SM
629 * help-fns.el (describe-variable, describe-function-1):
630 * help-mode.el (help-make-xrefs): Remove error handler, made unneeded.
631
bd0ffffd
SM
632 * emacs-lisp/eieio.el (lisp-imenu-generic-expression): Fix typo.
633
3a989246
GM
6342012-10-12 Glenn Morris <rgm@gnu.org>
635
636 * mail/rmailsum.el (rmail-header-summary):
637 Fix 2010-11-26 test for multiline Subject: field. (Bug#12625)
638
55cd00c8
FEG
6392012-10-12 Fabián Ezequiel Gallina <fgallina@cuca>
640
bd0ffffd
SM
641 * progmodes/python.el (python-mode-map):
642 Replace subtitute-key-definition with proper command remapping.
55cd00c8
FEG
643 (python-nav--up-list): Fix behavior for blocks on the same level.
644
ac9fc2c7
SM
6452012-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
646
d8cc4c00 647 * help-fns.el (describe-function-1): Handle autoloads w/o docstrings.
d8cc4c00 648
5253a5fd
SM
649 * emacs-lisp/bytecomp.el (byte-compile-eval): Adjust to long-ago
650 changes to the format of load-history.
651
ac9fc2c7
SM
652 * international/mule-cmds.el (read-char-by-name): Move let-binding of
653 completion-ignore-case in case that var is buffer-local (bug#12615).
654
cde44a77
KH
6552012-10-11 Kenichi Handa <handa@gnu.org>
656
657 * international/eucjp-ms.el: Re-generated.
658
4ef4a10d
KH
6592012-10-10 Kenichi Handa <handa@gnu.org>
660
661 * select.el (xselect--encode-string): If a coding is specified for
662 selection, and that is compatible with COMPOUND_TEXT, use it.
663
9d7f027b
MR
6642012-10-10 Martin Rudalics <rudalics@gmx.at>
665
666 * window.el (switch-to-buffer-preserve-window-point): New option.
ac9fc2c7
SM
667 (switch-to-buffer):
668 Obey `switch-to-buffer-preserve-window-point' (Bug#4041).
9d7f027b 669
238f3a58
SM
6702012-10-09 Stefan Monnier <monnier@iro.umontreal.ca>
671
672 * newcomment.el (comment-start-skip, comment-end-skip, comment-end):
673 Don't document nil as a useful value (bug#12583).
674
1d51f99c
MA
6752012-10-09 Michael Albinus <michael.albinus@gmx.de>
676
238f3a58
SM
677 * net/tramp.el (tramp-debug-message):
678 Remove "tramp-with-progress-reporter" from regexp of ignored functions.
1d51f99c
MA
679 (with-tramp-progress-reporter): Rename from
680 `tramp-with-progress-reporter'.
238f3a58
SM
681 (with-tramp-file-property, with-tramp-connection-property):
682 Move from tramp-cache.el, rename from `with-file-property' and
1d51f99c
MA
683 `with-connection-property', respectively.
684
685 * net/tramp-cache.el: Remove `with-file-property' and
686 `with-connection-property'.
687
688 * net/tramp.el:
689 * net/tramp-gvfs.el:
690 * net/tramp-sh.el:
691 * net/tramp-smb.el: Adapt callees.
692
693 * net/trampver.el: Update release number.
694
26b77251
GM
6952012-10-09 Glenn Morris <rgm@gnu.org>
696
9a5f296f
GM
697 * w32-fns.el (set-message-beep):
698 * term/w32-win.el (set-message-beep): Update declarations.
699
94c66ce5
SM
7002012-10-09 Stefan Monnier <monnier@iro.umontreal.ca>
701
10766e9e
SM
702 * bindings.el (mode-line-toggle-read-only, mode-line-toggle-modified)
703 (mode-line-widen, mode-line-input-method-map)
704 (mode-line-coding-system-map, mode-line-remote)
705 (mode-line-unbury-buffer, mode-line-bury-buffer)
706 (mode-line-next-buffer, mode-line-previous-buffer):
707 Replace save-selected-window+select-window => with-selected-window.
708
f754db08
SM
709 * progmodes/cc-bytecomp.el (cc-bytecomp-defmacro): Remove, unused.
710 * progmodes/cc-vars.el (bq-process): Remove, unused.
711
94c66ce5
SM
712 * emacs-lisp/cl-macs.el (cl-defstruct): Obey the :read-only property.
713
a4ff7fe1
FEG
7142012-10-09 Fabián Ezequiel Gallina <fgallina@cuca>
715
716 Implemented `backward-up-list'-like navigation.
717 * progmodes/python.el (python-nav-up-list)
718 (python-nav-backward-up-list): New functions.
719 (python-mode-map): Define substitute key for backward-up-list to
720 python-nav-backward-up-list.
721
24517d82
FEG
7222012-10-08 Fabián Ezequiel Gallina <fgallina@cuca>
723
724 * progmodes/python.el (python-fill-paragraph): Rename from
725 python-fill-paragraph-function. Fixed fill-paragraph for
726 decorators (Bug#12605).
727
51867ae2
FEG
7282012-10-08 Fabián Ezequiel Gallina <fgallina@cuca>
729
730 * progmodes/python.el (python-shell-output-filter): Handle extra
731 carriage return in OSX (Bug#12409).
732
a5b773c4
FEG
7332012-10-08 Fabián Ezequiel Gallina <fgallina@cuca>
734
735 Fix shell handling of unbalanced quotes and parens in output.
94c66ce5 736 * progmodes/python.el (python-rx-constituents): Add string-delimiter.
a5b773c4
FEG
737 (python-syntax-propertize-function): Use it.
738 (python-shell-output-syntax-table): New var.
739 (inferior-python-mode): Prevent unbalanced parens/quotes from
740 previous output mess with current input context.
741
13373538
JB
7422012-10-08 Juanma Barranquero <lekktu@gmail.com>
743
744 * generic-x.el (javascript-generic-mode, javascript-generic-mode-hook):
745 Make obsolete aliases of js-mode and js-mode-hook (from js.el).
746
775a132d
MA
7472012-10-08 Michael Albinus <michael.albinus@gmx.de>
748
749 * ffap.el (ffap-replace-file-component): Support Tramp file name
750 syntax, not only ange-ftp's one.
751
3ab44929
GM
7522012-10-08 Glenn Morris <rgm@gnu.org>
753
57f1dee4
GM
754 * cus-start.el (message-log-max): Set :version.
755
3ab44929
GM
756 * calendar/calendar.el (calendar-intermonth-header): Doc fix.
757
6a088630
MR
7582012-10-08 Martin Rudalics <rudalics@gmx.at>
759
760 * emacs-lisp/edebug.el (edebug-pop-to-buffer): Don't try to split
761 the minibuffer window (Bug#10851).
762
8dbce54c
FEG
7632012-10-08 Fabián Ezequiel Gallina <fgallina@cuca>
764
765 Enhancements on forward-sexp movement.
766 * progmodes/python.el (python-nav-beginning-of-statement)
767 (python-nav-end-of-statement): Return point-marker.
768 (python-nav-forward-sexp): lisp-like forward-sexp behavior.
769 (python-info-current-symbol)
770 (python-info-statement-starts-block-p): Rename from
771 python-info-beginning-of-block-p.
772 (python-info-statement-ends-block-p): Rename from
773 python-info-end-of-block-p.
774 (python-info-beginning-of-statement-p)
775 (python-info-end-of-statement-p)
776 (python-info-beginning-of-block-p, python-info-end-of-block-p):
777 New functions.
778
5acd2b3e
SM
7792012-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
780
781 * comint.el (comint-preinput-scroll-to-bottom): Preserve the
782 frame-selected-windows.
783
e08348a0
DC
7842012-10-08 Daniel Colascione <dancol@dancol.org>
785
786 * battery.el (battery-status-function): Check for
787 w32-battery-status itself, not system-time windows-nt.
788
789 * frame.el: Require cl-lib.
790 (display-format-alist): New variable mapping frame types to
791 functions that initialize them.
792 (window-system-for-display): New function: interprets
793 display-format-alist.
794 (make-frame-on-display): Remove existing display-selection logic
795 and just forward to make-frame, which will now DTRT.
796 (make-frame): Restructure to use window-system-for-display to
797 figure out how to create a frame on a given display.
798 (display-mouse-p): Look for frame-type w32, not a particular
799 system-type.
800
801 * loadup.el: Load w32 lisp code when we have the w32 feature.
802
803 * mouse.el (mouse-yank-primarY): Look for frame-type w32, not
804 system-type windows-nt.
805
806 * server.el (server-create-window-system-frame): Look for window
807 type.
808 (server-proces-filter): Only force a window system when windows-nt
809 _and_ w32. Explain why.
810
811 * simple.el (normal-erase-is-backspace-mode): Add w32 to the list
812 of window systems we configure for the mode.
813
814 * startup.el (command-line): Mark window system is initialized
815 after we've done it.
816
817 * common-win.el (x-select-text): Look for w32, not windows-nt.
818
819 * ns-win.el: Require cl-lib. Add ourselves to
820 display-format-alist.
821 (ns-initialize-window-system): Assert we're not initialized twice.
822
823 * w32-win.el: Enable lexical binding; require cl-lib; add
824 ourselves to display-format-alist.
825 (w32-handle-dropped-file): Convert incoming dropped files from
826 Windows paths to Cygwin ones before passing them on to the rest of
827 Emacs.
828 (w32-drag-n-drop): New paramter new-frame. Simplify logic.
829 (w32-initialize-window-system): Assert we're not initialized twice.
830
831 * x-win.el: Require cl-lib; add ourselves to display-format-alist.
832 (x-initialize-window-system): Assert we're not initialized twice.
833
834 * w32-common-fns.el: New File.
835 (w32-version, w32-using-nt, w32-get-clipboard-data)
836 (w32-set-clipboard-data, x-set-selection, x-get-selection)
837 (w32-charset-info-alist, x-last-selected, text)
838 (x-get-selection-value, x-selection-value): Move here.
839
840 * w32-fns.el: Require w32-common-fns.
841 (w32-version, w32-using-nt, w32-get-clipboard-data)
842 (w32-set-clipboard-data, x-set-selection, x-get-selection)
843 (w32-charset-info-alist, x-last-selected, text)
844 (x-get-selection-value, x-selection-value): Move to
845 w32-common-fns.
846
847 * w32-vars.el:
848 (w32-allow-system-shell, w32-system-shells): Define only in
849 non-cygwin case.
850
795b1482
SM
8512012-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
852
853 * subr.el (read-passwd-map): Don't use `defconst' (bug#12597).
854 (read-passwd): Remove a few more potential sources of leaks.
855
f27c99dc
FEG
8562012-10-07 Fabián Ezequiel Gallina <fgallina@cuca>
857
858 * progmodes/python.el (inferior-python-mode)
795b1482 859 (python-shell-make-comint): Fix initialization of local
f27c99dc
FEG
860 variables copied from parent buffer.
861
fcacb558
JD
8622012-10-07 Jan Djärv <jan.h.d@swipnet.se>
863
864 * term/ns-win.el (ns-read-file-name): Update declaration to match
865 nsfns.m.
866 (ns-respond-to-change-font): Change fontsize separatly so we are sure
867 it is set when font is acted upon.
868
be0d5bae
FEG
8692012-10-07 Fabián Ezequiel Gallina <fgallina@cuca>
870
871 Enhancements to indentation.
872 * progmodes/python.el (python-indent-context): Give priority to
873 inside-string context. Make comments indentation markers.
874 (python-indent-region): Do not mess with strings, unless it's the
875 enclosing set of quotes.
876
13af0d10
SM
8772012-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
878
662a9d0e
SM
879 * window.el (internal--before-save-selected-window)
880 (internal--after-save-selected-window): New functions extracted from
881 save-selected-window. Make sure we return the `alist' we construct.
882 (save-selected-window): Use them.
883
884 * textmodes/tex-mode.el (tex-recenter-output-buffer):
885 Use with-selected-window.
886
13af0d10
SM
887 * emacs-lisp/autoload.el (make-autoload): Add `cl-defmacro' to the
888 forms that define macros (bug#12593).
889
6aa75fb6
KH
8902012-10-07 Kenichi Handa <handa@gnu.org>
891
13af0d10
SM
892 * international/mule-conf.el (compound-text-with-extensions):
893 Add :mime-charset property as x-ctext.
6aa75fb6 894
78d876b9
SM
8952012-10-07 Stefan Merten <smerten@oekonux.de>
896
897 * textmodes/rst.el (rst-new-adornment-down, rst-indent-field)
898 (rst-indent-literal-normal, rst-indent-literal-minimized)
899 (rst-indent-comment): Correct :version tag.
557337e9 900 (rst-official-cvs-rev): Correct version string.
78d876b9 901
99a1e701
GM
9022012-10-07 Glenn Morris <rgm@gnu.org>
903
904 * mail/rmailmm.el (rmail-mime-process-multipart):
905 Do not confuse a multipart message with an epilogue
906 with a "truncated" one; fixes 2011-06-27 change. (Bug#10101)
907
08f18c3d
FEG
9082012-10-07 Fabián Ezequiel Gallina <fgallina@cuca>
909
910 Fix shell output retrieval and comint-prompt-regexp init.
911 * progmodes/python.el (inferior-python-mode):
912 (python-shell-make-comint): Fix initialization of
913 comint-prompt-regexp from copied file local variables.
914 (python-shell-fetched-lines): Remove var.
915 (python-shell-output-filter-in-progress): Rename from
916 python-shell-fetch-lines-in-progress.
917 (python-shell-output-filter-buffer): Rename from
918 python-shell-fetch-lines-string.
919 (python-shell-fetch-lines-filter): Delete function.
920 (python-shell-output-filter): New function.
921 (python-shell-send-string-no-output): Use them.
922
82ed3ab4
GM
9232012-10-07 Glenn Morris <rgm@gnu.org>
924
1595ecfa
GM
925 * hi-lock.el (hi-lock-process-phrase):
926 Try to make it less fragile. (Bug#7161)
927
82ed3ab4
GM
928 * hi-lock.el (hi-lock-face-phrase-buffer): Doc fix.
929
f1f4dba0
GM
9302012-10-06 Glenn Morris <rgm@gnu.org>
931
addc11ed 932 * ehelp.el (electric-help-mode): Use help-mode rather than
32939005
GM
933 non-existent mode `help'.
934 (electric-help-map): Use button-buffer-map. (Bug#10917)
addc11ed 935
460042b8
GM
936 * textmodes/reftex-vars.el (reftex-create-bibtex-header)
937 (reftex-create-bibtex-footer): Fix custom types.
938
67667c70
GM
939 * progmodes/sh-script.el (sh-indent-after-continuation):
940 Add explicit :group.
941
18dec750
GM
942 * textmodes/rst.el (rst-preferred-decorations)
943 (rst-shift-basic-offset): Clarify obsolescence versions.
944
d1a1c7e6
GM
945 * profiler.el (profiler): Add missing group :version tag.
946 * avoid.el (mouse-avoidance-banish-position):
947 * proced.el (proced-renice-command):
948 * calc/calc.el (calc-ensure-consistent-units):
949 * calendar/icalendar.el (icalendar-import-format-uid):
950 * net/tramp.el (tramp-save-ad-hoc-proxies):
951 * progmodes/bug-reference.el (bug-reference-bug-regexp):
952 * progmodes/flymake.el (flymake-error-bitmap)
953 (flymake-warning-bitmap, flymake-fringe-indicator-position):
954 * progmodes/sh-script.el (sh-indent-after-continuation):
955 * progmodes/verilog-mode.el (verilog-auto-template-warn-unused)
956 (verilog-before-save-font-hook, verilog-after-save-font-hook):
957 * progmodes/vhdl-mode.el (vhdl-makefile-default-targets)
958 (vhdl-array-index-record-field-in-sensitivity-list)
959 (vhdl-indent-comment-like-next-code-line):
960 * textmodes/reftex-vars.el (reftex-ref-style-alist)
961 (reftex-ref-macro-prompt, reftex-ref-style-default-list)
962 (reftex-cite-key-separator, reftex-create-bibtex-header)
963 (reftex-create-bibtex-footer):
964 * textmodes/rst.el (rst-new-adornment-down, rst-indent-field)
965 (rst-indent-literal-normal, rst-indent-literal-minimized)
966 (rst-indent-comment): Add missing custom :version tags.
967
ef35abb4
GM
968 * calendar/timeclock.el (timeclock-modeline-display):
969 Add missing obsolete alias for renamed user option.
970
d1aae614
GM
971 * strokes.el (strokes-modeline-string):
972 * emulation/crisp.el (crisp-mode-modeline-string):
973 * eshell/esh-mode.el (eshell-status-in-modeline):
974 Aliases to defcustoms must come before the defcustom.
975
f1f4dba0
GM
976 * calendar/cal-tex.el (cal-tex-diary, cal-tex-cursor-week)
977 (cal-tex-cursor-week2, cal-tex-cursor-week-iso)
978 (cal-tex-cursor-week-monday): Doc fixes.
979 (cal-tex-cursor-week2-summary): Doc fix.
980 Rename from cal-tex-cursor-week-at-a-glance.
981
982 * calendar/cal-menu.el (cal-menu-context-mouse-menu):
983 Tweak week descriptions. Add cal-tex-cursor-week2-summary.
984
985 * calendar/calendar.el (calendar-mode-map):
986 Add cal-tex-cursor-week2-summary.
987
d39109c3
SM
9882012-10-06 Stefan Monnier <monnier@iro.umontreal.ca>
989
685f87b0
SM
990 * emacs-lisp/cl-macs.el (cl-defstruct): Improve docstring.
991
d39109c3
SM
992 * subr.el (read-passwd-map): New var.
993 (read-passwd): Use `read-string' again.
994 * minibuffer.el (delete-minibuffer-contents): Make it interactive.
995
5694896d
J
9962012-10-06 Jambunathan K <kjambunathan@gmail.com>
997
998 * register.el (append-to-register, prepend-to-register):
999 Deactivate mark, as does `copy-to-register' (bug#12389).
1000
9414dd8d
CY
10012012-10-06 Chong Yidong <cyd@gnu.org>
1002
1003 * files.el (auto-mode-alist): Add .by and .wy (Semantic grammars).
1004
2b89bca4
KH
10052012-10-06 Ikumi Keita <ikumi@ikumi.que.jp> (tiny change)
1006
1007 * international/characters.el: Fix simple mistake ((car chars) ->
1008 elt), delete duplicated code.
1009
d5acb99a
GM
10102012-10-06 Glenn Morris <rgm@gnu.org>
1011
1012 * subr.el (read-passwd): Allow C-u to erase entry. (Bug#12570)
1013
123ec157
JS
10142012-10-06 Julian Scheid <julians37@gmail.com> (tiny change)
1015
1016 * color.el (color-hsl-to-rgb): Fix incorrect results for
1017 small and large hue values. (Bug#12559)
1018
7fa36ccb
FEG
10192012-10-05 Fabián Ezequiel Gallina <fgallina@cuca>
1020
1021 Enhancements to docstring formatting when filling paragraphs.
1022 * progmodes/python.el (python-fill-docstring-style): Rename from
1023 python-fill-string-style. Added new style.
1024 (python-fill-string): Use new style. Better checks for
1025 docstrings.
1026
d8788e1e
GM
10272012-10-05 Glenn Morris <rgm@gnu.org>
1028
204f3953
GM
1029 * net/newst-treeview.el (newsticker-group-move-feed): Doc fix.
1030
d8788e1e
GM
1031 * color.el (color-name-to-rgb, color-rgb-to-hex)
1032 (color-hue-to-rgb, color-hsl-to-rgb, color-rgb-to-hsv)
1033 (color-rgb-to-hsl, color-srgb-to-xyz, color-saturate-hsl)
1034 (color-desaturate-hsl, color-desaturate-name, color-lighten-hsl)
1035 (color-lighten-name, color-darken-hsl, color-darken-name): Doc fixes.
1036
8d956cef
GM
1037 * emacs-lisp/timer.el (with-timeout): Add missing progn. (Bug#12577)
1038
e8757f09 10392012-10-05 Juanma Barranquero <lekktu@gmail.com>
ea9a3563
JB
1040
1041 * ido.el (ido-directory-too-big-p): Pass dir through file-truename
1042 to get the correct size across symlinks.
1043
e8757f09
GM
1044 * ido.el (ido-buffer-disable-smart-matches): Fix typo in docstring.
1045
0e2ae83d
JL
10462012-10-04 Juri Linkov <juri@jurta.org>
1047
1048 * replace.el (query-replace-interactive): Declare obsolete.
1049 (query-replace-read-from): Add the last incremental search string
1050 to the list of default values accessible via M-n.
1051 (map-query-replace-regexp): Use `read-regexp'.
1052 (query-replace, query-replace-regexp, query-replace-regexp-eval)
1053 (map-query-replace-regexp, replace-string, replace-regexp):
1054 Fix docstrings to replace mentions of `query-replace-interactive'
1055 with alternatives. (Bug#12526)
1056
93cacb6d
JL
10572012-10-04 Juri Linkov <juri@jurta.org>
1058
1059 * dired.el (dired-shrink-to-fit): Declare obsolete. (Bug#1806)
1060 (dired-pop-to-buffer): Declare obsolete.
1061 (dired-mark-pop-up): Doc fix.
1062
fc345011
FEG
10632012-10-04 Fabián Ezequiel Gallina <fgallina@cuca>
1064
1065 Allow user to set docstring style for fill-paragraph.
1066 * progmodes/python.el
1067 (python-fill-comment-function, python-fill-string-function)
1068 (python-fill-decorator-function, python-fill-paren-function):
1069 Remove :safe for defcustoms.
1070 (python-fill-string-style): New defcustom
5694896d 1071 (python-fill-paragraph-function): Enhance context detection.
fc345011
FEG
1072 (python-fill-string): Honor python-fill-string-style settings.
1073
6bab5d8b
MR
10742012-10-04 Martin Rudalics <rudalics@gmx.at>
1075
1076 * emacs-lisp/edebug.el (edebug-pop-to-buffer): Select window
1077 after setting its buffer (Bug#10805).
1078
a1a9f411
FEG
10792012-10-03 Fabián Ezequiel Gallina <fgallina@cuca>
1080
1081 Fix cornercase for string syntax.
1082 * progmodes/python.el (python-syntax-propertize-function):
1083 Simplify and enhance the regexp for unescaped quotes. Now it also
1084 matches quotes in weird situations like the single quote in
1085 "something\"'".
1086 (python-syntax-stringify): Simplify num-quotes detecting code.
1087
05e153a6
GM
10882012-10-03 Glenn Morris <rgm@gnu.org>
1089
1090 * help-macro.el (three-step-help):
1091 Revert 2012-09-29 change. (Bug#12567)
1092
2e566ecb
MR
10932012-10-03 Martin Rudalics <rudalics@gmx.at>
1094
96ef9ccd
MR
1095 * menu-bar.el (kill-this-buffer): Don't do anything when
1096 `menu-frame' is not alive or visible (Bug#8184).
1097
2e566ecb
MR
1098 * emacs-lisp/debug.el (debug): When quitting the debugger window
1099 restore current buffer (Bug#12502).
1100
a96e1cb7
CY
11012012-10-02 Chong Yidong <cyd@gnu.org>
1102
5694896d
J
1103 * progmodes/hideif.el (hif-lookup, hif-defined):
1104 Handle semantic-c-takeover-hideif.
a96e1cb7 1105
b3ecad33
PE
11062012-10-02 Paul Eggert <eggert@cs.ucla.edu>
1107
1108 Change sampling interval units from ms to ns.
1109 * profiler.el (profiler-sampling-interval): Change units
1110 from ms to ns, multiplying the default by 1000000 so that
1111 it remains 1 ms.
1112 (profiler-report-cpu-line-format): Give enough room for
1113 the maximum counters on 64-bit hosts.
1114 (profiler-report-render-calltree-1): Call them "CPU samples",
1115 not "Time (ms)", since they are not milliseconds now (and
1116 never really were).
1117
8cb51b66 11182012-10-02 Sergio Durigan Junior <sergiodj@riseup.net> (tiny change)
c623f81a 1119
5694896d
J
1120 * net/eudcb-bbdb.el (eudc-bbdb-format-record-as-result):
1121 Fix querying BBDB for entries without a last name (Bug#11580).
c623f81a 1122
fd795bf4
CY
11232012-10-02 Chong Yidong <cyd@gnu.org>
1124
1125 * emacs-lisp/eieio.el: Restore Version header.
1126
fe0a74f9
SM
11272012-10-02 Stefan Monnier <monnier@iro.umontreal.ca>
1128
6be9197e
SM
1129 * vc/diff-mode.el (diff--auto-refine-data): New var.
1130 (diff-hunk): Use it to delay refinement.
1131 (diff-mode): Remove overlays when we turn off font-lock.
1132
18486139
SM
1133 * textmodes/table.el: Use lexical-binding, dolist, define-minor-mode.
1134 (table-initialize-table-fixed-width-mode)
1135 (table-set-table-fixed-width-mode): Remove functions.
1136 (table-command-list): Move initialization into declaration.
1137 (table--tweak-menu-for-xemacs): Move defun outside mapcar.
1138 (table-with-cache-buffer): Use `declare'.
1139 (table-span-cell): Simplify via CSE.
1140 (table-fixed-width-mode): Use define-minor-mode.
1141 (table-call-interactively, table-funcall, table-apply): Remove.
1142 (table-function): New function, to replace them.
1143
d83ef976
SM
1144 * bookmark.el (bookmark-search-pattern): Remove var.
1145 (bookmark-read-search-input): Remove function.
1146 (bookmark-bmenu-search): Reimplement using a minibuffer.
1147
cd386662
SM
1148 * faces.el (modeline): Remove obsolete face name.
1149
fe0a74f9
SM
1150 * vc/add-log.el (add-log-buffer-file-name-function): Demote to defvar
1151 and give a non-nil default value.
1152 (add-change-log-entry): Simplify accordingly.
1153
9f7b98f8
DG
11542012-10-01 Dmitry Gutov <dgutov@yandex.ru>
1155
1156 * vc/vc-git.el (vc-git-log-edit-toggle-signoff): New function.
1157 (vc-git-log-edit-toggle-amend): New function.
1158 (vc-git-log-edit-toggle-signoff): New function.
1159 (vc-git-log-edit-mode): New major mode.
1160 (vc-git-log-edit-mode-map): Keymap for it.
1161 (vc-git-checkin): Handle "Amend" and "Sign-Off" headers.
1162
1163 * vc/log-edit.el (log-edit-font-lock-keywords): Allow hyphens in
1164 header names.
1165 (log-edit-toggle-header): New function.
1166 (log-edit-extract-headers): Accept function values in HEADERS alist.
1167
62a81506
CY
11682012-10-01 David Engster <deng@randomsample.de>
1169
1170 * emacs-lisp/eieio-opt.el (eieio-describe-class): Add filename
1171 from symbol property and change message to be more consistent with
1172 Emacs proper.
1173 (eieio-describe-generic): Add filename for each implementation.
1174 Fix indices for generic and normal methods.
1175 (eieio-method-def, eieio-class-def): New buttons.
1176 (eieio-help-find-method-definition)
1177 (eieio-help-find-class-definition): New functions.
1178 (eieio-help-mode-augmentation-maybee): Add buttons to filenames of
1179 class, constructor and method definitions.
1180
1181 * emacs-lisp/eieio.el (eieiomt-add, eieio-defclass): Save file
1182 information in symbol property.
1183 (scoped-class): Remove.
1184 (eieio-slot-name-index, call-next-method): Check if it is bound.
1185
11862012-10-01 Leo P. White <lpw25@cam.ac.uk>
1187
1188 * emacs-lisp/eieio-custom.el (eieio-custom-mode-map): New option.
1189 (eieio-custom-mode): New major mode.
1190 (eieio-customize-object): Use it.
1191
11922012-10-01 Eric Ludlam <zappo@gnu.org>
1193
1194 * emacs-lisp/eieio-base.el (eieio-persistent-read): New input args
1195 specifying the expected class, and whether subclassing is allowed.
1196 (eieio-persistent-convert-list-to-object):
1f9f395d
JB
1197 (eieio-persistent-validate/fix-slot-value)
1198 (eieio-persistent-slot-type-is-class-p): New functions.
1199 (eieio-named::slot-missing): Doc fix.
62a81506
CY
1200
1201 * emacs-lisp/eieio-datadebug.el (data-debug/eieio-insert-slots):
1202 Stop using unused publd variable.
1203
1204 * emacs-lisp/eieio-speedbar.el (eieio-speedbar-handle-click):
1205 (eieio-speedbar-description, eieio-speedbar-derive-line-path)
1206 (eieio-speedbar-object-buttonname, eieio-speedbar-make-tag-line)
1207 (eieio-speedbar-handle-click): Do not specify a class for the
1208 method. Fixes method invocation order problems with EDE.
1209
375e49d4
SM
12102012-10-01 Stefan Monnier <monnier@iro.umontreal.ca>
1211
1212 * emacs-lisp/bytecomp.el (byte-compiler-abbreviate-file): New function.
1213 (byte-compile-warning-prefix, byte-compile-file): Use it (bug#12508).
1214
16ce6ccd
KF
12152012-10-01 Karl Fogel <kfogel@red-bean.com>
1216
1217 * bookmark.el (bookmark-version-control): Give tags in the
1218 :type choices (Bug#12309), and improve doc string.
e4c4abdd
KF
1219 (bookmark-write-file): Bind `print-circle' to `t' to allow
1220 circular custom bookmark types. (Bug#12503)
16ce6ccd 1221
19e54a4d
PE
12222012-10-01 Paul Eggert <eggert@cs.ucla.edu>
1223
86ec63ba
PE
1224 Revert the FOLLOW-SYMLINKS change for file-attributes.
1225 * files.el (remote-file-name-inhibit-cache, after-find-file):
1226 * time.el (display-time-file-nonempty-p): Undo last change.
1227
19e54a4d
PE
1228 * profiler.el (profiler-sampling-interval): Change default back to 1.
1229 See Stefan Monnier in
1230 <http://lists.gnu.org/archive/html/emacs-devel/2012-09/msg00863.html>.
1231
0478776b
FEG
12322012-10-01 Fabián Ezequiel Gallina <fgallina@cuca>
1233
1234 Shell output catching a la gud-gdb.
1235 * progmodes/python.el (python-shell-fetch-lines-in-progress)
375e49d4
SM
1236 (python-shell-fetch-lines-string, python-shell-fetched-lines):
1237 New Vars.
0478776b
FEG
1238 (python-shell-fetch-lines-filter): New function.
1239 (python-shell-send-string-no-output): Use them.
1240
c22bac2c
TM
12412012-09-30 Tomohiro Matsuyama <tomo@cx4a.org>
1242
1243 * profiler.el (profiler-sampling-interval): Rename from
1244 profiler-sample-interval.
1245 (profiler-sampling-interval): Default to 10.
1246 (profiler-find-profile): New command (was profiler-find-log).
1247 (profiler-find-profile-other-window): New command.
1248 (profiler-find-profile-other-frame): New command.
1249 (profiler-profile): Introduce API-level data structure.
1250
e7a2937b
PE
12512012-09-30 Paul Eggert <eggert@cs.ucla.edu>
1252
1253 file-attributes has a new optional arg FOLLOW-SYMLINKS.
1254 * files.el (remote-file-name-inhibit-cache):
1255 * time.el (display-time-file-nonempty-p): Use it.
1256 * files.el (after-find-file): Don't chase links before calling
1257 file-exists-p, as file-exists-p already does the right thing.
1258
4f595e15
RA
12592012-09-30 Ralf Angeli <angeli@caeruleus.net>
1260
1261 Merge from standalone RefTeX repository.
1262
1263 The following ChangeLog entries are shortened versions of the
1264 original ones with file paths adapted. A not so strongly edited
1265 version of the original ChangeLog can be found in the commit log.
1266
1267 * textmodes/reftex-auc.el: Move `provide' call to bottom of file.
375e49d4
SM
1268 (reftex-arg-cite): Use `reftex-cite-key-separator'.
1269 Correctly handle new value type returned by `reftex-citation'.
4f595e15
RA
1270
1271 * textmodes/reftex-cite.el (reftex-create-bibtex-file): Make sure
375e49d4
SM
1272 that entries with whitespace at various places are found.
1273 Doc fix. Include entries that are cross-referenced from cited entries.
4f595e15
RA
1274 Include @String definitions in the resulting bib file. Add header
1275 and footer defined in `reftex-create-bibtex-header' and
1276 `reftex-create-bibtex-footer'.
1277 (reftex-do-citation): Make it possible again to insert
1278 non-existent entries. Save match data when asking for optional
1279 arguments. Return all keys, not just the first one.
1280 (reftex-all-used-citation-keys): Fix regexp to correctly extract
1281 all citations in the same line.
1282 (reftex-parse-bibtex-entry): Accept additional optional argument
1283 `raw' and keep quotes or braces if it is non-nil. Match fields
1284 containing hyphens besides word constituents.
1285 (reftex-get-string-refs): New function.
1286 (reftex-extract-bib-entries): Check if BibTeX file changed on disk
1287 and ask if it should be reread in case it did.
1288 (reftex-pop-to-bibtex-entry)
1289 (reftex-extract-bib-entries-from-thebibliography): Match \bibitem
1290 entries with spaces or tabs in front of arguments.
1291 (reftex-pop-to-bibtex-entry, reftex-extract-bib-entries)
375e49d4
SM
1292 (reftex-parse-bibtex-entry, reftex-create-bibtex-file):
1293 Match entries containing numbers and symbol constituents.
1294 (reftex-do-citation, reftex-figure-out-cite-format):
1295 Use `reftex-cite-key-separator'.
4f595e15
RA
1296
1297 * textmodes/reftex-dcr.el: Move provide statement to end of file.
1298 (reftex-mouse-view-crossref): Explain why point is set.
1299
1300 * textmodes/reftex-global.el: Whitespace changes.
1301
1302 * textmodes/reftex-index.el: Move provide statement to end of
1303 file.
1304 (reftex-index-selection-or-word): Use `reftex-region-active-p'.
1305 (reftex-index-visit-phrases-buffer): Set marker when visiting
1306 buffer. This allows for returning from the phrases file to the
1307 file one was just editing instead of the file where the last
1308 phrases was added from.
1309 (reftex-index-phrases-syntax-table): New variable. Give ?\"
1310 punctuation syntax as it usually is not used as string quote in
1311 TeX-related modes and may occur unmatched. The change also
1312 prevents fontification of quoted content.
1313 (reftex-index-phrases-mode): Use it.
1314
375e49d4
SM
1315 * textmodes/reftex-parse.el (reftex-parse-from-file):
1316 Move backward one char if a `\' was matched after a section macro.
4f595e15
RA
1317 (reftex-parse-from-file): Use beginning of match instead of end as
1318 bound.
1319
1320 * textmodes/reftex-ref.el: Adapt creation of
1321 `reftex-<package>-<macro>' functions to new structure of
1322 `reftex-ref-style-alist'.
375e49d4
SM
1323 (reftex-reference): Use `reftex-ref-style-list' function.
1324 Adapt to new structure of `reftex-ref-style-alist'. Prompt for a
4f595e15
RA
1325 reference macro if `reftex-ref-macro-prompt' is non-nil.
1326 (reftex-reference): Pass refstyle to `reftex-format-special'.
1327 Determine reference macro by looking at
375e49d4
SM
1328 `reftex-ref-style-default-list' and `reftex-ref-style-alist'.
1329 Use only one special format function.
4f595e15
RA
1330 (reftex-varioref-vref, reftex-fancyref-fref)
1331 (reftex-fancyref-Fref): Remove definitions. The functions are now
1332 generated from `reftex-ref-style-alist'.
1333 (reftex-format-vref, reftex-format-Fref, reftex-format-fref):
1334 Remove.
1335 (reftex-format-special): New function.
1336
1337 * textmodes/reftex-sel.el
1338 (reftex-select-cycle-ref-style-internal): Adapt to new structure
1339 of `reftex-ref-style-alist'. Remove code for testing macro type.
1340 (reftex-select-toggle-varioref)
1341 (reftex-select-toggle-fancyref): Remove.
1342 (reftex-select-cycle-ref-style-internal)
1343 (reftex-select-cycle-ref-style-forward)
1344 (reftex-select-cycle-ref-style-backward): New functions.
1345 (reftex-select-label-map): Use `v' and `V' for general cycling
1346 through reference styles. Add `p' for switching between number
1347 and page reference types.
1348
375e49d4
SM
1349 * textmodes/reftex-toc.el (reftex-re-enlarge):
1350 Call `enlarge-window' only if there is something to do because in Emacs
4f595e15
RA
1351 the horizontal version throws an error even if the parameter is 0.
1352
1353 * textmodes/reftex-vars.el (reftex-label-alist): Doc fix.
1354 (reftex-plug-into-AUCTeX): Doc fix.
1355 (reftex-vref-is-default, reftex-fref-is-default): Adapt doc
1356 string. Adapt to new name.
1357 (reftex-ref-style-alist): Change structure so that it is not
1358 possible to use multiple different package names within a style.
375e49d4
SM
1359 Remove the symbols for symbols for macro type distinction.
1360 Add characters for macro selection.
4f595e15
RA
1361 (reftex-ref-macro-prompt, reftex-create-bibtex-header)
1362 (reftex-create-bibtex-footer): New variables.
1363 (reftex-format-ref-function): Mention third argument of special
1364 format function.
375e49d4
SM
1365 (reftex-ref-style-alist, reftex-ref-style-default-list):
1366 New variables.
4f595e15
RA
1367 (reftex-vref-is-default, reftex-fref-is-default): Adapt doc string
1368 to new implementation. Mark as obsolete. Add compatibility code
1369 for honoring the variable values in case they are set.
375e49d4
SM
1370 (reftex-cite-format-builtin, reftex-bibliography-commands):
1371 Add support for ConTeXt.
1372 (reftex-format-ref-function, reftex-format-cite-function):
1373 Fix custom type.
4f595e15
RA
1374 (reftex-cite-key-separator): New variable.
1375
1376 * textmodes/reftex.el (reftex-syntax-table-for-bib)
1377 (reftex-mode): Do not derive `reftex-syntax-table-for-bib' from
1378 `reftex-syntax-table' because parens have to retain their paren
1379 syntax in order for parsing of BibTeX entries like @book(...) to
1380 work.
1381 (reftex-in-comment): Do not error out if `comment-start-skip' is
1382 not set. Deal correctly with escaped comment characters.
375e49d4
SM
1383 (reftex-tie-multifile-symbols): Add doc string.
1384 Initialize `reftex-ref-style-list'.
4f595e15
RA
1385 (reftex-untie-multifile-symbols): Add doc string.
1386 (reftex-add-index-macros): Doc fix.
1387 (reftex-ref-style-activate, reftex-ref-style-toggle)
1388 (reftex-ref-style-list): New functions.
1389 (reftex-mode-menu): Use them. Adapt to new structure of
1390 `reftex-ref-style-alist'.
1391 (reftex-select-with-char): Kill the RefTeX Select buffer when
1392 done.
1393 (reftex-remove-if): New function.
1394 (reftex-erase-all-selection-and-index-buffers)
1395 (reftex-mode-menu): Reference styles are now computed from
1396 `reftex-ref-style-alist'. Fix typo.
1397 (reftex-report-bug): New function.
1398 (reftex-uniquify, reftex-uniquify-by-car): Replace O(n^2)
1399 algorithms with O(n log n). Introduce optional argument SORT (not
1400 yet used).
1401
440ba395
FEG
14022012-09-30 Fabián Ezequiel Gallina <fgallina@cuca>
1403
1404 Enhancements for triple-quote string syntax.
375e49d4
SM
1405 * progmodes/python.el (python-syntax-propertize-function):
1406 Match both quote cases in one regexp.
440ba395
FEG
1407 (python-syntax-stringify): Handle matches properly.
1408
4c478e6b
JL
14092012-09-30 Juri Linkov <juri@jurta.org>
1410
1411 * arc-mode.el (archive-summarize): Let-bind `buffer-file-truename'
93cacb6d 1412 to nil around the call to `insert' to prevent
4c478e6b
JL
1413 directory time modification by lock_file. (Bug#2295)
1414 * tar-mode.el (tar-summarize-buffer): Idem.
1415
d80d54b2
JL
14162012-09-30 Juri Linkov <juri@jurta.org>
1417
1418 * facemenu.el (list-colors-sort): Add option "Luminance".
1419 (list-colors-sort-key): Implement it.
1420
1421 * vc/diff-mode.el (diff-refine-removed):
1422 * vc/ediff-init.el (ediff-fine-diff-A):
1423 * vc/smerge-mode.el (smerge-refined-removed):
1424 Change background color "#ffaaaa" to "#ffbbbb". (Bug#10181)
1425
d7e642cc
JD
14262012-09-30 Jan Djärv <jan.h.d@swipnet.se>
1427
1428 * term/ns-win.el (x-file-dialog): New function.
1429
ee41332b
JB
14302012-09-30 Juanma Barranquero <lekktu@gmail.com>
1431
1432 * ido.el (ido-max-directory-size): Default to nil; the current
1433 default is small for POSIX systems, and impractical on Windows 7
1434 now that lstat returns directory sizes for NTFS.
1435
5938d519
MR
14362012-09-30 Martin Rudalics <rudalics@gmx.at>
1437
1438 In buffer display functions handle window-height/window-width
1439 alist entries. Suggested by Juri Linkov as fix for Bug#1806.
375e49d4
SM
1440 * window.el (window--display-buffer): New argument ALIST.
1441 Obey window-height and window-width alist entries.
1442 (window--try-to-split-window): New argument ALIST.
1443 Bind window-combination-limit to t when the window's size shall be
5938d519
MR
1444 changed and window-combination-limit equals `window-size'.
1445 (display-buffer-in-atom-window)
1446 (display-buffer-in-major-side-window)
1447 (display-buffer-in-side-window, display-buffer-same-window)
1448 (display-buffer-reuse-window, display-buffer-pop-up-frame)
1449 (display-buffer-pop-up-window, display-buffer-below-selected)
1450 (display-buffer-at-bottom, display-buffer-in-previous-window)
1451 (display-buffer-use-some-window): Adjust all callers of
1452 window--display-buffer and window--try-to-split-window.
1453 (fit-frame-to-buffer): New option.
1454 (fit-window-to-buffer): Can resize frames if fit-frame-to-buffer
1455 is non-nil.
1456 (display-buffer-in-major-side-window): Evaluate window-height /
1457 window-width alist entries.
1458
1459 * help.el (temp-buffer-resize-frames)
1460 (temp-buffer-resize-regexps): Remove options.
1461 (temp-buffer-resize-mode): Adjust doc-string.
1462 (resize-temp-buffer-window): Don't consult
1463 temp-buffer-resize-regexps. Use fit-frame-to-buffer instead of
1464 temp-buffer-resize-frames.
1465
375e49d4
SM
1466 * dired.el (dired-mark-pop-up):
1467 Call display-buffer-below-selected with a fit-window-to-buffer alist
5938d519
MR
1468 entry.
1469
c4c0c2df
CY
14702012-09-30 Chong Yidong <cyd@gnu.org>
1471
48de8b12
CY
1472 * server.el (server-host): Document the security implications.
1473 (server-auth-key): Doc fix.
1474
1475 * startup.el (initial-buffer-choice): Doc fix.
1476
1477 * minibuffer.el (minibuffer-local-filename-syntax): Doc fix.
1478
a97dc380
CY
1479 * simple.el (delete-trailing-whitespace): Avoid an unnecessary
1480 restriction change.
1481
d39d3c8e
CY
1482 * bindings.el (goto-map): Bind M-g TAB to move-to-column.
1483
c4c0c2df
CY
1484 * help-fns.el (help-fns--obsolete): Fix last change.
1485
98a5e33b
SM
14862012-09-30 Stefan Monnier <monnier@iro.umontreal.ca>
1487
34cf6f39
SM
1488 * winner.el (winner-mode-map): Obey winner-dont-bind-my-keys here.
1489 (minor-mode-map-alist): Remove redundant code.
1490
e01c13fe
SM
1491 * vc/pcvs.el (cvs-cleanup-collection): Keep entries that are currently
1492 visited in a buffer.
1493 (cvs-insert-visited-file): New function.
1494 (find-file-hook): Use it.
1495
1496 * vc/pcvs-info.el (cvs-fileinfo-pp): Don't use non-existent faces.
1497
02661b3a
SM
1498 * vc/log-edit.el (log-edit-font-lock-keywords): Ignore case to
1499 chose face.
1500 (log-edit-empty-buffer-p): Don't require a space after a header.
1501
43711d4b
SM
1502 * vc/ediff-util.el (ediff-diff-at-point): Don't assume point-min==1.
1503
38a30d64
SM
1504 * tutorial.el (help-with-tutorial): Use minibuffer-with-setup-hook.
1505
4ffb41a9
SM
1506 * textmodes/text-mode.el (paragraph-indent-minor-mode): Make it
1507 a proper minor-mode.
1508
98a5e33b
SM
1509 * textmodes/tex-mode.el (tex-mode-map): Don't bind paren keys.
1510
de82e29b
GM
15112012-09-29 Glenn Morris <rgm@gnu.org>
1512
5cc2e639
GM
1513 * winner.el (winner-mode): Remove variable (let define-minor-mode
1514 handle it).
1515 (winner-dont-bind-my-keys, winner-boring-buffers, winner-mode-hook):
1516 Doc fixes.
1517 (winner-mode-leave-hook): Rename to winner-mode-off-hook.
1518 (winner-mode): Use define-minor-mode.
1519
7bd302eb
GM
1520 * vc/vc-sccs.el (vc-sccs-registered): Use the progn trick to get
1521 the full definition in loaddefs, rather than duplicating it.
1522
2923922f 1523 * help-macro.el (three-step-help): No need to autoload defcustom.
ced08382 1524
0e3e4156
GM
1525 * progmodes/inf-lisp.el (inferior-lisp-filter-regexp)
1526 (inferior-lisp-program, inferior-lisp-load-command)
1527 (inferior-lisp-prompt, inferior-lisp-mode-hook):
2923922f 1528 No need to autoload defcustoms.
0e3e4156 1529
de82e29b
GM
1530 * hippie-exp.el (hippie-expand-try-functions-list)
1531 (hippie-expand-verbose, hippie-expand-dabbrev-skip-space)
1532 (hippie-expand-dabbrev-as-symbol, hippie-expand-no-restriction)
1533 (hippie-expand-max-buffers, hippie-expand-ignore-buffers)
2923922f 1534 (hippie-expand-only-buffers): No need to autoload defcustoms.
de82e29b
GM
1535 * progmodes/vhdl-mode.el (vhdl-line-expand):
1536 Explicitly load hippie-exp, so it does not get autoloaded
1537 while hippie-expand-try-functions-list is let-bound.
1538
e60b51ab
GM
15392012-09-28 Glenn Morris <rgm@gnu.org>
1540
277f0cfa
GM
1541 * emacs-lisp/cl.el (flet): Fix case of obsolescence message.
1542
e60b51ab
GM
1543 * emacs-lisp/bytecomp.el (byte-compile-cl-file-p):
1544 Only "cl.el" counts as cl these days.
1545
53baf48a
JL
15462012-09-28 Juri Linkov <juri@jurta.org>
1547
1548 Display archive errors in the echo area instead of inserting
1549 to the file buffer.
1550
1551 * arc-mode.el (archive-extract-by-stdout): Change arg STDERR-FILE
1552 to STDERR-TEST that can be a regexp matching a successful output.
1553 Create a temporary file and redirect stderr to it. Search for
1554 STDERR-TEST in the stderr output and display it in the echo area
1555 if no match is found.
1556 (archive-extract-by-file): New function like
1557 `archive-extract-by-stdout' but extracting archives to files
1558 and looking for successful matches in stdout. Function body is
1559 mostly copied from `archive-rar-extract'.
1560 (archive-rar-extract): Use `archive-extract-by-file'.
1561 (archive-7z-extract): Use `archive-extract-by-stdout'. (Bug#10347)
1562
9c1228c3
LL
15632012-09-28 Leo Liu <sdl.web@gmail.com>
1564
375e49d4
SM
1565 * pcomplete.el (pcomplete-show-completions):
1566 Use minibuffer-message to make pcomplete usable in minibuffer.
147c0425 1567
9c1228c3
LL
1568 * ido.el (ido-set-matches-1): Fix 2012-09-11 change.
1569
7f457c06
SM
15702012-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
1571
3df749b0
SM
1572 * type-break.el: Use lexical-binding.
1573 (type-break-mode): Use define-minor-mode.
1574
7f457c06
SM
1575 * emacs-lisp/pcase.el (pcase--mark-used): New.
1576 (pcase--u1): Use it (bug#12512).
1577
1578 * custom.el (load-theme): Set buffer-file-name so the load is recorded
1579 in load-history with the right file name.
1580
c00ebc98
TH
15812012-09-28 Tassilo Horn <tsdh@gnu.org>
1582
1583 * doc-view.el (doc-view-current-cache-doc-pdf): New function.
1584 (doc-view-doc->txt, doc-view-convert-current-doc): Use it.
1585 (doc-view-get-bounding-box): Make bounding box slicing work for
1586 ODF and DVI documents.
1587
96fb7170
GM
15882012-09-28 Glenn Morris <rgm@gnu.org>
1589
1590 * type-break.el (type-break-mode, type-break-interval)
1591 (type-break-good-rest-interval, type-break-keystroke-threshold):
1592 No need to autoload.
1593 (type-break-good-rest-interval, type-break-keystroke-threshold):
1594 Add :set-after.
1595
5bc93c67
CY
15962012-09-28 Chong Yidong <cyd@gnu.org>
1597
1598 * progmodes/verilog-mode.el (verilog-auto-inst-interfaced-ports):
1599 Add :version tag.
1600
9cad61d6
SM
16012012-09-27 Stefan Monnier <monnier@iro.umontreal.ca>
1602
e28e67b3 1603 * json.el (json-encode-char): Codes 127-160 aren't "ASCII printable".
9cad61d6 1604
daee954c
GM
16052012-09-27 Glenn Morris <rgm@gnu.org>
1606
a88324d4
GM
1607 * faces.el (x-display-name): Declare (for without-x builds).
1608
8e5064e5
GM
1609 * linum.el (linum-format): Don't autoload it. Improve :type.
1610
cc1783c2
GM
1611 * progmodes/tcl.el: Don't require outline when compiling.
1612 (outline-regexp, outline-level): Declare.
1dddcf4c
GM
1613 * textmodes/sgml-mode.el: Don't require outline when compiling.
1614 (outline-regexp, outline-heading-end-regexp, outline-level): Declare.
1615
48c339f2
GM
1616 * term.el (term-ansi-reset):
1617 Try setting term-ansi-face-already-done to nil. (Bug#11785)
1618
daee954c
GM
1619 * vc/vc.el (vc-next-action): Only gripe about committing read-only
1620 files for RCS and SCCS. (Bug#9781)
1621
b7f42161
CY
16222012-09-27 Chong Yidong <cyd@gnu.org>
1623
1624 * progmodes/verilog-mode.el (verilog-mode-release-emacs): Fix last
1625 change; value should be t.
1626
a2e770db
SM
16272012-09-27 Stefan Monnier <monnier@iro.umontreal.ca>
1628
83600dc8
SM
1629 * image-mode.el: Use lexical-binding.
1630 (image-mode-winprops): Use t to stand for the window of
1631 a buffer that's not displayed.
1632 * doc-view.el (doc-view-new-window-function): Handle the new
1633 t in winprops.
1634 (doc-view-enlarge): Make it a real nop if the size is not changed.
1635 (doc-view-display): Handle the case where the buffer is not (yet?)
1636 displayed in any window.
1637 (doc-view-saved-settings): New var.
1638 (doc-view-mode): Use it.
1639 (doc-view-fallback-mode): Set it.
1640
a2e770db
SM
1641 * minibuf-eldef.el: Make it possible to replace (default ...) with [...].
1642 Set lexical-binding.
1643 (minibuffer-eldef-shorten-default): New var.
1644 (minibuffer-default-in-prompt-regexps): Use it for new default.
1645 (minibuf-eldef-setup-minibuffer): Add replacement functionality.
1646
e3b60857
JB
16472012-09-26 Juanma Barranquero <lekktu@gmail.com>
1648
1649 * international/uni-bidi.el:
1650 * international/uni-category.el:
1651 * international/uni-name.el:
1652 * international/uni-numeric.el: Regenerate.
1653
3a880af4
SM
16542012-09-26 Tomohiro Matsuyama <tomo@cx4a.org>
1655 Stefan Monnier <monnier@iro.umontreal.ca>
1656
1657 * profiler.el: New file.
1658
07b1a5fb
SM
16592012-09-26 Stefan Monnier <monnier@iro.umontreal.ca>
1660
1661 * emacs-lisp/testcover.el (testcover-after): Add gv-expander.
1662 (testcover-reinstrument): Simplify with CSE.
1663
42019c2e
JB
16642012-09-26 Juanma Barranquero <lekktu@gmail.com>
1665
1666 * window.el (temp-buffer-window-setup): Fix typo in docstring.
1667
179f044b
WS
16682012-09-25 Wilson Snyder <wsnyder@wsnyder.org>
1669
1670 * verilog-mode.el (verilog-auto-ascii-enum, verilog-auto-inout)
1671 (verilog-auto-input, verilog-auto-insert-lisp)
1672 (verilog-auto-output, verilog-auto-output-every, verilog-auto-reg)
1673 (verilog-auto-reg-input, verilog-auto-tieoff, verilog-auto-undef)
1674 (verilog-auto-unused, verilog-auto-wire)
1675 (verilog-forward-or-insert-line): Fix AUTOs with no trailing
1676 newline. Reported by Andrew Jones.
1677 (verilog-auto-inst) Support expanding $clog2 in AUTOINST.
1678 Reported by Brad Dobbie.
07b1a5fb
SM
1679 (verilog-batch-delete-trailing-whitespace):
1680 Create verilog-batch-delete-trailing-whitespace.
1681 Reported by Brad Dobbie.
179f044b
WS
1682 (verilog-auto-inout-param): Support AUTOINOUTPARAM for copying
1683 parameters from another module. Reported by Dan Katz.
1684 (verilog-auto, verilog-auto-assign-modport)
1685 (verilog-auto-inout-modport): Add AUTOASSIGNMODPORT and
1686 AUTOINOUTMODPORT for UVM interface module shell generation.
1687 Reported by Brad Dobbie.
1688 (verilog-auto-inst-interfaced-ports): Make default nil, as more
1689 standard behavior.
1690 (verilog-auto): Fix AUTO parameters with parenthesis arguments.
1691 Reported by Matt Martin.
1692
9c52dd5a
MR
16932012-09-25 Martin Rudalics <rudalics@gmx.at>
1694
1695 * window.el (window--resize-child-windows): When resizing child
1696 windows proportionally, process them in reverse order to
1697 preserve the "when splitting a window the new one gets the odd
1698 line" behavior.
1699 (window--resize-root-window-vertically): When resizing the
1700 minibuffer window try to affect only windows at the bottom of the
1701 frame. (Bug#12419)
1702
863666eb
CY
17032012-09-25 Chong Yidong <cyd@gnu.org>
1704
1705 * subr.el (declare): Doc fix.
1706
1707 * help-fns.el (help-fns--obsolete): Handle macros properly.
1708
59f7af81
CY
17092012-09-25 Chong Yidong <cyd@gnu.org>
1710
1711 * bookmark.el (bookmark-jump-noselect): Use a declare form to mark
1712 this function obsolete.
1713
1714 * calendar/cal-x.el (calendar-two-frame-setup)
1715 (calendar-only-one-frame-setup, calendar-one-frame-setup):
1716 * calendar/calendar.el (american-calendar, european-calendar)
1717 (calendar-for-loop):
1718 * comint.el (comint-dynamic-simple-complete)
1719 (comint-dynamic-complete-as-filename, comint-unquote-filename):
1720 * desktop.el (desktop-load-default):
1721 * dired-x.el (dired-omit-here-always)
1722 (dired-hack-local-variables, dired-default-directory):
1723 * emacs-lisp/derived.el (derived-mode-class):
1724 * emacs-lisp/timer.el (timer-set-time-with-usecs):
1725 * emacs-lock.el (toggle-emacs-lock):
1726 * epa.el (epa-display-verify-result):
1727 * epg.el (epg-sign-keys, epg-start-sign-keys)
1728 (epg-passphrase-callback-function):
1729 * eshell/esh-util.el (eshell-for):
1730 * eshell/eshell.el (eshell-remove-from-window-buffer-names)
1731 (eshell-add-to-window-buffer-names):
1732 * files.el (locate-file-completion):
1733 * imenu.el (imenu-example--create-c-index)
1734 (imenu-example--create-lisp-index)
1735 (imenu-example--lisp-extract-index-name)
1736 (imenu-example--name-and-position):
1737 * international/mule-cmds.el (princ-list):
1738 * international/mule-diag.el (decode-codepage-char):
1739 * international/mule-util.el (detect-coding-with-priority):
1740 * iswitchb.el (iswitchb-read-buffer):
1741 * mail/mailalias.el (mail-complete):
1742 * mail/sendmail.el (mail-sent-via):
1743 * mouse.el (mouse-popup-menubar-stuff, mouse-popup-menubar)
1744 (mouse-major-mode-menu):
1745 * password-cache.el (password-read-and-add):
1746 * pcomplete.el (pcomplete-parse-comint-arguments):
1747 * progmodes/sh-script.el (sh-maybe-here-document):
1748 * replace.el (query-replace-regexp-eval):
1749 * savehist.el (savehist-load):
1750 * simple.el (choose-completion-delete-max-match):
1751 * term.el (term-dynamic-simple-complete):
1752 * vc/ediff-init.el (ediff-check-version):
1753 * vc/ediff-wind.el (ediff-choose-window-setup-function-automatically):
1754 * vc/vc.el (vc-diff-switches-list):
1755 * view.el (view-return-to-alist-update): Likewise.
1756
1757 * subr.el (eval-next-after-load, makehash, insert-string)
1758 (assoc-ignore-representation, assoc-ignore-case): Use declare to
1759 mark obsolete.
1760 (mode-line-inverse-video): Variable deleted.
1761
1762 * international/mule-util.el (string-to-sequence): Remove.
1763
1764 * calendar/calendar.el (calendar-version):
1765 * calendar/icalendar.el (icalendar-extract-ical-from-buffer)
1766 (icalendar-convert-diary-to-ical):
1767 * cus-edit.el (custom-mode):
1768 * ansi-color.el (ansi-color-unfontify-region):
1769 * international/latin1-disp.el (latin1-char-displayable-p):
1770 * progmodes/cwarn.el (turn-on-cwarn-mode):
07b1a5fb
SM
1771 * progmodes/which-func.el (which-func-update-1):
1772 Use define-obsolete-function-alias.
59f7af81
CY
1773
1774 * net/newst-backend.el (newsticker-cache-filename):
07b1a5fb
SM
1775 * net/newst-treeview.el (newsticker-groups-filename):
1776 Fix incorrect obsolescence declaration.
59f7af81
CY
1777
1778 * allout.el (allout-passphrase-hint-string): Likewise.
1779 (allout-init): Use a declare form to mark obsolete.
1780
1781 * emacs-lisp/byte-run.el (make-obsolete): Doc fix; emphasize that
1782 this applies to functions.
1783
1784 * iswitchb.el (iswitchb-read-buffer): Move code of
1785 iswitchb-define-mode-map here, and delete that obsolete function.
1786
1787 * net/snmp-mode.el (snmp-font-lock-keywords-3): Don't use obsolete
1788 font-lock-reference-face.
1789
cca96c97
GM
17902012-09-25 Glenn Morris <rgm@gnu.org>
1791
b06eeda8
GM
1792 * buff-menu.el (Buffer-menu-name-width, Buffer-menu-size-width):
1793 Doc fixes.
1794
cca96c97
GM
1795 * eshell/em-term.el (eshell-term-name):
1796 Default to term-term-name. (Bug#12485)
1797
dc4f818b
FEG
17982012-09-24 Fabián Ezequiel Gallina <fgallina@cuca>
1799
cca96c97
GM
1800 * progmodes/python.el (python-shell-send-buffer): Better handling
1801 of "if __name__ == '__main__':" conditionals when sending the buffer.
dc4f818b 1802
289c24bd
GM
18032012-09-24 Glenn Morris <rgm@gnu.org>
1804
1805 * eshell/esh-cmd.el (eshell-find-alias-function):
1806 Tighten up file-name regexp. (Bug#12499)
1807
8fb8b88f
FEG
18082012-09-24 Fabián Ezequiel Gallina <fgallina@cuca>
1809
1810 Enhancements for triple-quote string syntax.
1811 * progmodes/python.el (python-quote-syntax): Remove.
1812 (python-syntax-propertize-function): New value.
07b1a5fb
SM
1813 (python-syntax-count-quotes, python-syntax-stringify):
1814 New functions.
8fb8b88f 1815
6c27f0f8
CY
18162012-09-24 Chong Yidong <cyd@gnu.org>
1817
a5f2b6ec
CY
1818 * mail/supercite.el (sc-version): Remove obsolete function.
1819 (sc-describe): Don't mark as obsolete, since it is bound.
1820 (sc-submit-bug-report): Remove.
1821
1822 * vc/log-edit.el (cvs-changelog-full-paragraphs)
1823 (cvs-commit-buffer-require-final-newline): Remove.
0c765e5f
CY
1824 (log-edit-require-final-newline)
1825 (log-edit-changelog-full-paragraphs): Default to t.
a5f2b6ec
CY
1826
1827 * vc/pcvs-defs.el (cvs-diff-buffer-name, cvs-diff-ignore-marks)
1828 * vc/vc-hooks.el (vc-ignore-vc-files, vc-master-templates)
1829 * vc/vc.el (vc-checkout-carefully): Likewise.
1830
1831 * vc/emerge.el (emerge-mode): Make it an obsolete alias.
1832 (emerge-version): Remove.
1833
1834 * progmodes/compile.el (compile-internal): Remove.
1835 (compilation-parse-errors-function): Fix typo.
1836
1837 * international/mule.el (set-char-table-default): Remove.
1838 (set-coding-priority, make-coding-system, generic-char-p)
1839 (charset-list, charset-bytes, charset-id): Use declare to mark
1840 functions as obsolete.
1841
1842 * vc/pcvs-defs.el (cvs-buffer-name-alist)
1843 (cvs-invert-ignore-marks): Remove references to obsolete vars.
1844 * vc/vc-hooks.el (vc-default-registered): Don't use
1845 vc-master-templates.
1846
07b1a5fb
SM
1847 * font-lock.el (font-lock-reference-face):
1848 Use define-obsolete-variable-alias.
6c27f0f8
CY
1849
1850 * generic-x.el (rul-generic-mode): Use font-lock-constant-face.
1851 * calendar/calendar.el (calendar-font-lock-keywords):
1852 * calendar/diary-lib.el (diary-font-lock-keywords)
1853 (diary-fancy-font-lock-keywords):
1854 * textmodes/reftex-sel.el (reftex-insert-docstruct):
1855 * textmodes/reftex-index.el (reftex-insert-index):
1856 * textmodes/reftex-cite.el (reftex-format-bib-entry):
1857 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
1858 * progmodes/ps-mode.el (ps-mode-font-lock-keywords-1):
1859 * progmodes/prolog.el (prolog-font-lock-keywords):
1860 * progmodes/idlwave.el (idlwave-idl-keywords):
1861 * progmodes/ada-mode.el (ada-font-lock-keywords):
1862 * net/snmp-mode.el (snmp-font-lock-keywords-3): Likewise.
1863
bcc0adbf
GM
18642012-09-24 Glenn Morris <rgm@gnu.org>
1865
1866 * mail/emacsbug.el (report-emacs-bug): Include `lsb_release -d'.
1867
095bb823
FEG
18682012-09-23 Fabián Ezequiel Gallina <fgallina@cuca>
1869
1870 * progmodes/python.el (python-indent-line): More consistent cursor
1871 movement behavior.
1872
70efc5c9
SM
18732012-09-23 Stefan Merten <smerten@oekonux.de>
1874
1875 * textmodes/rst.el: Fix compiler warning.
1876
2f438239
RW
18772012-09-23 Roland Winkler <winkler@gnu.org>
1878
07b1a5fb
SM
1879 * textmodes/bibtex.el (bibtex-autokey-transcriptions):
1880 Transcribe also LaTeX hyphenation.
2f438239
RW
1881 (bibtex-reformat): Bug fix. Do not quote twice the elements of
1882 bibtex-reformat-previous-options.
1883
936ad041
RW
18842012-09-23 Roland Winkler <winkler@gnu.org>
1885
1886 * proced.el (proced-renice-command): New variable.
1887 (proced-marked-processes): New function.
1888 (proced-with-processes-buffer): New macro.
1889 (proced-send-signal): Use them.
1890 (proced-renice): New command bound to r.
1891
6fab0274
RW
18922012-09-23 Roland Winkler <winkler@gnu.org>
1893
1894 * ibuf-ext.el (ibuffer-switch-to-saved-filter-groups): If list
1895 ibuffer-saved-filter-groups has one element, shortcut the call of
1896 completing-read. (Bug#12331)
1897
9a930676
CY
18982012-09-23 Chong Yidong <cyd@gnu.org>
1899
1900 * bindings.el (mode-line-toggle-read-only):
1901 * bs.el (bs-toggle-readonly):
1902 * buff-menu.el (Buffer-menu-toggle-read-only):
1903 * dired.el (dired-toggle-read-only):
1904 * ibuffer.el (ibuffer-do-toggle-read-only): Use read-only-mode.
1905
d07ff9db
CY
19062012-09-23 Chong Yidong <cyd@gnu.org>
1907
1908 * image.el (image-type-available-p): Adapt to init-image-library
1909 argument changes.
1910
51c4474e
JL
19112012-09-22 Juri Linkov <juri@jurta.org>
1912
1913 * dired.el (dired-mode-map): Add [remap read-only-mode] for
1914 `dired-toggle-read-only'. (Bug#12462)
1915
43bf5e8e
MR
19162012-09-22 Martin Rudalics <rudalics@gmx.at>
1917
1918 * subr.el (temp-output-buffer-show): New function.
1919 (with-output-to-temp-buffer): Call temp-output-buffer-show
1920 instead of internal-temp-output-buffer-show.
1921
c88b867f
CY
19222012-09-22 Chong Yidong <cyd@gnu.org>
1923
3df47cd5
CY
1924 * files.el (ctl-x-map): Bind C-x C-q to read-only-mode
1925 (Bug#12462).
1926
c88b867f
CY
1927 * repeat.el (repeat): Doc fix (Bug#12348).
1928
1929 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix
1930 (Bug#10909).
1931
1932 * simple.el (shell-command-on-region): Doc fix.
3171e303 1933 (read-only-mode): Doc fix.
c88b867f 1934
df9685f3
EZ
19352012-09-22 Eli Zaretskii <eliz@gnu.org>
1936
1937 * emacs-lisp/timer.el (run-with-idle-timer)
1938 (timer-activate-when-idle): Warn against reinvoking an idle timer
1939 from within its own timer action. (Bug#12447)
1940
8e17c9ba
MR
19412012-09-22 Martin Rudalics <rudalics@gmx.at>
1942
1943 * cus-start.el (window-combination-limit): Add new optional
1944 values.
1945 * window.el (temp-buffer-window-show)
1946 (window--try-to-split-window): Handle new values of
1947 window-combination-limit (Bug#1806).
1948 (split-window): Test window-combination-limit for t instead of
1949 non-nil.
1950 (display-buffer-at-bottom): New buffer display action function.
1951 * help.el (temp-buffer-resize-regexps): New option.
1952 (temp-buffer-resize-mode): Rewrite doc-string.
1953 (resize-temp-buffer-window): Obey temp-buffer-resize-regexps.
bd909927 1954 Don't resize reused window. Suggested by Glenn Morris.
8e17c9ba 1955
48a24920
SM
19562012-09-22 Stefan Merten <smerten@oekonux.de>
1957
70efc5c9 1958 * textmodes/rst.el: Revamp section title faces.
48a24920
SM
1959 (rst-official-version)
1960 (rst-package-emacs-version-alist): Sync with official version
1961 V1.4.0.
1962 (rst-faces-defaults, rst-set-level-default)
1963 (rst-level-face-max, rst-level-face-base-color)
1964 (rst-level-face-base-light, rst-level-face-format-light)
1965 (rst-level-face-step-light, rst-define-level-faces): Obsolete.
1966 (rst-adornment-faces-alist): Match new setup.
1967 (rst-level-1, rst-level-2, rst-level-3, rst-level-4)
1968 (rst-level-5, rst-level-6): New faces.
1969
82f8cd94
CY
19702012-09-22 Chong Yidong <cyd@gnu.org>
1971
1972 * simple.el (undo): Handle indirect buffers (Bug#8207).
1973
acfa068f 19742012-09-21 Leo Liu <sdl.web@gmail.com>
a8c14da8
LL
1975
1976 IDO: Disable match re-ordering for buffer switching.
2bc9406c 1977 * ido.el (ido-buffer-disable-smart-matches): New variable.
a8c14da8
LL
1978 (ido-set-matches-1): Use it. (Bug#2042)
1979
acfa068f 19802012-09-21 Jose Marino <marinoj@nso.edu> (tiny change)
a316d229
JM
1981
1982 * progmodes/idlw-shell.el (idlwave-shell-complete-filename):
1983 Fix 2011-05-17 change. (Bug#12418)
1984
acfa068f 19852012-09-21 Leo Liu <sdl.web@gmail.com>
d02e58f8
LL
1986
1987 * subr.el (ignore-errors): Mention with-demoted-errors in doc-string.
1988
acfa068f 19892012-09-21 Glenn Morris <rgm@gnu.org>
511fd0b2
GM
1990
1991 * emacs-lisp/shadow.el (load-path-shadows-font-lock-keywords):
1992 Be more robust about locating simple.el.
1993
acfa068f 19942012-09-21 Glenn Morris <rgm@gnu.org>
fa05bfe0
GM
1995
1996 * mail/emacsbug.el (report-emacs-bug): Trap load-path-shadows errors.
1997
acfa068f
CY
19982012-09-21 Joel Bion <jpbion@westvi.com> (tiny change)
1999
2000 * pcmpl-gnu.el (pcmpl-gnu-tarfile-regexp): Add tar.xz. (Bug#12382)
2001
41a97e6f
JL
20022012-09-20 Juri Linkov <juri@jurta.org>
2003
eb2deaff
JL
2004 * replace.el (query-replace-read-from): Use `read-regexp' instead
2005 of `read-from-minibuffer' when `regexp-flag' is non-nil.
2006 (occur-read-primary-args): Use `read-regexp' instead of
2007 `read-string'.
2008 (multi-occur-in-matching-buffers): Use `read-regexp' instead of
2009 `read-from-minibuffer'.
2010 * isearch.el (isearch-occur): Use `read-regexp' instead of
2011 `read-string'.
2012 * dired.el (dired-read-regexp): Use `read-regexp' instead of
2013 `read-from-minibuffer'.
2014 * progmodes/grep.el (grep-read-regexp): Use `read-regexp' instead
2015 of `read-string'. (Bug#7567)
2016
5825610b
JL
2017 * replace.el (read-regexp): Rename DEFAULT-VALUE arg to DEFAULTS
2018 and allow accepting a list of strings prepended to a list of
2019 standard default values. Doc fix. (Bug#12321)
2020
eebbf404
JL
2021 * replace.el (read-regexp): Add HISTORY arg. (Bug#7567)
2022
41a97e6f
JL
2023 * replace.el (read-regexp): Don't add ": " when PROMPT already
2024 ends with a colon and space. (Bug#12321)
2025
c9e452d3
TH
20262012-09-20 Tassilo Horn <tsdh@gnu.org>
2027
2028 * doc-view.el (doc-view-display): Better fix for the cl-assertion
2029 error.
2030
ee97deee
SM
20312012-09-20 Stefan Merten <smerten@oekonux.de>
2032
70efc5c9 2033 * textmodes/rst.el: Integrate support for `imenu' and `which-function'.
ee97deee
SM
2034 Fixes feature request bug#11711.
2035 (rst-mode): Create `imenu-create-index-function'.
2036 (rst-get-stripped-line): Delete after refactoring.
2037 (rst-section-tree, rst-section-tree-rec)
2038 (rst-section-tree-point): Refactor and document properly.
2039 (rst-imenu-find-adornments-for-position)
07b1a5fb
SM
2040 (rst-imenu-convert-cell, rst-imenu-create-index):
2041 New function.
ee97deee 2042
f490dab9
SM
20432012-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
2044
95b9712e
SM
2045 * emacs-lisp/macroexp.el (macroexp--obsolete-warning): New function.
2046 (macroexp--expand-all): Use it.
2047 (macroexp--funcall-and-return): Remove by folding it into its sole
2048 caller (macroexp--warn-and-return).
2049 * emacs-lisp/bytecomp.el (byte-compile-warn-obsolete):
2050 Use macroexp--obsolete-warning.
2051
f490dab9
SM
2052 * calc/calc.el: Fix last change by removing the whole chunk, since it
2053 was only needed back when Calc was not bundled.
2054
96e8d411
MR
20552012-09-20 Martin Rudalics <rudalics@gmx.at>
2056
2057 * emacs-lisp/debug.el (debug): Restore assignment to
2058 debugger-old-buffer removed on 2012-09-08.
2059
0876a82d
JL
20602012-09-20 Juri Linkov <juri@jurta.org>
2061
2062 * dired-aux.el (dired-diff): Remove (require 'diff) since
2063 `diff-latest-backup-file' is now autoloaded.
2064
9f7c28f0
CY
20652012-09-20 Chong Yidong <cyd@gnu.org>
2066
2067 * vc/diff.el (diff-latest-backup-file): Autoload.
2068
7a04bee9
SM
20692012-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
2070
e6f0a80d
SM
2071 * calc/calc.el: Remove redundant autoload shape check.
2072 (sel-mode): Don't defvar.
2073 (calc-get-stack-element): Add `sel-mode' arg instead.
2074 (calc-top, calc-top-list): Pass it this additional argument.
2075 * calc/calc-store.el (calc-store-map):
2076 * calc/calc-map.el (calc-apply, calc-reduce, calc-map)
2077 (calc-map-equation, calc-outer-product, calc-inner-product):
2078 * calc/calc-aent.el (calc-alg-entry): Don't bind sel-mode.
2079
7a04bee9
SM
2080 * emacs-lisp/macroexp.el (macroexp--expand-all): Fix last change.
2081
12734222
JL
20822012-09-19 Juri Linkov <juri@jurta.org>
2083
2084 * dired-aux.el (dired-diff): Add (require 'diff) because
2085 `diff-latest-backup-file' is not autoloaded.
2086 (dired-do-chxxx, dired-do-chmod): Set `no-error-if-not-filep' arg
2087 of `dired-get-filename' to t to not report error when there is
2088 no default file on the current line.
2089
46624b4f
SM
20902012-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
2091
ce97595b
SM
2092 * emacs-lisp/macroexp.el (macroexp--funcall-if-compiled): Rename from
2093 macroexp--eval-if-compile.
2094 (macroexp--funcall-and-return, macroexp--warn-and-return): New funs.
2095 (macroexp--expand-all): Use them (bug#12371).
2096
46624b4f
SM
2097 * doc-view.el (doc-view-guess-paper-size)
2098 (doc-view-scale-bounding-box): Fix unbound `caddr'.
2099
db8a5a18
TH
21002012-09-19 Tassilo Horn <tsdh@gnu.org>
2101
2102 New feature: set optimal slice from BoundingBox information.
2103 * doc-view.el (doc-view-mode-map): Add keybinding.
2104 (doc-view-menu): Add menu entry.
2105 (doc-view-set-slice): Adapt docstring.
2106 (doc-view-get-bounding-box, doc-view-guess-paper-size)
2107 (doc-view-scale-bounding-box)
2108 (doc-view-set-slice-from-bounding-box): New functions.
2109 (doc-view-paper-sizes): New defvar.
2110
69f6644c
GM
21112012-09-19 Glenn Morris <rgm@gnu.org>
2112
35f5b19d
GM
2113 * emacs-lisp/macroexp.el (byte-compile-warn-obsolete)
2114 (byte-compile-log-warning): Autoload. (Bug#12371)
2115
69f6644c
GM
2116 * calendar/calendar.el (calendar-american-month-header)
2117 (calendar-european-month-header, calendar-iso-month-header)
2118 (calendar-month-header): New options.
2119 (calendar-set-date-style): Set calendar-month-header. Redraw calendar.
2120 (calendar-generate-month): Use calendar-month-header. (Bug#9510)
2121
e543ae91
JD
21222012-09-19 Jan Djärv <jan.h.d@swipnet.se>
2123
2124 * startup.el (command-line-ns-option-alist): Add -g and --geometry.
2125
2fd5e67d
JL
21262012-09-18 Juri Linkov <juri@jurta.org>
2127
2128 * dired-aux.el (dired-diff): Restore original functionality of
2129 getting the default value, but keep new feature of using the
2130 latest existing backup file (`diff-latest-backup-file').
2131
42917e79
JL
21322012-09-18 Juri Linkov <juri@jurta.org>
2133
2134 * dired.el (dired-mark): If the region is active in Transient Mark
2135 mode, mark all files in the active region. Doc fix.
2136 (dired-unmark, dired-flag-file-deletion, dired-unmark-backward):
2137 Doc fix. (Bug#10624)
2138
20f70ede
JL
21392012-09-18 Juri Linkov <juri@jurta.org>
2140
2141 * dired-aux.el (dired-do-chxxx, dired-do-chmod): Default file
2142 attributes for M-n are pulled from the file at point.
2143 (dired-do-chgrp, dired-do-chown, dired-do-touch): Doc fix.
2144 Suggested by Drew Adams. (Bug#10624)
2145
32fb8162
DG
21462012-09-18 Dmitry Gutov <dgutov@yandex.ru>
2147
2148 * progmodes/ruby-mode.el (ruby-brace-to-do-end): Don't add extra
2149 whitespace after "end".
2150 (ruby-do-end-to-brace): Collapse block to one line if it fits
2151 within fill-column.
2152
37ab5092
MR
21532012-09-18 Martin Rudalics <rudalics@gmx.at>
2154
2155 * emacs-lisp/debug.el (debugger-bury-or-kill): Fix customization
2156 value.
2157 (debug): Don't remove debugger window when debugger is expected
2158 to be back.
2159
ed1f0bd3
CY
21602012-09-18 Chong Yidong <cyd@gnu.org>
2161
2162 * custom.el (defface): Doc fix.
2163
2164 * cus-edit.el (custom-unlispify-remove-prefixes): Add warning.
2165
a11035b8
MB
21662012-09-18 Martin Blais <blais@furius.ca> (tiny change)
2167
2168 * progmodes/compile.el (compilation-start): Use compilation-always-kill
2169 to initialize query-on-exit; then test that instead (bug#12288).
2170
64f6a736
SM
21712012-09-17 Stefan Merten <smerten@oekonux.de>
2172
70efc5c9 2173 * textmodes/rst.el: Add support for `testcover'.
64f6a736
SM
2174 (rst-defcustom-testcover, rst-testcover-add-compose)
2175 (rst-testcover-add-1value): New functions.
2176 (rst-portable-mark-active-p): Replace by `use-region-p'.
2177 (rst-update-section, rst-classify-adornment)
2178 (rst-find-title-line): Mark `1value' forms.
2179 (rst-classify-adornment): Remove superfluous form.
2180 (rst-update-section, rst-get-adornments-around)
2181 (rst-adornment-complete-p, rst-get-next-adornment)
2182 (rst-adjust, rst-promote-region)
2183 (rst-display-adornments-hierarchy, rst-straighten-adornments)
2184 (rst-find-pfx-in-region, rst-section-tree-rec)
2185 (rst-section-tree-point, rst-toc-insert, rst-toc-insert-node)
2186 (rst-toc-node, rst-toc, rst-forward-section)
2187 (rst-iterate-leftmost-paragraphs)
2188 (rst-iterate-leftmost-paragraphs-2, rst-enumerate-region)
2189 (rst-bullet-list-region)
2190 (rst-convert-bullets-to-enumeration, rst-font-lock-keywords)
2191 (rst-compile-find-conf, rst-compile)
2192 (rst-repeat-last-character): Fix style.
2193
580bd868
CY
21942012-09-17 Chong Yidong <cyd@gnu.org>
2195
2196 * comint.el (comint--complete-file-name-data): Don't add a space
2197 if the status is `sole'; that adds a gratuitous space in the
2198 completion-cycling case (Bug#12092).
2199
2200 * pcomplete.el (pcomplete-completions-at-point): Likewise.
2201
69de3ec6
RS
22022012-09-17 Richard Stallman <rms@gnu.org>
2203
0dee970c
RS
2204 * mail/rmailmm.el (rmail-mime-toggle-raw): Do rmail-mime-insert
2205 only in the mime-shown mode, not in raw mode.
2206 (rmail-mime): Toggle off mime by displaying the message without
6b250df6 2207 mime processing. (Bug#12305)
0dee970c 2208
6b250df6
GM
2209 * mail/rmail.el (rmail-retry-failure):
2210 Turn off mime processing first. (Bug#12037)
acb1c47b 2211
69de3ec6
RS
2212 * epa-mail.el (epa-mail-encrypt): Fix bug when a name has no key.
2213
d079ee5f
CY
22142012-09-17 Chong Yidong <cyd@gnu.org>
2215
2216 * shell.el (shell-file-name-chars, shell-file-name-quote-list)
2217 (shell-dynamic-complete-functions): Convert to defcustom.
2218 (shell-prompt-pattern, shell-completion-fignore): Doc fix.
2219
865fe16f
CY
2220 * bookmark.el (bookmark-bmenu-toggle-filenames): Doc fixes.
2221 * comint.el (comint-prompt-read-only):
2222 * custom.el (defcustom):
2223 * hi-lock.el (hi-lock-mode):
2224 * ibuffer.el (ibuffer-formats):
2225 * ielm.el (ielm-prompt-read-only):
2226 * novice.el (disable-command):
2227 * saveplace.el (toggle-save-place):
2228 * speedbar.el (speedbar-supported-extension-expressions):
2229 * startup.el (auto-save-list-file-prefix, init-file-user)
2230 (after-init-hook, inhibit-startup-echo-area-message):
2231 * strokes.el (strokes-help):
2232 * time-stamp.el (time-stamp):
2233 * calendar/calendar.el (calendar, diary-file):
2234 * calendar/diary-lib.el (diary-mail-entries, diary)
2235 (diary-list-entries-hook):
2236 * calendar/holidays.el (holidays, calendar-holidays):
2237 * calendar/lunar.el (lunar-phases):
2238 * calendar/solar.el (sunrise-sunset):
2239 * emulation/edt.el (edt-load-keys):
2240 * emulation/viper.el (viper-mode):
2241 * eshell/em-alias.el (eshell-command-aliases-list):
2242 * eshell/esh-util.el (eshell-convert-numeric-arguments):
2243 * international/ogonek.el (ogonek-information):
2244 * net/tramp-cmds.el (tramp-bug):
2245 * net/quickurl.el (quickurl-reread-hook-postfix):
2246 * play/decipher.el (decipher-font-lock-keywords):
2247 * progmodes/cc-styles.el (c-set-style):
2248 * progmodes/idlw-shell.el (idlwave-shell-prompt-pattern):
2249 * progmodes/inf-lisp.el (inferior-lisp-prompt):
2250 * progmodes/octave-mod.el (octave-mode):
2251 * progmodes/sql.el (sql-mode, sql-interactive-mode, sql-password):
2252 * progmodes/verilog-mode.el (verilog-read-defines):
2253 * textmodes/two-column.el (2C-mode): Likewise.
2254
48093eb9
KY
22552012-09-16 Katsumi Yamaoka <yamaoka@jpl.org>
2256
2257 * mail/mailabbrev.el (mail-abbrev-expand-hook): Work for a mail aliasee
2258 that holds many addresses.
2259
c584eaf9
CY
22602012-09-16 Chong Yidong <cyd@gnu.org>
2261
40d70ecb
CY
2262 * align.el (align-areas): Call the indication function with
2263 positions instead of markers for arguments (Bug#12343).
2264
1667e065
CY
2265 * files.el (parse-colon-path): Use split-string (Bug#12351).
2266
fdc2806d 2267 * window.el (special-display-popup-frame): Doc fix (Bug#8853).
71ce58e7 2268 (display-buffer-function): Mark as obsolete.
fdc2806d 2269
f1be615c 2270 * progmodes/compile.el (compilation-parse-errors): Accept list
ce97595b
SM
2271 values similar to font-lock-keywords (Bug#12136).
2272 Suggested by Oleksandr Manzyuk.
c584eaf9
CY
2273 (compilation-error-regexp-alist): Doc fix.
2274
f40a9709
GM
22752012-09-15 Glenn Morris <rgm@gnu.org>
2276
72aa16e1
GM
2277 * version.el (emacs-bzr-version-bzr): New function.
2278 (emacs-bzr-get-version): Add optional EXTERNAL argument.
2279
82375160
GM
2280 * vc/vc-bzr.el (vc-bzr-working-revision): For lightweight local
2281 checkouts, check the parent dirstate matches the branch.
2282 Add "--tree" to "bzr revno" arguments. Don't try to shorten the
2283 empty string.
2284
f40a9709
GM
2285 * version.el (emacs-bzr-version): Doc fix.
2286 (emacs-bzr-version-dirstate): New function.
2287 (emacs-bzr-get-version): For lightweight checkouts, if the parent
2288 is local try and check that it matches the branch. If not, just
2289 use dirstate information. (Bug#12441)
2290
cb26b7f5
JL
22912012-09-14 Juri Linkov <juri@jurta.org>
2292
2293 * dired-aux.el (dired-do-chmod): Use `eq' to detect empty input.
2294 (Bug#12399)
2295
2de39f08
SM
22962012-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
2297
0fb3cb7c
SM
2298 * emacs-lisp/advice.el (ad-prognify): Remove, use macroexp-progn.
2299
2de39f08
SM
2300 * emacs-lisp/edebug.el: Miscellaneous cleanup.
2301 Remove obsolete byte-compiler hack that tried to silence some warnings.
2302 (edebug-submit-bug-report): Remove.
2303 (edebug-get-buffer-window, edebug-sit-for, edebug-input-pending-p):
2304 Remove aliases, use the un-prefixed name instead.
2305 (edebug-pop-to-buffer): Consider other frames.
2306 (edebug-original-read):: Make it more obvious that it's always defined.
2307 (edebug--make-form-data-entry, edebug--form-data-name)
2308 (edebug--form-data-begin, edebug--form-data-end): Rename from the
2309 single-dashed name, and implement with cl-defstruct.
2310 (edebug-set-form-data-entry): Use the standard accessors.
2311 (edebug-make-top-form-data-entry): Use push.
2312 (edebug-no-match): Drop useless `funcall'.
2313 (mapcar, mapconcat, mapatoms, apply, funcall): Don't add debug specs
2314 to functions.
2315 (defsubst, dont-compile, eval-when-compile, eval-and-compile)
2316 (delay-mode-hooks, with-temp-file, with-temp-message, ad-dolist)
2317 (with-syntax-table, push, pop, 1value, noreturn, defadvice)
2318 (easy-menu-define, with-custom-print): Remove redundant specs.
2319 (edebug-outside-overriding-local-map)
2320 (edebug-outside-overriding-terminal-local-map): Remove, unused.
2321 (edebug--display): Bind unread-command-events directly to nil rather
2322 than binding it to unread-command-events and later setting it to nil.
2323 (edebug--display): Kill edebug-eval-buffer here...
2324 (edebug--recursive-edit): ...rather than here.
2325 Bind standard-output and standard-input.
2326 (edebug-eval): Check cl-macroexpand-all is fboundp.
2327 (edebug-temp-display-freq-count): Fix last change.
2328
2329 * emacs-lisp/easymenu.el (easy-menu-define): Add `debug' spec.
2330 * subr.el (noreturn, 1value): Add `debug' spec.
2331 * emacs-lisp/advice.el: Require cl-lib.
2332 (ad-copy-tree): Remove, use copy-tree instead.
2333 (ad-dolist): Remove use dolist or cl-dolist instead.
2334 (ad-do-return): Remove, use cl-return instead.
2335 (defadvice): Add `debug' spec.
2336
5b68b333
JL
23372012-09-13 Juri Linkov <juri@jurta.org>
2338
2339 * dired-aux.el (dired-do-chxxx): Use `eq' to detect empty input.
2340 (Bug#12399)
2341
b9800ec4
GM
23422012-09-13 Glenn Morris <rgm@gnu.org>
2343
6a2e6868
GM
2344 * calc/calc.el (math-compose-expr):
2345 * calc/calc-ext.el (math-compose-expr):
2346 * progmodes/cc-defs.el (cl-macroexpand-all):
2347 * progmodes/cc-langs.el (delete-duplicates, mapcan)
2348 (cl-macroexpand-all): Update declarations.
2349
b9800ec4
GM
2350 * vc/vc.el: No need to require ediff.
2351 (ediff-load-version-control): Declare.
2352 (ediff-vc-internal): Fix declaration.
2353 (vc-version-ediff): Require ediff.
2354
c18e885b
PE
23552012-09-13 Paul Eggert <eggert@cs.ucla.edu>
2356
2357 Use a more backwards-compatible timer format (Bug#12430).
2358 * emacs-lisp/timer.el (timer): PSECS is now at the end, rather than
2359 being right after USECS, as that better supports old code that
2360 inadvisedly looked directly at the timer vector.
2361
d607d303
KH
23622012-09-13 Kenichi Handa <handa@gnu.org>
2363
2364 * language/chinese.el ("Chinese-GB", "Chinese-BIG5")
2365 ("Chinese-CNS", "Chinese-EUC-TW"): Add chinese-gbk to
2366 `coding-priority' property of these language environment.
2367
72eac303
PE
23682012-09-13 Paul Eggert <eggert@cs.ucla.edu>
2369
2370 Fix glitches caused by addition of psec to timers (Bug#12430).
2371 * image.el (image-animate-timer):
2372 * time.el (display-time-world-timer):
2373 Use timer--function and timer--args rather than raw access to
2374 timer vector.
2375
2168fe4f
GM
23762012-09-13 Glenn Morris <rgm@gnu.org>
2377
2378 * emacs-lisp/bytecomp.el (byte-compile-warning-prefix):
2379 If not compiling a file, try using load-file-name.
2380
bd8d6108
SM
23812012-09-13 Stefan Monnier <monnier@iro.umontreal.ca>
2382
c0c54fbd
SM
2383 * emacs-lisp/edebug.el (edebug-outside-unread-command-events):
2384 Fix last change.
2385 (edebug-update-eval-list): Use `push'.
2386
bd8d6108
SM
2387 * emacs-lisp/edebug.el: Use lexical-binding.
2388 Remove the "edebug-" prefix from non-dynamically-scoped variables.
2389 Mark unused args with underscore.
2390 (edebug-save-restriction, edebug-outside-excursion): Use `declare'.
2391 (edebug-form-data): Use defvar-local.
2392 (edebug-make-before-and-after-form, edebug-make-after-form):
2393 Use backquote.
2394 (edebug-args, edebug-value, edebug-after-index, edebug-arg-mode):
2395 Not dynamically scoped any more.
2396 (edebug--enter-trace): Add arguments `function' and `args'.
2397 Rename from edebug-enter-trace.
2398 (edebug-enter): Call it accordingly. Bind edebug-function explicitly.
2399 (edebug--update-coverage): Add `after-index' and `value' args.
2400 Rename from edebug-update-coverage.
2401 (edebug-slow-after): Call it accordingly.
2402 (edebug--recursive-edit): Add arg `arg-mode'. Rename from
2403 edebug-recursive-edit.
2404 (edebug--display): Call it accordingly. Add args `value',
2405 `offset-index', and `arg-mode'. Rename from edebug-display.
2406 (edebug-debugger, edebug): Call it accordingly.
2407 (edebug-eval-display-list): Use dolist.
2408
a9f9d9de
JL
24092012-09-12 Juri Linkov <juri@jurta.org>
2410
2411 * info.el (Info-search): Don't check for isearch-mode and
2412 isearch-regexp before let-binding search-spaces-regexp to
2413 Info-search-whitespace-regexp.
2414 (Info-isearch-search): Let-bind Info-search-whitespace-regexp to
2415 search-whitespace-regexp if isearch-lax-whitespace or
2416 isearch-regexp-lax-whitespace is non-nil.
2417 (Info-mode): Don't set local variable search-whitespace-regexp.
2418 http://lists.gnu.org/archive/html/emacs-devel/2012-08/msg00811.html
2419
bfeae2cf
SM
24202012-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
2421
2422 * emacs-lisp/debug.el (debugger-outer-unread-command-char, debug)
2423 (debugger-env-macro): Remove support for unread-command-char.
2424
2425 * subr.el (set-temporary-overlay-map): Minimize slightly the impact of
2426 the temporary map re-appearing on emulation-mode-map-alists.
2427
2428 * emacs-lisp/edebug.el (def-edebug-form-spec): Remove, it's been broken
2429 since 22.1.
2430
2431 * ehelp.el (with-electric-help): Accept functions in
2432 electric-help-form-to-execute.
2433 (electric-help-execute-extended, electric-help-ctrl-x-prefix): Use it.
2434 And replace unread-command-char -> unread-command-events.
2435
fbbcaf1b
MA
24362012-09-12 Michael Albinus <michael.albinus@gmx.de>
2437
2438 Sync with Tramp 2.2.6.
2439
2440 * net/tramp.el (tramp-accept-process-output): Don't use
2441 JUST-THIS-ONE in the XEmacs case.
2442
2443 * net/trampver.el: Update release number.
2444
4dece104
MR
24452012-09-12 Martin Rudalics <rudalics@gmx.at>
2446
bfeae2cf
SM
2447 * emacs-lisp/debug.el (debugger-previous-window-height):
2448 New variable.
4dece104
MR
2449 (debug): When debugger-jumping-flag is non-nil try to restore
2450 height of debugger window. (Bug#8789)
2451
45b82ad0
SM
24522012-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
2453
60c49c0f
SM
2454 * emacs-lisp/edebug.el (edebug-enter): Don't mess with
2455 overriding-local-map and pre/post-command-hook here.
2456 (edebug-recursive-edit): Do it here instead (bug#12345).
2457 (edebug-outside-unread-command-char): Remove all uses of
2458 unread-command-char.
2459
45b82ad0
SM
2460 * emacs-lisp/debug.el (debug): Don't bind debug-on-error since
2461 inhibit-debugger is bound instead.
2462
baa26ea0
BG
24632012-09-11 Bastien Guerry <bzg@gnu.org>
2464
2465 * subr.el (set-temporary-overlay-map): Add a docstring.
fc0c31f8 2466 (Bug#12346)
baa26ea0 2467
04e8abfa
BG
24682012-09-11 Bastien Guerry <bzg@gnu.org>
2469
96d03571 2470 * minibuffer.el (completion-table-subvert): Fix docstring.
fc0c31f8 2471 (Bug#12347)
96d03571
BG
2472
24732012-09-11 Bastien Guerry <bzg@gnu.org>
2474
fc0c31f8 2475 * help-fns.el (describe-variable): Fix typo. (Bug#12346)
04e8abfa 2476
04e082b0
MM
24772012-09-10 Michael R. Mauger <mmaug@yahoo.com>
2478
2479 * progmodes/sql.el: Version 3.1
2480 (sql-db2-escape-newlines): New variable.
2481 (sql-escape-newlines-filter): Use it.
2482
399a361b
JB
24832012-09-10 Juanma Barranquero <lekktu@gmail.com>
2484
2485 * custom.el (custom-theme-load-confirm): Remove unneeded assignment.
2486
0780c517
DN
24872012-09-10 Dan Nicolaescu <dann@gnu.org>
2488
45b82ad0
SM
2489 * vc/diff-mode.el (diff-mode-menu):
2490 Bind diff-remove-trailing-whitespace.
0780c517 2491
9b851e25
SM
24922012-09-10 Stefan Monnier <monnier@iro.umontreal.ca>
2493
2494 * emacs-lisp/lisp-mode.el (emacs-list-byte-code-comment-re): New var.
fc0c31f8
JB
2495 (emacs-lisp-byte-code-comment, emacs-lisp-byte-code-syntax-propertize)
2496 (emacs-lisp-byte-code-mode): New functions.
9b851e25
SM
2497 (eval-sexp-add-defvars): Don't skip defvars in column >0.
2498 (eval-defun-2): Remove bogus interactive spec.
2499 (lisp-indent-line): Remove redundant whole-exp code, now done in
2500 indent-according-to-mode.
2501 (save-match-data): Remove redundant indent data.
2502
2503 * emacs-lisp/benchmark.el (benchmark-run, benchmark-run-compiled):
2504 Use `declare'.
2505
3231d532
JL
25062012-09-09 Juri Linkov <juri@jurta.org>
2507
2508 * replace.el (replace-regexp-lax-whitespace): New defcustom.
2509 (replace-lax-whitespace, query-replace-regexp)
2510 (query-replace-regexp-eval, replace-regexp): Doc fix.
2511 (perform-replace, replace-highlight): Let-bind
2512 isearch-lax-whitespace to replace-lax-whitespace and
2513 isearch-regexp-lax-whitespace to replace-regexp-lax-whitespace.
2514
2515 * isearch.el (isearch-query-replace): Let-bind
2516 replace-lax-whitespace to isearch-lax-whitespace and
2517 replace-regexp-lax-whitespace to
2518 isearch-regexp-lax-whitespace. (Bug#10885)
2519
70fe8236
SM
25202012-09-09 Stefan Monnier <monnier@iro.umontreal.ca>
2521
2522 * eshell/em-unix.el (eshell/sudo): Explicitly drop return value.
2523
8ed43f15
AM
25242012-09-09 Alan Mackenzie <acm@muc.de>
2525
70fe8236
SM
2526 * progmodes/cc-engine.el (c-state-cache-init):
2527 Initialise c-state-semi-nonlit-pos-cache\(-limit\)? properly.
2528 (c-record-parse-state-state):
2529 Record c-state-semi-nonlit-pos-cache\(-limit\)?.
8ed43f15 2530
bfabf70a
AS
25312012-09-09 Andreas Schwab <schwab@linux-m68k.org>
2532
2533 * register.el (register-separator): Rename from
2534 separator-register. All uses changed. Doc fix.
2535 (register): Fix version.
2536
011474aa
CY
25372012-09-09 Chong Yidong <cyd@gnu.org>
2538
2539 * replace.el (query-replace-map): Bind four new symbols for
2540 requesting window scrolling.
2541
2542 * subr.el (y-or-n-p): Handle the window-scrolling bindings in
2543 query-replace-map (Bug#8948).
2544
2545 * custom.el (custom-theme-load-confirm): Use y-or-n-p.
2546
2547 * emacs-lisp/map-ynp.el (map-y-or-n-p): Don't bind scrolling keys
2548 since they are now in query-replace-map.
2549
2550 * window.el (scroll-other-window-down): Make the arg optional.
2551
a8b7cd8d
CY
25522012-09-09 Chong Yidong <cyd@gnu.org>
2553
2554 * files.el (hack-local-variables-confirm): Use quit-window to kill
2555 the *Local Variables* buffer.
2556
c3268831
DG
25572012-09-08 Dmitry Gutov <dgutov@yandex.ru>
2558
2559 * progmodes/ruby-mode.el (ruby-toggle-block): Guess the current block,
2560 not just expect to be at its beginning. Adjust callees.
2561 Succeed when do-end block has no space before the pipe character.
2562 (ruby-brace-to-do-end): When the original block is one-liner,
2563 convert to multiline. Reindent the result.
2564
0979429b
J
25652012-09-08 Jambunathan K <kjambunathan@gmail.com>
2566
2567 * register.el (register): New group.
27359e99 2568 (separator-register): New user option.
0979429b
J
2569 (increment-register): Route it to `append-to-register', if
2570 register contains text. Implication is that `C-x r +' can now be
2571 used for appending to a text register (bug#12217).
2572 (append-to-register, prepend-to-register): Add separator based on
5b9c45a6 2573 `separator-register'.
0979429b 2574
ace2989a
AM
25752012-09-08 Alan Mackenzie <acm@muc.de>
2576
2577 AWK Mode: make auto-newline work when there's "==" in the pattern.
2578 * progmodes/cc-cmds.el (c-point-syntax): Handle virtual semicolons
2579 correctly.
0979429b
J
2580 * progmodes/cc-engine.el (c-guess-basic-syntax CASE 5A.3):
2581 Test more rigorously for "=" token.
ace2989a 2582
616c6c36
DG
25832012-09-08 Dmitry Gutov <dgutov@yandex.ru>
2584
0979429b
J
2585 * progmodes/ruby-mode.el (ruby-match-expression-expansion):
2586 Only fail when reached LIMIT.
616c6c36 2587
35d98877
CY
25882012-09-08 Chong Yidong <cyd@gnu.org>
2589
2590 * dired.el (dired-mode-map): Don't bind M-=.
2591
2592 * dired-aux.el (dired-diff): Use backup file as default.
2593
1715f2db
DA
25942012-09-08 Drew Adams <drew.adams@oracle.com>
2595
2596 * subr.el (add-to-history): Fix delete usage (Bug#12314).
2597
6dcef6ec
CY
25982012-09-08 Chong Yidong <cyd@gnu.org>
2599
2600 * subr.el (syntax-after, syntax-class): Doc fix.
2601
fa2bcf43
MR
26022012-09-08 Martin Rudalics <rudalics@gmx.at>
2603
2604 * window.el (display-buffer-in-previous-window): New buffer
2605 display action function.
2606
2607 * emacs-lisp/debug.el (debugger-bury-or-kill): New option.
2608 (debugger-previous-window): New variable.
2609 (debug): Rewrite using display-buffer-in-previous-window,
2610 quit-restore-window and debugger-bury-or-kill. (Bug#8789)
2611
daac280a
SM
26122012-09-07 Stefan Monnier <monnier@iro.umontreal.ca>
2613
2614 * emacs-lisp/byte-run.el (defun): Tweak message. Simplify code.
2615
9dd40b00
MM
26162012-09-07 Matt McClure <mlm@aya.yale.edu> (tiny change)
2617
daac280a
SM
2618 * progmodes/python.el (python-shell-send-string):
2619 When default-directory is remote, create temp file on remote
9dd40b00
MM
2620 filesystem.
2621 (python-shell-send-file): When file is remote, pass local view of
2622 file paths to remote Python interpreter. (Bug#12340)
2623
145823ec
CY
26242012-09-07 Chong Yidong <cyd@gnu.org>
2625
cee2e90d
CY
2626 * window.el (switch-to-buffer): Doc fix (Bug#12181).
2627
0d7eb2ea
CY
2628 * files.el (after-find-file): Don't fail on a read-only buffer if
2629 require-final-newline is `visit' or `visit-save' (Bug#11156).
2630
145823ec
CY
2631 * subr.el (read-char-choice): Allow quitting via ESC ESC.
2632
daac280a
SM
2633 * userlock.el (ask-user-about-supersession-threat):
2634 Use read-char-choice (Bug#12093).
145823ec 2635
74c582e6
CY
26362012-09-07 Chong Yidong <cyd@gnu.org>
2637
e5c2edf7
CY
2638 * subr.el (buffer-narrowed-p): New function.
2639
2640 * ses.el (ses-widen):
2641 * simple.el (count-words--buffer-message):
1f9f395d 2642 * net/browse-url.el (browse-url-of-buffer): Use it.
e5c2edf7
CY
2643
2644 * simple.el (count-words-region): Don't signal an error if there
2645 is a non-nil prefix arg and the mark is not set.
c640e87d 2646
74c582e6
CY
2647 * help.el (describe-key-briefly): Allow the message to be seen
2648 when invoked from the minibuffer (Bug#7014).
2649
d81ceaaf
DG
26502012-09-07 Dmitry Gutov <dgutov@yandex.ru>
2651
2652 * progmodes/ruby-mode.el (ruby-end-of-defun)
2653 (ruby-beginning-of-defun): Simplify, allow indentation before
2654 block beginning and end keywords.
8f06acce
DG
2655 (ruby-beginning-of-defun): Only consider 3 keywords defun beginners.
2656 (ruby-end-of-defun): Expect that the point is at the beginning of
2657 the defun.
d81ceaaf 2658
d458ef98
SM
26592012-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
2660
2661 * emacs-lisp/cl-macs.el (cl--do-arglist): Understand _ on &key args
2662 (bug#12367).
2663 (cl--make-usage-args): Strip _ from argument names.
2664
20367d28
RS
26652012-09-06 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
2666
2667 * progmodes/vhdl-mode.el (vhdl-speedbar-initialize): Don't use
2668 obsolete alias speedbar-key-map.
2669 (vhdl-doc-variable, vhdl-doc-mode): Use called-interactively-p.
2670 (vhdl-index-menu-init): Don't use obsolete variable
2671 font-lock-maximum-size.
2672
3424a4f6
CY
26732012-09-06 Chong Yidong <cyd@gnu.org>
2674
2675 * frame.el (window-system-version): Mark as obsolete.
2676
fcbfbdea
CY
2677 * speedbar.el (speedbar-update-flag, speedbar-mode): Remove uses
2678 of obsolete variable speedbar-key-map.
2679
826b3235
JL
26802012-09-06 Juri Linkov <juri@jurta.org>
2681
2682 * replace.el (replace-lax-whitespace): New defcustom.
2683 (query-replace, query-replace-regexp, query-replace-regexp-eval)
2684 (replace-string, replace-regexp): Mention it in docstrings.
2685 (perform-replace, replace-highlight): Let-bind
2686 isearch-lax-whitespace and isearch-regexp-lax-whitespace according
2687 to the values of replace-lax-whitespace and regexp-flag.
2688 Don't let-bind search-whitespace-regexp. (Bug#10885)
2689
2690 * isearch.el (isearch-query-replace): Let-bind
2691 replace-lax-whitespace instead of let-binding
2692 replace-search-function and replace-re-search-function.
2693 (isearch-lazy-highlight-search): Let-bind isearch-lax-whitespace
2694 and isearch-regexp-lax-whitespace to lazy-highlight variables.
2695 (isearch-toggle-symbol): Set isearch-regexp to nil
2696 in isearch-word mode (like in isearch-toggle-word).
2697
1ec5e41d
JL
26982012-09-06 Juri Linkov <juri@jurta.org>
2699
2700 * replace.el (replace-search-function)
2701 (replace-re-search-function): Set default values to nil.
2702 (perform-replace): Let-bind isearch-related variables based on
2703 replace-related values, call `isearch-search-fun' and let-bind
2704 the result to `search-function'. Remove code that sets
2705 `search-function' and `search-string' separately for
2706 `delimited-flag'.
2707 (replace-highlight): Add new argument `delimited-flag' and
2708 rename other arguments to the names used in `perform-replace'.
2709 Let-bind `isearch-word' to the argument `delimited-flag'.
2710 (Bug#10885, bug#10887)
2711
0ba2d4b6
DG
27122012-09-07 Dmitry Gutov <dgutov@yandex.ru>
2713
2714 * progmodes/ruby-mode.el (ruby-indent-beg-re): Add pieces from
2715 ruby-beginning-of-indent, simplify, allow all keywords to have
2716 indentation before them.
2717 (ruby-beginning-of-indent): Adjust for above. Search until the
2718 found point is not inside a string or comment.
2719 (ruby-font-lock-keywords): Allow symbols to start with "@"
2720 character, give them higher priority than variables.
2721 (ruby-syntax-propertize-function)
2722 (ruby-font-lock-syntactic-keywords): Remove the "not comments"
2723 matchers. Expression expansions are not comments when inside a
2724 string, and there comment syntax status is irrelevant.
2725 (ruby-match-expression-expansion): New function. Check that
2726 expression expansion is inside a string, and it's not escaped.
2727 (ruby-font-lock-keywords): Use it.
2728
ef654460
MR
27292012-09-05 Martin Rudalics <rudalics@gmx.at>
2730
2731 * help.el (temp-buffer-max-height): New default value.
2732 (temp-buffer-resize-frames): New option.
2733 (resize-temp-buffer-window): Optionally resize frame.
2734
2735 * window.el (fit-frame-to-buffer-bottom-margin): New option.
2736 (fit-frame-to-buffer): New function.
2737
7e570fbf 27382012-09-05 Glenn Morris <rgm@gnu.org>
72308848
GM
2739
2740 * emulation/cua-rect.el (cua--init-rectangles):
2741 * textmodes/picture.el (picture-mode-map):
2742 * play/blackbox.el (blackbox-mode-map): Remap right-char and left-char
2743 like forward-char and backward-char. (Bug#12317)
2744
7e570fbf 27452012-09-05 Leo Liu <sdl.web@gmail.com>
3aca1291
LL
2746
2747 * progmodes/flymake.el (flymake-warning-re): New variable.
2748 (flymake-parse-line): Use it.
2749
7e570fbf 27502012-09-05 Glenn Morris <rgm@gnu.org>
b6683353
GM
2751
2752 * calendar/holidays.el (holiday-christian-holidays):
2753 Rename an entry. (Bug#12289)
2754
7e570fbf 27552012-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
64f8c4bd
SM
2756
2757 * progmodes/sh-script.el (sh-font-lock-paren): Don't burp at BOB
2758 (bug#12222).
2759
972debf2
SM
27602012-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
2761
2762 * loadup.el: Load macroexp. Remove hack.
2763 * emacs-lisp/macroexp.el (macroexp--eval-if-compile): New function.
2764 (macroexp--expand-all): Use it to get better warnings.
2765 (macroexp--backtrace, macroexp--trim-backtrace-frame)
2766 (internal-macroexpand-for-load): New functions.
2767 (macroexp--pending-eager-loads): New var.
2768 (emacs-startup-hook): New hack to replace one in loadup.el.
2769 * emacs-lisp/cl-macs.el (cl--compiler-macro-list*)
2770 (cl--compiler-macro-cXXr): Move to top, before they can be used.
2771 (cl-psetf): Simplify.
2772 (cl-defstruct): Add indent rule.
2773
8ce192e3
LI
27742012-09-04 Lars Ingebrigtsen <larsi@gnus.org>
2775
2776 * mail/smtpmail.el (smtpmail-send-it): Prefer the From: header
2777 over `user-mail-address' for the SMTP MAIL FROM envelope.
2778 (smtpmail-via-smtp): Ditto.
2779
6578b4d8
DG
27802012-09-04 Dmitry Gutov <dgutov@yandex.ru>
2781
2782 * progmodes/ruby-mode.el: Clean up keybindings.
2783 (ruby-mode-map): Don't bind ruby-electric-brace,
2784 ruby-beginning-of-defun, ruby-end-of-defun, ruby-mark-defun,
2785 backward-kill-word, reindent-then-newline-and-indent.
2786 (ruby-mark-defun): Remove.
2787 (ruby-electric-brace): Remove. Obsoleted by electric-indent-chars.
2788 (ruby-mode): Set local beginning-of-defun-function and
2789 end-of-defun-function values.
2790
c5e28e39
MR
27912012-09-03 Martin Rudalics <rudalics@gmx.at>
2792
2793 * window.el (temp-buffer-window-setup-hook)
2794 (temp-buffer-window-show-hook): New hooks.
2795 (temp-buffer-window-setup, temp-buffer-window-show)
2796 (with-temp-buffer-window): New functions.
972debf2
SM
2797 (fit-window-to-buffer): Remove unused optional argument OVERRIDE.
2798 (special-display-popup-frame): Make sure the window used shows BUFFER.
c5e28e39
MR
2799
2800 * help.el (temp-buffer-resize-mode): Fix doc-string.
2801 (resize-temp-buffer-window): New optional argument WINDOW.
2802
2803 * files.el (recover-file, save-buffers-kill-emacs):
2804 * dired.el (dired-mark-pop-up): Use with-temp-buffer-window.
2805
73406194
MA
28062012-09-02 Michael Albinus <michael.albinus@gmx.de>
2807
2808 * eshell/em-unix.el (eshell/sudo): When we have an ad-hoc
2809 remote definition of `default-directory', ensure we can connect.
2810
63dd1c6f
JL
28112012-09-02 Juri Linkov <juri@jurta.org>
2812
2813 Toggle whitespace matching mode with M-s SPC.
2814 http://lists.gnu.org/archive/html/emacs-devel/2012-09/msg00008.html
2815
2816 * isearch.el (search-whitespace-regexp): Doc fix.
2817 Remove cons cell customization.
2818 (isearch-mode-map): Bind "\M-s " to isearch-toggle-lax-whitespace.
2819 (isearch-lax-whitespace, isearch-regexp-lax-whitespace):
2820 New variables.
2821 (isearch-forward, isearch-forward-regexp): Doc fix.
2822 (isearch-toggle-lax-whitespace): New command.
2823 (search-forward-lax-whitespace, search-backward-lax-whitespace)
2824 (re-search-forward-lax-whitespace)
2825 (re-search-backward-lax-whitespace): New functions.
2826 (isearch-whitespace-regexp): Remove function.
2827 (isearch-query-replace): Let-bind replace-search-function and
2828 replace-re-search-function.
2829 (isearch-occur): Let-bind search-spaces-regexp according to the
2830 value of isearch-lax-whitespace and isearch-regexp-lax-whitespace.
2831 (isearch-quote-char): Check isearch-regexp-lax-whitespace in the
2832 condition for C-q SPC.
2833 (isearch-search-fun-default): Use new functions mentioned above.
2834 (isearch-search-forward, isearch-search-backward): Remove functions.
2835 (isearch-search): Don't let-bind search-spaces-regexp.
2836 (isearch-lazy-highlight-space-regexp): Remove variable.
2837 (isearch-lazy-highlight-lax-whitespace)
2838 (isearch-lazy-highlight-regexp-lax-whitespace): New variables.
2839 (isearch-lazy-highlight-new-loop): Use them.
2840 (isearch-lazy-highlight-search): Don't let-bind search-spaces-regexp.
2841
af7dda05
CY
28422012-09-02 Chong Yidong <cyd@gnu.org>
2843
2844 * dired.el (dired-mode-map): Menu string fixes (Bug#11616).
2845
d67d3afd
GM
28462012-09-02 Glenn Morris <rgm@gnu.org>
2847
2848 * simple.el (undo): Tweak message in undo-only case. (Bug#12283)
2849
69678719
GM
28502012-09-01 Glenn Morris <rgm@gnu.org>
2851
2852 * term.el: Tidy up menu definitions.
2853 (term-mode-map): Use easymenu for In/Out, Complete menus.
2854 (term-pager-break-map): Initialize in the defvar.
2855 (term-terminal-menu, term-signals-menu): Define with easymenu.
2856 (term-terminal-menu): Also show it in line-mode. (Bug#11957)
2857 (term-pager-menu): New, extracted from term-process-pager.
2858 (term-mode, term-char-mode, term-process-pager): Use easymenu-add.
2859 (term-update-mode-line): Propertize line/char and page items.
2860 (term-process-pager): Move keymap initialization elsewhere.
2861
78dd6ab1
MR
28622012-09-01 Martin Rudalics <rudalics@gmx.at>
2863
2864 * window.el (switch-to-prev-buffer): Handle additional values of
2865 BURY-OR-KILL argument. Don't switch in minibuffer window.
2866 (switch-to-next-buffer): Don't switch in minibuffer window.
2867 (quit-restore-window): New function based on quit-window.
2868 Handle additional values of former KILL argument.
2869 (quit-window): Call quit-restore-window with appropriate
2870 interpretation of KILL argument.
2871 (display-buffer-below-selected): New buffer display action
2872 function.
2873
3d10e134
SM
28742012-09-01 Stefan Monnier <monnier@iro.umontreal.ca>
2875
2876 * minibuffer.el (completion-at-point-functions): Complete docstring
2877 (bug#12254).
2878
0e23ef9d
PE
28792012-09-01 Paul Eggert <eggert@cs.ucla.edu>
2880
2881 Better seed support for (random).
2882 * play/5x5.el, play/animate.el, play/cookie1.el, play/dissociate.el:
2883 * play/doctor.el, play/dunnet.el, play/gomoku.el, play/landmark.el:
2884 * play/mpuz.el, play/tetris.el, play/zone.el:
2885 * calc/calc-comb.el (math-init-random-base):
2886 * play/blackbox.el (bb-init-board):
2887 * play/life.el (life):
2888 * server.el (server-use-tcp):
2889 * type-break.el (type-break):
2890 Remove unnecessary call to (random t).
2891 * net/sasl.el (sasl-unique-id-function):
2892 Change (random t) to (random), now that the latter is more random.
2893 * play/life.el (life-initialized): Remove no-longer-needed var.
2894
862382df
MR
28952012-08-31 Alp Aker <alp.tekin.aker@gmail.com>
2896
2897 * window.el (switch-to-prev-buffer, switch-to-next-buffer):
2898 Consider frame's buffer predicate when choosing the buffer.
2899 (Bug#12081)
2900
262a66e1
RS
29012012-08-30 Richard Stallman <rms@gnu.org>
2902
2903 * simple.el (special-mode-map): Delete binding for `z'.
2904
f17e1d00
AS
29052012-08-30 Andreas Schwab <schwab@linux-m68k.org>
2906
2907 * progmodes/compile.el (compilation-always-kill): Doc fix.
2908
24777832
CY
29092012-08-30 Chong Yidong <cyd@gnu.org>
2910
2911 * window.el (display-buffer-reuse-frames): Make the obsolescence
2912 message more informative.
2913
69ba1f04
GM
29142012-08-30 Glenn Morris <rgm@gnu.org>
2915
2916 * paren.el (show-paren-delay):
2917 Add a :set function. Doc fix. (Bug#12297)
2918
f0019ede
MB
29192012-08-29 Martin Blais <blais@furius.ca> (tiny change)
2920
2921 * progmodes/compile.el (compilation-always-kill): New var.
2922 (compilation-start): Use it.
2923
35e62fc9
SM
29242012-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
2925
af070a1c
SM
2926 * simple.el (read-only-mode): Move from files.el for bootstrapping.
2927 * files.el (read-only-mode): Move to simple.el.
2928
35e62fc9
SM
2929 * files.el (read-only-mode): New minor mode.
2930 (toggle-read-only): Use it and mark obsolete.
2931 (find-file--read-only):
2932 * vc/vc.el (vc-next-action, vc-checkout):
2933 * vc/vc-cvs.el (vc-cvs-checkout):
2934 * obsolete/vc-mcvs.el (vc-mcvs-update):
2935 * ffap.el (ffap--toggle-read-only): Update callers.
2936
c2c43c23
MA
29372012-08-29 Michael Albinus <michael.albinus@gmx.de>
2938
2939 * eshell/esh-ext.el (eshell-external-command): Do not examine
972debf2
SM
2940 remote shell scripts.
2941 See <https://bugs.launchpad.net/ubuntu/+source/emacs23/+bug/1035790>.
c2c43c23
MA
2942
2943 * net/tramp-sh.el (tramp-remote-path): Add "/sbin" and
2944 "/usr/local/sbin".
2945
9fba804b
SM
29462012-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
2947
2948 * emacs-lisp/cl-lib.el (buffer-string): Fix setter macro (bug#12293).
2949
eada0861 29502012-08-28 Leo Liu <sdl.web@gmail.com>
22ab32ef 2951
806f0cc7
LL
2952 * progmodes/sh-script.el (sh-dynamic-complete-functions): Adapt to
2953 completion-at-point. (Bug#12220)
2954
3bb213b9
LL
2955 * skeleton.el (skeleton-untabify): Change to nil (bug#12223).
2956
22ab32ef
LL
2957 * progmodes/sh-script.el (sh-indent-comment): Change to t (bug#12267).
2958
eada0861 29592012-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
db148c21 2960
19c17fc1
CY
2961 * files.el (safe-local-eval-forms): Fix before-save-hook entry to
2962 be buffer-local; add delete-trailing-whitespace (bug#12259).
db148c21 2963
eada0861 29642012-08-28 Jeremy Moore <jmoore@ieee.org> (tiny change)
ffe6eaf1
JM
2965
2966 * progmodes/hideif.el (hif-compress-define-list):
2967 Fix typo. (Bug#11951)
2968
eada0861 29692012-08-28 Dan Nicolaescu <dann@gnu.org>
d30aca1b
DN
2970
2971 * progmodes/hideshow.el (hs-block-end-regexp): Restore lost
2972 buffer local setting.
2973
27d6c5a8
LL
2974 * net/rcirc.el (rcirc-split-message): Fix for buffer-local
2975 rcirc-encode-coding-system.
2976
eada0861 29772012-08-28 Leo Liu <sdl.web@gmail.com>
4432d2e2
LL
2978
2979 * net/rcirc.el (rcirc-split-message): New function.
2980 (rcirc-send-message): Use it. (Bug#12051)
2981
d44688e4
JL
29822012-08-28 Juri Linkov <juri@jurta.org>
2983
2984 * info.el (Info-fontify-node): Hide empty lines at the end of
2985 the node. (Bug#12272)
2986
34f10d41
MR
29872012-08-27 Drew Adams <drew.adams@oracle.com>
2988
2989 * dired.el (dired-pop-to-buffer): Make window start at beginning
2990 of buffer (Bug#12281).
2991
77f1f99c
CY
29922012-08-26 Chong Yidong <cyd@gnu.org>
2993
2994 * window.el (special-display-regexps, special-display-frame-alist)
2995 (special-display-buffer-names, special-display-function)
2996 (display-buffer-reuse-frames): Mark as obsolete.
2997
2998 * progmodes/compile.el: Don't use display-buffer-reuse-frames.
2999
3000 * help.el (help-print-return-message): Don't treat
3001 display-buffer-reuse-frames specially.
3002
d97af5a0
CY
30032012-08-26 Chong Yidong <cyd@gnu.org>
3004
9fba804b
SM
3005 * progmodes/gdb-mi.el (gdb-display-buffer-other-frame-action):
3006 New variable, replacing gdb-frame-parameters.
d97af5a0
CY
3007 (gdb-frame-io-buffer, gdb-frame-breakpoints-buffer)
3008 (gdb-frame-threads-buffer, gdb-frame-memory-buffer)
3009 (gdb-frame-disassembly-buffer, gdb-frame-stack-buffer)
3010 (gdb-frame-locals-buffer, gdb-frame-registers-buffer): Use it.
3011 (def-gdb-frame-for-buffer): Macro deleted. It is easier to define
3012 the functions directly with gdb-display-buffer-other-frame-action.
3013 (gdb-display-breakpoints-buffer, gdb-display-threads-buffer)
3014 (gdb-display-memory-buffer, gdb-display-disassembly-buffer)
3015 (gdb-display-stack-buffer, gdb-display-locals-buffer)
3016 (gdb-display-registers-buffer): Define directly.
3017 (def-gdb-display-buffer): Macro deleted.
3018 (gdb-display-buffer): Remove second and third args, callers don't
3019 use them. Defer to the default display-buffer behavior, apart
3020 from making windows dedicated.
3021 (gdb-setup-windows): Don't call display-buffer unnecessarily.
3022
3023 * progmodes/gud.el (gud-display-line): Just use display-buffer.
3024
3025 * window.el (display-buffer-pop-up-frame): Handle a
3026 pop-up-frame-parameters alist entry.
3027 (display-buffer): Document it.
3028
dd7ffad6
CY
30292012-08-26 Chong Yidong <cyd@gnu.org>
3030
3031 * isearch.el (search-whitespace-regexp): Make string and nil
3032 values apply to both ordinary and regexp search. Allow a cons
3033 cell value to distinguish between the two.
3034 (isearch-whitespace-regexp, isearch-search-forward)
3035 (isearch-search-backward): New functions.
3036 (isearch-occur, isearch-search-fun-default, isearch-search)
3037 (isearch-lazy-highlight-new-loop): Use them.
3038 (isearch-forward, isearch-forward-regexp): Doc fix.
3039
4c47bd1e
CY
30402012-08-26 Chong Yidong <cyd@gnu.org>
3041
3042 * faces.el (help-argument-name): Always inherit from italic
3043 (Bug#12213).
3044
9aba119d
MR
30452012-08-25 Martin Rudalics <rudalics@gmx.at>
3046
3047 * window.el (window--even-window-heights): Even heights when
3048 WINDOW and the selected window form a vertical combination.
3049 (display-buffer-use-some-window): Provide that window used gets
3050 sized back by quit-window. (Bug#11880) and (Bug#12091)
3051
ca5256ad
PE
30522012-08-24 Paul Eggert <eggert@cs.ucla.edu>
3053
3054 Fix file time stamp problem with bzr and CVS (Bug#12001).
3055 * vc/vc-cvs.el (vc-cvs-parse-entry): Ignore subsecond information
3056 in the file's time stamp, since the version control system loses
3057 that information.
3058
d1c0d176
JL
30592012-08-22 Juri Linkov <juri@jurta.org>
3060
3061 * info.el (Info-fontify-node): Hide the suffix of the
3062 Info file name in the header line. (Bug#12187)
3063
141562ff
GM
30642012-08-22 Glenn Morris <rgm@gnu.org>
3065
3066 * calendar/cal-tex.el (cal-tex-weekly-common):
3067 Restore leading blank page.
3068
61a48e19 30692012-08-22 Le Wang <l26wang@gmail.com> (tiny change)
add9ca2d
BG
3070
3071 * misc.el (forward-to-word, backward-to-word): Activate or extend
61a48e19
GM
3072 the region under `shift-select-mode'. (Bug#12231)
3073
30742012-08-22 Bastien Guerry <bzg@gnu.org>
0fcd3d9f
BG
3075
3076 * progmodes/executable.el (executable-prefix): Set to "#!" instead
3077 of "#! ". http://www.in-ulm.de/~mascheck/various/shebang/#details
3078 gives details on why the space is never needed.
3079
ea95074e
MR
30802012-08-22 Martin Rudalics <rudalics@gmx.at>
3081
9fba804b
SM
3082 * window.el (walk-window-tree, window-with-parameter):
3083 New optional argument MINIBUF to control whether these functions
ea95074e
MR
3084 should run on the minibuffer window.
3085 (window-at-side-list): Don't operate on minibuffer window.
3086 (window-in-direction): Simplify and rewrite doc-string.
9fba804b
SM
3087 (window--size-ignore): Rename to window--size-ignore-p.
3088 Update callers.
caceae25
MR
3089 (display-buffer-in-atom-window, window--major-non-side-window)
3090 (window--major-side-window, display-buffer-in-major-side-window)
9fba804b
SM
3091 (delete-side-window, display-buffer-in-side-window):
3092 New functions.
caceae25
MR
3093 (window--side-check, window-deletable-p, delete-window)
3094 (delete-other-windows, split-window): Handle side windows and
3095 atomic windows appropriately.
3096 (window--display-buffer): Call display-buffer-record-window also
3097 when the window buffer did not change.
ea95074e 3098
80a51fa0
CS
30992012-08-22 Christopher Schmidt <christopher@ch.ristopher.com>
3100
3101 * help-fns.el (help-fns--key-bindings):
3102 Abbreviate non-symbol remap targets. (Bug#12174)
3103
fbb6300b
MR
31042012-08-22 Martin Rudalics <rudalics@gmx.at>
3105
3106 * dired.el (dired-mark-remembered): Don't clobber point.
3107 (Bug#11795)
3108
2b2c0794
GM
31092012-08-22 Glenn Morris <rgm@gnu.org>
3110
3111 * progmodes/bug-reference.el (bug-reference): New custom group.
3112 (bug-reference-bug-regexp): Make it a defcustom.
3113
37219830
DU
31142012-08-22 Daiki Ueno <ueno@unixuser.org>
3115
3116 * progmodes/js.el (js-indent-level, js-expr-indent-offset)
3117 (js-paren-indent-offset, js-square-indent-offset)
3118 (js-curly-indent-offset): Add :safe (Bug#12257).
3119
94e0e559
EC
31202012-08-22 Edward O'Connor <hober0@gmail.com>
3121
3122 * json.el (json-key-format): Add error properties.
3123 (json-encode-key): New function.
3124 (json-encode-hash-table, json-encode-alist, json-encode-plist):
3125 Use json-encode-key.
3126
da485f5e
GM
31272012-08-22 Glenn Morris <rgm@gnu.org>
3128
3129 * calendar/cal-tex.el (cal-tex-longday): New function, replacing...
3130 (cal-tex-leftday, cal-tex-rightday): Remove functions.
3131 (cal-tex-weekly-common, cal-tex-cursor-filofax-2week):
3132 Update for above change.
3133
c6cc78b8
AS
31342012-08-21 Andreas Schwab <schwab@linux-m68k.org>
3135
3136 * cus-face.el (custom-face-attributes): Fix customize type for the
3137 :underline attribute. (Bug#11805)
3138
5481664a
MR
31392012-08-21 Martin Rudalics <rudalics@gmx.at>
3140
3141 * window.el (window-point-1, set-window-point-1): Remove.
3142 (window-in-direction, record-window-buffer)
3143 (set-window-buffer-start-and-point, split-window-below)
9fba804b
SM
3144 (window--state-get-1, display-buffer-record-window):
3145 Replace calls to window-point-1 and set-window-point-1 by calls to
5481664a
MR
3146 window-point and set-window-point respectively.
3147
6d74698e
GM
31482012-08-21 Glenn Morris <rgm@gnu.org>
3149
b7fa2691
GM
3150 * calendar/cal-tex.el (cal-tex-weekly-common): New function.
3151 (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-week):
3152 Use it.
3153
52f56d5a
GM
3154 * calendar/cal-tex.el (cal-tex-rightday): Add optional funcname arg.
3155 (cal-tex-shortday): New function.
3156 (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-week)
3157 (cal-tex-cursor-filofax-daily): Use the above.
3158
9f1ee09e
GM
3159 * calendar/cal-tex.el (cal-tex-leftday, cal-tex-rightday):
3160 New functions.
3161 (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-2week)
3162 (cal-tex-cursor-filofax-week): Use them.
3163
79858159
GM
3164 * calendar/cal-tex.el (cal-tex-lefthead, cal-tex-righthead):
3165 New constants.
3166 (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-2week)
3167 (cal-tex-cursor-filofax-week, cal-tex-cursor-filofax-daily): Use them.
3168
d346b2b4
GM
3169 * calendar/cal-tex.el (cal-tex-preamble): Generate new buffers.
3170 (cal-tex-end-document): Don't rely on buffer name.
3171
b2403709
GM
3172 * calendar/cal-tex.el (cal-tex-cursor-filofax-year):
3173 Use cal-tex-vspace.
3174 (cal-tex-vspace, cal-tex-hspace, cal-tex-em, cal-tex-bf)
3175 (cal-tex-Huge-bf, cal-tex-large-bf): Use cal-tex-cmd.
2d225a3a
GM
3176 (cal-tex-scriptsize, cal-tex-huge, cal-tex-Huge, cal-tex-large):
3177 Use cal-tex-arg.
b2403709 3178
1cebb5c0
GM
3179 * calendar/cal-tex.el (cal-tex-cursor-filofax-year)
3180 (cal-tex-cursor-week, cal-tex-cursor-week2)
3181 (cal-tex-cursor-week-iso, cal-tex-cursor-week-at-a-glance)
3182 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
3183 (cal-tex-cursor-filofax-daily, cal-tex-cursor-day)
3184 (cal-tex-insert-preamble, cal-tex-b-document)
3185 (cal-tex-e-document, cal-tex-b-center, cal-tex-e-center):
3186 Improve cal-tex-cmd usage.
3187
c68cd5d4
GM
3188 * calendar/cal-tex.el (cal-tex-filofax-paper): New function.
3189 (cal-tex-cursor-filofax-year, cal-tex-cursor-filofax-2week)
3190 (cal-tex-cursor-filofax-week, cal-tex-cursor-filofax-daily): Use it.
3191 (cal-tex-weekly-paper): New function.
3192 (cal-tex-cursor-week, cal-tex-cursor-week2)
3193 (cal-tex-cursor-week-iso, cal-tex-cursor-week-monday)
3194 (cal-tex-cursor-day): Use it.
3195
9dca4801
GM
3196 * calendar/cal-tex.el (cal-tex-cursor-week-at-a-glance)
3197 (cal-tex-cursor-filofax-week): Remove leading blank page.
3198
1941e134
GM
3199 * calendar/cal-tex.el (cal-tex-cursor-week-at-a-glance):
3200 Add autoload cookie. For now at least, don't use color, since
3201 no other cal-tex function does.
3202
6d74698e
GM
3203 * calendar/cal-tex.el (cal-tex-cursor-week-iso)
3204 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
3205 (cal-tex-cursor-filofax-daily): Correct start date for diary entries.
3206
64cde199
JL
32072012-08-21 Juri Linkov <juri@jurta.org>
3208
3209 * info.el (Info-file-attributes): New variable.
3210 (info-insert-file-contents): Add file attributes to
3211 `Info-file-attributes'. Clear the caches `Info-index-nodes' and
3212 `Info-toc-nodes' when previous modtime of the Info file is less
3213 than new modtime.
3214 (Info-toc-nodes, Info-index-nodes): Move definitions up to the top
3215 of info.el. (Bug#12230)
3216
32757648
GM
32172012-08-20 Glenn Morris <rgm@gnu.org>
3218
3219 * calendar/diary-lib.el (diary-include-files, diary-sexp-entry):
3220 * calendar/holidays.el (calendar-holiday-list):
3221 Report errors with display-warning rather than beep'n'sleep.
3222
a32fbbcf
MA
32232012-08-20 Michael Albinus <michael.albinus@gmx.de>
3224
3225 * net/tramp.el (tramp-accept-process-output): Accept only output
3226 from PROC. Otherwise, process filters and sentinels might be
3227 confused. (Bug#12145)
3228
a05731a0
CY
32292012-08-20 Chong Yidong <cyd@gnu.org>
3230
3231 * descr-text.el (describe-text-properties-1): Use overlays-in to
3232 report on empty overlays (Bug#3322).
3233
36e8d1eb
GM
32342012-08-20 Glenn Morris <rgm@gnu.org>
3235
3d300447
GM
3236 * mail/rmailout.el (rmail-output-read-file-name):
3237 Trap and report errors in rmail-output-file-alist elements.
3238
36e8d1eb
GM
3239 * font-lock.el (font-lock-add-keywords): Doc fix (quote face names
3240 since most non-font-lock faces are not also variables).
3241
b96e5814
ER
32422012-08-20 Edward Reingold <reingold@iit.edu>
3243
3244 * calendar/cal-tex.el (cal-tex-cursor-week-at-a-glance):
3245 New function. (Bug12160)
3246
7cef3569
GM
32472012-08-19 Glenn Morris <rgm@gnu.org>
3248
3249 * mail/rmailout.el (rmail-output-read-file-name):
3250 Fix previous change (when the alist is nil or does not match).
3251
17975d7f
CY
32522012-08-19 Chong Yidong <cyd@gnu.org>
3253
3254 * xml.el (xml-escape-string): Don't refer to xml-entity-alist
3255 (Bug#12228).
3256
2170b1bd
CY
32572012-08-18 Chong Yidong <cyd@gnu.org>
3258
3259 * simple.el (yank-handled-properties): New defcustom.
3260 (yank-excluded-properties): Add font-lock-face and category.
3261 (yank): Doc fix.
3262
9fba804b
SM
3263 * subr.el (remove-yank-excluded-properties):
3264 Obey yank-handled-properties. The special handling of font-lock-face
2170b1bd
CY
3265 and category is now done this way, instead of being hard-coded.
3266 (insert-for-yank-1): Remove font-lock-face handling.
3267 (yank-handle-font-lock-face-property)
3268 (yank-handle-category-property): New function.
3269
ee218151
GM
32702012-08-17 Glenn Morris <rgm@gnu.org>
3271
3272 * mail/rmailout.el (rmail-output-read-file-name):
3273 Check rmail-output-file-alist against the full message body
3274 in the correct rmail buffer. (Bug#12214)
3275
4a6bc3fd
MA
32762012-08-17 Michael Albinus <michael.albinus@gmx.de>
3277
9fba804b
SM
3278 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
3279 Eliminate superfluous prompt. (Bug#12203)
4a6bc3fd 3280
383dcbf9
CY
32812012-08-17 Chong Yidong <cyd@gnu.org>
3282
3283 * mouse.el (mouse-appearance-menu): If x-select-font returns a
3284 font spec, set the font directly (Bug#3228).
3285
998c4a6a
MR
32862012-08-17 Martin Rudalics <rudalics@gmx.at>
3287
3288 * window.el (delete-window): Fix last fix.
3289
52162052
MR
32902012-08-16 Martin Rudalics <rudalics@gmx.at>
3291
3292 * window.el (window-valid-p): Move to window.c.
85c2386b
MR
3293 (window-child, window-child-count, window-last-child)
3294 (window-normalize-window, window-combined-p)
3295 (window-combinations, window-atom-root, window-min-size)
3296 (window-sizable, window-sizable-p, window-size-fixed-p)
3297 (window-min-delta, window-max-delta, window--resizable)
3298 (window--resizable-p, window-resizable, window-total-size)
3299 (window-full-height-p, window-full-width-p, window-body-size)
3300 (window-at-side-p, adjust-window-trailing-edge, maximize-window)
3301 (minimize-window, window-deletable-p, delete-window)
3302 (delete-other-windows, set-window-buffer-start-and-point)
3303 (next-buffer, previous-buffer, split-window, balance-windows-2)
3304 (set-window-text-height, window-buffer-height)
3305 (fit-window-to-buffer, shrink-window-if-larger-than-buffer)
9fba804b
SM
3306 (truncated-partial-width-window-p): Minor code adjustments.
3307 In doc-strings state whether the argument window has to denote a
85c2386b 3308 live, valid or any window.
52162052 3309
1c308380
PS
33102012-08-16 Phil Sainty <psainty@orcon.net.nz> (tiny change)
3311
3312 * progmodes/subword.el (subword-forward-function)
3313 (subword-backward-function, subword-forward-regexp)
3314 (subword-backward-regexp): New variables.
3315 (subword-forward, subword-forward-internal, subword-backward-internal):
3316 Use new variables, eg so that different "word" definitions
3317 can be easily used. (Bug#11411)
3318
94c9ece1
SM
33192012-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
3320
3321 * vc/vc-mtn.el (vc-mtn-revision-completion-table): Handle completion
3322 for composite selectors.
3323 * vc/vc.el (vc-diff-build-argument-list-internal): Don't prevent
3324 operation just because we can't find a previous revision.
3325
f2045622
CY
33262012-08-15 Chong Yidong <cyd@gnu.org>
3327
3328 * frame.el (set-frame-font): Accept font objects.
3329
582db660
SM
33302012-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
3331
3332 * textmodes/tex-mode.el (tex-insert-quote): ~ is a space (bug#12137).
3333
2f29c200
WJ
33342012-08-15 Wolfgang Jenkner <wjenkner@inode.at>
3335
456e62c2
WJ
3336 * man.el (Man-overstrike-face, Man-underline-face)
3337 (Man-reverse-face): Remove variables.
3338 (Man-overstrike, Man-underline, Man-reverse): New faces.
3339 (Man-fontify-manpage): Use them instead of the variables.
3340 (Man-cleanup-manpage): Comment change.
3341 (Man-ansi-color-map): New variable.
3342 (Man-fontify-manpage): Use it.
3343 Call ansi-color-apply-on-region to replace ad hoc code (bug#12147).
3344
2f29c200
WJ
3345 Implement ANSI SGR parameters 22-27 (bug#12146).
3346 * ansi-color.el (ansi-colors): Doc fix.
3347 (ansi-color-context, ansi-color-context-region): Doc fix.
3348 (ansi-color--find-face): New function.
3349 (ansi-color-apply, ansi-color-apply-on-region): Use it.
3350 Rename the local variable `face' to `codes' since it is now a list of
3351 ansi codes. Doc fix.
3352 (ansi-color-get-face): Remove.
3353 (ansi-color-parse-sequence): New function, derived from
3354 ansi-color-get-face.
3355 (ansi-color-apply-sequence): Use it. Rewrite, and support ansi
3356 codes 22-27.
3357
b4f5e9df
SM
33582012-08-14 Stefan Monnier <monnier@iro.umontreal.ca>
3359
3360 * subr.el (read-passwd): Allow use from a minibuffer.
3361
ba025fbd
EZ
33622012-08-14 Eli Zaretskii <eliz@gnu.org>
3363
3364 * tooltip.el (tooltip-identifier-from-point): Don't treat tokens
3365 inside comments and strings as identifiers.
3366
3367 * progmodes/gud.el (gud-tooltip-print-command): Quote the
3368 expression to evaluate. This allows to evaluate expressions with
3369 embedded whitespace.
3370 (gud-tooltip-tips): Add a blank before the newline in the
3371 message-box text, for the benefit of message-box emulation on
3372 MS-Windows.
3373
3374 * progmodes/gdb-mi.el (gdb-tooltip-print): Don't ignore error
3375 messages from GDB, pop them up in a tooltip to give feedback to
3376 user.
b4f5e9df
SM
3377 (gdb-tooltip-print-1): Quote the expression to evaluate.
3378 This allows to evaluate expressions with embedded whitespace.
ba025fbd
EZ
3379 (gdb-inferior-io--init-proc): Don't send "-inferior-tty" command
3380 if the TTY name is nil or empty (which happens when communicating
3381 with the inferior via pipes, e.g. on MS-Windows).
3382 (gdb-internals): If GDB sends a "&\n" empty debugging message,
3383 don't send that to the GUD buffer.
3384
c548f821
GM
33852012-08-14 Glenn Morris <rgm@gnu.org>
3386
3387 * emacs-lisp/bytecomp.el (byte-compile-setq-default):
3388 Optimize away setq-default with no args, as for setq. (Bug#12195)
3389
55802e4a
CY
33902012-08-14 Chong Yidong <cyd@gnu.org>
3391
4abcdac8
CY
3392 * minibuffer.el (read-file-name): Doc fix (Bug#10881).
3393
55802e4a
CY
3394 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Doc fix
3395 (Bug#12085).
3396
3c3cda1a
GM
33972012-08-14 Glenn Morris <rgm@gnu.org>
3398
3399 * emacs-lisp/bytecomp.el (byte-recompile-file): Doc fix.
3400
e1873bd0
MA
34012012-08-14 Michael Albinus <michael.albinus@gmx.de>
3402
3403 * net/tramp-sh.el (tramp-open-shell): Cache the shell name.
3404 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
3405 Use cached shell name.
3406
925411b4
FEG
34072012-08-14 Fabián Ezequiel Gallina <fgallina@cuca>
3408
3409 * progmodes/python.el (python-shell-send-string):
3c3cda1a 3410 (python-shell-send-setup-code): Do not use `format' with `message'.
925411b4 3411
e636fafe
DG
34122012-08-14 Dmitry Gutov <dgutov@yandex.ru>
3413
3414 * progmodes/ruby-mode.el: Improve percent literals (bug#6286).
3415 (ruby-percent-literal-beg-re): New constant.
3416 (ruby-syntax-general-delimiters-goto-beg): Rename to
3417 `ruby-syntax-enclosing-percent-literal', improve literal type check.
3418 (ruby-syntax-propertize-general-delimiters): Rename to
3419 `ruby-syntax-propertize-percent-literal', it's a shorter and more
3420 popular term. Adjust comments everywhere.
3421 (ruby-syntax-propertize-percent-literal): Only propertize when not
3422 inside a simple string or comment. When the literal is unclosed,
3423 leave the text after it unpropertized.
f063063a
DG
3424 (ruby-syntax-methods-before-regexp): New constant.
3425 (ruby-syntax-propertize-function): Use it to recognize regexps.
3426 Don't look at the text after regexp, just use the whitelist.
e636fafe 3427
e5b19827
AS
34282012-08-14 Andreas Schwab <schwab@linux-m68k.org>
3429
3430 * emacs-lisp/bytecomp.el (byte-recompile-file): When LOAD is
3431 non-nil always load the compiled file if it exists. (Bug#12197)
3432
a9f6f311
CY
34332012-08-14 Chong Yidong <cyd@gnu.org>
3434
3435 * hi-lock.el (hi-lock-mode): Do not unilaterally enable font lock.
3436 (hi-lock-set-pattern): When deciding whether to use font lock or
3437 overlays, look at font-lock-mode instead of font-lock-fontified
3438 (Bug#12168).
3439 (hi-lock-mode, hi-lock-line-face-buffer, hi-lock-unface-buffer)
3440 (hi-lock-face-buffer, hi-lock-face-phrase-buffer): Doc fix.
3441
7d806b1e
DU
34422012-08-14 Daiki Ueno <ueno@unixuser.org>
3443
3444 * subr.el (internal--after-with-selected-window): Fix typo
3445 (Bug#12193).
3446
5beed586
FEG
34472012-08-14 Fabián Ezequiel Gallina <fgallina@cuca>
3448
3449 Use `completion-table-dynamic' for completion functions.
3450 * progmodes/python.el
3451 (python-shell-completion--do-completion-at-point)
e636fafe
DG
3452 (python-shell-completion--get-completions):
3453 Remove functions.
5beed586
FEG
3454 (python-shell-completion-complete-at-point): New function.
3455 (python-completion-complete-at-point): Use it.
3456
92cb3b04
J
34572012-08-13 Jambunathan K <kjambunathan@gmail.com>
3458
3459 * vc/vc-dir.el (vc-dir-hide-state): New command (bug#12159).
3460 (vc-dir-hide-up-to-date): Route it to `vc-dir-hide-state'.
3461
89660017
SM
34622012-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
3463
3c98c962
SM
3464 * subr.el (function-get): Refine `autoload' arg so it can also
3465 autoload functions for gv.el (bug#12191).
3466 * emacs-lisp/edebug.el (get-edebug-spec): Adjust so it only
3467 autoloads macros.
3468
aa7c6dbe
SM
3469 * color.el (color-xyz-to-lab, color-lab-to-xyz, color-cie-de2000):
3470 Prefer pcase-let over destructuring-bind.
3471 * vc/diff-mode.el (diff-remove-trailing-whitespace): Same.
3472 Also, remove whitespace as we go, rather than after accumulating the
3473 various places.
3474
89660017
SM
3475 * subr.el (internal--before-with-selected-window)
3476 (internal--after-with-selected-window): Fix typo seleted->selected.
3477 (with-selected-window): Adjust callers.
3478 Reported by Dmitry Gutov <dgutov@yandex.ru>.
3479
31cd32c9
BG
34802012-08-13 Bastien Guerry <bzg@gnu.org>
3481
0fcd3d9f 3482 * window.el (special-display-popup-frame): Minor docstring
31cd32c9
BG
3483 enhancement. (Bug#12172)
3484
1b15d8ad
AS
34852012-08-13 Andreas Schwab <schwab@linux-m68k.org>
3486
31e54db0
AS
3487 * tar-mode.el (tar-header-data-end): Only ignore size for files of
3488 type 1-6.
3489 (tar-header-block-summarize, tar-get-descriptor): Handle pax
3490 extended headers.
3491
1b15d8ad
AS
3492 * files.el (hack-local-variables-filter): Remove useless eval.
3493
35cb9c06
MR
34942012-08-13 Martin Rudalics <rudalics@gmx.at>
3495
3496 * subr.el (with-selected-window): Fix last change.
3497
1439443b
SM
34982012-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
3499
3500 * subr.el (internal--before-with-seleted-window)
3501 (internal--after-with-seleted-window): New functions.
1b15d8ad
AS
3502 (with-selected-window): Use them, to replace dependency on
3503 tty-top-frame.
1439443b 3504
0d9e2599
NN
35052012-08-12 Nobuyoshi Nakada <nobu@ruby-lang.org>
3506
3507 * progmodes/ruby-mode.el (ruby-mode-map): Remove unnecessary
3508 binding for `newline'.
3509 (ruby-move-to-block): When moving backward, stop at block opening,
3510 not indentation.
3511 * progmodes/ruby-mode.el (ruby-brace-to-do-end)
3512 (ruby-do-end-to-brace, ruby-toggle-block): New functions.
3513 * progmodes/ruby-mode.el (ruby-mode-map): Add binding for
3514 `ruby-toggle-block'.
3515
ba10c48c
SM
35162012-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
3517
3518 * ibuffer.el (ibuffer-do-toggle-read-only):
3519 * dired.el (dired-toggle-read-only):
3520 * buff-menu.el (Buffer-menu-toggle-read-only):
3521 * bindings.el (mode-line-toggle-read-only):
3522 * bs.el (bs-toggle-readonly): Call toggle-read-only interactively.
3523
9229c658
AS
35242012-08-12 Andreas Schwab <schwab@linux-m68k.org>
3525
3526 * descr-text.el (describe-char): Put the overlays over the
3527 "displayed as" character.
3528
0fd09128
JB
35292012-08-12 Jay Belanger <jay.p.belanger@gmail.com>
3530
3531 * calc/calc-units.el (math-default-units-table): Give an
3532 initial value.
3533 (math-put-default-units): Add options to put composite units and
3534 unit systems in the default units table.
3535 (calc-convert-units): Send composite units to
3536 `math-put-default-units' when appropriate.
3537
9ff9402d 35382012-08-11 Glenn Morris <rgm@gnu.org>
7aacaf15 3539
fbb5e336
GM
3540 * emacs-lisp/copyright.el (copyright-update-directory): Logic fix.
3541
7aacaf15
GM
3542 * tutorial.el (help-with-tutorial):
3543 * emacs-lisp/copyright.el (copyright-update-directory):
3544 * emacs-lisp/autoload.el (autoload-find-generated-file)
3545 (autoload-find-file): Disable local eval: (for insurance).
3546
f40b9f10
GM
3547 * files.el (hack-local-variables-filter): If an eval: form is not
3548 known to be safe, and enable-local-variables is :safe, then ignore
3549 the form totally, as is done for non-eval forms. (Bug#12155)
6f97980a 3550 This is CVE-2012-3479.
f40b9f10 3551
daa9f1a6
SM
35522012-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
3553
3554 * emacs-lisp/rx.el (rx-constituents): Don't define as constant.
3555 (rx-form): Simplify.
3556
9cd80478
DG
35572012-08-09 Dmitry Gutov <dgutov@yandex.ru>
3558
0d9e2599
NN
3559 * progmodes/ruby-mode.el (ruby-expr-beg, ruby-parse-partial):
3560 ?, _, and : are symbol constituents, ! is not (but kinda should be).
3561 (ruby-syntax-propertize-heredoc): Use ruby-singleton-class-p.
3562 (ruby-syntax-propertize-function): Adjust for changes in
3563 `ruby-syntax-propertize-heredoc'.
3564
35652012-08-09 Nobuyoshi Nakada <nobu@ruby-lang.org>
3566
9cd80478
DG
3567 * progmodes/ruby-mode.el (ruby-mode-map): Remove deprecated
3568 binding (use `M-;' instead).
9cd80478 3569 (ruby-singleton-class-p): New function.
0d9e2599 3570 (ruby-expr-beg, ruby-in-here-doc-p) Use it.
9cd80478 3571
d301b413
SM
35722012-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
3573
3574 * emacs-lisp/cl-macs.el (cl-loop): Improve debug spec.
3575
1530c98e
CY
35762012-08-10 Chong Yidong <cyd@gnu.org>
3577
3578 * progmodes/python.el (python-shell-get-process-name): Don't mess
3579 with same-window-buffer-names.
3580
3581 * eshell/eshell.el (eshell-add-to-window-buffer-names)
3582 (eshell-remove-from-window-buffer-names): Make obsolete.
3583 (eshell-buffer-name, eshell-unload-hook): Don't use them.
3584 (eshell): Just use pop-to-buffer-same-window instead.
3585
e1293765
CY
35862012-08-10 Chong Yidong <cyd@gnu.org>
3587
3588 * bindings.el: Bind M-= back to count-words-region.
3589
3590 * simple.el (count-words-region): Accept a prefix arg for acting
3591 on the entire buffer.
3592 (count-words--buffer-message): New helper function.
3593
e1894109
SM
35942012-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
3595
3596 * term/x-win.el (x-menu-bar-open): Always pass last-nonmenu-event.
3597 * subr.el (eventp): `nil' is not an event, and eventp is not hot.
3598 (event-start, event-end): Use posn-at-point to return a more
3599 informative posn.
3600 (posnp): New function.
3601 * mouse.el (popup-menu-normalize-position): Use it.
3602
c69f56a2
MY
36032012-08-10 Masatake YAMATO <yamato@redhat.com>
3604
3605 * mouse.el (popup-menu-normalize-position): New function.
3606 (popup-menu): Use `popup-menu-normalize-position' to normalize
3607 the form for POSITION argument.
3608
3609 * term/x-win.el (x-menu-bar-open):
3610 Use the value returend from (posn-at-point) as position
3611 passed to `popup-menu'.
3612
31673780
JB
36132012-08-09 Jay Belanger <jay.p.belanger@gmail.com>
3614
3615 * calc/calccomp.el (math-compose-expr): Add extra argument
3616 indicating that parentheses should be put around products in
3617 denominators. Give multiplication precedence over division during
3618 composition.
3619
dab7711b
CY
36202012-08-09 Chong Yidong <cyd@gnu.org>
3621
dee4ef93
CY
3622 * man.el (Man-switches, Man-sed-command, Man-awk-command)
3623 (Man-mode-hook, Man-cooked-hook, Man-untabify-command-args)
3624 (Man-untabify-command, manual-program): Convert to defcustom
3625 (Bug#10429).
3626
73e2bbc5
CY
3627 * vc/add-log.el (change-log-mode): Bind comment-start to nil.
3628
3e861c8a
CY
3629 * descr-text.el (describe-char): Don't insert extra newlines
3630 (Bug#10127).
3631
a9f5a649
CY
3632 * vc/log-view.el (log-view-diff): Use use-region-p (Bug#10133).
3633 (log-view-diff-changeset, log-view-minor-wrap): Likewise.
3634
dab7711b
CY
3635 * align.el (align-region): Delete temporary markers (Bug#10047).
3636 Plus some code cleanups.
3637
e0cc4efa
FEG
36382012-08-09 Fabián Ezequiel Gallina <fgallina@cuca>
3639
3640 * progmodes/python.el (python-pdbtrack-tracked-buffer)
3641 (python-pdbtrack-buffers-to-kill, python-shell-internal-buffer)
3642 (python-shell-internal-last-output): Use make-local-variable
3643 instead of make-variable-buffer-local.
3644
489af14f
FEG
36452012-08-09 Fabián Ezequiel Gallina <fgallina@cuca>
3646
3647 * progmodes/python.el: Enhancements to forward-sexp.
3648 (python-nav-forward-sexp): Rename from
3649 python-nav-forward-sexp-function.
c69f56a2
MY
3650 (python-nav--forward-sexp, python-nav--backward-sexp):
3651 New functions.
489af14f 3652
0fc50303
JB
36532012-08-09 Jay Belanger <jay.p.belanger@gmail.com>
3654
3655 * calc/calc-menu.el (calc-modes-menu): Add entries for matrix
3656 modes and simplification modes.
3657
5d65606a
SM
36582012-08-09 Stefan Monnier <monnier@iro.umontreal.ca>
3659
3660 * delsel.el (delete-selection-pre-hook): Don't propagate the
3661 file-supersession signals (bug#12161).
3662
4250fdf5
SM
36632012-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
3664
3665 * emacs-lisp/cl.el (cl-map-keymap-recursively, cl-map-intervals)
3666 (cl-map-extents): Add compatibility aliases (bug#12135).
3667
d9f9b465
MA
36682012-08-08 Michael Albinus <michael.albinus@gmx.de>
3669
3670 * net/tramp-sh.el (tramp-find-file-exists-command): Protect the
3671 tests by `ignore-error'.
3672 (tramp-find-shell): Open also a new shell, when cache is already
3673 set. Reported by Carsten Bormann <cabo@tzi.org>. (Bug#12148)
3674
ce0fcefa
JL
36752012-08-08 Juri Linkov <juri@jurta.org>
3676
3677 * bookmark.el: Add `defaults' property to the bookmark record.
3678 (bookmark-current-buffer): Doc fix.
3679 (bookmark-make-record): Add `defaults' property with default values
3680 to the bookmark record.
3681 (bookmark-minibuffer-read-name-map): Remove key binding "\C-u"
3682 with `bookmark-insert-current-bookmark'.
3683 (bookmark-set): Get `defaults' property from the bookmark record
3684 and use it in `read-from-minibuffer'.
3685 (bookmark-insert-current-bookmark): Remove function.
3686
3687 * info.el (Info-bookmark-make-record): Add `defaults' property
3688 with values of canonical Info node name, the current Info file
3689 name and the current Info node name. (Bug#12107)
3690
53fa8652
JL
36912012-08-08 Juri Linkov <juri@jurta.org>
3692
3693 * files.el (basic-save-buffer): Use `buffer-name' as the default
3694 of `read-file-name' when buffer is not visiting a file (bug#12128).
3695
242c0a95
JL
36962012-08-08 Juri Linkov <juri@jurta.org>
3697
3698 * info.el (Info-isearch-search): Doc fix.
3699 (Info-search): Change search-failed message from "initial node" to
3700 "end of node" (bug#12078).
3701 (Info-isearch-search): Change `isearch-string-state' to
3702 `isearch--state-string'.
3703
32ac3a6b
GM
37042012-08-08 Glenn Morris <rgm@gnu.org>
3705
3706 * language/persian.el: Remove file.
f8c1afd5 3707 * language/misc-lang.el: Move unique part of persian.el here.
32ac3a6b
GM
3708 * loadup.el: Remove language/persian.
3709
2c2d9c9c
OF
37102012-08-08 Óscar Fuentes <ofv@wanadoo.es>
3711
3712 * vc/diff-mode.el (diff-remove-trailing-whitespace): New function.
3713
2d79ec42
FEG
37142012-08-08 Fabián Ezequiel Gallina <fgallina@cuca>
3715
3716 * progmodes/python.el Fixed defsubst warning.
3717 (python-syntax-context) Rename from python-info-ppss-context.
3718 (python-syntax-context-type): Rename from
3719 python-info-ppss-context-type.
3720 (python-syntax-comment-or-string-p): Rename from
3721 python-info-ppss-comment-or-string-p.
3722
2bd255dd
JB
37232012-08-08 Jay Belanger <jay.p.belanger@gmail.com>
3724
3725 * calc/calc-misc.el (calc-record-why): Don't record a message twice.
3726
c395097f
AS
37272012-08-07 Andreas Schwab <schwab@linux-m68k.org>
3728
6125983e
AS
3729 * emacs-lisp/lisp-mode.el (eval-defun-1): Handle standard value of
3730 a defcustom that is quoted with backquote.
3731
4250fdf5
SM
3732 * calc/calc-prog.el (math-do-defmath): Use backquote forms.
3733 Fix handling of interactive spec when the body uses return.
651eaf36
AS
3734 (math-do-arg-check, math-define-function-body): Use backquote forms.
3735 * calc/calc-ext.el (math-defcache): Likewise.
3736 * calc/calc-rewr.el (math-rwfail, math-rweval): Likewise.
3737 * allout.el (allout-new-exposure): Likewise.
3738 * calc/calcalg2.el (math-tracing-integral): Likewise.
3739 * info.el (Info-last-menu-item): Likewise.
3740 * emulation/vip.el (vip-loop): Likewise.
3741 * textmodes/artist.el (artist-funcall): Likewise.
3742 * menu-bar.el (menu-bar-make-mm-toggle, menu-bar-make-toggle):
3743 Construct menu-item directly.
3744
4250fdf5
SM
3745 * progmodes/autoconf.el (font-lock-syntactic-keywords):
3746 Don't declare.
c395097f 3747
5fb50dd3
CY
37482012-08-07 Chong Yidong <cyd@gnu.org>
3749
3750 * simple.el (deactivate-mark): Preserve text properties when
3751 saving the primary selection (Bug#8384).
3752
54eea618
KR
37532012-08-07 Kevin Ryde <user42@zip.com.au>
3754
3755 * woman.el (woman0-if): Quietly treat ".if v" as false (Bug#12109).
3756 (woman-parse-numeric-value): On a bad .IP line, issue a warning
3757 and continue processing (Bug#12110).
3758
638eaeb9
SM
37592012-08-06 Stefan Monnier <monnier@iro.umontreal.ca>
3760
3761 * progmodes/cperl-mode.el (cperl-mode): Yet another fix for
3762 syntax-propertize-function (bug#10095).
3763
ea376861
SM
37642012-08-06 Stefan Monnier <monnier@iro.umontreal.ca>
3765
f91b35be
SM
3766 * help-fns.el (help-fns--key-bindings, help-fns--signature)
3767 (help-fns--parent-mode, help-fns--obsolete): New funs, extracted from
3768 describe-function-1.
3769 (describe-function-1): Use them. Move compiler macro after sig.
3770 (help-fns--compiler-macro): Use function-get. Assume we're already in
3771 standard-output. Adjust layout to new call order.
3772
ea376861
SM
3773 * emacs-lisp/cl-macs.el (cl--sm-macroexpand): Fix handling of
3774 re-binding a symbol that has a symbol-macro (bug#12119).
3775
d5be7bd0
MB
37762012-08-06 Mohsen BANAN <libre@mohsen.1.banan.byname.net>
3777
3778 * language/persian.el: New file. (Bug#11812)
3779 * loadup.el: Add language/persian.el.
3780
90749b53
CY
37812012-08-06 Chong Yidong <cyd@gnu.org>
3782
3783 * window.el (window--maybe-raise-frame): New function.
3784 (window--display-buffer): Split off from here.
3785 (display-buffer-reuse-window, display-buffer-pop-up-frame)
3786 (display-buffer-pop-up-window, display-buffer-use-some-window):
3787 Obey an inhibit-switch-frame action alist entry.
3788 (display-buffer): Update doc.
3789
3790 * replace.el (occur-after-change-function): Avoid losing focus by
3791 using the inhibit-switch-frame display parameter (Bug#12139).
3792
ba7b0154
FEG
37932012-08-06 Fabián Ezequiel Gallina <fgallina@cuca>
3794
3795 Make internal shell process buffer names start with space.
3796 * progmodes/python.el (python-shell-make-comint): Add optional
3797 argument INTERNAL.
3798 (run-python-internal): Use it.
3799 (python-shell-internal-get-or-create-process): Check for new
3800 internal buffer names.
3801
5eaeacb5
GM
38022012-08-06 Glenn Morris <rgm@gnu.org>
3803
e296d94b 3804 * eshell/esh-ext.el (eshell/addpath): Use dolist and mapconcat.
5eaeacb5
GM
3805 Do less getting and setting of environment variables.
3806
b7ccbdc2
CY
38072012-08-05 Chong Yidong <cyd@gnu.org>
3808
777fe95e
CY
3809 * proced.el (proced): Add substitution string to docstring to
3810 trigger autoloading of the proced library on C-h f (Bug#1768).
3811
4250fdf5
SM
3812 * emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression):
3813 Don't show defvars which have no second argument (Bug#8638).
b7ccbdc2
CY
3814
3815 * imenu.el (imenu-generic-expression): Move documentation here
3816 from imenu--generic-function.
3817 (imenu--generic-function): Refer to imenu-generic-expression.
3818
9e3b7800 38192012-08-05 Vegard Øye <vegard_oye@hotmail.com> (tiny change)
d5c31f1d
3820
3821 * emulation/viper-init.el (viper-deflocalvar): Add docstring and
3822 indentation declaration.
3823 (viper-loop): Add indentation declaration (Bug#7025).
3824
e5d9c0d1
CY
38252012-08-05 Chong Yidong <cyd@gnu.org>
3826
f0422feb
CY
3827 * help-fns.el (describe-variable): Add hyperlink for
3828 directory-local variables files. Improve buffer-local and
3829 permanent-local reporting; suggested by MON KEY (Bug#6644).
3830
3831 * help-mode.el (help-dir-local-var-def): New button type.
3832
e5d9c0d1
CY
3833 * files.el (kill-buffer-hook): Provide a defvar.
3834
a4f2deaa
GM
38352012-08-05 Glenn Morris <rgm@gnu.org>
3836
3837 * eshell/esh-ext.el (eshell/addpath):
3838 Also update eshell-path-env. (Bug#12013)
3839
a9dd5754
CY
38402012-08-05 Chong Yidong <cyd@gnu.org>
3841
a4f2deaa 3842 * wdired.el (wdired-mode, wdired-change-to-wdired-mode): Doc fixes.
615b0bf0 3843
d014c740
CY
3844 * fringe.el (fringe-styles): Add docstring.
3845 (fringe--check-mode): New function.
3846 (set-fringe-mode, set-fringe-style): Use it.
3847 (fringe-mode, set-fringe-style): Doc fixes (Bug#6480).
3848
a9dd5754
CY
3849 * files.el (set-auto-mode): Fix invalid setq call.
3850
7c2dc8bd
SM
38512012-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
3852
3853 * isearch.el: Misc simplification; use defstruct.
3854 (isearch-mode-map): Dense maps now work like sparse ones.
3855 (isearch--state): New defstruct.
3856 (isearch-string-state, isearch-message-state, isearch-point-state)
3857 (isearch-success-state, isearch-forward-state)
3858 (isearch-other-end-state, isearch-word-state, isearch-error-state)
3859 (isearch-wrapped-state, isearch-barrier-state)
3860 (isearch-case-fold-search-state, isearch-pop-fun-state): Remove,
3861 replaced by defstruct's accessors.
3862 (isearch--set-state): Rename from isearch-top-state and change
3863 calling convention.
3864 (isearch-push-state): Use new isearch--get-state.
3865 (isearch-toggle-word): Disable regexp when enabling word.
3866 (isearch-message-prefix): Remove unused arg _c-q-hack.
3867 (isearch-message-suffix): Remove unused arg _ellipsis.
3868
7fcc0070
AS
38692012-08-04 Andreas Schwab <schwab@linux-m68k.org>
3870
3871 * simple.el (list-processes--refresh): For a server use :host or
3872 :local as the address.
97ad0769 3873 (list-processes): Doc fix.
7fcc0070 3874
a11035b8 38752012-08-04 Michal Nazarewicz <mina86@mina86.com>
00340faf
MN
3876
3877 * lisp/mpc.el: Support password in host argument.
3878 (mpc--proc-connect): Parse and use new password element.
3879 Set mpc-proc variable instead of returning process.
3880 (mpc-proc): Adjust accordingly.
3881
6dad7178
EZ
38822012-08-03 Eli Zaretskii <eliz@gnu.org>
3883
18949c2f
EZ
3884 * whitespace.el (whitespace-display-mappings): Use Unicode
3885 codepoints, instead of emacs-mule codepoints. See
3886 http://lists.gnu.org/archive/html/help-gnu-emacs/2012-07/msg00366.html
3887 for the details.
3888
6dad7178
EZ
3889 * files.el (file-truename): Don't skip symlink-chasing part on
3890 windows-nt. Incorporate the resolution of 8+3 short aliases on
4250fdf5
SM
3891 Windows into the loop that recursively chases symlinks.
3892 Compare directory and its parent case-insensitively on MS-Windows and
6dad7178
EZ
3893 MS-DOS.
3894
385b0198
CY
38952012-08-03 Chong Yidong <cyd@gnu.org>
3896
6200f3c4
CY
3897 * menu-bar.el (menu-bar-tools-menu): Remove PCL-CVS.
3898
385b0198
CY
3899 * sort.el (sort-regexp-fields): Doc fix.
3900
b9e74744
TH
39012012-08-03 Tassilo Horn <tsdh@gnu.org>
3902
3903 * textmodes/reftex.el (reftex-compile-variables): Make keyvals
3904 labels regex position point at the expected place.
3905
41013cb4
MK
39062012-08-03 MON KEY <monkey@sandpframing.com>
3907
3908 * net/imap.el (imap-interactive-login, imap-authenticate)
3909 (imap-mailbox-lsub, imap-mailbox-list)
3910 (imap-mailbox-status-asynch, imap-mailbox-acl-delete)
3911 (imap-fetch, imap-message-flag-permanent-p, imap-envelope-from)
3912 (imap-parse-response): Doc fix.
3913
0ffee616
JT
39142012-08-03 João Távora <joaotavora@gmail.com>
3915
3916 * textmodes/tex-mode.el (latex-forward-sexp): Terminate the loop
3917 if sexp scanning does not move point (Bug#5734).
3918
cfcc9cc8
TH
39192012-08-02 Tassilo Horn <tsdh@gnu.org>
3920
3921 * textmodes/reftex-vars.el (reftex-default-label-alist-entries):
3922 Add listings, minted, and ctable packages.
3923 (reftex-label-alist-builtin): Move listings, minted, and ctable
3924 entries before LaTeX.
a01bbb84 3925 (reftex-label-alist): Docfix.
cfcc9cc8 3926
66ec2442
BG
39272012-08-02 Bastien Guerry <bzg@gnu.org>
3928
3929 * replace.el (occur): Fix docstring (bug#12122).
3930
837b365b
GM
39312012-08-02 Glenn Morris <rgm@gnu.org>
3932
3933 * emacs-lisp/authors.el (authors-renamed-files-alist): Add ms-w32.h.
3934
e098de97
PE
39352012-08-02 Paul Eggert <eggert@cs.ucla.edu>
3936
3937 Obsolete alias inactivate-current-input-method-function (Bug#10150).
3938 * international/mule-cmds.el: Create
3939 inactivate-current-input-method-function as an obsolete alias for
3940 deactivate-current-input-method-function. See Katsumi Yamaoka in
3941 <http://bugs.gnu.org/10150#46>.
3942
a0f95636
JB
39432012-08-01 Jay Belanger <jay.p.belanger@gmail.com>
3944
3945 * calc/calc-mode.el (calc-set-simplify-mode): Use `cond' instead
3946 of nested `if's.
3947
0d26d7c4
GM
39482012-08-01 Glenn Morris <rgm@gnu.org>
3949
3950 * progmodes/autoconf.el (autoconf-definition-regexp):
3951 Add AH_TEMPLATE, adjust submatch numbering.
3952 (autoconf-font-lock-keywords, autoconf-imenu-generic-expression)
3953 (autoconf-current-defun-function): Update for above change.
3954 (autoconf-current-defun-function): First skip to end of current word.
3955
b686ba06
RS
39562012-08-01 Rupert Swarbrick <rswarbrick@gmail.com> (tiny change)
3957
3958 * calendar/cal-html.el (cal-html-insert-agenda-days):
3959 Fix typo. (Bug#12018)
3960
0d49da68
FEG
39612012-07-31 Fabián Ezequiel Gallina <fgallina@cuca>
3962
3963 Shell processes: enhancements to startup and CEDET compatibility.
3964 * progmodes/python.el (python-shell-send-setup-max-wait): Delete var.
3965 (python-shell-make-comint): accept-process-output at startup.
3966 (run-python-internal): Set inferior-python-mode-hook to nil.
3967 (python-shell-internal-get-or-create-process): call sit-for.
3968 (python-preoutput-result): Add obsolete alias.
3969 (python-shell-internal-send-string): Use it.
3970 (python-shell-send-setup-code): Remove call to
3971 accept-process-output.
3972
f1a71c6e
AS
39732012-07-31 Andreas Schwab <schwab@linux-m68k.org>
3974
3975 * buff-menu.el (list-buffers-noselect): Use prefix-numeric-value.
3976 (Bug#12108)
3977
d2605269
JB
39782012-07-31 Jay Belanger <jay.p.belanger@gmail.com>
3979
3980 * calc-mode.el (calc-basic-simplification-mode): Rename from
3981 `calc-limited-simplification-mode'.
3982 (calc-alg-simplification-mode): New function.
fc0c31f8 3983 (calc-set-simplify-mode): Adjust message.
f1a71c6e 3984
d2605269
JB
3985 * calc.el (calc-set-mode-line): Adjust mode line display for
3986 basic simplification mode.
3987
3988 * calc-help.el (calc-m-prefix-help): Update help message.
3989
3990 * calc-ext.el (calc-init-extensions): Add bindings and autoloads
3991 for `calc-basic-simplify-mode' and `calc-alg-simplify-mode'.
3992
a3827a43
BG
39932012-07-31 Bastien Guerry <bzg@gnu.org>
3994
3995 * man.el (man): Fix comment. (bug#12101)
3996
502e3f89
MR
39972012-07-31 Martin Rudalics <rudalics@gmx.at>
3998
3999 * window.el (switch-to-prev-buffer, switch-to-next-buffer):
4000 Don't return a non-nil value when no suitable buffer was found.
4001
d7714961
FEG
40022012-07-31 Fabián Ezequiel Gallina <fgallina@cuca>
4003
4004 * progmodes/python.el (run-python-internal): Disable font lock for
4005 internal shells.
4006
1f45e27e
SM
40072012-07-30 Stefan Merten <smerten@oekonux.de>
4008
70efc5c9 4009 * textmodes/rst.el: Silence `checkdoc-ispell'.
1f45e27e
SM
4010 (rst-cvs-header, rst-svn-rev, rst-svn-timestamp)
4011 (rst-official-version, rst-official-cvs-rev)
4012 (rst-package-emacs-version-alist): Update to upstream V1.3.1.
4013 (rst-mode-map): New key binding.
4014
0aee6912
PE
40152012-07-30 Paul Eggert <eggert@cs.ucla.edu>
4016
4017 Update .PHONY listings in makefiles.
4018 * Makefile.in (.PHONY): Add all, doit, custom-deps, finder-data,
4019 autoloads, update-subdirs, updates, bzr-update, update-authors,
4020 compile-onefile, compile-calc, backup-compiled-files,
4021 compile-after-backup, compile-one-process, mh-autoloads,
4022 bootstrap-clean, distclean, maintainer-clean.
4023
9052f9f0
JB
40242012-07-29 Jay Belanger <jay.p.belanger@gmail.com>
4025
1823ac5a
JB
4026 * calc/calc.el (calc-simplify-mode): Make 'alg the default value.
4027 (calc-set-mode-line): Don't display "AlgSimp ".
4028
4029 * calc/calc-mode.el (calc-alg-simplify-mode): Remove function.
4030 (calc-lim-simplify-mode): New function.
4031 (calc-set-simplify-mode): Default to 'alg.
4032 (calc-default-simplify-mode): Make algebraic simplifications
4033 the default.
4034
4035 * calc/calc-ext.el (calc-init-extensions): Remove binding for
4036 `calc-alg-simplify-mode'. Add binding for `calc-lim-simplify-mode'.
4037
8d7c7eed 4038 * calc/calc-help.el (calc-m-prefix-help): Change messages to
4b337409
JB
4039 indicate new simplification modes.
4040
1823ac5a
JB
4041 * calc/README: Mention new default simplification mode.
4042
9052f9f0
JB
4043 * calc/calc.el (math-normalize-error): New variable.
4044 (math-normalize): Set `math-normalize-error' to t
4045 when there's an error.
4046
4047 * calc/calc-alg.el (math-simplify): Don't simplify when
4048 `math-normalize' returns an error.
4049
20ba0cb4
EZ
40502012-07-29 Eli Zaretskii <eliz@gnu.org>
4051
4052 * international/mule-cmds.el (set-locale-environment): Revert last
4053 change, since display-graphic-p returns nil when this function is
4054 called during startup. Instead...
4055
4056 * term/w32console.el (terminal-init-w32console): ...setup the
4057 keyboard and terminal encoding for TTY sessions here. (Bug#12082)
4058
a5dcc929
JL
40592012-07-29 Juri Linkov <juri@jurta.org>
4060
4061 * simple.el (goto-line): Don't display default line number in the
4062 prompt because it should be displayed by `read-number' (bug#9952).
4063 Add the current line number to the defaults of `goto-line' to
4064 allow its easier modification by users with `M-n' (bug#9201).
4065
4066 * subr.el (read-number): Support multiple default values like in
4067 other minibuffer reading functions. Replace `read' with
4068 `string-to-number' for consistency with `number-to-string'.
4069
72b255c7
PE
40702012-07-29 Paul Eggert <eggert@cs.ucla.edu>
4071
4072 deactive->inactive, inactivate->deactivate spelling fixes (Bug#10150)
4073 * emulation/viper-init.el (viper-deactivate-input-method-action):
4074 Rename from viper-inactivate-input-method-action.
4075 (viper-deactivate-input-method):
4076 Rename from viper-inactivate-input-method.
4077 * follow.el (follow-inactive-menu): Rename from follow-deactive-menu.
4078 * international/mule-cmds.el (deactivate-input-method):
4079 Rename from inactivate-input-method.
4080 Also run input-method-deactivate-hook.
4081 (deactivate-current-input-method-function):
4082 Rename from inactivate-current-input-method-function.
4083 (input-method-deactivate-hook): New hook.
4084 (input-method-inactivate-hook): Mark obsolete.
bb6eb9fc
PE
4085 (inactivate-input-method): Mark obsolete.
4086
72b255c7
PE
4087 * international/quail.el (quail-activate):
4088 Also run quail-deactivate-hook.
4089 (quail-deactivate): Rename from quail-inactivate.
4090 * international/robin.el (robin-activate):
4091 Also run robin-deactivate-hook.
4092 (robin-deactivate): Rename from robin-inactivate.
4093
2549c068
CY
40942012-07-29 Chong Yidong <cyd@gnu.org>
4095
4096 * simple.el (indicate-copied-region): New function.
4097 (kill-ring-save): Split off from here.
4098
4099 * rect.el (copy-rectangle-as-kill): Call indicate-copied-region.
4100 (kill-rectangle): Set deactivate-mark to t on read-only error.
4101
4102 * register.el (copy-to-register, copy-rectangle-to-register):
4103 Deactivate the mark, and use indicate-copied-region (Bug#10056).
4c478e6b
JL
4104 (append-to-register, prepend-to-register): Call indicate-copied-region.
4105
41062012-07-29 Juri Linkov <juri@jurta.org>
17711ed9
JL
4107
4108 * simple.el (async-shell-command-buffer): New defcustom.
4109 (shell-command): Use it. (Bug#4719)
4110
01bd1b0d
EZ
41112012-07-28 Eli Zaretskii <eliz@gnu.org>
4112
4113 * international/mule-cmds.el (set-locale-environment): In a
4114 console session on MS-Windows, set up keyboard and terminal
4115 encoding from the OEM codepage, not the ANSI codepage.
4116 (Bug#12055)
4117
a55739d3
CY
41182012-07-28 Chong Yidong <cyd@gnu.org>
4119
4120 * progmodes/gdb-mi.el (gdb-place-breakpoints): Fix the call to
4121 gdb-get-location.
4122
0e1a094f 41232012-07-28 Leo Liu <sdl.web@gmail.com>
9a0f8f2e
LL
4124
4125 * progmodes/cc-menus.el (cc-imenu-objc-function): Avoid leaving nil in
4126 the alist (bug#12029).
4127
20329d73
EZ
41282012-07-28 Eli Zaretskii <eliz@gnu.org>
4129
4130 * makefile.w32-in (custom-deps, finder-data, updates, compile)
4131 (compile-always, compile-first)
4132 ($(lisp)/calendar/cal-loaddefs.el)
4133 ($(lisp)/calendar/diary-loaddefs.el)
4134 ($(lisp)/calendar/hol-loaddefs.el, $(lisp)/mh-e/mh-loaddefs.el)
4135 ($(lisp)/net/tramp-loaddefs.el, bootstrap)
4136 ($(lisp)/progmodes/cc-mode.elc): Depend on $(lisp)subdirs.el,
4137 instead of on update-subdirs.
4138 (bootstrap-clean): Delete $(lisp)/subdirs.el.
4139
345a2258
CY
41402012-07-28 Chong Yidong <cyd@gnu.org>
4141
1eee6341
CY
4142 * vc/vc.el (vc-root-diff, vc-print-root-log): Prompt for a
4143 directory if vc-deduce-backend returns nil (Bug#7350).
4144
345a2258
CY
4145 * simple.el (delete-trailing-lines): New option.
4146 (delete-trailing-whitespace): Obey it (Bug#11879).
4147
049a0936
DE
41482012-07-28 David Engster <deng@randomsample.de>
4149
4150 * xml.el (xml-node-name, xml-parse-file, xml-parse-region):
4151 Explanation of new 'symbol-qnames feature in doc-strings.
4152 (xml-maybe-do-ns): Return expanded names as plain symbols if
4153 'symbol-qnames was provided in XML-NS argument (Bug#11916).
4154 (xml-parse-tag-1): Deal with new definition of PARSE-NS argument.
4155
aa81af71
FEG
41562012-07-27 Fabián Ezequiel Gallina <fgallina@cuca>
4157
4158 Consistent completion in inferior python with emacs -nw.
4159 * progmodes/python.el (inferior-python-mode): replace "<tab>"
4160 binding in inferior-python-mode-map with "\t".
4161 (python-shell-completion-complete-at-point)
4162 (python-completion-complete-at-point): Remove interactive spec.
4163
e827b1eb
JB
41642012-07-27 Jay Belanger <jay.p.belanger@gmail.com>
4165
4166 * calc/calccomp.el (math-compose-expr): Undo previous change.
4167
a90dfb95
FEG
41682012-07-27 Fabián Ezequiel Gallina <fgallina@cuca>
4169
4250fdf5 4170 * progmodes/python.el (python-mode-map): Add keybinding for
a90dfb95
FEG
4171 run-python.
4172 (python-shell-make-comint): Fix pop-to-buffer call.
4173 (run-python): Autoload. New arg SHOW.
4174 (python-shell-get-or-create-process): Do not pop python process
4175 buffer.
4176
32770973 41772012-07-27 Michael Albinus <michael.albinus@gmx.de>
1c6ef030
MA
4178
4179 * notifications.el (notifications-on-action-signal)
4180 (notifications-on-closed-signal): Use also the bus address for the map.
4181 (notifications-notify, notifications-close-notification)
fc0c31f8 4182 (notifications-get-capabilities): Add optional argument BUS.
1c6ef030 4183
86332df2
TH
41842012-07-27 Tassilo Horn <tsdh@gnu.org>
4185
4250fdf5
SM
4186 * textmodes/reftex-vars.el (reftex-label-alist-builtin):
4187 Add support for the lstlisting and minted environments, and for the
86332df2
TH
4188 ctable macro.
4189 * textmodes/reftex.el (reftex-compile-variables): Also recognize
4190 labels written in keyvals syntax.
4191
ca1302a4
JB
41922012-07-27 Jay Belanger <jay.p.belanger@gmail.com>
4193
4194 * calc/calccomp.el (math-compose-expr): Use parentheses when
4195 there is a product in the denominator of a fraction.
4196
f8b91036
EZ
41972012-07-26 Eli Zaretskii <eliz@gnu.org>
4198
4199 * makefile.w32-in ($(lisp)/calendar/cal-loaddefs.el)
4200 ($(lisp)/calendar/diary-loaddefs.el)
4201 ($(lisp)/calendar/hol-loaddefs.el, $(lisp)/mh-e/mh-loaddefs.el)
4250fdf5
SM
4202 ($(lisp)/net/tramp-loaddefs.el): Depend on update-subdirs.
4203 Fixes failures in parallel bootstrap because subdirs.el is being
f8b91036
EZ
4204 rewritten while the autoload files are built at the same time,
4205 which needs to load subdirs.el.
4206
c8e5a42c
MR
42072012-07-26 Martin Rudalics <rudalics@gmx.at>
4208
4209 * mouse.el (popup-menu): Fix doc-string and re-indent code.
4210 (mouse-drag-line): Don't exit tracking when a switch-frame or
4211 switch-window event occurs (Bug#12006).
4212
670d85ea
SM
42132012-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
4214
4215 * mouse.el (popup-menu): Fix last change.
4216
7abaf5cc
SM
42172012-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
4218
4219 Autoload from Lisp with more care. Follow aliases when looking for
4220 function properties.
4221 * subr.el (autoloadp): New function.
4222 (symbol-file): Use it.
4223 (function-get): New function.
4224 * emacs-lisp/macroexp.el (macroexp--expand-all): Use function-get and
4225 autoload-do-load.
4226 * emacs-lisp/lisp-mode.el (lisp-font-lock-syntactic-face-function)
4227 (lisp-indent-function):
4228 * emacs-lisp/gv.el (gv-get):
4229 * emacs-lisp/edebug.el (get-edebug-spec, edebug-basic-spec):
4230 * emacs-lisp/byte-opt.el (byte-optimize-form):
4231 * emacs-lisp/bytecomp.el (byte-compile-arglist-warn):
4232 * emacs-lisp/autoload.el (make-autoload, autoload-print-form):
4233 Use function-get.
4234 * emacs-lisp/cl.el: Don't propagate function properties any more.
4235
4236 * speedbar.el (speedbar-add-localized-speedbar-support):
4237 * emacs-lisp/disass.el (disassemble-internal):
4238 * desktop.el (desktop-load-file):
4239 * help-fns.el (help-function-arglist, find-lisp-object-file-name)
4240 (describe-function-1):
4241 * emacs-lisp/find-func.el (find-function-noselect):
4242 * emacs-lisp/elp.el (elp-instrument-function):
4243 * emacs-lisp/advice.el (ad-has-proper-definition):
4244 * apropos.el (apropos-safe-documentation, apropos-macrop):
4245 * emacs-lisp/debug.el (debug-on-entry):
4246 * emacs-lisp/cl-macs.el (cl-compiler-macroexpand):
4247 * emacs-lisp/byte-opt.el (byte-compile-inline-expand):
4248 * calc/calc.el (name): Use autoloadp & autoload-do-load.
4249
b1364986
AA
42502012-07-25 Alp Aker <alp.tekin.aker@gmail.com>
4251
4252 * international/mule-cmds.el (ucs-insert): Mark it as an obsolete
4253 function, not an obsolete variable (Bug#12046).
4254
67ada220
AS
42552012-07-25 Andreas Schwab <schwab@linux-m68k.org>
4256
4257 * faces.el (face-spec-reset-face): Fix last change. (Bug#12042)
4258
f08088e3
CS
42592012-07-25 Christopher Schmidt <christopher@ch.ristopher.com>
4260
4261 * emacs-lisp/pp.el (pp-display-expression): Select old selected
4262 window only if it is still live (Bug#12034).
4263
8137e7b3
MR
42642012-07-25 Martin Rudalics <rudalics@gmx.at>
4265
4266 * subr.el (redirect-frame-focus): Add advertised calling
4267 convention (Bug#12030).
4268
09ae5da1
PE
42692012-07-25 Paul Eggert <eggert@cs.ucla.edu>
4270
4271 Prefer typical American spelling for "acknowledgment".
4272 * vc/add-log.el (change-log-acknowledgment): Rename from
4273 change-log-acknowledgement, with an alias for the old name.
4274
3cc5a3a8
JB
42752012-07-25 Jay Belanger <jay.p.belanger@gmail.com>
4276
4277 * calc-alg.el (math-simplify-divide): Don't cross multiply
4278 in an equation when the lhs is a variable.
4279
b7af7f62
JD
42802012-07-24 Julien Danjou <julien@danjou.info>
4281
4282 * net/netrc.el (netrc-find-service-number, netrc-store-data):
4283 Remove, unused.
4284
ec1b09b1
EZ
42852012-07-23 Eli Zaretskii <eliz@gnu.org>
4286
4287 * startup.el (command-line): Don't display an empty user name in
4288 the error message about non-existent home directory, when
4289 init-file-user was set to an empty string. See
4290 http://lists.gnu.org/archive/html/bug-gnu-emacs/2012-07/msg00835.html
4291 for the details and context.
4292
b525fd8a
VB
42932012-07-22 Vincent Belaïche <vincentb1@users.sourceforge.net>
4294
4295 * ses.el (ses-cell-formula-aset): New macro.
4296 (ses-cell-references-aset): New macro.
4297 (ses-cell-p): New function.
4298 (ses-rename-cell): Do no longer rely on complex operations like
4299 ses-cell-set-formula or ses-set-cell to change the cell and handle
4300 the undo at the same time, but rather use lower level new macros
4301 `ses-cell-formula-aset' and `ses-cell-references-aset' and handle
fc0c31f8 4302 the undo directly. Refresh the mode line.
b525fd8a 4303
2c73e345
LL
43042012-07-21 Leo Liu <sdl.web@gmail.com>
4305
670d85ea
SM
4306 * progmodes/cc-cmds.el (c-defun-name):
4307 Use match-string-no-properties instead for consistency.
2c73e345 4308
542dfbde
LL
43092012-07-20 Leo Liu <sdl.web@gmail.com>
4310
3646bcd6
LL
4311 * progmodes/cc-cmds.el (c-defun-name): Handle objc selectors properly.
4312 (Bug#7879)
4313
542dfbde
LL
4314 * progmodes/cc-langs.el (c-symbol-start): Include char _ (bug#11986).
4315
25721031
CY
43162012-07-20 Stefan Monnier <monnier@iro.umontreal.ca>
4317
4318 * userlock.el, emacs-lisp/map-ynp.el: Declare part of `emacs' package.
4319 * progmodes/bug-reference.el, misearch.el: Provide themselves
4320 (bug#11915).
4321
4322 * progmodes/cperl-mode.el (cperl-unwind-to-safe): Don't inf-loop at end
4323 of narrowed buffer (bug#11966).
4324
316e68a7
VB
43252012-07-20 Vincent Belaïche <vincentb1@users.sourceforge.net>
4326
4327 * ses.el (ses-rename-cell): Set new name also in reference list of
4328 cells of which the renamed cell depends.
4329
bbf0e7d9
MY
43302012-07-20 Masatake YAMATO <yamato@redhat.com>
4331
4332 * term/x-win.el (x-menu-bar-open): Use `frame-parameter'
4333 to check whether menu-bar is shown or not. If not shown,
4334 show the menu-bar as a popup menu instead of using tmm.
4335 * mouse.el (popup-menu): Accept `point' as `position' argument.
4336
c28662a8
DG
43372012-07-20 Dmitry Gutov <dgutov@yandex.ru>
4338
4339 * progmodes/ruby-mode.el (ruby-parse-partial): No error when end
4340 up inside string symbol literal (bug#11923).
4341
87ab808f
EZ
43422012-07-20 Eli Zaretskii <eliz@gnu.org>
4343
4344 * startup.el (fancy-startup-text): Read the whole tutorial, not
4345 just its first 256 bytes. Prevents gibberish in display of the
4346 tutorial title.
4347
89dea803
DA
43482012-07-20 Dmitry Antipov <dmantipov@yandex.ru>
4349
4350 Drop idle buffer compaction due to an absence of the
4351 proved efficiency.
4352 * compact.el: Remove.
4353
8a4e6db8
SS
43542012-07-19 Sam Steingold <sds@gnu.org>
4355
4356 * vc/vc-dispatcher.el (vc-compilation-mode): Add, based on
4357 vc-bzr-pull & vc-bzr-merge-branch.
4358 * vc/vc-bzr.el (vc-bzr-pull, vc-bzr-merge-branch): Use it.
4359 (vc-bzr-error-regexp-alist): Rename from vc-bzr-error-regex-alist
4360 for consistency with compilation-error-regexp-alist.
4361 * vc/vc-git.el (vc-git-error-regexp-alist): Add.
4362 (vc-git-pull, vc-git-merge-branch): Call vc-compilation-mode.
4363 * vc/vc-hg.el (vc-hg-error-regexp-alist): Add.
4364 (vc-hg-pull, vc-hg-merge-branch): Call vc-compilation-mode.
4365
5db81e33
SM
43662012-07-19 Stefan Monnier <monnier@iro.umontreal.ca>
4367
4368 * emacs-lisp/chart.el: Use lexical-binding.
4369 (chart-emacs-storage): Don't hardcode the list of entries.
4370
5b835e1d
DA
43712012-07-19 Dmitry Antipov <dmantipov@yandex.ru>
4372
4373 Next round of tweaks caused by Fgarbage_collect changes.
4374 * emacs-lisp/chart.el (chart-emacs-storage): Adjust again.
4375
9cd47b72
DA
43762012-07-19 Dmitry Antipov <dmantipov@yandex.ru>
4377
4378 Compact buffers when idle.
4379 * compact.el: New file.
4380
1d6fc0df
SM
43812012-07-19 Stefan Monnier <monnier@iro.umontreal.ca>
4382
4383 * subr.el (eventp): Presume that if it looks vaguely like an event,
4384 it's an event (bug#10190).
4385
1d29cc7d
FEG
43862012-07-19 Fabián Ezequiel Gallina <fgallina@cuca>
4387
4388 Enhancements to ppss related code (thanks Stefan).
4389 * progmodes/python.el (python-indent-context)
4390 (python-indent-calculate-indentation, python-indent-dedent-line)
4391 (python-indent-electric-colon, python-nav-forward-block)
4392 (python-mode-abbrev-table)
1d6fc0df 4393 (python-info-assignment-continuation-line-p): Simplify checks
1d29cc7d
FEG
4394 for ppss context.
4395 (python-info-continuation-line-p): Cleanup.
4396 (python-info-ppss-context): Do not catch 'quote.
4397 (python-info-ppss-context-type)
4398 (python-info-ppss-comment-or-string-p): Simplify.
4399
d583cbe6
FEG
44002012-07-18 Fabián Ezequiel Gallina <fgallina@cuca>
4401
4402 * progmodes/python.el: Enhancements to eldoc support.
4403 (python-info-current-symbol): New function.
4404 (python-eldoc-at-point): Use python-info-current-symbol.
4405 (python-info-current-defun): Fix cornercase on first defun scan.
4406 (python-eldoc--get-doc-at-point): Use python-info-current-symbol
4407 and signal error when no inferior python process is available.
4408
eceb6feb
DG
44092012-07-18 Dmitry Gutov <dgutov@yandex.ru>
4410
4411 * vc/vc-git.el (vc-git-state): Don't call `vc-git-registered',
4412 assume it's always t.
4413 (vc-git-registered): Remove caching, the function is only called
4414 once.
4415 (vc-git-branches): Use `vc-git--call' instead of `call-process'.
4416
4c8ff0fe
CY
44172012-07-18 Chong Yidong <cyd@gnu.org>
4418
19fb7186
CY
4419 * subr.el (last-input-char, last-command-char): Remove (Bug#9195).
4420
9587c688
CY
4421 * simple.el (count-words): Report on narrowing (Bug#9959).
4422
0fe776a1
CY
4423 * bindings.el: Bind M-= to count-words.
4424
4c8ff0fe
CY
4425 * faces.el (face-spec-reset-face): Handle reverse video (Bug#4238).
4426
7f5331cc
MY
44272012-07-18 Masatake YAMATO <yamato@redhat.com>
4428
4429 * progmodes/sh-script.el (sh-imenu-generic-expression):
4430 Capture a function with `function' keyword and without parentheses
4431 like "function FOO" (bug#11856).
4432
2dc2a609
TH
44332012-07-18 Tassilo Horn <tassilo@member.fsf.org>
4434
4435 * window.el (split-window-sensibly): Make WINDOW argument
4436 optional.
4437
439f7677
CY
44382012-07-18 Chong Yidong <cyd@gnu.org>
4439
9aeb25a6
CY
4440 * subr.el (keyboard-translate): Doc fix (Bug#7261).
4441
439f7677
CY
4442 * isearch.el (isearch-mode-map): Handle C-x 8 key translations,
4443 and make C-x 8 RET exit isearch (Bug#11439).
4444
4445 * international/iso-transl.el: Move isearch-mode-map key
4446 definitions to isearch.el.
4447
12999ea8
SM
44482012-07-18 Stefan Monnier <monnier@iro.umontreal.ca>
4449
4450 * emacs-lisp/eieio.el: Adapt further to gv.el (bug#11970).
4451 (eieio-defclass): Use gv-define-setter when possible.
4452
3ab6e069
DA
44532012-07-18 Dmitry Antipov <dmantipov@yandex.ru>
4454
4455 Reflect recent changes in Fgarbage_collect.
4456 * emacs-lisp/chart.el (chart-emacs-storage): Change to
4457 reflect new format of data returned by Fgarbage_collect.
4458
0a60bc10
FEG
44592012-07-17 Fabián Ezequiel Gallina <fgallina@cuca>
4460
4461 New utility functions + python-info-ppss-context fix (Bug#11910).
4462 * progmodes/python.el (python-info-beginning-of-block-statement-p)
4463 (python-info-ppss-comment-or-string-p): New functions.
4464 (python-info-ppss-context): Small fix for string check.
4465
6dafa0d5
JL
44662012-07-17 Juri Linkov <juri@jurta.org>
4467
4468 * dired-aux.el (dired-do-async-shell-command): Doc fix.
4469 (dired-do-async-shell-command): Don't add `*' at the end of the
4470 command (Bug#11815).
4471 (dired-do-shell-command): Doc fix.
4472 (dired-shell-stuff-it): Strip the trailing "&" and ";" if any.
4473 Join the individual commands using either "&" or ";" as the
4474 separator depending on the values of these trailing characters.
4475 At the end re-add the trailing "&". (Bug#10598)
4476
4477 * simple.el (async-shell-command): Sync the interactive spec with
4478 `shell-command'. Doc fix.
4479 (shell-command): Doc fix.
4480
b19dd9d1
JL
44812012-07-17 Juri Linkov <juri@jurta.org>
4482
4483 * descr-text.el (describe-char): Fix format args. (Bug#10129)
4484
bcdc27d7 44852012-07-17 Fabián Ezequiel Gallina <fgallina@cuca>
7f5331cc 4486
bcdc27d7 4487 Final renames and doc fixes for movement commands (bug#11899).
7f5331cc
MY
4488 * progmodes/python.el (python-nav-beginning-of-statement):
4489 Rename from python-nav-statement-start.
bcdc27d7
FEG
4490 (python-nav-end-of-statement): Rename from
4491 python-nav-statement-end.
4492 (python-nav-beginning-of-block): Rename from
4493 python-nav-block-start.
4494 (python-nav-end-of-block): Rename from python-nav-block-end.
4495
191da00e
FEG
44962012-07-17 Fabián Ezequiel Gallina <fgallina@cuca>
4497
7f5331cc
MY
4498 * progmodes/python.el (python-shell-send-string-no-output):
4499 Allow accept-process-output to quit, keeping shell process ready for
191da00e
FEG
4500 future interactions (Bug#11868).
4501
4dc7c8d5 45022012-07-17 Stefan Monnier <monnier@iro.umontreal.ca>
aa7aaf8f 4503
88ecaf8f
SM
4504 * emacs-lisp/cl-macs.el (cl-progv): Use a properly prefixed var name.
4505
ef501ef0
SM
4506 * emacs-lisp/elint.el (elint-find-args-in-code):
4507 Use help-function-arglist, so as to handle lexical byte-code.
4508
aa7aaf8f
SM
4509 * progmodes/sh-script.el (sh-syntax-propertize-function): Fix last
4510 change (bug#11826).
4511
45fd731c
SM
45122012-07-17 Stefan Monnier <monnier@iro.umontreal.ca>
4513
2143fa32
SM
4514 * progmodes/cc-engine.el (c-forward-sws, c-backward-sws):
4515 Avoid spuriously marking the buffer as modified because of c-is-sws.
4516
efc26dbe
SM
4517 * progmodes/sh-script.el (sh-syntax-propertize-function): Mark "${#VAR"
4518 as not-a-comment (bug#11946).
4519
f5695c9a
SM
4520 * emacs-lisp/macroexp.el (macroexp-let2): Use more informative names
4521 for uninterned vars.
4522
4523 * xt-mouse.el (xterm-mouse-translate-1, xterm-mouse-event-read):
4524 Use read-event since we don't really want to read chars but bytes.
4525
45fd731c
SM
4526 * textmodes/tex-mode.el (tex-font-lock-keywords-1): Highlight not only
4527 $$..$$ but also $..$ using regexps (bug#11953).
4528 Use tex-verbatim for \url and \path.
4529 (tex-font-lock-keywords): Define as defconst like the others.
4530 (tex-common-initialization): Don't use font-lock-syntax-table any more.
4531
ddfc8813
RK
45322012-07-16 René Kyllingstad <Rene@Kyllingstad.com> (tiny change)
4533
4534 * international/mule-cmds.el (ucs-insert): Make it an obsolete
4535 alias for insert-char.
4536
758e556a
FEG
45372012-07-16 Fabián Ezequiel Gallina <fgallina@cuca>
4538
4539 * progmodes/python.el: Simplified imenu implementation.
4540 (python-nav-jump-to-defun): Remove command.
4541 (python-mode-map): Use `imenu' instead.
4542 (python-nav-list-defun-positions-cache)
4543 (python-imenu-include-defun-type, python-imenu-make-tree)
4544 (python-imenu-subtree-root-label, python-imenu-index-alist):
4545 Remove vars.
4546 (python-nav-list-defun-positions, python-nav-read-defun)
4547 (python-imenu-tree-assoc, python-imenu-make-element-tree)
45fd731c
SM
4548 (python-imenu-make-tree, python-imenu-create-index):
4549 Remove functions.
758e556a
FEG
4550 (python-mode): Update to interact with imenu by setting
4551 `imenu-extract-index-name-function' only.
4552
032d23ab
FEG
45532012-07-16 Fabián Ezequiel Gallina <fgallina@cuca>
4554
4555 * progmodes/python.el: Enhancements to navigation commands.
4556 (python-nav-backward-sentence)
4557 (python-nav-forward-sentence): Remove.
4558 (python-nav-backward-statement, python-nav-forward-statement)
4559 (python-nav-statement-start, python-nav-statement-end)
4560 (python-nav-backward-block, python-nav-forward-block)
4561 (python-nav-block-start, python-nav-block-end)
4562 (python-nav-forward-sexp-function)
4563 (python-info-current-line-comment-p)
4564 (python-info-current-line-empty-p): New functions.
4565 (python-indent-context): Use `python-nav-statement-start'.
4566
01795a1b
MA
45672012-07-16 Michael Albinus <michael.albinus@gmx.de>
4568
9328d9aa
MA
4569 * eshell/em-ls.el (eshell/ls): Use `apply'.
4570
4571 * eshell/em-unix.el (eshell/su, eshell/sudo): Apply Tramp's ad-hoc
4572 multi-hops, instead of Tramp internals.
4573
01795a1b
MA
4574 * vc/ediff.el (ediff-directories): Add trailing space to prompts.
4575
4576 * vc/ediff-diff.el (ediff-same-file-contents): Handle the case,
4577 when F1 and F2 are located on different hosts.
4578
63408057
CY
45792012-07-14 Chong Yidong <cyd@gnu.org>
4580
4581 * xt-mouse.el: Implement extended mouse coordinates (Bug#10642).
4582 (xterm-mouse-translate): Move code into xterm-mouse-translate-1.
4583 (xterm-mouse-translate-extended, xterm-mouse-translate-1)
4584 (xterm-mouse--read-event-sequence-1000)
4585 (xterm-mouse--read-event-sequence-1006): New functions. For old
4586 mouse protocol, handle M-mouse-X events correctly.
4587 (xterm-mouse-event): New arg specifying mouse protocol.
4588 (turn-on-xterm-mouse-tracking-on-terminal)
4589 (turn-off-xterm-mouse-tracking-on-terminal): Send DEC 1006
45fd731c
SM
4590 sequence to toggle extended coordinates on newer XTerms.
4591 This appears to be harmless on terminals which do not support this.
63408057 4592
cd276f6e
LL
45932012-07-14 Leo Liu <sdl.web@gmail.com>
4594
28ca98ac
LL
4595 Add fringe bitmap indicators for flymake. (Bug#11253)
4596 * progmodes/flymake.el (flymake-highlight-line): Use fringe bitmaps.
4597 (flymake-make-overlay): New arg BITMAP.
4598 (flymake-error-bitmap, flymake-warning-bitmap)
4599 (flymake-fringe-indicator-position): New user variables.
4600
cd276f6e
LL
4601 * fringe.el: New bitmap exclamation-mark.
4602
04408072
JD
46032012-07-14 Jan Djärv <jan.h.d@swipnet.se>
4604
4605 * progmodes/cc-cmds.el (c-defun-name): Recognize Objective-C methods
4606 also (Bug#7879).
4607
b5cf7fc4
CY
46082012-07-14 Chong Yidong <cyd@gnu.org>
4609
4610 * electric.el (electric-pair-post-self-insert-function): Fix pair
4611 insertion in empty-region case (Bug#11520).
4612
be755c79
RT
46132012-07-14 Chong Yidong <cyd@gnu.org>
4614
45fd731c
SM
4615 * bindings.el: Consolidate ctl-x-r-map bindings.
4616 Bind copy-rectangle-as-kill to C-x r w.
be755c79
RT
4617
4618 * rect.el, register.el: Move bindings to bindings.el.
4619
46202012-07-14 Reuben Thomas <rrt@sc3d.org>
4621
4622 * rect.el (copy-rectangle-as-kill): New command (Bug#739).
4623
7f5b3198
AS
46242012-07-13 Andreas Schwab <schwab@linux-m68k.org>
4625
4626 * emacs-lisp/cl.el (labels): Remove spurious quote. (Bug#11938)
4627
97662200
JB
46282012-07-13 Juanma Barranquero <lekktu@gmail.com>
4629
80185fed
JB
4630 * bindings.el (top): Use `mapc' instead of `mapcar'.
4631
97662200
JB
4632 * loadup.el (top): Remove bogus `if' choice (brought by 2008-06-21T01:38:39Z!monnier@iro.umontreal.ca).
4633
2bb1ae55
MA
46342012-07-13 Michael Albinus <michael.albinus@gmx.de>
4635
4636 * progmodes/sql.el (sql-comint): Suppress the check for program on
4637 remote hosts. Reported by Francis Devereux <francis@devrx.org>.
4638 (Bug#11908)
4639
dea31bd3
CY
46402012-07-13 Chong Yidong <cyd@gnu.org>
4641
4642 * bindings.el: Assign a non-nil permanent-local property to
4643 per-buffer variables which lack a default value (Bug#11930).
4644
4645 * help-fns.el (describe-variable): In the "automatically becomes
4646 local" notice, take note of permanent-local variables.
4647
b68b3337
CY
46482012-07-13 Chong Yidong <cyd@gnu.org>
4649
4650 * files.el (toggle-read-only): Doc fix and code cleanup. New arg
4651 to allow printing the message when called from Lisp.
4652
4653 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
4654 Remove toggle-read-only.
4655
4656 * bs.el (bs-toggle-readonly):
45fd731c
SM
4657 * buff-menu.el (Buffer-menu-toggle-read-only):
4658 Remove with-no-warnings around toggle-read-only.
b68b3337
CY
4659
4660 * ffap.el (ffap--toggle-read-only): Accept a list of buffers.
4661 Remove with-no-warnings around toggle-read-only.
4662 (ffap-read-only, ffap-read-only-other-window)
4663 (ffap-read-only-other-frame): Callers changed.
4664
4665 * help-mode.el: Don't require view package.
4666 (help-mode-finish): Set buffer-read-only instead of calling
4667 toggle-read-only.
4668
4669 * bindings.el (mode-line-toggle-read-only):
4670 * dired.el (dired-toggle-read-only):
4671 * ibuffer.el (ibuffer-do-toggle-read-only): Call toggle-read-only
4672 with non-nil second arg.
4673
4674 * emacs-lisp/eieio-custom.el (eieio-customize-object):
4675 * vc/ediff.el (ediff-set-read-only-in-buf-A): Set buffer-read-only
4676 directly.
4677
56bc1586
EZ
46782012-07-12 Eli Zaretskii <eliz@gnu.org>
4679
4680 * emacs-lisp/bytecomp.el (byte-recompile-directory): Use cl-incf,
4681 not incf.
4682
a464a6c7
SM
46832012-07-11 Stefan Monnier <monnier@iro.umontreal.ca>
4684
4685 More CL cleanups and reduction of use of cl.el.
4686 * woman.el, winner.el, vc/vc-rcs.el, vc/vc-hooks.el, vc/vc-hg.el:
4687 * vc/vc-git.el, vc/vc-dir.el, vc/vc-bzr.el, vc/vc-annotate.el:
4688 * textmodes/tex-mode.el, textmodes/sgml-mode.el, tar-mode.el:
4689 * strokes.el, ses.el, server.el, progmodes/js.el, progmodes/gdb-mi.el:
4690 * progmodes/flymake.el, progmodes/ebrowse.el, progmodes/compile.el:
4691 * play/tetris.el, play/snake.el, play/pong.el, play/landmark.el:
4692 * play/hanoi.el, play/decipher.el, play/5x5.el, nxml/nxml-mode.el:
4693 * net/secrets.el, net/quickurl.el, midnight.el, mail/footnote.el:
4694 * image-dired.el, ibuffer.el, ibuf-macs.el, ibuf-ext.el, hexl.el:
4695 * eshell/eshell.el, eshell/esh-io.el, eshell/esh-ext.el:
4696 * eshell/esh-cmd.el, eshell/em-ls.el, eshell/em-hist.el:
4697 * eshell/em-cmpl.el, eshell/em-banner.el:
4698 * calendar/parse-time.el: Use cl-lib.
4699 * wid-browse.el, wdired.el, vc/vc.el, vc/vc-mtn.el, vc/vc-cvs.el:
4700 * vc/vc-arch.el, tree-widget.el, textmodes/texinfo.el:
4701 * textmodes/refill.el, textmodes/css-mode.el, term/tvi970.el:
4702 * term/ns-win.el, term.el, shell.el, ps-samp.el:
4703 * progmodes/perl-mode.el, progmodes/pascal.el, progmodes/gud.el:
4704 * progmodes/glasses.el, progmodes/etags.el, progmodes/cwarn.el:
4705 * play/gamegrid.el, play/bubbles.el, novice.el, notifications.el:
4706 * net/zeroconf.el, net/xesam.el, net/snmp-mode.el, net/mairix.el:
4707 * net/ldap.el, net/eudc.el, net/browse-url.el, man.el:
4708 * mail/mailheader.el, mail/feedmail.el: Don't use CL.
4709 * ibuf-ext.el (ibuffer-mark-old-buffers): Use float-time.
4710 * eshell/esh-opt.el (eshell-eval-using-options): Quote code with
4711 `lambda' rather than with `quote'.
4712 (eshell-do-opt): Adjust accordingly.
4713 (eshell-process-option): Simplify.
4714 * eshell/esh-var.el:
4715 * eshell/em-script.el: Require `esh-opt' for eshell-eval-using-options.
4716 * emacs-lisp/pcase.el (pcase--dontcare-upats, pcase--let*)
4717 (pcase--expand, pcase--u1): Rename pcase's internal `dontcare' pattern
4718 to `pcase--dontcare'.
4719 * emacs-lisp/cl.el (labels): Mark obsolete.
4720 (cl--letf, letf): Move to cl-lib.
4721 (cl--letf*, letf*): Remove.
4722 * emacs-lisp/cl-lib.el (cl-nth-value): Use defalias.
4723 * emacs-lisp/cl-macs.el (cl-dolist, cl-dotimes): Add indent rule.
4724 (cl-progv): Rewrite.
4725 (cl--letf, cl-letf): Move from cl.el.
4726 (cl-letf*): New macro.
4727 * emacs-lisp/cl-extra.el (cl--progv-before, cl--progv-after): Remove.
4728
7ad4afe1
MA
47292012-07-11 Michael Albinus <michael.albinus@gmx.de>
4730
4731 * net/ange-ftp.el (ange-ftp-cf1): Update the files cache.
4732
9af57756
CY
47332012-07-11 Chong Yidong <cyd@gnu.org>
4734
4735 * vc/log-edit.el (log-edit-vc-backend): New variable.
4736 (log-edit): Doc fix.
4737
4738 * vc/vc-dispatcher.el (vc-log-edit): New args. Use PARAMS
4739 argument of log-edit to set up all local variables.
4740 (vc-start-logentry): New optional arg specifying VC backend.
4741
4742 * vc/vc.el (vc-checkin): Use it.
4743 (vc-deduce-fileset): Handle Log Edit buffers.
4744 (vc-diff): Make first argument optional too.
4745
4746 * vc/log-view.el (log-view-vc-fileset, log-view-vc-backend): Doc fix.
4747
8477cc7a
MA
47482012-07-10 Michael Albinus <michael.albinus@gmx.de>
4749
4750 * eshell/esh-ext.el (eshell-remote-command): Remove remote part of
4751 command, just in case. The function is not needed anymore.
4752 (eshell-external-command): Do not call `eshell-remote-command'.
4753
19faa8e8
SM
47542012-07-10 Stefan Monnier <monnier@iro.umontreal.ca>
4755
f58e0fd5
SM
4756 Reduce use of (require 'cl).
4757 * vc/smerge-mode.el, vc/pcvs.el, vc/pcvs-util.el, vc/pcvs-info.el:
4758 * vc/diff-mode.el, vc/cvs-status.el, uniquify.el, scroll-bar.el:
4759 * register.el, progmodes/sh-script.el, net/gnutls.el, net/dbus.el:
4760 * msb.el, mpc.el, minibuffer.el, international/ucs-normalize.el:
4761 * international/quail.el, info-xref.el, imenu.el, image-mode.el:
4762 * font-lock.el, filesets.el, edmacro.el, doc-view.el, bookmark.el:
4763 * battery.el, avoid.el, abbrev.el: Use cl-lib.
4764 * vc/pcvs-parse.el, vc/pcvs-defs.el, vc/log-view.el, vc/log-edit.el:
4765 * vc/diff.el, simple.el, pcomplete.el, lpr.el, comint.el, loadhist.el:
4766 * jit-lock.el, international/iso-ascii.el, info.el, frame.el, bs.el:
4767 * emulation/crisp.el, electric.el, dired.el, cus-dep.el, composite.el:
4768 * calculator.el, autorevert.el, apropos.el: Don't require CL.
4769 * emacs-lisp/bytecomp.el (byte-recompile-directory, display-call-tree)
4770 (byte-compile-unfold-bcf, byte-compile-check-variable):
4771 * emacs-lisp/byte-opt.el (byte-compile-trueconstp)
4772 (byte-compile-nilconstp):
4773 * emacs-lisp/autoload.el (make-autoload): Use pcase.
4774 * face-remap.el (text-scale-adjust): Simplify pcase patterns.
4775
2519d43a
SM
4776 * emacs-lisp/gv.el (cond): Make it a valid place.
4777 (if): Simplify slightly.
4778
19faa8e8
SM
4779 * emacs-lisp/pcase.el (pcase): Accept self-quoting exps as "upatterns".
4780 (pcase--self-quoting-p): New function.
4781 (pcase--u1): Use it.
4782
c4907a5e
GM
47832012-07-10 Glenn Morris <rgm@gnu.org>
4784
4785 * emacs-lisp/authors.el (authors-fixed-entries):
4786 (authors-renamed-files-alist): Update for configure.in -> configure.ac.
4787
c4444d16
PE
47882012-07-09 Paul Eggert <eggert@cs.ucla.edu>
4789
4790 Rename configure.in to configure.ac (Bug#11603).
4791 * emacs-lisp/authors.el (authors-canonical-file-name):
4792 * progmodes/autoconf.el (autoconf-mode):
4793 Prefer configure.ac to configure.in.
4794
d75be97d
CY
47952012-07-08 Chong Yidong <cyd@gnu.org>
4796
01ac65bd
CY
4797 * mouse.el (mouse-drag-line): Rewrite the track-mouse loop.
4798 Implement the mouse-1-click-follows-link handling properly.
4799
4800 * info.el (Info-link-keymap): Use follow-link mechanism for
4801 header-line links (Bug#374).
4802
d75be97d
CY
4803 * simple.el (deactivate-mark): Do not set the primary selection
4804 if another program has acquired it (Bug#11772).
4805
87a92845 48062012-07-07 Kevin Ryde <user42@zip.com.au>
f0ecdfea
KR
4807
4808 * woman.el (woman-strings): Fix double-quote handling (Bug#1151).
4809 (woman-decode-region): Replace escaped-escapes without destroying
4810 bold or underline (Bug#11552).
87a92845 4811 (woman2-process-escapes): Handle nofill regions (Bug#11591).
f0ecdfea 4812
621b9d6c
CY
48132012-07-07 Chong Yidong <cyd@gnu.org>
4814
4815 * simple.el (yank-pop-change-selection): Doc fix (Bug#11361).
19faa8e8
SM
4816 (interprogram-cut-function, interprogram-paste-function):
4817 Mention that we typically mean the clipboard.
621b9d6c 4818
133a11fc
GM
48192012-07-06 Glenn Morris <rgm@gnu.org>
4820
0d27a45e
GM
4821 * kmacro.el (kmacro-call-macro): Restore repeat message. (Bug#11817)
4822
133a11fc
GM
4823 * files.el (toggle-read-only): Restrict message to interactive use.
4824
07b151f1
MA
48252012-07-06 Michael Albinus <michael.albinus@gmx.de>
4826
4827 * net/tramp.el (tramp-restricted-shell-hosts-alist): New defcustom.
4828
4829 * net/tramp-sh.el (tramp-maybe-open-connection): Handle it.
4830
211b896b
GM
48312012-07-06 Glenn Morris <rgm@gnu.org>
4832
50394322
GM
4833 * Makefile.in (compile-one-process): Rename from "recompile".
4834
211b896b
GM
4835 * Makefile.in (bzr-update): "compile" is the same as "recompile
4836 autoloads", but parallelizable, so use that instead.
4837
4737eec9
DG
48382012-07-06 Dmitry Gutov <dgutov@yandex.ru>
4839
4840 * window.el (quit-window): Always restore window height when
8137e7b3 4841 it's saved in quit-restore parameter (Bug#11810).
4737eec9 4842
226c3633 48432012-07-06 Glenn Morris <rgm@gnu.org>
cb442973
GM
4844
4845 * simple.el (kill-whole-line): Doc tweak.
4846
226c3633 48472012-07-06 Eli Zaretskii <eliz@gnu.org>
93842198
EZ
4848
4849 * files.el (file-relative-name): Compare file names
4850 case-insensitively if on MS-Windows or MS-DOS, or if
4851 read-file-name-completion-ignore-case is non-nil. Don't use
4852 case-fold-search for this purpose. (Bug#11827)
4853
4dc7c8d5
SM
48542012-07-17 Andreas Schwab <schwab@linux-m68k.org>
4855
4856 * calendar/cal-dst.el (calendar-current-time-zone):
4857 Return calendar-current-time-zone-cache if non-nil.
4858
48592012-07-17 Masatake YAMATO <yamato@redhat.com>
226c3633 48602012-07-06 Andreas Schwab <schwab@linux-m68k.org>
3d8b9024 4861
19faa8e8
SM
4862 * calendar/cal-dst.el (calendar-current-time-zone):
4863 Return calendar-current-time-zone-cache if non-nil.
3d8b9024 4864
60198fc9
GM
48652012-07-06 Glenn Morris <rgm@gnu.org>
4866
4867 * Makefile.in (cvs-update): Remove old alias.
4868
957b3189
MA
48692012-07-05 Michael Albinus <michael.albinus@gmx.de>
4870
4871 Sync with Tramp 2.2.6-pre.
4872
4873 * net/tramp.el (tramp-drop-volume-letter): Provide an XEmacs
4874 compatible declaration.
4875
19faa8e8
SM
4876 * net/tramp-cmds.el (tramp-append-tramp-buffers):
4877 Protect `list-load-path-shadows' call.
957b3189
MA
4878
4879 * net/tramp-compat.el (top): Require packages, which aren't
4880 autoloaded anymore for XEmacs. Protect call of
4881 `tramp-file-name-handler' by `tramp-compat-funcall', pacifying the
4882 compiler. Do not require tramp-util.el and tramp-vc.el anymore,
4883 it hurts at least for SXEmacs.
4884 (tramp-compat-temporary-file-directory): In XEmacs, there is no
4885 standard-value for `temporary-file-directory'.
4886
4887 * net/tramp-sh.el (tramp-do-directory-files-and-attributes-with-stat):
4888 Redirect stderr to /dev/null.
4889 (tramp-sh-handle-write-region): uid and gid can be floats.
4890 Reported by Russell Sim <russell.sim@gmail.com>.
4891 (tramp-sh-handle-vc-registered): Hide errors.
4892 (tramp-vc-file-name-handler): Use dummy results for `process-file'
4893 and `start-file-process'.
4894 (tramp-maybe-open-connection): Check also whether `non-essential'
4895 is bound.
4896
566df3fc
CY
48972012-07-04 Chong Yidong <cyd@gnu.org>
4898
4899 * xml.el (xml--parse-buffer): Use xml-syntax-table.
4900 (xml-parse-tag): Likewise, and avoid changing entity tables.
4901 (xml-syntax-table): Define from scratch, making sure not to give
4902 x2000 and other Unicode spaces whitespace syntax, since those are
4903 not spaces in XML.
4904 (xml-parse-fragment): Delete unused function.
4905 (xml-name-start-char-re, xml-name-char-re, xml-name-re)
4906 (xml-names-re, xml-nmtoken-re, xml-nmtokens-re, xml-char-ref-re)
4907 (xml-entity-ref, xml-pe-reference-re)
4908 (xml-reference-re,xml-att-value-re, xml-tokenized-type-re)
4909 (xml-notation-type-re, xml-enumeration-re, xml-enumerated-type-re)
4910 (xml-att-type-re, xml-default-decl-re, xml-att-def-re)
4911 (xml-entity-value-re): Use syntax references in regexps where
4912 possible; no need to define inside a let-binding.
4913 (xml-parse-dtd): Use xml-pe-reference-re.
4914 (xml-entity-or-char-ref-re): New defconst.
4915 (xml-parse-string, xml-substitute-special): Use it.
4916
30eabd7a
SM
49172012-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
4918
0781098a
SM
4919 * files.el (locate-dominating-file): Allow `name' to be a predicate.
4920 (find-file--read-only): New function.
4921 (find-file-read-only, find-file-read-only-other-window)
4922 (find-file-read-only-other-frame): Use it.
4923 (insert-file-contents-literally): Don't `fset'.
4924 (get-free-disk-space): Use locate-dominating-file.
4925
b5771c0d
SM
4926 * emacs-lisp/bytecomp.el (byte-compile): Don't signal an error if the
4927 function is already compiled.
4928
30eabd7a
SM
4929 * xml.el (xml-name-regexp): Remove, redundant. Use xml-name-re.
4930
b4886f6e
MA
49312012-07-03 Michael Albinus <michael.albinus@gmx.de>
4932
4933 * vc/ediff-diff.el (ediff-same-file-contents): Fix it for remote
4934 files on the same host.
4935
b9d82339
AS
49362012-07-03 Andreas Schwab <schwab@linux-m68k.org>
4937
4938 * help-fns.el (describe-function-1): Only call
4939 help-fns--autoloaded-p when we have a file name. (Bug#11848)
4940
a76e6535
CY
49412012-07-03 Chong Yidong <cyd@gnu.org>
4942
4943 * xml.el: Protect parser against XML bombs.
4944 (xml-entity-expansion-limit): New variable.
4945 (xml-parse-string, xml-substitute-special): Use it.
4946 (xml-parse-dtd): Avoid infloop if the DTD is not terminated.
4947
b544fef2
GM
49482012-07-03 Glenn Morris <rgm@gnu.org>
4949
4950 * progmodes/bug-reference.el (bug-reference-bug-regexp):
4951 Allow linking to specific messages in debbugs reports (eg 123#5).
4952
a7aef6f5
CY
49532012-07-02 Chong Yidong <cyd@gnu.org>
4954
4955 * xml.el: Fix entity and character reference expansion, allowing
4956 them to expand into markup as per XML spec.
4957 (xml-default-ns): New variable.
4958 (xml-entity-alist): Use XML spec definitions for lt and amp.
30eabd7a
SM
4959 (xml-parse-region): Make first two arguments optional.
4960 Discard text properties.
4961 (xml-parse-tag-1): New function, spun off from xml-parse-tag.
4962 All callers changed.
a7aef6f5
CY
4963 (xml-parse-tag): Call xml-parse-tag-1. For backward
4964 compatibility, this function should not modify buffer contents.
4965 (xml-parse-tag-1): Fix opening-tag regexp.
4966 (xml-parse-string): Rewrite, handling entity and character
4967 references properly.
4968 (xml--entity-replacement-text): Signal an error if a parameter
4969 entity is undefined.
4970
3df31c9f
SM
49712012-07-02 Stefan Monnier <monnier@iro.umontreal.ca>
4972
2b5208f1
SM
4973 * comint.el (comint-output-filter): Filter out repeated prompts.
4974
3df31c9f
SM
4975 * net/ange-ftp.el (ange-ftp-expand-file-name): Use ange-ftp-ftp-name
4976 and file-name-absolute-p.
4977 (ange-ftp-file-exists-p): Use ange-ftp-file-exists-p for
4978 internal calls.
4979
e3ac1281
PE
49802012-07-02 Paul Eggert <eggert@cs.ucla.edu>
4981
4982 Spelling fixes.
4983 * emacs-lisp/bytecomp.el (byte-compile--reify-function):
4984 Rename from byte-compile--refiy-function. All uses changed.
4985
fbf2e7ad
CY
49862012-07-01 Chong Yidong <cyd@gnu.org>
4987
4988 * xml.el (xml--parse-buffer): New function. Move most of
4989 xml-parse-region here.
4990 (xml-parse-region): Copy region into a temporary buffer, since
4991 parameter entity substitution requires changing buffer contents.
4992 Use xml--parse-buffer.
4993 (xml-parse-file): Use xml--parse-buffer.
4994 (xml-parse-dtd): Make parameter entity substitution work right.
6fe566a7 4995 Use proper regexps for ELEMENT declarations (Bug#7172).
fbf2e7ad 4996
9bf0aa15
GM
49972012-06-30 Glenn Morris <rgm@gnu.org>
4998
bbce2853
GM
4999 * comint.el (follow-comint-scroll-to-bottom): Fix declaration.
5000
9bf0aa15
GM
5001 * net/secrets.el, net/tramp-gvfs.el, net/xesam.el, net/zeroconf.el:
5002 Remove outdated and unnecessary dbus declarations.
5003
0d23c240
EZ
50042012-06-30 Eli Zaretskii <eliz@gnu.org>
5005
5006 * emacs-lisp/timer.el (timer-until): Subtract results of
5007 float-time, instead of taking float-time of the result of
5008 time-subtract, since float-time signals an error for negative time
5009 arguments.
5010
b3218de1
CY
50112012-06-30 Chong Yidong <cyd@gnu.org>
5012
5013 * xml.el (xml-*-re): Convert defvars into defconsts, and
5014 eval-and-compile them so eval-and-compile works on derivatives.
5015 (xml--entity-replacement-text): Use eval-and-comple.
5016
a40c87a0
MA
50172012-06-30 Michael Albinus <michael.albinus@gmx.de>
5018
5019 * vc/vc-git.el (vc-git-registered): Use cache property
5020 `git-registered'.
5021 (vc-git-mode-line-string): Call `vc-working-revision' instead of
5022 `vc-git-working-revision' in order to benefit from the cache.
2bb1ae55 5023 (vc-git-root): Use cache property `git-root'. (Bug#11757)
a40c87a0 5024
ac87de97
DG
50252012-06-30 Dmitry Gutov <dgutov@yandex.ru>
5026
5027 * vc/vc-hooks.el (vc-before-save): Clear cache if file has been
2bb1ae55 5028 removed (likely outside Emacs). (Bug#11757)
ac87de97 5029
ac10fe06
SM
50302012-06-30 Stefan Monnier <monnier@iro.umontreal.ca>
5031
3df31c9f 5032 * emacs-lisp/cl-lib.el: Require macroexp.
ac10fe06 5033
7f3fbd5d
CY
50342012-06-30 Chong Yidong <cyd@gnu.org>
5035
5036 * xml.el: Implement XML parameter entities.
5037 (xml-parameter-entity-alist): New variable.
5038 (xml-parse-region, xml-parse-fragment): Preserve previous values
5039 of xml-entity-alist and xml-parameter-entity-alist, so that
5040 repeated calls on different documents do not change them.
5041 (xml-parse-tag): Fix doctype regexp.
5042 (xml--entity-replacement-text): New function.
5043 (xml-parse-dtd): Use it. Don't handle system entities; doing that
5044 properly requires url retrieval which is unimplemented.
5045 (xml-escape-string): Doc fix.
5046
3cfbebba
SM
50472012-06-30 Stefan Monnier <monnier@iro.umontreal.ca>
5048
5049 * emacs-lisp/cl-lib.el (cl-pushnew): Use macroexp-let2.
5050
2af3565e
DA
50512012-06-29 Dmitry Antipov <dmantipov@yandex.ru>
5052
5053 * fringe.el (fringe-mode): Doc fix.
5054
929df0e7
MA
50552012-06-29 Michael Albinus <michael.albinus@gmx.de>
5056
5057 * net/ange-ftp.el (ange-ftp-get-passwd): Throw if `non-essential'
5058 is non-nil.
5059 (ange-ftp-ignore-errors-if-non-essential): New defmacro.
5060 (ange-ftp-file-name-all-completions): Use it. (Bug#11808)
5061
c8d3a25c 50622012-06-29 Andreas Schwab <schwab@linux-m68k.org>
3d8b9024 5063
c8d3a25c
GM
5064 * calendar/cal-dst.el (calendar-current-time-zone):
5065 Return calendar-current-time-zone-cache if non-nil.
3d8b9024 5066
c8d3a25c 50672012-06-29 Masatake YAMATO <yamato@redhat.com>
26e8548e
MY
5068
5069 * progmodes/which-func.el (which-func-format):
5070 Add mouse-face. (Bug#11698)
5071
c8d3a25c
GM
50722012-06-29 Leo Liu <sdl.web@gmail.com>
5073
5074 * textmodes/enriched.el (enriched-next-annotation): Use eq (Bug#11528).
5075
50762012-06-29 Stefan Monnier <monnier@iro.umontreal.ca>
5077
5078 * minibuffer.el (minibuffer-confirm-exit-commands):
5079 Add completion-at-point (bug#11725).
5080
50812012-06-29 Glenn Morris <rgm@gnu.org>
5082
5083 * progmodes/f90.el (f90-font-lock-keywords-2):
5084 Add some preprocessor elements. (Bug#10499)
5085
50862012-06-29 Stefan Monnier <monnier@iro.umontreal.ca>
5087
5088 * progmodes/cperl-mode.el (cperl-update-syntaxification):
5089 Use syntax-propertize (bug#11739).
5090
2badeec4
JB
50912012-06-28 Juanma Barranquero <lekktu@gmail.com>
5092
5093 * emacs-lisp/cl-lib.el (cl-pushnew): Don't capture X (bug#11811).
5094
ae4969c2
JD
50952012-06-28 Julien Danjou <julien@danjou.info>
5096
5097 * term.el (term-handle-colors-array): Use a set of new faces to
5098 color the terminal. Also uses :inverse-video property.
5099 (term-default-fg-color): Set to nil by default, deprecate in favor
5100 of `term-face'.
5101 (term-default-bg-color): Set to nil by default, deprecate in favor
5102 of `term-face'.
5103 (term-current-face): Use `term-face' by default.
5104 (term-bold-attribute): Variable deleted.
5105
1c9bd870
GM
51062012-06-28 Glenn Morris <rgm@gnu.org>
5107
5108 * simple.el (completion-list-mode-finish):
5109 Don't use toggle-read-only. (Since completion-list-mode has
5110 a special mode-class, it wasn't doing anything extra anyway.)
5111
c207708c
SM
51122012-06-28 Stefan Monnier <monnier@iro.umontreal.ca>
5113
5114 Make inlining of other-mode interpreted functions work (bug#11799).
5115 * emacs-lisp/bytecomp.el (byte-compile--refiy-function): New fun.
5116 (byte-compile): Use it to fix compilation of lexical-binding closures.
5117 * emacs-lisp/byte-opt.el (byte-compile-inline-expand): Compile the
5118 function, if needed.
5119
3fd56834
SM
51202012-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
5121
04901786
SM
5122 * help-mode.el (help-make-xrefs): Don't just withstand
5123 cyclic-variable-indirection but any error in documentation-property.
5124
1ec4b7b2
SM
5125 * loadup.el (purify-flag): Pre-grow the hash-table to reduce the
5126 memory use.
5127 * bindings.el (bindings--define-key): New function.
5128 * vc/vc-hooks.el, replace.el, menu-bar.el, international/mule-cmds.el:
5129 * emacs-lisp/lisp-mode.el, buff-menu.el, bookmark.el:
5130 * bindings.el: Use it to purecopy define-key bindings.
5131
e309e2a5
SM
5132 * textmodes/rst.el (rst-adornment-faces-alist): Avoid copy-list.
5133
d5c6faf9
SM
5134 * emacs-lisp/cl.el (flet): Mark obsolete.
5135 * emacs-lisp/cl-macs.el (cl-flet*): New macro.
5136 * vc/vc-rcs.el (vc-rcs-annotate-command, vc-rcs-parse):
5137 * progmodes/js.el (js-c-fill-paragraph):
5138 * progmodes/ebrowse.el (ebrowse-switch-member-buffer-to-sibling-class)
5139 (ebrowse-switch-member-buffer-to-derived-class):
5140 * play/5x5.el (5x5-solver): Use cl-flet.
5141
6e9590e2
SM
5142 * emacs-lisp/cl.el: Use lexical-binding. Fix flet (bug#11780).
5143 (cl--symbol-function): New macro.
5144 (cl--letf, cl--letf*): Use it.
5145
3fd56834
SM
5146 * emacs-lisp/easy-mmode.el (easy-mmode-pretty-mode-name):
5147 Strip "toggle-" if any.
5148
35ff222c
GM
51492012-06-27 Glenn Morris <rgm@gnu.org>
5150
1ba6038a
GM
5151 * info.el (Info-default-directory-list): Move here from paths.el.
5152 * paths.el: Remove file, which is now empty.
5153 * loadup.el: No longer load "paths".
5154
0ea0e51b
GM
5155 * custom.el (custom-initialize-delay): Doc fix.
5156
35ff222c
GM
5157 * eshell/em-alias.el, eshell/em-banner.el, eshell/em-basic.el:
5158 * eshell/em-cmpl.el, eshell/em-dirs.el, eshell/em-glob.el:
5159 * eshell/em-hist.el, eshell/em-ls.el, eshell/em-pred.el:
5160 * eshell/em-prompt.el, eshell/em-rebind.el, eshell/em-script.el:
5161 * eshell/em-smart.el, eshell/em-term.el, eshell/em-unix.el:
5162 * eshell/em-xtra.el: Replace eshell-defgroup with "(progn (defgroup".
5163 * eshell/eshell.el (eshell-defgroup): Remove alias.
5164
c89926a5
CY
51652012-06-27 Chong Yidong <cyd@gnu.org>
5166
5167 * help.el (help-enable-auto-load): New variable.
5168
5169 * help-fns.el (help-fns--autoloaded-p): New function.
5170 (describe-function-1): Refer to a function as "autoloaded" if it
5171 was autoloaded at any time in the past. Perform autoloading if
5172 help-enable-auto-load is non-nil.
5173
cc06e7e7
EZ
51742012-06-26 Eli Zaretskii <eliz@gnu.org>
5175
5176 * makefile.w32-in (compile, compile-always): Depend on
5177 update-subdirs, not on subdirs.el. Otherwise, several different
5178 sub-targets of 'bootstrap' running in parallel could
5179 simultaneously write to subdirs.el, producing a garbled file.
5180
d2c32364
SS
51812012-06-26 Sam Steingold <sds@gnu.org>
5182
5183 * files.el (file-name-base): New convenience function.
0d14cc21
GM
5184 * autoinsert.el, cus-dep.el, doc-view.el, image-dired.el:
5185 * woman.el, eshell/esh-cmd.el, progmodes/ada-xref.el:
5186 * progmodes/cc-defs.el, progmodes/cperl-mode.el:
5187 * progmodes/flymake.el, progmodes/gud.el, progmodes/idlwave.el:
5188 * textmodes/ispell.el, textmodes/reftex-ref.el:
d2c32364
SS
5189 * textmodes/tex-mode.el: Use it.
5190 Did not touch cedet and org because they are maintained elsewhere.
5191
5cf983b2
MR
51922012-06-26 Martin Rudalics <rudalics@gmx.at>
5193
5194 * calendar/calendar.el (calendar-exit): Don't try to delete or
5195 iconify last frame. See:
5196 http://lists.gnu.org/archive/html/emacs-devel/2012-06/msg00372.html
5197
8c4f2952
JD
51982012-06-25 Jim Diamond <Jim.Diamond@AcadiaU.ca> (tiny change)
5199
5200 * server.el (server-process-filter): Remember dir in the
5201 process's `server-client-directory' properties.
5202
772b2e2c
CY
52032012-06-24 Chong Yidong <cyd@gnu.org>
5204
5205 * xml.el (xml-parse-tag): Correctly handle comment embedded in
5206 non-tag text.
5207
711b11e1
JB
52082012-06-23 Juanma Barranquero <lekktu@gmail.com>
5209
5210 * makefile.w32-in (COMPILE_FIRST): Synch with changes in 2012-06-22T21:24:54Z!monnier@iro.umontreal.ca.
5211
dc5d230c
SM
52122012-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
5213
5214 * help-fns.el (describe-variable): Don't croak when doc is not found.
5215 * vc/pcvs.el (cvs-retrieve-revision): Avoid toggle-read-only.
5216 * menu-bar.el (menu-bar-line-wrapping-menu): Purecopy a tiny bit more.
5217 * emacs-lisp/syntax.el (syntax-ppss): Simplify with new `if' place.
5218 * emacs-lisp/smie.el (smie-next-sexp): CSE.
5219 * emacs-lisp/macroexp.el (macroexp-let2): Fix edebug spec and avoid
5220 ((lambda ..) ..).
5221 * emacs-lisp/eieio.el (eieio-oref, slot-value): Use simpler defsetf.
5222
136e1c1d
CY
52232012-06-23 Chong Yidong <cyd@gnu.org>
5224
e8c1cabf
CY
5225 * info.el (Info-mouse-follow-link): Accept symbol values of
5226 link-args. Select window; suggested by Gerhard Kahl (Bug#11672).
136e1c1d
CY
5227 (Info-fontify-node): Use Info-link-keymap for all navigation
5228 buttons, with link-args property to perform the desired action.
5229 (Info-link-keymap): Doc fix.
5230 (Info-next-link-keymap, Info-prev-link-keymap)
5231 (Info-up-link-keymap): Delete now-unused keymaps.
5232
0e9e6c6a
CY
52332012-06-23 Chong Yidong <cyd@gnu.org>
5234
05e89fea
CY
5235 * mouse.el (mouse-drag-track): Deactivate the mark before popping.
5236
0e9e6c6a
CY
5237 * progmodes/python.el (python-skeleton-define): Mark abbrevs as
5238 system abbrevs.
5239
5240 * ansi-color.el (ansi-color-apply-on-region): Doc fix.
5241
e33c6771
SM
52422012-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
5243
b68581e2
SM
5244 * emacs-lisp/cl-macs.el (cl--make-usage-args): Handle improper lists
5245 (bug#11719).
5246
e33c6771
SM
5247 * minibuffer.el (completion--twq-try): Try to fail more gracefully when
5248 the requote function doesn't work properly (bug#11714).
5249
7117e105
GM
52502012-06-23 Glenn Morris <rgm@gnu.org>
5251
5252 * pcmpl-rpm.el (pcmpl-rpm-packages): Give status messages.
5253
36cec983
SM
52542012-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
5255
5256 Further GV/CL cleanups.
5257 * emacs-lisp/gv.el (gv-get): Autoload functions to find their
5258 gv-expander.
5259 (gv--defun-declaration): New function.
5260 (defun-declarations-alist): Use it.
5261 (gv-define-modify-macro, gv-pushnew!, gv-inc!, gv-dec!): Remove.
5262 (gv-place): Autoload.
5263 * emacs-lisp/cl.el (cl--dotimes, cl--dolist): Remember subr.el's
5264 original definition of dotimes and dolist.
5265 * emacs-lisp/cl-macs.el (cl-expr-access-order): Remove unused.
5266 (cl-dolist, cl-dotimes): Use `dolist' and `dotimes'.
5267 * emacs-lisp/cl-lib.el: Move gv handlers from cl-macs to here.
5268 (cl-fifth, cl-sixth, cl-seventh, cl-eighth)
5269 (cl-ninth, cl-tenth): Move gv handler to the function's definition.
5270 * emacs-lisp/cl-extra.el (cl-subseq, cl-get, cl-getf): Move gv handler
5271 to the function's definition.
5272 * Makefile.in (COMPILE_FIRST): Re-order to speed it up by about 50%.
5273 * window.el:
5274 * files.el:
5275 * faces.el:
5276 * env.el: Don't use CL.
5277
d35af63c
PE
52782012-06-22 Paul Eggert <eggert@cs.ucla.edu>
5279
5280 Support higher-resolution time stamps (Bug#9000).
5281
5282 * calendar/time-date.el (with-decoded-time-value): New arg
5283 PICO-SYMBOL in VARLIST. It's optional, for backward compatibility.
5284 (encode-time-value): New optional arg PICO. New type 3.
5285 (time-to-seconds) [!float-time]: Support the new picoseconds
5286 component if it's used.
5287 (seconds-to-time, time-subtract, time-add):
5288 Support ps-resolution time stamps as well.
5289
5290 * emacs-lisp/timer.el (timer): New component psecs. All uses changed.
5291 (timerp): Timer vectors now have length 9, not 8.
5292 (timer--time): Support new-style (4-part) time stamps.
5293 (timer-next-integral-multiple-of-time): Time stamps now have
5294 picosecond resolution, so take a bit more care about rounding.
5295 (timer-relative-time, timer-inc-time): New optional arg psecs.
5296 (timer-set-time-with-usecs): Set psecs to 0.
5297 (timer--activate): Check psecs component, too.
5298
5299 * proced.el (proced-time-lessp): Support ps-resolution stamps.
5300
ac77b21a
SM
53012012-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
5302
f143bfe3
SM
5303 * icomplete.el (icomplete-minibuffer-setup, icomplete-completions):
5304 Move the non-essential binding to the post/pre-command-hook where it is
5305 more obviously correct.
5306
ac77b21a
SM
5307 * subr.el (read-passwd): Don't use a history at all.
5308 * savehist.el (savehist-save): Remove password saved accidentally
5309 because of the above bug.
5310
76386c5a
BG
53112012-06-22 Bastien Guerry <bzg@gnu.org>
5312
5313 * files.el (toggle-read-only): Display a message telling whether
5314 the buffer is read-only or not (bug#11726).
5315
2ee3d7f0
SM
53162012-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
5317
5318 * emacs-lisp/gv.el: New file.
5319 * subr.el (push, pop): Extend to generalized variables.
5320 * loadup.el (macroexp): Unload if preloaded and uncompiled (bug#11657).
5321 * emacs-lisp/cl-lib.el (cl-pop, cl-push, cl--set-nthcdr): Remove.
5322 * emacs-lisp/cl-macs.el: Require gv. Use gv-define-setter,
5323 gv-define-simple-setter, and gv-define-expander.
5324 Remove setf-methods defined in gv. Rename cl-setf -> setf.
5325 (cl-setf, cl-do-pop, cl-get-setf-method): Remove.
5326 (cl-letf, cl-letf*, cl-define-modify-macro, cl-defsetf)
5327 (cl-define-setf-expander, cl-struct-setf-expander): Move to cl.el.
5328 (cl-remf, cl-shiftf, cl-rotatef, cl-callf, cl-callf2): Rewrite with
5329 gv-letplace.
5330 (cl-defstruct): Don't define setf-method any more.
5331 * emacs-lisp/cl.el (flet): Don't autoload.
5332 (cl--letf, letf, cl--letf*, letf*, cl--gv-adapt)
5333 (define-setf-expander, defsetf, define-modify-macro)
5334 (cl-struct-setf-expander): Move from cl-lib.el.
5335 * emacs-lisp/syntax.el:
5336 * emacs-lisp/ewoc.el:
5337 * emacs-lisp/smie.el:
5338 * emacs-lisp/cconv.el:
5339 * emacs-lisp/timer.el: Rename cl-setf -> setf, cl-push -> push.
5340 (timer--time): Use gv-define-simple-setter.
5341 * emacs-lisp/macroexp.el (macroexp-let2): Rename from macroexp-let²
5342 to avoid coding-system problems in subr.el. Adjust all users.
5343 (macroexp--maxsize, macroexp-small-p): New functions.
5344 * emacs-lisp/bytecomp.el (byte-compile-file): Don't use cl-letf.
5345 * scroll-bar.el (scroll-bar-mode):
5346 * simple.el (auto-fill-mode, overwrite-mode, binary-overwrite-mode)
5347 (normal-erase-is-backspace-mode): Don't use the `eq' place.
5348 * winner.el (winner-configuration, winner-make-point-alist)
5349 (winner-set-conf, winner-get-point, winner-set): Don't abuse letf.
5350 * files.el (locate-file-completion-table): Avoid list*.
5351
c5695d1d
CY
53522012-06-22 Chong Yidong <cyd@gnu.org>
5353
5354 * dired-aux.el (dired-do-create-files): Doc fix (Bug#11327).
5355 (dired-create-files): Doc fix (Bug#11329).
5356 (dired-do-copy): Doc fix (Bug#11334).
5357 (dired-mark-read-string): Doc fix (Bug#11553).
5358
2ee3d7f0
SM
5359 * dired.el (dired-recursive-copies, dired-recursive-deletes):
5360 Doc fix (Bug#11326).
c5695d1d
CY
5361 (dired-make-relative): Doc fix (Bug#11332). Remove unused arg.
5362 (dired-dwim-target): Doc fix.
5363
5364 * wdired.el (wdired-mode): Doc fix.
5365
89b5595a
GM
53662012-06-22 Glenn Morris <rgm@gnu.org>
5367
575db3f1
GM
5368 * pcmpl-rpm.el (pcmpl-rpm-cache): New option.
5369 (pcmpl-rpm-cache-stamp-file): New constant.
5370 (pcmpl-rpm-cache-time, pcmpl-rpm-packages): New variables.
5371 (pcmpl-rpm-packages): Optionally cache list of packages.
5372
a4c8dd51
GM
5373 * pcmpl-rpm.el (pcmpl-rpm): New group.
5374 (pcmpl-rpm-query-options): New option.
5375 (pcmpl-rpm-packages): No need to inline it.
5376 Use pcmpl-rpm-query-options.
5377
89b5595a
GM
5378 * calendar/calendar.el (calendar-in-read-only-buffer):
5379 Avoid some needless mode changes.
5380
e76f0800
CY
53812012-06-21 Chong Yidong <cyd@gnu.org>
5382
5383 * desktop.el (desktop-read): Don't prompt if daemon (Bug#11674).
5384 (desktop-path): Remove . from the default value (Bug#10977).
6b67c0d4 5385 (desktop-read): Use user-emacs-directory if desktop-path is nil.
e76f0800 5386
297a8f1d
CY
53872012-06-20 Chong Yidong <cyd@gnu.org>
5388
5389 * term.el (term-send-raw-meta): Make C-M-<char> keys work (Bug#8172).
5390
d34c18b1
DR
53912012-06-20 David Röthlisberger <david@rothlis.net> (tiny change)
5392
5393 * ido.el (ido-switch-buffer, ido-find-file): Fix up doc of C-j
5394 (bug#11201).
5395
32f7f28e
CY
53962012-06-20 Chong Yidong <cyd@gnu.org>
5397
5398 * term.el (term-window-width): Handle the case of a missing right
5399 fringe (Bug#8837).
5400 (term-check-size): Use window-text-height (Bug#5445).
d34c18b1
DR
5401 (term-mode): Use define-derived-mode. Minor cleanups.
5402 Set font-lock-defaults (Bug#7692).
6ff7caa8
CY
5403 (term-move-columns, term-insert-char, term-emulate-terminal)
5404 (term-erase-in-line, term-insert-spaces): Use font-lock-face.
32f7f28e 5405
493c6688
MA
54062012-06-20 Michael Albinus <michael.albinus@gmx.de>
5407
d34c18b1
DR
5408 * net/ange-ftp.el (ange-ftp-get-passwd):
5409 Bind `enable-recursive-minibuffers'.
493c6688
MA
5410 (ange-ftp-get-process): Throw if `non-essential' is non-nil.
5411
3f06ecf4
DR
54122012-06-19 David Röthlisberger <david@rothlis.net> (tiny change)
5413
5414 * ido.el (ido-find-file): Mention C-d binding in docstring (bug#11244).
5415
68f12411
GM
54162012-06-19 Glenn Morris <rgm@gnu.org>
5417
5418 * progmodes/python.el (python-mode): Derive from prog-mode.
5419
b3820318
KG
54202012-06-19 Kevin Gallagher <Kevin.Gallagher@boeing.com>
5421
5422 * emulation/edt.el (edt-default-menu-bar-update-buffers)
5423 (edt-user-menu-bar-update-buffers): New functions.
5424 (edt-default-emulation-setup, edt-user-emulation-setup): Use them.
5425
c6bf3022
CY
54262012-06-19 Chong Yidong <cyd@gnu.org>
5427
5428 * subr.el (with-selected-window): Preserve the selected window's
5429 terminal's top-frame (Bug#4702).
5430
5431 * window.el (save-selected-window): Likewise.
5432
25f09295
SM
54332012-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
5434
5435 * progmodes/python.el (python-rx-constituents): Move backquote.
5436 (python-skeleton-define, python-define-auxiliary-skeleton):
5437 Use `declare'.
5438
6b11952a
MA
54392012-06-18 Michael Albinus <michael.albinus@gmx.de>
5440
5441 * minibuffer.el (read-file-name-default): Revert the patch from
5442 2012-06-17.
5443
ee4b1330
SM
54442012-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
5445
5446 * emacs-lisp/pcase.el (pcase--expand): Warn for unused pattern.
5447 (pcase--u1, pcase--q1): Don't use apply-partially.
5448
35647f79
GM
54492012-06-18 Glenn Morris <rgm@gnu.org>
5450
5451 * progmodes/python.el (python-proc, python-buffer)
5452 (python-send-receive, python-send-string): Fix obsolete versions.
5453
24b0cff0
MR
54542012-06-18 Martin Rudalics <rudalics@gmx.at>
5455
5456 * window.el (special-display-p): Completely remove stringp
5457 check. Suggested by Andreas Schwab <schwab@linux-m68k.org>.
5458
29855149
MA
54592012-06-17 Michael Albinus <michael.albinus@gmx.de>
5460
5461 * minibuffer.el (read-file-name-default): Bind `non-essential' to `t'.
5462
5463 * net/tramp.el (tramp-file-name-handler): Catch 'non-essential.
5464
5465 * net/ange-ftp.el (ange-ftp-gwp-start, ange-ftp-start-process):
5466 * net/tramp-sh.el (tramp-maybe-open-connection):
5467 Throw if `non-essential' is non-nil.
5468
07463363
MR
54692012-06-17 Martin Rudalics <rudalics@gmx.at>
5470
5471 * window.el (special-display-p): Signal an error if BUFFER-NAME
5472 is not a string (Bug#11713).
5473
48d1354e
PE
54742012-06-17 Paul Eggert <eggert@cs.ucla.edu>
5475
5476 * progmodes/python.el (python-info-beginning-of-backslash):
5477 Rename from python-info-beginning-of-backlash, as a spelling fix.
5478
eb4a8a9a
CY
54792012-06-17 Chong Yidong <cyd@gnu.org>
5480
5481 * term.el (term-emulate-terminal): If term-check-size is called,
5482 move point to the process mark without resetting point (Bug#4635).
5483
ddfbf826 54842012-06-17 Glenn Morris <rgm@gnu.org>
9c758578
GM
5485
5486 * international/mule-cmds.el (mule-menu-keymap)
5487 (set-language-environment, set-locale-environment): Doc tweaks.
5488
9b0e3eba
AA
54892012-06-16 Aurelien Aptel <aurelien.aptel@gmail.com>
5490
5491 * cus-face.el (custom-face-attributes): Add wave-style underline
5492 attribute.
5493 * faces.el (set-face-attribute): Update docstring to describe
5494 wave-style underline attribute.
5495
771e3eae
CY
54962012-06-16 Chong Yidong <cyd@gnu.org>
5497
5498 * term/xterm.el (terminal-init-xterm): Discard input before
5499 querying background mode (Bug#10959).
5500
7ae2ea10
SM
55012012-06-16 Stefan Merten <smerten@oekonux.de>
5502
5503 * textmodes/rst.el: Added and corrected some comments.
5504 (rst-re-alist-def): Improve symbol syntax.
5505 (rst-mode-syntax-table): Correct syntax entries.
6665a6fd
SM
5506 (rst-cvs-header, rst-svn-rev, rst-svn-timestamp)
5507 (rst-official-version, rst-official-cvs-rev): Update version
5508 information.
7ae2ea10 5509
b6974efa
JB
55102012-06-15 Juanma Barranquero <lekktu@gmail.com>
5511
5512 * makefile.w32-in (COMPILE_FIRST): Synch with makefile.in changes
5513 in 2008-06-22T13:57:28Z!monnier@iro.umontreal.ca.
5514
8826d473
GM
55152012-06-15 Fabián Ezequiel Gallina <fgallina@cuca>
5516
5517 * progmodes/python.el: New python.el merge.
5518 (python-guess-indent): Obsolete var.
5519 (python-indent-guess-indent-offset): New defcustom.
5520 (python-indent): Obsolete var.
5521 (python-indent-offset): New defcustom.
5522 (python-python-command, python-jython-command): Delete var.
5523 (python-shell-interpreter): New defcustom.
5524 (python-pdbtrack-do-tracking-p): Delete var.
5525 (python-pdbtrack-activate): New defcustom.
5526 (python-use-skeletons): Obsolete var.
5527 (python-skeleton-autoinsert): New defcustom.
5528 (inferior-python-filter-regexp, python-continuation-offset)
5529 (python-honour-comment-indentation, python-indent-string-contents)
5530 (python-jython-packages, python-mode-hook)
5531 (python-pdbtrack-minor-mode-string, python-remove-cwd-from-path)
5532 (python-shell-prompt-alist)
5533 (python-source-modes): Delete defcustoms.
5534 (python-check-buffer-name, python-eldoc-setup-code)
5535 (python-eldoc-string-code, python-ffap-setup-code)
5536 (python-ffap-string-code, python-fill-comment-function)
5537 (python-fill-decorator-function, python-fill-paren-function)
5538 (python-fill-string-function, python-imenu-include-defun-type)
5539 (python-imenu-make-tree, python-imenu-subtree-root-label)
5540 (python-pdbtrack-stacktrace-info-regexp, python-shell-buffer-name)
5541 (python-shell-compilation-regexp-alist)
5542 (python-shell-completion-module-string-code)
5543 (python-shell-completion-pdb-string-code)
5544 (python-shell-completion-setup-code)
5545 (python-shell-completion-string-code)
5546 (python-shell-enable-font-lock, python-shell-exec-path)
5547 (python-shell-extra-pythonpaths)
5548 (python-shell-internal-buffer-name, python-shell-interpreter-args)
5549 (python-shell-process-environment)
5550 (python-shell-prompt-block-regexp)
5551 (python-shell-prompt-output-regexp)
5552 (python-shell-prompt-pdb-regexp, python-shell-prompt-regexp)
5553 (python-shell-send-setup-max-wait, python-shell-setup-codes)
5554 (python-shell-virtualenv-path): New defcustoms.
5555 (brm-menu, eldoc-documentation-function, inferior-python-mode-map)
5556 (inferior-python-mode-syntax-table, python--prompt-regexp)
5557 (python-buffer, python-command python-python-command)
5558 (python-default-template, python-imports, python-indent-index)
5559 (python-indent-list, python-indent-list-length)
5560 (python-mode-running, python-pdbtrack-is-tracking-p)
5561 (python-preoutput-continuation, python-preoutput-leftover)
5562 (python-preoutput-result, python-preoutput-skip-next-prompt)
5563 (python-prev-dir/file, python-recursing)
5564 (python-saved-check-command, python-version-checked)
5565 (python-which-func-length-limit)
5566 (view-return-to-alist): Delete vars.
5567 (python-check-custom-command, python-dotty-syntax-table)
5568 (python-imenu-index-alist, python-indent-current-level)
5569 (python-indent-dedenters, python-indent-levels)
5570 (python-nav-beginning-of-defun-regexp)
5571 (python-nav-list-defun-positions-cache)
5572 (python-pdbtrack-buffers-to-kill, python-pdbtrack-tracked-buffer)
5573 (python-shell-internal-buffer)
5574 (python-skeleton-available): New vars.
5575 (def-python-skeleton): Delete macro.
5576 (python-skeleton-define): New macro.
5577 (python-define-auxiliary-skeleton, python-rx): New macros.
5578 (python-insert-class): Delete command.
5579 (python-skeleton-class): New command.
5580 (python-insert-def): Delete command.
5581 (python-skeleton-def): New command.
5582 (python-insert-for): Delete command.
5583 (python-skeleton-for): New command.
5584 (python-insert-if): Delete command.
5585 (python-skeleton-if): New command.
5586 (python-insert-try/except, python-insert-try/finally): Delete commands.
5587 (python-skeleton-try): New command.
5588 (python-insert-while): Delete command.
5589 (python-skeleton-while): New command.
5590 (python-backspace): Delete command.
5591 (python-indent-dedent-line-backspace): New command.
5592 (python-electric-colon): Delete command.
5593 (python-indent-electric-colon): New command.
5594 (python-guess-indent): Delete command.
5595 (python-indent-guess-indent-offset): New command.
5596 (python-shift-left): Delete command.
5597 (python-indent-shift-left): New command.
5598 (python-shift-right): Delete command.
5599 (python-indent-shift-right): New command.
5600 (python-find-function): Delete command.
5601 (python-nav-jump-to-defun): New command.
5602 (python-next-statement): Delete command.
5603 (python-nav-forward-sentence): New command.
5604 (python-previous-statement): Delete command.
5605 (python-nav-backward-sentence): New command.
5606 (python-fill-paragraph): Delete command.
5607 (python-fill-paragraph-function): New command.
5608 (python-send-buffer): Delete command.
5609 (python-shell-send-buffer): New command.
5610 (python-send-defun): Delete command.
5611 (python-shell-send-defun): New command.
5612 (python-send-region, python-send-region-and-go): Delete commands.
5613 (python-shell-send-region)
5614 (python-shell-switch-to-shell): New commands.
5615 (python-send-string): Delete command.
5616 (python-shell-send-string): New command.
5617 (python-switch-to-python): Delete command.
5618 (python-shell-switch-to-shell): New command.
5619 (python-describe-symbol): Delete command.
5620 (python-eldoc-at-point): New command.
5621 (python--set-prompt-regexp, python-args-to-list)
5622 (python-after-info-look, python-check-version)
5623 (python-check-comint-prompt, python-find-imports)
5624 (python-execute-file, turn-off-pdbtrack, turn-on-pdbtrack)
5625 (python-unload-function, python-expand-template)
5626 (python-maybe-jython, python-preoutput-filter)
5627 (python-pdbtrack-get-source-buffer)
5628 (python-pdbtrack-grub-for-buffer, python-pdbtrack-overlay-arrow)
5629 (python-pdbtrack-toggle-stack-tracking)
5630 (python-pdbtrack-track-stack-file, python-initial-text)
5631 (python-first-word, python-comment-line-p, python-send-command)
5632 (python-setup-brm, python-sentinel, python-set-proc)
5633 (python-skip-out, python-input-filter, python-outdent-p)
5634 (python-outline-level, python-backslash-continuation-line-p)
5635 (python-end-of-block, python-end-of-statement, python-mark-block)
5636 (python-beginning-of-block, python-beginning-of-statement)
5637 (python-blank-line-p, python-beginning-of-string)
5638 (python-open-block-statement-p): Delete functions.
5639 (python-indent-line, python-indent-line-1): Delete functions.
5640 (python-indent-line): New function.
5641 (python-indentation-levels): Delete function.
5642 (python-indent-calculate-levels): New function.
5643 (python-proc): Delete function.
5644 (python-shell-get-process): New function.
5645 (python-send-receive): Delete function.
5646 (python-shell-send-string-no-output): New function.
5647 (python-module-path): Delete function.
5648 (python-ffap-module-path): New function.
5649 (python-completion-at-point)
5650 (python-symbol-completions): Delete functions.
5651 (python-completion-complete-at-point): New function.
5652 (python-load-file): Delete function.
5653 (python-shell-send-file): New function.
5654 (python-calculate-indentation): Delete function.
5655 (python-indent-calculate-indentation): New function.
5656 (python-skip-comments/blanks): Delete function.
5657 (python-util-forward-comment): New function.
5658 (python-continuation-line-p): Delete function.
5659 (python-info-continuation-line-p): New function.
5660 (python-which-func, python-current-defun): Delete function.
5661 (python-info-current-defun): New function.
5662 (python-beginning-of-defun): Delete function.
5663 (python-nav-beginning-of-defun): New function.
5664 (python-close-block-statement-p)
5665 (python-block-end-p): Delete function.
5666 (python-info-closing-block): New function.
5667 (python-comint-output-filter-function)
5668 (python-eldoc--get-doc-at-point, python-end-of-defun-function)
5669 (python-fill-comment, python-fill-decorator, python-fill-paren)
5670 (python-fill-string, python-imenu-make-element-tree)
5671 (python-imenu-make-tree, python-imenu-tree-assoc)
5672 (python-indent-context, python-indent-dedent-line)
5673 (python-indent-line-function)
5674 (python-indent-post-self-insert-function)
5675 (python-indent-toggle-levels)
5676 (python-info-assignment-continuation-line-p)
5677 (python-info-beginning-of-backlash)
5678 (python-info-block-continuation-line-p)
5679 (python-info-closing-block-message)
5680 (python-info-line-ends-backslash-p)
5681 (python-info-looking-at-beginning-of-defun)
5682 (python-info-ppss-context, python-info-ppss-context-type)
5683 (python-nav-list-defun-positions, python-nav-read-defun)
5684 (python-nav-sentence-end, python-nav-sentence-start)
5685 (python-pdbtrack-comint-output-filter-function)
5686 (python-pdbtrack-set-tracked-buffer)
5687 (python-shell-calculate-exec-path)
5688 (python-shell-calculate-process-environment)
5689 (python-shell-completion--do-completion-at-point)
5690 (python-shell-completion--get-completions)
5691 (python-shell-completion-complete-at-point)
5692 (python-shell-completion-complete-or-indent)
5693 (python-shell-get-or-create-process)
5694 (python-shell-get-process-name)
5695 (python-shell-internal-get-or-create-process)
5696 (python-shell-internal-get-process-name)
5697 (python-shell-internal-send-string, python-shell-make-comint)
5698 (python-shell-parse-command, python-shell-send-setup-code)
5699 (python-skeleton-add-menu-items)
5700 (python-util-clone-local-variables, python-util-position)
5701 (run-python-internal, python-indentation-levels)
5702 (python-nav-beginning-of-defun)
5703 (python-completion-complete-at-point): New functions.
5704 (run-python): Change arguments. New API requirements.
5705
4302f5ba
SM
57062012-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
5707
f38ea36d
SM
5708 * emacs-lisp/cl-lib.el (cl--defsubst-expand): Autoload inliner
5709 (bug#11649).
5710
5711 * emacs-lisp/macroexp.el (macroexp--compiler-macro): New function.
5712 (macroexp--expand-all): Use it.
5713
4302f5ba
SM
5714 * emacs-lisp/cl-macs.el (cl--transform-function-property): Remove.
5715 (cl-define-setf-expander, cl-deftype, cl-define-compiler-macro):
5716 Use `cl-function' instead.
5717
33377562
JB
57182012-06-14 Juanma Barranquero <lekktu@gmail.com>
5719
5720 * makefile.w32-in (COMPILE_FIRST): Remove subr.el.
5721 Suggested by Stefan Monnier while discussing bug#11657.
5722
54c5ba1a
SS
57232012-06-14 Sam Steingold <sds@gnu.org>
5724
5725 * files.el (abort-if-file-too-large): Use `file-size-human-readable'.
5726
f9f1b1fe
AS
57272012-06-14 Andreas Schwab <schwab@linux-m68k.org>
5728
5729 * play/doctor.el (doctor-doc): Remove parameter and use
5730 doctor-sent instead of sent.
5731 (doctor-read-print): Use doctor-sent instead of sent. (Bug#11708)
5732
a81068ba
SM
57332012-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
5734
5a315f9c
SM
5735 * files.el: Require cl-lib.
5736 (file-name-non-special): Replace case -> cl-case.
5737
5738 * emacs-lisp/cl-macs.el (cl-defstruct): Don't add print-func.
5739
a81068ba
SM
5740 * emacs-lisp/edebug.el (edebug-read-function): Remove old incorrect
5741 mapping from #' to function*.
5742
8cca9703
CY
57432012-06-13 Chong Yidong <cyd@gnu.org>
5744
5745 * mouse.el (mouse-drag-track): Do not set the mark if the user
5746 releases the mouse without selecting anything (Bug#11588).
5747
a12ac9d7
SM
57482012-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
5749
ccf1dc18
SM
5750 * textmodes/tex-mode.el (latex-indent): Recognize tex-verbatim at EOB
5751 as well (bug#11646).
5752
ef62b23d
SM
5753 * loadup.el: Count byte-code functions as well.
5754
c4c8444a
SM
5755 * emacs-lisp/byte-opt.el (featurep): Move compiler-macro...
5756 * emacs-lisp/bytecomp.el (featurep): ...here (bug#11692).
5757
a12ac9d7
SM
5758 * emacs-lisp/autoload.el (make-autoload): Accept nil doc-string-elt
5759 (bug#11649). Add cl-defun and cl-defmacro.
5760
87e6e64f
DA
57612012-06-13 Drew Adams <drew.adams@oracle.com>
5762
5763 * help-mode.el (help-bookmark-make-record, help-bookmark-jump):
5764 Fix last change.
5765
682cefaf
MA
57662012-06-13 Michael Albinus <michael.albinus@gmx.de>
5767
5768 * net/dbus.el (dbus-call-method): Use timeout for `read-event'.
5769 Otherwise, it blocks in batch mode.
5770
773e1f08
JB
57712012-06-13 Juanma Barranquero <lekktu@gmail.com>
5772
5773 * help-mode.el (bookmark-make-record-default): Declare.
5774
60057926
CY
57752012-06-13 Chong Yidong <cyd@gnu.org>
5776
5777 * emacs-lisp/package.el (list-packages): Compute a list of
5778 packages that are newly-available since the last list-packages
5779 invocation.
5780 (package-menu--new-package-list): New var.
5781 (package-menu--generate, package-menu--print-info)
5782 (package-menu--status-predicate, package-menu-mark-install):
5783 Handle new status label "new".
5784
ad4d226c
SM
57852012-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
5786
5787 * emacs-lisp/cl-macs.el (cl-remf): Fix error in recent
5788 conversion to backquotes.
5789
f1a4e679
CY
57902012-06-12 Chong Yidong <cyd@gnu.org>
5791
5792 * emacs-lisp/edebug.el (edebug-inhibit-emacs-lisp-mode-bindings):
5793 Rename from gud-inhibit-global-bindings.
5794
5795 * emacs-lisp/eieio.el (eieio-pre-method-execution-hooks): Doc fix.
5796
5797 * nxml/nxml-glyph.el (nxml-glyph-set-functions): Rename abnormal
5798 hook from nxml-glyph-set-hook.
5799
5800 * progmodes/cwarn.el (cwarn-mode): Remove redundant variable
5801 declaration.
5802
5803 * progmodes/pascal.el (pascal-toggle-completions): Doc fix.
5804
5805 * textmodes/bibtex.el (bibtex-string-file-path, bibtex-file-path):
5806 Convert to defcustom.
5807
0c9e42b5
DA
58082012-06-12 Drew Adams <drew.adams@oracle.com>
5809
5810 * help-mode.el (help-bookmark-make-record, help-bookmark-jump):
5811 New functions.
5812 (help-mode): Use them.
5813
09e06855
GM
58142012-06-11 Glenn Morris <rgm@gnu.org>
5815
5816 * progmodes/fortran.el (fortran-font-lock-keywords-3):
5817 Use preprocessor face for directives.
5818 (fortran-directive-re): Doc fix.
5819
71adb94b
SM
58202012-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
5821
2eb87922
SM
5822 * emacs-lisp/cl-macs.el (cl-parse-loop-clause): Fix error in recent
5823 conversion to backquotes (bug#11652).
5824
71adb94b
SM
5825 Fix compiler-expansion of CL's cXXr functions (bug#11673).
5826 * emacs-lisp/cl-lib.el (cl--defalias): New function.
5827 (cl-values, cl-values-list, cl-copy-seq, cl-svref, cl-first)
5828 (cl-second, cl-rest, cl-endp, cl-third, cl-fourth): Use it.
5829 (cl-plusp, cl-minusp, cl-fifth, cl-sixth, cl-seventh, cl-eighth)
5830 (cl-ninth, cl-tenth): Mark them as inlinable.
5831 (cl-caaar, cl-caadr, cl-cadar, cl-caddr, cl-cdaar, cl-cdadr)
5832 (cl-cddar, cl-cdddr, cl-caaaar, cl-caaadr, cl-caadar, cl-caaddr)
5833 (cl-cadaar, cl-cadadr, cl-caddar, cl-cadddr, cl-cdaaar, cl-cdaadr)
5834 (cl-cdadar, cl-cdaddr, cl-cddaar, cl-cddadr, cl-cdddar, cl-cddddr):
5835 Add a compiler-macro declaration to use cl--compiler-macro-cXXr.
5836 (cl-list*, cl-adjoin): Don't put an autoload manually.
5837 * emacs-lisp/cl-macs.el (cl--compiler-macro-adjoin)
5838 (cl--compiler-macro-list*): Add autoload cookie.
5839 (cl--compiler-macro-cXXr): New function.
2eb87922 5840
71adb94b
SM
5841 * help-fns.el (help-fns--compiler-macro): New function extracted from
5842 describe-function-1; follow aliases and use `compiler-macro' property.
5843 (describe-function-1): Use it.
5844
a6674402
CY
58452012-06-11 Chong Yidong <cyd@gnu.org>
5846
5847 * startup.el (fancy-splash-head): Use splash.svg even if librsvg
5848 is uninstalled, if imagemagick is installed.
5849
bb3faf5b
SM
58502012-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
5851
5852 * emacs-lisp/cl-lib.el: Use lexical-binding.
5853 (cl-map-extents, cl-maclisp-member): Remove.
5854 (cl--set-elt, cl--set-nthcdr, cl--set-buffer-substring)
5855 (cl--set-substring, cl--block-wrapper, cl--block-throw)
5856 (cl--compiling-file, cl--mapcar-many, cl--do-subst): Use "cl--" prefix.
5857 * emacs-lisp/cl-extra.el: Use lexical-binding.
5858 (cl--mapcar-many, cl--map-keymap-recursively, cl--map-intervals)
5859 (cl--map-overlays, cl--set-frame-visible-p, cl--progv-save)
5860 (cl--progv-before, cl--progv-after, cl--finite-do, cl--set-getf)
5861 (cl--do-remf, cl--do-prettyprint): Use "cl--" prefix.
5862 * emacs-lisp/cl-seq.el: Use lexical-binding.
5863 (cl--parsing-keywords, cl--check-key, cl--check-test-nokey)
5864 (cl--check-test, cl--check-match): Use "cl--" prefix and backquotes.
5865 (cl--alist, cl--sublis-rec, cl--nsublis-rec, cl--tree-equal-rec):
5866 * emacs-lisp/cl-macs.el (cl--lambda-list-keywords): Use "cl--" prefix.
5867 * edmacro.el (edmacro-mismatch): Simplify to remove dependence on
5868 CL's internals.
5869
2fe4b125
MA
58702012-06-11 Michael Albinus <michael.albinus@gmx.de>
5871
5872 Sync with Tramp 2.2.6-pre.
5873
5874 * net/tramp-cache.el (tramp-dump-connection-properties): Let-bind
5875 `print-length' and `print-level' to nil, in order to avoid
5876 truncation. Reported by Christopher Schmidt
5877 <christopher@ristopher.com>.
5878
5879 * net/tramp-cmds.el (tramp-cleanup-connection): Delete also process.
5880
5881 * net/tramp-compat.el (tramp-compat-condition-case-unless-debug):
5882 New defmacro.
5883 (tramp-compat-copy-directory): Add optional argument
5884 COPY-CONTENTS. It is not handled yet.
5885
5886 * net/tramp-ftp.el (tramp-disable-ange-ftp): Fix docstring.
5887 (tramp-ftp-file-name-p): Simplify.
5888
5889 * net/tramp-gvfs.el (tramp-gvfs-handle-expand-file-name):
5890 * net/tramp-gw.el (tramp-gw-open-connection): Add hop to
5891 connection vector.
5892
5893 * net/tramp-sh.el (tramp-copy-size-limit): Fix docstring.
5894 (tramp-methods): Do not use `tramp-password-end-of-line'.
5895 (tramp-completion-function-alist-putty): Handle UNIX case.
5896 (tramp-remote-path): Add "/opt/bin", "/opt/sbin" and "/opt/local/bin".
5897 (tramp-do-file-attributes-with-stat)
5898 (tramp-do-directory-files-and-attributes-with-stat) Return uid and
5899 gid as real numbers. They could run out of integer range on cygwin.
5900 (tramp-do-copy-or-rename-file-out-of-band): Better trace format.
5901 (tramp-sh-handle-expand-file-name): Handle hops.
87e6e64f
DA
5902 (tramp-open-connection-setup-interactive-shell):
5903 Use `tramp-cleanup'. Move check for busyboxes ...
5904 (tramp-find-shell): ... here. Simplify implementation.
5905 Set "remote-shell" property also for alternative shells.
5906 (tramp-remote-coding-commands): Check "test -c /dev/stdout".
5907 If failing, a regular file would be written otherwise.
5908 Reported by Dmitry Kurochkin <dmitry.kurochkin@gmail.com>.
2fe4b125
MA
5909 (tramp-find-inline-encoding): Cache the coding commands in the
5910 process cache. Apply test command on the remote side, if defined.
5911 (tramp-find-inline-compress): Cache the compress commands in the
5912 process cache.
5913 (tramp-compute-multi-hops): Save `tramp-default-proxies-alist'
5914 when requested. Handle hops.
5915 (tramp-current-connection): New defvar.
87e6e64f
DA
5916 (tramp-maybe-open-connection): Use `tramp-cleanup'.
5917 Throw `suppress', if there was a failed connection shortly before.
2fe4b125 5918 Handle user interrupt. (Bug#10187)
87e6e64f
DA
5919 (tramp-get-inline-compress, tramp-get-inline-coding):
5920 Read connection properties from the process cache.
2fe4b125
MA
5921
5922 * net/tramp-smb.el (tramp-smb-server-version)
87e6e64f
DA
5923 (tramp-smb-wrong-passwd-regexp, tramp-smb-actions-with-tar):
5924 New defconsts.
2fe4b125
MA
5925 (tramp-smb-prompt): Extend for powershell prompt.
5926 (tramp-smb-file-name-handler-alist): Add handlers for
5927 `process-file', `shell-command' and `start-file-process'.
5928 (tramp-smb-winexe-program, tramp-smb-winexe-shell-command)
5929 (tramp-smb-winexe-shell-command-switch): New defcustoms.
5930 (tramp-smb-file-name-p): Simplify.
5931 (tramp-smb-action-with-tar, tramp-smb-handle-process-file)
5932 (tramp-smb-kill-winexe-function, tramp-smb-call-winexe)
5933 (tramp-smb-shell-quote-argument): New defuns.
5934 (tramp-smb-handle-copy-directory): Add COPY-CONTENTS argument.
5935 Implement using "tar". By this, time-stamps are preserved.
5936 (tramp-smb-handle-copy-file): Handle also the case of directories.
5937 (tramp-smb-do-file-attributes-with-stat)
87e6e64f
DA
5938 (tramp-smb-get-file-entries, tramp-smb-get-cifs-capabilities):
5939 Use `tramp-get-connection-buffer').
2fe4b125
MA
5940 (tramp-smb-handle-rename-file): Use "rename", when source and
5941 target are on the same share.
87e6e64f
DA
5942 (tramp-smb-maybe-open-connection): Handle wrong passwords.
5943 Use `tramp-smb-server-version'.
2fe4b125
MA
5944 (tramp-smb-wait-for-output): Remove prompt.
5945
5946 * net/tramp.el (top): Require 'cl.
87e6e64f
DA
5947 (tramp-methods, tramp-rsh-end-of-line):
5948 Remove `tramp-password-end-of-line' from docstring.
2fe4b125
MA
5949 (tramp-save-ad-hoc-proxies): New defcustom.
5950 (tramp-completion-function-alist): Adapt docstring.
5951 (tramp-default-password-end-of-line): Remove defcustom.
5952 (tramp-shell-prompt-pattern): Allow "[]" style prompts. (Bug#11065)
5953 (tramp-user-regexp, tramp-file-name-regexp-unified)
5954 (tramp-file-name-regexp-url): Extend regexp by hop separator.
5955 (tramp-postfix-hop-format, tramp-postfix-hop-regexp)
5956 (tramp-remote-file-name-spec-regexp): New defconst.
5957 (tramp-file-name-structure): Extend structure for hops.
5958 (tramp-get-method-parameter): Move up.
5959 (tramp-file-name-p, tramp-dissect-file-name)
5960 (with-parsed-tramp-file-name): Handle hops.
5961 (tramp-file-name-hop): New defun.
5962 (tramp-make-tramp-file-name): New optional arg HOP.
5963 (tramp-message-show-progress-reporter-message): New defvar.
5964 (tramp-with-progress-reporter): Use it. We cannot use
5965 `tramp-message-show-message' here, because this suppresses also
5966 error buffers.
5967 (tramp-error-with-buffer): Suppress buffer view, if
87e6e64f
DA
5968 `tramp-message-show-message' is nil.
5969 Use `tramp-get-connection-buffer'.
2fe4b125
MA
5970 (tramp-cleanup): New defun.
5971 (tramp-rfn-eshadow-update-overlay): Let-bind `non-essential' to `t'.
5972 (tramp-file-name-handler): If `debug-on-error' is set, propagate
5973 an error unchanged.
5974 (tramp-completion-handle-file-name-all-completions): Handle hops.
5975 Fix an error when called from ido.
5976 (tramp-completion-dissect-file-name): Use better local variable
5977 name. Add hop to the vector.
5978 (tramp-handle-insert-file-contents): Use progress-reporter for the
5979 whole scenario.
5980 (tramp-action-password): Let-bind `enable-recursive-minibuffers'
5981 to `t'.
5982 (tramp-check-for-regexp): Simplify search.
5983 (tramp-enter-password): Remove it. Move implementation ...
5984 (tramp-action-password): ... here.
5985 (tramp-mode-string-to-int, tramp-local-host-p)
5986 (tramp-make-tramp-temp-file, tramp-read-passwd)
87e6e64f
DA
5987 (tramp-clear-passwd, tramp-time-less-p, tramp-time-diff):
5988 Set tramp-autoload cookie.
2fe4b125
MA
5989
5990 * net/trampver.el: Update release number.
5991
59922012-06-11 Thierry Volpiatto <thierry.volpiatto@gmail.com>
5993 Michael Albinus <michael.albinus@gmx.de>
5994
5995 * net/tramp.el (tramp-set-completion-function): Fix docstring.
5996 (tramp-parse-group, tramp-parse-file)
5997 (tramp-parse-shostkeys-sknownhosts): New defuns.
5998 (tramp-parse-rhosts, tramp-parse-rhosts-group, tramp-parse-shosts)
5999 (tramp-parse-shosts-group, tramp-parse-sconfig)
6000 (tramp-parse-sconfig-group, tramp-parse-shostkeys)
6001 (tramp-parse-sknownhosts, tramp-parse-hosts)
6002 (tramp-parse-hosts-group, tramp-parse-passwd, tramp-parse-netrc):
6003 Use them.
6004 (tramp-parse-passwd-group, tramp-parse-netrc-group)
6005 (tramp-parse-putty-group): Don't narrow.
6006 (tramp-parse-putty): Make a loop.
6007 (tramp-file-name-handler): Catch the `suppress' signal.
6008
72834e10
CY
60092012-06-11 Chong Yidong <cyd@gnu.org>
6010
6011 * image.el (imagemagick-register-types): Put the ImageMagick entry
6012 at the end of image-type-file-name-regexps.
6013
a4712e11
JB
60142012-06-11 Johan Bockgård <bojohan@gnu.org>
6015
6016 * emacs-lisp/pcase.el (pcase-UPAT, pcase-QPAT): New edebug specs.
6017 (pcase, pcase-let*, pcase-dolist): Use them.
6018
82ad98e3
SM
60192012-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
6020
6021 * emacs-lisp/pcase.el (pcase--let*): New function.
6022 (pcase-let*): Use it. Use pcase--memoize to avoid repeated expansions.
6023 (pcase--expand): Use macroexp-let².
6024
f80efb86
SM
60252012-06-10 Stefan Monnier <monnier@iro.umontreal.ca>
6026
6027 * emacs-lisp/timer.el, emacs-lisp/syntax.el, emacs-lisp/smie.el:
6028 * emacs-lisp/ewoc.el, emacs-lisp/cconv.el, emacs-lisp/bytecomp.el:
6029 * emacs-lisp/byte-opt.el, emacs-lisp/autoload.el: Convert to cl-lib.
6030 * emacs-lisp/easymenu.el, emacs-lisp/easy-mmode.el:
6031 * emacs-lisp/derived.el: Use pcase instead of `cl'.
6032 * emacs-lisp/cl-lib.el: Get rid of special cl-macs auto load.
6033
31ca4639 60342012-06-10 Glenn Morris <rgm@gnu.org>
94f0aa34 6035
31ca4639
CY
6036 * mail/rmail.el (rmail-yank-current-message): Leave point at
6037 correct position. (Bug#11660)
94f0aa34 6038
31ca4639 60392012-06-10 Chong Yidong <cyd@gnu.org>
9e1b8ec4 6040
31ca4639 6041 * allout-widgets.el: Fix code header.
9e1b8ec4 6042
31ca4639 60432012-06-10 Chong Yidong <cyd@gnu.org>
00cd0305 6044
f80efb86
SM
6045 * cus-edit.el (customize-changed-options-previous-release):
6046 Bump to 24.1.
31ca4639 6047
642b6d30
AS
60482012-06-09 Andreas Schwab <schwab@linux-m68k.org>
6049
6050 * Makefile.in (BIG_STACK_DEPTH): Enlarge to 2200.
6051
4f5d2ba1
CY
60522012-06-09 Chong Yidong <cyd@gnu.org>
6053
6054 * ebuff-menu.el (electric-buffer-list): Preserve header line.
6055
e75852fd
MR
60562012-06-09 Martin Rudalics <rudalics@gmx.at>
6057
6058 * window.el (special-display-popup-frame): Don't use
6059 window--display-buffer (Bug#11651).
6060
1e48e282
EZ
60612012-06-09 Eli Zaretskii <eliz@gnu.org>
6062
8a26b487
EZ
6063 Fix parallel builds: make sure loaddefs.el is not being written
6064 while Lisp files are compiled.
6065 (compile): Don't depend on 'mh-autoloads'.
6066 (compile-CMD, compile-SH): Depend on 'autoloads'.
6067 (bootstrap): Don't depend on 'autoloads' and 'mh-autoloads'.
6068
1e48e282
EZ
6069 * makefile.w32-in (BIG_STACK_DEPTH): Enlarge to 2200. (Bug#11649)
6070
6175e34b
CY
60712012-06-09 Chong Yidong <cyd@gnu.org>
6072
6073 * face-remap.el (face-remap-add-relative, face-remap-set-base)
6074 (buffer-face-set, buffer-face-toggle, buffer-face-mode-invoke):
6075 Doc fixes (Bug#11225).
6076
d9857e53
SM
60772012-06-09 Stefan Monnier <monnier@iro.umontreal.ca>
6078
6079 * emacs-lisp/macroexp.el (macroexp--expand-all): Only autoload
6080 a function if there's a clear indication that it has a compiler-macro.
6081 * emacs-lisp/byte-run.el (defun-declarations-alist, defmacro, defun)
6082 (macro-declarations-alist): Add arglist to declaration functions.
6083 (defun-declarations-alist): Add `obsolete' and `compiler-macro'.
6084 * emacs-lisp/cl-seq.el (cl-member, cl-assoc):
6085 * emacs-lisp/cl-lib.el (cl-list*, cl-adjoin):
6086 * emacs-lisp/cl-extra.el (cl-get): Use the new `declare' statement.
6087 Also add autoload to find the compiler macro.
6088 * emacs-lisp/cl-macs.el (eql) [compiler-macro]: Remove.
6089 (cl--compiler-macro-member, cl--compiler-macro-assoc)
6090 (cl--compiler-macro-adjoin, cl--compiler-macro-list*)
6091 (cl--compiler-macro-get): New functions, replacing calls to
6092 cl-define-compiler-macro.
6093 (cl-typep) [compiler-macro]: Use macroexp-let².
6094
f81298f8 60952012-06-08 Nick Dokos <nicholas.dokos@hp.com> (tiny change)
ee574791
UJ
6096
6097 * calendar/icalendar.el (icalendar--parse-vtimezone): Import TZID
6098 string properly, fixes Bug#11473.
6099
4b56d0fe
CY
61002012-06-08 Chong Yidong <cyd@gnu.org>
6101
6102 * faces.el (set-face-attribute): Doc fix.
6103 (modify-face): Don't use :bold and :italic.
6104 (error, warning, success): Tweak definitions.
6105
6106 * cus-edit.el (custom-modified, custom-invalid, custom-rogue)
6107 (custom-modified, custom-set, custom-changed, custom-themed)
6108 (custom-saved, custom-button, custom-button-mouse)
6109 (custom-button-pressed, custom-state, custom-comment-tag)
6110 (custom-variable-tag, custom-group-tag-1, custom-group-tag)
6111 (custom-group-subtitle): Use new-style face specs.
6112 (custom-invalid-face, custom-rogue-face, custom-modified-face)
6113 (custom-set-face, custom-changed-face, custom-saved-face)
6114 (custom-button-face, custom-button-pressed-face)
6115 (custom-documentation-face, custom-state-face)
6116 (custom-comment-face, custom-comment-tag-face)
6117 (custom-variable-tag-face, custom-variable-button-face)
6118 (custom-face-tag-face, custom-group-tag-face-1)
6119 (custom-group-tag-face): Remove obsolete face alias.
6120
6121 * epa.el (epa-validity-high, epa-validity-medium)
6122 (epa-validity-low, epa-mark, epa-field-name, epa-string)
6123 (epa-field-name, epa-field-body):
6124 * font-lock.el (font-lock-comment-face, font-lock-string-face)
6125 (font-lock-keyword-face, font-lock-builtin-face)
6126 (font-lock-function-name-face, font-lock-variable-name-face)
6127 (font-lock-type-face, font-lock-constant-face):
6128 * ido.el (ido-first-match, ido-only-match, ido-subdir)
6129 (ido-virtual, ido-indicator, ido-incomplete-regexp):
6130 * speedbar.el (speedbar-button-face, speedbar-file-face)
6131 (speedbar-directory-face, speedbar-tag-face)
6132 (speedbar-selected-face, speedbar-highlight-face)
6133 (speedbar-separator-face):
6134 * whitespace.el (whitespace-newline, whitespace-space)
6135 (whitespace-hspace, whitespace-tab, whitespace-trailing)
6136 (whitespace-line, whitespace-space-before-tab)
6137 (whitespace-space-after-tab, whitespace-indentation)
6138 (whitespace-empty):
6139 * emulation/cua-base.el (cua-global-mark):
6140 * eshell/em-prompt.el (eshell-prompt):
6141 * net/newst-plainview.el (newsticker-new-item-face)
6142 (newsticker-old-item-face, newsticker-immortal-item-face)
6143 (newsticker-obsolete-item-face, newsticker-date-face)
6144 (newsticker-statistics-face, newsticker-default-face):
6145 * net/newst-reader.el (newsticker-feed-face)
6146 (newsticker-extra-face, newsticker-enclosure-face):
6147 * net/newst-treeview.el (newsticker-treeview-face)
6148 (newsticker-treeview-new-face, newsticker-treeview-old-face)
6149 (newsticker-treeview-immortal-face)
6150 (newsticker-treeview-obsolete-face)
6151 (newsticker-treeview-selection-face):
6152 * net/rcirc.el (rcirc-my-nick, rcirc-other-nick)
6153 (rcirc-bright-nick, rcirc-server, rcirc-timestamp)
6154 (rcirc-nick-in-message, rcirc-nick-in-message-full-line)
6155 (rcirc-prompt, rcirc-track-keyword, rcirc-url, rcirc-keyword):
6156 * nxml/nxml-outln.el (nxml-heading, nxml-outline-indicator)
6157 (nxml-outline-active-indicator, nxml-outline-ellipsis):
6158 * play/mpuz.el (mpuz-unsolved, mpuz-solved, mpuz-trivial)
6159 (mpuz-text):
6160 * progmodes/vera-mode.el (vera-font-lock-number)
6161 (vera-font-lock-function, vera-font-lock-interface):
6162 * textmodes/table.el (table-cell): Use new-style face specs, and
6163 don't use the old :bold and :italic attributes.
6164
6165 * progmodes/ebrowse.el (ebrowse-tree-mark, ebrowse-root-class)
6166 (ebrowse-member-attribute, ebrowse-default, ebrowse-file-name)
6167 (ebrowse-member-class, ebrowse-progress): Likewise.
6168 (ebrowse-tree-mark-face, ebrowse-root-class-face)
6169 (ebrowse-file-name-face, ebrowse-default-face)
6170 (ebrowse-member-attribute-face, ebrowse-member-class-face)
6171 (ebrowse-progress-face): Remove obsolete faces.
6172
6173 * progmodes/flymake.el (flymake-errline, flymake-warnline):
6174 Inherit from error and warning faces respectively.
6175
6176 * textmodes/flyspell.el (flyspell-incorrect, flyspell-duplicate):
6177 Likewise.
f80efb86
SM
6178 (flyspell-incorrect-face, flyspell-duplicate-face):
6179 Remove obsolete aliases.
4b56d0fe 6180
03310646
MA
61812012-06-08 Michael Albinus <michael.albinus@gmx.de>
6182
6183 * net/tramp-compat.el (tramp-compat-temporary-file-directory):
6184 Avoid infloop.
6185
513749ee
SM
61862012-06-08 Stefan Monnier <monnier@iro.umontreal.ca>
6187
6188 * startup.el (argv, argi): Make lexically scoped.
6189 * emacs-lisp/float-sup.el (pi): Use internal-make-var-non-special.
6190 * emacs-lisp/cl-macs.el: Use lexical-binding.
6191 Rename cl-bind-* to cl--bind-*.
6192 * files.el: Don't require `cl' since it doesn't use it.
6193 * emacs-lisp/pcase.el, emacs-lisp/macroexp.el: Add coding cookie.
6194
595ef4ad
JB
61952012-06-08 Juanma Barranquero <lekktu@gmail.com>
6196
6197 * textmodes/texinfmt.el: Fix bug#11640 (reverts part of 2008-07-31T05:33:56Z!dann@ics.uci.edu).
6198 (texinfo-format-printindex): Use `texinfo-sort-region' in all platforms,
6199 instead of calling external sort utility.
6200 (texinfo-sort-region, texinfo-sort-startkeyfun): Restore functions.
6201
e9f66fcb
EZ
62022012-06-08 Eli Zaretskii <eliz@gnu.org>
6203
6204 * descr-text.el (describe-char): Mention how to insert the
6205 character, if the current input method doesn't support it.
6206 See the discussion in this thread for the details:
6207 http://lists.gnu.org/archive/html/emacs-devel/2012-05/msg00533.html.
6208
3d10db47
SS
62092012-06-08 Sam Steingold <sds@gnu.org>
6210
6211 * bindings.el (global-map): Bind XF86Forward to next-buffer and
6212 XF86Back to previous-buffer.
6213 (minibuffer-local-map): Bind them to next-history-element and
6214 previous-history-element respectively.
6215 * help-mode.el (help-mode-map): Bind them to help-go-forward and
6216 help-go-back respectively.
6217 * info.el (Info-mode-map): Bind them to Info-history-forward and
6218 Info-history-back respectively.
6219 These are the keys next to Up on the ThinkPad keyboard.
6220
de7e2b36
SM
62212012-06-08 Stefan Monnier <monnier@iro.umontreal.ca>
6222
6223 Get rid of cl-lexical-let, keeping only lexical-let for compatibility.
6224 * emacs-lisp/cl-macs.el: Provide itself.
6225 (cl--labels-convert-cache): New var.
6226 (cl--labels-convert): New function.
6227 (cl-flet, cl-labels): New implementation with new semantics, relying on
6228 lexical-binding.
6229 * emacs-lisp/cl.el: Mark compatibility aliases as obsolete.
6230 (cl-closure-vars, cl--function-convert-cache)
6231 (cl--function-convert): Move from cl-macs.el.
6232 (lexical-let, lexical-let*, flet, labels): Move from cl-macs.el and
6233 rename by removing the "cl-" prefix.
6234 * emacs-lisp/macroexp.el (macroexp-unprogn): New function.
6235
6fa6c4ae
SM
62362012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
6237
6238 * emacs-lisp/cl.el (cl-macroexpand, cl-macro-environment)
6239 (cl-macroexpand-all, cl-not-hash-table, cl-builtin-gethash)
6240 (cl-builtin-remhash, cl-builtin-clrhash, cl-builtin-maphash)
6241 (cl-map-keymap, cl-copy-tree, cl-gethash, cl-puthash, cl-remhash)
6242 (cl-clrhash, cl-maphash, cl-make-hash-table, cl-hash-table-p)
6243 (cl-hash-table-count): Add old compatibility aliases.
6244
6245 * emacs-lisp/cl-macs.el (cl-macro-environment): Remove var.
6246 Use macroexpand-all-environment instead.
6247 (cl--old-macroexpand): New var.
6248 (cl--sm-macroexpand): New function.
6249 (cl-symbol-macrolet): Use it during macro expansion.
6250 (cl--function-convert-cache): New var.
6251 (cl--function-convert): New function, extracted from
6252 cl-macroexpand-all.
6253 (cl-lexical-let): Use it.
6254
6255 * emacs-lisp/cl-lib.el (cl-macro-environment): Remove decl.
6256 (cl-macroexpand): Move to cl-macs.el and rename to cl--sm-macroexpand.
6257 (cl-member): Remove old alias.
6258
6259 * emacs-lisp/cl-extra.el (cl-map-keymap, cl-copy-tree)
6260 (cl-not-hash-table, cl-builtin-gethash, cl-builtin-remhash)
6261 (cl-builtin-clrhash, cl-builtin-maphash, cl-gethash, cl-puthash)
6262 (cl-remhash, cl-clrhash, cl-maphash, cl-make-hash-table)
6263 (cl-hash-table-p, cl-hash-table-count): Move to cl.el.
6264 (cl-macroexpand-cmacs): Remove var.
6265 (cl-macroexpand-all, cl-macroexpand-body): Remove funs.
6266 Use macroexpand-all instead.
6267
4dd1c416
SM
62682012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
6269
6270 * emacs-lisp/macroexp.el (macroexp-progn, macroexp-let*, macroexp-if)
6271 (macroexp-let², macroexp--const-symbol-p, macroexp-const-p)
6272 (macroexp-copyable-p): New functions and macros.
6273 * emacs-lisp/edebug.el (edebug-unwrap):
6274 * emacs-lisp/disass.el (disassemble-internal): Use macroexp-progn.
6275 * emacs-lisp/pcase.el: Use macroexp-let*, macroexp-if, ...
6276 (pcase--let*): Remove.
6277 * emacs-lisp/bytecomp.el (byte-compile-const-symbol-p)
6278 (byte-compile-constp): Remove. Use macroexp--const-symbol-p and
6279 macroexp-const-p instead.
6280 * emacs-lisp/byte-opt.el: Use macroexp-const-p and macroexp-progn.
6281
6282 * emacs-lisp/cl-macs.el: Clean up the name space by using "cl--"
6283 instead of "cl-" for internal definitions. Use macroexp-const-p.
6284 (cl-old-bc-file-form): Remove var.
6285 (cl-const-exprs-p): Remove fun.
6286 (cl-labels, cl-macrolet): Use backquote.
6287 (cl-lexical-let): Use cl-symbol-macrolet. Don't use cl-defun-expander.
6288 (cl-defun-expander, cl-byte-compile-compiler-macro): Remove fun.
6289 (cl-define-setf-expander): Rename from cl-define-setf-method.
6290 * emacs-lisp/cl.el: Adjust alias for define-setf-method.
6291
6292 * international/mule-cmds.el: Don't require CL.
6293 (view-hello-file): Don't use `letf'.
6294
ed8bd4d7
SM
62952012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
6296
7287f2f3
SM
6297 * tmm.el (tmm-prompt): Use string-prefix-p.
6298 (tmm-completion-delete-prompt): Don't affect current-buffer outside.
6299 (tmm-add-prompt): Use minibuffer-completion-help.
6300 (tmm-delete-map): Remove.
6301
ed8bd4d7
SM
6302 * subr.el (kbd): Make it its own function.
6303
7b4cdbf4
SM
63042012-06-07 Stefan Merten <smerten@oekonux.de>
6305
6306 * textmodes/rst.el: Use `eval-when-compile' for requiring `cl.el'.
6307 Silence compiler warnings. Fix versions.
ed8bd4d7 6308 (rst-position-if, rst-position, rst-some, rst-signum): New functions.
7b4cdbf4 6309 (rst-shift-region, rst-adornment-level, rst-compute-tabs)
ed8bd4d7 6310 (rst-indent-line, rst-shift-region, rst-forward-line): Use them.
7b4cdbf4
SM
6311 (rst-package-emacs-version-alist): Correct Emacs version to
6312 represent major merge with upstream.
ed8bd4d7 6313 (rst-transition, rst-adornment, rst-compile-toolsets): Fix versions.
7b4cdbf4 6314
2b48d721
GM
63152012-06-06 Glenn Morris <rgm@gnu.org>
6316
6317 * mail/emacsbug.el (report-emacs-bug): Add relevant EMACS env-vars.
6318 Only print environment variables if set.
6319
fa779ab0
SM
63202012-06-06 Stefan Monnier <monnier@iro.umontreal.ca>
6321
6322 * emacs-lisp/macroexp.el: Don't require CL since we don't use it.
6323 (macroexp--cons): Rename from maybe-cons.
6324 (macroexp--accumulate): Rename from macroexp-accumulate.
6325 (macroexp--all-forms): Rename from macroexpand-all-forms.
6326 (macroexp--all-clauses): Rename from macroexpand-all-clauses.
6327 (macroexp--expand-all): Rename from macroexpand-all-1.
6328
628299e0
SS
63292012-06-06 Sam Steingold <sds@gnu.org>
6330
6331 * calendar/calendar.el (calendar-in-read-only-buffer):
6332 Call `special-mode' to enable the standard read-only keybindings.
6333
b7bb5838
SM
63342012-06-06 Stefan Monnier <monnier@iro.umontreal.ca>
6335
6336 * emacs-lisp/macroexp.el (macroexpand-all-1): Don't spam the output
6337 with "loading" messages (bug#11635).
6338
dfb308ba
MA
63392012-06-06 Michael Albinus <michael.albinus@gmx.de>
6340
6341 * files.el (enable-remote-dir-locals): New option.
6342 (hack-dir-local-variables): Use it. (Bug#1933, Bug#6731)
6343
0372ee92
MA
6344 * net/tramp-compat.el (tramp-compat-temporary-file-directory):
6345 Ensure, that the temp directory is local.
6346
6347 * net/tramp-sh.el (tramp-sh-handle-write-region): Let-bind
6348 `temporary-file-directory'.
6349
eed0bb91
MA
6350 * progmodes/python.el (python-send-region): Ensure, that the
6351 temporary file is created also in the remote case.
6352
7a58f64d
GM
63532012-06-06 Glenn Morris <rgm@gnu.org>
6354
f7dd4e98
GM
6355 * vc/vc-rcs.el (vc-rcs-rcs2log-program): New.
6356 (vc-rcs-update-changelog): Use it.
6357
090bd7cb 6358 * emacs-lisp/authors.el (authors-fixed-entries): Remove vcdiff.
276d5f5d 6359
7a58f64d
GM
6360 * vc/vc-sccs.el (vc-sccs-write-revision): New function.
6361 (vc-sccs-workfile-unchanged-p): Use vc-sccs-write-revision.
6362 (vc-sccs-diff): Replace use of the external vcdiff script.
6363
daed4003
GM
63642012-06-05 Glenn Morris <rgm@gnu.org>
6365
6366 * ledit.el: Move to obsolete/.
6367
48c455c7
SS
63682012-06-05 Sam Steingold <sds@gnu.org>
6369
ed9265fc 6370 * calendar/calendar.el (calendar-exit): Reinstate the 2012-03-28
48c455c7
SS
6371 patch (Bug#11140).
6372
57a7d507
SM
63732012-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
6374
090bd7cb 6375 * emacs-lisp/cust-print.el: Move to obsolete.
d32926ff 6376
53aacf21
SM
6377 * emacs-lisp/macroexp.el (macroexpand-all-1): Tolerate errors during
6378 compiler-macro expansion.
6379
57a7d507
SM
6380 Add native compiler-macro support.
6381 * emacs-lisp/macroexp.el (macroexpand-all-1):
6382 Support compiler-macros directly. Properly follow aliases and apply
6383 the compiler macros more thoroughly.
6384 * emacs-lisp/cl.el: Don't copy compiler-macro properties any more since
6385 macroexpand now properly follows aliases.
6386 * emacs-lisp/cl-macs.el (toplevel, cl-define-compiler-macro)
6387 (cl-compiler-macroexpand): Use new prop.
6388 * emacs-lisp/byte-opt.el (featurep): Optimize earlier.
6389
6390 * emacs-lisp/cl-lib.el (custom-print-functions): Add alias.
6391
51a5f9d8
MR
63922012-06-05 Martin Rudalics <rudalics@gmx.at>
6393
6394 * window.el (get-lru-window, get-mru-window, get-largest-window):
6395 New argument NOT-SELECTED to avoid picking the selected window.
6396 (window--display-buffer-1, window--display-buffer-2): Replace by
6397 new function window--display-buffer
6398 (display-buffer-same-window, display-buffer-reuse-window)
57a7d507
SM
6399 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
6400 Use window--display-buffer.
51a5f9d8
MR
6401 (display-buffer-use-some-window): Remove temporary dedication
6402 hack by calling get-lru-window and get-largest-window with
6403 NOT-SELECTED argument non-nil. Call window--display-buffer.
6404
08f9f738
GM
64052012-06-05 Glenn Morris <rgm@gnu.org>
6406
6407 * vc/vc-sccs.el (vc-sccs-workfile-unchanged-p):
6408 Replace external vcdiff script.
6409
e364a2b7
SM
64102012-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
6411
6412 * emacs-lisp/cl-lib.el (cl-values, cl-values-list): Fix up last change.
6413
041df390
CY
64142012-06-04 Chong Yidong <cyd@gnu.org>
6415
e364a2b7
SM
6416 * image.el (imagemagick-types-inhibit): Revert last change.
6417 Add INFO and M.
47b36b94 6418 (imagemagick-enabled-types): Remove CIN and EPS*.
041df390 6419
7c1898a7
SM
64202012-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
6421
6422 * emacs-lisp/cl-lib.el: Rename from cl.el.
6423 * emacs-lisp/cl.el: New compatibility file.
6424 * emacs-lisp/cl-lib.el, emacs-lisp/cl-seq.el, emacs-lisp/cl-macs.el:
6425 * emacs-lisp/cl-extra.el: Rename all top-level functions and variables
6426 to obey the "cl-" prefix.
6427 * emacs-lisp/macroexp.el (macroexpand-all-1): Adjust to new name.
6428
0c3461de
GM
64292012-06-03 Glenn Morris <rgm@gnu.org>
6430
1e266c88
GM
6431 * emacs-lisp/authors.el (authors-aliases): Addition.
6432
0c3461de
GM
6433 * cus-start.el (tool-bar-style, tool-bar-max-label-size):
6434 Fix :version.
6435
d8a52e15
SM
64362012-06-03 Stefan Merten <smerten@oekonux.de>
6437
6438 * textmodes/rst.el: Add comments.
6439 (rst-transition, rst-adornment): New faces.
6440 (rst-adornment-faces-alist): Make default safe to reevaluate.
6441 Fixes
6442 http://sourceforge.net/tracker/?func=detail&atid=422030&aid=3479603&group_id=38414.
6443 Improve customization tags.
6444 (rst-define-level-faces): Clarify meaning.
6445
5205d6f6
CY
64462012-06-03 Chong Yidong <cyd@gnu.org>
6447
6448 * progmodes/compile.el (compilation-mode-line-fail)
7c1898a7
SM
6449 (compilation-mode-line-run, compilation-mode-line-exit):
6450 New faces.
5205d6f6
CY
6451 (compilation-start, compilation-handle-exit): Use them (Bug#11032).
6452
757ee657
JD
64532012-06-03 Jack Duthen <duthen.mac.01@gmail.com> (tiny change)
6454
7c1898a7
SM
6455 * progmodes/which-func.el (which-func-update-ediff-windows):
6456 New function. Use it in ediff-select-hook (Bug#11478).
757ee657 6457
5f2c76c6
CY
64582012-06-03 Chong Yidong <cyd@gnu.org>
6459
6460 * bindings.el: Remove explicit help text from format-mode-line.
6461 It is now supplied by mode-line-default-help-echo.
6462 (mode-line-front-space, mode-line-end-spaces)
6463 (mode-line-misc-info): New variables.
6464 (mode-line-modes, mode-line-position): Move the default value to
6465 the variable definition.
6466 (mode-line-default-help-echo): New defcustom.
383f7350
CY
6467 (mode-line-mule-info-help-echo, mode-line-read-only-help-echo)
6468 (mode-line-modified-help-echo): New functions.
6469 (mode-line-mule-info, mode-line-modified): Use them.
6470 (mode-line-eol-desc, propertized-buffer-identification):
6471 Consistency fixes for help text.
cbe46e5f
CY
6472 (mode-line-coding-system-map): Allow using mouse-3 to invoke
6473 set-buffer-file-coding-system (Bug#289).
6474 (mode-line-mule-info-help-echo): Update help text.
5f2c76c6 6475
f2d6a3df
SM
64762012-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
6477
6478 * simple.el (execute-extended-command): Set real-this-command
6479 (bug#11506).
6480
37269466
CY
64812012-06-02 Chong Yidong <cyd@gnu.org>
6482
6483 Remove incorrect uses of "modeline" in comments, docstrings, and
6484 function/variable names (Bug#10329).
6485
6486 * cus-edit.el (mode-line):
6487 * dframe.el (dframe-mouse-hscroll):
6488 * emacs-lisp/re-builder.el:
6489 * emacs-lisp/easy-mmode.el (define-minor-mode):
6490 * frame.el (set-frame-name):
6491 * help.el (lookup-minor-mode-from-indicator):
6492 * net/rcirc.el (rcirc-activity-string, rcirc-short-buffer-name):
6493 * progmodes/cc-cmds.el (c-toggle-auto-newline)
6494 (c-toggle-hungry-state):
6495 * progmodes/antlr-mode.el (antlr-language-alist):
6496 * progmodes/idlw-shell.el (idlwave-shell-electric-stop-line-face):
6497 * progmodes/vhdl-mode.el (vhdl-mode):
6498 * progmodes/which-func.el (which-func, which-func-cleanup-function):
6499 * term/ns-win.el (ns-face-at-pos):
6500 * term/sup-mouse.el (sup-mouse-report):
6501 * textmodes/flyspell.el (flyspell-mode-line-string):
6502 * textmodes/ispell.el (ispell-highlight-face):
6503 * textmodes/reftex-global.el:
6504 * vc/vc-arch.el (vc-arch-mode-line-string):
6505 * vc/vc-cvs.el (vc-cvs-mode-line-string):
6506 * vc/vc-git.el (vc-git-mode-line-string):
6507 * vc/vc-hooks.el (vc-display-status)
6508 (vc-default-mode-line-string):
6509 * vc/vc-mtn.el (vc-mtn-mode-line-string): Doc fixes.
6510
6511 * ansi-color.el (ansi-color-faces-vector): Change default faces.
6512
6513 * dired.el (dired-sort-set-mode-line): Rename from
6514 dired-sort-set-modeline. All callers changed.
6515
6516 * eshell/esh-mode.el (eshell-status-in-mode-line): Rename from
6517 eshell-status-in-modeline.
6518
6519 * foldout.el (foldout-mode-line-string): Rename from
6520 foldout-modeline-string. All callers changed.
6521 (foldout-update-mode-line): Rename from foldout-update-modeline.
6522
6523 * subr.el (redraw-modeline): Make into obsolete alias.
6524
6525 * calendar/timeclock.el (timeclock-mode-line-display): Rename from
6526 timeclock-modeline-display. Make old name an alias.
6527 (timeclock-update-mode-line): Likewise. All callers changed.
6528 (timeclock-mode-line-display): No need to check before using
6529 add-hook.
6530 (timeclock-relative, timeclock-day-over-hook)
6531 (timeclock-use-elapsed, timeclock-mode-string)
6532 (timeclock-mode-line-display): Doc fix, "modeline" -> "mode line".
6533
6534 * emulation/crisp.el (crisp-mode-mode-line-string): Rename from
6535 crisp-mode-modeline-string.
6536
6537 * play/solitaire.el (solitaire-build-mode-line): Rename from
6538 solitaire-build-modeline. All callers changed.
6539
6540 * play/zone.el (zone-hiding-mode-line): Rename from
6541 zone-hiding-modeline. All callers changed.
6542 (zone): Remove unusued `modeline-hidden-level' property.
6543
6544 * progmodes/xscheme.el (xscheme-mode-line-initialize): Rename from
6545 xscheme-modeline-initialize. All callers changed.
6546
6547 * strokes.el (strokes-lighter): Rename from
6548 strokes-modeline-string.
6549
6550 * textmodes/sgml-mode.el (html-face-tag-alist)
6551 (html-tag-face-alist): Use mode-line face instead of obsolete
6552 alias modeline.
6553
42152ee4
SM
65542012-06-02 Stefan Merten <smerten@oekonux.de>
6555
6556 * textmodes/rst.el: Always require `cl'.
4cf9b38d 6557 (rst-mode-map): Fix meaning of C-M-a / C-M-e.
42152ee4 6558
95f520b5
CY
65592012-06-02 Chong Yidong <cyd@gnu.org>
6560
6561 * image.el (imagemagick-enabled-types): Rename from
6562 imagemagick-types-enable. Add many more types.
6563 (imagemagick-types-inhibit): Change default to nil.
6564 (imagemagick-filter-types): Caller changed.
6565
4a5f187a
SM
65662012-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
6567
03fef3e6
SM
6568 * emacs-lisp/cl-macs.el: Use backquotes.
6569 (cl-transform-function-property): Use eval-and-compile rather than
6570 abusing `require'.
6571 (defstruct): Use declare-function instead of with-no-warnings.
6572
4a5f187a
SM
6573 * emacs-lisp/bytecomp.el: Fix last change (bug#11594).
6574 (byte-compile-output-docform): Re-add the print-circle bindings.
6575 (byte-compile-fix-header): Use #$ just because it's shorter.
6576 (byte-compile-output-file-form): Remove defun/defmacro.
6577
bd56924f
MR
65782012-06-01 Martin Rudalics <rudalics@gmx.at>
6579
6580 * simple.el (choose-completion): Remove now obsolete binding for
6581 owindow.
6582
046e38ce
MA
65832012-06-01 Michael Albinus <michael.albinus@gmx.de>
6584
6585 * net/tramp.el (tramp-check-for-regexp): Search from buffer end,
6586 in order to avoid "Stack overflow in regexp matcher".
6587
32d72c2f
GM
65882012-05-31 Glenn Morris <rgm@gnu.org>
6589
6590 * image.el: For clarity, call imagemagick-register-types at
6591 top-level, rather than relying on a custom :initialize.
6592 (imagemagick-types-enable): New option. (Bug#11557)
60b5f187
GM
6593 (imagemagick-filter-types): New function. (Bug#7406)
6594 (imagemagick-register-types): Use imagemagick-filter-types.
32d72c2f
GM
6595 If disabling support, remove elements altogether rather
6596 than using an impossible regexp.
6597 (imagemagick-types-inhibit): Give it the default init function.
6598
dd41169b
SM
65992012-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
6600
4a5f187a
SM
6601 * emacs-lisp/bytecomp.el (byte-compile-fix-header):
6602 Handle arbitrary file name lengths (Bug#11585).
dd41169b 6603
efc00ab1 66042012-05-31 Martin Rudalics <rudalics@gmx.at>
5221ccb9
MR
6605
6606 * desktop.el (desktop-read): Clear previous and next buffers for
6607 all windows and bury *Messages* buffer (bug#11556).
6608
500fcedc
SM
66092012-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
6610
6611 Add `declare' for `defun'. Align `defmacro's with it.
6612 * emacs-lisp/easy-mmode.el (define-minor-mode)
6613 (define-globalized-minor-mode): Don't autoload the var definitions.
6614 * emacs-lisp/byte-run.el: Use lexical-binding.
6615 (defun-declarations-alist, macro-declarations-alist): New vars.
6616 (defmacro, defun): Use them.
6617 (make-obsolete, define-obsolete-function-alias)
6618 (make-obsolete-variable, define-obsolete-variable-alias):
6619 Use `declare'.
6620 (macro-declaration-function): Mark obsolete.
6621 * emacs-lisp/autoload.el: Use lexical-binding.
6622 (make-autoload): Add `expansion' arg. Rely more on macro expansion.
6623
6e8a1786
AM
66242012-05-30 Agustín Martín Domingo <agustin.martin@hispalinux.es>
6625
6626 * textmodes/ispell.el (ispell-with-no-warnings):
6627 Define as a macro.
500fcedc
SM
6628 (ispell-kill-ispell, ispell-change-dictionary):
6629 Use `called-interactively-p' for Emacs instead of obsolete
6e8a1786
AM
6630 `interactive-p'.
6631
61b108cc
SM
66322012-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
6633
6634 * emacs-lisp/byte-run.el (defmacro, defun): Move from C.
6635 (macro-declaration-function): Move var from C code.
6636 (macro-declaration-function): Define function with defalias.
6637 * emacs-lisp/macroexp.el (macroexpand-all-1):
6638 * emacs-lisp/cconv.el (cconv-convert, cconv-analyse-form):
6639 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker): Don't handle
6640 defun/defmacro any more.
6641 * emacs-lisp/bytecomp.el (byte-compile-arglist-signature):
6642 Provide fallback for unknown arglist.
6643 (byte-compile-arglist-warn): Change calling convention.
6644 (byte-compile-output-file-form): Move print-vars binding.
6645 (byte-compile-output-docform): Simplify accordingly.
6646 (byte-compile-file-form-defun, byte-compile-file-form-defmacro)
6647 (byte-compile-defmacro-declaration): Remove.
6648 (byte-compile-file-form-defmumble): Generalize to defalias.
6649 (byte-compile-output-as-comment): Return byte-positions.
6650 Simplify callers accordingly.
6651 (byte-compile-lambda): Use `assert'.
6652 (byte-compile-defun, byte-compile-defmacro): Remove.
6653 (byte-compile-file-form-defalias):
6654 Use byte-compile-file-form-defmumble.
6655 (byte-compile-defalias-warn): Remove.
6656
6d3f7c2f
SM
66572012-05-29 Stefan Merten <smerten@oekonux.de>
6658
6659 * textmodes/rst.el: Silence `checkdoc-ispell' errors where
61b108cc 6660 possible. Fix authors. Improve comments. Improve loading of `cl'.
6d3f7c2f
SM
6661
6662 (rst-mode-abbrev-table): Merge definition.
6663 (rst-mode): Make sure `font-lock-defaults' is buffer local.
6664 (rst-define-key, rst-deprecated-keys, rst-call-deprecated): Refactor.
6665
6dbaa1c7
UJ
66662012-05-29 Ulf Jasper <ulf.jasper@web.de>
6667
6668 * calendar/icalendar.el
6669 (icalendar-export-region): Export UID properly.
6670
d209e2fb 66712012-05-29 Leo Liu <sdl.web@gmail.com>
61b108cc
SM
6672 * calendar/icalendar.el (icalendar-import-format):
6673 Add `icalendar-import-format-uid' (Bug#11525).
6dbaa1c7
UJ
6674 (icalendar-import-format-uid): New.
6675 (icalendar--parse-summary-and-rest, icalendar--format-ical-event):
6676 Export UID.
6677
6876a58d
SM
66782012-05-29 Stefan Monnier <monnier@iro.umontreal.ca>
6679
6680 * emacs-lisp/pcase.el (pcase--expand): Accept different sets of vars in
6681 different alternative patterns.
6682 (pcase-codegen): Be more careful to preserve identity.
6683 (pcase--u1): Don't forget to mark vars as used.
6684
6685 * emacs-lisp/bytecomp.el (byte-compile-constp): Treat #'v as a constant.
6686 (byte-compile-close-variables): Bind byte-compile--outbuffer here...
6687 (byte-compile-from-buffer): ...rather than here.
6688
6689 * emacs-lisp/byte-opt.el (byte-compile-inline-expand): Don't re-preprocess
6690 functions from byte-compile-function-environment.
6691
46b7967e
TN
66922012-05-29 Troels Nielsen <bn.troels@gmail.com>
6693
6694 * window.el (window-deletable-p): Avoid deleting the root window
6695 of a frame with an active minibuffer.
6696
69d565e2
MR
66972012-05-29 Martin Rudalics <rudalics@gmx.at>
6698
6699 * simple.el (choose-completion): Use quit-window (Bug#11567).
6700
a149fa51
CY
67012012-05-29 Chong Yidong <cyd@gnu.org>
6702
6703 * whitespace.el (whitespace-cleanup): Fix usage of
6704 whitespace-empty-at-bob-regexp (Bug#11492).
6705
2b311310
AH
67062012-05-29 Aaron S. Hawley <aaron.s.hawley@gmail.com>
6707
6708 * vc/vc.el (vc-revert, vc-rollback): Dont kill vc-diff buffer on
6709 revert (Bug#11488).
6710
b9cb2387
JL
67112012-05-29 Juri Linkov <juri@jurta.org>
6712
6713 * isearch.el (isearch-mode-map): Bind `M-s _' to
6714 `isearch-toggle-symbol'. Bind `M-s c' to
6715 `isearch-toggle-case-fold'.
6716 (search-map): Bind `M-s _' to `isearch-forward-symbol'.
6717 (isearch-forward): Add `M-s _' to the docstring.
6718 (isearch-forward-symbol, isearch-toggle-case-fold)
6719 (isearch-symbol-regexp): New functions. (Bug#11381)
6720
d5e61c1c
JL
67212012-05-29 Juri Linkov <juri@jurta.org>
6722
6723 * isearch.el (isearch-word): Add docstring. (Bug#11381)
6724 (isearch-occur, isearch-search-and-update): If `isearch-word' is
6725 a function, call it to get the regexp.
6726 (isearch-message-prefix): If `isearch-word' holds a symbol, use its
6727 property `isearch-message-prefix' instead of the string "word ".
6728 (isearch-search-fun-default): For the case of `isearch-word',
6729 return a lambda that calls re-search-forward/re-search-backward
6730 with a regexp returned by `word-search-regexp' or by the function
6731 in `isearch-word'.
6732
8cbd80f7
JL
67332012-05-29 Juri Linkov <juri@jurta.org>
6734
6735 * isearch.el (isearch-search-fun-default): New function.
6736 (isearch-search-fun): Move default part to the new function
6737 `isearch-search-fun-default'.
6738 (isearch-search-fun-function): Set the default value to
6739 `isearch-search-fun-default'. (Bug#11381)
6740
6741 * comint.el (comint-history-isearch-end):
6742 Use `isearch-search-fun-default'.
6743 (comint-history-isearch-search): Use `isearch-search-fun-default'
6744 and remove spacial case for `isearch-word'.
6745 (comint-history-isearch-wrap): Remove spacial case for
6746 `isearch-word'.
6747
6748 * hexl.el (hexl-isearch-search-function):
6749 Use `isearch-search-fun-default'.
6750
6751 * info.el (Info-isearch-search): Use `isearch-search-fun-default'.
6752 Use `word-search-regexp' for `isearch-word'.
6753
6754 * misearch.el (multi-isearch-search-fun):
6755 Use `isearch-search-fun-default'.
6756
6757 * simple.el (minibuffer-history-isearch-search):
6758 Use `isearch-search-fun-default' and remove spacial case for
6759 `isearch-word'.
6760 (minibuffer-history-isearch-wrap): Remove spacial case for
6761 `isearch-word'.
6762
6763 * textmodes/reftex-global.el (reftex-isearch-wrap-function):
6764 Remove spacial case for `isearch-word'.
6765 (reftex-isearch-isearch-search): Use `isearch-search-fun-default'.
6766
85c8c5b6
AM
67672012-05-28 Agustín Martín Domingo <agustin.martin@hispalinux.es>
6768
6769 Decrease XEmacs incompatibilities.
6770 * textmodes/flyspell.el (flyspell-check-pre-word-p):
6771 Use `string-match'.
6772 (flyspell-delete-region-overlays): Use alternative definition for
6773 XEmacs.
6774 (flyspell-delete-all-overlays): Use `flyspell-delete-region-overlays'.
6775 (flyspell-word): Use `process-kill-without-query' if XEmacs.
6776 (flyspell-mode-on): Use `interactive-p' if XEmacs.
6777 (flyspell-incorrect-face, flyspell-duplicate-face): Do not use
6778 `define-obsolete-face-alias' under XEmacs, but old method.
6779
6780 * textmodes/ispell.el (ispell-with-no-warnings): XEmacs alternative
6781 `with-no-warnings' definition or Emacs alias.
6782 (ispell-command-loop, ispell-message): Use `ispell-with-no-warnings'.
6783 (ispell-word): Do not use `region-p' if XEmacs.
6784
8cab9efc
AM
67852012-05-28 Agustín Martín Domingo <agustin.martin@hispalinux.es>
6786
6787 * textmodes/ispell.el (ispell-find-aspell-dictionaries):
6788 Check for `ispell-dictionary-base-alist' instead of full
6789 `ispell-dictionary-alist'.
6790 (ispell-init-process): Show spellchecker when starting new Ispell
6791 process.
6792
fda91268
RZ
67932012-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
6794
6795 * progmodes/vhdl-mode.el: Sync with upstream 3.33.28.
6796 http://www.iis.ee.ethz.ch/~zimmi/emacs/vhdl-mode.html#release-notes-3.33
6797
694ea8e3
JB
67982012-05-27 Juanma Barranquero <lekktu@gmail.com>
6799
6800 * version.el (motif-version-string, gtk-version-string)
6801 (ns-version-string): Declare.
6802
e4d4f539
JL
68032012-05-27 Juri Linkov <juri@jurta.org>
6804
6805 * emacs-lisp/lisp-mode.el (eval-defun-2): Use `eval-sexp-add-defvars'
6806 after the `eval-defun-1' specialcaseing
6807 like in `edebug-eval-defun' (bug#10181).
6808
6809 * emacs-lisp/edebug.el (edebug-eval-defun): Set `face-documentation'
6810 like in `eval-defun-1'.
6811
33017faf 68122012-05-27 Eli Zaretskii <eliz@gnu.org>
b30b64b9 6813
fda91268
RZ
6814 * mail/sendmail.el (mail-yank-region):
6815 Recognize rmail-yank-current-message in addition to insert-buffer.
6816 Fixes mail-mode's "C-c C-r" that otherwise does nothing when invoked in
b30b64b9
EZ
6817 a *mail* buffer created through rmail-start-mail with sendmail as
6818 mail-user-agent.
6819
33017faf
GM
68202012-05-27 Chong Yidong <cyd@gnu.org>
6821
6822 * net/gnutls.el (gnutls-min-prime-bits): Improve docstring.
6823 Default to 256 (Bug#11267).
6824
6825 * help.el (describe-mode): Doc fix.
6826
04188bb9
GM
68272012-05-26 Glenn Morris <rgm@gnu.org>
6828
38264cc9
GM
6829 * w32-fns.el (w32-init-info): Remove.
6830 * paths.el (Info-default-directory-list): Add w32-init-info equivalent.
6831
eb7afdad
GM
6832 * info.el (info-initialize): For self-contained NS builds, put the
6833 included info/ directory at the front. (Bug#2791)
6834
04188bb9
GM
6835 * paths.el (Info-default-directory-list): Make it a defcustom,
6836 mainly so that we can use custom-initialize-delay.
6837
a179e3f7
SM
68382012-05-26 Stefan Monnier <monnier@iro.umontreal.ca>
6839
43416392
SM
6840 * subr.el (buffer-has-markers-at): Mark obsolete.
6841
a179e3f7 6842 * subr.el (lambda): Use declare.
43416392 6843
a179e3f7
SM
6844 * emacs-lisp/lisp-mode.el (lambda):
6845 * emacs-lisp/edebug.el (lambda): Move properties to its definition.
6846
34a008d9
AH
68472012-05-26 Aaron S. Hawley <aaron.s.hawley@gmail.com>
6848
6849 * thingatpt.el (forward-same-syntax): Handle no ARG case. (Bug#11560)
6850
0a3b289f
GM
68512012-05-26 Glenn Morris <rgm@gnu.org>
6852
6853 * progmodes/cc-mode.el (auto-mode-alist): Fix typo.
6854
758c81e8
GM
68552012-05-25 Glenn Morris <rgm@gnu.org>
6856
f9f334f0
GM
6857 * paths.el: Remove no-byte-compile.
6858 * loadup.el: No need to load paths.el uncompiled.
6859
87eb79c2
GM
6860 * image.el (imagemagick-types-inhibit): Doc fix.
6861
758c81e8
GM
6862 * version.el: Remove no-byte-compile and associated formatting.
6863 * loadup.el: No need to load version.el uncompiled. AFAICS, this
6864 is ancient code from when there was an "inc-vers.el".
6865
e7e85dc0
SM
68662012-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
6867
6868 * progmodes/gdb-mi.el: Minor style changes.
6869 (gdb-enable-debug, gdb-speedbar-auto-raise, gdb-many-windows):
6870 Turn into minor modes.
6871 (gdb--if-arrow): Rename from gdb-if-arrow, make it hygienic.
6872 (gdb-mouse-until, gdb-mouse-jump): Adjust uses accordingly.
6873 (gdb-shell): Remove unneeded let-binding.
6874 (gdb-get-many-fields): Eliminate O(n²) behavior.
6875
f31237a4
EZ
68762012-05-25 Eli Zaretskii <eliz@gnu.org>
6877
6878 * cus-start.el <vertical-centering-font-regexp>: Avoid warning on
6879 platforms that don't link in fontset.c.
6880
bc1b21bb
JL
68812012-05-25 Juri Linkov <juri@jurta.org>
6882
6883 Use the same diff color scheme as in modern VCSes (bug#10181).
6884
6885 * vc/diff-mode.el (diff-header, diff-file-header): Remove "green"
6886 to avoid confusion with `diff-added' that now uses green colors.
6887 (diff-removed): Use shades of red.
6888 (diff-added): Use shades of green.
6889 (diff-changed): Leave just the yellow color.
6890 (diff-use-changed-face): New variable.
6891 (diff-font-lock-keywords): Use `diff-use-changed-face' to decide
6892 how to highlight context diff changes.
6893 (diff-refine-change): Use shades of yellow.
6894 (diff-refine-removed): New face that uses shades of red.
6895 (diff-refine-added): New face that uses shades of green.
6896 (diff-refine-hunk): Use `diff-refine-change', `diff-refine-added',
6897 `diff-refine-removed' in the call to `smerge-refine-subst'
6898 depending on the value of `diff-use-changed-face'.
6899
6900 * vc/smerge-mode.el (smerge-mine): Use shades of red.
6901 (smerge-other): Use shades of green.
6902 (smerge-base): Use shades of yellow.
6903 (smerge-refined-change): Empty face.
6904 (smerge-refined-removed): New face that uses shades of red.
6905 (smerge-refined-added): New face that uses shades of green.
6906 (smerge-refine-subst): Rename arg `props' to `props-c'. Add new
6907 args `props-r' and `props-a', and use them. Doc fix.
6908 (smerge-refine): Evaluate `smerge-use-changed-face' and depending
6909 on its value use different faces `smerge-refined-change',
6910 `smerge-refined-removed', `smerge-refined-added' in the call to
6911 `smerge-refine-subst'.
6912
6913 * vc/ediff-init.el (ediff-current-diff-A, ediff-fine-diff-A):
6914 Add face condition `min-colors 88' with shades of red.
6915 (ediff-current-diff-B, ediff-fine-diff-B): Add face condition
6916 `min-colors 88' with shades of green.
6917 (ediff-current-diff-C, ediff-fine-diff-C): Add face condition
6918 `min-colors 88' with shades of yellow.
6919
6df9112c
GM
69202012-05-24 Glenn Morris <rgm@gnu.org>
6921
ead5edc0
GM
6922 * paths.el (prune-directory-list, remote-shell-program): Move to...
6923 * files.el (prune-directory-list, remote-shell-program): ...here.
6924 For the latter, delay initialization, prefer ssh, just search PATH.
6925
f18b81e6
GM
6926 * paths.el (term-file-prefix): Move to faces.el (the only user).
6927 * faces.el (term-file-prefix): Move here, make it a defcustom.
6928
ee2f89a6
GM
6929 * paths.el (news-directory, news-path, news-inews-program):
6930 Move to gnus/nnspool.el.
61a583ca 6931
f8815e4c
GM
6932 * paths.el (gnus-default-nntp-server): Remove (gnus.el defines it).
6933
c8f3b42c
GM
6934 * paths.el (rmail-file-name, rmail-spool-directory): Move from here...
6935 * mail/rmail.el (rmail-file-name, rmail-spool-directory): ... to here.
6936 Make the latter a defcustom, with a delayed initialization.
6937
6df9112c
GM
6938 * paths.el (gnus-nntp-service, gnus-local-organization): Remove.
6939 These were deleted from Gnus itself late 2010.
6940
5dadff36
JB
69412012-05-22 Juanma Barranquero <lekktu@gmail.com>
6942
9e1701c6
JB
6943 * progmodes/which-func.el (which-func-ff-hook):
6944 Check against user-error, not error.
6945
bd7239f5 6946 * emacs-lisp/edebug.el (top): Do not load or set up loading of
5dadff36
JB
6947 cl-specs.el, which no longer exists.
6948
3290526d
GM
69492012-05-22 Glenn Morris <rgm@gnu.org>
6950
6951 * info.el (info-emacs-bug): New command.
6952 * menu-bar.el (menu-bar-help-menu): Add "How to Report a Bug" to Help.
6953 * mail/emacsbug.el (report-emacs-bug): Replace with info-emacs-bug.
6954
ff0c3cfb
GM
69552012-05-21 Glenn Morris <rgm@gnu.org>
6956
6957 * makefile.w32-in (update-subdirs-SH):
6958 * Makefile.in (update-subdirs): Update for moved update-subdirs.
6959
5814f126
SM
69602012-05-21 Stefan Monnier <monnier@iro.umontreal.ca>
6961
a52c0aa0
SM
6962 * hi-lock.el (hi-lock-face-defaults): Move obsolete before definition.
6963
5814f126
SM
6964 * progmodes/compile.el (compilation-error-regexp-alist-alist):
6965 Simplify Maven regexp, and make sure the file can't start with a space
6966 (bug#11517).
6967
b847032c
GM
69682012-05-21 Glenn Morris <rgm@gnu.org>
6969
6970 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
6971 Scrap superfluous subshells.
6972
3858bfe7
SM
69732012-05-19 Stefan Monnier <monnier@iro.umontreal.ca>
6974
6975 * emacs-lisp/bytecomp.el (byte-compile-root-dir): New var.
6976 (byte-compile-warning-prefix, batch-byte-compile-file): Use it.
6977
d14b0029
JB
69782012-05-19 Jay Belanger <jay.p.belanger@gmail.com>
6979
6980 * calc/calc.el (calc-ensure-consistent-units): New variable.
6981
a52c0aa0
SM
6982 * calc/calc-units.el (math-consistent-units-p)
6983 (math-check-unit-consistency): New functions.
6984 (calc-quick-units, calc-convert-units):
6985 Use `math-check-unit-consistency' when `calc-ensure-consistent-units'
6986 is non-nil.
d14b0029
JB
6987 (calc-extract-units): Fix typo.
6988
60c4db3a
SM
69892012-05-18 Stefan Monnier <monnier@iro.umontreal.ca>
6990
77f3b62e
SM
6991 * vc/vc-bzr.el (vc-bzr-state-heuristic): Save match-data around sha1.
6992
60c4db3a
SM
6993 * textmodes/flyspell.el: Commenting style, plus code simplifications.
6994 (flyspell-default-deplacement-commands): Don't spell check after
6995 repeated window/frame switches (e.g. triggered by mouse-movement).
6996 (flyspell-delay-commands, flyspell-deplacement-commands): Use mapc.
6997 (flyspell-debug-signal-word-checked): Simplify and fit in 80 cols.
6998 (flyspell-casechars-cache, flyspell-ispell-casechars-cache)
6999 (flyspell-not-casechars-cache, flyspell-ispell-not-casechars-cache):
7000 Remove unused vars.
7001 (flyspell-get-casechars, flyspell-get-not-casechars):
7002 Simplify; Don't bother removing a ] just to add it back.
7003 * textmodes/ispell.el (ispell-program-name): Use executable-find.
7004
d209e2fb 70052012-05-18 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
b1a10716
RS
7006
7007 * calc/calc-lang.el (math-C-parse-bess, math-C-parse-fma):
7008 New functions.
bd7239f5 7009 (math-function-table): Add support for more C functions.
b1a10716 7010
3f1b25b5
AM
70112012-05-18 Agustín Martín Domingo <agustin.martin@hispalinux.es>
7012
090bd7cb
JB
7013 * textmodes/flyspell.el (flyspell-check-pre-word-p)
7014 (flyspell-check-word-p, flyspell-debug-signal-word-checked):
7015 Protect delay handling for otherchars against empty otherchars.
3f1b25b5 7016
b581bb5c
SM
70172012-05-18 Stefan Monnier <monnier@iro.umontreal.ca>
7018
7019 * emacs-lisp/lisp-mode.el (doc-string-elt): Move those properties to
7020 their respective macro declarations.
7021 * skeleton.el (define-skeleton):
7022 * progmodes/compile.el (define-compilation-mode):
7023 * ibuf-macs.el (define-ibuffer-sorter, define-ibuffer-op)
7024 (define-ibuffer-filter):
7025 * emacs-lisp/generic.el (define-generic-mode):
7026 * emacs-lisp/easy-mmode.el (define-minor-mode)
7027 (define-globalized-minor-mode):
7028 * emacs-lisp/cl-macs.el (defun*, defmacro*, defstruct, deftype):
7029 * emacs-lisp/byte-run.el (defsubst):
7030 * custom.el (deftheme): Add doc-string metadata.
7031
70b8ef8f
SM
70322012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
7033
7034 * emacs-lisp/cl-macs.el, emacs-lisp/cl.el: Move indent info.
7035
b1198e17
SM
70362012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
7037
9abdc45d
SM
7038 * emacs-lisp/pcase.el (pcase--u1): Avoid ((lambda ...) ...).
7039
b1198e17
SM
7040 * emacs-lisp/cl.el: Add edebug specs from cl-specs.el.
7041 * emacs-lisp/cl-macs.el: Idem.
7042 * emacs-lisp/cl-specs.el: Remove.
7043
4735906a
SM
70442012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
7045
7046 Minor renaming of internal CL functions and variables.
7047 * emacs-lisp/cl-seq.el (cl--adjoin): Rename from cl-adjoin.
7048 (cl--position): Rename from cl-position.
7049 (cl--delete-duplicates): Rename from cl-delete-duplicates.
7050 * emacs-lisp/cl.el (cl--gensym-counter): Rename from *gensym-counter*.
7051 (cl--random-state): Rename from *random-state*.
7052
ac348012
SM
70532012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
7054
7055 * emacs-lisp/cl-macs.el (cl-transform-lambda): Don't add spurious
7056 parens around the arg list (bug#11499).
7057
a0a79cde
JL
70582012-05-17 Juri Linkov <juri@jurta.org>
7059
7060 * isearch.el (word-search-regexp, word-search-backward)
7061 (word-search-forward, word-search-backward-lax)
7062 (word-search-forward-lax): Move functions from search.c
7063 (bug#10145, bug#11381).
7064
65034a51
AM
70652012-05-16 Agustín Martín Domingo <agustin.martin@hispalinux.es>
7066
090bd7cb
JB
7067 * textmodes/flyspell.el (flyspell-check-pre-word-p)
7068 (flyspell-check-word-p, flyspell-debug-signal-word-checked):
7069 Delay for otherchars as for normal word components.
65034a51 7070
1a72a195
SM
70712012-05-16 Stefan Monnier <monnier@iro.umontreal.ca>
7072
7073 * minibuffer.el (completion--sifn-requote): Fix last change.
7074 (minibuffer-local-must-match-filename-map):
7075 Move define-obsolete-variable-alias before its var.
7076
fdb058c2
SM
70772012-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
7078
c41045e6
SM
7079 * emacs-lisp/pcase.el (pcase-let*, pcase-let): Fix edebug spec.
7080
036dfb8b
SM
7081 * minibuffer.el (completion--sifn-requote): Handle sifn's truncation
7082 behavior.
7083 (completion--string-equal-p): New function.
7084 (completion--twq-all): Use it to get better assertion failure data.
7085
2473256d
SM
7086 Only handle ".." and '..' quoting in shell-mode (bug#11466).
7087 * shell.el (shell--unquote&requote-argument, shell--unquote-argument)
7088 (shell--requote-argument): New functions.
7089 (shell-completion-vars): Use them.
7090 (shell--parse-pcomplete-arguments): Rename from
7091 shell-parse-pcomplete-arguments.
7092 * comint.el (comint-word): Obey comint-file-name-quote-list. Simplify.
7093 (comint--unquote&requote-argument): Don't handle ".." and '..' quoting.
7094 Obey comint-file-name-quote-list.
7095
fdb058c2
SM
7096 * emacs-lisp/smie.el (smie-indent--bolp-1): New function.
7097 (smie-indent-keyword): Use it.
7098
51fa99f1
SM
70992012-05-14 Stefan Merten <smerten@oekonux.de>
7100
7101 * textmodes/rst.el (rst-re-alist): Fix loading (bug#11462).
7102
e18afed7 71032012-05-14 Stefan Monnier <monnier@iro.umontreal.ca>
d9d1dfef
SM
7104
7105 * net/rlogin.el (rlogin-mode-map): Fix last change.
7106
e18afed7 71072012-05-14 Jason L. Wright <jason.wright@inl.gov> (tiny change)
8633b1f4
JW
7108
7109 * mail/smtpmail.el (smtpmail-send-command): Send the command and
7110 the following \r\n using a single `process-send-string', since the
7111 Lotus SMTP server refuses to accept any commands if they are sent
e18afed7 7112 with two `process-send-string's (Bug#11444).
8633b1f4 7113
e18afed7 71142012-05-14 Stefan Monnier <monnier@iro.umontreal.ca>
fe263b8f 7115
fdb058c2
SM
7116 * shell.el (shell-parse-pcomplete-arguments):
7117 Obey pcomplete-arg-quote-list inside double-quoted args (Bug#11348).
e18afed7 7118
2d21d7f6
WJ
71192012-05-14 Wolfgang Jenkner <wjenkner@inode.at>
7120
e18afed7 7121 * image-mode.el: Fit to width/height for rotated images (Bug#11431).
2d21d7f6
WJ
7122 (image-transform-scale, image-transform-right-angle-fudge): New vars.
7123 (image-transform-width, image-transform-fit-width): New functions.
7124 (image-transform-properties): Use them.
7125 (image-transform-check-size): New function.
7126 (image-toggle-display-image): Use it (for testing).
7127 (image-transform-set-rotation): Reduce angle mod 360.
7128 Delete obsolete comment.
7129
7102e6d0
WJ
71302012-05-14 Wolfgang Jenkner <wjenkner@inode.at>
7131
7132 * image-mode.el: Fix scaling (bug#11399).
7133 (image-transform-resize): Doc fix.
7134 (image-transform-properties): Default scale is 1 and height should
7135 be an integer.
7136
06bc5e6e
SM
71372012-05-13 Johan Bockgård <bojohan@gnu.org>
7138
7139 * emacs-lisp/smie.el (smie-next-sexp): Use accessor `op-forw' rather
7140 than hard-coding `car', to fix misbehavior when moving forward.
7141
0ae03b6a
CY
71422012-05-13 Chong Yidong <cyd@gnu.org>
7143
7144 * emacs-lisp/tabulated-list.el (tabulated-list-format)
7145 (tabulated-list-entries, tabulated-list-padding)
7146 (tabulated-list-sort-key): Make permanent-local.
7147
7148 * ebuff-menu.el: Adapt to Buffer Menu changes (Bug#11455).
7149 (electric-buffer-list): Put electric buffer menu
7150 command descriptions in this docstring, instead of the docstring
7151 of electric-buffer-menu-mode. Code cleanups.
7152 (electric-buffer-menu-mode): Use define-derived-mode. Rename from
7153 Electric-buffer-menu-mode.
7154 (electric-buffer-update-highlight): Minor code cleanup.
7155
205a7391
MA
71562012-05-13 Michael Albinus <michael.albinus@gmx.de>
7157
7158 * net/dbus.el (dbus-call-method): Restore events not from D-Bus.
7159 (Bug#11447)
7160
e5bd0a28
SM
71612012-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
7162
7163 Move define-obsolete-variable-alias before the var's definition.
7164 * vc/log-edit.el (vc-comment-ring, vc-comment-ring-index):
7165 * tooltip.el (tooltip-hook):
7166 * textmodes/reftex-toc.el (reftex-toc-map):
7167 * textmodes/reftex-sel.el (reftex-select-label-map)
7168 (reftex-select-bib-map):
7169 * textmodes/reftex-index.el (reftex-index-map)
7170 (reftex-index-phrases-map):
7171 * speedbar.el (speedbar-syntax-table, speedbar-key-map):
7172 * progmodes/meta-mode.el (meta-mode-map):
7173 * novice.el (disabled-command-hook):
7174 * loadhist.el (unload-hook-features-list):
7175 * frame.el (blink-cursor):
7176 * files.el (find-file-not-found-hooks, write-file-hooks)
7177 (write-contents-hooks):
7178 * emulation/tpu-edt.el (GOLD-map):
7179 * emacs-lock.el (emacs-lock-from-exiting):
7180 * emacs-lisp/generic.el (generic-font-lock-defaults):
7181 * emacs-lisp/chart.el (chart-map):
7182 * dos-fns.el (register-name-alist):
7183 * dired-x.el (dired-omit-files-p):
7184 * desktop.el (desktop-enable):
7185 * cus-edit.el (custom-mode-hook):
7186 * buff-menu.el (buffer-menu-mode-hook):
7187 * bookmark.el (bookmark-read-annotation-text-func)
7188 (bookmark-exit-hooks):
7189 * allout.el (allout-mode-deactivate-hook)
7190 (allout-exposure-change-hook, allout-structure-added-hook)
7191 (allout-structure-deleted-hook, allout-structure-shifted-hook):
7192 * dirtrack.el (dirtrack-toggle, dirtrackp, dirtrack-debug-toggle)
7193 (dirtrack-debug): Move call to define-obsolete-variable-alias so it
7194 comes before the corresponding variable's definition.
7195
ac59c2f6
CY
71962012-05-12 Chong Yidong <cyd@gnu.org>
7197
7198 * buff-menu.el (Buffer-menu-buffer+size-width): Doc fix (Bug#11454).
0d909786
CY
7199 (Buffer-menu-mouse-select): Restore function (Bug#11459).
7200 (Buffer-menu-mode-map): Bind it.
7201 (Buffer-menu--pretty-name): Add a mouse-face property.
ac59c2f6 7202
dee6c9a3
SM
72032012-05-11 Stefan Monnier <monnier@iro.umontreal.ca>
7204
2171cea5
SM
7205 * progmodes/prolog.el: Use SMIE. Cleanup regexp setup.
7206 (prolog-upper-case-string, prolog-lower-case-string)
7207 (prolog-atom-char-regexp, prolog-atom-regexp): Initialize in defconst.
7208 (prolog-use-smie, prolog-smie-grammar): New vars.
7209 (prolog-smie-forward-token, prolog-smie-backward-token)
7210 (prolog-smie-rules): New funs.
7211 (prolog-comment-indent): Remove.
7212 (prolog-mode-variables): Use default comment indentation instead.
7213 Setup SMIE.
7214 (prolog-build-case-strings, prolog-set-atom-regexps): Remove.
7215 (prolog-mode): Don't call them any more.
7216 (prolog-electric-colon, prolog-electric-dash)
7217 (prolog-edit-menu-insert-move): Use indent-according-to-mode.
7218
aa0382bd
SM
7219 * dabbrev.el (dabbrev-expand): Make "no expansion found" a user-error.
7220
dbacb4bd
SM
7221 * minibuffer.el (completion--twq-all): Again, allow case differences.
7222
13bdd94c
SM
7223 * term.el: Move keymap initialization code to be more idiomatic.
7224 (term-signals-menu, term-mode-map, term-raw-map, term-raw-escape-map)
7225 (term-terminal-menu): Move initialization into declaration.
7226 (term-escape-char): Let the user set it in her .emacs.
7227
ff46c759
SM
7228 * progmodes/sh-script.el: Use post-self-insert-hook&electric-pair-mode.
7229 Provide SMIE-based indentation (not enabled by default yet).
7230 (sh-mode-map): Don't bind electric keys.
7231 Use electric-pair-mode instead of skeleton-pair.
7232 (sh-assignment-regexp): Fit within 80 columns.
7233 (sh-indent-supported): Specify actual shell name instead of boolean.
7234 (sh--maybe-here-document): New fun, from sh-maybe-here-document.
7235 (sh-maybe-here-document): Use it. Make obsolete.
7236 (sh-electric-here-document-mode) New minor mode.
7237 (sh-mode): Use it. Don't set sh-indent-supported-here here.
7238 (sh-smie-sh-grammar, sh-smie--sh-operators, sh-smie--sh-operators-re)
7239 (sh-smie--sh-operators-back-re, sh-indent-after-continuation)
7240 (sh-smie-rc-grammar, sh-use-smie): New vars.
7241 (sh-smie--keyword-p, sh-smie--newline-semi-p, sh-smie--sh-keyword-p)
7242 (sh-smie-sh-forward-token, sh-smie--looking-back-at-continuation-p)
7243 (sh-smie-sh-backward-token, sh-smie--continuation-start-indent)
7244 (sh-smie-sh-rules, sh-smie-rc-rules, sh-smie--sh-keyword-in-p)
7245 (sh-smie--rc-after-special-arg-p, sh-smie-rc-backward-token)
7246 (sh-smie-sh-rules, sh-smie--rc-newline-semi-p): New functions.
7247 (sh-set-shell): Use smie-setup if requested.
7248
dee6c9a3
SM
7249 * term.el (term-set-escape-char): Properly set term-escape-char.
7250 See http://stackoverflow.com/questions/10524656.
7251
9f9aa044
CY
72522012-05-10 Chong Yidong <cyd@gnu.org>
7253
7254 * ffap.el (ffap-url-unwrap-local): Make it work right (Bug#9131).
7255 Use url-generic-parse-url, and handle host names and Windows
7256 filenames properly.
7257 (ffap-url-unwrap-remote): Use url-generic-parse-url.
7258 (ffap-url-unwrap-remote): Accept list values, specifying a list of
7259 URL schemes to work on.
7260 (ffap--toggle-read-only): New function.
7261 (ffap-read-only, ffap-read-only-other-window)
7262 (ffap-read-only-other-frame): Use it.
7263 (ffap-fixup-url): Don't check ffap-ftp-regexp, since it is not
7264 necessary for ffap-url-unwrap-remote.
7265
836d29b3
DA
72662012-05-10 Dave Abrahams <dave@boostpro.com>
7267
7268 * cus-start.el (create-lockfiles): Add it.
7269
00fd78ed
CY
72702012-05-09 Chong Yidong <cyd@gnu.org>
7271
7272 * net/browse-url.el (browse-url-url-encode-chars): Use upper-case.
7273 (browse-url-encode-url): Encode spaces and quotes (Bug#6300).
7274
666b903b 72752012-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
1cb51c12
SM
7276
7277 * shell.el (shell-completion-vars): Fix last change (bug#11348).
7278
666b903b 72792012-05-09 Chong Yidong <cyd@gnu.org>
18f00515
CY
7280
7281 * ansi-color.el (ansi-color-process-output): Check for validity of
7282 comint-last-output-start before using it. This avoids a bad
7283 interaction with gdb-mi's input/output buffer.
7284
666b903b 72852012-05-09 Glenn Morris <rgm@gnu.org>
fd075e7b
GM
7286
7287 * files.el (dir-locals-read-from-file):
7288 Mention dir-locals in any error message.
7289
666b903b 72902012-05-09 Chong Yidong <cyd@gnu.org>
25f292cd
CY
7291
7292 * emacs-lisp/package.el (package-built-in-p): Handle the `emacs'
7293 package (Bug#11410).
7294
f677562b
CY
7295 * emacs-lisp/package.el (package-buffer-info): Avoid putting local
7296 variables into description.
7297
666b903b 72982012-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
3d53ee1b
SM
7299
7300 * shell.el (shell-completion-vars): Set pcomplete-arg-quote-list like
7301 shell-delimiter-argument-list (bug#11348).
7302 (shell-parse-pcomplete-arguments): Obey pcomplete-arg-quote-list.
7303
b499d8d0
JB
73042012-05-09 Juanma Barranquero <lekktu@gmail.com>
7305
8f6b6da8
JB
7306 * textmodes/rst.el: Silence byte-compiler warnings.
7307 (rst-re-alist, rst-reset-section-caches): Move around.
7308 (rst-re): Use `characterp', not `char-valid-p'.
7309 (font-lock-beg, font-lock-end): Declare.
7310
4824146a
JB
7311 * progmodes/idlw-shell.el (specs): Remove reference to deleted
7312 variable `idlwave-shell-activate-alt-keybindings' and simplify.
7313
b499d8d0
JB
7314 * eshell/esh-cmd.el (eshell-debug-command): Fix typo in previous change.
7315
ad89bb83
GM
73162012-05-08 Glenn Morris <rgm@gnu.org>
7317
7318 * files.el (auto-mode-alist): Treat ".make" like ".mk".
7319
8bba5a75
SM
73202012-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
7321
49ed9c8e
SM
7322 * vc/log-edit.el: Add GNU coding standards highlighting.
7323 (log-edit-font-lock-gnu-style)
7324 (log-edit-font-lock-gnu-keywords): New vars.
7325 (log-edit-font-lock-keywords): New fun.
7326 (log-edit-mode): Don't fold case in font-lock.
7327 (log-edit-font-lock-keywords): Do not assume case-folding.
7328
07d00b56
SM
7329 * imenu.el: Misc cleanup. Make docstrings out of comments.
7330 Use lexical-binding.
7331 (imenu--index-alist, imenu--last-menubar-index-alist)
7332 (imenu-menubar-modified-tick): Use defvar-local.
7333 (imenu--split-menu): Remove unused var.
7334 (imenu--cleanup-seen): Declare as global.
7335 (imenu--cleanup): Use dolist.
7336
8bba5a75
SM
7337 * subr.el (defvar-local): Add debug spec and doc-string position.
7338
5075bdb5
GM
73392012-05-08 Glenn Morris <rgm@gnu.org>
7340
090bd7cb 7341 * language/burmese.el, language/cham.el, language/czech.el:
c052c904
GM
7342 * language/english.el, language/georgian.el, language/greek.el:
7343 * language/japanese.el, language/khmer.el, language/korean.el:
7344 * language/lao.el, language/misc-lang.el, language/romanian.el:
7345 * language/sinhala.el, language/slovak.el, language/tai-viet.el:
7346 * language/thai.el, language/utf-8-lang.el:
7347 Remove no-byte-compile setting.
7348
5075bdb5
GM
7349 * play/zone.el (zone-pgm-stress): Don't pollute kill-ring. (Bug#11388)
7350
06f679a7
AH
73512012-05-08 Aaron S. Hawley <aaron.s.hawley@gmail.com>
7352
7353 * progmodes/make-mode.el (makefile-browse):
7354 Remove unnecessary interactive. (Bug#11324)
7355
03794570
GM
73562012-05-07 Glenn Morris <rgm@gnu.org>
7357
af8630f4
GM
7358 * forms-d2.el, forms-pass.el: Move to ../etc/forms directory.
7359
03794570
GM
7360 * international/mule.el (find-auto-coding): Make "unibyte: t" obsolete.
7361
f0809a9d
SM
73622012-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
7363
28be5ce7
SM
7364 * loadup.el: Preload newcomment.el.
7365 * newcomment.el: Move autoload-only code to toplevel.
7366
f0809a9d
SM
7367 * buff-menu.el (list-buffers--refresh): Mark `size' as right-align.
7368 * emacs-lisp/tabulated-list.el (tabulated-list-init-header):
7369 Handle new :right-align column property.
7370 (tabulated-list-print-col): Idem, plus use `display' text-property to
7371 try and preserve alignment for variable pitch fonts.
7372
1241b724
CY
73732012-05-07 Chong Yidong <cyd@gnu.org>
7374
7375 * emacs-lisp/tabulated-list.el: Add no-header-line alternative.
7376 (tabulated-list-use-header-line): New var.
7377 (tabulated-list-init-header): Use it.
7378 (tabulated-list-print-fake-header): New function.
7379 (tabulated-list-print): Use it.
7380 (tabulated-list-sort-button-map): Add non-header-line commands.
7381 (tabulated-list-init-header): Add column name property to basic
7382 labels as well.
7383 (tabulated-list-col-sort): Handle non-header-line button case.
7384 (tabulated-list--sort-by-column-name): Fix a corner case.
7385
f0809a9d
SM
7386 * buff-menu.el (list-buffers--refresh):
7387 Handle Buffer-menu-use-header-line.
1241b724 7388
e5f9458f
CY
73892012-05-06 Chong Yidong <cyd@gnu.org>
7390
7391 * buff-menu.el: Convert to Tabulated List mode.
7392 (Buffer-menu-buffer+size-width): Make obsolete.
7393 (Buffer-menu-name-width, Buffer-menu-size-width): New variables.
7394 (Buffer-menu-mode-map): Inherit from tabulated-list-mode-map.
7395 (Buffer-menu-mode): Derive from tabulated-list-mode. Move command
7396 documentation into docstring of buffer-menu.
7397 (Buffer-menu-toggle-files-only): Add an informative message.
7398 (Buffer-menu-sort): Convert to alias for tabulated-list-sort.
7399 (Buffer-menu-buffer, Buffer-menu-beginning, Buffer-menu-mark)
7400 (Buffer-menu-unmark, Buffer-menu-backup-unmark)
7401 (Buffer-menu-delete, Buffer-menu-save, Buffer-menu-not-modified)
7402 (Buffer-menu-execute, Buffer-menu-select)
7403 (Buffer-menu-marked-buffers, Buffer-menu-toggle-read-only)
7404 (Buffer-menu-bury): Use Tabulated List machinery.
7405 (Buffer-menu-mouse-select, Buffer-menu-sort-by-column)
7406 (Buffer-menu-sort-button-map, Buffer-menu-make-sort-button):
f0809a9d 7407 Delete.
e5f9458f
CY
7408 (list-buffers--refresh): New function.
7409 (list-buffers-noselect): Use it.
7410 (tabulated-list-entry-size->, Buffer-menu--pretty-name)
7411 (Buffer-menu--pretty-file-name): New helper functions.
7412
7413 * loadup.el: Preload tabulated-list.
7414
7415 * emacs-lisp/tabulated-list.el (tabulated-list-sort): Rename from
7416 tabulated-list-sort-column.
7417 (tabulated-list-init-header): Add the initial aligning space even
7418 if tabulated-list-padding is zero.
7419
e129292c
CS
74202012-05-06 Christopher Schmidt <christopher@ch.ristopher.com>
7421
7422 * emacs-lisp/cl-macs.el (cl-expr-contains): Handle cons cells
7423 whose cdr is not a cons cell correctly (bug#11038).
7424
6632d361
CY
74252012-05-06 Chong Yidong <cyd@gnu.org>
7426
e129292c
CS
7427 * emacs-lisp/tabulated-list.el (tabulated-list-format):
7428 Accept additional plist in column descriptors.
6632d361
CY
7429 (tabulated-list-init-header): Obey it.
7430 (tabulated-list-get-entry): New function.
7431 (tabulated-list-put-tag): Use it. Use string-width instead of
7432 length.
7433 (tabulated-list--column-number): New function.
7434 (tabulated-list-print): Use it.
e129292c
CS
7435 (tabulated-list-print-col): New function.
7436 Set `tabulated-list-column-name' property on each column's text.
6632d361 7437 (tabulated-list-print-entry): Use it.
e129292c
CS
7438 (tabulated-list-delete-entry, tabulated-list-set-col):
7439 New functions.
6632d361
CY
7440 (tabulated-list-sort-column): New command (Bug#11337).
7441
3cc99f68
CY
7442 * buff-menu.el (list-buffers): Move C-x C-b binding from
7443 buff-menu.el to bindings.el.
7444
7445 * ebuff-menu.el (Electric-buffer-menu-undefined): Use the
7446 :advertised-binding feature.
7447
52b61776
TN
74482012-05-06 Troels Nielsen <bn.troels@gmail.com> (tiny change)
7449
7450 * progmodes/compile.el (compilation-internal-error-properties):
7451 Calculate start position correctly when end-col is set but
7452 end-line is not (Bug#11382).
7453
ebfe2597
WJ
74542012-05-06 Wolfgang Jenkner <wjenkner@inode.at>
7455
7456 * man.el (Man-unindent): Use text-property-default-nonsticky to
7457 prevent untabify from inheriting face properties (Bug#11408).
7458
6d3f7c2f
SM
74592012-05-05 Stefan Merten <smerten@oekonux.de>
7460
7461 * textmodes/rst.el: Major merge with upstream development up to
7462 Docutils SVN r7399 / rst.el V1.2.1.
7463
7464 Clarify maintainership and authors.
7465
7466 (rst-extract-version, rst-cvs-header, rst-cvs-rev)
7467 (rst-cvs-timestamp, rst-svn-rev, rst-svn-timestamp)
7468 (rst-official-version, rst-official-cvs-rev, rst-version)
7469 (rst-package-emacs-version-alist): New functions and variables
7470 for version information.
7471
7472 (rst-bullets, rst-uri-schemes, rst-adornment-chars)
7473 (rst-max-inline-length, rst-re-alist-def, rst-re-alist)
7474 (rst-mode-syntax-table, rst-mode): New and corrected functions
7475 and variables representing reStructuredText features.
7476
7477 (rst-re): New function for reStructuredText regexes. Use in
7478 many places.
7479
7480 (rst-deprecated-keys, rst-call-deprecated, rst-define-key)
7481 (rst-mode-map): Rebind keys.
7482
7483 (rst-mode-lazy, rst-font-lock-keywords)
7484 (rst-font-lock-extend-region)
7485 (rst-font-lock-extend-region-internal)
7486 (rst-font-lock-extend-region-extend)
7487 (rst-font-lock-find-unindented-line-limit)
7488 (rst-font-lock-find-unindented-line-match)
7489 (rst-adornment-level, rst-font-lock-adornment-level)
7490 (rst-font-lock-adornment-match)
7491 (rst-font-lock-handle-adornment-pre-match-form)
7492 (rst-font-lock-handle-adornment-matcher): Major revision of
7493 font-locking. Integrate with other code. Use `jit-lock-mode'.
7494
7495 (rst-preferred-adornments, rst-adjust-hook)
7496 (rst-new-adornment-down, rst-preferred-bullets)
7497 (rst-preferred-bullets, rst-indent, rst-indent-width)
7498 (rst-indent-field, rst-indent-literal-normal)
7499 (rst-indent-literal-minimized, rst-indent-comment): Change,
7500 extend and improve customization.
7501
7502 (rst-line-homogeneous-p, rst-line-homogeneous-nodent-p)
7503 (rst-normalize-cursor-position, rst-get-decoration)
7504 (rst-straighten-deco-spacing, rst-re-bullets, rst-re-items)
7505 (rst-rstrip, rst-toc-insert-find-delete-contents)
7506 (rst-shift-fill-region, rst-compute-bullet-tabs)
7507 (rst-debug-print-tabs, rst-debug-mark-found)
7508 (rst-shift-region-guts, rst-shift-region-right)
7509 (rst-shift-region-left, rst-use-char-classes)
7510 (rst-font-lock-keywords-function)
7511 (rst-font-lock-indentation-point)
7512 (rst-font-lock-find-unindented-line-begin)
7513 (rst-font-lock-find-unindented-line-end)
7514 (rst-font-lock-find-unindented-line)
7515 (rst-font-lock-adornment-point, rst-font-lock-level)
7516 (rst-adornment-level-alist): Remove functions and variables.
7517
7518 (rst-compare-adornments, rst-get-adornment-match)
7519 (rst-suggest-new-adornment, rst-get-adornments-around)
7520 (rst-adornment-complete-p, rst-get-next-adornment)
7521 (rst-adjust-adornment, rst-display-adornments-hierarchy)
7522 (rst-straighten-adornments): Standardize function names to
7523 use "adornment" instead of "decoration". Correct callers.
7524 Similar standardizing in many places.
7525
7526 (rst-update-section, rst-adjust, rst-promote-region)
7527 (rst-enumerate-region, rst-bullet-list-region)
7528 (rst-repeat-last-character): Correct use of `interactive'.
7529
7530 (rst-classify-adornment, rst-find-all-adornments)
7531 (rst-get-hierarchy, rst-adjust-adornment, rst-toc-update)
7532 (rst-find-leftmost-column, rst-repeat-last-character):
7533 Refactor functions.
7534
7535 (rst-find-title-line, rst-reset-section-caches)
7536 (rst-get-adornments-around, rst-adjust-adornment-work)
7537 (rst-arabic-to-roman, rst-roman-to-arabic)
7538 (rst-insert-list-pos, rst-insert-list-new-item)
7539 (rst-insert-list-continue, rst-insert-list, rst-forward-line):
7540 New functions.
7541
7542 (rst-all-sections, rst-section-hierarchy)
7543 (rst-arabic-to-roman, rst-initial-enums, rst-initial-items):
7544 New variables.
7545
7546 (rst-toc-return-wincfg, rst-toc-quit-window): Use window
7547 configuration instead of only buffer. Change where necessary.
7548
7549 (rst-line-tabs, rst-compute-tabs, rst-indent-line)
7550 (rst-shift-region, rst-adaptive-fill): New functions for
7551 indentation and filling.
7552
7553 (rst-comment-line-break, rst-comment-indent)
7554 (rst-comment-insert-comment, rst-comment-region)
7555 (rst-uncomment-region): New functions for handling comments.
7556
7557 (rst-compile): Quote shell arguments.
7558
7559 (rst-compile-pdf-preview, rst-compile-slides-preview):
7560 Delete temporary files after use.
7561
a43f98b3
GM
75622012-05-05 Glenn Morris <rgm@gnu.org>
7563
48176e8b
GM
7564 * calendar/cal-html.el: Optionally include holidays in the output.
7565 Suggested by Ed Reingold <reingold@emr.cs.iit.edu>.
7566 (cal-html-holidays): New option.
7567 (cal-html-css-default): Add holiday entry.
7568 (holiday-in-range): Autoload it.
7569 (cal-html-htmlify-entry): Add optional class argument.
7570 (cal-html-htmlify-list): Add optional holidays argument.
7571 (cal-html-insert-agenda-days): Include holidays in the output.
7572 (cal-html-one-month): Maybe include holidays.
7573
a43f98b3
GM
7574 * calendar/holidays.el (holiday-in-range):
7575 Move here from cal-tex-list-holidays.
7576 * calendar/cal-tex.el (cal-tex-list-holidays):
7577 Make it an obsolete alias for holiday-in-range. Update all callers.
7578
fef9d149 75792012-05-05 Chong Yidong <cyd@gnu.org>
eceeb5fc
CY
7580
7581 * select.el (xselect--encode-string): Always use utf-8 for TEXT on
7582 Nextstep.
7583
248da2f4
RW
75842012-05-05 Ransom Williams <auvergnerw@gmail.com> (tiny change)
7585
7586 * files.el (file-auto-mode-skip): New var.
7587 (set-auto-mode-1): Use it.
7588
f95e9344
SM
75892012-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
7590
df96ab1e
SM
7591 * repeat.el: Use lexical-binding.
7592 (repeat-last-self-insert, repeat-num-input-keys-at-self-insert)
7593 (repeat-undo-count): Remove.
7594 (repeat):
7595 * progmodes/octave-mod.el (octave-abbrev-start):
7596 * progmodes/f90.el (f90-abbrev-start):
7597 * face-remap.el (text-scale-adjust):
7598 * kmacro.el (kmacro-call-macro): Use set-temporary-overlay-map.
7599
5342bb06
SM
7600 * emacs-lisp/pcase.el (pcase--let*): New function.
7601 (pcase--expand, pcase-codegen, pcase--q1): Use it to reduce nesting
7602 a bit more.
7603 (pcase--split-pred): Be more clever about ruling out overlap between
7604 a predicate and some constant pattern.
7605 (pcase--q1): Use `null' instead of (eq foo nil).
7606
f95e9344
SM
7607 * subr.el (setq-local, defvar-local): New macros.
7608 (kbd): Redefine as an alias.
7609 (with-selected-window): Leave unrelated frames alone.
7610 (set-temporary-overlay-map): New function.
7611
71873e2b
SM
76122012-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
7613
7614 * subr.el (user-error): New function.
7615 * window.el (switch-to-buffer):
7616 * vc/smerge-mode.el (smerge-resolve-function, smerge-resolve)
7617 (smerge-match-conflict):
7618 * simple.el (previous-matching-history-element)
7619 (next-matching-history-element, goto-history-element, undo-more)
7620 (undo-start):
7621 * progmodes/etags.el (visit-tags-table-buffer, find-tag-tag)
7622 (find-tag-noselect, find-tag-in-order, etags-goto-tag-location)
7623 (next-file, tags-loop-scan, list-tags, complete-tag):
7624 * progmodes/compile.el (compilation-loop):
7625 * mouse.el (mouse-minibuffer-check):
7626 * man.el (Man-bgproc-sentinel, Man-goto-page):
7627 * info.el (Info-find-node-2, Info-extract-pointer, Info-history-back)
7628 (Info-history-forward, Info-follow-reference, Info-menu)
7629 (Info-extract-menu-item, Info-extract-menu-counting)
7630 (Info-forward-node, Info-backward-node, Info-next-menu-item)
7631 (Info-last-menu-item, Info-next-preorder, Info-last-preorder)
7632 (Info-next-reference, Info-prev-reference, Info-index)
7633 (Info-index-next, Info-follow-nearest-node)
7634 (Info-copy-current-node-name):
7635 * imenu.el (imenu--make-index-alist)
7636 (imenu-default-create-index-function, imenu-add-to-menubar):
7637 * files.el (basic-save-buffer, recover-file):
7638 * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
7639 * emacs-lisp/checkdoc.el (checkdoc-continue, checkdoc-comments)
7640 (checkdoc-message-text, checkdoc-defun):
7641 * dabbrev.el (dabbrev-completion, dabbrev--abbrev-at-point):
7642 * cus-edit.el (customize-changed-options, customize-rogue)
7643 (customize-saved, custom-variable-set, custom-variable-mark-to-save)
7644 (custom-variable-mark-to-reset-standard)
7645 (custom-variable-reset-backup, custom-face-mark-to-reset-standard)
7646 (custom-file):
7647 * completion.el (check-completion-length):
7648 * comint.el (comint-search-arg)
7649 (comint-previous-matching-input-string-position)
7650 (comint-previous-matching-input)
7651 (comint-replace-by-expanded-history-before-point, comint-send-input)
7652 (comint-copy-old-input, comint-backward-matching-input)
7653 (comint-goto-process-mark, comint-set-process-mark):
7654 * calendar/calendar.el (calendar-cursor-to-date): Use it.
7655 * bindings.el (debug-ignored-errors): Remove regexps, add `user-error'.
7656
8a61ee22
SM
76572012-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
7658
66408d1e
SM
7659 * dabbrev.el (dabbrev--ignore-case-p): New function.
7660 (dabbrev-completion, dabbrev-expand, dabbrev--substitute-expansion):
7661 Use it.
7662
8a61ee22
SM
7663 * files.el (automount-dir-prefix): Mark as obsolete.
7664
3c74813a
GM
76652012-05-04 Glenn Morris <rgm@gnu.org>
7666
7667 * patcomp.el, play/bruce.el: Move to obsolete/.
7668
0bfcf5c5
PE
76692012-05-04 Paul Eggert <eggert@cs.ucla.edu>
7670
7671 Fix minor Y10k bugs.
7672 * arc-mode.el (archive-unixdate):
7673 * autoinsert.el (auto-insert-alist):
7674 * calc/calc-forms.el (math-this-year):
7675 * emacs-lisp/copyright.el (copyright-current-year)
7676 (copyright-update-year, copyright):
7677 * tar-mode.el (tar-clip-time-string):
7678 * time.el (display-time-update):
7679 Don't assume years have 4 digits.
7680
78f3273a
CY
76812012-05-04 Chong Yidong <cyd@gnu.org>
7682
7683 * dos-w32.el (file-name-buffer-file-type-alist)
7684 (direct-print-region-use-command-dot-com):
7685 * ffap.el (ffap-menu-regexp):
7686 * find-file.el (ff-special-constructs):
7687 * follow.el (follow-debug):
7688 * forms.el (forms--debug):
7689 * iswitchb.el (iswitchb-all-frames):
7690 * ido.el (ido-all-frames):
7691 * emacs-lisp/timer.el (timer-max-repeats):
7692 * mail/feedmail.el (feedmail-mail-send-hook)
7693 (feedmail-mail-send-hook-queued):
7694 * mail/footnote.el (footnote-signature-separator):
7695 * mail/mailabbrev.el (mail-alias-separator-string)
7696 (mail-abbrev-mode-regexp):
7697 * mail/rmail.el (rmail-speedbar-match-folder-regexp):
7698 * progmodes/idlwave.el (idlwave-libinfo-file)
7699 (idlwave-default-completion-case-is-down)
7700 (idlwave-library-routines): Convert defvars to defcustoms.
7701
7702 * mail/rmail.el (rmail-decode-mime-charset):
7703 * progmodes/idlw-shell.el (idlwave-shell-print-expression-function)
7704 (idlwave-shell-fix-inserted-breaks)
7705 (idlwave-shell-activate-alt-keybindings)
7706 (idlwave-shell-use-breakpoint-glyph):
7707 * facemenu.el (facemenu-unlisted-faces): Delete obsolete vars.
7708
f7ae6719
SM
77092012-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
7710
7711 * minibuffer.el (completion--twq-all): Beware completion-ignore-case.
7712
47086495
WS
77132012-05-03 Wilson Snyder <wsnyder@wsnyder.org>
7714
7715 * progmodes/verilog-mode.el (font-lock-keywords):
7716 Fix mis-highligting auto. Reported by Craig Barner.
7717 (verilog-auto, verilog-auto-undef): Add AUTOUNDEF to remove
fc0c31f8 7718 defines from global name space. Reported by Dan Dever.
47086495
WS
7719 (verilog-auto-reset, verilog-auto-reset-widths)
7720 (verilog-auto-tieoff): Support using unbased numbers for
7721 AUTORESET and AUTOTIEOFF.
7722 (verilog-submit-bug-report): Update variable list.
7723 (verilog-read-auto-params): Fix AUTOINPUT regexps containing
fc0c31f8 7724 parenthesis from not matching. Reported by Michael Rytting.
47086495
WS
7725 (verilog-auto-template-lint): Fix hash error when linting modules
7726 with no used templates.
7727 (verilog-warn, verilog-warn-error)
7728 (verilog-warn-fatal): When non-interactive report multiple
7729 warnings before exiting. Suggested by Brad Dobbie.
7730 (verilog-auto-template-lint, verilog-auto-template-warn-unused)
7731 (verilog-read-auto-template): Add `verilog-auto-template-warn-unused'
7732 to report unused template errors. Reported by Brad Dobbie.
7733 (verilog-read-decls): Fix AUTOWIRE etc on supply0, supply1 type
fc0c31f8 7734 nets, bug438. Reported by Vns Blore.
47086495
WS
7735 (verilog-auto-inout-module, verilog-auto-reg)
7736 (verilog-read-decls, verilog-read-sub-decls-sig)
7737 (verilog-signals-edit-wire-reg, verilog-signals-with):
7738 Fix passing of Verilog data types in ANSI input/output ports
fc0c31f8 7739 such as "output logic" into the AUTOs. Special case "wire" and
47086495
WS
7740 "reg" for backwards compatibility presuming Verilog 2001.
7741 (verilog-auto-ascii-enum): Add "auto enum" as alias.
7742 (verilog-preprocess): Fix replication of preprocess output.
7743 Reported by Brad Dobbie.
7744 (verilog-auto-inst-interfaced-ports):
7745 Create verilog-auto-inst-interfaced-ports, bug429.
7746 Reported by Julian Gorfajn.
7747 (verilog-after-save-font-hook)
7748 (verilog-before-save-font-hook): New variable.
7749 (verilog-modi-cache-results, verilog-save-font-mod-hooked)
7750 (verilog-save-font-mods): Wrap disabling fontification, reported
7751 by David Rogoff.
7752 (verilog-do-indent, verilog-pretty-declarations-auto)
7753 (verilog-sk-def-reg): Fix obeying `verilog-auto-lineup', bug305.
7754 Reported by Pierre-David Pfister.
7755 (verilog-set-auto-endcomments): Fix endtask auto comments outside
7756 of class declarations, bug292. Reported by Kevin Heilman.
7757 (verilog-read-decls): Fix 'parameter type' not appearing in
7758 AUTOINSTPARAM, bug340. Reported by Jonathan Greenlaw.
7759 (verilog-auto-logic): Fix when AUTOLOGIC present to properly do
fc0c31f8 7760 AUTOINPUTs, bug411. Reported by Jonathan Greenlaw.
47086495
WS
7761 (verilog-read-auto-lisp): Avoid syntax-ppss warning on AUTOLISP.
7762 Reported by David Kravitz.
7763
77642012-05-03 Michael McNamara <mac@mail.brushroad.com>
7765
7766 * progmodes/verilog-mode.el (verilog-pretty-expr): Don't line up
7767 assignment with tests in ifs and for loops.
7768 (verilog-extended-complete-re, verilog-complete-reg): Change so
7769 that DPI inport functions don't look like fuction declarations.
7770 (verilog-pretty-expr): Don't line up assignment
7771 operations to the test and increment in if and for loops
7772 (verilog-extended-complete-re, verilog-complete-reg): Change so
090bd7cb 7773 that DPI inport functions don't look like fuction declarations.
47086495 7774
2e51d4b5
KH
77752012-05-03 Kenichi Handa <handa@m17n.org>
7776
7777 * mail/rmailmm.el (rmail-show-mime): Catch an error caused by text
c846da43 7778 decoding, and show a warning message without signaling an error
2e51d4b5
KH
7779 (Bug#11282).
7780
2bd785a2
SM
77812012-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
7782
7783 * emacs-lisp/bytecomp.el
7784 (byte-compile-file-form-custom-declare-variable): Compile all elements,
7785 since cconv.el might have introduced :fun-body, internal-make-closure,
7786 and friends for bytecomp to handle (bug#11391).
7787 * custom.el (defcustom): Avoid ((λ ..) ..).
7788
99d27583
SM
77892012-05-02 Stefan Monnier <monnier@iro.umontreal.ca>
7790
7791 * subr.el (read-passwd): Better clean after ourselves (bug#11392).
7792
55a71479
JB
77932012-05-02 Juanma Barranquero <lekktu@gmail.com>
7794
7795 * notifications.el (dbus-debug):
7796 * term/linux.el (gpm-mouse-enable):
7797 * term/screen.el (xterm-register-default-colors): Declare.
7798
7b97c764
CY
77992012-05-02 Chong Yidong <cyd@gnu.org>
7800
2bc356d7
CY
7801 * cus-start.el (gc-cons-percentage, exec-suffixes)
7802 (dos-display-scancodes, dos-hyper-key, dos-super-key)
7803 (dos-keypad-mode, debug-on-signal, vertical-centering-font-regexp)
7804 (make-cursor-line-fully-visible, void-text-area-pointer)
7805 (font-list-limit): Add customization data.
7806
7b97c764
CY
7807 * allout.el (allout-exposure-change-functions)
7808 (allout-structure-added-functions)
7809 (allout-structure-deleted-functions)
7810 (allout-structure-shifted-functions): Rename abnormal hooks from
7811 *-hook, and convert to defcustoms.
5d3385a0
JB
7812 (allout-after-copy-or-kill-hook, allout-post-undo-hook):
7813 Convert to defcustoms.
7b97c764
CY
7814 (allout-mode-hook, allout-mode-deactivate-hook): Doc fix.
7815
7816 * allout-widgets.el: Hook callers changed.
7817
90207a15 78182012-05-02 Eli Zaretskii <eliz@gnu.org>
91af76bf
EZ
7819
7820 * mail/rmail.el (rmail-yank-current-message): Use the encoding of
7821 the yanked message in preference to the default value of
7822 buffer-file-coding-system.
7823
90207a15 78242012-05-02 Martin Rudalics <rudalics@gmx.at>
d9558cad 7825
5d3385a0
JB
7826 * window.el (display-buffer--action-function-custom-type):
7827 Fix entry.
d9558cad 7828
90207a15 78292012-05-02 Alan Mackenzie <acm@muc.de>
09affde0
AM
7830
7831 * progmodes/cc-defs.el (c-version): Update to 5.32.3.
7832
d80ac57b
GM
78332012-05-01 Glenn Morris <rgm@gnu.org>
7834
976f7668
GM
7835 * cus-start.el (suggest-key-bindings): Remove, now it is in Lisp.
7836
beb83b5a
GM
7837 * eshell/esh-cmd.el (eshell-debug-command): Doc fix. Add :set.
7838
d80ac57b
GM
7839 * cus-edit.el (custom-variable-documentation): Simplify with format.
7840
b593d6a9 78412012-05-01 Aaron S. Hawley <aaron.s.hawley@gmail.com>
f1a71c6e 7842 Stefan Monnier <monnier@iro.umontreal.ca>
b593d6a9
AH
7843
7844 * simple.el (suggest-key-bindings, execute-extended-command):
7845 Move from keyboard.c.
7846
782fbf2a
CY
78472012-05-01 Chong Yidong <cyd@gnu.org>
7848
7849 * follow.el: Eliminate advice.
7850 (set-process-filter, process-filter, sit-for): Advice deleted.
7851 (follow-mode-off-hook): Obsolete hook removed.
b593d6a9
AH
7852 (follow-avoid-tail-recenter-p, follow-process-filter-alist):
7853 Vars deleted.
782fbf2a
CY
7854 (follow-auto): Use a :set function.
7855 (follow-mode): Rewritten. Don't advise process filters.
7856 (follow-switch-to-current-buffer-all, follow-scroll-up)
7857 (follow-scroll-down): Assume follow-mode is bound.
7858 (follow-comint-scroll-to-bottom)
7859 (follow-align-compilation-windows): New functions.
7860 (follow--window-sorter): New function.
7861 (follow-all-followers): Use it to explicitly sort windows by their
7862 positions; don't make assumptions about next-window order.
7863 (follow-windows-start-end, follow-delete-other-windows-and-split)
7864 (follow-calc-win-start): Doc fix.
7865 (follow-windows-aligned-p, follow-select-if-visible): Don't call
7866 vertical-motion unnecessarily.
7867 (follow-adjust-window): New function.
7868 (follow-post-command-hook): Use it.
7869 (follow-call-set-process-filter, follow-call-process-filter)
7870 (follow-intercept-process-output, follow-tidy-process-filter-alist)
7871 (follow-stop-intercept-process-output, follow-generic-filter):
7872 Functions deleted.
7873 (follow-scroll-bar-toolkit-scroll, follow-scroll-bar-drag)
b593d6a9
AH
7874 (follow-scroll-bar-scroll-up, follow-scroll-bar-scroll-down):
7875 New functions, replacing advice on scroll-bar-* commands.
87233a14 7876 (follow-mwheel-scroll): New function (Bug#4112).
782fbf2a
CY
7877
7878 * comint.el (comint-adjust-point): New function.
b593d6a9
AH
7879 (comint-postoutput-scroll-to-bottom): Use it.
7880 Call follow-comint-scroll-to-bottom for Follow mode buffers.
782fbf2a 7881
290af740
GM
78822012-05-01 Glenn Morris <rgm@gnu.org>
7883
7884 * term/AT386.el, term/apollo.el, term/bobcat.el, term/cygwin.el:
7885 * term/iris-ansi.el, term/linux.el, term/lk201.el, term/news.el:
7886 * term/screen.el, term/vt102.el, term/vt125.el, term/vt200.el:
7887 * term/vt201.el, term/vt220.el, term/vt240.el, term/vt300.el:
7888 * term/vt320.el, term/vt400.el, term/vt420.el, term/wyse50.el:
7889 Remove no-byte-compile setting.
7890
6eac8dc9
SM
78912012-05-01 Stefan Monnier <monnier@iro.umontreal.ca>
7892
7893 * minibuffer.el (completion-table-with-quoting): Fix compatibility
7894 all-completions code to not return a number in the last cdr.
7895
9cc7819c
LL
78962012-04-30 Leo Liu <sdl.web@gmail.com>
7897
7898 * ibuf-ext.el (ibuffer-diff-buffer-with-file-1): Avoid buffer
7899 read-only error.
7900
c93b886f
CY
79012012-04-29 Chong Yidong <cyd@gnu.org>
7902
7903 * follow.el (follow-calc-win-end): Rewrite to handle partial
7904 screen lines correctly (Bug#8390).
7905 (follow-avoid-tail-recenter): Minor cleanup.
7906
8b6c19f4
SM
79072012-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
7908
7909 Avoid the obsolete `assoc' package.
7910 * speedbar.el (speedbar-refresh): Avoid adelete.
7911 (speedbar-file-lists): Simplify and avoid aput.
7912 * man.el (Man--sections, Man--refpages): New vars, replacing
7913 Man-sections-alist and Man-refpages-alist.
7914 (Man-build-section-alist, Man-build-references-alist):
7915 Use them; avoid aput.
7916 (Man--last-section, Man--last-refpage): New vars.
7917 (Man-follow-manual-reference): Use them.
7918 Use the `default' arg of completing-read.
7919 (Man-goto-section): Idem. Move prompt to the `interactive' spec.
7920
c5bb7569
CY
79212012-04-27 Chong Yidong <cyd@gnu.org>
7922
d1d2e2e8
CY
7923 * vc/diff.el (diff-sentinel): Go to bob (Bug#10259).
7924
15cd8efd
CY
7925 * startup.el (x-apply-session-resources): New function.
7926
7927 * term/ns-win.el (ns-initialize-window-system):
7928 * term/w32-win.el (w32-initialize-window-system):
7929 * term/x-win.el (x-initialize-window-system): Use it to properly
7930 set menu-bar-mode and other vars from X resources, even if the
7931 initial frame is not a window-system frame (Bug#2299).
7932
c5bb7569
CY
7933 * subr.el (read-key): Avoid running filter function when setting
7934 up temporary tool bar entries (Bug#9922).
7935
a8e7d6d7 79362012-04-27 Andreas Schwab <schwab@linux-m68k.org>
c4347ab9
AS
7937
7938 * vc/vc-git.el (vc-git-state): Fix regexp matching diff output.
7939 (Bug#11344)
7940
a8e7d6d7 79412012-04-27 Chong Yidong <cyd@gnu.org>
acb71f1d
CY
7942
7943 * select.el (xselect--encode-string): New function, split from
7944 xselect-convert-to-string.
7945 (xselect-convert-to-string): Use it.
7946 (xselect-convert-to-filename, xselect-convert-to-os)
7947 (xselect-convert-to-host, xselect-convert-to-user): Ensure that
7948 returned strings are properly encoded (Bug#11315).
7949
a8e7d6d7 79502012-04-27 Chong Yidong <cyd@gnu.org>
d55486c7
CY
7951
7952 * simple.el (delete-active-region): Move to killing custom group.
7953
a8e7d6d7 79542012-04-27 Andreas Schwab <schwab@linux-m68k.org>
581b6788
AS
7955
7956 * progmodes/which-func.el (which-func-current): Quote %
7957 characters for mode-line processing.
7958
578c1d4b 79592012-04-27 Chong Yidong <cyd@gnu.org>
18edb22d
CY
7960
7961 * xml.el (xml-parse-region, xml-parse-tag): Avoid errors due to
7962 reaching eob (Bug#11286).
7963
a8e7d6d7 79642012-04-27 Eli Zaretskii <eliz@gnu.org>
9ee9f470
EZ
7965
7966 * progmodes/gdb-mi.el (gdb-control-level): New variable.
7967 (gdb): Make it buffer-local and init to zero.
7968 (gdb-control-commands-regexp): New variable.
7969 (gdb-send): Don't wrap in "-interpreter-exec console" if
7970 gdb-control-level is positive. Increment gdb-control-level
7971 whenever the command matches gdb-control-commands-regexp, and
7972 decrement it each time the command is "end". (Bug#11279)
7973
a8e7d6d7 79742012-04-27 Martin Rudalics <rudalics@gmx.at>
41cfe0cb
MR
7975
7976 * window.el (adjust-window-trailing-edge, enlarge-window)
7977 (shrink-window, window-resize):
7978 * mouse.el (mouse-drag-line): Fix resizing of minibuffer
7979 windows (Bug#11276).
7980
b3608390
CY
79812012-04-27 Chong Yidong <cyd@gnu.org>
7982
7983 * progmodes/pascal.el (pascal--extra-indent): Rename from ind, to
a8e7d6d7 7984 fix "missing prefix" warning. All callers changed.
b3608390 7985
797e6e88
SM
79862012-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
7987
7988 * emacs-lisp/assoc.el: Move to obsolete/.
7989
e95a67dc
SM
79902012-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
7991
657c21e4 7992 * emacs-lisp/assoc.el (aget): Fix dynamic-scoping issue (bug#11352).
e95a67dc
SM
7993
7994 * term/ns-win.el (ns-define-service):
7995 * progmodes/pascal.el (pascal-goto-defun):
7996 * progmodes/js.el (js--read-tab):
7997 * progmodes/etags.el (tags-lazy-completion-table):
7998 * emacs-lisp/syntax.el (syntax-propertize-via-font-lock):
7999 * emacs-lisp/ewoc.el (ewoc--wrap):
8000 * emacs-lisp/assoc.el (aput, adelete, amake):
8001 * doc-view.el (doc-view-convert-current-doc):
8002 * vc/diff.el (diff-no-select): Replace lexical-let by lexical-binding.
8003
cb3e7ae0
CY
80042012-04-26 Chong Yidong <cyd@gnu.org>
8005
dce04f7f
CY
8006 * image.el (image-type-from-buffer): Only return supported image
8007 type (Bug#9045).
8008
cb3e7ae0
CY
8009 * vc/diff-mode.el (diff-beginning-of-hunk): Return a meaningful
8010 value, for symmetry with diff-end-of-hunk.
8011 (diff-split-hunk, diff-find-source-location)
8012 (diff-ignore-whitespace-hunk, diff-refine-hunk): Use it.
8013 (diff-bounds-of-hunk, diff-bounds-of-file): New functions.
8014 (diff-restrict-view, diff-hunk-kill, diff-file-kill): Use them to
8015 compute the relevant hunk or file properly (Bug#6005).
8016 (diff-file-junk-re): Add bzr's "modified file" tag (Bug#6041).
8017
0d42eb3e
SM
80182012-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
8019
8020 * vc/vc-mtn.el:
8021 * vc/vc-hg.el:
8022 * vc/vc-git.el:
8023 * vc/vc-dir.el:
8024 * vc/vc-cvs.el:
8025 * vc/vc-bzr.el:
8026 * vc/vc-arch.el:
8027 * vc/vc.el: Replace lexical-let by lexical-binding.
8028 * minibuffer.el (lazy-completion-table): Avoid ((λ ...) ...).
8029 * emacs-lisp/cl-macs.el (lexical-let): Fix use in lexical-binding.
8030 * emacs-lisp/cconv.el (cconv-analyse-form): Warn use of ((λ ...) ...).
8031
f08ae1c9
CY
80322012-04-26 Chong Yidong <cyd@gnu.org>
8033
8b71081d
CY
8034 * vc/diff-mode.el (diff-undo): New command (Bug#5302).
8035 (diff-mode-shared-map): Bind it to / and [remap undo].
8036
f08ae1c9
CY
8037 * vc/ediff-wind.el (ediff-setup-windows-default): New function.
8038 (ediff-window-setup-function): Use it as the default, to set up
8039 windows based on whether the current frame is graphical (Bug#2138).
8040 (ediff-choose-window-setup-function-automatically): Make obsolete.
8041
8042 * vc/ediff-init.el: Always define ediff-pixel-width/height.
8043
ef24141c
SM
80442012-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
8045
cc356a5d
SM
8046 * ffap.el: Remove old code for obsolete package.
8047 (ffap-complete-as-file-p): Remove.
8048
b4ff4f1f
SM
8049 Use completion-table-with-quoting for comint and pcomplete.
8050 * comint.el (comint--unquote&requote-argument)
8051 (comint--unquote-argument, comint--requote-argument): New functions.
8052 (comint--unquote&expand-filename, comint-unquote-filename): Obsolete.
8053 (comint-quote-filename): Use regexp-opt-charset.
8054 (comint--common-suffix, comint--common-quoted-suffix)
8055 (comint--table-subvert): Remove.
8056 (comint-unquote-function, comint-requote-function): New vars.
8057 (comint--complete-file-name-data): Use them with
8058 completion-table-with-quoting.
8059 * pcmpl-unix.el (pcomplete/scp): Use completion-table-subvert.
8060 * pcomplete.el (pcomplete-arg-quote-list)
8061 (pcomplete-quote-arg-hook, pcomplete-quote-argument): Obsolete.
8062 (pcomplete-unquote-argument-function): Default to non-nil.
8063 (pcomplete-unquote-argument): Simplify.
8064 (pcomplete--common-quoted-suffix): Remove.
8065 (pcomplete-requote-argument-function): New var.
8066 (pcomplete--common-suffix): New function.
8067 (pcomplete-completions-at-point): Use completion-table-with-quoting
8068 and completion-table-subvert.
8069
79c4eeb4
SM
8070 * minibuffer.el: Use completion-table-with-quoting for read-file-name.
8071 (minibuffer--double-dollars): Preserve properties.
8072 (completion--sifn-requote): New function.
8073 (completion--file-name-table): Rewrite using it and c-t-with-quoting.
8074
ef24141c
SM
8075 * minibuffer.el: Add support for completion of quoted/escaped data.
8076 (completion-table-with-quoting, completion-table-subvert): New funs.
8077 (completion--twq-try, completion--twq-all): New functions.
8078 (completion--nth-completion): New function.
8079 (completion-try-completion, completion-all-completions): Use it.
8080
784e7d6e
LL
80812012-04-25 Leo Liu <sdl.web@gmail.com>
8082
dd2ac746
SM
8083 * progmodes/python.el (python-pdbtrack-get-source-buffer):
8084 Use compilation-message if available to find real filename.
784e7d6e 8085
07875ee7
CY
80862012-04-25 Chong Yidong <cyd@gnu.org>
8087
8088 * vc/diff-mode.el (diff-setup-whitespace): New function.
8089 (diff-mode): Use it.
8090
8091 * vc/diff.el (diff-sentinel):
8092 * vc/vc.el (vc-diff-finish): Call diff-setup-whitespace to assign
8093 Whitespace mode variables based on diff style (Bug#8612).
8094
5055880d
LL
80952012-04-25 Leo Liu <sdl.web@gmail.com>
8096
daf75653
LL
8097 * progmodes/python.el (python-send-region): Add suffix .py to the
8098 temp file.
8099
5055880d
LL
8100 * files.el (auto-mode-alist): Use javascript-mode instead.
8101
db9b177b
AH
81022012-04-25 Alex Harsanyi <AlexHarsanyi@gmail.com>
8103
ef24141c 8104 Sync with soap-client repository. Support SOAP simpleType (Bug#10331).
db9b177b 8105
090bd7cb 8106 * net/soap-client.el (soap-resolve-references-for-sequence-type)
ef24141c 8107 (soap-resolve-references-for-array-type): Hack to prevent self
db9b177b 8108 references, see Bug#9.
ef24141c 8109 (soap-parse-envelope): Report the contents of the 'detail' node
db9b177b 8110 when receiving a fault reply.
ef24141c 8111 (soap-parse-envelope): Report the contents of the entire 'detail' node.
db9b177b 8112
090bd7cb 8113 * net/soap-inspect.el (soap-sample-value-for-simple-type)
ef24141c 8114 (soap-inspect-simple-type): New function.
db9b177b 8115
090bd7cb 8116 * net/soap-client.el (soap-simple-type): New struct.
db9b177b 8117 (soap-default-xsd-types, soap-default-soapenc-types)
ef24141c
SM
8118 (soap-decode-basic-type, soap-encode-basic-type):
8119 support unsignedInt and double basic types.
db9b177b 8120 (soap-resolve-references-for-simple-type)
ef24141c
SM
8121 (soap-parse-simple-type, soap-encode-simple-type): New function.
8122 (soap-parse-schema): Parse xsd:simpleType declarations.
db9b177b 8123
090bd7cb 8124 * net/soap-client.el (soap-default-xsd-types)
ef24141c
SM
8125 (soap-default-soapenc-types): Add integer, byte and anyURI types.
8126 (soap-parse-complex-type-complex-content): Use `soap-wk2l' to find
8127 the local name of "soapenc:Array".
8128 (soap-decode-basic-type, soap-encode-basic-type): Support encoding
db9b177b
AH
8129 decoding integer, byte and anyURI xsd types.
8130
1fc6097b
CY
81312012-04-25 Chong Yidong <cyd@gnu.org>
8132
8133 * cus-edit.el (custom-buffer-create-internal): Update header text.
8134
afc6df87
EZ
81352012-04-25 Eli Zaretskii <eliz@gnu.org>
8136
8137 * progmodes/gdb-mi.el (gdb-init-1): Condition Windows-specific
8138 settings on 'system-type', not on 'window-system'. On MS-Windows,
8139 set interactive-mode on in GDB.
8140
dfbd787f
SM
81412012-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
8142
8143 * progmodes/ruby-mode.el: Simplify last change, and cleanup code.
8144 (ruby-syntax-propertize-regexp): Remove.
8145 (ruby-syntax-propertize-function): Split regexp into chunks.
8146 Match following code directly.
8147
85222d44
DG
81482012-04-24 Dmitry Gutov <dgutov@yandex.ru>
8149
51a8ea2a
DG
8150 * progmodes/ruby-mode.el: Handle Cucumber defs (bug#6286).
8151 (ruby-syntax-propertize-regexp): New function.
8152 (ruby-syntax-propertize-function): Use it to handle regexp not preceded
8153 by a special keyword.
8154
85222d44
DG
8155 * progmodes/ruby-mode.el: Handle general delimited literals (bug#6286).
8156 (ruby-syntax-general-delimiters-goto-beg)
8157 (ruby-syntax-propertize-general-delimiters): New functions.
8158 (ruby-syntax-propertize-function): Use them to handle GDL.
8159 (ruby-font-lock-keywords): Move old handling of GDL...
8160 (ruby-font-lock-syntactic-keywords): .. to here.
8161 (ruby-calculate-indent): Adjust indentation for GDL.
8162
b613912b
MA
81632012-04-24 Michael Albinus <michael.albinus@gmx.de>
8164
b5380639
MA
8165 * notifications.el (top): Remove unneeded declarations.
8166 (notifications-specification-version): Change to "1.2".
e43042fe 8167 (notifications-interface, notifications-notify-method)
b613912b
MA
8168 (notifications-close-notification-method): Fix docstring.
8169 (notifications-get-capabilities-method): New defconst.
e43042fe
MA
8170 (notifications-notify): Add :action-items, :resident and
8171 :transient hints. Change "image_data" to "image-data" and
8172 "image_path" to "image-path".
b613912b
MA
8173 (notifications-get-capabilities): New defun.
8174
257440aa
LL
81752012-04-24 Leo Liu <sdl.web@gmail.com>
8176
8177 * progmodes/python.el: Move hideshow setup to the end.
8178
b1bac16e
MR
81792012-04-24 Martin Rudalics <rudalics@gmx.at>
8180
8181 * window.el (handle-select-window): Clear echo area since this is
8182 no more done by read_char (Bug#11304).
8183
d81bd059
SM
81842012-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
8185
8186 * ibuffer.el (ibuffer-mode-map): Bind `/ m' to filter-used-mode
8187 and `/ M' to filter-derived-mode.
8188 * ibuf-ext.el (ibuffer-list-buffer-modes): Simplify; avoid add-to-list.
8189 (ibuffer-filter-by-mode, ibuffer-filter-by-used-mode)
8190 (ibuffer-mark-by-mode): Use default rather than initial-input.
8191 (ibuffer-filter-by-derived-mode): Autoload and require-match.
8192
c4cf6d91
IA
81932012-04-24 Ivan Andrus <darthandrus@gmail.com> (tiny change)
8194
8195 * ibuf-ext.el (ibuffer-list-buffer-modes): Add `include-parents' arg.
8196 (ibuffer-filter-by-derived-mode): New filter.
8197 * ibuffer.el (ibuffer-mode-map): Bind to `/ w'.
8198
7511ded8
CY
81992012-04-23 Andreas Politz <politza@fh-trier.de>
8200
8201 * subr.el (accept-change-group): Fix arg usage (Bug#6095).
8202
775c916b
CY
82032012-04-23 Chong Yidong <cyd@gnu.org>
8204
8205 * cus-edit.el (customize-apropos, customize-apropos-options):
8206 Disable matching of non-option variables (Bug#11176).
8207 (customize-option, customize-option-other-window)
8208 (customize-changed-options): Doc fix.
8209 (customize-apropos-options, customize-apropos-faces)
8210 (customize-apropos-groups): Use apropos-read-pattern (Bug#11124).
8211
8212 * apropos.el (apropos-read-pattern): Make prompt less cryptic.
922d37d3 8213 Fix word list splitting (Bug#11132).
46c71e23
CY
8214 (apropos-symbol, apropos-keybinding, apropos-label)
8215 (apropos-property, apropos-function-button)
8216 (apropos-variable-button, apropos-misc-button): New faces.
8217 (apropos-symbol-face, apropos-keybinding-face)
8218 (apropos-label-face, apropos-property-face, apropos-match-face):
8219 Variables removed (Bug#8396).
8220 (apropos-library-button, apropos-format-plist, apropos-print)
8221 (apropos-print-doc, apropos-describe-plist): Callers changed.
775c916b 8222
2df41f9c
MA
82232012-04-23 Michael Albinus <michael.albinus@gmx.de>
8224
8225 * net/xesam.el (xesam-mode-map): Use let-bound map in
8226 initialization. (Bug#11292)
8227
da00640a
AM
82282012-04-23 Agustín Martín Domingo <agustin.martin@hispalinux.es>
8229
8230 Preserve ispell session localwords when switching back to
8231 original buffer.
8232
090bd7cb
JB
8233 * textmodes/ispell.el (ispell-buffer-session-localwords):
8234 New buffer-local variable to hold buffer session localwords.
ed9265fc 8235 (ispell-kill-ispell): Add option 'clear to delete session
da00640a
AM
8236 localwords.
8237 (ispell-command-loop, ispell-change-dictionary)
8238 (ispell-buffer-local-words): Preserve session localwords when
8239 needed.
8240
090bd7cb
JB
8241 * textmodes/flyspell.el (flyspell-process-localwords)
8242 (flyspell-do-correct): Preserve session localwords when needed.
da00640a 8243
f621ccf5
AM
82442012-04-23 Agustín Martín Domingo <agustin.martin@hispalinux.es>
8245
090bd7cb
JB
8246 * textmodes/ispell.el (ispell-insert-word) Remove unneeded function
8247 using obsolete `translation-table-for-input'.
ef24141c
SM
8248 (ispell-word, ispell-process-line, ispell-complete-word):
8249 Use plain `insert' instead of removed `ispell-insert-word'.
f621ccf5 8250
c2d1019e
CY
82512012-04-22 Chong Yidong <cyd@gnu.org>
8252
8253 * cus-edit.el (custom-variable-menu)
8254 (custom-variable-reset-saved, custom-face-menu)
8255 (custom-face-reset-saved): If there is no saved value, make the
8256 "reset-saved" operation bring back the default (Bug#9509).
8257 (custom-face-state): Properly detect themed faces.
8258
eeddc531
CY
8259 * faces.el (face-spec-set): Stop supporting deprecated form of
8260 third arg.
8261
dcbf5805
MA
82622012-04-22 Michael Albinus <michael.albinus@gmx.de>
8263
8264 Move functions from C to Lisp. Make non-blocking method calls
8265 the default. Implement further D-Bus standard interfaces.
8266
ef24141c
SM
8267 * net/dbus.el (dbus-message-internal): Declare function.
8268 Remove unneeded function declarations.
dcbf5805
MA
8269 (defvar dbus-message-type-invalid, dbus-message-type-method-call)
8270 (dbus-message-type-method-return, dbus-message-type-error)
8271 (dbus-message-type-signal): Declare variables. Remove local
8272 definitions.
8273 (dbus-interface-dbus, dbus-interface-peer)
8274 (dbus-interface-introspectable, dbus-interface-properties)
8275 (dbus-path-emacs, dbus-interface-emacs, dbus-return-values-table):
8276 Adapt docstring.
8277 (dbus-interface-objectmanager): New defconst.
8278 (dbus-call-method, dbus-call-method-asynchronously)
8279 (dbus-send-signal, dbus-method-return-internal)
8280 (dbus-method-error-internal, dbus-register-service)
8281 (dbus-register-signal, dbus-register-method): New defuns, moved
8282 from dbusbind.c
8283 (dbus-call-method-handler, dbus-setenv)
ef24141c
SM
8284 (dbus-get-all-managed-objects, dbus-managed-objects-handler):
8285 New defuns.
dcbf5805
MA
8286 (dbus-call-method-non-blocking): Make it an obsolete function.
8287 (dbus-unregister-object, dbus-unregister-service)
8288 (dbus-handle-event, dbus-register-property)
8289 (dbus-property-handler): Obey the new structure of
8290 `bus-registered-objects'.
8291 (dbus-introspect): Use `dbus-call-method'. Use a timeout.
8292 (dbus-get-property, dbus-set-property, dbus-get-all-properties):
8293 Use `dbus-call-method'.
8294
cf20dee0
CY
82952012-04-22 Chong Yidong <cyd@gnu.org>
8296
8297 * cus-edit.el (custom-commands, custom-reset-menu)
8298 (Custom-reset-standard): Tweak labels.
8299 (custom-reset-button-menu): Change default to t.
8300 (custom-buffer-create-internal): For the custom-reset-button-menu
8301 case, put the revert button first.
8302 (custom-group-subtitle): New face.
8303 (custom-group-value-create): Align docstring to a specific column.
8304
8305 * wid-edit.el (widget-documentation-link-add): Don't handle
8306 indentation in this function.
8307 (widget-documentation-string-indent-to): New function.
8308 (widget-documentation-string-value-create): Use it.
8309
8310 * autorevert.el (auto-revert):
8311 * epg-config.el (epg):
8312 * ibuffer.el (ibuffer):
8313 * mpc.el (mpc):
8314 * ses.el (ses):
8315 * eshell/eshell.el (eshell):
8316 * net/ange-ftp.el (ange-ftp):
8317 * progmodes/ebnf2ps.el (postscript):
8318 * progmodes/flymake.el (flymake):
8319 * progmodes/prolog.el (prolog):
8320 * progmodes/verilog-mode.el (verilog-mode):
8321 * progmodes/which-func.el (which-func):
8322 * term/xterm.el (xterm):
8323 * textmodes/picture.el (picture):
8324 * textmodes/tildify.el (tildify):
8325 * vc/ediff.el (ediff): Tweak defgroups to improve presentation in
8326 customization buffers.
8327
583e23bd
AM
83282012-04-22 Alan Mackenzie <acm@muc.de>
8329
8330 * progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache):
8331 Adding a ) can hide the resulting (..) from searches. Fix it.
8332 Bound the backward search to the position of the existing (.
8333
7dd51bf1
JB
83342012-04-21 Juanma Barranquero <lekktu@gmail.com>
8335
8336 * progmodes/verilog-mode.el (verilog-mode): Check whether
8337 which-func-modes is t before adding verilog-mode.
8338 Reported by Andy Moreton <andrewjmoreton@gmail.com>.
8339
d64a438f
LL
83402012-04-21 Leo Liu <sdl.web@gmail.com>
8341
7dd51bf1 8342 * net/rcirc.el (rcirc): Avoid error when process-contact returns t.
d64a438f 8343
081e8d65
MV
83442012-04-21 Michael Vehrs <Michael.Burschik@gmx.de>
8345
8346 * woman.el: Add support for "T{ T}" tbl syntax, and fix the
8347 filling of the last column of a table (Bug#5635).
8348 (woman-find-next-control-line): New arg, specifying an additional
8349 regexp component for the control line.
8350 (woman2-roff-buffer): Use it.
8351 (woman-break-table): New function.
8352 (woman2-TS): Use it.
8353
83542012-04-21 Chong Yidong <cyd@gnu.org>
8355
8356 * woman.el (woman-set-buffer-display-table, woman-decode-region)
8357 (woman-horizontal-escapes, woman-negative-vertical-space)
8358 (woman-tab-to-tab-stop, woman2-fc, woman2-TS)
8359 (WoMan-warn-ignored): Use ?\s instead of ?\ .
8360
ed571ccb
SM
83612012-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
8362
8363 * minibuffer.el (completion-file-name-table): Complete user names.
8364
39773899
LL
83652012-04-20 Leo Liu <sdl.web@gmail.com>
8366
8367 * font-lock.el (lisp-font-lock-keywords-2): Add pcase, pcase-let
8368 and pcase-let*.
8369
de6ff46d
CY
83702012-04-20 Chong Yidong <cyd@gnu.org>
8371
8372 * server.el (server-execute): Respect initial-buffer-choice if it
8373 is a string and there are no files to open (Bug#2825).
8374 (server-create-window-system-frame, server-create-tty-frame):
8375 Don't switch buffers here.
2d0e8e61
CY
8376 (server-process-filter): Only try to open a window system frame if
8377 compiled with graphical support (Bug#8314).
de6ff46d 8378
54071013
DN
83792012-04-20 Dan Nicolaescu <dann@gnu.org>
8380
8381 * battery.el (battery-echo-area-format): Display remaining time
8382 for sysfs backend too (Bug#11269).
8383 (battery-linux-sysfs): Fix conditional for the charge.
8384
f30d612a
CY
83852012-04-20 Chong Yidong <cyd@gnu.org>
8386
c07a4c0b 8387 * progmodes/gdb-mi.el (gdb): Revert previous change.
f30d612a
CY
8388 (gdb-inferior-io--init-proc): New function.
8389 (gdb-init-1): Use it.
8390 (gdb-inferior-io-sentinel): New sentinel for the gdb-inferior pty,
8391 responsible for allocating a new pty and hooking it to gdb when
8392 the old pty gets an EIO due to process exit.
8393 (gdb-delchar-or-quit): New command. Bind it in gdb-mi buffers.
8394 (gdb-tooltip-print): Don't use obsolete tooltip-use-echo-area.
8395 (gdb-inferior-io--maybe-delete-pty): Move into gdb-reset.
8396
2116e93c
EZ
83972012-04-20 Eli Zaretskii <eliz@gnu.org>
8398
8399 * window.el (window-min-size, window-sizable, window-min-delta)
8400 (window-max-delta, window--resizable, window-resizable)
8401 (window-total-size, window-full-height-p, window-full-width-p)
8402 (window-in-direction, window--resize-mini-window, window-resize)
8403 (window--resize-child-windows-normal)
8404 (window--resize-child-windows, window--resize-siblings)
8405 (window--resize-this-window, adjust-window-trailing-edge)
cd0f830c 8406 (enlarge-window, shrink-window): Doc fixes.
2116e93c 8407
c07a4c0b 84082012-04-20 Chong Yidong <cyd@gnu.org>
b668fa6e 8409
ef24141c
SM
8410 * progmodes/gdb-mi.el (gdb-inferior-io--maybe-delete-pty):
8411 New function to call delete-process on the gdb-inferior buffer's pty.
b668fa6e
CY
8412 (gdb-reset): Use it, instead of relying on kill-buffer to kill the
8413 pty process (Bug#11273).
8414 (gdb-update): New arg to suppress talking to the gdb process.
8415 (gdb-done-or-error): Use it.
8416 (gdb-stopped-functions): Rename from gdb-stopped-hooks.
8417 (gdb): Call gdb-inferior-io--maybe-delete-pty as a workaround for
8418 sentinel not being called.
8419
8420 * comint.el (make-comint-in-buffer, comint-exec): Doc fix.
8421
d02766ab
CY
8422 * progmodes/grep.el (grep, rgrep): Doc fix (Bug#11268).
8423
c07a4c0b 84242012-04-20 Glenn Morris <rgm@gnu.org>
016a35df
GM
8425
8426 * net/network-stream.el (open-network-stream): Doc fix.
8427
c07a4c0b 84282012-04-20 Chong Yidong <cyd@gnu.org>
2c070447
CY
8429
8430 * emacs-lisp/tabulated-list.el (tabulated-list-print): Fix typos.
8431
c07a4c0b 84322012-04-20 Alan Mackenzie <acm@muc.de>
f0f6bc35
AM
8433
8434 Ensure searching for keywords is case sensitive.
8435
8436 * progmodes/cc-cmds.el (c-electric-brace, c-electric-lt-gt)
8437 (c-electric-paren, c-beginning-of-defun, c-end-of-defun)
8438 (c-defun-name, c-mark-function, c-cpp-define-name)
8439 (c-comment-indent, c-scan-conditionals, c-indent-defun)
c07a4c0b 8440 (c-context-line-break): Bind case-fold-search to nil.
f0f6bc35 8441
ef24141c
SM
8442 * progmodes/cc-mode.el (c-font-lock-fontify-region):
8443 Bind case-fold-search to nil.
f0f6bc35 8444
c07a4c0b 84452012-04-20 Chong Yidong <cyd@gnu.org>
4fc2c72a
CY
8446
8447 * mail/sendmail.el (mail-bury): Call return action with the right
8448 Rmail buffer (Bug#11242).
8449
9a864fa2
CY
8450 * server.el (server-process-filter): Handle corner case where both
8451 tty and nowait options are present (Bug#11102).
8452
539aa513
EZ
84532012-04-20 Eli Zaretskii <eliz@gnu.org>
8454
8455 * version.el (emacs-bzr-version, emacs-bzr-get-version): Doc fixes.
6cf2a23e
EZ
8456 (top level): Put into the executable the ident-style '$Id:' tag on
8457 windows-nt as well.
539aa513 8458
cfc7d5da
SM
84592012-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
8460
8461 * electric.el (electric-indent-post-self-insert-function): Check that
8462 electric-indent-mode is enabled in current buffer.
8463
5b01685c
JB
84642012-04-19 Juanma Barranquero <lekktu@gmail.com>
8465
8466 * imenu.el (imenu-progress-message): Restore; it is "used" in
8467 erc/erc-imenu.el and net/snmp-mode.el.
8468
4d6769e1
JB
84692012-04-19 Juanma Barranquero <lekktu@gmail.com>
8470
8471 * avoid.el (mouse-avoidance-mode): Mark unused arg.
8472 (mouse-avoidance-nudge-mouse): Remove unused binding.
8473
8474 * bs.el (bs-toggle-readonly): Call `toggle-read-only' interactively.
8475
8476 * descr-text.el (describe-char):
8477 * progmodes/python.el (python-describe-symbol):
8478 Don't call `toggle-read-only', set `buffer-read-only'.
8479
8480 * imenu.el (imenu-default-goto-function): Mark unused args.
8481 (imenu-progress-message): Remove obsolete macro; all callers changed.
8482
8483 * subr.el (keymap-canonicalize): Remove unused binding.
8484 (read-passwd): Mark unused arg.
8485
8486 * tutorial.el (tutorial--display-changes): Remove unused binding.
8487 (tutorial--save-tutorial-to): Remove unused variable.
8488
8489 * emacs-lisp/package.el (define-package, package-menu-mark-delete)
8490 (package-menu-mark-install, package-menu-mark-unmark): Mark unused args.
8491 (package-generate-autoloads, package-menu--generate)
8492 (package-menu--find-upgrades): Remove unused bindings.
8493
8494 * emulation/cua-rect.el (cua-restrict-regexp-rectangle)
8495 (cua-restrict-prefix-rectangle): Doc fixes. Remove unused bindings.
8496 (cua--mouse-ignore, cua--delete-rectangle, cua--extract-rectangle)
8497 (cua--indent-rectangle, cua-open-rectangle, cua-close-rectangle)
8498 (cua-blank-rectangle, cua-string-rectangle, cua-replace-in-rectangle)
8499 (cua-incr-rectangle, cua-sequence-rectangle, cua--convert-rectangle-as)
8500 (cua--rectangle-aux-replace, cua--left-fill-rectangle)
8501 (cua-scroll-rectangle-up, cua-scroll-rectangle-down)
8502 (cua-delete-char-rectangle): Mark unused args.
8503 (cua-align-rectangle): Remove unused binding.
8504
8505 * mail/rmail.el (compilation--message->loc)
8506 (epa--find-coding-system-for-mime-charset): Declare.
8507
8508 * net/dbus.el (dbus-register-service): Declare.
8509 (dbus-name-owner-changed-handler): Remove unused binding.
8510
8511 * nxml/nxml-mode.el (nxml-electric-slash, nxml-in-mixed-content-p)
8512 (nxml-compute-indent-from-matching-start-tag): Remove unused variables.
8513 (nxml-scan-backward-within): Mark unused arg.
8514 (nxml-dynamic-markup-word): Remove unused binding.
8515
8516 * mouse.el (mouse-menu-major-mode-map):
8517 * emacs-lisp/authors.el (authors-scan-change-log)
8518 (authors-add-to-author-list):
8519 * emacs-lisp/avl-tree.el (avl-tree--enter-balance):
8520 * emacs-lisp/smie.el (smie-auto-fill):
8521 * mail/sendmail.el (mail-bury):
8522 * mail/unrmail.el (unrmail):
8523 * net/tls.el (open-tls-stream):
8524 * textmodes/picture.el (picture-mouse-set-point):
8525 Remove unused bindings.
8526
8c8fc5df
MA
85272012-04-19 Michael Albinus <michael.albinus@gmx.de>
8528
8529 * net/tramp.el (tramp-action-password): Let-bind
8530 `enable-recursive-minibuffers' to t.
8531
a77b0ac9
SS
85322012-04-18 Sam Steingold <sds@gnu.org>
8533
8534 * progmodes/gud.el (gud-key-prefix): Use :type 'key-sequence
8535 instead of 'string to accommodate values like [f11].
8536 Always use `vconcat' instead of `concat' on it, like in `gud-def'.
8537 * progmodes/gdb-mi.el: Likewise.
8538
12a106a9
LL
85392012-04-18 Leo Liu <sdl.web@gmail.com>
8540
8541 * abbrev.el (edit-abbrevs): Move point to the abbrev table of
8542 current buffer.
8543 (prepare-abbrev-list-buffer): Enter edit-abbrevs-mode only if
8544 LOCAL is nil.
8545
bc6494ef
CY
85462012-04-18 Chong Yidong <cyd@gnu.org>
8547
8548 * simple.el (line-move): Use forward-line if in batch mode
8549 (Bug#11053).
8550
c09c46b2
CS
85512012-04-18 Christopher Schmidt <christopher@ch.ristopher.com>
8552
8553 * files.el (after-find-file): Do not try to add a final newline if
8554 the buffer is read-only (Bug#11156).
8555
5f6530ea
RS
85562012-04-17 Richard Stallman <rms@gnu.org>
8557
8558 * mail/rmail.el (rmail-start-mail):
8559 Pass (rmail-mail-return...) for the return-action.
8560 Pass (rmail-yank-current-message...) for the yank-action.
8561 (rmail-yank-current-message): New function.
8562 (rmail-mail): Pass the Rmail buffer, not view buffer, for replybuffer.
8563 (rmail-reply): Likewise.
8564 (rmail-forward): Pass the Rmail buffer, not nil, for replybuffer.
8565
8566 * mail/sendmail.el (mail-bury): Choose the first rmail-mode
c09c46b2 8567 buffer, not the last. Reject temp buffers. Use the rmail-mode
5f6530ea
RS
8568 buffer, not newbuf.
8569
197b6f3c
JB
85702012-04-17 Juanma Barranquero <lekktu@gmail.com>
8571
8572 * server.el (server-ensure-safe-dir): Simplify.
8573
2311d8e5 85742012-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
98fb480e 8575
2311d8e5
GM
8576 * emacs-lisp/smie.el: Provide smarter auto-filling.
8577 (smie-auto-fill): New function.
8578 (smie-setup): Use it.
98fb480e 8579
2311d8e5
GM
8580 * newcomment.el (comment-choose-indent): Obey comment-inline-offset.
8581
85822012-04-17 Philipp Haselwarter <philipp.haselwarter@gmx.de> (tiny change)
8eb5d48f
PH
8583
8584 * newcomment.el (comment-inline-offset): New custom var (bug#11090).
8585 (comment-indent): Use it.
8586
2311d8e5 85872012-04-17 Vincent Belaïche <vincentb1@users.sourceforge.net>
4bdf2ad2
VB
8588
8589 * ses.el: The overall change is to add cell renaming, that is
8590 setting fancy names for cell symbols other than name matching
8591 "\\`[A-Z]+[0-9]+\\'" regexp .
2311d8e5 8592 (ses-localvars): Add ses--renamed-cell-symb-list.
4bdf2ad2 8593 (ses-create-cell-variable): New defun.
2311d8e5 8594 (ses-destroy-cell-variable-range): Respect ses--numrows, ses--numcols.
4bdf2ad2
VB
8595 (ses-relocate-formula): Relocate formulas only for cells the
8596 symbols of which are not renamed, i.e. symbols whose names do not
8597 match regexp "\\`[A-Z]+[0-9]+\\'".
8598 (ses-relocate-all): Relocate values only for cells the symbols of
8599 which are not renamed.
8600 (ses-load): Create cells variables as the (ses-cell ...) are read,
8601 in order to check row col consistency with cell symbol name only
8602 for cells that are not renamed.
8603 (ses-replace-name-in-formula): New defun.
8604 (ses-rename-cell): New defun.
4bdf2ad2 8605
fc72b15c
PO
86062012-04-17 Peter Oliver <bzr@mavit.org.uk> (tiny change)
8607
8608 * progmodes/perl-mode.el (perl-indent-parens-as-block):
8609 New option (bug#11118).
8610 (perl-calculate-indent): Respect it.
8611
12e10e61
GM
86122012-04-17 Glenn Morris <rgm@gnu.org>
8613
8614 * dired-aux.el (dired-mark-read-string): Doc fix.
8615
30009afd
DA
86162012-04-17 Dmitry Antipov <dmantipov@yandex.ru>
8617
8618 * dired-aux.el (dired-mark-read-string): Offer optional completion.
8619 (dired-do-chxxx): Complete chown, chgrp over users, groups. (Bug#7900)
8620
41f03f4d
GM
86212012-04-17 Glenn Morris <rgm@gnu.org>
8622
8623 * mouse.el (mouse-drag-track):
8624 * speedbar.el (speedbar-frame-mode):
8625 Use auto-hscroll-mode rather than the alias automatic-hscrolling.
8626
f45f90f3
LL
86272012-04-16 Leo Liu <sdl.web@gmail.com>
8628
8629 * progmodes/python.el: Trivial cleanup.
8630
94ee8db5
GM
86312012-04-16 Glenn Morris <rgm@gnu.org>
8632
121b8917
GM
8633 * vc/vc.el (vc-string-prefix-p):
8634 * vc/pcvs-util.el (cvs-string-prefix-p):
8635 * textmodes/tex-mode.el (latex-string-prefix-p, tex-string-prefix-p):
8636 * mpc.el (mpc-string-prefix-p):
8637 Make all of these into obsolete aliases for string-prefix-p.
8638 Update callers.
8639 * vc/pcvs.el, vc/vc-dispatcher.el, vc/vc-dir.el: Update callers.
8640
1197ecfa
GM
8641 * textmodes/two-column.el: Move custom options to the start.
8642 (frame-width): Remove compat definition.
8643 (2C-associate-buffer, 2C-dissociate):
8644 Use with-current-buffer rather than save-excursion.
8645 (2C-dissociate): Force a mode-line update.
8646 (2C-autoscroll): Use ignore-errors.
8647
099e7202
GM
8648 * emacs-lisp/eieio-opt.el (describe-class, describe-generic):
8649 Autoload trivia.
8650
bf350d6a
GM
8651 * emacs-lisp/cl-extra.el (*random-state*):
8652 Remove unnecessary declaration.
8653
0e829eab
GM
8654 * calendar/cal-tex.el (cal-tex-end-document): Trivial clarification.
8655
e3ad7552
GM
8656 * play/cookie1.el (cookie-snarf):
8657 Give an explicit error if input file cannot be read.
8658
68892d27
GM
8659 * play/yow.el (yow-file): Use expand-file-name rather than concat.
8660
20f0c46d
GM
8661 * progmodes/perl-mode.el (c-macro-expand):
8662 Remove unnecessary autoload (it is in loaddefs.el).
8663
5a0978ce
GM
8664 * textmodes/picture.el (picture-desired-column)
8665 (picture-update-desired-column): Convert comments to doc-strings.
8666 (picture-substitute): Remove function.
8667 (picture-mode-map): Initialize in the defvar.
8668
6b955486
GM
8669 * woman.el: Remove eval-after-load for tar-mode.
8670 * tar-mode.el (tar-mode-map): Add woman binding and menu entry.
8671 (woman-tar-extract-file): Autoload it.
8672
94ee8db5
GM
8673 * frame.el (automatic-hscrolling): Make this alias obsolete.
8674
177eca34
AM
86752012-04-12 Agustín Martín Domingo <agustin.martin@hispalinux.es>
8676
090bd7cb 8677 * textmodes/ispell.el (ispell-set-spellchecker-params): Post-process
4be3075e 8678 `ispell-dictionary-alist' to use [:alpha:] and utf-8 if possible.
3851314b
AM
8679 (ispell-dictionary-base-alist): Revert to original XEmacs
8680 friendly version for default. [:alpha:] will be added in
090bd7cb 8681 `ispell-set-spellchecker-params' if needed.
177eca34 8682
c505aaeb
CY
86832012-04-16 Chong Yidong <cyd@gnu.org>
8684
b19dd9d1 8685 * image.el (imagemagick--file-regexp): New variable.
c505aaeb
CY
8686 (imagemagick-register-types): Use it.
8687 (imagemagick-types-inhibit): Add :set function. Allow new value
8688 of t to inhibit all types.
8689
8690 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Avoid cl macros,
8691 so we can preload it.
8692
8693 * loadup.el (fboundp): Preload regexp-opt, needed by
8694 imagemagick-register-types.
8695
60efac0f
CY
86962012-04-15 Chong Yidong <cyd@gnu.org>
8697
8698 * frame.el (scrolling): Remove nearly unused customization group.
8699
8700 * scroll-all.el (scroll-all-mode): Move to windows group.
8701
5dd1713e
CY
87022012-04-15 Chong Yidong <cyd@gnu.org>
8703
8704 * bindings.el (goto-map): Bind goto-char to M-g c (Bug#11240).
8705
e6fd457e
CY
87062012-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
8707
8708 Avoid the use of ((lambda ...) ...) in lexical-binding code.
4d6769e1 8709 * emacs-lisp/easy-mmode.el (define-minor-mode): Use funcall (bug#11241).
e6fd457e 8710
e153c136
GM
87112012-04-15 Glenn Morris <rgm@gnu.org>
8712
8713 * simple.el (process-file-side-effects): Doc fix.
8714
e6fd457e 87152012-04-15 Glenn Morris <rgm@gnu.org>
ca7d96c8
GM
8716
8717 * international/mule-cmds.el (set-language-environment): Doc fix.
8718
3603c3b1
JB
87192012-04-14 Juanma Barranquero <lekktu@gmail.com>
8720
8721 * server.el (server-auth-key, server-generate-key): Doc fixes.
8722 (server-get-auth-key): Doc fix. Use `string-match-p'.
8723 (server-start): Reflow docstring.
8724
e6de100c
LI
87252012-04-14 Lars Ingebrigtsen <larsi@gnus.org>
8726
8727 * server.el (server-generate-key): `called-interactively-p'
8728 requires a parameter.
8729
29734c21
MN
87302012-04-14 Michal Nazarewicz <mina86@mina86.com>
8731
8732 * server.el (server-auth-key): New variable.
75f1671a 8733 (server-generate-key, server-get-auth-key): New function.
29734c21
MN
8734 (server-start): Use the new variable and functions to allow
8735 setting a permanent server key (bug#9423).
8736
d65c9521
LL
87372012-04-14 Leo Liu <sdl.web@gmail.com>
8738
8739 * vc/diff-mode.el (diff-file-prev/next): Fix typo.
8740
5ae255c7
PE
87412012-04-14 Paul Eggert <eggert@cs.ucla.edu>
8742
8743 Spelling fixes.
8744 * hexl.el (hexl-rulerize): Rename from hexl-rulerise, since
8745 Emacs uses American spelling.
8746
d5e6342e
JB
87472012-04-14 Juanma Barranquero <lekktu@gmail.com>
8748
8749 * emacs-lock.el (emacs-lock-locked-buffer-functions): New hook.
8750 (emacs-lock--exit-locked-buffer): Return the locked buffer. Doc fix.
8751 (emacs-lock--kill-emacs-hook, emacs-lock--kill-emacs-query-functions)
8752 (emacs-lock--kill-buffer-query-functions): Run new hook. (Bug#11017)
8753
ab036cd7
SM
87542012-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
8755
8756 * progmodes/which-func.el (which-func-modes): Change default.
8757
35dc09a1 87582012-04-14 Kim F. Storm <storm@cua.dk>
9557e2be
CY
8759
8760 * emulation/cua-base.el (cua-exchange-point-and-mark): Just call
8761 exchange-point-and-mark if cua-enable-cua-keys is nil (Bug#11191).
8762
35dc09a1 87632012-04-14 Chong Yidong <cyd@gnu.org>
81927dd2
CY
8764
8765 * custom.el (custom-theme-set-variables): Doc fix.
8766
35dc09a1 87672012-04-14 Glenn Morris <rgm@gnu.org>
8edb942b
GM
8768
8769 * international/mule.el (set-auto-coding-for-load): Doc fix.
8770
35dc09a1 87712012-04-14 Alan Mackenzie <acm@muc.de>
0de3da9f 8772
35dc09a1
GM
8773 * progmodes/cc-menus.el (cc-imenu-objc-generic-expression): Make
8774 imenu work again for Objective C Mode. Correct the *-index values,
8775 these having been disturbed by a previous change in 2011-08.
57f845ee 8776
0de3da9f
AM
8777 * progmodes/cc-engine.el (c-before-change-check-<>-operators):
8778 Correct two search limits.
8779
35dc09a1 87802012-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
ede141ac
SM
8781
8782 * startup.el (command-line-1): Inhibit splash from daemon (bug#10996).
8783
35dc09a1 87842012-04-14 Andreas Schwab <schwab@linux-m68k.org>
d0203d61
AS
8785
8786 * international/characters.el: Fix sorting.
8787
35dc09a1 87882012-04-14 Eli Zaretskii <eliz@gnu.org>
cb80bcd1
EZ
8789
8790 * international/characters.el: Add more missing Latin case pairs.
8791
35dc09a1 87922012-04-14 Glenn Morris <rgm@gnu.org>
4a427f58
GM
8793
8794 * files.el (dir-locals-set-class-variables): Doc fix.
8795
35dc09a1 87962012-04-14 Eli Zaretskii <eliz@gnu.org>
9f847f41 8797
3f1b5bf8
EZ
8798 * international/characters.el: Add set-case-syntax-pair call for
8799 LATIN CAPITAL LETTER Y WITH DIAERESIS RET and its lower-case
8800 counterpart. (Bug#11209)
8801
9f847f41
EZ
8802 * simple.el (shell-command-on-region): Doc fix. (Bug#11208)
8803
35dc09a1 88042012-04-14 Glenn Morris <rgm@gnu.org>
0c2014a3
GM
8805
8806 * calendar/holidays.el (calendar-check-holidays): Doc fix.
8807
35dc09a1 88082012-04-14 Eli Zaretskii <eliz@gnu.org>
e2627d21 8809
35dc09a1
GM
8810 * textmodes/ispell.el (ispell-dictionary-base-alist):
8811 Add data for Hebrew.
e2627d21 8812
35dc09a1 88132012-04-14 Chong Yidong <cyd@gnu.org>
5c14e333 8814
35dc09a1
GM
8815 * net/rcirc.el (rcirc-cmd-quit):
8816 Revert 2012-03-18 change (Bug#11192).
5c14e333 8817
35dc09a1 88182012-04-14 Glenn Morris <rgm@gnu.org>
bf6fa423
GM
8819
8820 * pcmpl-rpm.el (pcomplete/rpm): Handle -qf.
8821
35dc09a1 88222012-04-14 Eli Zaretskii <eliz@gnu.org>
82b24fb2 8823
4517fe3a
SM
8824 * minibuffer.el (completion-in-region-mode-map):
8825 Bind completion-help-at-point to M-? rather than ?. (Bug#11182)
82b24fb2 8826
b472a594
VD
88272012-04-13 Vivek Dasmohapatra <vivek@etla.org>
8828
8829 * hexl.el (hexl-insert-char): Make display sizes other than 16 work.
8830
09b95ce3
MY
88312012-04-13 Masatake YAMATO <yamato@redhat.com>
8832
8833 * minibuffer.el (minibuffer-local-filename-syntax): New variable
8834 to allow `C-M-f' and `C-M-b' to move to the nearest path
8835 separator (bug#9511).
8836
4b63a9ca
LI
88372012-04-13 Lars Ingebrigtsen <larsi@gnus.org>
8838
8839 * avoid.el: Require cl when compiling. And also move the
8840 `provide' to the end.
8841
7b55b8bf
TV
88422012-04-13 Thierry Volpiatto <thierry.volpiatto@gmail.com>
8843
8844 * avoid.el (mouse-avoidance-banish-position): New variable.
8845 (mouse-avoidance-banish-destination): Use it (bug#10165).
8846
adedaa1f
LL
88472012-04-13 Leo Liu <sdl.web@gmail.com>
8848
8849 * progmodes/which-func.el (which-func-modes): Add objc-mode.
8850
70e74021
KB
88512012-04-13 Ken Brown <kbrown@cornell.edu>
8852
8853 * net/browse-url.el (browse-url-file-url): Remove Cygwin hack;
ab036cd7 8854 this is no longer needed now that cygstart understands file:// URLs.
70e74021
KB
8855 (browse-url-filename-alist): For the same reason, don't modify
8856 file:// URLs on Cygwin.
8857
e75e89ba
SM
88582012-04-13 Stefan Monnier <monnier@iro.umontreal.ca>
8859
8860 * emulation/cua-base.el (cua--pre-command-handler-1): Don't activate
8861 the region on shift if the binding is already shifted (bug#11221).
8862
82f289a4
GM
88632012-04-12 Glenn Morris <rgm@gnu.org>
8864
8865 * mail/mailpost.el: Move to obsolete/.
8866
d333dc4c
DA
88672012-04-12 Drew Adams <drew.adams@oracle.com>
8868
8869 * imenu.el (imenu--generic-function): Ignore invisible definitions
8870 (bug#10123).
8871
0d15b5ba
VD
88722012-04-12 Vivek Dasmohapatra <vivek@etla.org>
8873
8874 * hexl.el (hexl-bits): New variable.
8875 (hexl-options): Mention the variable in the doc string.
75f1671a 8876 (hexl-rulerise, hexl-line-displen): New functions.
0d15b5ba 8877 (hexl-mode): Mention the new variable.
75f1671a
JB
8878 (hexl-mode, hexl-current-address, hexl-current-address):
8879 Use the displen.
0d15b5ba
VD
8880 (hexl-ascii-start-column): New function.
8881 (hexl-address-to-marker, hexl-beginning-of-line, hexl-options)
8882 (hexl-insert-char, hexl-mode-ruler): Use the displen (bug#4941).
8883
64a440db
AM
88842012-04-12 Agustín Martín Domingo <agustin.martin@hispalinux.es>
8885
8886 * textmodes/flyspell.el (flyspell-large-region): For hunspell, use
8887 '("-i" ENCODING), in 2 separate command-line arguments, to specify
8888 the encoding, as expected by hunspell.
8889
6decb6c2
SM
88902012-04-12 Stefan Monnier <monnier@iro.umontreal.ca>
8891
8892 * battery.el (battery--linux-sysfs-regexp): New const.
8893 (battery-status-function): Use it. Remove yeeloong special case.
8894 (battery-yeeloong-sysfs): Remove.
8895 (battery-echo-area-format): Remove yeeloong special case.
8896
088be6fb
SM
88972012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
8898
6622e416
SM
8899 * imenu.el (imenu-add-to-menubar): `current-local-map' can be nil.
8900 Reported by Noah Friedman.
8901
088be6fb
SM
8902 * subr.el (read-passwd): Use read-string.
8903
b49f886e
LMI
89042012-04-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
8905
8906 * vcursor.el (vcursor-move): Increase the priority of the overlay
8907 (bug#9663).
8908
a63067fc
DD
89092012-04-11 Deniz Dogan <deniz.a.m.dogan@gmail.com>
8910
8911 * net/rcirc.el (rcirc-kill-channel-buffers): New variable.
8912 (rcirc-kill-buffer-hook): Use it to kill channel buffers (bug#5128).
8913
ac3cf14a
WS
89142012-04-11 William Stevenson <yhvh2000@gmail.com>
8915
8916 * textmodes/artist.el (artist-mode): Convert artist-mode to use
8917 define-minor-mode (bug#10760).
8918
c4fc691b 89192012-04-11 Wolfgang Jenkner <wjenkner@inode.at> (tiny change)
49a2697c 8920
4d6769e1 8921 * progmodes/grep.el (rgrep): Tweak the find command line so
49a2697c
WJ
8922 that directories matching `grep-find-ignored-files' won't be
8923 pruned (bug#10351).
8924
af23e2e5
CY
89252012-04-11 Chong Yidong <cyd@gnu.org>
8926
8927 * startup.el (command-line): Remove support for long-obsolete
8928 variable font-lock-face-attributes.
8929
ab7ce8c1
GM
89302012-04-11 Glenn Morris <rgm@gnu.org>
8931
8932 * vc/vc-bzr.el (vc-bzr-status): Avoid condition-case-unless-debug.
8933
de8c03dc
SM
89342012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
8935
8936 * window.el (window--state-get-1): Obey window-point-insertion-type.
8937
050cc68b
LB
89382012-04-11 Lennart Borgman <lennart.borgman@gmail.com>
8939
8940 * emacs-lisp/lisp.el (narrow-to-defun): `beginning-of-defun' goes
8941 to previous function when point is on the first character of a
75f1671a 8942 function. Take care of that in `narrow-to-defun' (bug#6157).
050cc68b 8943
a38c310c
GM
89442012-04-11 Glenn Morris <rgm@gnu.org>
8945
effed0c2
GM
8946 * vc/vc-bzr.el (vc-bzr-status): Handle all errors,
8947 not just file-errors.
8948
a38c310c
GM
8949 * vc/vc-bzr.el (vc-bzr-sha1-program, sha1-program): Remove.
8950 (vc-bzr-sha1): Use internal sha1.
8951
0221e323
SM
89522012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
8953
8954 * progmodes/flymake.el (flymake-mode): Beware read-only dirs (bug#8954).
8955
43956923
SG
89562012-04-10 Sébastien Gross <seb@chezwam.org> (tiny change)
8957
8958 * progmodes/hideshow.el (hs-hide-all): Don't infloop on comments
8959 that start in the middle of the line (bug#10496).
8960
6a8c9eaf
DN
89612012-04-10 Dan Nicolaescu <dann@gnu.org>
8962
8963 * battery.el (battery-linux-proc-acpi): Only one battery is
8964 discharged at a time, but that seems to confuse battery.el when
8965 computing `rate-type' for the battery not being discharged
8966 (bug#10332).
8967
1930bf5d
SM
89682012-04-10 Stefan Monnier <monnier@iro.umontreal.ca>
8969
2a718f6f
SM
8970 * emacs-lisp/autoload.el (autoload-make-program): Remove, unused.
8971
599430d0
SM
8972 * international/quail.el: Use dolist and simplify.
8973 (quail-define-package, quail-update-keyboard-layout)
8974 (quail-define-rules): Use dolist.
8975 (quail-insert-kbd-layout, quail-get-translation): CSE.
8976
a2754b6c
SM
8977 * tmm.el: Use dolist, remove left over hook.
8978 (tmm-prompt, tmm-define-keys, tmm-shortcut, tmm-get-keybind):
8979 Use dolist.
8980 (calendar-load-hook): Don't mess with it.
8981
1930bf5d
SM
8982 * vc/vc-annotate.el (vc-annotate-show-diff-revision-at-line-internal):
8983 Use derived-mode-p. Run the diff asynchronously.
8984
9f67961c
LMI
89852012-04-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
8986
8987 * obsolete/mouse-sel.el: Add an Obsolete-since header.
8988
2a8ce227
JB
89892012-04-10 Juanma Barranquero <lekktu@gmail.com>
8990
8991 * misc.el: Display absolute path of loaded DLLs (bug#10424).
8992 (list-dynamic-libraries--loaded): New function.
8993 (list-dynamic-libraries--refresh): Use it.
8994
8f33b5f8
NW
89952012-04-10 Nathan Weizenbaum <nweiz@google.com>
8996
1930bf5d
SM
8997 * progmodes/python.el (python-fill-paragraph):
8998 Make python-fill-region in a multiline string work when font-lock is
8f33b5f8
NW
8999 disabled (bug#7018).
9000
b12f0439
L
90012012-04-10 Laimonas Vėbra <laimonas.vebra@gmail.com> (tiny change)
9002
1930bf5d 9003 * language/european.el (cp775): Add oem/legacy (en)coding on
75f1671a
JB
9004 DOS/MS Windows for the Baltic languages. There are still plenty
9005 of texts written in this encoding/codepage (bug#6519).
b12f0439 9006
57c3bd01
GM
90072012-04-10 Glenn Morris <rgm@gnu.org>
9008
9009 * cus-start.el (eol-mnemonic-unix, eol-mnemonic-dos, eol-mnemonic-mac):
9010 Add :standard values, reducing "rogue" customs in emacs -Q a bit more.
9011
6c3eab30
FA
90122012-04-10 Florian Adamsky <florian@adamsky.it> (tiny change)
9013
1930bf5d 9014 * recentf.el (recentf-dialog-mode-map): Add two keybindings for
6c3eab30
FA
9015 next-line "n" and previous-line "p" in order to make recentf more
9016 consistent with ibuffer, dired or org-mode (bug#9387).
9017
24d78a88
LMI
90182012-04-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
9019
bc72b5d9
LMI
9020 * image.el (put-image): Return the overlay created instead of the
9021 optional input string (bug#7834). Note that this may break code
9022 that is (for some reason or other) depending on `put-image'
9023 returning the string.
9024
bd2dba5a
LMI
9025 * mouse-sel.el (mouse-sel-mode): Mark as obsolete (bug#6174).
9026
74beb59f
LMI
9027 * simple.el (zap-to-char): Allow zapping using input methods
9028 (bug#1580).
9029
24d78a88
LMI
9030 * textmodes/fill.el (fill-region): Leave point and mark where they
9031 were before filling (bug#5399).
9032
263f20cd
GM
90332012-04-09 Glenn Morris <rgm@gnu.org>
9034
9035 * version.el (emacs-bzr-get-version):
9036 Handle lightweight checkouts of local branches.
9037
58d1f797
AS
90382012-04-09 Andreas Schwab <schwab@linux-m68k.org>
9039
263f20cd 9040 * international/characters.el: Recover lost case pairs. (Bug#11209)
58d1f797 9041
b4d3bc10
CY
90422012-04-09 Chong Yidong <cyd@gnu.org>
9043
9044 * custom.el (custom-variable-p): Return nil for non-symbol
9045 arguments instead of signaling an error.
9046 (user-variable-p): Obsolete alias for custom-variable-p.
9047
9048 * apropos.el (apropos-variable):
9049 * files-x.el (read-file-local-variable):
9050 * simple.el (set-variable):
9051 * woman.el (woman-mini-help):
9052 * emacs-lisp/byte-opt.el (side-effect-free-fns): Callers changed.
9053
fd06db5d
GM
90542012-04-09 Glenn Morris <rgm@gnu.org>
9055
e5fcdb5e
GM
9056 * startup.el (normal-top-level): Don't look for leim-list.el
9057 in places where it will not be found. (Bug#910)
9058
fd06db5d
GM
9059 * international/mule-cmds.el (set-default-coding-systems):
9060 * files.el (normal-mode):
9061 Remove guarded calls to ucs-set-table-for-input. (Bug#9821)
9062 This function was removed with ucs-tables.el in 2008.
9063
b39bb7e1
EZ
90642012-04-08 Eli Zaretskii <eliz@gnu.org>
9065
9066 * textmodes/ispell.el (ispell-check-version): For hunspell, set
9067 ispell-encoding8-command to "-i", without a trailing space.
9068 (ispell-start-process): For hunspell, use '("-i" ENCODING), in 2
9069 separate command-line arguments, to specify the encoding, since
9070 that's how hunspell expects it.
9071
5c5b8e23
GM
90722012-04-08 Glenn Morris <rgm@gnu.org>
9073
9074 * loadup.el: Load bindings before cus-start.
9075 This reduces somewhat the number of "rogue" settings in emacs -Q.
9076
a1ed8b05
GM
90772012-04-07 Glenn Morris <rgm@gnu.org>
9078
9079 * version.el (emacs-bzr-get-version): New function.
dfae128a 9080 (emacs-bzr-version): New variable.
a1ed8b05
GM
9081 * loadup.el (emacs-bzr-version): Set it. (Bug#8054)
9082 * mail/emacsbug.el (report-emacs-bug): Include bzr version.
9083
b142f158
EZ
90842012-04-07 Eli Zaretskii <eliz@gnu.org>
9085
dfae128a
GM
9086 * international/uni-bidi.el, international/uni-category.el:
9087 * international/uni-combining.el, international/uni-decimal.el:
9088 * international/uni-decomposition.el, international/uni-digit.el:
9089 * international/uni-lowercase.el, international/uni-mirrored.el:
9090 * international/uni-name.el, international/uni-numeric.el:
9091 * international/uni-titlecase.el, international/uni-uppercase.el:
9092 Update for Unicode 6.1.
b142f158 9093
9078ead6
EZ
90942012-04-07 Eli Zaretskii <eliz@gnu.org>
9095
9096 * term/w32-win.el (dynamic-library-alist): Add libxml2 DLLs.
9097
f23d2c7d
LMI
90982012-04-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
9099
9100 * window.el (shrink-window): Mention the `window-min-height'
9101 variable in the doc string.
9102
0a0a3573
BG
91032012-04-05 Bastien Guerry <bzg@altern.org>
9104
9105 * color.el (color-lighten-name): Fix typo.
9106
e5248ac9
SM
91072012-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
9108
9109 * server.el (server--on-display-p): New function.
9110 (server--on-display-p): Use it.
9111
b4243e22
GV
91122012-04-04 Gabor Vida <vidagabor@gmail.com> (tiny change)
9113
9114 * ido.el (ido-wide-find-dirs-or-files): Use file-name-absolute-p
9115 (bug#11145).
9116
305d9f44
SM
91172012-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
9118
9119 * comint.el (comint--common-quoted-suffix): Check string boundary
9120 before comparing (bug#11158).
9121 * pcomplete.el (pcomplete--common-quoted-suffix): Idem.
9122
3d439cd1
CY
91232012-04-04 Chong Yidong <cyd@gnu.org>
9124
321cc491
CY
9125 * minibuffer.el (completion-extra-properties): Doc fix.
9126
3d439cd1
CY
9127 * subr.el (delayed-warnings-hook): Doc fix.
9128
2d562c0f
DU
91292012-04-04 Daiki Ueno <ueno@unixuser.org>
9130
9131 * epa.el (epa--select-keys): Bind C-c C-c to finish the key
9132 selection (Bug#11159).
9133 (epa-insert-keys): Inform that the default public key will be
9134 exported if no key is selected.
9135
4443f204
RS
91362012-04-04 Richard Stallman <rms@gnu.org>
9137
9138 * mail/emacsbug.el (report-emacs-bug): Bind inhibit-read-only.
9139
529c06b6
CY
91402012-04-03 Chong Yidong <cyd@gnu.org>
9141
9142 * mail/sendmail.el (mail-mode-map): Bind C-c C-i to
9143 mail-insert-file, not its obsolete alias mail-attach-file.
9144
66b907dc
MA
91452012-04-03 Michael Albinus <michael.albinus@gmx.de>
9146
9147 * notifications.el (notifications-notify): Fix docstring.
9148
c0ea195d
GM
91492012-04-02 Glenn Morris <rgm@gnu.org>
9150
9151 * emacs-lisp/authors.el (authors-aliases): Another addition.
9152
5ca64e00
MA
91532012-04-02 Michael Albinus <michael.albinus@gmx.de>
9154
9155 * net/tramp-gvfs.el (tramp-gvfs-send-command): Apply
9156 `tramp-compat-call-process' instead of `tramp-local-call-process'.
9157 Reported by Magnus Henoch <magnus.henoch@gmail.com>.
9158
42ee526b
CY
91592012-04-01 Chong Yidong <cyd@gnu.org>
9160
9161 * files.el (file-in-directory-p): Rename from file-subdir-of-p.
9162 Handle root directory properly.
9163 (copy-directory): Caller changed.
9164
9165 * dired-aux.el (dired-copy-file-recursive, dired-create-files):
9166 * net/tramp.el (tramp-file-name-for-operation): Callers changed.
9167
0b021094
GM
91682012-03-31 Glenn Morris <rgm@gnu.org>
9169
40f86458
GM
9170 * term/xterm.el (xterm-extra-capabilities): Doc fix.
9171
7019c177
GM
9172 * language/indian.el ("Devanagari"): Fix typo. (Bug#11103)
9173
a1daddd6
GM
9174 * calendar/calendar.el (calendar-window-list)
9175 (calendar-hide-window): Restore. (Bug#11140)
9176 (calendar-exit): Use calendar-window-list, calendar-hide-window again.
9177
0b021094
GM
9178 * emacs-lisp/edebug.el (edebug-unwrap-results): Doc fix.
9179
40311efc
TV
91802012-03-30 Thierry Volpiatto <thierry.volpiatto@gmail.com>
9181
9182 * dired-aux.el (dired-copy-file-recursive, dired-create-files):
9183 Check if file is a symlink (Bug#10489).
9184
9185 * files.el (copy-directory): Likewise.
9186
5319014e
CY
91872012-03-30 Chong Yidong <cyd@gnu.org>
9188
9189 * image.el (imagemagick-types-inhibit)
9190 (imagemagick-register-types): Doc fix.
9191
935d1290
AM
91922012-03-30 Agustín Martín Domingo <agustin.martin@hispalinux.es>
9193
090bd7cb 9194 * textmodes/ispell.el (ispell-get-extended-character-mode):
ef24141c 9195 Disable extended-char-mode for hunspell. hunspell does not support it
75f1671a 9196 and treats ~word as ordinary words in pipe mode.
935d1290 9197
61c6e8fd
GM
91982012-03-30 Glenn Morris <rgm@gnu.org>
9199
9200 * tutorial.el (help-with-tutorial): Ensure local variables don't
9201 happen to make the buffer read-only. (Bug#11127)
9202
81fdff00
SM
92032012-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
9204
9205 * progmodes/perl-mode.el (perl-indent-line): Use `noindent' in strings.
9206 (perl-calculate-indent): Return `noindent' in strings.
9207
6e7a6ec0
SS
92082012-03-28 Sam Steingold <sds@gnu.org>
9209
9210 * calendar/calendar.el (calendar-exit): Use `quit-windows-on'
9211 instead of the broken adhockery which does not prevent calendar
9212 buffers from being displayed at random after exit.
9213 (calendar-window-list, calendar-hide-window): Remove the broken
9214 adhockery.
9215
fee88ca0
GM
92162012-03-28 Glenn Morris <rgm@gnu.org>
9217
9218 * replace.el (query-replace-map): Doc fix.
9219
38de3354
AS
92202012-03-28 Andreas Schwab <schwab@linux-m68k.org>
9221
9222 * vc/vc-git.el (vc-git-state): Don't try to match all of the diff
9223 contents. (Bug#11109)
9224
b973155e
SM
92252012-03-27 Stefan Monnier <monnier@iro.umontreal.ca>
9226
9227 * emacs-lisp/avl-tree.el (avl-tree--enter-balance): Fix paren typo
9228 (bug#11077).
9229 (avl-tree--check, avl-tree--check-node): New funs.
9230
dcb6e7b3
MR
92312012-03-27 Martin Rudalics <rudalics@gmx.at>
9232
9233 * window.el (switch-to-visible-buffer): New option.
b973155e
SM
9234 (switch-to-prev-buffer, switch-to-next-buffer):
9235 Observe switch-to-visible-buffer. Make sure that checking for a window
dcb6e7b3
MR
9236 showing a buffer already is done on the same frame.
9237
b4fa35fa
GM
92382012-03-27 Glenn Morris <rgm@gnu.org>
9239
9240 * startup.el (mail-host-address): Doc fix.
9241
f9210e18
SM
92422012-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
9243
9244 * emacs-lisp/bytecomp.el (byte-compile-constants-vector): Allow more
9245 than 197 variables.
9246
c0bf7753
AF
92472012-03-26 Ami Fischman <ami@fischman.org>
9248
9249 * vc/vc-git.el (vc-git-state): Avoid unnecessarily locking.
9250
33da7b16
GM
92512012-03-26 Glenn Morris <rgm@gnu.org>
9252
02243d9d
GM
9253 * files.el (save-buffers-kill-emacs): Doc fix.
9254
33da7b16
GM
9255 * startup.el (normal-top-level, command-line, command-line-1):
9256 Give them doc strings.
9257
e5a69fd0
EZ
92582012-03-25 Eli Zaretskii <eliz@gnu.org>
9259
9260 * makefile.w32-in (install): Use $(DIRNAME)_same-dir.tst instead
b973155e 9261 of same-dir.tst, to avoid stepping on other (parallel) Make job's toes.
e5a69fd0 9262
9a69676a
CY
92632012-03-25 Chong Yidong <cyd@gnu.org>
9264
4125cb8b
CY
9265 * custom.el (load-theme): Even if NO-ENABLE arg is t, reenable the
9266 theme if it was previously enabled before (Bug#11031).
9267
dd470960
CY
9268 * cus-theme.el (custom-theme-write-faces): Retrieve current face
9269 spec with custom-face-get-current-spec if its :shown-value is not
9270 determined yet (Bug#9337).
4125cb8b 9271 (customize-create-theme, custom-theme-revert): Doc fixes.
dd470960 9272
9a69676a
CY
9273 * button.el (button-at): Minor addition to docstring.
9274
6e7e90fa
SL
92752012-03-24 Simon Leinen <simon.leinen@gmail.com>
9276
9277 * vc/vc.el (vc-merge): Fix a prompt.
9278
f06e2758
CY
92792012-03-24 Chong Yidong <cyd@gnu.org>
9280
9281 * mwheel.el (mwheel-scroll): Call deactivate-mark at the right
9282 point (Bug#9623).
9283
6e7e90fa
SL
9284 * button.el (button-at): Minor addition to docstring.
9285
b9d0879b
SM
92862012-03-23 Stefan Monnier <monnier@iro.umontreal.ca>
9287
9288 * newcomment.el (comment-choose-indent): No space after BOL.
9289
e71cebb3
SS
92902012-03-22 Sam Steingold <sds@gnu.org>
9291
9292 * window.el (switch-to-prev-buffer): Revert last patch because the
9293 bug turned out to be an advertised feature (Elisp manual 28.14).
9294
335aff35
GM
92952012-03-22 Glenn Morris <rgm@gnu.org>
9296
9297 * vc/vc-bzr.el (vc-bzr-status-switches): New option. (Bug#6724)
9298 (vc-bzr-command): If running "status", pass vc-bzr-status-switches.
9299
c676576a
LMI
93002012-03-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
9301
9302 * net/network-stream.el (network-stream-open-starttls): Make error
9303 message under Windows be less misleading.
9304
126f3d39
LW
93052012-03-22 Liang Wang <netcasper@gmail.com> (tiny change)
9306
9307 * progmodes/etags.el (etags-list-tags): Only use tags which goto-func
9308 understands (bug#9942).
9309
64fee311
CY
93102012-03-22 Chong Yidong <cyd@gnu.org>
9311
9312 * simple.el (end-of-visible-line): Handle return value of
9313 next-single-property-change properly (Bug#9371).
9314
a640d29a
KH
93152012-03-22 Kenichi Handa <handa@m17n.org>
9316
9317 * international/quail.el (quail-insert-kbd-layout): Fix previous
9318 change. To avoid unwanted bidi reordering, use
9319 bidi-string-mark-left-to-right instead of inserting LRO and PDF.
9320
39675016
DG
93212012-03-21 Dmitry Gutov <dgutov@yandex.ru>
9322
9323 * progmodes/ruby-mode.el: Don't confuse "end:" for "end" (bug#10786).
9324 (ruby-block-end-re, ruby-delimiter, ruby-parse-partial)
9325 (ruby-beginning-of-indent): Be more careful with the difference
9326 between word-boundary and symbol boundary.
9327 (ruby-mode-syntax-table): Make : a symbol constituent.
9328
0a6934fc 93292012-03-21 Andreas Politz <politza@fh-trier.de>
1acad97c 9330
3d008e4f
SM
9331 * outline.el (outline-flag-region): Evaporate overlays (bug#10789).
9332
0a6934fc
SM
93332012-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
9334
af67c9d7
SM
9335 * progmodes/etags.el (tags-completion-at-point-function):
9336 Improve last fix.
9337
1acad97c
SM
9338 * files.el (move-file-to-trash): Files aren't regexps (bug#11055).
9339
e298b5da
SS
93402012-03-21 Sam Steingold <sds@gnu.org>
9341
9342 * progmodes/etags.el (tags-completion-at-point-function):
9343 Avoid the error when point is inside the pattern.
9344
91d82a70
JY
93452012-03-21 John Yates <john@yates-sheets.org> (tiny change)
9346
9347 * progmodes/hideshow.el (hs-inside-comment-p): Fix hiding of first
9348 line (Bug#10855).
9349
69188b79
CY
93502012-03-21 Drew Adams <drew.adams@oracle.com>
9351
9352 * info.el (Info-menu): Handle string value of FORK arg (Bug#10858).
9353
99fc91fe
AK
93542012-03-21 Anmol Khirbat <anmol@khirbat.net> (tiny change)
9355
9356 * ido.el (ido-set-current-directory, ido-read-internal)
9357 (ido-choose-completion-string, ido-completion-help): Handle nil
9358 value of ido-completion-buffer (Bug#11008).
9359
087bbb4c
SS
93602012-03-21 Sam Steingold <sds@gnu.org>
9361
9362 * window.el (switch-to-prev-buffer): Do not switch to a visible
9363 window previous buffer, just like with the frame previous buffers.
9364
fb5b8aca
CY
93652012-03-21 Chong Yidong <cyd@gnu.org>
9366
9367 * faces.el (make-face, make-empty-face, copy-face):
9368 * face-remap.el (face-remap-add-relative, face-remap-set-base):
9369 Doc fixes.
9370
dc9924b8
SM
93712012-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
9372
9373 * wid-edit.el (widget-complete-field): Remove (bug#11051).
9374 (widget-complete): Remove broken use of it.
9375
f0bcceb9
CY
93762012-03-20 Chong Yidong <cyd@gnu.org>
9377
dc9924b8
SM
9378 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
9379 Use string-width and truncate-string-width to handle arbitrary
f0bcceb9
CY
9380 characters.
9381
ee52ebf3
TH
93822012-03-20 Tassilo Horn <tassilo@member.fsf.org>
9383
9384 * textmodes/artist.el (artist-menu-map): Bind Rectangle menu item
9385 to draw rectangles, not squares. (Regression introduced by revno
9386 2011-03-02T03:48:01Z!cyd@stupidchicken.com)
9387
4c5779ab
CY
93882012-03-18 Chong Yidong <cyd@gnu.org>
9389
9390 * faces.el (face-spec-reset-face): Don't call display-graphic-p if
9391 it is not yet defined (for temacs).
9392
15360934
LL
93932012-03-18 Leo Liu <sdl.web@gmail.com>
9394
735135f9
PE
9395 * net/rcirc.el (rcirc-cmd-quit): Allow quitting all servers with
9396 prefix.
15360934 9397
d9a8eb66
EZ
93982012-03-17 Eli Zaretskii <eliz@gnu.org>
9399
9400 * textmodes/ispell.el (ispell-skip-tib, ispell-keep-choices-win)
9401 (ispell-choices-win-default-height, ispell-silently-savep)
9402 (ispell-dictionary-alist, ispell-encoding8-command)
9403 (ispell-check-version, ispell-aspell-find-dictionary)
9404 (ispell-valid-dictionary-list, ispell-words-keyword)
9405 (ispell-get-word, ispell-internal-change-dictionary)
9406 (ispell-region, ispell-skip-region-list)
9407 (ispell-begin-skip-region-regexp, ispell-ignore-fcc)
9408 (ispell-process-line, ispell-minor-mode, ispell-minor-check)
9409 (ispell-message-text-end, ispell-message)
9410 (ispell-buffer-local-parsing): Doc fix.
9411
f02ff80d
J
94122012-03-13 Jambunathan K <kjambunathan@gmail.com>
9413
9414 * htmlfontify.el: Add support for code block fontification for ODT
9415 export (Bug #9914).
9416 (hfy-optimisations): Define new option
9417 `body-text-only'
9418 (hfy-fontify-buffer): Honor above setting.
9419 (hfy-begin-span, hfy-end-span): New routines factored out form
9420 `hfy-fontify-buffer'.
9421 (hfy-begin-span-handler, hfy-end-span-handler): New variables
9422 that permit insertion of custom tags.
9423 (hfy-fontify-buffer): Use above handlers.
9424 (hfy-face-to-css-default): Same as the earlier `hfy-face-to-css'.
9425 (hfy-face-to-css): Re-defined to be a variable.
dc9924b8 9426 (hfy-compile-stylesheet): Modify. Allow stylesheet to be built
75f1671a 9427 over multiple runs. This is made possible by having the caller let
f02ff80d
J
9428 bind a special variable `hfy-user-sheet-assoc'.
9429 (htmlfontify-string): New defun.
9430 (hfy-compile-face-map): Make sure that the last char in the
9431 buffer is correctly fontified.
9432 (hfy-face-resolve-face): Whitespace only change.
9433
9ac7a13f
EZ
94342012-03-17 Eli Zaretskii <eliz@gnu.org>
9435
9436 * textmodes/ispell.el (ispell-get-decoded-string): Make the error
9437 message more clear.
9438
e2b5bdd7
LL
94392012-03-16 Leo Liu <sdl.web@gmail.com>
9440
9441 * emacs-lisp/copyright.el (copyright-year-ranges): Fix typo.
9442
2e492df3
AM
94432012-03-16 Alan Mackenzie <acm@muc.de>
9444
9445 Further optimise the handling of large macros.
9446
9447 * progmodes/cc-engine.el (c-crosses-statement-barrier-p): Use a
9448 limit to a call of `c-literal-limits'.
9449 (c-determine-+ve-limit): New function.
dc9924b8
SM
9450 (c-at-macro-vsemi-p): Move `c-in-literal' to the bottom of an `and'.
9451 (c-guess-basic-syntax): In macros, restrict a search limit to 2000.
2e492df3
AM
9452 In CASE 5B, restrict a search limit to 500.
9453 (c-just-after-func-arglist-p): Obviouly wrong `or' -> `and'.
9454
9455 * progmodes/cc-mode.el (c-neutralize-syntax-in-and-mark-CPP):
9456 Restrict macro bounds to +-500 from after-change's BEG END.
9457
50e94f0c
LL
94582012-03-16 Leo Liu <sdl.web@gmail.com>
9459
9460 * font-lock.el (lisp-font-lock-keywords-2): Add letrec.
9461
6f09f6ed
AH
94622012-03-16 Aaron S. Hawley <Aaron.S.Hawley@gmail.com>
9463
9464 * tar-mode.el (tar-mode): Fix saving by conditionally undoing
dc9924b8 9465 `special-mode' setting of `buffer-read-only'. (Bug#11010)
6f09f6ed 9466
c7e73d51
GM
94672012-03-16 Glenn Morris <rgm@gnu.org>
9468
da986230
GM
9469 * view.el (view-buffer, view-buffer-other-window)
9470 (view-buffer-other-frame): Doc fixes re special mode-class.
9471
0835f01e
GM
9472 * subr.el (eval-after-load): If named feature is provided not from
9473 a file, run after-load forms. (Bug#10946)
9474
c7e73d51
GM
9475 * calendar/calendar.el (calendar-insert-at-column):
9476 Handle non-unit-width characters a bit better. (Bug#10978)
9477
3f2eafd1
CY
94782012-03-15 Chong Yidong <cyd@gnu.org>
9479
9480 * emacs-lisp/ring.el (ring-extend): New function.
9481 (ring-insert+extend): Extend the ring correctly (Bug#11019).
9482
9483 * comint.el (comint-read-input-ring)
9484 (comint-add-to-input-history): Grow comint-input-ring lazily.
9485
103af3fe
SM
94862012-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
9487
663b1677
SM
9488 * progmodes/perl-mode.el (perl-syntax-propertize-special-constructs):
9489 Fix up parsing of multiline twoarg non-paired elements (bug#11014).
9490
103af3fe
SM
9491 * imenu.el: Fix multiple inheritance breakage (bug#9199).
9492 (imenu-add-to-menubar): Don't add a redundant index.
9493 (imenu-update-menubar): Handle a dynamically composed keymap.
9494
899cb7cb
KY
94952012-03-13 Katsumi Yamaoka <yamaoka@jpl.org>
9496
9497 * mail/sendmail.el (mail-encode-header):
9498 Bind rfc2047-encode-encoded-words to nil.
9499
3809f91d
GM
95002012-03-13 Glenn Morris <rgm@gnu.org>
9501
9502 * calendar/calendar.el (calendar-string-spread):
9503 Handle non-unit-width characters a bit better. (Bug#10978)
9504
9e345a01
LL
95052012-03-13 Leo Liu <sdl.web@gmail.com>
9506
9507 * vc/vc-hg.el (vc-hg-working-revision): Rework to work with both
9508 directory and file as argument (Bug#10822).
9509
4a07df36
KS
95102012-03-13 Kaushik Srenevasan <ksrenevasan@gmail.com> (tiny change)
9511
9512 * progmodes/gdb-mi.el (gdb-invalidate-disassembly):
9513 For dynamically generated code, follow $PC.
9514 (gdb-disassembly-handler-custom): Handle no function name case.
9515
4aaa9356
TL
95162012-03-13 Tim Landscheidt <tim@tim-landscheidt.de> (tiny change)
9517
9518 * calendar/icalendar.el (icalendar-export-file, icalendar-import-file):
9519 * emulation/ws-mode.el (ws-query-replace):
9520 * sort.el (sort-regexp-fields):
9521 Fix missing trailing whitespace in interactive prompts. (Bug#11002)
9522
225979da
SM
95232012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
9524
9525 * dabbrev.el: Fix cycle completion order (bug#10963).
9526 (dabbrev--last-obarray, dabbrev--last-completion-buffer): Remove.
9527 (dabbrev-completion): Don't use an obarray; provide
9528 a cycle-sort-function.
9529
e2f1fdab
LL
95302012-03-12 Leo Liu <sdl.web@gmail.com>
9531
dc9924b8 9532 * simple.el (kill-new): Use equal-including-properties for comparison.
e2f1fdab
LL
9533 (kill-do-not-save-duplicates): Doc fix.
9534
b19490ed
SM
95352012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
9536
9537 * dabbrev.el: Fix cycle completion (bug#10963).
9538 Use lexical binding and wrap to 80 columns.
9539 (dabbrev-completion): Delay computing the list of completions.
9540
4b05d722
KH
95412012-03-12 Kenichi Handa <handa@m17n.org>
9542
9543 * international/quail.el (quail-insert-kbd-layout): Surround each
9544 row by LRO and PDF instead of inserting many LRMs. Pad the left
9545 and right of each non-spacing marks. Insert invisible space
9546 between lower and upper characters to prevent composition.
9547
dbbc2e69
SM
95482012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
9549
9550 * minibuffer.el (minibuffer-complete): Don't get confused when the
9551 function is run twice via different commands (bug#10958).
9552 (complete-with-action): Fix docstring.
9553
292112ed
CY
95542012-03-12 Chong Yidong <cyd@gnu.org>
9555
5d1ac394
CY
9556 * nxml/nxml-mode.el (nxml-mode-map): Do not bind C-RET (Bug#6776).
9557 (nxml-completion-at-point-function): New function.
9558 (nxml-mode): Use it.
9559 (nxml-bind-meta-tab-to-complete-flag): Default to t.
9560
292112ed
CY
9561 * emacs-lisp/package.el (package-unpack, package-unpack-single):
9562 Load generated autoloads file before byte compiling (Bug#10970).
9563 (package--make-autoloads-and-compile): New helper fun.
9564
4098f8f7
CS
95652012-03-12 Christopher Schmidt <christopher@ch.ristopher.com>
9566
9567 * ibuffer.el (ibuffer-redisplay): Remove another gratuitous error.
9568
8f754691
MA
95692012-03-11 Michael Albinus <michael.albinus@gmx.de>
9570
9571 * autorevert.el (auto-revert-handler): Ensure, that
9572 file-readable-p is applied only for local files or in
9573 auto-revert-tail-mode.
9574
e29ab36b
AS
95752012-03-11 Andreas Schwab <schwab@linux-m68k.org>
9576
dbbc2e69
SM
9577 * server.el (server-eval-at): Handle non-tcp connections.
9578 Decode result string.
ad0bf5b6 9579
e29ab36b
AS
9580 * server.el (server-msg-size): New constant.
9581 (server-reply-print): New function.
9582 (server-eval-and-print): Use it.
9583 (server-eval-at): Use server-quote-arg and server-unquote-arg.
9584 Handle -print-nonl.
9585
de5939ba
CS
95862012-03-11 Christopher Schmidt <christopher@ch.ristopher.com>
9587
9588 * ibuffer.el (ibuffer-redisplay): Remove gratuitous error
9589 (Bug#10987).
9590
0c93eabf
CY
95912012-03-11 Chong Yidong <cyd@gnu.org>
9592
397a688f
CY
9593 * simple.el (goto-line): Doc fix (Bug#9938).
9594
2cc775f9
CY
9595 * subr.el (save-window-excursion): Doc fix (Bug#9979).
9596
0c93eabf
CY
9597 * dabbrev.el (dabbrev--find-expansion): Update progress reporter
9598 when finished (Bug#10963).
9599
c491fa41
MR
96002012-03-11 Martin Rudalics <rudalics@gmx.at>
9601
9602 * window.el (split-window-below): Fix bug in case where
9603 split-window-keep-point is nil (Bug#10971).
9604
300e8fa5
JL
96052012-03-11 Juri Linkov <juri@jurta.org>
9606
9607 * replace.el (replace-highlight): Set isearch-word to nil
9608 unconditionally. (Bug#10887)
9609
dbf6c5a1
EZ
96102012-03-10 Eli Zaretskii <eliz@gnu.org>
9611
9612 * net/mairix.el (mairix-replace-invalid-chars): Rename from
9613 mairix-replace-illegal-chars; all callers changed. Don't remove
dc9924b8 9614 ^, ~, and = characters: they are meaningful in mairix search specs.
dbf6c5a1
EZ
9615 (mairix-widget-create-query): Add usage information about mairix
9616 search forms: negating words, searching for substrings, etc.
9617
b9e501de
JP
96182012-03-10 Jae-hyeon Park <jae-hyeon.park@desy.de> (tiny change)
9619
9620 * international/fontset.el (font-encoding-alist): Add an entry for
9621 ksx1001 (Bug#5667).
9622
92795c91
RS
96232012-03-10 Richard Stallman <rms@gnu.org>
9624
1694e6c1
RS
9625 * mail/sendmail.el (mail-encode-header):
9626 Set rfc2047-encode-encoded-words.
9627
607e8555
RS
9628 * mail/mail-utils.el (mail-quote-printable): Quote multibyte chars.
9629
de3bc99a
RS
9630 * mail/rmail.el (rmail-buffers-swapped-p): Don't assume dead
9631 view buffer means not swapped.
9632 (rmail-view-buffer-kill-buffer-hook): Give buf name in error msg.
9633 (rmail-write-region-annotate): Error if real text has disappeared.
9634
92795c91
RS
9635 * epa-mail.el (epa-mail-encrypt): Bind inhibit-read-only.
9636
699bd04e
CY
96372012-03-10 Chong Yidong <cyd@gnu.org>
9638
9639 * emulation/cua-rect.el (cua--init-rectangles):
dbbc2e69
SM
9640 * emulation/cua-base.el (cua--init-keymaps):
9641 Add delete-forward-char to remappings (Bug#9666).
699bd04e 9642
570a1714
MR
96432012-03-10 Martin Rudalics <rudalics@gmx.at>
9644
dbbc2e69
SM
9645 * speedbar.el (speedbar-unhighlight-one-tag-line):
9646 Avoid unhighlighting due to frame switching (Bug#10275).
570a1714 9647
82dcf4e4
CY
96482012-03-10 Chong Yidong <cyd@gnu.org>
9649
7a2c7ca7
CY
9650 * minibuffer.el (completion-in-region, completion-help-at-point):
9651 Give the completion field overlay a high priority (Bug#6830).
9652
82dcf4e4
CY
9653 * dired.el (dired-goto-file): Recognize absolute file name
9654 listings (Bug#7126).
9655 (dired-goto-file-1): New helper function.
9656 (dired-toggle-read-only): Inhibit warnings.
9657
052e28ac
MA
96582012-03-09 Michael Albinus <michael.albinus@gmx.de>
9659
75f1671a 9660 * net/dbus.el (dbus-property-handler): Return empty array if
052e28ac
MA
9661 there are no properties.
9662
95d5e396
LL
96632012-03-09 Leo Liu <sdl.web@gmail.com>
9664
9665 * savehist.el (savehist-printable): Stricter check for string
9666 value (Bug#10937).
9667
3f018d6d
EZ
96682012-03-09 Eli Zaretskii <eliz@gnu.org>
9669
dbbc2e69
SM
9670 * mail/smtpmail.el (smtpmail-send-it):
9671 Bind coding-system-for-write to *-unix, so that FCC files are kept in
3f018d6d
EZ
9672 valid mbox format.
9673
f7fd3d79
GM
96742012-03-09 Glenn Morris <rgm@gnu.org>
9675
9676 * files.el (dir-locals-find-file):
9677 Don't check result is regular, readable.
9678 (dir-locals-read-from-file): Demote errors.
9679
6ff6e72f
EZ
96802012-03-08 Eli Zaretskii <eliz@gnu.org>
9681
dbbc2e69
SM
9682 * international/quail.el (quail-insert-kbd-layout):
9683 Insert invisible LRM characters before each character in a keyboard
6ff6e72f
EZ
9684 layout cell, to prevent their reordering by bidi display engine.
9685 For details, see the discussion in
9686 http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00085.html.
9687
9cec7834
AM
96882012-03-08 Alan Mackenzie <acm@muc.de>
9689
9690 * progmodes/cc-cmds.el (c-mark-function): Make it leave a mark at
9691 the starting position; make it extend the marked region when
9692 invoked repeatedly - all under appropriate circumstances.
9693 Fixes bugs #5525, #10906.
9694
9a40b8d4
GM
96952012-03-08 Glenn Morris <rgm@gnu.org>
9696
9697 * files.el (locate-dominating-file, dir-locals-find-file):
9698 Undo 2012-03-06 change.
9699
7a08ed35
EZ
97002012-03-07 Eli Zaretskii <eliz@gnu.org>
9701
dbbc2e69
SM
9702 * international/quail.el (quail-help):
9703 Force bidi-paragraph-direction be left-to-right. See discussion in
7a08ed35
EZ
9704 http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00062.html
9705 for the reason.
9706
5aca4f71 97072012-03-07 Michael Albinus <michael.albinus@gmx.de>
6612a284
MA
9708
9709 Avoid superfluous registering of signals. (Bug#10807)
9710
9711 * notifications.el (notifications-on-action-object)
9712 (notifications-on-close-object): New defvars.
9713 (notifications-on-action-signal, notifications-on-closed-signal):
9714 Unregister the signal if not needed any longer.
9715 (notifications-notify): Register `notifications-action-signal' or
9716 `notifications-closed-signal', if :on-action or :on-close has been
9717 passed as argument.
9718
78e8b10a
CY
97192012-03-07 Chong Yidong <cyd@gnu.org>
9720
9721 * cus-start.el: Avoid x-select-enable-clipboard-manager warning on
9722 non-X platforms.
9723
69481eb8
GM
97242012-03-06 Glenn Morris <rgm@gnu.org>
9725
9726 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
9727 (x-disown-selection-internal, x-get-selection-internal):
9728 Doc fix (add arglist signatures). (Bug#10783)
9729
133b8e11
KS
97302012-03-06 Kaushik Srenevasan <ksrenevasan@gmail.com> (tiny change)
9731
9732 * progmodes/gdb-mi.el (gdb-breakpoints-list-handler-custom):
9733 Handle breakpoints with no "type".
9734
99a83064
GM
97352012-03-06 Glenn Morris <rgm@gnu.org>
9736
9737 * files.el (locate-dominating-file): Add optional predicate argument.
9738 (dir-locals-find-file): Make use of above change.
9739
17798e78
TTN
97402012-03-06 Thien-Thi Nguyen <ttn@gnuvola.org>
9741
9742 * info.el (Info-insert-dir): Also try "dir.gz".
9743
eb182446
GM
97442012-03-06 Glenn Morris <rgm@gnu.org>
9745
8f2114ee
GM
9746 * files.el (dir-locals-find-file):
9747 Ignore non-readable or non-regular files. (Bug#10928)
9748
eb182446
GM
9749 * files.el (locate-dominating-file): Doc fix.
9750
24679323
AS
97512012-03-06 Adam Spiers <emacs@adamspiers.org> (tiny change)
9752
9753 * calendar/calendar.el (calendar-set-mode-line):
9754 `getenv' returns a string. (Bug#10951)
9755
01d972a9
LL
97562012-03-05 Leo Liu <sdl.web@gmail.com>
9757
109aa8a9
LL
9758 * simple.el (backward-delete-char-untabify): Constrain point to
9759 field (Bug#10939).
9760
01d972a9
LL
9761 * eshell/em-cmpl.el (eshell-cmpl-initialize): Fix shift-tab key.
9762
10607bea
CY
97632012-03-05 Chong Yidong <cyd@gnu.org>
9764
9765 * simple.el (count-words): If called from Lisp, return the word
9766 count, for symmetry with `count-lines'. Arglist changed.
9767 (count-words--message): Args changed. Consolidate counting code
9768 from count-words and count-words-region.
9769 (count-words-region): Caller changed.
9770 (count-lines-region): Make it an obsolete alias.
9771
5dd11cfe
TH
97722012-03-04 Tassilo Horn <tassilo@member.fsf.org>
9773
9774 * saveplace.el (save-place-to-alist)
9775 (save-place-ignore-files-regexp): Allow value nil to disable this
9776 feature.
9777
c349f4e6
CY
97782012-03-04 Chong Yidong <cyd@gnu.org>
9779
9780 * faces.el (face-spec-reset-face): For the default face, reset the
9781 attributes to default values (Bug#10748).
9782
e627be4c
LMI
97832012-03-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
9784
9785 * mail/emacsbug.el (report-emacs-bug-hook): Fix up thinko in
9786 previous patch: Check `message-send-mail-function', and not the
9787 default function (bug#10897).
9788
ebeabff4
MA
97892012-03-04 Michael Albinus <michael.albinus@gmx.de>
9790
a41a6cf4
MA
9791 * notifications.el (notifications-on-action-signal)
9792 (notifications-on-closed-signal): Check for unique service name of
9793 incoming event. Fix error in removing entry.
ebeabff4 9794 (top): Register for signals with wildcard service name.
a41a6cf4 9795 (notifications-notify): Use daemon unique service name for map entries.
ebeabff4 9796
c1ca42b4
CY
97972012-03-04 Chong Yidong <cyd@gnu.org>
9798
dc9924b8 9799 * cus-start.el: Make x-select-enable-clipboard-manager customizable.
c1ca42b4 9800
ea16568d
GM
98012012-03-04 Glenn Morris <rgm@gnu.org>
9802
9803 * abbrev.el (copy-abbrev-table, abbrev-table-p)
9804 (abbrev-minor-mode-table-alist, define-abbrev, abbrev-insert)
9805 (expand-abbrev, define-abbrev-table): Doc fixes.
9806
fbae4637
LMI
98072012-03-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
9808
9809 * mail/emacsbug.el (report-emacs-bug-hook): Look at the value of
9810 `message-default-send-mail-function' and not `send-mail-function'
9811 when doing the prompting for `sendmail-query-once' before sending
9812 in Message buffers (bug#10897).
9813
a1e7225c
LMI
9814 * net/tls.el (open-tls-stream): Don't set the dont-query-on-exit flag.
9815 This is inconsistent with all the other stream functions, which leave
9816 the setting up to the higher levels (if so wanted) (bug#10931).
9817
56d093a9
AM
98182012-03-02 Alan Mackenzie <acm@muc.de>
9819
9820 Depessimize the handling of very large macros.
9821
9822 * progmodes/cc-engine.el (c-macro-cache, c-macro-cache-start-pos):
9823 (c-macro-cache-syntactic): New variables to implement a one
9824 element macro cache.
9825 (c-invalidate-macro-cache): New function.
9826 (c-beginning-of-macro, c-end-of-macro, c-syntactic-end-of-macro):
9827 Adapt to use the new cache.
9828 (c-state-safe-place): Use better the cache of safe positions.
9829 (c-state-semi-nonlit-pos-cache)
9830 (c-state-semi-nonlit-pos-cache-limit):
9831 New variables for...
9832 (c-state-semi-safe-place): New function. Here, in a macro is "safe".
9833 (c-invalidate-state-cache-1): New stuff for c-state-semi-safe-place.
dbbc2e69
SM
9834 (c-in-literal, c-literal-limits, c-determine-limit-get-base):
9835 Use c-state-semi-safe-place.
56d093a9 9836
dbbc2e69
SM
9837 * progmodes/cc-langs.el (c-get-state-before-change-functions):
9838 Add c-invalidate-macro-cache to the C, C++, Obj entries.
56d093a9 9839
817e5c3d
MA
98402012-03-02 Michael Albinus <michael.albinus@gmx.de>
9841
dbbc2e69
SM
9842 * jka-compr.el (jka-compr-call-process):
9843 Apply `file-accessible-directory-p' only when the default directory is
817e5c3d
MA
9844 not remote.
9845
a032a702
MA
98462012-03-01 Michael Albinus <michael.albinus@gmx.de>
9847
9848 * files.el (file-equal-p): Fix docstring. Avoid unnecessary
9849 access of FILE2, if FILE1 does not exist.
9850
99a54f21
MA
9851 * net/tramp-sh.el (tramp-remote-process-environment): Add "PAGER=\"\"".
9852 Reported by Robert Lupton the Good <rhl@astro.princeton.edu>.
9853
9854 * vc/vc-git.el (vc-git--call): Enable `inhibit-null-byte-detection'.
9855 Add "PAGER=" to `process-environment'.
9856
f6561e1f
MM
98572012-03-01 Michael R. Mauger <mmaug@yahoo.com>
9858
9859 * progmodes/sql.el: Bug fix
9860 (sql-get-login-ext): Save login values in globals.
9861 (sql-get-login): Use new version of `sql-get-login-ext'.
9862 (sql-interactive-mode): Set global `sql-connection' to nil.
9863 (sql-connect): Set global values for connection.
9864 (sql-product-interactive): Save global values as buffer local.
9865
2d44d9cc
LL
98662012-02-29 Leo Liu <sdl.web@gmail.com>
9867
9868 * abbrev.el (define-abbrevs): Reset sys to nil.
9869
96b49301 98702012-02-28 Thierry Volpiatto <thierry.volpiatto@gmail.com>
9871
bf7f9bc5
JB
9872 * files.el (file-equal-p): Rename from `files-equal-p'.
9873 Return nil when one or both files don't exist.
96b49301 9874 (file-subdir-of-p): Now only top directory must exists,
9875 return nil if it doesn't.
bf7f9bc5
JB
9876 (copy-directory): No need to test with `file-subdir-of-p' after
9877 creating dir.
9878 * net/tramp.el (tramp-file-name-for-operation): Rename `files-equal-p'
9879 to `file-equal-p'.
96b49301 9880
44e97401
GM
98812012-02-28 Glenn Morris <rgm@gnu.org>
9882
9883 * shell.el (shell-mode):
9884 * progmodes/vhdl-mode.el (wildcard-to-regexp, file-expand-wildcards):
9885 * play/landmark.el (landmark-font-lock-face-O):
9886 * play/handwrite.el (handwrite):
9887 * play/gomoku.el (gomoku-O):
9888 * net/browse-url.el (browse-url-browser-display):
9889 * international/mule.el (define-charset):
9890 * htmlfontify.el (hfy-etags-cmd, hfy-face-attr-for-class):
9891 * filesets.el (filesets-find-file-delay):
9892 * eshell/em-xtra.el (eshell-xtra):
9893 * eshell/em-unix.el (eshell-grep):
9894 * emulation/viper.el (viper-mode):
9895 * emacs-lisp/regexp-opt.el (regexp-opt-group):
9896 * emacs-lisp/easymenu.el (easy-menu-define):
9897 * calendar/timeclock.el (timeclock-use-display-time):
9898 * bs.el (bs-mode):
9899 * bookmark.el (bookmark-save-flag):
9900 Doc fix (standardize possessive apostrophe usage).
9901
c98c6276
CY
99022012-02-27 Chong Yidong <cyd@gnu.org>
9903
bf7f9bc5
JB
9904 * emulation/viper-cmd.el (viper-intercept-ESC-key):
9905 Fix key-binding lookup for ESC key (Bug#9146).
ecf5f74e 9906
c98c6276
CY
9907 * font-lock.el (font-lock-specified-p): Rename from
9908 font-lock-spec-present. Callers changed.
9909
9c62cd04 99102012-02-27 Daniel Hackney <dan@haxney.org>
8ac9e529 9911
bf7f9bc5
JB
9912 * emacs-lisp/package.el (package-compute-transaction):
9913 Handle holding a package version to t in package-load-list.
8ac9e529 9914
530739c9
MA
99152012-02-26 Michael Albinus <michael.albinus@gmx.de>
9916
9917 * net/tramp.el (tramp-inodes, tramp-devices): Initialize with 0.
9918 (tramp-get-inode, tramp-get-device): Use cached values.
9919
487915d7
AM
99202012-02-26 Alan Mackenzie <acm@muc.de>
9921
9922 Check there is a font-lock specification before doing initial
9923 fontification.
9924
9925 * font-core.el (font-lock-mode): Move the conditional from
9926 :after-hook to font-lock-initial-fontify.
9927 (font-lock-default-function): Move the check for a specification
9928 to font-lock-spec-present.
9929
dc9924b8 9930 * font-lock.el (font-lock-initial-fontify): Call ...
487915d7
AM
9931 (font-lock-spec-present): New function.
9932
4fd96557
JB
99332012-02-26 Jim Blandy <jimb@red-bean.com>
9934
9935 * progmodes/gdb-mi.el (gdb-mi-quote): New function.
9936 (gdb-send): Apply it to the operand of the '-interpreter-exec
9937 console' command, so that we can pass arguments with (say) quotes
9938 in them. Store exact string sent in gdb-debug-log (Bug#10765).
9939
9a4888c0
CY
99402012-02-26 Chong Yidong <cyd@gnu.org>
9941
07498861
CY
9942 * help-fns.el (describe-function-1): Clarify description of
9943 remapping (Bug#10844).
9944
9a4888c0
CY
9945 * files.el (files-equal-p): Doc fix.
9946 (file-subdir-of-p): Doc fix. Convert loop macro to plain Lisp,
9947 and quit the loop once a mismatch is found.
9948
ea8fb88d
JB
99492012-02-25 Juanma Barranquero <lekktu@gmail.com>
9950
9951 * bs.el (bs--show-with-configuration): Don't throw an error
9952 if the window cannot be split; otherwise, subsequent calls to
9953 bs-show fail, restoring a stale window config. (Bug#10882)
9954
525795c1
JD
99552012-02-25 Jan Djärv <jan.h.d@swipnet.se>
9956
9957 * term/ns-win.el (global-map): Bind ns-drag-file to
9958 ns-find-file (Bug#5855, Bug#10050).
9959
f008086f
AS
99602012-02-25 Andreas Schwab <schwab@linux-m68k.org>
9961
9962 * calendar/parse-time.el (parse-time-string): Allow extractor to
9963 return nil.
9964
a3fcfa99
MA
99652012-02-25 Michael Albinus <michael.albinus@gmx.de>
9966
91027d08
JB
9967 * net/tramp.el (tramp-file-name-for-operation):
9968 Add `files-equal-p' and `file-subdir-of-p'.
a3fcfa99
MA
9969
9970 * net/tramp-sh.el (tramp-sh-handle-copy-directory):
91027d08
JB
9971 * net/tramp-smb.el (tramp-smb-handle-copy-directory):
9972 Add COPY-CONTENTS argument.
a3fcfa99 9973
67b0de11
CY
99742012-02-25 Chong Yidong <cyd@gnu.org>
9975
9976 Add custom groups for VC backends, for consistency with vc-bzr.
9977
9978 * vc/vc-arch.el (vc-arch):
9979 * vc/vc-cvs.el (vc-cvs):
9980 * vc/vc-git.el (vc-git):
9981 * vc/vc-hg.el (vc-hg):
9982 * vc/vc-mtn.el (vc-mtn):
9983 * vc/vc-rcs.el (vc-rcs):
9984 * vc/vc-sccs.el (vc-sccs):
9985 * vc/vc-svn.el (vc-svn): New customization group (Bug#10871).
9986 All relevant defcustoms reassigned.
9987
3c9dfce6
CY
99882012-02-25 Chong Yidong <cyd@gnu.org>
9989
1339bf43
CY
9990 * newcomment.el (comment-styles): Add autoload (Bug#10868).
9991
3c9dfce6
CY
9992 * term/x-win.el (x-initialize-window-system): Reduce default for
9993 x-selection-timeout to 5 seconds (Bug#8869).
9994
25b2e303 99952012-02-24 Thierry Volpiatto <thierry.volpiatto@gmail.com>
9996
ec70a47d
GM
9997 * files.el (files-equal-p, file-subdir-of-p): New functions.
9998 (copy-directory): Error when trying to copy a directory on itself.
25b2e303 9999 Add missing copy-contents arg to tramp handler.
ec70a47d
GM
10000 * dired-aux.el (dired-copy-file-recursive): Same.
10001 (dired-create-files): Modify destination when source is equal to
10002 dest when copying files.
53a46cd0 10003 Return also when dest is a subdir of source. (Bug#10489)
25b2e303 10004
914260cd
MA
100052012-02-24 Michael Albinus <michael.albinus@gmx.de>
10006
10007 * net/ange-ftp.el (ange-ftp-parse-netrc): Suppress comment lines.
10008 (Bug#10874)
10009
2cb228f7
AM
100102012-02-23 Alan Mackenzie <acm@muc.de>
10011
10012 * emacs-lisp/easy-mmode.el (define-minor-mode): Add extra
10013 parameter "after-hook:" to allow the expansion to run code after
10014 the execution of the mode hooks.
10015
10016 * font-lock.el (font-lock-initial-fontify): New function extracted
91027d08 10017 from font-lock-mode-internal.
2cb228f7 10018
91027d08 10019 * font-core.el (font-lock-mode): Call font-lock-initial-fontify in
2cb228f7
AM
10020 :after-hook.
10021
8f0fde21
SM
100222012-02-23 Stefan Monnier <monnier@iro.umontreal.ca>
10023
3e88618b
SM
10024 * minibuffer.el: Make sure cycling is reset upon edit with icomplete.el.
10025 (completion--cache-all-sorted-completions): New function.
10026 (completion-all-sorted-completions): Use it.
10027 (completion--do-completion, minibuffer-force-complete):
10028 Use it to re-instate the flush hook.
10029
8f0fde21
SM
10030 * icomplete.el (icomplete-completions): Replace last fix with a better
10031 one (bug#10850).
10032
8e911f6f
DG
100332012-02-23 Dmitry Gutov <dgutov@yandex.ru>
10034
10035 * emacs-lisp/lisp.el (beginning-of-defun-raw): Don't call end-of-defun
10036 when it might call us back infinitely (bug#10797).
10037
49fe4321
GM
100382012-02-23 Glenn Morris <rgm@gnu.org>
10039
10040 * minibuffer.el (completion-category-overrides): Doc fix.
10041
b291b572
SM
100422012-02-23 Stefan Monnier <monnier@iro.umontreal.ca>
10043
10044 * minibuffer.el (completion-table-with-context): Fix inf-loop.
10045 Reported by Aaron S. Hawley <aaron.s.hawley@gmail.com>.
10046
31a9ef2e
GM
100472012-02-23 Glenn Morris <rgm@gnu.org>
10048
5e6e6794 10049 * emacs-lisp/authors.el (authors-aliases, authors-fixed-case)
31a9ef2e
GM
10050 (authors-obsolete-files-regexps, authors-ignored-files)
10051 (authors-ambiguous-files, authors-renamed-files-alist):
10052 Add more entries.
10053
0bd1e074
JL
100542012-02-23 Juri Linkov <juri@jurta.org>
10055
10056 * isearch.el (isearch-occur): Sync interactive spec with occur's
10057 new feature in `occur-read-primary-args'. Doc fix. (Bug#10705)
10058
b617673c
JL
10059 * replace.el (occur-menu-map): Add menu item for `occur-edit-mode'.
10060
19e9789e
JL
100612012-02-22 Juri Linkov <juri@jurta.org>
10062
10063 * international/mule-cmds.el (read-char-by-name): Use \` and \'.
10064 (ucs-insert): Doc fix. Check for hex digits in the string.
10065 Don't display `nil' in the error message. (Bug#10857)
10066
f41ce09d
AM
100672012-02-22 Alan Mackenzie <acm@muc.de>
10068
7a71b18d 10069 * progmodes/cc-mode.el: Revert change #2012-02-06T22:08:41Z!larsi@gnus.org from 2012-02-06.
f41ce09d 10070
ac2eceee
GM
100712012-02-22 Glenn Morris <rgm@gnu.org>
10072
10073 * ffap.el (ffap-c-path):
10074 * man.el (Man-header-file-path): Handle multiarch. (Bug#10702)
10075
abd1f678
CY
100762012-02-22 Chong Yidong <cyd@gnu.org>
10077
10078 * custom.el (load-theme): Doc fix.
10079
f25aef2e
GM
100802012-02-22 Glenn Morris <rgm@gnu.org>
10081
10082 * dired-x.el (dired-guess-shell-alist-default):
10083 Remove escape sequences from nroff output. (Bug#172)
10084
5f8dc2ca
GM
100852012-02-21 Glenn Morris <rgm@gnu.org>
10086
6ff86ec4
GM
10087 * vc/emerge.el (emerge-defvar-local):
10088 Set `permanent-local' property rather than unused `preserved'.
10089
be3223a3 10090 * textmodes/picture.el (picture-delete-char): New alias.
5f8dc2ca
GM
10091 (picture-mode-map): Use it. (Bug#10860)
10092 (picture-mode): Doc fix.
10093
3fe58f4f
JB
100942012-02-21 Juanma Barranquero <lekktu@gmail.com>
10095
10096 * newcomment.el (uncomment-region-default): Remove unused binding.
10097
f9a998c3
GM
100982012-02-21 Glenn Morris <rgm@gnu.org>
10099
10100 * textmodes/picture.el (picture-motion, picture-motion-reverse)
10101 (picture-self-insert, picture-tab-chars): Doc fix.
10102 (picture-mode-map): Fix C-a, C-e.
10103
c6029348
GM
101042012-02-20 Glenn Morris <rgm@gnu.org>
10105
10106 * emacs-lisp/authors.el (authors-aliases): Add another entry.
10107
ab1ce9d7
LL
101082012-02-20 Leo Liu <sdl.web@gmail.com>
10109
10110 * icomplete.el (icomplete-completions): Check FROM arg before
10111 passing to substring (Bug#10850).
10112
0fd40f89
CY
101132012-02-19 Chong Yidong <cyd@gnu.org>
10114
10115 * comint.el: Require ansi-color.
10116 (comint-output-filter-functions): Add ansi-color-process-output.
10117
10118 * ansi-color.el: Don't set comint-output-filter-functions; it is
10119 now in the initial value defined in comint.el.
10120 (ansi-color-apply-face-function): New variable.
10121 (ansi-color-apply-on-region): Use it.
10122 (ansi-color-apply-overlay-face): New function.
10123
10124 * shell.el (shell): No need to require ansi-color.
10125 (shell-mode): Use ansi-color-apply-face-function to highlight
10126 color escapes using font-lock-face property (Bug#10835).
10127
20af2394
CY
101282012-02-19 Chong Yidong <cyd@gnu.org>
10129
10130 * vc/ediff-init.el (ediff-strip-mode-line-format): Handle non-list
10131 mode-line formats (Bug#10839).
10132
e23a3fbe
GM
101332012-02-18 Glenn Morris <rgm@gnu.org>
10134
b474519e
GM
10135 * mail/rmail.el (rmail-dont-reply-to-names): Mark as obsolete.
10136
10137 * mail/undigest.el (unforward-rmail-message): Doc fix.
10138
e23a3fbe
GM
10139 * saveplace.el (save-place-ignore-files-regexp): Add :version.
10140
57939ff4
EZ
101412012-02-18 Eli Zaretskii <eliz@gnu.org>
10142
10143 * international/characters.el (script-list): Sync with the latest
10144 Unicode Character Database.
10145
0c23686e
AS
101462012-02-18 Andreas Schwab <schwab@linux-m68k.org>
10147
10148 * international/titdic-cnv.el: Remove duplicate coding tag.
10149 * language/cham.el: Likewise.
10150 * language/tai-viet.el: Likewise.
10151
6818b449
GM
101522012-02-18 Glenn Morris <rgm@gnu.org>
10153
10154 * calendar/cal-menu.el (cal-menu-diary-menu, cal-menu-goto-menu):
10155 * calendar/calendar.el (diary-file, diary-bahai-entry-symbol)
10156 (calendar-bahai-all-holidays-flag, calendar-other-dates):
10157 * calendar/diary-lib.el (diary-abbreviated-year-flag):
10158 * calendar/holidays.el (holiday-bahai-holidays)
10159 (calendar-holidays, list-holidays):
10160 Use utf-8 Bahá'í in doc-strings, menus, etc.
10161
0311a3fc
TH
101622012-02-17 Tassilo Horn <tassilo@member.fsf.org>
10163
10164 * saveplace.el (save-place-ignore-files-regexp): New variable
10165 allowing for excluding files from saving their location of point.
10166 The default value matches the temporary commit message editing
10167 files from Git, SVN, Bazaar, and Mercurial.
10168 (save-place-to-alist): Use it.
10169
d209e2fb 101702012-02-17 Lawrence Mitchell <wence@gmx.li>
f1a71c6e 10171 Stefan Monnier <monnier@iro.umontreal.ca>
eb864a71
LM
10172
10173 * newcomment.el (uncomment-region-default): Don't leave extra space
10174 when an arg is provided (bug#8150).
10175
ee0ce425
TZ
101762012-02-17 Teodor Zlatanov <tzz@lifelogs.com>
10177
eb864a71 10178 * net/gnutls.el (gnutls-trustfiles): Fix Cygwin bundle location.
ee0ce425 10179
95ddf442
GM
101802012-02-17 Glenn Morris <rgm@gnu.org>
10181
10182 * net/socks.el: Require network-stream. (Bug#10599)
10183
48dd1e39 101842012-02-17 Kenichi Handa <handa@m17n.org>
c406be43
KH
10185
10186 * international/charprop.el:
10187 * international/uni-name.el:
10188 * international/uni-old-name.el:
10189 * international/uni-comment.el: Regenerate.
10190
d68cd087
GM
101912012-02-16 Glenn Morris <rgm@gnu.org>
10192
10193 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits):
10194 Interactively in calendar buffer, give an error if not on a date.
10195
13932042
GM
101962012-02-15 Glenn Morris <rgm@gnu.org>
10197
10198 * shell.el (shell-delimiter-argument-list):
10199 Revert 2011-02-17 change. (Bug#8027)
10200
c3a70e2b
CY
102012012-02-15 Chong Yidong <cyd@gnu.org>
10202
60236b0d
CY
10203 * minibuffer.el (completion-at-point-functions): Doc fix.
10204
c3a70e2b
CY
10205 * custom.el (defcustom): Doc fix; note use of defvar.
10206
9f26dc24
GM
102072012-02-15 Glenn Morris <rgm@gnu.org>
10208
10209 * mail/smtpmail.el (smtpmail-smtp-user, smtpmail-stream-type):
10210 Doc fixes.
10211
6546b134
GM
102122012-02-14 Glenn Morris <rgm@gnu.org>
10213
10214 * mail/smtpmail.el (smtpmail-query-smtp-server): Give it a doc.
10215
d29b2b4c
LI
102162012-02-14 Lars Ingebrigtsen <larsi@gnus.org>
10217
10218 * mail/smtpmail.el (smtpmail-query-smtp-server): Fix typo in the
10219 way the ports list is computed.
835bdcba
LI
10220 (smtpmail-query-smtp-server): Prompt the user for a port number if
10221 we can't connect to any of the standard ports (bug#10810).
d29b2b4c 10222
08dcdbc9
TZ
102232012-02-14 Teodor Zlatanov <tzz@lifelogs.com>
10224
10225 * net/gnutls.el (gnutls-trustfiles): Add Cygwin location.
10226
2605051a
GM
102272012-02-13 Glenn Morris <rgm@gnu.org>
10228
10229 * minibuffer.el (read-file-name): Doc fix. (Bug#10798)
10230
7ee99f32
TZ
102312012-02-13 Teodor Zlatanov <tzz@lifelogs.com>
10232
10233 * net/gnutls.el (gnutls-trustfiles): New variable.
10234 (gnutls-negotiate): Use it.
10235
5f0af64f
LI
102362012-02-13 Lars Ingebrigtsen <larsi@gnus.org>
10237
10238 * simple.el (mail-user-agent): Mention that `gnus-user-agent' only
10239 does its stuff if Gnus is running.
10240
c14fcc95
AM
102412012-02-13 Alan Mackenzie <acm@muc.de>
10242
10243 Fix a loop in c-set-fl-decl-start.
10244
7a71b18d 10245 * progmodes/cc-engine.el (c-set-fl-decl-start): Add a check that
c14fcc95
AM
10246 c-backward-syntactic-ws actually moves backwards.
10247
142b4d90
LL
102482012-02-13 Leo Liu <sdl.web@gmail.com>
10249
10250 * net/rcirc.el (rcirc-markup-attributes): Move point to the
10251 beginning so that all \C-o chars are removed.
10252
fa9958a6
TZ
102532012-02-12 Teodor Zlatanov <tzz@lifelogs.com>
10254
dc9924b8 10255 * net/gnutls.el (gnutls-algorithm-priority): Add missing :group tag.
fa9958a6 10256
0bc5886a
AM
102572012-02-12 Alan Mackenzie <acm@muc.de>
10258
10259 Fix infinite loop with long macros.
4d6769e1 10260 * progmodes/cc-engine.el (c-state-safe-place): Handle macros properly.
0bc5886a 10261
d4bd55e7
CY
102622012-02-12 Chong Yidong <cyd@gnu.org>
10263
10264 * window.el (display-buffer): Doc fix (Bug#10785).
10265
66f3fe22
GM
102662012-02-12 Glenn Morris <rgm@gnu.org>
10267
bd7da63e
GM
10268 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
10269 (x-disown-selection-internal, x-get-selection-internal):
10270 Sync docs with the xselect.c versions.
10271
66f3fe22
GM
10272 * allout-widgets.el: Add missing license notice.
10273
3e0d2fa7
GM
102742012-02-11 Glenn Morris <rgm@gnu.org>
10275
cfecdf09
GM
10276 * select.el (x-get-selection-internal, x-own-selection-internal)
10277 (x-disown-selection-internal):
10278 * x-dnd.el (x-get-selection-internal): Update declarations.
10279
6d216d7f
GM
10280 * vc/log-view.el (vc-diff-internal): Remove unneeded declaration.
10281
2bed3f04
GM
10282 * window.el (window-sides-slots):
10283 * tool-bar.el (tool-bar-position):
10284 * term/xterm.el (xterm-extra-capabilities):
10285 * ses.el (ses-self-reference-early-detection):
10286 * progmodes/verilog-mode.el (verilog-auto-declare-nettype)
10287 (verilog-auto-wire-type)
10288 (verilog-auto-delete-trailing-whitespace)
10289 (verilog-auto-reset-blocking-in-non, verilog-auto-inst-sort)
10290 (verilog-auto-tieoff-declaration):
10291 * progmodes/sql.el (sql-login-hook, sql-ansi-statement-starters)
10292 (sql-oracle-statement-starters, sql-oracle-scan-on):
10293 * progmodes/prolog.el (prolog-align-comments-flag)
10294 (prolog-indent-mline-comments-flag, prolog-object-end-to-0-flag)
10295 (prolog-left-indent-regexp, prolog-paren-indent-p)
10296 (prolog-paren-indent, prolog-parse-mode, prolog-keywords)
10297 (prolog-types, prolog-mode-specificators)
10298 (prolog-determinism-specificators, prolog-directives)
10299 (prolog-electric-newline-flag, prolog-hungry-delete-key-flag)
10300 (prolog-electric-dot-flag)
10301 (prolog-electric-dot-full-predicate-template)
10302 (prolog-electric-underscore-flag, prolog-electric-tab-flag)
10303 (prolog-electric-if-then-else-flag, prolog-electric-colon-flag)
10304 (prolog-electric-dash-flag, prolog-old-sicstus-keys-flag)
10305 (prolog-program-switches, prolog-prompt-regexp)
10306 (prolog-debug-on-string, prolog-debug-off-string)
10307 (prolog-trace-on-string, prolog-trace-off-string)
10308 (prolog-zip-on-string, prolog-zip-off-string)
10309 (prolog-use-standard-consult-compile-method-flag)
10310 (prolog-use-prolog-tokenizer-flag, prolog-imenu-flag)
10311 (prolog-imenu-max-lines, prolog-info-predicate-index)
10312 (prolog-underscore-wordchar-flag, prolog-use-sicstus-sd)
10313 (prolog-char-quote-workaround):
10314 * progmodes/cc-vars.el (c-defun-tactic):
10315 * net/tramp.el (tramp-encoding-command-interactive)
10316 (tramp-local-end-of-line):
10317 * net/soap-client.el (soap-client):
10318 * net/netrc.el (netrc-file):
10319 * net/gnutls.el (gnutls):
10320 * minibuffer.el (completion-category-overrides)
10321 (completion-cycle-threshold)
10322 (completion-pcm-complete-word-inserts-delimiters):
10323 * man.el (Man-name-local-regexp):
10324 * mail/feedmail.el (feedmail-display-full-frame):
10325 * international/characters.el (glyphless-char-display-control):
10326 * eshell/em-ls.el (eshell-ls-date-format):
10327 * emacs-lisp/cl-indent.el (lisp-lambda-list-keyword-alignment)
10328 (lisp-lambda-list-keyword-parameter-indentation)
10329 (lisp-lambda-list-keyword-parameter-alignment):
10330 * doc-view.el (doc-view-image-width, doc-view-unoconv-program):
10331 * dired-x.el (dired-omit-verbose):
10332 * cus-theme.el (custom-theme-allow-multiple-selections):
10333 * calc/calc.el (calc-highlight-selections-with-faces)
10334 (calc-lu-field-reference, calc-lu-power-reference)
10335 (calc-note-threshold):
10336 * battery.el (battery-mode-line-limit):
10337 * arc-mode.el (archive-7z-extract, archive-7z-expunge)
10338 (archive-7z-update):
10339 * allout.el (allout-prefixed-keybindings)
10340 (allout-unprefixed-keybindings)
10341 (allout-inhibit-auto-fill-on-headline)
10342 (allout-flattened-numbering-abbreviation):
10343 * allout-widgets.el (allout-widgets-auto-activation)
10344 (allout-widgets-icons-dark-subdir)
10345 (allout-widgets-icons-light-subdir, allout-widgets-icon-types)
10346 (allout-widgets-theme-dark-background)
10347 (allout-widgets-theme-light-background)
10348 (allout-widgets-item-image-properties-emacs)
10349 (allout-widgets-item-image-properties-xemacs)
10350 (allout-widgets-run-unit-tests-on-load)
10351 (allout-widgets-time-decoration-activity)
10352 (allout-widgets-hook-error-post-time)
10353 (allout-widgets-track-decoration):
10354 Add missing :version tags to new defcustoms and defgroups.
10355
5fec1b8e
GM
10356 * progmodes/sql.el (sql-ansi-statement-starters)
10357 (sql-oracle-statement-starters): Add custom type.
10358
3e0d2fa7
GM
10359 * progmodes/prolog.el: Remove leading '*' from defcustom docs.
10360 (prolog-system-version): Give it a type.
10361
90b671e2
EZ
103622012-02-11 Eli Zaretskii <eliz@gnu.org>
10363
10364 * term/pc-win.el (x-select-text, x-selection-owner-p)
10365 (x-own-selection-internal, x-disown-selection-internal)
10366 (x-get-selection-internal): Sync doc strings and argument lists
10367 with xselect.c, common-win.el and x-win.el. (Bug#10783)
10368
5eac0c02
LL
103692012-02-11 Leo Liu <sdl.web@gmail.com>
10370
10371 * progmodes/python.el (python-end-of-statement): Fix infinite
10372 loop. (Bug#10788)
10373
f82cb659
GM
103742012-02-10 Glenn Morris <rgm@gnu.org>
10375
10376 * international/mule-cmds.el (unify-8859-on-encoding-mode)
10377 (unify-8859-on-decoding-mode): Properly mark as obsolete.
10378
cc26d239
LI
103792012-02-10 Lars Ingebrigtsen <larsi@gnus.org>
10380
10381 * mail/emacsbug.el (report-emacs-bug-hook): Query the user first
10382 about SMTP before checking the From header.
10383
91027d08 10384 * mail/sendmail.el (sendmail-query-user-about-smtp): Refactor out
cc26d239
LI
10385 into own function for reuse by emacsbug.el.
10386
1be3ca5a
LL
103872012-02-10 Leo Liu <sdl.web@gmail.com>
10388
10389 * subr.el (condition-case-unless-debug): Rename from
10390 condition-case-no-debug. All callers changed.
10391 (with-demoted-errors): Fix caller.
10392
10393 * vc/diff-mode.el (diff-auto-refine-mode, diff-hunk):
10394 * nxml/rng-valid.el (rng-do-some-validation):
10395 * emacs-lisp/package.el (package-refresh-contents)
10396 (package-menu-execute):
10397 * desktop.el (desktop-create-buffer):
91027d08 10398 * font-lock.el (lisp-font-lock-keywords-2): Caller changed.
1be3ca5a 10399
b011fbfe
GM
104002012-02-10 Glenn Morris <rgm@gnu.org>
10401
b2096d72
GM
10402 * textmodes/bibtex.el:
10403 Add missing :version tags for new/changed defcustoms.
10404
b011fbfe
GM
10405 * files.el (remote-file-name-inhibit-cache): Doc fixes.
10406
4c7e65bf
LI
104072012-02-09 Lars Ingebrigtsen <larsi@rusty>
10408
10409 * mail/smtpmail.el (smtpmail-user-mail-address): New function.
10410 (smtpmail-via-smtp): Use it, or fall back on the From address.
10411 (smtpmail-send-it): Ditto.
10412
f3934f6f
SM
104132012-02-09 Stefan Monnier <monnier@iro.umontreal.ca>
10414
10415 * emacs-lisp/bytecomp.el (byte-compile-file-form-defvar):
10416 Don't fallback on byte-compile-defvar. Optimize (defvar foo) away.
10417 (byte-compile-tmp-var): New const.
10418 (byte-compile-defvar): Use it to minimize .elc size.
10419 Just use `defvar' rather than simulate it (bug#10761).
10420
a075a2c5
GM
104212012-02-09 Glenn Morris <rgm@gnu.org>
10422
cf3aa21b
GM
10423 * files.el (rename-uniquely): Doc fix. (Bug#3806)
10424
354998cd
GM
10425 * progmodes/cc-guess.el (c-guess-offset-threshold, c-guess-region-max):
10426 Add :version tags.
10427
dc9924b8
SM
10428 * progmodes/compile.el (compilation-error-screen-columns)
10429 (compilation-first-column, compilation-filter-start): Doc fixes.
83274125 10430
dab3703d
GM
10431 * vc/log-view.el (log-view-toggle-entry-display):
10432 * vc/vc.el (vc-merge, vc-pull): Doc fixes.
10433
3f88cd72
GM
10434 * mail/emacsbug.el (report-emacs-bug-can-use-osx-open)
10435 (report-emacs-bug-can-use-xdg-email):
10436 (report-emacs-bug-insert-to-mailer): Doc fixes.
10437 (report-emacs-bug): Message fix.
10438
d95b247d
GM
10439 * net/browse-url.el (browse-url-can-use-xdg-open)
10440 (browse-url-xdg-open): Doc fixes.
10441
a075a2c5
GM
10442 * electric.el (electric-indent-mode, electric-pair-mode)
10443 (electric-layout-rules, electric-layout-mode): Doc fixes.
10444 (electric-pair-pairs, electric-pair-skip-self): Add :version tags.
10445
ffb6157e
MR
104462012-02-08 Martin Rudalics <rudalics@gmx.at>
10447
10448 * server.el (server-unselect-display): Don't inadvertently kill
10449 the current buffer. (Bug#10729)
10450
e1ac4066
GM
104512012-02-08 Glenn Morris <rgm@gnu.org>
10452
34e8a2da
GM
10453 * progmodes/sql.el (sql-port, sql-connection-alist, sql-list-all)
10454 (sql-list-table): Doc fixes.
10455
b4ac6e8c
GM
10456 * image-mode.el (image-transform-minor-mode-map, image-transform-mode):
10457 Comment out (does nothing).
10458
e1ac4066
GM
10459 * completion.el (dynamic-completion-mode):
10460 * dirtrack.el (dirtrack-debug-mode):
10461 * electric.el (electric-layout-mode):
10462 * epa-mail.el (epa-mail-mode, epa-global-mail-mode):
10463 * face-remap.el (text-scale-mode, buffer-face-mode):
10464 * iimage.el (iimage-mode):
10465 * image-mode.el (image-transform-mode):
10466 * minibuffer.el (completion-in-region-mode):
10467 * scroll-lock.el (scroll-lock-mode):
10468 * simple.el (next-error-follow-minor-mode):
10469 * tar-mode.el (tar-subfile-mode):
10470 * tooltip.el (tooltip-mode):
10471 * vcursor.el (vcursor-use-vcursor-map):
10472 * wid-browse.el (widget-minor-mode):
10473 * emulation/tpu-edt.el (tpu-edt-mode):
10474 * emulation/tpu-extras.el (tpu-cursor-free-mode):
10475 * international/iso-ascii.el (iso-ascii-mode):
10476 * language/thai-util.el (thai-word-mode):
10477 * mail/supercite.el (sc-minor-mode):
10478 * net/goto-addr.el (goto-address-mode):
10479 * net/rcirc.el (rcirc-multiline-minor-mode, rcirc-track-minor-mode):
10480 * progmodes/cwarn.el (cwarn-mode):
10481 * progmodes/flymake.el (flymake-mode):
10482 * progmodes/glasses.el (glasses-mode):
10483 * progmodes/hideshow.el (hs-minor-mode):
10484 * progmodes/pascal.el (pascal-outline-mode):
10485 * textmodes/enriched.el (enriched-mode):
10486 * vc/smerge-mode.el (smerge-mode):
10487 Doc fixes (minor mode argument).
10488
5e0d957f
EZ
104892012-02-07 Eli Zaretskii <eliz@gnu.org>
10490
10491 * ls-lisp.el (ls-lisp-sanitize): New function.
10492 (ls-lisp-insert-directory): Use it to fix or remove any elements
10493 in file-alist with missing attributes. (Bug#4673)
10494
98d7371e
AM
104952012-02-07 Alan Mackenzie <acm@muc.de>
10496
10497 Fix spurious recognition of c-in-knr-argdecl.
10498
10499 * progmodes/cc-engine.el (c-in-knr-argdecl): Check for '=' in a
10500 putative K&R region.
10501
667ced3a
AM
105022012-02-07 Alan Mackenzie <acm@muc.de>
10503
eb864a71
LM
10504 * progmodes/cc-engine.el (c-forward-objc-directive):
10505 Prevent looping in "#pragma mark @implementation".
667ced3a 10506
5b77774d
MA
105072012-02-07 Michael Albinus <michael.albinus@gmx.de>
10508
10509 * notifications.el (notifications-on-closed-signal): Make `reason'
10510 optional. (Bug#10744)
10511
af008560
GM
105122012-02-07 Glenn Morris <rgm@gnu.org>
10513
60d47423
GM
10514 * emacs-lisp/easy-mmode.el (define-minor-mode):
10515 Doc fixes for the macro and the mode it defines.
10516
dd605cc4
GM
10517 * image.el (imagemagick-types-inhibit): Doc fix.
10518
af008560
GM
10519 * cus-start.el (imagemagick-render-type): Add it.
10520
5cc59a37
LI
105212012-02-06 Lars Ingebrigtsen <larsi@gnus.org>
10522
4d6769e1
JB
10523 * progmodes/cc-mode.el (c-standard-font-lock-fontify-region-function):
10524 Set the default at load time, too, so that `font-lock-fontify-buffer'
10525 can be called without setting up the entire mode first. This fixes
10526 a bug in `mm-inline-text' with C MIME parts.
5cc59a37 10527
9a6dd747
CY
105282012-02-06 Chong Yidong <cyd@gnu.org>
10529
2d16b285
CY
10530 * simple.el (list-processes--refresh): Delete exited processes
10531 (Bug#8094).
10532
171e9b6e
CY
10533 * comint.el (comint-next-prompt): next-single-char-property-change
10534 and prev-single-char-property-change never return nil (Bug#8657).
10535
9a6dd747
CY
10536 * custom.el (defcustom): Doc fix (Bug#9711).
10537
aa4589a7
CY
105382012-02-05 Chong Yidong <cyd@gnu.org>
10539
5c2a252f
CY
10540 * cus-edit.el (custom-variable-reset-backup): Quote the value
10541 before storing it in the customized-value property (Bug#6712).
4aab9006 10542 (custom-display): Add a customization type tag.
983b9602 10543 (custom-buffer-create-internal): Improve tooltip message.
5c2a252f 10544
aa4589a7
CY
10545 * wid-edit.el (widget-field-value-get): New optional arg to
10546 suppress trailing whitespace truncation.
10547 (character): Use it (Bug#2689).
10548
1ff980ae
AS
105492012-02-05 Andreas Schwab <schwab@linux-m68k.org>
10550
10551 * progmodes/gud.el (gud-pv): Use pv instead of pv1.
10552 * progmodes/gdb-mi.el (gud-pp): Use pp instead of pp1.
10553
03988c98
CY
105542012-02-05 Chong Yidong <cyd@gnu.org>
10555
eeb6cc88
CY
10556 * cus-edit.el (custom-variable-value-create): For mismatched
10557 types, show the current value (Bug#7600).
10558
03988c98
CY
10559 * custom.el (defcustom): Doc fix.
10560
f8cdeef0
GM
105612012-02-05 Glenn Morris <rgm@gnu.org>
10562
10563 * font-lock.el (lisp-font-lock-keywords-2): Add with-wrapper-hook.
10564
0696d255
JB
105652012-02-05 Juanma Barranquero <lekktu@gmail.com>
10566
10567 * emacs-lisp/pp.el (pp-to-string): Use `with-temp-buffer'.
10568 (pp-buffer): Use `ignore-errors', `looking-at-p'.
10569 (pp-last-sexp): Use `looking-at-p'.
10570
34c99998
GM
105712012-02-04 Glenn Morris <rgm@gnu.org>
10572
8f05da42
GM
10573 * files.el (revert-buffer):
10574 Doc fix (mention revert-buffer-in-progress-p).
10575
f160676e
GM
10576 * emacs-lisp/ert-x.el (ert-simulate-command):
10577 Check deferred-action-list (which is obsolete) is bound.
10578
c7291ad9
GM
10579 * subr.el (with-wrapper-hook): Doc fixes.
10580
34c99998
GM
10581 * simple.el (filter-buffer-substring-functions)
10582 (buffer-substring-filters, filter-buffer-substring): Doc fixes.
10583
6283a7d3
LL
105842012-02-04 Lars Ljung <lars@matholka.se> (tiny change)
10585
10586 * eshell/esh-ext.el (eshell-windows-shell-file): Match "cmdproxy"
10587 anywhere in shell-file-name, not just at the beginning. (Bug#10523)
10588
e96e3013
LL
105892012-02-04 Leo Liu <sdl.web@gmail.com>
10590
10591 * emacs-lisp/smie.el: Fix dead link (Bug#10711).
10592
8ded50f2
GM
105932012-02-04 Glenn Morris <rgm@gnu.org>
10594
82ff1d13
GM
10595 * image.el (image-extension-data): Add obsolete alias.
10596
987a0a16
GM
10597 * isearch.el (isearch-update): Doc fix.
10598
ea32ef46
GM
10599 * facemenu.el (list-colors-display): Doc fix (minor rephrasing).
10600
8ded50f2
GM
10601 * ido.el (ido-find-file): Doc fix (ido-toggle-vc not on any key).
10602
eea14f31
GM
106032012-02-03 Glenn Morris <rgm@gnu.org>
10604
10605 * image.el (image-animated-p): Doc fix. Use image-animated-types.
10606 (image-animate-timeout): Doc fix.
10607
10608 * image-mode.el (image-animate-loop, image-toggle-animation): Doc fixes.
10609
12f381b7
GM
106102012-02-02 Glenn Morris <rgm@gnu.org>
10611
953cebf5
GM
10612 * server.el (server-auth-dir): Doc fix.
10613 (server-eval-at): Doc fix. Give an explicit error if !server-use-tcp.
10614
12f381b7
GM
10615 * subr.el (run-mode-hooks): Doc fix.
10616
953a8c3b
JL
106172012-02-02 Juri Linkov <juri@jurta.org>
10618
10619 * image-mode.el (image-toggle-display-image): Remove tautological
10620 `major-mode' from the `derived-mode-p' test.
10621
c5d3843c
KH
106222012-02-02 Kenichi Handa <handa@m17n.org>
10623
9f6e692e 10624 * composite.el (compose-region): Cancel previous change.
c5d3843c 10625
159462d4 106262012-02-02 Kenichi Handa <handa@m17n.org>
d2a51fd7
KH
10627
10628 * composite.el (compose-region, compose-string): Signal error for
10629 a null string component (Bug#6988).
10630
9f562668
CY
106312012-02-01 Chong Yidong <cyd@gnu.org>
10632
e2cef717
CY
10633 * view.el (view-buffer-other-window, view-buffer-other-frame):
10634 Handle special modes like view-buffer (Bug#10650).
10635 (view-buffer): Simplify.
10636
9f562668
CY
10637 * frame.el (set-frame-font): Tweak meaning of third argument.
10638
9f6e692e
JB
10639 * dynamic-setting.el (font-setting-change-default-font):
10640 Use set-frame-font (Bug#9982).
9f562668 10641
781acb9f
GM
106422012-02-01 Glenn Morris <rgm@gnu.org>
10643
6035be52
GM
10644 * progmodes/compile.el (compilation-internal-error-properties):
10645 Respect compilation-first-column in the "*compilation*" buffer.
10646
781acb9f
GM
10647 * emacs-lisp/easy-mmode.el (define-minor-mode):
10648 Relax :variable's test for a named function.
10649
abbceb00
AM
106502012-01-31 Alan Mackenzie <acm@muc.de>
10651
10652 * progmodes/cc-engine.el (c-guess-basic-syntax): CASE 5B.1: Fix an
10653 off by one error.
10654
fce3fdeb
CY
106552012-01-31 Chong Yidong <cyd@gnu.org>
10656
10657 * frame.el (set-frame-font): New arg ALL-FRAMES.
10658
10659 * menu-bar.el (menu-set-font): Use set-frame-font.
10660
10661 * faces.el (face-spec-reset-face): Don't apply unspecified
10662 attribute values to the default face.
10663
47893581
JB
106642012-01-31 Juanma Barranquero <lekktu@gmail.com>
10665
10666 * progmodes/cwarn.el (cwarn): Remove dead link.
10667 (cwarn-configuration, cwarn-verbose, cwarn-mode-text, cwarn-load-hook):
10668 Remove * from defcustom docstrings.
10669 (turn-on-cwarn-mode): Make obsolete.
10670 (c-at-toplevel-p): Remove compatibility code for Emacs 20.3 and older.
10671 (turn-on-cwarn-mode-if-enabled): Call `cwarn-mode'.
10672
e58e988a
GM
106732012-01-31 Glenn Morris <rgm@gnu.org>
10674
60dc2671 10675 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix.
6c9b47ae 10676 Fix :variable handling of mode a symbol not equal to modefun.
60dc2671 10677 Allow named functions to be used as the cdr of :variable.
e58e988a 10678
7a3f511d
GM
106792012-01-30 Glenn Morris <rgm@gnu.org>
10680
10681 * emacs-lisp/authors.el (authors-fixed-entries):
10682 Remove reference to deleted file rnewspost.el.
10683
cb882333
JB
106842012-01-29 Juanma Barranquero <lekktu@gmail.com>
10685
10686 * window.el (window-with-parameter): Remove unused variable `windows'.
10687 (window--side-check): Remove unused variable `code'.
10688 (window--resize-siblings): Remove unused variable `first'.
10689 (adjust-window-trailing-edge): Remove unused variable `failed'.
10690 (window-deletable-p, window--delete): Remove unused variable `buffer'.
10691 Use `let', not `let*'.
10692 (balance-windows-2): Remove unused variable `found'.
10693 (window--state-put-2): Remove unused variable `splits'.
10694 (window-state-put): Remove unused variable `selected'.
10695 (same-window-p): Use `string-match-p'.
10696 (display-buffer-assq-regexp): Remove unused variable `value'.
10697 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
10698 Mark argument ALIST as ignored.
10699 (pop-to-buffer): Remove unused variable `old-window'.
10700
907201af
EZ
107012012-01-29 Eli Zaretskii <eliz@gnu.org>
10702
10703 * jka-cmpr-hook.el (jka-compr-compression-info-list): Support .lz
10704 and .lzma compressed files.
10705
ea162670
CY
107062012-01-29 Chong Yidong <cyd@gnu.org>
10707
5b95ee8a
CY
10708 * frame.el (window-system-default-frame-alist): Doc fix.
10709
ea162670
CY
10710 * dynamic-setting.el (font-setting-change-default-font): Don't
10711 change the default face if SET-FONT argument is non-nil (Bug#9982).
10712
d6e6f4b1
SB
107132012-01-29 Samuel Bronson <naesten@gmail.com> (tiny change)
10714
10715 * custom.el (defcustom): Add doc link to Lisp manual (Bug#10635).
10716
0f29fa41 107172012-01-29 Syver Enstad <syver.enstad@cisco.com> (tiny change)
6b25e4e2
SE
10718
10719 * progmodes/gud.el (pdb): Give pdb full paths, to allow setting
10720 breakpoints in files outside current directory (Bug#6098).
10721
db174434
CY
107222012-01-29 Chong Yidong <cyd@gnu.org>
10723
6b25e4e2
SE
10724 * progmodes/python.el: Require ansi-color at top-level.
10725
6df6ae42
JB
10726 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-abbrev-table):
10727 Define and use in Emacs Lisp mode (Bug#9360).
db174434
CY
10728 (lisp-mode-abbrev-table): Add doc.
10729 (lisp-mode-variables): Don't set local-abbrev-table.
10730 (lisp-interaction-mode): Use emacs-lisp-mode-abbrev-table.
10731
e70ee681
RW
107322012-01-28 Roland Winkler <winkler@gnu.org>
10733
10734 * textmodes/bibtex.el (bibtex-vec-incr): Fix docstring.
10735
ace88aa2
RW
107362012-01-28 Roland Winkler <winkler@gnu.org>
10737
10738 * textmodes/bibtex.el (bibtex-entry-alist): New function.
10739 (bibtex-set-dialect): Use it. Either set global values of
10740 dialect-dependent variables or bind these variables buffer-locally
10741 (Bug#10254).
10742 (bibtex-mode): Call bibtex-set-dialect via
10743 hack-local-variables-hook.
eb864a71
LM
10744 (bibtex-dialect): Update docstring.
10745 Add safe-local-variable predicate.
ace88aa2
RW
10746 (bibtex-entry-alist, bibtex-field-alist): Initialize via
10747 bibtex-set-dialect.
10748 (bibtex-mode-map): Define menu for each dialect.
10749 (bibtex-entry): Fix docstring.
10750
93376c5b
CY
107512012-01-28 Chong Yidong <cyd@gnu.org>
10752
10753 * eshell/esh-arg.el (eshell-quote-argument): New function.
10754
10755 * eshell/esh-ext.el (eshell-invoke-batch-file):
10756 * eshell/em-unix.el (eshell/cat, eshell/du): Use it to quote the
10757 first arg to eshell-parse-command (Bug#10523).
10758
4372494f
DA
107592012-01-28 Drew Adams <drew.adams@oracle.com>
10760
10761 * net/ange-ftp.el (ange-ftp-canonize-filename): Check, that
10762 `default-directory' is non-nil.
10763
4d4ec1f8
EZ
107642012-01-28 Eli Zaretskii <eliz@gnu.org>
10765
10766 * mail/emacsbug.el (report-emacs-bug): Fill the potentially long
10767 line that displays system-configuration-options. (Bug#9924)
10768
7c188927
DA
107692012-01-28 Drew Adams <drew.adams@oracle.com>
10770
10771 * descr-text.el (describe-char): Show information about POS, in
10772 addition to information about the character at POS. Improve and
10773 update the doc string. Change "code point" to "code point in
10774 charset", to avoid confusion with the character's Unicode code
10775 point shown above that. (Bug#10129)
10776
e0da685a
EZ
107772012-01-28 Eli Zaretskii <eliz@gnu.org>
10778
10779 * descr-text.el (describe-char): Show the raw character, not only
10780 its display form at POS. Suggested by Kenichi Handa <handa@m17n.org>.
10781 See http://lists.gnu.org/archive/html/emacs-devel/2012-01/msg00760.html
10782 for the reasons.
10783
70550acf
PH
107842012-01-28 Phil Hagelberg <phil@hagelb.org>
10785
eb864a71
LM
10786 * emacs-lisp/package.el (package-install):
10787 Run package-refresh-contents if there is no archive yet (Bug#9798).
70550acf 10788
0ce8e868
CY
107892012-01-28 Chong Yidong <cyd@gnu.org>
10790
cb882333
JB
10791 * emacs-lisp/package.el (package-maybe-load-descriptor):
10792 New function, split from package-maybe-load-descriptor.
0ce8e868
CY
10793 (package-maybe-load-descriptor): Use it.
10794 (package-download-transaction): Fully load required packages
10795 inside the loop, so that `require' calls work (Bug#10593).
10796 (package-install): No need to call package-initialize now.
10797
2e7f3bea
CY
107982012-01-28 Chong Yidong <cyd@gnu.org>
10799
6e9bad14
CY
10800 * simple.el (deactivate-mark): Doc fix (Bug#8614).
10801
f823b8ca
CY
10802 * tooltip.el (tooltip-mode): Doc fix.
10803 (tooltip-use-echo-area): Mark as obsolete (Bug#6595).
10804
2680c309
CY
10805 * frame.el (set-cursor-color): Doc fix (Bug#352).
10806
d7a9e63b
CY
10807 * mail/rmail.el (rmail-start-mail): Add send-action again (Bug#10625).
10808 (rmail-mail-return): Switch to NEWBUF only if it is non-nil.
10809
2e7f3bea
CY
10810 * cus-edit.el (custom-buffer-create-internal): Fix search button
10811 action (Bug#10542).
2ae01800 10812 (customize-unsaved, customize-saved): Doc fix (Bug#10541).
2e7f3bea 10813
fc4f7a23
EW
108142012-01-27 Eduard Wiebe <usenet@pusto.de>
10815
10816 * dired.el (dired-mark-files-regexp):
10817 Include any subdirectory components. (Bug#10445)
10818
7dd37071
ML
108192012-01-27 Mike Lamb <mrlamb@gmail.com> (tiny change)
10820
10821 * pcmpl-unix.el (pcmpl-ssh-known-hosts):
10822 Handle [host]:port syntax. (Bug#10533)
10823
a268160b
AH
108242012-01-27 Alex Harsanyi <harsanyi@mac.com>
10825
10826 * xml.el (xml-parse-tag): Fix parsing of comments (Bug#10405).
10827
e43273ef
GM
108282012-01-26 Glenn Morris <rgm@gnu.org>
10829
10830 * dired-x.el (dired-bind-jump): Use ctl-x-map and ctl-x-4-map.
10831 * term.el (term-raw-escape-map): Use Control-X-prefix.
10832 * vc/vc-hooks.el (vc-prefix-map): Use ctl-x-map. (Bug#10566)
10833
1edf595d
MR
108342012-01-25 Martin Rudalics <rudalics@gmx.at>
10835
10836 * window.el (window-state-get, window--state-get-1): Don't deal
10837 with fixed-sizeness of windows. Simplify code.
10838
fa8eafef
JC
108392012-01-25 Jérémy Compostella <jeremy.compostella@gmail.com>
10840
6df6ae42
JB
10841 * window.el (window--state-get-1, window--state-put-2):
10842 Don't save and restore the mark.
fa8eafef 10843
0b21c100
CY
108442012-01-25 Chong Yidong <cyd@gnu.org>
10845
10846 * custom.el (custom-variable-p): Doc fix.
10847
5ae1a6c8
GM
108482012-01-25 Glenn Morris <rgm@gnu.org>
10849
40047858
GM
10850 * dired.el (dired-goto-file): Handle some of the more common
10851 characters that `ls -b' escapes. (Bug#10596)
10852
5ddce96c
GM
10853 * progmodes/compile.el (compilation-next-error-function):
10854 Respect compilation-first-column in the "*compilation*" buffer.
10855 * progmodes/grep.el (grep-first-column): New variable. (Bug#10594)
10856
5ae1a6c8
GM
10857 * vc/vc.el (vc-modify-change-comment): Scoping fix. (Bug#10513)
10858
b559f1a9
GM
108592012-01-24 Glenn Morris <rgm@gnu.org>
10860
10861 * pcmpl-gnu.el (pcomplete/tar): Handle " - ". (Bug#10457)
10862
6725d21a
JD
108632012-01-24 Julien Danjou <julien@danjou.info>
10864
10865 * color.el (color-rgb-to-hsl): Fix value computing.
10866 (color-hue-to-rgb): New function.
10867 (color-hsl-to-rgb): New function.
10868 (color-clamp, color-saturate-hsl, color-saturate-name)
10869 (color-desaturate-hsl, color-desaturate-name, color-lighten-hsl)
10870 (color-lighten-name, color-darken-hsl, color-darken-name): New function.
10871
70df4bbe
GM
108722012-01-24 Glenn Morris <rgm@gnu.org>
10873
10874 * vc/vc-rcs.el (vc-rcs-create-tag):
10875 * vc/vc-sccs.el (vc-sccs-create-tag):
10876 Fix argument spec to be what vc-create-tag expects. (Bug#10515)
10877
802a2ae2
ML
108782012-01-23 Mike Lamb <mrlamb@gmail.com> (tiny change)
10879
10880 * eshell/esh-util.el (eshell-read-hosts-file):
10881 Skip comment lines. (Bug#10549)
10882
d7128bb1
ML
10883 * eshell/em-unix.el (pcomplete/ssh): Remove. (Bug#10548)
10884
d1a5c3b4
JB
108852012-01-23 Juanma Barranquero <lekktu@gmail.com>
10886
2724d9c7
JB
10887 * subr.el (display-delayed-warnings): Doc fix.
10888 (collapse-delayed-warnings): New function to collapse identical
10889 adjacent warnings.
10890 (delayed-warnings-hook): Add it.
d1a5c3b4 10891
a5509865
MA
108922012-01-22 Michael Albinus <michael.albinus@gmx.de>
10893
10894 * net/tramp.el (tramp-action-login): Set connection property "login-as".
10895
a5509865
MA
10896 * net/tramp-sh.el (tramp-methods): Add user spec to "pscp" and "psftp".
10897 (tramp-default-user-alist): Don't add "pscp".
10898 (tramp-do-copy-or-rename-file-out-of-band): Use connection
10899 property "login-as", if set. (Bug#10530)
10900
cc6d5805
MA
109012012-01-21 Michael Albinus <michael.albinus@gmx.de>
10902
10903 * net/tramp-sh.el (tramp-default-user-alist): Don't add "plink",
10904 "plink1" and "psftp". (Bug#10530)
10905
109062012-01-21 Kenichi Handa <handa@m17n.org>
71784361
KH
10907
10908 * international/mule-cmds.el (prefer-coding-system): Show a
10909 warning message if the default value of file-name-coding-system
10910 was not changed.
10911
f0960428
JC
109122012-01-21 Jérémy Compostella <jeremy.compostella@gmail.com>
10913
cb882333
JB
10914 * windmove.el (windmove-reference-loc):
10915 Fix windmove-reference-loc miscalculation.
f0960428 10916
dd6f2a63
JB
109172012-01-21 Jay Belanger <jay.p.belanger@gmail.com>
10918
10919 * calc/calc-units.el (math-put-default-units): Don't use "1" as a
10920 default unit.
10921
7b447e9b
GM
109222012-01-21 Glenn Morris <rgm@gnu.org>
10923
117a9ea1
GM
10924 * international/mule.el (auto-coding-alist): Add .tbz.
10925
7b447e9b
GM
10926 * files.el (local-enable-local-variables): Doc fix.
10927 (inhibit-local-variables-regexps): Rename from
10928 inhibit-first-line-modes-regexps. Keep old name as obsolete alias.
10929 Doc fix. Add some extensions from auto-coding-alist.
10930 (inhibit-local-variables-suffixes):
10931 Rename from inhibit-first-line-modes-suffixes. Doc fix.
10932 (inhibit-local-variables-p):
10933 New function, extracted from set-auto-mode-1.
10934 (set-auto-mode): Doc fix. Respect inhibit-local-variables-regexps.
10935 (set-auto-mode-1): Doc fix. Use inhibit-local-variables-p.
10936 (hack-local-variables): Doc fix. Make the mode-only case
10937 respect enable-local-variables and friends.
10938 Respect inhibit-local-variables-regexps for file-locals, but
10939 not for directory-locals.
10940 (set-visited-file-name):
10941 Take account of inhibit-local-variables-regexps.
10942 Whether it applies may change as the file name is changed.
10943 * jka-cmpr-hook.el (jka-compr-install):
10944 * jka-compr.el (jka-compr-uninstall):
10945 Update for inhibit-first-line-modes-suffixes name change.
10946
dd6e3cdd
MR
109472012-01-20 Martin Rudalics <rudalics@gmx.at>
10948
10949 * help-macro.el (make-help-screen): Temporarily restore original
10950 binding for minor-mode-map-alist (Bug#10454).
10951
0d0deb38
JD
109522012-01-19 Julien Danjou <julien@danjou.info>
10953
10954 * color.el (color-name-to-rgb): Use the white color to find the max
10955 color component value and return correctly computed values.
10956 (color-name-to-rgb): Add missing float conversion for max value.
10957
34a02f46
MR
109582012-01-19 Martin Rudalics <rudalics@gmx.at>
10959
10960 * window.el (window--state-get-1, window-state-get): Do not use
eb864a71
LM
10961 special state value for window-persistent-parameters.
10962 Rename argument IGNORE to WRITABLE. Rewrite doc-string.
34a02f46
MR
10963 (window--state-put-2): Reset all window parameters to nil before
10964 assigning values of persistent parameters.
10965
606c44c4
AM
109662012-01-18 Alan Mackenzie <acm@muc.de>
10967
10968 Eliminate sluggishness and hangs in fontification of "semicolon
10969 deserts".
10970
cb882333
JB
10971 * progmodes/cc-engine.el (c-state-nonlit-pos-interval):
10972 Change value 10000 -> 3000.
606c44c4
AM
10973 (c-state-safe-place): Reformulate so it doesn't stack up an
10974 infinite number of wrong entries in c-state-nonlit-pos-cache.
10975 (c-determine-limit-get-base, c-determine-limit): New functions to
10976 determine backward search limits disregarding literals.
10977 (c-find-decl-spots): Amend commenting.
10978 (c-cheap-inside-bracelist-p): New function which detects "={".
10979
10980 * progmodes/cc-fonts.el
10981 (c-make-font-lock-BO-decl-search-function): Give a limit to a
10982 backward search.
10983 (c-font-lock-declarations): Fix an occurrence of point being
10984 undefined. Check additionally for point being in a bracelist or
10985 near a macro invocation without a semicolon so as to avoid a
10986 fruitless time consuming search for a declarator. Give a more
10987 precise search limit for declarators using the new
10988 c-determine-limit.
10989
f3860cea
GM
109902012-01-18 Glenn Morris <rgm@gnu.org>
10991
10992 * files.el (auto-mode-alist, inhibit-first-line-modes-regexps)
10993 (set-auto-mode): Doc fixes.
10994
1db03b16
GM
109952012-01-17 Glenn Morris <rgm@gnu.org>
10996
0e6038be
GM
10997 * isearch.el (search-nonincremental-instead): Fix doc typo.
10998
1db03b16
GM
10999 * dired.el (dired-insert-directory): Handle newlines in directory name.
11000 (dired-build-subdir-alist): Unescape newlines in directory name.
11001
4cb0aa75
MA
110022012-01-17 Michael Albinus <michael.albinus@gmx.de>
11003
11004 * net/tramp.el (tramp-local-end-of-line): New defcustom.
11005 (tramp-action-login, tramp-action-yesno, tramp-action-yn)
11006 (tramp-action-terminal): Use it. (Bug#10530)
11007
1d00653d
SM
110082012-01-16 Stefan Monnier <monnier@iro.umontreal.ca>
11009
11010 * minibuffer.el (completion--replace): Strip properties (bug#10062).
11011
6a6ee00d
MR
110122012-01-16 Martin Rudalics <rudalics@gmx.at>
11013
11014 * window.el (window-state-ignored-parameters): Remove variable.
11015 (window--state-get-1): Rename argument MARKERS to IGNORE.
11016 Handle persistent window parameters. Make copy of clone-of
11017 parameter only if requested. (Bug#10348)
11018 (window--state-put-2): Install a window parameter only if it has
11019 a non-nil value or an existing parameter shall be overwritten.
11020
97912def
MA
110212012-01-15 Michael Albinus <michael.albinus@gmx.de>
11022
11023 * net/tramp-sh.el (tramp-remote-path): Set tramp-autoload cookie.
11024
688070a5
EZ
110252012-01-14 Eli Zaretskii <eliz@gnu.org>
11026
11027 * info.el (Info-toc-build): If the Info file has no "Up" pointer,
11028 don't pass the (nil) value of `upnode' to string-match.
11029
301afadc
CY
110302012-01-14 Chong Yidong <cyd@gnu.org>
11031
11032 * startup.el (command-line): Fix X resource class for cursorColor.
04877ddb 11033 Fix values recognized by the cursorBlink resource.
301afadc 11034
9e5788aa
PE
110352012-01-14 Paul Eggert <eggert@cs.ucla.edu>
11036
11037 * epg.el (epg--make-temp-file): Avoid permission race condition
11038 when running on old Emacs versions (bug#10403).
11039
3cdb7f5a
GM
110402012-01-14 Glenn Morris <rgm@gnu.org>
11041
11042 * dired.el (dired-get-filename): Fix 'verbatim case of previous change.
11043
8c82b1b4
AM
110442012-01-13 Alan Mackenzie <acm@muc.de>
11045
11046 Fix filling for when filladapt mode is enabled.
11047
11048 * progmodes/cc-cmds.el (c-fill-paragraph): In the invocation of
11049 c-mask-paragraph, pass in `fill-paragraph' rather than
11050 `fill-region-as-paragraph'. (This is a reversion of a previous
11051 change.)
eb864a71
LM
11052 * progmodes/cc-mode.el (c-basic-common-init):
11053 Make fill-paragraph-handle-comment buffer local and set it to nil.
8c82b1b4 11054
e517eda4
GM
110552012-01-13 Glenn Morris <rgm@gnu.org>
11056
1498536e
GM
11057 * dired.el (dired-switches-escape-p): New function.
11058 (dired-insert-directory): Use dired-switches-escape-p.
11059 (dired-get-filename): Undo "\ " quoting if needed. (Bug#10469)
11060
e517eda4
GM
11061 * find-dired.el (find-ls-option): Doc fix. (Bug#10262)
11062
328f984d
GM
110632012-01-12 Glenn Morris <rgm@gnu.org>
11064
11065 * mail/sendmail.el (mail-mode): Update paragraph-separate for
11066 changes in adaptive-fill-regexp. (Bug#10276)
11067
2cc769a8
AM
110682012-01-11 Alan Mackenzie <acm@muc.de>
11069
11070 Fix Emacs bug #10463 - put `widen's around the critical spots.
11071
1d00653d 11072 * progmodes/cc-engine.el (c-in-literal, c-literal-limits): Put a
2cc769a8
AM
11073 widen around each invocation of c-state-pp-to-literal. Remove an
11074 unused let variable.
11075
e52c37fa
GM
110762012-01-11 Glenn Morris <rgm@gnu.org>
11077
11078 * dired-aux.el (dired-do-shell-command): Fix */? logic. (Bug#6561)
09044622 11079 Doc fix.
e52c37fa 11080
96f8741e
CY
110812012-01-10 Chong Yidong <cyd@gnu.org>
11082
1d00653d
SM
11083 * net/network-stream.el (network-stream-open-starttls):
11084 Avoid emitting a confusing error message when the server gives a bad
96f8741e
CY
11085 response to the capability command.
11086
b09a806e
GM
110872012-01-10 Glenn Morris <rgm@gnu.org>
11088
11089 * mail/unrmail.el (unrmail): Tweak previous change.
11090
7655cb66
CY
110912012-01-09 Chong Yidong <cyd@gnu.org>
11092
11093 * custom.el (custom-safe-themes): Use SHA-256 for hashing.
11094
9d5a8f0b
AM
110952012-01-08 Alan Mackenzie <acm@muc.de>
11096
11097 Optimise font locking in long enum definitions.
11098
11099 * progmodes/cc-fonts.el (c-font-lock-declarations): Add an extra
11100 arm to a cond form to handle enums.
11101 * progmodes/cc-langs.el (c-enums-contain-decls): New lang variable.
11102 * progmodes/cc-mode.el (c-font-lock-fontify-region): Correct a typo.
11103
9a0115ab 111042012-01-07 Paul Eggert <eggert@cs.ucla.edu>
6bb72cbd
PE
11105
11106 * files.el (move-file-to-trash): Preserve default file modes on error.
a0562b3d 11107 (Bug#10401)
6bb72cbd 11108
f186bb95
LMI
111092012-01-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
11110
29232a68
LMI
11111 * faces.el (set-face-attribute): Clarify the meaning of the nil
11112 frame (bug#10294).
11113
4e5d086d
LMI
11114 * subr.el (with-selected-frame): Mention that the selected frame
11115 is restored (bug#9980).
11116
8e66aebe
LMI
11117 * ibuffer.el (ibuffer-mode): List the bindings in the corrent map
11118 (bug#9759).
11119
cd394be1 11120 * mail/smtpmail.el (password-cache-add): Remove unused declaration.
f186bb95
LMI
11121 (password-read): Don't autoload unused function.
11122
adf4e762
JB
111232012-01-07 Juanma Barranquero <lekktu@gmail.com>
11124
11125 * progmodes/which-func.el (which-func-mode): Turn into a
11126 non-interactive function and mark as obsolete (bug#10428).
11127
89bd9ccd
CY
111282012-01-06 Chong Yidong <cyd@gnu.org>
11129
11130 * files.el (hack-dir-local-variables-non-file-buffer): Add doc.
11131 (hack-one-local-variable-eval-safep): Allow 0 arg for minor mode
11132 functions, along with 1 and -1.
11133
4afee9d5
EZ
111342012-01-06 Eli Zaretskii <eliz@gnu.org>
11135
11136 * time.el (display-time-load-average)
11137 (display-time-default-load-average): Doc fixes. See the thread
11138 starting at
11139 http://lists.gnu.org/archive/html/help-gnu-emacs/2012-01/msg00059.html
11140 for the details.
11141
536aea70
GM
111422012-01-06 Glenn Morris <rgm@gnu.org>
11143
665ae865
GM
11144 * mail/unrmail.el (unrmail): Give an explicit error if the input file
11145 has no messages. (Bug#10377)
11146
c869783d
GM
11147 * info.el (Info-mode-map): Bind e to end-of-buffer, rather
11148 than Info-edit. (Bug#10385)
11149
2bb4227e
GM
11150 * time.el (display-time-load-average, display-time-next-load-average):
11151 Doc fixes.
11152
7d5944b9
GM
11153 * emacs-lisp/bytecomp.el (byte-compile-file): Do not propagate a file
11154 local setting of buffer-read-only to the input buffer. (Bug#10419)
11155
536aea70
GM
11156 * calendar/calendar.el (calendar-mode):
11157 Locally set scroll-margin to 0. (Bug#10379)
11158
7dccca16
UM
111592012-01-06 Ulrich Mueller <ulm@gentoo.org>
11160
11161 * play/doctor.el (doctor-death): Escape "," characters. (Bug#10370)
11162
afbb7930
GM
111632012-01-05 Glenn Morris <rgm@gnu.org>
11164
11165 * eshell/em-unix.el (diff-no-select): Autoload it.
11166 (eshell/diff): Use diff-no-select. (Bug#10420)
11167
04482335
CY
111682012-01-05 Chong Yidong <cyd@gnu.org>
11169
7baca3bc
CY
11170 * shell.el (shell-dynamic-complete-functions): Revert last change.
11171 (shell-command-completion-function): New function.
11172 (shell-completion-vars): Use it to implement
11173 shell-completion-execonly (Bug#10417).
11174
04482335
CY
11175 * custom.el (enable-theme): Don't set custom-safe-themes.
11176
1d00653d
SM
11177 * cus-theme.el (custom-theme-merge-theme):
11178 Ignore custom-enabled-themes and custom-safe-themes.
04482335 11179
bb5aa5d6
MM
111802012-01-05 Michael R. Mauger <mmaug@yahoo.com>
11181
11182 * progmodes/sql.el (sql-login-hook): Add hook to respond to the
11183 first prompt in `sql-interacive-mode'.
11184 (sql-mode-oracle-font-lock-keywords): Add CONNECT_BY_* builtin
04482335 11185 keywords.
6df6ae42 11186 (sql-mode-mysql-font-lock-keywords): Add ELSEIF keyword.
bb5aa5d6
MM
11187 (sql-product-interactive): Bug fix: Set `sql-buffer' in
11188 context of original buffer. Invoke `sql-login-hook'.
11189
a7183d7c
EZ
111902012-01-04 Eli Zaretskii <eliz@gnu.org>
11191
11192 * mail/rmail.el (rmail-font-lock-keywords): Accept non-ASCII
11193 letters in cite-prefix.
11194
a1eacd1e
LMI
111952012-01-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
11196
11197 * mail/smtpmail.el (smtpmail-stream-type): Mention the `ssl' value.
11198
787cdb34
CY
111992012-01-03 Chong Yidong <cyd@gnu.org>
11200
1d00653d
SM
11201 * shell.el (shell-dynamic-complete-functions):
11202 Put pcomplete-completions-at-point, so as to try
787cdb34
CY
11203 comint-filename-completion first (Bug#10417).
11204
30710442
RS
112052012-01-02 Richard Stallman <rms@gnu.org>
11206
11207 * battery.el (battery-status-function):
11208 Detect when to use battery-yeeloong-sysfs.
11209 (battery-echo-area-format): Add string for Yeeloong.
11210 (battery-linux-proc-apm, battery-linux-proc-acpi): Doc fixes.
11211 (battery-yeeloong-sysfs): New function.
11212
f75bfc33
CY
112132012-01-02 Chong Yidong <cyd@gnu.org>
11214
11215 * dirtrack.el (dirtrack-list): Eliminate unused third element.
11216 (dirtrack): Merge code for handling relative filenames in prompt
11217 from shell-dir-cookie-watcher.
11218 (dirtrack-debug-message): New arg to avoid excess format calls.
11219
11220 * shell.el (shell-dir-cookie-re): Variable deleted.
11221 (shell-dir-cookie-watcher): Function deleted.
11222 (shell-mode): Don't use shell-dir-cookie-re, since it is redundant
11223 with dirtrack-mode.
11224
651e947e
EZ
112252012-01-01 Eli Zaretskii <eliz@gnu.org>
11226
1d00653d
SM
11227 * term/w32-win.el (dynamic-library-alist) <gnutls>:
11228 Load libgnutls-28.dll, from GnuTLS version 3.x, in preference to
651e947e
EZ
11229 libgnutls-26.dll.
11230
94d4c7dc
AS
112312011-12-31 Andreas Schwab <schwab@linux-m68k.org>
11232
11233 * emacs-lisp/bytecomp.el (byte-compile-file): Fix indentation.
11234
8d43f3cd
EZ
112352011-12-31 Eli Zaretskii <eliz@gnu.org>
11236
11237 * mail/rmail.el (rmail-show-message-1): Decode any RFC2047 encoded
11238 headers of non-MIME messages, when rmail-enable-mime is non-nil.
11239
98c8795a
MA
112402011-12-29 Michael Albinus <michael.albinus@gmx.de>
11241
11242 * net/tramp-sh.el (tramp-find-shell): Set "remote-shell" property
11243 also for alternative shells.
11244 (tramp-open-connection-setup-interactive-shell): Check, whether
11245 the shell is a busybox.
11246 (tramp-send-command): Don't suppress multiple prompts for
11247 busyboxes, it hurts.
11248
51281b32
CY
112492011-12-28 Chong Yidong <cyd@gnu.org>
11250
11251 * progmodes/gdb-mi.el (gdb-get-source-file-list)
11252 (gdb-get-source-file): Move mode line update to
11253 gdb-get-source-file (Bug#10087).
11254
2170cb53
CY
112552011-12-25 Chong Yidong <cyd@gnu.org>
11256
11257 * progmodes/gud.el (gud-gdb-fetch-lines-filter): Just use
11258 gud-gdb-marker-filter without taking it as an argument.
11259 (gud-gdb-run-command-fetch-lines): Caller changed.
11260 (gud-gdb-completion-function): New variable.
11261 (gud-gdb-completion-at-point): Use it.
11262 (gud-gdb-completions-1): Split from gud-gdb-completions.
11263
11264 * progmodes/gdb-mi.el (gdb-input): Accept command and handler
11265 function as separate arguments.
11266 (gdb-init-1, gdb-non-stop-handler, gdb-check-target-async)
11267 (gdb-tooltip-print-1, gud-watch, gdb-speedbar-update)
11268 (gdb-var-list-children, gdb-var-set-format, gdb-var-delete-1)
11269 (gdb-var-delete-children, gdb-edit-value, gdb-var-update)
11270 (gdb-stopped, def-gdb-auto-update-trigger)
11271 (gdb-place-breakpoints, gdb-select-thread, gdb-select-frame)
b81d40f0
JB
11272 (gdb-get-changed-registers, gdb-get-main-selected-frame):
11273 Callers changed.
2170cb53
CY
11274 (gud-gdbmi-completions): New function.
11275 (gdb): Use it for generating the completion table.
11276
be8b11bb
AM
112772011-12-24 Alan Mackenzie <acm@muc.de>
11278
11279 Introduce a mechanism to widen the region used in context font
1d00653d 11280 locking. Use this to protect declarations from losing their contexts.
be8b11bb 11281
1d00653d
SM
11282 * progmodes/cc-langs.el (c-before-font-lock-functions):
11283 Replace c-set-fl-decl-start with c-change-set-fl-decl-start (Renaming).
b81d40f0 11284 (c-before-context-fontification-functions): New defvar, a list of
be8b11bb
AM
11285 functions to be run just before context (etc.) font locking.
11286
11287 * progmodes/cc-mode.el (c-extend-font-lock-region-for-macros):
b81d40f0 11288 New, functionality extracted from
be8b11bb 11289 c-neutralize-syntax-in-and-mark-CPP.
b81d40f0 11290 (c-in-after-change-fontification): New variable.
be8b11bb
AM
11291 (c-after-change): Set c-in-after-change-fontification.
11292 (c-set-fl-decl-start): Rejig its interface, so it can be called
11293 from both after-change and context fontifying.
b81d40f0
JB
11294 (c-change-set-fl-decl-start, c-context-set-fl-decl-start):
11295 New functions.
11296 (c-standard-font-lock-fontify-region-function): New variable.
11297 (c-font-lock-fontify-region): New function.
be8b11bb 11298
341cf6ac
JL
112992011-12-24 Juri Linkov <juri@jurta.org>
11300
11301 * window.el (window--state-get-1): Set `FORCE' arg of `mark' to t.
11302 (Bug#10348)
11303
bffcee0a
MA
113042011-12-23 Michael Albinus <michael.albinus@gmx.de>
11305
11306 * net/ange-ftp.el (ange-ftp-copy-file-internal): Check for
11307 existence of source file. (Bug#10325)
11308
cb5e207c
AM
113092011-12-23 Alan Mackenzie <acm@muc.de>
11310
11311 Fix unstable fontification inside templates.
11312
b81d40f0
JB
11313 * progmodes/cc-langs.el (c-before-font-lock-functions):
11314 Newly created from the singular version. The (c c++ objc) entry now
cb5e207c
AM
11315 additionally has c-set-fl-decl-start. The other languages (apart
11316 from AWK) have that as a single entry.
11317
b81d40f0
JB
11318 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
11319 The functionality for "local" declarations has been extracted to
cb5e207c
AM
11320 c-set-fl-decl-start.
11321
b81d40f0
JB
11322 * progmodes/cc-mode.el (c-common-init, c-after-change):
11323 Changes due to pluralisation of c-before-font-lock-functions.
cb5e207c
AM
11324 (c-set-fl-decl-start): New function, extracted from
11325 c-font-lock-enclosing-decls and enhanced.
11326
60ff536c
JB
113272011-12-23 Juanma Barranquero <lekktu@gmail.com>
11328
11329 * desktop.el (desktop-internal-v2s): Fix typos in docstring (bug#10353).
11330
1c4757d6
JL
113312011-12-22 Juri Linkov <juri@jurta.org>
11332
11333 * progmodes/grep.el (rgrep): Fix docstring. (Bug#10185)
11334
d031f2c7
CY
113352011-12-22 Chong Yidong <cyd@gnu.org>
11336
11337 * vc/vc-hooks.el (vc-keep-workfiles): Doc fix.
11338
bace743a
DA
113392011-12-21 Drew Adams <drew.adams@oracle.com>
11340
11341 * files.el (file-remote-p): Fix docstring. (Bug#10319)
11342
728a1f2b
JC
113432011-12-21 Jérémy Compostella <jeremy.compostella@gmail.com>
11344
11345 * battery.el (battery-linux-sysfs): Add missing parameters from acpi.
11346
0d373f73
TZ
113472011-12-21 Teodor Zlatanov <tzz@lifelogs.com>
11348
fec0aaa4
TZ
11349 * progmodes/cfengine.el: Add Version. Improve CFEngine 3.x syntax
11350 highlighting and support. Fix up comments for capitalization.
11351 (cfengine-mode-debug): New var.
11352 (cfengine3-mode): Change the modeline indicator to "CFE3".
11353 (cfengine3-font-lock-keywords): Improve defun highlighting.
11354 (cfengine2-actions): Rename from `cfengine-actions'.
11355 (cfengine2-font-lock-keywords): Rename from
11356 `cfengine-font-lock-keywords'.
11357 (cfengine2-imenu-expression): Rename from
11358 `cfengine-imenu-expression'.
11359 (cfengine2-outline-level): Rename from `cfengine-outline-level'.
11360 (cfengine2-beginning-of-defun): Rename from
11361 `cfengine-beginning-of-defun'.
11362 (cfengine2-end-of-defun): Rename from `cfengine-end-of-defun'.
11363 (cfengine2-indent-line): Rename from `cfengine-indent-line'.
11364 (cfengine2-mode): Rename from `cfengine-mode'. Change the
11365 modeline indicator to "CFE2".
11366 (cfengine-mode): Defalias to `cfengine-auto-mode'.
11367 (cfengine-mode-abbrevs): Mark obsolete.
0d373f73 11368
bc86f573
CY
113692011-12-21 Chong Yidong <cyd@gnu.org>
11370
11371 * vc/vc-bzr.el (vc-bzr-rename-file): Don't pass ~ to Bzr in
11372 filename argument.
11373
d45ba96b
MR
113742011-12-20 Martin Rudalics <rudalics@gmx.at>
11375
11376 * window.el (window-normalize-buffer-to-display): Remove.
11377 (display-buffer): Handle buffer-or-name argument as in Emacs 23.
11378
a6198c90
CY
113792011-12-19 Chong Yidong <cyd@gnu.org>
11380
11381 * vc/vc-dir.el (vc-dir-parent-marked-p, vc-dir-children-marked-p):
11382 Don't signal an error in a predicate function; return non-nil.
11383 (vc-dir-mark-file): Move the error here.
11384 (vc-dir-mark-unmark): If acting on the region, keep going if one
11385 of the entries cannot be marked/unmarked.
11386 (vc-dir-mark-all-files): If current entry is a directory, mark
11387 only child files, as documented.
11388
34c5fb55
VB
113892011-12-19 Vincent Belaïche <vincentb1@users.sourceforge.net>
11390
11391 * ses.el: Ooops... undo changes of 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net, as trunk
11392 branch is feature frozen, and 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net was a feature
11393 addition.
11394
c803b2b7
JD
113952011-12-18 Jan Djärv <jan.h.d@swipnet.se>
11396
11397 * term/ns-win.el (ns-get-selection-internal)
11398 (ns-store-selection-internal): Declare.
1154d12e
JB
11399 (ns-store-cut-buffer-internal, ns-get-cut-buffer-internal):
11400 Declare as obsolete.
11401 (ns-get-pasteboard, ns-paste-secondary):
11402 Use ns-get-selection-internal.
41e9b956 11403 (ns-set-pasteboard, ns-copy-including-secondary):
1154d12e 11404 Use ns-store-selection-internal.
c803b2b7 11405
9cff91f8 114062011-12-17 Chong Yidong <cyd@gnu.org>
99a289d9
CY
11407
11408 * vc/vc.el (vc-next-action): Doc fix; remove CVS-isms.
9cff91f8 11409 (vc-deduce-fileset): Doc fix.
99a289d9 11410
f16c898a
AS
114112011-12-16 Andreas Schwab <schwab@linux-m68k.org>
11412
11413 * calc/calc-misc.el (calc-help): Avoid wrapping help message.
11414
763237c4
SS
114152011-12-13 Sam Steingold <sds@gnu.org>
11416
11417 * man.el (Man-getpage-in-background): When running under a
11418 window-system, ignore $MANWIDTH and $COLUMNS.
11419
5fc1c122
KH
114202011-12-15 Kenichi Handa <handa@m17n.org>
11421
11422 * language/ethio-util.el: Change coding tag to utf-8-emacs.
11423 (setup-ethiopic-environment-internal): Comment out key-binding for
11424 ethio-toggle-punctuation.
11425
13d49cbb
AM
114262011-12-13 Alan Mackenzie <acm@muc.de>
11427
898169a2
AM
11428 Add the switch statement to AWK Mode.
11429
7a71b18d 11430 * progmodes/cc-awk.el (awk-font-lock-keywords): Add "switch", "case",
898169a2
AM
11431 "default" to the keywords regexp.
11432
7a71b18d 11433 * progmodes/cc-langs.el (c-label-kwds): Let AWK take the same
898169a2 11434 expression as the rest.
1d00653d
SM
11435 (c-nonlabel-token-key): Allow string literals for AWK.
11436 Refactor for the other modes.
898169a2 11437
13d49cbb 11438 Large brace-block initialisation makes CC Mode slow: Fix.
1d00653d 11439 Tidy up and accelerate c-in-literal, etc. by using the c-parse-state
13d49cbb
AM
11440 routines. Limit backward searching in c-font-lock-enclosing.decl.
11441
11442 * progmodes/cc-engine.el (c-state-pp-to-literal): Return the
11443 pp-state and literal type in addition to the limits.
1d00653d 11444 (c-state-safe-place): New defun, extracted from c-state-literal-at.
13d49cbb 11445 (c-state-literal-at): Use the above new defun.
1d00653d
SM
11446 (c-slow-in-literal, c-fast-in-literal): Remove.
11447 (c-in-literal, c-literal-limits): Amend to use c-state-pp-to-literal.
13d49cbb
AM
11448
11449 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls): Check for
11450 being in a literal. Add a limit for backward searching.
11451
11452 * progmodes/cc-mode.el (awk-mode): Don't alias c-in-literal to
11453 c-slow-in-literal.
11454
15e0efc7
SM
114552011-12-13 Stefan Monnier <monnier@iro.umontreal.ca>
11456
11457 * progmodes/pascal.el: Declare `ind' as dyn-bound (bug#10264).
11458
454592a6
MR
114592011-12-13 Martin Rudalics <rudalics@gmx.at>
11460
11461 * window.el (delete-other-windows): Use correct frame in call to
11462 window-with-parameter.
11463
87393f26
DP
114642011-12-12 Daniel Pfeiffer <occitan@t-online.de>
11465
11466 * progmodes/make-mode.el: Bring it up to date with makepp V2.0.
11467 (makefile-make-font-lock-keywords): Extend meaning of `keywords'.
11468 (makefile-gmake-statements, makefile-makepp-statements):
11469 Use it and add new makepp keywords.
11470 (makefile-makepp-font-lock-keywords): Add new patterns.
11471 (makefile-match-function-end): Match new [...] and [[...]].
11472
11636b22
JB
114732011-12-11 Juanma Barranquero <lekktu@gmail.com>
11474
11475 * ses.el (ses-call-printer-return, ses-cell-property-get)
11476 (ses-sym-rowcol, ses-printer-validate, ses-formula-record)
11477 (ses-create-cell-variable, ses-reset-header-string)
11478 (ses-cell-set-formula, ses-repair-cell-reference-all)
11479 (ses-self-reference-early-detection, ses-in-print-area, ses-set-curcell)
11480 (ses-check-curcell, ses-call-printer, ses-adjust-print-width)
11481 (ses-print-cell-new-width, ses-formula-references, ses-relocate-formula)
11482 (ses-aset-with-undo, ses-load, ses-truncate-cell)
11483 (ses-read-column-printer, ses-read-default-printer, ses-insert-row)
11484 (ses-delete-row, ses-delete-column, ses-append-row-jump-first-column)
11485 (ses-kill-override, ses-yank-pop, ses-yank-cells, ses-yank-tsf)
11486 (ses-yank-resize, ses-export-tab, ses-mark-row, ses-mark-column)
11487 (ses-renarrow-buffer, ses-insert-range, ses-insert-ses-range)
11488 (ses-safe-printer, ses-safe-formula, ses-warn-unsafe, ses--clean-!)
11489 (ses--clean-_, ses-range, ses-select, ses-center, ses-center-span)
11490 (ses-dashfill, ses-unsafe): Fix typos and reflow docstrings.
11491
cf018193
VB
114922011-12-11 Vincent Belaïche <vincentb1@users.sourceforge.net>
11493
11494 * ses.el: The overall change is to add cell renaming, that is
11495 setting fancy names for cell symbols other than name matching
11496 "\\`[A-Z]+[0-9]+\\'" regexp .
11497 (ses-create-cell-variable): New defun.
11498 (ses-relocate-formula): Relocate formulas only for cells the
11499 symbols of which are not renamed, i.e. symbols whose names do not
11500 match regexp "\\`[A-Z]+[0-9]+\\'".
11501 (ses-relocate-all): Relocate values only for cells the symbols of
11502 which are not renamed.
11503 (ses-load): Create cells variables as the (ses-cell ...) are read,
11504 in order to check row col consistency with cell symbol name only
11505 for cells that are not renamed.
11506 (ses-replace-name-in-formula): New defun.
11507 (ses-rename-cell): New defun.
11508
ee957461
CY
115092011-12-11 Chong Yidong <cyd@gnu.org>
11510
11511 * progmodes/gdb-mi.el (gdb): Set comint-prompt-regexp, required
11512 for completion via gud-gdb-fetch-lines-filter (Bug#10274).
11513
9a9e9ef0
MR
115142011-12-11 Eric Hanchrow <eric.hanchrow@gmail.com>
11515
11516 * window.el (other-window): Fix docstring.
11517
92a8eba5
EZ
115182011-12-10 Eli Zaretskii <eliz@gnu.org>
11519
11520 * mail/rmailsum.el (rmail-header-summary): RFC2047 decode the
1d00653d
SM
11521 `from' or `to' address before taking its substring.
11522 Fixes incorrect display in Rmail summary buffer whereby an RFC2047
92a8eba5
EZ
11523 encoded name is chopped in the middle of the encoded string, and
11524 thus displayed encoded.
11525
e152e577
JB
115262011-12-10 Juanma Barranquero <lekktu@gmail.com>
11527
11528 * makefile.w32-in (update-subdirs-CMD): Use a Local Variables section.
11529
e5d84bfe
EZ
115302011-12-10 Eli Zaretskii <eliz@gnu.org>
11531
11532 * textmodes/texnfo-upd.el: Update commentary. Add a warning not
11533 to use texinfo-update-node and commands that call it if the
11534 Texinfo file uses @node lines without next/prev/up pointers.
b8830d28 11535 Correct outdated description about texinfo-master-menu.
e5d84bfe
EZ
11536 (texinfo-all-menus-update, texinfo-master-menu)
11537 (texinfo-update-node, texinfo-every-node-update)
11538 (texinfo-multiple-files-update): Doc fix. Warn against updating
11539 all the @node lines.
11540 (texinfo-master-menu): Only call texinfo-update-node if the prefix
b8830d28
EZ
11541 argument is numeric. Explain better in the doc string what the
11542 function really does.
11543 (texinfo-insert-master-menu-list): Improve the error message
11544 displayed if there's no menu in the Top node.
11545 (Bug#2975) See also this thread:
e5d84bfe
EZ
11546 http://lists.gnu.org/archive/html/emacs-devel/2011-12/msg00156.html.
11547
1d84e9bb
MG
115482011-12-09 Manuel Gómez <mgrojo@gmail.com> (tiny change)
11549
11550 * speedbar.el (speedbar-supported-extension-expressions):
11551 Add .adb and .ads, commonly used for Ada source code (bug#10256).
11552
382c953b
JB
115532011-12-09 Juanma Barranquero <lekktu@gmail.com>
11554
11555 * printing.el (pr-mode-alist):
11556 * simple.el (filter-buffer-substring-functions)
11557 (completion-list-insert-choice-function):
11558 * window.el (window-with-parameter, window-atom-root)
11559 (window-sides-slots, window-size-fixed, window-min-delta)
11560 (window-max-delta, window--resize-mini-window)
11561 (window--resize-child-windows-normal, window-tree)
11562 (delete-other-windows, quit-window, split-window)
11563 (display-buffer-record-window, special-display-buffer-names)
11564 (special-display-regexps, special-display-popup-frame)
11565 (same-window-p, split-window-sensibly)
11566 (display-buffer-overriding-action, display-buffer-alist)
11567 (display-buffer-base-action, display-buffer, switch-to-buffer)
11568 (switch-to-buffer-other-window, switch-to-buffer-other-frame)
11569 (fit-window-to-buffer, recenter-positions)
11570 (mouse-autoselect-window-state, mouse-autoselect-window-select):
11571 * emacs-lisp/syntax.el (syntax-propertize-function): Fix typos
11572 and remove unneeded backslashes in docstrings.
11573
39c9faef
SM
115742011-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
11575
98449af8
SM
11576 * emacs-lisp/lisp-mode.el (defmethod): Add doc-string-elt (bug#10244).
11577
39c9faef
SM
11578 * pcmpl-gnu.el: Don't fail when there is no Makefile nor -f arg.
11579 (pcmpl-gnu-makefile-regexps): Accept "makefile" as well as files that
11580 end in ".mk".
11581 (pcmpl-gnu-make-rule-names): Check "makefile" and ignore errors
11582 when reading the makefile (bug#10116).
11583
86ed9fdc
SM
115842011-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
11585
11586 * pcmpl-gnu.el (pcomplete/make): Also allow filename arguments
11587 (bug#10116).
11588
5580f89d
GM
115892011-12-06 Glenn Morris <rgm@gnu.org>
11590
11591 * emacs-lisp/package.el (package-archives): Doc fix re riskiness.
11592
28d3917c
CY
115932011-12-06 Chong Yidong <cyd@gnu.org>
11594
11595 * progmodes/cc-fonts.el (c-annotation-face): Use defface.
11596
a98edce9
JB
115972011-12-06 Juanma Barranquero <lekktu@gmail.com>
11598
11599 * textmodes/table.el (table-shorten-cell): Fix typo.
11600
e65adfac
CG
116012011-12-05 Christopher Genovese <genovese.cr@gmail.com> (tiny change)
11602
11603 * emacs-lisp/assoc.el (aput): Fix return value (bug#10146)
11604
71cc0b74
EZ
116052011-12-05 Eli Zaretskii <eliz@gnu.org>
11606
11607 * descr-text.el (describe-char): Fix display of strong
11608 right-to-left characters and directional embeddings and overrides.
11609
11610 * simple.el (what-cursor-position): Fix display of codepoints of
11611 strong right-to-left characters.
11612
315bc30d
CY
116132011-12-05 Chong Yidong <cyd@gnu.org>
11614
11615 * faces.el (read-color): Doc fix.
11616
58a70b94
GM
116172011-12-05 Glenn Morris <rgm@gnu.org>
11618
11619 * align.el (align--set-marker): Add doc-string.
11620 Don't try to move something that is not a marker. (Bug#10216)
11621
5158face
GM
116222011-12-04 Glenn Morris <rgm@gnu.org>
11623
11624 * calendar/appt.el (appt-add): Rewrite the interactive-spec to avoid
11625 overly zealous deletion of trailing whitespace.
11626
520fca41
JB
116272011-12-04 Juanma Barranquero <lekktu@gmail.com>
11628
11629 * server.el (server-delete-client): On Windows, do not try to delete
11630 the only terminal.
11631 (server-process-filter): On Windows, treat requests for a tty frame as
11632 if they were for a GUI frame if the running server is in GUI mode.
11633
5e605a2e
GM
116342011-12-03 Glenn Morris <rgm@gnu.org>
11635
11636 * textmodes/texinfmt.el (batch-texinfo-format): Doc fix. (Bug#10207)
11637
5c3fe83f
SM
116382011-12-03 Stefan Monnier <monnier@iro.umontreal.ca>
11639
6f5e57e7
SM
11640 * electric.el: Streamline electric-indent's hook.
11641 (electric-indent-chars): Revert to simple list.
11642 (electric-indent-functions): New var.
11643 (electric-indent-post-self-insert-function): Use it.
11644
5c3fe83f
SM
11645 * progmodes/prolog.el (prolog-find-value-by-system): Avoid error when
11646 there's no inferior buffer (bug#10196).
11647 (prolog-consult-compile): Don't use toggle-read-only.
11648
6bdac736
MA
116492011-12-02 Michael Albinus <michael.albinus@gmx.de>
11650
11651 * net/tramp-sh.el (tramp-maybe-open-connection): Handle user
11652 interrupt. (Bug#10187)
11653
6131ba7f
SM
116542011-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
11655
99c79fee
SM
11656 * pcmpl-gnu.el (pcomplete/tar): large-file-warn-threshold can be nil
11657 (bug#9160).
11658
6131ba7f
SM
11659 * dired-aux.el (dired-query): Don't assume help-char is modifier-free
11660 (bug#10191).
11661
cb0a02ea
JL
116622011-12-02 Juri Linkov <juri@jurta.org>
11663
11664 * info.el (Info-search): Display "end of manual" when Isearch
11665 reaches the end of single-file Info manual. (Bug#9918)
11666
66e0570c
EZ
116672011-12-02 Eli Zaretskii <eliz@gnu.org>
11668
11669 * isearch.el (isearch-message-prefix): Run the input method part
11670 of the prompt through bidi-string-mark-left-to-right. (Bug#10183)
11671
02b16839
JL
116722011-12-02 Juri Linkov <juri@jurta.org>
11673
11674 * isearch.el (isearch-occur): Use `word-search-regexp' for
11675 `isearch-word'.
11676 (isearch-search-and-update): Add condition for `isearch-word' and
11677 call `word-search-regexp'. (Bug#10145)
11678
0b950688
GM
116792011-12-01 Glenn Morris <rgm@gnu.org>
11680
11681 * eshell/em-hist.el (eshell-hist-initialize):
11682 Handle eshell-history-size nil and HISTSIZE set or unset.
e8087a76 11683 (eshell-history-file-name, eshell-history-size): Fix custom type.
0b950688 11684
9505c3c7
SM
116852011-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
11686
11687 * man.el (Man-completion-table): Fix the lambda case (bug#10168).
11688
1bbe96b2 116892011-12-01 Michael McNamara <mac@mail.brushroad.com>
6288f0ca 11690
a1beca85
SM
11691 * progmodes/verilog-mode.el (verilog-pretty-expr):
11692 Rework verilog-pretty-expr to handle new assignment operators in system
6288f0ca
WS
11693 verilog, such as += *= and the like.
11694 (verilog-assignment-operator-re): Regular expression to find the
11695 assigment operator in a verilog assignment.
11696 (verilog-assignment-operation-re): Regular expression to find an
11697 assignment statement for pretty-expr.
11698 (verilog-in-attribute-p): Query returns true if point is in an
11699 attribute context; used to skip these for expression line up from
11700 pretty-expr.
11701 (verilog-in-parameter-p): Query returns true if point is in an
11702 parameter definition context; used to skip these for expression
11703 line up from pretty-expr.
11704 (verilog-in-parenthesis-p): Query returns true if point is in a
11705 parenthetical expression, specifically ( ) but not [ ] or { };
11706 used by pretty-expr.
11707 (verilog-just-one-space): If there is no space, don't add one.
11708 (verilog-get-lineup-indent-2): Specifically skip just attribute
11709 contexts for expression lineup, rather than skipping all
11710 parenthetical expressions.
11711 (verilog-calculate-indent): Fix comment, and fix indent.
11712 (verilog-do-indent): Indent declarations in lists (suggested by
11713 Joachim Lechner).
11714 (verilog-mode-abbrev-table): Populate abbrev mode with the various
11715 skeleton items.
11716 (verilog-sk-ovm-class): Add skeleton for OVM classes (reported
11717 by Alain Mellan).
11718
1bbe96b2 117192011-12-01 Wilson Snyder <wsnyder@wsnyder.org>
6288f0ca
WS
11720
11721 * progmodes/verilog-mode.el (verilog-read-defines): Fix reading
11722 parameters with embedded comments. Reported by Ray Stevens.
11723 (verilog-calc-1, verilog-fork-wait-re) (verilog-forward-sexp,
11724 verilog-wait-fork-re): Fix indentation of "wait fork", bug407.
11725 Reported by Tim Holt.
11726 (verilog-auto): Fix AUTOing a upper module then AUTOing module
11727 instantiated by upper module causing wrong expansion until AUTOed a
11728 second time. Reported by K C Buckenmaier.
11729 (verilog-diff-auto): Fix showing .* as a difference when
11730 `verilog-auto-star-save' off. Reported by Dan Dever.
11731 (verilog-auto-reset, verilog-read-always-signals)
11732 (verilog-auto-reset-blocking-in-non): Fix AUTORESET including
11733 temporary signals in reset list if
11734 verilog-auto-reset-blocking-in-non is nil, and match assignment
a1beca85
SM
11735 style to each signal's assignment type, bug381.
11736 Reported by Thomas Esposito.
6288f0ca
WS
11737 (verilog-sk-uvm-class, verilog-uvm-begin-re, verilog-uvm-end-re)
11738 (verilog-uvm-statement-re): Support UVM indentation and
11739 highlighting, with old OVM keywords only.
a1beca85 11740 (verilog-auto-tieoff, verilog-auto-tieoff-declaration):
1d00653d
SM
11741 Support AUTOTIEOFF creating non-wire data types.
11742 Suggested by Jonathan Greenlaw.
6288f0ca
WS
11743 (verilog-auto-insert-lisp, verilog-delete-to-paren)
11744 (verilog-forward-sexp-cmt, verilog-forward-sexp-ign-cmt)
11745 (verilog-inject-sense, verilog-read-inst-pins)
a1beca85
SM
11746 (verilog-read-sub-decls, verilog-read-sub-decls-line):
11747 Fix mismatching parenthesis inside commented out code when deleting
382c953b 11748 AUTOINST, bug383. Reported by Jonathan Greenlaw.
6288f0ca
WS
11749 (verilog-auto-ascii-enum): Fix AUTOASCIIENUM one-hot with
11750 non-numeric vector width. Reported by Alex Reed.
11751 (verilog-auto-ascii-enum): Add "onehot" option to work around not
382c953b 11752 detecting signals with parameter widths. Reported by Alex Reed.
a1beca85
SM
11753 (verilog-auto-delete-trailing-whitespace):
11754 With `verilog-auto-delete-trailing-whitespace' remove trailing
6288f0ca
WS
11755 whitespace in auto expansion, bug371. Reported by Brad Dobbie.
11756 (verilog-run-hooks, verilog-scan-cache-flush, verilog-syntax-ppss):
11757 Fix verilog-scan-cache corruption when running user AUTO expansion
11758 hooks that call indentation routines.
11759 (verilog-simplify-range-expression): Fix typo ignoring lower case
11760 identifiers.
11761 (verilog-delete-auto): Fix delete-autos to also remove user created
11762 automatics, as long as they start with AUTO.
11763 (verilog-batch-diff-auto, verilog-diff-auto)
11764 (verilog-diff-function): Add `verilog-diff-auto' and bind to
11765 "C-c?" to report differences in AUTO expansion, ignoring spaces.
11766 (verilog-backward-syntactic-ws-quick, verilog-beg-of-defun-quick)
11767 (verilog-in-paren-quick, verilog-re-search-backward-quick)
a1beca85
SM
11768 (verilog-re-search-forward-quick, verilog-syntax-ppss):
11769 Fix calling `syntax-ppss' when inside auto expansions as the ppss hook
6288f0ca
WS
11770 is disabled and its cache will get corrupt, causing AUTOS not to
11771 expand. Instead use only -quick functions.
11772 (verilog-scan-region): Fix scanning over escaped quotes.
11773 (verilog-inside-comment-or-string-p, verilog-inside-comment-p)
11774 (verilog-re-search-backward-quick)
11775 (verilog-re-search-forward-quick, verilog-scan): verilog-scan and
11776 related functions now ignore strings, to fix misparsing of strings
11777 with magic comments embedded in them.
a1beca85
SM
11778 (verilog-read-auto-template):
11779 Fix 'verilog-auto-inst-template-numbers' with extra newline before (.
11780 Reported by Brad Dobbie.
11781 (verilog-read-auto-template):
11782 Fix 'verilog-auto-inst-template-numbers' with comments.
6288f0ca 11783 Reported by Brad Dobbie.
6288f0ca
WS
11784 (verilog-auto-inst, verilog-auto-inst-param)
11785 (verilog-auto-inst-sort): Add 'verilog-auto-inst-sort' to reduce
11786 merge conflicts with AUTOINST, bug358. Reported by Brad Dobbie.
11787 (verilog-auto-inst-template-numbers): Add 'lhs' policy for
a1beca85
SM
11788 debugging templates without merge conflicts, bug357.
11789 Reported by Brad Dobbie.
11790 (verilog-read-auto-template):
11791 Fix verilog-auto-inst-template-numbers with multiple templates.
6288f0ca
WS
11792 Reported by Brad Dobbie.
11793 (verilog-define-abbrev): Fix verilog-mode abbrevs to be system
11794 abbrevs so user won't be asked to save.
11795 (verilog-read-auto-lisp-present): Fix to start at beginning of
11796 buffer in case called outside of verilog-auto.
11797 (verilog-simplify-range-expression): Fix AUTOWIRE expanding "X-1+1"
11798 to "X-2". Reported by Matthew Myers.
11799 (verilog-auto, verilog-auto-inout-in): Add AUTOINOUTIN for creating
11800 all inputs from module templates. Reported by Leith Johnson.
11801 (verilog-module-inside-filename-p): Fix locating programs as with
11802 modules.
11803 (verilog-auto-inst-port): Fix vl-width expressions when using
11804 verilog-auto-inst-param-value, bug331. Reported by Julian Gorfajn.
11805 (verilog-decls-get-regs, verilog-decls-get-signals,
11806 verilog-decls-get-vars, verilog-decls-get-wires, verilog-decls-new,
11807 verilog-modi-cache-add-vars, verilog-modi-cache-add-wires,
11808 verilog-read-decls): Combine reg and wire structures into one var
11809 structure to represent SystemVerilog concepts.
11810 (verilog-auto-ascii-enum, verilog-auto-logic, verilog-auto-reg)
11811 (verilog-auto-reg-input, verilog-auto-tieoff, verilog-auto-wire)
a1beca85
SM
11812 (verilog-auto-wire-type, verilog-insert-definition):
11813 Add verilog-auto-wire-type and AUTOLOGIC to support using
6288f0ca
WS
11814 SystemVerilog "logic" keyword instead of "wire"/"reg".
11815 (verilog-auto-reg-input, verilog-decls-get-signals): Fix AUTOWIRE
11816 to declares outputs that also have assignments (presumably in an
a1beca85
SM
11817 ifdef or generate if so there's not a driver conflict).
11818 Reported by Matthew Myers.
11819 (verilog-auto-declare-nettype, verilog-insert-definition):
11820 Add verilog-auto-declare-nettype to fix declarations using
6288f0ca
WS
11821 `default_nettype none. Reported by Julian Gorfajn.
11822 (verilog-read-always-signals-recurse, verilog-read-decls)
11823 (verilog-read-sub-decls-gate): Fix infinite loop with (*) and
11824 malformed end statement, bug325. Reported by Joshua Wise and
11825 Andrew Drake.
11826 (verilog-auto-star-safe, verilog-delete-auto-star-implicit)
11827 (verilog-inst-comment-re): Fix not deleting Interfaced comment
1d00653d
SM
11828 when expanding .* in interfaces, bug320.
11829 Reported by Pierre-David Pfister.
6288f0ca 11830 (verilog-read-module-name): Fix import statements between module
1d00653d
SM
11831 name and open parenthesis, bug317.
11832 Reported by Pierre-David Pfister.
6288f0ca
WS
11833 (verilog-simplify-range-expression): Fix simplification of
11834 multiplications inside AUTOWIRE connections, bug303.
11835 (verilog-auto-inst-port): Support parameter expansion in
11836 multidimensional arrays.
11837 (verilog-read-decls): Fix AUTOREG etc looking for "endproperty"
11838 after "assert property". Reported by Julian Gorfajn.
11839 (verilog-simplify-range-expression): Fix "couldn't merge" errors
11840 with multiplication, bug303.
11841 (verilog-read-decls): Fix parsing of unsigned data types, bug302.
11842 Reported by Jan Frode Lonnum.
11843
1bbe96b2
GM
118442011-11-30 Juanma Barranquero <lekktu@gmail.com>
11845
11846 * htmlfontify.el (hfy-page-header, hfy-post-html-hooks)
11847 (hfy-shell-file-name, hfy-shell):
11848 * international/fontset.el (x-decompose-font-name): Fix typos.
11849
118502011-11-29 Ken Brown <kbrown@cornell.edu>
11851
11852 * progmodes/gdb-mi.el: Fix bug#9853, bug#9858, and bug#9878.
11853 (gdb-version): Remove defvar.
11854 (gdb-supports-non-stop): New defvar, replacing `gdb-version'.
11855 (gdb-gud-context-command, gdb-non-stop-handler)
11856 (gdb-current-context-command, gdb-stopped): Use it.
11857 (gdb-init-1): Enable pretty printing here.
6131ba7f
SM
11858 (gdb-non-stop-handler): Don't enable pretty-printing here.
11859 Check to see if the target supports non-stop mode; if not, turn off
1bbe96b2
GM
11860 non-stop mode. Use the following.
11861 (gdb-check-target-async): New defun.
11862 (gud-watch, gdb-stopped): Fix whitespace.
11863 (gdb-get-source-file): Don't try to display the source file if
11864 `gdb-main-file' is nil.
11865
118662011-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
11867
11868 * align.el: Try to generate fewer markers (bug#10047).
11869 (align--set-marker): New macro.
11870 (align-region): Use it.
11871
c935221f
SM
118722011-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
11873
11874 * isearch.el (isearch-yank-x-selection): Deactivate mark (bug#10022).
11875
e70b5064
CY
118762011-11-29 Chong Yidong <cyd@gnu.org>
11877
11878 * indent.el (indent-for-tab-command, indent-according-to-mode):
11879 Doc fix.
11880 (indent-region): Doc fix. Switch nested ifs to equivalent cond.
11881
f3af92b7
MA
118822011-11-29 Michael Albinus <michael.albinus@gmx.de>
11883
11884 * vc/diff-mode.el (diff-find-file-name): Make `read-file-name'
11885 aware of remote file names. (Bug#10124)
11886
ed472be9
CY
118872011-11-29 Chong Yidong <cyd@gnu.org>
11888
11889 * frame.el (auto-raise-mode, auto-lower-mode): Doc fix.
11890
24510c22
SM
118912011-11-28 Stefan Monnier <monnier@iro.umontreal.ca>
11892
11893 * files.el (find-file): Don't use force-same-window (bug#10144).
11894 * window.el (switch-to-buffer): Better match Emacs-23 behavior and only
11895 use pop-to-buffer if the selected window can't be used.
11896 (pop-to-buffer-same-window): Use display-buffer--same-window-action.
11897
c60c3703
EZ
118982011-11-28 Eli Zaretskii <eliz@gnu.org>
11899
11900 * vc/diff-mode.el (diff-mode-map): Don't inherit 'z' => 'M-z' from
11901 special-mode-map.
11902
e95def75
CY
119032011-11-28 Chong Yidong <cyd@gnu.org>
11904
11905 * emacs-lisp/easy-mmode.el (define-minor-mode): Fix default doc.
11906
c3f1c606
NR
119072011-11-27 Nick Roberts <nickrob@snap.net.nz>
11908
11909 * progmodes/gdb-mi.el (gdb-init-1): Condition execution of
11910 gdb-get-source-file-list on gdb-create-source-file-list.
11911
00db469c
EZ
119122011-11-26 Eli Zaretskii <eliz@gnu.org>
11913
11914 * whitespace.el (whitespace-newline): Use a different foreground
11915 color for 16-color light-background displays.
11916
4ad3bc2a
CY
119172011-11-24 Chong Yidong <cyd@gnu.org>
11918
11919 * window.el (display-buffer--special-action): Doc fix.
11920
e9fce1ac
JB
119212011-11-25 Juanma Barranquero <lekktu@gmail.com>
11922
11923 * emacs-lisp/avl-tree.el (avl-tree--do-copy, avl-tree-create)
11924 (avl-tree-compare-function, avl-tree-empty, avl-tree-enter)
11925 (avl-tree-delete, avl-tree-member, avl-tree-member-p, avl-tree-map)
11926 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar, avl-tree-copy)
11927 (avl-tree-clear, avl-tree-stack, avl-tree-stack-pop)
11928 (avl-tree-stack-first):
11929 * emacs-lisp/cconv.el (cconv--analyse-use):
11930 * net/gnutls.el (gnutls-negotiate): Fix typos.
11931
cb825e5d
GM
119322011-11-24 Glenn Morris <rgm@gnu.org>
11933
3adbe224
GM
11934 * lpr.el (lpr-windows-system, lpr-lp-system):
11935 * mail/binhex.el (binhex-begin-line):
11936 * progmodes/grep.el (grep-history, grep-find-history):
11937 * textmodes/flyspell.el:
11938 * vc/pcvs-defs.el (cvs-global-menu):
11939 * vc/vc-bzr.el (vc-bzr-admin-checkout-format-file):
11940 * vc/vc-mtn.el (vc-mtn-admin-dir, vc-mtn-admin-format):
11941 * vc/vc-cvs.el (vc-cvs-registered): Give them basic doc-strings.
11942
321decc8
GM
11943 * net/tls.el: Fix case of "GnuTLS".
11944
420b63ad
GM
11945 * paths.el (rmail-file-name): Format doc-string for make-docfile.
11946
cb825e5d
GM
11947 * version.el (emacs-build-system): Give it a doc-string.
11948
a0649f08
JL
119492011-11-24 Juri Linkov <juri@jurta.org>
11950
11951 * view.el (view-buffer): Revert 2011-07-19T15:01:49Z!larsi@gnus.org from 2011-07-19 (bug#8615).
11952
c0bc0fd4
GM
119532011-11-24 Glenn Morris <rgm@gnu.org>
11954
11955 * mail/rmailmm.el (rmail-mime): When rmail-enable-mime is non-nil,
11956 if called on a non-mime message just toggle the headers. (Bug#8006)
11957
20db1522
JB
119582011-11-24 Juanma Barranquero <lekktu@gmail.com>
11959
11960 * allout.el (allout-setup, allout-auto-save-temporarily-disabled)
11961 (allout-lead-with-comment-string, allout-structure-deleted-hook)
11962 (allout-mode, allout-chart-subtree, allout-hotspot-key-handler)
11963 (allout-rebullet-heading, allout-open-sibtopic)
11964 (allout-toggle-current-subtree-encryption)
11965 (allout-toggle-subtree-encryption, allout-encrypt-string)
11966 (allout-next-topic-pending-encryption, allout-adjust-file-variable)
11967 (allout-distinctive-bullets-string, allout-auto-activation):
11968 * window.el (window-normalize-buffer-to-display):
11969 * progmodes/verilog-mode.el (verilog-batch-indent):
11970 * textmodes/bibtex.el (bibtex-field-braces-opt)
11971 (bibtex-field-strings-opt):
11972 * vc/cvs-status.el (cvs-tree-merge):
11973 Fix typos.
11974
7262a87c
MA
119752011-11-23 Michael Albinus <michael.albinus@gmx.de>
11976
11977 * rfn-eshadow.el (rfn-eshadow-update-overlay): Let-bind
11978 `non-essential' to t, in order to avoid remote connections.
11979
283430a1
EZ
119802011-11-23 Eli Zaretskii <eliz@gnu.org>
11981
a1beca85
SM
11982 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
11983 On MS-DOS and MS-Windows, compare with loaddefs.el
283430a1
EZ
11984 case-insensitively.
11985
d2992a38
ML
119862011-11-23 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
11987
11988 * mail/unrmail.el (unrmail): Always add blank line. (Bug#7743)
11989
50419064
GM
119902011-11-23 Glenn Morris <rgm@gnu.org>
11991
da94eca1
GM
11992 * paths.el (rmail-file-name): Reformat the doc-string so that it
11993 is picked up.
11994
9aac4de2
GM
11995 * mail/rmail.el (rmail-message-filter, rmail-auto-file): Doc fixes.
11996 (rmail-auto-file): Ignore case in the "special" field names,
11997 as mail-fetch-field does for all others.
11998
8038d2d2
GM
11999 * mail/rmail.el (rmail-forward):
12000 * mail/rmailkwd.el (rmail-set-label):
12001 * mail/rmailout.el (rmail-output, rmail-output-as-seen)
12002 (rmail-output-body-to-file): Give error if no message. (Bug#10082)
12003
f3fe222a
GM
12004 * mail/rmail.el (rmail-current-message): Doc fix.
12005
50419064
GM
12006 * mail/rmail.el (rmail-message-filter): Mark as obsolete. (Bug#2624)
12007
28109f49
SM
120082011-11-22 Stefan Monnier <monnier@iro.umontreal.ca>
12009
12010 * server.el (server-eval-and-print): Allow C-g (bug#6585).
12011
394c65f1
GM
120122011-11-22 Glenn Morris <rgm@gnu.org>
12013
12014 * mail/rmailmm.el (test-rmail-mime-handler)
12015 (test-rmail-mime-bulk-handler)
12016 (test-rmail-mime-multipart-handler): Move tests to test/ directory.
12017
f2a0aa3a
JL
120182011-11-21 Juri Linkov <juri@jurta.org>
12019
1154d12e
JB
12020 * calc/calc.el (calc-read-key-sequence):
12021 Let-bind `input-method-function' to nil. (Bug#10018)
f2a0aa3a 12022
9c34a344
LMI
120232011-11-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
12024
12025 * emacs-lisp/cl-indent.el (common-lisp-loop-part-indentation):
12026 Tell the caller that the next line needs recomputation, even
12027 though it doesn't start a sexp (bug#10094).
12028
f04a3be9
SM
120292011-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
12030
12031 * emacs-lisp/autoload.el (autoload-generate-file-autoloads): Simplify.
12032
7978747f
SM
120332011-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
12034
f04a3be9
SM
12035 * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
12036 Use force-same-window.
7978747f 12037
fe7a3057
JB
120382011-11-20 Juanma Barranquero <lekktu@gmail.com>
12039
12040 * descr-text.el (describe-char-unicode-data):
12041 * json.el (json-string-escape):
12042 * mail/footnote.el (footnote-unicode-string, footnote-unicode-regexp)
12043 (Footnote-unicode, Footnote-style-p):
12044 * net/ntlm.el (ntlm-get-password-hashes): Fix typos.
12045
24901d61
CY
120462011-11-20 Chong Yidong <cyd@gnu.org>
12047
12048 * window.el (replace-buffer-in-windows): Restore interactive spec.
12049
bac7ff22
SM
120502011-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
12051
24f3d7b9
SM
12052 * electric.el (electric-indent-mode): Fix last change (too optimistic).
12053
bac7ff22
SM
12054 * emacs-lisp/bytecomp.el: Silence obsolete warnings more reliably.
12055 (byte-compile-global-not-obsolete-vars): New var.
12056 (byte-compile-check-variable, byte-compile-make-obsolete-variable):
12057 Use it.
12058 (byte-compile-warn-obsolete): Align text with the one in *Help*.
12059
cd1181db
JB
120602011-11-20 Juanma Barranquero <lekktu@gmail.com>
12061
12062 * progmodes/cwarn.el (cwarn-is-enabled, cwarn-font-lock-keywords):
12063 * progmodes/pascal.el (electric-pascal-equal):
12064 * textmodes/reftex-dcr.el (reftex-view-crossref-from-bibtex):
12065 * xml.el (xml-substitute-special): Fix typos.
12066
7fb18e9e
GM
120672011-11-20 Glenn Morris <rgm@gnu.org>
12068
12069 * mail/rmail.el (rmail-enable-mime-composing): Make it a defcustom.
12070 (rmail-insert-mime-forwarded-message-function, rmail-mime-feature):
12071 Doc fixes.
12072 (rmail-decode-mime-charset): Mark as obsolete.
12073
12074 * mail/rmailsum.el (rmail-message-regexp-p-1):
12075 * mail/rmail.el (rmail-search-message, rmail-forward, rmail-resend):
12076 Before using mime functions, check they are set. (Bug#10077)
12077
d5a6b3ba
JL
120782011-11-19 Juri Linkov <juri@jurta.org>
12079
12080 * info.el (Info-finder-find-node): Use `package--builtins' instead
12081 of `package-alist'. Use node names formed by the pattern "Keyword "
12082 and the keyword name.
12083
e981b61f
AS
120842011-11-19 Andreas Schwab <schwab@linux-m68k.org>
12085
1d00653d 12086 * progmodes/sh-script.el (sh-assignment-regexp): Add entry for bash.
e981b61f 12087
3ffbc301
JL
120882011-11-19 Juri Linkov <juri@jurta.org>
12089
12090 * info.el (Info-hide-note-references): Add `:set' tag to `defcustom'
12091 that calls `revert-buffer' on all Info buffers. (Bug#9915)
12092 (Info-revert-find-node): Remove let-bindings `old-buffer-name',
12093 `old-history', `old-history-forward'. Add let-binding
12094 `window-selected'. Remove calls to `kill-buffer',
12095 `switch-to-buffer' and `Info-mode'. Set `Info-current-file' to nil
12096 before calling `Info-find-node', so `Info-find-node-2' will reread
12097 the Info file. Restore window positions only when `window-selected'
12098 is non-nil.
12099
30c62133
JL
121002011-11-19 Juri Linkov <juri@jurta.org>
12101
12102 * isearch.el (isearch-lazy-highlight-new-loop):
12103 Remove condition `(not isearch-error)'. (Bug#9918)
12104
12105 * misearch.el (multi-isearch-search-fun): Add condition
12106 `(not bound)' to ignore lazy-highlighting search.
12107 Add the search-failed message "end of multi" when the end of
12108 multi-sequence is reached. Uncapitalize the search-failed
12109 message "Repeat for next buffer".
12110
12111 * info.el (Info-search): Add the search-failed message
12112 "end of the manual" when the end of the manual is reached
12113 in Isearch mode.
12114
645ca9cf
JL
121152011-11-19 Juri Linkov <juri@jurta.org>
12116
12117 * info.el (Info-find-node-2, Info-select-node, Info-history-find-node):
12118 Use non-destructive `remove' instead of `delete' because
12119 `Info-history-list' stored to `Info-isearch-initial-history-list' in
12120 `Info-isearch-start' might need to be restored in `Info-isearch-end'.
12121
df754f66
JL
121222011-11-19 Juri Linkov <juri@jurta.org>
12123
12124 * isearch.el (isearch-edit-string): Let-bind `history-add-new-input'
12125 to nil instead of binding `search-ring' and `regexp-search-ring'.
12126 (Bug#9185)
12127
0e23d96a
EZ
121282011-11-19 Eli Zaretskii <eliz@gnu.org>
12129
12130 * simple.el (line-move): Force movement by logical lines for any
12131 hscrolled window, not only when auto-hscroll-mode is on.
12132 (line-move-visual): Update doc string to that effect. (Bug#10076)
12133
8a6ccb66
AS
121342011-11-19 Andreas Schwab <schwab@linux-m68k.org>
12135
12136 * language/european.el (macintosh): Define as alias for mac-roman.
12137
49ae5b39
EZ
121382011-11-19 Eli Zaretskii <eliz@gnu.org>
12139
12140 * mail/rmailmm.el (rmail-mime-display-header)
12141 (rmail-mime-display-tagline, rmail-mime-display-body): New defsubsts.
12142 (rmail-mime-entity-segment, rmail-mime-toggle-raw)
12143 (rmail-mime-toggle-hidden, rmail-mime-insert-text)
12144 (rmail-mime-insert-bulk, rmail-mime-insert-multipart)
12145 (rmail-mime-insert, rmail-mime-insert-tagline): Use them instead
12146 of a raw aref.
12147 (rmail-mime-entity-segment): To get past the tagline, move forward
12148 2 more lines, to account for the 2 empty lines that precede and
12149 follow the line with the buttons.
12150 (rmail-mime-update-tagline): Move one more line, to get past the
12151 empty line that follows the buttons in the tagline. (Bug#9520)
12152
c56cad4a
MR
121532011-11-19 Martin Rudalics <rudalics@gmx.at>
12154
12155 * window.el (window-max-delta-1, window-min-delta-1)
12156 (window-min-size-1, window-state-get-1, window-state-put-1)
12157 (window-state-put-2): Use "window--" prefix.
12158
cbe71af3
SM
121592011-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
12160
2ad52c60
SM
12161 * emacs-lisp/smie.el: Improve warnings and conflict detection.
12162 (smie-warning-count): New var.
12163 (smie-set-prec2tab): Use it.
12164 (smie-bnf->prec2): Improve warnings. Add docstring.
12165 (smie-bnf--closer-alist): Rename from smie-bnf-closer-alist.
12166 (smie-bnf--set-class): New function.
12167 (smie-bnf--classify): Rename from smie-bnf-classify. Rewrite to fix
12168 corner case.
12169
6944dbc1
SM
12170 * progmodes/compile.el: Obey compilation-first-column in dest buffer.
12171 (compilation-error-properties, compilation-move-to-column):
12172 Handle compilation-first-column while in the target buffer.
12173
c400c4d7
SM
12174 * progmodes/cc-engine.el (c-remove-stale-state-cache-backwards):
12175 Don't hardcode point-min==1.
12176
6dbe3e96
SM
12177 * eshell/esh-cmd.el (eshell-do-eval): Handle `setq' (bug#9907).
12178 (eshell-rewrite-for-command): Remove workaround.
12179 (eshell-do-pipelines, eshell-do-pipelines-synchronously)
12180 (eshell-do-eval, eshell-exec-lisp): Avoid gratuitous setq.
12181 * eshell/esh-util.el (eshell-condition-case, eshell-for): Use declare.
12182
cbe71af3
SM
12183 * files-x.el (modify-file-local-variable): Obey commenting conventions.
12184
a8e1496d
GM
121852011-11-17 Glenn Morris <rgm@gnu.org>
12186
12187 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
12188 Ignore buffer-local generated-autoload-file if it is the same
12189 as the global value. (Bug#10049)
12190
df85d315
JB
121912011-11-17 Juanma Barranquero <lekktu@gmail.com>
12192
12193 * textmodes/reftex-toc.el (reftex-toc-return-marker, reftex-toc-help)
12194 (reftex-toc, reftex-toc, reftex-toc-dframe-p, reftex-toc-next-heading)
12195 (reftex-toc-previous-heading, reftex-toc-max-level)
12196 (reftex-toc-goto-line-and-hide, reftex-toc-show-calling-point)
12197 (reftex-toc-quit, reftex-toc-revert, reftex-toc-jump)
12198 (reftex-toc-do-promote, reftex-toc-promote-prepare)
12199 (reftex-toc-promote-action, reftex-toc-extract-section-number)
12200 (reftex-toc-load-all-files-for-promotion, reftex-toc-rename-label)
12201 (reftex-toc-rename-label, reftex-toc-visit-location)
12202 (reftex-toc-visit-location, reftex-toggle-auto-toc-recenter)
12203 (reftex-toggle-auto-toc-recenter, reftex-toggle-auto-toc-recenter)
12204 (reftex-make-separate-toc-frame): Fix typos, and use TOC consistently,
12205 leaving "*toc*" only for references to the buffer.
12206
a0c2d0ae
MR
122072011-11-17 Martin Rudalics <rudalics@gmx.at>
12208
12209 * window.el (window-resize, delete-window, split-window):
12210 Replace window-splits by window-combination-resize.
1d00653d 12211 * cus-start.el (window-splits): Replace by window-combination-resize.
a0c2d0ae 12212
35c0bac8
GM
122132011-11-17 Glenn Morris <rgm@gnu.org>
12214
12215 * progmodes/sh-script.el (sh-font-lock-keywords-var):
12216 Make bash entry derive from sh entry, not shell entry.
12217
d0c8fc8a
MA
122182011-11-16 Michael Albinus <michael.albinus@gmx.de>
12219
7262a87c
MA
12220 * net/tramp-sh.el (tramp-sh-handle-file-truename): Cache only the
12221 local file name.
12222
7877f373
JB
122232011-11-16 Juanma Barranquero <lekktu@gmail.com>
12224
12225 * menu-bar.el (menu-bar-file-menu):
12226 * printing.el (pr-ps-utility):
12227 * calendar/icalendar.el (icalendar, icalendar--convert-tz-offset)
12228 (icalendar--convert-to-ical, icalendar--convert-ordinary-to-ical)
12229 (icalendar--convert-weekly-to-ical, icalendar--convert-yearly-to-ical)
12230 (icalendar--convert-sexp-to-ical, icalendar--convert-block-to-ical)
12231 (icalendar--convert-float-to-ical, icalendar--convert-date-to-ical)
12232 (icalendar--convert-cyclic-to-ical)
12233 (icalendar--convert-anniversary-to-ical, icalendar-import-buffer)
12234 (icalendar--convert-ical-to-diary)
12235 (icalendar--convert-recurring-to-diary)
12236 (icalendar--convert-non-recurring-all-day-to-diary)
12237 (icalendar-import-format-sample):
12238 * progmodes/idlw-shell.el (idlwave-shell-mode):
12239 * progmodes/vhdl-mode.el (vhdl-mode, vhdl-print-two-column)
12240 (vhdl-print-customize-faces, vhdl-mode, vhdl-ps-print-settings)
12241 (vhdl-ps-print-init): Fix typos.
12242
10649b82
KM
122432011-11-16 Ken Manheimer <ken.manheimer@gmail.com>
12244
9d0cfcd6
GM
12245 * allout.el, allout-widgets.el (file metadata): Attribute copyright to
12246 FSF and collapse date sequence, obscure author/maintainer email address
12247 better, remove extra version line, track relocation of author's webpage.
10649b82 12248
9d0cfcd6
GM
12249 * progmodes/python.el (python-pdbtrack-input-prompt)
12250 (python-pdbtrack-track-stack-file): Adjust to recognize ipdb as well as
12251 regular python pdb prompts. Adjustments shamelessly taken exactly as
12252 suggested in EmacsWiki page (tiny change):
12253 http://www.emacswiki.org/PythonProgrammingInEmacs#toc14
8642c216 12254
58179cce
JB
122552011-11-16 Juanma Barranquero <lekktu@gmail.com>
12256
12257 * expand.el (expand-pos, expand-index, expand-point):
12258 Remove redundant info from docstring.
12259 (expand-add-abbrevs): Doc fix.
12260 (expand-c-sample-expand-list, expand-sample-lisp-mode-expand-list)
12261 (expand-sample-perl-mode-expand-list): Fix typos.
12262
12263 * net/dbus.el (dbus-event-member-name):
12264 * play/5x5.el (5x5-solve-rotate-left, 5x5-solver-output):
12265 * term/pc-win.el (msdos-create-frame-with-faces):
12266 * textmodes/texinfmt.el (texinfo-format-image): Fix typos.
12267
b6f67890
MR
122682011-11-16 Martin Rudalics <rudalics@gmx.at>
12269
12270 * window.el (split-window, window-state-get-1)
12271 (window-state-put-1, window-state-put-2): Rename occurrences of
12272 window-nest to window-combination-limit.
1d00653d 12273 * cus-start.el (window-nest): Rename to window-combination-limit.
b6f67890 12274
ce7ddba0
CY
122752011-11-16 Chong Yidong <cyd@gnu.org>
12276
12277 * progmodes/autoconf.el (autoconf-mode): Fix comment-start-skip
12278 regexp (Bug#10033).
12279
3ae704f4
SM
122802011-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
12281
12282 * tmm.el (tmm-prompt): Use minibuffer-with-setup-hook (bug#10053).
12283 `completing-read' will remove *Completions* and will preserve
12284 current-buffer for us.
12285 (tmm-add-prompt): Users of *Completions* will always (re)set its
12286 major mode.
12287 (tmm-old-comp-map): Remove.
12288
6ad1cdde
GM
122892011-11-16 Glenn Morris <rgm@gnu.org>
12290
12291 * mail/rmailedit.el: Require rmailmm when compiling.
12292 (rmail-old-mime-state): New declaration.
12293 (rmail-edit-current-message): If editing a mime message,
12294 edit the "raw" message from the mbox buffer.
12295 (rmail-cease-edit): Handle mime messages. (Bug#9840)
12296
d20faa20
GM
122972011-11-15 Glenn Morris <rgm@gnu.org>
12298
12299 * mail/rmailmm.el (rmail-mime-toggle-raw): Remove entity arg,
12300 which wasn't being used. Add optional arg to force given state.
12301 (rmail-mime): Add optional arg to force given state.
12302
c7015153
JB
123032011-11-15 Juanma Barranquero <lekktu@gmail.com>
12304
12305 * allout.el (allout-encryption-plaintext-sanitization-regexps):
12306 * frame.el (display-mm-dimensions-alist):
12307 * outline.el (outline-mode-menu-bar-map, outline-move-subtree-up)
12308 (outline-move-subtree-down):
12309 * net/newst-treeview.el (newsticker--treeview-do-get-node-of-feed)
12310 (newsticker--treeview-do-get-node):
12311 * net/quickurl.el (quickurl-list-buffer-name):
12312 * progmodes/dcl-mode.el (dcl-mode):
12313 * progmodes/gdb-mi.el (gdb-mapcar*):
12314 * progmodes/sql.el (sql-mode-oracle-font-lock-keywords): Fix typos.
12315
45261b50
GM
123162011-11-15 Glenn Morris <rgm@gnu.org>
12317
12318 * mail/rmail.el (rmail-file-coding-system): It's only ever used
12319 in a boolean sense, so just make it a boolean, and fix the doc.
12320 (rmail-show-mime-function, rmail-mime-feature)
12321 (rmail-require-mime-maybe): Doc fixes.
12322 (rmail-show-message-1): Check rmail-show-mime-function is non-nil.
12323
12324 * mail/rmailmm.el (rmail-show-mime): Doc fix.
12325
0d26e0b6
JB
123262011-11-15 Juanma Barranquero <lekktu@gmail.com>
12327
12328 * epg.el (epg-start-decrypt, epg-start-verify, epg-start-sign)
12329 (epg-start-encrypt, epg-start-export-keys, epg-start-import-keys)
12330 (epg-start-receive-keys, epg-start-delete-keys, epg-start-sign-keys)
12331 (epg-start-generate-key, epg-context-set-progress-callback): Fix typos.
12332
447f30f6
GM
123332011-11-15 Glenn Morris <rgm@gnu.org>
12334
672b871d
GM
12335 * mail/rmailmm.el (rmail-mime-entity, rmail-mime-entity-segment)
12336 (rmail-mime-shown-mode, rmail-mime-hidden-mode, rmail-mime-raw-mode)
12337 (rmail-mime-toggle-hidden, rmail-mime-insert-tagline)
12338 (rmail-mime-insert-header, rmail-mime-handle, rmail-mime-parse)
12339 (rmail-mime, rmail-show-mime): Doc fixes.
12340
f6aa5bb1
GM
12341 * term/ns-win.el (mode-line-frame-identification):
12342 Leave it alone. (Bug#10051)
12343
947cd66b
GM
12344 * simple.el (mark-whole-buffer): Doc fix. (Bug#10023)
12345
447f30f6
GM
12346 * mail/rmailout.el (rmail-output-to-rmail-buffer):
12347 Handle empty buffers. (Bug#9978)
12348
0b381c7e
JB
123492011-11-14 Juanma Barranquero <lekktu@gmail.com>
12350
12351 * international/mule.el (define-charset):
12352 * mail/rmailmm.el (rmail-mime-find-header-encoding):
12353 * progmodes/prolog.el (prolog-mode-hook, prolog-inferior-mode-hook):
12354 * progmodes/verilog-mode.el (verilog-backward-token):
12355 * textmodes/ispell.el (lookup-words):
12356 * textmodes/sgml-mode.el (sgml-guess-indent): Fix typos.
12357
71e027ac
GM
123582011-11-14 Glenn Morris <rgm@gnu.org>
12359
56632ce4
GM
12360 * progmodes/executable.el
12361 (executable-make-buffer-file-executable-if-script-p):
12362 Handle file-modes returning nil.
12363
40500957
GM
12364 * mail/rmailsum.el (rmail-summary): Remove movement to beginning of
12365 message - not necessary, and causes problems. (Bug#9831)
12366
071c2340
GM
12367 * mail/rmailsum.el (rmail-new-summary): Preserve message number.
12368
d3cfca60
GM
12369 * mail/rmail.el (rmail-no-mail-p): Remove mode-line N/M indicator.
12370
71e027ac
GM
12371 * mail/rmailsum.el (rmail-summary, rmail-new-summary)
12372 (rmail-new-summary-1): Allow empty summaries. (Bug#9964)
12373 (rmail-new-summary): Remember that rmail-summary-buffer is buffer-local.
12374
89d61221
MR
123752011-11-12 Martin Rudalics <rudalics@gmx.at>
12376
12377 * window.el (window-resize, delete-window): Use window-splits
12378 variable instead of function.
12379 (window-state-get-1, window-state-put-2, window-state-put):
12380 Don't deal with windows' splits status.
12381
98282f6f
GM
123822011-11-12 Glenn Morris <rgm@gnu.org>
12383
12384 * apropos.el (apropos-do-all, apropos-library, apropos-value)
12385 (apropos-documentation): Doc fixes.
12386
40a8bdf6
JB
123872011-11-11 Juanma Barranquero <lekktu@gmail.com>
12388
12389 * progmodes/idlw-shell.el (idlwave-shell-make-new-bp-overlay):
12390 * textmodes/sgml-mode.el (html-tag-help): Fix typos.
12391
65bd19ff
SM
123922011-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
12393
12394 * electric.el (electric-indent-post-self-insert-function): Make it
12395 possible for a char to only indent in some circumstances.
12396 (electric-indent-mode): Simplify.
12397
54f9154c
MR
123982011-11-11 Martin Rudalics <rudalics@gmx.at>
12399
12400 * window.el (windows-with-parameter): Remove unused function.
12401 (windows-at-side): Rename to window-at-side-list.
12402 (window-check, window-atom-check, window-atom-check-1)
5e92ca23
MR
12403 (window-side-check, window-size-ignore, window-size-fixed-1)
12404 (window-in-direction-2): Prefix with "window--".
12405 (window-tree-1): Rename to window--subtree, fix doc-string.
54f9154c 12406
68cbc58b
GM
124072011-11-11 Glenn Morris <rgm@gnu.org>
12408
12409 * subr.el (eval-after-load): If FILE is already loaded,
12410 evaluate FORM before it gets wrapped in more stuff. (Bug#10009)
12411
b2621720
GM
124122011-11-10 Glenn Morris <rgm@gnu.org>
12413
9a4de110
GM
12414 * vc/vc-svn.el (vc-svn-create-repo, vc-svn-modify-change-comment):
12415 Call svn via vc-svn-command rather than vc-do-command.
12416 (vc-svn-command): Add --non-interactive. (Bug#9993)
12417 (vc-svn-update, vc-svn-merge-news): No need for --non-interactive.
12418
b2621720
GM
12419 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
12420 Add toggle-read-only. (Bug#7292)
12421 * files.el (toggle-read-only): Mention that it should only
12422 be used interactively. (Bug#10006)
12423
1dce7193
SM
124242011-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
12425
d9ac1a1e
SM
12426 * progmodes/compile.el (compilation-error-regexp-alist-alist):
12427 Adjust regexp for OCaml warnings.
12428
0c325082
SM
12429 * electric.el (electric-pair-post-self-insert-function): Let user
12430 turn it off buffer-locally (bug#9932).
12431
90132c14
SM
12432 * progmodes/python.el (python-beginning-of-statement):
12433 Rewrite (bug#2703).
12434
1dce7193
SM
12435 * progmodes/compile.el: Better handle TABs (bug#9749).
12436 (compilation-internal-error-properties)
12437 (compilation-next-error-function): Obey the target buffer's
12438 compilation-error-screen-columns.
12439
c4e7c63a
JB
124402011-11-09 Juanma Barranquero <lekktu@gmail.com>
12441
12442 * progmodes/meta-mode.el: Remove obsolete comments.
12443 (meta-right-comment-regexp, meta-ignore-comment-regexp):
12444 Fix typos in docstrings.
12445
2cffd681
MR
124462011-11-09 Martin Rudalics <rudalics@gmx.at>
12447
12448 * window.el (window-size-fixed-p): Rewrite doc-string.
1dce7193 12449 (window-resizable-p): Rename to window--resizable-p. Update callers.
2cffd681
MR
12450 (window--resizable): New function. Make all callers of
12451 window-resizable call window--resizable instead.
12452 (window-resizable): Rewrite in terms of window--resizable.
12453
0edcba87
GM
124542011-11-08 Glenn Morris <rgm@gnu.org>
12455
12456 * progmodes/delphi.el (delphi-mode-syntax-table):
12457 Let define-derived-mode define a proper syntax table. (Bug#9994)
12458
4b0d61e3
SM
124592011-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
12460
12461 * window.el: Stay away from defsubst.
12462 (window-list-no-nils): Remove.
12463 (window-state-get-1, window-state-get): Use backquote instead.
12464
cd394be1 124652011-11-08 Thierry Volpiatto <thierry.volpiatto@gmail.com>
fcbcac2e 12466
4b0d61e3 12467 * emacs-lisp/find-func.el (find-function-read):
fcbcac2e 12468 Fix incorrect use of default argument in `completing-read'.
12469
e1c2c6f2
MR
124702011-11-08 Martin Rudalics <rudalics@gmx.at>
12471
12472 * window.el (display-buffer-function, special-display-function):
12473 Mention display-buffer-record-window but do not mention
12474 help-setup parameter in doc-strings.
b3f4a882 12475 (window-min-delta): Fix doc-string typo.
e1c2c6f2 12476
105216ed
CY
124772011-11-08 Chong Yidong <cyd@gnu.org>
12478
12479 * window.el (window-total-height, window-total-width): Doc fix.
12480 (window-body-size): Move from C.
12481 (window-body-height, window-body-width): Move to C.
12482
0a9f9ab5
SM
124832011-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
12484
12485 * window.el: Make special-display like display-buffer-alist (bug#9532).
12486 (display-buffer--special-action): New function, morphed
12487 from display-buffer--special.
12488 (display-buffer): Use it to handle special-display-buffers at higher
12489 priority (just after display-buffer-alist).
12490 (display-buffer-fallback-action, display-buffer--other-frame-action)
12491 (pop-to-buffer-same-window): Remove display-buffer--special.
12492
a769dd15
GM
124932011-11-07 Glenn Morris <rgm@gnu.org>
12494
12495 * calendar/cal-menu.el (cal-menu-set-date-title):
12496 Do nothing if not in a calendar. (Bug#9976)
12497
05a61ee3
SM
124982011-11-07 Stefan Monnier <monnier@iro.umontreal.ca>
12499
12500 * files.el (find-file): Always use selected-window.
12501
be7f5545
MR
125022011-11-07 Martin Rudalics <rudalics@gmx.at>
12503
12504 * window.el (window-combinations): Make WINDOW argument
12505 mandatory. Rewrite doc-string.
12506 (walk-window-subtree, window-atom-check, window-min-delta)
12507 (window-max-delta, window--resize-this-window)
12508 (window--resize-root-window-vertically, window-tree)
12509 (balance-windows, window-state-put): Rewrite doc-strings as to
12510 not mention the term "subwindow".
12511 (window--resize-subwindows-skip-p): Rename to
12512 window--resize-child-windows-skip-p.
12513 (window--resize-subwindows-normal): Rename to
12514 window--resize-child-windows-normal.
12515 (window--resize-subwindows): Rename to
12516 window--resize-child-windows.
12517 (window-or-subwindow-p): Rename to window--in-subtree-p.
12518
3c6702ef
ML
125192011-11-07 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
12520
12521 * mail/rmail.el (rmail-get-new-mail, rmail-insert-inbox-text):
12522 Ensure that mbox format messages end in two newlines (Bug#9974).
12523
49745b39
CY
125242011-11-06 Chong Yidong <cyd@gnu.org>
12525
12526 * window.el (window-combination-p): Function deleted; its
12527 side-effect is not used in any existing code.
12528 (window-combinations, window-combined-p): Call window-*-child
12529 directly.
12530
24300f5f
CY
125312011-11-05 Chong Yidong <cyd@gnu.org>
12532
12533 * window.el (window-valid-p): Rename from window-any-p.
447f16b8
CY
12534 (window-size-ignore, window-state-get): Callers changed.
12535 (window-normalize-window): Rename from window-normalize-any-window.
12536 New arg LIVE-ONLY, replacing window-normalize-live-window.
1dce7193 12537 (window-normalize-live-window): Delete.
447f16b8
CY
12538 (window-combination-p, window-combined-p, window-combinations)
12539 (walk-window-subtree, window-atom-root, window-min-size)
12540 (window-sizable, window-sizable-p, window-size-fixed-p)
12541 (window-min-delta, window-max-delta, window-resizable)
12542 (window-resizable-p, window-full-height-p, window-full-width-p)
12543 (window-current-scroll-bars, window-point-1, set-window-point-1)
12544 (window-at-side-p, window-in-direction, window-resize)
12545 (adjust-window-trailing-edge, maximize-window, minimize-window)
12546 (window-deletable-p, delete-window, delete-other-windows)
12547 (record-window-buffer, unrecord-window-buffer)
12548 (switch-to-prev-buffer, switch-to-next-buffer, window--delete)
12549 (quit-window, split-window, window-state-put)
12550 (set-window-text-height, fit-window-to-buffer)
12551 (shrink-window-if-larger-than-buffer): Callers changed.
24300f5f 12552
89bd5ee1
EZ
125532011-11-04 Eli Zaretskii <eliz@gnu.org>
12554
53479029
EZ
12555 * mail/rmail.el (rmail-simplified-subject): Decode subject with
12556 rfc2047-decode-string.
12557 (rmail-mime-toggle-hidden): Declare to avoid byte-compilation
12558 warnings.
12559
89bd5ee1
EZ
12560 * window.el (window-body-height, window-body-width): Mention in
12561 the doc string that the return values are in frame's canonical
12562 units. (Bug#9949)
12563
bd17fdee
AM
125642011-11-03 Alan Mackenzie <acm@muc.de>
12565
12566 * progmodes/cc-langs.el (c-nonlabel-token-2-key): New variable for
12567 change in cc-engine.el.
12568
acc825c5
SM
125692011-11-02 Stefan Monnier <monnier@iro.umontreal.ca>
12570
12571 * window.el (switch-to-buffer): Use `force-same-window' interactively.
12572
1885e5b8
MR
125732011-11-02 Martin Rudalics <rudalics@gmx.at>
12574
12575 * window.el (quit-window): Call unrecord-window-buffer after
12576 showing another buffer in the window. (Bug#9937)
acc825c5 12577 (bury-buffer): Call switch-to-prev-buffer with second argument `bury'.
1885e5b8 12578
ebe06da9
JB
125792011-11-02 Juanma Barranquero <lekktu@gmail.com>
12580
12581 * vc/vc-bzr.el (vc-bzr-state, vc-bzr-after-dir-status):
12582 Accept status with more than 9 shelves. (Bug#9935)
12583 Reported by Colin D Bennett <colin@gibibit.com>.
12584
4ee88440
MR
125852011-11-01 Martin Rudalics <rudalics@gmx.at>
12586
12587 * help.el (with-help-window): Don't reference
12588 temp-buffer-show-specifiers in doc-string.
12589
08e1d82c
AS
125902011-10-31 Andreas Schwab <schwab@linux-m68k.org>
12591
12592 * subr.el (keymap--menu-item-with-binding): Ignore item if not a
12593 menu-item.
12594
84bd6e9e
VJL
125952011-10-30 Vinicius Jose Latorre <viniciusjl@ig.com.br>
12596
12597 * whitespace.el: New version 13.2.2.
12598 (whitespace-newline-mode): Disable properly. Reported by Sarah
12599 <EmacsWiki>.
12600
dba0634a
UJ
126012011-10-30 Ulf Jasper <ulf.jasper@web.de>
12602
12603 * net/newst-treeview.el: Remove "Time-stamp".
12604 (newsticker--group-manage-orphan-feeds): Do not call
12605 newsticker--treeview-tree-update.
db22a3c2
JB
12606 (newsticker-treeview-update, newsticker-treeview):
12607 Call newsticker--treeview-tree-update if necessary.
dba0634a 12608
3d8daefe
MR
126092011-10-30 Martin Rudalics <rudalics@gmx.at>
12610
12611 * window.el (window-iso-combination-p, window-iso-combined-p)
acc825c5
SM
12612 (window-iso-combinations): Remove "iso-" infix.
12613 Suggested by Chong Yidong.
3d8daefe
MR
12614 (window-min-size-1, window-size-fixed-1, window-min-delta-1)
12615 (window-max-delta-1, window-resize, window--resize-siblings)
12616 (window--resize-this-window, adjust-window-trailing-edge)
12617 (split-window, balance-windows-1)
12618 (shrink-window-if-larger-than-buffer):
12619 * calendar/calendar.el (calendar-generate-window):
db22a3c2 12620 * help.el (resize-temp-buffer-window): Adjust callers accordingly.
3d8daefe 12621
1bc4c3ae
SM
126222011-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
12623
12624 * eshell/esh-cmd.el (eshell-rewrite-for-command): Don't modify the list
12625 in place (bug#9907).
12626 (eshell-subcommand-arg-values, eshell-rewrite-named-command)
12627 (eshell-rewrite-if-command, eshell-rewrite-for-command)
12628 (eshell-structure-basic-command, eshell-rewrite-while-command)
12629 (eshell-invokify-arg, eshell-parse-pipeline, eshell-parse-command)
12630 (eshell-parse-subcommand-argument, eshell-parse-lisp-argument)
12631 (eshell-trap-errors, eshell-do-pipelines, eshell-do-eval)
12632 (eshell-do-pipelines-synchronously, eshell-eval-command):
12633 Use backquotes and prefer setq to set.
12634 (eshell-lookup-function, function-p-func, eshell-functionp): Remove.
12635 (eshell-macrop): Use functionp.
c1e2f5fa 12636 (eshell-do-eval): Handle multiple expressions in `while' body.
1bc4c3ae 12637
30b65d9c
CY
126382011-10-30 Chong Yidong <cyd@gnu.org>
12639
12640 * emulation/viper-cmd.el (viper-exec-change): Use push-mark
12641 instead of set-mark (Bug#9810).
12642
2d197ffb
CY
126432011-10-30 Chong Yidong <cyd@gnu.org>
12644
12645 * window.el (split-window-below, split-window-right): Rename from
12646 split-window-above-each-other and split-window-side-by-side
12647 respectively. All callers changed.
12648 (split-window-sensibly, split-window-sensibly): Use them.
12649 (split-window-keep-point): Doc fix.
12650
12651 * isearch.el: Add isearch-scroll property to split-window-below
12652 and split-window-right.
12653
12654 * follow.el (follow-mode):
12655 * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
12656 * progmodes/ada-xref.el (ada-gdb-application):
12657 * emulation/vip.el (vip-buffer-in-two-windows):
12658 * image-dired.el (image-dired-dired-with-window-configuration):
12659 * dired-x.el (dired-do-find-marked-files):
12660 * dired.el (dired-pop-to-buffer):
12661 * bs.el (bs--show-with-configuration):
12662 * vc/emerge.el (emerge-setup-windows):
12663 * textmodes/two-column.el (2C-two-columns):
12664 * textmodes/reftex-toc.el (reftex-toc):
12665 * progmodes/gdb-mi.el (gdb-setup-windows):
12666 * progmodes/fortran.el (fortran-window-create):
12667 * net/newst-treeview.el (newsticker--treeview-window-init):
12668 * emulation/ws-mode.el (wordstar-C-o-map, wordstar-mode):
12669 * emulation/tpu-edt.el (tpu-gold-map):
12670 * emulation/crisp.el (crisp-mode-map):
12671 * calendar/calendar.el (calendar-basic-setup): Callers changed.
12672
38bb2ca8
CY
126732011-10-29 Chong Yidong <cyd@gnu.org>
12674
aa4de341
CY
12675 * subr.el (y-or-n-p): Add code for batch mode (Bug#9818).
12676
e1eb5385
CY
12677 * mouse.el (mouse-yank-primary): Push the mark (Bug#9894).
12678
5d2ece3c
CY
12679 * textmodes/flyspell.el (flyspell-word): Fix char offset for
12680 forged Ispell output (Bug#7904).
12681
38bb2ca8
CY
12682 * emacs-lisp/package.el (package-refresh-contents): Add autoload.
12683
d0af9f77
SM
126842011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
12685
12686 * doc-view.el: Avoid ugly errors about not finding nil.
12687 (doc-view-ghostscript-program, doc-view-dvipdfm-program)
12688 (doc-view-dvipdf-program, doc-view-unoconv-program)
12689 (doc-view-ps2pdf-program, doc-view-pdftotext-program):
12690 Avoid nil or absolute file name as default value.
12691 (doc-view-pdf->txt, doc-view-ps->pdf): Use executable-find here.
12692
52bedd34
AM
126932011-10-28 Alan Mackenzie <acm@muc.de>
12694
db22a3c2 12695 * progmodes/cc-defs.el (c-version): -> 5.32.2.
52bedd34 12696
7e43cfa5
AM
126972011-10-28 Alan Mackenzie <acm@muc.de>
12698
12699 Amend the handling of c-beginning/end-of-defun in nested declaration
12700 scopes.
12701
52bedd34
AM
12702 * progmodes/cc-vars.el (c-defun-tactic): Move here from
12703 cc-langs.el. Change it to a defcustom.
7e43cfa5 12704
52bedd34
AM
12705 * progmodes/cc-langs.el (c-defun-tactic): Move this variable to
12706 cc-vars.el.
7e43cfa5 12707
d0af9f77
SM
12708 * progmodes/cc-engine.el (c-beginning-of-statement-1):
12709 Prevent "class foo : bar" being spuriously recognized as a label.
7e43cfa5 12710
52bedd34 12711 * progmodes/cc-cmds.el (c-narrow-to-most-enclosing-decl-block):
acc825c5 12712 Add parameter `inclusive' (to include enclosing braces in the region).
7e43cfa5
AM
12713 (c-widen-to-enclosing-decl-scope): New function.
12714 (c-while-widening-to-decl-block): New macro.
12715 (c-beginning-of-defun, c-end-of-defun): Change algorithm to keep going
12716 outward for defun boundaries, and correspondingly change symbol
12717 `respect-enclosure' to `go-outward'.
12718 (c-declaration-limits): Change algorithm to report only the "innermost"
12719 defun's boundaries.
12720
1a2ce9ee
DD
127212011-10-28 Deniz Dogan <deniz@dogan.se>
12722
12723 * net/rcirc.el (rcirc-mode): Use hard newlines.
12724
bc97a826
AM
127252011-10-28 Alan Mackenzie <acm@muc.de>
12726
12727 Amend to indent and fontify macros "which include their own semicolon"
12728 correctly, using the "virtual semicolon" mechanism.
12729
52bedd34 12730 * progmodes/cc-defs.el: Update "virtual semicolon" comments.
bc97a826 12731
d0af9f77 12732 * progmodes/cc-engine.el (c-crosses-statement-barrier-p):
7877f373 12733 Recode to scan one line at a time rather than having \n and \r
58179cce 12734 explicitly in c-stmt-delim-chars (for some modes, e.g. AWK).
bc97a826 12735 (c-forward-label): Amend for virtual semicolons.
58179cce 12736 (c-at-macro-vsemi-p, c-macro-vsemi-status-unknown-p): New functions.
bc97a826 12737
52bedd34
AM
12738 * progmodes/cc-fonts.el (c-font-lock-declarations): Take account
12739 of the new C macros.
bc97a826 12740
52bedd34 12741 * progmodes/cc-langs.el (c-at-vsemi-p-fn):
acc825c5
SM
12742 (c-vsemi-status-unknown-p-fn): Move to earlier in the file.
12743 (c-opt-cpp-symbol, c-line-comment-start-regexp): New language vars.
bc97a826
AM
12744 (c-opt-cpp-macro-define): Make into a full language variable.
12745 (c-stmt-delim-chars, c-stmt-delim-chars-with-comma): Special value for
12746 AWK Mode (including \n, \r) removed, no longer needed.
12747
d0af9f77
SM
12748 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode):
12749 Invoke c-make-macro-with-semi-re.
bc97a826 12750
52bedd34
AM
12751 * progmodes/cc-vars.el (c-macro-with-semi-re):
12752 (c-macro-names-with-semicolon): New variables.
58179cce 12753 (c-make-macro-with-semi-re): New function.
bc97a826 12754
7a6c0941
SM
127552011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
12756
12757 * vc/log-edit.el: Fill empty field rather than adding new one.
12758 (log-edit-add-field): New function.
12759 (log-edit-insert-changelog): Use it.
12760
b0c4cdcf
ML
127612011-10-28 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
12762
12763 * mail/rmail.el (rmail-mode-map): Add M-C-f as in rmailsum (bug#9802).
12764
ee1f1da9
SM
127652011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
12766
12767 * progmodes/gdb-mi.el: Warn the user when -i=mi is missing.
12768 (gdb--check-interpreter): New function.
12769 (gdb): Use it.
12770
51bc5f8b
GM
127712011-10-27 Glenn Morris <rgm@gnu.org>
12772
416a2c45
GM
12773 * emacs-lisp/cl-extra.el (most-positive-float, most-negative-float)
12774 (least-positive-float, least-negative-float)
12775 (least-positive-normalized-float, least-negative-normalized-float)
12776 (float-epsilon, float-negative-epsilon):
12777 Remove unnecessary declarations.
12778
12779 * emacs-lisp/cl-extra.el (cl-float-limits): Add doc string.
12780 * emacs-lisp/cl.el (most-positive-float, most-negative-float)
12781 (least-positive-float, least-negative-float)
12782 (least-positive-normalized-float, least-negative-normalized-float)
12783 (float-epsilon, float-negative-epsilon): Add doc-strings,
12784 based on those in cl.texi.
12785
51bc5f8b
GM
12786 * files.el (set-visited-file-name): If the major-mode changed,
12787 reload the local variables. (Bug#9796)
12788
15de15c6
CY
127892011-10-27 Chong Yidong <cyd@gnu.org>
12790
12791 * subr.el (change-major-mode-after-body-hook): New hook.
12792 (run-mode-hooks): Run it.
12793
ee1f1da9
SM
12794 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
12795 Use change-major-mode-before-body-hook.
15de15c6
CY
12796
12797 * simple.el (fundamental-mode):
12798 * emacs-lisp/derived.el (define-derived-mode): Revert 2010-04-28
12799 change introducing fundamental-mode-hook.
12800
5430d399
JB
128012011-10-26 Juanma Barranquero <lekktu@gmail.com>
12802
acc825c5 12803 * term/w32-win.el (w32-default-color-map): Declare obsolete (Bug#9785).
5430d399 12804
ad74a69e
MA
128052011-10-26 Michael Albinus <michael.albinus@gmx.de>
12806
12807 * ido.el (ido-file-name-all-completions-1): Do not require
c7015153 12808 tramp.el explicitly. (Bug#7583)
ad74a69e 12809
71d4c2a5
SM
128102011-10-26 Stefan Monnier <monnier@iro.umontreal.ca>
12811
12812 * progmodes/octave-mod.el:
12813 * progmodes/octave-inf.el: Update maintainer.
12814
b1f6fa26
CY
128152011-10-26 Chong Yidong <cyd@gnu.org>
12816
12817 * subr.el (with-wrapper-hook): Rewrite doc.
12818
3f04efd6
MA
128192011-10-25 Michael Albinus <michael.albinus@gmx.de>
12820
12821 * net/tramp-sh.el (tramp-sh-handle-file-directory-p): Return t for
ad74a69e 12822 filenames "/method:foo:". (Bug#9793)
3f04efd6 12823
410488d3
SM
128242011-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
12825
12826 * comint.el (comint-get-old-input-default): Fix use-prompt-regexp case
12827 (bug#9865).
12828
c1ebb47e
GM
128292011-10-24 Glenn Morris <rgm@gnu.org>
12830
12831 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix. (Bug#9819)
12832
7f5c46c7
MA
128332011-10-24 Michael Albinus <michael.albinus@gmx.de>
12834
12835 * notifications.el: Add the requirement of a running D-Bus session
12836 bus to the Commentary.
12837
db2440b6
JL
128382011-10-24 Juri Linkov <juri@jurta.org>
12839
12840 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
12841 `search-whitespace-regexp' only when `isearch-regexp' is non-nil.
12842 (Bug#9364)
12843
feecf435
JL
128442011-10-24 Juri Linkov <juri@jurta.org>
12845
12846 * info.el (Info-following-node-name-re): Add newline to the list
12847 of allowed characters for leading space. (Bug#9824)
12848
a3839de2
SM
128492011-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
12850
acc825c5
SM
12851 * progmodes/octave-inf.el (inferior-octave-mode-map):
12852 Fix C-c C-h binding.
a3839de2
SM
12853 * progmodes/octave-mod.el (octave-help): Remove.
12854
09388e76
MA
128552011-10-23 Michael Albinus <michael.albinus@gmx.de>
12856
12857 Sync with Tramp 2.2.3.
12858
12859 * net/tramp-cache.el (top): Pacify byte-compiler using
12860 `init-file-user' and `site-run-file'.
12861
12862 * net/trampver.el: Update release number.
12863
86c60681
CY
128642011-10-23 Chong Yidong <cyd@gnu.org>
12865
12866 * files.el (toggle-read-only): Remove obsolete comment about
12867 version control.
12868
12869 * vc/vc-hooks.el (vc-toggle-read-only): Make it an obsolete alias
12870 for toggle-read-only. Note that this hasn't called vc-next-action
12871 since 2008-05-02, though it wasn't documented at the time.
12872
a3839de2
SM
12873 * vc/ediff-init.el (ediff-toggle-read-only-function):
12874 Use toggle-read-only.
86c60681 12875
cd5495ff
AM
128762011-10-22 Alan Mackenzie <bug-cc-mode@gnu.org>
12877
12878 Fix bug #9560, sporadic wrong indentation; improve instrumentation
12879 of c-parse-state.
12880
00b77525 12881 * progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache):
a3839de2 12882 correct faulty logical expression.
cd5495ff
AM
12883 (c-parse-state-state, c-record-parse-state-state):
12884 (c-replay-parse-state-state): New defvar/defuns.
12885 (c-debug-parse-state): Use new functions.
12886
42ee24ed
MR
128872011-10-22 Martin Rudalics <rudalics@gmx.at>
12888
12889 * mouse.el (mouse-drag-line): Fix minibuffer resizing broken by
53ebff1f 12890 last fix. Use window-in-direction correctly.
42ee24ed 12891
a7dee7e7
CY
128922011-10-21 Chong Yidong <cyd@gnu.org>
12893
12894 * progmodes/idlwave.el (idlwave-mode):
12895 * progmodes/vera-mode.el (vera-mode): No need to set
a3839de2
SM
12896 require-final-newline; that's done in prog-mode.
12897 Suggested by Stefan Monnier.
a7dee7e7 12898
e07b9a6d
MR
128992011-10-21 Martin Rudalics <rudalics@gmx.at>
12900
12901 * mouse.el (mouse-drag-window-above)
12902 (mouse-drag-move-window-bottom, mouse-drag-move-window-top)
12903 (mouse-drag-mode-line-1, mouse-drag-header-line)
12904 (mouse-drag-vertical-line-rightward-window): Remove.
12905 (mouse-drag-line): New function.
12906 (mouse-drag-mode-line, mouse-drag-header-line)
12907 (mouse-drag-vertical-line): Call mouse-drag-line.
12908 * window.el (window-at-side-p, windows-at-side): New functions.
12909
7e1361d9
UM
129102011-10-21 Ulrich Mueller <ulm@gentoo.org>
12911
12912 * tar-mode.el (tar-grind-file-mode):
12913 Fix handling of setuid/setgid, handle sticky bit. (Bug#9817)
12914
30fcaf3a
CY
129152011-10-21 Chong Yidong <cyd@gnu.org>
12916
12917 * progmodes/idlwave.el (idlwave-mode):
a3839de2
SM
12918 * progmodes/vera-mode.el (vera-mode):
12919 Use mode-require-final-newline.
30fcaf3a 12920
516eddb0
GM
129212011-10-20 Glenn Morris <rgm@gnu.org>
12922
db22a3c2 12923 * vc/vc.el (vc-next-action): Handle removed directories. (Bug#9781)
516eddb0 12924
10d5f513
CS
129252011-10-20 Christoph Scholtes <cschol2112@googlemail.com>
12926
12927 * emulation/cua-base.el (cua-set-mark): Fix case of string.
12928
ac6c8639
CY
129292011-10-20 Chong Yidong <cyd@gnu.org>
12930
12931 * emulation/cua-base.el (cua-mode):
12932 * mail/footnote.el (footnote-mode):
12933 * mail/mailabbrev.el (mail-abbrevs-mode):
12934 * net/xesam.el (xesam-minor-mode):
12935 * progmodes/bug-reference.el (bug-reference-mode):
12936 * progmodes/cap-words.el (capitalized-words-mode):
12937 * progmodes/compile.el (compilation-minor-mode)
12938 (compilation-shell-minor-mode):
12939 * progmodes/gud.el (gud-tooltip-mode):
12940 * progmodes/hideif.el (hide-ifdef-mode):
12941 * progmodes/idlw-shell.el (idlwave-shell-electric-debug-mode):
12942 * progmodes/subword.el (subword-mode):
12943 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
12944 * progmodes/which-func.el (which-function-mode):
12945 * term/tvi970.el (tvi970-set-keypad-mode):
12946 * term/vt100.el (vt100-wide-mode):
12947 * textmodes/flyspell.el (flyspell-mode):
12948 * textmodes/ispell.el (ispell-minor-mode):
12949 * textmodes/nroff-mode.el (nroff-electric-mode):
12950 * textmodes/paragraphs.el (use-hard-newlines):
12951 * textmodes/refill.el (refill-mode):
12952 * textmodes/reftex.el (reftex-mode):
12953 * textmodes/rst.el (rst-minor-mode):
12954 * textmodes/sgml-mode.el (html-autoview-mode)
12955 (sgml-electric-tag-pair-mode):
12956 * textmodes/tex-mode.el (latex-electric-env-pair-mode):
12957 * vc/diff-mode.el (diff-auto-refine-mode, diff-minor-mode):
12958 * emulation/crisp.el (crisp-mode):
12959 * emacs-lisp/eldoc.el (eldoc-mode):
12960 * emacs-lisp/checkdoc.el (checkdoc-minor-mode): Doc fixes for new
12961 minor mode behavior.
12962
aa42ab43
JL
129632011-10-19 Juri Linkov <juri@jurta.org>
12964
12965 * descr-text.el (describe-char): Add #x2010 and #x2011 to
12966 the list of hard-coded chars with escape-glyph face.
12967
89400f1d
SM
129682011-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
12969
12970 * vc/log-edit.el (log-edit-empty-buffer-p): Ignore empty headers.
12971
305c07f6
MA
129722011-10-19 Michael Albinus <michael.albinus@gmx.de>
12973
12974 * net/tramp.el (tramp-connectable-p): Make a stronger check on a
12975 running process.
12976
13754b54
GM
129772011-10-19 Glenn Morris <rgm@gnu.org>
12978
12979 * vc/vc-bzr.el (vc-bzr-after-dir-status):
12980 Ignore ignored files. (Bug#9726)
12981
06e21633
CY
129822011-10-19 Chong Yidong <cyd@gnu.org>
12983
12984 Doc fix for minor modes, stating that an omitted argument enables
12985 the mode unconditionally when called from Lisp.
12986
12987 * abbrev.el (abbrev-mode):
12988 * allout.el (allout-mode):
12989 * autoinsert.el (auto-insert-mode):
12990 * autoarg.el (autoarg-mode, autoarg-kp-mode):
12991 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
12992 (global-auto-revert-mode):
12993 * battery.el (display-battery-mode):
12994 * composite.el (global-auto-composition-mode)
12995 (auto-composition-mode):
12996 * delsel.el (delete-selection-mode):
12997 * desktop.el (desktop-save-mode):
12998 * dired-x.el (dired-omit-mode):
12999 * dirtrack.el (dirtrack-mode):
13000 * doc-view.el (doc-view-minor-mode):
13001 * double.el (double-mode):
13002 * electric.el (electric-indent-mode, electric-pair-mode):
13003 * emacs-lock.el (emacs-lock-mode):
13004 * epa-hook.el (auto-encryption-mode):
13005 * follow.el (follow-mode):
13006 * font-core.el (font-lock-mode):
13007 * frame.el (auto-raise-mode, auto-lower-mode, blink-cursor-mode):
13008 * help.el (temp-buffer-resize-mode):
13009 * hilit-chg.el (highlight-changes-mode)
13010 (highlight-changes-visible-mode):
13011 * hi-lock.el (hi-lock-mode):
13012 * hl-line.el (hl-line-mode, global-hl-line-mode):
13013 * icomplete.el (icomplete-mode):
13014 * ido.el (ido-everywhere):
13015 * image-file.el (auto-image-file-mode):
13016 * image-mode.el (image-minor-mode):
13017 * iswitchb.el (iswitchb-mode):
13018 * jka-cmpr-hook.el (auto-compression-mode):
13019 * linum.el (linum-mode):
13020 * longlines.el (longlines-mode):
13021 * master.el (master-mode):
13022 * mb-depth.el (minibuffer-depth-indicate-mode):
13023 * menu-bar.el (menu-bar-mode):
13024 * minibuf-eldef.el (minibuffer-electric-default-mode):
13025 * mouse-sel.el (mouse-sel-mode):
13026 * msb.el (msb-mode):
13027 * mwheel.el (mouse-wheel-mode):
13028 * outline.el (outline-minor-mode):
13029 * paren.el (show-paren-mode):
13030 * recentf.el (recentf-mode):
13031 * reveal.el (reveal-mode, global-reveal-mode):
13032 * rfn-eshadow.el (file-name-shadow-mode):
13033 * ruler-mode.el (ruler-mode):
13034 * savehist.el (savehist-mode):
13035 * scroll-all.el (scroll-all-mode):
13036 * scroll-bar.el (scroll-bar-mode):
13037 * server.el (server-mode):
13038 * shell.el (shell-dirtrack-mode):
13039 * simple.el (auto-fill-mode, transient-mark-mode)
13040 (visual-line-mode, overwrite-mode, binary-overwrite-mode)
13041 (line-number-mode, column-number-mode, size-indication-mode)
13042 (auto-save-mode, normal-erase-is-backspace-mode, visible-mode):
13043 * strokes.el (strokes-mode):
13044 * time.el (display-time-mode):
13045 * t-mouse.el (gpm-mouse-mode):
13046 * tool-bar.el (tool-bar-mode):
13047 * tooltip.el (tooltip-mode):
13048 * type-break.el (type-break-mode-line-message-mode)
13049 (type-break-query-mode):
13050 * view.el (view-mode):
13051 * whitespace.el (whitespace-mode, whitespace-newline-mode)
13052 (global-whitespace-mode, global-whitespace-newline-mode):
13053 * xt-mouse.el (xterm-mouse-mode): Doc fix.
13054
a3839de2
SM
13055 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
13056 Fix autogenerated docstring.
06e21633 13057
5214e501
JL
130582011-10-19 Juri Linkov <juri@jurta.org>
13059
13060 * net/browse-url.el (browse-url-can-use-xdg-open): Support LXDE
13061 by checking environment variables "DESKTOP_SESSION" and
13062 "XDG_CURRENT_DESKTOP". (Bug#9779)
13063
195f8db9
JL
130642011-10-19 Juri Linkov <juri@jurta.org>
13065
13066 * net/browse-url.el (browse-url-browser-function): Add "Chromium".
13067 (browse-url-chromium-program, browse-url-chromium-arguments):
13068 New defcustoms.
13069 (browse-url-default-browser): Check for `browse-url-chromium' and
13070 call `browse-url-chromium-program'.
13071 (browse-url-chromium): New command. (Bug#9779)
13072
343a34ff
JB
130732011-10-18 Juanma Barranquero <lekktu@gmail.com>
13074
13075 * facemenu.el (list-colors-duplicates): On Windows, detect more
13076 duplicates by assuming that only colors matching "^System" are
13077 special "system colors". (Bug#9722)
13078
6978a151
SM
130792011-10-18 Stefan Monnier <monnier@iro.umontreal.ca>
13080
13081 * vc/log-edit.el (log-edit): Add "Author:" header to encourage people
13082 to distinguish the author from the committer.
13083
6a80b297
MA
130842011-10-18 Michael Albinus <michael.albinus@gmx.de>
13085
13086 * net/tramp.el (tramp-file-name-handler): Load Tramp packages silently.
13087
b31a5677
JK
130882011-10-18 Jirka Kosek <jirka@kosek.cz> (tiny change)
13089
13090 * international/mule.el (sgml-html-meta-auto-coding-function):
13091 Add support for detecting encoding in HTML5 specified only as
13092 <meta charset="UTF-8">. Implementation just makes http-equiv and
13093 content-type parts from HTML4 encoding string optional. (Bug#9716)
13094
80c6d77f
GM
130952011-10-18 Glenn Morris <rgm@gnu.org>
13096
13097 * vc/vc.el (vc-initial-comment): Mark as obsolete. (Bug#9745)
13098
08b0fee8
CY
130992011-10-18 Chong Yidong <cyd@gnu.org>
13100
13101 * faces.el (cursor): Doc fix.
13102
67e729a5
CY
131032011-10-17 Chong Yidong <cyd@gnu.org>
13104
13105 * font-lock.el (font-lock-maximum-size): Mark as obsolete.
13106
343a34ff 131072011-10-17 Ryan Barrett <emacs@ryanb.org> (tiny change)
87e478b3
RB
13108
13109 * dirtrack.el (dirtrack): Support shell buffers with path
13110 prefixes, e.g. tramp-based remote shells. (Bug#9647)
13111
0bc06380
TZ
131122011-10-17 Teodor Zlatanov <tzz@lifelogs.com>
13113
13114 * json.el: Bump version to 1.3 and note change in History.
13115 (json-alist-p, json-plist-p): Rewrite to avoid recursion.
13116
8b79f3e0
SM
131172011-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
13118
5a7c536b
SM
13119 * comint.el (comint-insert-input, comint-send-input)
13120 (comint-get-old-input-default, comint-backward-matching-input)
13121 (comint-next-prompt): Use nil instead of `input' for field property of
13122 past user input (bug#114).
13123
96a8a0df
SM
13124 * minibuffer.el (completion--replace): Inherit surrounding properties
13125 (bug#114).
13126 (minibuffer-complete-and-exit): Use it.
13127
8b79f3e0
SM
13128 * comint.el (comint--table-subvert): Quote the all-completions output
13129 (bug#9160).
13130
b8f7ff0d
MR
131312011-10-17 Martin Rudalics <rudalics@gmx.at>
13132
8b79f3e0 13133 * ido.el (ido-default-buffer-method): Remove redundant :type entry.
4e5c3d2b 13134
b8f7ff0d 13135 * menu-bar.el (menu-bar-file-menu): Add entry for making new
d912bdcf 13136 window on right of selected. (Bug#9350) Reword other window
b8f7ff0d
MR
13137 entries and separate them from frame entries.
13138
c235b555
GM
131392011-10-15 Glenn Morris <rgm@gnu.org>
13140
13141 * emacs-lisp/ert.el (ert--explain-equal-rec, ert-select-tests):
13142 Doc fixes.
13143
6bbfa6e1
CY
131442011-10-15 Chong Yidong <cyd@stupidchicken.com>
13145
8b79f3e0
SM
13146 * net/network-stream.el (network-stream-open-starttls):
13147 Improve detection of failure due to lack of TLS support.
ec5c990d 13148
6bbfa6e1
CY
13149 * mail/sendmail.el (sendmail-query-once): Tweak prompt message,
13150 putting the input text in front and in bold.
13151
98488977
SM
131522011-10-14 Stefan Monnier <monnier@iro.umontreal.ca>
13153
3d1337be
SM
13154 * pcmpl-unix.el (pcomplete/ssh): SSH does allow ganging.
13155
ee0b45e4
SM
13156 * mpc.el (mpc-songs-jump-to): Don't burp if the user clicks in an
13157 empty buffer.
13158
98488977
SM
13159 * mouse.el (mouse-drag-mode-line-1): Modify the end-event we pushed on
13160 unread-command-events rather than pushing yet-another event.
13161
186f4720
EZ
131622011-10-14 Eli Zaretskii <eliz@gnu.org>
13163
13164 * mail/sendmail.el (sendmail-query-once): Improve the wording of
13165 the explanation of the possible choices. Make the options passed
13166 to completing-read shorter.
13167
8b7a997c
AM
131682011-10-13 Agustín Martín Domingo <agustin.martin@hispalinux.es>
13169
13170 * textmodes/flyspell.el (flyspell-large-region): Make sure
13171 extended character mode is used if defined (Bug#1339).
13172
12587bbb
EZ
131732011-10-13 Eli Zaretskii <eliz@gnu.org>
13174
13175 * simple.el (what-cursor-position): Fix the display of the
e7e2364b
EZ
13176 character info for LRE, LRO, RLE, and RLO characters by appending
13177 an invisible PDF.
12587bbb 13178
bad41229
SM
131792011-10-13 Stefan Monnier <monnier@iro.umontreal.ca>
13180
13181 * emacs-lisp/timer.el (with-timeout): Make sure we cancel the timer
13182 even in case of error; add debug spec; simplify data flow.
13183 (with-timeout-handler): Remove.
13184
28dbc92f
MA
131852011-10-12 Michael Albinus <michael.albinus@gmx.de>
13186
13187 Fix Bug#6019, Bug#9315.
13188
13189 * files.el (set-auto-mode): Call `file-name-sans-versions' for the
13190 complete `buffer-file-name', the local file name part could look
13191 remotely (for example on VMS).
13192
13193 * net/ange-ftp.el (ange-ftp-run-real-handler): Make it an alias of
13194 `tramp-run-real-handler'.
13195 (ange-ftp-fix-name-for-vms): Handle the case, where `name' is
13196 already quoted by '"'.
13197
13198 * net/tramp.el (tramp-rfn-eshadow-update-overlay): Ignore errors.
13199 Let `file-name-handler-alist' be nil, the local file name part
13200 could look remotely (for example on VMS).
13201
e1b0b23a
SM
132022011-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
13203
13204 * textmodes/flyspell.el (flyspell-word): Move with-local-quit
13205 from here...
13206 (flyspell-post-command-hook): ...to here.
13207
a120bde9
SM
132082011-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
13209
13210 * mail/sendmail.el (send-mail-function): Don't use sendmail-query-once
13211 if not needed.
13212 (sendmail-query-once): Remove OS dependencies. Make it a 3-way choice
13213 using completion. Protect against "slow" callers.
13214 Remove the "message hack".
13215
7ce7717b
JL
132162011-10-11 Juri Linkov <juri@jurta.org>
13217
13218 * isearch.el (isearch-lazy-highlight-word): New variable.
13219 (isearch-lazy-highlight-new-loop, isearch-lazy-highlight-search):
13220 Use it. (Bug#9727)
13221
c02ee9d6
GM
132222011-10-11 Glenn Morris <rgm@gnu.org>
13223
13224 * progmodes/f90.el (f90-next-statement): Ignore preprocessor lines,
13225 like f90-previous-statement does.
13226
93e616fd 132272011-10-11 Thierry Volpiatto <thierry.volpiatto@gmail.com>
13228
1f190e73 13229 * eshell/eshell.el (eshell-command): History should be saved
c02ee9d6
GM
13230 only in interactive use, to avoid error.
13231
af7b6078
SM
132322011-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
13233
13234 * minibuffer.el (completion-file-name-table): Fix last change,
13235 i.e. ignore normal errors but not the other ones.
13236
0563dae9
MR
132372011-10-10 Martin Rudalics <rudalics@gmx.at>
13238
13239 * window.el (special-display-buffer-names)
13240 (special-display-regexps): Remove some remnants of earlier
13241 changes from doc-strings.
366ca7f3
MR
13242 (quit-windows-on): New function.
13243
13244 * vc/vc.el (vc-revert, vc-rollback):
13245 * vc/vc-dispatcher.el (vc-finish-logentry): Call quit-windows-on
13246 instead of deleting windows. (Bug#4557) (Bug#5310) (Bug#5556)
9ac13c31 13247 (Bug#6183) (Bug#7074) (Bug#7447)
0563dae9 13248
49677495
MR
132492011-10-09 Martin Rudalics <rudalics@gmx.at>
13250
13251 * window.el (frame-auto-hide-function): Add version tag.
13252 (Bug#9699)
13253
56f2d1e1
MA
132542011-10-09 Michael Albinus <michael.albinus@gmx.de>
13255
13256 * net/tramp.el (tramp-file-name-handler): Add 'debug to the error
13257 condition.
13258
112a6592
LL
132592011-10-09 Leo Liu <sdl.web@gmail.com>
13260
13261 * mail/smtpmail.el (smtpmail-send-data): Add a missing space.
13262 (Bug#9701)
13263
0812589b
GM
132642011-10-08 Glenn Morris <rgm@gnu.org>
13265
13266 * progmodes/f90.el (f90-calculate-indent): Give preprocessor lines
13267 before the first code statement zero indent. (Bug#9690)
13268
b2b0776e
CY
132692011-10-08 Chong Yidong <cyd@stupidchicken.com>
13270
13271 * simple.el (count-words-region): Always count in the region.
13272 Report the number of lines and characters too.
13273 (count-words): New command, which counts in the buffer if the
13274 region is inactive, as count-words-region used to.
13275 (count-words--message): New function. Handle plurals.
13276 (count-lines-region): Make it an alias for count-words-region.
13277
13278 * bindings.el (esc-map): Replace count-lines-region with
13279 count-words-region.
13280
c557cd6b
MR
132812011-10-08 Martin Rudalics <rudalics@gmx.at>
13282
13283 * window.el (window--delete): Delete dedicated frame
13284 unconditionally when argument KILL is non-nil. (Bug#9699)
235ce86f 13285 (switch-to-buffer): Fix doc-string typo.
c557cd6b 13286
61a57ef4 132872011-10-08 Thierry Volpiatto <thierry.volpiatto@gmail.com>
13288
3a7d293b 13289 * eshell/eshell.el (eshell-command): Avoid using hooks.
61a57ef4 13290
c3833279
CY
132912011-10-07 Chong Yidong <cyd@stupidchicken.com>
13292
13293 * bindings.el ([M-left],[M-right]): Bind to left-word and
13294 right-word respectively.
13295
21ce8245
GM
132962011-10-07 Glenn Morris <rgm@gnu.org>
13297
13298 * cus-start.el (debug-on-quit): Fix custom type.
13299
6d823bb2
LMI
133002011-10-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
13301
0181e193
LMI
13302 * subr.el (define-key-after): Clarify that the function is not
13303 useful for non-menu keymaps.
13304
6d823bb2
LMI
13305 * progmodes/gdb-mi.el (gdb): Fix typo in doc string.
13306
8e3459ce 133072011-10-06 Thierry Volpiatto <thierry.volpiatto@gmail.com>
13308
21ce8245 13309 * eshell/eshell.el (eshell-command): Enable `eshell-mode' only
8e3459ce 13310 in current minibuffer (Fix bug with recursive minibuffers).
13311
a1c2d21e
CY
133122011-10-06 Chong Yidong <cyd@stupidchicken.com>
13313
13314 * progmodes/gdb-mi.el (gdb): Doc fix.
13315
5a4cf282
MR
133162011-10-05 Martin Rudalics <rudalics@gmx.at>
13317
13318 * window.el (frame-auto-hide-function): New option replacing
13319 frame-auto-delete. Suggested by Stefan Monnier.
13320 (window--delete): Call frame-auto-hide-function instead of
13321 investigating frame-auto-delete.
c96111ea
MR
13322 (window-point-1, set-window-point-1): New functions.
13323 (window-in-direction, record-window-buffer, window-state-get-1)
13324 (display-buffer-record-window): Use window-point-1 instead of
13325 window-point.
13326 (set-window-buffer-start-and-point): Use set-window-point-1.
5a4cf282 13327
9854542e
SM
133282011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
13329
13330 * emacs-lisp/edebug.el: Heed checkdoc recommendations.
13331
8943cfb0
GM
133322011-10-05 Glenn Morris <rgm@gnu.org>
13333
13334 * progmodes/perl-mode.el (perl-electric-terminator): Doc fix.
13335 (perl-calculate-indent): Suppress scan errors. (Bug#2205)
13336
647ab967
LL
133372011-10-05 Leo Liu <sdl.web@gmail.com>
13338
13339 * subr.el (read-char-choice): Fix argument to buffer-live-p which
13340 works with buffer object.
13341
3ddfbced
SM
133422011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
13343
13344 * mpc.el (mpc-tool-bar-map): Add labels.
13345
bdfa5dd2
GM
133462011-10-04 Glenn Morris <rgm@gnu.org>
13347
13348 * calendar/holidays.el (calendar-check-holidays): Doc fix.
13349
0e2070b5
MR
133502011-10-04 Martin Rudalics <rudalics@gmx.at>
13351
13352 * window.el (window--delete): New function.
13353 (frame-auto-delete): Resuscitate option.
13354 (bury-buffer, replace-buffer-in-windows)
13355 (quit-window): Rewrite using window--delete.
13356 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
13357 Pass display-buffer-mark-dedicated to window--display-buffer-2
13358 (Bug#9639).
13359
3dc61a09
SM
133602011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
13361
915a9b64
SM
13362 * pcmpl-unix.el (pcomplete/scp): Don't assume pcomplete-all-entries
13363 returns a list (bug#9554). Add remote file name completion.
13364 * comint.el (comint--table-subvert): Curry and get quote&unquote
13365 functions as arguments.
13366 (comint--complete-file-name-data): Adjust call accordingly.
13367 * pcomplete.el (pcomplete--table-subvert): Remove.
13368 (pcomplete-completions-at-point): Use comint--table-subvert instead.
13369
3dc61a09
SM
13370 * minibuffer.el (completion-table-case-fold): Use currying.
13371 (completion--styles-type, completion--cycling-threshold-type):
13372 New constants.
13373 (completion-styles, completion-category-overrides)
13374 (completion-cycle-threshold): Use them.
13375 * pcomplete.el (pcomplete-completions-at-point): Adjust call to
13376 completion-table-case-fold.
13377
8ea0a993
SB
133782011-10-03 Stephen Berman <stephen.berman@gmx.net>
13379
13380 * minibuffer.el (completion-category-overrides): Fix type of styles
13381 and add more user friendly tags (bug#9660).
13382
8c24b7f6
SM
133832011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
13384
13385 * international/mule-cmds.el: Fix abuses of apply-partially (bug#9661).
13386 (mule-input-method-string): New widget.
13387 (default-input-method, language-info-custom-alist): Use it.
13388
428fe61a
SM
133892011-10-02 Stefan Monnier <monnier@iro.umontreal.ca>
13390
32c1fffd
SM
13391 * pcomplete.el: Require comint.
13392 (pcomplete--common-suffix): Remove.
13393 (pcomplete--common-quoted-suffix): Use comint--common-suffix instead.
13394 (pcomplete--table-subvert): Sync with comint--table-subvert.
13395 (pcomplete--entries): Use comint-completion-file-name-table.
13396 * comint.el (comint-unquote-filename): Simplify.
13397 (comint-completion-file-name-table): New function (bug#9616).
13398 (comint--complete-file-name-data): Use it.
13399
428fe61a
SM
13400 * pcmpl-gnu.el (pcmpl-gnu-with-file-buffer): New macro (bug#9643).
13401 (pcmpl-gnu-tar-buffer): Remove.
13402 (pcmpl-gnu-with-file-buffer): Use it to avoid leaving the tar's buffer
9aaf2b9c
GM
13403 around. Make sure pcomplete-suffix-list is only changed temporarily.
13404 Don't look inside the tar's file if it's too large.
428fe61a 13405
04c52e2f
CY
134062011-10-01 Chong Yidong <cyd@stupidchicken.com>
13407
ce3cefcc
CY
13408 * cus-edit.el (custom-mode-map):
13409 * epa.el (epa-key-list-mode-map):
13410 * man.el (Man-mode-map):
13411 * startup.el (splash-screen-keymap):
13412 * simple.el (special-mode-map): Use scroll-up-command and
13413 scroll-down-command.
13414
13415 * progmodes/idlw-help.el (idlwave-help-mode-map):
13416 * progmodes/ebrowse.el (ebrowse-electric-position-mode-map):
13417 * net/newst-plainview.el (newsticker-mode-map):
13418 * emulation/ws-mode.el (wordstar-mode-map):
13419 * emulation/vi.el (vi-com-map):
13420 * calc/calc-graph.el (calc-graph-show-dumb):
13421 * term/sun.el (terminal-init-sun):
13422 * term/ns-win.el (global-map):
13423 * progmodes/grep.el (grep-mode-map):
13424 * progmodes/ebrowse.el (ebrowse-electric-list-mode-map):
13425 * mail/rmail.el (rmail-mode-map):
13426 * progmodes/cpp.el (cpp-edit-mode-map): Likewise.
13427
04c52e2f
CY
13428 * custom.el (custom-safe-themes, load-theme): Treat value of t for
13429 custom-safe-themes as special.
13430
79adf8c8
JD
134312011-10-01 Julien Danjou <julien@danjou.info>
13432
13433 * notifications.el (notifications-notify): Fix docstring.
13434
63bd50d3
PS
134352011-10-01 Per Starbäck <per@starback.se>
13436
13437 * pcmpl-gnu.el (pcomplete/tar): Fix tar-header-name call. (Bug#9643)
13438
199e4c7e
MR
134392011-09-30 Martin Rudalics <rudalics@gmx.at>
13440
13441 * startup.el (command-line-1): Fix last fix by inserting
13442 initial-scratch-message into *scratch* before displaying it.
cbc5ee22 13443 (Bug#9605) and (Bug#9636)
199e4c7e 13444
fe5f08dd
EZ
134452011-09-29 Eli Zaretskii <eliz@gnu.org>
13446
13447 * simple.el (line-move): If auto-hscroll-mode is disabled and the
13448 window is hscrolled, move by logical lines. (Bug#9607)
13449 (line-move-visual): Update the doc string to the above effect.
13450
b5516bbd
MR
134512011-09-29 Martin Rudalics <rudalics@gmx.at>
13452
ccee00c0
MR
13453 * window.el (display-buffer-record-window): When WINDOW is the
13454 selected window use `point' instead of `window-point'. (Bug#9626)
13455
b5516bbd
MR
13456 * startup.el (command-line-1): Use insert-before-markers when
13457 inserting initial-scratch-message. (Bug#9605)
ccee00c0 13458
b5516bbd
MR
13459 * help.el (help-window): Remove variable.
13460
52aa0014
GM
134612011-09-29 Glenn Morris <rgm@gnu.org>
13462
13463 * pcmpl-cvs.el (pcomplete/cvs): Add "status" handler.
13464
df9a7357
JB
134652011-09-29 Juanma Barranquero <lekktu@gmail.com>
13466
13467 * descr-text.el (describe-char-categories): Accept category
13468 descriptions more than one line long.
13469
a8406c20
SM
134702011-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
13471
88d9610c
SM
13472 * simple.el (delete-trailing-whitespace): Fix last change.
13473
a5daf810
SM
13474 * progmodes/perl-mode.el (perl-syntax-propertize-function):
13475 Don't confuse "y => 3" as the beginning of a `y' operation.
13476
a8406c20
SM
13477 * emacs-lisp/debug.el (debug-convert-byte-code): Don't assume the
13478 object has more than 4 slots (bug#9613).
13479
a239d4e9
JB
134802011-09-28 Juanma Barranquero <lekktu@gmail.com>
13481
13482 * subr.el (with-output-to-temp-buffer):
13483 * net/quickurl.el (quickurl, quickurl-browse-url):
13484 Fix typos in docstrings.
13485
693fbdb6
EZ
134862011-09-27 Eli Zaretskii <eliz@gnu.org>
13487
13488 * minibuffer.el (completion-styles)
13489 (completion-category-overrides): Cross reference each other in doc
13490 strings.
13491
8b457e28
GM
134922011-09-27 Glenn Morris <rgm@gnu.org>
13493
13494 * pcmpl-cvs.el (pcmpl-cvs-entries): Update for Emacs 22.1 changes
13495 to split-string. (Bug#9606)
13496
85a16208
LMI
134972011-09-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
13498
13499 * mail/smtpmail.el (smtpmail-via-smtp): Fix STARTTLS detection
13500 (bug#9615).
13501
502f9ebd
CY
135022011-09-27 Chong Yidong <cyd@stupidchicken.com>
13503
13504 * emacs-lisp/package.el (list-packages): Fix echo area message.
13505
7690bdea
LL
135062011-09-27 Leo Liu <sdl.web@gmail.com>
13507
13508 * ido.el (ido-read-internal): Accept cons cell HIST arg.
13509
e2ee6f30
MA
135102011-09-25 Michael Albinus <michael.albinus@gmx.de>
13511
13512 * net/dbus.el (dbus-unregister-object): Don't release services for
13513 registered signals. (Bug#9581)
13514
f3f98342
TZ
135152011-09-25 Teodor Zlatanov <tzz@lifelogs.com>
13516
13517 * progmodes/cfengine.el (cfengine-auto-mode): Add convenience
13518 function that picks between cfengine 2 and 3 support
13519 automatically. Update docs accordingly.
13520
dd7aa8dd
KH
135212011-09-22 Kenichi Handa <handa@m17n.org>
13522
13523 * language/ind-util.el (indian-tml-base-table): Add TAMIL DIGIT
13524 ZERO.
13525 (indian-itrans-v5-table-for-tamil): New variable.
13526 (indian-tml-itrans-v5-hash): Use the above variable (Bug#9336).
13527
3f2b07f8
KM
135282011-09-22 Ken Manheimer <ken.manheimer@gmail.com>
13529
13530 * allout.el (allout-this-command-hid-stuff): Buffer-local variable
13531 that's true if the current command involved collapsing of text.
13532 It's reset to false at the beginning of the next command.
13533 (allout-post-command-business): Move the cursor to the beginning
13534 of entry if the cursor is hidden and collapsing activity just
13535 happened.
13536
371d6a61
CY
135372011-09-24 Chong Yidong <cyd@stupidchicken.com>
13538
13539 * mouse.el (mouse-drag-track): Set scroll-margin to 0 while
13540 tracking (Bug#9541).
13541
2ac2721a
UJ
135422011-09-24 Ulf Jasper <ulf.jasper@web.de>
13543
13544 * net/newst-reader.el (newsticker-html-renderer)
1154d12e
JB
13545 (newsticker-show-news): Automatically load html rendering package
13546 if newsticker-html-renderer is set. Fixes "Warning: defvar ignored
13547 because w3m-fill-column is let-bound" and the error "Symbol's value
13548 as variable is void: w3m-fill-column".
2ac2721a 13549
fac7ae53
MA
135502011-09-24 Michael Albinus <michael.albinus@gmx.de>
13551
13552 * net/dbus.el (dbus-unregister-object): Remove match rule of signals.
13553 Release services only if they are defined. (Bug#9581)
13554
e08b633b
RS
135552011-09-23 Richard Stallman <rms@gnu.org>
13556
e488d29c
RS
13557 * textmodes/paragraphs.el (forward-sentence): For backwards case,
13558 distinguish start of paragraph from start of its text.
13559
19c38752
RS
13560 * mail/emacsbug.el (report-emacs-bug-query-existing-bugs): Autoload.
13561
e08b633b
RS
13562 * mail/rmail.el (rmail-view-buffer-kill-buffer-hook): New function.
13563 (rmail-generate-viewer-buffer): Put that hook on view buffer.
13564 (rmail-mode-kill-buffer-hook): Override that hook, to kill view buffer.
13565
0a39f27e
AS
135662011-09-23 Andreas Schwab <schwab@linux-m68k.org>
13567
13568 * international/mule-diag.el (mule-diag): Insert a newline after
13569 each fontset description.
13570
db4e950d
SM
135712011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
13572
13573 * simple.el (delete-trailing-whitespace):
13574 Document last change; simplify.
13575
eca3f3ea
PW
135762011-09-23 Peter J. Weisberg <pj@irregularexpressions.net>
13577
d68e189a
PW
13578 * simple.el (delete-trailing-whitespace): Also delete
13579 extra newlines at the end of the buffer.
13580
eca3f3ea
PW
13581 * textmodes/picture.el: Make motion commands obey shift-select-mode.
13582 (picture-newline): Use forward-line so as to ignore fields.
13583
01c157cc
SM
135842011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
13585
13586 * subr.el (with-wrapper-hook): Fix edebug spec.
13587
022de23e
LMI
135882011-09-23 Lars Magne Ingebrigtsen <larsi@gnus.org>
13589
13590 * simple.el (kill-line): Note effect of `show-trailing-whitespace'
13591 (bug#4538).
13592
91683089
MA
135932011-09-23 Michael Albinus <michael.albinus@gmx.de>
13594
eca3f3ea
PW
13595 * net/tramp-sh.el (tramp-sh-handle-file-name-all-completions):
13596 Fix nasty bug using wrong cached values.
91683089 13597
5bdd6fa4
AM
135982011-09-23 Alan Mackenzie <acm@muc.de>
13599
13600 * progmodes/cc-defs.el (c-version): Increase to 5.31.9.
13601
97adfb97
CY
136022011-09-23 Chong Yidong <cyd@stupidchicken.com>
13603
13604 * window.el (pop-to-buffer): Ensure right window is selected if we
13605 chose another frame.
13606
d4ef2b50
EZ
136072011-09-22 Eli Zaretskii <eliz@gnu.org>
13608
13609 * simple.el (what-cursor-position): Use get-char-property-change
13610 and next-single-char-property-change, to be able to show display
13611 properties that come from overlays as well as text properties.
13612
72258fe5
CY
136132011-09-22 Chong Yidong <cyd@stupidchicken.com>
13614
13615 * window.el (pop-to-buffer-same-window): New (reinstated) fun.
13616
13617 * cmuscheme.el (run-scheme, switch-to-scheme):
13618 * cus-edit.el (customize-group, custom-buffer-create)
13619 (customize-browse):
13620 * info.el (info):
13621 * shell.el (shell):
13622 * mail/sendmail.el (mail):
13623 * progmodes/inf-lisp.el (inferior-lisp): Use it (Bug#9532).
13624
8f098516
RS
136252011-09-22 Richard Stallman <rms@gnu.org>
13626
13627 * textmodes/paragraphs.el (forward-sentence): When setting PAR-BEG,
13628 move back only to line beg, don't move back over blank lines.
13629
e74f1bb6
MA
136302011-09-22 Michael Albinus <michael.albinus@gmx.de>
13631
13632 * files.el (copy-directory): Set directory attributes only in case
13633 they could be retrieved from the source directory. (Bug#9565)
13634
bfeef8b6
DK
136352011-09-22 Dima Kogan <dkogan@secretsauce.net> (tiny change)
13636
13637 * progmodes/hideshow.el (hs-looking-at-block-start-p)
13638 (hs-find-block-beginning, hs-hide-level-recursive):
13639 Ignore strings as well as comments. (Bug#9502)
13640
7e423bb8
AS
136412011-09-22 Andrew Schein <andrew@andrewschein.com> (tiny change)
13642
13643 * progmodes/sql.el (sql-comint-postgres):
13644 Convert port number to a string. (Bug#9566)
13645
b4d72fcf
MR
136462011-09-22 Martin Rudalics <rudalics@gmx.at>
13647
13648 * window.el (quit-window): Undedicate window when switching to
13649 previous buffer. Reported by Thierry Volpiatto
13650 <thierry.volpiatto@gmail.com>.
7f80c86d
MR
13651 (special-display-popup-frame): When popping up a new frame reset
13652 its previous buffers to nil. Simplify code.
b4d72fcf 13653
a7b88dc6
MA
136542011-09-21 Michael Albinus <michael.albinus@gmx.de>
13655
13656 * net/tramp.el (tramp-handle-shell-command): Set process sentinel
13657 and process filter, as done also in `shell-command'.
13658
cf4eacfd
MR
136592011-09-21 Martin Rudalics <rudalics@gmx.at>
13660
eca3f3ea 13661 * window.el (set-window-buffer-start-and-point):
1154d12e
JB
13662 Call set-window-start with NOFORCE argument t.
13663 Suggested by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
cf4eacfd
MR
13664 (quit-window): Reword doc-string. Handle new format of
13665 quit-restore parameter. Don't delete window if it has a
13666 previous buffer we can show instead of the present one.
13667 (display-buffer-record-window): Rewrite using a new format for
13668 the quit-restore window parameter
13669 (special-display-popup-frame, display-buffer-same-window)
13670 (display-buffer-reuse-window, display-buffer-pop-up-frame)
13671 (display-buffer-pop-up-window, display-buffer-use-some-window):
13672 Adapt symbol passed to display-buffer-record-window.
13673 * help.el (help-window-setup): Handle new format of quit-restore
13674 parameter.
13675
8d28cb95
SM
136762011-09-21 Stefan Monnier <monnier@iro.umontreal.ca>
13677
94ab793f
SM
13678 * faces.el (face-list): Fix docstring (bug#9564).
13679
8d28cb95
SM
13680 * window.el (display-buffer--action-function-custom-type):
13681 Don't include internal functions in the Custom interface.
13682
3820edeb
JL
136832011-09-20 Juri Linkov <juri@jurta.org>
13684
13685 * info.el (Info-history-skip-intermediate-nodes): New defcustom.
13686 (Info-forward-node, Info-backward-node, Info-next-preorder)
13687 (Info-last-preorder): Use it. (Bug#9528)
13688
5147931d
JL
136892011-09-20 Juri Linkov <juri@jurta.org>
13690
13691 * info.el (Info-last-preorder): Visit last menu item only when
13692 `Info-scroll-prefer-subnodes' is non-nil (third test-case of bug#9528).
13693
cf499a1a
JD
136942011-09-20 Julien Danjou <julien@danjou.info>
13695
13696 * password-cache.el (password-cache-remove): Remove entries even if the
13697 value is nil, so that password with a nil value (negative caching) is
13698 possible to invalidate.
13699
f84e2fe2
LM
137002011-09-20 Lawrence Mitchell <wence@gmx.li>
13701
13702 * progmodes/f90.el (f90-break-line): If breaking inside comment delete
13703 all whitespace around breakpoint. (Bug#9553)
13704 (f90-find-breakpoint): Only break at whitespace inside a comment.
13705
78054a46
SM
137062011-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
13707
13708 * minibuffer.el (completion-file-name-table): Keep track of errors.
13709 (completion-table-with-predicate): Handle the case where pred1 is nil.
13710 * pcomplete.el (pcomplete-completions-at-point): Simplify.
13711
345083b2
SM
137122011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
13713
e24e27be
SM
13714 * emacs-lisp/debug.el (debugger-args): Give it a docstring.
13715 (debugger-return-value): Signal an error if the debugging context does
13716 not await any return value.
13717
345083b2
SM
13718 * ps-mule.el (ps-mule-plot-string): Don't inf-loop (bug#5108).
13719 * image-mode.el (image-toggle-display-text)
13720 (image-toggle-display-image): Stay away from evil `intangible'.
13721
08d355e3
LL
137222011-09-19 Leo Liu <sdl.web@gmail.com>
13723
13724 * replace.el (occur-revert-arguments): Make it permanent-local.
13725 (occur-mode): Don't call font-lock-defontify.
13726
f01da43f
CY
137272011-09-19 Chong Yidong <cyd@stupidchicken.com>
13728
13729 * net/ldap.el (ldap-search-internal): Don't push empty search
13730 result (Bug#9508).
13731
b6072fa6
SM
137322011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
13733
13734 * whitespace.el (whitespace-newline-mode): Disable it right (bug#9550).
13735
443d6696
MA
137362011-09-19 Michael Albinus <michael.albinus@gmx.de>
13737
13738 * net/tramp-sh.el (tramp-inline-compress-commands): Add "xz".
13739 Suggested by Liam Stitt <stittl@cuug.ab.ca>.
13740
7cc6e154
JL
137412011-09-18 Juri Linkov <juri@jurta.org>
13742
13743 * buff-menu.el (Buffer-menu-mode-map):
13744 * dired.el (dired-mode-map):
13745 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map)
13746 (lisp-interaction-mode-map):
13747 * emacs-lisp/package.el (package-menu-mode-map):
13748 * epa.el (epa-key-list-mode-map):
13749 * menu-bar.el (menu-bar-showhide-tool-bar-menu)
13750 (menu-bar-options-menu):
13751 * outline.el (outline-mode-menu-bar-map):
13752 * vc/vc-bzr.el (vc-bzr-shelve-menu-map, vc-bzr-extra-menu-map):
13753 * vc/vc-dir.el (vc-dir-menu-map):
13754 * vc/vc-git.el (vc-git-stash-menu-map, vc-git-extra-menu-map):
13755 Capitalize non-function content words in menu item strings.
13756
13757 * dired.el (dired-mode-map): Add menu item for
13758 `image-dired-dired-toggle-marked-thumbs'.
13759
80302a81
JL
137602011-09-18 Juri Linkov <juri@jurta.org>
13761
13762 * isearch.el (isearch-edit-string): Bind `isearch-new-case-fold'
13763 to `isearch-case-fold-search' and restore its original value
13764 after the `isearch-mode' call.
13765
46c5cf66
JL
137662011-09-18 Juri Linkov <juri@jurta.org>
13767
13768 * progmodes/grep.el (grep-process-setup): Don't check code for 1
13769 because `zgrep' returns 1 for successful matches (bug#9226).
13770
d18b513b
JL
137712011-09-18 Juri Linkov <juri@jurta.org>
13772
13773 * info.el (Info-extract-menu-node-name): Check the second match
13774 for empty string (second test-case of bug#9528).
13775 (Info-last-preorder): Let-bind `Info-history' to nil to not add
13776 intermediate nodes to the history (first test-case of bug#9528).
13777
72753f87
JL
137782011-09-18 Juri Linkov <juri@jurta.org>
13779
13780 * info.el (Info-mode-syntax-table): New variable.
1154d12e 13781 (Info-mode): Set `:syntax-table' to `Info-mode-syntax-table' (bug#3312).
72753f87 13782
c9384295
JL
137832011-09-18 Juri Linkov <juri@jurta.org>
13784
1154d12e
JB
13785 * info.el (Info-file-supports-index-cookies):
13786 Increment line-beginning-position's arg from 3 to 4 because makeinfo
13787 outputs one more line for long file names (bug#4142).
c9384295 13788
d473dce8
CY
137892011-09-18 Chong Yidong <cyd@stupidchicken.com>
13790
13791 * newcomment.el (comment-normalize-vars): If prompting for
13792 comment-start, set comment-start-skip too (Bug#8424).
13793
2176854d
JB
137942011-09-18 Johan Bockgård <bojohan@gnu.org>
13795
13796 * icomplete.el: Fix previous fix of Bug#5849.
13797 (icomplete-mode): Don't set completion-show-inline-help.
13798 (icomplete-minibuffer-setup): Set completion-show-inline-help
13799 locally during icompletion.
13800
3aace4e4
CY
138012011-09-18 Chong Yidong <cyd@stupidchicken.com>
13802
c940224f
CY
13803 * woman.el (woman2-process-escapes): Don't delete unrecognized
13804 escapes (Bug#7843).
13805
3aace4e4
CY
13806 * files.el (inhibit-first-line-modes-regexps): Add image files.
13807 (hack-local-variables-prop-line): Return nil for malformed
13808 prop-lines (Bug#9044).
13809
710dec63
MA
138102011-09-18 Michael Albinus <michael.albinus@gmx.de>
13811
13812 * net/tramp.el (top): Don't require 'shell.
13813 (tramp-methods): Fix docstring.
13814 (tramp-get-remote-tmpdir): New defun, moved from tramp-sh.el.
8d28cb95
SM
13815 Return complete remote file name. Handle "smb" case.
13816 Use `tramp-tmpdir', if defined for the respective method.
710dec63
MA
13817 (tramp-make-tramp-temp-file): Adapt call of `tramp-get-remote-tmpdir'.
13818
13819 * net/tramp-compat.el (top): Require 'shell.
13820
13821 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
13822 (tramp-maybe-open-connection): Use `tramp-file-name-real-host' for
13823 `tramp-current-host'.
13824 (tramp-get-remote-tmpdir): Remove.
13825
13826 * net/tramp-smb.el (tramp-methods): Add `tramp-remote-shell' and
13827 `tramp-tmpdir' entries.
13828 (tramp-smb-errors): Add "NT_STATUS_IMAGE_ALREADY_LOADED".
13829 (tramp-smb-handle-file-attributes): Ignore errors.
13830 (tramp-smb-wait-for-output): Check also for process end.
13831
5d5ac8ec
LMI
138322011-09-18 Lars Magne Ingebrigtsen <larsi@gnus.org>
13833
13834 * mail/smtpmail.el (smtpmail-via-smtp): Ignore errors that arise
13835 when sending QUIT (bug#9312).
13836
8c0f49f0
CY
138372011-09-17 Chong Yidong <cyd@stupidchicken.com>
13838
13839 * replace.el (occur-mode-map): Rebind occur-edit-mode to "e" (Bug#8463).
13840 (occur-edit-mode-map): Bind C-c C-c to occur-cease-edit and C-o to
13841 occur-mode-display-occurrence.
13842 (occur-edit-mode): Add usage message.
13843 (occur-cease-edit): New command.
13844 (occur-after-change-function): Use text properties to find the
13845 position of the prefix text.
13846 (occur-engine): Set stickiness of prefix text properties.
13847
8f1383f7
GM
138482011-09-17 Glenn Morris <rgm@gnu.org>
13849
13850 * progmodes/etags.el (complete-tag):
13851 Fix call to completion-in-region. (Bug#9526)
13852
744ba0e3
JL
138532011-09-17 Juri Linkov <juri@jurta.org>
13854
13855 * textmodes/ispell.el (ispell-word): Add to the error message
13856 the word, ispell program name and current dictionary (bug#9121).
13857 (ispell-tex-arg-end): Capitalize "error" in the error message.
13858
d9bbf400
AS
138592011-09-17 Andreas Schwab <schwab@linux-m68k.org>
13860
13861 * emacs-lisp/bytecomp.el (byte-compile-lapcode): Fix overflow
13862 check. (Bug#4251)
13863
8da11505
JL
138642011-09-17 Juri Linkov <juri@jurta.org>
13865
13866 * window.el (window-safe-min-height, window-safe-min-width):
13867 Fix typos (followup to bug#9522).
13868
a91adc7e
SJ
138692011-09-17 Sven Joachim <svenjoac@gmx.de>
13870
13871 * window.el (window-min-width, window-state-put): Fix typos (bug#9522).
13872
064f328a
EZ
138732011-09-16 Eli Zaretskii <eliz@gnu.org>
13874
13875 * simple.el (line-move): If goal-column is set, move by logical
13876 lines, not by display lines. (Bug#971)
13877 (next-line, previous-line, goal-column, line-move-visual): Doc fix
13878 to reflect the above change.
13879
e69df516
SM
138802011-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
13881
13882 * image.el (imagemagick-register-types): Use regexp-opt.
13883
cbb0f9ab
CY
138842011-09-15 Chong Yidong <cyd@stupidchicken.com>
13885
13886 * window.el (display-buffer-base-action): Rename from
13887 display-buffer-default-action. Make default value empty.
13888 (display-buffer-overriding-action): Convert to defvar.
13889 (display-buffer-fallback-action): New var.
13890
25322144
CY
138912011-09-15 Chong Yidong <cyd@stupidchicken.com>
13892
13893 * emacs-lisp/package.el (package-alist): Fix risky-local-variable
13894 declaration.
13895 (package--add-to-archive-contents): If there is a duplicate entry
13896 with an older version, remove it.
13897 (package-menu-mark-delete, package-menu-mark-install)
13898 (package-menu-mark-unmark): Make unused args optional.
e69df516
SM
13899 (package-menu-mark-obsolete-for-deletion):
13900 Use package-menu-get-status instead of a regexp search.
25322144
CY
13901 (package-menu-get-status): Use tabulated-list-entry.
13902 (package-menu-mark-upgrades): New command.
d770725a 13903 (package-menu-mode-map): Bind it to U. Add it to menu bar.
25322144
CY
13904 (package-menu-execute): Do installation before deletion.
13905 (package-menu-refresh, package-menu-execute): Use derived-mode-p
13906 instead of checking major-mode.
13907 (package-menu--find-upgrades): New function.
13908
7520339c
LMI
139092011-09-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
13910
13911 * mail/smtpmail.el (smtpmail-send-command): Don't include AUTH
13912 passwords in the log buffer.
65a046c4
LMI
13913 (smtpmail-process-filter): Update the process marker so that the
13914 "broken by peer" status message is inserted in the right place.
7520339c 13915
d3c30954
SM
139162011-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
13917
3fe48822
SM
13918 * textmodes/bibtex.el (bibtex-complete-string-cleanup)
13919 (bibtex-complete-crossref-cleanup): Adjust to accommodate needs of
13920 bibtex-completion-at-point-function.
13921 (bibtex-completion-at-point-function): Use them.
13922
1b8b3954
SM
13923 * newcomment.el (comment-add, comment-valid-prefix-p): Docfix.
13924
d3c30954
SM
13925 * mpc.el (mpc-constraints-tag-lookup): New function.
13926 (mpc-constraints-restore): Use it to make jumping to "album=Foo" apply
13927 also to browser "album|playlist".
13928
72779976
JL
139292011-09-14 Juri Linkov <juri@jurta.org>
13930
13931 * isearch.el (isearch-fail-pos): Add new arg `msg'. Doc fix.
13932 (isearch-edit-string): Use length of `isearch-string' when
13933 `isearch-fail-pos' returns nil.
13934 (isearch-message): Remove duplicate code and call
13935 `isearch-fail-pos' with arg `t'.
13936
a0bf2bcd
CY
139372011-09-14 Chong Yidong <cyd@stupidchicken.com>
13938
17bb0a2d
CY
13939 * replace.el (occur-mode-goto-occurrence): Don't force using other
13940 window (Bug#9499).
13941
a0bf2bcd
CY
13942 * dired-aux.el (dired-do-chmod): Don't provide initial input.
13943
f678e0b6
MR
139442011-09-14 Martin Rudalics <rudalics@gmx.at>
13945
13946 * window.el (display-buffer-window): Remove.
13947 (display-buffer-record-window): Use help-setup window parameter
13948 instead of variable display-buffer-window.
13949 (display-buffer-function, special-display-buffer-names)
13950 (special-display-function): Mention help-setup parameter instead
13951 of display-buffer-window in doc-string.
d3c30954
SM
13952 * help.el (help-window-setup): New argument help-window.
13953 Use help-window-setup parameter instead of display-buffer-window.
f678e0b6
MR
13954 Reword some messages.
13955 (with-help-window): Pass window used for displaying the buffer
13956 to help-window-setup. Don't set display-buffer-window.
13957
8e39b2e8
GM
139582011-09-13 Glenn Morris <rgm@gnu.org>
13959
13960 * emacs-lisp/debug.el (debugger-make-xrefs):
13961 Preserve point. (Bug#9462)
13962
85e9c04b
CY
139632011-09-13 Chong Yidong <cyd@stupidchicken.com>
13964
13965 * window.el (window-deletable-p): Use next-frame.
13966
1b36ed6a
MR
139672011-09-13 Martin Rudalics <rudalics@gmx.at>
13968
13969 * window.el (window-auto-delete): Remove.
13970 (window-deletable-p): Remove argument FORCE. Don't deal with
e4769531 13971 dedication and previous buffers.
1b36ed6a
MR
13972 (switch-to-prev-buffer): Don't delete window.
13973 (delete-windows-on): Delete a window's frame if and only if the
13974 window is dedicated.
13975 (replace-buffer-in-windows): Delete buffer's window or frame if
13976 and only if window is dedicated.
13977 (quit-window): Handle quit-restore as before last change.
4d61f28d 13978 (bury-buffer): Delete window only if window-deletable-p returns t.
1b36ed6a 13979
ef8ef9fb
CY
139802011-09-13 Chong Yidong <cyd@stupidchicken.com>
13981
13982 * window.el (window-deletable-p): Never delete the last frame on a
13983 given terminal.
13984
b2cba41e
GM
139852011-09-13 Glenn Morris <rgm@gnu.org>
13986
13987 * help.el (describe-key-briefly): Copy previous standard-output change.
13988
51553db6 139892011-09-13 PJ Weisberg <pj@irregularexpressions.net>
e3ce671f
PW
13990
13991 * help.el (where-is): Respect non-standard standard-output. (Bug#9030)
13992
b7556719
GM
139932011-09-13 Glenn Morris <rgm@gnu.org>
13994
13995 * emacs-lisp/lisp-mode.el (lisp-indent-function):
13996 * progmodes/scheme.el (scheme-indent-function): Doc fixes.
13997
64b51947
CY
139982011-09-12 Chong Yidong <cyd@stupidchicken.com>
13999
14000 * dired-aux.el (dired-mark-read-string): Don't return default
14001 value on empty input (Bug#9361).
14002 (dired-do-chxxx): Treat empty input for "touch" as no -t option.
14003 Omit initial minibuffer contents.
14004 (dired-do-chmod): Signal an error on empty input.
14005 (dired-mark-read-string): Don't return default on empty input.
14006
14007 * files.el (file-modes-symbolic-to-number): Doc fix.
14008
393a301e
SM
140092011-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
14010
14011 * international/mule-cmds.el (ucs-completions): Remove.
14012 (read-char-by-name): Use complete-with-action instead; add metadata.
14013
fa5660f9
CY
140142011-09-11 Chong Yidong <cyd@stupidchicken.com>
14015
14016 * window.el (display-buffer--action-function-custom-type)
14017 (display-buffer--action-custom-type): New vars.
14018 (display-buffer-alist, display-buffer-default-action)
14019 (display-buffer-overriding-action): Add defcustom types.
14020
4a592f66
CY
14021 * frame.el (delete-other-frames): Doc fix (Bug#276).
14022
73d56dbd
LMI
140232011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
14024
14025 * play/doctor.el (make-doctor-variables): Define `doctor-sent'.
14026
37ac18a3
CY
140272011-09-11 Chong Yidong <cyd@stupidchicken.com>
14028
14029 Change modes that used same-window-* vars to use switch-to-buffer.
14030
14031 * progmodes/gdb-mi.el (gdb-restore-windows, gdb-setup-windows):
14032 Use switch-to-buffer.
14033
14034 * cus-edit.el (customize-group, custom-buffer-create)
393a301e
SM
14035 (customize-browse, custom-buffer-create-other-window):
14036 Use switch-to-buffer or switch-to-buffer-other-window.
37ac18a3
CY
14037
14038 * info.el (info, Info-find-node, Info-revert-find-node, Info-next)
14039 (Info-prev, Info-up, Info-speedbar-goto-node)
14040 (info-display-manual): Use switch-to-buffer.
14041 (Info-speedbar-goto-node): Use switch-to-buffer-other-frame.
14042
14043 * mail/sendmail.el (mail): Use switch-to-buffer.
14044 (mail-recover): Use switch-to-buffer-other-window.
14045
14046 * cmuscheme.el (run-scheme, switch-to-scheme):
14047 * ielm.el (ielm):
14048 * shell.el (shell):
14049 * net/rlogin.el (rlogin):
14050 * net/telnet.el (telnet, rsh):
14051 * progmodes/inf-lisp.el (inferior-lisp): Use switch-to-buffer.
14052
10195bd6
AS
140532011-09-11 Andreas Schwab <schwab@linux-m68k.org>
14054
14055 * dired.el (dired-sort-toggle-or-edit): Revert last changes.
14056
b322f63a
LMI
140572011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
14058
39d7fed6
LMI
14059 * dired.el (dired-sort-toggle-or-edit): -o doesn't exist on *BSD,
14060 so don't mention it (bug#9301).
ba5a81f1 14061 (dired-sort-toggle-or-edit): Clarify string further.
39d7fed6 14062
ee0e9f11
LMI
14063 * faces.el (face-spec-set-match-display): Make `(type graphic)'
14064 match `x', `w32' and `ns', like the manual says (bug#9029).
14065
0b1c89c1 14066 * subr.el (eval-after-load): Doc string clarification (bug#9125).
da9fcb93
LMI
14067 (process-kill-buffer-query-function): Mention the buffer name in
14068 the query.
0b1c89c1 14069
77549ea8
LMI
14070 * image-mode.el (image-next-line): The line parameter is mandatory
14071 (bug#9258).
14072
803ef892
LMI
14073 * dired.el (dired-sort-toggle-or-edit): Mention -o and -g, too,
14074 which can be useful (bug#9301).
14075
12980837
LMI
14076 * textmodes/flyspell.el: Remove obsolete comment (bug#9368).
14077
91054f8f
LMI
14078 * subr.el (match-string): Mention that the current buffer should
14079 be the same as the search was done in (bug#9282).
14080
b322f63a
LMI
14081 * facemenu.el: Disable the remove-* commands if the mark isn't
14082 active (bug#9162).
14083
3199b96f
CY
140842011-09-10 Chong Yidong <cyd@stupidchicken.com>
14085
14086 * buff-menu.el (Buffer-menu-switch-other-window): Use second arg
14087 of display-buffer.
14088 (Buffer-menu-2-window): Use switch-to-buffer-other-window.
14089
14090 * replace.el (occur-mode-goto-occurrence)
14091 (occur-mode-display-occurrence) Use second arg of pop-to-buffer
14092 and display-buffer.
14093
14094 * mail/reporter.el (reporter-submit-bug-report): Use second arg of
14095 display-buffer.
14096
14097 * mail/sendmail.el (sendmail-user-agent-compose): Don't bind the
14098 special-display and same-window variables.
14099 (mail-other-window): Use switch-to-buffer-other-window.
14100 (mail-other-frame): USe switch-to-buffer-other-frame.
14101
393a301e
SM
14102 * progmodes/gdb-mi.el (gdb-frame-gdb-buffer):
14103 Use display-buffer-other-frame.
3199b96f
CY
14104 (gdb-display-gdb-buffer): Use pop-to-buffer.
14105
14106 * progmodes/gud.el (gud-goto-info): Use info-other-window.
14107
14108 * progmodes/python.el: Don't set same-window-buffer-names.
14109
14110 * textmodes/bibtex.el (bibtex-search-entry): Use switch-to-buffer.
14111
14112 * window.el (display-buffer-alist): Add *Python*.
14113
8319e0bf
CY
141142011-09-10 Chong Yidong <cyd@stupidchicken.com>
14115
14116 * window.el (display-buffer-alist): Add entry for buffers
14117 previously handled same-window-*.
14118 (display-buffer-alist, display-buffer-default-action)
14119 (display-buffer-overriding-action): Mark as risky.
14120 (display-buffer-alist): Document action function changes.
14121 (display-buffer--same-window-action)
14122 (display-buffer--other-frame-action): New variables.
14123 (switch-to-buffer, display-buffer-other-frame): Use them.
14124 (display-buffer): Rename reuse-frame entry to reusable-frames.
14125 (display-buffer-reuse-selected-window): Function deleted.
14126 (display-buffer-reuse-window): Handle reusable-frames alist entry.
14127 If it's omitted, check pop-up-frames/display-buffer-reuse-frames.
14128 (display-buffer-special): New function.
14129 (display-buffer--maybe-pop-up-frame-or-window): Rename from
14130 display-buffer-reuse-or-pop-window. Split off special-display
14131 part into display-buffer-special.
14132 (display-buffer-use-some-window): Don't perform any special
14133 pop-up-frames handling.
14134 (pop-to-buffer): Use window-normalize-buffer-to-switch-to.
393a301e 14135 (display-buffer--maybe-same-window): Rename from
0d3ff375 14136 display-buffer-maybe-same-window.
8319e0bf 14137
919a69aa
CY
14138 * info.el: Don't set same-window-regexps.
14139 (info-setup): New function.
14140 (info-other-window, info): Call it.
14141
14142 * cus-edit.el: Don't set same-window-regexps.
14143 (customize-group): New argument.
14144 (customize-group-other-window): Use it.
14145 (customize-face, customize-face-other-window): Likewise.
14146 (custom-buffer-create-other-window): Use pop-to-buffer directly.
14147
8319e0bf
CY
14148 * net/rlogin.el:
14149 * net/telnet.el:
14150 * progmodes/gud.el: Don't set same-window-regexps.
14151
14152 * cmuscheme.el:
14153 * ielm.el:
14154 * shell.el:
14155 * mail/sendmail.el:
14156 * progmodes/inf-lisp.el: Don't set same-window-buffer-names.
14157
25173000
JL
141582011-09-10 Juri Linkov <juri@jurta.org>
14159
14160 * isearch.el (isearch-edit-string): Remove obsolete mention of
14161 `C-w' (`isearch-yank-word-or-char') from docstring.
14162 (isearch-query-replace): Fix typo in docstring (bug#9466).
14163
056e44ef
JL
141642011-09-10 Juri Linkov <juri@jurta.org>
14165
14166 * paren.el (show-paren-function): Don't show escaped parens.
14167 Let-bind `unescaped' to `t' when paren is not escaped. (Bug#9461)
14168
c3760c17
EZ
141692011-09-10 Eli Zaretskii <eliz@gnu.org>
14170
14171 * mail/sendmail.el (mml-to-mime, mml-attach-file)
14172 (mm-default-file-encoding): Remove autoload forms, they are
14173 replaced with autoload cookies in mml.el and mm-encode.el.
14174 (mail-add-attachment): New command.
14175 (mail-mode-map): Add a menu-bar item for mail-add-attachment.
14176 (mail-mode): Mention mail-insert-file and mail-add-attachment in
14177 the doc string.
14178 (mml-to-mime, mml-attach-file, mm-default-file-encoding): Declare.
14179
fece895e
RT
141802011-09-10 Reuben Thomas <rrt@sc3d.org>
14181
e69df516
SM
14182 * simple.el (count-words-region): Use buffer if there's no region
14183 (bug#9429).
fece895e 14184
5e68ce4a
JL
141852011-09-09 Juri Linkov <juri@jurta.org>
14186
14187 * wdired.el (wdired-change-to-wdired-mode): Set buffer-local
14188 `isearch-filter-predicate' to `wdired-isearch-filter-read-only'.
14189 (wdired-isearch-filter-read-only): New function. (Bug#6362)
14190
0a6b9622
AM
141912011-09-09 Alan Mackenzie <acm@muc.de>
14192
14193 * progmodes/cc-mode.el (awk-mode): Prevent `define-derived-mode'
14194 spuriously generating `awk-mode-syntax-table'. (Bug #9448).
14195
14a29deb
EZ
141962011-09-09 Eli Zaretskii <eliz@gnu.org>
14197
14198 Fix for Savannah bug#9392.
14199 * simple.el (mail-encode-mml): New defvar.
14200
14201 * mail/rmail.el (mail-encode-mml): Add a defvar.
14202 (rmail-enable-mime-composing): Default to t.
14203 (rmail-forward): Use MIME method of forwarding only if both
14204 rmail-enable-mime-composing and rmail-enable-mime are non-nil.
14205 Set mail-encode-mml non-nil if the MIME method was used.
14206
14207 * mail/sendmail.el (mml-to-mime): Add autoload form.
14208 (mail-encode-mml): Add a defvar.
14209 (mail-mode): Make mail-encode-mml buffer-local and initialize it
14210 to nil.
14211 (mail-send): If mail-encode-mml is non-nil, run the outgoing
14212 message through mml-to-mime, and reset mail-encode-mml to nil.
14213
28c45130
GM
142142011-09-09 Glenn Morris <rgm@gnu.org>
14215
14216 * woman.el (woman-if-body): When processing an .el block,
14217 do not delete the next .el block as well. (Bug#9447)
69f4b618 14218 (woman-special-characters): Add oq, cq, and hy characters.
28c45130 14219
9b1c252e
MR
142202011-09-08 Martin Rudalics <rudalics@gmx.at>
14221
14222 * window.el (window-deletable-p): Make sure window is live before
14223 invoking window-prev-buffers.
14224
567457e3
LL
142252011-09-08 Leo Liu <sdl.web@gmail.com>
14226
14227 * net/rcirc.el (rcirc-cmd-invite): New rcirc command. (Bug#9453)
14228
97f05794
JL
142292011-09-08 Juri Linkov <juri@jurta.org>
14230
14231 * progmodes/compile.el (compilation-environment): Make it
14232 a defcustom (bug#8340).
14233
8b0874b5
MR
142342011-09-08 Martin Rudalics <rudalics@gmx.at>
14235
14236 * window.el (frame-auto-delete): Rename to window-auto-delete.
14237 Make it control auto-deletion of windows and/or frames.
14238 (window-deletable-p): New argument FORCE. Rewrite conditions
5e617bc2 14239 for deleting window/frame. (Bug#9419)
8b0874b5
MR
14240 (switch-to-prev-buffer, replace-buffer-in-windows, quit-window):
14241 Rewrite handling of case when window/frame can be deleted.
14242 (delete-windows-on): Call window-deletable-p with new FORCE
5e617bc2 14243 argument t. (Bug#9456)
8b0874b5 14244
4feb6e73
CY
142452011-09-07 Chong Yidong <cyd@stupidchicken.com>
14246
14247 * help-mode.el (help-mode): Restore autoload.
14248
91ab9c13
JL
142492011-09-07 Juri Linkov <juri@jurta.org>
14250
14251 * progmodes/compile.el (compilation-start): Let-bind `thisenv' to
14252 `compilation-environment'. Set buffer-local
14253 `compilation-environment' to `thisenv' later after (funcall mode).
14254 (Bug#8340)
14255
14256 * vc/vc-git.el (vc-git-grep): Remove --no-color. (Bug#9408)
14257 (vc-git-grep): Prepend "PAGER=" to `compilation-environment'
14258 instead of replacing its value. (Bug#8340)
14259
0527e251
JL
142602011-09-07 Juri Linkov <juri@jurta.org>
14261
14262 * progmodes/grep.el (grep-regexp-alist): Calculate column positions
14263 based on text properties put by `grep-filter' instead of matching
14264 escape sequences.
14265 (grep-mode): Set buffer-local `compilation-error-screen-columns'
14266 to the value of `grep-error-screen-columns' (bug#9438).
14267
249f792c
JL
142682011-09-07 Juri Linkov <juri@jurta.org>
14269
14270 * simple.el (next-error-highlight, next-error-highlight-no-select):
14271 Doc fix (bug#9432).
14272
ff7271b9
OT
142732011-09-07 OKAZAKI Tetsurou <okazaki.tetsurou@gmail.com> (tiny change)
14274
14275 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
14276 Check for null c-opt-block-decls-with-vars-key. (Bug#9443)
14277
183fc730
LL
142782011-09-07 Leo Liu <sdl.web@gmail.com>
14279
14280 * net/rcirc.el (rcirc-mode): Conditionally initialize
14281 rcirc-input-ring.
14282
77694924
SM
142832011-09-07 Stefan Monnier <monnier@iro.umontreal.ca>
14284
14285 * emacs-lisp/find-func.el (find-function-C-source): Only set
14286 find-function-C-source-directory after checking that we found a source
14287 file there (bug#9440).
14288
d809b8eb
AM
142892011-09-06 Alan Mackenzie <acm@muc.de>
14290
14291 * isearch.el (isearch-other-meta-char): Wherever a key list is
14292 unread, "unread" the prefix arg, too. This fixes bug #8901.
14293
453de99f
OG
142942011-09-05 Oleksandr Gavenko <gavenkoa@gmail.com> (tiny change)
14295
14296 * progmodes/grep.el (rgrep): Add "-type d" (bug#9414).
14297
90439906
JL
142982011-09-05 Juri Linkov <juri@jurta.org>
14299
14300 * progmodes/grep.el (grep-process-setup): Fix comments (bug#8084).
14301
f62bd846
JL
143022011-09-05 Juri Linkov <juri@jurta.org>
14303
14304 * progmodes/grep.el (grep-filter): Avoid incomplete processing by
14305 keeping point where processing of grep matches begins, and
14306 continue to delete remaining escape sequences from the same point.
14307 (grep-filter): Make leading zero optional in "0?1;31m" because
14308 git-grep emits "\033[1;31m" escape sequences unlike expected
14309 "\033[01;31m" as GNU Grep does (bug#9408).
14310 (grep-process-setup): Replace obsolete "ml=" with newer "sl=".
14311
045820ec
JL
143122011-09-05 Juri Linkov <juri@jurta.org>
14313
14314 * subr.el (y-or-n-p): Capitalize "yes".
14315
f5e29b9b
MA
143162011-09-04 Michael Albinus <michael.albinus@gmx.de>
14317
14318 * net/tramp.el (top): Require 'shell. Use `tramp-unload-hook' but
14319 `tramp-cache-unload-hook' where appropriate.
14320 (tramp-methods): Rename `tramp-remote-sh' to
14321 `tramp-remote-shell'. Add `tramp-remote-shell-args'.
14322 (tramp-handle-shell-command): New defun, moved from tramp-sh.el.
14323
14324 * net/tramp-sh.el (top): Don't require 'shell.
14325 (tramp-methods): Add `tramp-remote-shell' and
14326 `tramp-remote-shell-args' entries.
14327 (tramp-sh-file-name-handler-alist): Use `tramp-handle-shell-command'.
14328 (tramp-sh-handle-shell-command): Remove.
14329 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
14330 Use `tramp-remote-shell'.
14331
2784c434
CY
143322011-09-03 Chong Yidong <cyd@stupidchicken.com>
14333
393a301e 14334 * mail/sendmail.el (sendmail-query-once-function): Delete.
2784c434
CY
14335 (sendmail-query-once): Save directly to send-mail-function.
14336 Update message-send-mail-function too.
14337
14338 * mail/smtpmail.el (smtpmail-try-auth-methods): Clarify prompt.
14339
464cdf56
CS
143402011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
14341
14342 * progmodes/python.el (python-mode-map): Use correct function to
14343 start python interpreter from menu-bar (as reported by Geert
14344 Kloosterman).
14345 (inferior-python-mode-map): Fix typo.
393a301e 14346 (python-shell-map): Remove.
464cdf56 14347
d37e5c87
DD
143482011-09-03 Deniz Dogan <deniz@dogan.se>
14349
14350 * net/rcirc.el (rcirc-print): Simplify code for
14351 rcirc-scroll-show-maximum-output. There is no need to walk
14352 through all windows to find the right one.
14353
f3ada0ee
CS
143542011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
14355
14356 * help.el (help-return-method): Doc fix.
14357
1f3c99ca
MR
143582011-09-03 Martin Rudalics <rudalics@gmx.at>
14359
14360 * window.el (window-deletable-p): Don't return a non-nil value
14361 when there's a buffer that was shown in the window before.
14362 (Bug#9419)
393a301e
SM
14363 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
14364 Set window's previous buffers to nil.
1f3c99ca 14365
a3cf097f
EZ
143662011-09-03 Eli Zaretskii <eliz@gnu.org>
14367
14368 * mail/rmailmm.el (rmail-mime-insert-tagline): Insert an extra
14369 newline before and after the tag line, so it doesn't interfere
14370 with determining the paragraph direction of bidirectional text.
14371
3d03de90
LL
143722011-09-03 Leo Liu <sdl.web@gmail.com>
14373
14374 * files.el (find-file-not-true-dirname-list): Remove. (Bug#9422)
14375
c3313451
CY
143762011-09-02 Chong Yidong <cyd@stupidchicken.com>
14377
393a301e 14378 * window.el (pop-to-buffer-1, pop-to-buffer-same-window): Delete.
c3313451
CY
14379 (pop-to-buffer): Change interactive spec. Pass second argument
14380 directly to display-buffer.
14381 (display-buffer): Fix interactive spec. Use functionp to
14382 distinguish between a function and a list of functions.
14383
14384 * abbrev.el (edit-abbrevs):
14385 * arc-mode.el (archive-extract):
14386 * autoinsert.el (auto-insert):
14387 * bookmark.el (bookmark-bmenu-list):
14388 * files.el (find-file):
14389 * view.el (view-buffer):
14390 * progmodes/compile.el (compilation-goto-locus):
14391 * textmodes/bibtex.el (bibtex-initialize): Use switch-to-buffer.
14392
89894cd8
CY
143932011-09-02 Chong Yidong <cyd@stupidchicken.com>
14394
14395 * window.el (display-buffer-alist): Doc fix.
14396 (display-buffer): Add docstring. Don't treat
14397 display-buffer-default specially.
14398 (display-buffer-reuse-selected-window)
14399 (display-buffer-same-window, display-buffer-maybe-same-window)
14400 (display-buffer-reuse-window, display-buffer-pop-up-frame)
14401 (display-buffer-pop-up-window)
14402 (display-buffer-reuse-or-pop-window)
14403 (display-buffer-use-some-window): New functions.
14404 (display-buffer-default-action): Use them.
393a301e 14405 (display-buffer-default): Delete.
89894cd8
CY
14406 (pop-to-buffer-1): Fix choice of actions.
14407
ae0bc9fb
SM
144082011-09-02 Stefan Monnier <monnier@iro.umontreal.ca>
14409
14410 * minibuffer.el (completion--insert-strings): Don't get confused by
14411 completion entries that end with an LF char.
14412
e9d90883
EZ
144132011-09-01 Eli Zaretskii <eliz@gnu.org>
14414
14415 * window.el (frame-auto-delete, window-deletable-p): Doc fix.
14416
437014c8
CY
144172011-09-01 Chong Yidong <cyd@stupidchicken.com>
14418
14419 * window.el (display-buffer): Restore interactive spec.
ae0bc9fb
SM
14420 (display-buffer-same-window, display-buffer-other-window):
14421 New functions.
437014c8
CY
14422 (pop-to-buffer-1): New function. Use the above.
14423 (pop-to-buffer, pop-to-buffer-same-window): Use it.
ae0bc9fb 14424 (pop-to-buffer-other-window, pop-to-buffer-other-frame): Delete.
437014c8
CY
14425
14426 * view.el (view-buffer-other-window, view-buffer-other-frame):
14427 Just use pop-to-buffer.
14428
a5e063d5
TV
144292011-09-01 Thierry Volpiatto <thierry.volpiatto@gmail.com>
14430
14431 * vc/vc-rcs.el (vc-rcs-responsible-p): Handle directories. (Bug#9391)
14432
793d32bb
WH
144332011-09-01 Wilfred Hughes <wilfred@potatolondon.com> (tiny change)
14434
14435 * vc/vc-git.el (vc-git-grep): Use --no-color. (Bug#9408)
14436
d65e4c15
RS
144372011-08-31 Richard Stallman <rms@gnu.org>
14438
14439 * mail/rmail.el (rmail-epa-decrypt): Rewrite to take account
14440 of the separation of rmail-view-buffer from rmail-buffer.
14441 If you say no to "replace original", the decrypt is in the
14442 view buffer. If you say yes, the decrypt goes into the
14443 rmail buffer also.
14444
f818cd2a
MR
144452011-08-31 Martin Rudalics <rudalics@gmx.at>
14446
14447 * window.el (display-buffer-window): Rewrite doc-string.
14448 (display-buffer-record-window): New function.
14449 (display-buffer-macro-specifiers)
14450 (display-buffer-even-window-sizes, display-buffer-set-height)
14451 (display-buffer-set-width, display-buffer-in-window)
14452 (display-buffer-reuse-window, display-buffer-split-specifiers)
14453 (display-buffer-side-specifiers, display-buffer-split-window-1)
14454 (display-buffer-split-window, display-buffer-split-atom-window)
14455 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
14456 (display-buffer-pop-up-side-window, display-buffer-in-side-window)
14457 (display-buffer-other-window-means-other-frame)
14458 (display-buffer-normalize-special)
14459 (display-buffer-normalize-default)
14460 (display-buffer-normalize-argument)
14461 (display-buffer-normalize-alist-1, display-buffer-normalize-alist)
14462 (display-buffer-normalize-specifiers, display-buffer-frame)
14463 (display-buffer-same-window, display-buffer-same-frame)
14464 (display-buffer-other-window)
14465 (display-buffer-same-frame-other-window)
14466 (display-buffer-other-frame, pop-to-buffer-same-window)
14467 (pop-to-buffer-same-frame, pop-to-buffer-other-window)
14468 (pop-to-buffer-same-frame-other-window, pop-to-buffer-other-frame)
14469 (switch-to-buffer-same-frame)
14470 (switch-to-buffer-other-window-same-frame)
14471 (display-buffer-alist-of-strings-p, display-buffer-alist-add)
14472 (display-buffer-alist-set-1, display-buffer-alist-set-2)
14473 (display-buffer-alist-set): Remove.
14474 (display-buffer-function, special-display-buffer-names)
ae0bc9fb
SM
14475 (special-display-regexps, special-display-function):
14476 In doc-string refer to display-buffer-window and quit-restore
f818cd2a
MR
14477 parameter.
14478 (pop-up-frame-alist, pop-up-frame-function, special-display-p)
14479 (special-display-frame-alist, special-display-popup-frame)
14480 (same-window-buffer-names, same-window-regexps, same-window-p)
14481 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
14482 (split-window-preferred-function, split-height-threshold)
14483 (split-width-threshold, window-splittable-p)
14484 (split-window-sensibly, window--try-to-split-window)
14485 (window--frame-usable-p, even-window-heights)
14486 (window--even-window-heights, window--display-buffer-1)
ae0bc9fb
SM
14487 (window--display-buffer-2, display-buffer-other-frame):
14488 Restore old Emacs 23 code, order and doc-strings where applicable.
f818cd2a
MR
14489 (display-buffer-default, display-buffer-assq-regexp): New functions.
14490 (display-buffer-alist): Rewrite doc-string.
14491 (display-buffer-default-action)
14492 (display-buffer-overriding-action): New variables.
14493 (display-buffer, switch-to-buffer): Rewrite.
14494 (pop-to-buffer): Restore Emacs 23 behavior but use
14495 window-normalize-buffer-to-display.
14496 (switch-to-buffer-other-window, switch-to-buffer-other-frame):
14497 Restore Emacs 23 behavior but use
14498 window-normalize-buffer-to-switch-to.
14499 (pop-to-buffer-same-window): Rewrite.
ae0bc9fb
SM
14500 (pop-to-buffer-other-window, pop-to-buffer-other-frame):
14501 Rewrite using Emacs 23 options.
f818cd2a 14502
5bc3b51d
MA
145032011-08-31 Michael Albinus <michael.albinus@gmx.de>
14504
14505 * net/tramp.el (tramp-root-regexp): Remove.
14506 (tramp-completion-file-name-regexp-unified)
14507 (tramp-completion-file-name-regexp-separate)
14508 (tramp-completion-file-name-regexp-url): Don't use leading volume
b46a6a83 14509 letter on w32 systems. (Bug#5303, Bug#9311)
ae0bc9fb
SM
14510 (tramp-drop-volume-letter): Simplify definition.
14511 Suggested by Stefan Monnier <monnier@iro.umontreal.ca>.
5bc3b51d 14512
b1a4f8e1
SM
145132011-08-30 Stefan Monnier <monnier@iro.umontreal.ca>
14514
14515 * subr.el (event-modifiers): Fix "missing modifier" part of docstring
14516 (bug#9356).
14517
5664fa7b
RT
145182011-08-30 Reuben Thomas <rrt@sc3d.org> (tiny change)
14519
b1a4f8e1 14520 * vc/pcvs-defs.el (cvs-find-file-and-jump): Docstring typo (bug#9369).
5664fa7b 14521
9a45d6c3
JL
145222011-08-29 Juri Linkov <juri@jurta.org>
14523
14524 * isearch.el (isearch-done): Don't display message "Mark saved"
14525 when arg `edit' is non-nil to prevent its flicker in the echo area.
14526
fb87e0fb
CY
145272011-08-28 Chong Yidong <cyd@stupidchicken.com>
14528
14529 * emacs-lisp/package.el (package-menu-mark-delete): Allow marking
14530 obsolete packages for deletion.
14531
09ac1c2a
CS
145322011-08-28 Christoph Scholtes <cschol2112@googlemail.com>
14533
14534 * help-mode.el (help-mode-map): Add special-mode-map to parent.
5e617bc2 14535 (help-mode): Derive help-mode from special-mode. Don't invoke
09ac1c2a
CS
14536 view-mode from help-mode.
14537 (help-xref-override-view-map): Remove.
14538 (help-make-xrefs): Remove minor-mode-overriding-map-alist since
14539 view-mode is not used anymore.
14540
7a1ff57f
CY
145412011-08-28 Chong Yidong <cyd@stupidchicken.com>
14542
14543 * server.el (server-port): Doc fix.
14544
b9696605
CY
14545 * cus-theme.el (custom-theme-choose-mode): Inherit from
14546 special-mode (Bug#9124).
14547 (custom-theme-choose-mode-map): Add special-mode to parent.
14548
ef8cdf8c
AM
145492011-08-28 Alan Mackenzie <acm@muc.de>
14550
14551 * progmodes/cc-fonts.el
14552 (c-make-font-lock-BO-decl-search-function): New function.
14553 (c-basic-matchers-after - "Fontify the clauses after various
14554 keywords"): Extract the three keyword lists for the 3 erroneous
14555 constructs from the list of four, and use the new function above
14556 in place of an old one.
14557
27de4e20
DD
145582011-08-28 Deniz Dogan <deniz@dogan.se>
14559
14560 * net/rcirc.el (rcirc-insert-prev-input)
14561 (rcirc-insert-next-input): Remove unused argument.
14562
356a3681
SM
145632011-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
14564
14565 * shell.el (shell-parse-pcomplete-arguments): Unquote args (bug#9160).
14566
3fc9b218
AM
145672011-08-27 Alan Mackenzie <acm@muc.de>
14568
14569 * progmodes/cc-menus.el (cc-imenu-c++-generic-expression): Make it
14570 handle function pointer parameters properly.
14571
538a061c
MR
145722011-08-27 Martin Rudalics <rudalics@gmx.at>
14573
14574 * window.el (display-buffer-reuse-window): Fix case where
14575 selected window was reused with non-nil OTHER-WINDOW argument.
14576 (Bug#9381)
14577
35b1c40c
DD
145782011-08-27 Deniz Dogan <deniz@dogan.se>
14579
14580 * net/rcirc.el (rcirc-check-auth-status): Adding support for
14581 oftc's NickServ messages.
14582
2f6a3e79
GM
145832011-08-27 Glenn Morris <rgm@gnu.org>
14584
14585 * saveplace.el (save-place-limit): Make it finite. (Bug#9352)
14586
7254299e
CY
145872011-08-26 Chong Yidong <cyd@stupidchicken.com>
14588
14589 * emacs-lisp/package.el (package-install): Call package-initialize
14590 if called interactively.
14591
f8ccf167
LL
145922011-08-26 Leo Liu <sdl.web@gmail.com>
14593
14594 * emacs-lisp/cl-macs.el (defstruct): Fix format. (Bug#9357)
14595
3e8cd5ce
JL
145962011-08-25 Juri Linkov <juri@jurta.org>
14597
14598 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
14599 `search-whitespace-regexp' (bug#9364).
14600
93eb7113
JL
146012011-08-25 Juri Linkov <juri@jurta.org>
14602
14603 * isearch.el (isearch-edit-string): Let-bind `search-ring' and
14604 `regexp-search-ring' to their global values to protect from
14605 updating by `read-from-minibuffer' (bug#9185).
14606
f65d1611
JL
146072011-08-25 Juri Linkov <juri@jurta.org>
14608
14609 * textmodes/ispell.el (ispell-command-loop): Add newline
14610 at the end of the "Use option `i'..." line.
14611
f1cf7a31
JL
146122011-08-25 Juri Linkov <juri@jurta.org>
14613
14614 * battery.el (display-battery-mode): If `battery-status-function'
14615 or `battery-mode-line-format' is nil, display the message and set
14616 `display-battery-mode' to nil (bug#9363).
14617
0c95fcf7
EZ
146182011-08-25 Eli Zaretskii <eliz@gnu.org>
14619
14620 * buff-menu.el (Buffer-menu-buffer+size): Remove calls to
14621 bidi-string-mark-left-to-right; they are unnecessary now.
14622
a2ebe600
DD
146232011-08-25 Deniz Dogan <deniz@dogan.se>
14624
14625 * net/quickurl.el: Documentation typo fixes.
14626
e4ed06f1
CY
146272011-08-25 Chong Yidong <cyd@stupidchicken.com>
14628
14629 * window.el (bury-buffer, quit-window): Use bury-buffer-internal.
14630
e5f1c99e
GM
146312011-08-25 Glenn Morris <rgm@gnu.org>
14632
b2948976
GM
14633 * emacs-lisp/derived.el (define-derived-mode): Doc fix.
14634
e5f1c99e
GM
14635 * mail/smtpmail.el (smtpmail-smtp-user): Add version: tag.
14636 (smtpmail-via-smtp): Handle nil response from smtp.
14637
f22f4808
JL
146382011-08-24 Juri Linkov <juri@jurta.org>
14639
14640 * proced.el (proced-marked): Inherit from `error' instead of
14641 `font-lock-warning-face'.
14642
14643 * ibuffer.el (ibuffer-marked-face): Change default face from
14644 `font-lock-warning-face' to `warning'.
14645 (ibuffer-deletion-face): Change default face from
14646 `font-lock-type-face' to `error'.
14647
14648 * battery.el (battery-update): Use the face `error' instead of
14649 `font-lock-warning-face' (bug#6117).
14650
6a93965e
JL
146512011-08-24 Juri Linkov <juri@jurta.org>
14652
14653 * faces.el (success): Change face color from "Green3" to
14654 "ForestGreen" on light background (bug#9353).
14655
1ed43b09
CY
146562011-08-24 Chong Yidong <cyd@stupidchicken.com>
14657
5664fa7b
RT
14658 * window.el (quit-window): Rename from quit-restore-window.
14659 Use same arglist as old quit-window.
1ed43b09
CY
14660 (frame-auto-delete): Doc fix.
14661
14662 * view.el (view-mode-exit): Use quit-window.
14663
11dcdbb2
JL
146642011-08-24 Juri Linkov <juri@jurta.org>
14665
14666 * isearch.el (isearch-ring-adjust1): Start visiting previous
14667 search strings from the index 0 (-1 + 1) instead of 1 (0 + 1).
14668 (isearch-repeat, isearch-edit-string): Call `isearch-ring-adjust1'
14669 for empty search string (when the last search string is reused
14670 automatically) to adjust the isearch ring to the last element and
14671 prepare the correct index for further M-p commands (bug#9185).
14672
de62b4df
KH
146732011-08-24 Kenichi Handa <handa@m17n.org>
14674
14675 * international/ucs-normalize.el: If decomposition property of
14676 CHAR is the default one (i.e. a list of CHAR itself), treat it as
14677 nil.
14678 (nfd, nfkd): Likewise.
14679
963b492b
SM
146802011-08-24 Stefan Monnier <monnier@iro.umontreal.ca>
14681
14682 * mpc.el (mpc--proc-filter): Don't signal mpc-proc-error since signals
14683 from process filters aren't reliably transmitted to the surrounding
14684 accept-process-output.
14685 (mpc-proc-check): New function.
14686 (mpc-proc-sync): Use it (bug#8293)
14687
93b6b5e1
SM
146882011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
14689
14690 * emacs-lisp/eieio.el (eieio-defmethod, eieio-defgeneric):
14691 Add compatibility functions (bug#9313).
14692
bca633fb
EZ
146932011-08-23 Eli Zaretskii <eliz@gnu.org>
14694
b177498a
EZ
14695 * cus-start.el (all): Add entry for bidi-paragraph-direction.
14696
6df6ae42 14697 * international/uni-bidi.el: Regenerate.
bca633fb 14698
0902a04e
KH
146992011-08-23 Kenichi Handa <handa@m17n.org>
14700
14701 * international/charprop.el:
14702 * international/uni-bidi.el:
14703 * international/uni-category.el:
14704 * international/uni-combining.el:
14705 * international/uni-comment.el:
14706 * international/uni-decimal.el:
14707 * international/uni-decomposition.el:
14708 * international/uni-digit.el:
14709 * international/uni-lowercase.el:
14710 * international/uni-mirrored.el:
14711 * international/uni-name.el:
14712 * international/uni-numeric.el:
14713 * international/uni-old-name.el:
14714 * international/uni-titlecase.el:
14715 * international/uni-uppercase.el: Regenerate.
14716
3bbf23bc
MR
147172011-08-23 Martin Rudalics <rudalics@gmx.at>
14718
14719 * help.el (help-window-setup): Fix message displayed when other
14720 window is reused. (Bug#9341)
14721
b3fd59bd
SM
147222011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
14723
1802e444
SM
14724 * shell.el (shell-completion-vars): Set pcomplete-arg-quote-list.
14725 * pcomplete.el (pcomplete-quote-argument): Fix thinko (bug#9161).
14726
b3fd59bd
SM
14727 * pcomplete.el (pcomplete-parse-comint-arguments): Fix inf-loop.
14728 Mark obsolete.
14729 * shell.el (shell-parse-pcomplete-arguments): New function.
14730 (shell-completion-vars): Use it instead (bug#9160).
14731
4eb61348
SM
147322011-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
14733
867cab74
SM
14734 * progmodes/sh-script.el (sh-maybe-here-document): Disable magic in
14735 strings and comments (bug#9333).
14736
4eb61348
SM
14737 * emacs-lisp/debug.el (debug-arglist): New function.
14738 (debug-convert-byte-code): Use it. Handle lexical byte-codes.
14739 (debug-on-entry-1): Handle interpreted closures (bug#9120).
14740
262a1439
JL
147412011-08-22 Juri Linkov <juri@jurta.org>
14742
56ee679c
JL
14743 * progmodes/compile.el (compilation-mode-font-lock-keywords):
14744 Revert regexp that highlights output switches to its old
14745 pre-2010-10-28 value and remove one `?' from it (bug#9319).
14746
262a1439
JL
14747 * progmodes/grep.el (grep-process-setup): Use `buffer-modified-p'
14748 to check for empty output (bug#9226).
14749
f13f86fb
CY
147502011-08-22 Chong Yidong <cyd@stupidchicken.com>
14751
14752 * progmodes/scheme.el (scheme-mode-syntax-table): Don't use
14753 symbol-constituent as the default, as that stops font-lock from
14754 working properly (Bug#8843).
14755
c65c9622
LMI
147562011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
14757
14758 * mail/smtpmail.el (smtpmail-via-smtp): Only bind
14759 `coding-system-for-*' around the process open call to avoid
14760 auth-source side effects.
e7f2c178 14761 (smtpmail-try-auth-methods): Expand the secret password.
7185da52
LMI
14762 (smtpmail-query-smtp-server): Allow `quit'-ing out in case the
14763 probe hangs.
c65c9622 14764
23a8a5ab
CY
147652011-08-21 Chong Yidong <cyd@stupidchicken.com>
14766
ff98b2dd
CY
14767 * term.el (term-mouse-paste): Yank primary selection (Bug#6845).
14768
23a8a5ab
CY
14769 * emacs-lisp/find-func.el (find-function-noselect): New arg
14770 lisp-only.
14771
14772 * emacs-lisp/edebug.el (edebug-instrument-function): Use it to
14773 signal an error for built-in functions (Bug#6664).
14774
f5e3c598
LMI
147752011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
14776
14777 * mail/smtpmail.el (smtpmail-smtp-user): New variable.
14778 (smtpmail-try-auth-methods): Use it.
14779
a3f2468a
CY
147802011-08-21 Chong Yidong <cyd@stupidchicken.com>
14781
2c34e8da
CY
14782 * font-lock.el (font-lock-fontify-region)
14783 (font-lock-unfontify-region, font-lock-default-fontify-buffer)
14784 (font-lock-default-unfontify-buffer)
14785 (font-lock-default-fontify-region)
14786 (font-lock-default-unfontify-region): Add docstrings (Bug#8624).
14787
b3fd59bd
SM
14788 * progmodes/compile.el (compilation-error-properties):
14789 Fix confusion between file struct and message struct (Bug#9319).
02e5c89e
CY
14790 (compilation-error-regexp-alist-alist): Fix 2011-05-09 change to
14791 `ant' regexp.
ee31aabc 14792
a3f2468a
CY
14793 * net/browse-url.el (browse-url-firefox): Don't call
14794 browse-url-firefox-sentinel unless using -remote (Bug#9328).
14795
8e999f70
GM
147962011-08-20 Glenn Morris <rgm@gnu.org>
14797
c21a496a
GM
14798 * tutorial.el (help-with-tutorial): Avoid an error on short screens.
14799
59ee0542
GM
14800 * tutorial.el (tutorial--default-keys): Update some default bindings.
14801
8e999f70
GM
14802 * files.el (hack-local-variables): Fully ignore case for "mode:".
14803
e3715033
AM
148042011-08-20 Alan Mackenzie <acm@muc.de>
14805
14806 Resolve invalid use of a regexp in regexp-opt.
14807
4d61f28d
JB
14808 * progmodes/cc-fonts.el (c-complex-decl-matchers): Add in special
14809 detection for a java annotation.
e3715033 14810
4d61f28d 14811 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Add in special
e3715033
AM
14812 detection for a java annotation.
14813
4d61f28d
JB
14814 * progmodes/cc-langs.el (c-prefix-spec-kwds-re): Remove the special
14815 handling for java.
e3715033
AM
14816 (c-modifier-kwds): Remove the regexp "@[A-za-z0-9]+".
14817
04ed2e9c
CY
148182011-08-20 Chong Yidong <cyd@stupidchicken.com>
14819
14820 * startup.el (normal-top-level-add-subdirs-to-load-path): Doc fix
14821 (Bug#9274).
14822
826cee64
AM
148232011-08-20 Alan Mackenzie <acm@muc.de>
14824
58179cce 14825 Fontify CPP expressions correctly when starting in the middle of
826cee64
AM
14826 such a construct. Mainly for when jit-lock etc. starts a chunk
14827 here.
14828
58179cce 14829 * progmodes/cc-fonts.el (c-font-lock-context): New buffer local
826cee64 14830 variable.
58179cce 14831 (c-make-font-lock-search-form): New function, extracted from
826cee64
AM
14832 c-make-font-lock-search-function.
14833 (c-make-font-lock-search-function): Use the above function.
14834 (c-make-font-lock-context-search-function): New function.
14835 (c-cpp-matchers): Enhance the preprocessor expression case with
14836 the above function
14837 (c-font-lock-complex-decl-prepare): Test for being in a CPP form
14838 which takes an expression.
14839
14840 * progmodes/cc-langs.el (c-cpp-expr-intro-re): New lang-variable.
14841
13009bd8
MR
148422011-08-20 Martin Rudalics <rudalics@gmx.at>
14843
14844 * window.el (display-buffer-reuse-window)
14845 (display-buffer-pop-up-window): Don't reuse or split a side
14846 window.
14847
9234ff7f
GM
148482011-08-19 Glenn Morris <rgm@gnu.org>
14849
14850 * files.el (hack-local-variables-prop-line, hack-local-variables):
5e617bc2 14851 Downcase "Mode:". (Bug#9331)
9234ff7f 14852
f635daa1
CY
148532011-08-18 Chong Yidong <cyd@stupidchicken.com>
14854
14855 * international/characters.el: Add L and R categories.
14856
14857 * subr.el (bidi-string-mark-left-to-right): Rename from
14858 string-mark-left-to-right. Use category search.
14859
14860 * buff-menu.el (Buffer-menu-buffer+size): Callers changed.
14861
bc987f8b
JL
148622011-08-18 Juri Linkov <juri@jurta.org>
14863
14864 * faces.el (error, warning, success): New faces with definitions
14865 copied from old default values of `font-lock-warning-face',
14866 `compilation-warning', `compilation-info' (bug#6117).
14867
14868 * font-lock.el (font-lock-warning-face): Inherit from `error'.
14869
14870 * progmodes/compile.el (compilation-error): Inherit from `error'.
14871 (compilation-warning): Inherit from `warning'.
14872 (compilation-info): Inherit from `success'.
14873
14874 * dired.el (dired-marked): Inherit from `warning'.
14875 (dired-flagged): Inherit from `error'.
14876
57173b96
LMI
148772011-08-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
14878
3e79eb87
LMI
14879 * mail/smtpmail.el (auth-source): Require to avoid problems with
14880 binding variables (bug#9298). Also clean up some unused
14881 autoloads.
14882
b3fd59bd
SM
14883 * net/network-stream.el (network-stream-open-starttls):
14884 Support using starttls.el without using gnutls-cli.
57173b96 14885
02b404de
JL
148862011-08-17 Juri Linkov <juri@jurta.org>
14887
14888 * progmodes/grep.el (rgrep): Handle the case when
14889 `grep-find-command' is a cons cell (bug#9278).
14890
8c9177f2
MR
148912011-08-17 Martin Rudalics <rudalics@gmx.at>
14892
14893 * window.el (display-buffer-pop-up-frame): Run frame creation
14894 function with BUFFER current (as special-display-popup-frame
14895 does). Reported by Drew Adams.
14896
3644a0ab
DU
148972011-08-17 Daiki Ueno <ueno@unixuser.org>
14898
14899 * epa-mail.el: Simplify GnuPG group expansion using
14900 epg-expand-group.
14901 (epa-mail-group-alist, epa-mail-group-modtime)
14902 (epa-mail-gnupg-conf-file, epa-mail-parse-groups)
14903 (epa-mail-sync-groups, epa-mail-expand-recipient-1)
14904 (epa-mail-expand-recipients-2, epa-mail-expand-recipients):
14905 Remove.
14906
5e617bc2 149072011-08-16 Feng Li <fengli@gmail.com> (tiny change)
7c643369
FL
14908
14909 * calc/calc-ext.el (math-defintegral-2): Remove nested backquote.
14910
9c4aeabf
AM
149112011-08-16 Alan Mackenzie <acm@muc.de>
14912
14913 * progmodes/cc-engine.el (c-state-cache-non-literal-place):
14914 Correct, to avoid the inside of macros.
14915
3a99bf64
RS
149162011-08-16 Richard Stallman <rms@gnu.org>
14917
04963aa8
RS
14918 * epa-mail.el: Handle GnuPG group definitions.
14919 (epa-mail-group-alist, epa-mail-group-modtime)
14920 (epa-mail-gnupg-conf-file): New variables.
14921 (epa-mail-parse-groups, epa-mail-sync-groups)
14922 (epa-mail-expand-recipient-1, epa-mail-expand-recipients-2)
14923 (epa-mail-expand-recipients): New functions.
14924 (epa-mail-encrypt): Call epa-mail-expand-recipients.
14925
177549d0
RS
14926 * mail/rmail.el (rmail-epa-decrypt): New command.
14927
fe38beef
RS
14928 * epa.el (epa-decrypt-region): New arg MAKE-BUFFER-FUNCTION.
14929 Don't bind buffer-read-only, just inhibit-read-only.
3a99bf64
RS
14930 (epa--find-coding-system-for-mime-charset): Fix the non-xemacs case.
14931 (epa-decrypt-armor-in-region): Make error message clearer.
14932
934eacb9
SM
149332011-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
14934
14935 * minibuffer.el (completion-pcm--merge-completions): Don't merge "a1b"
14936 and "a2b" to "ab" for `prefix'.
14937
d024fb4e
CY
149382011-08-14 Chong Yidong <cyd@stupidchicken.com>
14939
14940 * ibuf-ext.el (ibuffer-filter-disable): New arg for deleting
14941 filter groups.
de148fee
CY
14942 (ibuffer-included-in-filter-p-1): Use it. Suggested by Rafaël
14943 Fourquet (Bug#8804).
d024fb4e 14944
62f1ca49
JB
149452011-08-12 Juanma Barranquero <lekktu@gmail.com>
14946
14947 * startup.el (argi): Declare as global variable (bug#9275).
14948
9ccaaa4b
CY
149492011-08-12 Chong Yidong <cyd@stupidchicken.com>
14950
14951 * subr.el (string-mark-left-to-right): Search the entire string
14952 for RTL script, not just the terminating character. Doc fix.
14953
a3dae87a
SM
149542011-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
14955
6cd18349
SM
14956 * progmodes/js.el (js-syntax-propertize, js-syntax-propertize-regexp):
14957 New function.
14958 (js--regexp-literal, js-syntax-propertize-function): Remove.
14959 (js-mode): Use js-syntax-propertize to handle multilines (bug#9183).
14960 (js-mode-map): Don't rebind electric keys.
14961 (js-insert-and-indent): Remove.
14962 (js-mode): Setup electric-layout and electric-indent instead.
14963
a3dae87a
SM
14964 * epa-file.el (epa-file-select-keys): Revert to nil default (bug#9280).
14965
9d5cb631
DU
149662011-08-12 Daiki Ueno <ueno@unixuser.org>
14967
14968 * epa.el (epa-progress-callback-function): Fix the logic of
14969 displaying progress.
14970 * epa-file.el (epa-file-insert-file-contents): Make progress
14971 display more user-friendly.
14972 (epa-file-write-region): Ditto.
14973
3e26a4a2
CY
149742011-08-10 Chong Yidong <cyd@stupidchicken.com>
14975
14976 * subr.el (string-mark-left-to-right): New function.
14977
14978 * buff-menu.el (Buffer-menu-buffer+size): Remove LRM argument.
14979 Use string-mark-left-to-right.
14980 (list-buffers-noselect): Caller changed.
14981
a3dae87a
SM
14982 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
14983 Use string-mark-left-to-right.
3e26a4a2
CY
14984 (tabulated-list-print): Recenter after moving point.
14985
ac8cf6e6
JL
149862011-08-10 Juri Linkov <juri@jurta.org>
14987
14988 * progmodes/grep.el (rgrep): Don't bind `process-connection-type'.
14989 This finishes incomplete reversion of 2011-06-30T01:09:13Z!larsi@gnus.org
14990 intended by 2011-07-06T15:49:19Z!larsi@gnus.org.
14991
8d96c9a4
CY
149922011-08-09 Chong Yidong <cyd@stupidchicken.com>
14993
14994 * hi-lock.el (hi-lock-unface-buffer): Fix interactive spec
14995 (Bug#7554).
14996
7be1c708 149972011-08-09 Andreas Schwab <schwab@linux-m68k.org>
29bbcfa7
AS
14998
14999 * xt-mouse.el (xterm-mouse-event-read): Try to recover the raw
15000 character. (Bug#6594)
15001
37e11a63
CY
150022011-08-08 Chong Yidong <cyd@stupidchicken.com>
15003
839dde57
CY
15004 * image-dired.el: Don't use find-file for temporary work (Bug#7895).
15005 (image-dired--with-db-file): New macro.
15006 (image-dired-write-tags, image-dired-remove-tag)
15007 (image-dired-create-gallery-lists, image-dired-write-comments)
15008 (image-dired-get-comment, image-dired-mark-tagged-files)
15009 (image-dired-list-tags, image-dired-gallery-generate): Use it.
15010 (image-dired-gallery-generate): Use insert-file-contents.
15011
37e11a63
CY
15012 * time.el (display-time-world-list, display-time-world-display):
15013 * time-stamp.el (time-stamp-string):
15014 * vc/add-log.el (add-change-log-entry): Use setenv instead of
15015 set-time-zone-rule (Bug#7337).
15016
0b4946c4
DU
150172011-08-08 Daiki Ueno <ueno@unixuser.org>
15018
15019 * epg.el (epg--status-KEYEXPIRED, epg--status-KEYREVOKED): Fix typo.
15020 (epg-error-to-string, epg-errors-to-string): New function.
15021 (epg-wait-for-completion): Reverse errors list.
15022 (epg--check-error-for-decrypt, epg-sign-file, epg-sign-string)
15023 (epg-encrypt-file, epg-encrypt-string, epg-export-keys-to-file)
15024 (epg--import-keys-1, epg-receive-keys, epg-delete-keys)
15025 (epg-sign-keys, epg-generate-key-from-file)
15026 (epg-generate-key-from-string): Format errors by using
15027 epg-errors-to-string (bug#9255).
15028 (epg--status-INV_SGNR, epg--status-NO_SGNR): New status handler.
15029
75bfc667
JL
150302011-08-07 Juri Linkov <juri@jurta.org>
15031
15032 * faces.el (list-faces-display): Remove extra angle bracket
15033 from `help-mode-map'.
15034
15035 * info.el (Info-history-toc-nodes): Doc fix.
15036
15037 * longlines.el (longlines-mode): Doc fix.
15038
673e08bb
SM
150392011-08-05 Stefan Monnier <monnier@iro.umontreal.ca>
15040
4640dd88
SM
15041 * progmodes/js.el (js--regexp-literal): Accept regexps at the beginning
15042 of statements and in a few more cases (bug#9183).
15043
673e08bb
SM
15044 * emacs-lisp/cl-macs.el (cl--make-usage-var, cl--make-usage-args):
15045 New functions.
15046 (cl-transform-lambda): Use them (bug#9239).
15047
89b3f019
MR
150482011-08-05 Martin Rudalics <rudalics@gmx.at>
15049
15050 * window.el (display-buffer-same-window)
15051 (display-buffer-same-frame, display-buffer-other-window)
15052 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
15053 (pop-to-buffer-other-window)
15054 (pop-to-buffer-same-frame-other-window)
15055 (pop-to-buffer-other-frame): Make them defuns.
15056 (switch-to-buffer): Don't set LABEL argument of pop-to-buffer.
15057
640c8776
SM
150582011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
15059
15060 * subr.el (make-composed-keymap): Move from C. Change calling
15061 convention, and improve docstring to bring attention to a subtle point.
15062 * minibuffer.el (completing-read-default): Adjust accordingly.
15063
63648a95
MA
150642011-08-03 Michael Albinus <michael.albinus@gmx.de>
15065
15066 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
15067 (tramp-open-shell): Use `tramp-shell-quote-argument'.
15068
15069 * net/trampver.el: Update release number.
15070
b796c9b7
SM
150712011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
15072
15073 * progmodes/sh-script.el (sh-font-lock-paren): Don't mistake "main" for
15074 "in" (bug#9190).
15075
2239d7d5
LMI
150762011-08-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
15077
e07dd7c3
LMI
15078 * mail/sendmail.el (sendmail-query-once): Restore the current
15079 buffer after querying (bug#9074).
15080
0e6a2bd7
LMI
15081 * dired.el (dired-flagged): Use different faces for marked and
15082 flagged files (bug#6117).
15083
ce887515
LMI
15084 * emacs-lisp/cl-macs.el (dolist): Mention that there's a nil block
15085 (bug#4433).
15086
92f2affc
LMI
15087 * ido.el (ido-mode): Switch off the message if called
15088 non-interactively.
15089
57d5aff0
LMI
15090 * mail/smtpmail.el (smtpmail-query-smtp-server): Try port 25
15091 before 587, since it appears that that's more likely to work for
15092 more people.
15093
98cd6c18 15094 * cus-edit.el (custom-file): When running under emacs -q, always
e1dbe924 15095 refuse to save the customizations, even if the .emacs file doesn't
98cd6c18
LMI
15096 exist.
15097
b96dec83
LMI
15098 * info.el: Remove the `Info-beginning-of-buffer' function
15099 (bug#8325).
15100
b796c9b7
SM
15101 * net/network-stream.el (network-stream-open-starttls):
15102 Use `starttls-available-p' to see whether starttls.el can be used.
2239d7d5 15103
d90e2ea0
MR
151042011-08-01 Martin Rudalics <rudalics@gmx.at>
15105
15106 * window.el (display-buffer-in-window): Don't set dedicated status
15107 of window here (Bug#9215).
15108 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
15109 (display-buffer-pop-up-side-window)
b796c9b7 15110 (display-buffer-in-side-window): Set dedicated status of window here.
d90e2ea0 15111
cca09170
SM
151122011-08-01 Stefan Monnier <monnier@iro.umontreal.ca>
15113
15114 * emacs-lisp/package.el (package-generate-autoloads): Load autoloads
15115 before binding generated-autoload-file.
15116
027b979c
DD
151172011-08-01 Deniz Dogan <deniz@dogan.se>
15118
15119 * net/rcirc.el (rcirc-handler-333): Clarify docstring.
15120
3c7ee4f3
MA
151212011-07-30 Michael Albinus <michael.albinus@gmx.de>
15122
15123 Sync with Tramp 2.2.2.
15124
15125 * net/trampver.el: Update release number.
15126
2cc8e51a
JL
151272011-07-30 Juri Linkov <juri@jurta.org>
15128
15129 * dired-aux.el (dired-touch-initial): Remove function.
15130 (dired-do-chxxx): For op-symbol `touch', set `initial' to the
15131 current time, and `default' to the last modification time of the
15132 current marked file (bug#6887).
15133
a514d856
JM
151342011-07-28 Jose E. Marchesi <jemarch@gnu.org>
15135
15136 * simple.el (goto-line): Use string-to-number to provide a
2cc8e51a 15137 numeric argument to read-number (bug#9163).
a514d856 15138
8a7eddd7
MA
151392011-07-27 Michael Albinus <michael.albinus@gmx.de>
15140
15141 * net/tramp-sh.el (tramp-maybe-send-script): Don't let-bind the
15142 connection process, it could be nil.
15143
1ddd96f5
LL
151442011-07-27 Leo Liu <sdl.web@gmail.com>
15145
15146 Simplify url handling in rcirc-mode.
15147
15148 * net/rcirc.el (rcirc-browse-url-map, rcirc-browse-url-at-point)
15149 (rcirc-browse-url-at-mouse): Remove.
15150 * net/rcirc.el (rcirc-markup-urls): Use `make-button'.
15151
b248a85d
AM
151522011-07-26 Alan Mackenzie <acm@muc.de>
15153
15154 Fontify bitfield declarations properly.
15155
15156 * progmodes/cc-langs.el (c-has-bitfields): New lang variable.
15157 (c-symbol-chars): Now exported as a lang variable.
15158 (c-not-primitive-type-keywords): New lang variable.
15159
15160 * progmodes/cc-fonts.el (c-font-lock-declarations): Jump over the
15161 QT keyword "more" to prevent "more slots: ...." being spuriously
58179cce 15162 parsed as a bitfield declaration.
b248a85d 15163
b796c9b7
SM
15164 * progmodes/cc-engine.el (c-beginning-of-statement-1):
15165 Refactor and enhance to handle bitfield declarations.
b248a85d
AM
15166 (c-punctuation-in): New function.
15167 (c-forward-decl-or-cast-1): Enhance CASE 3 to handle bitfield
15168 declarations properly.
15169
68575ab0
UJ
151702011-07-26 Ulf Jasper <ulf.jasper@web.de>
15171
15172 * calendar/icalendar.el (icalendar--all-events): Take care of
15173 multiple vcalendars in a single file.
b796c9b7 15174 (icalendar--convert-float-to-ical): Checkdoc fixes.
68575ab0 15175
0f0a88b9
DD
151762011-07-25 Deniz Dogan <deniz@dogan.se>
15177
15178 * image.el (insert-image): Clarifying docstring.
15179
0b3f36df
MA
151802011-07-24 Michael Albinus <michael.albinus@gmx.de>
15181
15182 * net/tramp-sh.el (tramp-barf-unless-okay): Return the value of
15183 `tramp-send-command-and-check' if there is no error.
15184 (tramp-send-command-and-read): Suppress *all* errors if NOERROR.
15185
a9901f61
AM
151862011-07-22 Alan Mackenzie <acm@muc.de>
15187
15188 Prevent cc-langs.elc being loaded at run time.
15189
15190 * progmodes/cc-mode.el: Remove two autoload forms which loaded
15191 cc-langs.
15192
4d61f28d 15193 * progmodes/cc-langs.el (c-make-init-lang-vars-fun): Don't emit
a9901f61
AM
15194 "(require 'cc-langs)". Quote a form so it will evaluate at
15195 (cc-mode's) compilation time.
15196
11d074b2
MA
151972011-07-22 Michael Albinus <michael.albinus@gmx.de>
15198
15199 * net/tramp.el (tramp-file-name-handler): Avoid recursive
15200 loading. (Bug#9114)
15201
938b94c8
MR
152022011-07-21 Martin Rudalics <rudalics@gmx.at>
15203
15204 * window.el (display-buffer-pop-up-window)
15205 (display-buffer-pop-up-side-window)
15206 (display-buffer-in-side-window): Call display-buffer-set-height
15207 and display-buffer-set-width after setting the new window's
b796c9b7 15208 buffer so `fit-window-to-buffer' and friends work on the right buffer.
938b94c8 15209
bfa4f190
SS
152102011-07-20 Sam Steingold <sds@gnu.org>
15211
15212 * progmodes/etags.el (etags-file-of-tag, etags-tags-table-files)
15213 (etags-tags-included-tables): Call `convert-standard-filename' on
15214 the file names contained in TAGS so that windows Emacs can handle
15215 TAGS files created by cygwin ctags.
15216
8ca42262
LMI
152172011-07-20 Lars Magne Ingebrigtsen <larsi@gnus.org>
15218
15219 * proced.el (proced-update): Revert yesterday's bug#1779 patch,
15220 which apparently didn't work.
15221
5db2afd2 152222011-07-19 Roland Winkler <winkler@gnu.org>
2ecab2b5 15223
5db2afd2
RW
15224 * proced.el (proced-send-signal): For *Marked Processes* buffer
15225 put point at beginning of buffer.
15226
92e15d10
SB
152272011-07-19 Stephen Berman <stephen.berman@gmx.net>
15228
15229 * proced.el (proced-format): Make header lines align with the text
15230 (bug#1779).
15231
1bfd59e5
LMI
152322011-07-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
15233
15234 * view.el (view-buffer): Allow running in `special' modes if we're
15235 visiting a file (bug#8615).
15236
f5aae37c
MR
152372011-07-19 Martin Rudalics <rudalics@gmx.at>
15238
15239 * window.el (display-buffer-alist-of-strings-p)
b796c9b7
SM
15240 (display-buffer-alist-set-1, display-buffer-alist-set-2):
15241 New functions.
f5aae37c
MR
15242 (display-buffer-alist-set): Rewrite to handle Emacs 23 options
15243 more accurately.
15244
bf2c1571
AM
152452011-07-18 Alan Mackenzie <acm@muc.de>
15246
15247 Fontify declarators properly when, e.g., a jit-lock chunk begins
15248 inside a declaration.
15249
15250 * progmodes/cc-langs.el (c-symbol-chars): Correct a typo.
15251
b796c9b7
SM
15252 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
15253 New function.
bf2c1571
AM
15254 (c-complex-decl-matchers): Insert reference to
15255 c-font-lock-enclosing-decls.
15256
15257 * progmodes/cc-engine.el (c-backward-single-comment):
15258 (c-backward-comments): Bind open-paren-in-column-0-is-defun-start
15259 to nil around calls to (forward-comment -1).
15260
4e190b80
LMI
152612011-07-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
15262
12dc863d
LMI
15263 * image.el (put-image): Doc typo fix.
15264
a762e966
LMI
15265 * progmodes/etags.el (tags-search): Doc typo fix.
15266
4e190b80
LMI
15267 * mail/smtpmail.el (smtpmail-via-smtp): Query the user for
15268 password if we get errors 550 to 554.
15269
f019fb21
LMI
152702011-07-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
15271
b796c9b7 15272 * net/gnutls.el (gnutls-log-level): Remove.
750c33f7 15273
81746738
LMI
15274 * textmodes/fill.el (adaptive-fill-regexp): Include EN DASH as an
15275 indentation character (bug#6380).
15276
3ee3a1b5
LMI
15277 * files.el (buffer-offer-save): Made permanently local (bug#6241).
15278
c82f64de
LMI
15279 * doc-view.el (doc-view-make-safe-dir): Rewrite the error message
15280 to clarify what the problem is (bug#4291).
15281
f019fb21
LMI
15282 * simple.el (current-kill): Clarify what
15283 `interprogram-paste-function' does (bug#7500).
ca425c7c
LMI
15284 (auto-fill-mode): Document `auto-fill-function' in relation to
15285 `auto-fill-mode' (bug#2470).
f019fb21 15286
0794775d
LM
152872011-07-16 Lawrence Mitchell <wence@gmx.li>
15288
15289 * emacs-lisp/cl-macs.el (defstruct): Ignore argument to setf
15290 method if slot is read-only (bug#9035).
15291
be39b8cc
MR
152922011-07-16 Martin Rudalics <rudalics@gmx.at>
15293
b796c9b7 15294 * frame.el (select-frame-set-input-focus): New argument NORECORD.
be39b8cc 15295 * window.el (pop-to-buffer): Select window used even if it was
b796c9b7
SM
15296 selected before, see discussion of (Bug#8615), (Bug#6954).
15297 Pass argument NORECORD on to select-frame-set-input-focus.
be39b8cc 15298
6ccf7859
GM
152992011-07-15 Glenn Morris <rgm@gnu.org>
15300
15301 * subr.el (read-char-choice): Allow quitting. (Bug#9001)
03ea5b87 15302 Respect help-form.
6ccf7859 15303
87e86684
LM
153042011-07-09 Lawrence Mitchell <wence@gmx.li>
15305
15306 * net/gnutls.el (gnutls-min-prime-bits): New variable.
15307 (gnutls-negotiate): Use it.
15308
d6066239
LMI
153092011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
15310
b796c9b7
SM
15311 * net/gnutls.el (gnutls-negotiate):
15312 Upcase `gnutls-algorithm-priority'.
d6066239 15313
bd23ebc0
GM
153142011-07-15 Glenn Morris <rgm@gnu.org>
15315
c65bca65
GM
15316 * jka-compr.el (jka-compr-verbose): Move from here...
15317 * jka-cmpr-hook.el (jka-compr-verbose): ... to here. (Bug#9090)
15318 Add missing :version tag.
15319 * info.el: No need to require jka-compr when compiling.
bd23ebc0 15320
478615cc
LMI
153212011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
15322
7b41decb
LMI
15323 * net/gnutls.el (gnutls-algorithm-priority): New variable.
15324 (gnutls-negotiate): Use it.
15325
dbc44fcd
LMI
15326 * emacs-lisp/cl-macs.el (declare): Link to the "Declarations" node.
15327
06789f97
LMI
15328 * info.el (Info-beginning-of-buffer): New command.
15329 (Info-mode-map): Use it instead of `beginning-of-buffer' to allow
15330 announcing `b' as the key (bug#8325).
ab896c37 15331 (Info-mode-menu): Use `Info-beginning-of-buffer' for consistency.
06789f97 15332
c39da690
LMI
15333 * emacs-lisp/cl-macs.el (declare): Doc string fix-up.
15334
3aa5f34b
LMI
15335 * international/mule-cmds.el
15336 (describe-specified-language-support): Make the error message
15337 clearer (bug#8905).
15338
4bf0979f
LMI
15339 * emacs-lisp/cl-macs.el (declare): Add a doc string (bug#8690).
15340
478615cc
LMI
15341 * isearch.el (isearch-barrier): Add a doc string, since it's
15342 mentioned in a function doc string (bug#8678).
15343
75c68aa1
MR
153442011-07-15 Martin Rudalics <rudalics@gmx.at>
15345
15346 * window.el (switch-to-buffer): Call pop-to-buffer with normalized
15347 buffer argument (Bug#9083) and self-identifying label argument.
15348
a7c33da2
GM
153492011-07-15 Glenn Morris <rgm@gnu.org>
15350
15351 * emacs-lisp/debug.el (debug): Doc fix. (Bug#8273)
15352
2f5c6024
LMI
153532011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
15354
15355 * man.el (Man-fontify-manpage): Fix message when formatting the
15356 man page (bug#7929).
15357
0bb23927 153582011-07-14 Eli Zaretskii <eliz@gnu.org>
cce4b0a7
EZ
15359
15360 * buff-menu.el (Buffer-menu-buffer+size): Accept an additional
15361 argument LRM; if non-nil, append an invisible LRM character to the
15362 buffer name.
15363 (list-buffers-noselect): Call Buffer-menu-buffer+size with the
15364 last argument non-nil, when formatting buffer names.
0bb23927
EZ
15365 (Buffer-menu-mode, list-buffers-noselect): Force left-to-right
15366 paragraph direction.
cce4b0a7 15367
621ef9ab
LMI
153682011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
15369
d1583c48
LMI
15370 * man.el (Man-bgproc-sentinel): Skip any arguments and only output
15371 the man page name (bug#7929).
15372
6a57fb5f
LMI
15373 * image.el (put-image): Mention the `put-image' overlay property
15374 (bug#7834).
15375
d7956b14
LMI
15376 * scroll-bar.el (set-scroll-bar-mode): Mention that
15377 `scroll-bar-mode' lists the values (bug#7772).
15378
5b2d4a66
LMI
15379 * image-mode.el (image-mode-fit-frame): Mention that it's a toggle
15380 command (bug#7729).
15381
7509a874
LMI
15382 * rect.el (apply-on-rectangle): Return the point after the last
15383 operation.
15384 (string-rectangle): Go to the point after the last operation
15385 (bug#7522).
15386
4fe74b19
LMI
15387 * printing.el (pr-toggle-region): Clarify the documentation
15388 slightly (bug#7493).
15389
b796c9b7
SM
15390 * time.el (display-time-update):
15391 Allow `display-time-mail-function' to return nil (bug#7158).
15392 Fix suggested by Detlev Zundel.
ab283561 15393
fc233c9d
LMI
15394 * vc/diff.el (diff): Clarify the order the file names are read
15395 (bug#7111).
15396
43f5740b
LMI
15397 * mouse.el (mouse-set-region): Link to `mouse-drag-copy-region' in
15398 the doc string (bug#7015).
15399
f2182a76
LMI
15400 * font-lock.el (font-lock-maximum-decoration): Mention what
15401 numeric levels mean (bug#6935).
15402
621ef9ab
LMI
15403 * startup.el (initial-buffer-choice): Don't mention the `none'
15404 selection, which is against policy.
15405
adc47434
MR
154062011-07-14 Martin Rudalics <rudalics@gmx.at>
15407
b796c9b7
SM
15408 * window.el (display-buffer-normalize-special):
15409 Replace `dedicated' by `dedicate' to dedicate window (Bug#9072).
adc47434 15410
7e5bfb8f
EZ
154112011-07-14 Eli Zaretskii <eliz@gnu.org>
15412
15413 * subr.el (version<, version<=, version=): Mention "-CVS" and
15414 "-12345" alpha version numbers.
15415
27fa387a
CY
154162011-07-14 Chong Yidong <cyd@stupidchicken.com>
15417
15418 * bindings.el: Add advertised binding for set-mark-command
15419 (Bug#5772).
15420
8bdfa064
CY
154212011-07-14 Chong Yidong <cyd@stupidchicken.com>
15422
15423 * bindings.el (mode-line-other-buffer):
15424 * bookmark.el (bookmark-bmenu-2-window):
15425 * bs.el (bs-cycle-next, bs-cycle-previous):
15426 * net/tramp-cmds.el (tramp-append-tramp-buffers): Revert to using
15427 switch-to-buffer.
15428
15429 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
b796c9b7 15430 Delete.
8bdfa064 15431
5eba16a3
JB
154322011-07-14 Juanma Barranquero <lekktu@gmail.com>
15433
15434 * follow.el (follow-debug-message, follow-redisplay):
15435 * jka-cmpr-hook.el (with-auto-compression-mode):
15436 Fix typos in docstrings.
15437
15853710
LMI
154382011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
15439
a28e4607
LMI
15440 * subr.el (with-silent-modifications): Clarify somewhat what the
15441 macro inhibits (bug#6525).
15442
15853710
LMI
15443 * simple.el (eval-expression): Note what it does if called
15444 interactively (bug#6495).
15445
bee0fcef
CY
154462011-07-13 Chong Yidong <cyd@stupidchicken.com>
15447
b796c9b7
SM
15448 * window.el (switch-to-buffer): New arg FORCE-SAME-WINDOW.
15449 Use pop-to-buffer buffer-or-name if it is nil.
bee0fcef
CY
15450
15451 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
15452 Remove switch-to-buffer.
15453
58274504
LMI
154542011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
15455
bd2fcc8d
LMI
15456 * files.el (make-directory): Clarify that an error will be raised
15457 if there's an error (bug#6397).
15458
0f04b32c
LMI
15459 * startup.el (initial-buffer-choice): Add `none' as a choice
15460 (bug#6234).
15461
465c5fc8
LMI
15462 * subr.el (add-hook): Clarify section about buffer-local hooks
15463 (bug#6218).
15464
58274504
LMI
15465 * dired.el (dired-flagged): Clarify doc string (bug#6117).
15466
bead9a43
JB
154672011-07-13 Juanma Barranquero <lekktu@gmail.com>
15468
15469 * tabify.el (untabify): Preserve the current column so that point
15470 doesn't move (bug#6032).
15471
3af98a7b
LMI
154722011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
15473
b796c9b7
SM
15474 * progmodes/cperl-mode.el (cperl-syntaxify-by-font-lock):
15475 Rewrite to avoid awkward possessive "s" (bug#5986).
3af98a7b 15476
6240145a
GM
154772011-07-13 Glenn Morris <rgm@gnu.org>
15478
15479 * dired.el (dired-use-ls-dired): Doc fix. (Bug#9039).
15480 (dired-insert-directory): Give a message the first time
15481 if ls is found not to support --dired.
15482
1d8c2ccc
LMI
154832011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
15484
15485 * simple.el (toggle-truncate-lines): Clarify what is toggled
15486 (bug#5580). Text by Drew Adams.
15487
5fc4038e
CY
154882011-07-13 Chong Yidong <cyd@stupidchicken.com>
15489
15490 * simple.el (blink-matching-open): Make the error message from the
15491 last change less verbose.
15492
bf6012e5
DN
154932011-07-13 Dan Nicolaescu <dann@ics.uci.edu>
15494
15495 * font-lock.el (font-lock-comment-face): Use the high contrast
15496 "yellow" color for font-lock-comment-face on low color terminals
15497 using a dark background color (bug#4221).
15498
343c3b5a
LMI
154992011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
15500
7e9505c5
LMI
15501 * dired.el (dired-insert-set-properties): Make the doc string
15502 reflect what it does now (bug#5325).
15503
c26fdcf5
LMI
15504 * simple.el (blink-matching-open): Say that we were unable to find
15505 the match within the limit, if we're limited (bug#5122).
15506
bb388cc5
LMI
15507 * international/mule-cmds.el (prefer-coding-system): Add an
15508 example (bug#4869).
15509
343c3b5a
LMI
15510 * progmodes/etags.el (tags-search): Document `file-list-form'
15511 (bug#4731).
15512
2a517d45
LM
155132011-07-13 Lawrence Mitchell <wence@gmx.li>
15514
15515 * net/browse-url.el (browse-url-default-browser)
15516 (browse-url-browser-function): Make the default browser choice a
15517 bit more logical (bug#4300). Also clean up the doc string.
15518
b6c78ef2
JB
155192011-07-13 Juanma Barranquero <lekktu@gmail.com>
15520
15521 * bindings.el (completion-ignored-extensions): Add OpenMCL/Clozure
15522 binary endings (bug#4440).
15523
1c4dd947
LMI
155242011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
15525
a2014063
LMI
15526 * info.el (info-insert-file-contents): Inhibit jka-compr messages,
15527 which can be pretty annoying (bug#8971).
15528
9c9c2d88
LMI
15529 * jka-compr.el (jka-compr-verbose): New variable, and use
15530 throughout (bug#8971).
15531
1c4dd947
LMI
15532 * info.el (Info-find-file): Fall back on the installation
15533 directory if we can't find the info node anywhere else.
15534
a1c9f41b
SO
155352011-07-13 Sergei Organov <osv@javad.com> (tiny change)
15536
15537 * vc/vc.el (vc-revert-file):
15538 Don't set file time-stamp in the past. (Bug#5181)
15539
536f3d36
LMI
155402011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
15541
7152b011
LMI
15542 * files.el (after-find-file): Give a better error message when
15543 trying to find a symlink that points to a file that doesn't exist
15544 (bug#4398).
15545
536f3d36
LMI
15546 * progmodes/cc-vars.el: Remove (probably) misleading comment
15547 (bug#4396).
15548
460c0fba
JB
155492011-07-12 Johan Bockgård <bojohan@gnu.org>
15550
15551 * mouse-sel.el (mouse-sel-primary-overlay): Use the `region' face.
15552
7a6bda45
CY
155532011-07-12 Chong Yidong <cyd@stupidchicken.com>
15554
15555 * mouse-sel.el: Hack restoring functionality, while keeping
15556 compatibility with 2010-07-03 changes to mouse selection.
15557 (mouse-sel-primary-overlay): New var.
15558 (mouse-sel-selection-alist): Use it.
15559 (mouse-sel-mode): Doc fix; remove points that are default features
15560 of mouse.el.
15561
c79598ef
JB
155622011-07-12 Johan Bockgård <bojohan@gnu.org>
15563
15564 * progmodes/compile.el (compilation-error-regexp-alist-alist):
15565 Fix previous fix (bug#2490).
15566
ff8be6ef
RW
155672011-07-12 Roland Winkler <winkler@gnu.org>
15568
b796c9b7
SM
15569 * textmodes/bibtex.el (bibtex-initialize):
15570 Use pop-to-buffer-same-window.
ff8be6ef
RW
15571 (bibtex-search-entries): Fix interactive call.
15572
296ba3ee
LMI
155732011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
15574
f5242a02 15575 * progmodes/compile.el (compilation-error-regexp-alist-alist):
b796c9b7
SM
15576 Fontise bytecomp Error lines more correctly (bug#2490).
15577 Fix suggested by Johan Bockgård.
f5242a02 15578
296ba3ee
LMI
15579 * subr.el (remove-duplicates): Remove; `delete-dups' is sufficient.
15580
15581 * dired-x.el (dired-guess-default): Use `delete-dups'.
15582
f69fd0d2
CY
155832011-07-12 Chong Yidong <cyd@stupidchicken.com>
15584
15585 * dired.el (dired-mark-prompt):
15586 * dired-aux.el (dired-read-shell-command): Doc fix.
15587
eab5dc07
LMI
155882011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
15589
b796c9b7
SM
15590 * mail/sendmail.el (sendmail-query-once):
15591 Use `customize-save-variable' unconditionally, now that it works under
9988520a
LMI
15592 emacs -Q.
15593
15594 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
15595
eab5dc07
LMI
15596 * cus-edit.el (custom-file): Take an optional no-error variable.
15597 (customize-save-variable): Set the variable, and give a warning if
15598 running under "emacs -q".
15599
a1e65d42
JB
156002011-07-11 Juanma Barranquero <lekktu@gmail.com>
15601
15602 * loadhist.el (unload-feature-special-hooks):
15603 Add `auto-coding-functions', `fill-nobreak-predicate' and
15604 `find-directory-functions' (bug#5327).
15605
1d52da10
LMI
156062011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
15607
be958f1d
LMI
15608 * vc/ediff.el (ediff-patch-file): Clarify doc string (bug#3138).
15609
5bedb26c
LMI
15610 * cus-edit.el (custom-guess-name-alist): -alist variables should
15611 use the `alist' type (bug#3120). Suggested by Drew Adams.
15612
1d52da10
LMI
15613 * printing.el: Add documentation to all the `pr-toggle-' commands.
15614
cd394be1 156152011-07-11 Leo Liu <sdl.web@gmail.com>
481a51b6
LL
15616
15617 * files.el (toggle-read-only): Only do the `C-x C-q' warning on VC
15618 backends where it makes sense (bug#2623).
15619
dcc88d8a
LMI
156202011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
15621
c3de9feb
LMI
15622 * dired-x.el (dired-guess-default): Remove duplicate shell command
15623 entries (bug#2028).
8a93078b 15624 (dired-guess-default): Fix grammar in doc string (bug#2028).
eea84fe5 15625 (dired-guess-shell-alist-user): Clarify the example a bit (bug#2030).
c3de9feb 15626
dcc88d8a
LMI
15627 * subr.el (remove-duplicates): New conveniency function.
15628
505e3645
LMI
156292011-07-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
15630
15631 * tool-bar.el (tool-bar-mode): Clarify positive/negative arguments
15632 (bug#1526).
15633
156342011-07-10 Martin Rudalics <rudalics@gmx.at>
15635
15636 * window.el (display-buffer-normalize-default): Don't invert
15637 meaning of even-window-heights. Reported by Eli Zaretskii
15638 <eliz@gnu.org>.
15639
455e4fa1
BR
156402011-07-10 Bob Rogers <rogers@rgrjr.dyndns.org>
15641
15642 * vc/vc.el (vc-diff-internal): Fix race condition (Bug#1256).
15643
8e0bc3e9
CY
156442011-07-10 Chong Yidong <cyd@stupidchicken.com>
15645
15646 * window.el (display-buffer): Fix arguments to
15647 display-buffer-reuse-window in last change.
15648
fa7c3228
CY
15649 * faces.el (link): Use a less saturated blue on light backgrounds.
15650
15651 * startup.el (fancy-startup-text, fancy-about-text)
15652 (fancy-startup-tail): Use font-lock faces, for background safety.
15653
c0a7f300
BN
156542011-07-09 Bob Nnamtrop <bobnnamtrop@gmail.com> (tiny change)
15655
b796c9b7
SM
15656 * emulation/viper-cmd.el (viper-change-state-to-vi):
15657 Limit triggering of abbrev expansion (Bug#9038).
c0a7f300 15658
4dc2a129
MR
156592011-07-09 Martin Rudalics <rudalics@gmx.at>
15660
15661 * window.el (display-buffer-default-specifiers): Remove.
15662 (display-buffer-macro-specifiers): Remove default specifiers.
15663 (display-buffer-alist): Default to nil.
b796c9b7 15664 (display-buffer-reuse-window): New optional argument other-window.
4dc2a129
MR
15665 (display-buffer-pop-up-window): Allow splitting internal
15666 windows. Check whether a live window was created.
15667 (display-buffer-other-window-means-other-frame)
15668 (display-buffer-normalize-arguments): Rename to
15669 display-buffer-normalize-argument and rewrite. Set the
15670 other-window specifier.
15671 (display-buffer-normalize-special): New function.
15672 (display-buffer-normalize-options): Rename to
15673 display-buffer-normalize-default and rewrite.
15674 (display-buffer-normalize-options-inhibit): Remove.
15675 (display-buffer-normalize-specifiers): Rewrite.
15676 (display-buffer): Process other-window specifier and call
15677 display-buffer-reuse-window with it. Emulate Emacs 23 behavior
15678 more faithfully.
b796c9b7 15679 (pop-up-windows, even-window-heights): Restore Emacs 23 default values.
4dc2a129 15680 (display-buffer-alist-set): Don't handle 'unset default values.
b796c9b7
SM
15681 (display-buffer-in-window, display-buffer-alist-set):
15682 Replace symbol "dedicated" by "dedicate". Reported by Tassilo Horn
4dc2a129
MR
15683 <tassilo@member.fsf.org>.
15684
2d43b8c9
LL
156852011-07-09 Leo Liu <sdl.web@gmail.com>
15686
15687 * register.el (insert-register): Restore accidental change on
15688 2011-06-26. (Bug#9028)
15689
7f9b7c53
GM
156902011-07-09 Glenn Morris <rgm@gnu.org>
15691
15692 * subr.el (remq): Handle the empty list. (Bug#9024)
15693
f042cfd8
AS
156942011-07-08 Andreas Schwab <schwab@linux-m68k.org>
15695
15696 * mail/sendmail.el (send-mail-function): No longer delay custom
15697 initialization.
15698 * custom.el (custom-initialize-delay): Doc fix.
15699
856b2f11
SM
157002011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
15701
15702 * abbrev.el (expand-abbrev): Try to preserve point (bug#5805).
15703
afae1d68
MA
157042011-07-08 Michael Albinus <michael.albinus@gmx.de>
15705
15706 * net/tramp-sh.el (tramp-sh-handle-start-file-process): Use a
15707 human-friendly prompt.
15708
0757af94
SM
157092011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
15710
15711 * vc/vc-bzr.el (vc-bzr-revision-keywords): Remove svn, it's only
15712 provided by a particular plugin.
15713
d760b731
LMI
157142011-07-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
15715
15716 * mail/sendmail.el (sendmail-query-once): If we aren't allowed to
15717 save customizations (with "emacs -Q"), just set the variable
15718 instead of erroring out.
15719
15720 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
15721
cd79ce90
JL
157222011-07-08 Juri Linkov <juri@jurta.org>
15723
15724 * arc-mode.el (archive-zip-expunge, archive-zip-update)
15725 (archive-zip-update-case): Use 7z if found by `executable-find'.
15726 The order of searching the available programs is the same as in
15727 `archive-zip-extract' (bug#8968).
15728
14cc04aa
CY
157292011-07-07 Chong Yidong <cyd@stupidchicken.com>
15730
15731 * menu-bar.el (menu-bar-line-wrapping-menu): Revert last change.
15732 (menu-bar-options-menu): Tweak descriptions.
15733
0a1848ec
LMI
157342011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
15735
15736 * menu-bar.el (menu-bar-line-wrapping-menu): Make all the Options
15737 menu items into verb phrases (bug#1421). Also refill to fit under
15738 80 columns.
15739
f5bd0689
CY
157402011-07-07 Chong Yidong <cyd@stupidchicken.com>
15741
538e85c6
CY
15742 * info.el (info, Info-read-node-name-2, Info-read-node-name-1)
15743 (Info-read-node-name): Doc fix (Bug#1084).
15744
f5bd0689
CY
15745 * thingatpt.el (forward-thing, bounds-of-thing-at-point)
15746 (thing-at-point, beginning-of-thing, end-of-thing, in-string-p)
15747 (end-of-sexp, beginning-of-sexp)
15748 (thing-at-point-bounds-of-list-at-point, forward-whitespace)
15749 (forward-symbol, forward-same-syntax, word-at-point)
15750 (sentence-at-point): Doc fix (Bug#1144).
15751
56ec5115
LMI
157522011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
15753
f3f8e37f
LMI
15754 * info.el (Info-mode-map): Remove S-TAB binding, since [backtab]
15755 should cover it (bug#1281).
15756
0757af94 15757 * cus-edit.el (custom-show): Mark as obsolete.
af0905c8 15758
e9fce1ac 15759 * net/network-stream.el (network-stream-open-starttls): If GnuTLS
12b9eb35
LMI
15760 negotiation fails, then possibly try again with a non-encrypted
15761 connection (bug#9017).
15762
56ec5115
LMI
15763 * mail/smtpmail.el (smtpmail-stream-type): Note that `plain' can
15764 be used.
15765
c2f9aec8
RS
157662011-07-07 Richard Stallman <rms@gnu.org>
15767
15768 * mail/rmail.el (rmail-next-error-move): Use `compilation-message'
15769 property, and handle its changed format.
15770 Look for the correct line number.
15771 Use file's line contents (but not past first =) to find
15772 correct line in message.
15773
ef7b981d 157742011-07-07 Kenichi Handa <handa@m17n.org>
c805dec0
KH
15775
15776 * international/characters.el (build-unicode-category-table):
15777 Delete it.
0757af94 15778 (unicode-category-table): Set it by unicode-property-table-internal.
c805dec0 15779
0757af94 15780 * international/mule-cmds.el (char-code-property-alist): Move to
c805dec0
KH
15781 to src/chartab.c.
15782 (get-char-code-property): Call unicode-property-table-internal to
15783 load a file. Call get-unicode-property-internal where necessary.
15784 (put-char-code-property): Call unicode-property-table-internal to
15785 load a file. Call put-unicode-property-internal where necessary.
15786 put-unicode-property-internal where necessary.
0757af94
SM
15787 (char-code-property-description):
15788 Call unicode-property-table-internal to load a file.
c805dec0
KH
15789
15790 * international/charprop.el:
15791 * international/uni-bidi.el:
15792 * international/uni-category.el:
15793 * international/uni-combining.el:
15794 * international/uni-comment.el:
15795 * international/uni-decimal.el:
15796 * international/uni-decomposition.el:
15797 * international/uni-digit.el:
15798 * international/uni-lowercase.el:
15799 * international/uni-mirrored.el:
15800 * international/uni-name.el:
15801 * international/uni-numeric.el:
15802 * international/uni-old-name.el:
15803 * international/uni-titlecase.el:
15804 * international/uni-uppercase.el: Regenerate.
15805
15806 * loadup.el: Load international/charprop.el before
15807 international/characters.
15808
e14b388a
CY
158092011-07-07 Chong Yidong <cyd@stupidchicken.com>
15810
15811 * window.el (next-buffer, previous-buffer): Signal an error if
15812 called from a minibuffer window.
15813
15814 * bindings.el: Revert 2011-07-04 change.
15815
354cf0ba
RS
158162011-07-06 Richard Stallman <rms@gnu.org>
15817
15818 * mail/rmailmm.el (rmail-mime-process): Use markers for buf positions.
15819 (rmail-mime-insert-bulk, rmail-mime-insert-text):
15820 Treat markers like ints.
15821 (rmail-mime-entity): Doc fix.
15822
a48868a7
LMI
158232011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
15824
4906cd3d
LMI
15825 * mail/smtpmail.el (smtpmail-default-smtp-server): Made into a
15826 defcustom again for backwards compatibility.
15827
e0457abe
LMI
15828 * simple.el (shell-command-on-region): Fill.
15829
d67f7e1f
LMI
15830 * dired-aux.el (dired-kill-line): Add a doc string.
15831
fe204702
LMI
15832 * dabbrev.el (dabbrev-abbrev-char-regexp): Note that nil defaults
15833 to "\\sw\\|\\s_" (bug#358).
15834
a48868a7
LMI
15835 * dired.el (dired-mode): Clarify "unmark or unflag" (bug#8770).
15836 (dired-unmark-backward): Ditto.
15837 (dired-flag-backup-files): Ditto.
15838
15839 * dired-x.el (dired-mark-sexp): Ditto.
15840
aa8a705c
RS
158412011-07-06 Richard Stallman <rms@gnu.org>
15842
15843 * mail/rmailmm.el: Give entity a new slot, TRUNCATED.
15844 (rmail-mime-entity): New arg TRUNCATED.
15845 (rmail-mime-entity-truncated, rmail-mime-entity-set-truncated):
15846 New functions.
15847 (rmail-mime-save): Warn if entity is truncated.
15848 (rmail-mime-toggle-hidden): Likewise, for showing.
15849 (rmail-mime-process-multipart): Record when an entity is truncated.
15850
a9a936b9
RS
15851 * mail/rmailmm.el (rmail-search-mime-message): Don't get confused
15852 if ENTITY is a string.
15853
1f2b92cb
LMI
158542011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
15855
f4f73198 15856 * emacs-lisp/lisp-mode.el (eval-defun-1): Update the documentation
0757af94
SM
15857 of faces when `M-C-x'-ing their definitions (bug#8378).
15858 Also clean up the code slightly.
f4f73198 15859
12b16734 15860 * progmodes/grep.el (rgrep): Don't bind `process-connection-type',
da6062e6 15861 because that makes the colors go away.
12b16734 15862
f0691d22
LMI
15863 * mail/sendmail.el (send-mail-function): Change the default to
15864 `sendmail-query-once'.
9e87df06 15865 (sendmail-query-once): Add an autoload cookie.
f0691d22 15866
1f2b92cb
LMI
15867 * net/network-stream.el (network-stream-open-starttls): Try using
15868 a plain connection even if the server offered STARTTLS, and we
15869 kinda wanted to use it, if Emacs doesn't have any STARTTLS
15870 capability. This should make smtpmail.el work in slightly more
15871 configurations.
15872
1cdd2a1b
MA
158732011-07-06 Michael Albinus <michael.albinus@gmx.de>
15874
15875 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
15876 New defun.
15877 * net/tramp-cmds.el (tramp-append-tramp-buffers): Use it.
15878
fbcc67e2
MM
158792011-07-06 Michael R. Mauger <mmaug@yahoo.com>
15880
15881 * progmodes/sql.el: Version 3.0
0757af94 15882 (sql-product-alist): Add product :completion-object,
fbcc67e2 15883 :completion-column, and :statement attributes.
0757af94 15884 (sql-mode-menu, sql-interactive-mode-map): Fix List entries.
fbcc67e2 15885 (sql-mode-syntax-table): Mark all punctuation.
0757af94 15886 (sql-font-lock-keywords-builder): Temporarily remove fallback on
fbcc67e2
MM
15887 ansi keywords.
15888 (sql-regexp-abbrev, sql-regexp-abbrev-list): New functions.
0757af94 15889 (sql-mode-oracle-font-lock-keywords): Improve.
fbcc67e2
MM
15890 (sql-oracle-show-reserved-words): New function for development.
15891 (sql-product-font-lock): Simplify for source code buffers.
15892 (sql-product-syntax-table, sql-product-font-lock-syntax-alist):
15893 New functions.
15894 (sql-highlight-product): Set product specific syntax table.
0757af94
SM
15895 (sql-mode-map): Add statement movement functions.
15896 (sql-ansi-statement-starters, sql-oracle-statement-starters):
15897 New variable.
fbcc67e2
MM
15898 (sql-statement-regexp, sql-beginning-of-statement)
15899 (sql-end-of-statement, sql-signum): New functions.
0757af94 15900 (sql-buffer-live-p, sql=find-sqli-buffer): Add CONNECTION parameter.
fbcc67e2
MM
15901 (sql-show-sqli-buffer): Bug fix.
15902 (sql-interactive-mode): Store connection data as buffer local.
0757af94 15903 (sql-connect): Add NEW-NAME parameter. Redesign interaction
fbcc67e2
MM
15904 with sql-interactive-mode.
15905 (sql-save-connection): Save buffer local settings.
0757af94 15906 (sql-connection-menu-filter): Change menu entry name.
fbcc67e2
MM
15907 (sql-product-interactive): Bug fix.
15908 (sql-preoutput-hold): New variable.
15909 (sql-interactive-remove-continuation-prompt): Bug fixes.
15910 (sql-debug-redirect): New variable.
15911 (sql-str-literal): New function.
15912 (sql-redirect, sql-redirect-one, sql-redirect-value, sql-execute):
0757af94 15913 Redesign.
fbcc67e2
MM
15914 (sql-oracle-save-settings, sql-oracle-restore-settings)
15915 (sql-oracle-list-all, sql-oracle-list-table): New functions.
15916 (sql-completion-object, sql-completion-column)
15917 (sql-completion-sqlbuf): New variables.
15918 (sql-build-completions-1, sql-build-completions)
15919 (sql-try-completion): New functions.
15920 (sql-read-table-name): Use them.
15921 (sql-contains-names): New buffer local variable.
15922 (sql-list-all, sql-list-table): Use it.
15923 (sql-oracle-completion-types): New variable.
15924 (sql-oracle-completion-object, sql-sqlite-completion-object)
15925 (sql-postgres-completion-object): New functions.
15926
d4eaeab1
GM
159272011-07-06 Glenn Morris <rgm@gnu.org>
15928
15929 * window.el (pop-to-buffer): Doc fix.
15930
322b7dab 159312011-07-06 Markus Heiser <markus.heiser@darmarit.de> (tiny change)
a1d3a912
CY
15932
15933 * progmodes/gud.el (gud-pdb-marker-regexp): Accept \r char (Bug#5653).
15934
322b7dab 159352011-07-06 Chong Yidong <cyd@stupidchicken.com>
0484d600 15936
322b7dab 15937 * window.el (special-display-popup-frame): Doc fix (Bug#8853).
4f8f657f 15938
322b7dab 15939 * info.el (Info-directory-toc-nodes): Minor doc fix (Bug#8833).
8f43cbf3 15940
605dd5bf
CY
159412011-07-05 Chong Yidong <cyd@stupidchicken.com>
15942
15943 * button.el (button): Inherit from link face. Suggested by Dan
15944 Nicolaescu.
15945
7dbfa719
SM
159462011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
15947
3db614b0
SM
15948 * progmodes/gdb-mi.el: Fit in 80 columns.
15949 (gdb-setup-windows, gdb-restore-windows): Avoid other-window and
15950 switch-to-buffer.
15951
7dbfa719
SM
15952 * progmodes/which-func.el (which-func-ff-hook): Don't output a message
15953 if imenu is simply not configured (bug#8941).
15954
919d884a
KM
159552011-07-05 Ken Manheimer <ken.manheimer@gmail.com>
15956
15957 * allout.el (allout-post-undo-hook): New allout outline-change
15958 event hook to signal undo activity.
15959 (allout-post-command-business): Run allout-post-undo-hook if an
15960 undo just occurred.
7dbfa719
SM
15961 (allout-after-copy-or-kill-hook, allout-mode): Minor docstring changes.
15962 * allout-widgets.el (allout-widgets-after-undo-function):
15963 Ensure the integrity of the current item's decoration after it has been
919d884a
KM
15964 in the vicinity of an undo.
15965 (allout-widgets-mode): Include allout-widgets-after-undo-function
15966 on the new allout-post-undo-hook.
15967
450a0f09
SM
159682011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
15969
15970 * emacs-lisp/lisp-mode.el (lisp-interaction-mode-abbrev-table):
15971 Let define-derived-mode define it.
15972 * emacs-lisp/derived.el (define-derived-mode): Try to avoid creating
15973 cycles of abbrev-table inheritance (bug#8998).
15974
2de69e00
RW
159752011-07-05 Roland Winkler <winkler@gnu.org>
15976
15977 * textmodes/bibtex.el: Add support for biblatex.
15978 (bibtex-BibTeX-entry-alist, bibtex-biblatex-entry-alist)
15979 (bibtex-BibTeX-field-alist, bibtex-biblatex-field-alist)
15980 (bibtex-dialect-list, bibtex-dialect, bibtex-no-opt-remove-re)
15981 (bibtex-entry-alist, bibtex-field-alist): New variables.
15982 (bibtex-entry-field-alist): Obsolete alias for
15983 bibtex-BibTeX-entry-alist.
15984 (bibtex-entry-alist, bibtex-field-alist): New widgets.
15985 (bibtex-set-dialect): New command.
15986 (bibtex-entry-type, bibtex-entry-head)
450a0f09
SM
15987 (bibtex-entry-maybe-empty-head, bibtex-any-valid-entry-type):
15988 Bind via bibtex-set-dialect.
2de69e00
RW
15989 (bibtex-Article, bibtex-Book, bibtex-Booklet, bibtex-InBook)
15990 (bibtex-InCollection, bibtex-InProceedings, bibtex-Manual)
15991 (bibtex-MastersThesis, bibtex-Misc, bibtex-PhdThesis)
15992 (bibtex-Proceedings, bibtex-TechReport, bibtex-Unpublished):
15993 Define via bibtex-set-dialect.
450a0f09
SM
15994 (bibtex-name-in-field, bibtex-remove-OPT-or-ALT):
15995 Obey bibtex-no-opt-remove-re.
2de69e00
RW
15996 (bibtex-vec-push, bibtex-vec-incr): New functions.
15997 (bibtex-format-entry, bibtex-field-list)
15998 (bibtex-print-help-message, bibtex-validate)
15999 (bibtex-search-entries): Use new format of bibtex-entry-alist.
16000
2dcdbdd9
SM
160012011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
16002
16003 * progmodes/compile.el (compilation-goto-locus):
16004 * net/tramp-cmds.el (tramp-append-tramp-buffers):
16005 * bs.el (bs-cycle-next, bs-cycle-previous):
16006 * bookmark.el (bookmark-bmenu-list, bookmark-bmenu-2-window):
16007 * bindings.el (mode-line-other-buffer):
16008 * autoinsert.el (auto-insert):
16009 * arc-mode.el (archive-extract):
16010 * abbrev.el (edit-abbrevs): Fix some uses of switch-to-buffer.
16011
b27640fe
JB
160122011-07-05 Juanma Barranquero <lekktu@gmail.com>
16013
16014 * emacs-lock.el (emacs-lock-mode): Fix typo in variable name.
16015 Fix check of `emacs-lock-unlockable-modes'.
16016 Coerce true values of `emacs-lock--try-unlocking' to t.
16017
53bbe3ad
JB
160182011-07-05 Juanma Barranquero <lekktu@gmail.com>
16019
16020 * obsolete/old-emacs-lock.el: Rename from emacs-lock.el.
16021 * emacs-lock.el: New file.
16022
1d3cdbc7
JD
160232011-07-05 Julien Danjou <julien@danjou.info>
16024
16025 * textmodes/rst.el (rst-define-level-faces): Use `facep' rather
16026 than `boundp' to check if face is set.
16027
9173deec
JB
160282011-07-05 Juanma Barranquero <lekktu@gmail.com>
16029
16030 * register.el (registerv-make):
16031 * window.el (window-min-height): Fix typos in docstrings.
16032
869795d6
JD
160332011-07-05 Jan Djärv <jan.h.d@swipnet.se>
16034
9173deec 16035 * dynamic-setting.el (dynamic-setting-handle-config-changed-event):
869795d6
JD
16036 Update doc string.
16037
b768cdcd
JB
160382011-07-04 Juanma Barranquero <lekktu@gmail.com>
16039
16040 * server.el (server-execute): Catch quit and call
16041 `server-return-error' to pass the error back to emacsclient and
16042 close the connection (bug#8942).
16043
13aa217b
KM
160442011-07-04 Ken Manheimer <ken.manheimer@gmail.com>
16045
16046 * allout.el (allout-encrypt-unencrypted-on-saves): Do not provide
16047 insecure exception for current topic. Also note that auto-saves
16048 are handled differently.
16049
5d3385a0 16050 (allout-auto-save-temporarily-disabled, allout-just-did-undo):
13aa217b
KM
16051 State variables for tracking auto-save inhibition situation.
16052
16053 (allout-write-contents-hook-handler): Rename from
16054 'allout-write-file-hook-handler', and describe how it depends on
16055 write-contents-functions sensitivity to non-nil value to prevent
16056 file write.
16057
16058 (allout-auto-save-hook-handler): Remove. auto-save does not check
16059 this in individual buffers, only in the starting buffer, so this
16060 is not the right way for us to inhibit auto-save in a buffer
16061 according to its condition.
16062
16063 (allout-mode): Use new allout-write-contents-hook-handler, and
16064 only with write-contents-functions. Remove auto-save provisions -
16065 they're implemented elsewhere.
16066
16067 (allout-before-change-handler): If undo is in progress, note that
16068 for attention of allout-post-command-business.
16069
16070 (allout-post-command-business): If the command we're following was
16071 an undo, check for change in the status of encrypted items and
16072 adjust auto-save inhibitions accordingly.
16073
16074 (allout-toggle-subtree-encryption): Adjust auto-save inhibition
16075 according to whether there are or aren't any plain-text topics
16076 pending encryption.
16077
2dcdbdd9 16078 (allout-inhibit-auto-save-info-for-decryption):
1154d12e
JB
16079 Adjust buffer-saved-size and some allout state to inhibit auto-saves
16080 if there are plain-text topics pending encryption.
13aa217b
KM
16081
16082 (allout-maybe-resume-auto-save-info-after-encryption): Adjust
16083 buffer-saved-size and some allout state to not inhibit auto-saves
16084 if there are no longer any plain-text topics pending encryption.
16085
0757af94
SM
16086 (allout-next-topic-pending-encryption, allout-encrypt-decrypted):
16087 No longer provide for exemption of the current topic.
13aa217b 16088
ac89b32c
JL
160892011-07-04 Juri Linkov <juri@jurta.org>
16090
16091 Add 7z operations to delete and save changed members (bug#8968).
16092 * arc-mode.el (archive-7z-expunge, archive-7z-update):
16093 New defcustoms.
16094 (archive-7z-write-file-member): New function.
16095 (archive-7z-summarize): Fix the number of dashes in the
16096 listing output.
16097
8fa39615
SM
160982011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
16099
16100 * pcmpl-linux.el (pcomplete-pare-list): Re-add, from pcomplete.el
16101 (bug#8958).
16102
2f11b3f1
CY
161032011-07-04 Chong Yidong <cyd@stupidchicken.com>
16104
d66fef2b
CY
16105 * bindings.el: Ignore next-buffer and previous-buffer in
16106 minibuffer-local-map.
16107
2f11b3f1
CY
16108 * font-lock.el (font-lock-builtin-face): Change light background
16109 color to dark slate blue (Bug#6693).
16110
f932a347
WD
161112011-07-04 Wang Diancheng <dcwang@kingbase.com.cn> (tiny change)
16112
16113 * progmodes/gdb-mi.el (gdb): Use completion-at-point.
16114
c8af70e1
SM
161152011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
16116
16117 * files.el (find-file): Use pop-to-buffer-same-window (bug#8911).
16118 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
16119 Add switch-to-buffer.
16120
f158badc
LMI
161212011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
16122
16123 * isearch.el (isearch-search-fun-function): Clarify further the
16124 meaning of the function returned.
16125
6d95bd46
MA
161262011-07-04 Michael Albinus <michael.albinus@gmx.de>
16127
16128 * net/tramp-cmds.el (tramp-cleanup-this-connection): New command.
16129
16130 * net/tramp-sh.el (tramp-color-escape-sequence-regexp): New defconst.
16131 (tramp-sh-handle-insert-directory, tramp-convert-file-attributes):
16132 Use it.
16133 (tramp-remote-path): Add "/bin" and "/usr/bin". On busyboxes,
16134 `tramp-default-remote-path' does not exist.
16135 (tramp-send-command-and-read): New optional argument NOERROR.
16136 (tramp-open-connection-setup-interactive-shell)
16137 (tramp-get-remote-path, tramp-get-remote-stat): Use it.
16138 (tramp-get-remote-readlink): Do not mask with `ignore-errors'.
16139 (tramp-process-sentinel): Flush also process' connection property.
16140 (tramp-sh-handle-start-file-process): Do not set process
16141 sentinel. It is done now ...
16142 (tramp-maybe-open-connection): ... here. (Bug#8929)
16143
909e6b67
MK
161442011-07-04 MON KEY <monkey@sandpframing.com>
16145
16146 * play/animate.el (animate-string): Doc fixes and allow changing
16147 the buffer name (bug#5417).
16148
161492011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
16150
c8af70e1 16151 * play/animate.el (animation-buffer-name): Rename from *animate*.
909e6b67 16152
f34755dc
PE
161532011-07-04 Paul Eggert <eggert@cs.ucla.edu>
16154
396cec72
PE
16155 * emacs-lisp/timer.el: Use time-date fns rather than rolling our own.
16156 This is simpler and helps future-proof the code.
16157 (timer-until): Use time-subtract and float-time.
08235028 16158 (timer--time-less-p): Use time-less-p.
f34755dc 16159
56e6cc31
JB
161602011-07-04 Juanma Barranquero <lekktu@gmail.com>
16161
3abb79e5
JB
16162 * type-break.el (timep): Use the value of `float-time' to avoid a
16163 byte-compiler warning.
16164
56e6cc31
JB
16165 * server.el (server-eval-and-print): Return any result, even nil.
16166
7b9430b4
PE
161672011-07-03 Paul Eggert <eggert@cs.ucla.edu>
16168
16169 * type-break.el: Accept time formats that the builtins accept.
16170 (timep, type-break-time-difference): Accept any format that
16171 float-time accepts, rather than insisting on (HIGH LOW USECS) format.
16172 This is simpler and helps future-proof the code.
16173 (type-break-time-difference): Round rather than ignoring
16174 subseconds components.
16175
3034e9e7
LMI
161762011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
16177
16178 * info.el (Info-apropos-matches): Make non-interactive, since it
16179 doesn't seem to do anything useful as a command (bug#8829).
16180
1485f4c0
CY
161812011-07-03 Chong Yidong <cyd@stupidchicken.com>
16182
16183 * frame.el (frame-background-mode, frame-set-background-mode):
c8af70e1 16184 Move from faces.el.
1485f4c0
CY
16185 (frame-default-terminal-background): New function.
16186
16187 * custom.el (custom-push-theme): Don't record faces in `changed'
16188 theme; this doesn't work correctly for per-frame face settings.
16189 (disable-theme): Use face-set-after-frame-default to reset faces.
16190 (custom--frame-color-default): New function.
16191
9fa3dd45
LMI
161922011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
16193
c8af70e1 16194 * dired.el (dired-flagging-regexp): Remove unused variable
9fa3dd45
LMI
16195 (bug#8769).
16196
6cbbc20c
KR
161972011-03-29 Kevin Ryde <user42@zip.com.au>
16198
16199 * progmodes/compile.el (compilation-error-regexp-alist-alist):
16200 `perl-Test2' extend to match possible "fail #N" rep count
16201 (bug#8377).
16202
c7f98048
LMI
162032011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
16204
65676592
LMI
16205 * mail/feedmail.el (feedmail-buffer-to-smtpmail):
16206 `smtpmail-via-smtp' now returns the error instead of nil.
16207
c7f98048
LMI
16208 * isearch.el (isearch-search-fun-function): Clarify the doc string
16209 (bug#8101).
16210
56e6cc31 162112011-07-03 Richard Kim <emacs18@gmail.com> (tiny change)
9a51c6c7
RK
16212
16213 * textmodes/texnfo-upd.el (texinfo-insert-menu): Don't insert
16214 unnecessary spaces (bug#8987).
16215
2b216704
LMI
162162011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
16217
16218 * net/network-stream.el (open-network-stream): Use the
16219 :end-of-capability command thoughout.
16220
162212011-07-03 Wolfgang Jenkner <wjenkner@inode.at> (tiny change)
16222
16223 * net/network-stream.el (open-network-stream): Add the
16224 :end-of-capability command parameter, used by pop3.el.
16225
36adf6ce
LMI
162262011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
16227
1ca0da0e
LMI
16228 * dired.el (dired-map-over-marks): Refill the doc string (bug#6814).
16229
fc00f69c
LMI
16230 * fringe.el (fringe-query-style): Remove redundant text " (type ?
16231 for list)" (bug#6475).
16232
28fd8759 16233 * files.el (file-expand-wildcards): Ignore non-readable
8350f087 16234 sub-directories while trying to find matches instead of signaling
28fd8759
LMI
16235 an error (bug#6297).
16236
0dd8b6da
LMI
16237 * man.el (Man-reference-regexp): Allow matching possible
16238 word-wrapped references (bug#6289).
16239
ce1438d6
LMI
16240 * vc/vc.el (vc-modify-change-comment): Change *VC-log* to *vc-log*
16241 for consistency with the other vc buffers (bug#6197).
16242 (vc-checkin): Ditto.
16243
16244 * vc/vc-arch.el: Fix comments to match the *VC-log* name change.
16245
36adf6ce
LMI
16246 * longlines.el (longlines-mode): Document what ARG does (bug#6150).
16247
e83cc1f7
LMI
162482011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
16249
8a20ca4c
LMI
16250 * custom.el (defcustom): Clarify that :set is only used in the
16251 Customize user interface (bug#6089).
16252
83319045
LMI
16253 * progmodes/flymake.el (flymake-mode): If the buffer isn't
16254 associated with a file, refuse to run instead of erroring out
16255 (bug#6084).
16256
a8392169
LMI
16257 * textmodes/fill.el (fill-region): Remove the "Ordinarily" from
16258 the doc string, since it appears that using `fill-column' always
16259 controls the width (bug#7845).
16260
e83cc1f7
LMI
16261 * simple.el (shell-command-on-region): Say where the error output
16262 went if `shell-command-default-error-buffer' is set (bug#6857).
16263
e47ca23b
KM
162642011-07-02 Ken Manheimer <ken.manheimer@gmail.com>
16265
16266 * allout.el (allout-yank-processing): Adjust cursor position for
16267 backwards-deleted space.
16268
16269 (allout-rebullet-heading): Register changes with
16270 allout-exposure-changed-hook, so the modified topic is properly
16271 decorated.
16272
5cf56143
LMI
162732011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
16274
08549772
LMI
16275 * minibuffer.el (completion-in-region): Document PREDICATE
16276 (bug#7136).
16277
48e96771
LMI
16278 * info-look.el (info-lookup-add-help): Clarify that ARGS is a list
16279 of keyword/argument pairs (bug#6904).
16280
c8af70e1
SM
16281 * replace.el (multi-occur):
16282 Mention `multi-occur-in-matching-buffers' in the doc string (bug#7566).
5cf56143 16283
e17d05e2
LMI
162842011-07-02 Drew Adams <drew.adams@oracle.com>
16285
16286 * dired.el (dired-mark-if): Make the message about whether it's
16287 marking or unmarking clearer (bug#8523).
16288
063b0e45
LMI
162892011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
16290
16291 * disp-table.el (display-table-print-array): New function.
16292 (describe-display-table): Use it to print the vectors more pretty
16293 (Bug#8859).
16294
28545e04
MR
162952011-07-02 Martin Rudalics <rudalics@gmx.at>
16296
16297 * window.el (window-state-get-1): Don't assign clone numbers.
16298 Add clone-of item to list of window parameters.
16299 (window-state-put-2): Don't process clone numbers.
16300 (display-buffer-alist): Fix doc-string.
16301
3349e122
SM
163022011-07-02 Stefan Monnier <monnier@iro.umontreal.ca>
16303
16304 * subr.el (remq): Don't allocate if it's not needed.
16305 (keymap--menu-item-binding, keymap--menu-item-with-binding)
16306 (keymap--merge-bindings): New functions.
16307 (keymap-canonicalize): Use them to refine the canonicalization.
16308 * minibuffer.el (minibuffer-local-completion-map)
16309 (minibuffer-local-must-match-map): Move initialization from C.
16310 (minibuffer-local-filename-completion-map): Move initialization from C;
16311 don't inherit from anything here.
16312 (minibuffer-local-filename-must-match-map): Make obsolete.
16313 (completing-read-default): Use make-composed-keymap to combine
16314 minibuffer-local-filename-completion-map with either
16315 minibuffer-local-must-match-map or
16316 minibuffer-local-filename-completion-map.
16317
d224ac83
GM
163182011-07-01 Glenn Morris <rgm@gnu.org>
16319
3de63bf8
GM
16320 * type-break.el (type-break-time-sum): Use dolist.
16321
d224ac83
GM
16322 * textmodes/flyspell.el (flyspell-word-search-backward):
16323 Replace CL function.
16324
1a1e3f32
SM
163252011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
16326
fe3f64d5
SM
16327 * mouse.el (mouse--strip-first-event): New function.
16328 (function-key-map): Use it to map fringe clicks to normal clicks
16329 by default.
16330
eb604e34
SM
16331 * vc/vc-bzr.el (vc-bzr-revision-keywords): Update.
16332 (vc-bzr-revision-completion-table): Add support for annotate and date.
16333
1a1e3f32
SM
16334 * emacs-lisp/derived.el (define-derived-mode): Make abbrev-table
16335 inherit from parent.
16336
5bd35902
LMI
163372011-07-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
16338
ace6c69c 16339 * dired-aux.el (dired-diff): Doc fixup (bug#8816).
26bde865 16340 (dired-show-file-type): Doc fixup (bug#8818).
ace6c69c 16341
191e2bed
LMI
16342 * dired.el (dired-mode): Fix up the doc string as suggested by
16343 Drew Adams (bug#8817).
16344
5bd35902
LMI
16345 * progmodes/flymake.el (flymake-find-file-hook): Add an `autoload'
16346 cookie, since the manual says that it should be possible to add
16347 this function to `find-file-hook' (bug#8709).
16348
eee8207a
TZ
163492011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
16350
16351 * progmodes/cfengine.el: Moved all cfengine3.el functionality
16352 here. Noted Ted Zlatanov as the maintainer.
16353 (cfengine-common-settings, cfengine-common-syntax): New functions
16354 to set up common things between `cfengine-mode' and
16355 `cfengine3-mode'.
16356 (cfengine3-mode): New mode.
16357 (cfengine3-defuns cfengine3-defuns-regex
16358 (cfengine3-class-selector-regex cfengine3-category-regex)
16359 (cfengine3-vartypes cfengine3-font-lock-keywords)
16360 (cfengine3-beginning-of-defun, cfengine3-end-of-defun)
eb604e34 16361 (cfengine3-indent-line): Add from cfengine3.el.
eee8207a 16362
36b148cf
MA
163632011-07-01 Michael Albinus <michael.albinus@gmx.de>
16364
16365 * net/tramp.el (tramp-encoding-command-interactive): New defcustom.
16366
16367 * net/tramp-sh.el (tramp-maybe-open-connection): Use it.
16368
0bf4ba9a
MR
163692011-07-01 Martin Rudalics <rudalics@gmx.at>
16370
16371 * window.el (same-window-buffer-names, same-window-regexps)
16372 (same-window-p, special-display-frame-alist)
16373 (special-display-popup-frame, special-display-function)
16374 (special-display-buffer-names, special-display-regexps)
16375 (special-display-p, pop-up-frame-alist, pop-up-frame-function)
16376 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
16377 (split-window-preferred-function, split-height-threshold)
16378 (split-width-threshold, even-window-heights)
16379 (display-buffer-mark-dedicated, window-splittable-p)
16380 (split-window-sensibly, window-safely-shrinkable-p):
16381 Un-obsolete.
16382 (display-buffer): Don't spread args with function specifier
16383 because special-display-popup-frame won't like it.
16384
35837f51
PE
163852011-07-01 Paul Eggert <eggert@cs.ucla.edu>
16386
d0672f86
PE
16387 Time-stamp simplifications and fixes.
16388 These improve accuracy slightly, and future-proof the code
16389 against some potential changes to current-time format.
16390
b9444d97
PE
16391 * woman.el (woman-decode-buffer, WoMan-log-end): Log fractional secs
16392 by using time-since and float-time.
16393
0ef923dc
PE
16394 * vc/ediff-util.el (ediff-calc-command-time): Use time-since
16395 and float-time. Say "NNN.NNN seconds" rather than "NNN seconds
16396 + NNN microseconds".
16397
2f81380d
PE
16398 * type-break.el (type-break-time-sum): Rewrite using time-add.
16399
845b5c3e
PE
16400 * play/hanoi.el (hanoi-current-time-float): Remove.
16401 All uses replaced by float-time.
16402
ee6f1be0
PE
16403 * nxml/rng-maint.el (rng-time-function): Rewrite using time-subtract.
16404 This yields a more-accurate answer.
16405 (rng-time-to-float): Remove; no longer needed.
16406
fe955043
PE
16407 * emacs-lisp/timer.el (timer-relative-time): Use time-add.
16408
5777162a
PE
16409 * calendar/timeclock.el (timeclock-seconds-to-time):
16410 Defalias to seconds-to-time, since they're the same thing.
16411
3103f8b6 16412 * emacs-lisp/elp.el (elp-elapsed-time):
e2bac5f6 16413 * emacs-lisp/benchmark.el (benchmark-elapse):
35837f51
PE
16414 * allout-widgets.el (allout-elapsed-time-seconds): Use float-time.
16415
0e61a35f
SM
164162011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
16417
16418 * window.el (bury-buffer): Don't iconify the only frame.
16419 (switch-to-buffer): Revert to Emacs<23 behavior, i.e. do not fallback
16420 to pop-to-buffer. Use pop-to-buffer-same-frame if you don't like that.
16421
ddd63a1e
CY
164222011-07-01 Chong Yidong <cyd@stupidchicken.com>
16423
0e61a35f
SM
16424 * eshell/em-smart.el (eshell-smart-display-navigate-list):
16425 Add mouse-yank-primary.
ddd63a1e 16426
055f4923
TZ
164272011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
16428
16429 * progmodes/cfengine3.el: New file to support CFEngine 3.x.
16430
6a2fb145
SM
164312011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
16432
16433 * emacs-lisp/find-func.el (find-library--load-name): New fun.
16434 (find-library-name): Use it to find relative load names when provided
16435 absolute file name (bug#8803).
16436
fd4983f2
LMI
164372011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
16438
887d14ad
LMI
16439 * textmodes/flyspell.el (flyspell-word): Consider words that
16440 differ only in case as potential doublons (bug#5687).
16441
c53dc7fc
LMI
16442 * net/soap-client.el (soap-invoke, soap-wsdl-resolve-references):
16443 Remove two rather uninteresting debugging-like messages to make
16444 debbugs.el more silent.
16445
fd4983f2
LMI
16446 * comint.el (comint-password-prompt-regexp): Accept "Response" as
16447 a password-like phrase.
16448
7a71b18d 164492011-06-30 Masatake YAMATO <yamato@redhat.com>
b14c0c55
AM
16450
16451 * progmodes/cc-guess.el: New file.
16452
6a2fb145 16453 * progmodes/cc-langs.el (c-mode-menu): Add "Style..." submenu.
b14c0c55
AM
16454
16455 * progmodes/cc-styles.el (cc-choose-style-for-mode): New function
16456 derived from `c-basic-common-init'.
16457
16458 * progmodes/cc-mode.el (top-level): Require cc-guess.
16459 (c-basic-common-init): Use `cc-choose-style-for-mode'.
16460
1fa280a3
LM
164612011-06-30 Lawrence Mitchell <wence@gmx.li>
16462
16463 * progmodes/js.el (js-mode): Don't stomp on global settings (bug#8933).
16464
e6597158
AM
164652011-06-30 Alan Mackenzie <acm@muc.de>
16466
1fa280a3
LM
16467 * progmodes/cc-engine.el (c-guess-continued-construct):
16468 Correct the handling of template-args-cont, particularly for when font
e6597158
AM
16469 lock is disabled. Name this case as "CASE G".
16470
68ba37fb
KM
164712011-06-30 Ken Manheimer <ken.manheimer@gmail.com>
16472
16473 * allout.el (allout-yank-processing): Fix injection of extra space
16474 between bullet and non-whitespace character in first topic when
16475 pasting, ensuring that the actual spacing in the pasted topic
16476 following the bullet char is preserved. This extra space was
16477 causing pasted encrypted topics to get a decrypted status even
16478 when the content was actually still encrypted. Now the decryption
16479 status from before the paste is preserved.
16480
16481 (allout-flag-region): Set all allout overlays so they evaporate
16482 when reduced to zero length (evanescent), to prevent overlay
16483 leakage.
16484
887a0b34
GM
164852011-06-30 Glenn Morris <rgm@gnu.org>
16486
94b9acce
GM
16487 * w32-fns.el (w32-charset-info-alist): Declare.
16488
1d9b46d4
GM
16489 * find-dired.el (find-grep-options): Simplify.
16490
cc232200
GM
16491 * term/ns-win.el (ns-set-resource): Declare.
16492
28e77c46
GM
16493 * ses.el (row, col): Declare dynamic variables honestly.
16494
887a0b34
GM
16495 * textmodes/reftex-parse.el (index-tags): Declare.
16496
658d8eb8
CY
164972011-06-30 Chong Yidong <cyd@stupidchicken.com>
16498
16499 * cus-edit.el (customize-push-and-save): New function.
16500
16501 * files.el (hack-local-variables-confirm): Use it.
16502
1fa280a3
LM
16503 * custom.el (load-theme): New arg NO-CONFIRM.
16504 Use customize-push-and-save (Bug#8720).
658d8eb8
CY
16505 (custom-enabled-themes): Doc fix.
16506
16507 * cus-theme.el (customize-create-theme)
16508 (custom-theme-merge-theme): Callers to load-theme changed.
16509
bb617717
LMI
165102011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
16511
d61bdd5d
LMI
16512 * thingatpt.el (thing-at-point-short-url-regexp): Require that
16513 short URLs have at least one dot in them (bug #7614).
16514
bb617717
LMI
16515 * progmodes/grep.el (rgrep): Bind `process-connection-type' to
16516 nil, because using a pty is apparently too slow (bug #895).
16517
2f31f37a
LMI
165182011-06-29 Lars Magne Ingebrigtsen <larsi@gnus.org>
16519
16520 * mail/sendmail.el (sendmail-query-once): New function.
16521 (sendmail-query-once-function): New variable.
16522
3076b24e
GM
165232011-06-29 Glenn Morris <rgm@gnu.org>
16524
faf2a174
GM
16525 * files.el (auto-mode-alist): Add .f03, .f08 for f90-mode.
16526
3076b24e
GM
16527 * ses.el (top-level): Require cl when compiling.
16528 (ses-set-localvars): Fix error statement.
16529 Call it at compile time to silence a storm of warnings.
16530
5386012d
MR
165312011-06-29 Martin Rudalics <rudalics@gmx.at>
16532
16533 * window.el (normalize-live-buffer): Rename to
16534 window-normalize-buffer.
16535 (normalize-live-frame): Rename to window-normalize-frame.
16536 (normalize-any-window): Rename to window-normalize-any-window.
16537 (normalize-live-window): Rename to window-normalize-live-window.
16538 (make-window-atom): Rename to window-make-atom.
16539 (window-resize-reset): Rename to window--resize-reset.
16540 (window-resize-reset-1): Rename to window--resize-reset-1.
16541 (resize-mini-window): Rename to window--resize-mini-window.
16542 (resize-subwindows-skip-p): Rename to
16543 window--resize-subwindows-skip-p.
16544 (resize-subwindows-normal): Rename to
16545 window--resize-subwindows-normal.
16546 (resize-subwindows): Rename to window--resize-subwindows.
16547 (resize-other-windows): Rename to window--resize-siblings.
16548 (resize-this-window): Rename to window--resize-this-window.
16549 (resize-root-window): Rename to window--resize-root-window.
16550 (resize-root-window-vertically): Rename to
16551 window--resize-root-window-vertically.
16552 (normalize-buffer-to-display): Rename to
16553 window-normalize-buffer-to-display.
16554 (normalize-buffer-to-switch-to): Rename to
16555 window-normalize-buffer-to-switch-to.
16556 Correspondingly update all callers of the functions listed
16557 above.
16558 (display-buffer-alist, display-buffer-normalize-arguments)
16559 (display-buffer-normalize-options, display-buffer)
16560 (display-buffer-alist-set): Use "function" instead of
16561 "fun-with-args".
16562
1176868d
CY
165632011-06-28 Chong Yidong <cyd@stupidchicken.com>
16564
16565 * mail/emacsbug.el (report-emacs-bug): Handle non-gnu bug
16566 addresses more clearly. Add hyperlinks for bug-gnu-emacs and
16567 debbugs.gnu.org. Mention acknowledgment email.
16568
20a7a65f
LMI
165692011-06-28 Lars Magne Ingebrigtsen <larsi@gnus.org>
16570
16571 * mail/smtpmail.el (smtpmail-send-it): Leave off changing the
16572 buffer multibyteness, since it shouldn't matter.
16573
5f45cca5
MR
165742011-06-28 Martin Rudalics <rudalics@gmx.at>
16575
16576 * window.el (display-buffer-in-side-window): Handle dedicated
16577 windows as in display-buffer-reuse-window.
16578 (display-buffer-normalize-alist): Use value of override
16579 specifier.
16580 (display-buffer-normalize-specifiers): Use value of
16581 other-window-means-other-frame specifier.
16582 (display-buffer-alist): Rewrite some texts in widgets.
16583 (display-buffer): Spread arguments when calling function
16584 specified by fun-with-args.
16585
ad85fe1f
DD
165862011-06-28 Deniz Dogan <deniz@dogan.se>
16587
1fa280a3
LM
16588 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-syntax-table):
16589 Unnest `let'.
da68c4c8 16590
ad85fe1f
DD
16591 * textmodes/css-mode.el (css-font-lock-keywords): Fix grouped
16592 selectors (Bug#5732).
ec49bd31 16593 (css-proprietary-nmstart-re): Use `regexp-opt'.
ad85fe1f 16594
a08cc025
JA
165952011-06-27 Jari Aalto <jari.aalto@cante.net>
16596
16597 * eshell/em-ls.el: Display `ls -l' dates in ISO format (Bug#8440).
16598 (eshell-ls-date-format): New defcustom.
16599 (eshell-ls-file): Use it.
16600
e2b551c5
SM
166012011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
16602
16603 * help-fns.el (describe-variable): Fix message for terminal-local vars.
16604
8982b231
KY
166052011-06-27 Katsumi Yamaoka <yamaoka@jpl.org>
16606
16607 * net/ange-ftp.el: Allow loading .gz files (Bug#6923).
16608 (ange-ftp-make-tmp-name): New arg.
16609 (ange-ftp-file-local-copy): Use it.
16610
36c9fa27
J
166112011-06-27 Jambunathan K <kjambunathan@gmail.com>
16612
16613 * tar-mode.el (tar-untar-buffer): Set coding-system-for-write to
16614 no-conversion (Bug#8870).
16615
d68443dc
MR
166162011-06-27 Martin Rudalics <rudalics@gmx.at>
16617
16618 * window.el (window-right, window-left, window-child)
16619 (window-child-count, window-last-child)
16620 (window-iso-combination-p, walk-window-tree-1)
16621 (window-atom-check-1, window-tree-1, delete-window)
16622 (window-state-get-1, display-buffer-even-window-sizes): Adapt to
16623 new naming conventions - window-vchild, window-hchild,
16624 window-next and window-prev are now called window-top-child,
16625 window-left-child, window-next-sibling and window-prev-sibling
16626 respectively.
d615d6d2
MR
16627 (resize-window-reset): Rename to window-resize-reset.
16628 (resize-window-reset-1): Rename to window-resize-reset-1.
16629 (resize-window): Rename to window-resize.
16630 (window-min-height, window-min-width)
16631 (resize-mini-window, resize-this-window, resize-root-window)
16632 (resize-root-window-vertically, adjust-window-trailing-edge)
16633 (enlarge-window, shrink-window, maximize-window)
16634 (minimize-window, delete-window, quit-restore-window)
16635 (split-window, balance-windows, balance-windows-area-adjust)
16636 (balance-windows-area, window-state-put-2)
16637 (display-buffer-even-window-sizes, display-buffer-set-height)
16638 (display-buffer-set-width, set-window-text-height)
16639 (fit-window-to-buffer): Rename all "resize-window" prefixed
16640 calls to use the "window-resize" prefix convention.
16641 (display-buffer-alist): Fix symbol for label specifier.
16642 (display-buffer-reuse-window): Set reuse-dedicated to cdr of
16643 corresponding specifier.
16644 Reported by Juanma Barranquero <lekktu@gmail.com>.
d68443dc 16645
b6458526
VB
166462011-06-27 Vincent Belaïche <vincentb1@users.sourceforge.net>
16647
16648 * ses.el (ses-destroy-cell-variable-range): Fix heading comment
16649 convention.
16650 (ses-call-printer): Does not pass an empty string to formatter when the
16651 cell is empty to keep from barking printer Calc math-format-value.
16652
d31fd9ac
RS
166532011-06-27 Richard Stallman <rms@gnu.org>
16654
43d5bf84
RS
16655 * battery.el (battery-mode-line-limit): New variable.
16656 (battery-update): Handle it.
16657
d31fd9ac
RS
16658 * mail/rmailmm.el (rmail-mime-process-multipart):
16659 Handle truncated messages.
16660
819a6054
GM
166612011-06-27 Glenn Morris <rgm@gnu.org>
16662
16663 * progmodes/flymake.el (flymake-err-line-patterns):
16664 Allow for column numbers in the ant/javac pattern. (Bug#8866)
16665
cedc73f2
VB
166662011-06-27 Vincent Belaïche <vincentb1@users.sourceforge.net>
16667
819a6054 16668 * ses.el (ses-relocate-range): Keep rest of arguments for ses-range.
cedc73f2
VB
16669 (ses--clean-!, ses--clean-_): New functions.
16670 (ses-range): Add configurability of readout order, and conversion
16671 to Calc vector.
16672
5e5d49b6
VB
16673 * ses.el (ses-repair-cell-reference-all): New function.
16674 (ses-cell-symbol): Set macro as safe, so that it can be used in
16675 formulas.
16676
56e6cc31 16677 * ses.el: Update cycle detection algorithm.
90ca8b49 16678 (ses-localvars): Add ses--Dijkstra-attempt-nb and
819a6054 16679 ses--Dijkstra-weight-bound, and initial values thereof when applicable.
90ca8b49
VB
16680 (ses-set-localvars): New function.
16681 (ses-make-cell): Add property-list as a cell element.
16682 (ses-cell-property-get-fun, ses-cell-property-get)
16683 (ses-cell-property-delq-fun, ses-cell-property-set-fun)
819a6054
GM
16684 (ses-cell-property-pop-fun, ses-cell-property-get-handle-fun):
16685 New functions.
90ca8b49
VB
16686 (ses-cell-property-set, ses-cell-property-pop)
16687 (ses-cell-property-get-handle): New macro.
16688 (ses-cell-property-handle-car, ses-cell-property-handle-setcar):
16689 New aliases, used for code readability.
16690 (ses-calculate-cell, ses-update-cells): Use Dijkstra algorithm for
16691 cycle detection.
16692 (ses-self-reference-early-detection): New defcustom.
fac916bf 16693 (ses-formula-references): Robustify against self-referring cells.
90ca8b49
VB
16694 (ses-mode): Use ses-set-localvars.
16695 (ses-command-hook): Add call to ses-initialize-Dijkstra-attempt
16696 before lauching the update processing.
16697 (ses-initialize-Dijkstra-attempt): New function.
16698 (ses-recalculate-cell): Update for cycle detection based on
16699 Dijkstra algorithm.
16700
2bb63e81
VB
16701 * ses.el: Fix commenting and indenting convention.
16702
c9d29fb8
SM
167032011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
16704
16705 * bs.el (bs-cycle-next): Complete last change.
16706
d8e4b68b
JB
167072011-06-27 Drew Adams <drew.adams@oracle.com>
16708
16709 * faces.el (list-faces-display): Add help-mode-map to output (bug#8939).
16710
40098786
LMI
167112011-06-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
16712
c9d29fb8
SM
16713 * net/network-stream.el (network-stream-open-starttls):
16714 Don't re-get capabilities unless we've reestablished connection.
f6ab314e
LMI
16715 (network-stream-open-starttls): Fix stupid typo with gnutls-clii.
16716
40098786
LMI
16717 * mail/smtpmail.el (smtpmail-via-smtp): Bind coding-system-for-*
16718 to binary to possibly avoid line encoding issues on Windows (among
16719 other things).
16720
468d09d4
LMI
167212011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
16722
16723 * net/network-stream.el (open-network-stream): Return an :error
16724 saying what the problem was, if possible.
16725
16726 * mail/smtpmail.el (smtpmail-via-smtp): Report the error from the
16727 server.
16728
16729 * net/network-stream.el (network-stream-open-starttls): If we
16730 wanted to use STARTTLS, and the server offered it, but we weren't
16731 able to because we had no STARTTLS support, then close the connection.
16732 (open-network-stream): Return an :error element, if present.
16733
16f07dd7
CY
167342011-06-26 Chong Yidong <cyd@stupidchicken.com>
16735
88821ca0
CY
16736 * hl-line.el (hl-line-sticky-flag): Doc fix.
16737 (global-hl-line-sticky-flag): New option (Bug#8323).
16738 (global-hl-line-highlight): Obey it.
16739
16f07dd7
CY
16740 * vc/vc.el (vc-revert-show-diff): Default to t.
16741
6b5ccddf
KM
167422011-06-26 Ken Manheimer <ken.manheimer@gmail.com>
16743
c9d29fb8
SM
16744 * allout-widgets.el (allout-widgets-post-command-business):
16745 Stop decorating intermediate isearch matches. They're not being
6b5ccddf
KM
16746 undecorated when an isearch is continued past, and isearch
16747 automatically collapses them. This leads to "widget leaks", where
16748 decorated items accumulate in collapsed areas. Lines with lots of
c9d29fb8
SM
16749 hidden widgets can slow down cursor travel, substantially.
16750 Too much complicated machinery would be needed to ensure undecoration,
6b5ccddf
KM
16751 so we're doing without this nicety.
16752
16753 (allout-widgets-tally-string): Don't try to do a hash-table-count
16754 of allout-widgets-tally when it's nil. This eliminates spurious "Error
16755 during redisplay: (wrong-type-argument hash-table-p nil)" warnings in
16756 *Messages* when allout-widgets-maintain-tally is t.
16757
355f2e07
MR
167582011-06-26 Martin Rudalics <rudalics@gmx.at>
16759
16760 * window.el (display-buffer-normalize-argument): Rename to
16761 display-buffer-normalize-arguments. Handle special meaning of
6b5ccddf
KM
16762 LABEL argument. Respect special-display-function when popping up
16763 a new frame. Fix code searching for a window showing the buffer
16764 on another frame.
c9d29fb8
SM
16765 (display-buffer-normalize-specifiers):
16766 Call display-buffer-normalize-arguments.
355f2e07
MR
16767 (display-buffer-in-window): Don't undedicate the window if its
16768 buffer remains the same.
16769 Reported by Drew Adams <drew.adams@oracle.com>.
16770 (display-buffer-alist): Add choice for same-window macro
16771 specfier.
16772 (display-buffer): Mention special meaning of LABEL argument in
16773 doc-string. Fix quoting. Don't pop up a new frame even as
16774 fallback.
16775
7ca8fc42
JB
167762011-06-26 Juanma Barranquero <lekktu@gmail.com>
16777
16778 * bs.el (bs-cycle-next): Pass current buffer to `bury-buffer' to
16779 avoid deleting the current window in some cases (bug#8911).
16780
bc312254
AS
167812011-06-26 Andreas Schwab <schwab@linux-m68k.org>
16782
16783 * emacs-lisp/smie.el (smie-bnf->prec2): Fix last change.
16784 (Bug#8934)
16785
2db18f3f
LMI
167862011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
16787
c9d29fb8
SM
16788 * net/network-stream.el (network-stream-open-starttls):
16789 Use built-in TLS support if `gnutls-available-p' is true.
2db18f3f
LMI
16790 (network-stream-open-tls): Ditto.
16791
6302e0d3
LL
167922011-06-26 Leo Liu <sdl.web@gmail.com>
16793
16794 * register.el (registerv): New struct.
16795 (registerv-make): New function.
c9d29fb8
SM
16796 (jump-to-register, describe-register-1, insert-register):
16797 Support the jump-func, print-func and insert-func slot of a registerv
6302e0d3
LL
16798 struct. (Bug#8415)
16799
5fdd4046
CY
168002011-06-26 Chong Yidong <cyd@stupidchicken.com>
16801
2afef60a
CY
16802 * vc/vc.el (vc-revert-show-diff): New defcustom.
16803 (vc-diff-internal): New arg specifying diff buffer.
16804 (vc-revert): Obey vc-revert-show-diff. If we show a diff, don't
16805 reuse an existing *vc-diff* buffer (Bug#8927).
16806
5fdd4046
CY
16807 * progmodes/cperl-mode.el (cperl-mode): Derive from prog-mode.
16808
e93db24a
GM
168092011-06-26 Glenn Morris <rgm@gnu.org>
16810
16811 * progmodes/f90.el (f90-critical-indent): New option.
16812 (f90-font-lock-keywords-2, f90-blocks-re, f90-end-block-re)
16813 (f90-start-block-re, f90-mode-abbrev-table): Add block, critical.
16814 (f90-mode): Doc fix.
16815 (f90-looking-at-critical, f90-looking-at-end-critical): New funcs.
16816 (f90-no-block-limit, f90-calculate-indent, f90-end-of-block)
16817 (f90-beginning-of-block, f90-next-block, f90-indent-region)
16818 (f90-match-end): Handle block, critical.
16819
eefff499
GM
168202011-06-25 Glenn Morris <rgm@gnu.org>
16821
f6ba4cc9
GM
16822 * calendar/diary-lib.el (diary-included-files): Doc fix.
16823 (diary-include-files): New function, extracted from
16824 diary-include-other-diary-files and diary-mark-included-diary-files.
16825 (diary-include-other-diary-files, diary-mark-included-diary-files):
16826 Just call diary-include-files.
16827 (diary-mark-entries): Reset diary-included-files on first call.
16828
16712304
GM
16829 * calendar/diary-lib.el (diary-mark-entries)
16830 (diary-mark-included-diary-files):
16831 Visit included diary-files in temp buffers.
16832
5d8e0d43
GM
16833 * progmodes/f90.el (f90-keywords-re, f90-font-lock-keywords-1)
16834 (f90-blocks-re, f90-program-block-re, f90-end-block-re)
16835 (f90-start-block-re, f90-imenu-generic-expression)
16836 (f90-looking-at-program-block-start, f90-no-block-limit):
16837 Add support for submodules.
16838
ccf7a5d5
GM
16839 * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
16840 (f90-procedures-re, f90-constants-re): Add some F2008 stuff.
eefff499 16841
11fdef7d 168422011-06-25 Eli Zaretskii <eliz@gnu.org>
638e9005
EZ
16843
16844 * net/ange-ftp.el (ange-ftp-insert-file-contents): Let-bind
16845 buffer-file-type before setting its value, to avoid disastrous
eefff499 16846 global effects on decoding files for DOS/Windows systems. (Bug#8780)
638e9005 16847
74f53697
JB
168482011-06-25 Juanma Barranquero <lekktu@gmail.com>
16849
16850 * allout.el (allout-unload-function): Pass -1 to `allout-mode'.
16851
16852 * ses.el (ses-unload-function):
16853 * emacs-lisp/re-builder.el (re-builder-unload-function): Simplify.
16854
16855 * proced.el (proced-unload-function):
16856 * progmodes/cperl-mode.el (cperl-mode-unload-function): Remove.
16857
18a4ce5e
AR
168582011-06-25 Andreas Rottmann <a.rottmann@gmx.at>
16859
16860 * server.el (server-create-window-system-frame): Add parameters arg.
16861 (server-process-filter): Doc fix. Handle frame-parameters.
16862
519d22cc
JB
168632011-06-25 Juanma Barranquero <lekktu@gmail.com>
16864
16865 Fix bug#8730, bug#8781.
16866
16867 * loadhist.el (unload--set-major-mode): New function.
16868 (unload-feature): Use it.
16869
16870 * progmodes/python.el (python-after-info-look): Add autoload cookie.
16871 (python-unload-function): New function.
16872
c206f5b0
SM
168732011-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
16874
16875 * mail/rmail.el (rmail-show-message-1): Use restore-buffer-modified-p.
16876
f9ad64f3
GS
168772011-06-25 Giuseppe Scrivano <gscrivano@gnu.org>
16878
16879 * net/browse-url.el (browse-url-firefox-program): Add icecat to
16880 the candidates list.
16881
7d0da90e
JB
168822011-06-24 Juanma Barranquero <lekktu@gmail.com>
16883
16884 * progmodes/verilog-mode.el (verilog-mode): Fix test for bound variable.
16885
14b4e83d
RS
168862011-06-23 Richard Stallman <rms@gnu.org>
16887
16888 * mail/rmail.el: Going to grep hit in Rmail buffer finds the message.
16889 (rmail-variables): Set next-error-move-function.
16890 (rmail-what-message): Take argument POS.
16891 (rmail-next-error-move): New function.
16892
273d2baf
SM
168932011-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
16894
16895 * emacs-lisp/smie.el (smie-bnf->prec2): Give more understandable error
16896 messages for adjacent non-terminals.
16897
56c2cc9a
RS
168982011-06-23 Richard Stallman <rms@gnu.org>
16899
16900 * mail/rmail.el (rmail-retry-ignored-headers): Add message-id.
f444564c 16901 (rmail-show-message-1): Preserve buffer modified flag.
8050daa1
RS
16902 (rmail-start-mail): Don't specify use of rmail-mail-return;
16903 that's done by mail-bury now.
16904 (rmail-mail-return): Handle arg NEWBUF.
56c2cc9a 16905
d59eb518
MA
169062011-06-23 Michael Albinus <michael.albinus@gmx.de>
16907
16908 * net/tramp-sh.el (tramp-method-out-of-band-p): Check, whether
16909 SIZE is a number.
16910
02cfc6d6
MR
169112011-06-23 Martin Rudalics <rudalics@gmx.at>
16912
16913 * window.el (get-lru-window, get-mru-window)
16914 (get-largest-window): Never return a minibuffer window.
16915 (display-buffer-pop-up-window): Fix a bug that could lead to
16916 reusing the minibuffer window.
16917 (display-buffer): Pass original specifier argument to
16918 display-buffer-function instead of the normalized one.
16919 Reported by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
16920
4e323265
LL
169212011-06-22 Leo Liu <sdl.web@gmail.com>
16922
16923 * minibuffer.el (completing-read-function)
1f9f395d 16924 (completing-read-default): Move from minibuf.c.
4e323265 16925
7a70468f
RS
169262011-06-22 Richard Stallman <rms@gnu.org>
16927
50718fc2
RS
16928 * mail/sendmail.el (mail-bury): If Rmail is in use, return nicely
16929 to Rmail even if not started by a special Rmail command.
16930
7a70468f
RS
16931 * mail/rmailmm.el (rmail-insert-mime-forwarded-message):
16932 Copy the buffer currently showing just one message.
16933
297dde5a
RW
169342011-06-22 Roland Winkler <winkler@gnu.org>
16935
16936 * textmodes/bibtex.el (bibtex-entry-update): Use mapc.
16937 (bibtex-clean-entry): First delete the old key so that a
16938 customized algorithm for generating the new key does not get
16939 confused by the old key.
16940 (bibtex-url): Obey regexp of first step.
16941 (bibtex-search-entries): Do not use add-to-list with local
16942 list-var.
16943
97bb1093
LMI
169442011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
16945
16946 * mail/smtpmail.el (smtpmail-try-auth-methods): If the user has
16947 stored a user name, then query for the password first, instead of
16948 waiting for SMTP to give an error message and the trying again.
16949
1c0f1a19
JD
169502011-06-22 Lawrence Mitchell <wence@gmx.li>
16951
16952 * net/browse-url.el (browse-url-xdg-open): Use 0, rather than nil
16953 BUFFER in call-process.
16954
396f7c9d
LMI
169552011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
16956
16957 * mail/smtpmail.el (smtpmail-via-smtp): Make sure we don't send
16958 QUIT twice.
ddb7ffee
LMI
16959 (smtpmail-try-auth-methods): Require user name and password from
16960 auth-source.
396f7c9d 16961
8998d1b3
MR
169622011-06-22 Martin Rudalics <rudalics@gmx.at>
16963
16964 * window.el (display-buffer-default-specifiers)
16965 (display-buffer-alist): Remove entries for pop-up-frame-alist.
16966 Suggested by Katsumi Yamaoka <yamaoka@jpl.org>.
130e3e11 16967 (split-window): Normalize SIDE argument (Bug#8916).
8998d1b3
MR
16968
16969 * frame.el (pop-up-frame-alist, pop-up-frame-function)
16970 (special-display-frame-alist, special-display-popup-frame):
16971 Remove duplicate declarations. These are now in window.el.
16972
4ea31e07
LMI
169732011-06-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
16974
c9d29fb8
SM
16975 * mail/smtpmail.el (smtpmail-via-smtp):
16976 Set :use-starttls-if-possible so that we always use STARTTLS if the
6af7a784
LMI
16977 server supports it. SMTP servers that support STARTTLS commonly
16978 require it.
16979
16980 * net/network-stream.el (network-stream-open-starttls): Support
16981 upgrading to STARTTLS always, even if we don't have built-in support.
fa463103 16982 (open-network-stream): Add the :always-query-capabilities keyword.
6af7a784 16983
95f41d9a
LMI
16984 * mail/smtpmail.el: Rewritten to do opportunistic STARTTLS
16985 upgrades with `open-network-stream', and rely solely on
16986 auth-source for all credentials. Big changes throughout the file,
16987 but in particular:
c9d29fb8
SM
16988 (smtpmail-auth-credentials): Remove.
16989 (smtpmail-starttls-credentials): Remove.
7d36ad46
LMI
16990 (smtpmail-via-smtp): Check for servers saying they want AUTH after
16991 MAIL FROM, too.
95f41d9a 16992
c9d29fb8
SM
16993 * net/network-stream.el (network-stream-open-starttls):
16994 Provide support for client certificates both for external and built-in
4ea31e07
LMI
16995 STARTTLS.
16996 (auth-source): Require.
16997 (open-network-stream): Document the :client-certificate keyword.
eb8c9362
LMI
16998 (network-stream-certificate): Change cert-cert to cert and
16999 cert-key to key.
4ea31e07 17000
065ec2c7
MA
170012011-06-21 Michael Albinus <michael.albinus@gmx.de>
17002
17003 * net/tramp-cache.el (top): Don't load the persistency file when
17004 "emacs -Q" has been called.
17005
cd93b359
DR
170062011-06-21 Tim Harper <timcharper@gmail.com>
17007
d8e4b68b
JB
17008 * term/ns-win.el (ns-initialize-window-system):
17009 Set application-specific `ApplePressAndHoldEnabled' system
cd93b359
DR
17010 resource to NO as it is not yet supported by the NS port.
17011
ae9c0411
JB
170122011-06-21 Juanma Barranquero <lekktu@gmail.com>
17013
17014 * misc.el (list-dynamic-libraries--refresh): Compute header here...
17015 (list-dynamic-libraries): ...not here.
17016
7f3f739f
LL
170172011-06-21 Leo Liu <sdl.web@gmail.com>
17018
17019 * subr.el (sha1): Implement sha1 using secure-hash.
17020
327c8fb1
MR
170212011-06-21 Martin Rudalics <rudalics@gmx.at>
17022
17023 * window.el (display-buffer-alist): In default value do not
17024 enforce searching a window on any but the selected frame.
17025 Reported by Katsumi Yamaoka <yamaoka@jpl.org>.
17026 (display-buffer-select-window): Remove function.
17027 (display-buffer-in-window): When a window on another frame gets
17028 reused, do not select it any more but just raise its frame if
17029 necessary (Bug#8851) and (Bug#8856).
17030 (display-buffer-normalize-options): Handle pop-up-frames related
17031 options more faithfully.
17032 (pop-to-buffer): Don't rely on `display-buffer' selecting the
17033 window if it is on another frame.
c9d29fb8
SM
17034 (display-buffer-alist, display-buffer-default-specifiers):
17035 Don't make new frame unsplittable by default.
9e9de014
MR
17036 (display-buffer-normalize-argument): Fix doc-string typo and use
17037 'same-frame-other-window instead of 'other-window when associating
17038 with display-buffer-macro-specifiers.
327c8fb1 17039
7cf3f556
VB
170402011-06-21 Vincent Belaïche <vincent.b.1@hotmail.fr>
17041
17042 * play/5x5.el (5x5-solve-rotate-left, 5x5-solve-rotate-right):
17043 New functions.
17044 (5x5-mode-map, 5x5-mode-menu): Bind them.
17045 (5x5-draw-grid): Tweak the solver's rendering.
17046
60a406cf
SM
170472011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
17048
17049 * progmodes/compile.el (compilation-error-regexp-alist-alist): Rename
17050 `caml' to `python-tracebacks-and-caml'; allow leading tabs (bug#8585).
17051
d8e4b68b 170522011-06-21 Drew Adams <drew.adams@oracle.com>
5d907d6c
DA
17053
17054 * menu-bar.el: Use function variable instead of switch-to-buffer.
17055 (menu-bar-select-buffer-function): New variable.
60a406cf 17056 (menu-bar-update-buffers): Use it (bug#8876).
5d907d6c 17057
478d6f95
SM
170582011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
17059
17060 * emacs-lisp/bytecomp.el (add-to-list): Add handler to check the
17061 variable's status.
17062
ca530739
JD
170632011-06-20 Jan Djärv <jan.h.d@swipnet.se>
17064
17065 * x-dnd.el (x-dnd-version-from-flags)
17066 (x-dnd-more-than-3-from-flags): New functions that handle long-as-cons
17067 and long as number (Bug#8899).
17068 (x-dnd-handle-xdnd): Call functions above (Bug#8899).
17069
bcd70d97
SM
170702011-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
17071
60a406cf 17072 * minibuffer.el (completion-metadata): Add `metadata' to the alist.
4cb3bfa0
SM
17073 (completion-try-completion, completion-all-completions): Compute the
17074 metadata argument if it's missing; make it optional (bug#8795).
17075
60a406cf 17076 * wid-edit.el: Use lex-bind and move towards completion-at-point.
bcd70d97
SM
17077 (widget-complete): Use new :completion-function property.
17078 (widget-completions-at-point): New function.
17079 (default): Use :completion-function instead of :complete.
60a406cf
SM
17080 (widget-default-completions): Rename from widget-default-complete;
17081 Rewrite.
bcd70d97
SM
17082 (widget-string-complete, widget-file-complete, widget-color-complete):
17083 Remove functions.
17084 (file, symbol, function, variable, coding-system, color):
17085 * international/mule-cmds.el (default-input-method, charset)
17086 (language-info-custom-alist):
17087 * cus-edit.el (face): Use new property :completions.
17088
17089 * progmodes/pascal.el (pascal-completions-at-point): New function.
17090 (pascal-mode): Use it.
17091 (pascal-mode-map): Use completion-at-point.
17092 (pascal-toggle-completions): Make obsolete.
17093 (pascal-complete-word, pascal-show-completions):
17094 * progmodes/octave-mod.el (octave-complete-symbol):
17095 Redefine as obsolete alias.
17096 * progmodes/octave-inf.el (inferior-octave-completion-at-point):
17097 Signal absence of completion info for old Octave,
17098 (inferior-octave-complete): Redefine as obsolete alias.
17099 * progmodes/meta-mode.el: Use lexical-binding and completion-at-point.
17100 (meta-completions-at-point): Rename from meta-complete-symbol and
17101 adapt it for use on completion-at-point-functions.
17102 (meta-common-mode): Use it.
17103 (meta-looking-at-backward, meta-match-buffer): Remove.
17104 (meta-complete-symbol): Redefine as obsolete alias.
17105 (meta-common-mode-map): Use completion-at-point.
17106 * progmodes/make-mode.el: Use lexical-binding and completion-at-point.
17107 (makefile-mode-map): Use completion-at-point.
17108 (makefile-completions-at-point): Rename from makefile-complete and
17109 adapt it for use on completion-at-point-functions.
17110 (makefile-mode): Use it.
17111 (makefile-complete): Redefine as obsolete alias.
17112
aebf69c8
DD
171132011-06-20 Deniz Dogan <deniz@dogan.se>
17114
17115 * net/rcirc.el: Delete trailing whitespaces once and for all.
17116
bfbbb27d
DC
171172011-06-20 Daniel Colascione <dan.colascione@gmail.com>
17118
17119 * emacs-lisp/syntax.el (syntax-ppss): Further improve docstring.
17120
d264a46b
CY
171212011-06-19 Chong Yidong <cyd@stupidchicken.com>
17122
4ca009e5
CY
17123 * files.el (auto-mode-alist): Entry for m2-mode (Bug#8852).
17124
d264a46b
CY
17125 * info.el (Info-apropos-toc-nodes): Minor doc fix (Bug#8833).
17126
fbf5b3ce
MR
171272011-06-19 Martin Rudalics <rudalics@gmx.at>
17128
17129 * window.el (display-buffer-other-window-means-other-frame):
17130 Call display-buffer-normalize-alist.
17131 (display-buffer-normalize-specifiers-1): Rename to
17132 display-buffer-normalize-argument. New argument other-frame.
17133 Rewrite.
17134 (display-buffer-normalize-specifiers-2): Rename to
17135 display-buffer-normalize-options.
17136 (display-buffer-normalize-alist-1): New function.
17137 (display-buffer-normalize-specifiers-3): Rename to
bcd70d97
SM
17138 display-buffer-normalize-alist.
17139 Call display-buffer-normalize-alist-1.
fbf5b3ce
MR
17140 (display-buffer-normalize-options-inhibit): New variable.
17141 (display-buffer-normalize-specifiers): Rewrite calling
17142 display-buffer-normalize-alist,
17143 display-buffer-normalize-argument, and
17144 display-buffer-normalize-options. Don't call the latter if
17145 display-buffer-normalize-options-inhibit is non-nil.
17146 (frame-auto-delete): New option.
17147 (window-deletable-p): Use frame-auto-delete.
9d89fec7
MR
17148 (window-list-no-nils, window-state-ignored-parameters)
17149 (window-state-get-1, window-state-get, window-state-put-list)
bcd70d97
SM
17150 (window-state-put-1, window-state-put-2, window-state-put):
17151 New functions.
9a028c23
MR
17152 (display-buffer-normalize-options): Move special-display-p group
17153 after pop-up-frame group (Bug#8851) and (Bug#8856).
fbf5b3ce 17154
6d10d800
CY
171552011-06-18 Chong Yidong <cyd@stupidchicken.com>
17156
6420d28b
CY
17157 * emacs-lisp/rx.el (rx-constituents): Add support for numbered
17158 groups (Bug#8776).
17159 (rx-submatch-n): New function.
17160 (rx): Document it.
17161
ddb8b596
CY
17162 * dired-x.el (dired-mark-unmarked-files): Fix interactive spec
17163 (Bug#8768).
17164
17165 * replace.el (occur-mode-map): Set occur-edit-mode binding to "e".
17166
77080289
CY
17167 * textmodes/fill.el (default-justification): Add :safe (Bug#8879).
17168
61dfb316
CY
17169 * cus-face.el (custom-declare-face): Call custom-theme-recalc face
17170 anytime existing face settings are present (Bug#8889).
17171
6d10d800
CY
17172 * progmodes/delphi.el (delphi-mode-syntax-table): Use defvar.
17173 (delphi-mode): Use define-derived-mode to inherit from prog-mode.
17174 Remove unused argument.
17175
be3fb2b8
MR
171762011-06-18 Martin Rudalics <rudalics@gmx.at>
17177
bcd70d97
SM
17178 * window.el (display-buffer-default-specifiers):
17179 Remove pop-up-frame. Add pop-up-window-min-height,
be3fb2b8
MR
17180 pop-up-window-min-width, and another reuse-window specifier
17181 (Bug#8882). Reported by Dan Nicolaescu <dann@gnu.org>.
bcd70d97
SM
17182 (display-buffer-normalize-specifiers-2):
17183 Handle split-height-threshold and split-width-threshold also when
be3fb2b8
MR
17184 pop-up-windows is unset. Add a reuse-window specifier for the
17185 case popping up a new window fails.
17186 (special-display-popup-frame): Remove double quoting.
28dec25a 17187 (display-buffer-normalize-specifiers-1): Fix thinko.
be3fb2b8 17188
1c6d8c76
SM
171892011-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
17190
17191 * shell.el (shell-completion-vars): Set pcomplete-termination-string
17192 according to comint-completion-addsuffix.
17193
17194 * pcomplete.el: Convert to lexical binding and fix bug#8819.
17195 (pcomplete-suffix-list): Mark as obsolete.
17196 (pcomplete-completions-at-point): Capture pcomplete-norm-func and
17197 pcomplete-seen in the closure.
17198 (pcomplete-comint-setup): Setup completion-at-point as well.
17199 (pcomplete--entries): New function.
17200 (pcomplete--env-regexp): New var.
17201 (pcomplete-entries): Rewrite to work with partial-completion and
17202 without relying on pcomplete-suffix-list.
17203 (pcomplete-pare-list): Remove, unused.
17204
25aef8b8
MR
172052011-06-17 Martin Rudalics <rudalics@gmx.at>
17206
17207 * window.el (display-buffer-alist): Set pop-up-window-min-height
17208 and pop-up-window-min-width in default value. Reported by
17209 Thierry Volpiatto <thierry.volpiatto@gmail.com>. New specifier
17210 other-window-means-other-frame.
17211 (display-buffer-macro-specifiers): Comment out entry for
17212 other-window specifier.
17213 (display-buffer-other-window-means-other-frame): New function.
17214 (display-buffer-normalize-specifiers-1): New arguments
17215 buffer-name and label. Treat other-window case specially.
17216 (display-buffer-normalize-specifiers-2): Treat other-window case
17217 specially.
17218 (display-buffer-normalize-specifiers-3): New function.
bcd70d97
SM
17219 (display-buffer-normalize-specifiers):
17220 Call display-buffer-normalize-specifiers-3.
25aef8b8 17221
dbad4f69
MR
172222011-06-17 Martin Rudalics <rudalics@gmx.at>
17223
17224 * window.el (same-window-p): Fix two typos introduced when
17225 adding with-no-warnings.
d1067961
MR
17226 (display-buffer-normalize-specifiers-1): Don't check
17227 pop-up-frames for 'unset initialization.
17228 (display-buffer-normalize-specifiers-2): Major rewrite using
17229 special-display-p and same-window-p (Bug#8851) and (Bug#8856).
17230 (pop-up-frames, display-buffer-reuse-frames)
17231 (display-buffer-mark-dedicated): Don't initialize to 'unset.
17232 Suggested by David Engster <deng@randomsample.de>.
17233 (even-window-heights): Initialize to 'unset.
17234 (display-buffer-alist-set): Handle new 'unset initializations.
25aef8b8
MR
17235 (display-buffer-macro-specifiers): Don't pop up a new frame in the
17236 other window case.
dbad4f69 17237
9b9c9e3a
MR
172382011-06-16 Martin Rudalics <rudalics@gmx.at>
17239
bcd70d97
SM
17240 * window.el (display-buffer-normalize-specifiers-1):
17241 Respect current value of pop-up-frames for most reasonable values of
9b9c9e3a 17242 second argument of display-buffer (Bug#8865).
981d5c09
MR
17243 (switch-to-buffer-same-frame, switch-to-buffer-other-window)
17244 (switch-to-buffer-other-window-same-frame)
17245 (switch-to-buffer-other-frame): Fix doc-strings. Reported by Drew
17246 Adams (Bug#8875).
9c2755e9
MR
17247 (display-buffer): Don't check noninteractive when calling
17248 display-buffer-pop-up-frame.
17249 (display-buffer-pop-up-frame): Never pop up a frame in
17250 noninteractive mode (Bug#8857).
67222e1d
MR
17251 (enlarge-window, shrink-window): Don't report an error when the
17252 window can't be resized as requested (Bug#8862).
9b9c9e3a 17253
2b75be67
SM
172542011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
17255
9ffdd3ba
SM
17256 * pcmpl-rpm.el (pcomplete/rpm): Minor simplification.
17257
cb581a67
SM
17258 * emacs-lisp/debug.el (debug): Don't leave the buffer in Debugger.
17259
2b75be67
SM
17260 * abbrev.el (define-abbrev-table): Don't add a table multiple times.
17261
8c0e3589
AM
172622011-06-15 Alan Mackenzie <acm@muc.de>
17263
cb581a67
SM
17264 * progmodes/cc-fonts.el (c-font-lock-declarations): 1: Whilst checking
17265 for declarators, disable knr checking to speed up for normal files.
17266 2: Refactor, replacing a sequence of nested if forms by a cond form.
8c0e3589 17267
b96e6cde
LMI
172682011-06-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
17269
4bba86e6
LMI
17270 * net/network-stream.el (open-network-stream): Add the keyword
17271 :always-query-capabilities for the case where you want to force a
17272 `plain' network connection, but the protocol still requires the
17273 capabilitiy command (i.e., SMTP and EHLO).
17274
2b75be67 17275 * subr.el (process-live-p): Rename from `process-alive-p' for
b96e6cde
LMI
17276 consistency with other `-live-p' functions.
17277
efdcdbf8
SM
172782011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
17279
17280 * window.el (same-window-buffer-names, same-window-regexps)
17281 (special-display-frame-alist, special-display-popup-frame)
17282 (special-display-function, special-display-buffer-names)
17283 (special-display-regexps, pop-up-frame-alist)
17284 (pop-up-frame-function, pop-up-frames, display-buffer-reuse-frames)
17285 (pop-up-windows, split-window-preferred-function)
17286 (split-height-threshold, split-width-threshold, even-window-heights)
17287 (display-buffer-mark-dedicated): Don't encourage the use of
17288 display-buffer-alist from Elisp code.
17289
c5cde042
DN
172902011-06-15 Dan Nicolaescu <dann@ics.uci.edu>
17291
17292 * progmodes/python.el (python-mode): Derive from prog-mode.
17293 * progmodes/ps-mode.el (ps-mode):
17294 * progmodes/mixal-mode.el (mixal-mode):
50328a1b 17295 * progmodes/cfengine.el (cfengine-mode):
c5cde042
DN
17296 * progmodes/ld-script.el (ld-script-mode): Likewise.
17297
baa1c9ab
MR
172982011-06-15 Martin Rudalics <rudalics@gmx.at>
17299
17300 * window.el (display-buffer-alist): Trim default value to avoid
17301 popping up a new frame (Bug#8857) or reusing an arbitrary window
17302 on another frame.
17303 (display-buffer): Do not fall back on popping up a new frame in
17304 batch mode (Bug#8857).
17305
c5dd5a51
CY
173062011-06-14 Chong Yidong <cyd@stupidchicken.com>
17307
17308 * cus-theme.el (describe-theme-1): Use custom-theme-p.
17309 (custom-theme-summary): New function.
17310 (customize-themes): Use it.
17311
d647b7c4
GM
173122011-06-13 Glenn Morris <rgm@gnu.org>
17313
17314 * cus-dep.el (custom-make-dependencies): Use up command-line-args-left.
17315
9481c002
MR
173162011-06-13 Martin Rudalics <rudalics@gmx.at>
17317
357f93d2
MR
17318 * help.el (help-window): Remove variable.
17319 (help-window-point-marker, temp-buffer-max-height)
17320 (temp-buffer-resize-mode, help-window-select): Rewrite doc-strings.
17321 (help-print-return-message): Don't set help-window.
17322 (resize-temp-buffer-window): Rewrite cod eand doc-string.
17323 (help-window-setup-finish): Remove.
17324 (help-window-display-message, help-window-setup)
17325 (with-help-window): Major rewrite based on new
17326 display-buffer-window variable.
17327
17328 * help-mode.el (help-mode-finish): Remove help-window related
17329 code.
17330
17331 * view.el (view-exits-all-viewing-windows): Remove reference to
17332 view-return-to-alist in doc-string.
17333 (view-return-to-alist): Make obsolete.
17334 (view-buffer): Call pop-to-buffer-same-window and remove
17335 undo-window code.
17336 (view-buffer-other-window): Call pop-to-buffer-other-window and
17337 simplify code. Ignore second argument.
17338 (view-buffer-other-frame): Call pop-to-buffer-other-frame and
17339 simplify code. Ignore second argument.
17340 (view-return-to-alist-update): Make obsolete.
17341 (view-mode-enter): Rename second argument to QUIT-RESTORE.
17342 Rewrite using quit-restore window parameters.
2b75be67
SM
17343 (view-mode-exit): Rename second argument to EXIT-ONLY.
17344 Rewrite using quit-restore-window.
357f93d2
MR
17345 (View-exit, View-exit-and-edit, View-leave, View-quit)
17346 (View-quit-all, View-kill-and-leave): Call view-mode-exit with
17347 appropriate arguments.
17348 (view-end-message): Use quit-restore window parameter.
17349
9481c002
MR
17350 * window.el (display-buffer-function): Rewrite doc-string.
17351 (display-buffer-window, display-buffer-alist): New variables.
17352 (display-buffer-split-specifiers)
17353 (display-buffer-side-specifiers)
17354 (display-buffer-macro-specifiers): New constants.
17355 (display-buffer-even-window-sizes, display-buffer-set-height)
17356 (display-buffer-set-width, display-buffer-select-window)
17357 (display-buffer-in-window, display-buffer-reuse-window)
17358 (display-buffer-split-window-1, display-buffer-split-window)
17359 (display-buffer-split-atom-window, display-buffer-pop-up-window)
17360 (display-buffer-pop-up-frame, display-buffer-pop-up-side-window)
17361 (display-buffer-in-side-window, normalize-buffer-to-display)
17362 (display-buffer-normalize-specifiers-1)
17363 (display-buffer-normalize-specifiers-2)
2b75be67
SM
17364 (display-buffer-normalize-specifiers, display-buffer-frame):
17365 New functions.
9481c002
MR
17366 (display-buffer): Major rewrite.
17367 (display-buffer-other-window, display-buffer-other-frame)
17368 (pop-to-buffer, switch-to-buffer-other-window)
17369 (switch-to-buffer-other-frame): Rewrite.
17370 (display-buffer-same-window, display-buffer-same-frame)
17371 (display-buffer-same-frame-other-window)
17372 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
17373 (pop-to-buffer-other-window)
17374 (pop-to-buffer-same-frame-other-window)
17375 (pop-to-buffer-other-frame, switch-to-buffer-same-frame)
17376 (switch-to-buffer-other-window-same-frame): New functions.
17377 (same-window-p, special-display-p): Rewrite disabling warnings.
17378 Make obsolete.
17379 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
17380 (display-buffer-mark-dedicated): Initialize to symbol 'unset.
17381 Make obsolete
17382 (same-window-buffer-names, same-window-regexps)
17383 (special-display-frame-alist, special-display-popup-frame)
17384 (special-display-function, special-display-buffer-names)
17385 (special-display-regexps, pop-up-frame-alist)
17386 (pop-up-frame-function, split-window-preferred-function)
17387 (split-height-threshold, split-width-threshold)
17388 (even-window-heights): Make obsolete.
17389
9db51aca
GM
173902011-06-12 Glenn Morris <rgm@gnu.org>
17391
17392 * term/xterm.el (terminal-init-xterm): `version' may be nil. (Bug#8838)
7cb363eb 17393 Misc simplifications.
9db51aca 17394
39cffb44
MR
173952011-06-12 Martin Rudalics <rudalics@gmx.at>
17396
17397 * window.el (window-safely-shrinkable-p): Restore function which
17398 was inadvertently removed in change from 2011-06-11. Declare as
17399 obsolete.
17400
2b75be67
SM
17401 * calendar/calendar.el (calendar-generate-window):
17402 Use window-iso-combined-p instead of combination of one-window-p and
39cffb44
MR
17403 window-safely-shrinkable-p.
17404
a8955be7
GM
174052011-06-12 Glenn Morris <rgm@gnu.org>
17406
17407 * progmodes/fortran.el (fortran-mode-syntax-table):
17408 * progmodes/f90.el (f90-mode-syntax-table):
17409 Set % to punctuation. (Bug#8820)
17410 (f90-find-tag-default): Remove, no longer needed.
17411
f0d4059d
DC
174122011-06-12 Daniel Colascione <dan.colascione@gmail.com>
17413
17414 * emacs-lisp/syntax.el (syntax-ppss): Clarify which items are invalid.
17415
1100a63c
CY
174162011-06-11 Chong Yidong <cyd@stupidchicken.com>
17417
17418 * image.el (image-animated-p): Return animation delay in seconds.
17419 Avoid bit manipulation in Lisp; use `delay' entry in the metadata.
17420 (image-animate-timeout): Remove DELAY argument. Don't assume
17421 every subimage has the same delay; get it from image-animated-p.
17422 (image-animate): Caller changed.
17423
def722bf
MA
174242011-06-11 Michael Albinus <michael.albinus@gmx.de>
17425
17426 * net/tramp.el (tramp-debug-message): Add `tramp-with-progress-reporter'
17427 to ignored backtrace functions.
17428
0a2bb1a9
GM
174292011-06-11 Glenn Morris <rgm@gnu.org>
17430
17431 * calendar/appt.el (appt-disp-window-function): Doc fix.
17432 (appt-check): Handle overlapping appointments. (Bug#8337)
17433
6198ccd0
MR
174342011-06-11 Martin Rudalics <rudalics@gmx.at>
17435
17436 * window.el (window-tree-1, window-tree): New functions, moving
17437 the latter to window.el.
17438 (bw-get-tree, bw-get-tree-1, bw-find-tree-sub)
17439 (bw-find-tree-sub-1, bw-l, bw-t, bw-r, bw-b, bw-dir, bw-eqdir)
17440 (bw-refresh-edges): Remove.
17441 (balance-windows-1, balance-windows-2): New functions.
17442 (balance-windows): Rewrite in terms of window tree functions,
17443 balance-windows-1 and balance-windows-2.
17444 (bw-adjust-window): Remove.
17445 (balance-windows-area-adjust): New function with functionality of
17446 bw-adjust-window but using resize-window.
2b75be67
SM
17447 (set-window-text-height): Rewrite doc-string.
17448 Use normalize-live-window and resize-window.
17449 (enlarge-window-horizontally, shrink-window-horizontally):
17450 Rename argument to DELTA.
6198ccd0
MR
17451 (window-buffer-height): New function.
17452 (fit-window-to-buffer, shrink-window-if-larger-than-buffer):
17453 Rewrite using new window resize routines.
2b75be67
SM
17454 (kill-buffer-and-window, mouse-autoselect-window-select):
17455 Use ignore-errors instead of condition-case.
6198ccd0
MR
17456 (quit-window): Call delete-frame instead of delete-windows-on
17457 for the only buffer on frame.
17458
9397e56f
MR
174592011-06-10 Martin Rudalics <rudalics@gmx.at>
17460
17461 * loadup.el (top-level): Load window before files for the sake
17462 of replace-buffer-in-windows.
17463
17464 * files.el (read-buffer-to-switch)
17465 (switch-to-buffer-other-window)
2b75be67
SM
17466 (switch-to-buffer-other-frame, display-buffer-other-frame):
17467 Move to window.el.
9397e56f
MR
17468
17469 * simple.el (get-next-valid-buffer, last-buffer, next-buffer)
17470 (previous-buffer): Move to window.el.
17471
17472 * bindings.el (unbury-buffer): Move to window.el.
17473
17474 * window.el (delete-other-windows-vertically): Move after
17475 definition of delete-other-windows.
17476 (other-window, delete-windows-on, replace-buffer-in-windows):
17477 Move here from window.c.
17478 (record-window-buffer, unrecord-window-buffer)
17479 (set-window-buffer-start-and-point, switch-to-prev-buffer)
17480 (switch-to-next-buffer): New functions.
17481 (get-next-valid-buffer, last-buffer, next-buffer): Move here
17482 from simple.el. Call switch-to-next-buffer.
2b75be67
SM
17483 (previous-buffer): Move here from simple.el.
17484 Call switch-to-prev-buffer.
9397e56f
MR
17485 (bury-buffer): Move here from buffer.c. Switch to previous
17486 buffer when window cannot be deleted.
17487 (unbury-buffer): Move here from bindings.el.
17488 (ctl-x-map): Move binding for other-window from window.c to
17489 here.
17490 (read-buffer-to-switch, switch-to-buffer-other-window)
17491 (switch-to-buffer-other-frame): Move here from files.el.
17492 (normalize-buffer-to-switch-to): New functions.
2b75be67
SM
17493 (switch-to-buffer): Move here from buffer.c.
17494 Use read-buffer-to-switch and normalize-buffer-to-switch-to.
9397e56f 17495
562dd5e9
MR
174962011-06-10 Martin Rudalics <rudalics@gmx.at>
17497
17498 * window.el (window-min-height, window-min-width): Move here
17499 from window.c. Add defcustoms and rewrite doc-strings.
17500 (resize-mini-window, resize-window): New functions.
17501 (adjust-window-trailing-edge, enlarge-window, shrink-window):
17502 Move here from window.c.
17503 (maximize-window, minimize-window): New functions.
17504 (delete-window, delete-other-windows, split-window): Move here
17505 from window.c.
17506 (window-split-min-size): New function.
17507 (split-window-keep-point): Mention split-window-above-each-other
17508 instead of split-window-vertically.
2b75be67 17509 (split-window-above-each-other, split-window-vertically):
1154d12e
JB
17510 Rename split-window-vertically to split-window-above-each-other
17511 and provide defalias for old definition.
17512 (split-window-side-by-side, split-window-horizontally):
17513 Rename split-window-horizontally to split-window-side-by-side
17514 and provide defalias for the old definition.
562dd5e9
MR
17515 (ctl-x-map): Move bindings for delete-window,
17516 delete-other-windows and enlarge-window here from window.c.
17517 Replace bindings for split-window-vertically and
17518 split-window-horizontally by bindings for
17519 split-window-above-each-other and split-window-side-by-side.
17520
17521 * cus-start.el (all): Remove entries for window-min-height and
17522 window-min-width. Add entries for window-splits and
17523 window-nest.
17524
f0da764a
GM
175252011-06-09 Glenn Morris <rgm@gnu.org>
17526
80675c21
GM
17527 * calendar/appt.el (appt-mode-line): New function.
17528 (appt-check, appt-disp-window): Use it.
17529
f0da764a
GM
17530 * files.el (hack-one-local-variable-eval-safep):
17531 Allow minor-modes with explicit +/-1 arguments.
17532
59f623b7
TZ
175332011-06-09 Teodor Zlatanov <tzz@lifelogs.com>
17534
17535 * term/xterm.el (xterm): Add defgroup.
17536 (xterm-extra-capabilities): Add defcustom to supply known xterm
17537 capabilities, skip querying them, or query them (default).
17538 (terminal-init-xterm): Use it.
17539 (terminal-init-xterm-modify-other-keys): New function to set up
17540 modifyOtherKeys support to simplify `terminal-init-xterm'.
17541
9aab8e0d
MR
175422011-06-09 Martin Rudalics <rudalics@gmx.at>
17543
17544 * window.el (resize-window-reset, resize-window-reset-1)
17545 (resize-subwindows-skip-p, resize-subwindows-normal)
17546 (resize-subwindows, resize-other-windows, resize-this-window)
17547 (resize-root-window, resize-root-window-vertically)
17548 (window-deletable-p, window-or-subwindow-p)
17549 (frame-root-window-p): New functions.
17550
e8b08aee
GM
175512011-06-09 Glenn Morris <rgm@gnu.org>
17552
17553 * net/ange-ftp.el (ange-ftp-switches-ok): New function.
17554 (ange-ftp-get-files): Use it.
17555
254c37a5
AK
175562011-06-09 Alexander Klimov <alserkli@inbox.ru> (tiny change)
17557
17558 * mail/sendmail.el (mail-recover-1, mail-recover):
17559 * files.el (recover-file, recover-session):
17560 Handle dired-listing-switches not being just a single short option.
17561
35d7dbd3
GM
175622011-06-09 Glenn Morris <rgm@gnu.org>
17563
17564 * calendar/appt.el (appt-display-message, appt-disp-window):
17565 Handle lists of appointments.
17566
387522b2
MR
175672011-06-08 Martin Rudalics <rudalics@gmx.at>
17568
2b75be67
SM
17569 * window.el (one-window-p): Move down in code.
17570 Rewrite doc-string.
17571 (window-current-scroll-bars): Rewrite doc-string.
17572 Normalize live window argument.
387522b2
MR
17573 (walk-windows, get-window-with-predicate, count-windows):
17574 Rewrite doc-string. Use window-list-1.
17575 (window-in-direction-2, window-in-direction, get-mru-window):
17576 New functions.
17577
d8e4b68b 175782011-06-08 Reuben Thomas <rrt@sc3d.org>
2c587104
GM
17579
17580 * progmodes/flymake.el (flymake-compilation-prevents-syntax-check):
17581 Doc fix (Bug#8713).
17582
175832011-06-08 Chong Yidong <cyd@stupidchicken.com>
17584
17585 * repeat.el (repeat-on-final-keystroke): Fix type (Bug#8696).
17586
175872011-06-08 Juanma Barranquero <lekktu@gmail.com>
17588
17589 * loadhist.el (unload-feature-special-hooks):
17590 Add `comint-output-filter-functions'.
17591
0de12c52
IK
175922011-06-08 Ivan Kanis <gnu@kanis.fr>
17593
17594 * calendar/appt.el (appt-check): Move some initializations into the let.
17595
f3d1777e
MR
175962011-06-08 Martin Rudalics <rudalics@gmx.at>
17597
17598 * window.el (window-height): Defalias to window-total-height.
17599 (window-width): Defalias to window-body-width.
17600
18af70d0
CY
176012011-06-07 Chong Yidong <cyd@stupidchicken.com>
17602
17603 * image-mode.el (image-toggle-animation): New command.
17604 (image-mode-map): Bind it to RET.
17605 (image-mode): Update message.
17606 (image-toggle-display-image): Avoid a spurious cache flush.
17607 (image-transform-rotation): Doc fix.
17608 (image-transform-properties): Return quickly in the normal case.
17609 (image-animate-loop): Rename from image-animate-max-time.
17610
2b75be67 17611 * image.el (image-animate-max-time): Move to image-mode.el.
18af70d0
CY
17612 (create-animated-image): Remove unnecessary function.
17613 (image-animate): Rename from image-animate-start. New arg.
2b75be67 17614 (image-animate-stop): Remove; just use image-animate-timer.
18af70d0
CY
17615 (image-animate-timer): Use car-safe.
17616 (image-animate-timeout): Rename argument.
17617
190b47e6
MR
176182011-06-07 Martin Rudalics <rudalics@gmx.at>
17619
17620 * window.el (get-lru-window, get-largest-window): Move here from
2b75be67
SM
17621 window.c. Rename first argument to ALL-FRAMES.
17622 Rephrase doc-strings.
17623 (get-buffer-window-list): Rewrite using window-list-1.
17624 Rephrase doc-string.
a1511caf
MR
17625 (window-safe-min-height, window-safe-min-width): New constants.
17626 (window-size-ignore, window-min-size, window-min-size-1)
17627 (window-sizable, window-sizable-p, window-size-fixed-1)
17628 (window-size-fixed-p, window-min-delta-1, window-min-delta)
17629 (window-max-delta-1, window-max-delta, window-resizable)
17630 (window-resizable-p, window-total-height, window-total-width)
17631 (window-body-width): New functions.
17632 (window-full-height-p, window-full-width-p): Rewrite using
17633 window-total-size.
17634 (window-body-height): Rewrite using window-body-size.
190b47e6 17635
85cc1f11
MR
176362011-06-06 Martin Rudalics <rudalics@gmx.at>
17637
17638 * window.el (window-right, window-left, window-child)
17639 (window-child-count, window-last-child, window-any-p)
17640 (normalize-live-buffer, normalize-live-frame)
17641 (normalize-any-window, normalize-live-window)
17642 (window-iso-combination-p, window-iso-combined-p)
17643 (window-iso-combinations)
17644 (walk-window-tree-1, walk-window-tree, walk-window-subtree)
17645 (windows-with-parameter, window-with-parameter)
17646 (window-atom-root, make-window-atom, window-atom-check-1)
2b75be67
SM
17647 (window-atom-check, window-side-check, window-check):
17648 New functions.
85cc1f11
MR
17649 (ignore-window-parameters, window-sides, window-sides-vertical)
17650 (window-sides-slots): New variables.
17651 (window-size-fixed): Move down in code. Minor doc-string fix.
17652
e7156492
AS
176532011-06-05 Andreas Schwab <schwab@linux-m68k.org>
17654
17655 * comint.el (comint-dynamic-complete-as-filename)
17656 (comint-dynamic-complete-filename): Correctly call
17657 completion-in-region.
17658
7e821d0d
DD
176592011-06-05 Deniz Dogan <deniz@dogan.se>
17660
17661 * net/rcirc.el (rcirc-prompt-for-encryption): Fix bug introduced
17662 in last change.
17663
ac09b8a1
DD
176642011-06-05 Deniz Dogan <deniz@dogan.se>
17665
17666 * net/rcirc.el (rcirc-prompt-for-encryption): New function.
17667 (rcirc): Use it to prompt for encryption.
17668
34699b85
RW
176692011-06-05 Roland Winkler <winkler@gnu.org>
17670
17671 * textmodes/bibtex.el (bibtex-search-buffer): New variable.
17672 (bibtex-search-entries): New command bound to C-c C-a.
17673 (bibtex-display-entries): New function.
17674
004dedd3
RW
176752011-06-05 Roland Winkler <winkler@gnu.org>
17676
17677 * textmodes/bibtex.el (bibtex-generate-url-list): Fix docstring.
17678 (bibtex-insert-kill): After yanking insert newline if necessary.
17679 (bibtex-initialize): Call bibtex-string-files-init only once.
17680 (bibtex-mode): Do not call easy-menu-add.
17681 (bibtex-validate-globally): Use save-excursion in bibtex buffers.
17682 (bibtex-yank): Set arg properly if nil.
17683
022fe7ce
RW
176842011-06-05 Roland Winkler <winkler@gnu.org>
17685
2b75be67
SM
17686 * textmodes/bibtex.el (bibtex-search-entry-globally):
17687 New variable.
022fe7ce
RW
17688 (bibtex-search-entry): Use it.
17689
b7c3692a
RW
176902011-06-05 Roland Winkler <winkler@gnu.org>
17691
17692 * textmodes/bibtex.el (bibtex-entry-format): New option
17693 sort-fields.
17694 (bibtex-format-entry, bibtex-reformat): Honor this option.
17695 (bibtex-parse-entry): Return fields in proper order.
17696
8eda563d
JB
176972011-06-05 Juanma Barranquero <lekktu@gmail.com>
17698
17699 * doc-view.el (doc-view-remove-if): Move computation of result out
17700 of `dolist' to silence misleading lexical-binding warning.
17701
7dbe3dbc
CY
177022011-06-04 Chong Yidong <cyd@stupidchicken.com>
17703
17704 * emacs-lisp/timer.el (timer-activate): Remove unused arg.
17705 (timer-activate, timer-activate-when-idle): Doc fix (Bug#8793).
17706
0c33dd17
MA
177072011-06-04 Michael Albinus <michael.albinus@gmx.de>
17708
17709 * net/tramp-sh.el (tramp-find-shell): Apply workaround also for
17710 "SunOS 5.10".
17711
f8f91c2b
MA
177122011-06-04 Michael Albinus <michael.albinus@gmx.de>
17713
17714 * net/tramp.el (tramp-set-completion-function, tramp-parse-rhosts)
17715 (tramp-parse-shosts, tramp-parse-sconfig, tramp-parse-shostkeys)
17716 (tramp-parse-hosts, tramp-parse-passwd, tramp-parse-netrc)
17717 (tramp-parse-putty):
17718 * net/tramp-sh.el (tramp-completion-function-alist-rsh)
17719 (tramp-completion-function-alist-ssh)
17720 (tramp-completion-function-alist-telnet)
17721 (tramp-completion-function-alist-su)
17722 (tramp-completion-function-alist-putty): Set `tramp-autoload'
17723 cookie.
17724
17725 * net/tramp-ftp.el:
17726 * net/tramp-sh.el:
17727 * net/tramp-smb.el: Set `tramp-autoload' cookie, and eval after
17728 load "tramp.el" `tramp-set-completion-function'.
17729
e17d9003
SM
177302011-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
17731
17732 * shell.el: Require and use pcomplete.
17733 (shell-dynamic-complete-functions): Add pcomplete-completions-at-point.
17734 (shell-completion-vars): Set pcomplete-default-completion-function.
17735
6c4cab03
DD
177362011-06-04 Deniz Dogan <deniz@dogan.se>
17737
17738 * iswitchb.el (iswitchb-window-buffer-p): Use `member' instead of
17739 `memq' (Bug#8799).
17740
ea9fafe0
SM
177412011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
17742
17743 * subr.el (make-progress-reporter): Add "..." by default (bug#8785).
17744
b3e945d3
JB
177452011-06-02 Juanma Barranquero <lekktu@gmail.com>
17746
17747 * bs.el (bs--mark-unmark, bs--nth-wrapper):
17748 * mpc.el (mpc-select-extend, mpc-songpointer-context):
17749 * vc/log-view.el (log-view-beginning-of-defun):
17750 * vc/smerge-mode.el (smerge-apply-resolution-patch)
17751 (smerge-refine-forward, smerge-refine-chopup-region):
17752 Silence warning for unused `dotimes' counter variables.
17753
7d520089
SM
177542011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
17755
17756 * net/tramp.el (tramp-with-progress-reporter): Rename from
17757 with-progress-reporter. Use `declare'.
17758 * net/tramp-smb.el:
17759 * net/tramp-sh.el:
17760 * net/tramp-gvfs.el: Update all uses.
17761
a1c2400f
JB
177622011-06-02 Jay Belanger <jay.p.belanger@gmail.com>
17763
17764 * calc/calc.el (calc-kill-stack-buffer): Make sure that the trail
17765 buffer isn't killed before making it current.
17766
2403c841
SM
177672011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
17768
17769 Silence various byte-compiler warnings.
17770 * emacs-lisp/byte-run.el (make-obsolete-variable): New argument
17771 `access-type' and new obsolescence format.
17772 * emacs-lisp/bytecomp.el (byte-compile-warn-obsolete): Adjust to
17773 new format.
17774 (byte-compile-check-variable): New `access-type' argument.
17775 Only warn if the access-type is obsolete.
17776 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
17777 (byte-compile-variable-set): Adjust callers.
17778 * help-fns.el (describe-variable): Adjust to new obsolescence format.
17779 * mail/sendmail.el (mail-mailer-swallows-blank-line): Only mark
17780 setting it as obsolete.
17781 * simple.el (minibuffer-completing-symbol):
17782 * font-lock.el (font-lock-beginning-of-syntax-function): Only mark read
17783 access as obsolete.
17784 * minibuffer.el (minibuffer-completing-file-name): Don't make it
17785 obsolete yet.
17786 * international/quail.el (quail-mouse-choose-completion): Remove unused
17787 code referring to obsolete var.
17788 (quail-choose-completion-string): Remove.
17789 * server.el (server-clients-with, server-kill-buffer-query-function)
17790 (server-kill-emacs-query-function): Silence "unused `proc'" warnings.
17791 * proced.el (proced-send-signal):
17792 * emacs-lisp/lisp.el (lisp-complete-symbol):
17793 Replace completion-annotate-function with completion-extra-properties.
17794
2462470b
SM
177952011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
17796
fb5b2591
SM
17797 * simple.el (goto-line): Use read-number.
17798 (overriding-map-is-bound): Remove.
17799 (saved-overriding-map): Change default.
17800 (save&set-overriding-map): Rename from ensure-overriding-map-is-bound;
17801 Take the map as argument.
17802 (universal-argument, negative-argument, digit-argument): Use it.
17803 (restore-overriding-map): Adjust.
17804 (do-auto-fill): Use fill-forward-paragraph.
17805 (keyboard-quit): Don't signal an error when debug-on-quit is non-nil.
17806
fd6fa53f
SM
17807 * minibuffer.el (minibuffer-inactive-mode-map): New var.
17808 (minibuffer-inactive-mode): New major mode.
17809 * mouse.el (mouse-drag-region): Remove the "mouse-1 pops up
17810 the *Messages* buffer" hack.
17811 (mouse-popup-menubar): Don't burp if the event is a normal key.
17812
2462470b
SM
17813 Miscellaneous tweaks.
17814 * emacs-lisp/cl-macs.el (dolist, dotimes): Use the same strategy for
17815 lexical scoping as in subr.el's dolist and dotimes.
17816 * emacs-lisp/bytecomp.el (byte-compile-unfold-bcf):
17817 Silence compiler warning.
17818 * thingatpt.el (forward-whitespace): Trivial coding style fix.
17819 * subr.el (with-output-to-temp-buffer): Provide an edebug spec.
17820 * international/ccl.el (ccl-compile): Trivial simplification.
17821 * help-fns.el (help-do-arg-highlight): Silence compiler warning.
17822 * emacs-lisp/testcover.el (testcover-end): Remove spurious
17823 `printflag' argument.
17824 * emacs-lisp/byte-run.el (make-obsolete, make-obsolete-variable):
17825 Purecopy the whole obsolescence data.
17826
108bf785
LL
178272011-06-01 Leo Liu <sdl.web@gmail.com>
17828
17829 * net/rcirc.el (rcirc-decode-coding-system): Revert last change;
17830 improve doc-string as suggested by Marco Pessotto
17831 <melmothx@gmail.com>.
17832 (rcirc-print): Fix last change.
17833
30a23501
SM
178342011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
17835
17836 * minibuffer.el (complete-with-action): Return nil for the metadata and
17837 boundaries of non-functional tables.
17838 (completion-table-dynamic): Return nil for the metadata.
17839 (completion-table-with-terminator): Add default case, using
17840 complete-with-action.
17841 (completion--metadata): New function.
17842 (completion-all-sorted-completions, minibuffer-completion-help): Use it
17843 to try and avoid pathological performance problems.
17844 (completion--embedded-envvar-table): Return `category' metadata.
17845
bcd54f83
LMI
178462011-05-31 Lars Magne Ingebrigtsen <larsi@gnus.org>
17847
17848 * subr.el (process-alive-p): New tiny convenience function.
17849
e227544d
SM
178502011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
17851
17852 * emacs-lisp/debug.el (debug): Save&restore not just the buffer's
17853 content but also its previous major mode.
17854
e8296fdc
HE
178552011-05-31 Helmut Eller <eller.helmut@gmail.com>
17856
4d61f28d 17857 * emacs-lisp/debug.el (debug): Restore the previous content of the
e8296fdc
HE
17858 *Backtrace* buffer when we exit with C-M-c.
17859
620c53a6
SM
178602011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
17861
17862 * minibuffer.el: Add metadata method to completion tables.
17863 (completion-category-overrides): New defcustom.
17864 (completion-metadata, completion--field-metadata)
17865 (completion-metadata-get, completion--styles)
17866 (completion--cycle-threshold): New functions.
17867 (completion-try-completion, completion-all-completions):
17868 Add `metadata' argument to choose completion-styles.
17869 (completion--do-completion): Use metadata to choose cycling.
17870 (completion-all-sorted-completions): Use metadata for sorting.
17871 Remove :completion-cycle-penalty which is not needed any more.
17872 (completion--try-word-completion): Add `metadata' argument.
17873 (minibuffer-completion-help): Check metadata for annotation function
17874 and sorting.
17875 (completion-file-name-table): Return `category' metadata.
17876 (minibuffer-completing-file-name): Make obsolete.
17877 * simple.el (minibuffer-completing-symbol): Make obsolete.
17878 * icomplete.el (icomplete-completions): Pass new `metadata' param to
17879 completion-try-completion.
17880
1257e755
SM
178812011-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
17882
17883 * mail/smtpmail.el (smtpmail-send-data): Add progress reporter.
17884
3767e706
LL
178852011-05-30 Leo Liu <sdl.web@gmail.com>
17886
17887 * net/rcirc.el (rcirc-debug-buffer): Use visible buffer name.
5ab33f2b
LL
17888 (rcirc-print): Decode all incoming messages (bug#8744).
17889 (rcirc-decode-coding-system): Allow value nil for automatic coding
17890 system detection.
3767e706 17891
d1a5d56a
GM
178922011-06-01 Glenn Morris <rgm@gnu.org>
17893
17894 * mail/emacsbug.el (report-emacs-bug-hook): Mailclient ignores From.
17895
e8cbec34
CY
178962011-05-29 Chong Yidong <cyd@stupidchicken.com>
17897
17898 * image.el (image-animate-max-time): Allow nil and t values.
17899 Default to nil.
17900 (create-animated-image): Doc fix.
17901 (image-animate-start): Remove second arg; just use
17902 image-animate-max-time.
17903 (image-animate-timeout): Doc fix. Args changed.
17904
17905 * image-mode.el (image-toggle-display-image): Ensure that the
17906 image spec passed to the animate timer is the same object as in
58179cce 17907 the buffer's display property (Bug#6981).
e8cbec34
CY
17908 (image-transform-properties): Doc fix.
17909
17910 * image.el (image-animate-max-time): Default to nil.
17911
159daf87
MR
179122011-05-29 Martin Rudalics <rudalics@gmx.at>
17913
17914 * menu-bar.el (kill-this-buffer-enabled-p): Avoid looping over
17915 entire buffer list (Bug#8184).
17916
d66c4c7c
CY
179172011-05-29 Chong Yidong <cyd@stupidchicken.com>
17918
17919 * image.el (imagemagick-types-inhibit)
17920 (imagemagick-register-types): Doc fix.
17921
80aec780
DD
179222011-05-29 Deniz Dogan <deniz@dogan.se>
17923
17924 * net/rcirc.el (rcirc): Use the user's stored encryption method by
17925 default.
17926
1dd3c2d9
CY
179272011-05-29 Chong Yidong <cyd@stupidchicken.com>
17928
17929 * select.el: Don't perform clipboard-manager saving in hooks;
17930 leave the hooks empty.
17931
60e56523
LL
179322011-05-28 Leo Liu <sdl.web@gmail.com>
17933
17934 * replace.el (occur-menu-map, occur-edit-mode-map): New vars.
17935 (occur-mode-map): Bind occur-edit-mode. Use occur-menu-map.
17936 (occur-edit-mode): New major mode (Bug#8463).
17937 (occur-after-change-function): New function.
17938 (occur-engine): Give Occur tags a read-only property.
17939
2b1e1a22
KR
179402011-05-28 Kevin Ryde <user42@zip.com.au>
17941
17942 * subr.el (def-edebug-spec): Doc fix (Bug#8430).
17943
5d344e88
CY
179442011-05-28 Chong Yidong <cyd@stupidchicken.com>
17945
8e6ca83d
CY
17946 * bindings.el (help-echo): Make the initial non-indicator dash
17947 empty on graphical terminals (Bug#7295).
17948
5d344e88
CY
17949 * files.el (auto-mode-alist): Move config rule after the
17950 in-stripping one (Bug#8547).
17951
bfbbace7
CY
17952 * newcomment.el (comment-end-skip): Doc fix (Bug#8659).
17953
fbeba6e2
CY
17954 * startup.el (normal-splash-screen): Remove gratuitous mode-line
17955 setting (Bug#8740).
17956
60ed8c72
AA
179572011-05-28 Alp Aker <aker@pitt.edu> (tiny change)
17958
4ac619f0
AA
17959 * buff-menu.el (Buffer-menu-revert-function, Buffer-menu-sort)
17960 (Buffer-menu-buffer+size): Use Buffer-menu-buffer-column
17961 (Bug#8539).
60ed8c72 17962
23db196e
CY
179632011-05-28 Chong Yidong <cyd@stupidchicken.com>
17964
17965 * emacs-lisp/re-builder.el (re-builder): Improve doc (Bug#8286).
17966
5012f24c
DK
179672011-05-28 Dima Kogan <dkogan@cds.caltech.edu> (tiny change)
17968
17969 * progmodes/hideshow.el (hs-looking-at-block-start-p): New fun.
17970 (hs-hide-block-at-point, hs-find-block-beginning)
17971 (hs-already-hidden-p, hs-hide-block, hs-show-block): Use it
17972 (Bug#8279).
17973
6a639b16
GM
179742011-05-28 Glenn Morris <rgm@gnu.org>
17975
17976 * startup.el (fancy-about-screen): Use standard mode line. (Bug#8740)
17977
d43eaf2c
CY
179782011-05-28 Chong Yidong <cyd@stupidchicken.com>
17979
5199bde1
CY
17980 * help-fns.el (describe-function-1): If the function is a derived
17981 major mode, print the parent mode.
17982
d43eaf2c
CY
17983 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode, java-mode)
17984 (idl-mode, pike-mode, awk-mode): Inherit from prog-mode.
17985
423428a8
SM
179862011-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
17987
0ff8e1ba 17988 * minibuffer.el (completion--capf-wrapper): Check applicability before
0b381c7e 17989 returning non-nil for non-exclusive completion data.
0ff8e1ba
SM
17990 * progmodes/etags.el (tags-completion-at-point-function):
17991 * info-look.el (info-lookup-completions-at-point): Mark as
17992 non-exclusive.
17993 (info-complete): Adjust accordingly.
17994
423428a8
SM
17995 * info-look.el: Convert to lexical-binding and completion-at-point.
17996 (info-lookup-completions-at-point): New function.
17997 (info-complete): Use it and completion-in-region.
17998
b74aa22b
DA
179992011-05-28 Drew Adams <drew.adams@oracle.com>
18000
18001 * isearch.el: Let M-e start with point at the first mismatched char.
18002 (isearch-fail-pos): New function.
18003 (isearch-edit-string): Use it.
18004
66e2e71d
DK
180052011-05-28 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
18006
18007 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
18008
b1890b0f 180092011-05-27 Toby Cubitt <toby-predictive@dr-qubit.org>
eb95d01d
TC
18010
18011 * emacs-lisp/avl-tree.el: New avl-tree-stack datatype. Add new
18012 traversal functions for avl-trees.
18013 (avl-tree--stack): New struct.
18014 (avl-tree-stack-p, avl-tree--stack-repopulate): New funs.
18015 (avl-tree-enter): Add optional `updatefun' arg.
93a1c12a
TC
18016 (avl-tree--do-enter): Add optional `updatefun' arg.
18017 Change return value.
eb95d01d 18018 (avl-tree-delete): Add optional `test' and `nilflag' args.
93a1c12a
TC
18019 (avl-tree--do-delete): Add `test' and `nilflag' args.
18020 Change return value.
eb95d01d
TC
18021 (avl-tree-member): Add optional `nilflag'
18022 (avl-tree-member-p): New function.
18023 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar): New functions.
18024 (avl-tree-stack, avl-tree-stack-pop, avl-tree-stack-first)
18025 (avl-tree-stack-empty-p): New functions.
18026
3769ddcf
TC
18027 * emacs-lisp/avl-tree.el (avl-tree--del-balance): Rename from
18028 avl-tree--del-balance1 and make it work both ways.
18029 (avl-tree--del-balance2): Remove.
18030 (avl-tree--enter-balance): Rename from avl-tree--enter-balance1 and
18031 make it work both ways.
18032 (avl-tree--enter-balance2): Remove.
18033 (avl-tree--switch-dir, avl-tree--dir-to-sign, avl-tree--sign-to-dir):
18034 New macros.
18035 (avl-tree--mapc, avl-tree-map): Add direction argument.
18036
eb95d01d 180372011-05-27 David Michael <fedora.dm0@gmail.com> (tiny change)
7a6b1aef
DM
18038
18039 * files.el (interpreter-mode-alist): Add rbash (bug#8745).
18040
a9f737ee
CY
180412011-05-27 Chong Yidong <cyd@stupidchicken.com>
18042
18043 * select.el: Support clipboard managers with built-in function
18044 x-clipboard-manager-save, via delete-frame-functions and
18045 kill-emacs-hook.
18046 (xselect-convert-to-targets): Add MULTIPLE target to list.
18047 (xselect-convert-to-save-targets): New function.
18048
c92a1e54
KH
180492011-05-27 Kenichi Handa <handa@m17n.org>
18050
18051 * mail/sendmail.el (mail-encode-header): Avoid double encoding by
18052 let-binding rfc2047-encode-encoded-words to nil.
18053
e145f188
GM
180542011-05-27 Glenn Morris <rgm@gnu.org>
18055
5ec8a862
GM
18056 * mail/emacsbug.el: Don't require url-util.
18057
4b29d9fb
GM
18058 * shell.el (shell-directory-tracker): Case matters. (Bug#8735)
18059
e145f188
GM
18060 * files.el (set-auto-mode):
18061 Also respect mode: entries at the end of the file. (Bug#8586)
18062
7d15102b
GM
180632011-05-26 Glenn Morris <rgm@gnu.org>
18064
98f593b8
GM
18065 * files.el (hack-local-variables-prop-line, hack-local-variables):
18066 Downcase mode names, as seems to be traditional.
27b48e63 18067 (hack-local-variables, hack-local-variables-apply): Doc fixes.
98f593b8 18068
7d15102b
GM
18069 * mail/emacsbug.el (report-emacs-bug): Mention checking From address.
18070 (report-emacs-bug-hook): Try to validate the From address. (Bug#8038)
18071
51d5b4ec
JD
180722011-05-25 Julien Danjou <julien@danjou.info>
18073
18074 * textmodes/rst.el (rst-define-level-faces): Do not define face
18075 symbol if it is already defined.
18076
91513f63
VB
180772011-05-24 Vincent Belaïche <vincentb1@users.sourceforge.net>
18078
18079 * play/5x5.el (5x5-new-game, 5x5-randomize):
18080 Reset 5x5-solver-output to nil when a new grid is cast.
18081 (5x5-log-init, 5x5-log): Use defsubst instead of defmacro to shunt
18082 these debugging traces, as defmacro breaks the compiled code.
18083
4d90d6d0
DK
180842011-05-24 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
18085
18086 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
18087
e1b90ef6
LL
180882011-05-24 Leo Liu <sdl.web@gmail.com>
18089
18090 * vc/vc-bzr.el (vc-bzr-sha1-program): Rename from sha1-program.
18091 (vc-bzr-sha1): Adapt.
18092
d8e4b68b 18093 * sha1.el: Remove. Function `sha1' is now builtin.
e1b90ef6
LL
18094
18095 * bindings.el: Provide sha1 feature.
18096
db0406bb 180972011-05-24 Kenichi Handa <handa@m17n.org>
b8d747b9
KH
18098
18099 * mail/sendmail.el: Require `rfc2047'.
18100 (mail-insert-from-field): Do not perform RFC2047 encoding.
18101 (mail-encode-header): New function.
18102 (sendmail-send-it): Set buffer-file-coding-system of the work
4d90d6d0
DK
18103 buffer to the return value of select-message-coding-system.
18104 Call mail-encode-header.
b8d747b9
KH
18105
18106 * mail/smtpmail.el (smtpmail-send-it): Call mail-encode-header.
18107
db0406bb 181082011-05-24 Sean Neakums <sneakums@zork.net> (tiny change)
7261f6ce 18109
4d90d6d0
DK
18110 * mail/supercite.el (sc-default-cite-frame):
18111 Handle sc-nested-citation-p when sc-cite-blank-lines-p is non-nil.
7261f6ce 18112
eb8a5e9b
GM
181132011-05-24 Glenn Morris <rgm@gnu.org>
18114
f8630703
GM
18115 * progmodes/python.el (brm-menu): Declare.
18116
8831bbed
GM
18117 * emulation/viper.el (viper-set-hooks): Declare.
18118
eb8a5e9b
GM
18119 * play/5x5.el (5x5-log-init, 5x5-log): Evaluate when compiling.
18120 (5x5-log-init, 5x5-log, 5x5-solver): Doc fixes.
18121 (math-map-vec, math-sub, math-mul, math-make-intv, math-reduce-vec)
18122 (math-format-number, math-pow, calcFunc-arrange, calcFunc-cvec)
18123 (calcFunc-diag, calcFunc-trn, calcFunc-inv, calcFunc-mrow)
18124 (calcFunc-mcol, calcFunc-vconcat, calcFunc-index): Declare.
18125
a2a25d24
SM
181262011-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
18127
18128 Add an :exit-function for completion-at-point.
18129
18130 * minibuffer.el (completion--done): New fun.
18131 (completion--do-completion): Use it. New arg `expect-exact'.
18132 (minibuffer-complete, minibuffer-complete-word): Don't output message,
18133 since completion--do-completion does it for us now.
18134 (minibuffer-force-complete): Use completion--done and
18135 completion--replace. Handle sole-completion case with more care.
18136 (minibuffer-complete-and-exit): Use new `expect-exact' arg.
18137 (completion-extra-properties): New var.
18138 (completion-annotate-function): Make obsolete.
18139 (minibuffer-completion-help): Adjust accordingly.
18140 Use completion-list-insert-choice-function.
18141 (completion-at-point, completion-help-at-point):
18142 Bind completion-extra-properties.
18143 (completion-pcm-word-delimiters): Add | (for uniquify, for example).
18144 * simple.el (completion-list-insert-choice-function): New var.
18145 (completion-setup-function): Preserve it.
18146 (choose-completion): Pay attention to it, shuffle the code a bit.
18147 (choose-completion-string): New arg `insert-function'.
18148
18149 * textmodes/bibtex.el: Convert to lexical binding.
18150 (bibtex-mode-map): Use completion-at-point.
18151 (bibtex-mode): Use define-derived-mode&completion-at-point-functions.
18152 (bibtex-completion-at-point-function): New fun, from bibtex-complete.
18153 (bibtex-complete): Define as obsolete alias.
18154 (bibtex-complete-internal): Remove.
18155 (bibtex-format-entry): Remove unused sub-group in regexp.
18156 * shell.el (shell--command-completion-data)
18157 (shell-environment-variable-completion):
18158 * pcomplete.el (pcomplete-completions-at-point):
18159 * comint.el (comint--complete-file-name-data): Use :exit-function
18160 instead of completion-table-with-terminator so it also works for
18161 choose-completion.
18162
e44e373d
SM
181632011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
18164
4f91a816
SM
18165 * <lots-of-files>.el: Don't quote lambda expressions with `quote'.
18166
782fc819
SM
18167 * vc/smerge-mode.el (smerge-refine-subst): Don't deactivate the mark
18168 (bug#8710).
18169
e44e373d
SM
18170 * emacs-lisp/lisp.el (up-list): Fix forward movement (bug#8708).
18171
381987c3
KM
181722011-05-23 Ken Manheimer <ken.manheimer@gmail.com>
18173
18174 * allout.el (allout-inhibit-auto-fill-on-headline): Create new
18175 customization variable and implement: If non-nil, auto-fill will
18176 be inhibited while on topic's header line.
18177
b776bc70
VB
181782011-05-23 Vincent Belaïche <vincentb1@users.sourceforge.net>
18179
18180 * play/5x5.el: I/ Add an arithmetic solver to suggest positions to
d8e4b68b 18181 click on. II/ Make 5x5 multisession. III/ Ensure that random grids
b776bc70
VB
18182 always have a solution in grid size = 5 cases.
18183 (5x5-mode-map): Add keybinding to function `5x5-solve-suggest'.
18184 (5x5-solver-output, 5x5-log-buffer): New vars.
18185 (5x5-grid, 5x5-x-pos, 5x5-y-pos, 5x5-moves, 5x5-cracking):
18186 Make these variables buffer local to achieve 5x5 multi-session-ness.
18187 (5x5): Set 5x5-grid-size only if SIZE is non-negative.
18188 (5x5-grid-to-vec, 5x5-vec-to-grid, 5x5-log-init, 5x5-log, 5x5-solver)
18189 (5x5-solve-suggest): New funs.
18190 (5x5-randomize): Use 5x5-make-move instead of 5x5-flip-cell to
18191 randomize a grid so that we ensure that there is always a solution.
18192 (5x5-make-random-grid): Allow other movement than flipping.
18193
7de88b6e
KR
181942011-05-23 Kevin Ryde <user42@zip.com.au>
18195
18196 * emacs-lisp/advice.el (ad-read-advised-function):
5a5fa834 18197 Use `function-called-at-point' as the default, if it has
7de88b6e
KR
18198 advice and passes PREDICATE.
18199
b1ef1257
SM
182002011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
18201
bbca48fe
SM
18202 * emacs-lisp/bytecomp.el (byte-compile-function-form): Only call
18203 byte-compile-lambda if it's actually a lambda.
18204
b1ef1257
SM
18205 * emacs-lisp/eieio.el (eieio-defgeneric-form-primary-only-one):
18206 Fix function quoting. Use backquote better.
18207
92a9cc65
YS
182082011-05-22 Yuanle Song <sylecn@gmail.com>
18209
18210 * nxml/rng-xsd.el (rng-xsd-check-pattern): Use case-sensitive
18211 matching (Bug#8516).
18212
f0fb8059
JA
182132011-01-22 Jari Aalto <jari.aalto@cante.net>
18214
18215 * vc/vc-dir.el (vc-default-dir-printer): Give edited tag a
18216 different face (Bug#8178).
18217
d5b44c93
CY
182182011-05-22 Chong Yidong <cyd@stupidchicken.com>
18219
18220 * vc/diff-mode.el (diff-changed): Don't use terminal specs for
18221 defface (Bug#8144).
18222
79106a44
SM
182232011-05-22 Stefan Monnier <monnier@iro.umontreal.ca>
18224
9c848d8a
SM
18225 * emacs-lisp/macroexp.el (macroexpand-all-1): Convert ' to #' for
18226 funcall as well (bug#8712). Warn when performing those conversions.
18227 * emacs-lisp/bytecomp.el (byte-compile-form): Fix error report.
18228
79106a44
SM
18229 * progmodes/grep.el (grep-mode): Fix it for good (bug#8684)!
18230
88dfa756
GM
182312011-05-22 Glenn Morris <rgm@gnu.org>
18232
18233 * files.el (hack-local-variables-prop-line): Small simplifications.
18234 (hack-local-variables, hack-local-variables-prop-line):
18235 If MODE-ONLY, return the mode, rather than just `t'.
18236
b7cf2c79
SM
182372011-05-21 Stefan Monnier <monnier@iro.umontreal.ca>
18238
18239 * progmodes/grep.el (grep-mode): Fix last change (bug#8684).
18240
3f1a8558
GM
182412011-05-21 Glenn Morris <rgm@gnu.org>
18242
7e4ccca3
GM
18243 * files.el (hack-local-variables-prop-line, hack-local-variables):
18244 If only interested in the mode, don't bother doing the other stuff.
18245
637d46ca
GM
18246 * image-mode.el (image-after-revert-hook):
18247 Redraw all frames on which the image is visible. (Bug#8567)
18248
973d955b
GM
18249 * dired-aux.el (dired-touch-initial): Just use current-time. (Bug#6887)
18250
3f1a8558
GM
18251 * wid-edit.el (widget-checklist-match-inline):
18252 Fix 2011-04-19 change. (Bug#8649)
18253
96479927
SM
182542011-05-20 Stefan Monnier <monnier@iro.umontreal.ca>
18255
1dcf791f
SM
18256 * emacs-lisp/checkdoc.el (checkdoc-sentencespace-region-engine):
18257 Also allow singlespace after single-letter capitals followed by a dot.
18258
96479927
SM
18259 * nxml/nxml-mode.el (nxml-electric-slash): Reindent when completion is
18260 enabled. Suggested by James Ahlborn <jahlborn@gmail.com> (bug#8704).
18261
35fd0881
N
182622011-05-20 Nix <nix@esperi.org.uk>
18263
18264 * files.el (basic-save-buffer-2):
18265 Fix handling of break-hardlink-on-save with non-existent files.
18266
82745640
DD
182672011-05-19 Deniz Dogan <deniz@dogan.se>
18268
18269 * net/rcirc.el (rcirc-mode): Initialize rcirc-urls to nil.
9ff90d99 18270 (rcirc-markup-urls): Check if rcirc-url-regexp is nil.
82745640 18271
4a720484
GM
182722011-05-19 Glenn Morris <rgm@gnu.org>
18273
d1f21341
GM
18274 * progmodes/f90.el (f90-type-def-re):
18275 Handle "type, bind(c)". (Bug#8691)
18276
4a720484
GM
18277 * emacs-lisp/autoload.el (batch-update-autoloads):
18278 Set autoload-excludes by parsing loadup.el rather than Makefiles.
18279
2fb0a219
MA
182802011-05-18 Michael Albinus <michael.albinus@gmx.de>
18281
18282 * net/tramp.el (tramp-process-actions): Set "first-password-request"
18283 property for the correct connection in case of multihops.
18284
e565dd37
GM
182852011-05-18 Glenn Morris <rgm@gnu.org>
18286
c2571358 18287 * emacs-lisp/authors.el (authors-fixed-entries): Remove fakemail.c.
c136e5cd
GM
18288 * mail/sendmail.el (sendmail-program): Fall back to just "sendmail".
18289
e565dd37
GM
18290 Rationalize calendar handling of day and month abbrev-arrays.
18291 * calendar/calendar.el (calendar-customized-p): New function.
18292 (calendar-abbrev-construct, calendar-make-alist): Change what it does.
18293 (calendar-day-name-array, calendar-month-name-array): Doc fix.
18294 Add :set function.
18295 (calendar-abbrev-length, calendar-day-abbrev-array)
18296 (calendar-month-abbrev-array): Make defcustoms, with appropriate :set.
18297 (calendar-day-abbrev-array, calendar-month-abbrev-array):
18298 Elements may no longer be nil.
18299 (calendar-day-name, calendar-month-name):
18300 Update for changed nature of abbrev arrays.
18301 * calendar/diary-lib.el (diary-name-pattern):
18302 Update for changed nature of abbrev arrays.
18303 (diary-mark-entries-1): Update calendar-make-alist calls.
18304 (diary-font-lock-date-forms): Doc fix for changed abbrev arrays.
18305 * calendar/cal-html.el (cal-html-day-abbrev-array):
18306 Simply inherit from calendar-day-abbrev-array.
18307
1d99a745
SM
183082011-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
18309
18310 * progmodes/grep.el (grep-mode): Disable default
18311 compilation-directory-matcher setting (bug#8684).
18312
7c1d9aa0
MA
183132011-05-17 Michael Albinus <michael.albinus@gmx.de>
18314
18315 * net/tramp.el (tramp-handle-insert-file-contents): Use "dd"
18316 instead of "head" and "tail". There were problems with SunOS 5.9,
18317 and it performs better.
18318
3952e9d8
GM
183192011-05-17 Glenn Morris <rgm@gnu.org>
18320
2dd12e7f
GM
18321 * mail/mail-utils.el (mail-dont-reply-to): Silence compiler.
18322
e4157b9c
GM
18323 * progmodes/idlw-shell.el (idlwave-shell-complete-filename):
18324 Replace obsolete function.
18325
8e249bbd
GM
18326 * shell.el (pcomplete-parse-arguments-function): Declare.
18327
3952e9d8
GM
18328 * calendar/appt.el (appt-message-warning-time, appt-display-mode-line)
18329 (appt-display-diary, appt-display-interval, appt-prev-comp-time)
18330 (appt-check): Doc fixes.
18331 (appt-disp-window-function, appt-delete-window-function):
18332 Remove needless special case in custom :type.
18333 (appt-display-count): Default to 0, not nil.
18334 (appt-check): Reset appt-display-count to 0, not nil.
18335
c71a0d48 183362011-05-17 Juanma Barranquero <lekktu@gmail.com>
165fd2df 18337
c71a0d48
GM
18338 * progmodes/python.el (python-font-lock-keywords):
18339 Add the Python 3.X keyword "nonlocal" (bug#8639).
165fd2df 18340
31d55be9
SM
183412011-05-16 Stefan Monnier <monnier@iro.umontreal.ca>
18342
18343 * emacs-lisp/eieio.el (defmethod): Fix quoting of code (bug#8677).
18344
3bfacb2f
KR
183452011-05-16 Kevin Ryde <user42@zip.com.au>
18346
18347 * info-look.el (makefile-automake-mode): New setups, looking in
18348 automake manual, then makefile-mode.
18349 (makefile-mode): Remove automake manual, have it just in
18350 makefile-automake-mode since there's various things different or
18351 not relevant to plain make.
18352 (makefile-mode): Remove "other-modes" non-existent automake-mode,
18353 believe a hypothetical automake-mode would go to makefile-mode,
18354 not the other way around.
18355
c8e83751
CY
183562011-05-15 Chong Yidong <cyd@stupidchicken.com>
18357
5e9e35cd
CY
18358 * vc/diff-mode.el (diff-fixup-modifs): Locate correct position for
18359 hunk-end tags (Bug#8672).
18360
c8e83751
CY
18361 * vc/vc-annotate.el (vc-annotate-mode-map): Bind = to
18362 vc-annotate-show-diff-revision-at-line (Bug#8671).
18363
50b23e5a
GM
183642011-05-14 Glenn Morris <rgm@gnu.org>
18365
7210a739
GM
18366 * vc/add-log.el (add-change-log-entry): Don't start adding a new entry
18367 in the middle of an existing one with multiple authors. (Bug#8645)
375cb676
GM
18368 (change-log-font-lock-keywords): Also handle multiple author lines
18369 with leading tabs. (Bug#8644)
7210a739 18370
4691905a
GM
18371 * calendar/appt.el (appt-check): Rename some local variables.
18372 Some simplification/reordering.
18373
50b23e5a
GM
18374 * mail/feedmail.el (feedmail-confirm-outgoing-timeout)
18375 (feedmail-sendmail-f-doesnt-sell-me-out)
18376 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
18377 (feedmail-debug-sit-for, feedmail-queue-express-hook)
18378 (feedmail-queue-runner-message-sender): Set :version.
1aa64307
GM
18379 (bbdb-search, bbdb-records, smtp-via-smtp, smtp-server)
18380 (bbdb-dwim-net-address, vm-mail): Declare.
50b23e5a
GM
18381 (feedmail-binmail-gnulinuxish-template):
18382 Rename from feedmail-binmail-linuxish-template.
18383 (feedmail-buffer-to-smtp, feedmail-vm-mail-mode):
18384 Use insert-buffer-substring.
18385
215cda7c
BC
183862011-05-14 Bill Carpenter <bill@carpenter.org>
18387
18388 * mail/feedmail.el (feedmail-patch-level): Increase.
18389 (feedmail-debug): New custom group.
18390 (feedmail-confirm-outgoing-timeout)
18391 (feedmail-sendmail-f-doesnt-sell-me-out)
18392 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
18393 (feedmail-debug-sit-for, feedmail-queue-express-hook): New options.
18394 (feedmail-sender-line, feedmail-from-line)
18395 (feedmail-fiddle-headers-upwardly, feedmail-enable-spray)
c2571358 18396 (feedmail-spray-this-address)
215cda7c
BC
18397 (feedmail-spray-address-fiddle-plex-list)
18398 (feedmail-queue-use-send-time-for-date)
18399 (feedmail-queue-use-send-time-for-message-id)
18400 (feedmail-last-chance-hook, feedmail-queue-runner-mode-setter)
18401 (feedmail-buffer-eating-function):
18402 Doc fixes.
18403 (feedmail-spray-via-bbdb, feedmail-buffer-to-smtp)
18404 (feedmail-vm-mail-mode, feedmail-message-action-scroll-up)
18405 (feedmail-message-action-scroll-down): New functions.
18406 (feedmail-queue-directory, feedmail-queue-draft-directory):
18407 Use expand-file-name.
18408 (feedmail-prompt-before-queue-standard-alist): Add scroll entries.
18409 Remove C-v help entry.
18410 (feedmail-queue-buffer-file-name): New variable.
18411 (feedmail-mail-send-hook-splitter, feedmail-buffer-to-binmail)
18412 (feedmail-buffer-to-smtpmail, feedmail-queue-express-to-draft)
18413 (feedmail-message-action-send-strong, feedmail-message-action-edit)
18414 (feedmail-message-action-draft, feedmail-message-action-draft-strong)
18415 (feedmail-message-action-queue, feedmail-message-action-queue-strong)
18416 (feedmail-message-action-toggle-spray)
18417 (feedmail-run-the-queue-no-prompts)
18418 (feedmail-run-the-queue-global-prompt, feedmail-queue-reminder)
18419 (feedmail-look-at-queue-directory, feedmail-queue-subject-slug-maker)
18420 (feedmail-create-queue-filename, feedmail-rfc822-time-zone):
18421 (feedmail-fiddle-header, feedmail-give-it-to-buffer-eater)
18422 (feedmail-envelope-deducer, feedmail-fiddle-from)
18423 (feedmail-fiddle-sender, feedmail-default-date-generator)
18424 (feedmail-fiddle-date, feedmail-fiddle-message-id)
18425 (feedmail-fiddle-spray-address)
18426 (feedmail-fiddle-list-of-spray-fiddle-plexes)
18427 (feedmail-fiddle-list-of-fiddle-plexes)
18428 (feedmail-fill-to-cc-function, feedmail-fill-this-one)
18429 (feedmail-one-last-look, feedmail-fqm-p): Add debug calls.
18430 (feedmail-queue-runner-message-sender, feedmail-binmail-template):
18431 Change default. Doc fix.
18432 (feedmail-queue-runner-cleaner-upper): Use feedmail-say-chatter.
18433 (feedmail-binmail-linuxish-template): New constant.
18434 (feedmail-buffer-to-sendmail): Doc fix. Add debug call.
18435 Respect feedmail-sendmail-f-doesnt-sell-me-out.
18436 (feedmail-send-it): Add debug call.
18437 Use feedmail-queue-buffer-file-name, and
18438 feedmail-send-it-immediately-wrapper.
18439 (feedmail-message-action-send): Add debug call.
18440 Use feedmail-send-it-immediately-wrapper.
18441 (feedmail-queue-express-to-queue): Add debug call.
18442 Run feedmail-queue-express-hook.
18443 (feedmail-message-action-help): Add debug call. Use feedmail-p-h-b-n.
18444 (feedmail-message-action-help-blat):
18445 Rename from feedmail-queue-send-edit-prompt-help-first.
18446 (feedmail-run-the-queue): Add debug call. Set buffer-file-type.
18447 Check line-endings. Handle errors better.
18448 (feedmail-queue-reminder-brief, feedmail-queue-reminder-medium):
18449 Doc fix. Add debug call.
18450 (feedmail-queue-send-edit-prompt): Doc fix. Add debug call.
18451 Use feedmail-queue-send-edit-prompt-inner.
18452 (feedmail-queue-runner-prompt, feedmail-scroll-buffer): New functions.
18453 (feedmail-queue-send-edit-prompt-inner): New function, extracted
18454 from feedmail-queue-send-edit-prompt.
18455 (feedmail-queue-send-edit-prompt-help)
18456 (feedmail-queue-send-edit-prompt-help-later): Remove functions.
18457 (feedmail-tidy-up-slug): Add debug call.
18458 Respect feedmail-queue-slug-suspect-regexp.
18459 (feedmail-queue-subject-slug-maker): Use buffer-substring-no-properties.
18460 (feedmail-dump-message-to-queue): Add debug call.
18461 Expand queue-directory.
18462 (feedmail-dump-message-to-queue): Change message slightly.
18463 Use feedmail-say-chatter.
18464 (feedmail-rfc822-date): Add debug call. Bind system-time-locale.
18465 (feedmail-send-it-immediately-wrapper): New function.
18466 (feedmail-send-it-immediately): Add debug calls. Use let not let*.
18467 Insert empty string rather than newline. Handle full-frame case.
18468 Use catch/throw. Use feedmail-say-chatter.
18469 (feedmail-fiddle-from): Try mail-host-address.
18470 (feedmail-default-message-id-generator): Doc fix.
18471 Bind system-time-locale. Handle missing end.
18472 (feedmail-fiddle-x-mailer): Add debug call.
18473 Handle feedmail-x-mailer-line being nil.
18474 (feedmail-accume-n-nuke-header, feedmail-deduce-address-list):
18475 Add debug call. Use buffer-substring-no-properties.
18476 (feedmail-say-debug, feedmail-say-chatter): New functions.
18477 (feedmail-find-eoh): Give an explicit error.
18478
42c7e61e
UJ
184792011-05-13 Ulf Jasper <ulf.jasper@web.de>
18480
c2571358 18481 * net/newst-treeview.el (newsticker-treeview-face): Change default
42c7e61e 18482 family from helvetica to sans.
c2571358 18483 (newsticker-treeview-tool-bar-map): Move tool-bar icons to
42c7e61e
UJ
18484 etc/images/newsticker.
18485
c2571358 18486 * net/newst-reader.el (newsticker-feed-face): Change default
42c7e61e
UJ
18487 family from helvetica to sans.
18488
18489 * net/newst-plainview.el (newsticker-new-item-face)
18490 (newsticker-old-item-face, newsticker-immortal-item-face)
18491 (newsticker-obsolete-item-face, newsticker-date-face)
c2571358 18492 (newsticker-statistics-face): Change default family from
42c7e61e 18493 helvetica to sans.
c2571358 18494 (newsticker--plainview-tool-bar-map): Move tool-bar icons to
42c7e61e
UJ
18495 etc/images/newsticker.
18496
5d3385a0
JB
18497 * net/newst-backend.el (newsticker--do-run-auto-mark-filter)
18498 (newsticker--process-auto-mark-filter-match): Tell user about
42c7e61e
UJ
18499 auto-marking.
18500
8497a297
DV
185012011-05-13 Didier Verna <didier@xemacs.org>
18502
18503 Common Lisp indentation improvements on defmethod and lambda-lists.
4d61f28d
JB
18504 * emacs-lisp/cl-indent.el: Advertise the changes and remove obsolete
18505 TODO entries.
8497a297
DV
18506 (lisp-lambda-list-keyword-parameter-indentation)
18507 (lisp-lambda-list-keyword-parameter-alignment)
18508 (lisp-lambda-list-keyword-alignment): New customizable user options.
18509 (lisp-indent-defun-method): Improve docstring.
18510 (extended-loop-p): Fix comment.
18511 (lisp-indent-lambda-list-keywords-regexp): New variable.
18512 (lisp-indent-lambda-list): New function.
18513 (lisp-indent-259): Use it.
18514 (lisp-indent-defmethod): Support for more than one
18515 method qualifier and properly indent methods lambda-lists.
18516 (defgeneric): Provide a missing common-lisp-indent-function property.
18517
f278f87f
SM
185182011-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
18519
18520 * thingatpt.el (bounds-of-thing-at-point): Return nil rather than
18521 bounds for the empty string (bug#8667).
18522
5233edd7
GM
185232011-05-13 Glenn Morris <rgm@gnu.org>
18524
5237a44f
GM
18525 * mail/feedmail.el (feedmail-buffer-to-sendmail): Require sendmail.
18526
8340026c 18527 * mail/sendmail.el (sendmail-program): Try executable-find first.
f278f87f 18528 (sendmail-send-it): `sendmail-program' cannot be unbound.
8340026c 18529
5233edd7 18530 * calendar/appt.el (appt-make-list): Simplify.
4accbca6 18531 (appt-time-msg-list): Doc fix.
a5464014 18532 (appt-check): Change mode-line message at the time of the appointment.
5233edd7 18533
92d10796
AS
185342011-05-12 Andreas Schwab <schwab@linux-m68k.org>
18535
18536 * progmodes/ld-script.el (ld-script-keywords)
18537 (ld-script-builtins): Update keywords list.
18538
914a0ae1
SM
185392011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
18540
c89be45f
SM
18541 * progmodes/grep.el (grep-filter): Don't trip on partial lines.
18542
914a0ae1
SM
18543 * shell.el (shell-completion-vars): New function.
18544 (shell-mode):
18545 * simple.el (read-shell-command): Use it.
18546 (blink-matching-open): No need for " [...]" in minibuffer-message.
18547
98dc3df3
GM
185482011-05-12 Glenn Morris <rgm@gnu.org>
18549
18550 * calendar/appt.el (appt-now-displayed): Remove pointless variable.
18551 (appt-check): Simplify.
18552
d2fc7e3d 185532011-05-12 Eli Zaretskii <eliz@gnu.org>
0e39ec21 18554
4d61f28d 18555 * vc/smerge-mode.el (smerge-resolve): Use null-device rather than a
0e39ec21
EZ
18556 literal "/dev/null".
18557
d2fc7e3d 185582011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
3f254caa
SM
18559
18560 * emacs-lisp/lisp.el (lisp-complete-symbol, lisp-completion-at-point):
18561 Fix typo.
18562
d2fc7e3d 185632011-05-12 Ralph Schleicher <rs@ralph-schleicher.de>
6eea50c7 18564
3f254caa
SM
18565 * progmodes/which-func.el (which-function):
18566 Use add-log-current-defun instead of add-log-current-defun-function,
6eea50c7
RS
18567 which might not be defined (Bug#8260).
18568
d45885f7
GM
185692011-05-12 Glenn Morris <rgm@gnu.org>
18570
18571 * emacs-lisp/bytecomp.el (byte-compile-file-form-defmumble):
18572 Let byte-compile-initial-macro-environment always take precedence.
18573
488086f4
SM
185742011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
18575
18576 * net/rcirc.el: Add support for SSL/TLS connections.
18577 (rcirc-server-alist): New field `encryption'.
18578 (rcirc): Check `encryption' settings.
18579 (rcirc-connect): New arg `encryption'. Use open-network-stream.
18580 Merge make-local-variable into `set'.
18581 (rcirc--connection-open-p): New function.
18582 (rcirc-send-string, rcirc-clean-up-buffer): Use it to handle case where
18583 the process is not a network process (e.g. running gnutls-cli).
18584 (set-rcirc-decode-coding-system, set-rcirc-encode-coding-system):
18585 Make rcirc-(en|de)code-coding-system local here.
18586 (rcirc-mode): Merge make-local-variable into `set'.
18587 (rcirc-parent-buffer): Make permanent buffer-local.
18588 (rcirc-multiline-minor-mode): Don't do it here.
18589 (rcirc-switch-to-server-buffer): Don't switch to a random buffer if
18590 there's no server buffer.
18591
7d3b9d44
GM
185922011-05-11 Glenn Morris <rgm@gnu.org>
18593
f64049c6
GM
18594 * newcomment.el (comment-kill): Prefix "unused" local.
18595
93c9df73
GM
18596 * term/w32console.el (get-screen-color): Declare.
18597
7d3b9d44
GM
18598 * emacs-lisp/bytecomp.el (byte-compile-arglist-warn):
18599 Handle symbol elements of byte-compile-initial-macro-environment.
18600
9e2dd53f
LL
186012011-05-10 Leo Liu <sdl.web@gmail.com>
18602
488086f4
SM
18603 * bookmark.el (bookmark-bmenu-mode-map):
18604 Bind bookmark-bmenu-search to `/'.
8b340240 18605
9e2dd53f 18606 * mail/footnote.el: Convert to utf-8 encoding.
b4044869
LL
18607 (footnote-unicode-string, footnote-unicode-regexp): New variable.
18608 (Footnote-unicode): New function.
18609 (footnote-style-alist): Add unicode style to the list.
18610 (footnote-style): Doc fix.
9e2dd53f 18611
79b70037
GM
186122011-05-10 Jim Meyering <meyering@redhat.com>
18613
18614 Fix doubled-word typos.
18615 * international/quail.el (quail-insert-kbd-layout): and and -> and
18616 * kermit.el: and and -> and
18617 * net/ldap.el (ldap-search-internal): to to -> to
18618 * progmodes/vhdl-mode.el (vhdl-offsets-alist): Likewise.
18619 * progmodes/js.el (js-mode): and and -> and
18620 * textmodes/artist.el (artist-move-to-xy): at at -> at
18621 (artist-draw-region-trim-line-endings): if if -> if
18622 And Safetyc -> Safety.
18623 * textmodes/reftex-dcr.el (reftex-view-crossref): at at -> at a
18624
b8f82dc1 186252011-05-10 Glenn Morris <rgm@gnu.org>
f1a71c6e 18626 Stefan Monnier <monnier@iro.umontreal.ca>
b8f82dc1
GM
18627
18628 * files.el (hack-one-local-variable-eval-safep):
18629 Consider "eval: (foo-mode)" to be safe. (Bug#8613)
18630
4f99f44b
GM
186312011-05-10 Glenn Morris <rgm@gnu.org>
18632
18633 * calendar/diary-lib.el (diary-list-entries-hook)
18634 (diary-mark-entries-hook, diary-nongregorian-listing-hook)
18635 (diary-nongregorian-marking-hook, diary-list-entries)
18636 (diary-include-other-diary-files, diary-mark-entries)
18637 (diary-mark-included-diary-files): Doc fixes.
18638
84f29e6b
JB
186392011-05-09 Juanma Barranquero <lekktu@gmail.com>
18640
18641 * misc.el: Require tabulated-list.el during compilation.
18642
9bedd73a
CY
186432011-05-09 Chong Yidong <cyd@stupidchicken.com>
18644
488086f4
SM
18645 * progmodes/compile.el (compilation-start):
18646 Run compilation-filter-hook for the async case too.
9bedd73a
CY
18647 (compilation-filter-hook): Doc fix.
18648
797c735c
DD
186492011-05-09 Deniz Dogan <deniz@dogan.se>
18650
18651 * wdired.el: Remove outdated installation comment. Fix usage
18652 comment.
18653
5f4b1dfe
JB
186542011-05-09 Juanma Barranquero <lekktu@gmail.com>
18655
18656 * misc.el: Implement new command `list-dynamic-libraries'.
18657 (list-dynamic-libraries--loaded-only-p): New variable.
18658 (list-dynamic-libraries--refresh): New function.
18659 (list-dynamic-libraries): New command.
18660
4c44026c
CY
186612011-05-09 Chong Yidong <cyd@stupidchicken.com>
18662
488086f4
SM
18663 * progmodes/compile.el (compilation-error-regexp-alist-alist):
18664 Fix the ant regexp to handle end-line and end-column info from jikes.
4c44026c
CY
18665 Re-introduce maven regexp. Give the ruby-Test::Unit regexp a
18666 higher priority to avoid clobbering by gnu.
18667
027f966d
CY
186682011-05-08 Chong Yidong <cyd@stupidchicken.com>
18669
18670 * cus-face.el (custom-declare-face): Call custom-theme-recalc-face
18671 if the face has existing theme settings (Bug#8454).
18672
085f5d7d
CY
186732011-05-08 Ralph Schleicher <rs@ralph-schleicher.de>
18674
488086f4
SM
18675 * progmodes/perl-mode.el (perl-imenu-generic-expression):
18676 Only match variables declared via `my' or `our' (Bug#8261).
085f5d7d 18677
2a86a00c
RS
18678 * net/browse-url.el (browse-url-of-dired-file): Allow browsing of
18679 special file names `.' and `..' (Bug#8259).
18680
d9c54a06
CY
186812011-05-08 Chong Yidong <cyd@stupidchicken.com>
18682
488086f4
SM
18683 * progmodes/grep.el (grep-mode-font-lock-keywords):
18684 Remove buffer-changing entries.
d9c54a06
CY
18685 (grep-filter): New function.
18686 (grep-mode): Add it to compilation-filter-hook.
18687
18688 * progmodes/compile.el (compilation-filter-hook)
18689 (compilation-filter-start): New defvars.
18690 (compilation-filter): Call compilation-filter-hook prior to
18691 updating the process mark.
18692
c4662635
SM
186932011-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
18694
18695 * emacs-lisp/eieio.el (defmethod): Fix typo in last change.
18696
b0512a1d
EZ
186972011-05-07 Eli Zaretskii <eliz@gnu.org>
18698
605c9376
EZ
18699 * mail/sendmail.el (send-mail-function): On MS-Windows, default to
18700 mailclient-send-it even if window-system is nil. (Bug#8595)
18701
c4662635
SM
18702 * term/w32console.el (terminal-init-w32console):
18703 Call get-screen-color and use its output to set the frame
b0512a1d
EZ
18704 background-mode. (Bug#8597)
18705
d1dc2cc2
SM
187062011-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
18707
18708 Make bytecomp.el understand that defmethod defines funs (bug#8631).
18709 * emacs-lisp/eieio.el (eieio--defalias, eieio--defgeneric-init-form):
18710 New functions.
18711 (defgeneric, eieio--defmethod): Use them.
18712 (eieio-defgeneric): Remove.
18713 (defmethod): Call defgeneric in a way visible to the byte-compiler.
18714
915d1300
GM
187152011-05-07 Glenn Morris <rgm@gnu.org>
18716
a3961c3e
GM
18717 * calendar/timeclock.el (timeclock-log-data): Remove unused local.
18718 Use let rather than let*.
18719 (timeclock-find-discrep): Remove unused local.
18720
314347b9
GM
18721 * calendar/diary-lib.el (diary-comment-start): Doc fix.
18722
915d1300
GM
18723 * calendar/appt.el (appt-time-msg-list): Doc fix.
18724
275b59b0
NF
187252011-05-06 Noah Friedman <friedman@splode.com>
18726
18727 * apropos.el (apropos-print-doc): Only use
18728 emacs-lisp-docstring-fill-column when it is bound to an integer,
18729 per that variable's documentation.
18730
6c19f744
SM
187312011-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
18732
18733 * lpr.el (print-region-1): Echo lpr-program's output, so error messages
d1dc2cc2 18734 and warnings are not silently discarded (e.g. use -d instead of -P).
6c19f744 18735
60f884b2
GM
187362011-05-06 Glenn Morris <rgm@gnu.org>
18737
5006e634
GM
18738 * calendar/appt.el (appt-message-warning-time): Doc fix.
18739 (appt-warning-time-regexp): New option.
18740 (appt-make-list): Respect appt-message-warning-time.
18741
548d0a63
GM
18742 * calendar/diary-lib.el (diary-comment-start, diary-comment-end):
18743 New options.
18744 (diary-add-to-list): Strip comments from the displayed string.
18745 (diary-mode): Set comment-start and comment-end.
18746
60f884b2
GM
18747 * vc/diff-mode.el (smerge-refine-subst): Declare.
18748 (diff-refine-hunk): Don't require smerge-mode when compiling.
18749
989681bb
JB
187502011-05-06 Juanma Barranquero <lekktu@gmail.com>
18751
18752 * simple.el (list-processes): Return nil as the docstring says.
18753
a6bc05e1
MA
187542011-05-05 Michael Albinus <michael.albinus@gmx.de>
18755
18756 * net/ange-ftp.el (ange-ftp-binary-file-name-regexp): Set default
18757 to "".
18758 (ange-ftp-write-region, ange-ftp-insert-file-contents)
18759 (ange-ftp-copy-file-internal): Use only `ange-ftp-binary-file' for
18760 determining of binary transfer. (Bug#7383)
18761
23c22e9a
MA
187622011-05-05 Michael Albinus <michael.albinus@gmx.de>
18763
c4662635
SM
18764 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
18765 Fix port computation bug. (Bug#8618)
23c22e9a 18766
0bff894f
GM
187672011-05-05 Glenn Morris <rgm@gnu.org>
18768
b8296902
GM
18769 * allout-widgets.el (allout-widgets-mode-inhibit): Declare before use.
18770
1f522ce8
GM
18771 * simple.el (shell-dynamic-complete-functions)
18772 (comint-dynamic-complete-functions): Declare.
18773
cf5bee67
GM
18774 * net/network-stream.el (gnutls-negotiate):
18775 * simple.el (tabulated-list-print): Fix declarations.
18776
18777 * progmodes/gud.el (syntax-symbol, syntax-point):
18778 Remove unnecessary and incorrect declarations.
18779
0bff894f 18780 * emacs-lisp/check-declare.el (check-declare-scan):
1f9f395d 18781 Handle byte-compile-initial-macro-environment in bytecomp.el.
0bff894f 18782
9869b3ae
SM
187832011-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
18784
18785 Fix earlier half-done eieio-defmethod change (bug#8338).
18786 * emacs-lisp/eieio.el (eieio--defmethod): Rename from eieio-defmethod.
18787 Streamline and change calling convention.
18788 (defmethod): Adjust accordingly and simplify.
18789 (eieio-defclass): Fix broken calls to eieio-defmethod and redirect to
18790 new eieio--defmethod.
18791 (slot-boundp): Minor CSE simplification.
18792
9c1d5ac5
MZ
187932011-05-05 Milan Zamazal <pdm@zamazal.org>
18794
18795 * progmodes/glasses.el (glasses-separate-capital-groups): New option.
18796 (glasses-make-readable): Use glasses-separate-capital-groups.
18797
455c834e
JB
187982011-05-05 Juanma Barranquero <lekktu@gmail.com>
18799
18800 * emacs-lisp/warnings.el (warning-level-aliases): Reflow docstring.
18801 (warning-series): Doc fix.
18802 (display-warning): Don't try to create the buffer if we just found it.
18803
9ed7c8cb
CY
188042011-05-04 Chong Yidong <cyd@stupidchicken.com>
18805
18806 * emacs-lisp/autoload.el (generated-autoload-file): Set to nil.
18807 (autoload-find-generated-file): New function.
18808 (generate-file-autoloads): Bind generated-autoload-file to
18809 buffer-file-name.
9869b3ae
SM
18810 (update-file-autoloads, update-directory-autoloads):
18811 Use autoload-find-generated-file. If called interactively, prompt for
9ed7c8cb
CY
18812 output file (Bug#7989).
18813 (batch-update-autoloads): Doc fix.
18814
0898ca10
JB
188152011-05-04 Juanma Barranquero <lekktu@gmail.com>
18816
18817 * term/w32-win.el (dynamic-library-alist): Add `gnutls'.
18818
31dfb76c
GM
188192011-05-04 Glenn Morris <rgm@gnu.org>
18820
f330b642
GM
18821 * calendar/diary-lib.el (diary-fancy-date-pattern): Turn it into a
18822 function, so it follows changes in calendar-date-style.
18823 (diary-fancy-date-matcher): New function.
18824 (diary-fancy-font-lock-keywords): Use diary-fancy-date-matcher.
18825 (diary-fancy-font-lock-fontify-region-function):
18826 Use diary-fancy-date-pattern as a function.
18827
31dfb76c
GM
18828 * calendar/diary-lib.el (diary-fancy-date-pattern): Do not use
18829 non-numbers for `year' etc pseudo-variables. (Bug#8583)
18830
48e79d6a
TZ
188312011-05-04 Teodor Zlatanov <tzz@lifelogs.com>
18832
18833 * net/gnutls.el (gnutls-negotiate): Use CL-style keyword arguments
18834 instead of positional arguments. Allow :keylist and :crlfiles
18835 arguments.
18836 (open-gnutls-stream): Call it.
18837
18838 * net/network-stream.el (network-stream-open-starttls): Adjust to
18839 call `gnutls-negotiate' with :process and :hostname arguments.
18840
dd5a5ee0
SM
188412011-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
18842
ef80fc09
SM
18843 * minibuffer.el (completion--message): New function.
18844 (completion--do-completion, minibuffer-complete)
18845 (minibuffer-force-complete, minibuffer-complete-word): Use it.
18846 (completion--do-completion): Don't ignore completion-auto-help when in
18847 icomplete-mode.
18848
dd5a5ee0
SM
18849 * whitespace.el (whitespace-trailing-regexp): Don't rely on the
18850 internal encoding (e.g. tibetan zero is not whitespace).
18851 (global-whitespace-mode): Prefer save-current-buffer.
18852 (whitespace-trailing-regexp): Remove useless save-match-data.
18853 (whitespace-empty-at-bob-regexp): Minor simplification.
18854
b7d22a83
CY
188552011-05-03 Chong Yidong <cyd@stupidchicken.com>
18856
18857 * emacs-lisp/autoload.el (generated-autoload-file): Doc fix (Bug#7989).
18858
5192af46
AM
188592011-05-03 Agustín Martín Domingo <agustin.martin@hispalinux.es>
18860
18861 * textmodes/ispell.el (ispell-add-per-file-word-list):
cdc4a047 18862 Use `concat' to create string for insertion.
5192af46 18863
5767d190
SM
188642011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
18865
18866 * textmodes/bibtex.el (bibtex-fill-field-bounds, bibtex-fill-entry):
18867 Avoid open-line which runs post-self-insert-hook.
18868 (bibtex-fill-entry): Remove unused `end' var.
18869
bf242939
AM
188702011-05-03 Dirk Ullrich <dirk.ullrich@googlemail.com> (tiny change)
18871
5767d190
SM
18872 * textmodes/ispell.el (ispell-add-per-file-word-list):
18873 Protect against `nil' value of `comment-start' (Bug#8579).
bf242939 18874
25666126
LL
188752011-05-03 Leo Liu <sdl.web@gmail.com>
18876
18877 * isearch.el (isearch-yank-pop): New command.
5767d190 18878 (isearch-mode-map): Bind it to `M-y'.
25666126
LL
18879 (isearch-forward): Mention it.
18880
52d3c2d0
SM
188812011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
18882
1bcace58
SM
18883 * simple.el (minibuffer-complete-shell-command): Remove.
18884 (minibuffer-local-shell-command-map): Use completion-at-point.
18885 (read-shell-command): Setup completion vars here instead.
18886 (read-expression-map): Bind TAB to symbol completion.
18887
52d3c2d0
SM
18888 * textmodes/ispell.el (lookup-words): Use with-temp-buffer; signal
18889 error directly rather via storing it into `results'.
18890
35813471
LL
188912011-05-02 Leo Liu <sdl.web@gmail.com>
18892
18893 * vc/diff.el: Fix description.
18894
e793a940
LMI
188952011-05-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
18896
18897 * server.el (server-eval-at): New function.
18898
8de66e05
LMI
188992011-05-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
18900
18901 * net/network-stream.el (open-network-stream): Take a :nowait
18902 parameter and pass it on to `make-network-process'.
18903 (network-stream-open-plain): Ditto.
18904
dcb79f20
AS
189052011-04-30 Andreas Schwab <schwab@linux-m68k.org>
18906
18907 * faces.el (face-spec-set-match-display): Don't match toolkit
18908 options on terminal frames.
18909
14a7fbd8
SM
189102011-04-29 Stefan Monnier <monnier@iro.umontreal.ca>
18911
7eabc1be
SM
18912 * progmodes/pascal.el: Use lexical binding.
18913 (pascal-mode-map): Remove author preferences.
18914
14a7fbd8
SM
18915 * pcomplete.el (pcomplete-std-complete): Don't abuse
18916 completion-at-point.
18917
50f84510
JB
189182011-04-28 Juanma Barranquero <lekktu@gmail.com>
18919
6e087a44
JB
18920 * calc/calccomp.el (math-comp-to-string-flat-term): Simplify by
18921 removing code that has been dead since 1991 or so.
18922
50f84510
JB
18923 * startup.el (command-line): When warning about "_emacs", use a
18924 delayed warning to allow the user to filter it out.
18925
0ba690bd
DD
189262011-04-28 Deniz Dogan <deniz@dogan.se>
18927
18928 * net/rcirc.el (rcirc-handler-353): Fix bug for channels which the
18929 user has not joined.
18930
08abfaad
SM
189312011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
18932
18933 * pcomplete.el (pcomplete-completions-at-point): Return nil if there
18934 aren't any completions at point.
18935
638f053a
JB
189362011-04-28 Juanma Barranquero <lekktu@gmail.com>
18937
18938 * subr.el (display-delayed-warnings): New function.
18939 (delayed-warnings-hook): New variable.
18940
8fff8daa
SM
189412011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
18942
08abfaad
SM
18943 * minibuffer.el (completion-at-point, completion-help-at-point):
18944 Don't presume that a given completion-at-point-function will always
18945 use the same calling convention.
18946
8fff8daa
SM
18947 * pcomplete.el (pcomplete-completions-at-point):
18948 Obey pcomplete-ignore-case. Don't call pcomplete-norm-func unless
18949 pcomplete-seen is non-nil.
18950 (pcomplete-comint-setup): Also recognize the new comint/shell
18951 completion functions.
18952 (pcomplete-do-complete): Don't call pcomplete-norm-func unless
18953 pcomplete-seen is non-nil.
18954
841a1577 189552011-04-27 Niels Giesen <niels.giesen@gmail.com>
211ec907 18956
841a1577 18957 * calendar/icalendar.el (diary-lib): Add require statement.
211ec907 18958 (icalendar--create-uid): Read out a uid from a text-property on
841a1577 18959 the first character in the entry. This allows for code to add its
211ec907
UJ
18960 own uid to the entry.
18961 (icalendar--convert-float-to-ical): Add export of
18962 `diary-float'-entries save for those with the optional DAY
18963 argument.
18964
2a782793
DC
189652011-04-27 Daniel Colascione <dan.colascione@gmail.com>
18966
18967 * subr.el (shell-quote-argument): Use alternate escaping strategy
18968 when we spot a variable reference in a string.
18969
0438ce91
DC
189702011-04-26 Daniel Colascione <dan.colascione@gmail.com>
18971
18972 * cus-start.el (all): Define customization for debug-on-event.
18973
841a1577 189742011-04-26 Daniel Colascione <dan.colascione@gmail.com>
8f91bf93
DC
18975
18976 * subr.el (shell-quote-argument): Escape correctly under Windows.
18977
d090ed6c
SM
189782011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
18979
18980 * emulation/cua-base.el (cua-selection-mode): Make it toggle again.
18981
bfd31217
MA
189822011-04-25 Michael Albinus <michael.albinus@gmx.de>
18983
d090ed6c
SM
18984 * net/tramp.el (tramp-process-actions): Add POS argument.
18985 Delete region between POS and (pos).
bfd31217 18986
d090ed6c
SM
18987 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
18988 Use `nil' position in `tramp-process-actions' call.
bfd31217
MA
18989 (tramp-maybe-open-connection): Call `tramp-process-actions' with pos.
18990
18991 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Use `nil'
18992 position in `tramp-process-actions' call.
18993
18994 * net/trampver.el: Update release number.
18995
e92f3bd3
SM
189962011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
18997
850256b5
SM
18998 * custom.el (defcustom): Obey lexical-binding.
18999
e92f3bd3
SM
19000 Fix octave-inf completion problems reported by Alexander Klimov.
19001 * progmodes/octave-inf.el (inferior-octave-mode-syntax-table):
19002 Inherit from octave-mode-syntax-table.
19003 (inferior-octave-mode): Set info-lookup-mode.
19004 (inferior-octave-completion-at-point): New function.
19005 (inferior-octave-complete): Use it and completion-in-region.
19006 (inferior-octave-dynamic-complete-functions): Use it as well, and use
19007 comint-filename-completion.
19008 * progmodes/octave-mod.el (octave-mode-syntax-table): Use _ syntax for
19009 symbol elements which shouldn't be word elements.
19010 (octave-font-lock-keywords, octave-beginning-of-defun)
19011 (octave-function-header-regexp): Adjust regexps accordingly.
19012 (octave-mode-map): Also use info-lookup-symbol for C-c C-h.
19013
cd22b309
JB
190142011-04-25 Juanma Barranquero <lekktu@gmail.com>
19015
19016 * net/gnutls.el (gnutls-errorp): Declare before first use.
19017
8b492194
TZ
190182011-04-24 Teodor Zlatanov <tzz@lifelogs.com>
19019
19020 * net/gnutls.el (gnutls-negotiate): Add hostname, verify-flags,
19021 verify-error, and verify-hostname-error parameters. Check whether
cd22b309 19022 default trustfile exists before going to use it. Add missing
5a5fa834 19023 argument to gnutls-message-maybe call. Return value.
8b492194
TZ
19024 Reported by Claudio Bley <claudio.bley@gmail.com>.
19025 (open-gnutls-stream): Add usage example.
19026
19027 * net/network-stream.el (network-stream-open-starttls): Give host
19028 parameter to `gnutls-negotiate'.
19029 (gnutls-negotiate): Adjust `gnutls-negotiate' declaration.
8f91bf93 19030 * subr.el (shell-quote-argument): Escape correctly under Windows.
8b492194 19031
841a1577 190322011-04-24 Daniel Colascione <dan.colascione@gmail.com>
05842630 19033
cd22b309
JB
19034 * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
19035 Use correct match group (bug#8438).
05842630 19036
3ba7869c
CY
190372011-04-24 Chong Yidong <cyd@stupidchicken.com>
19038
512e3ae1
CY
19039 * emacs-lisp/package.el (package-built-in-p): Fix typo.
19040 (package-menu--generate): New arg specifying packages to show.
19041 (package-menu-refresh, package-menu-execute, list-packages):
19042 Callers changed.
19043 (package-show-package-list): New function, replacing deleted
19044 package--list-packages (renamed because it is non-internal).
19045
19046 * finder.el (finder-list-matches): Use package-show-package-list
19047 instead of deleted package--list-packages.
19048
e92f3bd3
SM
19049 * vc/vc-annotate.el (vc-annotate-goto-line): New command.
19050 Based on a previous implementation by Juanma Barranquero (Bug#8366).
3ba7869c
CY
19051 (vc-annotate-mode-map): Bind it to RET.
19052
7031be6d
UR
190532011-04-24 Uday S Reddy <u.s.reddy@cs.bham.ac.uk> (tiny change)
19054
19055 * progmodes/etags.el (next-file): Don't use set-buffer to change
19056 buffers (Bug#8478).
19057
4ef177aa
CY
190582011-04-24 Chong Yidong <cyd@stupidchicken.com>
19059
c8d173eb
CY
19060 * files.el (auto-mode-alist): Use js-mode for .json (Bug#8529).
19061
4ef177aa
CY
19062 * apropos.el (apropos-label-face): Avoid variable-pitch face.
19063 (apropos-accumulator): Doc fix.
19064 (apropos-function, apropos-macro, apropos-command)
19065 (apropos-variable, apropos-face, apropos-group, apropos-widget)
19066 (apropos-plist): Add face property.
19067 (apropos-symbols-internal): Fix indentation.
19068 (apropos-print): Simplify help, and recognize apropos-multi-type.
19069 (apropos-print-doc): Use button-type-get to extract the button's
19070 face property. Fill docstring (Bug#8352).
19071
4ffd0d6b 190722011-04-23 Juanma Barranquero <lekktu@gmail.com>
be71f810
JB
19073
19074 * buff-menu.el (Buffer-menu--buffers): Fix typo in docstring (bug#8535).
19075
c6c32125 19076 * play/mpuz.el (mpuz-silent): Doc fix.
4ffd0d6b 19077 (mpuz-mode-map): Use mapc.
c6c32125
JB
19078 (mpuz-put-number-on-board): Rename parameter L to COLUMNS.
19079 (mpuz-letter-to-digit, mpuz-check-all-solved, mpuz-create-buffer):
19080 Fix typos in docstrings.
19081
58d468b4
JB
19082 * play/doctor.el (doc$, doctor-$, doctor-read-print, doctor-read-token)
19083 (doctor-nounp, doctor-pronounp): Fix typos in docstrings.
19084
6470c3c6
JB
19085 * mouse-drag.el (mouse-drag-throw): Fix typo in docstring.
19086
4ffd0d6b 190872011-04-23 Chong Yidong <cyd@stupidchicken.com>
6f21a319
CY
19088
19089 * minibuffer.el (completion--do-completion): Avoid the "Next char
19090 not unique" prompt if icomplete-mode is enabled (Bug#5849).
19091
3ad8bad0
CY
19092 * mouse.el (mouse-drag-mode-line-1): Make sure that if we push
19093 mouse-2 into unread-command-events, it is interpreted correctly.
19094
71d73c9c 19095 * image-mode.el (image-type, image-mode-map, image-minor-mode-map)
6395aab9 19096 (image-toggle-display): Doc fix.
71d73c9c 19097
841a1577 190982011-04-23 Stephen Berman <stephen.berman@gmx.net>
e935c6a2 19099
4ffd0d6b
GM
19100 * textmodes/page.el (what-page): Use line-number-at-pos to
19101 calculate line number (Bug#6825).
6e1dbaa9 19102
c2fb1b60
JB
191032011-04-22 Juanma Barranquero <lekktu@gmail.com>
19104
19105 * eshell/esh-mode.el (find-tag-interactive): Declare function.
19106 (eshell-find-tag): Remove `with-no-warnings', unneeded now.
19107 Pass argument NO-DEFAULT to `find-tag-interactive'.
19108
e02f48d7
JB
191092011-04-22 Juanma Barranquero <lekktu@gmail.com>
19110
19111 Lexical-binding cleanup.
19112
19113 * progmodes/ada-mode.el (ada-after-change-function, ada-loose-case-word)
19114 (ada-no-auto-case, ada-capitalize-word, ada-untab, ada-narrow-to-defun):
19115 * progmodes/ada-prj.el (ada-prj-initialize-values)
19116 (ada-prj-display-page, ada-prj-field-modified, ada-prj-display-help)
19117 (ada-prj-show-value):
19118 * progmodes/ada-xref.el (ada-find-any-references, ada-gdb-application):
19119 * progmodes/antlr-mode.el (antlr-with-displaying-help-buffer)
19120 (antlr-invalidate-context-cache, antlr-options-menu-filter)
19121 (antlr-language-option-extra, antlr-c++-mode-extra, antlr-run-tool):
19122 * progmodes/bug-reference.el (bug-reference-push-button):
19123 * progmodes/fortran.el (fortran-line-length):
19124 * progmodes/glasses.el (glasses-change):
19125 * progmodes/octave-mod.el (octave-fill-paragraph):
19126 * progmodes/python.el (python-mode, python-pdbtrack-track-stack-file)
19127 (python-pdbtrack-grub-for-buffer, python-sentinel):
19128 * progmodes/sql.el (sql-save-connection):
19129 * progmodes/tcl.el (tcl-indent-command, tcl-popup-menu):
19130 * progmodes/xscheme.el (xscheme-enter-debugger-mode):
19131 Mark unused parameters.
19132
19133 * progmodes/compile.el (compilation--flush-directory-cache)
19134 (compilation--flush-parse, compile-internal): Mark unused parameters.
19135 (compilation-buffer-name): Rename parameter MODE-NAME to NAME-OF-MODE.
19136 (compilation-next-error-function): Remove unused variable `timestamp'.
19137
19138 * progmodes/cpp.el (cpp-parse-close): Remove unused variable `begin'.
19139 (cpp-signal-read-only, cpp-grow-overlay): Mark unused parameters.
19140
19141 * progmodes/dcl-mode.el (dcl-end-of-command):
19142 Remove unused variable `start'.
19143 (dcl-calc-command-indent-multiple, dcl-calc-cont-indent-relative)
19144 (dcl-option-value-basic, dcl-option-value-offset)
19145 (dcl-option-value-margin-offset, dcl-option-value-comment-line):
19146 Mark unused parameters.
19147 (dcl-save-local-variable): Remove unused variable `val'.
19148 (mode): Declare.
19149
19150 * progmodes/delphi.el (delphi-save-state, delphi-after-change):
19151 Mark unused parameters.
19152 (delphi-ignore-changes): Move before first use.
19153 (delphi-charset-token-at): Remove unused variable `start'.
19154 (delphi-else-start): Remove unused variable `if-count'.
19155 (delphi-comment-block-start, delphi-comment-block-end):
19156 Remove unused variable `kind'.
19157 (delphi-indent-line): Remove unused variable `new-point'.
19158
19159 * progmodes/ebrowse.el (ebrowse-files-list)
19160 (ebrowse-list-of-matching-members, ebrowse-tags-list-members-in-file):
19161 Mark unused parameters. Don't quote `lambda'.
19162 (ebrowse-sort-tree-list, ebrowse-same-tree-member-buffer-list):
19163 Don't quote `lambda'.
19164 (ebrowse-revert-tree-buffer-from-file, ebrowse-tags-choose-class)
19165 (ebrowse-goto-visible-member/all-member-lists): Mark unused parameters.
19166 (ebrowse-create-tree-buffer): Rename parameter OBARRAY to CLASSES.
19167 (ebrowse-toggle-mark-at-point): Remove unused variable `pnt'.
19168 Use `ignore-errors'.
19169 (ebrowse-frozen-tree-buffer-name, ebrowse-find-source-file)
19170 (ebrowse-view/find-file-and-search-pattern)
19171 (ebrowse-view/find-member-declaration/definition):
19172 Rename parameter TAGS-FILE-NAME to TAGS-FILE.
19173 (ebrowse-find-class-declaration, ebrowse-view-class-declaration):
19174 Rename parameter PREFIX-ARG to PREFIX.
19175 (ebrowse-tags-read-name): Remove unused variables `start' and
19176 `member-info'.
19177 (ebrowse-display-member-buffer): Rename variable `tags-file-name'
19178 to `tags-file'.
19179
19180 * progmodes/etags.el (local-find-tag-hook): Declare.
19181 (tag-partial-file-name-match-p, tag-any-match-p, list-tags):
19182 Mark unused parameters.
19183
19184 * progmodes/executable.el (compilation-error-regexp-alist): Declare.
19185 (executable-interpret): Mark unused parameter.
19186
19187 * progmodes/flymake.el (flymake-process-sentinel)
19188 (flymake-after-change-function)
19189 (flymake-create-temp-with-folder-structure)
19190 (flymake-get-include-dirs-dot): Mark unused parameters.
19191 (flymake-safe-delete-directory): Remove unused variable `err'.
19192
19193 * progmodes/gdb-mi.el (speedbar-change-initial-expansion-list)
19194 (speedbar-timer-fn, speedbar-line-text)
19195 (speedbar-change-expand-button-char, speedbar-delete-subblock)
19196 (speedbar-center-buffer-smartly): Declare functions.
19197 (gdb-find-watch-expression): Remove unused variable `array'.
19198 (gdb-edit-value, gdb-gdb, gdb-ignored-notification, gdb-thread-created)
19199 (gdb-starting): Mark unused parameters.
19200 (gud-gdbmi-marker-filter): Remove unused variable `output-record'.
19201 (gdb-table-string): Remove unused variable `res'.
19202 (gdb-place-breakpoints): Remove unused variables `flag' and `bptno'.
19203 (gdb-disassembly-handler-custom): Remove unused variable `pos'.
19204 (gdb-display-buffer): Remove unused variable `cur-size'.
19205
19206 * progmodes/gud.el (gud-def): Use `defalias' instead of `defun' to
19207 allow lexical-binding compilation.
19208 (gud-expansion-speedbar-buttons, gud-gdb-goto-stackframe)
19209 (gud-dbx-massage-args, gud-xdb-massage-args, gud-perldb-massage-args)
19210 (gud-jdb-massage-args, gud-jdb-find-source, gud-find-class):
19211 Mark unused parameters.
19212 (gud-gdb-marker-filter): Remove unused variable `match'.
19213 (gud-find-class): Bind `syntax-symbol' and `syntax-point' to suitable
19214 lambda expressions and funcall them, instead of using `fset'.
19215
19216 * progmodes/hideif.el (hif-parse-if-exp): Rename parameter
19217 HIF-TOKEN-LIST to TOKEN-LIST and let-bind `hif-token-list'.
19218
19219 * progmodes/hideshow.el (hs-hide-block-at-point): Remove unused
19220 variable `header-beg'; use `let'.
19221
19222 * progmodes/icon.el (indent-icon-exp): Remove unused variables
19223 `restart', `last-sexp' and `at-do'.
19224
19225 * progmodes/js.el (js--debug): Mark unused parameter.
19226 (js--parse-state-at-point): Remove unused variable `bound'; use `let'.
19227 (js--splice-into-items): Remove unused variable `item'.
19228 (js--read-symbol, js--read-tab): Pass 1/-1 to `ido-mode', not t/nil.
19229
19230 * progmodes/make-mode.el (makefile-make-font-lock-keywords):
19231 Rename parameter FONT-LOCK-KEYWORDS to FL-KEYWORDS.
19232 (makefile-complete): Remove unused variable `try'.
19233 (makefile-fill-paragraph, makefile-match-function-end):
19234 Mark unused parameters.
19235
19236 * progmodes/octave-inf.el (inferior-octave-complete):
19237 Remove unused variable `proc'.
19238 (inferior-octave-output-digest): Mark unused parameter.
19239
19240 * progmodes/perl-mode.el (perl-calculate-indent):
19241 Remove unused variable `err'.
19242
19243 * progmodes/prolog.el (prolog-mode-keybindings-inferior)
19244 (prolog-indent-line): Mark unused parameters.
19245 (prolog-indent-line): Remove unused variable `beg'.
19246
19247 * progmodes/ps-mode.el (reporter-prompt-for-summary-p)
19248 (reporter-dont-compact-list): Declare.
19249
19250 * progmodes/sh-script.el (sh-font-lock-quoted-subshell):
19251 Remove unused variable `char'.
19252 (sh-debug): Mark unused parameter.
19253 (sh-get-indent-info): Remove unused variable `start'.
19254 (sh-calculate-indent): Remove unused variable `var'.
19255
19256 * progmodes/simula.el (simula-popup-menu): Mark unused parameter.
19257 (simula-electric-keyword): Remove unused variable `null'.
19258 (simula-search-backward, simula-search-forward): Remove unused
19259 variables `begin' and `end'.
19260
19261 * progmodes/vera-mode.el (vera-guess-basic-syntax):
19262 Remove unused variable `pos'.
19263 (vera-electric-tab, vera-comment-uncomment-region):
19264 Mark unused parameters.
19265 (vera-electric-tab): Rename parameter PREFIX-ARG to PREFIX.
19266
7ede3b65
CY
192672011-04-22 Chong Yidong <cyd@stupidchicken.com>
19268
19269 * emacs-lisp/package.el (package--builtins, package-alist)
19270 (package-load-descriptor, package-built-in-p, package-activate)
19271 (define-package, package-installed-p)
19272 (package-compute-transaction, package-buffer-info)
19273 (package--push): Doc fix. Distinguish more clearly between
19274 version strings and version lists.
19275
121656e9
JB
192762011-04-21 Juanma Barranquero <lekktu@gmail.com>
19277
19278 Lexical-binding cleanup.
19279
19280 * play/5x5.el (5x5-make-random-solution, 5x5-make-mutate-current)
19281 (5x5-make-mutate-best):
19282 * play/fortune.el (fortune-in-buffer):
19283 * play/gomoku.el (gomoku-init-display):
19284 * play/solitaire.el (solitaire, solitaire-do-check):
19285 * play/tetris.el (tetris-default-update-speed-function):
19286 Mark unused parameters.
19287
19288 * play/bubbles.el (bubbles-mode): Set `show-trailing-whitespace'.
19289 (bubbles--shift): Remove unused variable `char-org'.
19290 (bubbles--set-faces): Remove unused variable `fg-col'. Simplify.
19291 (bubbles--show-images): Remove unused variable `char'.
19292
19293 * play/decipher.el (decipher-keypress, decipher-alphabet-keypress)
19294 (decipher-get-undo, decipher-set-map, decipher-complete-alphabet)
19295 (decipher-resync, decipher-loop-with-breaks, decipher--analyze)
19296 (decipher-analyze-buffer): Use ?\s.
19297 (decipher-make-checkpoint): Remove unused variable `mapping'.
19298
19299 * play/doctor.el (doctor-doc): Rename parameter DOCTOR-SENT to SENT.
19300
19301 * play/gamegrid.el (gamegrid-add-score-with-update-game-score):
19302 Remove unused variable `result'; use `let'.
19303
19304 * play/gametree.el (gametree-current-layout, gametree-apply-layout):
19305 Rename parameter TOP-LEVEL to FROM-TOP-LEVEL; use `ignore-errors'.
19306 (gametree-children-shown-p, gametree-compute-reduced-score):
19307 Use `ignore-errors'.
19308
19309 * play/handwrite.el (ps-lpr-switches): Declare.
19310 (handwrite): Remove unused variables `pmin' and `lastp'.
19311
19312 * play/hanoi.el (hanoi-move-ring): Remove unused variable `total-steps'.
19313
19314 * play/landmark.el (landmark-init-display)
19315 (landmark-update-naught-weights): Mark unused parameters.
19316 (landmark-y): Remove unused variable `noise'. Simplify.
19317 (landmark-human-plays): Remove unused variable `score'.
19318
19319 * play/mpuz.el (mpuz-try-letter): Remove unused variable `message'.
19320 (mpuz-try-proposal): Remove unused variable `game'.
19321
19322 * play/zone.el (life-patterns): Declare.
19323
80f499c7
JB
193242011-04-20 Juanma Barranquero <lekktu@gmail.com>
19325
19326 * vc/vc.el (ediff-vc-internal): Declare function.
19327
024ff170
SM
193282011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
19329
c0a193ea
SM
19330 * shell.el: Use lexical-binding and std completion UI.
19331 (shell-filter-ctrl-a-ctrl-b): Work as a preoutput filter.
19332 (shell-mode): Put shell-filter-ctrl-a-ctrl-b on
19333 comint-preoutput-filter-functions rather than on
19334 comint-output-filter-functions.
19335 (shell-command-completion, shell--command-completion-data)
19336 (shell-filename-completion, shell-environment-variable-completion)
19337 (shell-c-a-p-replace-by-expanded-directory): New functions.
19338 (shell-dynamic-complete-functions, shell-dynamic-complete-command)
19339 (shell-dynamic-complete-filename, shell-replace-by-expanded-directory)
19340 (shell-dynamic-complete-environment-variable): Use them.
19341 (shell-dynamic-complete-as-environment-variable)
19342 (shell-dynamic-complete-as-command): Remove.
19343 (shell-match-partial-variable): Match past point.
19344 * comint.el: Clean up use of completion-at-point-functions.
19345 (comint-completion-at-point): New function.
19346 (comint-mode): Use it completion-at-point-functions.
19347 (comint-dynamic-complete): Make it obsolete.
19348 (comint-replace-by-expanded-history-before-point): Add dry-run arg.
19349 (comint-c-a-p-replace-by-expanded-history): New function.
19350 (comint-dynamic-complete-functions)
19351 (comint-replace-by-expanded-history): Use it.
19352 * minibuffer.el (completion-table-with-terminator): Allow dynamic
19353 termination strings. Try harder to avoid second try-completion.
19354 (completion-in-region-mode-map): Disable bindings that don't work yet.
19355
2dbaa080
SM
19356 * comint.el: Use lexical-binding. Require CL.
19357 (comint-dynamic-complete-functions): Use comint-filename-completion.
19358 (comint-completion-addsuffix): Tweak custom type.
19359 (comint-filename-completion, comint--common-suffix)
19360 (comint--common-quoted-suffix, comint--table-subvert)
19361 (comint--complete-file-name-data): New functions.
19362 (comint-dynamic-complete-as-filename, comint-dynamic-complete-filename)
19363 (comint-dynamic-list-filename-completions): Use them.
19364 (comint-dynamic-simple-complete): Make obsolete.
c0a193ea 19365
2dbaa080
SM
19366 * minibuffer.el (completion-in-region-mode):
19367 Keep completion-in-region-mode--predicate global.
19368 (completion-in-region--postch):
19369 Assume completion-in-region-mode--predicate is not null.
19370
c79a6f38
SM
19371 * progmodes/flymake.el (flymake-start-syntax-check-process):
19372 Obey `dir'. Simplify.
19373
024ff170
SM
19374 * vc/vc.el (vc-version-ediff): Call ediff-vc-internal directly, since
19375 we're in VC after all.
19376
1c6c854e
CS
193772011-04-20 Christoph Scholtes <cschol2112@googlemail.com>
19378
19379 * vc/vc.el (vc-diff-build-argument-list-internal)
024ff170 19380 (vc-version-ediff, vc-ediff): New commands.
1c6c854e
CS
19381 (vc-version-diff): Use vc-diff-build-argument-list-internal.
19382
bed7f140
SM
193832011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
19384
332e62ab
SM
19385 * emacs-lisp/byte-opt.el (byte-decompile-bytecode-1): Remove dead code,
19386 add sanity check.
19387
bed7f140
SM
19388 * obsolete/erc-hecomplete.el: Make obsolete.
19389 * obsolete/: Standardize obsolescence info in the header.
19390
f195c582
GM
193912011-04-20 Glenn Morris <rgm@gnu.org>
19392
19393 * calendar/solar.el (solar-horizontal-coordinates):
19394 Use the longitude argument rather than `calendar-longitude'.
19395 (solar-date-next-longitude): Remove unused locals.
19396
cb79b8c0
VJL
193972011-04-20 Vinicius Jose Latorre <viniciusjl@ig.com.br>
19398
19399 * whitespace.el: New version 13.2.1.
19400
194012011-04-20 felix <EmacsWiki> (tiny change)
19402
d8e4b68b 19403 * whitespace.el (global-whitespace-mode): Keep highlight when
cb79b8c0
VJL
19404 switching between major modes on a file.
19405
602ea69d
SM
194062011-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
19407
19408 * progmodes/octave-mod.el (octave-in-comment-p, octave-in-string-p)
19409 (octave-not-in-string-or-comment-p): Use syntax-ppss so it works with
19410 multi-line comments as well.
19411
06b60517
JB
194122011-04-19 Juanma Barranquero <lekktu@gmail.com>
19413
19414 Lexical-binding cleanup.
19415
19416 * arc-mode.el (archive-mode-revert):
19417 * cmuscheme.el (scheme-interactively-start-process):
19418 * custom.el (custom-initialize-delay):
19419 * dnd.el (dnd-open-local-file, dnd-open-remote-url):
19420 * dos-w32.el (direct-print-region-helper, direct-print-region-function):
19421 * emacs-lock.el (emacs-lock-clear-sentinel):
19422 * ezimage.el (defezimage):
19423 * follow.el (follow-avoid-tail-recenter):
19424 * fringe.el (set-fringe-mode-1):
19425 * generic-x.el (bat-generic-mode-compile):
19426 * help-mode.el (help-info-variable, help-do-xref)
19427 (help-mode-revert-buffer):
19428 * help.el (view-emacs-todo):
19429 * iswitchb.el (iswitchb-completion-help):
19430 * jka-compr.el (jka-compr-make-temp-name, jka-compr-load):
19431 * kmacro.el (kmacro-cycle-ring-next, kmacro-cycle-ring-previous)
19432 (kmacro-delete-ring-head, kmacro-bind-to-key, kmacro-view-macro):
19433 * locate.el (locate-update):
19434 * longlines.el (longlines-encode-region)
19435 (longlines-after-change-function):
19436 * outline.el (outline-isearch-open-invisible):
19437 * ps-def.el (declare-function, charset-dimension, char-width)
19438 (encode-char):
19439 * ps-mule.el (ps-mule-plot-string):
19440 * recentf.el (recentf-make-menu-items, recentf-cancel-dialog)
19441 (recentf-edit-list-select, recentf-edit-list-validate)
19442 (recentf-open-files-action):
19443 * rect.el (delete-whitespace-rectangle-line)
19444 (rectangle-number-line-callback):
19445 * register.el (window-configuration-to-register)
19446 (frame-configuration-to-register):
19447 * scroll-bar.el (scroll-bar-mode, toggle-horizontal-scroll-bar):
19448 * select.el (xselect-convert-to-string, xselect-convert-to-length)
19449 (xselect-convert-to-targets, xselect-convert-to-delete)
19450 (xselect-convert-to-filename, xselect-convert-to-charpos)
19451 (xselect-convert-to-lineno, xselect-convert-to-colno)
19452 (xselect-convert-to-os, xselect-convert-to-host)
19453 (xselect-convert-to-user, xselect-convert-to-class)
19454 (xselect-convert-to-name, xselect-convert-to-integer)
19455 (xselect-convert-to-atom, xselect-convert-to-identity):
19456 * subr.el (declare, ignore, process-kill-without-query)
19457 (text-clone-maintain):
19458 * terminal.el (te-get-char, te-tic-sentinel):
19459 * tool-bar.el (tool-bar-make-keymap):
19460 * tooltip.el (tooltip-timeout, tooltip-hide, tooltip-help-tips):
19461 * type-break.el (type-break-mode, type-break-noninteractive-query):
19462 * view.el (View-back-to-mark):
19463 * wid-browse.el (widget-browse-action, widget-browse-widget)
19464 (widget-browse-widgets, widget-browse-sexp):
19465 * widget.el (define-widget-keywords):
19466 * xt-mouse.el (xterm-mouse-translate, turn-off-xterm-mouse-tracking):
19467 Mark unused parameters.
19468
19469 * align.el (align-adjust-col-for-rule): Mark unused parameter.
19470 (align-areas): Remove unused variable `look'.
19471 (align-region): Remove unused variables `real-end' and `pos-list'.
19472
19473 * apropos.el (apropos-score-doc): Remove unused variable `i'.
19474
19475 * bindings.el (mode-line-modified, mode-line-remote):
19476 Mark unused parameters.
19477 (mode-line-mule-info): Mark unused parameter; don't quote `lambda'.
19478
19479 * buff-menu.el (Buffer-menu-revert-function): Mark unused parameters.
19480 (Buffer-menu-mode): Mark unused parameter; don't quote `lambda'.
19481
19482 * comint.el (comint-history-isearch-pop-state)
19483 (comint-postoutput-scroll-to-bottom, comint-truncate-buffer)
19484 (comint-strip-ctrl-m, comint-read-noecho): Mark unused parameters.
19485 (comint-substitute-in-file-name): Doc fix.
19486
19487 * completion.el (cmpl-statistics-block): Mark unused parameter.
19488 (add-completions-from-tags-table, add-completions-from-lisp-buffer)
19489 (save-completions-to-file, load-completions-from-file):
19490 Remove unused local variable `e'.
19491
19492 * composite.el (compose-chars): Remove unused variable `len'.
19493 (lgstring-insert-glyph): Remove unused variable `g'.
19494 (compose-glyph-string): Remove unused variables `ascent',
19495 `descent', `lbearing' and `rbearing'.
19496 (compose-glyph-string-relative): Remove unused variables
19497 `lbearing', `rbearing' and `wadjust'.
19498 (compose-gstring-for-graphic): Remove unused variables `header',
19499 `wadjust', `xoff' and `yoff'. Use `let', not `let*'.
19500 (compose-gstring-for-terminal): Remove unused variables `header'
19501 and `nchars'. Use `let', not `let*'.
19502
19503 * cus-edit.el (Custom-set, Custom-save, custom-reset)
19504 (Custom-reset-current, Custom-reset-saved, Custom-reset-standard)
19505 (Custom-buffer-done, custom-buffer-create-internal)
19506 (custom-browse-visibility-action, custom-browse-group-tag-action)
19507 (custom-browse-variable-tag-action, custom-browse-face-tag-action)
19508 (widget-magic-mouse-down-action, custom-toggle-parent)
19509 (custom-add-parent-links, custom-toggle-hide-variable)
19510 (custom-face-edit-value-visibility-action, custom-face-edit-fix-value)
19511 (custom-toggle-hide-face, face, hook, custom-group-link-action)
19512 (custom-face-menu-create, custom-variable-menu-create, get)
19513 (custom-group-menu-create, Custom-no-edit): Mark unused parameters.
19514 (custom-reset-standard-save-and-update): Remove unused variable `value'.
19515 (customize-apropos): Remove unused variable `tests'.
19516 (custom-group-value-create): Remove unused variable `hidden-p'.
19517 (sort-fold-case): Declare.
19518
19519 * cus-theme.el (custom-reset-standard-faces-list)
19520 (custom-reset-standard-variables-list): Declare.
19521 (customize-create-theme, custom-theme-revert, custom-theme-write)
19522 (custom-theme-choose-mode, customize-themes, custom-theme-save):
19523 Mark unused parameters.
19524
19525 * dabbrev.el (dabbrev-completion): Remove unused variable `init'.
19526
19527 * delim-col.el (delimit-columns-max): Move defvar before first use.
19528
19529 * descr-text.el (describe-char-categories): Don't quote `lambda'.
bd0d2ee2 19530 (describe-char): Don't quote `lambda'. Mark unused parameter.
06b60517
JB
19531
19532 * desktop.el (desktop-save-buffer-p): Mark unused parameter.
19533 (auto-insert): Declare.
19534 (desktop-restore-file-buffer): Rename desktop-* parameters;
19535 mark unused ones.
19536 (desktop-create-buffer): Rename desktop-* parameters and bind them.
19537 (desktop-buffer): Rename desktop-* parameters.
19538
19539 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
19540 (dframe-reposition-frame-xemacs, dframe-help-echo)
19541 (dframe-hack-buffer-menu, dframe-set-timer, dframe-set-timer-internal):
19542 Mark unused parameters.
19543
19544 * dired-aux.el (backup-extract-version-start, overwrite-query)
19545 (overwrite-backup-query, rename-regexp-query)
19546 (rename-non-directory-query): Declare.
19547 (dired-shell-stuff-it, dired-do-create-files): Mark unused parameters.
19548 (dired-add-entry): Remove unused variable `orig-file-name'.
19549 (dired-copy-file-recursive): Remove unused variable `dirfailed'.
19550 Use parameter PRESERVE-TIME instead of accessing dynamic variable
19551 `dired-copy-preserve-time' directly.
19552 (dired-do-create-files-regexp): Remove unused variable `fn-count'.
19553 (dired-insert-subdir-newpos): Rename unused variable `pos'.
19554
19555 * dired-x.el (dired-omit-size-limit): Move defcustom before first use.
19556 (dired-virtual-revert, dired-make-relative-symlink):
19557 Mark unused parameters.
19558 (manual-program): Declare.
19559 (dired-x-hands-off-my-keys): Rename parameters of lambda expression.
19560 (inode, s, mode, nlink, uid, gid, size, time, name, sym): Declare them,
19561 wrapped in `with-no-warnings' to avoid replacing one warning by another.
19562
19563 * dirtrack.el (dirtrack): Remove unused variable `multi-line'.
19564
19565 * dos-fns.el (dos-8+3-filename): Remove unused variable `i'.
19566
19567 * echistory.el (electric-history-in-progress, Helper-return-blurb):
19568 Declare.
19569
19570 * edmacro.el (edmacro-finish-edit): Remove unused variable `kmacro'.
19571
19572 * electric.el (Electric-command-loop): Rename parameter
19573 INHIBIT-QUIT to INHIBIT-QUITTING and bind `inhibit-quit'.
19574
19575 * expand.el (expand-in-literal): Remove unused variable `here'.
19576
19577 * facemenu.el (facemenu-add-new-color):
19578 Remove unused variable `docstring'.
19579
19580 * faces.el (face-id, make-face-bold, make-face-unbold, make-face-italic)
19581 (make-face-unitalic, make-face-bold-italic): Mark unused parameters.
19582 (face-attr-construct): Mark unused parameter. Doc fix.
19583 (read-color): Remove unused variable `hex-string'.
19584
19585 * files.el (parse-colon-path): Rename argument CD-PATH to SEARCH-PATH.
19586 (locate-dominating-file): Remove unused vars `prev-file' and `user'.
19587 (remote-file-name-inhibit-cache, revert-buffer): Clean up docstrings.
19588 (display-buffer-other-frame): Remove unused variable `old-window'.
19589 (kill-buffer-hook): Declare.
19590 (insert-file-contents-literally, set-auto-mode, risky-local-variable-p):
19591 Mark unused parameters.
19592 (after-find-file): Pass 1 to `auto-save-mode', not t.
19593
19594 * files-x.el (auto-insert): Declare.
19595 (modify-file-local-variable-prop-line): Remove unused variable `val'.
19596
19597 * find-lisp.el (find-lisp-find-dired-internal): Remove unused
bd0d2ee2 19598 variable `buf'. Mark unused parameter.
06b60517
JB
19599 (find-lisp-insert-directory): Mark unused parameter.
19600
19601 * format.el (format-decode-run-method): Mark unused parameter; doc fix.
19602 (format-encode-region): Remove unused variables `cur-buf' and `result'.
19603 (format-common-tail): Remove, unused.
19604 (format-deannotate-region): Remove unused variable `loc'.
19605 (format-annotate-region): Remove unused variable `p'.
19606 (format-annotate-single-property-change): Remove unused variables
19607 `default' and `tail'.
19608
19609 * forms.el (read-file-filter): Declare.
19610 (forms--iif-hook, forms--revert-buffer): Mark unused parameters.
19611
19612 * frame.el (frame-creation-function-alist): Mark unused parameter.
19613 (frame-geom-spec-cons): Pass FRAME to `frame-geom-value-cons'.
19614
19615 * hilit-chg.el (hilit-chg-cust-fix-changes-face-list, hilit-chg-clear):
19616 Remove unused parameters.
19617 (hilit-chg-set-face-on-change): Remove unused variable `beg-decr'.
19618 (highlight-compare-with-file): Remove unused variable `buf-b-read-only'.
19619
19620 * htmlfontify.el (hfy-default-footer, hfy-decor, hfy-invisible)
19621 (hfy-parse-tags-buffer, hfy-prepare-index-i, hfy-prepare-index)
19622 (hfy-prepare-tag-map): Mark unused parameters.
19623 (htmlfontify-buffer): Use `called-interactively-p'.
19624
19625 * ibuf-ext.el (ibuffer-do-kill-lines, ibuffer-jump-to-buffer)
19626 (ibuffer-copy-filename-as-kill, ibuffer-mark-on-buffer)
19627 (ibuffer-do-occur): Mark unused parameters.
19628 (ibuffer-forward-next-marked): Remove unused variable `curmark'.
19629 (ibuffer-diff-buffer-with-file-1): Remove unused variable `proc'.
19630
19631 * ibuffer.el: Don't quote `lambda'.
19632 (ibuffer-count-marked-lines, ibuffer-count-deletion-lines)
19633 (ibuffer-unmark-all, ibuffer-toggle-marks, ibuffer-redisplay-engine):
19634 Mark unused parameters.
19635
19636 * ido.el (ido-mode, ido-wide-find-dir-or-delete-dir)
19637 (ido-completing-read): Mark unused parameters.
19638 (ido-copy-current-word): Mark unused parameters;
19639 remove unused variable `name'.
19640 (ido-sort-merged-list): Remove unused parameter `dirs'.
19641
19642 * ielm.el (ielm-input-sender): Mark unused parameter.
19643 (ielm-string, ielm-form, ielm-pos, ielm-result, ielm-error-type)
19644 (ielm-output, ielm-wbuf, ielm-pmark): Declare.
19645 (ielm-eval-input): Rename argument IELM-STRING to INPUT-STRING to keep
19646 `ielm-string' as a dynamic variable accessible from the IELM prompt.
19647 Bind `ielm-string' to INPUT-STRING. Remove unused variable `err'.
19648
19649 * image-dired.el (image-dired-display-thumbs): Remove unused
19650 variables `curr-file' and `count'.
19651 (image-dired-remove-tag): Remove unused variable `start'.
19652 (image-dired-tag-files, image-dired-create-thumbs): Remove unused
19653 variable `curr-file'
19654 (image-dired-rotate-original): Remove unused variable `temp-file'.
19655 (image-dired-mouse-select-thumbnail, image-dired-mouse-toggle-mark):
19656 Remove unused variable `file'.
19657 (image-dired-gallery-generate): Remove unused variable `curr'.
19658 (image-dired-dired-edit-comment-and-tags): Mark unused parameters.
19659
19660 * indent.el (tab-to-tab-stop): Remove unused variable `opoint'.
19661
19662 * info-xref.el (info-xref-goto-node-p): Remove unused variable `err'.
19663
19664 * informat.el (texinfo-command-start, texinfo-command-end): Declare.
19665
19666 * isearch.el (minibuffer-history-symbol): Declare.
19667 (isearch-edit-string): Remove unused variable `err'.
19668 (isearch-message-prefix, isearch-message-suffix):
19669 Mark unused parameters.
19670
19671 * ls-lisp.el (ls-lisp-insert-directory): Remove unused variable `fil'.
19672
19673 * macros.el (insert-kbd-macro): Remove unused variable `mods'.
19674
19675 * makesum.el (double-column): Remove unused variable `cnt'.
19676
19677 * misearch.el (multi-isearch-pop-state): Mark unused parameter.
19678 (ido-ignore-item-temp-list): Declare.
19679
19680 * mouse-drag.el (mouse-drag-throw): Remove unused variables
19681 `mouse-delta', `window-last-row', `mouse-col-delta', `window-last-col',
19682 `adjusted-mouse-col-delta' and `adjusted-mouse-delta'.
19683 (mouse-drag-drag): Remove unused variables `mouse-delta' and
19684 `mouse-col-delta'.
19685
19686 * mouse-sel.el (mouse-extend-internal):
19687 Remove unused variable `orig-window-frame'.
19688
19689 * pcomplete.el (pcomplete-args, pcomplete-begins, pcomplete-last)
19690 (pcomplete-index, pcomplete-stub, pcomplete-seen, pcomplete-norm-func):
19691 Move declarations before first use.
19692 (pcomplete-opt): Mark unused parameters; doc fix.
19693
19694 * proced.el (proced-revert): Mark unused parameter.
19695 (proced-send-signal): Remove unused variable `err'.
19696
19697 * ps-print.el (ps-print-preprint-region, ps-print-preprint):
19698 Rename parameter PREFIX-ARG to ARG.
19699 (ps-basic-plot-string, ps-basic-plot-whitespace):
19700 Mark unused parameters.
19701
19702 * replace.el (replace-count): Define.
19703 (occur-revert-function): Mark unused parameters.
19704 (ido-ignore-item-temp-list, isearch-error, isearch-forward)
19705 (isearch-case-fold-search, isearch-string): Declare.
19706 (occur-engine): Rename parameter CASE-FOLD-SEARCH to CASE-FOLD and
19707 bind `case-fold-search'. Remove unused variables `beg' and `end',
19708 and simplify.
19709 (replace-eval-replacement): Rename parameter REPLACE-COUNT to
19710 COUNT and bind `replace-count'.
19711 (replace-loop-through-replacements): Rename parameter REPLACE-COUNT
19712 to COUNT.
19713
19714 * savehist.el (print-readably, print-string-length): Declare.
19715
19716 * shadowfile.el (shadow-expand-cluster-in-file-name):
19717 Remove unused variable `cluster'.
19718 (shadow-copy-file): Remove unused variable `i'.
19719 (shadow-noquery, shadow-clusters, shadow-site-cluster)
19720 (shadow-parse-fullname, shadow-parse-name, shadow-define-cluster)
19721 (shadow-define-literal-group, shadow-define-regexp-group)
19722 (shadow-make-group, shadow-shadows-of): Clean up docstrings.
19723
19724 * shell.el (shell-filter-ctrl-a-ctrl-b): Mark unused parameter.
19725 (shell): Use `called-interactively-p'.
19726 (shell-directory-tracker): Remove unused variable `chdir-failure'.
19727
19728 * simple.el (compilation-context-lines, comint-file-name-quote-list)
19729 (comint-file-name-chars, comint-delimiter-argument-list): Declare.
19730 (delete-backward-char): Remove unused variable `ocol'.
19731 (minibuffer-avoid-prompt, minibuffer-history-isearch-pop-state)
19732 (line-move-1, event-apply-alt-modifier, event-apply-super-modifier)
19733 (event-apply-hyper-modifier, event-apply-shift-modifier)
19734 (event-apply-control-modifier, event-apply-meta-modifier):
19735 Mark unused parameters.
19736 (undo-make-selective-list): Remove duplicate variable `undo-elt'.
19737 (normal-erase-is-backspace-mode): Remove unused variable `old-state'.
19738
19739 * speedbar.el (speedbar-ignored-directory-expressions)
19740 (speedbar-supported-extension-expressions, speedbar-directory-buttons)
19741 (speedbar-find-file, speedbar-dir-follow)
19742 (speedbar-directory-buttons-follow, speedbar-tag-find)
19743 (speedbar-buffer-buttons, speedbar-buffer-buttons-temp)
19744 (speedbar-buffers-line-directory, speedbar-buffer-click):
19745 Mark unused parameters.
19746 (speedbar-tag-file): Remove unused variable `mode'.
19747 (speedbar-buffers-tail-notes): Remove unused variable `mod'; simplify.
19748
19749 * strokes.el (strokes-decode-buffer): Remove unused variable `ext'.
19750
19751 * talk.el (talk): Remove unused variable `display'.
19752
19753 * tar-mode.el (tar-subfile-save-buffer): Remove unused variable `name'.
19754 (tar-write-region-annotate): Mark unused parameter.
19755
19756 * time.el (now, time, load, mail, 24-hours, hour, 12-hours, am-pm)
19757 (minutes, seconds, time-zone, day, year, monthname, month, dayname):
19758 Declare them, wrapped in `with-no-warnings' to avoid replacing one
19759 warning by another.
19760
19761 * time-stamp.el (time-stamp-string-preprocess):
19762 Remove unused variable `require-padding'.
19763
19764 * tree-widget.el (widget-glyph-enable): Declare.
19765 (tree-widget-action): Mark unused parameter.
19766
19767 * w32-fns.el (x-get-selection): Mark unused parameter.
19768 (autoload-make-program, generated-autoload-file): Declare.
19769
19770 * wdired.el (wdired-revert): Mark unused parameters.
19771 (wdired-xcase-word): Remove unused variable `err'.
19772
19773 * whitespace.el (whitespace-buffer-changed): Mark unused parameters.
19774 (whitespace-help-scroll): Remove unused variable `data-help'.
19775
19776 * wid-edit.el (widget-mouse-help, widget-overlay-inactive)
19777 (widget-image-insert, widget-after-change, default)
19778 (widget-default-format-handler, widget-default-notify)
19779 (widget-default-prompt-value, widget-info-link-action)
19780 (widget-url-link-action, widget-function-link-action)
19781 (widget-variable-link-action, widget-file-link-action)
19782 (widget-emacs-library-link-action, widget-emacs-commentary-link-action)
19783 (widget-field-prompt-internal, widget-field-action, widget-field-match)
19784 (widget-choice-mouse-down-action, toggle, widget-radio-button-notify)
19785 (widget-insert-button-action, widget-delete-button-action, visibility)
19786 (widget-documentation-link-action, widget-documentation-string-action)
19787 (widget-const-prompt-value, widget-regexp-match, symbol)
19788 (widget-coding-system-prompt-value)
19789 (widget-key-sequence-value-to-external, sexp)
19790 (widget-sexp-value-to-internal, character, vector, cons)
19791 (widget-choice-prompt-value, widget-boolean-prompt-value)
19792 (widget-color--choose-action): Mark unused parameters.
19793 (widget-item-match-inline, widget-choice-match-inline)
19794 (widget-checklist-match, widget-checklist-match-inline)
19795 (widget-group-match): Rename parameter VALUES to VALS.
19796 (widget-field-value-set): Remove unused variable `size'.
19797 (widget-color-action): Remove unused variables `value' and `start'.
19798
19799 * windmove.el (windmove-wrap-loc-for-movement): Remove unused
bd0d2ee2 19800 variable `dir'. Doc fix.
06b60517
JB
19801 (windmove-find-other-window): Don't pass it.
19802
19803 * window.el (count-windows): Mark unused parameter.
19804 (bw-adjust-window): Remove unused variable `err'.
19805
19806 * woman.el (woman-file-name): Remove unused variable `default'.
19807 (woman-expand-directory-path): Rename parameters WOMAN-MANPATH and
19808 WOMAN-PATH to PATH-DIRS and PATH-REGEXPS, respectively.
19809 (global-font-lock-mode): Declare.
19810 (woman-decode-region): Mark unused parameter.
19811 (woman-get-tab-stop): Rename parameter TAB-STOP-LIST to TAB-STOPS.
19812
19813 * x-dnd.el (x-dnd-default-test-function, x-dnd-handle-old-kde)
19814 (x-dnd-handle-xdnd, x-dnd-handle-motif): Mark unused parameters.
19815 (x-dnd-handle-moz-url): Remove unused variable `title'.
19816 (x-dnd-handle-xdnd): Remove unused variables `x', `y' and `ret-action'.
19817
19818 * xml.el (xml-parse-tag, xml-parse-attlist):
19819 Remove unused variable `pos'.
19820
bc4f7f3d
GM
198212011-04-19 Glenn Morris <rgm@gnu.org>
19822
19823 * calendar/cal-tex.el (cal-tex-list-holidays, cal-tex-cursor-month)
19824 (cal-tex-cursor-week, cal-tex-cursor-week2, cal-tex-cursor-week-iso)
19825 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
19826 (cal-tex-cursor-filofax-daily, cal-tex-mini-calendar)
19827 * calendar/cal-html.el (cal-html-insert-minical):
19828 * calendar/diary-lib.el (diary-list-entries-1, diary-list-entries)
19829 (calendar-mark-date-pattern):
19830 Prefix "unused" locals.
19831
19832 * calendar/cal-dst.el (dst-adjust-time): Remove never-implemented
19833 optional argument `style'.
19834
19835 * calendar/appt.el (appt-make-list):
19836 * calendar/cal-china.el (calendar-chinese-date-string):
19837 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits)
19838 (diary-hebrew-yahrzeit):
19839 * calendar/cal-tex.el (cal-tex-last-blank-p, cal-tex-cursor-week2):
19840 * calendar/calendar.el (calendar-generate-window):
19841 * calendar/time-date.el (time-to-days):
19842 Remove unused local variables.
19843
16a43933
CY
198442011-04-18 Chong Yidong <cyd@stupidchicken.com>
19845
19846 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Use a custom
19847 glyphless-char-display table.
19848 (tabulated-list-glyphless-char-display): New var.
19849
7eed1860
SS
198502011-04-18 Sam Steingold <sds@gnu.org>
19851
19852 * vc/add-log.el (change-log-font-lock-keywords): Add "Thanks to"
19853 to acknowledgments.
19854
4d2d1ccd
GM
198552011-04-17 Glenn Morris <rgm@gnu.org>
19856
19857 * calendar/diary-lib.el (diary-sexp-entry):
19858 * calendar/holidays.el (holiday-sexp):
19859 Set debug-on-error rather than the removed stack-trace-on-error.
19860
239da61d
GM
198612011-04-16 Glenn Morris <rgm@gnu.org>
19862
19863 * progmodes/f90.el: Use lexical-binding.
19864 (f90-get-correct-indent): Remove unnecessary local variable `cont'.
19865
8b05752a
SM
198662011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
19867
daca8ba5
SM
19868 * mail/sendmail.el (mail-mode-map): Use completion-at-point.
19869 (mail-mode): Setup mailalias completion here instead.
19870 * mail/mailalias.el: Use lexical-binding.
19871 (pattern, mailalias-done): Declare dynamic.
19872 (mail-completion-at-point-function): New function, from mail-complete.
19873 (mail-complete): Use it.
19874 (mail-completion-expand): New function.
19875 (mail-get-names): Use it.
19876 (mail-directory, mail-directory-process, mail-directory-stream):
19877 Don't use `pattern' for lexically bound arg.
19878
6f542485
SM
19879 * emacs-lisp/lisp-mode.el (eval-defun-2): Use eval-sexp-add-defvars.
19880
037e7c3f
SM
19881 * htmlfontify.el (hfy-etags-cmd): Remove inoperant eval-and-compile.
19882 (hfy-e2x-etags-cmd, hfy-etags-cmd-alist-default)
19883 (hfy-etags-cmd-alist): Don't eval-and-compile any more.
19884
8b05752a
SM
19885 * emacs-lisp/bytecomp.el (byte-temp-output-buffer-show)
19886 (byte-save-window-excursion, byte-temp-output-buffer-setup)
19887 (byte-interactive-p): Define them again, for use when inlining
19888 old code.
19889
49093f60
JB
198902011-04-15 Juanma Barranquero <lekktu@gmail.com>
19891
19892 * loadup.el: Use `string-to-number', not `string-to-int'.
19893
b5b8e7de
SM
198942011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
19895
19896 * progmodes/gud.el (gud-gdb): Use completion-at-point instead of
19897 gud-gdb-complete-command.
19898 (gud-gdb-completions): New function, from gud-gdb-complete-command.
19899 (gud-gdb-completion-at-point): New function.
19900 (gud-gdb-completions): Remove.
19901
f42efeb5
MA
199022011-04-14 Michael Albinus <michael.albinus@gmx.de>
19903
49093f60
JB
19904 * net/tramp-sh.el (tramp-sh-handle-file-attributes): Handle the case
19905 when the scripts fail. Use `tramp-do-file-attributes-with-ls' then.
19906 (tramp-do-copy-or-rename-file-out-of-band): Do not check any longer
19907 whether `executable-find' is bound.
f42efeb5
MA
19908
19909 * net/tramp-smb.el (tramp-smb-handle-copy-file): Fix docstring.
19910
e240cc21
SM
199112011-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
19912
19913 * minibuffer.el (completion-in-region-mode-predicate)
19914 (completion-in-region-mode--predicate): New vars.
19915 (completion-in-region, completion-in-region--postch)
19916 (completion-in-region-mode): Use them.
19917 (completion--capf-wrapper): Also return the hook function.
19918 (completion-at-point, completion-help-at-point):
19919 Adjust and provide a predicate.
c2bd2ab0
SM
19920
19921 Preserve arg names for advice of subr and lexical functions (bug#8457).
19922 * help-fns.el (help-function-arglist): Consolidate the subr and
19923 new-byte-code cases. Add argument `preserve-names' to extract names
19924 from the docstring when needed.
19925 * emacs-lisp/advice.el (ad-define-subr-args, ad-undefine-subr-args)
19926 (ad-subr-args-defined-p, ad-get-subr-args, ad-subr-arglist): Remove.
19927 (ad-arglist): Use help-function-arglist's new arg.
19928 (ad-definition-type): Use cond.
19929
c183f693
JB
199302011-04-13 Juanma Barranquero <lekktu@gmail.com>
19931
06641a47
JB
19932 * autorevert.el (auto-revert-handler):
19933 Bind `remote-file-name-inhibit-cache', not `tramp-cache-inhibit-cache',
19934 which was removed in 2010-10-02T13:21:43Z!michael.albinus@gmx.de.
19935 Don't quote lambda.
19936
c183f693
JB
19937 * image-mode.el (image-transform-set-scale):
19938 Fix change in 2011-04-09T20:28:01Z!cyd@stupidchicken.com.
19939
1e3b6001
G
199402011-04-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
19941
19942 * net/network-stream.el (network-stream-open-starttls): Only do
e9fce1ac 19943 opportunistic STARTTLS upgrades if we have built-in GnuTLS support.
1e3b6001
G
19944 Upgrades via gnutls-cli are too slow to be done opportunistically.
19945
2d6af8dd
JB
199462011-04-12 Juanma Barranquero <lekktu@gmail.com>
19947
19948 * dframe.el (dframe-current-frame): Remove spurious quote.
19949
c0749a51
GM
199502011-04-12 Glenn Morris <rgm@gnu.org>
19951
088d0d61
GM
19952 * calendar/cal-tex.el (cal-tex-end-document):
19953 Try to automatically use latin1 input if needed.
19954
c0749a51
GM
19955 * calendar/cal-hebrew.el (diary-hebrew-rosh-hodesh):
19956 Don't try to cons a mark onto an empty element.
19957
5c90fde0
LL
199582011-04-11 Leo Liu <sdl.web@gmail.com>
19959
19960 * ido.el (ido-buffer-internal): Allow method 'kill for virtual
19961 buffers.
19962 (ido-kill-buffer-at-head): Support killing virtual buffers.
19963
369e974d
CY
199642011-04-10 Chong Yidong <cyd@stupidchicken.com>
19965
19966 * minibuffer.el (completion-show-inline-help): New var.
19967 (completion--do-completion, minibuffer-complete)
daca8ba5
SM
19968 (minibuffer-force-complete, minibuffer-complete-word):
19969 Inhibit minibuffer messages if completion-show-inline-help is nil.
369e974d
CY
19970
19971 * icomplete.el (icomplete-mode): Bind completion-show-inline-help
19972 to avoid interference from inline help (Bug#5849).
19973
37f1c930
LL
199742011-04-10 Leo Liu <sdl.web@gmail.com>
19975
099c39a4
JB
19976 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
19977 Fix typo.
37f1c930 19978
a32d4040
CY
199792011-04-09 Chong Yidong <cyd@stupidchicken.com>
19980
19981 * image-mode.el (image-toggle-display-image): Signal an error if
19982 not in Image mode.
19983 (image-transform-mode, image-transform-resize)
19984 (image-transform-set-rotation): Doc fix.
daca8ba5 19985 (image-transform-set-resize): Delete.
a32d4040
CY
19986 (image-transform-set-scale, image-transform-fit-to-height)
19987 (image-transform-fit-to-width): Handle image-toggle-display-image
19988 and image-transform-resize directly.
19989
099c39a4 199902011-04-08 Sho Nakatani <lay.sakura@gmail.com>
d7b89879
TH
19991
19992 * doc-view.el (doc-view-fit-width-to-window)
099c39a4
JB
19993 (doc-view-fit-height-to-window, doc-view-fit-page-to-window):
19994 New functions for fitting the shown image to the Emacs window size.
d7b89879
TH
19995 (doc-view-mode-map): Add bindings for the new functions.
19996
099c39a4 199972011-04-08 Juanma Barranquero <lekktu@gmail.com>
ddc20cdb 19998
4d61f28d 19999 * vc/vc-annotate.el (vc-annotate-show-log-revision-at-line):
ddc20cdb
JB
20000 Fix typo in docstring.
20001
3726838a
EZ
200022011-04-08 Eli Zaretskii <eliz@gnu.org>
20003
04f33f1e
EZ
20004 * files.el (file-size-human-readable): Produce one digit after
20005 decimal, like "ls -lh" does.
20006
20007 * ls-lisp.el (ls-lisp-format-file-size): Allow for 7 characters in
20008 the file size representation.
20009
3726838a
EZ
20010 * simple.el (list-processes): If async subprocesses are not
20011 available, error out with a clear error message.
20012
cbb59342
CY
200132011-04-08 Chong Yidong <cyd@stupidchicken.com>
20014
20015 * help.el (help-form-show): New function, to be called from C.
20016 Put help-form output in a buffer named differently than *Help*.
20017
e3971c44
EZ
200182011-04-08 Eli Zaretskii <eliz@gnu.org>
20019
20020 * files.el (file-size-human-readable): New function.
20021
20022 * ls-lisp.el (ls-lisp-format-file-size): Use it, instead of
20023 computing the representation inline. Don't require `cl'.
20024
12544bbe
GM
200252011-04-08 Glenn Morris <rgm@gnu.org>
20026
a1de6c6a
GM
20027 * man.el (Man-page-header-regexp): Solaris < 2.6 no longer supported.
20028
3c4671f4
GM
20029 * net/browse-url.el (browse-url-firefox):
20030 Test system-type, not system-configuration.
20031
b605679c
GM
20032 * vc/log-edit.el (log-edit-empty-buffer-p): New function.
20033 (log-edit-insert-cvs-template, log-edit-insert-cvs-rcstemplate):
20034 Use log-edit-empty-buffer-p. (Bug#7598)
20035
56442f0c
GM
20036 * net/rlogin.el (rlogin-process-connection-type): Simplify.
20037 (rlogin-mode-map): Initialize in the defvar.
20038 (rlogin): Use ignore-errors.
20039
12544bbe
GM
20040 * replace.el (occur-mode-map): Some fixes for menu items.
20041
eb237b0f
AH
200422011-04-07 Aaron S. Hawley <aaron.s.hawley@gmail.com>
20043
20044 * play/morse.el (denato-region): Handle varying case. (Bug#8386)
20045
7d668f2c
CY
200462011-04-06 Chong Yidong <cyd@stupidchicken.com>
20047
e67a13ab
CY
20048 * emacs-lisp/cconv.el (cconv--analyse-use): Ignore "ignored" when
20049 issuing unused warnings.
20050
20051 * emacs-lisp/tabulated-list.el (tabulated-list-print): Use lambda
20052 macro directly.
20053
7d668f2c
CY
20054 * simple.el: Lisp reimplement of list-processes. Based on an
20055 earlier reimplementation by Leo Liu, but using tabulated-list.el.
20056 (process-menu-mode): New major mode.
20057 (list-processes--refresh, list-processes):
20058 (process-menu-visit-buffer): New functions.
20059
20060 * files.el (save-buffers-kill-emacs): Don't assume any return
20061 value of list-processes, which is undocumented anyway.
20062
a83ec3c9
CY
200632011-04-06 Chong Yidong <cyd@stupidchicken.com>
20064
20065 * emacs-lisp/tabulated-list.el: New file.
20066
e91a96fe
CY
20067 * emacs-lisp/package.el: Use Tabulated List mode.
20068 (package-menu-mode-map): Inherit from tabulated-list-mode-map.
20069 (package-menu-mode): Derive from tabulated-list-mode. Set up the
20070 table format using Tabulated List mode variables.
20071 (package--push): New macro, replacing package-list-maybe-add.
20072 (package-menu--generate): Use package--push. Renamed from
20073 package--generate-package-list.
20074 (package-menu-refresh, list-packages): Use it.
daca8ba5 20075 (package-menu--print-info): Rename from package-print-package.
e91a96fe 20076 Return insertion data instead of inserting it directly.
099c39a4
JB
20077 (package-menu-describe-package, package-menu-execute):
20078 Use tabulated-list-get-id.
e91a96fe
CY
20079 (package-menu-mark-delete, package-menu-mark-install)
20080 (package-menu-mark-unmark, package-menu-backup-unmark)
099c39a4
JB
20081 (package-menu-mark-obsolete-for-deletion):
20082 Use tabulated-list-put-tag.
e91a96fe
CY
20083 (package--list-packages, package-menu-revert)
20084 (package-menu-get-package, package-menu-get-version)
20085 (package-menu-sort-by-column): Functions deleted.
20086 (package-menu-package-list, package-menu-sort-key): Vars deleted.
20087 (package-menu--status-predicate, package-menu--version-predicate)
20088 (package-menu--name-predicate)
20089 (package-menu--description-predicate): Handle arguments in the
20090 Tabulated List format.
20091 (package-list-packages-no-fetch): Call list-packages.
20092
3e214b50
JB
200932011-04-06 Juanma Barranquero <lekktu@gmail.com>
20094
20095 * files.el (after-find-file-from-revert-buffer): Remove variable.
c9d0ec6d 20096 (after-find-file): Don't bind it.
3e214b50
JB
20097 (revert-buffer-in-progress-p): New variable.
20098 (revert-buffer): Bind it.
20099 Pass nil for `after-find-file-from-revert-buffer'.
20100
20101 * saveplace.el (save-place-find-file-hook): Use new variable
20102 `rever-buffer-in-progress-p', not `after-find-file-from-revert-buffer'.
20103
3f0f1700
GM
201042011-04-06 Glenn Morris <rgm@gnu.org>
20105
c0274801
GM
20106 * Makefile.in (AUTOGEN_VCS): New variable.
20107 (autoloads): Use $AUTOGEN_VCS.
20108
3f0f1700
GM
20109 * calendar/cal-move.el (calendar-scroll-toolkit-scroll): New function.
20110 * calendar/calendar.el (calendar-mode-map):
20111 Check for toolkit scroll bars. (Bug#8305)
20112
41ea9e48
CY
201132011-04-05 Chong Yidong <cyd@stupidchicken.com>
20114
20115 * minibuffer.el (completion-in-region--postch)
20116 (completion-in-region-mode): Remove unnecessary messages.
20117
6194c800
JB
201182011-04-05 Juanma Barranquero <lekktu@gmail.com>
20119
33256f14
JB
20120 * font-lock.el (font-lock-refresh-defaults):
20121 Don't bind `hi-lock--inhibit-font-lock-hook', removed in
20122 2010-10-09T04:09:19Z!cyd@stupidchicken.com and 2010-10-11T23:57:49Z!lekktu@gmail.com (2010-10-12).
20123
6194c800
JB
20124 * info.el (Info-directory-list, Info-read-node-name-2)
20125 (Info-split-parameter-string): Doc fixes.
20126 (Info-virtual-nodes): Reflow docstring.
20127 (Info-find-file, Info-directory-toc-nodes, Info-history-toc-nodes)
20128 (Info-apropos-toc-nodes, info-finder, Info-get-token)
20129 (Info-find-emacs-command-nodes, Info-speedbar-key-map):
20130 Fix typos in docstrings.
20131 (Info-revert-buffer-function, Info-search, Info-isearch-pop-state)
20132 (Info-speedbar-hierarchy-buttons, Info-speedbar-goto-node)
20133 (Info-speedbar-buttons, Info-desktop-buffer-misc-data)
20134 (Info-restore-desktop-buffer): Mark unused parameters.
20135 (Info-directory-find-file, Info-directory-find-node)
20136 (Info-history-find-file, Info-history-find-node, Info-toc-find-node)
20137 (Info-virtual-index-find-node, Info-apropos-find-file)
20138 (Info-apropos-find-node, Info-finder-find-file, Info-finder-find-node):
33256f14 20139 Mark unused parameters; fix typos in docstrings.
6194c800
JB
20140 (Info-virtual-index): Remove unused local variable `nodename'.
20141
b87a8200 201422011-04-05 Deniz Dogan <deniz@dogan.se>
0f6ee7d2 20143
b87a8200
DD
20144 * net/rcirc.el: Update my e-mail address.
20145 (rcirc-mode-map): Remove M-o binding.
0f6ee7d2 20146
3b2ff876
CY
201472011-04-05 Chong Yidong <cyd@stupidchicken.com>
20148
20149 * startup.el (command-line): Save the cursor's theme-face
20150 directly, instead of using face-override-spec.
20151
20152 * custom.el (load-theme): Minor optimization in assigning faces.
20153
8d17e7ca
JB
201542011-04-04 Juanma Barranquero <lekktu@gmail.com>
20155
20156 * help-fns.el (describe-variable): Complete all variables having
20157 documentation, including keywords.
20158 http://lists.gnu.org/archive/html/emacs-devel/2011-04/msg00112.html
20159
2fbc1934
JB
201602011-04-04 Juanma Barranquero <lekktu@gmail.com>
20161
20162 Convert to lexical-binding.
20163
20164 * bs.el (bs-refresh, bs-sort-buffer-interns-are-last)
20165 (bs--get-marked-string, bs--get-modified-string)
20166 (bs--get-readonly-string, bs--get-size-string, bs--get-name)
20167 (bs--get-mode-name, bs--get-file-name): Mark unused arguments.
20168 (bs--configuration-name-for-prefix-arg): Rename argument PREFIX-ARG.
20169
20170 * ehelp.el (electric-help-execute-extended)
20171 (electric-help-ctrl-x-prefix):
20172 * hexl.el (hexl-revert-buffer-function):
20173 * linum.el (linum-after-change, linum-after-scroll):
20174 * emacs-lisp/re-builder.el (reb-auto-update): Mark unused arguments.
20175
20176 * help-fns.el (help-describe-category-set): Remove unused ERR variable.
20177
74f50695
DU
201782011-04-04 Daiki Ueno <ueno@unixuser.org>
20179
20180 * epa-dired.el:
20181 * epa-mail.el:
20182 * epa-hook.el:
20183 * epa-file.el:
20184 * epa.el:
20185 * epg.el: Use lexical binding.
20186
c11325f7
CY
201872011-04-03 Chong Yidong <cyd@stupidchicken.com>
20188
0d9e9a12
CY
20189 * dired-aux.el (dired-create-files): Add docstring (Bug#7970).
20190
c11325f7 20191 * textmodes/flyspell.el (flyspell-word): Recognize default
daca8ba5
SM
20192 dictionary case for flyspell-mark-duplications-exceptions.
20193 Use regexp matching for languages.
c11325f7
CY
20194 (flyspell-mark-duplications-exceptions): Add "that" and "had" for
20195 default dictionary (Bug#7926).
20196
da91b5f2
CY
201972011-04-02 Chong Yidong <cyd@stupidchicken.com>
20198
099c39a4
JB
20199 * emacs-lisp/package.el (package--with-work-buffer):
20200 Recognize https URLs.
da91b5f2 20201
099c39a4
JB
20202 * net/network-stream.el: Move from gnus/proto-stream.el.
20203 Change prefix to network-stream throughout.
da91b5f2
CY
20204 (open-protocol-stream): Merge into open-network-stream, leaving
20205 open-protocol-stream as an alias. Handle nil BUFFER args.
20206
20207 * subr.el (open-network-stream): Move to net/network-stream.el.
20208
afa8e9f6
GM
202092011-04-02 Glenn Morris <rgm@gnu.org>
20210
1d2e369d
GM
20211 * find-dired.el (find-exec-terminator): New option.
20212 (find-ls-option): Test for -ls support.
20213 (find-ls-subdir-switches): Test for -b in find-ls-option.
20214 (find-dired, find-grep-dired): Doc fixes.
20215 (find-dired): Use find-exec-terminator.
20216
8abb7da8 20217 * find-dired.el (find-ls-option, find-ls-subdir-switches)
e7a395b5
GM
20218 (find-grep-options): Do not autoload these defcustoms, remove purecopy.
20219 (find-name-arg): Remove purecopy.
8abb7da8 20220
f3ca7378
GM
20221 * progmodes/grep.el (grep-find-use-xargs): Doc fix.
20222 (grep-compute-defaults): Check for `-exec COMMAND +' support.
20223 Set grep-find-use-xargs, grep-find-command, and grep-find-template
20224 accordingly. Don't add the null-device if not needed.
20225
afa8e9f6
GM
20226 * files.el (save-some-buffers): Doc fix.
20227
35eae264
EZ
202282011-04-02 Eli Zaretskii <eliz@gnu.org>
20229
20230 * makefile.w32-in (EMACS): Default to ../src/$(BLD)/emacs.exe.
20231
26b51db5
JB
202322011-04-01 Juanma Barranquero <lekktu@gmail.com>
20233
20234 * progmodes/idlwave.el (idlwave-one-key-select, idlwave-list-abbrevs):
20235 Use `dolist' rather than `mapcar'.
20236
7200d79c
SM
202372011-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
20238
03408648 20239 Add lexical binding.
7200d79c 20240
03408648
SM
20241 * subr.el (apply-partially): Use new closures rather than CL.
20242 (--dolist-tail--, --dotimes-limit--): Don't declare dynamic.
20243 (dolist, dotimes): Use slightly different expansion for lexical code.
20244 (functionp): Move to C.
20245 (letrec): New macro.
20246 (with-wrapper-hook): Use it and apply-partially instead of CL.
20247 (eval-after-load): Preserve lexical-binding.
20248 (save-window-excursion, with-output-to-temp-buffer): Turn them
20249 into macros.
7200d79c 20250
03408648
SM
20251 * simple.el (with-wrapper-hook, apply-partially): Move to subr.el.
20252
20253 * help-fns.el (help-split-fundoc): Return nil if there's nothing else
20254 than the arglist.
20255 (help-add-fundoc-usage): Don't add `Not documented'.
20256 (help-function-arglist): Handle closures, subroutines, and new
20257 byte-code-functions.
20258 (help-make-usage): Remove leading underscores.
20259 (describe-function-1): Handle closures.
20260 (describe-variable): Use special-variable-p for completion.
20261
20262 * files.el (lexical-binding): Declare safe.
f488fb65 20263
03408648
SM
20264 * emacs-lisp/pcase.el: Don't use destructuring-bind.
20265 (pcase--memoize): Rename from pcase-memoize. Change weakness.
20266 (pcase): Add `let' pattern.
20267 Change memoization so it actually works.
20268 (pcase-mutually-exclusive-predicates): Add byte-code-function-p.
20269 (pcase--u1) <guard, pred>: Fix possible shadowing problem.
20270 <let>: New case.
f488fb65 20271
03408648
SM
20272 * emacs-lisp/macroexp.el: Use lexical binding.
20273 (macroexpand-all-1): Check obsolete macros. Expand compiler-macros.
20274 Don't convert ' to #' without checking that it's indeed quoting
20275 a lambda.
20276
20277 * emacs-lisp/lisp-mode.el (eval-last-sexp-1):
f488fb65 20278 Use eval-sexp-add-defvars.
03408648
SM
20279 (eval-sexp-add-defvars): New fun.
20280
20281 * emacs-lisp/float-sup.el (pi): Don't declare as dynamically bound.
20282
20283 * emacs-lisp/eieio.el (byte-compile-file-form-defmethod):
20284 Don't autoload.
20285 (eieio-defgeneric-form-primary-only-one): Use `byte-compile' rather
20286 than the internal `byte-compile-lambda'.
20287 (defmethod): Don't hide code under quotes.
20288 (eieio-defmethod): New `code' argument.
20289
20290 * emacs-lisp/eieio-comp.el: Remove.
20291
20292 * emacs-lisp/edebug.el (edebug-eval-defun)
20293 (edebug-eval-top-level-form): Use eval-sexp-add-defvars.
20294 (edebug-toggle): Avoid `eval'.
20295
20296 * emacs-lisp/disass.el (disassemble-internal): Handle new
20297 `closure' objects.
20298 (disassemble-1): Handle new byte codes.
20299
20300 * emacs-lisp/cl.el (pushnew): Silence warning.
20301
20302 * emacs-lisp/cl-macs.el (cl-byte-compile-block)
20303 (cl-byte-compile-throw): Remove.
20304 (cl-block-wrapper, cl-block-throw): Use compiler-macros instead.
20305
20306 * emacs-lisp/cl-extra.el (cl-macroexpand-all): Properly quote CL
20307 closures.
20308
20309 * emacs-lisp/cconv.el: New file.
20310
20311 * emacs-lisp/bytecomp.el: Use lexical binding instead of
20312 a "bytecomp-" prefix. Macroexpand everything as a separate phase.
20313 (byte-compile-initial-macro-environment):
20314 Handle declare-function here.
20315 (byte-compile--lexical-environment): New var.
20316 (byte-stack-ref, byte-stack-set, byte-discardN)
20317 (byte-discardN-preserve-tos): New lap codes.
20318 (byte-interactive-p): Don't use any more.
20319 (byte-compile-push-bytecodes, byte-compile-push-bytecode-const2):
20320 New macros.
20321 (byte-compile-lapcode): Use them and handle new lap codes.
20322 (byte-compile-obsolete): Remove.
20323 (byte-compile-arglist-signature): Handle new byte-code arg"lists".
20324 (byte-compile-arglist-warn): Check late def of inlinable funs.
20325 (byte-compile-cl-warn): Don't silence warnings for compiler-macros
20326 since they should have been expanded by now.
20327 (byte-compile--outbuffer): Rename from bytecomp-outbuffer.
20328 (byte-compile-from-buffer): Remove unused second arg.
20329 (byte-compile-preprocess): New function.
20330 (byte-compile-toplevel-file-form): New function to distinguish
20331 file-form calls from outside from file-form calls from hunk-handlers.
20332 (byte-compile-file-form): Simplify.
20333 (byte-compile-file-form-defsubst): Remove.
20334 (byte-compile-file-form-defmumble): Simplify now that
20335 byte-compile-lambda always returns a byte-code-function.
20336 (byte-compile): Preprocess.
20337 (byte-compile-byte-code-maker, byte-compile-byte-code-unmake):
20338 Remove, not used any more.
20339 (byte-compile-arglist-vars, byte-compile-make-lambda-lexenv)
20340 (byte-compile-make-args-desc): New funs.
20341 (byte-compile-lambda): Handle lexical functions. Always return
20342 a byte-code-function.
20343 (byte-compile-reserved-constants): New var, to make up room for
20344 closed-over variables.
20345 (byte-compile-constants-vector): Obey it.
20346 (byte-compile-top-level): New args `lexenv' and `reserved-csts'.
20347 (byte-compile-macroexpand-declare-function): New function.
20348 (byte-compile-form): Call byte-compile-unfold-bcf to inline immediate
20349 byte-code-functions.
20350 (byte-compile-form): Check obsolescence here.
20351 (byte-compile-inline-lapcode, byte-compile-unfold-bcf): New functions.
20352 (byte-compile-variable-ref): Remove.
20353 (byte-compile-dynamic-variable-op): New fun.
20354 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
20355 (byte-compile-variable-set): New funs.
20356 (byte-compile-discard): Add 2 args.
20357 (byte-compile-stack-ref, byte-compile-stack-set)
20358 (byte-compile-make-closure, byte-compile-get-closed-var): New funs.
20359 (byte-compile-funarg, byte-compile-funarg-2): Remove, handled in
20360 macroexpand-all instead.
20361 (byte-compile-quote-form): Remove.
20362 (byte-compile-push-binding-init, byte-compile-not-lexical-var-p)
20363 (byte-compile-bind, byte-compile-unbind): New funs.
20364 (byte-compile-let): Handle let* and lexical binding.
20365 (byte-compile-let*): Remove.
20366 (byte-compile-catch, byte-compile-unwind-protect)
20367 (byte-compile-track-mouse, byte-compile-condition-case):
20368 Handle a new :fun-body form, used for lexical scoping.
20369 (byte-compile-save-window-excursion)
20370 (byte-compile-with-output-to-temp-buffer): Remove.
20371 (byte-compile-defun): Simplify.
20372 (byte-compile-stack-adjustment): New fun.
20373 (byte-compile-out): Use it.
20374 (byte-compile-refresh-preloaded): Don't reload byte-compiler files.
20375
20376 * emacs-lisp/byte-run.el (make-obsolete): Don't set the `byte-compile'
20377 handler any more.
20378
20379 * emacs-lisp/byte-opt.el: Use lexical binding.
20380 (byte-inline-lapcode): Remove (to bytecomp).
20381 (byte-compile-inline-expand): Pay attention to inlining to/from
20382 lexically bound code.
20383 (byte-compile-unfold-lambda): Don't handle byte-code-functions
20384 any more.
20385 (byte-optimize-form-code-walker): Don't handle save-window-excursion
20386 any more and don't call compiler-macros.
20387 (byte-compile-splice-in-already-compiled-code): Remove.
20388 (byte-code): Don't inline any more.
20389 (disassemble-offset): Receive `bytes' as argument rather than via
20390 dynamic scoping.
20391 (byte-compile-tag-number): Declare before first use.
20392 (byte-decompile-bytecode-1): Handle new byte-codes, don't change
20393 `return' even if make-spliceable.
20394 (byte-compile-side-effect-and-error-free-ops): Add stack-ref, remove
20395 obsolete interactive-p.
20396 (byte-optimize-lapcode): Optimize new lap-codes.
20397 Don't trip up on new form of `byte-constant' lap code.
20398
20399 * emacs-lisp/autoload.el (make-autoload): Don't burp on trivial macros.
20400
20401 * emacs-lisp/advice.el (ad-arglist): Use help-function-arglist.
20402
20403 * custom.el (custom-initialize-default, custom-declare-variable):
20404 Use `defvar'.
20405
20406 * Makefile.in (BIG_STACK_DEPTH, BIG_STACK_OPTS, BYTE_COMPILE_FLAGS):
20407 New variables.
20408 (compile-onefile, .el.elc, compile-calc, recompile): Use them.
20409 (COMPILE_FIRST): Add macroexp and cconv.
20410 * makefile.w32-in: Mirror changes in Makefile.in.
20411
20412 * vc/cvs-status.el:
20413 * vc/diff-mode.el:
20414 * vc/log-edit.el:
20415 * vc/log-view.el:
20416 * vc/smerge-mode.el:
20417 * textmodes/bibtex-style.el:
090bd7cb 20418 * textmodes/css-mode.el:
03408648
SM
20419 * startup.el:
20420 * uniquify.el:
da91b5f2
CY
20421 * minibuffer.el:
20422 * newcomment.el:
20423 * reveal.el:
20424 * server.el:
20425 * mpc.el:
20426 * emacs-lisp/smie.el:
20427 * doc-view.el:
20428 * dired.el:
03408648
SM
20429 * abbrev.el: Use lexical binding.
20430
0f0c1f27
EZ
204312011-04-01 Eli Zaretskii <eliz@gnu.org>
20432
20433 * info.el (info-display-manual): New function.
20434
c82b2579
SM
204352011-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
20436
20437 * loadup.el: Load minibuffer after loaddefs, to use define-minor-mode.
20438
221ddf68
TH
204392011-03-31 Tassilo Horn <tassilo@member.fsf.org>
20440
20441 * net/rcirc.el (rcirc-handler-001): Only authenticate, if there's
2fbc1934 20442 an entry for that server in rcirc-authinfo. (Bug#8385)
221ddf68 20443
cba6e77e
GM
204442011-03-31 Glenn Morris <rgm@gnu.org>
20445
e040639f
GM
20446 * progmodes/f90.el (f90-find-tag-default): Handle multiple `%'.
20447
cba6e77e
GM
20448 * generic-x.el (etc-fstab-generic-mode): Add ext4, sysfs keywords.
20449
6d0f1c9e
CS
204502011-03-30 Christoph Scholtes <cschol2112@googlemail.com>
20451
20452 * progmodes/python.el (python-default-interpreter)
20453 (python-python-command-args, python-jython-command-args)
20454 (python-which-shell, python-which-args, python-which-bufname)
20455 (python-file-queue, python-comint-output-filter-function)
20456 (python-toggle-shells, python-shell): Remove obsolete defcustoms,
20457 variables and functions.
20458
3e2d70fd
SM
204592011-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
20460
20461 * minibuffer.el (completion-table-dynamic): Optimize `boundaries'.
20462 (completion-in-region-mode): New minor mode.
20463 (completion-in-region): Use it.
20464 (completion-in-region--data, completion-in-region-mode-map): New vars.
20465 (completion-in-region--postch): New function.
20466 (completion--capf-misbehave-funs, completion--capf-safe-funs):
20467 New vars.
20468 (completion--capf-wrapper): New function.
20469 (completion-at-point): Use it to track well-behavedness of
20470 hook functions.
20471 (completion-help-at-point): New command.
20472
f3e4086c
JM
204732011-03-30 Jason Merrill <jason@redhat.com> (tiny change)
20474
20475 * vc/add-log.el (add-change-log-entry): Don't use whitespace
20476 syntax class to search for whitespace on a single line
20477 (Message-ID: <4D938140.4030905@redhat.com>).
20478
eb7ffc14
LL
204792011-03-30 Leo Liu <sdl.web@gmail.com>
20480
20481 * abbrev.el (abbrev-edit-save-to-file, abbrev-edit-save-buffer):
20482 New commands.
20483 (edit-abbrevs-map): Bind them here.
20484 (write-abbrev-file): New optinal arg VERBOSE. (Bug#5937)
20485
d806ab68
KM
204862011-03-29 Ken Manheimer <ken.manheimer@gmail.com>
20487
20488 * allout.el (allout-hide-by-annotation, allout-flag-region):
20489 Reduce possibility of overlay leakage by making them volatile.
20490
20491 * allout-widgets.el (allout-widgets-tally): Define as nil so the
20492 hash is not shared between buffers. Mode initialization is
20493 responsible for giving it a useful starting value.
20494 (allout-item-span): Reduce possibility of overlay leakage by
20495 making them volatile.
20496 (allout-widgets-count-buttons-in-region): Add diagnostic function
20497 for tracking down button overlay leaks.
20498
ea622834
LL
204992011-03-29 Leo Liu <sdl.web@gmail.com>
20500
20501 * ido.el (ido-read-internal): Use the default history var
20502 minibuffer-history if no HISTORY is specified.
20503
b62f8267
G
205042011-03-28 Brian T. Sniffen <bsniffen@akamai.com> (tiny change)
20505
03408648
SM
20506 * net/imap.el (imap-shell-open, imap-process-connection-type):
20507 Use imap-process-connection-type for 'shell' streams as well as
b62f8267
G
20508 Kerberos, SSL, other subprocesses.
20509
947b6566
LL
205102011-03-28 Leo Liu <sdl.web@gmail.com>
20511
20512 * abbrev.el (abbrev-table-empty-p): New function.
20513 (prepare-abbrev-list-buffer): Place empty abbrev tables after
20514 nonempty ones. (Bug#5937)
20515
5ffb62aa
JD
205162011-03-27 Jan Djärv <jan.h.d@swipnet.se>
20517
20518 * cus-start.el (all): Add boolean ns-auto-hide-menu-bar.
20519
7a097943
LL
205202011-03-27 Leo Liu <sdl.web@gmail.com>
20521
20522 * ansi-color.el (ansi-color-names-vector): Allow cons cell value
20523 for foreground and background colors.
20524 (ansi-color-make-color-map): Adapt.
20525
c5b40130
LL
205262011-03-25 Leo Liu <sdl.web@gmail.com>
20527
1f48f7d2
LL
20528 * midnight.el (midnight-time-float): Remove. Note it calculates
20529 the microsecond component incorrectly and seconds-to-time does the
20530 same job.
625897ec 20531 Remove redundant (require 'timer).
1f48f7d2 20532
c5b40130
LL
20533 * ido.el (ido-read-internal): Simplify with read-from-minibuffer.
20534 (ido-completions): Remove unused arguments. (Bug#8329)
20535
d86d2721
SM
205362011-03-24 Stefan Monnier <monnier@iro.umontreal.ca>
20537
20538 * minibuffer.el (completion--flush-all-sorted-completions):
20539 Remove itself from hook.
20540 (completion-at-point): Let the functions perform the completion
20541 immediately and return nil or t.
20542 * comint.el (comint-dynamic-complete-functions): Now identical to
20543 completion-at-point-functions.
20544 (comint-dynamic-list-input-ring): Remove unused var `index'.
20545 (comint--match-partial-filename, comint--unquote&expand-filename):
20546 New funs, split from comint-match-partial-filename.
20547 (comint-dynamic-complete): Use completion-at-point.
20548 (comint-dynamic-complete-filename): Use comint--match-partial-filename.
20549
e8974c48
DA
205502011-03-24 Drew Adams <drew.adams@oracle.com>
20551
20552 * thingatpt.el: Support `defun'.
20553
def71b5e
LL
205542011-03-23 Leo Liu <sdl.web@gmail.com>
20555
cb5af48e
LL
20556 * abbrevlist.el: Move to obsolete/abbrevlist.el.
20557
def71b5e
LL
20558 * help-mode.el (help-mode-finish): Tweak regexp.
20559
927c53e7
GM
205602011-03-23 Glenn Morris <rgm@gnu.org>
20561
18d05bed
GM
20562 * eshell/esh-opt.el (eshell-eval-using-options):
20563 Do not bind unused local variable `eshell-option-stub'.
20564
927c53e7
GM
20565 * progmodes/gdb-mi.el (gdb): Fix typo in previous change.
20566
9d0da923
JB
205672011-03-22 Juanma Barranquero <lekktu@gmail.com>
20568
20569 * emacs-lisp/derived.el (define-derived-mode): Wrap declaration of
20570 keymap variable in `with-no-warnings' to avoid a warning when the
20571 keymap has been already `defconst'ed.
20572
4b978a67
LL
205732011-03-22 Leo Liu <sdl.web@gmail.com>
20574
20575 * abbrev.el (write-abbrev-file): Use utf-8 for writing if it can
20576 encode all chars in abbrevs; otherwise use emacs-mule or
20577 utf-8-emacs. (Bug#8308)
20578
5fd62452
JB
205792011-03-22 Juanma Barranquero <lekktu@gmail.com>
20580
0b1596c6
JB
20581 * simple.el (backward-delete-char-untabify):
20582 Avoid warning about using `delete-backward-char'.
20583
5fd62452
JB
20584 * image.el (image-type-file-name-regexps): Make it variable.
20585 `imagemagick-register-types' modifies it, and the user may want
20586 to add new extensions for known image types.
20587 (imagemagick-register-types): Throw error if not using ImageMagick.
20588
0b4e93f1
LL
205892011-03-22 Leo Liu <sdl.web@gmail.com>
20590
20591 * net/rcirc.el (rcirc-completion-at-point): Return nil if point is
20592 located before rcirc-prompt-end-marker.
20593 (rcirc-complete): Error if point is not after rcirc prompt.
20594 Handle the case when table is nil.
9882e214 20595 (rcirc-user-authenticated): Define to fix compiler warning.
0b4e93f1 20596
fccee4ab
CY
205972011-03-22 Chong Yidong <cyd@stupidchicken.com>
20598
20599 * custom.el (custom--inhibit-theme-enable): Make it affect only
20600 custom-theme-set-variables and custom-theme-set-faces.
20601 (provide-theme): Ignore custom--inhibit-theme-enable.
20602 (load-theme): Enable the theme explicitly if NO-ENABLE is non-nil.
20603 (custom-enabling-themes): Delete variable.
d86d2721
SM
20604 (enable-theme): Accept only loaded themes as arguments.
20605 Ignore the special custom-enabled-themes variable.
fccee4ab
CY
20606 (custom-enabled-themes): Forbid themes from setting this.
20607 Eliminate use of custom-enabling-themes.
20608 (custom-push-theme): Quote "changed" custom var entry.
0357c7ae 20609
af896da6
LL
206102011-03-21 Leo Liu <sdl.web@gmail.com>
20611
20612 * ido.el (ido-read-internal): Add ido-selected to history instead
20613 of user input.
20614
78f64af0
SM
206152011-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
20616
20617 * subr.el (deferred-action-list, deferred-action-function):
20618 Mark obsolete.
20619
b16ac1ec
LL
206202011-03-21 Leo Liu <sdl.web@gmail.com>
20621
810f7698
LL
20622 * vc/log-view.el: Remove (require 'wid-edit), not needed after the
20623 change on 2011-02-13 (bug#8309).
20624
b16ac1ec
LL
20625 * minibuffer.el (read-file-name-function): Change default value.
20626 (read-file-name--defaults): Rename from read-file-name-defaults.
20627 (read-file-name-default): Rename from read-file-name.
20628 (read-file-name): Call read-file-name-function.
20629
4e05e67e
GM
206302011-03-21 Glenn Morris <rgm@gnu.org>
20631
20632 * eshell/esh-opt.el (eshell-eval-using-options, eshell-process-args):
20633 Doc fixes.
20634
4359915b
CY
206352011-03-21 Chong Yidong <cyd@stupidchicken.com>
20636
20637 * cus-theme.el: Add missing provide statement.
20638 (customize-create-theme): Extract theme value correctly.
20639 (custom-theme-visit-theme): Autoload.
20640 (customize-create-theme): Prompt before inserting default faces.
20641
1fe275ee
JB
206422011-03-20 Jay Belanger <jay.p.belanger@gmail.com>
20643
20644 * calc/calc-menu.el (calc-units-menu): Add entries for logarithmic
20645 units and musical notes.
20646
cd394be1 206472011-03-20 Leo Liu <sdl.web@gmail.com>
3ec03f7e
LL
20648
20649 * ido.el (ido-read-internal): Use completing-read-default.
20650 (ido-completing-read): Fix compatibility with completing-read.
20651
7d476bde
CO
206522011-03-20 Christian Ohler <ohler@gnu.org>
20653
20654 * emacs-lisp/ert.el (ert-run-tests-batch): Remove unused variable.
20655 (ert-delete-all-tests): Use `called-interactively-p' rather than
20656 `interactive-p'.
20657 (ert--make-xrefs-region): Respect END.
20658
fe0fb33e
CY
206592011-03-19 Chong Yidong <cyd@stupidchicken.com>
20660
ff854b0b
CY
20661 * dired-aux.el (dired-create-directory): Signal an error if the
20662 directory already exists (Bug#8246).
20663
fe0fb33e
CY
20664 * facemenu.el (list-colors-display): Call list-faces-display
20665 inside with-help-window.
20666 (list-colors-print): Use display property to align the final
20667 column, instead of checking window-width.
20668
576bce32
EZ
206692011-03-19 Eli Zaretskii <eliz@gnu.org>
20670
4d61f28d 20671 * vc/emerge.el (emerge-metachars): Separate value for ms-dos and
576bce32
EZ
20672 windows-nt systems.
20673 (emerge-protect-metachars): Quote correctly for ms-dos and
20674 windows-nt systems.
20675
89c41d68 206762011-03-19 Ralph Schleicher <rs@ralph-schleicher.de>
e6ce307c
RS
20677
20678 * info.el (info-initialize): Replace all uses of `:' with
20679 path-separator for compatibility with non-Unix systems.
20680 Cache quoting of path-separator. (Bug#8258)
20681
b14e3e21 206822011-03-19 Juanma Barranquero <lekktu@gmail.com>
ad22b7f7
JB
20683
20684 * avoid.el (mouse-avoidance-mode, mouse-avoidance-nudge-dist)
20685 (mouse-avoidance-threshold, mouse-avoidance-banish-destination)
20686 (mouse-avoidance-mode): Fix typos in docstrings.
20687
4525ce3e
CY
206882011-03-19 Chong Yidong <cyd@stupidchicken.com>
20689
20690 * startup.el (package-subdirectory-regexp): Move from package.el.
20691 Omit \\` and \\', and let callers add them.
20692
20693 * emacs-lisp/package.el (package-strip-version)
20694 (package-load-all-descriptors): Add \\` and \\' to
20695 package-subdirectory-regexp before using it.
20696 (package-untar-buffer): New arg DIR; ensure that file untars only
20697 into this expected directory. Remove superfluous delete-region.
20698 (package-unpack): Caller changed.
20699 (package-tar-file-info): Use package-subdirectory-regexp.
20700
a904a09a 207012011-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
1518e4f0 20702
a904a09a
SM
20703 * vc/diff-mode.el (diff-mode-map): Shadow problematic bindings from
20704 diff-mode-shared-map (bug#8284).
20705 (diff-mode-shared-map): Re-introduce some bindings that were problematic.
1518e4f0
G
20706
207072011-03-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
20708
20709 * calendar/time-date.el (format-seconds): Use assoc instead of
20710 assoc-string, since assoc-string doesn't exist in XEmacs.
20711
171fc304
JB
207122011-03-17 Juanma Barranquero <lekktu@gmail.com>
20713
20714 * custom.el (custom-known-themes): Reflow docstring.
20715 (custom-theme-load-path): Fix typo in docstring.
20716 (load-theme): Fix typo in error message.
20717 (custom-available-themes, custom-variable-theme-value):
20718 Use `let', not `let*'.
20719
d71990a1
JB
207202011-03-17 Jay Belanger <jay.p.belanger@gmail.com>
20721
20722 * calc/README: Mention inclusion of musical notes.
20723
20724 * calc/calc-units.el (calc-lu-quant): Rename from
20725 `calc-logunits-quantity'.
20726 (calcFunc-lupquant): Rename from `calcFunc-powerquant'.
20727 (calcFunc-lufquant): Rename from `calcFunc-fieldquant'.
20728 (calc-db): Rename from `calc-dblevel'.
20729 (calcFunc-dbpower): Rename from `calcFunc-dbpowerlevel'.
20730 (calcFunc-dbfield): Rename from `calcFunc-dbfieldlevel'.
20731 (calc-np): Rename from `calc-nplevel'.
20732 (calcFunc-nppower): Rename from `calcFunc-nppowerlevel'.
20733 (calcFunc-npfield): Rename from `calcFunc-npfieldlevel'.
20734 (calc-lu-plus): Rename from `calc-logunits-add'.
20735 (calcFunc-lupadd): Rename from `calcFunc-lupoweradd'.
20736 (calcFunc-lufadd): Rename from `calcFunc-lufieldadd'.
20737 (calc-lu-minus): Rename from `calc-logunits-sub'.
20738 (calcFunc-lupsub): Rename from `calcFunc-lupowersub'.
20739 (calcFunc-lufsub): Rename from `calcFunc-lufieldsub'.
20740 (calc-lu-times): Rename from `calc-logunits-mul'.
20741 (calcFunc-lupmul): Rename from `calcFunc-lupowermul'.
20742 (calcFunc-lufmul): Rename from `calcFunc-lufieldmul'.
20743 (calc-lu-divide): Rename from `calc-logunits-div'.
20744 (calcFunc-lupdiv): Rename from `calcFunc-lupowerdiv'.
20745 (calcFunc-lufdiv): Rename from `calcFunc-lufielddiv'.
20746
20747 * calc/calc-ext.el (calc-init-extensions): Update the names of the
20748 functions being autoloaded.
20749
20750 * calc/calc.el (calc-lu-power-reference): Rename from
20751 `calc-logunits-power-reference'.
20752 (calc-lu-field-reference): Rename from
20753 `calc-logunits-field-reference'.
20754
7a71b18d
GM
20755 * calc/calc-help.el (calc-l-prefix-help):
20756 Mention musical note functions.
d71990a1 20757
40c2934b
SM
207582011-03-17 Stefan Monnier <monnier@iro.umontreal.ca>
20759
20760 * minibuffer.el (completion-all-sorted-completions):
20761 Use :completion-cycle-penalty text property if present.
20762
b0911414
KM
207632011-03-16 Ken Manheimer <ken.manheimer@gmail.com>
20764
20765 * allout.el (allout-yank-processing): Adjust for new rebulleting
20766 regime so bullet being yanked is used without prompting the user
20767 for a choice.
20768
8a05b668
JB
207692011-03-16 Juanma Barranquero <lekktu@gmail.com>
20770
20771 * startup.el (command-line): Warn the user that _emacs is deprecated.
20772
5ba5fb81
JB
207732011-03-16 Juanma Barranquero <lekktu@gmail.com>
20774
20775 * progmodes/delphi.el (delphi-search-path, delphi-indent-level)
20776 (delphi-verbose, delphi-comment-face, delphi-string-face)
20777 (delphi-keyword-face, delphi-ignore-changes, delphi-indent-line)
20778 (delphi-mode-abbrev-table, delphi-debug-buffer, delphi-tab)
20779 (delphi-find-unit, delphi-find-current-xdef, delphi-fill-comment)
20780 (delphi-new-comment-line, delphi-font-lock-defaults)
20781 (delphi-debug-mode-map, delphi-mode-syntax-table, delphi-mode):
20782 Fix typos in docstrings.
20783
2dab465b
KM
207842011-03-15 Ken Manheimer <ken.manheimer@gmail.com>
20785
5ba5fb81 20786 * allout.el (allout-make-topic-prefix, allout-rebullet-heading):
2dab465b
KM
20787 Invert the roles of character and string values for INSTEAD, so a
20788 string is used for the more common case of a defaulting prompt.
20789
0adf5618
SM
207902011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
20791
20792 * progmodes/ruby-mode.el (ruby-backward-sexp):
20793 * progmodes/ebrowse.el (ebrowse-draw-file-member-info):
20794 * play/gamegrid.el (gamegrid-make-face):
20795 * play/bubbles.el (bubbles--grid-width, bubbles--grid-height)
20796 (bubbles--colors, bubbles--shift-mode, bubbles--initialize-images):
20797 * notifications.el (notifications-notify):
20798 * net/xesam.el (xesam-search-engines):
20799 * net/quickurl.el (quickurl-list-insert):
20800 * vc/vc-hg.el (vc-hg-dir-printer): Fix use of case.
20801
d72700e5
CY
208022011-03-15 Chong Yidong <cyd@stupidchicken.com>
20803
20804 * startup.el (command-line): Update package subdirectory regexp.
20805
49c5410a
SM
208062011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
20807
c6eee9aa
SM
20808 * allout.el (allout-abbreviate-flattened-numbering)
20809 (allout-mode-deactivate-hook): Fix up obsolescence "date".
20810
49c5410a
SM
20811 * subr.el (read-char-choice): Only show the cursor after the prompt,
20812 not after the answer.
20813
047b2bb9
KR
208142011-03-15 Kevin Ryde <user42@zip.com.au>
20815
20816 * help-fns.el (variable-at-point): Skip leading quotes, if any
20817 (bug#8253).
20818
0a57d256
SM
208192011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
20820
20821 * emacs-lisp/bytecomp.el (byte-compile-save-excursion): Change the
20822 warning message.
20823
77c992bc
MA
208242011-03-14 Michael Albinus <michael.albinus@gmx.de>
20825
20826 * shell.el (shell): When called interactively, offer to change the
20827 shell file name on remote hosts.
20828
eebc475d
TZ
208292011-03-13 Teodor Zlatanov <tzz@lifelogs.com>
20830
20831 * net/ldap.el (ldap-search-internal): Add `auth-source-search'
20832 integration for LDAP parameters. The host, base, user or binddn,
20833 and secret tokens can be specified in a netrc file, for instance.
20834 This is optional because an `auth-source' parameter must be
20835 specified in the search attributes.
20836
9d05d1ba
JB
208372011-03-13 Juanma Barranquero <lekktu@gmail.com>
20838
20839 * help.el (describe-mode): Link to the mode's definition (bug#8185).
20840
09d9db2c
GM
208412011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
20842
20843 * ebuff-menu.el (electric-buffer-menu-mode-map): Move initialization
20844 into declaration. Remove redundant and harmful binding.
20845
208462011-03-12 Eli Zaretskii <eliz@gnu.org>
20847
20848 * files.el (file-ownership-preserved-p): Pass `integer' as an
20849 explicit 2nd argument to `file-attributes'. If the file's owner
20850 is the Administrators group on Windows, and the current user is
20851 Administrator, consider that a match.
20852
20853 * server.el (server-ensure-safe-dir): Consider server directory
20854 safe on MS-Windows if its owner is the Administrators group while
20855 the current Emacs user is Administrator. Use `=' to compare
20856 numerical UIDs, since they could be integers or floats.
20857
219bd536
JB
208582011-03-12 Juanma Barranquero <lekktu@gmail.com>
20859
20860 * vc/vc-bzr.el (vc-bzr-state): Handle bzr 2.3.0 (follow-up to bug#8170).
20861
f3afd36b
MA
208622011-03-12 Michael Albinus <michael.albinus@gmx.de>
20863
20864 Sync with Tramp 2.2.1.
20865
20866 * net/tramp-sh.el (tramp-methods): Exchange "%k" marker with options.
20867
20868 * net/trampver.el: Update release number.
20869
3aaaa6f1
SM
208702011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
20871
94642599
SM
20872 * progmodes/compile.el (compilation--previous-directory): Fix up
20873 various nil/dead-marker mismatches (bug#8014).
20874 (compilation-directory-properties, compilation-error-properties):
20875 Don't call it at a position past the one we're about to change.
20876
3aaaa6f1
SM
20877 * emacs-lisp/bytecomp.el (byte-compile-make-obsolete-variable):
20878 Disable obsolescence warnings in the file that declares it.
20879
14239447
KM
208802011-03-11 Ken Manheimer <ken.manheimer@gmail.com>
20881
099c39a4
JB
20882 * allout-widgets.el (allout-widgets-tally):
20883 Initialize allout-widgets-tally as a hash table rather than nil to
20884 prevent mode-line redisplay warnings. Also, clarify the module
20885 description and fix a comment typo.
14239447 20886
135e287c
JB
208872011-03-11 Juanma Barranquero <lekktu@gmail.com>
20888
20889 * help-fns.el (describe-variable): Don't complete keywords.
20890 Suggested by Teodor Zlatanov <tzz@lifelogs.com>.
20891
ffbf300e
CY
208922011-03-10 Chong Yidong <cyd@stupidchicken.com>
20893
ba08b241
CY
20894 * emacs-lisp/package.el (package-version-join): Impose a standard
20895 string representation for pre/alpha/beta version lists.
20896 (package-unpack-single): Standardize the directory name by passing
20897 it through package-version-join.
20898 (package-strip-rcs-id): Accept any version string that does not
20899 signal an error in version-to-list.
ffbf300e 20900
f346fd6b
MA
209012011-03-10 Michael Albinus <michael.albinus@gmx.de>
20902
20903 * simple.el (delete-trailing-whitespace): Return nil for the
20904 benefit of `write-file-functions'.
20905
ccb55d27
GM
209062011-03-10 Glenn Morris <rgm@gnu.org>
20907
5ceaac0c
GM
20908 * vc/vc-hg.el (vc-hg-pull, vc-hg-merge-branch): Use vc-hg-program.
20909
02da65ff
GM
20910 * vc/vc-git.el (vc-git-program): New option.
20911 (vc-git-branches, vc-git-pull, vc-git-merge-branch, vc-git-command)
20912 (vc-git--call): Use it.
20913
b2f603cc
GM
20914 * eshell/esh-util.el (eshell-condition-case): Doc fix.
20915
5772caab
GM
20916 * cus-edit.el (Custom-newline): If no button at point, look
20917 for a subgroup button at start-of-line. (Bug#2298)
20918
ccb55d27
GM
20919 * mail/rmail.el (rmail-msgend, rmail-msgbeg): Doc fixes.
20920
ec6ecaed
JD
209212011-03-10 Julien Danjou <julien@danjou.info>
20922
20923 * avoid.el (mouse-avoidance-ignore-p): Do not move the cursor if
20924 `cursor-type' is nil.
20925
9d5aa01d
JB
209262011-03-09 Jay Belanger <jay.p.belanger@gmail.com>
20927
20928 * calc/calc.el (calc-mode-map): Don't bind "C-_" to `calc-missing-key'.
20929
b6a5875b
KM
209302011-03-09 Ken Manheimer <ken.manheimer@gmail.com>
20931
7a71b18d 20932 * allout.el: Change so yank of distinctive-bullet items
b6a5875b
KM
20933 preserves the existing header prefix, rebulleting it if necessary,
20934 rather than replacing it. This is necessary for proper operation
20935 of cooperative addons like allout-widgets.
1154d12e
JB
20936 (allout-make-topic-prefix, allout-rebullet-heading):
20937 Change SOLICIT arg to INSTEAD, and interpret additionally a string
20938 value as alternate bullet to be used, instead of prompting the user
20939 for a bullet character.
b6a5875b 20940
ee545c35
MA
209412011-03-09 Michael Albinus <michael.albinus@gmx.de>
20942
d86d2721
SM
20943 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
20944 Do not use `tramp-file-name-port', because this returns also
ee545c35
MA
20945 `tramp-default-port'.
20946
c47971d7
DD
209472011-03-09 Deniz Dogan <deniz.a.m.dogan@gmail.com>
20948
20949 * net/rcirc.el (rcirc-handler-001): Remove useless
20950 with-rcirc-process-buffer.
20951 (rcirc-check-auth-status): Swap arguments to string-match.
20952
13522cb4
GM
209532011-03-09 Glenn Morris <rgm@gnu.org>
20954
0be6f4f1
GM
20955 * shell.el (shell-mode):
20956 Set comint-input-ring-size from HISTSIZE. (Bug#7889)
20957
13522cb4
GM
20958 * progmodes/gdb-mi.el (gdb): Improve 2010-12-08 change.
20959 Check for GDBHISTFILE, HISTSIZE, etc. (Bug#7889)
20960
515de2e3
CY
209612011-03-08 Chong Yidong <cyd@stupidchicken.com>
20962
20963 * emacs-lisp/package.el (package-refresh-contents)
20964 (package-menu-execute): Use condition-case-no-debug.
20965
b511b994
MA
209662011-03-08 Michael Albinus <michael.albinus@gmx.de>
20967
20968 * simple.el (shell-command-to-string): Use `process-file'.
20969
20970 * emacs-lisp/package.el (package-tar-file-info): Handle also
20971 remote files.
20972
d86d2721
SM
20973 * emacs-lisp/package-x.el (package-upload-buffer-internal):
20974 Use `equal' for upload base check.
b511b994 20975
25bbfb31
AM
209762011-03-08 Arni Magnusson <arnima@hafro.is> (tiny change)
20977
20978 * textmodes/texinfo.el (texinfo-environments):
20979 Add deftypecv, deftypeivar, deftypemethod, deftypeop, html. (Bug#2783)
20980
be996521
GM
209812011-03-08 Glenn Morris <rgm@gnu.org>
20982
e9c8529f
GM
20983 * cus-start.el (cursor-in-non-selected-windows):
20984 Fix :set quoting oddness. (Bug#8192)
20985
be996521
GM
20986 * font-lock.el (lisp-font-lock-keywords-1): Don't highlight `)'
20987 in some setf expressions. (Bug#2159)
20988
2bb5649e
CY
209892011-03-08 Chong Yidong <cyd@stupidchicken.com>
20990
20991 * custom.el (custom-available-themes): Return themes in
20992 alphabetical order.
20993
33383987 20994See ChangeLog.15 for earlier changes.
e3d51b27
MR
20995
20996;; Local Variables:
20997;; coding: utf-8
e3d51b27
MR
20998;; End:
20999
acaf905b 21000 Copyright (C) 2011-2012 Free Software Foundation, Inc.
e3d51b27
MR
21001
21002 This file is part of GNU Emacs.
21003
21004 GNU Emacs is free software: you can redistribute it and/or modify
21005 it under the terms of the GNU General Public License as published by
21006 the Free Software Foundation, either version 3 of the License, or
21007 (at your option) any later version.
21008
21009 GNU Emacs is distributed in the hope that it will be useful,
21010 but WITHOUT ANY WARRANTY; without even the implied warranty of
21011 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
21012 GNU General Public License for more details.
21013
21014 You should have received a copy of the GNU General Public License
21015 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.