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