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