* lisp/textmodes/ispell.el (ispell-command-loop): Add newline
[bpt/emacs.git] / lisp / ChangeLog
CommitLineData
f65d1611
JL
12011-08-25 Juri Linkov <juri@jurta.org>
2
3 * textmodes/ispell.el (ispell-command-loop): Add newline
4 at the end of the "Use option `i'..." line.
5
f1cf7a31
JL
62011-08-25 Juri Linkov <juri@jurta.org>
7
8 * battery.el (display-battery-mode): If `battery-status-function'
9 or `battery-mode-line-format' is nil, display the message and set
10 `display-battery-mode' to nil (bug#9363).
11
0c95fcf7
EZ
122011-08-25 Eli Zaretskii <eliz@gnu.org>
13
14 * buff-menu.el (Buffer-menu-buffer+size): Remove calls to
15 bidi-string-mark-left-to-right; they are unnecessary now.
16
a2ebe600
DD
172011-08-25 Deniz Dogan <deniz@dogan.se>
18
19 * net/quickurl.el: Documentation typo fixes.
20
e4ed06f1
CY
212011-08-25 Chong Yidong <cyd@stupidchicken.com>
22
23 * window.el (bury-buffer, quit-window): Use bury-buffer-internal.
24
e5f1c99e
GM
252011-08-25 Glenn Morris <rgm@gnu.org>
26
b2948976
GM
27 * emacs-lisp/derived.el (define-derived-mode): Doc fix.
28
e5f1c99e
GM
29 * mail/smtpmail.el (smtpmail-smtp-user): Add version: tag.
30 (smtpmail-via-smtp): Handle nil response from smtp.
31
f22f4808
JL
322011-08-24 Juri Linkov <juri@jurta.org>
33
34 * proced.el (proced-marked): Inherit from `error' instead of
35 `font-lock-warning-face'.
36
37 * ibuffer.el (ibuffer-marked-face): Change default face from
38 `font-lock-warning-face' to `warning'.
39 (ibuffer-deletion-face): Change default face from
40 `font-lock-type-face' to `error'.
41
42 * battery.el (battery-update): Use the face `error' instead of
43 `font-lock-warning-face' (bug#6117).
44
6a93965e
JL
452011-08-24 Juri Linkov <juri@jurta.org>
46
47 * faces.el (success): Change face color from "Green3" to
48 "ForestGreen" on light background (bug#9353).
49
1ed43b09
CY
502011-08-24 Chong Yidong <cyd@stupidchicken.com>
51
52 * window.el (quit-window): Renamed from quit-restore-window. Use
53 same arglist as old quit-window.
54 (frame-auto-delete): Doc fix.
55
56 * view.el (view-mode-exit): Use quit-window.
57
11dcdbb2
JL
582011-08-24 Juri Linkov <juri@jurta.org>
59
60 * isearch.el (isearch-ring-adjust1): Start visiting previous
61 search strings from the index 0 (-1 + 1) instead of 1 (0 + 1).
62 (isearch-repeat, isearch-edit-string): Call `isearch-ring-adjust1'
63 for empty search string (when the last search string is reused
64 automatically) to adjust the isearch ring to the last element and
65 prepare the correct index for further M-p commands (bug#9185).
66
de62b4df
KH
672011-08-24 Kenichi Handa <handa@m17n.org>
68
69 * international/ucs-normalize.el: If decomposition property of
70 CHAR is the default one (i.e. a list of CHAR itself), treat it as
71 nil.
72 (nfd, nfkd): Likewise.
73
963b492b
SM
742011-08-24 Stefan Monnier <monnier@iro.umontreal.ca>
75
76 * mpc.el (mpc--proc-filter): Don't signal mpc-proc-error since signals
77 from process filters aren't reliably transmitted to the surrounding
78 accept-process-output.
79 (mpc-proc-check): New function.
80 (mpc-proc-sync): Use it (bug#8293)
81
93b6b5e1
SM
822011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
83
84 * emacs-lisp/eieio.el (eieio-defmethod, eieio-defgeneric):
85 Add compatibility functions (bug#9313).
86
bca633fb
EZ
872011-08-23 Eli Zaretskii <eliz@gnu.org>
88
b177498a
EZ
89 * cus-start.el (all): Add entry for bidi-paragraph-direction.
90
bca633fb
EZ
91 * international/uni-bidi.el: Regenerated.
92
0902a04e
KH
932011-08-23 Kenichi Handa <handa@m17n.org>
94
95 * international/charprop.el:
96 * international/uni-bidi.el:
97 * international/uni-category.el:
98 * international/uni-combining.el:
99 * international/uni-comment.el:
100 * international/uni-decimal.el:
101 * international/uni-decomposition.el:
102 * international/uni-digit.el:
103 * international/uni-lowercase.el:
104 * international/uni-mirrored.el:
105 * international/uni-name.el:
106 * international/uni-numeric.el:
107 * international/uni-old-name.el:
108 * international/uni-titlecase.el:
109 * international/uni-uppercase.el: Regenerate.
110
3bbf23bc
MR
1112011-08-23 Martin Rudalics <rudalics@gmx.at>
112
113 * help.el (help-window-setup): Fix message displayed when other
114 window is reused. (Bug#9341)
115
b3fd59bd
SM
1162011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
117
1802e444
SM
118 * shell.el (shell-completion-vars): Set pcomplete-arg-quote-list.
119 * pcomplete.el (pcomplete-quote-argument): Fix thinko (bug#9161).
120
b3fd59bd
SM
121 * pcomplete.el (pcomplete-parse-comint-arguments): Fix inf-loop.
122 Mark obsolete.
123 * shell.el (shell-parse-pcomplete-arguments): New function.
124 (shell-completion-vars): Use it instead (bug#9160).
125
4eb61348
SM
1262011-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
127
867cab74
SM
128 * progmodes/sh-script.el (sh-maybe-here-document): Disable magic in
129 strings and comments (bug#9333).
130
4eb61348
SM
131 * emacs-lisp/debug.el (debug-arglist): New function.
132 (debug-convert-byte-code): Use it. Handle lexical byte-codes.
133 (debug-on-entry-1): Handle interpreted closures (bug#9120).
134
262a1439
JL
1352011-08-22 Juri Linkov <juri@jurta.org>
136
56ee679c
JL
137 * progmodes/compile.el (compilation-mode-font-lock-keywords):
138 Revert regexp that highlights output switches to its old
139 pre-2010-10-28 value and remove one `?' from it (bug#9319).
140
262a1439
JL
141 * progmodes/grep.el (grep-process-setup): Use `buffer-modified-p'
142 to check for empty output (bug#9226).
143
f13f86fb
CY
1442011-08-22 Chong Yidong <cyd@stupidchicken.com>
145
146 * progmodes/scheme.el (scheme-mode-syntax-table): Don't use
147 symbol-constituent as the default, as that stops font-lock from
148 working properly (Bug#8843).
149
c65c9622
LMI
1502011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
151
152 * mail/smtpmail.el (smtpmail-via-smtp): Only bind
153 `coding-system-for-*' around the process open call to avoid
154 auth-source side effects.
e7f2c178 155 (smtpmail-try-auth-methods): Expand the secret password.
7185da52
LMI
156 (smtpmail-query-smtp-server): Allow `quit'-ing out in case the
157 probe hangs.
c65c9622 158
23a8a5ab
CY
1592011-08-21 Chong Yidong <cyd@stupidchicken.com>
160
ff98b2dd
CY
161 * term.el (term-mouse-paste): Yank primary selection (Bug#6845).
162
23a8a5ab
CY
163 * emacs-lisp/find-func.el (find-function-noselect): New arg
164 lisp-only.
165
166 * emacs-lisp/edebug.el (edebug-instrument-function): Use it to
167 signal an error for built-in functions (Bug#6664).
168
f5e3c598
LMI
1692011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
170
171 * mail/smtpmail.el (smtpmail-smtp-user): New variable.
172 (smtpmail-try-auth-methods): Use it.
173
a3f2468a
CY
1742011-08-21 Chong Yidong <cyd@stupidchicken.com>
175
2c34e8da
CY
176 * font-lock.el (font-lock-fontify-region)
177 (font-lock-unfontify-region, font-lock-default-fontify-buffer)
178 (font-lock-default-unfontify-buffer)
179 (font-lock-default-fontify-region)
180 (font-lock-default-unfontify-region): Add docstrings (Bug#8624).
181
b3fd59bd
SM
182 * progmodes/compile.el (compilation-error-properties):
183 Fix confusion between file struct and message struct (Bug#9319).
02e5c89e
CY
184 (compilation-error-regexp-alist-alist): Fix 2011-05-09 change to
185 `ant' regexp.
ee31aabc 186
a3f2468a
CY
187 * net/browse-url.el (browse-url-firefox): Don't call
188 browse-url-firefox-sentinel unless using -remote (Bug#9328).
189
8e999f70
GM
1902011-08-20 Glenn Morris <rgm@gnu.org>
191
c21a496a
GM
192 * tutorial.el (help-with-tutorial): Avoid an error on short screens.
193
59ee0542
GM
194 * tutorial.el (tutorial--default-keys): Update some default bindings.
195
8e999f70
GM
196 * files.el (hack-local-variables): Fully ignore case for "mode:".
197
e3715033
AM
1982011-08-20 Alan Mackenzie <acm@muc.de>
199
200 Resolve invalid use of a regexp in regexp-opt.
201
202 * cc-fonts.el (c-complex-decl-matchers): Add in special detection
203 for a java annotation.
204
205 * cc-engine.el (c-forward-decl-or-cast-1): Add in special
206 detection for a java annotation.
207
208 * cc-langs.el (c-prefix-spec-kwds-re): Remove the special handling
209 for java.
210 (c-modifier-kwds): Remove the regexp "@[A-za-z0-9]+".
211
04ed2e9c
CY
2122011-08-20 Chong Yidong <cyd@stupidchicken.com>
213
214 * startup.el (normal-top-level-add-subdirs-to-load-path): Doc fix
215 (Bug#9274).
216
826cee64
AM
2172011-08-20 Alan Mackenzie <acm@muc.de>
218
219 * Fontify CPP expressions correctly when starting in the middle of
220 such a construct. Mainly for when jit-lock etc. starts a chunk
221 here.
222
223 * progmodes/cc-fonts.el (c-font-lock-context): new buffer local
224 variable.
225 (c-make-font-lock-search-form): new function, extracted from
226 c-make-font-lock-search-function.
227 (c-make-font-lock-search-function): Use the above function.
228 (c-make-font-lock-context-search-function): New function.
229 (c-cpp-matchers): Enhance the preprocessor expression case with
230 the above function
231 (c-font-lock-complex-decl-prepare): Test for being in a CPP form
232 which takes an expression.
233
234 * progmodes/cc-langs.el (c-cpp-expr-intro-re): New lang-variable.
235
13009bd8
MR
2362011-08-20 Martin Rudalics <rudalics@gmx.at>
237
238 * window.el (display-buffer-reuse-window)
239 (display-buffer-pop-up-window): Don't reuse or split a side
240 window.
241
9234ff7f
GM
2422011-08-19 Glenn Morris <rgm@gnu.org>
243
244 * files.el (hack-local-variables-prop-line, hack-local-variables):
245 Downcase "Mode:". (Bug#9331)
246
f635daa1
CY
2472011-08-18 Chong Yidong <cyd@stupidchicken.com>
248
249 * international/characters.el: Add L and R categories.
250
251 * subr.el (bidi-string-mark-left-to-right): Rename from
252 string-mark-left-to-right. Use category search.
253
254 * buff-menu.el (Buffer-menu-buffer+size): Callers changed.
255
bc987f8b
JL
2562011-08-18 Juri Linkov <juri@jurta.org>
257
258 * faces.el (error, warning, success): New faces with definitions
259 copied from old default values of `font-lock-warning-face',
260 `compilation-warning', `compilation-info' (bug#6117).
261
262 * font-lock.el (font-lock-warning-face): Inherit from `error'.
263
264 * progmodes/compile.el (compilation-error): Inherit from `error'.
265 (compilation-warning): Inherit from `warning'.
266 (compilation-info): Inherit from `success'.
267
268 * dired.el (dired-marked): Inherit from `warning'.
269 (dired-flagged): Inherit from `error'.
270
57173b96
LMI
2712011-08-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
272
3e79eb87
LMI
273 * mail/smtpmail.el (auth-source): Require to avoid problems with
274 binding variables (bug#9298). Also clean up some unused
275 autoloads.
276
b3fd59bd
SM
277 * net/network-stream.el (network-stream-open-starttls):
278 Support using starttls.el without using gnutls-cli.
57173b96 279
02b404de
JL
2802011-08-17 Juri Linkov <juri@jurta.org>
281
282 * progmodes/grep.el (rgrep): Handle the case when
283 `grep-find-command' is a cons cell (bug#9278).
284
8c9177f2
MR
2852011-08-17 Martin Rudalics <rudalics@gmx.at>
286
287 * window.el (display-buffer-pop-up-frame): Run frame creation
288 function with BUFFER current (as special-display-popup-frame
289 does). Reported by Drew Adams.
290
3644a0ab
DU
2912011-08-17 Daiki Ueno <ueno@unixuser.org>
292
293 * epa-mail.el: Simplify GnuPG group expansion using
294 epg-expand-group.
295 (epa-mail-group-alist, epa-mail-group-modtime)
296 (epa-mail-gnupg-conf-file, epa-mail-parse-groups)
297 (epa-mail-sync-groups, epa-mail-expand-recipient-1)
298 (epa-mail-expand-recipients-2, epa-mail-expand-recipients):
299 Remove.
300
7c643369
FL
3012011-08-16 Feng Li <fengli@gmail.com> (tiny change)
302
303 * calc/calc-ext.el (math-defintegral-2): Remove nested backquote.
304
9c4aeabf
AM
3052011-08-16 Alan Mackenzie <acm@muc.de>
306
307 * progmodes/cc-engine.el (c-state-cache-non-literal-place):
308 Correct, to avoid the inside of macros.
309
3a99bf64
RS
3102011-08-16 Richard Stallman <rms@gnu.org>
311
04963aa8
RS
312 * epa-mail.el: Handle GnuPG group definitions.
313 (epa-mail-group-alist, epa-mail-group-modtime)
314 (epa-mail-gnupg-conf-file): New variables.
315 (epa-mail-parse-groups, epa-mail-sync-groups)
316 (epa-mail-expand-recipient-1, epa-mail-expand-recipients-2)
317 (epa-mail-expand-recipients): New functions.
318 (epa-mail-encrypt): Call epa-mail-expand-recipients.
319
177549d0
RS
320 * mail/rmail.el (rmail-epa-decrypt): New command.
321
fe38beef
RS
322 * epa.el (epa-decrypt-region): New arg MAKE-BUFFER-FUNCTION.
323 Don't bind buffer-read-only, just inhibit-read-only.
3a99bf64
RS
324 (epa--find-coding-system-for-mime-charset): Fix the non-xemacs case.
325 (epa-decrypt-armor-in-region): Make error message clearer.
326
934eacb9
SM
3272011-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
328
329 * minibuffer.el (completion-pcm--merge-completions): Don't merge "a1b"
330 and "a2b" to "ab" for `prefix'.
331
d024fb4e
CY
3322011-08-14 Chong Yidong <cyd@stupidchicken.com>
333
334 * ibuf-ext.el (ibuffer-filter-disable): New arg for deleting
335 filter groups.
de148fee
CY
336 (ibuffer-included-in-filter-p-1): Use it. Suggested by Rafaël
337 Fourquet (Bug#8804).
d024fb4e 338
62f1ca49
JB
3392011-08-12 Juanma Barranquero <lekktu@gmail.com>
340
341 * startup.el (argi): Declare as global variable (bug#9275).
342
9ccaaa4b
CY
3432011-08-12 Chong Yidong <cyd@stupidchicken.com>
344
345 * subr.el (string-mark-left-to-right): Search the entire string
346 for RTL script, not just the terminating character. Doc fix.
347
a3dae87a
SM
3482011-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
349
6cd18349
SM
350 * progmodes/js.el (js-syntax-propertize, js-syntax-propertize-regexp):
351 New function.
352 (js--regexp-literal, js-syntax-propertize-function): Remove.
353 (js-mode): Use js-syntax-propertize to handle multilines (bug#9183).
354 (js-mode-map): Don't rebind electric keys.
355 (js-insert-and-indent): Remove.
356 (js-mode): Setup electric-layout and electric-indent instead.
357
a3dae87a
SM
358 * epa-file.el (epa-file-select-keys): Revert to nil default (bug#9280).
359
9d5cb631
DU
3602011-08-12 Daiki Ueno <ueno@unixuser.org>
361
362 * epa.el (epa-progress-callback-function): Fix the logic of
363 displaying progress.
364 * epa-file.el (epa-file-insert-file-contents): Make progress
365 display more user-friendly.
366 (epa-file-write-region): Ditto.
367
3e26a4a2
CY
3682011-08-10 Chong Yidong <cyd@stupidchicken.com>
369
370 * subr.el (string-mark-left-to-right): New function.
371
372 * buff-menu.el (Buffer-menu-buffer+size): Remove LRM argument.
373 Use string-mark-left-to-right.
374 (list-buffers-noselect): Caller changed.
375
a3dae87a
SM
376 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
377 Use string-mark-left-to-right.
3e26a4a2
CY
378 (tabulated-list-print): Recenter after moving point.
379
ac8cf6e6
JL
3802011-08-10 Juri Linkov <juri@jurta.org>
381
382 * progmodes/grep.el (rgrep): Don't bind `process-connection-type'.
383 This finishes incomplete reversion of 2011-06-30T01:09:13Z!larsi@gnus.org
384 intended by 2011-07-06T15:49:19Z!larsi@gnus.org.
385
8d96c9a4
CY
3862011-08-09 Chong Yidong <cyd@stupidchicken.com>
387
388 * hi-lock.el (hi-lock-unface-buffer): Fix interactive spec
389 (Bug#7554).
390
7be1c708 3912011-08-09 Andreas Schwab <schwab@linux-m68k.org>
29bbcfa7
AS
392
393 * xt-mouse.el (xterm-mouse-event-read): Try to recover the raw
394 character. (Bug#6594)
395
37e11a63
CY
3962011-08-08 Chong Yidong <cyd@stupidchicken.com>
397
839dde57
CY
398 * image-dired.el: Don't use find-file for temporary work (Bug#7895).
399 (image-dired--with-db-file): New macro.
400 (image-dired-write-tags, image-dired-remove-tag)
401 (image-dired-create-gallery-lists, image-dired-write-comments)
402 (image-dired-get-comment, image-dired-mark-tagged-files)
403 (image-dired-list-tags, image-dired-gallery-generate): Use it.
404 (image-dired-gallery-generate): Use insert-file-contents.
405
37e11a63
CY
406 * time.el (display-time-world-list, display-time-world-display):
407 * time-stamp.el (time-stamp-string):
408 * vc/add-log.el (add-change-log-entry): Use setenv instead of
409 set-time-zone-rule (Bug#7337).
410
0b4946c4
DU
4112011-08-08 Daiki Ueno <ueno@unixuser.org>
412
413 * epg.el (epg--status-KEYEXPIRED, epg--status-KEYREVOKED): Fix typo.
414 (epg-error-to-string, epg-errors-to-string): New function.
415 (epg-wait-for-completion): Reverse errors list.
416 (epg--check-error-for-decrypt, epg-sign-file, epg-sign-string)
417 (epg-encrypt-file, epg-encrypt-string, epg-export-keys-to-file)
418 (epg--import-keys-1, epg-receive-keys, epg-delete-keys)
419 (epg-sign-keys, epg-generate-key-from-file)
420 (epg-generate-key-from-string): Format errors by using
421 epg-errors-to-string (bug#9255).
422 (epg--status-INV_SGNR, epg--status-NO_SGNR): New status handler.
423
75bfc667
JL
4242011-08-07 Juri Linkov <juri@jurta.org>
425
426 * faces.el (list-faces-display): Remove extra angle bracket
427 from `help-mode-map'.
428
429 * info.el (Info-history-toc-nodes): Doc fix.
430
431 * longlines.el (longlines-mode): Doc fix.
432
673e08bb
SM
4332011-08-05 Stefan Monnier <monnier@iro.umontreal.ca>
434
4640dd88
SM
435 * progmodes/js.el (js--regexp-literal): Accept regexps at the beginning
436 of statements and in a few more cases (bug#9183).
437
673e08bb
SM
438 * emacs-lisp/cl-macs.el (cl--make-usage-var, cl--make-usage-args):
439 New functions.
440 (cl-transform-lambda): Use them (bug#9239).
441
89b3f019
MR
4422011-08-05 Martin Rudalics <rudalics@gmx.at>
443
444 * window.el (display-buffer-same-window)
445 (display-buffer-same-frame, display-buffer-other-window)
446 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
447 (pop-to-buffer-other-window)
448 (pop-to-buffer-same-frame-other-window)
449 (pop-to-buffer-other-frame): Make them defuns.
450 (switch-to-buffer): Don't set LABEL argument of pop-to-buffer.
451
640c8776
SM
4522011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
453
454 * subr.el (make-composed-keymap): Move from C. Change calling
455 convention, and improve docstring to bring attention to a subtle point.
456 * minibuffer.el (completing-read-default): Adjust accordingly.
457
63648a95
MA
4582011-08-03 Michael Albinus <michael.albinus@gmx.de>
459
460 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
461 (tramp-open-shell): Use `tramp-shell-quote-argument'.
462
463 * net/trampver.el: Update release number.
464
b796c9b7
SM
4652011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
466
467 * progmodes/sh-script.el (sh-font-lock-paren): Don't mistake "main" for
468 "in" (bug#9190).
469
2239d7d5
LMI
4702011-08-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
471
e07dd7c3
LMI
472 * mail/sendmail.el (sendmail-query-once): Restore the current
473 buffer after querying (bug#9074).
474
0e6a2bd7
LMI
475 * dired.el (dired-flagged): Use different faces for marked and
476 flagged files (bug#6117).
477
ce887515
LMI
478 * emacs-lisp/cl-macs.el (dolist): Mention that there's a nil block
479 (bug#4433).
480
92f2affc
LMI
481 * ido.el (ido-mode): Switch off the message if called
482 non-interactively.
483
57d5aff0
LMI
484 * mail/smtpmail.el (smtpmail-query-smtp-server): Try port 25
485 before 587, since it appears that that's more likely to work for
486 more people.
487
98cd6c18
LMI
488 * cus-edit.el (custom-file): When running under emacs -q, always
489 refuse to save the customisations, even if the .emacs file doesn't
490 exist.
491
b96dec83
LMI
492 * info.el: Remove the `Info-beginning-of-buffer' function
493 (bug#8325).
494
b796c9b7
SM
495 * net/network-stream.el (network-stream-open-starttls):
496 Use `starttls-available-p' to see whether starttls.el can be used.
2239d7d5 497
d90e2ea0
MR
4982011-08-01 Martin Rudalics <rudalics@gmx.at>
499
500 * window.el (display-buffer-in-window): Don't set dedicated status
501 of window here (Bug#9215).
502 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
503 (display-buffer-pop-up-side-window)
b796c9b7 504 (display-buffer-in-side-window): Set dedicated status of window here.
d90e2ea0 505
cca09170
SM
5062011-08-01 Stefan Monnier <monnier@iro.umontreal.ca>
507
508 * emacs-lisp/package.el (package-generate-autoloads): Load autoloads
509 before binding generated-autoload-file.
510
027b979c
DD
5112011-08-01 Deniz Dogan <deniz@dogan.se>
512
513 * net/rcirc.el (rcirc-handler-333): Clarify docstring.
514
3c7ee4f3
MA
5152011-07-30 Michael Albinus <michael.albinus@gmx.de>
516
517 Sync with Tramp 2.2.2.
518
519 * net/trampver.el: Update release number.
520
2cc8e51a
JL
5212011-07-30 Juri Linkov <juri@jurta.org>
522
523 * dired-aux.el (dired-touch-initial): Remove function.
524 (dired-do-chxxx): For op-symbol `touch', set `initial' to the
525 current time, and `default' to the last modification time of the
526 current marked file (bug#6887).
527
a514d856
JM
5282011-07-28 Jose E. Marchesi <jemarch@gnu.org>
529
530 * simple.el (goto-line): Use string-to-number to provide a
2cc8e51a 531 numeric argument to read-number (bug#9163).
a514d856 532
8a7eddd7
MA
5332011-07-27 Michael Albinus <michael.albinus@gmx.de>
534
535 * net/tramp-sh.el (tramp-maybe-send-script): Don't let-bind the
536 connection process, it could be nil.
537
1ddd96f5
LL
5382011-07-27 Leo Liu <sdl.web@gmail.com>
539
540 Simplify url handling in rcirc-mode.
541
542 * net/rcirc.el (rcirc-browse-url-map, rcirc-browse-url-at-point)
543 (rcirc-browse-url-at-mouse): Remove.
544 * net/rcirc.el (rcirc-markup-urls): Use `make-button'.
545
b248a85d
AM
5462011-07-26 Alan Mackenzie <acm@muc.de>
547
548 Fontify bitfield declarations properly.
549
550 * progmodes/cc-langs.el (c-has-bitfields): New lang variable.
551 (c-symbol-chars): Now exported as a lang variable.
552 (c-not-primitive-type-keywords): New lang variable.
553
554 * progmodes/cc-fonts.el (c-font-lock-declarations): Jump over the
555 QT keyword "more" to prevent "more slots: ...." being spuriously
556 parsed as a bitfield declaraion.
557
b796c9b7
SM
558 * progmodes/cc-engine.el (c-beginning-of-statement-1):
559 Refactor and enhance to handle bitfield declarations.
b248a85d
AM
560 (c-punctuation-in): New function.
561 (c-forward-decl-or-cast-1): Enhance CASE 3 to handle bitfield
562 declarations properly.
563
68575ab0
UJ
5642011-07-26 Ulf Jasper <ulf.jasper@web.de>
565
566 * calendar/icalendar.el (icalendar--all-events): Take care of
567 multiple vcalendars in a single file.
b796c9b7 568 (icalendar--convert-float-to-ical): Checkdoc fixes.
68575ab0 569
0f0a88b9
DD
5702011-07-25 Deniz Dogan <deniz@dogan.se>
571
572 * image.el (insert-image): Clarifying docstring.
573
0b3f36df
MA
5742011-07-24 Michael Albinus <michael.albinus@gmx.de>
575
576 * net/tramp-sh.el (tramp-barf-unless-okay): Return the value of
577 `tramp-send-command-and-check' if there is no error.
578 (tramp-send-command-and-read): Suppress *all* errors if NOERROR.
579
a9901f61
AM
5802011-07-22 Alan Mackenzie <acm@muc.de>
581
582 Prevent cc-langs.elc being loaded at run time.
583
584 * progmodes/cc-mode.el: Remove two autoload forms which loaded
585 cc-langs.
586
587 * /progmodes/cc-langs.el (c-make-init-lang-vars-fun): Don't emit
588 "(require 'cc-langs)". Quote a form so it will evaluate at
589 (cc-mode's) compilation time.
590
11d074b2
MA
5912011-07-22 Michael Albinus <michael.albinus@gmx.de>
592
593 * net/tramp.el (tramp-file-name-handler): Avoid recursive
594 loading. (Bug#9114)
595
938b94c8
MR
5962011-07-21 Martin Rudalics <rudalics@gmx.at>
597
598 * window.el (display-buffer-pop-up-window)
599 (display-buffer-pop-up-side-window)
600 (display-buffer-in-side-window): Call display-buffer-set-height
601 and display-buffer-set-width after setting the new window's
b796c9b7 602 buffer so `fit-window-to-buffer' and friends work on the right buffer.
938b94c8 603
bfa4f190
SS
6042011-07-20 Sam Steingold <sds@gnu.org>
605
606 * progmodes/etags.el (etags-file-of-tag, etags-tags-table-files)
607 (etags-tags-included-tables): Call `convert-standard-filename' on
608 the file names contained in TAGS so that windows Emacs can handle
609 TAGS files created by cygwin ctags.
610
8ca42262
LMI
6112011-07-20 Lars Magne Ingebrigtsen <larsi@gnus.org>
612
613 * proced.el (proced-update): Revert yesterday's bug#1779 patch,
614 which apparently didn't work.
615
5db2afd2 6162011-07-19 Roland Winkler <winkler@gnu.org>
2ecab2b5 617
5db2afd2
RW
618 * proced.el (proced-send-signal): For *Marked Processes* buffer
619 put point at beginning of buffer.
620
92e15d10
SB
6212011-07-19 Stephen Berman <stephen.berman@gmx.net>
622
623 * proced.el (proced-format): Make header lines align with the text
624 (bug#1779).
625
1bfd59e5
LMI
6262011-07-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
627
628 * view.el (view-buffer): Allow running in `special' modes if we're
629 visiting a file (bug#8615).
630
f5aae37c
MR
6312011-07-19 Martin Rudalics <rudalics@gmx.at>
632
633 * window.el (display-buffer-alist-of-strings-p)
b796c9b7
SM
634 (display-buffer-alist-set-1, display-buffer-alist-set-2):
635 New functions.
f5aae37c
MR
636 (display-buffer-alist-set): Rewrite to handle Emacs 23 options
637 more accurately.
638
bf2c1571
AM
6392011-07-18 Alan Mackenzie <acm@muc.de>
640
641 Fontify declarators properly when, e.g., a jit-lock chunk begins
642 inside a declaration.
643
644 * progmodes/cc-langs.el (c-symbol-chars): Correct a typo.
645
b796c9b7
SM
646 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
647 New function.
bf2c1571
AM
648 (c-complex-decl-matchers): Insert reference to
649 c-font-lock-enclosing-decls.
650
651 * progmodes/cc-engine.el (c-backward-single-comment):
652 (c-backward-comments): Bind open-paren-in-column-0-is-defun-start
653 to nil around calls to (forward-comment -1).
654
4e190b80
LMI
6552011-07-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
656
12dc863d
LMI
657 * image.el (put-image): Doc typo fix.
658
a762e966
LMI
659 * progmodes/etags.el (tags-search): Doc typo fix.
660
4e190b80
LMI
661 * mail/smtpmail.el (smtpmail-via-smtp): Query the user for
662 password if we get errors 550 to 554.
663
f019fb21
LMI
6642011-07-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
665
b796c9b7 666 * net/gnutls.el (gnutls-log-level): Remove.
750c33f7 667
81746738
LMI
668 * textmodes/fill.el (adaptive-fill-regexp): Include EN DASH as an
669 indentation character (bug#6380).
670
3ee3a1b5
LMI
671 * files.el (buffer-offer-save): Made permanently local (bug#6241).
672
c82f64de
LMI
673 * doc-view.el (doc-view-make-safe-dir): Rewrite the error message
674 to clarify what the problem is (bug#4291).
675
f019fb21
LMI
676 * simple.el (current-kill): Clarify what
677 `interprogram-paste-function' does (bug#7500).
ca425c7c
LMI
678 (auto-fill-mode): Document `auto-fill-function' in relation to
679 `auto-fill-mode' (bug#2470).
f019fb21 680
0794775d
LM
6812011-07-16 Lawrence Mitchell <wence@gmx.li>
682
683 * emacs-lisp/cl-macs.el (defstruct): Ignore argument to setf
684 method if slot is read-only (bug#9035).
685
be39b8cc
MR
6862011-07-16 Martin Rudalics <rudalics@gmx.at>
687
b796c9b7 688 * frame.el (select-frame-set-input-focus): New argument NORECORD.
be39b8cc 689 * window.el (pop-to-buffer): Select window used even if it was
b796c9b7
SM
690 selected before, see discussion of (Bug#8615), (Bug#6954).
691 Pass argument NORECORD on to select-frame-set-input-focus.
be39b8cc 692
6ccf7859
GM
6932011-07-15 Glenn Morris <rgm@gnu.org>
694
695 * subr.el (read-char-choice): Allow quitting. (Bug#9001)
03ea5b87 696 Respect help-form.
6ccf7859 697
87e86684
LM
6982011-07-09 Lawrence Mitchell <wence@gmx.li>
699
700 * net/gnutls.el (gnutls-min-prime-bits): New variable.
701 (gnutls-negotiate): Use it.
702
d6066239
LMI
7032011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
704
b796c9b7
SM
705 * net/gnutls.el (gnutls-negotiate):
706 Upcase `gnutls-algorithm-priority'.
d6066239 707
bd23ebc0
GM
7082011-07-15 Glenn Morris <rgm@gnu.org>
709
c65bca65
GM
710 * jka-compr.el (jka-compr-verbose): Move from here...
711 * jka-cmpr-hook.el (jka-compr-verbose): ... to here. (Bug#9090)
712 Add missing :version tag.
713 * info.el: No need to require jka-compr when compiling.
bd23ebc0 714
478615cc
LMI
7152011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
716
7b41decb
LMI
717 * net/gnutls.el (gnutls-algorithm-priority): New variable.
718 (gnutls-negotiate): Use it.
719
dbc44fcd
LMI
720 * emacs-lisp/cl-macs.el (declare): Link to the "Declarations" node.
721
06789f97
LMI
722 * info.el (Info-beginning-of-buffer): New command.
723 (Info-mode-map): Use it instead of `beginning-of-buffer' to allow
724 announcing `b' as the key (bug#8325).
ab896c37 725 (Info-mode-menu): Use `Info-beginning-of-buffer' for consistency.
06789f97 726
c39da690
LMI
727 * emacs-lisp/cl-macs.el (declare): Doc string fix-up.
728
3aa5f34b
LMI
729 * international/mule-cmds.el
730 (describe-specified-language-support): Make the error message
731 clearer (bug#8905).
732
4bf0979f
LMI
733 * emacs-lisp/cl-macs.el (declare): Add a doc string (bug#8690).
734
478615cc
LMI
735 * isearch.el (isearch-barrier): Add a doc string, since it's
736 mentioned in a function doc string (bug#8678).
737
75c68aa1
MR
7382011-07-15 Martin Rudalics <rudalics@gmx.at>
739
740 * window.el (switch-to-buffer): Call pop-to-buffer with normalized
741 buffer argument (Bug#9083) and self-identifying label argument.
742
a7c33da2
GM
7432011-07-15 Glenn Morris <rgm@gnu.org>
744
745 * emacs-lisp/debug.el (debug): Doc fix. (Bug#8273)
746
2f5c6024
LMI
7472011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
748
749 * man.el (Man-fontify-manpage): Fix message when formatting the
750 man page (bug#7929).
751
0bb23927 7522011-07-14 Eli Zaretskii <eliz@gnu.org>
cce4b0a7
EZ
753
754 * buff-menu.el (Buffer-menu-buffer+size): Accept an additional
755 argument LRM; if non-nil, append an invisible LRM character to the
756 buffer name.
757 (list-buffers-noselect): Call Buffer-menu-buffer+size with the
758 last argument non-nil, when formatting buffer names.
0bb23927
EZ
759 (Buffer-menu-mode, list-buffers-noselect): Force left-to-right
760 paragraph direction.
cce4b0a7 761
621ef9ab
LMI
7622011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
763
d1583c48
LMI
764 * man.el (Man-bgproc-sentinel): Skip any arguments and only output
765 the man page name (bug#7929).
766
6a57fb5f
LMI
767 * image.el (put-image): Mention the `put-image' overlay property
768 (bug#7834).
769
d7956b14
LMI
770 * scroll-bar.el (set-scroll-bar-mode): Mention that
771 `scroll-bar-mode' lists the values (bug#7772).
772
5b2d4a66
LMI
773 * image-mode.el (image-mode-fit-frame): Mention that it's a toggle
774 command (bug#7729).
775
7509a874
LMI
776 * rect.el (apply-on-rectangle): Return the point after the last
777 operation.
778 (string-rectangle): Go to the point after the last operation
779 (bug#7522).
780
4fe74b19
LMI
781 * printing.el (pr-toggle-region): Clarify the documentation
782 slightly (bug#7493).
783
b796c9b7
SM
784 * time.el (display-time-update):
785 Allow `display-time-mail-function' to return nil (bug#7158).
786 Fix suggested by Detlev Zundel.
ab283561 787
fc233c9d
LMI
788 * vc/diff.el (diff): Clarify the order the file names are read
789 (bug#7111).
790
43f5740b
LMI
791 * mouse.el (mouse-set-region): Link to `mouse-drag-copy-region' in
792 the doc string (bug#7015).
793
f2182a76
LMI
794 * font-lock.el (font-lock-maximum-decoration): Mention what
795 numeric levels mean (bug#6935).
796
621ef9ab
LMI
797 * startup.el (initial-buffer-choice): Don't mention the `none'
798 selection, which is against policy.
799
adc47434
MR
8002011-07-14 Martin Rudalics <rudalics@gmx.at>
801
b796c9b7
SM
802 * window.el (display-buffer-normalize-special):
803 Replace `dedicated' by `dedicate' to dedicate window (Bug#9072).
adc47434 804
7e5bfb8f
EZ
8052011-07-14 Eli Zaretskii <eliz@gnu.org>
806
807 * subr.el (version<, version<=, version=): Mention "-CVS" and
808 "-12345" alpha version numbers.
809
27fa387a
CY
8102011-07-14 Chong Yidong <cyd@stupidchicken.com>
811
812 * bindings.el: Add advertised binding for set-mark-command
813 (Bug#5772).
814
8bdfa064
CY
8152011-07-14 Chong Yidong <cyd@stupidchicken.com>
816
817 * bindings.el (mode-line-other-buffer):
818 * bookmark.el (bookmark-bmenu-2-window):
819 * bs.el (bs-cycle-next, bs-cycle-previous):
820 * net/tramp-cmds.el (tramp-append-tramp-buffers): Revert to using
821 switch-to-buffer.
822
823 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
b796c9b7 824 Delete.
8bdfa064 825
5eba16a3
JB
8262011-07-14 Juanma Barranquero <lekktu@gmail.com>
827
828 * follow.el (follow-debug-message, follow-redisplay):
829 * jka-cmpr-hook.el (with-auto-compression-mode):
830 Fix typos in docstrings.
831
15853710
LMI
8322011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
833
a28e4607
LMI
834 * subr.el (with-silent-modifications): Clarify somewhat what the
835 macro inhibits (bug#6525).
836
15853710
LMI
837 * simple.el (eval-expression): Note what it does if called
838 interactively (bug#6495).
839
bee0fcef
CY
8402011-07-13 Chong Yidong <cyd@stupidchicken.com>
841
b796c9b7
SM
842 * window.el (switch-to-buffer): New arg FORCE-SAME-WINDOW.
843 Use pop-to-buffer buffer-or-name if it is nil.
bee0fcef
CY
844
845 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
846 Remove switch-to-buffer.
847
58274504
LMI
8482011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
849
bd2fcc8d
LMI
850 * files.el (make-directory): Clarify that an error will be raised
851 if there's an error (bug#6397).
852
0f04b32c
LMI
853 * startup.el (initial-buffer-choice): Add `none' as a choice
854 (bug#6234).
855
465c5fc8
LMI
856 * subr.el (add-hook): Clarify section about buffer-local hooks
857 (bug#6218).
858
58274504
LMI
859 * dired.el (dired-flagged): Clarify doc string (bug#6117).
860
bead9a43
JB
8612011-07-13 Juanma Barranquero <lekktu@gmail.com>
862
863 * tabify.el (untabify): Preserve the current column so that point
864 doesn't move (bug#6032).
865
3af98a7b
LMI
8662011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
867
b796c9b7
SM
868 * progmodes/cperl-mode.el (cperl-syntaxify-by-font-lock):
869 Rewrite to avoid awkward possessive "s" (bug#5986).
3af98a7b 870
6240145a
GM
8712011-07-13 Glenn Morris <rgm@gnu.org>
872
873 * dired.el (dired-use-ls-dired): Doc fix. (Bug#9039).
874 (dired-insert-directory): Give a message the first time
875 if ls is found not to support --dired.
876
1d8c2ccc
LMI
8772011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
878
879 * simple.el (toggle-truncate-lines): Clarify what is toggled
880 (bug#5580). Text by Drew Adams.
881
5fc4038e
CY
8822011-07-13 Chong Yidong <cyd@stupidchicken.com>
883
884 * simple.el (blink-matching-open): Make the error message from the
885 last change less verbose.
886
bf6012e5
DN
8872011-07-13 Dan Nicolaescu <dann@ics.uci.edu>
888
889 * font-lock.el (font-lock-comment-face): Use the high contrast
890 "yellow" color for font-lock-comment-face on low color terminals
891 using a dark background color (bug#4221).
892
343c3b5a
LMI
8932011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
894
7e9505c5
LMI
895 * dired.el (dired-insert-set-properties): Make the doc string
896 reflect what it does now (bug#5325).
897
c26fdcf5
LMI
898 * simple.el (blink-matching-open): Say that we were unable to find
899 the match within the limit, if we're limited (bug#5122).
900
bb388cc5
LMI
901 * international/mule-cmds.el (prefer-coding-system): Add an
902 example (bug#4869).
903
343c3b5a
LMI
904 * progmodes/etags.el (tags-search): Document `file-list-form'
905 (bug#4731).
906
2a517d45
LM
9072011-07-13 Lawrence Mitchell <wence@gmx.li>
908
909 * net/browse-url.el (browse-url-default-browser)
910 (browse-url-browser-function): Make the default browser choice a
911 bit more logical (bug#4300). Also clean up the doc string.
912
b6c78ef2
JB
9132011-07-13 Juanma Barranquero <lekktu@gmail.com>
914
915 * bindings.el (completion-ignored-extensions): Add OpenMCL/Clozure
916 binary endings (bug#4440).
917
1c4dd947
LMI
9182011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
919
a2014063
LMI
920 * info.el (info-insert-file-contents): Inhibit jka-compr messages,
921 which can be pretty annoying (bug#8971).
922
9c9c2d88
LMI
923 * jka-compr.el (jka-compr-verbose): New variable, and use
924 throughout (bug#8971).
925
1c4dd947
LMI
926 * info.el (Info-find-file): Fall back on the installation
927 directory if we can't find the info node anywhere else.
928
a1c9f41b
SO
9292011-07-13 Sergei Organov <osv@javad.com> (tiny change)
930
931 * vc/vc.el (vc-revert-file):
932 Don't set file time-stamp in the past. (Bug#5181)
933
536f3d36
LMI
9342011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
935
7152b011
LMI
936 * files.el (after-find-file): Give a better error message when
937 trying to find a symlink that points to a file that doesn't exist
938 (bug#4398).
939
536f3d36
LMI
940 * progmodes/cc-vars.el: Remove (probably) misleading comment
941 (bug#4396).
942
460c0fba
JB
9432011-07-12 Johan Bockgård <bojohan@gnu.org>
944
945 * mouse-sel.el (mouse-sel-primary-overlay): Use the `region' face.
946
7a6bda45
CY
9472011-07-12 Chong Yidong <cyd@stupidchicken.com>
948
949 * mouse-sel.el: Hack restoring functionality, while keeping
950 compatibility with 2010-07-03 changes to mouse selection.
951 (mouse-sel-primary-overlay): New var.
952 (mouse-sel-selection-alist): Use it.
953 (mouse-sel-mode): Doc fix; remove points that are default features
954 of mouse.el.
955
c79598ef
JB
9562011-07-12 Johan Bockgård <bojohan@gnu.org>
957
958 * progmodes/compile.el (compilation-error-regexp-alist-alist):
959 Fix previous fix (bug#2490).
960
ff8be6ef
RW
9612011-07-12 Roland Winkler <winkler@gnu.org>
962
b796c9b7
SM
963 * textmodes/bibtex.el (bibtex-initialize):
964 Use pop-to-buffer-same-window.
ff8be6ef
RW
965 (bibtex-search-entries): Fix interactive call.
966
296ba3ee
LMI
9672011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
968
f5242a02 969 * progmodes/compile.el (compilation-error-regexp-alist-alist):
b796c9b7
SM
970 Fontise bytecomp Error lines more correctly (bug#2490).
971 Fix suggested by Johan Bockgård.
f5242a02 972
296ba3ee
LMI
973 * subr.el (remove-duplicates): Remove; `delete-dups' is sufficient.
974
975 * dired-x.el (dired-guess-default): Use `delete-dups'.
976
f69fd0d2
CY
9772011-07-12 Chong Yidong <cyd@stupidchicken.com>
978
979 * dired.el (dired-mark-prompt):
980 * dired-aux.el (dired-read-shell-command): Doc fix.
981
eab5dc07
LMI
9822011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
983
b796c9b7
SM
984 * mail/sendmail.el (sendmail-query-once):
985 Use `customize-save-variable' unconditionally, now that it works under
9988520a
LMI
986 emacs -Q.
987
988 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
989
eab5dc07
LMI
990 * cus-edit.el (custom-file): Take an optional no-error variable.
991 (customize-save-variable): Set the variable, and give a warning if
992 running under "emacs -q".
993
a1e65d42
JB
9942011-07-11 Juanma Barranquero <lekktu@gmail.com>
995
996 * loadhist.el (unload-feature-special-hooks):
997 Add `auto-coding-functions', `fill-nobreak-predicate' and
998 `find-directory-functions' (bug#5327).
999
1d52da10
LMI
10002011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
1001
be958f1d
LMI
1002 * vc/ediff.el (ediff-patch-file): Clarify doc string (bug#3138).
1003
5bedb26c
LMI
1004 * cus-edit.el (custom-guess-name-alist): -alist variables should
1005 use the `alist' type (bug#3120). Suggested by Drew Adams.
1006
1d52da10
LMI
1007 * printing.el: Add documentation to all the `pr-toggle-' commands.
1008
481a51b6
LL
10092011-07-11 Leo <sdl.web@gmail.com> (tiny change)
1010
1011 * files.el (toggle-read-only): Only do the `C-x C-q' warning on VC
1012 backends where it makes sense (bug#2623).
1013
dcc88d8a
LMI
10142011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
1015
c3de9feb
LMI
1016 * dired-x.el (dired-guess-default): Remove duplicate shell command
1017 entries (bug#2028).
8a93078b 1018 (dired-guess-default): Fix grammar in doc string (bug#2028).
eea84fe5 1019 (dired-guess-shell-alist-user): Clarify the example a bit (bug#2030).
c3de9feb 1020
dcc88d8a
LMI
1021 * subr.el (remove-duplicates): New conveniency function.
1022
505e3645
LMI
10232011-07-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
1024
1025 * tool-bar.el (tool-bar-mode): Clarify positive/negative arguments
1026 (bug#1526).
1027
10282011-07-10 Martin Rudalics <rudalics@gmx.at>
1029
1030 * window.el (display-buffer-normalize-default): Don't invert
1031 meaning of even-window-heights. Reported by Eli Zaretskii
1032 <eliz@gnu.org>.
1033
455e4fa1
BR
10342011-07-10 Bob Rogers <rogers@rgrjr.dyndns.org>
1035
1036 * vc/vc.el (vc-diff-internal): Fix race condition (Bug#1256).
1037
8e0bc3e9
CY
10382011-07-10 Chong Yidong <cyd@stupidchicken.com>
1039
1040 * window.el (display-buffer): Fix arguments to
1041 display-buffer-reuse-window in last change.
1042
fa7c3228
CY
1043 * faces.el (link): Use a less saturated blue on light backgrounds.
1044
1045 * startup.el (fancy-startup-text, fancy-about-text)
1046 (fancy-startup-tail): Use font-lock faces, for background safety.
1047
c0a7f300
BN
10482011-07-09 Bob Nnamtrop <bobnnamtrop@gmail.com> (tiny change)
1049
b796c9b7
SM
1050 * emulation/viper-cmd.el (viper-change-state-to-vi):
1051 Limit triggering of abbrev expansion (Bug#9038).
c0a7f300 1052
4dc2a129
MR
10532011-07-09 Martin Rudalics <rudalics@gmx.at>
1054
1055 * window.el (display-buffer-default-specifiers): Remove.
1056 (display-buffer-macro-specifiers): Remove default specifiers.
1057 (display-buffer-alist): Default to nil.
b796c9b7 1058 (display-buffer-reuse-window): New optional argument other-window.
4dc2a129
MR
1059 (display-buffer-pop-up-window): Allow splitting internal
1060 windows. Check whether a live window was created.
1061 (display-buffer-other-window-means-other-frame)
1062 (display-buffer-normalize-arguments): Rename to
1063 display-buffer-normalize-argument and rewrite. Set the
1064 other-window specifier.
1065 (display-buffer-normalize-special): New function.
1066 (display-buffer-normalize-options): Rename to
1067 display-buffer-normalize-default and rewrite.
1068 (display-buffer-normalize-options-inhibit): Remove.
1069 (display-buffer-normalize-specifiers): Rewrite.
1070 (display-buffer): Process other-window specifier and call
1071 display-buffer-reuse-window with it. Emulate Emacs 23 behavior
1072 more faithfully.
b796c9b7 1073 (pop-up-windows, even-window-heights): Restore Emacs 23 default values.
4dc2a129 1074 (display-buffer-alist-set): Don't handle 'unset default values.
b796c9b7
SM
1075 (display-buffer-in-window, display-buffer-alist-set):
1076 Replace symbol "dedicated" by "dedicate". Reported by Tassilo Horn
4dc2a129
MR
1077 <tassilo@member.fsf.org>.
1078
2d43b8c9
LL
10792011-07-09 Leo Liu <sdl.web@gmail.com>
1080
1081 * register.el (insert-register): Restore accidental change on
1082 2011-06-26. (Bug#9028)
1083
7f9b7c53
GM
10842011-07-09 Glenn Morris <rgm@gnu.org>
1085
1086 * subr.el (remq): Handle the empty list. (Bug#9024)
1087
f042cfd8
AS
10882011-07-08 Andreas Schwab <schwab@linux-m68k.org>
1089
1090 * mail/sendmail.el (send-mail-function): No longer delay custom
1091 initialization.
1092 * custom.el (custom-initialize-delay): Doc fix.
1093
856b2f11
SM
10942011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
1095
1096 * abbrev.el (expand-abbrev): Try to preserve point (bug#5805).
1097
afae1d68
MA
10982011-07-08 Michael Albinus <michael.albinus@gmx.de>
1099
1100 * net/tramp-sh.el (tramp-sh-handle-start-file-process): Use a
1101 human-friendly prompt.
1102
0757af94
SM
11032011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
1104
1105 * vc/vc-bzr.el (vc-bzr-revision-keywords): Remove svn, it's only
1106 provided by a particular plugin.
1107
d760b731
LMI
11082011-07-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
1109
1110 * mail/sendmail.el (sendmail-query-once): If we aren't allowed to
1111 save customizations (with "emacs -Q"), just set the variable
1112 instead of erroring out.
1113
1114 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
1115
cd79ce90
JL
11162011-07-08 Juri Linkov <juri@jurta.org>
1117
1118 * arc-mode.el (archive-zip-expunge, archive-zip-update)
1119 (archive-zip-update-case): Use 7z if found by `executable-find'.
1120 The order of searching the available programs is the same as in
1121 `archive-zip-extract' (bug#8968).
1122
14cc04aa
CY
11232011-07-07 Chong Yidong <cyd@stupidchicken.com>
1124
1125 * menu-bar.el (menu-bar-line-wrapping-menu): Revert last change.
1126 (menu-bar-options-menu): Tweak descriptions.
1127
0a1848ec
LMI
11282011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
1129
1130 * menu-bar.el (menu-bar-line-wrapping-menu): Make all the Options
1131 menu items into verb phrases (bug#1421). Also refill to fit under
1132 80 columns.
1133
f5bd0689
CY
11342011-07-07 Chong Yidong <cyd@stupidchicken.com>
1135
538e85c6
CY
1136 * info.el (info, Info-read-node-name-2, Info-read-node-name-1)
1137 (Info-read-node-name): Doc fix (Bug#1084).
1138
f5bd0689
CY
1139 * thingatpt.el (forward-thing, bounds-of-thing-at-point)
1140 (thing-at-point, beginning-of-thing, end-of-thing, in-string-p)
1141 (end-of-sexp, beginning-of-sexp)
1142 (thing-at-point-bounds-of-list-at-point, forward-whitespace)
1143 (forward-symbol, forward-same-syntax, word-at-point)
1144 (sentence-at-point): Doc fix (Bug#1144).
1145
56ec5115
LMI
11462011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
1147
f3f8e37f
LMI
1148 * info.el (Info-mode-map): Remove S-TAB binding, since [backtab]
1149 should cover it (bug#1281).
1150
0757af94 1151 * cus-edit.el (custom-show): Mark as obsolete.
af0905c8 1152
12b9eb35
LMI
1153 * net/network-stream.el (network-stream-open-starttls): If gnutls
1154 negotiation fails, then possibly try again with a non-encrypted
1155 connection (bug#9017).
1156
56ec5115
LMI
1157 * mail/smtpmail.el (smtpmail-stream-type): Note that `plain' can
1158 be used.
1159
c2f9aec8
RS
11602011-07-07 Richard Stallman <rms@gnu.org>
1161
1162 * mail/rmail.el (rmail-next-error-move): Use `compilation-message'
1163 property, and handle its changed format.
1164 Look for the correct line number.
1165 Use file's line contents (but not past first =) to find
1166 correct line in message.
1167
ef7b981d 11682011-07-07 Kenichi Handa <handa@m17n.org>
c805dec0
KH
1169
1170 * international/characters.el (build-unicode-category-table):
1171 Delete it.
0757af94 1172 (unicode-category-table): Set it by unicode-property-table-internal.
c805dec0 1173
0757af94 1174 * international/mule-cmds.el (char-code-property-alist): Move to
c805dec0
KH
1175 to src/chartab.c.
1176 (get-char-code-property): Call unicode-property-table-internal to
1177 load a file. Call get-unicode-property-internal where necessary.
1178 (put-char-code-property): Call unicode-property-table-internal to
1179 load a file. Call put-unicode-property-internal where necessary.
1180 put-unicode-property-internal where necessary.
0757af94
SM
1181 (char-code-property-description):
1182 Call unicode-property-table-internal to load a file.
c805dec0
KH
1183
1184 * international/charprop.el:
1185 * international/uni-bidi.el:
1186 * international/uni-category.el:
1187 * international/uni-combining.el:
1188 * international/uni-comment.el:
1189 * international/uni-decimal.el:
1190 * international/uni-decomposition.el:
1191 * international/uni-digit.el:
1192 * international/uni-lowercase.el:
1193 * international/uni-mirrored.el:
1194 * international/uni-name.el:
1195 * international/uni-numeric.el:
1196 * international/uni-old-name.el:
1197 * international/uni-titlecase.el:
1198 * international/uni-uppercase.el: Regenerate.
1199
1200 * loadup.el: Load international/charprop.el before
1201 international/characters.
1202
e14b388a
CY
12032011-07-07 Chong Yidong <cyd@stupidchicken.com>
1204
1205 * window.el (next-buffer, previous-buffer): Signal an error if
1206 called from a minibuffer window.
1207
1208 * bindings.el: Revert 2011-07-04 change.
1209
354cf0ba
RS
12102011-07-06 Richard Stallman <rms@gnu.org>
1211
1212 * mail/rmailmm.el (rmail-mime-process): Use markers for buf positions.
1213 (rmail-mime-insert-bulk, rmail-mime-insert-text):
1214 Treat markers like ints.
1215 (rmail-mime-entity): Doc fix.
1216
a48868a7
LMI
12172011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
1218
4906cd3d
LMI
1219 * mail/smtpmail.el (smtpmail-default-smtp-server): Made into a
1220 defcustom again for backwards compatibility.
1221
e0457abe
LMI
1222 * simple.el (shell-command-on-region): Fill.
1223
d67f7e1f
LMI
1224 * dired-aux.el (dired-kill-line): Add a doc string.
1225
fe204702
LMI
1226 * dabbrev.el (dabbrev-abbrev-char-regexp): Note that nil defaults
1227 to "\\sw\\|\\s_" (bug#358).
1228
a48868a7
LMI
1229 * dired.el (dired-mode): Clarify "unmark or unflag" (bug#8770).
1230 (dired-unmark-backward): Ditto.
1231 (dired-flag-backup-files): Ditto.
1232
1233 * dired-x.el (dired-mark-sexp): Ditto.
1234
aa8a705c
RS
12352011-07-06 Richard Stallman <rms@gnu.org>
1236
1237 * mail/rmailmm.el: Give entity a new slot, TRUNCATED.
1238 (rmail-mime-entity): New arg TRUNCATED.
1239 (rmail-mime-entity-truncated, rmail-mime-entity-set-truncated):
1240 New functions.
1241 (rmail-mime-save): Warn if entity is truncated.
1242 (rmail-mime-toggle-hidden): Likewise, for showing.
1243 (rmail-mime-process-multipart): Record when an entity is truncated.
1244
a9a936b9
RS
1245 * mail/rmailmm.el (rmail-search-mime-message): Don't get confused
1246 if ENTITY is a string.
1247
1f2b92cb
LMI
12482011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
1249
f4f73198 1250 * emacs-lisp/lisp-mode.el (eval-defun-1): Update the documentation
0757af94
SM
1251 of faces when `M-C-x'-ing their definitions (bug#8378).
1252 Also clean up the code slightly.
f4f73198 1253
12b16734
LMI
1254 * progmodes/grep.el (rgrep): Don't bind `process-connection-type',
1255 because that makes the colours go away.
1256
f0691d22
LMI
1257 * mail/sendmail.el (send-mail-function): Change the default to
1258 `sendmail-query-once'.
9e87df06 1259 (sendmail-query-once): Add an autoload cookie.
f0691d22 1260
1f2b92cb
LMI
1261 * net/network-stream.el (network-stream-open-starttls): Try using
1262 a plain connection even if the server offered STARTTLS, and we
1263 kinda wanted to use it, if Emacs doesn't have any STARTTLS
1264 capability. This should make smtpmail.el work in slightly more
1265 configurations.
1266
1cdd2a1b
MA
12672011-07-06 Michael Albinus <michael.albinus@gmx.de>
1268
1269 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
1270 New defun.
1271 * net/tramp-cmds.el (tramp-append-tramp-buffers): Use it.
1272
fbcc67e2
MM
12732011-07-06 Michael R. Mauger <mmaug@yahoo.com>
1274
1275 * progmodes/sql.el: Version 3.0
0757af94 1276 (sql-product-alist): Add product :completion-object,
fbcc67e2 1277 :completion-column, and :statement attributes.
0757af94 1278 (sql-mode-menu, sql-interactive-mode-map): Fix List entries.
fbcc67e2 1279 (sql-mode-syntax-table): Mark all punctuation.
0757af94 1280 (sql-font-lock-keywords-builder): Temporarily remove fallback on
fbcc67e2
MM
1281 ansi keywords.
1282 (sql-regexp-abbrev, sql-regexp-abbrev-list): New functions.
0757af94 1283 (sql-mode-oracle-font-lock-keywords): Improve.
fbcc67e2
MM
1284 (sql-oracle-show-reserved-words): New function for development.
1285 (sql-product-font-lock): Simplify for source code buffers.
1286 (sql-product-syntax-table, sql-product-font-lock-syntax-alist):
1287 New functions.
1288 (sql-highlight-product): Set product specific syntax table.
0757af94
SM
1289 (sql-mode-map): Add statement movement functions.
1290 (sql-ansi-statement-starters, sql-oracle-statement-starters):
1291 New variable.
fbcc67e2
MM
1292 (sql-statement-regexp, sql-beginning-of-statement)
1293 (sql-end-of-statement, sql-signum): New functions.
0757af94 1294 (sql-buffer-live-p, sql=find-sqli-buffer): Add CONNECTION parameter.
fbcc67e2
MM
1295 (sql-show-sqli-buffer): Bug fix.
1296 (sql-interactive-mode): Store connection data as buffer local.
0757af94 1297 (sql-connect): Add NEW-NAME parameter. Redesign interaction
fbcc67e2
MM
1298 with sql-interactive-mode.
1299 (sql-save-connection): Save buffer local settings.
0757af94 1300 (sql-connection-menu-filter): Change menu entry name.
fbcc67e2
MM
1301 (sql-product-interactive): Bug fix.
1302 (sql-preoutput-hold): New variable.
1303 (sql-interactive-remove-continuation-prompt): Bug fixes.
1304 (sql-debug-redirect): New variable.
1305 (sql-str-literal): New function.
1306 (sql-redirect, sql-redirect-one, sql-redirect-value, sql-execute):
0757af94 1307 Redesign.
fbcc67e2
MM
1308 (sql-oracle-save-settings, sql-oracle-restore-settings)
1309 (sql-oracle-list-all, sql-oracle-list-table): New functions.
1310 (sql-completion-object, sql-completion-column)
1311 (sql-completion-sqlbuf): New variables.
1312 (sql-build-completions-1, sql-build-completions)
1313 (sql-try-completion): New functions.
1314 (sql-read-table-name): Use them.
1315 (sql-contains-names): New buffer local variable.
1316 (sql-list-all, sql-list-table): Use it.
1317 (sql-oracle-completion-types): New variable.
1318 (sql-oracle-completion-object, sql-sqlite-completion-object)
1319 (sql-postgres-completion-object): New functions.
1320
d4eaeab1
GM
13212011-07-06 Glenn Morris <rgm@gnu.org>
1322
1323 * window.el (pop-to-buffer): Doc fix.
1324
322b7dab 13252011-07-06 Markus Heiser <markus.heiser@darmarit.de> (tiny change)
a1d3a912
CY
1326
1327 * progmodes/gud.el (gud-pdb-marker-regexp): Accept \r char (Bug#5653).
1328
322b7dab 13292011-07-06 Chong Yidong <cyd@stupidchicken.com>
0484d600 1330
322b7dab 1331 * window.el (special-display-popup-frame): Doc fix (Bug#8853).
4f8f657f 1332
322b7dab 1333 * info.el (Info-directory-toc-nodes): Minor doc fix (Bug#8833).
8f43cbf3 1334
605dd5bf
CY
13352011-07-05 Chong Yidong <cyd@stupidchicken.com>
1336
1337 * button.el (button): Inherit from link face. Suggested by Dan
1338 Nicolaescu.
1339
7dbfa719
SM
13402011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
1341
3db614b0
SM
1342 * progmodes/gdb-mi.el: Fit in 80 columns.
1343 (gdb-setup-windows, gdb-restore-windows): Avoid other-window and
1344 switch-to-buffer.
1345
7dbfa719
SM
1346 * progmodes/which-func.el (which-func-ff-hook): Don't output a message
1347 if imenu is simply not configured (bug#8941).
1348
919d884a
KM
13492011-07-05 Ken Manheimer <ken.manheimer@gmail.com>
1350
1351 * allout.el (allout-post-undo-hook): New allout outline-change
1352 event hook to signal undo activity.
1353 (allout-post-command-business): Run allout-post-undo-hook if an
1354 undo just occurred.
7dbfa719
SM
1355 (allout-after-copy-or-kill-hook, allout-mode): Minor docstring changes.
1356 * allout-widgets.el (allout-widgets-after-undo-function):
1357 Ensure the integrity of the current item's decoration after it has been
919d884a
KM
1358 in the vicinity of an undo.
1359 (allout-widgets-mode): Include allout-widgets-after-undo-function
1360 on the new allout-post-undo-hook.
1361
450a0f09
SM
13622011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
1363
1364 * emacs-lisp/lisp-mode.el (lisp-interaction-mode-abbrev-table):
1365 Let define-derived-mode define it.
1366 * emacs-lisp/derived.el (define-derived-mode): Try to avoid creating
1367 cycles of abbrev-table inheritance (bug#8998).
1368
2de69e00
RW
13692011-07-05 Roland Winkler <winkler@gnu.org>
1370
1371 * textmodes/bibtex.el: Add support for biblatex.
1372 (bibtex-BibTeX-entry-alist, bibtex-biblatex-entry-alist)
1373 (bibtex-BibTeX-field-alist, bibtex-biblatex-field-alist)
1374 (bibtex-dialect-list, bibtex-dialect, bibtex-no-opt-remove-re)
1375 (bibtex-entry-alist, bibtex-field-alist): New variables.
1376 (bibtex-entry-field-alist): Obsolete alias for
1377 bibtex-BibTeX-entry-alist.
1378 (bibtex-entry-alist, bibtex-field-alist): New widgets.
1379 (bibtex-set-dialect): New command.
1380 (bibtex-entry-type, bibtex-entry-head)
450a0f09
SM
1381 (bibtex-entry-maybe-empty-head, bibtex-any-valid-entry-type):
1382 Bind via bibtex-set-dialect.
2de69e00
RW
1383 (bibtex-Article, bibtex-Book, bibtex-Booklet, bibtex-InBook)
1384 (bibtex-InCollection, bibtex-InProceedings, bibtex-Manual)
1385 (bibtex-MastersThesis, bibtex-Misc, bibtex-PhdThesis)
1386 (bibtex-Proceedings, bibtex-TechReport, bibtex-Unpublished):
1387 Define via bibtex-set-dialect.
450a0f09
SM
1388 (bibtex-name-in-field, bibtex-remove-OPT-or-ALT):
1389 Obey bibtex-no-opt-remove-re.
2de69e00
RW
1390 (bibtex-vec-push, bibtex-vec-incr): New functions.
1391 (bibtex-format-entry, bibtex-field-list)
1392 (bibtex-print-help-message, bibtex-validate)
1393 (bibtex-search-entries): Use new format of bibtex-entry-alist.
1394
2dcdbdd9
SM
13952011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
1396
1397 * progmodes/compile.el (compilation-goto-locus):
1398 * net/tramp-cmds.el (tramp-append-tramp-buffers):
1399 * bs.el (bs-cycle-next, bs-cycle-previous):
1400 * bookmark.el (bookmark-bmenu-list, bookmark-bmenu-2-window):
1401 * bindings.el (mode-line-other-buffer):
1402 * autoinsert.el (auto-insert):
1403 * arc-mode.el (archive-extract):
1404 * abbrev.el (edit-abbrevs): Fix some uses of switch-to-buffer.
1405
b27640fe
JB
14062011-07-05 Juanma Barranquero <lekktu@gmail.com>
1407
1408 * emacs-lock.el (emacs-lock-mode): Fix typo in variable name.
1409 Fix check of `emacs-lock-unlockable-modes'.
1410 Coerce true values of `emacs-lock--try-unlocking' to t.
1411
53bbe3ad
JB
14122011-07-05 Juanma Barranquero <lekktu@gmail.com>
1413
1414 * obsolete/old-emacs-lock.el: Rename from emacs-lock.el.
1415 * emacs-lock.el: New file.
1416
1d3cdbc7
JD
14172011-07-05 Julien Danjou <julien@danjou.info>
1418
1419 * textmodes/rst.el (rst-define-level-faces): Use `facep' rather
1420 than `boundp' to check if face is set.
1421
9173deec
JB
14222011-07-05 Juanma Barranquero <lekktu@gmail.com>
1423
1424 * register.el (registerv-make):
1425 * window.el (window-min-height): Fix typos in docstrings.
1426
869795d6
JD
14272011-07-05 Jan Djärv <jan.h.d@swipnet.se>
1428
9173deec 1429 * dynamic-setting.el (dynamic-setting-handle-config-changed-event):
869795d6
JD
1430 Update doc string.
1431
b768cdcd
JB
14322011-07-04 Juanma Barranquero <lekktu@gmail.com>
1433
1434 * server.el (server-execute): Catch quit and call
1435 `server-return-error' to pass the error back to emacsclient and
1436 close the connection (bug#8942).
1437
13aa217b
KM
14382011-07-04 Ken Manheimer <ken.manheimer@gmail.com>
1439
1440 * allout.el (allout-encrypt-unencrypted-on-saves): Do not provide
1441 insecure exception for current topic. Also note that auto-saves
1442 are handled differently.
1443
1444 (allout-auto-save-temporarily-disabled), (allout-just-did-undo):
1445 State variables for tracking auto-save inhibition situation.
1446
1447 (allout-write-contents-hook-handler): Rename from
1448 'allout-write-file-hook-handler', and describe how it depends on
1449 write-contents-functions sensitivity to non-nil value to prevent
1450 file write.
1451
1452 (allout-auto-save-hook-handler): Remove. auto-save does not check
1453 this in individual buffers, only in the starting buffer, so this
1454 is not the right way for us to inhibit auto-save in a buffer
1455 according to its condition.
1456
1457 (allout-mode): Use new allout-write-contents-hook-handler, and
1458 only with write-contents-functions. Remove auto-save provisions -
1459 they're implemented elsewhere.
1460
1461 (allout-before-change-handler): If undo is in progress, note that
1462 for attention of allout-post-command-business.
1463
1464 (allout-post-command-business): If the command we're following was
1465 an undo, check for change in the status of encrypted items and
1466 adjust auto-save inhibitions accordingly.
1467
1468 (allout-toggle-subtree-encryption): Adjust auto-save inhibition
1469 according to whether there are or aren't any plain-text topics
1470 pending encryption.
1471
2dcdbdd9
SM
1472 (allout-inhibit-auto-save-info-for-decryption):
1473 Adjust buffer-saved-size and some allout state to inhibit auto-saves if
13aa217b
KM
1474 there are plain-text topics pending encryption.
1475
1476 (allout-maybe-resume-auto-save-info-after-encryption): Adjust
1477 buffer-saved-size and some allout state to not inhibit auto-saves
1478 if there are no longer any plain-text topics pending encryption.
1479
0757af94
SM
1480 (allout-next-topic-pending-encryption, allout-encrypt-decrypted):
1481 No longer provide for exemption of the current topic.
13aa217b 1482
ac89b32c
JL
14832011-07-04 Juri Linkov <juri@jurta.org>
1484
1485 Add 7z operations to delete and save changed members (bug#8968).
1486 * arc-mode.el (archive-7z-expunge, archive-7z-update):
1487 New defcustoms.
1488 (archive-7z-write-file-member): New function.
1489 (archive-7z-summarize): Fix the number of dashes in the
1490 listing output.
1491
8fa39615
SM
14922011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
1493
1494 * pcmpl-linux.el (pcomplete-pare-list): Re-add, from pcomplete.el
1495 (bug#8958).
1496
2f11b3f1
CY
14972011-07-04 Chong Yidong <cyd@stupidchicken.com>
1498
d66fef2b
CY
1499 * bindings.el: Ignore next-buffer and previous-buffer in
1500 minibuffer-local-map.
1501
2f11b3f1
CY
1502 * font-lock.el (font-lock-builtin-face): Change light background
1503 color to dark slate blue (Bug#6693).
1504
f932a347
WD
15052011-07-04 Wang Diancheng <dcwang@kingbase.com.cn> (tiny change)
1506
1507 * progmodes/gdb-mi.el (gdb): Use completion-at-point.
1508
c8af70e1
SM
15092011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
1510
1511 * files.el (find-file): Use pop-to-buffer-same-window (bug#8911).
1512 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
1513 Add switch-to-buffer.
1514
f158badc
LMI
15152011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
1516
1517 * isearch.el (isearch-search-fun-function): Clarify further the
1518 meaning of the function returned.
1519
6d95bd46
MA
15202011-07-04 Michael Albinus <michael.albinus@gmx.de>
1521
1522 * net/tramp-cmds.el (tramp-cleanup-this-connection): New command.
1523
1524 * net/tramp-sh.el (tramp-color-escape-sequence-regexp): New defconst.
1525 (tramp-sh-handle-insert-directory, tramp-convert-file-attributes):
1526 Use it.
1527 (tramp-remote-path): Add "/bin" and "/usr/bin". On busyboxes,
1528 `tramp-default-remote-path' does not exist.
1529 (tramp-send-command-and-read): New optional argument NOERROR.
1530 (tramp-open-connection-setup-interactive-shell)
1531 (tramp-get-remote-path, tramp-get-remote-stat): Use it.
1532 (tramp-get-remote-readlink): Do not mask with `ignore-errors'.
1533 (tramp-process-sentinel): Flush also process' connection property.
1534 (tramp-sh-handle-start-file-process): Do not set process
1535 sentinel. It is done now ...
1536 (tramp-maybe-open-connection): ... here. (Bug#8929)
1537
909e6b67
MK
15382011-07-04 MON KEY <monkey@sandpframing.com>
1539
1540 * play/animate.el (animate-string): Doc fixes and allow changing
1541 the buffer name (bug#5417).
1542
15432011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
1544
c8af70e1 1545 * play/animate.el (animation-buffer-name): Rename from *animate*.
909e6b67 1546
f34755dc
PE
15472011-07-04 Paul Eggert <eggert@cs.ucla.edu>
1548
396cec72
PE
1549 * emacs-lisp/timer.el: Use time-date fns rather than rolling our own.
1550 This is simpler and helps future-proof the code.
1551 (timer-until): Use time-subtract and float-time.
08235028 1552 (timer--time-less-p): Use time-less-p.
f34755dc 1553
56e6cc31
JB
15542011-07-04 Juanma Barranquero <lekktu@gmail.com>
1555
3abb79e5
JB
1556 * type-break.el (timep): Use the value of `float-time' to avoid a
1557 byte-compiler warning.
1558
56e6cc31
JB
1559 * server.el (server-eval-and-print): Return any result, even nil.
1560
7b9430b4
PE
15612011-07-03 Paul Eggert <eggert@cs.ucla.edu>
1562
1563 * type-break.el: Accept time formats that the builtins accept.
1564 (timep, type-break-time-difference): Accept any format that
1565 float-time accepts, rather than insisting on (HIGH LOW USECS) format.
1566 This is simpler and helps future-proof the code.
1567 (type-break-time-difference): Round rather than ignoring
1568 subseconds components.
1569
3034e9e7
LMI
15702011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
1571
1572 * info.el (Info-apropos-matches): Make non-interactive, since it
1573 doesn't seem to do anything useful as a command (bug#8829).
1574
1485f4c0
CY
15752011-07-03 Chong Yidong <cyd@stupidchicken.com>
1576
1577 * frame.el (frame-background-mode, frame-set-background-mode):
c8af70e1 1578 Move from faces.el.
1485f4c0
CY
1579 (frame-default-terminal-background): New function.
1580
1581 * custom.el (custom-push-theme): Don't record faces in `changed'
1582 theme; this doesn't work correctly for per-frame face settings.
1583 (disable-theme): Use face-set-after-frame-default to reset faces.
1584 (custom--frame-color-default): New function.
1585
9fa3dd45
LMI
15862011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
1587
c8af70e1 1588 * dired.el (dired-flagging-regexp): Remove unused variable
9fa3dd45
LMI
1589 (bug#8769).
1590
6cbbc20c
KR
15912011-03-29 Kevin Ryde <user42@zip.com.au>
1592
1593 * progmodes/compile.el (compilation-error-regexp-alist-alist):
1594 `perl-Test2' extend to match possible "fail #N" rep count
1595 (bug#8377).
1596
c7f98048
LMI
15972011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
1598
65676592
LMI
1599 * mail/feedmail.el (feedmail-buffer-to-smtpmail):
1600 `smtpmail-via-smtp' now returns the error instead of nil.
1601
c7f98048
LMI
1602 * isearch.el (isearch-search-fun-function): Clarify the doc string
1603 (bug#8101).
1604
56e6cc31 16052011-07-03 Richard Kim <emacs18@gmail.com> (tiny change)
9a51c6c7
RK
1606
1607 * textmodes/texnfo-upd.el (texinfo-insert-menu): Don't insert
1608 unnecessary spaces (bug#8987).
1609
2b216704
LMI
16102011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
1611
1612 * net/network-stream.el (open-network-stream): Use the
1613 :end-of-capability command thoughout.
1614
16152011-07-03 Wolfgang Jenkner <wjenkner@inode.at> (tiny change)
1616
1617 * net/network-stream.el (open-network-stream): Add the
1618 :end-of-capability command parameter, used by pop3.el.
1619
36adf6ce
LMI
16202011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
1621
1ca0da0e
LMI
1622 * dired.el (dired-map-over-marks): Refill the doc string (bug#6814).
1623
fc00f69c
LMI
1624 * fringe.el (fringe-query-style): Remove redundant text " (type ?
1625 for list)" (bug#6475).
1626
28fd8759
LMI
1627 * files.el (file-expand-wildcards): Ignore non-readable
1628 sub-directories while trying to find matches instead of signalling
1629 an error (bug#6297).
1630
0dd8b6da
LMI
1631 * man.el (Man-reference-regexp): Allow matching possible
1632 word-wrapped references (bug#6289).
1633
ce1438d6
LMI
1634 * vc/vc.el (vc-modify-change-comment): Change *VC-log* to *vc-log*
1635 for consistency with the other vc buffers (bug#6197).
1636 (vc-checkin): Ditto.
1637
1638 * vc/vc-arch.el: Fix comments to match the *VC-log* name change.
1639
36adf6ce
LMI
1640 * longlines.el (longlines-mode): Document what ARG does (bug#6150).
1641
e83cc1f7
LMI
16422011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
1643
8a20ca4c
LMI
1644 * custom.el (defcustom): Clarify that :set is only used in the
1645 Customize user interface (bug#6089).
1646
83319045
LMI
1647 * progmodes/flymake.el (flymake-mode): If the buffer isn't
1648 associated with a file, refuse to run instead of erroring out
1649 (bug#6084).
1650
a8392169
LMI
1651 * textmodes/fill.el (fill-region): Remove the "Ordinarily" from
1652 the doc string, since it appears that using `fill-column' always
1653 controls the width (bug#7845).
1654
e83cc1f7
LMI
1655 * simple.el (shell-command-on-region): Say where the error output
1656 went if `shell-command-default-error-buffer' is set (bug#6857).
1657
e47ca23b
KM
16582011-07-02 Ken Manheimer <ken.manheimer@gmail.com>
1659
1660 * allout.el (allout-yank-processing): Adjust cursor position for
1661 backwards-deleted space.
1662
1663 (allout-rebullet-heading): Register changes with
1664 allout-exposure-changed-hook, so the modified topic is properly
1665 decorated.
1666
5cf56143
LMI
16672011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
1668
08549772
LMI
1669 * minibuffer.el (completion-in-region): Document PREDICATE
1670 (bug#7136).
1671
48e96771
LMI
1672 * info-look.el (info-lookup-add-help): Clarify that ARGS is a list
1673 of keyword/argument pairs (bug#6904).
1674
c8af70e1
SM
1675 * replace.el (multi-occur):
1676 Mention `multi-occur-in-matching-buffers' in the doc string (bug#7566).
5cf56143 1677
e17d05e2
LMI
16782011-07-02 Drew Adams <drew.adams@oracle.com>
1679
1680 * dired.el (dired-mark-if): Make the message about whether it's
1681 marking or unmarking clearer (bug#8523).
1682
063b0e45
LMI
16832011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
1684
1685 * disp-table.el (display-table-print-array): New function.
1686 (describe-display-table): Use it to print the vectors more pretty
1687 (Bug#8859).
1688
28545e04
MR
16892011-07-02 Martin Rudalics <rudalics@gmx.at>
1690
1691 * window.el (window-state-get-1): Don't assign clone numbers.
1692 Add clone-of item to list of window parameters.
1693 (window-state-put-2): Don't process clone numbers.
1694 (display-buffer-alist): Fix doc-string.
1695
3349e122
SM
16962011-07-02 Stefan Monnier <monnier@iro.umontreal.ca>
1697
1698 * subr.el (remq): Don't allocate if it's not needed.
1699 (keymap--menu-item-binding, keymap--menu-item-with-binding)
1700 (keymap--merge-bindings): New functions.
1701 (keymap-canonicalize): Use them to refine the canonicalization.
1702 * minibuffer.el (minibuffer-local-completion-map)
1703 (minibuffer-local-must-match-map): Move initialization from C.
1704 (minibuffer-local-filename-completion-map): Move initialization from C;
1705 don't inherit from anything here.
1706 (minibuffer-local-filename-must-match-map): Make obsolete.
1707 (completing-read-default): Use make-composed-keymap to combine
1708 minibuffer-local-filename-completion-map with either
1709 minibuffer-local-must-match-map or
1710 minibuffer-local-filename-completion-map.
1711
d224ac83
GM
17122011-07-01 Glenn Morris <rgm@gnu.org>
1713
3de63bf8
GM
1714 * type-break.el (type-break-time-sum): Use dolist.
1715
d224ac83
GM
1716 * textmodes/flyspell.el (flyspell-word-search-backward):
1717 Replace CL function.
1718
1a1e3f32
SM
17192011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
1720
fe3f64d5
SM
1721 * mouse.el (mouse--strip-first-event): New function.
1722 (function-key-map): Use it to map fringe clicks to normal clicks
1723 by default.
1724
eb604e34
SM
1725 * vc/vc-bzr.el (vc-bzr-revision-keywords): Update.
1726 (vc-bzr-revision-completion-table): Add support for annotate and date.
1727
1a1e3f32
SM
1728 * emacs-lisp/derived.el (define-derived-mode): Make abbrev-table
1729 inherit from parent.
1730
5bd35902
LMI
17312011-07-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
1732
ace6c69c 1733 * dired-aux.el (dired-diff): Doc fixup (bug#8816).
26bde865 1734 (dired-show-file-type): Doc fixup (bug#8818).
ace6c69c 1735
191e2bed
LMI
1736 * dired.el (dired-mode): Fix up the doc string as suggested by
1737 Drew Adams (bug#8817).
1738
5bd35902
LMI
1739 * progmodes/flymake.el (flymake-find-file-hook): Add an `autoload'
1740 cookie, since the manual says that it should be possible to add
1741 this function to `find-file-hook' (bug#8709).
1742
eee8207a
TZ
17432011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
1744
1745 * progmodes/cfengine.el: Moved all cfengine3.el functionality
1746 here. Noted Ted Zlatanov as the maintainer.
1747 (cfengine-common-settings, cfengine-common-syntax): New functions
1748 to set up common things between `cfengine-mode' and
1749 `cfengine3-mode'.
1750 (cfengine3-mode): New mode.
1751 (cfengine3-defuns cfengine3-defuns-regex
1752 (cfengine3-class-selector-regex cfengine3-category-regex)
1753 (cfengine3-vartypes cfengine3-font-lock-keywords)
1754 (cfengine3-beginning-of-defun, cfengine3-end-of-defun)
eb604e34 1755 (cfengine3-indent-line): Add from cfengine3.el.
eee8207a 1756
36b148cf
MA
17572011-07-01 Michael Albinus <michael.albinus@gmx.de>
1758
1759 * net/tramp.el (tramp-encoding-command-interactive): New defcustom.
1760
1761 * net/tramp-sh.el (tramp-maybe-open-connection): Use it.
1762
0bf4ba9a
MR
17632011-07-01 Martin Rudalics <rudalics@gmx.at>
1764
1765 * window.el (same-window-buffer-names, same-window-regexps)
1766 (same-window-p, special-display-frame-alist)
1767 (special-display-popup-frame, special-display-function)
1768 (special-display-buffer-names, special-display-regexps)
1769 (special-display-p, pop-up-frame-alist, pop-up-frame-function)
1770 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
1771 (split-window-preferred-function, split-height-threshold)
1772 (split-width-threshold, even-window-heights)
1773 (display-buffer-mark-dedicated, window-splittable-p)
1774 (split-window-sensibly, window-safely-shrinkable-p):
1775 Un-obsolete.
1776 (display-buffer): Don't spread args with function specifier
1777 because special-display-popup-frame won't like it.
1778
35837f51
PE
17792011-07-01 Paul Eggert <eggert@cs.ucla.edu>
1780
d0672f86
PE
1781 Time-stamp simplifications and fixes.
1782 These improve accuracy slightly, and future-proof the code
1783 against some potential changes to current-time format.
1784
b9444d97
PE
1785 * woman.el (woman-decode-buffer, WoMan-log-end): Log fractional secs
1786 by using time-since and float-time.
1787
0ef923dc
PE
1788 * vc/ediff-util.el (ediff-calc-command-time): Use time-since
1789 and float-time. Say "NNN.NNN seconds" rather than "NNN seconds
1790 + NNN microseconds".
1791
2f81380d
PE
1792 * type-break.el (type-break-time-sum): Rewrite using time-add.
1793
845b5c3e
PE
1794 * play/hanoi.el (hanoi-current-time-float): Remove.
1795 All uses replaced by float-time.
1796
ee6f1be0
PE
1797 * nxml/rng-maint.el (rng-time-function): Rewrite using time-subtract.
1798 This yields a more-accurate answer.
1799 (rng-time-to-float): Remove; no longer needed.
1800
fe955043
PE
1801 * emacs-lisp/timer.el (timer-relative-time): Use time-add.
1802
5777162a
PE
1803 * calendar/timeclock.el (timeclock-seconds-to-time):
1804 Defalias to seconds-to-time, since they're the same thing.
1805
3103f8b6 1806 * emacs-lisp/elp.el (elp-elapsed-time):
e2bac5f6 1807 * emacs-lisp/benchmark.el (benchmark-elapse):
35837f51
PE
1808 * allout-widgets.el (allout-elapsed-time-seconds): Use float-time.
1809
0e61a35f
SM
18102011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
1811
1812 * window.el (bury-buffer): Don't iconify the only frame.
1813 (switch-to-buffer): Revert to Emacs<23 behavior, i.e. do not fallback
1814 to pop-to-buffer. Use pop-to-buffer-same-frame if you don't like that.
1815
ddd63a1e
CY
18162011-07-01 Chong Yidong <cyd@stupidchicken.com>
1817
0e61a35f
SM
1818 * eshell/em-smart.el (eshell-smart-display-navigate-list):
1819 Add mouse-yank-primary.
ddd63a1e 1820
055f4923
TZ
18212011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
1822
1823 * progmodes/cfengine3.el: New file to support CFEngine 3.x.
1824
6a2fb145
SM
18252011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
1826
1827 * emacs-lisp/find-func.el (find-library--load-name): New fun.
1828 (find-library-name): Use it to find relative load names when provided
1829 absolute file name (bug#8803).
1830
fd4983f2
LMI
18312011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
1832
887d14ad
LMI
1833 * textmodes/flyspell.el (flyspell-word): Consider words that
1834 differ only in case as potential doublons (bug#5687).
1835
c53dc7fc
LMI
1836 * net/soap-client.el (soap-invoke, soap-wsdl-resolve-references):
1837 Remove two rather uninteresting debugging-like messages to make
1838 debbugs.el more silent.
1839
fd4983f2
LMI
1840 * comint.el (comint-password-prompt-regexp): Accept "Response" as
1841 a password-like phrase.
1842
b14c0c55
AM
18432011-06-30 Mastake YAMATO <yamato@redhat.com>
1844
1845 * progmodes/cc-guess.el: New file.
1846
6a2fb145 1847 * progmodes/cc-langs.el (c-mode-menu): Add "Style..." submenu.
b14c0c55
AM
1848
1849 * progmodes/cc-styles.el (cc-choose-style-for-mode): New function
1850 derived from `c-basic-common-init'.
1851
1852 * progmodes/cc-mode.el (top-level): Require cc-guess.
1853 (c-basic-common-init): Use `cc-choose-style-for-mode'.
1854
1fa280a3
LM
18552011-06-30 Lawrence Mitchell <wence@gmx.li>
1856
1857 * progmodes/js.el (js-mode): Don't stomp on global settings (bug#8933).
1858
e6597158
AM
18592011-06-30 Alan Mackenzie <acm@muc.de>
1860
1fa280a3
LM
1861 * progmodes/cc-engine.el (c-guess-continued-construct):
1862 Correct the handling of template-args-cont, particularly for when font
e6597158
AM
1863 lock is disabled. Name this case as "CASE G".
1864
68ba37fb
KM
18652011-06-30 Ken Manheimer <ken.manheimer@gmail.com>
1866
1867 * allout.el (allout-yank-processing): Fix injection of extra space
1868 between bullet and non-whitespace character in first topic when
1869 pasting, ensuring that the actual spacing in the pasted topic
1870 following the bullet char is preserved. This extra space was
1871 causing pasted encrypted topics to get a decrypted status even
1872 when the content was actually still encrypted. Now the decryption
1873 status from before the paste is preserved.
1874
1875 (allout-flag-region): Set all allout overlays so they evaporate
1876 when reduced to zero length (evanescent), to prevent overlay
1877 leakage.
1878
887a0b34
GM
18792011-06-30 Glenn Morris <rgm@gnu.org>
1880
94b9acce
GM
1881 * w32-fns.el (w32-charset-info-alist): Declare.
1882
1d9b46d4
GM
1883 * find-dired.el (find-grep-options): Simplify.
1884
cc232200
GM
1885 * term/ns-win.el (ns-set-resource): Declare.
1886
28e77c46
GM
1887 * ses.el (row, col): Declare dynamic variables honestly.
1888
887a0b34
GM
1889 * textmodes/reftex-parse.el (index-tags): Declare.
1890
658d8eb8
CY
18912011-06-30 Chong Yidong <cyd@stupidchicken.com>
1892
1893 * cus-edit.el (customize-push-and-save): New function.
1894
1895 * files.el (hack-local-variables-confirm): Use it.
1896
1fa280a3
LM
1897 * custom.el (load-theme): New arg NO-CONFIRM.
1898 Use customize-push-and-save (Bug#8720).
658d8eb8
CY
1899 (custom-enabled-themes): Doc fix.
1900
1901 * cus-theme.el (customize-create-theme)
1902 (custom-theme-merge-theme): Callers to load-theme changed.
1903
bb617717
LMI
19042011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
1905
d61bdd5d
LMI
1906 * thingatpt.el (thing-at-point-short-url-regexp): Require that
1907 short URLs have at least one dot in them (bug #7614).
1908
bb617717
LMI
1909 * progmodes/grep.el (rgrep): Bind `process-connection-type' to
1910 nil, because using a pty is apparently too slow (bug #895).
1911
2f31f37a
LMI
19122011-06-29 Lars Magne Ingebrigtsen <larsi@gnus.org>
1913
1914 * mail/sendmail.el (sendmail-query-once): New function.
1915 (sendmail-query-once-function): New variable.
1916
3076b24e
GM
19172011-06-29 Glenn Morris <rgm@gnu.org>
1918
faf2a174
GM
1919 * files.el (auto-mode-alist): Add .f03, .f08 for f90-mode.
1920
3076b24e
GM
1921 * ses.el (top-level): Require cl when compiling.
1922 (ses-set-localvars): Fix error statement.
1923 Call it at compile time to silence a storm of warnings.
1924
5386012d
MR
19252011-06-29 Martin Rudalics <rudalics@gmx.at>
1926
1927 * window.el (normalize-live-buffer): Rename to
1928 window-normalize-buffer.
1929 (normalize-live-frame): Rename to window-normalize-frame.
1930 (normalize-any-window): Rename to window-normalize-any-window.
1931 (normalize-live-window): Rename to window-normalize-live-window.
1932 (make-window-atom): Rename to window-make-atom.
1933 (window-resize-reset): Rename to window--resize-reset.
1934 (window-resize-reset-1): Rename to window--resize-reset-1.
1935 (resize-mini-window): Rename to window--resize-mini-window.
1936 (resize-subwindows-skip-p): Rename to
1937 window--resize-subwindows-skip-p.
1938 (resize-subwindows-normal): Rename to
1939 window--resize-subwindows-normal.
1940 (resize-subwindows): Rename to window--resize-subwindows.
1941 (resize-other-windows): Rename to window--resize-siblings.
1942 (resize-this-window): Rename to window--resize-this-window.
1943 (resize-root-window): Rename to window--resize-root-window.
1944 (resize-root-window-vertically): Rename to
1945 window--resize-root-window-vertically.
1946 (normalize-buffer-to-display): Rename to
1947 window-normalize-buffer-to-display.
1948 (normalize-buffer-to-switch-to): Rename to
1949 window-normalize-buffer-to-switch-to.
1950 Correspondingly update all callers of the functions listed
1951 above.
1952 (display-buffer-alist, display-buffer-normalize-arguments)
1953 (display-buffer-normalize-options, display-buffer)
1954 (display-buffer-alist-set): Use "function" instead of
1955 "fun-with-args".
1956
1176868d
CY
19572011-06-28 Chong Yidong <cyd@stupidchicken.com>
1958
1959 * mail/emacsbug.el (report-emacs-bug): Handle non-gnu bug
1960 addresses more clearly. Add hyperlinks for bug-gnu-emacs and
1961 debbugs.gnu.org. Mention acknowledgment email.
1962
20a7a65f
LMI
19632011-06-28 Lars Magne Ingebrigtsen <larsi@gnus.org>
1964
1965 * mail/smtpmail.el (smtpmail-send-it): Leave off changing the
1966 buffer multibyteness, since it shouldn't matter.
1967
5f45cca5
MR
19682011-06-28 Martin Rudalics <rudalics@gmx.at>
1969
1970 * window.el (display-buffer-in-side-window): Handle dedicated
1971 windows as in display-buffer-reuse-window.
1972 (display-buffer-normalize-alist): Use value of override
1973 specifier.
1974 (display-buffer-normalize-specifiers): Use value of
1975 other-window-means-other-frame specifier.
1976 (display-buffer-alist): Rewrite some texts in widgets.
1977 (display-buffer): Spread arguments when calling function
1978 specified by fun-with-args.
1979
ad85fe1f
DD
19802011-06-28 Deniz Dogan <deniz@dogan.se>
1981
1fa280a3
LM
1982 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-syntax-table):
1983 Unnest `let'.
da68c4c8 1984
ad85fe1f
DD
1985 * textmodes/css-mode.el (css-font-lock-keywords): Fix grouped
1986 selectors (Bug#5732).
ec49bd31 1987 (css-proprietary-nmstart-re): Use `regexp-opt'.
ad85fe1f 1988
a08cc025
JA
19892011-06-27 Jari Aalto <jari.aalto@cante.net>
1990
1991 * eshell/em-ls.el: Display `ls -l' dates in ISO format (Bug#8440).
1992 (eshell-ls-date-format): New defcustom.
1993 (eshell-ls-file): Use it.
1994
e2b551c5
SM
19952011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
1996
1997 * help-fns.el (describe-variable): Fix message for terminal-local vars.
1998
8982b231
KY
19992011-06-27 Katsumi Yamaoka <yamaoka@jpl.org>
2000
2001 * net/ange-ftp.el: Allow loading .gz files (Bug#6923).
2002 (ange-ftp-make-tmp-name): New arg.
2003 (ange-ftp-file-local-copy): Use it.
2004
36c9fa27
J
20052011-06-27 Jambunathan K <kjambunathan@gmail.com>
2006
2007 * tar-mode.el (tar-untar-buffer): Set coding-system-for-write to
2008 no-conversion (Bug#8870).
2009
d68443dc
MR
20102011-06-27 Martin Rudalics <rudalics@gmx.at>
2011
2012 * window.el (window-right, window-left, window-child)
2013 (window-child-count, window-last-child)
2014 (window-iso-combination-p, walk-window-tree-1)
2015 (window-atom-check-1, window-tree-1, delete-window)
2016 (window-state-get-1, display-buffer-even-window-sizes): Adapt to
2017 new naming conventions - window-vchild, window-hchild,
2018 window-next and window-prev are now called window-top-child,
2019 window-left-child, window-next-sibling and window-prev-sibling
2020 respectively.
d615d6d2
MR
2021 (resize-window-reset): Rename to window-resize-reset.
2022 (resize-window-reset-1): Rename to window-resize-reset-1.
2023 (resize-window): Rename to window-resize.
2024 (window-min-height, window-min-width)
2025 (resize-mini-window, resize-this-window, resize-root-window)
2026 (resize-root-window-vertically, adjust-window-trailing-edge)
2027 (enlarge-window, shrink-window, maximize-window)
2028 (minimize-window, delete-window, quit-restore-window)
2029 (split-window, balance-windows, balance-windows-area-adjust)
2030 (balance-windows-area, window-state-put-2)
2031 (display-buffer-even-window-sizes, display-buffer-set-height)
2032 (display-buffer-set-width, set-window-text-height)
2033 (fit-window-to-buffer): Rename all "resize-window" prefixed
2034 calls to use the "window-resize" prefix convention.
2035 (display-buffer-alist): Fix symbol for label specifier.
2036 (display-buffer-reuse-window): Set reuse-dedicated to cdr of
2037 corresponding specifier.
2038 Reported by Juanma Barranquero <lekktu@gmail.com>.
d68443dc 2039
b6458526
VB
20402011-06-27 Vincent Belaïche <vincentb1@users.sourceforge.net>
2041
2042 * ses.el (ses-destroy-cell-variable-range): Fix heading comment
2043 convention.
2044 (ses-call-printer): Does not pass an empty string to formatter when the
2045 cell is empty to keep from barking printer Calc math-format-value.
2046
d31fd9ac
RS
20472011-06-27 Richard Stallman <rms@gnu.org>
2048
43d5bf84
RS
2049 * battery.el (battery-mode-line-limit): New variable.
2050 (battery-update): Handle it.
2051
d31fd9ac
RS
2052 * mail/rmailmm.el (rmail-mime-process-multipart):
2053 Handle truncated messages.
2054
819a6054
GM
20552011-06-27 Glenn Morris <rgm@gnu.org>
2056
2057 * progmodes/flymake.el (flymake-err-line-patterns):
2058 Allow for column numbers in the ant/javac pattern. (Bug#8866)
2059
cedc73f2
VB
20602011-06-27 Vincent Belaïche <vincentb1@users.sourceforge.net>
2061
819a6054 2062 * ses.el (ses-relocate-range): Keep rest of arguments for ses-range.
cedc73f2
VB
2063 (ses--clean-!, ses--clean-_): New functions.
2064 (ses-range): Add configurability of readout order, and conversion
2065 to Calc vector.
2066
5e5d49b6
VB
2067 * ses.el (ses-repair-cell-reference-all): New function.
2068 (ses-cell-symbol): Set macro as safe, so that it can be used in
2069 formulas.
2070
56e6cc31 2071 * ses.el: Update cycle detection algorithm.
90ca8b49 2072 (ses-localvars): Add ses--Dijkstra-attempt-nb and
819a6054 2073 ses--Dijkstra-weight-bound, and initial values thereof when applicable.
90ca8b49
VB
2074 (ses-set-localvars): New function.
2075 (ses-make-cell): Add property-list as a cell element.
2076 (ses-cell-property-get-fun, ses-cell-property-get)
2077 (ses-cell-property-delq-fun, ses-cell-property-set-fun)
819a6054
GM
2078 (ses-cell-property-pop-fun, ses-cell-property-get-handle-fun):
2079 New functions.
90ca8b49
VB
2080 (ses-cell-property-set, ses-cell-property-pop)
2081 (ses-cell-property-get-handle): New macro.
2082 (ses-cell-property-handle-car, ses-cell-property-handle-setcar):
2083 New aliases, used for code readability.
2084 (ses-calculate-cell, ses-update-cells): Use Dijkstra algorithm for
2085 cycle detection.
2086 (ses-self-reference-early-detection): New defcustom.
2087 (ses-formula-references): Robustify against self-refering cells.
2088 (ses-mode): Use ses-set-localvars.
2089 (ses-command-hook): Add call to ses-initialize-Dijkstra-attempt
2090 before lauching the update processing.
2091 (ses-initialize-Dijkstra-attempt): New function.
2092 (ses-recalculate-cell): Update for cycle detection based on
2093 Dijkstra algorithm.
2094
2bb63e81
VB
2095 * ses.el: Fix commenting and indenting convention.
2096
c9d29fb8
SM
20972011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
2098
2099 * bs.el (bs-cycle-next): Complete last change.
2100
d8e4b68b
JB
21012011-06-27 Drew Adams <drew.adams@oracle.com>
2102
2103 * faces.el (list-faces-display): Add help-mode-map to output (bug#8939).
2104
40098786
LMI
21052011-06-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
2106
c9d29fb8
SM
2107 * net/network-stream.el (network-stream-open-starttls):
2108 Don't re-get capabilities unless we've reestablished connection.
f6ab314e
LMI
2109 (network-stream-open-starttls): Fix stupid typo with gnutls-clii.
2110
40098786
LMI
2111 * mail/smtpmail.el (smtpmail-via-smtp): Bind coding-system-for-*
2112 to binary to possibly avoid line encoding issues on Windows (among
2113 other things).
2114
468d09d4
LMI
21152011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
2116
2117 * net/network-stream.el (open-network-stream): Return an :error
2118 saying what the problem was, if possible.
2119
2120 * mail/smtpmail.el (smtpmail-via-smtp): Report the error from the
2121 server.
2122
2123 * net/network-stream.el (network-stream-open-starttls): If we
2124 wanted to use STARTTLS, and the server offered it, but we weren't
2125 able to because we had no STARTTLS support, then close the connection.
2126 (open-network-stream): Return an :error element, if present.
2127
16f07dd7
CY
21282011-06-26 Chong Yidong <cyd@stupidchicken.com>
2129
88821ca0
CY
2130 * hl-line.el (hl-line-sticky-flag): Doc fix.
2131 (global-hl-line-sticky-flag): New option (Bug#8323).
2132 (global-hl-line-highlight): Obey it.
2133
16f07dd7
CY
2134 * vc/vc.el (vc-revert-show-diff): Default to t.
2135
6b5ccddf
KM
21362011-06-26 Ken Manheimer <ken.manheimer@gmail.com>
2137
c9d29fb8
SM
2138 * allout-widgets.el (allout-widgets-post-command-business):
2139 Stop decorating intermediate isearch matches. They're not being
6b5ccddf
KM
2140 undecorated when an isearch is continued past, and isearch
2141 automatically collapses them. This leads to "widget leaks", where
2142 decorated items accumulate in collapsed areas. Lines with lots of
c9d29fb8
SM
2143 hidden widgets can slow down cursor travel, substantially.
2144 Too much complicated machinery would be needed to ensure undecoration,
6b5ccddf
KM
2145 so we're doing without this nicety.
2146
2147 (allout-widgets-tally-string): Don't try to do a hash-table-count
2148 of allout-widgets-tally when it's nil. This eliminates spurious "Error
2149 during redisplay: (wrong-type-argument hash-table-p nil)" warnings in
2150 *Messages* when allout-widgets-maintain-tally is t.
2151
355f2e07
MR
21522011-06-26 Martin Rudalics <rudalics@gmx.at>
2153
2154 * window.el (display-buffer-normalize-argument): Rename to
2155 display-buffer-normalize-arguments. Handle special meaning of
6b5ccddf
KM
2156 LABEL argument. Respect special-display-function when popping up
2157 a new frame. Fix code searching for a window showing the buffer
2158 on another frame.
c9d29fb8
SM
2159 (display-buffer-normalize-specifiers):
2160 Call display-buffer-normalize-arguments.
355f2e07
MR
2161 (display-buffer-in-window): Don't undedicate the window if its
2162 buffer remains the same.
2163 Reported by Drew Adams <drew.adams@oracle.com>.
2164 (display-buffer-alist): Add choice for same-window macro
2165 specfier.
2166 (display-buffer): Mention special meaning of LABEL argument in
2167 doc-string. Fix quoting. Don't pop up a new frame even as
2168 fallback.
2169
7ca8fc42
JB
21702011-06-26 Juanma Barranquero <lekktu@gmail.com>
2171
2172 * bs.el (bs-cycle-next): Pass current buffer to `bury-buffer' to
2173 avoid deleting the current window in some cases (bug#8911).
2174
bc312254
AS
21752011-06-26 Andreas Schwab <schwab@linux-m68k.org>
2176
2177 * emacs-lisp/smie.el (smie-bnf->prec2): Fix last change.
2178 (Bug#8934)
2179
2db18f3f
LMI
21802011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
2181
c9d29fb8
SM
2182 * net/network-stream.el (network-stream-open-starttls):
2183 Use built-in TLS support if `gnutls-available-p' is true.
2db18f3f
LMI
2184 (network-stream-open-tls): Ditto.
2185
6302e0d3
LL
21862011-06-26 Leo Liu <sdl.web@gmail.com>
2187
2188 * register.el (registerv): New struct.
2189 (registerv-make): New function.
c9d29fb8
SM
2190 (jump-to-register, describe-register-1, insert-register):
2191 Support the jump-func, print-func and insert-func slot of a registerv
6302e0d3
LL
2192 struct. (Bug#8415)
2193
5fdd4046
CY
21942011-06-26 Chong Yidong <cyd@stupidchicken.com>
2195
2afef60a
CY
2196 * vc/vc.el (vc-revert-show-diff): New defcustom.
2197 (vc-diff-internal): New arg specifying diff buffer.
2198 (vc-revert): Obey vc-revert-show-diff. If we show a diff, don't
2199 reuse an existing *vc-diff* buffer (Bug#8927).
2200
5fdd4046
CY
2201 * progmodes/cperl-mode.el (cperl-mode): Derive from prog-mode.
2202
e93db24a
GM
22032011-06-26 Glenn Morris <rgm@gnu.org>
2204
2205 * progmodes/f90.el (f90-critical-indent): New option.
2206 (f90-font-lock-keywords-2, f90-blocks-re, f90-end-block-re)
2207 (f90-start-block-re, f90-mode-abbrev-table): Add block, critical.
2208 (f90-mode): Doc fix.
2209 (f90-looking-at-critical, f90-looking-at-end-critical): New funcs.
2210 (f90-no-block-limit, f90-calculate-indent, f90-end-of-block)
2211 (f90-beginning-of-block, f90-next-block, f90-indent-region)
2212 (f90-match-end): Handle block, critical.
2213
eefff499
GM
22142011-06-25 Glenn Morris <rgm@gnu.org>
2215
f6ba4cc9
GM
2216 * calendar/diary-lib.el (diary-included-files): Doc fix.
2217 (diary-include-files): New function, extracted from
2218 diary-include-other-diary-files and diary-mark-included-diary-files.
2219 (diary-include-other-diary-files, diary-mark-included-diary-files):
2220 Just call diary-include-files.
2221 (diary-mark-entries): Reset diary-included-files on first call.
2222
16712304
GM
2223 * calendar/diary-lib.el (diary-mark-entries)
2224 (diary-mark-included-diary-files):
2225 Visit included diary-files in temp buffers.
2226
5d8e0d43
GM
2227 * progmodes/f90.el (f90-keywords-re, f90-font-lock-keywords-1)
2228 (f90-blocks-re, f90-program-block-re, f90-end-block-re)
2229 (f90-start-block-re, f90-imenu-generic-expression)
2230 (f90-looking-at-program-block-start, f90-no-block-limit):
2231 Add support for submodules.
2232
ccf7a5d5
GM
2233 * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
2234 (f90-procedures-re, f90-constants-re): Add some F2008 stuff.
eefff499 2235
11fdef7d 22362011-06-25 Eli Zaretskii <eliz@gnu.org>
638e9005
EZ
2237
2238 * net/ange-ftp.el (ange-ftp-insert-file-contents): Let-bind
2239 buffer-file-type before setting its value, to avoid disastrous
eefff499 2240 global effects on decoding files for DOS/Windows systems. (Bug#8780)
638e9005 2241
74f53697
JB
22422011-06-25 Juanma Barranquero <lekktu@gmail.com>
2243
2244 * allout.el (allout-unload-function): Pass -1 to `allout-mode'.
2245
2246 * ses.el (ses-unload-function):
2247 * emacs-lisp/re-builder.el (re-builder-unload-function): Simplify.
2248
2249 * proced.el (proced-unload-function):
2250 * progmodes/cperl-mode.el (cperl-mode-unload-function): Remove.
2251
18a4ce5e
AR
22522011-06-25 Andreas Rottmann <a.rottmann@gmx.at>
2253
2254 * server.el (server-create-window-system-frame): Add parameters arg.
2255 (server-process-filter): Doc fix. Handle frame-parameters.
2256
519d22cc
JB
22572011-06-25 Juanma Barranquero <lekktu@gmail.com>
2258
2259 Fix bug#8730, bug#8781.
2260
2261 * loadhist.el (unload--set-major-mode): New function.
2262 (unload-feature): Use it.
2263
2264 * progmodes/python.el (python-after-info-look): Add autoload cookie.
2265 (python-unload-function): New function.
2266
c206f5b0
SM
22672011-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
2268
2269 * mail/rmail.el (rmail-show-message-1): Use restore-buffer-modified-p.
2270
f9ad64f3
GS
22712011-06-25 Giuseppe Scrivano <gscrivano@gnu.org>
2272
2273 * net/browse-url.el (browse-url-firefox-program): Add icecat to
2274 the candidates list.
2275
7d0da90e
JB
22762011-06-24 Juanma Barranquero <lekktu@gmail.com>
2277
2278 * progmodes/verilog-mode.el (verilog-mode): Fix test for bound variable.
2279
14b4e83d
RS
22802011-06-23 Richard Stallman <rms@gnu.org>
2281
2282 * mail/rmail.el: Going to grep hit in Rmail buffer finds the message.
2283 (rmail-variables): Set next-error-move-function.
2284 (rmail-what-message): Take argument POS.
2285 (rmail-next-error-move): New function.
2286
273d2baf
SM
22872011-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
2288
2289 * emacs-lisp/smie.el (smie-bnf->prec2): Give more understandable error
2290 messages for adjacent non-terminals.
2291
56c2cc9a
RS
22922011-06-23 Richard Stallman <rms@gnu.org>
2293
2294 * mail/rmail.el (rmail-retry-ignored-headers): Add message-id.
f444564c 2295 (rmail-show-message-1): Preserve buffer modified flag.
8050daa1
RS
2296 (rmail-start-mail): Don't specify use of rmail-mail-return;
2297 that's done by mail-bury now.
2298 (rmail-mail-return): Handle arg NEWBUF.
56c2cc9a 2299
d59eb518
MA
23002011-06-23 Michael Albinus <michael.albinus@gmx.de>
2301
2302 * net/tramp-sh.el (tramp-method-out-of-band-p): Check, whether
2303 SIZE is a number.
2304
02cfc6d6
MR
23052011-06-23 Martin Rudalics <rudalics@gmx.at>
2306
2307 * window.el (get-lru-window, get-mru-window)
2308 (get-largest-window): Never return a minibuffer window.
2309 (display-buffer-pop-up-window): Fix a bug that could lead to
2310 reusing the minibuffer window.
2311 (display-buffer): Pass original specifier argument to
2312 display-buffer-function instead of the normalized one.
2313 Reported by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
2314
4e323265
LL
23152011-06-22 Leo Liu <sdl.web@gmail.com>
2316
2317 * minibuffer.el (completing-read-function)
2318 (completing-read-default): Move from minibuf.c
2319
7a70468f
RS
23202011-06-22 Richard Stallman <rms@gnu.org>
2321
50718fc2
RS
2322 * mail/sendmail.el (mail-bury): If Rmail is in use, return nicely
2323 to Rmail even if not started by a special Rmail command.
2324
7a70468f
RS
2325 * mail/rmailmm.el (rmail-insert-mime-forwarded-message):
2326 Copy the buffer currently showing just one message.
2327
297dde5a
RW
23282011-06-22 Roland Winkler <winkler@gnu.org>
2329
2330 * textmodes/bibtex.el (bibtex-entry-update): Use mapc.
2331 (bibtex-clean-entry): First delete the old key so that a
2332 customized algorithm for generating the new key does not get
2333 confused by the old key.
2334 (bibtex-url): Obey regexp of first step.
2335 (bibtex-search-entries): Do not use add-to-list with local
2336 list-var.
2337
97bb1093
LMI
23382011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
2339
2340 * mail/smtpmail.el (smtpmail-try-auth-methods): If the user has
2341 stored a user name, then query for the password first, instead of
2342 waiting for SMTP to give an error message and the trying again.
2343
1c0f1a19
JD
23442011-06-22 Lawrence Mitchell <wence@gmx.li>
2345
2346 * net/browse-url.el (browse-url-xdg-open): Use 0, rather than nil
2347 BUFFER in call-process.
2348
396f7c9d
LMI
23492011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
2350
2351 * mail/smtpmail.el (smtpmail-via-smtp): Make sure we don't send
2352 QUIT twice.
ddb7ffee
LMI
2353 (smtpmail-try-auth-methods): Require user name and password from
2354 auth-source.
396f7c9d 2355
8998d1b3
MR
23562011-06-22 Martin Rudalics <rudalics@gmx.at>
2357
2358 * window.el (display-buffer-default-specifiers)
2359 (display-buffer-alist): Remove entries for pop-up-frame-alist.
2360 Suggested by Katsumi Yamaoka <yamaoka@jpl.org>.
130e3e11 2361 (split-window): Normalize SIDE argument (Bug#8916).
8998d1b3
MR
2362
2363 * frame.el (pop-up-frame-alist, pop-up-frame-function)
2364 (special-display-frame-alist, special-display-popup-frame):
2365 Remove duplicate declarations. These are now in window.el.
2366
4ea31e07
LMI
23672011-06-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
2368
c9d29fb8
SM
2369 * mail/smtpmail.el (smtpmail-via-smtp):
2370 Set :use-starttls-if-possible so that we always use STARTTLS if the
6af7a784
LMI
2371 server supports it. SMTP servers that support STARTTLS commonly
2372 require it.
2373
2374 * net/network-stream.el (network-stream-open-starttls): Support
2375 upgrading to STARTTLS always, even if we don't have built-in support.
2376 (open-network-stream): Add the :always-query-capabilies keyword.
2377
95f41d9a
LMI
2378 * mail/smtpmail.el: Rewritten to do opportunistic STARTTLS
2379 upgrades with `open-network-stream', and rely solely on
2380 auth-source for all credentials. Big changes throughout the file,
2381 but in particular:
c9d29fb8
SM
2382 (smtpmail-auth-credentials): Remove.
2383 (smtpmail-starttls-credentials): Remove.
7d36ad46
LMI
2384 (smtpmail-via-smtp): Check for servers saying they want AUTH after
2385 MAIL FROM, too.
95f41d9a 2386
c9d29fb8
SM
2387 * net/network-stream.el (network-stream-open-starttls):
2388 Provide support for client certificates both for external and built-in
4ea31e07
LMI
2389 STARTTLS.
2390 (auth-source): Require.
2391 (open-network-stream): Document the :client-certificate keyword.
eb8c9362
LMI
2392 (network-stream-certificate): Change cert-cert to cert and
2393 cert-key to key.
4ea31e07 2394
065ec2c7
MA
23952011-06-21 Michael Albinus <michael.albinus@gmx.de>
2396
2397 * net/tramp-cache.el (top): Don't load the persistency file when
2398 "emacs -Q" has been called.
2399
cd93b359
DR
24002011-06-21 Tim Harper <timcharper@gmail.com>
2401
d8e4b68b
JB
2402 * term/ns-win.el (ns-initialize-window-system):
2403 Set application-specific `ApplePressAndHoldEnabled' system
cd93b359
DR
2404 resource to NO as it is not yet supported by the NS port.
2405
ae9c0411
JB
24062011-06-21 Juanma Barranquero <lekktu@gmail.com>
2407
2408 * misc.el (list-dynamic-libraries--refresh): Compute header here...
2409 (list-dynamic-libraries): ...not here.
2410
7f3f739f
LL
24112011-06-21 Leo Liu <sdl.web@gmail.com>
2412
2413 * subr.el (sha1): Implement sha1 using secure-hash.
2414
327c8fb1
MR
24152011-06-21 Martin Rudalics <rudalics@gmx.at>
2416
2417 * window.el (display-buffer-alist): In default value do not
2418 enforce searching a window on any but the selected frame.
2419 Reported by Katsumi Yamaoka <yamaoka@jpl.org>.
2420 (display-buffer-select-window): Remove function.
2421 (display-buffer-in-window): When a window on another frame gets
2422 reused, do not select it any more but just raise its frame if
2423 necessary (Bug#8851) and (Bug#8856).
2424 (display-buffer-normalize-options): Handle pop-up-frames related
2425 options more faithfully.
2426 (pop-to-buffer): Don't rely on `display-buffer' selecting the
2427 window if it is on another frame.
c9d29fb8
SM
2428 (display-buffer-alist, display-buffer-default-specifiers):
2429 Don't make new frame unsplittable by default.
9e9de014
MR
2430 (display-buffer-normalize-argument): Fix doc-string typo and use
2431 'same-frame-other-window instead of 'other-window when associating
2432 with display-buffer-macro-specifiers.
327c8fb1 2433
7cf3f556
VB
24342011-06-21 Vincent Belaïche <vincent.b.1@hotmail.fr>
2435
2436 * play/5x5.el (5x5-solve-rotate-left, 5x5-solve-rotate-right):
2437 New functions.
2438 (5x5-mode-map, 5x5-mode-menu): Bind them.
2439 (5x5-draw-grid): Tweak the solver's rendering.
2440
60a406cf
SM
24412011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
2442
2443 * progmodes/compile.el (compilation-error-regexp-alist-alist): Rename
2444 `caml' to `python-tracebacks-and-caml'; allow leading tabs (bug#8585).
2445
d8e4b68b 24462011-06-21 Drew Adams <drew.adams@oracle.com>
5d907d6c
DA
2447
2448 * menu-bar.el: Use function variable instead of switch-to-buffer.
2449 (menu-bar-select-buffer-function): New variable.
60a406cf 2450 (menu-bar-update-buffers): Use it (bug#8876).
5d907d6c 2451
478d6f95
SM
24522011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
2453
2454 * emacs-lisp/bytecomp.el (add-to-list): Add handler to check the
2455 variable's status.
2456
ca530739
JD
24572011-06-20 Jan Djärv <jan.h.d@swipnet.se>
2458
2459 * x-dnd.el (x-dnd-version-from-flags)
2460 (x-dnd-more-than-3-from-flags): New functions that handle long-as-cons
2461 and long as number (Bug#8899).
2462 (x-dnd-handle-xdnd): Call functions above (Bug#8899).
2463
bcd70d97
SM
24642011-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
2465
60a406cf 2466 * minibuffer.el (completion-metadata): Add `metadata' to the alist.
4cb3bfa0
SM
2467 (completion-try-completion, completion-all-completions): Compute the
2468 metadata argument if it's missing; make it optional (bug#8795).
2469
60a406cf 2470 * wid-edit.el: Use lex-bind and move towards completion-at-point.
bcd70d97
SM
2471 (widget-complete): Use new :completion-function property.
2472 (widget-completions-at-point): New function.
2473 (default): Use :completion-function instead of :complete.
60a406cf
SM
2474 (widget-default-completions): Rename from widget-default-complete;
2475 Rewrite.
bcd70d97
SM
2476 (widget-string-complete, widget-file-complete, widget-color-complete):
2477 Remove functions.
2478 (file, symbol, function, variable, coding-system, color):
2479 * international/mule-cmds.el (default-input-method, charset)
2480 (language-info-custom-alist):
2481 * cus-edit.el (face): Use new property :completions.
2482
2483 * progmodes/pascal.el (pascal-completions-at-point): New function.
2484 (pascal-mode): Use it.
2485 (pascal-mode-map): Use completion-at-point.
2486 (pascal-toggle-completions): Make obsolete.
2487 (pascal-complete-word, pascal-show-completions):
2488 * progmodes/octave-mod.el (octave-complete-symbol):
2489 Redefine as obsolete alias.
2490 * progmodes/octave-inf.el (inferior-octave-completion-at-point):
2491 Signal absence of completion info for old Octave,
2492 (inferior-octave-complete): Redefine as obsolete alias.
2493 * progmodes/meta-mode.el: Use lexical-binding and completion-at-point.
2494 (meta-completions-at-point): Rename from meta-complete-symbol and
2495 adapt it for use on completion-at-point-functions.
2496 (meta-common-mode): Use it.
2497 (meta-looking-at-backward, meta-match-buffer): Remove.
2498 (meta-complete-symbol): Redefine as obsolete alias.
2499 (meta-common-mode-map): Use completion-at-point.
2500 * progmodes/make-mode.el: Use lexical-binding and completion-at-point.
2501 (makefile-mode-map): Use completion-at-point.
2502 (makefile-completions-at-point): Rename from makefile-complete and
2503 adapt it for use on completion-at-point-functions.
2504 (makefile-mode): Use it.
2505 (makefile-complete): Redefine as obsolete alias.
2506
aebf69c8
DD
25072011-06-20 Deniz Dogan <deniz@dogan.se>
2508
2509 * net/rcirc.el: Delete trailing whitespaces once and for all.
2510
bfbbb27d
DC
25112011-06-20 Daniel Colascione <dan.colascione@gmail.com>
2512
2513 * emacs-lisp/syntax.el (syntax-ppss): Further improve docstring.
2514
d264a46b
CY
25152011-06-19 Chong Yidong <cyd@stupidchicken.com>
2516
4ca009e5
CY
2517 * files.el (auto-mode-alist): Entry for m2-mode (Bug#8852).
2518
d264a46b
CY
2519 * info.el (Info-apropos-toc-nodes): Minor doc fix (Bug#8833).
2520
fbf5b3ce
MR
25212011-06-19 Martin Rudalics <rudalics@gmx.at>
2522
2523 * window.el (display-buffer-other-window-means-other-frame):
2524 Call display-buffer-normalize-alist.
2525 (display-buffer-normalize-specifiers-1): Rename to
2526 display-buffer-normalize-argument. New argument other-frame.
2527 Rewrite.
2528 (display-buffer-normalize-specifiers-2): Rename to
2529 display-buffer-normalize-options.
2530 (display-buffer-normalize-alist-1): New function.
2531 (display-buffer-normalize-specifiers-3): Rename to
bcd70d97
SM
2532 display-buffer-normalize-alist.
2533 Call display-buffer-normalize-alist-1.
fbf5b3ce
MR
2534 (display-buffer-normalize-options-inhibit): New variable.
2535 (display-buffer-normalize-specifiers): Rewrite calling
2536 display-buffer-normalize-alist,
2537 display-buffer-normalize-argument, and
2538 display-buffer-normalize-options. Don't call the latter if
2539 display-buffer-normalize-options-inhibit is non-nil.
2540 (frame-auto-delete): New option.
2541 (window-deletable-p): Use frame-auto-delete.
9d89fec7
MR
2542 (window-list-no-nils, window-state-ignored-parameters)
2543 (window-state-get-1, window-state-get, window-state-put-list)
bcd70d97
SM
2544 (window-state-put-1, window-state-put-2, window-state-put):
2545 New functions.
9a028c23
MR
2546 (display-buffer-normalize-options): Move special-display-p group
2547 after pop-up-frame group (Bug#8851) and (Bug#8856).
fbf5b3ce 2548
6d10d800
CY
25492011-06-18 Chong Yidong <cyd@stupidchicken.com>
2550
6420d28b
CY
2551 * emacs-lisp/rx.el (rx-constituents): Add support for numbered
2552 groups (Bug#8776).
2553 (rx-submatch-n): New function.
2554 (rx): Document it.
2555
ddb8b596
CY
2556 * dired-x.el (dired-mark-unmarked-files): Fix interactive spec
2557 (Bug#8768).
2558
2559 * replace.el (occur-mode-map): Set occur-edit-mode binding to "e".
2560
77080289
CY
2561 * textmodes/fill.el (default-justification): Add :safe (Bug#8879).
2562
61dfb316
CY
2563 * cus-face.el (custom-declare-face): Call custom-theme-recalc face
2564 anytime existing face settings are present (Bug#8889).
2565
6d10d800
CY
2566 * progmodes/delphi.el (delphi-mode-syntax-table): Use defvar.
2567 (delphi-mode): Use define-derived-mode to inherit from prog-mode.
2568 Remove unused argument.
2569
be3fb2b8
MR
25702011-06-18 Martin Rudalics <rudalics@gmx.at>
2571
bcd70d97
SM
2572 * window.el (display-buffer-default-specifiers):
2573 Remove pop-up-frame. Add pop-up-window-min-height,
be3fb2b8
MR
2574 pop-up-window-min-width, and another reuse-window specifier
2575 (Bug#8882). Reported by Dan Nicolaescu <dann@gnu.org>.
bcd70d97
SM
2576 (display-buffer-normalize-specifiers-2):
2577 Handle split-height-threshold and split-width-threshold also when
be3fb2b8
MR
2578 pop-up-windows is unset. Add a reuse-window specifier for the
2579 case popping up a new window fails.
2580 (special-display-popup-frame): Remove double quoting.
28dec25a 2581 (display-buffer-normalize-specifiers-1): Fix thinko.
be3fb2b8 2582
1c6d8c76
SM
25832011-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
2584
2585 * shell.el (shell-completion-vars): Set pcomplete-termination-string
2586 according to comint-completion-addsuffix.
2587
2588 * pcomplete.el: Convert to lexical binding and fix bug#8819.
2589 (pcomplete-suffix-list): Mark as obsolete.
2590 (pcomplete-completions-at-point): Capture pcomplete-norm-func and
2591 pcomplete-seen in the closure.
2592 (pcomplete-comint-setup): Setup completion-at-point as well.
2593 (pcomplete--entries): New function.
2594 (pcomplete--env-regexp): New var.
2595 (pcomplete-entries): Rewrite to work with partial-completion and
2596 without relying on pcomplete-suffix-list.
2597 (pcomplete-pare-list): Remove, unused.
2598
25aef8b8
MR
25992011-06-17 Martin Rudalics <rudalics@gmx.at>
2600
2601 * window.el (display-buffer-alist): Set pop-up-window-min-height
2602 and pop-up-window-min-width in default value. Reported by
2603 Thierry Volpiatto <thierry.volpiatto@gmail.com>. New specifier
2604 other-window-means-other-frame.
2605 (display-buffer-macro-specifiers): Comment out entry for
2606 other-window specifier.
2607 (display-buffer-other-window-means-other-frame): New function.
2608 (display-buffer-normalize-specifiers-1): New arguments
2609 buffer-name and label. Treat other-window case specially.
2610 (display-buffer-normalize-specifiers-2): Treat other-window case
2611 specially.
2612 (display-buffer-normalize-specifiers-3): New function.
bcd70d97
SM
2613 (display-buffer-normalize-specifiers):
2614 Call display-buffer-normalize-specifiers-3.
25aef8b8 2615
dbad4f69
MR
26162011-06-17 Martin Rudalics <rudalics@gmx.at>
2617
2618 * window.el (same-window-p): Fix two typos introduced when
2619 adding with-no-warnings.
d1067961
MR
2620 (display-buffer-normalize-specifiers-1): Don't check
2621 pop-up-frames for 'unset initialization.
2622 (display-buffer-normalize-specifiers-2): Major rewrite using
2623 special-display-p and same-window-p (Bug#8851) and (Bug#8856).
2624 (pop-up-frames, display-buffer-reuse-frames)
2625 (display-buffer-mark-dedicated): Don't initialize to 'unset.
2626 Suggested by David Engster <deng@randomsample.de>.
2627 (even-window-heights): Initialize to 'unset.
2628 (display-buffer-alist-set): Handle new 'unset initializations.
25aef8b8
MR
2629 (display-buffer-macro-specifiers): Don't pop up a new frame in the
2630 other window case.
dbad4f69 2631
9b9c9e3a
MR
26322011-06-16 Martin Rudalics <rudalics@gmx.at>
2633
bcd70d97
SM
2634 * window.el (display-buffer-normalize-specifiers-1):
2635 Respect current value of pop-up-frames for most reasonable values of
9b9c9e3a 2636 second argument of display-buffer (Bug#8865).
981d5c09
MR
2637 (switch-to-buffer-same-frame, switch-to-buffer-other-window)
2638 (switch-to-buffer-other-window-same-frame)
2639 (switch-to-buffer-other-frame): Fix doc-strings. Reported by Drew
2640 Adams (Bug#8875).
9c2755e9
MR
2641 (display-buffer): Don't check noninteractive when calling
2642 display-buffer-pop-up-frame.
2643 (display-buffer-pop-up-frame): Never pop up a frame in
2644 noninteractive mode (Bug#8857).
67222e1d
MR
2645 (enlarge-window, shrink-window): Don't report an error when the
2646 window can't be resized as requested (Bug#8862).
9b9c9e3a 2647
2b75be67
SM
26482011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
2649
9ffdd3ba
SM
2650 * pcmpl-rpm.el (pcomplete/rpm): Minor simplification.
2651
cb581a67
SM
2652 * emacs-lisp/debug.el (debug): Don't leave the buffer in Debugger.
2653
2b75be67
SM
2654 * abbrev.el (define-abbrev-table): Don't add a table multiple times.
2655
8c0e3589
AM
26562011-06-15 Alan Mackenzie <acm@muc.de>
2657
cb581a67
SM
2658 * progmodes/cc-fonts.el (c-font-lock-declarations): 1: Whilst checking
2659 for declarators, disable knr checking to speed up for normal files.
2660 2: Refactor, replacing a sequence of nested if forms by a cond form.
8c0e3589 2661
b96e6cde
LMI
26622011-06-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
2663
4bba86e6
LMI
2664 * net/network-stream.el (open-network-stream): Add the keyword
2665 :always-query-capabilities for the case where you want to force a
2666 `plain' network connection, but the protocol still requires the
2667 capabilitiy command (i.e., SMTP and EHLO).
2668
2b75be67 2669 * subr.el (process-live-p): Rename from `process-alive-p' for
b96e6cde
LMI
2670 consistency with other `-live-p' functions.
2671
efdcdbf8
SM
26722011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
2673
2674 * window.el (same-window-buffer-names, same-window-regexps)
2675 (special-display-frame-alist, special-display-popup-frame)
2676 (special-display-function, special-display-buffer-names)
2677 (special-display-regexps, pop-up-frame-alist)
2678 (pop-up-frame-function, pop-up-frames, display-buffer-reuse-frames)
2679 (pop-up-windows, split-window-preferred-function)
2680 (split-height-threshold, split-width-threshold, even-window-heights)
2681 (display-buffer-mark-dedicated): Don't encourage the use of
2682 display-buffer-alist from Elisp code.
2683
c5cde042
DN
26842011-06-15 Dan Nicolaescu <dann@ics.uci.edu>
2685
2686 * progmodes/python.el (python-mode): Derive from prog-mode.
2687 * progmodes/ps-mode.el (ps-mode):
2688 * progmodes/mixal-mode.el (mixal-mode):
50328a1b 2689 * progmodes/cfengine.el (cfengine-mode):
c5cde042
DN
2690 * progmodes/ld-script.el (ld-script-mode): Likewise.
2691
baa1c9ab
MR
26922011-06-15 Martin Rudalics <rudalics@gmx.at>
2693
2694 * window.el (display-buffer-alist): Trim default value to avoid
2695 popping up a new frame (Bug#8857) or reusing an arbitrary window
2696 on another frame.
2697 (display-buffer): Do not fall back on popping up a new frame in
2698 batch mode (Bug#8857).
2699
c5dd5a51
CY
27002011-06-14 Chong Yidong <cyd@stupidchicken.com>
2701
2702 * cus-theme.el (describe-theme-1): Use custom-theme-p.
2703 (custom-theme-summary): New function.
2704 (customize-themes): Use it.
2705
d647b7c4
GM
27062011-06-13 Glenn Morris <rgm@gnu.org>
2707
2708 * cus-dep.el (custom-make-dependencies): Use up command-line-args-left.
2709
9481c002
MR
27102011-06-13 Martin Rudalics <rudalics@gmx.at>
2711
357f93d2
MR
2712 * help.el (help-window): Remove variable.
2713 (help-window-point-marker, temp-buffer-max-height)
2714 (temp-buffer-resize-mode, help-window-select): Rewrite doc-strings.
2715 (help-print-return-message): Don't set help-window.
2716 (resize-temp-buffer-window): Rewrite cod eand doc-string.
2717 (help-window-setup-finish): Remove.
2718 (help-window-display-message, help-window-setup)
2719 (with-help-window): Major rewrite based on new
2720 display-buffer-window variable.
2721
2722 * help-mode.el (help-mode-finish): Remove help-window related
2723 code.
2724
2725 * view.el (view-exits-all-viewing-windows): Remove reference to
2726 view-return-to-alist in doc-string.
2727 (view-return-to-alist): Make obsolete.
2728 (view-buffer): Call pop-to-buffer-same-window and remove
2729 undo-window code.
2730 (view-buffer-other-window): Call pop-to-buffer-other-window and
2731 simplify code. Ignore second argument.
2732 (view-buffer-other-frame): Call pop-to-buffer-other-frame and
2733 simplify code. Ignore second argument.
2734 (view-return-to-alist-update): Make obsolete.
2735 (view-mode-enter): Rename second argument to QUIT-RESTORE.
2736 Rewrite using quit-restore window parameters.
2b75be67
SM
2737 (view-mode-exit): Rename second argument to EXIT-ONLY.
2738 Rewrite using quit-restore-window.
357f93d2
MR
2739 (View-exit, View-exit-and-edit, View-leave, View-quit)
2740 (View-quit-all, View-kill-and-leave): Call view-mode-exit with
2741 appropriate arguments.
2742 (view-end-message): Use quit-restore window parameter.
2743
9481c002
MR
2744 * window.el (display-buffer-function): Rewrite doc-string.
2745 (display-buffer-window, display-buffer-alist): New variables.
2746 (display-buffer-split-specifiers)
2747 (display-buffer-side-specifiers)
2748 (display-buffer-macro-specifiers): New constants.
2749 (display-buffer-even-window-sizes, display-buffer-set-height)
2750 (display-buffer-set-width, display-buffer-select-window)
2751 (display-buffer-in-window, display-buffer-reuse-window)
2752 (display-buffer-split-window-1, display-buffer-split-window)
2753 (display-buffer-split-atom-window, display-buffer-pop-up-window)
2754 (display-buffer-pop-up-frame, display-buffer-pop-up-side-window)
2755 (display-buffer-in-side-window, normalize-buffer-to-display)
2756 (display-buffer-normalize-specifiers-1)
2757 (display-buffer-normalize-specifiers-2)
2b75be67
SM
2758 (display-buffer-normalize-specifiers, display-buffer-frame):
2759 New functions.
9481c002
MR
2760 (display-buffer): Major rewrite.
2761 (display-buffer-other-window, display-buffer-other-frame)
2762 (pop-to-buffer, switch-to-buffer-other-window)
2763 (switch-to-buffer-other-frame): Rewrite.
2764 (display-buffer-same-window, display-buffer-same-frame)
2765 (display-buffer-same-frame-other-window)
2766 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
2767 (pop-to-buffer-other-window)
2768 (pop-to-buffer-same-frame-other-window)
2769 (pop-to-buffer-other-frame, switch-to-buffer-same-frame)
2770 (switch-to-buffer-other-window-same-frame): New functions.
2771 (same-window-p, special-display-p): Rewrite disabling warnings.
2772 Make obsolete.
2773 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
2774 (display-buffer-mark-dedicated): Initialize to symbol 'unset.
2775 Make obsolete
2776 (same-window-buffer-names, same-window-regexps)
2777 (special-display-frame-alist, special-display-popup-frame)
2778 (special-display-function, special-display-buffer-names)
2779 (special-display-regexps, pop-up-frame-alist)
2780 (pop-up-frame-function, split-window-preferred-function)
2781 (split-height-threshold, split-width-threshold)
2782 (even-window-heights): Make obsolete.
2783
9db51aca
GM
27842011-06-12 Glenn Morris <rgm@gnu.org>
2785
2786 * term/xterm.el (terminal-init-xterm): `version' may be nil. (Bug#8838)
7cb363eb 2787 Misc simplifications.
9db51aca 2788
39cffb44
MR
27892011-06-12 Martin Rudalics <rudalics@gmx.at>
2790
2791 * window.el (window-safely-shrinkable-p): Restore function which
2792 was inadvertently removed in change from 2011-06-11. Declare as
2793 obsolete.
2794
2b75be67
SM
2795 * calendar/calendar.el (calendar-generate-window):
2796 Use window-iso-combined-p instead of combination of one-window-p and
39cffb44
MR
2797 window-safely-shrinkable-p.
2798
a8955be7
GM
27992011-06-12 Glenn Morris <rgm@gnu.org>
2800
2801 * progmodes/fortran.el (fortran-mode-syntax-table):
2802 * progmodes/f90.el (f90-mode-syntax-table):
2803 Set % to punctuation. (Bug#8820)
2804 (f90-find-tag-default): Remove, no longer needed.
2805
f0d4059d
DC
28062011-06-12 Daniel Colascione <dan.colascione@gmail.com>
2807
2808 * emacs-lisp/syntax.el (syntax-ppss): Clarify which items are invalid.
2809
1100a63c
CY
28102011-06-11 Chong Yidong <cyd@stupidchicken.com>
2811
2812 * image.el (image-animated-p): Return animation delay in seconds.
2813 Avoid bit manipulation in Lisp; use `delay' entry in the metadata.
2814 (image-animate-timeout): Remove DELAY argument. Don't assume
2815 every subimage has the same delay; get it from image-animated-p.
2816 (image-animate): Caller changed.
2817
def722bf
MA
28182011-06-11 Michael Albinus <michael.albinus@gmx.de>
2819
2820 * net/tramp.el (tramp-debug-message): Add `tramp-with-progress-reporter'
2821 to ignored backtrace functions.
2822
0a2bb1a9
GM
28232011-06-11 Glenn Morris <rgm@gnu.org>
2824
2825 * calendar/appt.el (appt-disp-window-function): Doc fix.
2826 (appt-check): Handle overlapping appointments. (Bug#8337)
2827
6198ccd0
MR
28282011-06-11 Martin Rudalics <rudalics@gmx.at>
2829
2830 * window.el (window-tree-1, window-tree): New functions, moving
2831 the latter to window.el.
2832 (bw-get-tree, bw-get-tree-1, bw-find-tree-sub)
2833 (bw-find-tree-sub-1, bw-l, bw-t, bw-r, bw-b, bw-dir, bw-eqdir)
2834 (bw-refresh-edges): Remove.
2835 (balance-windows-1, balance-windows-2): New functions.
2836 (balance-windows): Rewrite in terms of window tree functions,
2837 balance-windows-1 and balance-windows-2.
2838 (bw-adjust-window): Remove.
2839 (balance-windows-area-adjust): New function with functionality of
2840 bw-adjust-window but using resize-window.
2b75be67
SM
2841 (set-window-text-height): Rewrite doc-string.
2842 Use normalize-live-window and resize-window.
2843 (enlarge-window-horizontally, shrink-window-horizontally):
2844 Rename argument to DELTA.
6198ccd0
MR
2845 (window-buffer-height): New function.
2846 (fit-window-to-buffer, shrink-window-if-larger-than-buffer):
2847 Rewrite using new window resize routines.
2b75be67
SM
2848 (kill-buffer-and-window, mouse-autoselect-window-select):
2849 Use ignore-errors instead of condition-case.
6198ccd0
MR
2850 (quit-window): Call delete-frame instead of delete-windows-on
2851 for the only buffer on frame.
2852
9397e56f
MR
28532011-06-10 Martin Rudalics <rudalics@gmx.at>
2854
2855 * loadup.el (top-level): Load window before files for the sake
2856 of replace-buffer-in-windows.
2857
2858 * files.el (read-buffer-to-switch)
2859 (switch-to-buffer-other-window)
2b75be67
SM
2860 (switch-to-buffer-other-frame, display-buffer-other-frame):
2861 Move to window.el.
9397e56f
MR
2862
2863 * simple.el (get-next-valid-buffer, last-buffer, next-buffer)
2864 (previous-buffer): Move to window.el.
2865
2866 * bindings.el (unbury-buffer): Move to window.el.
2867
2868 * window.el (delete-other-windows-vertically): Move after
2869 definition of delete-other-windows.
2870 (other-window, delete-windows-on, replace-buffer-in-windows):
2871 Move here from window.c.
2872 (record-window-buffer, unrecord-window-buffer)
2873 (set-window-buffer-start-and-point, switch-to-prev-buffer)
2874 (switch-to-next-buffer): New functions.
2875 (get-next-valid-buffer, last-buffer, next-buffer): Move here
2876 from simple.el. Call switch-to-next-buffer.
2b75be67
SM
2877 (previous-buffer): Move here from simple.el.
2878 Call switch-to-prev-buffer.
9397e56f
MR
2879 (bury-buffer): Move here from buffer.c. Switch to previous
2880 buffer when window cannot be deleted.
2881 (unbury-buffer): Move here from bindings.el.
2882 (ctl-x-map): Move binding for other-window from window.c to
2883 here.
2884 (read-buffer-to-switch, switch-to-buffer-other-window)
2885 (switch-to-buffer-other-frame): Move here from files.el.
2886 (normalize-buffer-to-switch-to): New functions.
2b75be67
SM
2887 (switch-to-buffer): Move here from buffer.c.
2888 Use read-buffer-to-switch and normalize-buffer-to-switch-to.
9397e56f 2889
562dd5e9
MR
28902011-06-10 Martin Rudalics <rudalics@gmx.at>
2891
2892 * window.el (window-min-height, window-min-width): Move here
2893 from window.c. Add defcustoms and rewrite doc-strings.
2894 (resize-mini-window, resize-window): New functions.
2895 (adjust-window-trailing-edge, enlarge-window, shrink-window):
2896 Move here from window.c.
2897 (maximize-window, minimize-window): New functions.
2898 (delete-window, delete-other-windows, split-window): Move here
2899 from window.c.
2900 (window-split-min-size): New function.
2901 (split-window-keep-point): Mention split-window-above-each-other
2902 instead of split-window-vertically.
2b75be67
SM
2903 (split-window-above-each-other, split-window-vertically):
2904 Rename split-window-vertically to split-window-above-each-other and
562dd5e9
MR
2905 provide defalias for old definition.
2906 (split-window-side-by-side, split-window-horizontally): Rename
2907 split-window-horizontally to split-window-side-by-side and provide
2908 defalias for the old definition.
2909 (ctl-x-map): Move bindings for delete-window,
2910 delete-other-windows and enlarge-window here from window.c.
2911 Replace bindings for split-window-vertically and
2912 split-window-horizontally by bindings for
2913 split-window-above-each-other and split-window-side-by-side.
2914
2915 * cus-start.el (all): Remove entries for window-min-height and
2916 window-min-width. Add entries for window-splits and
2917 window-nest.
2918
f0da764a
GM
29192011-06-09 Glenn Morris <rgm@gnu.org>
2920
80675c21
GM
2921 * calendar/appt.el (appt-mode-line): New function.
2922 (appt-check, appt-disp-window): Use it.
2923
f0da764a
GM
2924 * files.el (hack-one-local-variable-eval-safep):
2925 Allow minor-modes with explicit +/-1 arguments.
2926
59f623b7
TZ
29272011-06-09 Teodor Zlatanov <tzz@lifelogs.com>
2928
2929 * term/xterm.el (xterm): Add defgroup.
2930 (xterm-extra-capabilities): Add defcustom to supply known xterm
2931 capabilities, skip querying them, or query them (default).
2932 (terminal-init-xterm): Use it.
2933 (terminal-init-xterm-modify-other-keys): New function to set up
2934 modifyOtherKeys support to simplify `terminal-init-xterm'.
2935
9aab8e0d
MR
29362011-06-09 Martin Rudalics <rudalics@gmx.at>
2937
2938 * window.el (resize-window-reset, resize-window-reset-1)
2939 (resize-subwindows-skip-p, resize-subwindows-normal)
2940 (resize-subwindows, resize-other-windows, resize-this-window)
2941 (resize-root-window, resize-root-window-vertically)
2942 (window-deletable-p, window-or-subwindow-p)
2943 (frame-root-window-p): New functions.
2944
e8b08aee
GM
29452011-06-09 Glenn Morris <rgm@gnu.org>
2946
2947 * net/ange-ftp.el (ange-ftp-switches-ok): New function.
2948 (ange-ftp-get-files): Use it.
2949
254c37a5
AK
29502011-06-09 Alexander Klimov <alserkli@inbox.ru> (tiny change)
2951
2952 * mail/sendmail.el (mail-recover-1, mail-recover):
2953 * files.el (recover-file, recover-session):
2954 Handle dired-listing-switches not being just a single short option.
2955
35d7dbd3
GM
29562011-06-09 Glenn Morris <rgm@gnu.org>
2957
2958 * calendar/appt.el (appt-display-message, appt-disp-window):
2959 Handle lists of appointments.
2960
387522b2
MR
29612011-06-08 Martin Rudalics <rudalics@gmx.at>
2962
2b75be67
SM
2963 * window.el (one-window-p): Move down in code.
2964 Rewrite doc-string.
2965 (window-current-scroll-bars): Rewrite doc-string.
2966 Normalize live window argument.
387522b2
MR
2967 (walk-windows, get-window-with-predicate, count-windows):
2968 Rewrite doc-string. Use window-list-1.
2969 (window-in-direction-2, window-in-direction, get-mru-window):
2970 New functions.
2971
d8e4b68b 29722011-06-08 Reuben Thomas <rrt@sc3d.org>
2c587104
GM
2973
2974 * progmodes/flymake.el (flymake-compilation-prevents-syntax-check):
2975 Doc fix (Bug#8713).
2976
29772011-06-08 Chong Yidong <cyd@stupidchicken.com>
2978
2979 * repeat.el (repeat-on-final-keystroke): Fix type (Bug#8696).
2980
29812011-06-08 Juanma Barranquero <lekktu@gmail.com>
2982
2983 * loadhist.el (unload-feature-special-hooks):
2984 Add `comint-output-filter-functions'.
2985
0de12c52
IK
29862011-06-08 Ivan Kanis <gnu@kanis.fr>
2987
2988 * calendar/appt.el (appt-check): Move some initializations into the let.
2989
f3d1777e
MR
29902011-06-08 Martin Rudalics <rudalics@gmx.at>
2991
2992 * window.el (window-height): Defalias to window-total-height.
2993 (window-width): Defalias to window-body-width.
2994
18af70d0
CY
29952011-06-07 Chong Yidong <cyd@stupidchicken.com>
2996
2997 * image-mode.el (image-toggle-animation): New command.
2998 (image-mode-map): Bind it to RET.
2999 (image-mode): Update message.
3000 (image-toggle-display-image): Avoid a spurious cache flush.
3001 (image-transform-rotation): Doc fix.
3002 (image-transform-properties): Return quickly in the normal case.
3003 (image-animate-loop): Rename from image-animate-max-time.
3004
2b75be67 3005 * image.el (image-animate-max-time): Move to image-mode.el.
18af70d0
CY
3006 (create-animated-image): Remove unnecessary function.
3007 (image-animate): Rename from image-animate-start. New arg.
2b75be67 3008 (image-animate-stop): Remove; just use image-animate-timer.
18af70d0
CY
3009 (image-animate-timer): Use car-safe.
3010 (image-animate-timeout): Rename argument.
3011
190b47e6
MR
30122011-06-07 Martin Rudalics <rudalics@gmx.at>
3013
3014 * window.el (get-lru-window, get-largest-window): Move here from
2b75be67
SM
3015 window.c. Rename first argument to ALL-FRAMES.
3016 Rephrase doc-strings.
3017 (get-buffer-window-list): Rewrite using window-list-1.
3018 Rephrase doc-string.
a1511caf
MR
3019 (window-safe-min-height, window-safe-min-width): New constants.
3020 (window-size-ignore, window-min-size, window-min-size-1)
3021 (window-sizable, window-sizable-p, window-size-fixed-1)
3022 (window-size-fixed-p, window-min-delta-1, window-min-delta)
3023 (window-max-delta-1, window-max-delta, window-resizable)
3024 (window-resizable-p, window-total-height, window-total-width)
3025 (window-body-width): New functions.
3026 (window-full-height-p, window-full-width-p): Rewrite using
3027 window-total-size.
3028 (window-body-height): Rewrite using window-body-size.
190b47e6 3029
85cc1f11
MR
30302011-06-06 Martin Rudalics <rudalics@gmx.at>
3031
3032 * window.el (window-right, window-left, window-child)
3033 (window-child-count, window-last-child, window-any-p)
3034 (normalize-live-buffer, normalize-live-frame)
3035 (normalize-any-window, normalize-live-window)
3036 (window-iso-combination-p, window-iso-combined-p)
3037 (window-iso-combinations)
3038 (walk-window-tree-1, walk-window-tree, walk-window-subtree)
3039 (windows-with-parameter, window-with-parameter)
3040 (window-atom-root, make-window-atom, window-atom-check-1)
2b75be67
SM
3041 (window-atom-check, window-side-check, window-check):
3042 New functions.
85cc1f11
MR
3043 (ignore-window-parameters, window-sides, window-sides-vertical)
3044 (window-sides-slots): New variables.
3045 (window-size-fixed): Move down in code. Minor doc-string fix.
3046
e7156492
AS
30472011-06-05 Andreas Schwab <schwab@linux-m68k.org>
3048
3049 * comint.el (comint-dynamic-complete-as-filename)
3050 (comint-dynamic-complete-filename): Correctly call
3051 completion-in-region.
3052
7e821d0d
DD
30532011-06-05 Deniz Dogan <deniz@dogan.se>
3054
3055 * net/rcirc.el (rcirc-prompt-for-encryption): Fix bug introduced
3056 in last change.
3057
ac09b8a1
DD
30582011-06-05 Deniz Dogan <deniz@dogan.se>
3059
3060 * net/rcirc.el (rcirc-prompt-for-encryption): New function.
3061 (rcirc): Use it to prompt for encryption.
3062
34699b85
RW
30632011-06-05 Roland Winkler <winkler@gnu.org>
3064
3065 * textmodes/bibtex.el (bibtex-search-buffer): New variable.
3066 (bibtex-search-entries): New command bound to C-c C-a.
3067 (bibtex-display-entries): New function.
3068
004dedd3
RW
30692011-06-05 Roland Winkler <winkler@gnu.org>
3070
3071 * textmodes/bibtex.el (bibtex-generate-url-list): Fix docstring.
3072 (bibtex-insert-kill): After yanking insert newline if necessary.
3073 (bibtex-initialize): Call bibtex-string-files-init only once.
3074 (bibtex-mode): Do not call easy-menu-add.
3075 (bibtex-validate-globally): Use save-excursion in bibtex buffers.
3076 (bibtex-yank): Set arg properly if nil.
3077
022fe7ce
RW
30782011-06-05 Roland Winkler <winkler@gnu.org>
3079
2b75be67
SM
3080 * textmodes/bibtex.el (bibtex-search-entry-globally):
3081 New variable.
022fe7ce
RW
3082 (bibtex-search-entry): Use it.
3083
b7c3692a
RW
30842011-06-05 Roland Winkler <winkler@gnu.org>
3085
3086 * textmodes/bibtex.el (bibtex-entry-format): New option
3087 sort-fields.
3088 (bibtex-format-entry, bibtex-reformat): Honor this option.
3089 (bibtex-parse-entry): Return fields in proper order.
3090
8eda563d
JB
30912011-06-05 Juanma Barranquero <lekktu@gmail.com>
3092
3093 * doc-view.el (doc-view-remove-if): Move computation of result out
3094 of `dolist' to silence misleading lexical-binding warning.
3095
7dbe3dbc
CY
30962011-06-04 Chong Yidong <cyd@stupidchicken.com>
3097
3098 * emacs-lisp/timer.el (timer-activate): Remove unused arg.
3099 (timer-activate, timer-activate-when-idle): Doc fix (Bug#8793).
3100
0c33dd17
MA
31012011-06-04 Michael Albinus <michael.albinus@gmx.de>
3102
3103 * net/tramp-sh.el (tramp-find-shell): Apply workaround also for
3104 "SunOS 5.10".
3105
f8f91c2b
MA
31062011-06-04 Michael Albinus <michael.albinus@gmx.de>
3107
3108 * net/tramp.el (tramp-set-completion-function, tramp-parse-rhosts)
3109 (tramp-parse-shosts, tramp-parse-sconfig, tramp-parse-shostkeys)
3110 (tramp-parse-hosts, tramp-parse-passwd, tramp-parse-netrc)
3111 (tramp-parse-putty):
3112 * net/tramp-sh.el (tramp-completion-function-alist-rsh)
3113 (tramp-completion-function-alist-ssh)
3114 (tramp-completion-function-alist-telnet)
3115 (tramp-completion-function-alist-su)
3116 (tramp-completion-function-alist-putty): Set `tramp-autoload'
3117 cookie.
3118
3119 * net/tramp-ftp.el:
3120 * net/tramp-sh.el:
3121 * net/tramp-smb.el: Set `tramp-autoload' cookie, and eval after
3122 load "tramp.el" `tramp-set-completion-function'.
3123
e17d9003
SM
31242011-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
3125
3126 * shell.el: Require and use pcomplete.
3127 (shell-dynamic-complete-functions): Add pcomplete-completions-at-point.
3128 (shell-completion-vars): Set pcomplete-default-completion-function.
3129
6c4cab03
DD
31302011-06-04 Deniz Dogan <deniz@dogan.se>
3131
3132 * iswitchb.el (iswitchb-window-buffer-p): Use `member' instead of
3133 `memq' (Bug#8799).
3134
ea9fafe0
SM
31352011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
3136
3137 * subr.el (make-progress-reporter): Add "..." by default (bug#8785).
3138
b3e945d3
JB
31392011-06-02 Juanma Barranquero <lekktu@gmail.com>
3140
3141 * bs.el (bs--mark-unmark, bs--nth-wrapper):
3142 * mpc.el (mpc-select-extend, mpc-songpointer-context):
3143 * vc/log-view.el (log-view-beginning-of-defun):
3144 * vc/smerge-mode.el (smerge-apply-resolution-patch)
3145 (smerge-refine-forward, smerge-refine-chopup-region):
3146 Silence warning for unused `dotimes' counter variables.
3147
7d520089
SM
31482011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
3149
3150 * net/tramp.el (tramp-with-progress-reporter): Rename from
3151 with-progress-reporter. Use `declare'.
3152 * net/tramp-smb.el:
3153 * net/tramp-sh.el:
3154 * net/tramp-gvfs.el: Update all uses.
3155
a1c2400f
JB
31562011-06-02 Jay Belanger <jay.p.belanger@gmail.com>
3157
3158 * calc/calc.el (calc-kill-stack-buffer): Make sure that the trail
3159 buffer isn't killed before making it current.
3160
2403c841
SM
31612011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
3162
3163 Silence various byte-compiler warnings.
3164 * emacs-lisp/byte-run.el (make-obsolete-variable): New argument
3165 `access-type' and new obsolescence format.
3166 * emacs-lisp/bytecomp.el (byte-compile-warn-obsolete): Adjust to
3167 new format.
3168 (byte-compile-check-variable): New `access-type' argument.
3169 Only warn if the access-type is obsolete.
3170 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
3171 (byte-compile-variable-set): Adjust callers.
3172 * help-fns.el (describe-variable): Adjust to new obsolescence format.
3173 * mail/sendmail.el (mail-mailer-swallows-blank-line): Only mark
3174 setting it as obsolete.
3175 * simple.el (minibuffer-completing-symbol):
3176 * font-lock.el (font-lock-beginning-of-syntax-function): Only mark read
3177 access as obsolete.
3178 * minibuffer.el (minibuffer-completing-file-name): Don't make it
3179 obsolete yet.
3180 * international/quail.el (quail-mouse-choose-completion): Remove unused
3181 code referring to obsolete var.
3182 (quail-choose-completion-string): Remove.
3183 * server.el (server-clients-with, server-kill-buffer-query-function)
3184 (server-kill-emacs-query-function): Silence "unused `proc'" warnings.
3185 * proced.el (proced-send-signal):
3186 * emacs-lisp/lisp.el (lisp-complete-symbol):
3187 Replace completion-annotate-function with completion-extra-properties.
3188
2462470b
SM
31892011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
3190
fb5b2591
SM
3191 * simple.el (goto-line): Use read-number.
3192 (overriding-map-is-bound): Remove.
3193 (saved-overriding-map): Change default.
3194 (save&set-overriding-map): Rename from ensure-overriding-map-is-bound;
3195 Take the map as argument.
3196 (universal-argument, negative-argument, digit-argument): Use it.
3197 (restore-overriding-map): Adjust.
3198 (do-auto-fill): Use fill-forward-paragraph.
3199 (keyboard-quit): Don't signal an error when debug-on-quit is non-nil.
3200
fd6fa53f
SM
3201 * minibuffer.el (minibuffer-inactive-mode-map): New var.
3202 (minibuffer-inactive-mode): New major mode.
3203 * mouse.el (mouse-drag-region): Remove the "mouse-1 pops up
3204 the *Messages* buffer" hack.
3205 (mouse-popup-menubar): Don't burp if the event is a normal key.
3206
2462470b
SM
3207 Miscellaneous tweaks.
3208 * emacs-lisp/cl-macs.el (dolist, dotimes): Use the same strategy for
3209 lexical scoping as in subr.el's dolist and dotimes.
3210 * emacs-lisp/bytecomp.el (byte-compile-unfold-bcf):
3211 Silence compiler warning.
3212 * thingatpt.el (forward-whitespace): Trivial coding style fix.
3213 * subr.el (with-output-to-temp-buffer): Provide an edebug spec.
3214 * international/ccl.el (ccl-compile): Trivial simplification.
3215 * help-fns.el (help-do-arg-highlight): Silence compiler warning.
3216 * emacs-lisp/testcover.el (testcover-end): Remove spurious
3217 `printflag' argument.
3218 * emacs-lisp/byte-run.el (make-obsolete, make-obsolete-variable):
3219 Purecopy the whole obsolescence data.
3220
108bf785
LL
32212011-06-01 Leo Liu <sdl.web@gmail.com>
3222
3223 * net/rcirc.el (rcirc-decode-coding-system): Revert last change;
3224 improve doc-string as suggested by Marco Pessotto
3225 <melmothx@gmail.com>.
3226 (rcirc-print): Fix last change.
3227
30a23501
SM
32282011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
3229
3230 * minibuffer.el (complete-with-action): Return nil for the metadata and
3231 boundaries of non-functional tables.
3232 (completion-table-dynamic): Return nil for the metadata.
3233 (completion-table-with-terminator): Add default case, using
3234 complete-with-action.
3235 (completion--metadata): New function.
3236 (completion-all-sorted-completions, minibuffer-completion-help): Use it
3237 to try and avoid pathological performance problems.
3238 (completion--embedded-envvar-table): Return `category' metadata.
3239
bcd54f83
LMI
32402011-05-31 Lars Magne Ingebrigtsen <larsi@gnus.org>
3241
3242 * subr.el (process-alive-p): New tiny convenience function.
3243
e227544d
SM
32442011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
3245
3246 * emacs-lisp/debug.el (debug): Save&restore not just the buffer's
3247 content but also its previous major mode.
3248
e8296fdc
HE
32492011-05-31 Helmut Eller <eller.helmut@gmail.com>
3250
3251 * debug.el (debug): Restore the previous content of the
3252 *Backtrace* buffer when we exit with C-M-c.
3253
620c53a6
SM
32542011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
3255
3256 * minibuffer.el: Add metadata method to completion tables.
3257 (completion-category-overrides): New defcustom.
3258 (completion-metadata, completion--field-metadata)
3259 (completion-metadata-get, completion--styles)
3260 (completion--cycle-threshold): New functions.
3261 (completion-try-completion, completion-all-completions):
3262 Add `metadata' argument to choose completion-styles.
3263 (completion--do-completion): Use metadata to choose cycling.
3264 (completion-all-sorted-completions): Use metadata for sorting.
3265 Remove :completion-cycle-penalty which is not needed any more.
3266 (completion--try-word-completion): Add `metadata' argument.
3267 (minibuffer-completion-help): Check metadata for annotation function
3268 and sorting.
3269 (completion-file-name-table): Return `category' metadata.
3270 (minibuffer-completing-file-name): Make obsolete.
3271 * simple.el (minibuffer-completing-symbol): Make obsolete.
3272 * icomplete.el (icomplete-completions): Pass new `metadata' param to
3273 completion-try-completion.
3274
1257e755
SM
32752011-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
3276
3277 * mail/smtpmail.el (smtpmail-send-data): Add progress reporter.
3278
3767e706
LL
32792011-05-30 Leo Liu <sdl.web@gmail.com>
3280
3281 * net/rcirc.el (rcirc-debug-buffer): Use visible buffer name.
5ab33f2b
LL
3282 (rcirc-print): Decode all incoming messages (bug#8744).
3283 (rcirc-decode-coding-system): Allow value nil for automatic coding
3284 system detection.
3767e706 3285
d1a5d56a
GM
32862011-06-01 Glenn Morris <rgm@gnu.org>
3287
3288 * mail/emacsbug.el (report-emacs-bug-hook): Mailclient ignores From.
3289
e8cbec34
CY
32902011-05-29 Chong Yidong <cyd@stupidchicken.com>
3291
3292 * image.el (image-animate-max-time): Allow nil and t values.
3293 Default to nil.
3294 (create-animated-image): Doc fix.
3295 (image-animate-start): Remove second arg; just use
3296 image-animate-max-time.
3297 (image-animate-timeout): Doc fix. Args changed.
3298
3299 * image-mode.el (image-toggle-display-image): Ensure that the
3300 image spec passed to the animate timer is the same object as in
3301 the the buffer's display property (Bug#6981).
3302 (image-transform-properties): Doc fix.
3303
3304 * image.el (image-animate-max-time): Default to nil.
3305
159daf87
MR
33062011-05-29 Martin Rudalics <rudalics@gmx.at>
3307
3308 * menu-bar.el (kill-this-buffer-enabled-p): Avoid looping over
3309 entire buffer list (Bug#8184).
3310
d66c4c7c
CY
33112011-05-29 Chong Yidong <cyd@stupidchicken.com>
3312
3313 * image.el (imagemagick-types-inhibit)
3314 (imagemagick-register-types): Doc fix.
3315
80aec780
DD
33162011-05-29 Deniz Dogan <deniz@dogan.se>
3317
3318 * net/rcirc.el (rcirc): Use the user's stored encryption method by
3319 default.
3320
1dd3c2d9
CY
33212011-05-29 Chong Yidong <cyd@stupidchicken.com>
3322
3323 * select.el: Don't perform clipboard-manager saving in hooks;
3324 leave the hooks empty.
3325
60e56523
LL
33262011-05-28 Leo Liu <sdl.web@gmail.com>
3327
3328 * replace.el (occur-menu-map, occur-edit-mode-map): New vars.
3329 (occur-mode-map): Bind occur-edit-mode. Use occur-menu-map.
3330 (occur-edit-mode): New major mode (Bug#8463).
3331 (occur-after-change-function): New function.
3332 (occur-engine): Give Occur tags a read-only property.
3333
2b1e1a22
KR
33342011-05-28 Kevin Ryde <user42@zip.com.au>
3335
3336 * subr.el (def-edebug-spec): Doc fix (Bug#8430).
3337
5d344e88
CY
33382011-05-28 Chong Yidong <cyd@stupidchicken.com>
3339
8e6ca83d
CY
3340 * bindings.el (help-echo): Make the initial non-indicator dash
3341 empty on graphical terminals (Bug#7295).
3342
5d344e88
CY
3343 * files.el (auto-mode-alist): Move config rule after the
3344 in-stripping one (Bug#8547).
3345
bfbbace7
CY
3346 * newcomment.el (comment-end-skip): Doc fix (Bug#8659).
3347
fbeba6e2
CY
3348 * startup.el (normal-splash-screen): Remove gratuitous mode-line
3349 setting (Bug#8740).
3350
60ed8c72
AA
33512011-05-28 Alp Aker <aker@pitt.edu> (tiny change)
3352
4ac619f0
AA
3353 * buff-menu.el (Buffer-menu-revert-function, Buffer-menu-sort)
3354 (Buffer-menu-buffer+size): Use Buffer-menu-buffer-column
3355 (Bug#8539).
60ed8c72 3356
23db196e
CY
33572011-05-28 Chong Yidong <cyd@stupidchicken.com>
3358
3359 * emacs-lisp/re-builder.el (re-builder): Improve doc (Bug#8286).
3360
5012f24c
DK
33612011-05-28 Dima Kogan <dkogan@cds.caltech.edu> (tiny change)
3362
3363 * progmodes/hideshow.el (hs-looking-at-block-start-p): New fun.
3364 (hs-hide-block-at-point, hs-find-block-beginning)
3365 (hs-already-hidden-p, hs-hide-block, hs-show-block): Use it
3366 (Bug#8279).
3367
6a639b16
GM
33682011-05-28 Glenn Morris <rgm@gnu.org>
3369
3370 * startup.el (fancy-about-screen): Use standard mode line. (Bug#8740)
3371
d43eaf2c
CY
33722011-05-28 Chong Yidong <cyd@stupidchicken.com>
3373
5199bde1
CY
3374 * help-fns.el (describe-function-1): If the function is a derived
3375 major mode, print the parent mode.
3376
d43eaf2c
CY
3377 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode, java-mode)
3378 (idl-mode, pike-mode, awk-mode): Inherit from prog-mode.
3379
423428a8
SM
33802011-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
3381
0ff8e1ba
SM
3382 * minibuffer.el (completion--capf-wrapper): Check applicability before
3383 retuning non-nil for non-exclusive completion data.
3384 * progmodes/etags.el (tags-completion-at-point-function):
3385 * info-look.el (info-lookup-completions-at-point): Mark as
3386 non-exclusive.
3387 (info-complete): Adjust accordingly.
3388
423428a8
SM
3389 * info-look.el: Convert to lexical-binding and completion-at-point.
3390 (info-lookup-completions-at-point): New function.
3391 (info-complete): Use it and completion-in-region.
3392
b74aa22b
DA
33932011-05-28 Drew Adams <drew.adams@oracle.com>
3394
3395 * isearch.el: Let M-e start with point at the first mismatched char.
3396 (isearch-fail-pos): New function.
3397 (isearch-edit-string): Use it.
3398
66e2e71d
DK
33992011-05-28 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
3400
3401 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
3402
eb95d01d
TC
34032009-11-23 Toby Cubitt <toby-predictive@dr-qubit.org>
3404
3405 * emacs-lisp/avl-tree.el: New avl-tree-stack datatype. Add new
3406 traversal functions for avl-trees.
3407 (avl-tree--stack): New struct.
3408 (avl-tree-stack-p, avl-tree--stack-repopulate): New funs.
3409 (avl-tree-enter): Add optional `updatefun' arg.
93a1c12a
TC
3410 (avl-tree--do-enter): Add optional `updatefun' arg.
3411 Change return value.
eb95d01d 3412 (avl-tree-delete): Add optional `test' and `nilflag' args.
93a1c12a
TC
3413 (avl-tree--do-delete): Add `test' and `nilflag' args.
3414 Change return value.
eb95d01d
TC
3415 (avl-tree-member): Add optional `nilflag'
3416 (avl-tree-member-p): New function.
3417 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar): New functions.
3418 (avl-tree-stack, avl-tree-stack-pop, avl-tree-stack-first)
3419 (avl-tree-stack-empty-p): New functions.
3420
3769ddcf
TC
34212009-11-23 Toby Cubitt <toby-predictive@dr-qubit.org>
3422
3423 * emacs-lisp/avl-tree.el (avl-tree--del-balance): Rename from
3424 avl-tree--del-balance1 and make it work both ways.
3425 (avl-tree--del-balance2): Remove.
3426 (avl-tree--enter-balance): Rename from avl-tree--enter-balance1 and
3427 make it work both ways.
3428 (avl-tree--enter-balance2): Remove.
3429 (avl-tree--switch-dir, avl-tree--dir-to-sign, avl-tree--sign-to-dir):
3430 New macros.
3431 (avl-tree--mapc, avl-tree-map): Add direction argument.
3432
eb95d01d 34332011-05-27 David Michael <fedora.dm0@gmail.com> (tiny change)
7a6b1aef
DM
3434
3435 * files.el (interpreter-mode-alist): Add rbash (bug#8745).
3436
a9f737ee
CY
34372011-05-27 Chong Yidong <cyd@stupidchicken.com>
3438
3439 * select.el: Support clipboard managers with built-in function
3440 x-clipboard-manager-save, via delete-frame-functions and
3441 kill-emacs-hook.
3442 (xselect-convert-to-targets): Add MULTIPLE target to list.
3443 (xselect-convert-to-save-targets): New function.
3444
c92a1e54
KH
34452011-05-27 Kenichi Handa <handa@m17n.org>
3446
3447 * mail/sendmail.el (mail-encode-header): Avoid double encoding by
3448 let-binding rfc2047-encode-encoded-words to nil.
3449
e145f188
GM
34502011-05-27 Glenn Morris <rgm@gnu.org>
3451
5ec8a862
GM
3452 * mail/emacsbug.el: Don't require url-util.
3453
4b29d9fb
GM
3454 * shell.el (shell-directory-tracker): Case matters. (Bug#8735)
3455
e145f188
GM
3456 * files.el (set-auto-mode):
3457 Also respect mode: entries at the end of the file. (Bug#8586)
3458
7d15102b
GM
34592011-05-26 Glenn Morris <rgm@gnu.org>
3460
98f593b8
GM
3461 * files.el (hack-local-variables-prop-line, hack-local-variables):
3462 Downcase mode names, as seems to be traditional.
27b48e63 3463 (hack-local-variables, hack-local-variables-apply): Doc fixes.
98f593b8 3464
7d15102b
GM
3465 * mail/emacsbug.el (report-emacs-bug): Mention checking From address.
3466 (report-emacs-bug-hook): Try to validate the From address. (Bug#8038)
3467
51d5b4ec
JD
34682011-05-25 Julien Danjou <julien@danjou.info>
3469
3470 * textmodes/rst.el (rst-define-level-faces): Do not define face
3471 symbol if it is already defined.
3472
91513f63
VB
34732011-05-24 Vincent Belaïche <vincentb1@users.sourceforge.net>
3474
3475 * play/5x5.el (5x5-new-game, 5x5-randomize):
3476 Reset 5x5-solver-output to nil when a new grid is cast.
3477 (5x5-log-init, 5x5-log): Use defsubst instead of defmacro to shunt
3478 these debugging traces, as defmacro breaks the compiled code.
3479
4d90d6d0
DK
34802011-05-24 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
3481
3482 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
3483
e1b90ef6
LL
34842011-05-24 Leo Liu <sdl.web@gmail.com>
3485
3486 * vc/vc-bzr.el (vc-bzr-sha1-program): Rename from sha1-program.
3487 (vc-bzr-sha1): Adapt.
3488
d8e4b68b 3489 * sha1.el: Remove. Function `sha1' is now builtin.
e1b90ef6
LL
3490
3491 * bindings.el: Provide sha1 feature.
3492
db0406bb 34932011-05-24 Kenichi Handa <handa@m17n.org>
b8d747b9
KH
3494
3495 * mail/sendmail.el: Require `rfc2047'.
3496 (mail-insert-from-field): Do not perform RFC2047 encoding.
3497 (mail-encode-header): New function.
3498 (sendmail-send-it): Set buffer-file-coding-system of the work
4d90d6d0
DK
3499 buffer to the return value of select-message-coding-system.
3500 Call mail-encode-header.
b8d747b9
KH
3501
3502 * mail/smtpmail.el (smtpmail-send-it): Call mail-encode-header.
3503
db0406bb 35042011-05-24 Sean Neakums <sneakums@zork.net> (tiny change)
7261f6ce 3505
4d90d6d0
DK
3506 * mail/supercite.el (sc-default-cite-frame):
3507 Handle sc-nested-citation-p when sc-cite-blank-lines-p is non-nil.
7261f6ce 3508
eb8a5e9b
GM
35092011-05-24 Glenn Morris <rgm@gnu.org>
3510
f8630703
GM
3511 * progmodes/python.el (brm-menu): Declare.
3512
8831bbed
GM
3513 * emulation/viper.el (viper-set-hooks): Declare.
3514
eb8a5e9b
GM
3515 * play/5x5.el (5x5-log-init, 5x5-log): Evaluate when compiling.
3516 (5x5-log-init, 5x5-log, 5x5-solver): Doc fixes.
3517 (math-map-vec, math-sub, math-mul, math-make-intv, math-reduce-vec)
3518 (math-format-number, math-pow, calcFunc-arrange, calcFunc-cvec)
3519 (calcFunc-diag, calcFunc-trn, calcFunc-inv, calcFunc-mrow)
3520 (calcFunc-mcol, calcFunc-vconcat, calcFunc-index): Declare.
3521
a2a25d24
SM
35222011-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
3523
3524 Add an :exit-function for completion-at-point.
3525
3526 * minibuffer.el (completion--done): New fun.
3527 (completion--do-completion): Use it. New arg `expect-exact'.
3528 (minibuffer-complete, minibuffer-complete-word): Don't output message,
3529 since completion--do-completion does it for us now.
3530 (minibuffer-force-complete): Use completion--done and
3531 completion--replace. Handle sole-completion case with more care.
3532 (minibuffer-complete-and-exit): Use new `expect-exact' arg.
3533 (completion-extra-properties): New var.
3534 (completion-annotate-function): Make obsolete.
3535 (minibuffer-completion-help): Adjust accordingly.
3536 Use completion-list-insert-choice-function.
3537 (completion-at-point, completion-help-at-point):
3538 Bind completion-extra-properties.
3539 (completion-pcm-word-delimiters): Add | (for uniquify, for example).
3540 * simple.el (completion-list-insert-choice-function): New var.
3541 (completion-setup-function): Preserve it.
3542 (choose-completion): Pay attention to it, shuffle the code a bit.
3543 (choose-completion-string): New arg `insert-function'.
3544
3545 * textmodes/bibtex.el: Convert to lexical binding.
3546 (bibtex-mode-map): Use completion-at-point.
3547 (bibtex-mode): Use define-derived-mode&completion-at-point-functions.
3548 (bibtex-completion-at-point-function): New fun, from bibtex-complete.
3549 (bibtex-complete): Define as obsolete alias.
3550 (bibtex-complete-internal): Remove.
3551 (bibtex-format-entry): Remove unused sub-group in regexp.
3552 * shell.el (shell--command-completion-data)
3553 (shell-environment-variable-completion):
3554 * pcomplete.el (pcomplete-completions-at-point):
3555 * comint.el (comint--complete-file-name-data): Use :exit-function
3556 instead of completion-table-with-terminator so it also works for
3557 choose-completion.
3558
e44e373d
SM
35592011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
3560
4f91a816
SM
3561 * <lots-of-files>.el: Don't quote lambda expressions with `quote'.
3562
782fc819
SM
3563 * vc/smerge-mode.el (smerge-refine-subst): Don't deactivate the mark
3564 (bug#8710).
3565
e44e373d
SM
3566 * emacs-lisp/lisp.el (up-list): Fix forward movement (bug#8708).
3567
381987c3
KM
35682011-05-23 Ken Manheimer <ken.manheimer@gmail.com>
3569
3570 * allout.el (allout-inhibit-auto-fill-on-headline): Create new
3571 customization variable and implement: If non-nil, auto-fill will
3572 be inhibited while on topic's header line.
3573
b776bc70
VB
35742011-05-23 Vincent Belaïche <vincentb1@users.sourceforge.net>
3575
3576 * play/5x5.el: I/ Add an arithmetic solver to suggest positions to
d8e4b68b 3577 click on. II/ Make 5x5 multisession. III/ Ensure that random grids
b776bc70
VB
3578 always have a solution in grid size = 5 cases.
3579 (5x5-mode-map): Add keybinding to function `5x5-solve-suggest'.
3580 (5x5-solver-output, 5x5-log-buffer): New vars.
3581 (5x5-grid, 5x5-x-pos, 5x5-y-pos, 5x5-moves, 5x5-cracking):
3582 Make these variables buffer local to achieve 5x5 multi-session-ness.
3583 (5x5): Set 5x5-grid-size only if SIZE is non-negative.
3584 (5x5-grid-to-vec, 5x5-vec-to-grid, 5x5-log-init, 5x5-log, 5x5-solver)
3585 (5x5-solve-suggest): New funs.
3586 (5x5-randomize): Use 5x5-make-move instead of 5x5-flip-cell to
3587 randomize a grid so that we ensure that there is always a solution.
3588 (5x5-make-random-grid): Allow other movement than flipping.
3589
7de88b6e
KR
35902011-05-23 Kevin Ryde <user42@zip.com.au>
3591
3592 * emacs-lisp/advice.el (ad-read-advised-function):
3593 Use `function-called-at-point' as the default default, if it has
3594 advice and passes PREDICATE.
3595
b1ef1257
SM
35962011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
3597
bbca48fe
SM
3598 * emacs-lisp/bytecomp.el (byte-compile-function-form): Only call
3599 byte-compile-lambda if it's actually a lambda.
3600
b1ef1257
SM
3601 * emacs-lisp/eieio.el (eieio-defgeneric-form-primary-only-one):
3602 Fix function quoting. Use backquote better.
3603
92a9cc65
YS
36042011-05-22 Yuanle Song <sylecn@gmail.com>
3605
3606 * nxml/rng-xsd.el (rng-xsd-check-pattern): Use case-sensitive
3607 matching (Bug#8516).
3608
f0fb8059
JA
36092011-01-22 Jari Aalto <jari.aalto@cante.net>
3610
3611 * vc/vc-dir.el (vc-default-dir-printer): Give edited tag a
3612 different face (Bug#8178).
3613
d5b44c93
CY
36142011-05-22 Chong Yidong <cyd@stupidchicken.com>
3615
3616 * vc/diff-mode.el (diff-changed): Don't use terminal specs for
3617 defface (Bug#8144).
3618
79106a44
SM
36192011-05-22 Stefan Monnier <monnier@iro.umontreal.ca>
3620
9c848d8a
SM
3621 * emacs-lisp/macroexp.el (macroexpand-all-1): Convert ' to #' for
3622 funcall as well (bug#8712). Warn when performing those conversions.
3623 * emacs-lisp/bytecomp.el (byte-compile-form): Fix error report.
3624
79106a44
SM
3625 * progmodes/grep.el (grep-mode): Fix it for good (bug#8684)!
3626
88dfa756
GM
36272011-05-22 Glenn Morris <rgm@gnu.org>
3628
3629 * files.el (hack-local-variables-prop-line): Small simplifications.
3630 (hack-local-variables, hack-local-variables-prop-line):
3631 If MODE-ONLY, return the mode, rather than just `t'.
3632
b7cf2c79
SM
36332011-05-21 Stefan Monnier <monnier@iro.umontreal.ca>
3634
3635 * progmodes/grep.el (grep-mode): Fix last change (bug#8684).
3636
3f1a8558
GM
36372011-05-21 Glenn Morris <rgm@gnu.org>
3638
7e4ccca3
GM
3639 * files.el (hack-local-variables-prop-line, hack-local-variables):
3640 If only interested in the mode, don't bother doing the other stuff.
3641
637d46ca
GM
3642 * image-mode.el (image-after-revert-hook):
3643 Redraw all frames on which the image is visible. (Bug#8567)
3644
973d955b
GM
3645 * dired-aux.el (dired-touch-initial): Just use current-time. (Bug#6887)
3646
3f1a8558
GM
3647 * wid-edit.el (widget-checklist-match-inline):
3648 Fix 2011-04-19 change. (Bug#8649)
3649
96479927
SM
36502011-05-20 Stefan Monnier <monnier@iro.umontreal.ca>
3651
1dcf791f
SM
3652 * emacs-lisp/checkdoc.el (checkdoc-sentencespace-region-engine):
3653 Also allow singlespace after single-letter capitals followed by a dot.
3654
96479927
SM
3655 * nxml/nxml-mode.el (nxml-electric-slash): Reindent when completion is
3656 enabled. Suggested by James Ahlborn <jahlborn@gmail.com> (bug#8704).
3657
35fd0881
N
36582011-05-20 Nix <nix@esperi.org.uk>
3659
3660 * files.el (basic-save-buffer-2):
3661 Fix handling of break-hardlink-on-save with non-existent files.
3662
82745640
DD
36632011-05-19 Deniz Dogan <deniz@dogan.se>
3664
3665 * net/rcirc.el (rcirc-mode): Initialize rcirc-urls to nil.
9ff90d99 3666 (rcirc-markup-urls): Check if rcirc-url-regexp is nil.
82745640 3667
4a720484
GM
36682011-05-19 Glenn Morris <rgm@gnu.org>
3669
d1f21341
GM
3670 * progmodes/f90.el (f90-type-def-re):
3671 Handle "type, bind(c)". (Bug#8691)
3672
4a720484
GM
3673 * emacs-lisp/autoload.el (batch-update-autoloads):
3674 Set autoload-excludes by parsing loadup.el rather than Makefiles.
3675
2fb0a219
MA
36762011-05-18 Michael Albinus <michael.albinus@gmx.de>
3677
3678 * net/tramp.el (tramp-process-actions): Set "first-password-request"
3679 property for the correct connection in case of multihops.
3680
e565dd37
GM
36812011-05-18 Glenn Morris <rgm@gnu.org>
3682
c2571358 3683 * emacs-lisp/authors.el (authors-fixed-entries): Remove fakemail.c.
c136e5cd
GM
3684 * mail/sendmail.el (sendmail-program): Fall back to just "sendmail".
3685
e565dd37
GM
3686 Rationalize calendar handling of day and month abbrev-arrays.
3687 * calendar/calendar.el (calendar-customized-p): New function.
3688 (calendar-abbrev-construct, calendar-make-alist): Change what it does.
3689 (calendar-day-name-array, calendar-month-name-array): Doc fix.
3690 Add :set function.
3691 (calendar-abbrev-length, calendar-day-abbrev-array)
3692 (calendar-month-abbrev-array): Make defcustoms, with appropriate :set.
3693 (calendar-day-abbrev-array, calendar-month-abbrev-array):
3694 Elements may no longer be nil.
3695 (calendar-day-name, calendar-month-name):
3696 Update for changed nature of abbrev arrays.
3697 * calendar/diary-lib.el (diary-name-pattern):
3698 Update for changed nature of abbrev arrays.
3699 (diary-mark-entries-1): Update calendar-make-alist calls.
3700 (diary-font-lock-date-forms): Doc fix for changed abbrev arrays.
3701 * calendar/cal-html.el (cal-html-day-abbrev-array):
3702 Simply inherit from calendar-day-abbrev-array.
3703
1d99a745
SM
37042011-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
3705
3706 * progmodes/grep.el (grep-mode): Disable default
3707 compilation-directory-matcher setting (bug#8684).
3708
7c1d9aa0
MA
37092011-05-17 Michael Albinus <michael.albinus@gmx.de>
3710
3711 * net/tramp.el (tramp-handle-insert-file-contents): Use "dd"
3712 instead of "head" and "tail". There were problems with SunOS 5.9,
3713 and it performs better.
3714
3952e9d8
GM
37152011-05-17 Glenn Morris <rgm@gnu.org>
3716
2dd12e7f
GM
3717 * mail/mail-utils.el (mail-dont-reply-to): Silence compiler.
3718
e4157b9c
GM
3719 * progmodes/idlw-shell.el (idlwave-shell-complete-filename):
3720 Replace obsolete function.
3721
8e249bbd
GM
3722 * shell.el (pcomplete-parse-arguments-function): Declare.
3723
3952e9d8
GM
3724 * calendar/appt.el (appt-message-warning-time, appt-display-mode-line)
3725 (appt-display-diary, appt-display-interval, appt-prev-comp-time)
3726 (appt-check): Doc fixes.
3727 (appt-disp-window-function, appt-delete-window-function):
3728 Remove needless special case in custom :type.
3729 (appt-display-count): Default to 0, not nil.
3730 (appt-check): Reset appt-display-count to 0, not nil.
3731
c71a0d48 37322011-05-17 Juanma Barranquero <lekktu@gmail.com>
165fd2df 3733
c71a0d48
GM
3734 * progmodes/python.el (python-font-lock-keywords):
3735 Add the Python 3.X keyword "nonlocal" (bug#8639).
165fd2df 3736
31d55be9
SM
37372011-05-16 Stefan Monnier <monnier@iro.umontreal.ca>
3738
3739 * emacs-lisp/eieio.el (defmethod): Fix quoting of code (bug#8677).
3740
3bfacb2f
KR
37412011-05-16 Kevin Ryde <user42@zip.com.au>
3742
3743 * info-look.el (makefile-automake-mode): New setups, looking in
3744 automake manual, then makefile-mode.
3745 (makefile-mode): Remove automake manual, have it just in
3746 makefile-automake-mode since there's various things different or
3747 not relevant to plain make.
3748 (makefile-mode): Remove "other-modes" non-existent automake-mode,
3749 believe a hypothetical automake-mode would go to makefile-mode,
3750 not the other way around.
3751
c8e83751
CY
37522011-05-15 Chong Yidong <cyd@stupidchicken.com>
3753
5e9e35cd
CY
3754 * vc/diff-mode.el (diff-fixup-modifs): Locate correct position for
3755 hunk-end tags (Bug#8672).
3756
c8e83751
CY
3757 * vc/vc-annotate.el (vc-annotate-mode-map): Bind = to
3758 vc-annotate-show-diff-revision-at-line (Bug#8671).
3759
50b23e5a
GM
37602011-05-14 Glenn Morris <rgm@gnu.org>
3761
7210a739
GM
3762 * vc/add-log.el (add-change-log-entry): Don't start adding a new entry
3763 in the middle of an existing one with multiple authors. (Bug#8645)
375cb676
GM
3764 (change-log-font-lock-keywords): Also handle multiple author lines
3765 with leading tabs. (Bug#8644)
7210a739 3766
4691905a
GM
3767 * calendar/appt.el (appt-check): Rename some local variables.
3768 Some simplification/reordering.
3769
50b23e5a
GM
3770 * mail/feedmail.el (feedmail-confirm-outgoing-timeout)
3771 (feedmail-sendmail-f-doesnt-sell-me-out)
3772 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
3773 (feedmail-debug-sit-for, feedmail-queue-express-hook)
3774 (feedmail-queue-runner-message-sender): Set :version.
1aa64307
GM
3775 (bbdb-search, bbdb-records, smtp-via-smtp, smtp-server)
3776 (bbdb-dwim-net-address, vm-mail): Declare.
50b23e5a
GM
3777 (feedmail-binmail-gnulinuxish-template):
3778 Rename from feedmail-binmail-linuxish-template.
3779 (feedmail-buffer-to-smtp, feedmail-vm-mail-mode):
3780 Use insert-buffer-substring.
3781
215cda7c
BC
37822011-05-14 Bill Carpenter <bill@carpenter.org>
3783
3784 * mail/feedmail.el (feedmail-patch-level): Increase.
3785 (feedmail-debug): New custom group.
3786 (feedmail-confirm-outgoing-timeout)
3787 (feedmail-sendmail-f-doesnt-sell-me-out)
3788 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
3789 (feedmail-debug-sit-for, feedmail-queue-express-hook): New options.
3790 (feedmail-sender-line, feedmail-from-line)
3791 (feedmail-fiddle-headers-upwardly, feedmail-enable-spray)
c2571358 3792 (feedmail-spray-this-address)
215cda7c
BC
3793 (feedmail-spray-address-fiddle-plex-list)
3794 (feedmail-queue-use-send-time-for-date)
3795 (feedmail-queue-use-send-time-for-message-id)
3796 (feedmail-last-chance-hook, feedmail-queue-runner-mode-setter)
3797 (feedmail-buffer-eating-function):
3798 Doc fixes.
3799 (feedmail-spray-via-bbdb, feedmail-buffer-to-smtp)
3800 (feedmail-vm-mail-mode, feedmail-message-action-scroll-up)
3801 (feedmail-message-action-scroll-down): New functions.
3802 (feedmail-queue-directory, feedmail-queue-draft-directory):
3803 Use expand-file-name.
3804 (feedmail-prompt-before-queue-standard-alist): Add scroll entries.
3805 Remove C-v help entry.
3806 (feedmail-queue-buffer-file-name): New variable.
3807 (feedmail-mail-send-hook-splitter, feedmail-buffer-to-binmail)
3808 (feedmail-buffer-to-smtpmail, feedmail-queue-express-to-draft)
3809 (feedmail-message-action-send-strong, feedmail-message-action-edit)
3810 (feedmail-message-action-draft, feedmail-message-action-draft-strong)
3811 (feedmail-message-action-queue, feedmail-message-action-queue-strong)
3812 (feedmail-message-action-toggle-spray)
3813 (feedmail-run-the-queue-no-prompts)
3814 (feedmail-run-the-queue-global-prompt, feedmail-queue-reminder)
3815 (feedmail-look-at-queue-directory, feedmail-queue-subject-slug-maker)
3816 (feedmail-create-queue-filename, feedmail-rfc822-time-zone):
3817 (feedmail-fiddle-header, feedmail-give-it-to-buffer-eater)
3818 (feedmail-envelope-deducer, feedmail-fiddle-from)
3819 (feedmail-fiddle-sender, feedmail-default-date-generator)
3820 (feedmail-fiddle-date, feedmail-fiddle-message-id)
3821 (feedmail-fiddle-spray-address)
3822 (feedmail-fiddle-list-of-spray-fiddle-plexes)
3823 (feedmail-fiddle-list-of-fiddle-plexes)
3824 (feedmail-fill-to-cc-function, feedmail-fill-this-one)
3825 (feedmail-one-last-look, feedmail-fqm-p): Add debug calls.
3826 (feedmail-queue-runner-message-sender, feedmail-binmail-template):
3827 Change default. Doc fix.
3828 (feedmail-queue-runner-cleaner-upper): Use feedmail-say-chatter.
3829 (feedmail-binmail-linuxish-template): New constant.
3830 (feedmail-buffer-to-sendmail): Doc fix. Add debug call.
3831 Respect feedmail-sendmail-f-doesnt-sell-me-out.
3832 (feedmail-send-it): Add debug call.
3833 Use feedmail-queue-buffer-file-name, and
3834 feedmail-send-it-immediately-wrapper.
3835 (feedmail-message-action-send): Add debug call.
3836 Use feedmail-send-it-immediately-wrapper.
3837 (feedmail-queue-express-to-queue): Add debug call.
3838 Run feedmail-queue-express-hook.
3839 (feedmail-message-action-help): Add debug call. Use feedmail-p-h-b-n.
3840 (feedmail-message-action-help-blat):
3841 Rename from feedmail-queue-send-edit-prompt-help-first.
3842 (feedmail-run-the-queue): Add debug call. Set buffer-file-type.
3843 Check line-endings. Handle errors better.
3844 (feedmail-queue-reminder-brief, feedmail-queue-reminder-medium):
3845 Doc fix. Add debug call.
3846 (feedmail-queue-send-edit-prompt): Doc fix. Add debug call.
3847 Use feedmail-queue-send-edit-prompt-inner.
3848 (feedmail-queue-runner-prompt, feedmail-scroll-buffer): New functions.
3849 (feedmail-queue-send-edit-prompt-inner): New function, extracted
3850 from feedmail-queue-send-edit-prompt.
3851 (feedmail-queue-send-edit-prompt-help)
3852 (feedmail-queue-send-edit-prompt-help-later): Remove functions.
3853 (feedmail-tidy-up-slug): Add debug call.
3854 Respect feedmail-queue-slug-suspect-regexp.
3855 (feedmail-queue-subject-slug-maker): Use buffer-substring-no-properties.
3856 (feedmail-dump-message-to-queue): Add debug call.
3857 Expand queue-directory.
3858 (feedmail-dump-message-to-queue): Change message slightly.
3859 Use feedmail-say-chatter.
3860 (feedmail-rfc822-date): Add debug call. Bind system-time-locale.
3861 (feedmail-send-it-immediately-wrapper): New function.
3862 (feedmail-send-it-immediately): Add debug calls. Use let not let*.
3863 Insert empty string rather than newline. Handle full-frame case.
3864 Use catch/throw. Use feedmail-say-chatter.
3865 (feedmail-fiddle-from): Try mail-host-address.
3866 (feedmail-default-message-id-generator): Doc fix.
3867 Bind system-time-locale. Handle missing end.
3868 (feedmail-fiddle-x-mailer): Add debug call.
3869 Handle feedmail-x-mailer-line being nil.
3870 (feedmail-accume-n-nuke-header, feedmail-deduce-address-list):
3871 Add debug call. Use buffer-substring-no-properties.
3872 (feedmail-say-debug, feedmail-say-chatter): New functions.
3873 (feedmail-find-eoh): Give an explicit error.
3874
42c7e61e
UJ
38752011-05-13 Ulf Jasper <ulf.jasper@web.de>
3876
c2571358 3877 * net/newst-treeview.el (newsticker-treeview-face): Change default
42c7e61e 3878 family from helvetica to sans.
c2571358 3879 (newsticker-treeview-tool-bar-map): Move tool-bar icons to
42c7e61e
UJ
3880 etc/images/newsticker.
3881
c2571358 3882 * net/newst-reader.el (newsticker-feed-face): Change default
42c7e61e
UJ
3883 family from helvetica to sans.
3884
3885 * net/newst-plainview.el (newsticker-new-item-face)
3886 (newsticker-old-item-face, newsticker-immortal-item-face)
3887 (newsticker-obsolete-item-face, newsticker-date-face)
c2571358 3888 (newsticker-statistics-face): Change default family from
42c7e61e 3889 helvetica to sans.
c2571358 3890 (newsticker--plainview-tool-bar-map): Move tool-bar icons to
42c7e61e
UJ
3891 etc/images/newsticker.
3892
3893 * net/newst-backend.el (newsticker--do-run-auto-mark-filter),
3894 (newsticker--process-auto-mark-filter-match): : Tell user about
3895 auto-marking.
3896
8497a297
DV
38972011-05-13 Didier Verna <didier@xemacs.org>
3898
3899 Common Lisp indentation improvements on defmethod and lambda-lists.
3900 * cl-indent.el: Advertise the changes and remove obsolete TODO entries.
3901 (lisp-lambda-list-keyword-parameter-indentation)
3902 (lisp-lambda-list-keyword-parameter-alignment)
3903 (lisp-lambda-list-keyword-alignment): New customizable user options.
3904 (lisp-indent-defun-method): Improve docstring.
3905 (extended-loop-p): Fix comment.
3906 (lisp-indent-lambda-list-keywords-regexp): New variable.
3907 (lisp-indent-lambda-list): New function.
3908 (lisp-indent-259): Use it.
3909 (lisp-indent-defmethod): Support for more than one
3910 method qualifier and properly indent methods lambda-lists.
3911 (defgeneric): Provide a missing common-lisp-indent-function property.
3912
f278f87f
SM
39132011-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
3914
3915 * thingatpt.el (bounds-of-thing-at-point): Return nil rather than
3916 bounds for the empty string (bug#8667).
3917
5233edd7
GM
39182011-05-13 Glenn Morris <rgm@gnu.org>
3919
5237a44f
GM
3920 * mail/feedmail.el (feedmail-buffer-to-sendmail): Require sendmail.
3921
8340026c 3922 * mail/sendmail.el (sendmail-program): Try executable-find first.
f278f87f 3923 (sendmail-send-it): `sendmail-program' cannot be unbound.
8340026c 3924
5233edd7 3925 * calendar/appt.el (appt-make-list): Simplify.
4accbca6 3926 (appt-time-msg-list): Doc fix.
a5464014 3927 (appt-check): Change mode-line message at the time of the appointment.
5233edd7 3928
92d10796
AS
39292011-05-12 Andreas Schwab <schwab@linux-m68k.org>
3930
3931 * progmodes/ld-script.el (ld-script-keywords)
3932 (ld-script-builtins): Update keywords list.
3933
914a0ae1
SM
39342011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
3935
c89be45f
SM
3936 * progmodes/grep.el (grep-filter): Don't trip on partial lines.
3937
914a0ae1
SM
3938 * shell.el (shell-completion-vars): New function.
3939 (shell-mode):
3940 * simple.el (read-shell-command): Use it.
3941 (blink-matching-open): No need for " [...]" in minibuffer-message.
3942
98dc3df3
GM
39432011-05-12 Glenn Morris <rgm@gnu.org>
3944
3945 * calendar/appt.el (appt-now-displayed): Remove pointless variable.
3946 (appt-check): Simplify.
3947
d2fc7e3d 39482011-05-12 Eli Zaretskii <eliz@gnu.org>
0e39ec21
EZ
3949
3950 * smerge-mode.el (smerge-resolve): Use null-device rather than a
3951 literal "/dev/null".
3952
d2fc7e3d 39532011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
3f254caa
SM
3954
3955 * emacs-lisp/lisp.el (lisp-complete-symbol, lisp-completion-at-point):
3956 Fix typo.
3957
d2fc7e3d 39582011-05-12 Ralph Schleicher <rs@ralph-schleicher.de>
6eea50c7 3959
3f254caa
SM
3960 * progmodes/which-func.el (which-function):
3961 Use add-log-current-defun instead of add-log-current-defun-function,
6eea50c7
RS
3962 which might not be defined (Bug#8260).
3963
d45885f7
GM
39642011-05-12 Glenn Morris <rgm@gnu.org>
3965
3966 * emacs-lisp/bytecomp.el (byte-compile-file-form-defmumble):
3967 Let byte-compile-initial-macro-environment always take precedence.
3968
488086f4
SM
39692011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
3970
3971 * net/rcirc.el: Add support for SSL/TLS connections.
3972 (rcirc-server-alist): New field `encryption'.
3973 (rcirc): Check `encryption' settings.
3974 (rcirc-connect): New arg `encryption'. Use open-network-stream.
3975 Merge make-local-variable into `set'.
3976 (rcirc--connection-open-p): New function.
3977 (rcirc-send-string, rcirc-clean-up-buffer): Use it to handle case where
3978 the process is not a network process (e.g. running gnutls-cli).
3979 (set-rcirc-decode-coding-system, set-rcirc-encode-coding-system):
3980 Make rcirc-(en|de)code-coding-system local here.
3981 (rcirc-mode): Merge make-local-variable into `set'.
3982 (rcirc-parent-buffer): Make permanent buffer-local.
3983 (rcirc-multiline-minor-mode): Don't do it here.
3984 (rcirc-switch-to-server-buffer): Don't switch to a random buffer if
3985 there's no server buffer.
3986
7d3b9d44
GM
39872011-05-11 Glenn Morris <rgm@gnu.org>
3988
f64049c6
GM
3989 * newcomment.el (comment-kill): Prefix "unused" local.
3990
93c9df73
GM
3991 * term/w32console.el (get-screen-color): Declare.
3992
7d3b9d44
GM
3993 * emacs-lisp/bytecomp.el (byte-compile-arglist-warn):
3994 Handle symbol elements of byte-compile-initial-macro-environment.
3995
9e2dd53f
LL
39962011-05-10 Leo Liu <sdl.web@gmail.com>
3997
488086f4
SM
3998 * bookmark.el (bookmark-bmenu-mode-map):
3999 Bind bookmark-bmenu-search to `/'.
8b340240 4000
9e2dd53f 4001 * mail/footnote.el: Convert to utf-8 encoding.
b4044869
LL
4002 (footnote-unicode-string, footnote-unicode-regexp): New variable.
4003 (Footnote-unicode): New function.
4004 (footnote-style-alist): Add unicode style to the list.
4005 (footnote-style): Doc fix.
9e2dd53f 4006
79b70037
GM
40072011-05-10 Jim Meyering <meyering@redhat.com>
4008
4009 Fix doubled-word typos.
4010 * international/quail.el (quail-insert-kbd-layout): and and -> and
4011 * kermit.el: and and -> and
4012 * net/ldap.el (ldap-search-internal): to to -> to
4013 * progmodes/vhdl-mode.el (vhdl-offsets-alist): Likewise.
4014 * progmodes/js.el (js-mode): and and -> and
4015 * textmodes/artist.el (artist-move-to-xy): at at -> at
4016 (artist-draw-region-trim-line-endings): if if -> if
4017 And Safetyc -> Safety.
4018 * textmodes/reftex-dcr.el (reftex-view-crossref): at at -> at a
4019
b8f82dc1 40202011-05-10 Glenn Morris <rgm@gnu.org>
c2571358 4021 Stefan Monnier <monnier@iro.umontreal.ca>
b8f82dc1
GM
4022
4023 * files.el (hack-one-local-variable-eval-safep):
4024 Consider "eval: (foo-mode)" to be safe. (Bug#8613)
4025
4f99f44b
GM
40262011-05-10 Glenn Morris <rgm@gnu.org>
4027
4028 * calendar/diary-lib.el (diary-list-entries-hook)
4029 (diary-mark-entries-hook, diary-nongregorian-listing-hook)
4030 (diary-nongregorian-marking-hook, diary-list-entries)
4031 (diary-include-other-diary-files, diary-mark-entries)
4032 (diary-mark-included-diary-files): Doc fixes.
4033
84f29e6b
JB
40342011-05-09 Juanma Barranquero <lekktu@gmail.com>
4035
4036 * misc.el: Require tabulated-list.el during compilation.
4037
9bedd73a
CY
40382011-05-09 Chong Yidong <cyd@stupidchicken.com>
4039
488086f4
SM
4040 * progmodes/compile.el (compilation-start):
4041 Run compilation-filter-hook for the async case too.
9bedd73a
CY
4042 (compilation-filter-hook): Doc fix.
4043
797c735c
DD
40442011-05-09 Deniz Dogan <deniz@dogan.se>
4045
4046 * wdired.el: Remove outdated installation comment. Fix usage
4047 comment.
4048
5f4b1dfe
JB
40492011-05-09 Juanma Barranquero <lekktu@gmail.com>
4050
4051 * misc.el: Implement new command `list-dynamic-libraries'.
4052 (list-dynamic-libraries--loaded-only-p): New variable.
4053 (list-dynamic-libraries--refresh): New function.
4054 (list-dynamic-libraries): New command.
4055
4c44026c
CY
40562011-05-09 Chong Yidong <cyd@stupidchicken.com>
4057
488086f4
SM
4058 * progmodes/compile.el (compilation-error-regexp-alist-alist):
4059 Fix the ant regexp to handle end-line and end-column info from jikes.
4c44026c
CY
4060 Re-introduce maven regexp. Give the ruby-Test::Unit regexp a
4061 higher priority to avoid clobbering by gnu.
4062
027f966d
CY
40632011-05-08 Chong Yidong <cyd@stupidchicken.com>
4064
4065 * cus-face.el (custom-declare-face): Call custom-theme-recalc-face
4066 if the face has existing theme settings (Bug#8454).
4067
085f5d7d
CY
40682011-05-08 Ralph Schleicher <rs@ralph-schleicher.de>
4069
488086f4
SM
4070 * progmodes/perl-mode.el (perl-imenu-generic-expression):
4071 Only match variables declared via `my' or `our' (Bug#8261).
085f5d7d 4072
2a86a00c
RS
4073 * net/browse-url.el (browse-url-of-dired-file): Allow browsing of
4074 special file names `.' and `..' (Bug#8259).
4075
d9c54a06
CY
40762011-05-08 Chong Yidong <cyd@stupidchicken.com>
4077
488086f4
SM
4078 * progmodes/grep.el (grep-mode-font-lock-keywords):
4079 Remove buffer-changing entries.
d9c54a06
CY
4080 (grep-filter): New function.
4081 (grep-mode): Add it to compilation-filter-hook.
4082
4083 * progmodes/compile.el (compilation-filter-hook)
4084 (compilation-filter-start): New defvars.
4085 (compilation-filter): Call compilation-filter-hook prior to
4086 updating the process mark.
4087
c4662635
SM
40882011-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
4089
4090 * emacs-lisp/eieio.el (defmethod): Fix typo in last change.
4091
b0512a1d
EZ
40922011-05-07 Eli Zaretskii <eliz@gnu.org>
4093
605c9376
EZ
4094 * mail/sendmail.el (send-mail-function): On MS-Windows, default to
4095 mailclient-send-it even if window-system is nil. (Bug#8595)
4096
c4662635
SM
4097 * term/w32console.el (terminal-init-w32console):
4098 Call get-screen-color and use its output to set the frame
b0512a1d
EZ
4099 background-mode. (Bug#8597)
4100
d1dc2cc2
SM
41012011-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
4102
4103 Make bytecomp.el understand that defmethod defines funs (bug#8631).
4104 * emacs-lisp/eieio.el (eieio--defalias, eieio--defgeneric-init-form):
4105 New functions.
4106 (defgeneric, eieio--defmethod): Use them.
4107 (eieio-defgeneric): Remove.
4108 (defmethod): Call defgeneric in a way visible to the byte-compiler.
4109
915d1300
GM
41102011-05-07 Glenn Morris <rgm@gnu.org>
4111
a3961c3e
GM
4112 * calendar/timeclock.el (timeclock-log-data): Remove unused local.
4113 Use let rather than let*.
4114 (timeclock-find-discrep): Remove unused local.
4115
314347b9
GM
4116 * calendar/diary-lib.el (diary-comment-start): Doc fix.
4117
915d1300
GM
4118 * calendar/appt.el (appt-time-msg-list): Doc fix.
4119
275b59b0
NF
41202011-05-06 Noah Friedman <friedman@splode.com>
4121
4122 * apropos.el (apropos-print-doc): Only use
4123 emacs-lisp-docstring-fill-column when it is bound to an integer,
4124 per that variable's documentation.
4125
6c19f744
SM
41262011-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
4127
4128 * lpr.el (print-region-1): Echo lpr-program's output, so error messages
d1dc2cc2 4129 and warnings are not silently discarded (e.g. use -d instead of -P).
6c19f744 4130
60f884b2
GM
41312011-05-06 Glenn Morris <rgm@gnu.org>
4132
5006e634
GM
4133 * calendar/appt.el (appt-message-warning-time): Doc fix.
4134 (appt-warning-time-regexp): New option.
4135 (appt-make-list): Respect appt-message-warning-time.
4136
548d0a63
GM
4137 * calendar/diary-lib.el (diary-comment-start, diary-comment-end):
4138 New options.
4139 (diary-add-to-list): Strip comments from the displayed string.
4140 (diary-mode): Set comment-start and comment-end.
4141
60f884b2
GM
4142 * vc/diff-mode.el (smerge-refine-subst): Declare.
4143 (diff-refine-hunk): Don't require smerge-mode when compiling.
4144
989681bb
JB
41452011-05-06 Juanma Barranquero <lekktu@gmail.com>
4146
4147 * simple.el (list-processes): Return nil as the docstring says.
4148
a6bc05e1
MA
41492011-05-05 Michael Albinus <michael.albinus@gmx.de>
4150
4151 * net/ange-ftp.el (ange-ftp-binary-file-name-regexp): Set default
4152 to "".
4153 (ange-ftp-write-region, ange-ftp-insert-file-contents)
4154 (ange-ftp-copy-file-internal): Use only `ange-ftp-binary-file' for
4155 determining of binary transfer. (Bug#7383)
4156
23c22e9a
MA
41572011-05-05 Michael Albinus <michael.albinus@gmx.de>
4158
c4662635
SM
4159 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
4160 Fix port computation bug. (Bug#8618)
23c22e9a 4161
0bff894f
GM
41622011-05-05 Glenn Morris <rgm@gnu.org>
4163
b8296902
GM
4164 * allout-widgets.el (allout-widgets-mode-inhibit): Declare before use.
4165
1f522ce8
GM
4166 * simple.el (shell-dynamic-complete-functions)
4167 (comint-dynamic-complete-functions): Declare.
4168
cf5bee67
GM
4169 * net/network-stream.el (gnutls-negotiate):
4170 * simple.el (tabulated-list-print): Fix declarations.
4171
4172 * progmodes/gud.el (syntax-symbol, syntax-point):
4173 Remove unnecessary and incorrect declarations.
4174
0bff894f
GM
4175 * emacs-lisp/check-declare.el (check-declare-scan):
4176 Handle byte-compile-initial-macro-environment in bytecomp.el
4177
9869b3ae
SM
41782011-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
4179
4180 Fix earlier half-done eieio-defmethod change (bug#8338).
4181 * emacs-lisp/eieio.el (eieio--defmethod): Rename from eieio-defmethod.
4182 Streamline and change calling convention.
4183 (defmethod): Adjust accordingly and simplify.
4184 (eieio-defclass): Fix broken calls to eieio-defmethod and redirect to
4185 new eieio--defmethod.
4186 (slot-boundp): Minor CSE simplification.
4187
9c1d5ac5
MZ
41882011-05-05 Milan Zamazal <pdm@zamazal.org>
4189
4190 * progmodes/glasses.el (glasses-separate-capital-groups): New option.
4191 (glasses-make-readable): Use glasses-separate-capital-groups.
4192
455c834e
JB
41932011-05-05 Juanma Barranquero <lekktu@gmail.com>
4194
4195 * emacs-lisp/warnings.el (warning-level-aliases): Reflow docstring.
4196 (warning-series): Doc fix.
4197 (display-warning): Don't try to create the buffer if we just found it.
4198
9ed7c8cb
CY
41992011-05-04 Chong Yidong <cyd@stupidchicken.com>
4200
4201 * emacs-lisp/autoload.el (generated-autoload-file): Set to nil.
4202 (autoload-find-generated-file): New function.
4203 (generate-file-autoloads): Bind generated-autoload-file to
4204 buffer-file-name.
9869b3ae
SM
4205 (update-file-autoloads, update-directory-autoloads):
4206 Use autoload-find-generated-file. If called interactively, prompt for
9ed7c8cb
CY
4207 output file (Bug#7989).
4208 (batch-update-autoloads): Doc fix.
4209
0898ca10
JB
42102011-05-04 Juanma Barranquero <lekktu@gmail.com>
4211
4212 * term/w32-win.el (dynamic-library-alist): Add `gnutls'.
4213
31dfb76c
GM
42142011-05-04 Glenn Morris <rgm@gnu.org>
4215
f330b642
GM
4216 * calendar/diary-lib.el (diary-fancy-date-pattern): Turn it into a
4217 function, so it follows changes in calendar-date-style.
4218 (diary-fancy-date-matcher): New function.
4219 (diary-fancy-font-lock-keywords): Use diary-fancy-date-matcher.
4220 (diary-fancy-font-lock-fontify-region-function):
4221 Use diary-fancy-date-pattern as a function.
4222
31dfb76c
GM
4223 * calendar/diary-lib.el (diary-fancy-date-pattern): Do not use
4224 non-numbers for `year' etc pseudo-variables. (Bug#8583)
4225
48e79d6a
TZ
42262011-05-04 Teodor Zlatanov <tzz@lifelogs.com>
4227
4228 * net/gnutls.el (gnutls-negotiate): Use CL-style keyword arguments
4229 instead of positional arguments. Allow :keylist and :crlfiles
4230 arguments.
4231 (open-gnutls-stream): Call it.
4232
4233 * net/network-stream.el (network-stream-open-starttls): Adjust to
4234 call `gnutls-negotiate' with :process and :hostname arguments.
4235
dd5a5ee0
SM
42362011-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
4237
ef80fc09
SM
4238 * minibuffer.el (completion--message): New function.
4239 (completion--do-completion, minibuffer-complete)
4240 (minibuffer-force-complete, minibuffer-complete-word): Use it.
4241 (completion--do-completion): Don't ignore completion-auto-help when in
4242 icomplete-mode.
4243
dd5a5ee0
SM
4244 * whitespace.el (whitespace-trailing-regexp): Don't rely on the
4245 internal encoding (e.g. tibetan zero is not whitespace).
4246 (global-whitespace-mode): Prefer save-current-buffer.
4247 (whitespace-trailing-regexp): Remove useless save-match-data.
4248 (whitespace-empty-at-bob-regexp): Minor simplification.
4249
b7d22a83
CY
42502011-05-03 Chong Yidong <cyd@stupidchicken.com>
4251
4252 * emacs-lisp/autoload.el (generated-autoload-file): Doc fix (Bug#7989).
4253
5192af46
AM
42542011-05-03 Agustín Martín Domingo <agustin.martin@hispalinux.es>
4255
4256 * textmodes/ispell.el (ispell-add-per-file-word-list):
cdc4a047 4257 Use `concat' to create string for insertion.
5192af46 4258
5767d190
SM
42592011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
4260
4261 * textmodes/bibtex.el (bibtex-fill-field-bounds, bibtex-fill-entry):
4262 Avoid open-line which runs post-self-insert-hook.
4263 (bibtex-fill-entry): Remove unused `end' var.
4264
bf242939
AM
42652011-05-03 Dirk Ullrich <dirk.ullrich@googlemail.com> (tiny change)
4266
5767d190
SM
4267 * textmodes/ispell.el (ispell-add-per-file-word-list):
4268 Protect against `nil' value of `comment-start' (Bug#8579).
bf242939 4269
25666126
LL
42702011-05-03 Leo Liu <sdl.web@gmail.com>
4271
4272 * isearch.el (isearch-yank-pop): New command.
5767d190 4273 (isearch-mode-map): Bind it to `M-y'.
25666126
LL
4274 (isearch-forward): Mention it.
4275
52d3c2d0
SM
42762011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
4277
1bcace58
SM
4278 * simple.el (minibuffer-complete-shell-command): Remove.
4279 (minibuffer-local-shell-command-map): Use completion-at-point.
4280 (read-shell-command): Setup completion vars here instead.
4281 (read-expression-map): Bind TAB to symbol completion.
4282
52d3c2d0
SM
4283 * textmodes/ispell.el (lookup-words): Use with-temp-buffer; signal
4284 error directly rather via storing it into `results'.
4285
35813471
LL
42862011-05-02 Leo Liu <sdl.web@gmail.com>
4287
4288 * vc/diff.el: Fix description.
4289
e793a940
LMI
42902011-05-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
4291
4292 * server.el (server-eval-at): New function.
4293
8de66e05
LMI
42942011-05-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
4295
4296 * net/network-stream.el (open-network-stream): Take a :nowait
4297 parameter and pass it on to `make-network-process'.
4298 (network-stream-open-plain): Ditto.
4299
dcb79f20
AS
43002011-04-30 Andreas Schwab <schwab@linux-m68k.org>
4301
4302 * faces.el (face-spec-set-match-display): Don't match toolkit
4303 options on terminal frames.
4304
14a7fbd8
SM
43052011-04-29 Stefan Monnier <monnier@iro.umontreal.ca>
4306
7eabc1be
SM
4307 * progmodes/pascal.el: Use lexical binding.
4308 (pascal-mode-map): Remove author preferences.
4309
14a7fbd8
SM
4310 * pcomplete.el (pcomplete-std-complete): Don't abuse
4311 completion-at-point.
4312
50f84510
JB
43132011-04-28 Juanma Barranquero <lekktu@gmail.com>
4314
6e087a44
JB
4315 * calc/calccomp.el (math-comp-to-string-flat-term): Simplify by
4316 removing code that has been dead since 1991 or so.
4317
50f84510
JB
4318 * startup.el (command-line): When warning about "_emacs", use a
4319 delayed warning to allow the user to filter it out.
4320
0ba690bd
DD
43212011-04-28 Deniz Dogan <deniz@dogan.se>
4322
4323 * net/rcirc.el (rcirc-handler-353): Fix bug for channels which the
4324 user has not joined.
4325
08abfaad
SM
43262011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
4327
4328 * pcomplete.el (pcomplete-completions-at-point): Return nil if there
4329 aren't any completions at point.
4330
638f053a
JB
43312011-04-28 Juanma Barranquero <lekktu@gmail.com>
4332
4333 * subr.el (display-delayed-warnings): New function.
4334 (delayed-warnings-hook): New variable.
4335
8fff8daa
SM
43362011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
4337
08abfaad
SM
4338 * minibuffer.el (completion-at-point, completion-help-at-point):
4339 Don't presume that a given completion-at-point-function will always
4340 use the same calling convention.
4341
8fff8daa
SM
4342 * pcomplete.el (pcomplete-completions-at-point):
4343 Obey pcomplete-ignore-case. Don't call pcomplete-norm-func unless
4344 pcomplete-seen is non-nil.
4345 (pcomplete-comint-setup): Also recognize the new comint/shell
4346 completion functions.
4347 (pcomplete-do-complete): Don't call pcomplete-norm-func unless
4348 pcomplete-seen is non-nil.
4349
841a1577 43502011-04-27 Niels Giesen <niels.giesen@gmail.com>
211ec907 4351
841a1577 4352 * calendar/icalendar.el (diary-lib): Add require statement.
211ec907 4353 (icalendar--create-uid): Read out a uid from a text-property on
841a1577 4354 the first character in the entry. This allows for code to add its
211ec907
UJ
4355 own uid to the entry.
4356 (icalendar--convert-float-to-ical): Add export of
4357 `diary-float'-entries save for those with the optional DAY
4358 argument.
4359
2a782793
DC
43602011-04-27 Daniel Colascione <dan.colascione@gmail.com>
4361
4362 * subr.el (shell-quote-argument): Use alternate escaping strategy
4363 when we spot a variable reference in a string.
4364
0438ce91
DC
43652011-04-26 Daniel Colascione <dan.colascione@gmail.com>
4366
4367 * cus-start.el (all): Define customization for debug-on-event.
4368
841a1577 43692011-04-26 Daniel Colascione <dan.colascione@gmail.com>
8f91bf93
DC
4370
4371 * subr.el (shell-quote-argument): Escape correctly under Windows.
4372
d090ed6c
SM
43732011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
4374
4375 * emulation/cua-base.el (cua-selection-mode): Make it toggle again.
4376
bfd31217
MA
43772011-04-25 Michael Albinus <michael.albinus@gmx.de>
4378
d090ed6c
SM
4379 * net/tramp.el (tramp-process-actions): Add POS argument.
4380 Delete region between POS and (pos).
bfd31217 4381
d090ed6c
SM
4382 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
4383 Use `nil' position in `tramp-process-actions' call.
bfd31217
MA
4384 (tramp-maybe-open-connection): Call `tramp-process-actions' with pos.
4385
4386 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Use `nil'
4387 position in `tramp-process-actions' call.
4388
4389 * net/trampver.el: Update release number.
4390
e92f3bd3
SM
43912011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
4392
850256b5
SM
4393 * custom.el (defcustom): Obey lexical-binding.
4394
e92f3bd3
SM
4395 Fix octave-inf completion problems reported by Alexander Klimov.
4396 * progmodes/octave-inf.el (inferior-octave-mode-syntax-table):
4397 Inherit from octave-mode-syntax-table.
4398 (inferior-octave-mode): Set info-lookup-mode.
4399 (inferior-octave-completion-at-point): New function.
4400 (inferior-octave-complete): Use it and completion-in-region.
4401 (inferior-octave-dynamic-complete-functions): Use it as well, and use
4402 comint-filename-completion.
4403 * progmodes/octave-mod.el (octave-mode-syntax-table): Use _ syntax for
4404 symbol elements which shouldn't be word elements.
4405 (octave-font-lock-keywords, octave-beginning-of-defun)
4406 (octave-function-header-regexp): Adjust regexps accordingly.
4407 (octave-mode-map): Also use info-lookup-symbol for C-c C-h.
4408
cd22b309
JB
44092011-04-25 Juanma Barranquero <lekktu@gmail.com>
4410
4411 * net/gnutls.el (gnutls-errorp): Declare before first use.
4412
8b492194
TZ
44132011-04-24 Teodor Zlatanov <tzz@lifelogs.com>
4414
4415 * net/gnutls.el (gnutls-negotiate): Add hostname, verify-flags,
4416 verify-error, and verify-hostname-error parameters. Check whether
cd22b309
JB
4417 default trustfile exists before going to use it. Add missing
4418 argument to gnutls-message-maybe call. Return return value.
8b492194
TZ
4419 Reported by Claudio Bley <claudio.bley@gmail.com>.
4420 (open-gnutls-stream): Add usage example.
4421
4422 * net/network-stream.el (network-stream-open-starttls): Give host
4423 parameter to `gnutls-negotiate'.
4424 (gnutls-negotiate): Adjust `gnutls-negotiate' declaration.
8f91bf93 4425 * subr.el (shell-quote-argument): Escape correctly under Windows.
8b492194 4426
841a1577 44272011-04-24 Daniel Colascione <dan.colascione@gmail.com>
05842630 4428
cd22b309
JB
4429 * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
4430 Use correct match group (bug#8438).
05842630 4431
3ba7869c
CY
44322011-04-24 Chong Yidong <cyd@stupidchicken.com>
4433
512e3ae1
CY
4434 * emacs-lisp/package.el (package-built-in-p): Fix typo.
4435 (package-menu--generate): New arg specifying packages to show.
4436 (package-menu-refresh, package-menu-execute, list-packages):
4437 Callers changed.
4438 (package-show-package-list): New function, replacing deleted
4439 package--list-packages (renamed because it is non-internal).
4440
4441 * finder.el (finder-list-matches): Use package-show-package-list
4442 instead of deleted package--list-packages.
4443
e92f3bd3
SM
4444 * vc/vc-annotate.el (vc-annotate-goto-line): New command.
4445 Based on a previous implementation by Juanma Barranquero (Bug#8366).
3ba7869c
CY
4446 (vc-annotate-mode-map): Bind it to RET.
4447
7031be6d
UR
44482011-04-24 Uday S Reddy <u.s.reddy@cs.bham.ac.uk> (tiny change)
4449
4450 * progmodes/etags.el (next-file): Don't use set-buffer to change
4451 buffers (Bug#8478).
4452
4ef177aa
CY
44532011-04-24 Chong Yidong <cyd@stupidchicken.com>
4454
c8d173eb
CY
4455 * files.el (auto-mode-alist): Use js-mode for .json (Bug#8529).
4456
4ef177aa
CY
4457 * apropos.el (apropos-label-face): Avoid variable-pitch face.
4458 (apropos-accumulator): Doc fix.
4459 (apropos-function, apropos-macro, apropos-command)
4460 (apropos-variable, apropos-face, apropos-group, apropos-widget)
4461 (apropos-plist): Add face property.
4462 (apropos-symbols-internal): Fix indentation.
4463 (apropos-print): Simplify help, and recognize apropos-multi-type.
4464 (apropos-print-doc): Use button-type-get to extract the button's
4465 face property. Fill docstring (Bug#8352).
4466
4ffd0d6b 44672011-04-23 Juanma Barranquero <lekktu@gmail.com>
be71f810
JB
4468
4469 * buff-menu.el (Buffer-menu--buffers): Fix typo in docstring (bug#8535).
4470
c6c32125 4471 * play/mpuz.el (mpuz-silent): Doc fix.
4ffd0d6b 4472 (mpuz-mode-map): Use mapc.
c6c32125
JB
4473 (mpuz-put-number-on-board): Rename parameter L to COLUMNS.
4474 (mpuz-letter-to-digit, mpuz-check-all-solved, mpuz-create-buffer):
4475 Fix typos in docstrings.
4476
58d468b4
JB
4477 * play/doctor.el (doc$, doctor-$, doctor-read-print, doctor-read-token)
4478 (doctor-nounp, doctor-pronounp): Fix typos in docstrings.
4479
6470c3c6
JB
4480 * mouse-drag.el (mouse-drag-throw): Fix typo in docstring.
4481
4ffd0d6b 44822011-04-23 Chong Yidong <cyd@stupidchicken.com>
6f21a319
CY
4483
4484 * minibuffer.el (completion--do-completion): Avoid the "Next char
4485 not unique" prompt if icomplete-mode is enabled (Bug#5849).
4486
3ad8bad0
CY
4487 * mouse.el (mouse-drag-mode-line-1): Make sure that if we push
4488 mouse-2 into unread-command-events, it is interpreted correctly.
4489
71d73c9c 4490 * image-mode.el (image-type, image-mode-map, image-minor-mode-map)
6395aab9 4491 (image-toggle-display): Doc fix.
71d73c9c 4492
841a1577 44932011-04-23 Stephen Berman <stephen.berman@gmx.net>
e935c6a2 4494
4ffd0d6b
GM
4495 * textmodes/page.el (what-page): Use line-number-at-pos to
4496 calculate line number (Bug#6825).
6e1dbaa9 4497
c2fb1b60
JB
44982011-04-22 Juanma Barranquero <lekktu@gmail.com>
4499
4500 * eshell/esh-mode.el (find-tag-interactive): Declare function.
4501 (eshell-find-tag): Remove `with-no-warnings', unneeded now.
4502 Pass argument NO-DEFAULT to `find-tag-interactive'.
4503
e02f48d7
JB
45042011-04-22 Juanma Barranquero <lekktu@gmail.com>
4505
4506 Lexical-binding cleanup.
4507
4508 * progmodes/ada-mode.el (ada-after-change-function, ada-loose-case-word)
4509 (ada-no-auto-case, ada-capitalize-word, ada-untab, ada-narrow-to-defun):
4510 * progmodes/ada-prj.el (ada-prj-initialize-values)
4511 (ada-prj-display-page, ada-prj-field-modified, ada-prj-display-help)
4512 (ada-prj-show-value):
4513 * progmodes/ada-xref.el (ada-find-any-references, ada-gdb-application):
4514 * progmodes/antlr-mode.el (antlr-with-displaying-help-buffer)
4515 (antlr-invalidate-context-cache, antlr-options-menu-filter)
4516 (antlr-language-option-extra, antlr-c++-mode-extra, antlr-run-tool):
4517 * progmodes/bug-reference.el (bug-reference-push-button):
4518 * progmodes/fortran.el (fortran-line-length):
4519 * progmodes/glasses.el (glasses-change):
4520 * progmodes/octave-mod.el (octave-fill-paragraph):
4521 * progmodes/python.el (python-mode, python-pdbtrack-track-stack-file)
4522 (python-pdbtrack-grub-for-buffer, python-sentinel):
4523 * progmodes/sql.el (sql-save-connection):
4524 * progmodes/tcl.el (tcl-indent-command, tcl-popup-menu):
4525 * progmodes/xscheme.el (xscheme-enter-debugger-mode):
4526 Mark unused parameters.
4527
4528 * progmodes/compile.el (compilation--flush-directory-cache)
4529 (compilation--flush-parse, compile-internal): Mark unused parameters.
4530 (compilation-buffer-name): Rename parameter MODE-NAME to NAME-OF-MODE.
4531 (compilation-next-error-function): Remove unused variable `timestamp'.
4532
4533 * progmodes/cpp.el (cpp-parse-close): Remove unused variable `begin'.
4534 (cpp-signal-read-only, cpp-grow-overlay): Mark unused parameters.
4535
4536 * progmodes/dcl-mode.el (dcl-end-of-command):
4537 Remove unused variable `start'.
4538 (dcl-calc-command-indent-multiple, dcl-calc-cont-indent-relative)
4539 (dcl-option-value-basic, dcl-option-value-offset)
4540 (dcl-option-value-margin-offset, dcl-option-value-comment-line):
4541 Mark unused parameters.
4542 (dcl-save-local-variable): Remove unused variable `val'.
4543 (mode): Declare.
4544
4545 * progmodes/delphi.el (delphi-save-state, delphi-after-change):
4546 Mark unused parameters.
4547 (delphi-ignore-changes): Move before first use.
4548 (delphi-charset-token-at): Remove unused variable `start'.
4549 (delphi-else-start): Remove unused variable `if-count'.
4550 (delphi-comment-block-start, delphi-comment-block-end):
4551 Remove unused variable `kind'.
4552 (delphi-indent-line): Remove unused variable `new-point'.
4553
4554 * progmodes/ebrowse.el (ebrowse-files-list)
4555 (ebrowse-list-of-matching-members, ebrowse-tags-list-members-in-file):
4556 Mark unused parameters. Don't quote `lambda'.
4557 (ebrowse-sort-tree-list, ebrowse-same-tree-member-buffer-list):
4558 Don't quote `lambda'.
4559 (ebrowse-revert-tree-buffer-from-file, ebrowse-tags-choose-class)
4560 (ebrowse-goto-visible-member/all-member-lists): Mark unused parameters.
4561 (ebrowse-create-tree-buffer): Rename parameter OBARRAY to CLASSES.
4562 (ebrowse-toggle-mark-at-point): Remove unused variable `pnt'.
4563 Use `ignore-errors'.
4564 (ebrowse-frozen-tree-buffer-name, ebrowse-find-source-file)
4565 (ebrowse-view/find-file-and-search-pattern)
4566 (ebrowse-view/find-member-declaration/definition):
4567 Rename parameter TAGS-FILE-NAME to TAGS-FILE.
4568 (ebrowse-find-class-declaration, ebrowse-view-class-declaration):
4569 Rename parameter PREFIX-ARG to PREFIX.
4570 (ebrowse-tags-read-name): Remove unused variables `start' and
4571 `member-info'.
4572 (ebrowse-display-member-buffer): Rename variable `tags-file-name'
4573 to `tags-file'.
4574
4575 * progmodes/etags.el (local-find-tag-hook): Declare.
4576 (tag-partial-file-name-match-p, tag-any-match-p, list-tags):
4577 Mark unused parameters.
4578
4579 * progmodes/executable.el (compilation-error-regexp-alist): Declare.
4580 (executable-interpret): Mark unused parameter.
4581
4582 * progmodes/flymake.el (flymake-process-sentinel)
4583 (flymake-after-change-function)
4584 (flymake-create-temp-with-folder-structure)
4585 (flymake-get-include-dirs-dot): Mark unused parameters.
4586 (flymake-safe-delete-directory): Remove unused variable `err'.
4587
4588 * progmodes/gdb-mi.el (speedbar-change-initial-expansion-list)
4589 (speedbar-timer-fn, speedbar-line-text)
4590 (speedbar-change-expand-button-char, speedbar-delete-subblock)
4591 (speedbar-center-buffer-smartly): Declare functions.
4592 (gdb-find-watch-expression): Remove unused variable `array'.
4593 (gdb-edit-value, gdb-gdb, gdb-ignored-notification, gdb-thread-created)
4594 (gdb-starting): Mark unused parameters.
4595 (gud-gdbmi-marker-filter): Remove unused variable `output-record'.
4596 (gdb-table-string): Remove unused variable `res'.
4597 (gdb-place-breakpoints): Remove unused variables `flag' and `bptno'.
4598 (gdb-disassembly-handler-custom): Remove unused variable `pos'.
4599 (gdb-display-buffer): Remove unused variable `cur-size'.
4600
4601 * progmodes/gud.el (gud-def): Use `defalias' instead of `defun' to
4602 allow lexical-binding compilation.
4603 (gud-expansion-speedbar-buttons, gud-gdb-goto-stackframe)
4604 (gud-dbx-massage-args, gud-xdb-massage-args, gud-perldb-massage-args)
4605 (gud-jdb-massage-args, gud-jdb-find-source, gud-find-class):
4606 Mark unused parameters.
4607 (gud-gdb-marker-filter): Remove unused variable `match'.
4608 (gud-find-class): Bind `syntax-symbol' and `syntax-point' to suitable
4609 lambda expressions and funcall them, instead of using `fset'.
4610
4611 * progmodes/hideif.el (hif-parse-if-exp): Rename parameter
4612 HIF-TOKEN-LIST to TOKEN-LIST and let-bind `hif-token-list'.
4613
4614 * progmodes/hideshow.el (hs-hide-block-at-point): Remove unused
4615 variable `header-beg'; use `let'.
4616
4617 * progmodes/icon.el (indent-icon-exp): Remove unused variables
4618 `restart', `last-sexp' and `at-do'.
4619
4620 * progmodes/js.el (js--debug): Mark unused parameter.
4621 (js--parse-state-at-point): Remove unused variable `bound'; use `let'.
4622 (js--splice-into-items): Remove unused variable `item'.
4623 (js--read-symbol, js--read-tab): Pass 1/-1 to `ido-mode', not t/nil.
4624
4625 * progmodes/make-mode.el (makefile-make-font-lock-keywords):
4626 Rename parameter FONT-LOCK-KEYWORDS to FL-KEYWORDS.
4627 (makefile-complete): Remove unused variable `try'.
4628 (makefile-fill-paragraph, makefile-match-function-end):
4629 Mark unused parameters.
4630
4631 * progmodes/octave-inf.el (inferior-octave-complete):
4632 Remove unused variable `proc'.
4633 (inferior-octave-output-digest): Mark unused parameter.
4634
4635 * progmodes/perl-mode.el (perl-calculate-indent):
4636 Remove unused variable `err'.
4637
4638 * progmodes/prolog.el (prolog-mode-keybindings-inferior)
4639 (prolog-indent-line): Mark unused parameters.
4640 (prolog-indent-line): Remove unused variable `beg'.
4641
4642 * progmodes/ps-mode.el (reporter-prompt-for-summary-p)
4643 (reporter-dont-compact-list): Declare.
4644
4645 * progmodes/sh-script.el (sh-font-lock-quoted-subshell):
4646 Remove unused variable `char'.
4647 (sh-debug): Mark unused parameter.
4648 (sh-get-indent-info): Remove unused variable `start'.
4649 (sh-calculate-indent): Remove unused variable `var'.
4650
4651 * progmodes/simula.el (simula-popup-menu): Mark unused parameter.
4652 (simula-electric-keyword): Remove unused variable `null'.
4653 (simula-search-backward, simula-search-forward): Remove unused
4654 variables `begin' and `end'.
4655
4656 * progmodes/vera-mode.el (vera-guess-basic-syntax):
4657 Remove unused variable `pos'.
4658 (vera-electric-tab, vera-comment-uncomment-region):
4659 Mark unused parameters.
4660 (vera-electric-tab): Rename parameter PREFIX-ARG to PREFIX.
4661
7ede3b65
CY
46622011-04-22 Chong Yidong <cyd@stupidchicken.com>
4663
4664 * emacs-lisp/package.el (package--builtins, package-alist)
4665 (package-load-descriptor, package-built-in-p, package-activate)
4666 (define-package, package-installed-p)
4667 (package-compute-transaction, package-buffer-info)
4668 (package--push): Doc fix. Distinguish more clearly between
4669 version strings and version lists.
4670
121656e9
JB
46712011-04-21 Juanma Barranquero <lekktu@gmail.com>
4672
4673 Lexical-binding cleanup.
4674
4675 * play/5x5.el (5x5-make-random-solution, 5x5-make-mutate-current)
4676 (5x5-make-mutate-best):
4677 * play/fortune.el (fortune-in-buffer):
4678 * play/gomoku.el (gomoku-init-display):
4679 * play/solitaire.el (solitaire, solitaire-do-check):
4680 * play/tetris.el (tetris-default-update-speed-function):
4681 Mark unused parameters.
4682
4683 * play/bubbles.el (bubbles-mode): Set `show-trailing-whitespace'.
4684 (bubbles--shift): Remove unused variable `char-org'.
4685 (bubbles--set-faces): Remove unused variable `fg-col'. Simplify.
4686 (bubbles--show-images): Remove unused variable `char'.
4687
4688 * play/decipher.el (decipher-keypress, decipher-alphabet-keypress)
4689 (decipher-get-undo, decipher-set-map, decipher-complete-alphabet)
4690 (decipher-resync, decipher-loop-with-breaks, decipher--analyze)
4691 (decipher-analyze-buffer): Use ?\s.
4692 (decipher-make-checkpoint): Remove unused variable `mapping'.
4693
4694 * play/doctor.el (doctor-doc): Rename parameter DOCTOR-SENT to SENT.
4695
4696 * play/gamegrid.el (gamegrid-add-score-with-update-game-score):
4697 Remove unused variable `result'; use `let'.
4698
4699 * play/gametree.el (gametree-current-layout, gametree-apply-layout):
4700 Rename parameter TOP-LEVEL to FROM-TOP-LEVEL; use `ignore-errors'.
4701 (gametree-children-shown-p, gametree-compute-reduced-score):
4702 Use `ignore-errors'.
4703
4704 * play/handwrite.el (ps-lpr-switches): Declare.
4705 (handwrite): Remove unused variables `pmin' and `lastp'.
4706
4707 * play/hanoi.el (hanoi-move-ring): Remove unused variable `total-steps'.
4708
4709 * play/landmark.el (landmark-init-display)
4710 (landmark-update-naught-weights): Mark unused parameters.
4711 (landmark-y): Remove unused variable `noise'. Simplify.
4712 (landmark-human-plays): Remove unused variable `score'.
4713
4714 * play/mpuz.el (mpuz-try-letter): Remove unused variable `message'.
4715 (mpuz-try-proposal): Remove unused variable `game'.
4716
4717 * play/zone.el (life-patterns): Declare.
4718
80f499c7
JB
47192011-04-20 Juanma Barranquero <lekktu@gmail.com>
4720
4721 * vc/vc.el (ediff-vc-internal): Declare function.
4722
024ff170
SM
47232011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
4724
c0a193ea
SM
4725 * shell.el: Use lexical-binding and std completion UI.
4726 (shell-filter-ctrl-a-ctrl-b): Work as a preoutput filter.
4727 (shell-mode): Put shell-filter-ctrl-a-ctrl-b on
4728 comint-preoutput-filter-functions rather than on
4729 comint-output-filter-functions.
4730 (shell-command-completion, shell--command-completion-data)
4731 (shell-filename-completion, shell-environment-variable-completion)
4732 (shell-c-a-p-replace-by-expanded-directory): New functions.
4733 (shell-dynamic-complete-functions, shell-dynamic-complete-command)
4734 (shell-dynamic-complete-filename, shell-replace-by-expanded-directory)
4735 (shell-dynamic-complete-environment-variable): Use them.
4736 (shell-dynamic-complete-as-environment-variable)
4737 (shell-dynamic-complete-as-command): Remove.
4738 (shell-match-partial-variable): Match past point.
4739 * comint.el: Clean up use of completion-at-point-functions.
4740 (comint-completion-at-point): New function.
4741 (comint-mode): Use it completion-at-point-functions.
4742 (comint-dynamic-complete): Make it obsolete.
4743 (comint-replace-by-expanded-history-before-point): Add dry-run arg.
4744 (comint-c-a-p-replace-by-expanded-history): New function.
4745 (comint-dynamic-complete-functions)
4746 (comint-replace-by-expanded-history): Use it.
4747 * minibuffer.el (completion-table-with-terminator): Allow dynamic
4748 termination strings. Try harder to avoid second try-completion.
4749 (completion-in-region-mode-map): Disable bindings that don't work yet.
4750
2dbaa080
SM
4751 * comint.el: Use lexical-binding. Require CL.
4752 (comint-dynamic-complete-functions): Use comint-filename-completion.
4753 (comint-completion-addsuffix): Tweak custom type.
4754 (comint-filename-completion, comint--common-suffix)
4755 (comint--common-quoted-suffix, comint--table-subvert)
4756 (comint--complete-file-name-data): New functions.
4757 (comint-dynamic-complete-as-filename, comint-dynamic-complete-filename)
4758 (comint-dynamic-list-filename-completions): Use them.
4759 (comint-dynamic-simple-complete): Make obsolete.
c0a193ea 4760
2dbaa080
SM
4761 * minibuffer.el (completion-in-region-mode):
4762 Keep completion-in-region-mode--predicate global.
4763 (completion-in-region--postch):
4764 Assume completion-in-region-mode--predicate is not null.
4765
c79a6f38
SM
4766 * progmodes/flymake.el (flymake-start-syntax-check-process):
4767 Obey `dir'. Simplify.
4768
024ff170
SM
4769 * vc/vc.el (vc-version-ediff): Call ediff-vc-internal directly, since
4770 we're in VC after all.
4771
1c6c854e
CS
47722011-04-20 Christoph Scholtes <cschol2112@googlemail.com>
4773
4774 * vc/vc.el (vc-diff-build-argument-list-internal)
024ff170 4775 (vc-version-ediff, vc-ediff): New commands.
1c6c854e
CS
4776 (vc-version-diff): Use vc-diff-build-argument-list-internal.
4777
bed7f140
SM
47782011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
4779
332e62ab
SM
4780 * emacs-lisp/byte-opt.el (byte-decompile-bytecode-1): Remove dead code,
4781 add sanity check.
4782
bed7f140
SM
4783 * obsolete/erc-hecomplete.el: Make obsolete.
4784 * obsolete/: Standardize obsolescence info in the header.
4785
f195c582
GM
47862011-04-20 Glenn Morris <rgm@gnu.org>
4787
4788 * calendar/solar.el (solar-horizontal-coordinates):
4789 Use the longitude argument rather than `calendar-longitude'.
4790 (solar-date-next-longitude): Remove unused locals.
4791
cb79b8c0
VJL
47922011-04-20 Vinicius Jose Latorre <viniciusjl@ig.com.br>
4793
4794 * whitespace.el: New version 13.2.1.
4795
47962011-04-20 felix <EmacsWiki> (tiny change)
4797
d8e4b68b 4798 * whitespace.el (global-whitespace-mode): Keep highlight when
cb79b8c0
VJL
4799 switching between major modes on a file.
4800
602ea69d
SM
48012011-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
4802
4803 * progmodes/octave-mod.el (octave-in-comment-p, octave-in-string-p)
4804 (octave-not-in-string-or-comment-p): Use syntax-ppss so it works with
4805 multi-line comments as well.
4806
06b60517
JB
48072011-04-19 Juanma Barranquero <lekktu@gmail.com>
4808
4809 Lexical-binding cleanup.
4810
4811 * arc-mode.el (archive-mode-revert):
4812 * cmuscheme.el (scheme-interactively-start-process):
4813 * custom.el (custom-initialize-delay):
4814 * dnd.el (dnd-open-local-file, dnd-open-remote-url):
4815 * dos-w32.el (direct-print-region-helper, direct-print-region-function):
4816 * emacs-lock.el (emacs-lock-clear-sentinel):
4817 * ezimage.el (defezimage):
4818 * follow.el (follow-avoid-tail-recenter):
4819 * fringe.el (set-fringe-mode-1):
4820 * generic-x.el (bat-generic-mode-compile):
4821 * help-mode.el (help-info-variable, help-do-xref)
4822 (help-mode-revert-buffer):
4823 * help.el (view-emacs-todo):
4824 * iswitchb.el (iswitchb-completion-help):
4825 * jka-compr.el (jka-compr-make-temp-name, jka-compr-load):
4826 * kmacro.el (kmacro-cycle-ring-next, kmacro-cycle-ring-previous)
4827 (kmacro-delete-ring-head, kmacro-bind-to-key, kmacro-view-macro):
4828 * locate.el (locate-update):
4829 * longlines.el (longlines-encode-region)
4830 (longlines-after-change-function):
4831 * outline.el (outline-isearch-open-invisible):
4832 * ps-def.el (declare-function, charset-dimension, char-width)
4833 (encode-char):
4834 * ps-mule.el (ps-mule-plot-string):
4835 * recentf.el (recentf-make-menu-items, recentf-cancel-dialog)
4836 (recentf-edit-list-select, recentf-edit-list-validate)
4837 (recentf-open-files-action):
4838 * rect.el (delete-whitespace-rectangle-line)
4839 (rectangle-number-line-callback):
4840 * register.el (window-configuration-to-register)
4841 (frame-configuration-to-register):
4842 * scroll-bar.el (scroll-bar-mode, toggle-horizontal-scroll-bar):
4843 * select.el (xselect-convert-to-string, xselect-convert-to-length)
4844 (xselect-convert-to-targets, xselect-convert-to-delete)
4845 (xselect-convert-to-filename, xselect-convert-to-charpos)
4846 (xselect-convert-to-lineno, xselect-convert-to-colno)
4847 (xselect-convert-to-os, xselect-convert-to-host)
4848 (xselect-convert-to-user, xselect-convert-to-class)
4849 (xselect-convert-to-name, xselect-convert-to-integer)
4850 (xselect-convert-to-atom, xselect-convert-to-identity):
4851 * subr.el (declare, ignore, process-kill-without-query)
4852 (text-clone-maintain):
4853 * terminal.el (te-get-char, te-tic-sentinel):
4854 * tool-bar.el (tool-bar-make-keymap):
4855 * tooltip.el (tooltip-timeout, tooltip-hide, tooltip-help-tips):
4856 * type-break.el (type-break-mode, type-break-noninteractive-query):
4857 * view.el (View-back-to-mark):
4858 * wid-browse.el (widget-browse-action, widget-browse-widget)
4859 (widget-browse-widgets, widget-browse-sexp):
4860 * widget.el (define-widget-keywords):
4861 * xt-mouse.el (xterm-mouse-translate, turn-off-xterm-mouse-tracking):
4862 Mark unused parameters.
4863
4864 * align.el (align-adjust-col-for-rule): Mark unused parameter.
4865 (align-areas): Remove unused variable `look'.
4866 (align-region): Remove unused variables `real-end' and `pos-list'.
4867
4868 * apropos.el (apropos-score-doc): Remove unused variable `i'.
4869
4870 * bindings.el (mode-line-modified, mode-line-remote):
4871 Mark unused parameters.
4872 (mode-line-mule-info): Mark unused parameter; don't quote `lambda'.
4873
4874 * buff-menu.el (Buffer-menu-revert-function): Mark unused parameters.
4875 (Buffer-menu-mode): Mark unused parameter; don't quote `lambda'.
4876
4877 * comint.el (comint-history-isearch-pop-state)
4878 (comint-postoutput-scroll-to-bottom, comint-truncate-buffer)
4879 (comint-strip-ctrl-m, comint-read-noecho): Mark unused parameters.
4880 (comint-substitute-in-file-name): Doc fix.
4881
4882 * completion.el (cmpl-statistics-block): Mark unused parameter.
4883 (add-completions-from-tags-table, add-completions-from-lisp-buffer)
4884 (save-completions-to-file, load-completions-from-file):
4885 Remove unused local variable `e'.
4886
4887 * composite.el (compose-chars): Remove unused variable `len'.
4888 (lgstring-insert-glyph): Remove unused variable `g'.
4889 (compose-glyph-string): Remove unused variables `ascent',
4890 `descent', `lbearing' and `rbearing'.
4891 (compose-glyph-string-relative): Remove unused variables
4892 `lbearing', `rbearing' and `wadjust'.
4893 (compose-gstring-for-graphic): Remove unused variables `header',
4894 `wadjust', `xoff' and `yoff'. Use `let', not `let*'.
4895 (compose-gstring-for-terminal): Remove unused variables `header'
4896 and `nchars'. Use `let', not `let*'.
4897
4898 * cus-edit.el (Custom-set, Custom-save, custom-reset)
4899 (Custom-reset-current, Custom-reset-saved, Custom-reset-standard)
4900 (Custom-buffer-done, custom-buffer-create-internal)
4901 (custom-browse-visibility-action, custom-browse-group-tag-action)
4902 (custom-browse-variable-tag-action, custom-browse-face-tag-action)
4903 (widget-magic-mouse-down-action, custom-toggle-parent)
4904 (custom-add-parent-links, custom-toggle-hide-variable)
4905 (custom-face-edit-value-visibility-action, custom-face-edit-fix-value)
4906 (custom-toggle-hide-face, face, hook, custom-group-link-action)
4907 (custom-face-menu-create, custom-variable-menu-create, get)
4908 (custom-group-menu-create, Custom-no-edit): Mark unused parameters.
4909 (custom-reset-standard-save-and-update): Remove unused variable `value'.
4910 (customize-apropos): Remove unused variable `tests'.
4911 (custom-group-value-create): Remove unused variable `hidden-p'.
4912 (sort-fold-case): Declare.
4913
4914 * cus-theme.el (custom-reset-standard-faces-list)
4915 (custom-reset-standard-variables-list): Declare.
4916 (customize-create-theme, custom-theme-revert, custom-theme-write)
4917 (custom-theme-choose-mode, customize-themes, custom-theme-save):
4918 Mark unused parameters.
4919
4920 * dabbrev.el (dabbrev-completion): Remove unused variable `init'.
4921
4922 * delim-col.el (delimit-columns-max): Move defvar before first use.
4923
4924 * descr-text.el (describe-char-categories): Don't quote `lambda'.
bd0d2ee2 4925 (describe-char): Don't quote `lambda'. Mark unused parameter.
06b60517
JB
4926
4927 * desktop.el (desktop-save-buffer-p): Mark unused parameter.
4928 (auto-insert): Declare.
4929 (desktop-restore-file-buffer): Rename desktop-* parameters;
4930 mark unused ones.
4931 (desktop-create-buffer): Rename desktop-* parameters and bind them.
4932 (desktop-buffer): Rename desktop-* parameters.
4933
4934 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
4935 (dframe-reposition-frame-xemacs, dframe-help-echo)
4936 (dframe-hack-buffer-menu, dframe-set-timer, dframe-set-timer-internal):
4937 Mark unused parameters.
4938
4939 * dired-aux.el (backup-extract-version-start, overwrite-query)
4940 (overwrite-backup-query, rename-regexp-query)
4941 (rename-non-directory-query): Declare.
4942 (dired-shell-stuff-it, dired-do-create-files): Mark unused parameters.
4943 (dired-add-entry): Remove unused variable `orig-file-name'.
4944 (dired-copy-file-recursive): Remove unused variable `dirfailed'.
4945 Use parameter PRESERVE-TIME instead of accessing dynamic variable
4946 `dired-copy-preserve-time' directly.
4947 (dired-do-create-files-regexp): Remove unused variable `fn-count'.
4948 (dired-insert-subdir-newpos): Rename unused variable `pos'.
4949
4950 * dired-x.el (dired-omit-size-limit): Move defcustom before first use.
4951 (dired-virtual-revert, dired-make-relative-symlink):
4952 Mark unused parameters.
4953 (manual-program): Declare.
4954 (dired-x-hands-off-my-keys): Rename parameters of lambda expression.
4955 (inode, s, mode, nlink, uid, gid, size, time, name, sym): Declare them,
4956 wrapped in `with-no-warnings' to avoid replacing one warning by another.
4957
4958 * dirtrack.el (dirtrack): Remove unused variable `multi-line'.
4959
4960 * dos-fns.el (dos-8+3-filename): Remove unused variable `i'.
4961
4962 * echistory.el (electric-history-in-progress, Helper-return-blurb):
4963 Declare.
4964
4965 * edmacro.el (edmacro-finish-edit): Remove unused variable `kmacro'.
4966
4967 * electric.el (Electric-command-loop): Rename parameter
4968 INHIBIT-QUIT to INHIBIT-QUITTING and bind `inhibit-quit'.
4969
4970 * expand.el (expand-in-literal): Remove unused variable `here'.
4971
4972 * facemenu.el (facemenu-add-new-color):
4973 Remove unused variable `docstring'.
4974
4975 * faces.el (face-id, make-face-bold, make-face-unbold, make-face-italic)
4976 (make-face-unitalic, make-face-bold-italic): Mark unused parameters.
4977 (face-attr-construct): Mark unused parameter. Doc fix.
4978 (read-color): Remove unused variable `hex-string'.
4979
4980 * files.el (parse-colon-path): Rename argument CD-PATH to SEARCH-PATH.
4981 (locate-dominating-file): Remove unused vars `prev-file' and `user'.
4982 (remote-file-name-inhibit-cache, revert-buffer): Clean up docstrings.
4983 (display-buffer-other-frame): Remove unused variable `old-window'.
4984 (kill-buffer-hook): Declare.
4985 (insert-file-contents-literally, set-auto-mode, risky-local-variable-p):
4986 Mark unused parameters.
4987 (after-find-file): Pass 1 to `auto-save-mode', not t.
4988
4989 * files-x.el (auto-insert): Declare.
4990 (modify-file-local-variable-prop-line): Remove unused variable `val'.
4991
4992 * find-lisp.el (find-lisp-find-dired-internal): Remove unused
bd0d2ee2 4993 variable `buf'. Mark unused parameter.
06b60517
JB
4994 (find-lisp-insert-directory): Mark unused parameter.
4995
4996 * format.el (format-decode-run-method): Mark unused parameter; doc fix.
4997 (format-encode-region): Remove unused variables `cur-buf' and `result'.
4998 (format-common-tail): Remove, unused.
4999 (format-deannotate-region): Remove unused variable `loc'.
5000 (format-annotate-region): Remove unused variable `p'.
5001 (format-annotate-single-property-change): Remove unused variables
5002 `default' and `tail'.
5003
5004 * forms.el (read-file-filter): Declare.
5005 (forms--iif-hook, forms--revert-buffer): Mark unused parameters.
5006
5007 * frame.el (frame-creation-function-alist): Mark unused parameter.
5008 (frame-geom-spec-cons): Pass FRAME to `frame-geom-value-cons'.
5009
5010 * hilit-chg.el (hilit-chg-cust-fix-changes-face-list, hilit-chg-clear):
5011 Remove unused parameters.
5012 (hilit-chg-set-face-on-change): Remove unused variable `beg-decr'.
5013 (highlight-compare-with-file): Remove unused variable `buf-b-read-only'.
5014
5015 * htmlfontify.el (hfy-default-footer, hfy-decor, hfy-invisible)
5016 (hfy-parse-tags-buffer, hfy-prepare-index-i, hfy-prepare-index)
5017 (hfy-prepare-tag-map): Mark unused parameters.
5018 (htmlfontify-buffer): Use `called-interactively-p'.
5019
5020 * ibuf-ext.el (ibuffer-do-kill-lines, ibuffer-jump-to-buffer)
5021 (ibuffer-copy-filename-as-kill, ibuffer-mark-on-buffer)
5022 (ibuffer-do-occur): Mark unused parameters.
5023 (ibuffer-forward-next-marked): Remove unused variable `curmark'.
5024 (ibuffer-diff-buffer-with-file-1): Remove unused variable `proc'.
5025
5026 * ibuffer.el: Don't quote `lambda'.
5027 (ibuffer-count-marked-lines, ibuffer-count-deletion-lines)
5028 (ibuffer-unmark-all, ibuffer-toggle-marks, ibuffer-redisplay-engine):
5029 Mark unused parameters.
5030
5031 * ido.el (ido-mode, ido-wide-find-dir-or-delete-dir)
5032 (ido-completing-read): Mark unused parameters.
5033 (ido-copy-current-word): Mark unused parameters;
5034 remove unused variable `name'.
5035 (ido-sort-merged-list): Remove unused parameter `dirs'.
5036
5037 * ielm.el (ielm-input-sender): Mark unused parameter.
5038 (ielm-string, ielm-form, ielm-pos, ielm-result, ielm-error-type)
5039 (ielm-output, ielm-wbuf, ielm-pmark): Declare.
5040 (ielm-eval-input): Rename argument IELM-STRING to INPUT-STRING to keep
5041 `ielm-string' as a dynamic variable accessible from the IELM prompt.
5042 Bind `ielm-string' to INPUT-STRING. Remove unused variable `err'.
5043
5044 * image-dired.el (image-dired-display-thumbs): Remove unused
5045 variables `curr-file' and `count'.
5046 (image-dired-remove-tag): Remove unused variable `start'.
5047 (image-dired-tag-files, image-dired-create-thumbs): Remove unused
5048 variable `curr-file'
5049 (image-dired-rotate-original): Remove unused variable `temp-file'.
5050 (image-dired-mouse-select-thumbnail, image-dired-mouse-toggle-mark):
5051 Remove unused variable `file'.
5052 (image-dired-gallery-generate): Remove unused variable `curr'.
5053 (image-dired-dired-edit-comment-and-tags): Mark unused parameters.
5054
5055 * indent.el (tab-to-tab-stop): Remove unused variable `opoint'.
5056
5057 * info-xref.el (info-xref-goto-node-p): Remove unused variable `err'.
5058
5059 * informat.el (texinfo-command-start, texinfo-command-end): Declare.
5060
5061 * isearch.el (minibuffer-history-symbol): Declare.
5062 (isearch-edit-string): Remove unused variable `err'.
5063 (isearch-message-prefix, isearch-message-suffix):
5064 Mark unused parameters.
5065
5066 * ls-lisp.el (ls-lisp-insert-directory): Remove unused variable `fil'.
5067
5068 * macros.el (insert-kbd-macro): Remove unused variable `mods'.
5069
5070 * makesum.el (double-column): Remove unused variable `cnt'.
5071
5072 * misearch.el (multi-isearch-pop-state): Mark unused parameter.
5073 (ido-ignore-item-temp-list): Declare.
5074
5075 * mouse-drag.el (mouse-drag-throw): Remove unused variables
5076 `mouse-delta', `window-last-row', `mouse-col-delta', `window-last-col',
5077 `adjusted-mouse-col-delta' and `adjusted-mouse-delta'.
5078 (mouse-drag-drag): Remove unused variables `mouse-delta' and
5079 `mouse-col-delta'.
5080
5081 * mouse-sel.el (mouse-extend-internal):
5082 Remove unused variable `orig-window-frame'.
5083
5084 * pcomplete.el (pcomplete-args, pcomplete-begins, pcomplete-last)
5085 (pcomplete-index, pcomplete-stub, pcomplete-seen, pcomplete-norm-func):
5086 Move declarations before first use.
5087 (pcomplete-opt): Mark unused parameters; doc fix.
5088
5089 * proced.el (proced-revert): Mark unused parameter.
5090 (proced-send-signal): Remove unused variable `err'.
5091
5092 * ps-print.el (ps-print-preprint-region, ps-print-preprint):
5093 Rename parameter PREFIX-ARG to ARG.
5094 (ps-basic-plot-string, ps-basic-plot-whitespace):
5095 Mark unused parameters.
5096
5097 * replace.el (replace-count): Define.
5098 (occur-revert-function): Mark unused parameters.
5099 (ido-ignore-item-temp-list, isearch-error, isearch-forward)
5100 (isearch-case-fold-search, isearch-string): Declare.
5101 (occur-engine): Rename parameter CASE-FOLD-SEARCH to CASE-FOLD and
5102 bind `case-fold-search'. Remove unused variables `beg' and `end',
5103 and simplify.
5104 (replace-eval-replacement): Rename parameter REPLACE-COUNT to
5105 COUNT and bind `replace-count'.
5106 (replace-loop-through-replacements): Rename parameter REPLACE-COUNT
5107 to COUNT.
5108
5109 * savehist.el (print-readably, print-string-length): Declare.
5110
5111 * shadowfile.el (shadow-expand-cluster-in-file-name):
5112 Remove unused variable `cluster'.
5113 (shadow-copy-file): Remove unused variable `i'.
5114 (shadow-noquery, shadow-clusters, shadow-site-cluster)
5115 (shadow-parse-fullname, shadow-parse-name, shadow-define-cluster)
5116 (shadow-define-literal-group, shadow-define-regexp-group)
5117 (shadow-make-group, shadow-shadows-of): Clean up docstrings.
5118
5119 * shell.el (shell-filter-ctrl-a-ctrl-b): Mark unused parameter.
5120 (shell): Use `called-interactively-p'.
5121 (shell-directory-tracker): Remove unused variable `chdir-failure'.
5122
5123 * simple.el (compilation-context-lines, comint-file-name-quote-list)
5124 (comint-file-name-chars, comint-delimiter-argument-list): Declare.
5125 (delete-backward-char): Remove unused variable `ocol'.
5126 (minibuffer-avoid-prompt, minibuffer-history-isearch-pop-state)
5127 (line-move-1, event-apply-alt-modifier, event-apply-super-modifier)
5128 (event-apply-hyper-modifier, event-apply-shift-modifier)
5129 (event-apply-control-modifier, event-apply-meta-modifier):
5130 Mark unused parameters.
5131 (undo-make-selective-list): Remove duplicate variable `undo-elt'.
5132 (normal-erase-is-backspace-mode): Remove unused variable `old-state'.
5133
5134 * speedbar.el (speedbar-ignored-directory-expressions)
5135 (speedbar-supported-extension-expressions, speedbar-directory-buttons)
5136 (speedbar-find-file, speedbar-dir-follow)
5137 (speedbar-directory-buttons-follow, speedbar-tag-find)
5138 (speedbar-buffer-buttons, speedbar-buffer-buttons-temp)
5139 (speedbar-buffers-line-directory, speedbar-buffer-click):
5140 Mark unused parameters.
5141 (speedbar-tag-file): Remove unused variable `mode'.
5142 (speedbar-buffers-tail-notes): Remove unused variable `mod'; simplify.
5143
5144 * strokes.el (strokes-decode-buffer): Remove unused variable `ext'.
5145
5146 * talk.el (talk): Remove unused variable `display'.
5147
5148 * tar-mode.el (tar-subfile-save-buffer): Remove unused variable `name'.
5149 (tar-write-region-annotate): Mark unused parameter.
5150
5151 * time.el (now, time, load, mail, 24-hours, hour, 12-hours, am-pm)
5152 (minutes, seconds, time-zone, day, year, monthname, month, dayname):
5153 Declare them, wrapped in `with-no-warnings' to avoid replacing one
5154 warning by another.
5155
5156 * time-stamp.el (time-stamp-string-preprocess):
5157 Remove unused variable `require-padding'.
5158
5159 * tree-widget.el (widget-glyph-enable): Declare.
5160 (tree-widget-action): Mark unused parameter.
5161
5162 * w32-fns.el (x-get-selection): Mark unused parameter.
5163 (autoload-make-program, generated-autoload-file): Declare.
5164
5165 * wdired.el (wdired-revert): Mark unused parameters.
5166 (wdired-xcase-word): Remove unused variable `err'.
5167
5168 * whitespace.el (whitespace-buffer-changed): Mark unused parameters.
5169 (whitespace-help-scroll): Remove unused variable `data-help'.
5170
5171 * wid-edit.el (widget-mouse-help, widget-overlay-inactive)
5172 (widget-image-insert, widget-after-change, default)
5173 (widget-default-format-handler, widget-default-notify)
5174 (widget-default-prompt-value, widget-info-link-action)
5175 (widget-url-link-action, widget-function-link-action)
5176 (widget-variable-link-action, widget-file-link-action)
5177 (widget-emacs-library-link-action, widget-emacs-commentary-link-action)
5178 (widget-field-prompt-internal, widget-field-action, widget-field-match)
5179 (widget-choice-mouse-down-action, toggle, widget-radio-button-notify)
5180 (widget-insert-button-action, widget-delete-button-action, visibility)
5181 (widget-documentation-link-action, widget-documentation-string-action)
5182 (widget-const-prompt-value, widget-regexp-match, symbol)
5183 (widget-coding-system-prompt-value)
5184 (widget-key-sequence-value-to-external, sexp)
5185 (widget-sexp-value-to-internal, character, vector, cons)
5186 (widget-choice-prompt-value, widget-boolean-prompt-value)
5187 (widget-color--choose-action): Mark unused parameters.
5188 (widget-item-match-inline, widget-choice-match-inline)
5189 (widget-checklist-match, widget-checklist-match-inline)
5190 (widget-group-match): Rename parameter VALUES to VALS.
5191 (widget-field-value-set): Remove unused variable `size'.
5192 (widget-color-action): Remove unused variables `value' and `start'.
5193
5194 * windmove.el (windmove-wrap-loc-for-movement): Remove unused
bd0d2ee2 5195 variable `dir'. Doc fix.
06b60517
JB
5196 (windmove-find-other-window): Don't pass it.
5197
5198 * window.el (count-windows): Mark unused parameter.
5199 (bw-adjust-window): Remove unused variable `err'.
5200
5201 * woman.el (woman-file-name): Remove unused variable `default'.
5202 (woman-expand-directory-path): Rename parameters WOMAN-MANPATH and
5203 WOMAN-PATH to PATH-DIRS and PATH-REGEXPS, respectively.
5204 (global-font-lock-mode): Declare.
5205 (woman-decode-region): Mark unused parameter.
5206 (woman-get-tab-stop): Rename parameter TAB-STOP-LIST to TAB-STOPS.
5207
5208 * x-dnd.el (x-dnd-default-test-function, x-dnd-handle-old-kde)
5209 (x-dnd-handle-xdnd, x-dnd-handle-motif): Mark unused parameters.
5210 (x-dnd-handle-moz-url): Remove unused variable `title'.
5211 (x-dnd-handle-xdnd): Remove unused variables `x', `y' and `ret-action'.
5212
5213 * xml.el (xml-parse-tag, xml-parse-attlist):
5214 Remove unused variable `pos'.
5215
bc4f7f3d
GM
52162011-04-19 Glenn Morris <rgm@gnu.org>
5217
5218 * calendar/cal-tex.el (cal-tex-list-holidays, cal-tex-cursor-month)
5219 (cal-tex-cursor-week, cal-tex-cursor-week2, cal-tex-cursor-week-iso)
5220 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
5221 (cal-tex-cursor-filofax-daily, cal-tex-mini-calendar)
5222 * calendar/cal-html.el (cal-html-insert-minical):
5223 * calendar/diary-lib.el (diary-list-entries-1, diary-list-entries)
5224 (calendar-mark-date-pattern):
5225 Prefix "unused" locals.
5226
5227 * calendar/cal-dst.el (dst-adjust-time): Remove never-implemented
5228 optional argument `style'.
5229
5230 * calendar/appt.el (appt-make-list):
5231 * calendar/cal-china.el (calendar-chinese-date-string):
5232 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits)
5233 (diary-hebrew-yahrzeit):
5234 * calendar/cal-tex.el (cal-tex-last-blank-p, cal-tex-cursor-week2):
5235 * calendar/calendar.el (calendar-generate-window):
5236 * calendar/time-date.el (time-to-days):
5237 Remove unused local variables.
5238
16a43933
CY
52392011-04-18 Chong Yidong <cyd@stupidchicken.com>
5240
5241 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Use a custom
5242 glyphless-char-display table.
5243 (tabulated-list-glyphless-char-display): New var.
5244
7eed1860
SS
52452011-04-18 Sam Steingold <sds@gnu.org>
5246
5247 * vc/add-log.el (change-log-font-lock-keywords): Add "Thanks to"
5248 to acknowledgments.
5249
4d2d1ccd
GM
52502011-04-17 Glenn Morris <rgm@gnu.org>
5251
5252 * calendar/diary-lib.el (diary-sexp-entry):
5253 * calendar/holidays.el (holiday-sexp):
5254 Set debug-on-error rather than the removed stack-trace-on-error.
5255
239da61d
GM
52562011-04-16 Glenn Morris <rgm@gnu.org>
5257
5258 * progmodes/f90.el: Use lexical-binding.
5259 (f90-get-correct-indent): Remove unnecessary local variable `cont'.
5260
8b05752a
SM
52612011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
5262
daca8ba5
SM
5263 * mail/sendmail.el (mail-mode-map): Use completion-at-point.
5264 (mail-mode): Setup mailalias completion here instead.
5265 * mail/mailalias.el: Use lexical-binding.
5266 (pattern, mailalias-done): Declare dynamic.
5267 (mail-completion-at-point-function): New function, from mail-complete.
5268 (mail-complete): Use it.
5269 (mail-completion-expand): New function.
5270 (mail-get-names): Use it.
5271 (mail-directory, mail-directory-process, mail-directory-stream):
5272 Don't use `pattern' for lexically bound arg.
5273
6f542485
SM
5274 * emacs-lisp/lisp-mode.el (eval-defun-2): Use eval-sexp-add-defvars.
5275
037e7c3f
SM
5276 * htmlfontify.el (hfy-etags-cmd): Remove inoperant eval-and-compile.
5277 (hfy-e2x-etags-cmd, hfy-etags-cmd-alist-default)
5278 (hfy-etags-cmd-alist): Don't eval-and-compile any more.
5279
8b05752a
SM
5280 * emacs-lisp/bytecomp.el (byte-temp-output-buffer-show)
5281 (byte-save-window-excursion, byte-temp-output-buffer-setup)
5282 (byte-interactive-p): Define them again, for use when inlining
5283 old code.
5284
49093f60
JB
52852011-04-15 Juanma Barranquero <lekktu@gmail.com>
5286
5287 * loadup.el: Use `string-to-number', not `string-to-int'.
5288
b5b8e7de
SM
52892011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
5290
5291 * progmodes/gud.el (gud-gdb): Use completion-at-point instead of
5292 gud-gdb-complete-command.
5293 (gud-gdb-completions): New function, from gud-gdb-complete-command.
5294 (gud-gdb-completion-at-point): New function.
5295 (gud-gdb-completions): Remove.
5296
f42efeb5
MA
52972011-04-14 Michael Albinus <michael.albinus@gmx.de>
5298
49093f60
JB
5299 * net/tramp-sh.el (tramp-sh-handle-file-attributes): Handle the case
5300 when the scripts fail. Use `tramp-do-file-attributes-with-ls' then.
5301 (tramp-do-copy-or-rename-file-out-of-band): Do not check any longer
5302 whether `executable-find' is bound.
f42efeb5
MA
5303
5304 * net/tramp-smb.el (tramp-smb-handle-copy-file): Fix docstring.
5305
e240cc21
SM
53062011-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
5307
5308 * minibuffer.el (completion-in-region-mode-predicate)
5309 (completion-in-region-mode--predicate): New vars.
5310 (completion-in-region, completion-in-region--postch)
5311 (completion-in-region-mode): Use them.
5312 (completion--capf-wrapper): Also return the hook function.
5313 (completion-at-point, completion-help-at-point):
5314 Adjust and provide a predicate.
c2bd2ab0
SM
5315
5316 Preserve arg names for advice of subr and lexical functions (bug#8457).
5317 * help-fns.el (help-function-arglist): Consolidate the subr and
5318 new-byte-code cases. Add argument `preserve-names' to extract names
5319 from the docstring when needed.
5320 * emacs-lisp/advice.el (ad-define-subr-args, ad-undefine-subr-args)
5321 (ad-subr-args-defined-p, ad-get-subr-args, ad-subr-arglist): Remove.
5322 (ad-arglist): Use help-function-arglist's new arg.
5323 (ad-definition-type): Use cond.
5324
c183f693
JB
53252011-04-13 Juanma Barranquero <lekktu@gmail.com>
5326
06641a47
JB
5327 * autorevert.el (auto-revert-handler):
5328 Bind `remote-file-name-inhibit-cache', not `tramp-cache-inhibit-cache',
5329 which was removed in 2010-10-02T13:21:43Z!michael.albinus@gmx.de.
5330 Don't quote lambda.
5331
c183f693
JB
5332 * image-mode.el (image-transform-set-scale):
5333 Fix change in 2011-04-09T20:28:01Z!cyd@stupidchicken.com.
5334
1e3b6001
G
53352011-04-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
5336
5337 * net/network-stream.el (network-stream-open-starttls): Only do
5338 opportunistic STARTTLS upgrades if we have built-in gnutls support.
5339 Upgrades via gnutls-cli are too slow to be done opportunistically.
5340
2d6af8dd
JB
53412011-04-12 Juanma Barranquero <lekktu@gmail.com>
5342
5343 * dframe.el (dframe-current-frame): Remove spurious quote.
5344
c0749a51
GM
53452011-04-12 Glenn Morris <rgm@gnu.org>
5346
088d0d61
GM
5347 * calendar/cal-tex.el (cal-tex-end-document):
5348 Try to automatically use latin1 input if needed.
5349
c0749a51
GM
5350 * calendar/cal-hebrew.el (diary-hebrew-rosh-hodesh):
5351 Don't try to cons a mark onto an empty element.
5352
5c90fde0
LL
53532011-04-11 Leo Liu <sdl.web@gmail.com>
5354
5355 * ido.el (ido-buffer-internal): Allow method 'kill for virtual
5356 buffers.
5357 (ido-kill-buffer-at-head): Support killing virtual buffers.
5358
369e974d
CY
53592011-04-10 Chong Yidong <cyd@stupidchicken.com>
5360
5361 * minibuffer.el (completion-show-inline-help): New var.
5362 (completion--do-completion, minibuffer-complete)
daca8ba5
SM
5363 (minibuffer-force-complete, minibuffer-complete-word):
5364 Inhibit minibuffer messages if completion-show-inline-help is nil.
369e974d
CY
5365
5366 * icomplete.el (icomplete-mode): Bind completion-show-inline-help
5367 to avoid interference from inline help (Bug#5849).
5368
37f1c930
LL
53692011-04-10 Leo Liu <sdl.web@gmail.com>
5370
099c39a4
JB
5371 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
5372 Fix typo.
37f1c930 5373
a32d4040
CY
53742011-04-09 Chong Yidong <cyd@stupidchicken.com>
5375
5376 * image-mode.el (image-toggle-display-image): Signal an error if
5377 not in Image mode.
5378 (image-transform-mode, image-transform-resize)
5379 (image-transform-set-rotation): Doc fix.
daca8ba5 5380 (image-transform-set-resize): Delete.
a32d4040
CY
5381 (image-transform-set-scale, image-transform-fit-to-height)
5382 (image-transform-fit-to-width): Handle image-toggle-display-image
5383 and image-transform-resize directly.
5384
099c39a4 53852011-04-08 Sho Nakatani <lay.sakura@gmail.com>
d7b89879
TH
5386
5387 * doc-view.el (doc-view-fit-width-to-window)
099c39a4
JB
5388 (doc-view-fit-height-to-window, doc-view-fit-page-to-window):
5389 New functions for fitting the shown image to the Emacs window size.
d7b89879
TH
5390 (doc-view-mode-map): Add bindings for the new functions.
5391
099c39a4 53922011-04-08 Juanma Barranquero <lekktu@gmail.com>
ddc20cdb
JB
5393
5394 * vc-annotate.el (vc-annotate-show-log-revision-at-line):
5395 Fix typo in docstring.
5396
3726838a
EZ
53972011-04-08 Eli Zaretskii <eliz@gnu.org>
5398
04f33f1e
EZ
5399 * files.el (file-size-human-readable): Produce one digit after
5400 decimal, like "ls -lh" does.
5401
5402 * ls-lisp.el (ls-lisp-format-file-size): Allow for 7 characters in
5403 the file size representation.
5404
3726838a
EZ
5405 * simple.el (list-processes): If async subprocesses are not
5406 available, error out with a clear error message.
5407
cbb59342
CY
54082011-04-08 Chong Yidong <cyd@stupidchicken.com>
5409
5410 * help.el (help-form-show): New function, to be called from C.
5411 Put help-form output in a buffer named differently than *Help*.
5412
e3971c44
EZ
54132011-04-08 Eli Zaretskii <eliz@gnu.org>
5414
5415 * files.el (file-size-human-readable): New function.
5416
5417 * ls-lisp.el (ls-lisp-format-file-size): Use it, instead of
5418 computing the representation inline. Don't require `cl'.
5419
12544bbe
GM
54202011-04-08 Glenn Morris <rgm@gnu.org>
5421
a1de6c6a
GM
5422 * man.el (Man-page-header-regexp): Solaris < 2.6 no longer supported.
5423
3c4671f4
GM
5424 * net/browse-url.el (browse-url-firefox):
5425 Test system-type, not system-configuration.
5426
b605679c
GM
5427 * vc/log-edit.el (log-edit-empty-buffer-p): New function.
5428 (log-edit-insert-cvs-template, log-edit-insert-cvs-rcstemplate):
5429 Use log-edit-empty-buffer-p. (Bug#7598)
5430
56442f0c
GM
5431 * net/rlogin.el (rlogin-process-connection-type): Simplify.
5432 (rlogin-mode-map): Initialize in the defvar.
5433 (rlogin): Use ignore-errors.
5434
12544bbe
GM
5435 * replace.el (occur-mode-map): Some fixes for menu items.
5436
eb237b0f
AH
54372011-04-07 Aaron S. Hawley <aaron.s.hawley@gmail.com>
5438
5439 * play/morse.el (denato-region): Handle varying case. (Bug#8386)
5440
7d668f2c
CY
54412011-04-06 Chong Yidong <cyd@stupidchicken.com>
5442
e67a13ab
CY
5443 * emacs-lisp/cconv.el (cconv--analyse-use): Ignore "ignored" when
5444 issuing unused warnings.
5445
5446 * emacs-lisp/tabulated-list.el (tabulated-list-print): Use lambda
5447 macro directly.
5448
7d668f2c
CY
5449 * simple.el: Lisp reimplement of list-processes. Based on an
5450 earlier reimplementation by Leo Liu, but using tabulated-list.el.
5451 (process-menu-mode): New major mode.
5452 (list-processes--refresh, list-processes):
5453 (process-menu-visit-buffer): New functions.
5454
5455 * files.el (save-buffers-kill-emacs): Don't assume any return
5456 value of list-processes, which is undocumented anyway.
5457
a83ec3c9
CY
54582011-04-06 Chong Yidong <cyd@stupidchicken.com>
5459
5460 * emacs-lisp/tabulated-list.el: New file.
5461
e91a96fe
CY
5462 * emacs-lisp/package.el: Use Tabulated List mode.
5463 (package-menu-mode-map): Inherit from tabulated-list-mode-map.
5464 (package-menu-mode): Derive from tabulated-list-mode. Set up the
5465 table format using Tabulated List mode variables.
5466 (package--push): New macro, replacing package-list-maybe-add.
5467 (package-menu--generate): Use package--push. Renamed from
5468 package--generate-package-list.
5469 (package-menu-refresh, list-packages): Use it.
daca8ba5 5470 (package-menu--print-info): Rename from package-print-package.
e91a96fe 5471 Return insertion data instead of inserting it directly.
099c39a4
JB
5472 (package-menu-describe-package, package-menu-execute):
5473 Use tabulated-list-get-id.
e91a96fe
CY
5474 (package-menu-mark-delete, package-menu-mark-install)
5475 (package-menu-mark-unmark, package-menu-backup-unmark)
099c39a4
JB
5476 (package-menu-mark-obsolete-for-deletion):
5477 Use tabulated-list-put-tag.
e91a96fe
CY
5478 (package--list-packages, package-menu-revert)
5479 (package-menu-get-package, package-menu-get-version)
5480 (package-menu-sort-by-column): Functions deleted.
5481 (package-menu-package-list, package-menu-sort-key): Vars deleted.
5482 (package-menu--status-predicate, package-menu--version-predicate)
5483 (package-menu--name-predicate)
5484 (package-menu--description-predicate): Handle arguments in the
5485 Tabulated List format.
5486 (package-list-packages-no-fetch): Call list-packages.
5487
3e214b50
JB
54882011-04-06 Juanma Barranquero <lekktu@gmail.com>
5489
5490 * files.el (after-find-file-from-revert-buffer): Remove variable.
c9d0ec6d 5491 (after-find-file): Don't bind it.
3e214b50
JB
5492 (revert-buffer-in-progress-p): New variable.
5493 (revert-buffer): Bind it.
5494 Pass nil for `after-find-file-from-revert-buffer'.
5495
5496 * saveplace.el (save-place-find-file-hook): Use new variable
5497 `rever-buffer-in-progress-p', not `after-find-file-from-revert-buffer'.
5498
3f0f1700
GM
54992011-04-06 Glenn Morris <rgm@gnu.org>
5500
c0274801
GM
5501 * Makefile.in (AUTOGEN_VCS): New variable.
5502 (autoloads): Use $AUTOGEN_VCS.
5503
3f0f1700
GM
5504 * calendar/cal-move.el (calendar-scroll-toolkit-scroll): New function.
5505 * calendar/calendar.el (calendar-mode-map):
5506 Check for toolkit scroll bars. (Bug#8305)
5507
41ea9e48
CY
55082011-04-05 Chong Yidong <cyd@stupidchicken.com>
5509
5510 * minibuffer.el (completion-in-region--postch)
5511 (completion-in-region-mode): Remove unnecessary messages.
5512
6194c800
JB
55132011-04-05 Juanma Barranquero <lekktu@gmail.com>
5514
33256f14
JB
5515 * font-lock.el (font-lock-refresh-defaults):
5516 Don't bind `hi-lock--inhibit-font-lock-hook', removed in
5517 2010-10-09T04:09:19Z!cyd@stupidchicken.com and 2010-10-11T23:57:49Z!lekktu@gmail.com (2010-10-12).
5518
6194c800
JB
5519 * info.el (Info-directory-list, Info-read-node-name-2)
5520 (Info-split-parameter-string): Doc fixes.
5521 (Info-virtual-nodes): Reflow docstring.
5522 (Info-find-file, Info-directory-toc-nodes, Info-history-toc-nodes)
5523 (Info-apropos-toc-nodes, info-finder, Info-get-token)
5524 (Info-find-emacs-command-nodes, Info-speedbar-key-map):
5525 Fix typos in docstrings.
5526 (Info-revert-buffer-function, Info-search, Info-isearch-pop-state)
5527 (Info-speedbar-hierarchy-buttons, Info-speedbar-goto-node)
5528 (Info-speedbar-buttons, Info-desktop-buffer-misc-data)
5529 (Info-restore-desktop-buffer): Mark unused parameters.
5530 (Info-directory-find-file, Info-directory-find-node)
5531 (Info-history-find-file, Info-history-find-node, Info-toc-find-node)
5532 (Info-virtual-index-find-node, Info-apropos-find-file)
5533 (Info-apropos-find-node, Info-finder-find-file, Info-finder-find-node):
33256f14 5534 Mark unused parameters; fix typos in docstrings.
6194c800
JB
5535 (Info-virtual-index): Remove unused local variable `nodename'.
5536
b87a8200 55372011-04-05 Deniz Dogan <deniz@dogan.se>
0f6ee7d2 5538
b87a8200
DD
5539 * net/rcirc.el: Update my e-mail address.
5540 (rcirc-mode-map): Remove M-o binding.
0f6ee7d2 5541
3b2ff876
CY
55422011-04-05 Chong Yidong <cyd@stupidchicken.com>
5543
5544 * startup.el (command-line): Save the cursor's theme-face
5545 directly, instead of using face-override-spec.
5546
5547 * custom.el (load-theme): Minor optimization in assigning faces.
5548
8d17e7ca
JB
55492011-04-04 Juanma Barranquero <lekktu@gmail.com>
5550
5551 * help-fns.el (describe-variable): Complete all variables having
5552 documentation, including keywords.
5553 http://lists.gnu.org/archive/html/emacs-devel/2011-04/msg00112.html
5554
2fbc1934
JB
55552011-04-04 Juanma Barranquero <lekktu@gmail.com>
5556
5557 Convert to lexical-binding.
5558
5559 * bs.el (bs-refresh, bs-sort-buffer-interns-are-last)
5560 (bs--get-marked-string, bs--get-modified-string)
5561 (bs--get-readonly-string, bs--get-size-string, bs--get-name)
5562 (bs--get-mode-name, bs--get-file-name): Mark unused arguments.
5563 (bs--configuration-name-for-prefix-arg): Rename argument PREFIX-ARG.
5564
5565 * ehelp.el (electric-help-execute-extended)
5566 (electric-help-ctrl-x-prefix):
5567 * hexl.el (hexl-revert-buffer-function):
5568 * linum.el (linum-after-change, linum-after-scroll):
5569 * emacs-lisp/re-builder.el (reb-auto-update): Mark unused arguments.
5570
5571 * help-fns.el (help-describe-category-set): Remove unused ERR variable.
5572
74f50695
DU
55732011-04-04 Daiki Ueno <ueno@unixuser.org>
5574
5575 * epa-dired.el:
5576 * epa-mail.el:
5577 * epa-hook.el:
5578 * epa-file.el:
5579 * epa.el:
5580 * epg.el: Use lexical binding.
5581
c11325f7
CY
55822011-04-03 Chong Yidong <cyd@stupidchicken.com>
5583
0d9e9a12
CY
5584 * dired-aux.el (dired-create-files): Add docstring (Bug#7970).
5585
c11325f7 5586 * textmodes/flyspell.el (flyspell-word): Recognize default
daca8ba5
SM
5587 dictionary case for flyspell-mark-duplications-exceptions.
5588 Use regexp matching for languages.
c11325f7
CY
5589 (flyspell-mark-duplications-exceptions): Add "that" and "had" for
5590 default dictionary (Bug#7926).
5591
da91b5f2
CY
55922011-04-02 Chong Yidong <cyd@stupidchicken.com>
5593
099c39a4
JB
5594 * emacs-lisp/package.el (package--with-work-buffer):
5595 Recognize https URLs.
da91b5f2 5596
099c39a4
JB
5597 * net/network-stream.el: Move from gnus/proto-stream.el.
5598 Change prefix to network-stream throughout.
da91b5f2
CY
5599 (open-protocol-stream): Merge into open-network-stream, leaving
5600 open-protocol-stream as an alias. Handle nil BUFFER args.
5601
5602 * subr.el (open-network-stream): Move to net/network-stream.el.
5603
afa8e9f6
GM
56042011-04-02 Glenn Morris <rgm@gnu.org>
5605
1d2e369d
GM
5606 * find-dired.el (find-exec-terminator): New option.
5607 (find-ls-option): Test for -ls support.
5608 (find-ls-subdir-switches): Test for -b in find-ls-option.
5609 (find-dired, find-grep-dired): Doc fixes.
5610 (find-dired): Use find-exec-terminator.
5611
8abb7da8 5612 * find-dired.el (find-ls-option, find-ls-subdir-switches)
e7a395b5
GM
5613 (find-grep-options): Do not autoload these defcustoms, remove purecopy.
5614 (find-name-arg): Remove purecopy.
8abb7da8 5615
f3ca7378
GM
5616 * progmodes/grep.el (grep-find-use-xargs): Doc fix.
5617 (grep-compute-defaults): Check for `-exec COMMAND +' support.
5618 Set grep-find-use-xargs, grep-find-command, and grep-find-template
5619 accordingly. Don't add the null-device if not needed.
5620
afa8e9f6
GM
5621 * files.el (save-some-buffers): Doc fix.
5622
35eae264
EZ
56232011-04-02 Eli Zaretskii <eliz@gnu.org>
5624
5625 * makefile.w32-in (EMACS): Default to ../src/$(BLD)/emacs.exe.
5626
26b51db5
JB
56272011-04-01 Juanma Barranquero <lekktu@gmail.com>
5628
5629 * progmodes/idlwave.el (idlwave-one-key-select, idlwave-list-abbrevs):
5630 Use `dolist' rather than `mapcar'.
5631
7200d79c
SM
56322011-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
5633
03408648 5634 Add lexical binding.
7200d79c 5635
03408648
SM
5636 * subr.el (apply-partially): Use new closures rather than CL.
5637 (--dolist-tail--, --dotimes-limit--): Don't declare dynamic.
5638 (dolist, dotimes): Use slightly different expansion for lexical code.
5639 (functionp): Move to C.
5640 (letrec): New macro.
5641 (with-wrapper-hook): Use it and apply-partially instead of CL.
5642 (eval-after-load): Preserve lexical-binding.
5643 (save-window-excursion, with-output-to-temp-buffer): Turn them
5644 into macros.
7200d79c 5645
03408648
SM
5646 * simple.el (with-wrapper-hook, apply-partially): Move to subr.el.
5647
5648 * help-fns.el (help-split-fundoc): Return nil if there's nothing else
5649 than the arglist.
5650 (help-add-fundoc-usage): Don't add `Not documented'.
5651 (help-function-arglist): Handle closures, subroutines, and new
5652 byte-code-functions.
5653 (help-make-usage): Remove leading underscores.
5654 (describe-function-1): Handle closures.
5655 (describe-variable): Use special-variable-p for completion.
5656
5657 * files.el (lexical-binding): Declare safe.
f488fb65 5658
03408648
SM
5659 * emacs-lisp/pcase.el: Don't use destructuring-bind.
5660 (pcase--memoize): Rename from pcase-memoize. Change weakness.
5661 (pcase): Add `let' pattern.
5662 Change memoization so it actually works.
5663 (pcase-mutually-exclusive-predicates): Add byte-code-function-p.
5664 (pcase--u1) <guard, pred>: Fix possible shadowing problem.
5665 <let>: New case.
f488fb65 5666
03408648
SM
5667 * emacs-lisp/macroexp.el: Use lexical binding.
5668 (macroexpand-all-1): Check obsolete macros. Expand compiler-macros.
5669 Don't convert ' to #' without checking that it's indeed quoting
5670 a lambda.
5671
5672 * emacs-lisp/lisp-mode.el (eval-last-sexp-1):
f488fb65 5673 Use eval-sexp-add-defvars.
03408648
SM
5674 (eval-sexp-add-defvars): New fun.
5675
5676 * emacs-lisp/float-sup.el (pi): Don't declare as dynamically bound.
5677
5678 * emacs-lisp/eieio.el (byte-compile-file-form-defmethod):
5679 Don't autoload.
5680 (eieio-defgeneric-form-primary-only-one): Use `byte-compile' rather
5681 than the internal `byte-compile-lambda'.
5682 (defmethod): Don't hide code under quotes.
5683 (eieio-defmethod): New `code' argument.
5684
5685 * emacs-lisp/eieio-comp.el: Remove.
5686
5687 * emacs-lisp/edebug.el (edebug-eval-defun)
5688 (edebug-eval-top-level-form): Use eval-sexp-add-defvars.
5689 (edebug-toggle): Avoid `eval'.
5690
5691 * emacs-lisp/disass.el (disassemble-internal): Handle new
5692 `closure' objects.
5693 (disassemble-1): Handle new byte codes.
5694
5695 * emacs-lisp/cl.el (pushnew): Silence warning.
5696
5697 * emacs-lisp/cl-macs.el (cl-byte-compile-block)
5698 (cl-byte-compile-throw): Remove.
5699 (cl-block-wrapper, cl-block-throw): Use compiler-macros instead.
5700
5701 * emacs-lisp/cl-extra.el (cl-macroexpand-all): Properly quote CL
5702 closures.
5703
5704 * emacs-lisp/cconv.el: New file.
5705
5706 * emacs-lisp/bytecomp.el: Use lexical binding instead of
5707 a "bytecomp-" prefix. Macroexpand everything as a separate phase.
5708 (byte-compile-initial-macro-environment):
5709 Handle declare-function here.
5710 (byte-compile--lexical-environment): New var.
5711 (byte-stack-ref, byte-stack-set, byte-discardN)
5712 (byte-discardN-preserve-tos): New lap codes.
5713 (byte-interactive-p): Don't use any more.
5714 (byte-compile-push-bytecodes, byte-compile-push-bytecode-const2):
5715 New macros.
5716 (byte-compile-lapcode): Use them and handle new lap codes.
5717 (byte-compile-obsolete): Remove.
5718 (byte-compile-arglist-signature): Handle new byte-code arg"lists".
5719 (byte-compile-arglist-warn): Check late def of inlinable funs.
5720 (byte-compile-cl-warn): Don't silence warnings for compiler-macros
5721 since they should have been expanded by now.
5722 (byte-compile--outbuffer): Rename from bytecomp-outbuffer.
5723 (byte-compile-from-buffer): Remove unused second arg.
5724 (byte-compile-preprocess): New function.
5725 (byte-compile-toplevel-file-form): New function to distinguish
5726 file-form calls from outside from file-form calls from hunk-handlers.
5727 (byte-compile-file-form): Simplify.
5728 (byte-compile-file-form-defsubst): Remove.
5729 (byte-compile-file-form-defmumble): Simplify now that
5730 byte-compile-lambda always returns a byte-code-function.
5731 (byte-compile): Preprocess.
5732 (byte-compile-byte-code-maker, byte-compile-byte-code-unmake):
5733 Remove, not used any more.
5734 (byte-compile-arglist-vars, byte-compile-make-lambda-lexenv)
5735 (byte-compile-make-args-desc): New funs.
5736 (byte-compile-lambda): Handle lexical functions. Always return
5737 a byte-code-function.
5738 (byte-compile-reserved-constants): New var, to make up room for
5739 closed-over variables.
5740 (byte-compile-constants-vector): Obey it.
5741 (byte-compile-top-level): New args `lexenv' and `reserved-csts'.
5742 (byte-compile-macroexpand-declare-function): New function.
5743 (byte-compile-form): Call byte-compile-unfold-bcf to inline immediate
5744 byte-code-functions.
5745 (byte-compile-form): Check obsolescence here.
5746 (byte-compile-inline-lapcode, byte-compile-unfold-bcf): New functions.
5747 (byte-compile-variable-ref): Remove.
5748 (byte-compile-dynamic-variable-op): New fun.
5749 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
5750 (byte-compile-variable-set): New funs.
5751 (byte-compile-discard): Add 2 args.
5752 (byte-compile-stack-ref, byte-compile-stack-set)
5753 (byte-compile-make-closure, byte-compile-get-closed-var): New funs.
5754 (byte-compile-funarg, byte-compile-funarg-2): Remove, handled in
5755 macroexpand-all instead.
5756 (byte-compile-quote-form): Remove.
5757 (byte-compile-push-binding-init, byte-compile-not-lexical-var-p)
5758 (byte-compile-bind, byte-compile-unbind): New funs.
5759 (byte-compile-let): Handle let* and lexical binding.
5760 (byte-compile-let*): Remove.
5761 (byte-compile-catch, byte-compile-unwind-protect)
5762 (byte-compile-track-mouse, byte-compile-condition-case):
5763 Handle a new :fun-body form, used for lexical scoping.
5764 (byte-compile-save-window-excursion)
5765 (byte-compile-with-output-to-temp-buffer): Remove.
5766 (byte-compile-defun): Simplify.
5767 (byte-compile-stack-adjustment): New fun.
5768 (byte-compile-out): Use it.
5769 (byte-compile-refresh-preloaded): Don't reload byte-compiler files.
5770
5771 * emacs-lisp/byte-run.el (make-obsolete): Don't set the `byte-compile'
5772 handler any more.
5773
5774 * emacs-lisp/byte-opt.el: Use lexical binding.
5775 (byte-inline-lapcode): Remove (to bytecomp).
5776 (byte-compile-inline-expand): Pay attention to inlining to/from
5777 lexically bound code.
5778 (byte-compile-unfold-lambda): Don't handle byte-code-functions
5779 any more.
5780 (byte-optimize-form-code-walker): Don't handle save-window-excursion
5781 any more and don't call compiler-macros.
5782 (byte-compile-splice-in-already-compiled-code): Remove.
5783 (byte-code): Don't inline any more.
5784 (disassemble-offset): Receive `bytes' as argument rather than via
5785 dynamic scoping.
5786 (byte-compile-tag-number): Declare before first use.
5787 (byte-decompile-bytecode-1): Handle new byte-codes, don't change
5788 `return' even if make-spliceable.
5789 (byte-compile-side-effect-and-error-free-ops): Add stack-ref, remove
5790 obsolete interactive-p.
5791 (byte-optimize-lapcode): Optimize new lap-codes.
5792 Don't trip up on new form of `byte-constant' lap code.
5793
5794 * emacs-lisp/autoload.el (make-autoload): Don't burp on trivial macros.
5795
5796 * emacs-lisp/advice.el (ad-arglist): Use help-function-arglist.
5797
5798 * custom.el (custom-initialize-default, custom-declare-variable):
5799 Use `defvar'.
5800
5801 * Makefile.in (BIG_STACK_DEPTH, BIG_STACK_OPTS, BYTE_COMPILE_FLAGS):
5802 New variables.
5803 (compile-onefile, .el.elc, compile-calc, recompile): Use them.
5804 (COMPILE_FIRST): Add macroexp and cconv.
5805 * makefile.w32-in: Mirror changes in Makefile.in.
5806
5807 * vc/cvs-status.el:
5808 * vc/diff-mode.el:
5809 * vc/log-edit.el:
5810 * vc/log-view.el:
5811 * vc/smerge-mode.el:
5812 * textmodes/bibtex-style.el:
5813 * textmodes/css.el:
5814 * startup.el:
5815 * uniquify.el:
da91b5f2
CY
5816 * minibuffer.el:
5817 * newcomment.el:
5818 * reveal.el:
5819 * server.el:
5820 * mpc.el:
5821 * emacs-lisp/smie.el:
5822 * doc-view.el:
5823 * dired.el:
03408648
SM
5824 * abbrev.el: Use lexical binding.
5825
0f0c1f27
EZ
58262011-04-01 Eli Zaretskii <eliz@gnu.org>
5827
5828 * info.el (info-display-manual): New function.
5829
c82b2579
SM
58302011-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
5831
5832 * loadup.el: Load minibuffer after loaddefs, to use define-minor-mode.
5833
221ddf68
TH
58342011-03-31 Tassilo Horn <tassilo@member.fsf.org>
5835
5836 * net/rcirc.el (rcirc-handler-001): Only authenticate, if there's
2fbc1934 5837 an entry for that server in rcirc-authinfo. (Bug#8385)
221ddf68 5838
cba6e77e
GM
58392011-03-31 Glenn Morris <rgm@gnu.org>
5840
e040639f
GM
5841 * progmodes/f90.el (f90-find-tag-default): Handle multiple `%'.
5842
cba6e77e
GM
5843 * generic-x.el (etc-fstab-generic-mode): Add ext4, sysfs keywords.
5844
6d0f1c9e
CS
58452011-03-30 Christoph Scholtes <cschol2112@googlemail.com>
5846
5847 * progmodes/python.el (python-default-interpreter)
5848 (python-python-command-args, python-jython-command-args)
5849 (python-which-shell, python-which-args, python-which-bufname)
5850 (python-file-queue, python-comint-output-filter-function)
5851 (python-toggle-shells, python-shell): Remove obsolete defcustoms,
5852 variables and functions.
5853
3e2d70fd
SM
58542011-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
5855
5856 * minibuffer.el (completion-table-dynamic): Optimize `boundaries'.
5857 (completion-in-region-mode): New minor mode.
5858 (completion-in-region): Use it.
5859 (completion-in-region--data, completion-in-region-mode-map): New vars.
5860 (completion-in-region--postch): New function.
5861 (completion--capf-misbehave-funs, completion--capf-safe-funs):
5862 New vars.
5863 (completion--capf-wrapper): New function.
5864 (completion-at-point): Use it to track well-behavedness of
5865 hook functions.
5866 (completion-help-at-point): New command.
5867
f3e4086c
JM
58682011-03-30 Jason Merrill <jason@redhat.com> (tiny change)
5869
5870 * vc/add-log.el (add-change-log-entry): Don't use whitespace
5871 syntax class to search for whitespace on a single line
5872 (Message-ID: <4D938140.4030905@redhat.com>).
5873
eb7ffc14
LL
58742011-03-30 Leo Liu <sdl.web@gmail.com>
5875
5876 * abbrev.el (abbrev-edit-save-to-file, abbrev-edit-save-buffer):
5877 New commands.
5878 (edit-abbrevs-map): Bind them here.
5879 (write-abbrev-file): New optinal arg VERBOSE. (Bug#5937)
5880
d806ab68
KM
58812011-03-29 Ken Manheimer <ken.manheimer@gmail.com>
5882
5883 * allout.el (allout-hide-by-annotation, allout-flag-region):
5884 Reduce possibility of overlay leakage by making them volatile.
5885
5886 * allout-widgets.el (allout-widgets-tally): Define as nil so the
5887 hash is not shared between buffers. Mode initialization is
5888 responsible for giving it a useful starting value.
5889 (allout-item-span): Reduce possibility of overlay leakage by
5890 making them volatile.
5891 (allout-widgets-count-buttons-in-region): Add diagnostic function
5892 for tracking down button overlay leaks.
5893
ea622834
LL
58942011-03-29 Leo Liu <sdl.web@gmail.com>
5895
5896 * ido.el (ido-read-internal): Use the default history var
5897 minibuffer-history if no HISTORY is specified.
5898
b62f8267
G
58992011-03-28 Brian T. Sniffen <bsniffen@akamai.com> (tiny change)
5900
03408648
SM
5901 * net/imap.el (imap-shell-open, imap-process-connection-type):
5902 Use imap-process-connection-type for 'shell' streams as well as
b62f8267
G
5903 Kerberos, SSL, other subprocesses.
5904
947b6566
LL
59052011-03-28 Leo Liu <sdl.web@gmail.com>
5906
5907 * abbrev.el (abbrev-table-empty-p): New function.
5908 (prepare-abbrev-list-buffer): Place empty abbrev tables after
5909 nonempty ones. (Bug#5937)
5910
5ffb62aa
JD
59112011-03-27 Jan Djärv <jan.h.d@swipnet.se>
5912
5913 * cus-start.el (all): Add boolean ns-auto-hide-menu-bar.
5914
7a097943
LL
59152011-03-27 Leo Liu <sdl.web@gmail.com>
5916
5917 * ansi-color.el (ansi-color-names-vector): Allow cons cell value
5918 for foreground and background colors.
5919 (ansi-color-make-color-map): Adapt.
5920
c5b40130
LL
59212011-03-25 Leo Liu <sdl.web@gmail.com>
5922
1f48f7d2
LL
5923 * midnight.el (midnight-time-float): Remove. Note it calculates
5924 the microsecond component incorrectly and seconds-to-time does the
5925 same job.
625897ec 5926 Remove redundant (require 'timer).
1f48f7d2 5927
c5b40130
LL
5928 * ido.el (ido-read-internal): Simplify with read-from-minibuffer.
5929 (ido-completions): Remove unused arguments. (Bug#8329)
5930
d86d2721
SM
59312011-03-24 Stefan Monnier <monnier@iro.umontreal.ca>
5932
5933 * minibuffer.el (completion--flush-all-sorted-completions):
5934 Remove itself from hook.
5935 (completion-at-point): Let the functions perform the completion
5936 immediately and return nil or t.
5937 * comint.el (comint-dynamic-complete-functions): Now identical to
5938 completion-at-point-functions.
5939 (comint-dynamic-list-input-ring): Remove unused var `index'.
5940 (comint--match-partial-filename, comint--unquote&expand-filename):
5941 New funs, split from comint-match-partial-filename.
5942 (comint-dynamic-complete): Use completion-at-point.
5943 (comint-dynamic-complete-filename): Use comint--match-partial-filename.
5944
e8974c48
DA
59452011-03-24 Drew Adams <drew.adams@oracle.com>
5946
5947 * thingatpt.el: Support `defun'.
5948
def71b5e
LL
59492011-03-23 Leo Liu <sdl.web@gmail.com>
5950
cb5af48e
LL
5951 * abbrevlist.el: Move to obsolete/abbrevlist.el.
5952
def71b5e
LL
5953 * help-mode.el (help-mode-finish): Tweak regexp.
5954
927c53e7
GM
59552011-03-23 Glenn Morris <rgm@gnu.org>
5956
18d05bed
GM
5957 * eshell/esh-opt.el (eshell-eval-using-options):
5958 Do not bind unused local variable `eshell-option-stub'.
5959
927c53e7
GM
5960 * progmodes/gdb-mi.el (gdb): Fix typo in previous change.
5961
9d0da923
JB
59622011-03-22 Juanma Barranquero <lekktu@gmail.com>
5963
5964 * emacs-lisp/derived.el (define-derived-mode): Wrap declaration of
5965 keymap variable in `with-no-warnings' to avoid a warning when the
5966 keymap has been already `defconst'ed.
5967
4b978a67
LL
59682011-03-22 Leo Liu <sdl.web@gmail.com>
5969
5970 * abbrev.el (write-abbrev-file): Use utf-8 for writing if it can
5971 encode all chars in abbrevs; otherwise use emacs-mule or
5972 utf-8-emacs. (Bug#8308)
5973
5fd62452
JB
59742011-03-22 Juanma Barranquero <lekktu@gmail.com>
5975
0b1596c6
JB
5976 * simple.el (backward-delete-char-untabify):
5977 Avoid warning about using `delete-backward-char'.
5978
5fd62452
JB
5979 * image.el (image-type-file-name-regexps): Make it variable.
5980 `imagemagick-register-types' modifies it, and the user may want
5981 to add new extensions for known image types.
5982 (imagemagick-register-types): Throw error if not using ImageMagick.
5983
0b4e93f1
LL
59842011-03-22 Leo Liu <sdl.web@gmail.com>
5985
5986 * net/rcirc.el (rcirc-completion-at-point): Return nil if point is
5987 located before rcirc-prompt-end-marker.
5988 (rcirc-complete): Error if point is not after rcirc prompt.
5989 Handle the case when table is nil.
9882e214 5990 (rcirc-user-authenticated): Define to fix compiler warning.
0b4e93f1 5991
fccee4ab
CY
59922011-03-22 Chong Yidong <cyd@stupidchicken.com>
5993
5994 * custom.el (custom--inhibit-theme-enable): Make it affect only
5995 custom-theme-set-variables and custom-theme-set-faces.
5996 (provide-theme): Ignore custom--inhibit-theme-enable.
5997 (load-theme): Enable the theme explicitly if NO-ENABLE is non-nil.
5998 (custom-enabling-themes): Delete variable.
d86d2721
SM
5999 (enable-theme): Accept only loaded themes as arguments.
6000 Ignore the special custom-enabled-themes variable.
fccee4ab
CY
6001 (custom-enabled-themes): Forbid themes from setting this.
6002 Eliminate use of custom-enabling-themes.
6003 (custom-push-theme): Quote "changed" custom var entry.
0357c7ae 6004
af896da6
LL
60052011-03-21 Leo Liu <sdl.web@gmail.com>
6006
6007 * ido.el (ido-read-internal): Add ido-selected to history instead
6008 of user input.
6009
78f64af0
SM
60102011-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
6011
6012 * subr.el (deferred-action-list, deferred-action-function):
6013 Mark obsolete.
6014
b16ac1ec
LL
60152011-03-21 Leo Liu <sdl.web@gmail.com>
6016
810f7698
LL
6017 * vc/log-view.el: Remove (require 'wid-edit), not needed after the
6018 change on 2011-02-13 (bug#8309).
6019
b16ac1ec
LL
6020 * minibuffer.el (read-file-name-function): Change default value.
6021 (read-file-name--defaults): Rename from read-file-name-defaults.
6022 (read-file-name-default): Rename from read-file-name.
6023 (read-file-name): Call read-file-name-function.
6024
4e05e67e
GM
60252011-03-21 Glenn Morris <rgm@gnu.org>
6026
6027 * eshell/esh-opt.el (eshell-eval-using-options, eshell-process-args):
6028 Doc fixes.
6029
4359915b
CY
60302011-03-21 Chong Yidong <cyd@stupidchicken.com>
6031
6032 * cus-theme.el: Add missing provide statement.
6033 (customize-create-theme): Extract theme value correctly.
6034 (custom-theme-visit-theme): Autoload.
6035 (customize-create-theme): Prompt before inserting default faces.
6036
1fe275ee
JB
60372011-03-20 Jay Belanger <jay.p.belanger@gmail.com>
6038
6039 * calc/calc-menu.el (calc-units-menu): Add entries for logarithmic
6040 units and musical notes.
6041
3ec03f7e
LL
60422011-03-20 Leo <sdl.web@gmail.com>
6043
6044 * ido.el (ido-read-internal): Use completing-read-default.
6045 (ido-completing-read): Fix compatibility with completing-read.
6046
7d476bde
CO
60472011-03-20 Christian Ohler <ohler@gnu.org>
6048
6049 * emacs-lisp/ert.el (ert-run-tests-batch): Remove unused variable.
6050 (ert-delete-all-tests): Use `called-interactively-p' rather than
6051 `interactive-p'.
6052 (ert--make-xrefs-region): Respect END.
6053
fe0fb33e
CY
60542011-03-19 Chong Yidong <cyd@stupidchicken.com>
6055
ff854b0b
CY
6056 * dired-aux.el (dired-create-directory): Signal an error if the
6057 directory already exists (Bug#8246).
6058
fe0fb33e
CY
6059 * facemenu.el (list-colors-display): Call list-faces-display
6060 inside with-help-window.
6061 (list-colors-print): Use display property to align the final
6062 column, instead of checking window-width.
6063
576bce32
EZ
60642011-03-19 Eli Zaretskii <eliz@gnu.org>
6065
6066 * emerge.el (emerge-metachars): Separate value for ms-dos and
6067 windows-nt systems.
6068 (emerge-protect-metachars): Quote correctly for ms-dos and
6069 windows-nt systems.
6070
89c41d68 60712011-03-19 Ralph Schleicher <rs@ralph-schleicher.de>
e6ce307c
RS
6072
6073 * info.el (info-initialize): Replace all uses of `:' with
6074 path-separator for compatibility with non-Unix systems.
6075 Cache quoting of path-separator. (Bug#8258)
6076
b14e3e21 60772011-03-19 Juanma Barranquero <lekktu@gmail.com>
ad22b7f7
JB
6078
6079 * avoid.el (mouse-avoidance-mode, mouse-avoidance-nudge-dist)
6080 (mouse-avoidance-threshold, mouse-avoidance-banish-destination)
6081 (mouse-avoidance-mode): Fix typos in docstrings.
6082
4525ce3e
CY
60832011-03-19 Chong Yidong <cyd@stupidchicken.com>
6084
6085 * startup.el (package-subdirectory-regexp): Move from package.el.
6086 Omit \\` and \\', and let callers add them.
6087
6088 * emacs-lisp/package.el (package-strip-version)
6089 (package-load-all-descriptors): Add \\` and \\' to
6090 package-subdirectory-regexp before using it.
6091 (package-untar-buffer): New arg DIR; ensure that file untars only
6092 into this expected directory. Remove superfluous delete-region.
6093 (package-unpack): Caller changed.
6094 (package-tar-file-info): Use package-subdirectory-regexp.
6095
a904a09a 60962011-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
1518e4f0 6097
a904a09a
SM
6098 * vc/diff-mode.el (diff-mode-map): Shadow problematic bindings from
6099 diff-mode-shared-map (bug#8284).
6100 (diff-mode-shared-map): Re-introduce some bindings that were problematic.
1518e4f0
G
6101
61022011-03-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
6103
6104 * calendar/time-date.el (format-seconds): Use assoc instead of
6105 assoc-string, since assoc-string doesn't exist in XEmacs.
6106
171fc304
JB
61072011-03-17 Juanma Barranquero <lekktu@gmail.com>
6108
6109 * custom.el (custom-known-themes): Reflow docstring.
6110 (custom-theme-load-path): Fix typo in docstring.
6111 (load-theme): Fix typo in error message.
6112 (custom-available-themes, custom-variable-theme-value):
6113 Use `let', not `let*'.
6114
d71990a1
JB
61152011-03-17 Jay Belanger <jay.p.belanger@gmail.com>
6116
6117 * calc/README: Mention inclusion of musical notes.
6118
6119 * calc/calc-units.el (calc-lu-quant): Rename from
6120 `calc-logunits-quantity'.
6121 (calcFunc-lupquant): Rename from `calcFunc-powerquant'.
6122 (calcFunc-lufquant): Rename from `calcFunc-fieldquant'.
6123 (calc-db): Rename from `calc-dblevel'.
6124 (calcFunc-dbpower): Rename from `calcFunc-dbpowerlevel'.
6125 (calcFunc-dbfield): Rename from `calcFunc-dbfieldlevel'.
6126 (calc-np): Rename from `calc-nplevel'.
6127 (calcFunc-nppower): Rename from `calcFunc-nppowerlevel'.
6128 (calcFunc-npfield): Rename from `calcFunc-npfieldlevel'.
6129 (calc-lu-plus): Rename from `calc-logunits-add'.
6130 (calcFunc-lupadd): Rename from `calcFunc-lupoweradd'.
6131 (calcFunc-lufadd): Rename from `calcFunc-lufieldadd'.
6132 (calc-lu-minus): Rename from `calc-logunits-sub'.
6133 (calcFunc-lupsub): Rename from `calcFunc-lupowersub'.
6134 (calcFunc-lufsub): Rename from `calcFunc-lufieldsub'.
6135 (calc-lu-times): Rename from `calc-logunits-mul'.
6136 (calcFunc-lupmul): Rename from `calcFunc-lupowermul'.
6137 (calcFunc-lufmul): Rename from `calcFunc-lufieldmul'.
6138 (calc-lu-divide): Rename from `calc-logunits-div'.
6139 (calcFunc-lupdiv): Rename from `calcFunc-lupowerdiv'.
6140 (calcFunc-lufdiv): Rename from `calcFunc-lufielddiv'.
6141
6142 * calc/calc-ext.el (calc-init-extensions): Update the names of the
6143 functions being autoloaded.
6144
6145 * calc/calc.el (calc-lu-power-reference): Rename from
6146 `calc-logunits-power-reference'.
6147 (calc-lu-field-reference): Rename from
6148 `calc-logunits-field-reference'.
6149
6150 * calc/calc-help (calc-l-prefix-help): Mention musical note functions.
6151
40c2934b
SM
61522011-03-17 Stefan Monnier <monnier@iro.umontreal.ca>
6153
6154 * minibuffer.el (completion-all-sorted-completions):
6155 Use :completion-cycle-penalty text property if present.
6156
b0911414
KM
61572011-03-16 Ken Manheimer <ken.manheimer@gmail.com>
6158
6159 * allout.el (allout-yank-processing): Adjust for new rebulleting
6160 regime so bullet being yanked is used without prompting the user
6161 for a choice.
6162
8a05b668
JB
61632011-03-16 Juanma Barranquero <lekktu@gmail.com>
6164
6165 * startup.el (command-line): Warn the user that _emacs is deprecated.
6166
5ba5fb81
JB
61672011-03-16 Juanma Barranquero <lekktu@gmail.com>
6168
6169 * progmodes/delphi.el (delphi-search-path, delphi-indent-level)
6170 (delphi-verbose, delphi-comment-face, delphi-string-face)
6171 (delphi-keyword-face, delphi-ignore-changes, delphi-indent-line)
6172 (delphi-mode-abbrev-table, delphi-debug-buffer, delphi-tab)
6173 (delphi-find-unit, delphi-find-current-xdef, delphi-fill-comment)
6174 (delphi-new-comment-line, delphi-font-lock-defaults)
6175 (delphi-debug-mode-map, delphi-mode-syntax-table, delphi-mode):
6176 Fix typos in docstrings.
6177
2dab465b
KM
61782011-03-15 Ken Manheimer <ken.manheimer@gmail.com>
6179
5ba5fb81 6180 * allout.el (allout-make-topic-prefix, allout-rebullet-heading):
2dab465b
KM
6181 Invert the roles of character and string values for INSTEAD, so a
6182 string is used for the more common case of a defaulting prompt.
6183
0adf5618
SM
61842011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
6185
6186 * progmodes/ruby-mode.el (ruby-backward-sexp):
6187 * progmodes/ebrowse.el (ebrowse-draw-file-member-info):
6188 * play/gamegrid.el (gamegrid-make-face):
6189 * play/bubbles.el (bubbles--grid-width, bubbles--grid-height)
6190 (bubbles--colors, bubbles--shift-mode, bubbles--initialize-images):
6191 * notifications.el (notifications-notify):
6192 * net/xesam.el (xesam-search-engines):
6193 * net/quickurl.el (quickurl-list-insert):
6194 * vc/vc-hg.el (vc-hg-dir-printer): Fix use of case.
6195
d72700e5
CY
61962011-03-15 Chong Yidong <cyd@stupidchicken.com>
6197
6198 * startup.el (command-line): Update package subdirectory regexp.
6199
49c5410a
SM
62002011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
6201
c6eee9aa
SM
6202 * allout.el (allout-abbreviate-flattened-numbering)
6203 (allout-mode-deactivate-hook): Fix up obsolescence "date".
6204
49c5410a
SM
6205 * subr.el (read-char-choice): Only show the cursor after the prompt,
6206 not after the answer.
6207
047b2bb9
KR
62082011-03-15 Kevin Ryde <user42@zip.com.au>
6209
6210 * help-fns.el (variable-at-point): Skip leading quotes, if any
6211 (bug#8253).
6212
0a57d256
SM
62132011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
6214
6215 * emacs-lisp/bytecomp.el (byte-compile-save-excursion): Change the
6216 warning message.
6217
77c992bc
MA
62182011-03-14 Michael Albinus <michael.albinus@gmx.de>
6219
6220 * shell.el (shell): When called interactively, offer to change the
6221 shell file name on remote hosts.
6222
eebc475d
TZ
62232011-03-13 Teodor Zlatanov <tzz@lifelogs.com>
6224
6225 * net/ldap.el (ldap-search-internal): Add `auth-source-search'
6226 integration for LDAP parameters. The host, base, user or binddn,
6227 and secret tokens can be specified in a netrc file, for instance.
6228 This is optional because an `auth-source' parameter must be
6229 specified in the search attributes.
6230
9d05d1ba
JB
62312011-03-13 Juanma Barranquero <lekktu@gmail.com>
6232
6233 * help.el (describe-mode): Link to the mode's definition (bug#8185).
6234
09d9db2c
GM
62352011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
6236
6237 * ebuff-menu.el (electric-buffer-menu-mode-map): Move initialization
6238 into declaration. Remove redundant and harmful binding.
6239
62402011-03-12 Eli Zaretskii <eliz@gnu.org>
6241
6242 * files.el (file-ownership-preserved-p): Pass `integer' as an
6243 explicit 2nd argument to `file-attributes'. If the file's owner
6244 is the Administrators group on Windows, and the current user is
6245 Administrator, consider that a match.
6246
6247 * server.el (server-ensure-safe-dir): Consider server directory
6248 safe on MS-Windows if its owner is the Administrators group while
6249 the current Emacs user is Administrator. Use `=' to compare
6250 numerical UIDs, since they could be integers or floats.
6251
219bd536
JB
62522011-03-12 Juanma Barranquero <lekktu@gmail.com>
6253
6254 * vc/vc-bzr.el (vc-bzr-state): Handle bzr 2.3.0 (follow-up to bug#8170).
6255
f3afd36b
MA
62562011-03-12 Michael Albinus <michael.albinus@gmx.de>
6257
6258 Sync with Tramp 2.2.1.
6259
6260 * net/tramp-sh.el (tramp-methods): Exchange "%k" marker with options.
6261
6262 * net/trampver.el: Update release number.
6263
3aaaa6f1
SM
62642011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
6265
94642599
SM
6266 * progmodes/compile.el (compilation--previous-directory): Fix up
6267 various nil/dead-marker mismatches (bug#8014).
6268 (compilation-directory-properties, compilation-error-properties):
6269 Don't call it at a position past the one we're about to change.
6270
3aaaa6f1
SM
6271 * emacs-lisp/bytecomp.el (byte-compile-make-obsolete-variable):
6272 Disable obsolescence warnings in the file that declares it.
6273
14239447
KM
62742011-03-11 Ken Manheimer <ken.manheimer@gmail.com>
6275
099c39a4
JB
6276 * allout-widgets.el (allout-widgets-tally):
6277 Initialize allout-widgets-tally as a hash table rather than nil to
6278 prevent mode-line redisplay warnings. Also, clarify the module
6279 description and fix a comment typo.
14239447 6280
135e287c
JB
62812011-03-11 Juanma Barranquero <lekktu@gmail.com>
6282
6283 * help-fns.el (describe-variable): Don't complete keywords.
6284 Suggested by Teodor Zlatanov <tzz@lifelogs.com>.
6285
ffbf300e
CY
62862011-03-10 Chong Yidong <cyd@stupidchicken.com>
6287
ba08b241
CY
6288 * emacs-lisp/package.el (package-version-join): Impose a standard
6289 string representation for pre/alpha/beta version lists.
6290 (package-unpack-single): Standardize the directory name by passing
6291 it through package-version-join.
6292 (package-strip-rcs-id): Accept any version string that does not
6293 signal an error in version-to-list.
ffbf300e 6294
f346fd6b
MA
62952011-03-10 Michael Albinus <michael.albinus@gmx.de>
6296
6297 * simple.el (delete-trailing-whitespace): Return nil for the
6298 benefit of `write-file-functions'.
6299
ccb55d27
GM
63002011-03-10 Glenn Morris <rgm@gnu.org>
6301
5ceaac0c
GM
6302 * vc/vc-hg.el (vc-hg-pull, vc-hg-merge-branch): Use vc-hg-program.
6303
02da65ff
GM
6304 * vc/vc-git.el (vc-git-program): New option.
6305 (vc-git-branches, vc-git-pull, vc-git-merge-branch, vc-git-command)
6306 (vc-git--call): Use it.
6307
b2f603cc
GM
6308 * eshell/esh-util.el (eshell-condition-case): Doc fix.
6309
5772caab
GM
6310 * cus-edit.el (Custom-newline): If no button at point, look
6311 for a subgroup button at start-of-line. (Bug#2298)
6312
ccb55d27
GM
6313 * mail/rmail.el (rmail-msgend, rmail-msgbeg): Doc fixes.
6314
ec6ecaed
JD
63152011-03-10 Julien Danjou <julien@danjou.info>
6316
6317 * avoid.el (mouse-avoidance-ignore-p): Do not move the cursor if
6318 `cursor-type' is nil.
6319
9d5aa01d
JB
63202011-03-09 Jay Belanger <jay.p.belanger@gmail.com>
6321
6322 * calc/calc.el (calc-mode-map): Don't bind "C-_" to `calc-missing-key'.
6323
b6a5875b
KM
63242011-03-09 Ken Manheimer <ken.manheimer@gmail.com>
6325
6326 * allout.el Summary: Change so yank of distinctive-bullet items
6327 preserves the existing header prefix, rebulleting it if necessary,
6328 rather than replacing it. This is necessary for proper operation
6329 of cooperative addons like allout-widgets.
219bd536 6330 (allout-make-topic-prefix, allout-rebullet-heading): Change
b6a5875b
KM
6331 SOLICIT arg to INSTEAD, and interpret additionally a string value
6332 as alternate bullet to be used, instead of prompting the user for
6333 a bullet character.
6334
ee545c35
MA
63352011-03-09 Michael Albinus <michael.albinus@gmx.de>
6336
d86d2721
SM
6337 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
6338 Do not use `tramp-file-name-port', because this returns also
ee545c35
MA
6339 `tramp-default-port'.
6340
c47971d7
DD
63412011-03-09 Deniz Dogan <deniz.a.m.dogan@gmail.com>
6342
6343 * net/rcirc.el (rcirc-handler-001): Remove useless
6344 with-rcirc-process-buffer.
6345 (rcirc-check-auth-status): Swap arguments to string-match.
6346
13522cb4
GM
63472011-03-09 Glenn Morris <rgm@gnu.org>
6348
0be6f4f1
GM
6349 * shell.el (shell-mode):
6350 Set comint-input-ring-size from HISTSIZE. (Bug#7889)
6351
13522cb4
GM
6352 * progmodes/gdb-mi.el (gdb): Improve 2010-12-08 change.
6353 Check for GDBHISTFILE, HISTSIZE, etc. (Bug#7889)
6354
515de2e3
CY
63552011-03-08 Chong Yidong <cyd@stupidchicken.com>
6356
6357 * emacs-lisp/package.el (package-refresh-contents)
6358 (package-menu-execute): Use condition-case-no-debug.
6359
b511b994
MA
63602011-03-08 Michael Albinus <michael.albinus@gmx.de>
6361
6362 * simple.el (shell-command-to-string): Use `process-file'.
6363
6364 * emacs-lisp/package.el (package-tar-file-info): Handle also
6365 remote files.
6366
d86d2721
SM
6367 * emacs-lisp/package-x.el (package-upload-buffer-internal):
6368 Use `equal' for upload base check.
b511b994 6369
25bbfb31
AM
63702011-03-08 Arni Magnusson <arnima@hafro.is> (tiny change)
6371
6372 * textmodes/texinfo.el (texinfo-environments):
6373 Add deftypecv, deftypeivar, deftypemethod, deftypeop, html. (Bug#2783)
6374
be996521
GM
63752011-03-08 Glenn Morris <rgm@gnu.org>
6376
e9c8529f
GM
6377 * cus-start.el (cursor-in-non-selected-windows):
6378 Fix :set quoting oddness. (Bug#8192)
6379
be996521
GM
6380 * font-lock.el (lisp-font-lock-keywords-1): Don't highlight `)'
6381 in some setf expressions. (Bug#2159)
6382
2bb5649e
CY
63832011-03-08 Chong Yidong <cyd@stupidchicken.com>
6384
6385 * custom.el (custom-available-themes): Return themes in
6386 alphabetical order.
6387
33383987 6388See ChangeLog.15 for earlier changes.
e3d51b27
MR
6389
6390;; Local Variables:
6391;; coding: utf-8
e3d51b27
MR
6392;; End:
6393
33383987 6394 Copyright (C) 2011 Free Software Foundation, Inc.
e3d51b27
MR
6395
6396 This file is part of GNU Emacs.
6397
6398 GNU Emacs is free software: you can redistribute it and/or modify
6399 it under the terms of the GNU General Public License as published by
6400 the Free Software Foundation, either version 3 of the License, or
6401 (at your option) any later version.
6402
6403 GNU Emacs is distributed in the hope that it will be useful,
6404 but WITHOUT ANY WARRANTY; without even the implied warranty of
6405 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
6406 GNU General Public License for more details.
6407
6408 You should have received a copy of the GNU General Public License
6409 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.