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