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