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