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