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