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