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