* src/minibuf.c (Finternal_complete_buffer): Only show internal buffers if
[bpt/emacs.git] / lisp / ChangeLog
CommitLineData
04c52e2f
CY
12011-10-01 Chong Yidong <cyd@stupidchicken.com>
2
ce3cefcc
CY
3 * cus-edit.el (custom-mode-map):
4 * epa.el (epa-key-list-mode-map):
5 * man.el (Man-mode-map):
6 * startup.el (splash-screen-keymap):
7 * simple.el (special-mode-map): Use scroll-up-command and
8 scroll-down-command.
9
10 * progmodes/idlw-help.el (idlwave-help-mode-map):
11 * progmodes/ebrowse.el (ebrowse-electric-position-mode-map):
12 * net/newst-plainview.el (newsticker-mode-map):
13 * emulation/ws-mode.el (wordstar-mode-map):
14 * emulation/vi.el (vi-com-map):
15 * calc/calc-graph.el (calc-graph-show-dumb):
16 * term/sun.el (terminal-init-sun):
17 * term/ns-win.el (global-map):
18 * progmodes/grep.el (grep-mode-map):
19 * progmodes/ebrowse.el (ebrowse-electric-list-mode-map):
20 * mail/rmail.el (rmail-mode-map):
21 * progmodes/cpp.el (cpp-edit-mode-map): Likewise.
22
04c52e2f
CY
23 * custom.el (custom-safe-themes, load-theme): Treat value of t for
24 custom-safe-themes as special.
25
79adf8c8
JD
262011-10-01 Julien Danjou <julien@danjou.info>
27
28 * notifications.el (notifications-notify): Fix docstring.
29
63bd50d3
PS
302011-10-01 Per Starbäck <per@starback.se>
31
32 * pcmpl-gnu.el (pcomplete/tar): Fix tar-header-name call. (Bug#9643)
33
199e4c7e
MR
342011-09-30 Martin Rudalics <rudalics@gmx.at>
35
36 * startup.el (command-line-1): Fix last fix by inserting
37 initial-scratch-message into *scratch* before displaying it.
cbc5ee22 38 (Bug#9605) and (Bug#9636)
199e4c7e 39
fe5f08dd
EZ
402011-09-29 Eli Zaretskii <eliz@gnu.org>
41
42 * simple.el (line-move): If auto-hscroll-mode is disabled and the
43 window is hscrolled, move by logical lines. (Bug#9607)
44 (line-move-visual): Update the doc string to the above effect.
45
b5516bbd
MR
462011-09-29 Martin Rudalics <rudalics@gmx.at>
47
ccee00c0
MR
48 * window.el (display-buffer-record-window): When WINDOW is the
49 selected window use `point' instead of `window-point'. (Bug#9626)
50
b5516bbd
MR
51 * startup.el (command-line-1): Use insert-before-markers when
52 inserting initial-scratch-message. (Bug#9605)
ccee00c0 53
b5516bbd
MR
54 * help.el (help-window): Remove variable.
55
52aa0014
GM
562011-09-29 Glenn Morris <rgm@gnu.org>
57
58 * pcmpl-cvs.el (pcomplete/cvs): Add "status" handler.
59
df9a7357
JB
602011-09-29 Juanma Barranquero <lekktu@gmail.com>
61
62 * descr-text.el (describe-char-categories): Accept category
63 descriptions more than one line long.
64
a8406c20
SM
652011-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
66
88d9610c
SM
67 * simple.el (delete-trailing-whitespace): Fix last change.
68
a5daf810
SM
69 * progmodes/perl-mode.el (perl-syntax-propertize-function):
70 Don't confuse "y => 3" as the beginning of a `y' operation.
71
a8406c20
SM
72 * emacs-lisp/debug.el (debug-convert-byte-code): Don't assume the
73 object has more than 4 slots (bug#9613).
74
a239d4e9
JB
752011-09-28 Juanma Barranquero <lekktu@gmail.com>
76
77 * subr.el (with-output-to-temp-buffer):
78 * net/quickurl.el (quickurl, quickurl-browse-url):
79 Fix typos in docstrings.
80
693fbdb6
EZ
812011-09-27 Eli Zaretskii <eliz@gnu.org>
82
83 * minibuffer.el (completion-styles)
84 (completion-category-overrides): Cross reference each other in doc
85 strings.
86
8b457e28
GM
872011-09-27 Glenn Morris <rgm@gnu.org>
88
89 * pcmpl-cvs.el (pcmpl-cvs-entries): Update for Emacs 22.1 changes
90 to split-string. (Bug#9606)
91
85a16208
LMI
922011-09-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
93
94 * mail/smtpmail.el (smtpmail-via-smtp): Fix STARTTLS detection
95 (bug#9615).
96
502f9ebd
CY
972011-09-27 Chong Yidong <cyd@stupidchicken.com>
98
99 * emacs-lisp/package.el (list-packages): Fix echo area message.
100
7690bdea
LL
1012011-09-27 Leo Liu <sdl.web@gmail.com>
102
103 * ido.el (ido-read-internal): Accept cons cell HIST arg.
104
e2ee6f30
MA
1052011-09-25 Michael Albinus <michael.albinus@gmx.de>
106
107 * net/dbus.el (dbus-unregister-object): Don't release services for
108 registered signals. (Bug#9581)
109
f3f98342
TZ
1102011-09-25 Teodor Zlatanov <tzz@lifelogs.com>
111
112 * progmodes/cfengine.el (cfengine-auto-mode): Add convenience
113 function that picks between cfengine 2 and 3 support
114 automatically. Update docs accordingly.
115
dd7aa8dd
KH
1162011-09-22 Kenichi Handa <handa@m17n.org>
117
118 * language/ind-util.el (indian-tml-base-table): Add TAMIL DIGIT
119 ZERO.
120 (indian-itrans-v5-table-for-tamil): New variable.
121 (indian-tml-itrans-v5-hash): Use the above variable (Bug#9336).
122
3f2b07f8
KM
1232011-09-22 Ken Manheimer <ken.manheimer@gmail.com>
124
125 * allout.el (allout-this-command-hid-stuff): Buffer-local variable
126 that's true if the current command involved collapsing of text.
127 It's reset to false at the beginning of the next command.
128 (allout-post-command-business): Move the cursor to the beginning
129 of entry if the cursor is hidden and collapsing activity just
130 happened.
131
371d6a61
CY
1322011-09-24 Chong Yidong <cyd@stupidchicken.com>
133
134 * mouse.el (mouse-drag-track): Set scroll-margin to 0 while
135 tracking (Bug#9541).
136
2ac2721a
UJ
1372011-09-24 Ulf Jasper <ulf.jasper@web.de>
138
139 * net/newst-reader.el (newsticker-html-renderer)
140 (newsticker-show-news): Automatically
141 load html rendering package if newsticker-html-renderer is
142 set. Fixes "Warning: defvar ignored because w3m-fill-column is
143 let-bound" and the error "Symbol's value as variable is void:
144 w3m-fill-column".
145
fac7ae53
MA
1462011-09-24 Michael Albinus <michael.albinus@gmx.de>
147
148 * net/dbus.el (dbus-unregister-object): Remove match rule of signals.
149 Release services only if they are defined. (Bug#9581)
150
e08b633b
RS
1512011-09-23 Richard Stallman <rms@gnu.org>
152
e488d29c
RS
153 * textmodes/paragraphs.el (forward-sentence): For backwards case,
154 distinguish start of paragraph from start of its text.
155
19c38752
RS
156 * mail/emacsbug.el (report-emacs-bug-query-existing-bugs): Autoload.
157
e08b633b
RS
158 * mail/rmail.el (rmail-view-buffer-kill-buffer-hook): New function.
159 (rmail-generate-viewer-buffer): Put that hook on view buffer.
160 (rmail-mode-kill-buffer-hook): Override that hook, to kill view buffer.
161
0a39f27e
AS
1622011-09-23 Andreas Schwab <schwab@linux-m68k.org>
163
164 * international/mule-diag.el (mule-diag): Insert a newline after
165 each fontset description.
166
db4e950d
SM
1672011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
168
169 * simple.el (delete-trailing-whitespace):
170 Document last change; simplify.
171
eca3f3ea
PW
1722011-09-23 Peter J. Weisberg <pj@irregularexpressions.net>
173
d68e189a
PW
174 * simple.el (delete-trailing-whitespace): Also delete
175 extra newlines at the end of the buffer.
176
eca3f3ea
PW
177 * textmodes/picture.el: Make motion commands obey shift-select-mode.
178 (picture-newline): Use forward-line so as to ignore fields.
179
01c157cc
SM
1802011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
181
182 * subr.el (with-wrapper-hook): Fix edebug spec.
183
022de23e
LMI
1842011-09-23 Lars Magne Ingebrigtsen <larsi@gnus.org>
185
186 * simple.el (kill-line): Note effect of `show-trailing-whitespace'
187 (bug#4538).
188
91683089
MA
1892011-09-23 Michael Albinus <michael.albinus@gmx.de>
190
eca3f3ea
PW
191 * net/tramp-sh.el (tramp-sh-handle-file-name-all-completions):
192 Fix nasty bug using wrong cached values.
91683089 193
5bdd6fa4
AM
1942011-09-23 Alan Mackenzie <acm@muc.de>
195
196 * progmodes/cc-defs.el (c-version): Increase to 5.31.9.
197
97adfb97
CY
1982011-09-23 Chong Yidong <cyd@stupidchicken.com>
199
200 * window.el (pop-to-buffer): Ensure right window is selected if we
201 chose another frame.
202
d4ef2b50
EZ
2032011-09-22 Eli Zaretskii <eliz@gnu.org>
204
205 * simple.el (what-cursor-position): Use get-char-property-change
206 and next-single-char-property-change, to be able to show display
207 properties that come from overlays as well as text properties.
208
72258fe5
CY
2092011-09-22 Chong Yidong <cyd@stupidchicken.com>
210
211 * window.el (pop-to-buffer-same-window): New (reinstated) fun.
212
213 * cmuscheme.el (run-scheme, switch-to-scheme):
214 * cus-edit.el (customize-group, custom-buffer-create)
215 (customize-browse):
216 * info.el (info):
217 * shell.el (shell):
218 * mail/sendmail.el (mail):
219 * progmodes/inf-lisp.el (inferior-lisp): Use it (Bug#9532).
220
8f098516
RS
2212011-09-22 Richard Stallman <rms@gnu.org>
222
223 * textmodes/paragraphs.el (forward-sentence): When setting PAR-BEG,
224 move back only to line beg, don't move back over blank lines.
225
e74f1bb6
MA
2262011-09-22 Michael Albinus <michael.albinus@gmx.de>
227
228 * files.el (copy-directory): Set directory attributes only in case
229 they could be retrieved from the source directory. (Bug#9565)
230
bfeef8b6
DK
2312011-09-22 Dima Kogan <dkogan@secretsauce.net> (tiny change)
232
233 * progmodes/hideshow.el (hs-looking-at-block-start-p)
234 (hs-find-block-beginning, hs-hide-level-recursive):
235 Ignore strings as well as comments. (Bug#9502)
236
7e423bb8
AS
2372011-09-22 Andrew Schein <andrew@andrewschein.com> (tiny change)
238
239 * progmodes/sql.el (sql-comint-postgres):
240 Convert port number to a string. (Bug#9566)
241
b4d72fcf
MR
2422011-09-22 Martin Rudalics <rudalics@gmx.at>
243
244 * window.el (quit-window): Undedicate window when switching to
245 previous buffer. Reported by Thierry Volpiatto
246 <thierry.volpiatto@gmail.com>.
7f80c86d
MR
247 (special-display-popup-frame): When popping up a new frame reset
248 its previous buffers to nil. Simplify code.
b4d72fcf 249
a7b88dc6
MA
2502011-09-21 Michael Albinus <michael.albinus@gmx.de>
251
252 * net/tramp.el (tramp-handle-shell-command): Set process sentinel
253 and process filter, as done also in `shell-command'.
254
cf4eacfd
MR
2552011-09-21 Martin Rudalics <rudalics@gmx.at>
256
eca3f3ea
PW
257 * window.el (set-window-buffer-start-and-point):
258 Call set-window-start with NOFORCE argument t. Suggested by Thierry
cf4eacfd
MR
259 Volpiatto <thierry.volpiatto@gmail.com>.
260 (quit-window): Reword doc-string. Handle new format of
261 quit-restore parameter. Don't delete window if it has a
262 previous buffer we can show instead of the present one.
263 (display-buffer-record-window): Rewrite using a new format for
264 the quit-restore window parameter
265 (special-display-popup-frame, display-buffer-same-window)
266 (display-buffer-reuse-window, display-buffer-pop-up-frame)
267 (display-buffer-pop-up-window, display-buffer-use-some-window):
268 Adapt symbol passed to display-buffer-record-window.
269 * help.el (help-window-setup): Handle new format of quit-restore
270 parameter.
271
8d28cb95
SM
2722011-09-21 Stefan Monnier <monnier@iro.umontreal.ca>
273
94ab793f
SM
274 * faces.el (face-list): Fix docstring (bug#9564).
275
8d28cb95
SM
276 * window.el (display-buffer--action-function-custom-type):
277 Don't include internal functions in the Custom interface.
278
3820edeb
JL
2792011-09-20 Juri Linkov <juri@jurta.org>
280
281 * info.el (Info-history-skip-intermediate-nodes): New defcustom.
282 (Info-forward-node, Info-backward-node, Info-next-preorder)
283 (Info-last-preorder): Use it. (Bug#9528)
284
5147931d
JL
2852011-09-20 Juri Linkov <juri@jurta.org>
286
287 * info.el (Info-last-preorder): Visit last menu item only when
288 `Info-scroll-prefer-subnodes' is non-nil (third test-case of bug#9528).
289
cf499a1a
JD
2902011-09-20 Julien Danjou <julien@danjou.info>
291
292 * password-cache.el (password-cache-remove): Remove entries even if the
293 value is nil, so that password with a nil value (negative caching) is
294 possible to invalidate.
295
f84e2fe2
LM
2962011-09-20 Lawrence Mitchell <wence@gmx.li>
297
298 * progmodes/f90.el (f90-break-line): If breaking inside comment delete
299 all whitespace around breakpoint. (Bug#9553)
300 (f90-find-breakpoint): Only break at whitespace inside a comment.
301
78054a46
SM
3022011-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
303
304 * minibuffer.el (completion-file-name-table): Keep track of errors.
305 (completion-table-with-predicate): Handle the case where pred1 is nil.
306 * pcomplete.el (pcomplete-completions-at-point): Simplify.
307
345083b2
SM
3082011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
309
e24e27be
SM
310 * emacs-lisp/debug.el (debugger-args): Give it a docstring.
311 (debugger-return-value): Signal an error if the debugging context does
312 not await any return value.
313
345083b2
SM
314 * ps-mule.el (ps-mule-plot-string): Don't inf-loop (bug#5108).
315 * image-mode.el (image-toggle-display-text)
316 (image-toggle-display-image): Stay away from evil `intangible'.
317
08d355e3
LL
3182011-09-19 Leo Liu <sdl.web@gmail.com>
319
320 * replace.el (occur-revert-arguments): Make it permanent-local.
321 (occur-mode): Don't call font-lock-defontify.
322
f01da43f
CY
3232011-09-19 Chong Yidong <cyd@stupidchicken.com>
324
325 * net/ldap.el (ldap-search-internal): Don't push empty search
326 result (Bug#9508).
327
b6072fa6
SM
3282011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
329
330 * whitespace.el (whitespace-newline-mode): Disable it right (bug#9550).
331
443d6696
MA
3322011-09-19 Michael Albinus <michael.albinus@gmx.de>
333
334 * net/tramp-sh.el (tramp-inline-compress-commands): Add "xz".
335 Suggested by Liam Stitt <stittl@cuug.ab.ca>.
336
7cc6e154
JL
3372011-09-18 Juri Linkov <juri@jurta.org>
338
339 * buff-menu.el (Buffer-menu-mode-map):
340 * dired.el (dired-mode-map):
341 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map)
342 (lisp-interaction-mode-map):
343 * emacs-lisp/package.el (package-menu-mode-map):
344 * epa.el (epa-key-list-mode-map):
345 * menu-bar.el (menu-bar-showhide-tool-bar-menu)
346 (menu-bar-options-menu):
347 * outline.el (outline-mode-menu-bar-map):
348 * vc/vc-bzr.el (vc-bzr-shelve-menu-map, vc-bzr-extra-menu-map):
349 * vc/vc-dir.el (vc-dir-menu-map):
350 * vc/vc-git.el (vc-git-stash-menu-map, vc-git-extra-menu-map):
351 Capitalize non-function content words in menu item strings.
352
353 * dired.el (dired-mode-map): Add menu item for
354 `image-dired-dired-toggle-marked-thumbs'.
355
80302a81
JL
3562011-09-18 Juri Linkov <juri@jurta.org>
357
358 * isearch.el (isearch-edit-string): Bind `isearch-new-case-fold'
359 to `isearch-case-fold-search' and restore its original value
360 after the `isearch-mode' call.
361
46c5cf66
JL
3622011-09-18 Juri Linkov <juri@jurta.org>
363
364 * progmodes/grep.el (grep-process-setup): Don't check code for 1
365 because `zgrep' returns 1 for successful matches (bug#9226).
366
d18b513b
JL
3672011-09-18 Juri Linkov <juri@jurta.org>
368
369 * info.el (Info-extract-menu-node-name): Check the second match
370 for empty string (second test-case of bug#9528).
371 (Info-last-preorder): Let-bind `Info-history' to nil to not add
372 intermediate nodes to the history (first test-case of bug#9528).
373
72753f87
JL
3742011-09-18 Juri Linkov <juri@jurta.org>
375
376 * info.el (Info-mode-syntax-table): New variable.
377 (Info-mode): Set `:syntax-table' to `Info-mode-syntax-table'. (Bug#3312)
378
c9384295
JL
3792011-09-18 Juri Linkov <juri@jurta.org>
380
381 * info.el (Info-file-supports-index-cookies): Increment
382 line-beginning-position's arg from 3 to 4 because makeinfo outputs
383 one more line for long file names (bug#4142).
384
d473dce8
CY
3852011-09-18 Chong Yidong <cyd@stupidchicken.com>
386
387 * newcomment.el (comment-normalize-vars): If prompting for
388 comment-start, set comment-start-skip too (Bug#8424).
389
2176854d
JB
3902011-09-18 Johan Bockgård <bojohan@gnu.org>
391
392 * icomplete.el: Fix previous fix of Bug#5849.
393 (icomplete-mode): Don't set completion-show-inline-help.
394 (icomplete-minibuffer-setup): Set completion-show-inline-help
395 locally during icompletion.
396
3aace4e4
CY
3972011-09-18 Chong Yidong <cyd@stupidchicken.com>
398
c940224f
CY
399 * woman.el (woman2-process-escapes): Don't delete unrecognized
400 escapes (Bug#7843).
401
3aace4e4
CY
402 * files.el (inhibit-first-line-modes-regexps): Add image files.
403 (hack-local-variables-prop-line): Return nil for malformed
404 prop-lines (Bug#9044).
405
710dec63
MA
4062011-09-18 Michael Albinus <michael.albinus@gmx.de>
407
408 * net/tramp.el (top): Don't require 'shell.
409 (tramp-methods): Fix docstring.
410 (tramp-get-remote-tmpdir): New defun, moved from tramp-sh.el.
8d28cb95
SM
411 Return complete remote file name. Handle "smb" case.
412 Use `tramp-tmpdir', if defined for the respective method.
710dec63
MA
413 (tramp-make-tramp-temp-file): Adapt call of `tramp-get-remote-tmpdir'.
414
415 * net/tramp-compat.el (top): Require 'shell.
416
417 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
418 (tramp-maybe-open-connection): Use `tramp-file-name-real-host' for
419 `tramp-current-host'.
420 (tramp-get-remote-tmpdir): Remove.
421
422 * net/tramp-smb.el (tramp-methods): Add `tramp-remote-shell' and
423 `tramp-tmpdir' entries.
424 (tramp-smb-errors): Add "NT_STATUS_IMAGE_ALREADY_LOADED".
425 (tramp-smb-handle-file-attributes): Ignore errors.
426 (tramp-smb-wait-for-output): Check also for process end.
427
5d5ac8ec
LMI
4282011-09-18 Lars Magne Ingebrigtsen <larsi@gnus.org>
429
430 * mail/smtpmail.el (smtpmail-via-smtp): Ignore errors that arise
431 when sending QUIT (bug#9312).
432
8c0f49f0
CY
4332011-09-17 Chong Yidong <cyd@stupidchicken.com>
434
435 * replace.el (occur-mode-map): Rebind occur-edit-mode to "e" (Bug#8463).
436 (occur-edit-mode-map): Bind C-c C-c to occur-cease-edit and C-o to
437 occur-mode-display-occurrence.
438 (occur-edit-mode): Add usage message.
439 (occur-cease-edit): New command.
440 (occur-after-change-function): Use text properties to find the
441 position of the prefix text.
442 (occur-engine): Set stickiness of prefix text properties.
443
8f1383f7
GM
4442011-09-17 Glenn Morris <rgm@gnu.org>
445
446 * progmodes/etags.el (complete-tag):
447 Fix call to completion-in-region. (Bug#9526)
448
744ba0e3
JL
4492011-09-17 Juri Linkov <juri@jurta.org>
450
451 * textmodes/ispell.el (ispell-word): Add to the error message
452 the word, ispell program name and current dictionary (bug#9121).
453 (ispell-tex-arg-end): Capitalize "error" in the error message.
454
d9bbf400
AS
4552011-09-17 Andreas Schwab <schwab@linux-m68k.org>
456
457 * emacs-lisp/bytecomp.el (byte-compile-lapcode): Fix overflow
458 check. (Bug#4251)
459
8da11505
JL
4602011-09-17 Juri Linkov <juri@jurta.org>
461
462 * window.el (window-safe-min-height, window-safe-min-width):
463 Fix typos (followup to bug#9522).
464
a91adc7e
SJ
4652011-09-17 Sven Joachim <svenjoac@gmx.de>
466
467 * window.el (window-min-width, window-state-put): Fix typos (bug#9522).
468
064f328a
EZ
4692011-09-16 Eli Zaretskii <eliz@gnu.org>
470
471 * simple.el (line-move): If goal-column is set, move by logical
472 lines, not by display lines. (Bug#971)
473 (next-line, previous-line, goal-column, line-move-visual): Doc fix
474 to reflect the above change.
475
e69df516
SM
4762011-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
477
478 * image.el (imagemagick-register-types): Use regexp-opt.
479
cbb0f9ab
CY
4802011-09-15 Chong Yidong <cyd@stupidchicken.com>
481
482 * window.el (display-buffer-base-action): Rename from
483 display-buffer-default-action. Make default value empty.
484 (display-buffer-overriding-action): Convert to defvar.
485 (display-buffer-fallback-action): New var.
486
25322144
CY
4872011-09-15 Chong Yidong <cyd@stupidchicken.com>
488
489 * emacs-lisp/package.el (package-alist): Fix risky-local-variable
490 declaration.
491 (package--add-to-archive-contents): If there is a duplicate entry
492 with an older version, remove it.
493 (package-menu-mark-delete, package-menu-mark-install)
494 (package-menu-mark-unmark): Make unused args optional.
e69df516
SM
495 (package-menu-mark-obsolete-for-deletion):
496 Use package-menu-get-status instead of a regexp search.
25322144
CY
497 (package-menu-get-status): Use tabulated-list-entry.
498 (package-menu-mark-upgrades): New command.
d770725a 499 (package-menu-mode-map): Bind it to U. Add it to menu bar.
25322144
CY
500 (package-menu-execute): Do installation before deletion.
501 (package-menu-refresh, package-menu-execute): Use derived-mode-p
502 instead of checking major-mode.
503 (package-menu--find-upgrades): New function.
504
7520339c
LMI
5052011-09-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
506
507 * mail/smtpmail.el (smtpmail-send-command): Don't include AUTH
508 passwords in the log buffer.
65a046c4
LMI
509 (smtpmail-process-filter): Update the process marker so that the
510 "broken by peer" status message is inserted in the right place.
7520339c 511
d3c30954
SM
5122011-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
513
3fe48822
SM
514 * textmodes/bibtex.el (bibtex-complete-string-cleanup)
515 (bibtex-complete-crossref-cleanup): Adjust to accommodate needs of
516 bibtex-completion-at-point-function.
517 (bibtex-completion-at-point-function): Use them.
518
1b8b3954
SM
519 * newcomment.el (comment-add, comment-valid-prefix-p): Docfix.
520
d3c30954
SM
521 * mpc.el (mpc-constraints-tag-lookup): New function.
522 (mpc-constraints-restore): Use it to make jumping to "album=Foo" apply
523 also to browser "album|playlist".
524
72779976
JL
5252011-09-14 Juri Linkov <juri@jurta.org>
526
527 * isearch.el (isearch-fail-pos): Add new arg `msg'. Doc fix.
528 (isearch-edit-string): Use length of `isearch-string' when
529 `isearch-fail-pos' returns nil.
530 (isearch-message): Remove duplicate code and call
531 `isearch-fail-pos' with arg `t'.
532
a0bf2bcd
CY
5332011-09-14 Chong Yidong <cyd@stupidchicken.com>
534
17bb0a2d
CY
535 * replace.el (occur-mode-goto-occurrence): Don't force using other
536 window (Bug#9499).
537
a0bf2bcd
CY
538 * dired-aux.el (dired-do-chmod): Don't provide initial input.
539
f678e0b6
MR
5402011-09-14 Martin Rudalics <rudalics@gmx.at>
541
542 * window.el (display-buffer-window): Remove.
543 (display-buffer-record-window): Use help-setup window parameter
544 instead of variable display-buffer-window.
545 (display-buffer-function, special-display-buffer-names)
546 (special-display-function): Mention help-setup parameter instead
547 of display-buffer-window in doc-string.
d3c30954
SM
548 * help.el (help-window-setup): New argument help-window.
549 Use help-window-setup parameter instead of display-buffer-window.
f678e0b6
MR
550 Reword some messages.
551 (with-help-window): Pass window used for displaying the buffer
552 to help-window-setup. Don't set display-buffer-window.
553
8e39b2e8
GM
5542011-09-13 Glenn Morris <rgm@gnu.org>
555
556 * emacs-lisp/debug.el (debugger-make-xrefs):
557 Preserve point. (Bug#9462)
558
85e9c04b
CY
5592011-09-13 Chong Yidong <cyd@stupidchicken.com>
560
561 * window.el (window-deletable-p): Use next-frame.
562
1b36ed6a
MR
5632011-09-13 Martin Rudalics <rudalics@gmx.at>
564
565 * window.el (window-auto-delete): Remove.
566 (window-deletable-p): Remove argument FORCE. Don't deal with
567 dedicatedness and previous buffers.
568 (switch-to-prev-buffer): Don't delete window.
569 (delete-windows-on): Delete a window's frame if and only if the
570 window is dedicated.
571 (replace-buffer-in-windows): Delete buffer's window or frame if
572 and only if window is dedicated.
573 (quit-window): Handle quit-restore as before last change.
4d61f28d 574 (bury-buffer): Delete window only if window-deletable-p returns t.
1b36ed6a 575
ef8ef9fb
CY
5762011-09-13 Chong Yidong <cyd@stupidchicken.com>
577
578 * window.el (window-deletable-p): Never delete the last frame on a
579 given terminal.
580
b2cba41e
GM
5812011-09-13 Glenn Morris <rgm@gnu.org>
582
583 * help.el (describe-key-briefly): Copy previous standard-output change.
584
51553db6 5852011-09-13 PJ Weisberg <pj@irregularexpressions.net>
e3ce671f
PW
586
587 * help.el (where-is): Respect non-standard standard-output. (Bug#9030)
588
b7556719
GM
5892011-09-13 Glenn Morris <rgm@gnu.org>
590
591 * emacs-lisp/lisp-mode.el (lisp-indent-function):
592 * progmodes/scheme.el (scheme-indent-function): Doc fixes.
593
64b51947
CY
5942011-09-12 Chong Yidong <cyd@stupidchicken.com>
595
596 * dired-aux.el (dired-mark-read-string): Don't return default
597 value on empty input (Bug#9361).
598 (dired-do-chxxx): Treat empty input for "touch" as no -t option.
599 Omit initial minibuffer contents.
600 (dired-do-chmod): Signal an error on empty input.
601 (dired-mark-read-string): Don't return default on empty input.
602
603 * files.el (file-modes-symbolic-to-number): Doc fix.
604
393a301e
SM
6052011-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
606
607 * international/mule-cmds.el (ucs-completions): Remove.
608 (read-char-by-name): Use complete-with-action instead; add metadata.
609
fa5660f9
CY
6102011-09-11 Chong Yidong <cyd@stupidchicken.com>
611
612 * window.el (display-buffer--action-function-custom-type)
613 (display-buffer--action-custom-type): New vars.
614 (display-buffer-alist, display-buffer-default-action)
615 (display-buffer-overriding-action): Add defcustom types.
616
4a592f66
CY
617 * frame.el (delete-other-frames): Doc fix (Bug#276).
618
73d56dbd
LMI
6192011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
620
621 * play/doctor.el (make-doctor-variables): Define `doctor-sent'.
622
37ac18a3
CY
6232011-09-11 Chong Yidong <cyd@stupidchicken.com>
624
625 Change modes that used same-window-* vars to use switch-to-buffer.
626
627 * progmodes/gdb-mi.el (gdb-restore-windows, gdb-setup-windows):
628 Use switch-to-buffer.
629
630 * cus-edit.el (customize-group, custom-buffer-create)
393a301e
SM
631 (customize-browse, custom-buffer-create-other-window):
632 Use switch-to-buffer or switch-to-buffer-other-window.
37ac18a3
CY
633
634 * info.el (info, Info-find-node, Info-revert-find-node, Info-next)
635 (Info-prev, Info-up, Info-speedbar-goto-node)
636 (info-display-manual): Use switch-to-buffer.
637 (Info-speedbar-goto-node): Use switch-to-buffer-other-frame.
638
639 * mail/sendmail.el (mail): Use switch-to-buffer.
640 (mail-recover): Use switch-to-buffer-other-window.
641
642 * cmuscheme.el (run-scheme, switch-to-scheme):
643 * ielm.el (ielm):
644 * shell.el (shell):
645 * net/rlogin.el (rlogin):
646 * net/telnet.el (telnet, rsh):
647 * progmodes/inf-lisp.el (inferior-lisp): Use switch-to-buffer.
648
10195bd6
AS
6492011-09-11 Andreas Schwab <schwab@linux-m68k.org>
650
651 * dired.el (dired-sort-toggle-or-edit): Revert last changes.
652
b322f63a
LMI
6532011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
654
39d7fed6
LMI
655 * dired.el (dired-sort-toggle-or-edit): -o doesn't exist on *BSD,
656 so don't mention it (bug#9301).
ba5a81f1 657 (dired-sort-toggle-or-edit): Clarify string further.
39d7fed6 658
ee0e9f11
LMI
659 * faces.el (face-spec-set-match-display): Make `(type graphic)'
660 match `x', `w32' and `ns', like the manual says (bug#9029).
661
0b1c89c1 662 * subr.el (eval-after-load): Doc string clarification (bug#9125).
da9fcb93
LMI
663 (process-kill-buffer-query-function): Mention the buffer name in
664 the query.
0b1c89c1 665
77549ea8
LMI
666 * image-mode.el (image-next-line): The line parameter is mandatory
667 (bug#9258).
668
803ef892
LMI
669 * dired.el (dired-sort-toggle-or-edit): Mention -o and -g, too,
670 which can be useful (bug#9301).
671
12980837
LMI
672 * textmodes/flyspell.el: Remove obsolete comment (bug#9368).
673
91054f8f
LMI
674 * subr.el (match-string): Mention that the current buffer should
675 be the same as the search was done in (bug#9282).
676
b322f63a
LMI
677 * facemenu.el: Disable the remove-* commands if the mark isn't
678 active (bug#9162).
679
3199b96f
CY
6802011-09-10 Chong Yidong <cyd@stupidchicken.com>
681
682 * buff-menu.el (Buffer-menu-switch-other-window): Use second arg
683 of display-buffer.
684 (Buffer-menu-2-window): Use switch-to-buffer-other-window.
685
686 * replace.el (occur-mode-goto-occurrence)
687 (occur-mode-display-occurrence) Use second arg of pop-to-buffer
688 and display-buffer.
689
690 * mail/reporter.el (reporter-submit-bug-report): Use second arg of
691 display-buffer.
692
693 * mail/sendmail.el (sendmail-user-agent-compose): Don't bind the
694 special-display and same-window variables.
695 (mail-other-window): Use switch-to-buffer-other-window.
696 (mail-other-frame): USe switch-to-buffer-other-frame.
697
393a301e
SM
698 * progmodes/gdb-mi.el (gdb-frame-gdb-buffer):
699 Use display-buffer-other-frame.
3199b96f
CY
700 (gdb-display-gdb-buffer): Use pop-to-buffer.
701
702 * progmodes/gud.el (gud-goto-info): Use info-other-window.
703
704 * progmodes/python.el: Don't set same-window-buffer-names.
705
706 * textmodes/bibtex.el (bibtex-search-entry): Use switch-to-buffer.
707
708 * window.el (display-buffer-alist): Add *Python*.
709
8319e0bf
CY
7102011-09-10 Chong Yidong <cyd@stupidchicken.com>
711
712 * window.el (display-buffer-alist): Add entry for buffers
713 previously handled same-window-*.
714 (display-buffer-alist, display-buffer-default-action)
715 (display-buffer-overriding-action): Mark as risky.
716 (display-buffer-alist): Document action function changes.
717 (display-buffer--same-window-action)
718 (display-buffer--other-frame-action): New variables.
719 (switch-to-buffer, display-buffer-other-frame): Use them.
720 (display-buffer): Rename reuse-frame entry to reusable-frames.
721 (display-buffer-reuse-selected-window): Function deleted.
722 (display-buffer-reuse-window): Handle reusable-frames alist entry.
723 If it's omitted, check pop-up-frames/display-buffer-reuse-frames.
724 (display-buffer-special): New function.
725 (display-buffer--maybe-pop-up-frame-or-window): Rename from
726 display-buffer-reuse-or-pop-window. Split off special-display
727 part into display-buffer-special.
728 (display-buffer-use-some-window): Don't perform any special
729 pop-up-frames handling.
730 (pop-to-buffer): Use window-normalize-buffer-to-switch-to.
393a301e 731 (display-buffer--maybe-same-window): Rename from
0d3ff375 732 display-buffer-maybe-same-window.
8319e0bf 733
919a69aa
CY
734 * info.el: Don't set same-window-regexps.
735 (info-setup): New function.
736 (info-other-window, info): Call it.
737
738 * cus-edit.el: Don't set same-window-regexps.
739 (customize-group): New argument.
740 (customize-group-other-window): Use it.
741 (customize-face, customize-face-other-window): Likewise.
742 (custom-buffer-create-other-window): Use pop-to-buffer directly.
743
8319e0bf
CY
744 * net/rlogin.el:
745 * net/telnet.el:
746 * progmodes/gud.el: Don't set same-window-regexps.
747
748 * cmuscheme.el:
749 * ielm.el:
750 * shell.el:
751 * mail/sendmail.el:
752 * progmodes/inf-lisp.el: Don't set same-window-buffer-names.
753
25173000
JL
7542011-09-10 Juri Linkov <juri@jurta.org>
755
756 * isearch.el (isearch-edit-string): Remove obsolete mention of
757 `C-w' (`isearch-yank-word-or-char') from docstring.
758 (isearch-query-replace): Fix typo in docstring (bug#9466).
759
056e44ef
JL
7602011-09-10 Juri Linkov <juri@jurta.org>
761
762 * paren.el (show-paren-function): Don't show escaped parens.
763 Let-bind `unescaped' to `t' when paren is not escaped. (Bug#9461)
764
c3760c17
EZ
7652011-09-10 Eli Zaretskii <eliz@gnu.org>
766
767 * mail/sendmail.el (mml-to-mime, mml-attach-file)
768 (mm-default-file-encoding): Remove autoload forms, they are
769 replaced with autoload cookies in mml.el and mm-encode.el.
770 (mail-add-attachment): New command.
771 (mail-mode-map): Add a menu-bar item for mail-add-attachment.
772 (mail-mode): Mention mail-insert-file and mail-add-attachment in
773 the doc string.
774 (mml-to-mime, mml-attach-file, mm-default-file-encoding): Declare.
775
fece895e
RT
7762011-09-10 Reuben Thomas <rrt@sc3d.org>
777
e69df516
SM
778 * simple.el (count-words-region): Use buffer if there's no region
779 (bug#9429).
fece895e 780
5e68ce4a
JL
7812011-09-09 Juri Linkov <juri@jurta.org>
782
783 * wdired.el (wdired-change-to-wdired-mode): Set buffer-local
784 `isearch-filter-predicate' to `wdired-isearch-filter-read-only'.
785 (wdired-isearch-filter-read-only): New function. (Bug#6362)
786
0a6b9622
AM
7872011-09-09 Alan Mackenzie <acm@muc.de>
788
789 * progmodes/cc-mode.el (awk-mode): Prevent `define-derived-mode'
790 spuriously generating `awk-mode-syntax-table'. (Bug #9448).
791
14a29deb
EZ
7922011-09-09 Eli Zaretskii <eliz@gnu.org>
793
794 Fix for Savannah bug#9392.
795 * simple.el (mail-encode-mml): New defvar.
796
797 * mail/rmail.el (mail-encode-mml): Add a defvar.
798 (rmail-enable-mime-composing): Default to t.
799 (rmail-forward): Use MIME method of forwarding only if both
800 rmail-enable-mime-composing and rmail-enable-mime are non-nil.
801 Set mail-encode-mml non-nil if the MIME method was used.
802
803 * mail/sendmail.el (mml-to-mime): Add autoload form.
804 (mail-encode-mml): Add a defvar.
805 (mail-mode): Make mail-encode-mml buffer-local and initialize it
806 to nil.
807 (mail-send): If mail-encode-mml is non-nil, run the outgoing
808 message through mml-to-mime, and reset mail-encode-mml to nil.
809
28c45130
GM
8102011-09-09 Glenn Morris <rgm@gnu.org>
811
812 * woman.el (woman-if-body): When processing an .el block,
813 do not delete the next .el block as well. (Bug#9447)
69f4b618 814 (woman-special-characters): Add oq, cq, and hy characters.
28c45130 815
9b1c252e
MR
8162011-09-08 Martin Rudalics <rudalics@gmx.at>
817
818 * window.el (window-deletable-p): Make sure window is live before
819 invoking window-prev-buffers.
820
567457e3
LL
8212011-09-08 Leo Liu <sdl.web@gmail.com>
822
823 * net/rcirc.el (rcirc-cmd-invite): New rcirc command. (Bug#9453)
824
97f05794
JL
8252011-09-08 Juri Linkov <juri@jurta.org>
826
827 * progmodes/compile.el (compilation-environment): Make it
828 a defcustom (bug#8340).
829
8b0874b5
MR
8302011-09-08 Martin Rudalics <rudalics@gmx.at>
831
832 * window.el (frame-auto-delete): Rename to window-auto-delete.
833 Make it control auto-deletion of windows and/or frames.
834 (window-deletable-p): New argument FORCE. Rewrite conditions
5e617bc2 835 for deleting window/frame. (Bug#9419)
8b0874b5
MR
836 (switch-to-prev-buffer, replace-buffer-in-windows, quit-window):
837 Rewrite handling of case when window/frame can be deleted.
838 (delete-windows-on): Call window-deletable-p with new FORCE
5e617bc2 839 argument t. (Bug#9456)
8b0874b5 840
4feb6e73
CY
8412011-09-07 Chong Yidong <cyd@stupidchicken.com>
842
843 * help-mode.el (help-mode): Restore autoload.
844
91ab9c13
JL
8452011-09-07 Juri Linkov <juri@jurta.org>
846
847 * progmodes/compile.el (compilation-start): Let-bind `thisenv' to
848 `compilation-environment'. Set buffer-local
849 `compilation-environment' to `thisenv' later after (funcall mode).
850 (Bug#8340)
851
852 * vc/vc-git.el (vc-git-grep): Remove --no-color. (Bug#9408)
853 (vc-git-grep): Prepend "PAGER=" to `compilation-environment'
854 instead of replacing its value. (Bug#8340)
855
0527e251
JL
8562011-09-07 Juri Linkov <juri@jurta.org>
857
858 * progmodes/grep.el (grep-regexp-alist): Calculate column positions
859 based on text properties put by `grep-filter' instead of matching
860 escape sequences.
861 (grep-mode): Set buffer-local `compilation-error-screen-columns'
862 to the value of `grep-error-screen-columns' (bug#9438).
863
249f792c
JL
8642011-09-07 Juri Linkov <juri@jurta.org>
865
866 * simple.el (next-error-highlight, next-error-highlight-no-select):
867 Doc fix (bug#9432).
868
ff7271b9
OT
8692011-09-07 OKAZAKI Tetsurou <okazaki.tetsurou@gmail.com> (tiny change)
870
871 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
872 Check for null c-opt-block-decls-with-vars-key. (Bug#9443)
873
183fc730
LL
8742011-09-07 Leo Liu <sdl.web@gmail.com>
875
876 * net/rcirc.el (rcirc-mode): Conditionally initialize
877 rcirc-input-ring.
878
77694924
SM
8792011-09-07 Stefan Monnier <monnier@iro.umontreal.ca>
880
881 * emacs-lisp/find-func.el (find-function-C-source): Only set
882 find-function-C-source-directory after checking that we found a source
883 file there (bug#9440).
884
d809b8eb
AM
8852011-09-06 Alan Mackenzie <acm@muc.de>
886
887 * isearch.el (isearch-other-meta-char): Wherever a key list is
888 unread, "unread" the prefix arg, too. This fixes bug #8901.
889
453de99f
OG
8902011-09-05 Oleksandr Gavenko <gavenkoa@gmail.com> (tiny change)
891
892 * progmodes/grep.el (rgrep): Add "-type d" (bug#9414).
893
90439906
JL
8942011-09-05 Juri Linkov <juri@jurta.org>
895
896 * progmodes/grep.el (grep-process-setup): Fix comments (bug#8084).
897
f62bd846
JL
8982011-09-05 Juri Linkov <juri@jurta.org>
899
900 * progmodes/grep.el (grep-filter): Avoid incomplete processing by
901 keeping point where processing of grep matches begins, and
902 continue to delete remaining escape sequences from the same point.
903 (grep-filter): Make leading zero optional in "0?1;31m" because
904 git-grep emits "\033[1;31m" escape sequences unlike expected
905 "\033[01;31m" as GNU Grep does (bug#9408).
906 (grep-process-setup): Replace obsolete "ml=" with newer "sl=".
907
045820ec
JL
9082011-09-05 Juri Linkov <juri@jurta.org>
909
910 * subr.el (y-or-n-p): Capitalize "yes".
911
f5e29b9b
MA
9122011-09-04 Michael Albinus <michael.albinus@gmx.de>
913
914 * net/tramp.el (top): Require 'shell. Use `tramp-unload-hook' but
915 `tramp-cache-unload-hook' where appropriate.
916 (tramp-methods): Rename `tramp-remote-sh' to
917 `tramp-remote-shell'. Add `tramp-remote-shell-args'.
918 (tramp-handle-shell-command): New defun, moved from tramp-sh.el.
919
920 * net/tramp-sh.el (top): Don't require 'shell.
921 (tramp-methods): Add `tramp-remote-shell' and
922 `tramp-remote-shell-args' entries.
923 (tramp-sh-file-name-handler-alist): Use `tramp-handle-shell-command'.
924 (tramp-sh-handle-shell-command): Remove.
925 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
926 Use `tramp-remote-shell'.
927
2784c434
CY
9282011-09-03 Chong Yidong <cyd@stupidchicken.com>
929
393a301e 930 * mail/sendmail.el (sendmail-query-once-function): Delete.
2784c434
CY
931 (sendmail-query-once): Save directly to send-mail-function.
932 Update message-send-mail-function too.
933
934 * mail/smtpmail.el (smtpmail-try-auth-methods): Clarify prompt.
935
464cdf56
CS
9362011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
937
938 * progmodes/python.el (python-mode-map): Use correct function to
939 start python interpreter from menu-bar (as reported by Geert
940 Kloosterman).
941 (inferior-python-mode-map): Fix typo.
393a301e 942 (python-shell-map): Remove.
464cdf56 943
d37e5c87
DD
9442011-09-03 Deniz Dogan <deniz@dogan.se>
945
946 * net/rcirc.el (rcirc-print): Simplify code for
947 rcirc-scroll-show-maximum-output. There is no need to walk
948 through all windows to find the right one.
949
f3ada0ee
CS
9502011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
951
952 * help.el (help-return-method): Doc fix.
953
1f3c99ca
MR
9542011-09-03 Martin Rudalics <rudalics@gmx.at>
955
956 * window.el (window-deletable-p): Don't return a non-nil value
957 when there's a buffer that was shown in the window before.
958 (Bug#9419)
393a301e
SM
959 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
960 Set window's previous buffers to nil.
1f3c99ca 961
a3cf097f
EZ
9622011-09-03 Eli Zaretskii <eliz@gnu.org>
963
964 * mail/rmailmm.el (rmail-mime-insert-tagline): Insert an extra
965 newline before and after the tag line, so it doesn't interfere
966 with determining the paragraph direction of bidirectional text.
967
3d03de90
LL
9682011-09-03 Leo Liu <sdl.web@gmail.com>
969
970 * files.el (find-file-not-true-dirname-list): Remove. (Bug#9422)
971
c3313451
CY
9722011-09-02 Chong Yidong <cyd@stupidchicken.com>
973
393a301e 974 * window.el (pop-to-buffer-1, pop-to-buffer-same-window): Delete.
c3313451
CY
975 (pop-to-buffer): Change interactive spec. Pass second argument
976 directly to display-buffer.
977 (display-buffer): Fix interactive spec. Use functionp to
978 distinguish between a function and a list of functions.
979
980 * abbrev.el (edit-abbrevs):
981 * arc-mode.el (archive-extract):
982 * autoinsert.el (auto-insert):
983 * bookmark.el (bookmark-bmenu-list):
984 * files.el (find-file):
985 * view.el (view-buffer):
986 * progmodes/compile.el (compilation-goto-locus):
987 * textmodes/bibtex.el (bibtex-initialize): Use switch-to-buffer.
988
89894cd8
CY
9892011-09-02 Chong Yidong <cyd@stupidchicken.com>
990
991 * window.el (display-buffer-alist): Doc fix.
992 (display-buffer): Add docstring. Don't treat
993 display-buffer-default specially.
994 (display-buffer-reuse-selected-window)
995 (display-buffer-same-window, display-buffer-maybe-same-window)
996 (display-buffer-reuse-window, display-buffer-pop-up-frame)
997 (display-buffer-pop-up-window)
998 (display-buffer-reuse-or-pop-window)
999 (display-buffer-use-some-window): New functions.
1000 (display-buffer-default-action): Use them.
393a301e 1001 (display-buffer-default): Delete.
89894cd8
CY
1002 (pop-to-buffer-1): Fix choice of actions.
1003
ae0bc9fb
SM
10042011-09-02 Stefan Monnier <monnier@iro.umontreal.ca>
1005
1006 * minibuffer.el (completion--insert-strings): Don't get confused by
1007 completion entries that end with an LF char.
1008
e9d90883
EZ
10092011-09-01 Eli Zaretskii <eliz@gnu.org>
1010
1011 * window.el (frame-auto-delete, window-deletable-p): Doc fix.
1012
437014c8
CY
10132011-09-01 Chong Yidong <cyd@stupidchicken.com>
1014
1015 * window.el (display-buffer): Restore interactive spec.
ae0bc9fb
SM
1016 (display-buffer-same-window, display-buffer-other-window):
1017 New functions.
437014c8
CY
1018 (pop-to-buffer-1): New function. Use the above.
1019 (pop-to-buffer, pop-to-buffer-same-window): Use it.
ae0bc9fb 1020 (pop-to-buffer-other-window, pop-to-buffer-other-frame): Delete.
437014c8
CY
1021
1022 * view.el (view-buffer-other-window, view-buffer-other-frame):
1023 Just use pop-to-buffer.
1024
a5e063d5
TV
10252011-09-01 Thierry Volpiatto <thierry.volpiatto@gmail.com>
1026
1027 * vc/vc-rcs.el (vc-rcs-responsible-p): Handle directories. (Bug#9391)
1028
793d32bb
WH
10292011-09-01 Wilfred Hughes <wilfred@potatolondon.com> (tiny change)
1030
1031 * vc/vc-git.el (vc-git-grep): Use --no-color. (Bug#9408)
1032
d65e4c15
RS
10332011-08-31 Richard Stallman <rms@gnu.org>
1034
1035 * mail/rmail.el (rmail-epa-decrypt): Rewrite to take account
1036 of the separation of rmail-view-buffer from rmail-buffer.
1037 If you say no to "replace original", the decrypt is in the
1038 view buffer. If you say yes, the decrypt goes into the
1039 rmail buffer also.
1040
f818cd2a
MR
10412011-08-31 Martin Rudalics <rudalics@gmx.at>
1042
1043 * window.el (display-buffer-window): Rewrite doc-string.
1044 (display-buffer-record-window): New function.
1045 (display-buffer-macro-specifiers)
1046 (display-buffer-even-window-sizes, display-buffer-set-height)
1047 (display-buffer-set-width, display-buffer-in-window)
1048 (display-buffer-reuse-window, display-buffer-split-specifiers)
1049 (display-buffer-side-specifiers, display-buffer-split-window-1)
1050 (display-buffer-split-window, display-buffer-split-atom-window)
1051 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
1052 (display-buffer-pop-up-side-window, display-buffer-in-side-window)
1053 (display-buffer-other-window-means-other-frame)
1054 (display-buffer-normalize-special)
1055 (display-buffer-normalize-default)
1056 (display-buffer-normalize-argument)
1057 (display-buffer-normalize-alist-1, display-buffer-normalize-alist)
1058 (display-buffer-normalize-specifiers, display-buffer-frame)
1059 (display-buffer-same-window, display-buffer-same-frame)
1060 (display-buffer-other-window)
1061 (display-buffer-same-frame-other-window)
1062 (display-buffer-other-frame, pop-to-buffer-same-window)
1063 (pop-to-buffer-same-frame, pop-to-buffer-other-window)
1064 (pop-to-buffer-same-frame-other-window, pop-to-buffer-other-frame)
1065 (switch-to-buffer-same-frame)
1066 (switch-to-buffer-other-window-same-frame)
1067 (display-buffer-alist-of-strings-p, display-buffer-alist-add)
1068 (display-buffer-alist-set-1, display-buffer-alist-set-2)
1069 (display-buffer-alist-set): Remove.
1070 (display-buffer-function, special-display-buffer-names)
ae0bc9fb
SM
1071 (special-display-regexps, special-display-function):
1072 In doc-string refer to display-buffer-window and quit-restore
f818cd2a
MR
1073 parameter.
1074 (pop-up-frame-alist, pop-up-frame-function, special-display-p)
1075 (special-display-frame-alist, special-display-popup-frame)
1076 (same-window-buffer-names, same-window-regexps, same-window-p)
1077 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
1078 (split-window-preferred-function, split-height-threshold)
1079 (split-width-threshold, window-splittable-p)
1080 (split-window-sensibly, window--try-to-split-window)
1081 (window--frame-usable-p, even-window-heights)
1082 (window--even-window-heights, window--display-buffer-1)
ae0bc9fb
SM
1083 (window--display-buffer-2, display-buffer-other-frame):
1084 Restore old Emacs 23 code, order and doc-strings where applicable.
f818cd2a
MR
1085 (display-buffer-default, display-buffer-assq-regexp): New functions.
1086 (display-buffer-alist): Rewrite doc-string.
1087 (display-buffer-default-action)
1088 (display-buffer-overriding-action): New variables.
1089 (display-buffer, switch-to-buffer): Rewrite.
1090 (pop-to-buffer): Restore Emacs 23 behavior but use
1091 window-normalize-buffer-to-display.
1092 (switch-to-buffer-other-window, switch-to-buffer-other-frame):
1093 Restore Emacs 23 behavior but use
1094 window-normalize-buffer-to-switch-to.
1095 (pop-to-buffer-same-window): Rewrite.
ae0bc9fb
SM
1096 (pop-to-buffer-other-window, pop-to-buffer-other-frame):
1097 Rewrite using Emacs 23 options.
f818cd2a 1098
5bc3b51d
MA
10992011-08-31 Michael Albinus <michael.albinus@gmx.de>
1100
1101 * net/tramp.el (tramp-root-regexp): Remove.
1102 (tramp-completion-file-name-regexp-unified)
1103 (tramp-completion-file-name-regexp-separate)
1104 (tramp-completion-file-name-regexp-url): Don't use leading volume
1105 letter on win32 systems. (Bug#5303, Bug#9311)
ae0bc9fb
SM
1106 (tramp-drop-volume-letter): Simplify definition.
1107 Suggested by Stefan Monnier <monnier@iro.umontreal.ca>.
5bc3b51d 1108
b1a4f8e1
SM
11092011-08-30 Stefan Monnier <monnier@iro.umontreal.ca>
1110
1111 * subr.el (event-modifiers): Fix "missing modifier" part of docstring
1112 (bug#9356).
1113
5664fa7b
RT
11142011-08-30 Reuben Thomas <rrt@sc3d.org> (tiny change)
1115
b1a4f8e1 1116 * vc/pcvs-defs.el (cvs-find-file-and-jump): Docstring typo (bug#9369).
5664fa7b 1117
9a45d6c3
JL
11182011-08-29 Juri Linkov <juri@jurta.org>
1119
1120 * isearch.el (isearch-done): Don't display message "Mark saved"
1121 when arg `edit' is non-nil to prevent its flicker in the echo area.
1122
fb87e0fb
CY
11232011-08-28 Chong Yidong <cyd@stupidchicken.com>
1124
1125 * emacs-lisp/package.el (package-menu-mark-delete): Allow marking
1126 obsolete packages for deletion.
1127
09ac1c2a
CS
11282011-08-28 Christoph Scholtes <cschol2112@googlemail.com>
1129
1130 * help-mode.el (help-mode-map): Add special-mode-map to parent.
5e617bc2 1131 (help-mode): Derive help-mode from special-mode. Don't invoke
09ac1c2a
CS
1132 view-mode from help-mode.
1133 (help-xref-override-view-map): Remove.
1134 (help-make-xrefs): Remove minor-mode-overriding-map-alist since
1135 view-mode is not used anymore.
1136
7a1ff57f
CY
11372011-08-28 Chong Yidong <cyd@stupidchicken.com>
1138
1139 * server.el (server-port): Doc fix.
1140
b9696605
CY
1141 * cus-theme.el (custom-theme-choose-mode): Inherit from
1142 special-mode (Bug#9124).
1143 (custom-theme-choose-mode-map): Add special-mode to parent.
1144
ef8cdf8c
AM
11452011-08-28 Alan Mackenzie <acm@muc.de>
1146
1147 * progmodes/cc-fonts.el
1148 (c-make-font-lock-BO-decl-search-function): New function.
1149 (c-basic-matchers-after - "Fontify the clauses after various
1150 keywords"): Extract the three keyword lists for the 3 erroneous
1151 constructs from the list of four, and use the new function above
1152 in place of an old one.
1153
27de4e20
DD
11542011-08-28 Deniz Dogan <deniz@dogan.se>
1155
1156 * net/rcirc.el (rcirc-insert-prev-input)
1157 (rcirc-insert-next-input): Remove unused argument.
1158
356a3681
SM
11592011-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
1160
1161 * shell.el (shell-parse-pcomplete-arguments): Unquote args (bug#9160).
1162
3fc9b218
AM
11632011-08-27 Alan Mackenzie <acm@muc.de>
1164
1165 * progmodes/cc-menus.el (cc-imenu-c++-generic-expression): Make it
1166 handle function pointer parameters properly.
1167
538a061c
MR
11682011-08-27 Martin Rudalics <rudalics@gmx.at>
1169
1170 * window.el (display-buffer-reuse-window): Fix case where
1171 selected window was reused with non-nil OTHER-WINDOW argument.
1172 (Bug#9381)
1173
35b1c40c
DD
11742011-08-27 Deniz Dogan <deniz@dogan.se>
1175
1176 * net/rcirc.el (rcirc-check-auth-status): Adding support for
1177 oftc's NickServ messages.
1178
2f6a3e79
GM
11792011-08-27 Glenn Morris <rgm@gnu.org>
1180
1181 * saveplace.el (save-place-limit): Make it finite. (Bug#9352)
1182
7254299e
CY
11832011-08-26 Chong Yidong <cyd@stupidchicken.com>
1184
1185 * emacs-lisp/package.el (package-install): Call package-initialize
1186 if called interactively.
1187
f8ccf167
LL
11882011-08-26 Leo Liu <sdl.web@gmail.com>
1189
1190 * emacs-lisp/cl-macs.el (defstruct): Fix format. (Bug#9357)
1191
3e8cd5ce
JL
11922011-08-25 Juri Linkov <juri@jurta.org>
1193
1194 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
1195 `search-whitespace-regexp' (bug#9364).
1196
93eb7113
JL
11972011-08-25 Juri Linkov <juri@jurta.org>
1198
1199 * isearch.el (isearch-edit-string): Let-bind `search-ring' and
1200 `regexp-search-ring' to their global values to protect from
1201 updating by `read-from-minibuffer' (bug#9185).
1202
f65d1611
JL
12032011-08-25 Juri Linkov <juri@jurta.org>
1204
1205 * textmodes/ispell.el (ispell-command-loop): Add newline
1206 at the end of the "Use option `i'..." line.
1207
f1cf7a31
JL
12082011-08-25 Juri Linkov <juri@jurta.org>
1209
1210 * battery.el (display-battery-mode): If `battery-status-function'
1211 or `battery-mode-line-format' is nil, display the message and set
1212 `display-battery-mode' to nil (bug#9363).
1213
0c95fcf7
EZ
12142011-08-25 Eli Zaretskii <eliz@gnu.org>
1215
1216 * buff-menu.el (Buffer-menu-buffer+size): Remove calls to
1217 bidi-string-mark-left-to-right; they are unnecessary now.
1218
a2ebe600
DD
12192011-08-25 Deniz Dogan <deniz@dogan.se>
1220
1221 * net/quickurl.el: Documentation typo fixes.
1222
e4ed06f1
CY
12232011-08-25 Chong Yidong <cyd@stupidchicken.com>
1224
1225 * window.el (bury-buffer, quit-window): Use bury-buffer-internal.
1226
e5f1c99e
GM
12272011-08-25 Glenn Morris <rgm@gnu.org>
1228
b2948976
GM
1229 * emacs-lisp/derived.el (define-derived-mode): Doc fix.
1230
e5f1c99e
GM
1231 * mail/smtpmail.el (smtpmail-smtp-user): Add version: tag.
1232 (smtpmail-via-smtp): Handle nil response from smtp.
1233
f22f4808
JL
12342011-08-24 Juri Linkov <juri@jurta.org>
1235
1236 * proced.el (proced-marked): Inherit from `error' instead of
1237 `font-lock-warning-face'.
1238
1239 * ibuffer.el (ibuffer-marked-face): Change default face from
1240 `font-lock-warning-face' to `warning'.
1241 (ibuffer-deletion-face): Change default face from
1242 `font-lock-type-face' to `error'.
1243
1244 * battery.el (battery-update): Use the face `error' instead of
1245 `font-lock-warning-face' (bug#6117).
1246
6a93965e
JL
12472011-08-24 Juri Linkov <juri@jurta.org>
1248
1249 * faces.el (success): Change face color from "Green3" to
1250 "ForestGreen" on light background (bug#9353).
1251
1ed43b09
CY
12522011-08-24 Chong Yidong <cyd@stupidchicken.com>
1253
5664fa7b
RT
1254 * window.el (quit-window): Rename from quit-restore-window.
1255 Use same arglist as old quit-window.
1ed43b09
CY
1256 (frame-auto-delete): Doc fix.
1257
1258 * view.el (view-mode-exit): Use quit-window.
1259
11dcdbb2
JL
12602011-08-24 Juri Linkov <juri@jurta.org>
1261
1262 * isearch.el (isearch-ring-adjust1): Start visiting previous
1263 search strings from the index 0 (-1 + 1) instead of 1 (0 + 1).
1264 (isearch-repeat, isearch-edit-string): Call `isearch-ring-adjust1'
1265 for empty search string (when the last search string is reused
1266 automatically) to adjust the isearch ring to the last element and
1267 prepare the correct index for further M-p commands (bug#9185).
1268
de62b4df
KH
12692011-08-24 Kenichi Handa <handa@m17n.org>
1270
1271 * international/ucs-normalize.el: If decomposition property of
1272 CHAR is the default one (i.e. a list of CHAR itself), treat it as
1273 nil.
1274 (nfd, nfkd): Likewise.
1275
963b492b
SM
12762011-08-24 Stefan Monnier <monnier@iro.umontreal.ca>
1277
1278 * mpc.el (mpc--proc-filter): Don't signal mpc-proc-error since signals
1279 from process filters aren't reliably transmitted to the surrounding
1280 accept-process-output.
1281 (mpc-proc-check): New function.
1282 (mpc-proc-sync): Use it (bug#8293)
1283
93b6b5e1
SM
12842011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
1285
1286 * emacs-lisp/eieio.el (eieio-defmethod, eieio-defgeneric):
1287 Add compatibility functions (bug#9313).
1288
bca633fb
EZ
12892011-08-23 Eli Zaretskii <eliz@gnu.org>
1290
b177498a
EZ
1291 * cus-start.el (all): Add entry for bidi-paragraph-direction.
1292
bca633fb
EZ
1293 * international/uni-bidi.el: Regenerated.
1294
0902a04e
KH
12952011-08-23 Kenichi Handa <handa@m17n.org>
1296
1297 * international/charprop.el:
1298 * international/uni-bidi.el:
1299 * international/uni-category.el:
1300 * international/uni-combining.el:
1301 * international/uni-comment.el:
1302 * international/uni-decimal.el:
1303 * international/uni-decomposition.el:
1304 * international/uni-digit.el:
1305 * international/uni-lowercase.el:
1306 * international/uni-mirrored.el:
1307 * international/uni-name.el:
1308 * international/uni-numeric.el:
1309 * international/uni-old-name.el:
1310 * international/uni-titlecase.el:
1311 * international/uni-uppercase.el: Regenerate.
1312
3bbf23bc
MR
13132011-08-23 Martin Rudalics <rudalics@gmx.at>
1314
1315 * help.el (help-window-setup): Fix message displayed when other
1316 window is reused. (Bug#9341)
1317
b3fd59bd
SM
13182011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
1319
1802e444
SM
1320 * shell.el (shell-completion-vars): Set pcomplete-arg-quote-list.
1321 * pcomplete.el (pcomplete-quote-argument): Fix thinko (bug#9161).
1322
b3fd59bd
SM
1323 * pcomplete.el (pcomplete-parse-comint-arguments): Fix inf-loop.
1324 Mark obsolete.
1325 * shell.el (shell-parse-pcomplete-arguments): New function.
1326 (shell-completion-vars): Use it instead (bug#9160).
1327
4eb61348
SM
13282011-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
1329
867cab74
SM
1330 * progmodes/sh-script.el (sh-maybe-here-document): Disable magic in
1331 strings and comments (bug#9333).
1332
4eb61348
SM
1333 * emacs-lisp/debug.el (debug-arglist): New function.
1334 (debug-convert-byte-code): Use it. Handle lexical byte-codes.
1335 (debug-on-entry-1): Handle interpreted closures (bug#9120).
1336
262a1439
JL
13372011-08-22 Juri Linkov <juri@jurta.org>
1338
56ee679c
JL
1339 * progmodes/compile.el (compilation-mode-font-lock-keywords):
1340 Revert regexp that highlights output switches to its old
1341 pre-2010-10-28 value and remove one `?' from it (bug#9319).
1342
262a1439
JL
1343 * progmodes/grep.el (grep-process-setup): Use `buffer-modified-p'
1344 to check for empty output (bug#9226).
1345
f13f86fb
CY
13462011-08-22 Chong Yidong <cyd@stupidchicken.com>
1347
1348 * progmodes/scheme.el (scheme-mode-syntax-table): Don't use
1349 symbol-constituent as the default, as that stops font-lock from
1350 working properly (Bug#8843).
1351
c65c9622
LMI
13522011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
1353
1354 * mail/smtpmail.el (smtpmail-via-smtp): Only bind
1355 `coding-system-for-*' around the process open call to avoid
1356 auth-source side effects.
e7f2c178 1357 (smtpmail-try-auth-methods): Expand the secret password.
7185da52
LMI
1358 (smtpmail-query-smtp-server): Allow `quit'-ing out in case the
1359 probe hangs.
c65c9622 1360
23a8a5ab
CY
13612011-08-21 Chong Yidong <cyd@stupidchicken.com>
1362
ff98b2dd
CY
1363 * term.el (term-mouse-paste): Yank primary selection (Bug#6845).
1364
23a8a5ab
CY
1365 * emacs-lisp/find-func.el (find-function-noselect): New arg
1366 lisp-only.
1367
1368 * emacs-lisp/edebug.el (edebug-instrument-function): Use it to
1369 signal an error for built-in functions (Bug#6664).
1370
f5e3c598
LMI
13712011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
1372
1373 * mail/smtpmail.el (smtpmail-smtp-user): New variable.
1374 (smtpmail-try-auth-methods): Use it.
1375
a3f2468a
CY
13762011-08-21 Chong Yidong <cyd@stupidchicken.com>
1377
2c34e8da
CY
1378 * font-lock.el (font-lock-fontify-region)
1379 (font-lock-unfontify-region, font-lock-default-fontify-buffer)
1380 (font-lock-default-unfontify-buffer)
1381 (font-lock-default-fontify-region)
1382 (font-lock-default-unfontify-region): Add docstrings (Bug#8624).
1383
b3fd59bd
SM
1384 * progmodes/compile.el (compilation-error-properties):
1385 Fix confusion between file struct and message struct (Bug#9319).
02e5c89e
CY
1386 (compilation-error-regexp-alist-alist): Fix 2011-05-09 change to
1387 `ant' regexp.
ee31aabc 1388
a3f2468a
CY
1389 * net/browse-url.el (browse-url-firefox): Don't call
1390 browse-url-firefox-sentinel unless using -remote (Bug#9328).
1391
8e999f70
GM
13922011-08-20 Glenn Morris <rgm@gnu.org>
1393
c21a496a
GM
1394 * tutorial.el (help-with-tutorial): Avoid an error on short screens.
1395
59ee0542
GM
1396 * tutorial.el (tutorial--default-keys): Update some default bindings.
1397
8e999f70
GM
1398 * files.el (hack-local-variables): Fully ignore case for "mode:".
1399
e3715033
AM
14002011-08-20 Alan Mackenzie <acm@muc.de>
1401
1402 Resolve invalid use of a regexp in regexp-opt.
1403
4d61f28d
JB
1404 * progmodes/cc-fonts.el (c-complex-decl-matchers): Add in special
1405 detection for a java annotation.
e3715033 1406
4d61f28d 1407 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Add in special
e3715033
AM
1408 detection for a java annotation.
1409
4d61f28d
JB
1410 * progmodes/cc-langs.el (c-prefix-spec-kwds-re): Remove the special
1411 handling for java.
e3715033
AM
1412 (c-modifier-kwds): Remove the regexp "@[A-za-z0-9]+".
1413
04ed2e9c
CY
14142011-08-20 Chong Yidong <cyd@stupidchicken.com>
1415
1416 * startup.el (normal-top-level-add-subdirs-to-load-path): Doc fix
1417 (Bug#9274).
1418
826cee64
AM
14192011-08-20 Alan Mackenzie <acm@muc.de>
1420
1421 * Fontify CPP expressions correctly when starting in the middle of
1422 such a construct. Mainly for when jit-lock etc. starts a chunk
1423 here.
1424
1425 * progmodes/cc-fonts.el (c-font-lock-context): new buffer local
1426 variable.
1427 (c-make-font-lock-search-form): new function, extracted from
1428 c-make-font-lock-search-function.
1429 (c-make-font-lock-search-function): Use the above function.
1430 (c-make-font-lock-context-search-function): New function.
1431 (c-cpp-matchers): Enhance the preprocessor expression case with
1432 the above function
1433 (c-font-lock-complex-decl-prepare): Test for being in a CPP form
1434 which takes an expression.
1435
1436 * progmodes/cc-langs.el (c-cpp-expr-intro-re): New lang-variable.
1437
13009bd8
MR
14382011-08-20 Martin Rudalics <rudalics@gmx.at>
1439
1440 * window.el (display-buffer-reuse-window)
1441 (display-buffer-pop-up-window): Don't reuse or split a side
1442 window.
1443
9234ff7f
GM
14442011-08-19 Glenn Morris <rgm@gnu.org>
1445
1446 * files.el (hack-local-variables-prop-line, hack-local-variables):
5e617bc2 1447 Downcase "Mode:". (Bug#9331)
9234ff7f 1448
f635daa1
CY
14492011-08-18 Chong Yidong <cyd@stupidchicken.com>
1450
1451 * international/characters.el: Add L and R categories.
1452
1453 * subr.el (bidi-string-mark-left-to-right): Rename from
1454 string-mark-left-to-right. Use category search.
1455
1456 * buff-menu.el (Buffer-menu-buffer+size): Callers changed.
1457
bc987f8b
JL
14582011-08-18 Juri Linkov <juri@jurta.org>
1459
1460 * faces.el (error, warning, success): New faces with definitions
1461 copied from old default values of `font-lock-warning-face',
1462 `compilation-warning', `compilation-info' (bug#6117).
1463
1464 * font-lock.el (font-lock-warning-face): Inherit from `error'.
1465
1466 * progmodes/compile.el (compilation-error): Inherit from `error'.
1467 (compilation-warning): Inherit from `warning'.
1468 (compilation-info): Inherit from `success'.
1469
1470 * dired.el (dired-marked): Inherit from `warning'.
1471 (dired-flagged): Inherit from `error'.
1472
57173b96
LMI
14732011-08-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
1474
3e79eb87
LMI
1475 * mail/smtpmail.el (auth-source): Require to avoid problems with
1476 binding variables (bug#9298). Also clean up some unused
1477 autoloads.
1478
b3fd59bd
SM
1479 * net/network-stream.el (network-stream-open-starttls):
1480 Support using starttls.el without using gnutls-cli.
57173b96 1481
02b404de
JL
14822011-08-17 Juri Linkov <juri@jurta.org>
1483
1484 * progmodes/grep.el (rgrep): Handle the case when
1485 `grep-find-command' is a cons cell (bug#9278).
1486
8c9177f2
MR
14872011-08-17 Martin Rudalics <rudalics@gmx.at>
1488
1489 * window.el (display-buffer-pop-up-frame): Run frame creation
1490 function with BUFFER current (as special-display-popup-frame
1491 does). Reported by Drew Adams.
1492
3644a0ab
DU
14932011-08-17 Daiki Ueno <ueno@unixuser.org>
1494
1495 * epa-mail.el: Simplify GnuPG group expansion using
1496 epg-expand-group.
1497 (epa-mail-group-alist, epa-mail-group-modtime)
1498 (epa-mail-gnupg-conf-file, epa-mail-parse-groups)
1499 (epa-mail-sync-groups, epa-mail-expand-recipient-1)
1500 (epa-mail-expand-recipients-2, epa-mail-expand-recipients):
1501 Remove.
1502
5e617bc2 15032011-08-16 Feng Li <fengli@gmail.com> (tiny change)
7c643369
FL
1504
1505 * calc/calc-ext.el (math-defintegral-2): Remove nested backquote.
1506
9c4aeabf
AM
15072011-08-16 Alan Mackenzie <acm@muc.de>
1508
1509 * progmodes/cc-engine.el (c-state-cache-non-literal-place):
1510 Correct, to avoid the inside of macros.
1511
3a99bf64
RS
15122011-08-16 Richard Stallman <rms@gnu.org>
1513
04963aa8
RS
1514 * epa-mail.el: Handle GnuPG group definitions.
1515 (epa-mail-group-alist, epa-mail-group-modtime)
1516 (epa-mail-gnupg-conf-file): New variables.
1517 (epa-mail-parse-groups, epa-mail-sync-groups)
1518 (epa-mail-expand-recipient-1, epa-mail-expand-recipients-2)
1519 (epa-mail-expand-recipients): New functions.
1520 (epa-mail-encrypt): Call epa-mail-expand-recipients.
1521
177549d0
RS
1522 * mail/rmail.el (rmail-epa-decrypt): New command.
1523
fe38beef
RS
1524 * epa.el (epa-decrypt-region): New arg MAKE-BUFFER-FUNCTION.
1525 Don't bind buffer-read-only, just inhibit-read-only.
3a99bf64
RS
1526 (epa--find-coding-system-for-mime-charset): Fix the non-xemacs case.
1527 (epa-decrypt-armor-in-region): Make error message clearer.
1528
934eacb9
SM
15292011-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
1530
1531 * minibuffer.el (completion-pcm--merge-completions): Don't merge "a1b"
1532 and "a2b" to "ab" for `prefix'.
1533
d024fb4e
CY
15342011-08-14 Chong Yidong <cyd@stupidchicken.com>
1535
1536 * ibuf-ext.el (ibuffer-filter-disable): New arg for deleting
1537 filter groups.
de148fee
CY
1538 (ibuffer-included-in-filter-p-1): Use it. Suggested by Rafaël
1539 Fourquet (Bug#8804).
d024fb4e 1540
62f1ca49
JB
15412011-08-12 Juanma Barranquero <lekktu@gmail.com>
1542
1543 * startup.el (argi): Declare as global variable (bug#9275).
1544
9ccaaa4b
CY
15452011-08-12 Chong Yidong <cyd@stupidchicken.com>
1546
1547 * subr.el (string-mark-left-to-right): Search the entire string
1548 for RTL script, not just the terminating character. Doc fix.
1549
a3dae87a
SM
15502011-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
1551
6cd18349
SM
1552 * progmodes/js.el (js-syntax-propertize, js-syntax-propertize-regexp):
1553 New function.
1554 (js--regexp-literal, js-syntax-propertize-function): Remove.
1555 (js-mode): Use js-syntax-propertize to handle multilines (bug#9183).
1556 (js-mode-map): Don't rebind electric keys.
1557 (js-insert-and-indent): Remove.
1558 (js-mode): Setup electric-layout and electric-indent instead.
1559
a3dae87a
SM
1560 * epa-file.el (epa-file-select-keys): Revert to nil default (bug#9280).
1561
9d5cb631
DU
15622011-08-12 Daiki Ueno <ueno@unixuser.org>
1563
1564 * epa.el (epa-progress-callback-function): Fix the logic of
1565 displaying progress.
1566 * epa-file.el (epa-file-insert-file-contents): Make progress
1567 display more user-friendly.
1568 (epa-file-write-region): Ditto.
1569
3e26a4a2
CY
15702011-08-10 Chong Yidong <cyd@stupidchicken.com>
1571
1572 * subr.el (string-mark-left-to-right): New function.
1573
1574 * buff-menu.el (Buffer-menu-buffer+size): Remove LRM argument.
1575 Use string-mark-left-to-right.
1576 (list-buffers-noselect): Caller changed.
1577
a3dae87a
SM
1578 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
1579 Use string-mark-left-to-right.
3e26a4a2
CY
1580 (tabulated-list-print): Recenter after moving point.
1581
ac8cf6e6
JL
15822011-08-10 Juri Linkov <juri@jurta.org>
1583
1584 * progmodes/grep.el (rgrep): Don't bind `process-connection-type'.
1585 This finishes incomplete reversion of 2011-06-30T01:09:13Z!larsi@gnus.org
1586 intended by 2011-07-06T15:49:19Z!larsi@gnus.org.
1587
8d96c9a4
CY
15882011-08-09 Chong Yidong <cyd@stupidchicken.com>
1589
1590 * hi-lock.el (hi-lock-unface-buffer): Fix interactive spec
1591 (Bug#7554).
1592
7be1c708 15932011-08-09 Andreas Schwab <schwab@linux-m68k.org>
29bbcfa7
AS
1594
1595 * xt-mouse.el (xterm-mouse-event-read): Try to recover the raw
1596 character. (Bug#6594)
1597
37e11a63
CY
15982011-08-08 Chong Yidong <cyd@stupidchicken.com>
1599
839dde57
CY
1600 * image-dired.el: Don't use find-file for temporary work (Bug#7895).
1601 (image-dired--with-db-file): New macro.
1602 (image-dired-write-tags, image-dired-remove-tag)
1603 (image-dired-create-gallery-lists, image-dired-write-comments)
1604 (image-dired-get-comment, image-dired-mark-tagged-files)
1605 (image-dired-list-tags, image-dired-gallery-generate): Use it.
1606 (image-dired-gallery-generate): Use insert-file-contents.
1607
37e11a63
CY
1608 * time.el (display-time-world-list, display-time-world-display):
1609 * time-stamp.el (time-stamp-string):
1610 * vc/add-log.el (add-change-log-entry): Use setenv instead of
1611 set-time-zone-rule (Bug#7337).
1612
0b4946c4
DU
16132011-08-08 Daiki Ueno <ueno@unixuser.org>
1614
1615 * epg.el (epg--status-KEYEXPIRED, epg--status-KEYREVOKED): Fix typo.
1616 (epg-error-to-string, epg-errors-to-string): New function.
1617 (epg-wait-for-completion): Reverse errors list.
1618 (epg--check-error-for-decrypt, epg-sign-file, epg-sign-string)
1619 (epg-encrypt-file, epg-encrypt-string, epg-export-keys-to-file)
1620 (epg--import-keys-1, epg-receive-keys, epg-delete-keys)
1621 (epg-sign-keys, epg-generate-key-from-file)
1622 (epg-generate-key-from-string): Format errors by using
1623 epg-errors-to-string (bug#9255).
1624 (epg--status-INV_SGNR, epg--status-NO_SGNR): New status handler.
1625
75bfc667
JL
16262011-08-07 Juri Linkov <juri@jurta.org>
1627
1628 * faces.el (list-faces-display): Remove extra angle bracket
1629 from `help-mode-map'.
1630
1631 * info.el (Info-history-toc-nodes): Doc fix.
1632
1633 * longlines.el (longlines-mode): Doc fix.
1634
673e08bb
SM
16352011-08-05 Stefan Monnier <monnier@iro.umontreal.ca>
1636
4640dd88
SM
1637 * progmodes/js.el (js--regexp-literal): Accept regexps at the beginning
1638 of statements and in a few more cases (bug#9183).
1639
673e08bb
SM
1640 * emacs-lisp/cl-macs.el (cl--make-usage-var, cl--make-usage-args):
1641 New functions.
1642 (cl-transform-lambda): Use them (bug#9239).
1643
89b3f019
MR
16442011-08-05 Martin Rudalics <rudalics@gmx.at>
1645
1646 * window.el (display-buffer-same-window)
1647 (display-buffer-same-frame, display-buffer-other-window)
1648 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
1649 (pop-to-buffer-other-window)
1650 (pop-to-buffer-same-frame-other-window)
1651 (pop-to-buffer-other-frame): Make them defuns.
1652 (switch-to-buffer): Don't set LABEL argument of pop-to-buffer.
1653
640c8776
SM
16542011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
1655
1656 * subr.el (make-composed-keymap): Move from C. Change calling
1657 convention, and improve docstring to bring attention to a subtle point.
1658 * minibuffer.el (completing-read-default): Adjust accordingly.
1659
63648a95
MA
16602011-08-03 Michael Albinus <michael.albinus@gmx.de>
1661
1662 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
1663 (tramp-open-shell): Use `tramp-shell-quote-argument'.
1664
1665 * net/trampver.el: Update release number.
1666
b796c9b7
SM
16672011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
1668
1669 * progmodes/sh-script.el (sh-font-lock-paren): Don't mistake "main" for
1670 "in" (bug#9190).
1671
2239d7d5
LMI
16722011-08-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
1673
e07dd7c3
LMI
1674 * mail/sendmail.el (sendmail-query-once): Restore the current
1675 buffer after querying (bug#9074).
1676
0e6a2bd7
LMI
1677 * dired.el (dired-flagged): Use different faces for marked and
1678 flagged files (bug#6117).
1679
ce887515
LMI
1680 * emacs-lisp/cl-macs.el (dolist): Mention that there's a nil block
1681 (bug#4433).
1682
92f2affc
LMI
1683 * ido.el (ido-mode): Switch off the message if called
1684 non-interactively.
1685
57d5aff0
LMI
1686 * mail/smtpmail.el (smtpmail-query-smtp-server): Try port 25
1687 before 587, since it appears that that's more likely to work for
1688 more people.
1689
98cd6c18
LMI
1690 * cus-edit.el (custom-file): When running under emacs -q, always
1691 refuse to save the customisations, even if the .emacs file doesn't
1692 exist.
1693
b96dec83
LMI
1694 * info.el: Remove the `Info-beginning-of-buffer' function
1695 (bug#8325).
1696
b796c9b7
SM
1697 * net/network-stream.el (network-stream-open-starttls):
1698 Use `starttls-available-p' to see whether starttls.el can be used.
2239d7d5 1699
d90e2ea0
MR
17002011-08-01 Martin Rudalics <rudalics@gmx.at>
1701
1702 * window.el (display-buffer-in-window): Don't set dedicated status
1703 of window here (Bug#9215).
1704 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
1705 (display-buffer-pop-up-side-window)
b796c9b7 1706 (display-buffer-in-side-window): Set dedicated status of window here.
d90e2ea0 1707
cca09170
SM
17082011-08-01 Stefan Monnier <monnier@iro.umontreal.ca>
1709
1710 * emacs-lisp/package.el (package-generate-autoloads): Load autoloads
1711 before binding generated-autoload-file.
1712
027b979c
DD
17132011-08-01 Deniz Dogan <deniz@dogan.se>
1714
1715 * net/rcirc.el (rcirc-handler-333): Clarify docstring.
1716
3c7ee4f3
MA
17172011-07-30 Michael Albinus <michael.albinus@gmx.de>
1718
1719 Sync with Tramp 2.2.2.
1720
1721 * net/trampver.el: Update release number.
1722
2cc8e51a
JL
17232011-07-30 Juri Linkov <juri@jurta.org>
1724
1725 * dired-aux.el (dired-touch-initial): Remove function.
1726 (dired-do-chxxx): For op-symbol `touch', set `initial' to the
1727 current time, and `default' to the last modification time of the
1728 current marked file (bug#6887).
1729
a514d856
JM
17302011-07-28 Jose E. Marchesi <jemarch@gnu.org>
1731
1732 * simple.el (goto-line): Use string-to-number to provide a
2cc8e51a 1733 numeric argument to read-number (bug#9163).
a514d856 1734
8a7eddd7
MA
17352011-07-27 Michael Albinus <michael.albinus@gmx.de>
1736
1737 * net/tramp-sh.el (tramp-maybe-send-script): Don't let-bind the
1738 connection process, it could be nil.
1739
1ddd96f5
LL
17402011-07-27 Leo Liu <sdl.web@gmail.com>
1741
1742 Simplify url handling in rcirc-mode.
1743
1744 * net/rcirc.el (rcirc-browse-url-map, rcirc-browse-url-at-point)
1745 (rcirc-browse-url-at-mouse): Remove.
1746 * net/rcirc.el (rcirc-markup-urls): Use `make-button'.
1747
b248a85d
AM
17482011-07-26 Alan Mackenzie <acm@muc.de>
1749
1750 Fontify bitfield declarations properly.
1751
1752 * progmodes/cc-langs.el (c-has-bitfields): New lang variable.
1753 (c-symbol-chars): Now exported as a lang variable.
1754 (c-not-primitive-type-keywords): New lang variable.
1755
1756 * progmodes/cc-fonts.el (c-font-lock-declarations): Jump over the
1757 QT keyword "more" to prevent "more slots: ...." being spuriously
1758 parsed as a bitfield declaraion.
1759
b796c9b7
SM
1760 * progmodes/cc-engine.el (c-beginning-of-statement-1):
1761 Refactor and enhance to handle bitfield declarations.
b248a85d
AM
1762 (c-punctuation-in): New function.
1763 (c-forward-decl-or-cast-1): Enhance CASE 3 to handle bitfield
1764 declarations properly.
1765
68575ab0
UJ
17662011-07-26 Ulf Jasper <ulf.jasper@web.de>
1767
1768 * calendar/icalendar.el (icalendar--all-events): Take care of
1769 multiple vcalendars in a single file.
b796c9b7 1770 (icalendar--convert-float-to-ical): Checkdoc fixes.
68575ab0 1771
0f0a88b9
DD
17722011-07-25 Deniz Dogan <deniz@dogan.se>
1773
1774 * image.el (insert-image): Clarifying docstring.
1775
0b3f36df
MA
17762011-07-24 Michael Albinus <michael.albinus@gmx.de>
1777
1778 * net/tramp-sh.el (tramp-barf-unless-okay): Return the value of
1779 `tramp-send-command-and-check' if there is no error.
1780 (tramp-send-command-and-read): Suppress *all* errors if NOERROR.
1781
a9901f61
AM
17822011-07-22 Alan Mackenzie <acm@muc.de>
1783
1784 Prevent cc-langs.elc being loaded at run time.
1785
1786 * progmodes/cc-mode.el: Remove two autoload forms which loaded
1787 cc-langs.
1788
4d61f28d 1789 * progmodes/cc-langs.el (c-make-init-lang-vars-fun): Don't emit
a9901f61
AM
1790 "(require 'cc-langs)". Quote a form so it will evaluate at
1791 (cc-mode's) compilation time.
1792
11d074b2
MA
17932011-07-22 Michael Albinus <michael.albinus@gmx.de>
1794
1795 * net/tramp.el (tramp-file-name-handler): Avoid recursive
1796 loading. (Bug#9114)
1797
938b94c8
MR
17982011-07-21 Martin Rudalics <rudalics@gmx.at>
1799
1800 * window.el (display-buffer-pop-up-window)
1801 (display-buffer-pop-up-side-window)
1802 (display-buffer-in-side-window): Call display-buffer-set-height
1803 and display-buffer-set-width after setting the new window's
b796c9b7 1804 buffer so `fit-window-to-buffer' and friends work on the right buffer.
938b94c8 1805
bfa4f190
SS
18062011-07-20 Sam Steingold <sds@gnu.org>
1807
1808 * progmodes/etags.el (etags-file-of-tag, etags-tags-table-files)
1809 (etags-tags-included-tables): Call `convert-standard-filename' on
1810 the file names contained in TAGS so that windows Emacs can handle
1811 TAGS files created by cygwin ctags.
1812
8ca42262
LMI
18132011-07-20 Lars Magne Ingebrigtsen <larsi@gnus.org>
1814
1815 * proced.el (proced-update): Revert yesterday's bug#1779 patch,
1816 which apparently didn't work.
1817
5db2afd2 18182011-07-19 Roland Winkler <winkler@gnu.org>
2ecab2b5 1819
5db2afd2
RW
1820 * proced.el (proced-send-signal): For *Marked Processes* buffer
1821 put point at beginning of buffer.
1822
92e15d10
SB
18232011-07-19 Stephen Berman <stephen.berman@gmx.net>
1824
1825 * proced.el (proced-format): Make header lines align with the text
1826 (bug#1779).
1827
1bfd59e5
LMI
18282011-07-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
1829
1830 * view.el (view-buffer): Allow running in `special' modes if we're
1831 visiting a file (bug#8615).
1832
f5aae37c
MR
18332011-07-19 Martin Rudalics <rudalics@gmx.at>
1834
1835 * window.el (display-buffer-alist-of-strings-p)
b796c9b7
SM
1836 (display-buffer-alist-set-1, display-buffer-alist-set-2):
1837 New functions.
f5aae37c
MR
1838 (display-buffer-alist-set): Rewrite to handle Emacs 23 options
1839 more accurately.
1840
bf2c1571
AM
18412011-07-18 Alan Mackenzie <acm@muc.de>
1842
1843 Fontify declarators properly when, e.g., a jit-lock chunk begins
1844 inside a declaration.
1845
1846 * progmodes/cc-langs.el (c-symbol-chars): Correct a typo.
1847
b796c9b7
SM
1848 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
1849 New function.
bf2c1571
AM
1850 (c-complex-decl-matchers): Insert reference to
1851 c-font-lock-enclosing-decls.
1852
1853 * progmodes/cc-engine.el (c-backward-single-comment):
1854 (c-backward-comments): Bind open-paren-in-column-0-is-defun-start
1855 to nil around calls to (forward-comment -1).
1856
4e190b80
LMI
18572011-07-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
1858
12dc863d
LMI
1859 * image.el (put-image): Doc typo fix.
1860
a762e966
LMI
1861 * progmodes/etags.el (tags-search): Doc typo fix.
1862
4e190b80
LMI
1863 * mail/smtpmail.el (smtpmail-via-smtp): Query the user for
1864 password if we get errors 550 to 554.
1865
f019fb21
LMI
18662011-07-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
1867
b796c9b7 1868 * net/gnutls.el (gnutls-log-level): Remove.
750c33f7 1869
81746738
LMI
1870 * textmodes/fill.el (adaptive-fill-regexp): Include EN DASH as an
1871 indentation character (bug#6380).
1872
3ee3a1b5
LMI
1873 * files.el (buffer-offer-save): Made permanently local (bug#6241).
1874
c82f64de
LMI
1875 * doc-view.el (doc-view-make-safe-dir): Rewrite the error message
1876 to clarify what the problem is (bug#4291).
1877
f019fb21
LMI
1878 * simple.el (current-kill): Clarify what
1879 `interprogram-paste-function' does (bug#7500).
ca425c7c
LMI
1880 (auto-fill-mode): Document `auto-fill-function' in relation to
1881 `auto-fill-mode' (bug#2470).
f019fb21 1882
0794775d
LM
18832011-07-16 Lawrence Mitchell <wence@gmx.li>
1884
1885 * emacs-lisp/cl-macs.el (defstruct): Ignore argument to setf
1886 method if slot is read-only (bug#9035).
1887
be39b8cc
MR
18882011-07-16 Martin Rudalics <rudalics@gmx.at>
1889
b796c9b7 1890 * frame.el (select-frame-set-input-focus): New argument NORECORD.
be39b8cc 1891 * window.el (pop-to-buffer): Select window used even if it was
b796c9b7
SM
1892 selected before, see discussion of (Bug#8615), (Bug#6954).
1893 Pass argument NORECORD on to select-frame-set-input-focus.
be39b8cc 1894
6ccf7859
GM
18952011-07-15 Glenn Morris <rgm@gnu.org>
1896
1897 * subr.el (read-char-choice): Allow quitting. (Bug#9001)
03ea5b87 1898 Respect help-form.
6ccf7859 1899
87e86684
LM
19002011-07-09 Lawrence Mitchell <wence@gmx.li>
1901
1902 * net/gnutls.el (gnutls-min-prime-bits): New variable.
1903 (gnutls-negotiate): Use it.
1904
d6066239
LMI
19052011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
1906
b796c9b7
SM
1907 * net/gnutls.el (gnutls-negotiate):
1908 Upcase `gnutls-algorithm-priority'.
d6066239 1909
bd23ebc0
GM
19102011-07-15 Glenn Morris <rgm@gnu.org>
1911
c65bca65
GM
1912 * jka-compr.el (jka-compr-verbose): Move from here...
1913 * jka-cmpr-hook.el (jka-compr-verbose): ... to here. (Bug#9090)
1914 Add missing :version tag.
1915 * info.el: No need to require jka-compr when compiling.
bd23ebc0 1916
478615cc
LMI
19172011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
1918
7b41decb
LMI
1919 * net/gnutls.el (gnutls-algorithm-priority): New variable.
1920 (gnutls-negotiate): Use it.
1921
dbc44fcd
LMI
1922 * emacs-lisp/cl-macs.el (declare): Link to the "Declarations" node.
1923
06789f97
LMI
1924 * info.el (Info-beginning-of-buffer): New command.
1925 (Info-mode-map): Use it instead of `beginning-of-buffer' to allow
1926 announcing `b' as the key (bug#8325).
ab896c37 1927 (Info-mode-menu): Use `Info-beginning-of-buffer' for consistency.
06789f97 1928
c39da690
LMI
1929 * emacs-lisp/cl-macs.el (declare): Doc string fix-up.
1930
3aa5f34b
LMI
1931 * international/mule-cmds.el
1932 (describe-specified-language-support): Make the error message
1933 clearer (bug#8905).
1934
4bf0979f
LMI
1935 * emacs-lisp/cl-macs.el (declare): Add a doc string (bug#8690).
1936
478615cc
LMI
1937 * isearch.el (isearch-barrier): Add a doc string, since it's
1938 mentioned in a function doc string (bug#8678).
1939
75c68aa1
MR
19402011-07-15 Martin Rudalics <rudalics@gmx.at>
1941
1942 * window.el (switch-to-buffer): Call pop-to-buffer with normalized
1943 buffer argument (Bug#9083) and self-identifying label argument.
1944
a7c33da2
GM
19452011-07-15 Glenn Morris <rgm@gnu.org>
1946
1947 * emacs-lisp/debug.el (debug): Doc fix. (Bug#8273)
1948
2f5c6024
LMI
19492011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
1950
1951 * man.el (Man-fontify-manpage): Fix message when formatting the
1952 man page (bug#7929).
1953
0bb23927 19542011-07-14 Eli Zaretskii <eliz@gnu.org>
cce4b0a7
EZ
1955
1956 * buff-menu.el (Buffer-menu-buffer+size): Accept an additional
1957 argument LRM; if non-nil, append an invisible LRM character to the
1958 buffer name.
1959 (list-buffers-noselect): Call Buffer-menu-buffer+size with the
1960 last argument non-nil, when formatting buffer names.
0bb23927
EZ
1961 (Buffer-menu-mode, list-buffers-noselect): Force left-to-right
1962 paragraph direction.
cce4b0a7 1963
621ef9ab
LMI
19642011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
1965
d1583c48
LMI
1966 * man.el (Man-bgproc-sentinel): Skip any arguments and only output
1967 the man page name (bug#7929).
1968
6a57fb5f
LMI
1969 * image.el (put-image): Mention the `put-image' overlay property
1970 (bug#7834).
1971
d7956b14
LMI
1972 * scroll-bar.el (set-scroll-bar-mode): Mention that
1973 `scroll-bar-mode' lists the values (bug#7772).
1974
5b2d4a66
LMI
1975 * image-mode.el (image-mode-fit-frame): Mention that it's a toggle
1976 command (bug#7729).
1977
7509a874
LMI
1978 * rect.el (apply-on-rectangle): Return the point after the last
1979 operation.
1980 (string-rectangle): Go to the point after the last operation
1981 (bug#7522).
1982
4fe74b19
LMI
1983 * printing.el (pr-toggle-region): Clarify the documentation
1984 slightly (bug#7493).
1985
b796c9b7
SM
1986 * time.el (display-time-update):
1987 Allow `display-time-mail-function' to return nil (bug#7158).
1988 Fix suggested by Detlev Zundel.
ab283561 1989
fc233c9d
LMI
1990 * vc/diff.el (diff): Clarify the order the file names are read
1991 (bug#7111).
1992
43f5740b
LMI
1993 * mouse.el (mouse-set-region): Link to `mouse-drag-copy-region' in
1994 the doc string (bug#7015).
1995
f2182a76
LMI
1996 * font-lock.el (font-lock-maximum-decoration): Mention what
1997 numeric levels mean (bug#6935).
1998
621ef9ab
LMI
1999 * startup.el (initial-buffer-choice): Don't mention the `none'
2000 selection, which is against policy.
2001
adc47434
MR
20022011-07-14 Martin Rudalics <rudalics@gmx.at>
2003
b796c9b7
SM
2004 * window.el (display-buffer-normalize-special):
2005 Replace `dedicated' by `dedicate' to dedicate window (Bug#9072).
adc47434 2006
7e5bfb8f
EZ
20072011-07-14 Eli Zaretskii <eliz@gnu.org>
2008
2009 * subr.el (version<, version<=, version=): Mention "-CVS" and
2010 "-12345" alpha version numbers.
2011
27fa387a
CY
20122011-07-14 Chong Yidong <cyd@stupidchicken.com>
2013
2014 * bindings.el: Add advertised binding for set-mark-command
2015 (Bug#5772).
2016
8bdfa064
CY
20172011-07-14 Chong Yidong <cyd@stupidchicken.com>
2018
2019 * bindings.el (mode-line-other-buffer):
2020 * bookmark.el (bookmark-bmenu-2-window):
2021 * bs.el (bs-cycle-next, bs-cycle-previous):
2022 * net/tramp-cmds.el (tramp-append-tramp-buffers): Revert to using
2023 switch-to-buffer.
2024
2025 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
b796c9b7 2026 Delete.
8bdfa064 2027
5eba16a3
JB
20282011-07-14 Juanma Barranquero <lekktu@gmail.com>
2029
2030 * follow.el (follow-debug-message, follow-redisplay):
2031 * jka-cmpr-hook.el (with-auto-compression-mode):
2032 Fix typos in docstrings.
2033
15853710
LMI
20342011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
2035
a28e4607
LMI
2036 * subr.el (with-silent-modifications): Clarify somewhat what the
2037 macro inhibits (bug#6525).
2038
15853710
LMI
2039 * simple.el (eval-expression): Note what it does if called
2040 interactively (bug#6495).
2041
bee0fcef
CY
20422011-07-13 Chong Yidong <cyd@stupidchicken.com>
2043
b796c9b7
SM
2044 * window.el (switch-to-buffer): New arg FORCE-SAME-WINDOW.
2045 Use pop-to-buffer buffer-or-name if it is nil.
bee0fcef
CY
2046
2047 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
2048 Remove switch-to-buffer.
2049
58274504
LMI
20502011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
2051
bd2fcc8d
LMI
2052 * files.el (make-directory): Clarify that an error will be raised
2053 if there's an error (bug#6397).
2054
0f04b32c
LMI
2055 * startup.el (initial-buffer-choice): Add `none' as a choice
2056 (bug#6234).
2057
465c5fc8
LMI
2058 * subr.el (add-hook): Clarify section about buffer-local hooks
2059 (bug#6218).
2060
58274504
LMI
2061 * dired.el (dired-flagged): Clarify doc string (bug#6117).
2062
bead9a43
JB
20632011-07-13 Juanma Barranquero <lekktu@gmail.com>
2064
2065 * tabify.el (untabify): Preserve the current column so that point
2066 doesn't move (bug#6032).
2067
3af98a7b
LMI
20682011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
2069
b796c9b7
SM
2070 * progmodes/cperl-mode.el (cperl-syntaxify-by-font-lock):
2071 Rewrite to avoid awkward possessive "s" (bug#5986).
3af98a7b 2072
6240145a
GM
20732011-07-13 Glenn Morris <rgm@gnu.org>
2074
2075 * dired.el (dired-use-ls-dired): Doc fix. (Bug#9039).
2076 (dired-insert-directory): Give a message the first time
2077 if ls is found not to support --dired.
2078
1d8c2ccc
LMI
20792011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
2080
2081 * simple.el (toggle-truncate-lines): Clarify what is toggled
2082 (bug#5580). Text by Drew Adams.
2083
5fc4038e
CY
20842011-07-13 Chong Yidong <cyd@stupidchicken.com>
2085
2086 * simple.el (blink-matching-open): Make the error message from the
2087 last change less verbose.
2088
bf6012e5
DN
20892011-07-13 Dan Nicolaescu <dann@ics.uci.edu>
2090
2091 * font-lock.el (font-lock-comment-face): Use the high contrast
2092 "yellow" color for font-lock-comment-face on low color terminals
2093 using a dark background color (bug#4221).
2094
343c3b5a
LMI
20952011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
2096
7e9505c5
LMI
2097 * dired.el (dired-insert-set-properties): Make the doc string
2098 reflect what it does now (bug#5325).
2099
c26fdcf5
LMI
2100 * simple.el (blink-matching-open): Say that we were unable to find
2101 the match within the limit, if we're limited (bug#5122).
2102
bb388cc5
LMI
2103 * international/mule-cmds.el (prefer-coding-system): Add an
2104 example (bug#4869).
2105
343c3b5a
LMI
2106 * progmodes/etags.el (tags-search): Document `file-list-form'
2107 (bug#4731).
2108
2a517d45
LM
21092011-07-13 Lawrence Mitchell <wence@gmx.li>
2110
2111 * net/browse-url.el (browse-url-default-browser)
2112 (browse-url-browser-function): Make the default browser choice a
2113 bit more logical (bug#4300). Also clean up the doc string.
2114
b6c78ef2
JB
21152011-07-13 Juanma Barranquero <lekktu@gmail.com>
2116
2117 * bindings.el (completion-ignored-extensions): Add OpenMCL/Clozure
2118 binary endings (bug#4440).
2119
1c4dd947
LMI
21202011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
2121
a2014063
LMI
2122 * info.el (info-insert-file-contents): Inhibit jka-compr messages,
2123 which can be pretty annoying (bug#8971).
2124
9c9c2d88
LMI
2125 * jka-compr.el (jka-compr-verbose): New variable, and use
2126 throughout (bug#8971).
2127
1c4dd947
LMI
2128 * info.el (Info-find-file): Fall back on the installation
2129 directory if we can't find the info node anywhere else.
2130
a1c9f41b
SO
21312011-07-13 Sergei Organov <osv@javad.com> (tiny change)
2132
2133 * vc/vc.el (vc-revert-file):
2134 Don't set file time-stamp in the past. (Bug#5181)
2135
536f3d36
LMI
21362011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
2137
7152b011
LMI
2138 * files.el (after-find-file): Give a better error message when
2139 trying to find a symlink that points to a file that doesn't exist
2140 (bug#4398).
2141
536f3d36
LMI
2142 * progmodes/cc-vars.el: Remove (probably) misleading comment
2143 (bug#4396).
2144
460c0fba
JB
21452011-07-12 Johan Bockgård <bojohan@gnu.org>
2146
2147 * mouse-sel.el (mouse-sel-primary-overlay): Use the `region' face.
2148
7a6bda45
CY
21492011-07-12 Chong Yidong <cyd@stupidchicken.com>
2150
2151 * mouse-sel.el: Hack restoring functionality, while keeping
2152 compatibility with 2010-07-03 changes to mouse selection.
2153 (mouse-sel-primary-overlay): New var.
2154 (mouse-sel-selection-alist): Use it.
2155 (mouse-sel-mode): Doc fix; remove points that are default features
2156 of mouse.el.
2157
c79598ef
JB
21582011-07-12 Johan Bockgård <bojohan@gnu.org>
2159
2160 * progmodes/compile.el (compilation-error-regexp-alist-alist):
2161 Fix previous fix (bug#2490).
2162
ff8be6ef
RW
21632011-07-12 Roland Winkler <winkler@gnu.org>
2164
b796c9b7
SM
2165 * textmodes/bibtex.el (bibtex-initialize):
2166 Use pop-to-buffer-same-window.
ff8be6ef
RW
2167 (bibtex-search-entries): Fix interactive call.
2168
296ba3ee
LMI
21692011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
2170
f5242a02 2171 * progmodes/compile.el (compilation-error-regexp-alist-alist):
b796c9b7
SM
2172 Fontise bytecomp Error lines more correctly (bug#2490).
2173 Fix suggested by Johan Bockgård.
f5242a02 2174
296ba3ee
LMI
2175 * subr.el (remove-duplicates): Remove; `delete-dups' is sufficient.
2176
2177 * dired-x.el (dired-guess-default): Use `delete-dups'.
2178
f69fd0d2
CY
21792011-07-12 Chong Yidong <cyd@stupidchicken.com>
2180
2181 * dired.el (dired-mark-prompt):
2182 * dired-aux.el (dired-read-shell-command): Doc fix.
2183
eab5dc07
LMI
21842011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
2185
b796c9b7
SM
2186 * mail/sendmail.el (sendmail-query-once):
2187 Use `customize-save-variable' unconditionally, now that it works under
9988520a
LMI
2188 emacs -Q.
2189
2190 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
2191
eab5dc07
LMI
2192 * cus-edit.el (custom-file): Take an optional no-error variable.
2193 (customize-save-variable): Set the variable, and give a warning if
2194 running under "emacs -q".
2195
a1e65d42
JB
21962011-07-11 Juanma Barranquero <lekktu@gmail.com>
2197
2198 * loadhist.el (unload-feature-special-hooks):
2199 Add `auto-coding-functions', `fill-nobreak-predicate' and
2200 `find-directory-functions' (bug#5327).
2201
1d52da10
LMI
22022011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
2203
be958f1d
LMI
2204 * vc/ediff.el (ediff-patch-file): Clarify doc string (bug#3138).
2205
5bedb26c
LMI
2206 * cus-edit.el (custom-guess-name-alist): -alist variables should
2207 use the `alist' type (bug#3120). Suggested by Drew Adams.
2208
1d52da10
LMI
2209 * printing.el: Add documentation to all the `pr-toggle-' commands.
2210
481a51b6
LL
22112011-07-11 Leo <sdl.web@gmail.com> (tiny change)
2212
2213 * files.el (toggle-read-only): Only do the `C-x C-q' warning on VC
2214 backends where it makes sense (bug#2623).
2215
dcc88d8a
LMI
22162011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
2217
c3de9feb
LMI
2218 * dired-x.el (dired-guess-default): Remove duplicate shell command
2219 entries (bug#2028).
8a93078b 2220 (dired-guess-default): Fix grammar in doc string (bug#2028).
eea84fe5 2221 (dired-guess-shell-alist-user): Clarify the example a bit (bug#2030).
c3de9feb 2222
dcc88d8a
LMI
2223 * subr.el (remove-duplicates): New conveniency function.
2224
505e3645
LMI
22252011-07-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
2226
2227 * tool-bar.el (tool-bar-mode): Clarify positive/negative arguments
2228 (bug#1526).
2229
22302011-07-10 Martin Rudalics <rudalics@gmx.at>
2231
2232 * window.el (display-buffer-normalize-default): Don't invert
2233 meaning of even-window-heights. Reported by Eli Zaretskii
2234 <eliz@gnu.org>.
2235
455e4fa1
BR
22362011-07-10 Bob Rogers <rogers@rgrjr.dyndns.org>
2237
2238 * vc/vc.el (vc-diff-internal): Fix race condition (Bug#1256).
2239
8e0bc3e9
CY
22402011-07-10 Chong Yidong <cyd@stupidchicken.com>
2241
2242 * window.el (display-buffer): Fix arguments to
2243 display-buffer-reuse-window in last change.
2244
fa7c3228
CY
2245 * faces.el (link): Use a less saturated blue on light backgrounds.
2246
2247 * startup.el (fancy-startup-text, fancy-about-text)
2248 (fancy-startup-tail): Use font-lock faces, for background safety.
2249
c0a7f300
BN
22502011-07-09 Bob Nnamtrop <bobnnamtrop@gmail.com> (tiny change)
2251
b796c9b7
SM
2252 * emulation/viper-cmd.el (viper-change-state-to-vi):
2253 Limit triggering of abbrev expansion (Bug#9038).
c0a7f300 2254
4dc2a129
MR
22552011-07-09 Martin Rudalics <rudalics@gmx.at>
2256
2257 * window.el (display-buffer-default-specifiers): Remove.
2258 (display-buffer-macro-specifiers): Remove default specifiers.
2259 (display-buffer-alist): Default to nil.
b796c9b7 2260 (display-buffer-reuse-window): New optional argument other-window.
4dc2a129
MR
2261 (display-buffer-pop-up-window): Allow splitting internal
2262 windows. Check whether a live window was created.
2263 (display-buffer-other-window-means-other-frame)
2264 (display-buffer-normalize-arguments): Rename to
2265 display-buffer-normalize-argument and rewrite. Set the
2266 other-window specifier.
2267 (display-buffer-normalize-special): New function.
2268 (display-buffer-normalize-options): Rename to
2269 display-buffer-normalize-default and rewrite.
2270 (display-buffer-normalize-options-inhibit): Remove.
2271 (display-buffer-normalize-specifiers): Rewrite.
2272 (display-buffer): Process other-window specifier and call
2273 display-buffer-reuse-window with it. Emulate Emacs 23 behavior
2274 more faithfully.
b796c9b7 2275 (pop-up-windows, even-window-heights): Restore Emacs 23 default values.
4dc2a129 2276 (display-buffer-alist-set): Don't handle 'unset default values.
b796c9b7
SM
2277 (display-buffer-in-window, display-buffer-alist-set):
2278 Replace symbol "dedicated" by "dedicate". Reported by Tassilo Horn
4dc2a129
MR
2279 <tassilo@member.fsf.org>.
2280
2d43b8c9
LL
22812011-07-09 Leo Liu <sdl.web@gmail.com>
2282
2283 * register.el (insert-register): Restore accidental change on
2284 2011-06-26. (Bug#9028)
2285
7f9b7c53
GM
22862011-07-09 Glenn Morris <rgm@gnu.org>
2287
2288 * subr.el (remq): Handle the empty list. (Bug#9024)
2289
f042cfd8
AS
22902011-07-08 Andreas Schwab <schwab@linux-m68k.org>
2291
2292 * mail/sendmail.el (send-mail-function): No longer delay custom
2293 initialization.
2294 * custom.el (custom-initialize-delay): Doc fix.
2295
856b2f11
SM
22962011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
2297
2298 * abbrev.el (expand-abbrev): Try to preserve point (bug#5805).
2299
afae1d68
MA
23002011-07-08 Michael Albinus <michael.albinus@gmx.de>
2301
2302 * net/tramp-sh.el (tramp-sh-handle-start-file-process): Use a
2303 human-friendly prompt.
2304
0757af94
SM
23052011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
2306
2307 * vc/vc-bzr.el (vc-bzr-revision-keywords): Remove svn, it's only
2308 provided by a particular plugin.
2309
d760b731
LMI
23102011-07-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
2311
2312 * mail/sendmail.el (sendmail-query-once): If we aren't allowed to
2313 save customizations (with "emacs -Q"), just set the variable
2314 instead of erroring out.
2315
2316 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
2317
cd79ce90
JL
23182011-07-08 Juri Linkov <juri@jurta.org>
2319
2320 * arc-mode.el (archive-zip-expunge, archive-zip-update)
2321 (archive-zip-update-case): Use 7z if found by `executable-find'.
2322 The order of searching the available programs is the same as in
2323 `archive-zip-extract' (bug#8968).
2324
14cc04aa
CY
23252011-07-07 Chong Yidong <cyd@stupidchicken.com>
2326
2327 * menu-bar.el (menu-bar-line-wrapping-menu): Revert last change.
2328 (menu-bar-options-menu): Tweak descriptions.
2329
0a1848ec
LMI
23302011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
2331
2332 * menu-bar.el (menu-bar-line-wrapping-menu): Make all the Options
2333 menu items into verb phrases (bug#1421). Also refill to fit under
2334 80 columns.
2335
f5bd0689
CY
23362011-07-07 Chong Yidong <cyd@stupidchicken.com>
2337
538e85c6
CY
2338 * info.el (info, Info-read-node-name-2, Info-read-node-name-1)
2339 (Info-read-node-name): Doc fix (Bug#1084).
2340
f5bd0689
CY
2341 * thingatpt.el (forward-thing, bounds-of-thing-at-point)
2342 (thing-at-point, beginning-of-thing, end-of-thing, in-string-p)
2343 (end-of-sexp, beginning-of-sexp)
2344 (thing-at-point-bounds-of-list-at-point, forward-whitespace)
2345 (forward-symbol, forward-same-syntax, word-at-point)
2346 (sentence-at-point): Doc fix (Bug#1144).
2347
56ec5115
LMI
23482011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
2349
f3f8e37f
LMI
2350 * info.el (Info-mode-map): Remove S-TAB binding, since [backtab]
2351 should cover it (bug#1281).
2352
0757af94 2353 * cus-edit.el (custom-show): Mark as obsolete.
af0905c8 2354
12b9eb35
LMI
2355 * net/network-stream.el (network-stream-open-starttls): If gnutls
2356 negotiation fails, then possibly try again with a non-encrypted
2357 connection (bug#9017).
2358
56ec5115
LMI
2359 * mail/smtpmail.el (smtpmail-stream-type): Note that `plain' can
2360 be used.
2361
c2f9aec8
RS
23622011-07-07 Richard Stallman <rms@gnu.org>
2363
2364 * mail/rmail.el (rmail-next-error-move): Use `compilation-message'
2365 property, and handle its changed format.
2366 Look for the correct line number.
2367 Use file's line contents (but not past first =) to find
2368 correct line in message.
2369
ef7b981d 23702011-07-07 Kenichi Handa <handa@m17n.org>
c805dec0
KH
2371
2372 * international/characters.el (build-unicode-category-table):
2373 Delete it.
0757af94 2374 (unicode-category-table): Set it by unicode-property-table-internal.
c805dec0 2375
0757af94 2376 * international/mule-cmds.el (char-code-property-alist): Move to
c805dec0
KH
2377 to src/chartab.c.
2378 (get-char-code-property): Call unicode-property-table-internal to
2379 load a file. Call get-unicode-property-internal where necessary.
2380 (put-char-code-property): Call unicode-property-table-internal to
2381 load a file. Call put-unicode-property-internal where necessary.
2382 put-unicode-property-internal where necessary.
0757af94
SM
2383 (char-code-property-description):
2384 Call unicode-property-table-internal to load a file.
c805dec0
KH
2385
2386 * international/charprop.el:
2387 * international/uni-bidi.el:
2388 * international/uni-category.el:
2389 * international/uni-combining.el:
2390 * international/uni-comment.el:
2391 * international/uni-decimal.el:
2392 * international/uni-decomposition.el:
2393 * international/uni-digit.el:
2394 * international/uni-lowercase.el:
2395 * international/uni-mirrored.el:
2396 * international/uni-name.el:
2397 * international/uni-numeric.el:
2398 * international/uni-old-name.el:
2399 * international/uni-titlecase.el:
2400 * international/uni-uppercase.el: Regenerate.
2401
2402 * loadup.el: Load international/charprop.el before
2403 international/characters.
2404
e14b388a
CY
24052011-07-07 Chong Yidong <cyd@stupidchicken.com>
2406
2407 * window.el (next-buffer, previous-buffer): Signal an error if
2408 called from a minibuffer window.
2409
2410 * bindings.el: Revert 2011-07-04 change.
2411
354cf0ba
RS
24122011-07-06 Richard Stallman <rms@gnu.org>
2413
2414 * mail/rmailmm.el (rmail-mime-process): Use markers for buf positions.
2415 (rmail-mime-insert-bulk, rmail-mime-insert-text):
2416 Treat markers like ints.
2417 (rmail-mime-entity): Doc fix.
2418
a48868a7
LMI
24192011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
2420
4906cd3d
LMI
2421 * mail/smtpmail.el (smtpmail-default-smtp-server): Made into a
2422 defcustom again for backwards compatibility.
2423
e0457abe
LMI
2424 * simple.el (shell-command-on-region): Fill.
2425
d67f7e1f
LMI
2426 * dired-aux.el (dired-kill-line): Add a doc string.
2427
fe204702
LMI
2428 * dabbrev.el (dabbrev-abbrev-char-regexp): Note that nil defaults
2429 to "\\sw\\|\\s_" (bug#358).
2430
a48868a7
LMI
2431 * dired.el (dired-mode): Clarify "unmark or unflag" (bug#8770).
2432 (dired-unmark-backward): Ditto.
2433 (dired-flag-backup-files): Ditto.
2434
2435 * dired-x.el (dired-mark-sexp): Ditto.
2436
aa8a705c
RS
24372011-07-06 Richard Stallman <rms@gnu.org>
2438
2439 * mail/rmailmm.el: Give entity a new slot, TRUNCATED.
2440 (rmail-mime-entity): New arg TRUNCATED.
2441 (rmail-mime-entity-truncated, rmail-mime-entity-set-truncated):
2442 New functions.
2443 (rmail-mime-save): Warn if entity is truncated.
2444 (rmail-mime-toggle-hidden): Likewise, for showing.
2445 (rmail-mime-process-multipart): Record when an entity is truncated.
2446
a9a936b9
RS
2447 * mail/rmailmm.el (rmail-search-mime-message): Don't get confused
2448 if ENTITY is a string.
2449
1f2b92cb
LMI
24502011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
2451
f4f73198 2452 * emacs-lisp/lisp-mode.el (eval-defun-1): Update the documentation
0757af94
SM
2453 of faces when `M-C-x'-ing their definitions (bug#8378).
2454 Also clean up the code slightly.
f4f73198 2455
12b16734
LMI
2456 * progmodes/grep.el (rgrep): Don't bind `process-connection-type',
2457 because that makes the colours go away.
2458
f0691d22
LMI
2459 * mail/sendmail.el (send-mail-function): Change the default to
2460 `sendmail-query-once'.
9e87df06 2461 (sendmail-query-once): Add an autoload cookie.
f0691d22 2462
1f2b92cb
LMI
2463 * net/network-stream.el (network-stream-open-starttls): Try using
2464 a plain connection even if the server offered STARTTLS, and we
2465 kinda wanted to use it, if Emacs doesn't have any STARTTLS
2466 capability. This should make smtpmail.el work in slightly more
2467 configurations.
2468
1cdd2a1b
MA
24692011-07-06 Michael Albinus <michael.albinus@gmx.de>
2470
2471 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
2472 New defun.
2473 * net/tramp-cmds.el (tramp-append-tramp-buffers): Use it.
2474
fbcc67e2
MM
24752011-07-06 Michael R. Mauger <mmaug@yahoo.com>
2476
2477 * progmodes/sql.el: Version 3.0
0757af94 2478 (sql-product-alist): Add product :completion-object,
fbcc67e2 2479 :completion-column, and :statement attributes.
0757af94 2480 (sql-mode-menu, sql-interactive-mode-map): Fix List entries.
fbcc67e2 2481 (sql-mode-syntax-table): Mark all punctuation.
0757af94 2482 (sql-font-lock-keywords-builder): Temporarily remove fallback on
fbcc67e2
MM
2483 ansi keywords.
2484 (sql-regexp-abbrev, sql-regexp-abbrev-list): New functions.
0757af94 2485 (sql-mode-oracle-font-lock-keywords): Improve.
fbcc67e2
MM
2486 (sql-oracle-show-reserved-words): New function for development.
2487 (sql-product-font-lock): Simplify for source code buffers.
2488 (sql-product-syntax-table, sql-product-font-lock-syntax-alist):
2489 New functions.
2490 (sql-highlight-product): Set product specific syntax table.
0757af94
SM
2491 (sql-mode-map): Add statement movement functions.
2492 (sql-ansi-statement-starters, sql-oracle-statement-starters):
2493 New variable.
fbcc67e2
MM
2494 (sql-statement-regexp, sql-beginning-of-statement)
2495 (sql-end-of-statement, sql-signum): New functions.
0757af94 2496 (sql-buffer-live-p, sql=find-sqli-buffer): Add CONNECTION parameter.
fbcc67e2
MM
2497 (sql-show-sqli-buffer): Bug fix.
2498 (sql-interactive-mode): Store connection data as buffer local.
0757af94 2499 (sql-connect): Add NEW-NAME parameter. Redesign interaction
fbcc67e2
MM
2500 with sql-interactive-mode.
2501 (sql-save-connection): Save buffer local settings.
0757af94 2502 (sql-connection-menu-filter): Change menu entry name.
fbcc67e2
MM
2503 (sql-product-interactive): Bug fix.
2504 (sql-preoutput-hold): New variable.
2505 (sql-interactive-remove-continuation-prompt): Bug fixes.
2506 (sql-debug-redirect): New variable.
2507 (sql-str-literal): New function.
2508 (sql-redirect, sql-redirect-one, sql-redirect-value, sql-execute):
0757af94 2509 Redesign.
fbcc67e2
MM
2510 (sql-oracle-save-settings, sql-oracle-restore-settings)
2511 (sql-oracle-list-all, sql-oracle-list-table): New functions.
2512 (sql-completion-object, sql-completion-column)
2513 (sql-completion-sqlbuf): New variables.
2514 (sql-build-completions-1, sql-build-completions)
2515 (sql-try-completion): New functions.
2516 (sql-read-table-name): Use them.
2517 (sql-contains-names): New buffer local variable.
2518 (sql-list-all, sql-list-table): Use it.
2519 (sql-oracle-completion-types): New variable.
2520 (sql-oracle-completion-object, sql-sqlite-completion-object)
2521 (sql-postgres-completion-object): New functions.
2522
d4eaeab1
GM
25232011-07-06 Glenn Morris <rgm@gnu.org>
2524
2525 * window.el (pop-to-buffer): Doc fix.
2526
322b7dab 25272011-07-06 Markus Heiser <markus.heiser@darmarit.de> (tiny change)
a1d3a912
CY
2528
2529 * progmodes/gud.el (gud-pdb-marker-regexp): Accept \r char (Bug#5653).
2530
322b7dab 25312011-07-06 Chong Yidong <cyd@stupidchicken.com>
0484d600 2532
322b7dab 2533 * window.el (special-display-popup-frame): Doc fix (Bug#8853).
4f8f657f 2534
322b7dab 2535 * info.el (Info-directory-toc-nodes): Minor doc fix (Bug#8833).
8f43cbf3 2536
605dd5bf
CY
25372011-07-05 Chong Yidong <cyd@stupidchicken.com>
2538
2539 * button.el (button): Inherit from link face. Suggested by Dan
2540 Nicolaescu.
2541
7dbfa719
SM
25422011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
2543
3db614b0
SM
2544 * progmodes/gdb-mi.el: Fit in 80 columns.
2545 (gdb-setup-windows, gdb-restore-windows): Avoid other-window and
2546 switch-to-buffer.
2547
7dbfa719
SM
2548 * progmodes/which-func.el (which-func-ff-hook): Don't output a message
2549 if imenu is simply not configured (bug#8941).
2550
919d884a
KM
25512011-07-05 Ken Manheimer <ken.manheimer@gmail.com>
2552
2553 * allout.el (allout-post-undo-hook): New allout outline-change
2554 event hook to signal undo activity.
2555 (allout-post-command-business): Run allout-post-undo-hook if an
2556 undo just occurred.
7dbfa719
SM
2557 (allout-after-copy-or-kill-hook, allout-mode): Minor docstring changes.
2558 * allout-widgets.el (allout-widgets-after-undo-function):
2559 Ensure the integrity of the current item's decoration after it has been
919d884a
KM
2560 in the vicinity of an undo.
2561 (allout-widgets-mode): Include allout-widgets-after-undo-function
2562 on the new allout-post-undo-hook.
2563
450a0f09
SM
25642011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
2565
2566 * emacs-lisp/lisp-mode.el (lisp-interaction-mode-abbrev-table):
2567 Let define-derived-mode define it.
2568 * emacs-lisp/derived.el (define-derived-mode): Try to avoid creating
2569 cycles of abbrev-table inheritance (bug#8998).
2570
2de69e00
RW
25712011-07-05 Roland Winkler <winkler@gnu.org>
2572
2573 * textmodes/bibtex.el: Add support for biblatex.
2574 (bibtex-BibTeX-entry-alist, bibtex-biblatex-entry-alist)
2575 (bibtex-BibTeX-field-alist, bibtex-biblatex-field-alist)
2576 (bibtex-dialect-list, bibtex-dialect, bibtex-no-opt-remove-re)
2577 (bibtex-entry-alist, bibtex-field-alist): New variables.
2578 (bibtex-entry-field-alist): Obsolete alias for
2579 bibtex-BibTeX-entry-alist.
2580 (bibtex-entry-alist, bibtex-field-alist): New widgets.
2581 (bibtex-set-dialect): New command.
2582 (bibtex-entry-type, bibtex-entry-head)
450a0f09
SM
2583 (bibtex-entry-maybe-empty-head, bibtex-any-valid-entry-type):
2584 Bind via bibtex-set-dialect.
2de69e00
RW
2585 (bibtex-Article, bibtex-Book, bibtex-Booklet, bibtex-InBook)
2586 (bibtex-InCollection, bibtex-InProceedings, bibtex-Manual)
2587 (bibtex-MastersThesis, bibtex-Misc, bibtex-PhdThesis)
2588 (bibtex-Proceedings, bibtex-TechReport, bibtex-Unpublished):
2589 Define via bibtex-set-dialect.
450a0f09
SM
2590 (bibtex-name-in-field, bibtex-remove-OPT-or-ALT):
2591 Obey bibtex-no-opt-remove-re.
2de69e00
RW
2592 (bibtex-vec-push, bibtex-vec-incr): New functions.
2593 (bibtex-format-entry, bibtex-field-list)
2594 (bibtex-print-help-message, bibtex-validate)
2595 (bibtex-search-entries): Use new format of bibtex-entry-alist.
2596
2dcdbdd9
SM
25972011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
2598
2599 * progmodes/compile.el (compilation-goto-locus):
2600 * net/tramp-cmds.el (tramp-append-tramp-buffers):
2601 * bs.el (bs-cycle-next, bs-cycle-previous):
2602 * bookmark.el (bookmark-bmenu-list, bookmark-bmenu-2-window):
2603 * bindings.el (mode-line-other-buffer):
2604 * autoinsert.el (auto-insert):
2605 * arc-mode.el (archive-extract):
2606 * abbrev.el (edit-abbrevs): Fix some uses of switch-to-buffer.
2607
b27640fe
JB
26082011-07-05 Juanma Barranquero <lekktu@gmail.com>
2609
2610 * emacs-lock.el (emacs-lock-mode): Fix typo in variable name.
2611 Fix check of `emacs-lock-unlockable-modes'.
2612 Coerce true values of `emacs-lock--try-unlocking' to t.
2613
53bbe3ad
JB
26142011-07-05 Juanma Barranquero <lekktu@gmail.com>
2615
2616 * obsolete/old-emacs-lock.el: Rename from emacs-lock.el.
2617 * emacs-lock.el: New file.
2618
1d3cdbc7
JD
26192011-07-05 Julien Danjou <julien@danjou.info>
2620
2621 * textmodes/rst.el (rst-define-level-faces): Use `facep' rather
2622 than `boundp' to check if face is set.
2623
9173deec
JB
26242011-07-05 Juanma Barranquero <lekktu@gmail.com>
2625
2626 * register.el (registerv-make):
2627 * window.el (window-min-height): Fix typos in docstrings.
2628
869795d6
JD
26292011-07-05 Jan Djärv <jan.h.d@swipnet.se>
2630
9173deec 2631 * dynamic-setting.el (dynamic-setting-handle-config-changed-event):
869795d6
JD
2632 Update doc string.
2633
b768cdcd
JB
26342011-07-04 Juanma Barranquero <lekktu@gmail.com>
2635
2636 * server.el (server-execute): Catch quit and call
2637 `server-return-error' to pass the error back to emacsclient and
2638 close the connection (bug#8942).
2639
13aa217b
KM
26402011-07-04 Ken Manheimer <ken.manheimer@gmail.com>
2641
2642 * allout.el (allout-encrypt-unencrypted-on-saves): Do not provide
2643 insecure exception for current topic. Also note that auto-saves
2644 are handled differently.
2645
2646 (allout-auto-save-temporarily-disabled), (allout-just-did-undo):
2647 State variables for tracking auto-save inhibition situation.
2648
2649 (allout-write-contents-hook-handler): Rename from
2650 'allout-write-file-hook-handler', and describe how it depends on
2651 write-contents-functions sensitivity to non-nil value to prevent
2652 file write.
2653
2654 (allout-auto-save-hook-handler): Remove. auto-save does not check
2655 this in individual buffers, only in the starting buffer, so this
2656 is not the right way for us to inhibit auto-save in a buffer
2657 according to its condition.
2658
2659 (allout-mode): Use new allout-write-contents-hook-handler, and
2660 only with write-contents-functions. Remove auto-save provisions -
2661 they're implemented elsewhere.
2662
2663 (allout-before-change-handler): If undo is in progress, note that
2664 for attention of allout-post-command-business.
2665
2666 (allout-post-command-business): If the command we're following was
2667 an undo, check for change in the status of encrypted items and
2668 adjust auto-save inhibitions accordingly.
2669
2670 (allout-toggle-subtree-encryption): Adjust auto-save inhibition
2671 according to whether there are or aren't any plain-text topics
2672 pending encryption.
2673
2dcdbdd9
SM
2674 (allout-inhibit-auto-save-info-for-decryption):
2675 Adjust buffer-saved-size and some allout state to inhibit auto-saves if
13aa217b
KM
2676 there are plain-text topics pending encryption.
2677
2678 (allout-maybe-resume-auto-save-info-after-encryption): Adjust
2679 buffer-saved-size and some allout state to not inhibit auto-saves
2680 if there are no longer any plain-text topics pending encryption.
2681
0757af94
SM
2682 (allout-next-topic-pending-encryption, allout-encrypt-decrypted):
2683 No longer provide for exemption of the current topic.
13aa217b 2684
ac89b32c
JL
26852011-07-04 Juri Linkov <juri@jurta.org>
2686
2687 Add 7z operations to delete and save changed members (bug#8968).
2688 * arc-mode.el (archive-7z-expunge, archive-7z-update):
2689 New defcustoms.
2690 (archive-7z-write-file-member): New function.
2691 (archive-7z-summarize): Fix the number of dashes in the
2692 listing output.
2693
8fa39615
SM
26942011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
2695
2696 * pcmpl-linux.el (pcomplete-pare-list): Re-add, from pcomplete.el
2697 (bug#8958).
2698
2f11b3f1
CY
26992011-07-04 Chong Yidong <cyd@stupidchicken.com>
2700
d66fef2b
CY
2701 * bindings.el: Ignore next-buffer and previous-buffer in
2702 minibuffer-local-map.
2703
2f11b3f1
CY
2704 * font-lock.el (font-lock-builtin-face): Change light background
2705 color to dark slate blue (Bug#6693).
2706
f932a347
WD
27072011-07-04 Wang Diancheng <dcwang@kingbase.com.cn> (tiny change)
2708
2709 * progmodes/gdb-mi.el (gdb): Use completion-at-point.
2710
c8af70e1
SM
27112011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
2712
2713 * files.el (find-file): Use pop-to-buffer-same-window (bug#8911).
2714 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
2715 Add switch-to-buffer.
2716
f158badc
LMI
27172011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
2718
2719 * isearch.el (isearch-search-fun-function): Clarify further the
2720 meaning of the function returned.
2721
6d95bd46
MA
27222011-07-04 Michael Albinus <michael.albinus@gmx.de>
2723
2724 * net/tramp-cmds.el (tramp-cleanup-this-connection): New command.
2725
2726 * net/tramp-sh.el (tramp-color-escape-sequence-regexp): New defconst.
2727 (tramp-sh-handle-insert-directory, tramp-convert-file-attributes):
2728 Use it.
2729 (tramp-remote-path): Add "/bin" and "/usr/bin". On busyboxes,
2730 `tramp-default-remote-path' does not exist.
2731 (tramp-send-command-and-read): New optional argument NOERROR.
2732 (tramp-open-connection-setup-interactive-shell)
2733 (tramp-get-remote-path, tramp-get-remote-stat): Use it.
2734 (tramp-get-remote-readlink): Do not mask with `ignore-errors'.
2735 (tramp-process-sentinel): Flush also process' connection property.
2736 (tramp-sh-handle-start-file-process): Do not set process
2737 sentinel. It is done now ...
2738 (tramp-maybe-open-connection): ... here. (Bug#8929)
2739
909e6b67
MK
27402011-07-04 MON KEY <monkey@sandpframing.com>
2741
2742 * play/animate.el (animate-string): Doc fixes and allow changing
2743 the buffer name (bug#5417).
2744
27452011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
2746
c8af70e1 2747 * play/animate.el (animation-buffer-name): Rename from *animate*.
909e6b67 2748
f34755dc
PE
27492011-07-04 Paul Eggert <eggert@cs.ucla.edu>
2750
396cec72
PE
2751 * emacs-lisp/timer.el: Use time-date fns rather than rolling our own.
2752 This is simpler and helps future-proof the code.
2753 (timer-until): Use time-subtract and float-time.
08235028 2754 (timer--time-less-p): Use time-less-p.
f34755dc 2755
56e6cc31
JB
27562011-07-04 Juanma Barranquero <lekktu@gmail.com>
2757
3abb79e5
JB
2758 * type-break.el (timep): Use the value of `float-time' to avoid a
2759 byte-compiler warning.
2760
56e6cc31
JB
2761 * server.el (server-eval-and-print): Return any result, even nil.
2762
7b9430b4
PE
27632011-07-03 Paul Eggert <eggert@cs.ucla.edu>
2764
2765 * type-break.el: Accept time formats that the builtins accept.
2766 (timep, type-break-time-difference): Accept any format that
2767 float-time accepts, rather than insisting on (HIGH LOW USECS) format.
2768 This is simpler and helps future-proof the code.
2769 (type-break-time-difference): Round rather than ignoring
2770 subseconds components.
2771
3034e9e7
LMI
27722011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
2773
2774 * info.el (Info-apropos-matches): Make non-interactive, since it
2775 doesn't seem to do anything useful as a command (bug#8829).
2776
1485f4c0
CY
27772011-07-03 Chong Yidong <cyd@stupidchicken.com>
2778
2779 * frame.el (frame-background-mode, frame-set-background-mode):
c8af70e1 2780 Move from faces.el.
1485f4c0
CY
2781 (frame-default-terminal-background): New function.
2782
2783 * custom.el (custom-push-theme): Don't record faces in `changed'
2784 theme; this doesn't work correctly for per-frame face settings.
2785 (disable-theme): Use face-set-after-frame-default to reset faces.
2786 (custom--frame-color-default): New function.
2787
9fa3dd45
LMI
27882011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
2789
c8af70e1 2790 * dired.el (dired-flagging-regexp): Remove unused variable
9fa3dd45
LMI
2791 (bug#8769).
2792
6cbbc20c
KR
27932011-03-29 Kevin Ryde <user42@zip.com.au>
2794
2795 * progmodes/compile.el (compilation-error-regexp-alist-alist):
2796 `perl-Test2' extend to match possible "fail #N" rep count
2797 (bug#8377).
2798
c7f98048
LMI
27992011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
2800
65676592
LMI
2801 * mail/feedmail.el (feedmail-buffer-to-smtpmail):
2802 `smtpmail-via-smtp' now returns the error instead of nil.
2803
c7f98048
LMI
2804 * isearch.el (isearch-search-fun-function): Clarify the doc string
2805 (bug#8101).
2806
56e6cc31 28072011-07-03 Richard Kim <emacs18@gmail.com> (tiny change)
9a51c6c7
RK
2808
2809 * textmodes/texnfo-upd.el (texinfo-insert-menu): Don't insert
2810 unnecessary spaces (bug#8987).
2811
2b216704
LMI
28122011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
2813
2814 * net/network-stream.el (open-network-stream): Use the
2815 :end-of-capability command thoughout.
2816
28172011-07-03 Wolfgang Jenkner <wjenkner@inode.at> (tiny change)
2818
2819 * net/network-stream.el (open-network-stream): Add the
2820 :end-of-capability command parameter, used by pop3.el.
2821
36adf6ce
LMI
28222011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
2823
1ca0da0e
LMI
2824 * dired.el (dired-map-over-marks): Refill the doc string (bug#6814).
2825
fc00f69c
LMI
2826 * fringe.el (fringe-query-style): Remove redundant text " (type ?
2827 for list)" (bug#6475).
2828
28fd8759
LMI
2829 * files.el (file-expand-wildcards): Ignore non-readable
2830 sub-directories while trying to find matches instead of signalling
2831 an error (bug#6297).
2832
0dd8b6da
LMI
2833 * man.el (Man-reference-regexp): Allow matching possible
2834 word-wrapped references (bug#6289).
2835
ce1438d6
LMI
2836 * vc/vc.el (vc-modify-change-comment): Change *VC-log* to *vc-log*
2837 for consistency with the other vc buffers (bug#6197).
2838 (vc-checkin): Ditto.
2839
2840 * vc/vc-arch.el: Fix comments to match the *VC-log* name change.
2841
36adf6ce
LMI
2842 * longlines.el (longlines-mode): Document what ARG does (bug#6150).
2843
e83cc1f7
LMI
28442011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
2845
8a20ca4c
LMI
2846 * custom.el (defcustom): Clarify that :set is only used in the
2847 Customize user interface (bug#6089).
2848
83319045
LMI
2849 * progmodes/flymake.el (flymake-mode): If the buffer isn't
2850 associated with a file, refuse to run instead of erroring out
2851 (bug#6084).
2852
a8392169
LMI
2853 * textmodes/fill.el (fill-region): Remove the "Ordinarily" from
2854 the doc string, since it appears that using `fill-column' always
2855 controls the width (bug#7845).
2856
e83cc1f7
LMI
2857 * simple.el (shell-command-on-region): Say where the error output
2858 went if `shell-command-default-error-buffer' is set (bug#6857).
2859
e47ca23b
KM
28602011-07-02 Ken Manheimer <ken.manheimer@gmail.com>
2861
2862 * allout.el (allout-yank-processing): Adjust cursor position for
2863 backwards-deleted space.
2864
2865 (allout-rebullet-heading): Register changes with
2866 allout-exposure-changed-hook, so the modified topic is properly
2867 decorated.
2868
5cf56143
LMI
28692011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
2870
08549772
LMI
2871 * minibuffer.el (completion-in-region): Document PREDICATE
2872 (bug#7136).
2873
48e96771
LMI
2874 * info-look.el (info-lookup-add-help): Clarify that ARGS is a list
2875 of keyword/argument pairs (bug#6904).
2876
c8af70e1
SM
2877 * replace.el (multi-occur):
2878 Mention `multi-occur-in-matching-buffers' in the doc string (bug#7566).
5cf56143 2879
e17d05e2
LMI
28802011-07-02 Drew Adams <drew.adams@oracle.com>
2881
2882 * dired.el (dired-mark-if): Make the message about whether it's
2883 marking or unmarking clearer (bug#8523).
2884
063b0e45
LMI
28852011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
2886
2887 * disp-table.el (display-table-print-array): New function.
2888 (describe-display-table): Use it to print the vectors more pretty
2889 (Bug#8859).
2890
28545e04
MR
28912011-07-02 Martin Rudalics <rudalics@gmx.at>
2892
2893 * window.el (window-state-get-1): Don't assign clone numbers.
2894 Add clone-of item to list of window parameters.
2895 (window-state-put-2): Don't process clone numbers.
2896 (display-buffer-alist): Fix doc-string.
2897
3349e122
SM
28982011-07-02 Stefan Monnier <monnier@iro.umontreal.ca>
2899
2900 * subr.el (remq): Don't allocate if it's not needed.
2901 (keymap--menu-item-binding, keymap--menu-item-with-binding)
2902 (keymap--merge-bindings): New functions.
2903 (keymap-canonicalize): Use them to refine the canonicalization.
2904 * minibuffer.el (minibuffer-local-completion-map)
2905 (minibuffer-local-must-match-map): Move initialization from C.
2906 (minibuffer-local-filename-completion-map): Move initialization from C;
2907 don't inherit from anything here.
2908 (minibuffer-local-filename-must-match-map): Make obsolete.
2909 (completing-read-default): Use make-composed-keymap to combine
2910 minibuffer-local-filename-completion-map with either
2911 minibuffer-local-must-match-map or
2912 minibuffer-local-filename-completion-map.
2913
d224ac83
GM
29142011-07-01 Glenn Morris <rgm@gnu.org>
2915
3de63bf8
GM
2916 * type-break.el (type-break-time-sum): Use dolist.
2917
d224ac83
GM
2918 * textmodes/flyspell.el (flyspell-word-search-backward):
2919 Replace CL function.
2920
1a1e3f32
SM
29212011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
2922
fe3f64d5
SM
2923 * mouse.el (mouse--strip-first-event): New function.
2924 (function-key-map): Use it to map fringe clicks to normal clicks
2925 by default.
2926
eb604e34
SM
2927 * vc/vc-bzr.el (vc-bzr-revision-keywords): Update.
2928 (vc-bzr-revision-completion-table): Add support for annotate and date.
2929
1a1e3f32
SM
2930 * emacs-lisp/derived.el (define-derived-mode): Make abbrev-table
2931 inherit from parent.
2932
5bd35902
LMI
29332011-07-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
2934
ace6c69c 2935 * dired-aux.el (dired-diff): Doc fixup (bug#8816).
26bde865 2936 (dired-show-file-type): Doc fixup (bug#8818).
ace6c69c 2937
191e2bed
LMI
2938 * dired.el (dired-mode): Fix up the doc string as suggested by
2939 Drew Adams (bug#8817).
2940
5bd35902
LMI
2941 * progmodes/flymake.el (flymake-find-file-hook): Add an `autoload'
2942 cookie, since the manual says that it should be possible to add
2943 this function to `find-file-hook' (bug#8709).
2944
eee8207a
TZ
29452011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
2946
2947 * progmodes/cfengine.el: Moved all cfengine3.el functionality
2948 here. Noted Ted Zlatanov as the maintainer.
2949 (cfengine-common-settings, cfengine-common-syntax): New functions
2950 to set up common things between `cfengine-mode' and
2951 `cfengine3-mode'.
2952 (cfengine3-mode): New mode.
2953 (cfengine3-defuns cfengine3-defuns-regex
2954 (cfengine3-class-selector-regex cfengine3-category-regex)
2955 (cfengine3-vartypes cfengine3-font-lock-keywords)
2956 (cfengine3-beginning-of-defun, cfengine3-end-of-defun)
eb604e34 2957 (cfengine3-indent-line): Add from cfengine3.el.
eee8207a 2958
36b148cf
MA
29592011-07-01 Michael Albinus <michael.albinus@gmx.de>
2960
2961 * net/tramp.el (tramp-encoding-command-interactive): New defcustom.
2962
2963 * net/tramp-sh.el (tramp-maybe-open-connection): Use it.
2964
0bf4ba9a
MR
29652011-07-01 Martin Rudalics <rudalics@gmx.at>
2966
2967 * window.el (same-window-buffer-names, same-window-regexps)
2968 (same-window-p, special-display-frame-alist)
2969 (special-display-popup-frame, special-display-function)
2970 (special-display-buffer-names, special-display-regexps)
2971 (special-display-p, pop-up-frame-alist, pop-up-frame-function)
2972 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
2973 (split-window-preferred-function, split-height-threshold)
2974 (split-width-threshold, even-window-heights)
2975 (display-buffer-mark-dedicated, window-splittable-p)
2976 (split-window-sensibly, window-safely-shrinkable-p):
2977 Un-obsolete.
2978 (display-buffer): Don't spread args with function specifier
2979 because special-display-popup-frame won't like it.
2980
35837f51
PE
29812011-07-01 Paul Eggert <eggert@cs.ucla.edu>
2982
d0672f86
PE
2983 Time-stamp simplifications and fixes.
2984 These improve accuracy slightly, and future-proof the code
2985 against some potential changes to current-time format.
2986
b9444d97
PE
2987 * woman.el (woman-decode-buffer, WoMan-log-end): Log fractional secs
2988 by using time-since and float-time.
2989
0ef923dc
PE
2990 * vc/ediff-util.el (ediff-calc-command-time): Use time-since
2991 and float-time. Say "NNN.NNN seconds" rather than "NNN seconds
2992 + NNN microseconds".
2993
2f81380d
PE
2994 * type-break.el (type-break-time-sum): Rewrite using time-add.
2995
845b5c3e
PE
2996 * play/hanoi.el (hanoi-current-time-float): Remove.
2997 All uses replaced by float-time.
2998
ee6f1be0
PE
2999 * nxml/rng-maint.el (rng-time-function): Rewrite using time-subtract.
3000 This yields a more-accurate answer.
3001 (rng-time-to-float): Remove; no longer needed.
3002
fe955043
PE
3003 * emacs-lisp/timer.el (timer-relative-time): Use time-add.
3004
5777162a
PE
3005 * calendar/timeclock.el (timeclock-seconds-to-time):
3006 Defalias to seconds-to-time, since they're the same thing.
3007
3103f8b6 3008 * emacs-lisp/elp.el (elp-elapsed-time):
e2bac5f6 3009 * emacs-lisp/benchmark.el (benchmark-elapse):
35837f51
PE
3010 * allout-widgets.el (allout-elapsed-time-seconds): Use float-time.
3011
0e61a35f
SM
30122011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
3013
3014 * window.el (bury-buffer): Don't iconify the only frame.
3015 (switch-to-buffer): Revert to Emacs<23 behavior, i.e. do not fallback
3016 to pop-to-buffer. Use pop-to-buffer-same-frame if you don't like that.
3017
ddd63a1e
CY
30182011-07-01 Chong Yidong <cyd@stupidchicken.com>
3019
0e61a35f
SM
3020 * eshell/em-smart.el (eshell-smart-display-navigate-list):
3021 Add mouse-yank-primary.
ddd63a1e 3022
055f4923
TZ
30232011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
3024
3025 * progmodes/cfengine3.el: New file to support CFEngine 3.x.
3026
6a2fb145
SM
30272011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
3028
3029 * emacs-lisp/find-func.el (find-library--load-name): New fun.
3030 (find-library-name): Use it to find relative load names when provided
3031 absolute file name (bug#8803).
3032
fd4983f2
LMI
30332011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
3034
887d14ad
LMI
3035 * textmodes/flyspell.el (flyspell-word): Consider words that
3036 differ only in case as potential doublons (bug#5687).
3037
c53dc7fc
LMI
3038 * net/soap-client.el (soap-invoke, soap-wsdl-resolve-references):
3039 Remove two rather uninteresting debugging-like messages to make
3040 debbugs.el more silent.
3041
fd4983f2
LMI
3042 * comint.el (comint-password-prompt-regexp): Accept "Response" as
3043 a password-like phrase.
3044
b14c0c55
AM
30452011-06-30 Mastake YAMATO <yamato@redhat.com>
3046
3047 * progmodes/cc-guess.el: New file.
3048
6a2fb145 3049 * progmodes/cc-langs.el (c-mode-menu): Add "Style..." submenu.
b14c0c55
AM
3050
3051 * progmodes/cc-styles.el (cc-choose-style-for-mode): New function
3052 derived from `c-basic-common-init'.
3053
3054 * progmodes/cc-mode.el (top-level): Require cc-guess.
3055 (c-basic-common-init): Use `cc-choose-style-for-mode'.
3056
1fa280a3
LM
30572011-06-30 Lawrence Mitchell <wence@gmx.li>
3058
3059 * progmodes/js.el (js-mode): Don't stomp on global settings (bug#8933).
3060
e6597158
AM
30612011-06-30 Alan Mackenzie <acm@muc.de>
3062
1fa280a3
LM
3063 * progmodes/cc-engine.el (c-guess-continued-construct):
3064 Correct the handling of template-args-cont, particularly for when font
e6597158
AM
3065 lock is disabled. Name this case as "CASE G".
3066
68ba37fb
KM
30672011-06-30 Ken Manheimer <ken.manheimer@gmail.com>
3068
3069 * allout.el (allout-yank-processing): Fix injection of extra space
3070 between bullet and non-whitespace character in first topic when
3071 pasting, ensuring that the actual spacing in the pasted topic
3072 following the bullet char is preserved. This extra space was
3073 causing pasted encrypted topics to get a decrypted status even
3074 when the content was actually still encrypted. Now the decryption
3075 status from before the paste is preserved.
3076
3077 (allout-flag-region): Set all allout overlays so they evaporate
3078 when reduced to zero length (evanescent), to prevent overlay
3079 leakage.
3080
887a0b34
GM
30812011-06-30 Glenn Morris <rgm@gnu.org>
3082
94b9acce
GM
3083 * w32-fns.el (w32-charset-info-alist): Declare.
3084
1d9b46d4
GM
3085 * find-dired.el (find-grep-options): Simplify.
3086
cc232200
GM
3087 * term/ns-win.el (ns-set-resource): Declare.
3088
28e77c46
GM
3089 * ses.el (row, col): Declare dynamic variables honestly.
3090
887a0b34
GM
3091 * textmodes/reftex-parse.el (index-tags): Declare.
3092
658d8eb8
CY
30932011-06-30 Chong Yidong <cyd@stupidchicken.com>
3094
3095 * cus-edit.el (customize-push-and-save): New function.
3096
3097 * files.el (hack-local-variables-confirm): Use it.
3098
1fa280a3
LM
3099 * custom.el (load-theme): New arg NO-CONFIRM.
3100 Use customize-push-and-save (Bug#8720).
658d8eb8
CY
3101 (custom-enabled-themes): Doc fix.
3102
3103 * cus-theme.el (customize-create-theme)
3104 (custom-theme-merge-theme): Callers to load-theme changed.
3105
bb617717
LMI
31062011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
3107
d61bdd5d
LMI
3108 * thingatpt.el (thing-at-point-short-url-regexp): Require that
3109 short URLs have at least one dot in them (bug #7614).
3110
bb617717
LMI
3111 * progmodes/grep.el (rgrep): Bind `process-connection-type' to
3112 nil, because using a pty is apparently too slow (bug #895).
3113
2f31f37a
LMI
31142011-06-29 Lars Magne Ingebrigtsen <larsi@gnus.org>
3115
3116 * mail/sendmail.el (sendmail-query-once): New function.
3117 (sendmail-query-once-function): New variable.
3118
3076b24e
GM
31192011-06-29 Glenn Morris <rgm@gnu.org>
3120
faf2a174
GM
3121 * files.el (auto-mode-alist): Add .f03, .f08 for f90-mode.
3122
3076b24e
GM
3123 * ses.el (top-level): Require cl when compiling.
3124 (ses-set-localvars): Fix error statement.
3125 Call it at compile time to silence a storm of warnings.
3126
5386012d
MR
31272011-06-29 Martin Rudalics <rudalics@gmx.at>
3128
3129 * window.el (normalize-live-buffer): Rename to
3130 window-normalize-buffer.
3131 (normalize-live-frame): Rename to window-normalize-frame.
3132 (normalize-any-window): Rename to window-normalize-any-window.
3133 (normalize-live-window): Rename to window-normalize-live-window.
3134 (make-window-atom): Rename to window-make-atom.
3135 (window-resize-reset): Rename to window--resize-reset.
3136 (window-resize-reset-1): Rename to window--resize-reset-1.
3137 (resize-mini-window): Rename to window--resize-mini-window.
3138 (resize-subwindows-skip-p): Rename to
3139 window--resize-subwindows-skip-p.
3140 (resize-subwindows-normal): Rename to
3141 window--resize-subwindows-normal.
3142 (resize-subwindows): Rename to window--resize-subwindows.
3143 (resize-other-windows): Rename to window--resize-siblings.
3144 (resize-this-window): Rename to window--resize-this-window.
3145 (resize-root-window): Rename to window--resize-root-window.
3146 (resize-root-window-vertically): Rename to
3147 window--resize-root-window-vertically.
3148 (normalize-buffer-to-display): Rename to
3149 window-normalize-buffer-to-display.
3150 (normalize-buffer-to-switch-to): Rename to
3151 window-normalize-buffer-to-switch-to.
3152 Correspondingly update all callers of the functions listed
3153 above.
3154 (display-buffer-alist, display-buffer-normalize-arguments)
3155 (display-buffer-normalize-options, display-buffer)
3156 (display-buffer-alist-set): Use "function" instead of
3157 "fun-with-args".
3158
1176868d
CY
31592011-06-28 Chong Yidong <cyd@stupidchicken.com>
3160
3161 * mail/emacsbug.el (report-emacs-bug): Handle non-gnu bug
3162 addresses more clearly. Add hyperlinks for bug-gnu-emacs and
3163 debbugs.gnu.org. Mention acknowledgment email.
3164
20a7a65f
LMI
31652011-06-28 Lars Magne Ingebrigtsen <larsi@gnus.org>
3166
3167 * mail/smtpmail.el (smtpmail-send-it): Leave off changing the
3168 buffer multibyteness, since it shouldn't matter.
3169
5f45cca5
MR
31702011-06-28 Martin Rudalics <rudalics@gmx.at>
3171
3172 * window.el (display-buffer-in-side-window): Handle dedicated
3173 windows as in display-buffer-reuse-window.
3174 (display-buffer-normalize-alist): Use value of override
3175 specifier.
3176 (display-buffer-normalize-specifiers): Use value of
3177 other-window-means-other-frame specifier.
3178 (display-buffer-alist): Rewrite some texts in widgets.
3179 (display-buffer): Spread arguments when calling function
3180 specified by fun-with-args.
3181
ad85fe1f
DD
31822011-06-28 Deniz Dogan <deniz@dogan.se>
3183
1fa280a3
LM
3184 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-syntax-table):
3185 Unnest `let'.
da68c4c8 3186
ad85fe1f
DD
3187 * textmodes/css-mode.el (css-font-lock-keywords): Fix grouped
3188 selectors (Bug#5732).
ec49bd31 3189 (css-proprietary-nmstart-re): Use `regexp-opt'.
ad85fe1f 3190
a08cc025
JA
31912011-06-27 Jari Aalto <jari.aalto@cante.net>
3192
3193 * eshell/em-ls.el: Display `ls -l' dates in ISO format (Bug#8440).
3194 (eshell-ls-date-format): New defcustom.
3195 (eshell-ls-file): Use it.
3196
e2b551c5
SM
31972011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
3198
3199 * help-fns.el (describe-variable): Fix message for terminal-local vars.
3200
8982b231
KY
32012011-06-27 Katsumi Yamaoka <yamaoka@jpl.org>
3202
3203 * net/ange-ftp.el: Allow loading .gz files (Bug#6923).
3204 (ange-ftp-make-tmp-name): New arg.
3205 (ange-ftp-file-local-copy): Use it.
3206
36c9fa27
J
32072011-06-27 Jambunathan K <kjambunathan@gmail.com>
3208
3209 * tar-mode.el (tar-untar-buffer): Set coding-system-for-write to
3210 no-conversion (Bug#8870).
3211
d68443dc
MR
32122011-06-27 Martin Rudalics <rudalics@gmx.at>
3213
3214 * window.el (window-right, window-left, window-child)
3215 (window-child-count, window-last-child)
3216 (window-iso-combination-p, walk-window-tree-1)
3217 (window-atom-check-1, window-tree-1, delete-window)
3218 (window-state-get-1, display-buffer-even-window-sizes): Adapt to
3219 new naming conventions - window-vchild, window-hchild,
3220 window-next and window-prev are now called window-top-child,
3221 window-left-child, window-next-sibling and window-prev-sibling
3222 respectively.
d615d6d2
MR
3223 (resize-window-reset): Rename to window-resize-reset.
3224 (resize-window-reset-1): Rename to window-resize-reset-1.
3225 (resize-window): Rename to window-resize.
3226 (window-min-height, window-min-width)
3227 (resize-mini-window, resize-this-window, resize-root-window)
3228 (resize-root-window-vertically, adjust-window-trailing-edge)
3229 (enlarge-window, shrink-window, maximize-window)
3230 (minimize-window, delete-window, quit-restore-window)
3231 (split-window, balance-windows, balance-windows-area-adjust)
3232 (balance-windows-area, window-state-put-2)
3233 (display-buffer-even-window-sizes, display-buffer-set-height)
3234 (display-buffer-set-width, set-window-text-height)
3235 (fit-window-to-buffer): Rename all "resize-window" prefixed
3236 calls to use the "window-resize" prefix convention.
3237 (display-buffer-alist): Fix symbol for label specifier.
3238 (display-buffer-reuse-window): Set reuse-dedicated to cdr of
3239 corresponding specifier.
3240 Reported by Juanma Barranquero <lekktu@gmail.com>.
d68443dc 3241
b6458526
VB
32422011-06-27 Vincent Belaïche <vincentb1@users.sourceforge.net>
3243
3244 * ses.el (ses-destroy-cell-variable-range): Fix heading comment
3245 convention.
3246 (ses-call-printer): Does not pass an empty string to formatter when the
3247 cell is empty to keep from barking printer Calc math-format-value.
3248
d31fd9ac
RS
32492011-06-27 Richard Stallman <rms@gnu.org>
3250
43d5bf84
RS
3251 * battery.el (battery-mode-line-limit): New variable.
3252 (battery-update): Handle it.
3253
d31fd9ac
RS
3254 * mail/rmailmm.el (rmail-mime-process-multipart):
3255 Handle truncated messages.
3256
819a6054
GM
32572011-06-27 Glenn Morris <rgm@gnu.org>
3258
3259 * progmodes/flymake.el (flymake-err-line-patterns):
3260 Allow for column numbers in the ant/javac pattern. (Bug#8866)
3261
cedc73f2
VB
32622011-06-27 Vincent Belaïche <vincentb1@users.sourceforge.net>
3263
819a6054 3264 * ses.el (ses-relocate-range): Keep rest of arguments for ses-range.
cedc73f2
VB
3265 (ses--clean-!, ses--clean-_): New functions.
3266 (ses-range): Add configurability of readout order, and conversion
3267 to Calc vector.
3268
5e5d49b6
VB
3269 * ses.el (ses-repair-cell-reference-all): New function.
3270 (ses-cell-symbol): Set macro as safe, so that it can be used in
3271 formulas.
3272
56e6cc31 3273 * ses.el: Update cycle detection algorithm.
90ca8b49 3274 (ses-localvars): Add ses--Dijkstra-attempt-nb and
819a6054 3275 ses--Dijkstra-weight-bound, and initial values thereof when applicable.
90ca8b49
VB
3276 (ses-set-localvars): New function.
3277 (ses-make-cell): Add property-list as a cell element.
3278 (ses-cell-property-get-fun, ses-cell-property-get)
3279 (ses-cell-property-delq-fun, ses-cell-property-set-fun)
819a6054
GM
3280 (ses-cell-property-pop-fun, ses-cell-property-get-handle-fun):
3281 New functions.
90ca8b49
VB
3282 (ses-cell-property-set, ses-cell-property-pop)
3283 (ses-cell-property-get-handle): New macro.
3284 (ses-cell-property-handle-car, ses-cell-property-handle-setcar):
3285 New aliases, used for code readability.
3286 (ses-calculate-cell, ses-update-cells): Use Dijkstra algorithm for
3287 cycle detection.
3288 (ses-self-reference-early-detection): New defcustom.
3289 (ses-formula-references): Robustify against self-refering cells.
3290 (ses-mode): Use ses-set-localvars.
3291 (ses-command-hook): Add call to ses-initialize-Dijkstra-attempt
3292 before lauching the update processing.
3293 (ses-initialize-Dijkstra-attempt): New function.
3294 (ses-recalculate-cell): Update for cycle detection based on
3295 Dijkstra algorithm.
3296
2bb63e81
VB
3297 * ses.el: Fix commenting and indenting convention.
3298
c9d29fb8
SM
32992011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
3300
3301 * bs.el (bs-cycle-next): Complete last change.
3302
d8e4b68b
JB
33032011-06-27 Drew Adams <drew.adams@oracle.com>
3304
3305 * faces.el (list-faces-display): Add help-mode-map to output (bug#8939).
3306
40098786
LMI
33072011-06-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
3308
c9d29fb8
SM
3309 * net/network-stream.el (network-stream-open-starttls):
3310 Don't re-get capabilities unless we've reestablished connection.
f6ab314e
LMI
3311 (network-stream-open-starttls): Fix stupid typo with gnutls-clii.
3312
40098786
LMI
3313 * mail/smtpmail.el (smtpmail-via-smtp): Bind coding-system-for-*
3314 to binary to possibly avoid line encoding issues on Windows (among
3315 other things).
3316
468d09d4
LMI
33172011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
3318
3319 * net/network-stream.el (open-network-stream): Return an :error
3320 saying what the problem was, if possible.
3321
3322 * mail/smtpmail.el (smtpmail-via-smtp): Report the error from the
3323 server.
3324
3325 * net/network-stream.el (network-stream-open-starttls): If we
3326 wanted to use STARTTLS, and the server offered it, but we weren't
3327 able to because we had no STARTTLS support, then close the connection.
3328 (open-network-stream): Return an :error element, if present.
3329
16f07dd7
CY
33302011-06-26 Chong Yidong <cyd@stupidchicken.com>
3331
88821ca0
CY
3332 * hl-line.el (hl-line-sticky-flag): Doc fix.
3333 (global-hl-line-sticky-flag): New option (Bug#8323).
3334 (global-hl-line-highlight): Obey it.
3335
16f07dd7
CY
3336 * vc/vc.el (vc-revert-show-diff): Default to t.
3337
6b5ccddf
KM
33382011-06-26 Ken Manheimer <ken.manheimer@gmail.com>
3339
c9d29fb8
SM
3340 * allout-widgets.el (allout-widgets-post-command-business):
3341 Stop decorating intermediate isearch matches. They're not being
6b5ccddf
KM
3342 undecorated when an isearch is continued past, and isearch
3343 automatically collapses them. This leads to "widget leaks", where
3344 decorated items accumulate in collapsed areas. Lines with lots of
c9d29fb8
SM
3345 hidden widgets can slow down cursor travel, substantially.
3346 Too much complicated machinery would be needed to ensure undecoration,
6b5ccddf
KM
3347 so we're doing without this nicety.
3348
3349 (allout-widgets-tally-string): Don't try to do a hash-table-count
3350 of allout-widgets-tally when it's nil. This eliminates spurious "Error
3351 during redisplay: (wrong-type-argument hash-table-p nil)" warnings in
3352 *Messages* when allout-widgets-maintain-tally is t.
3353
355f2e07
MR
33542011-06-26 Martin Rudalics <rudalics@gmx.at>
3355
3356 * window.el (display-buffer-normalize-argument): Rename to
3357 display-buffer-normalize-arguments. Handle special meaning of
6b5ccddf
KM
3358 LABEL argument. Respect special-display-function when popping up
3359 a new frame. Fix code searching for a window showing the buffer
3360 on another frame.
c9d29fb8
SM
3361 (display-buffer-normalize-specifiers):
3362 Call display-buffer-normalize-arguments.
355f2e07
MR
3363 (display-buffer-in-window): Don't undedicate the window if its
3364 buffer remains the same.
3365 Reported by Drew Adams <drew.adams@oracle.com>.
3366 (display-buffer-alist): Add choice for same-window macro
3367 specfier.
3368 (display-buffer): Mention special meaning of LABEL argument in
3369 doc-string. Fix quoting. Don't pop up a new frame even as
3370 fallback.
3371
7ca8fc42
JB
33722011-06-26 Juanma Barranquero <lekktu@gmail.com>
3373
3374 * bs.el (bs-cycle-next): Pass current buffer to `bury-buffer' to
3375 avoid deleting the current window in some cases (bug#8911).
3376
bc312254
AS
33772011-06-26 Andreas Schwab <schwab@linux-m68k.org>
3378
3379 * emacs-lisp/smie.el (smie-bnf->prec2): Fix last change.
3380 (Bug#8934)
3381
2db18f3f
LMI
33822011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
3383
c9d29fb8
SM
3384 * net/network-stream.el (network-stream-open-starttls):
3385 Use built-in TLS support if `gnutls-available-p' is true.
2db18f3f
LMI
3386 (network-stream-open-tls): Ditto.
3387
6302e0d3
LL
33882011-06-26 Leo Liu <sdl.web@gmail.com>
3389
3390 * register.el (registerv): New struct.
3391 (registerv-make): New function.
c9d29fb8
SM
3392 (jump-to-register, describe-register-1, insert-register):
3393 Support the jump-func, print-func and insert-func slot of a registerv
6302e0d3
LL
3394 struct. (Bug#8415)
3395
5fdd4046
CY
33962011-06-26 Chong Yidong <cyd@stupidchicken.com>
3397
2afef60a
CY
3398 * vc/vc.el (vc-revert-show-diff): New defcustom.
3399 (vc-diff-internal): New arg specifying diff buffer.
3400 (vc-revert): Obey vc-revert-show-diff. If we show a diff, don't
3401 reuse an existing *vc-diff* buffer (Bug#8927).
3402
5fdd4046
CY
3403 * progmodes/cperl-mode.el (cperl-mode): Derive from prog-mode.
3404
e93db24a
GM
34052011-06-26 Glenn Morris <rgm@gnu.org>
3406
3407 * progmodes/f90.el (f90-critical-indent): New option.
3408 (f90-font-lock-keywords-2, f90-blocks-re, f90-end-block-re)
3409 (f90-start-block-re, f90-mode-abbrev-table): Add block, critical.
3410 (f90-mode): Doc fix.
3411 (f90-looking-at-critical, f90-looking-at-end-critical): New funcs.
3412 (f90-no-block-limit, f90-calculate-indent, f90-end-of-block)
3413 (f90-beginning-of-block, f90-next-block, f90-indent-region)
3414 (f90-match-end): Handle block, critical.
3415
eefff499
GM
34162011-06-25 Glenn Morris <rgm@gnu.org>
3417
f6ba4cc9
GM
3418 * calendar/diary-lib.el (diary-included-files): Doc fix.
3419 (diary-include-files): New function, extracted from
3420 diary-include-other-diary-files and diary-mark-included-diary-files.
3421 (diary-include-other-diary-files, diary-mark-included-diary-files):
3422 Just call diary-include-files.
3423 (diary-mark-entries): Reset diary-included-files on first call.
3424
16712304
GM
3425 * calendar/diary-lib.el (diary-mark-entries)
3426 (diary-mark-included-diary-files):
3427 Visit included diary-files in temp buffers.
3428
5d8e0d43
GM
3429 * progmodes/f90.el (f90-keywords-re, f90-font-lock-keywords-1)
3430 (f90-blocks-re, f90-program-block-re, f90-end-block-re)
3431 (f90-start-block-re, f90-imenu-generic-expression)
3432 (f90-looking-at-program-block-start, f90-no-block-limit):
3433 Add support for submodules.
3434
ccf7a5d5
GM
3435 * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
3436 (f90-procedures-re, f90-constants-re): Add some F2008 stuff.
eefff499 3437
11fdef7d 34382011-06-25 Eli Zaretskii <eliz@gnu.org>
638e9005
EZ
3439
3440 * net/ange-ftp.el (ange-ftp-insert-file-contents): Let-bind
3441 buffer-file-type before setting its value, to avoid disastrous
eefff499 3442 global effects on decoding files for DOS/Windows systems. (Bug#8780)
638e9005 3443
74f53697
JB
34442011-06-25 Juanma Barranquero <lekktu@gmail.com>
3445
3446 * allout.el (allout-unload-function): Pass -1 to `allout-mode'.
3447
3448 * ses.el (ses-unload-function):
3449 * emacs-lisp/re-builder.el (re-builder-unload-function): Simplify.
3450
3451 * proced.el (proced-unload-function):
3452 * progmodes/cperl-mode.el (cperl-mode-unload-function): Remove.
3453
18a4ce5e
AR
34542011-06-25 Andreas Rottmann <a.rottmann@gmx.at>
3455
3456 * server.el (server-create-window-system-frame): Add parameters arg.
3457 (server-process-filter): Doc fix. Handle frame-parameters.
3458
519d22cc
JB
34592011-06-25 Juanma Barranquero <lekktu@gmail.com>
3460
3461 Fix bug#8730, bug#8781.
3462
3463 * loadhist.el (unload--set-major-mode): New function.
3464 (unload-feature): Use it.
3465
3466 * progmodes/python.el (python-after-info-look): Add autoload cookie.
3467 (python-unload-function): New function.
3468
c206f5b0
SM
34692011-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
3470
3471 * mail/rmail.el (rmail-show-message-1): Use restore-buffer-modified-p.
3472
f9ad64f3
GS
34732011-06-25 Giuseppe Scrivano <gscrivano@gnu.org>
3474
3475 * net/browse-url.el (browse-url-firefox-program): Add icecat to
3476 the candidates list.
3477
7d0da90e
JB
34782011-06-24 Juanma Barranquero <lekktu@gmail.com>
3479
3480 * progmodes/verilog-mode.el (verilog-mode): Fix test for bound variable.
3481
14b4e83d
RS
34822011-06-23 Richard Stallman <rms@gnu.org>
3483
3484 * mail/rmail.el: Going to grep hit in Rmail buffer finds the message.
3485 (rmail-variables): Set next-error-move-function.
3486 (rmail-what-message): Take argument POS.
3487 (rmail-next-error-move): New function.
3488
273d2baf
SM
34892011-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
3490
3491 * emacs-lisp/smie.el (smie-bnf->prec2): Give more understandable error
3492 messages for adjacent non-terminals.
3493
56c2cc9a
RS
34942011-06-23 Richard Stallman <rms@gnu.org>
3495
3496 * mail/rmail.el (rmail-retry-ignored-headers): Add message-id.
f444564c 3497 (rmail-show-message-1): Preserve buffer modified flag.
8050daa1
RS
3498 (rmail-start-mail): Don't specify use of rmail-mail-return;
3499 that's done by mail-bury now.
3500 (rmail-mail-return): Handle arg NEWBUF.
56c2cc9a 3501
d59eb518
MA
35022011-06-23 Michael Albinus <michael.albinus@gmx.de>
3503
3504 * net/tramp-sh.el (tramp-method-out-of-band-p): Check, whether
3505 SIZE is a number.
3506
02cfc6d6
MR
35072011-06-23 Martin Rudalics <rudalics@gmx.at>
3508
3509 * window.el (get-lru-window, get-mru-window)
3510 (get-largest-window): Never return a minibuffer window.
3511 (display-buffer-pop-up-window): Fix a bug that could lead to
3512 reusing the minibuffer window.
3513 (display-buffer): Pass original specifier argument to
3514 display-buffer-function instead of the normalized one.
3515 Reported by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
3516
4e323265
LL
35172011-06-22 Leo Liu <sdl.web@gmail.com>
3518
3519 * minibuffer.el (completing-read-function)
3520 (completing-read-default): Move from minibuf.c
3521
7a70468f
RS
35222011-06-22 Richard Stallman <rms@gnu.org>
3523
50718fc2
RS
3524 * mail/sendmail.el (mail-bury): If Rmail is in use, return nicely
3525 to Rmail even if not started by a special Rmail command.
3526
7a70468f
RS
3527 * mail/rmailmm.el (rmail-insert-mime-forwarded-message):
3528 Copy the buffer currently showing just one message.
3529
297dde5a
RW
35302011-06-22 Roland Winkler <winkler@gnu.org>
3531
3532 * textmodes/bibtex.el (bibtex-entry-update): Use mapc.
3533 (bibtex-clean-entry): First delete the old key so that a
3534 customized algorithm for generating the new key does not get
3535 confused by the old key.
3536 (bibtex-url): Obey regexp of first step.
3537 (bibtex-search-entries): Do not use add-to-list with local
3538 list-var.
3539
97bb1093
LMI
35402011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
3541
3542 * mail/smtpmail.el (smtpmail-try-auth-methods): If the user has
3543 stored a user name, then query for the password first, instead of
3544 waiting for SMTP to give an error message and the trying again.
3545
1c0f1a19
JD
35462011-06-22 Lawrence Mitchell <wence@gmx.li>
3547
3548 * net/browse-url.el (browse-url-xdg-open): Use 0, rather than nil
3549 BUFFER in call-process.
3550
396f7c9d
LMI
35512011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
3552
3553 * mail/smtpmail.el (smtpmail-via-smtp): Make sure we don't send
3554 QUIT twice.
ddb7ffee
LMI
3555 (smtpmail-try-auth-methods): Require user name and password from
3556 auth-source.
396f7c9d 3557
8998d1b3
MR
35582011-06-22 Martin Rudalics <rudalics@gmx.at>
3559
3560 * window.el (display-buffer-default-specifiers)
3561 (display-buffer-alist): Remove entries for pop-up-frame-alist.
3562 Suggested by Katsumi Yamaoka <yamaoka@jpl.org>.
130e3e11 3563 (split-window): Normalize SIDE argument (Bug#8916).
8998d1b3
MR
3564
3565 * frame.el (pop-up-frame-alist, pop-up-frame-function)
3566 (special-display-frame-alist, special-display-popup-frame):
3567 Remove duplicate declarations. These are now in window.el.
3568
4ea31e07
LMI
35692011-06-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
3570
c9d29fb8
SM
3571 * mail/smtpmail.el (smtpmail-via-smtp):
3572 Set :use-starttls-if-possible so that we always use STARTTLS if the
6af7a784
LMI
3573 server supports it. SMTP servers that support STARTTLS commonly
3574 require it.
3575
3576 * net/network-stream.el (network-stream-open-starttls): Support
3577 upgrading to STARTTLS always, even if we don't have built-in support.
3578 (open-network-stream): Add the :always-query-capabilies keyword.
3579
95f41d9a
LMI
3580 * mail/smtpmail.el: Rewritten to do opportunistic STARTTLS
3581 upgrades with `open-network-stream', and rely solely on
3582 auth-source for all credentials. Big changes throughout the file,
3583 but in particular:
c9d29fb8
SM
3584 (smtpmail-auth-credentials): Remove.
3585 (smtpmail-starttls-credentials): Remove.
7d36ad46
LMI
3586 (smtpmail-via-smtp): Check for servers saying they want AUTH after
3587 MAIL FROM, too.
95f41d9a 3588
c9d29fb8
SM
3589 * net/network-stream.el (network-stream-open-starttls):
3590 Provide support for client certificates both for external and built-in
4ea31e07
LMI
3591 STARTTLS.
3592 (auth-source): Require.
3593 (open-network-stream): Document the :client-certificate keyword.
eb8c9362
LMI
3594 (network-stream-certificate): Change cert-cert to cert and
3595 cert-key to key.
4ea31e07 3596
065ec2c7
MA
35972011-06-21 Michael Albinus <michael.albinus@gmx.de>
3598
3599 * net/tramp-cache.el (top): Don't load the persistency file when
3600 "emacs -Q" has been called.
3601
cd93b359
DR
36022011-06-21 Tim Harper <timcharper@gmail.com>
3603
d8e4b68b
JB
3604 * term/ns-win.el (ns-initialize-window-system):
3605 Set application-specific `ApplePressAndHoldEnabled' system
cd93b359
DR
3606 resource to NO as it is not yet supported by the NS port.
3607
ae9c0411
JB
36082011-06-21 Juanma Barranquero <lekktu@gmail.com>
3609
3610 * misc.el (list-dynamic-libraries--refresh): Compute header here...
3611 (list-dynamic-libraries): ...not here.
3612
7f3f739f
LL
36132011-06-21 Leo Liu <sdl.web@gmail.com>
3614
3615 * subr.el (sha1): Implement sha1 using secure-hash.
3616
327c8fb1
MR
36172011-06-21 Martin Rudalics <rudalics@gmx.at>
3618
3619 * window.el (display-buffer-alist): In default value do not
3620 enforce searching a window on any but the selected frame.
3621 Reported by Katsumi Yamaoka <yamaoka@jpl.org>.
3622 (display-buffer-select-window): Remove function.
3623 (display-buffer-in-window): When a window on another frame gets
3624 reused, do not select it any more but just raise its frame if
3625 necessary (Bug#8851) and (Bug#8856).
3626 (display-buffer-normalize-options): Handle pop-up-frames related
3627 options more faithfully.
3628 (pop-to-buffer): Don't rely on `display-buffer' selecting the
3629 window if it is on another frame.
c9d29fb8
SM
3630 (display-buffer-alist, display-buffer-default-specifiers):
3631 Don't make new frame unsplittable by default.
9e9de014
MR
3632 (display-buffer-normalize-argument): Fix doc-string typo and use
3633 'same-frame-other-window instead of 'other-window when associating
3634 with display-buffer-macro-specifiers.
327c8fb1 3635
7cf3f556
VB
36362011-06-21 Vincent Belaïche <vincent.b.1@hotmail.fr>
3637
3638 * play/5x5.el (5x5-solve-rotate-left, 5x5-solve-rotate-right):
3639 New functions.
3640 (5x5-mode-map, 5x5-mode-menu): Bind them.
3641 (5x5-draw-grid): Tweak the solver's rendering.
3642
60a406cf
SM
36432011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
3644
3645 * progmodes/compile.el (compilation-error-regexp-alist-alist): Rename
3646 `caml' to `python-tracebacks-and-caml'; allow leading tabs (bug#8585).
3647
d8e4b68b 36482011-06-21 Drew Adams <drew.adams@oracle.com>
5d907d6c
DA
3649
3650 * menu-bar.el: Use function variable instead of switch-to-buffer.
3651 (menu-bar-select-buffer-function): New variable.
60a406cf 3652 (menu-bar-update-buffers): Use it (bug#8876).
5d907d6c 3653
478d6f95
SM
36542011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
3655
3656 * emacs-lisp/bytecomp.el (add-to-list): Add handler to check the
3657 variable's status.
3658
ca530739
JD
36592011-06-20 Jan Djärv <jan.h.d@swipnet.se>
3660
3661 * x-dnd.el (x-dnd-version-from-flags)
3662 (x-dnd-more-than-3-from-flags): New functions that handle long-as-cons
3663 and long as number (Bug#8899).
3664 (x-dnd-handle-xdnd): Call functions above (Bug#8899).
3665
bcd70d97
SM
36662011-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
3667
60a406cf 3668 * minibuffer.el (completion-metadata): Add `metadata' to the alist.
4cb3bfa0
SM
3669 (completion-try-completion, completion-all-completions): Compute the
3670 metadata argument if it's missing; make it optional (bug#8795).
3671
60a406cf 3672 * wid-edit.el: Use lex-bind and move towards completion-at-point.
bcd70d97
SM
3673 (widget-complete): Use new :completion-function property.
3674 (widget-completions-at-point): New function.
3675 (default): Use :completion-function instead of :complete.
60a406cf
SM
3676 (widget-default-completions): Rename from widget-default-complete;
3677 Rewrite.
bcd70d97
SM
3678 (widget-string-complete, widget-file-complete, widget-color-complete):
3679 Remove functions.
3680 (file, symbol, function, variable, coding-system, color):
3681 * international/mule-cmds.el (default-input-method, charset)
3682 (language-info-custom-alist):
3683 * cus-edit.el (face): Use new property :completions.
3684
3685 * progmodes/pascal.el (pascal-completions-at-point): New function.
3686 (pascal-mode): Use it.
3687 (pascal-mode-map): Use completion-at-point.
3688 (pascal-toggle-completions): Make obsolete.
3689 (pascal-complete-word, pascal-show-completions):
3690 * progmodes/octave-mod.el (octave-complete-symbol):
3691 Redefine as obsolete alias.
3692 * progmodes/octave-inf.el (inferior-octave-completion-at-point):
3693 Signal absence of completion info for old Octave,
3694 (inferior-octave-complete): Redefine as obsolete alias.
3695 * progmodes/meta-mode.el: Use lexical-binding and completion-at-point.
3696 (meta-completions-at-point): Rename from meta-complete-symbol and
3697 adapt it for use on completion-at-point-functions.
3698 (meta-common-mode): Use it.
3699 (meta-looking-at-backward, meta-match-buffer): Remove.
3700 (meta-complete-symbol): Redefine as obsolete alias.
3701 (meta-common-mode-map): Use completion-at-point.
3702 * progmodes/make-mode.el: Use lexical-binding and completion-at-point.
3703 (makefile-mode-map): Use completion-at-point.
3704 (makefile-completions-at-point): Rename from makefile-complete and
3705 adapt it for use on completion-at-point-functions.
3706 (makefile-mode): Use it.
3707 (makefile-complete): Redefine as obsolete alias.
3708
aebf69c8
DD
37092011-06-20 Deniz Dogan <deniz@dogan.se>
3710
3711 * net/rcirc.el: Delete trailing whitespaces once and for all.
3712
bfbbb27d
DC
37132011-06-20 Daniel Colascione <dan.colascione@gmail.com>
3714
3715 * emacs-lisp/syntax.el (syntax-ppss): Further improve docstring.
3716
d264a46b
CY
37172011-06-19 Chong Yidong <cyd@stupidchicken.com>
3718
4ca009e5
CY
3719 * files.el (auto-mode-alist): Entry for m2-mode (Bug#8852).
3720
d264a46b
CY
3721 * info.el (Info-apropos-toc-nodes): Minor doc fix (Bug#8833).
3722
fbf5b3ce
MR
37232011-06-19 Martin Rudalics <rudalics@gmx.at>
3724
3725 * window.el (display-buffer-other-window-means-other-frame):
3726 Call display-buffer-normalize-alist.
3727 (display-buffer-normalize-specifiers-1): Rename to
3728 display-buffer-normalize-argument. New argument other-frame.
3729 Rewrite.
3730 (display-buffer-normalize-specifiers-2): Rename to
3731 display-buffer-normalize-options.
3732 (display-buffer-normalize-alist-1): New function.
3733 (display-buffer-normalize-specifiers-3): Rename to
bcd70d97
SM
3734 display-buffer-normalize-alist.
3735 Call display-buffer-normalize-alist-1.
fbf5b3ce
MR
3736 (display-buffer-normalize-options-inhibit): New variable.
3737 (display-buffer-normalize-specifiers): Rewrite calling
3738 display-buffer-normalize-alist,
3739 display-buffer-normalize-argument, and
3740 display-buffer-normalize-options. Don't call the latter if
3741 display-buffer-normalize-options-inhibit is non-nil.
3742 (frame-auto-delete): New option.
3743 (window-deletable-p): Use frame-auto-delete.
9d89fec7
MR
3744 (window-list-no-nils, window-state-ignored-parameters)
3745 (window-state-get-1, window-state-get, window-state-put-list)
bcd70d97
SM
3746 (window-state-put-1, window-state-put-2, window-state-put):
3747 New functions.
9a028c23
MR
3748 (display-buffer-normalize-options): Move special-display-p group
3749 after pop-up-frame group (Bug#8851) and (Bug#8856).
fbf5b3ce 3750
6d10d800
CY
37512011-06-18 Chong Yidong <cyd@stupidchicken.com>
3752
6420d28b
CY
3753 * emacs-lisp/rx.el (rx-constituents): Add support for numbered
3754 groups (Bug#8776).
3755 (rx-submatch-n): New function.
3756 (rx): Document it.
3757
ddb8b596
CY
3758 * dired-x.el (dired-mark-unmarked-files): Fix interactive spec
3759 (Bug#8768).
3760
3761 * replace.el (occur-mode-map): Set occur-edit-mode binding to "e".
3762
77080289
CY
3763 * textmodes/fill.el (default-justification): Add :safe (Bug#8879).
3764
61dfb316
CY
3765 * cus-face.el (custom-declare-face): Call custom-theme-recalc face
3766 anytime existing face settings are present (Bug#8889).
3767
6d10d800
CY
3768 * progmodes/delphi.el (delphi-mode-syntax-table): Use defvar.
3769 (delphi-mode): Use define-derived-mode to inherit from prog-mode.
3770 Remove unused argument.
3771
be3fb2b8
MR
37722011-06-18 Martin Rudalics <rudalics@gmx.at>
3773
bcd70d97
SM
3774 * window.el (display-buffer-default-specifiers):
3775 Remove pop-up-frame. Add pop-up-window-min-height,
be3fb2b8
MR
3776 pop-up-window-min-width, and another reuse-window specifier
3777 (Bug#8882). Reported by Dan Nicolaescu <dann@gnu.org>.
bcd70d97
SM
3778 (display-buffer-normalize-specifiers-2):
3779 Handle split-height-threshold and split-width-threshold also when
be3fb2b8
MR
3780 pop-up-windows is unset. Add a reuse-window specifier for the
3781 case popping up a new window fails.
3782 (special-display-popup-frame): Remove double quoting.
28dec25a 3783 (display-buffer-normalize-specifiers-1): Fix thinko.
be3fb2b8 3784
1c6d8c76
SM
37852011-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
3786
3787 * shell.el (shell-completion-vars): Set pcomplete-termination-string
3788 according to comint-completion-addsuffix.
3789
3790 * pcomplete.el: Convert to lexical binding and fix bug#8819.
3791 (pcomplete-suffix-list): Mark as obsolete.
3792 (pcomplete-completions-at-point): Capture pcomplete-norm-func and
3793 pcomplete-seen in the closure.
3794 (pcomplete-comint-setup): Setup completion-at-point as well.
3795 (pcomplete--entries): New function.
3796 (pcomplete--env-regexp): New var.
3797 (pcomplete-entries): Rewrite to work with partial-completion and
3798 without relying on pcomplete-suffix-list.
3799 (pcomplete-pare-list): Remove, unused.
3800
25aef8b8
MR
38012011-06-17 Martin Rudalics <rudalics@gmx.at>
3802
3803 * window.el (display-buffer-alist): Set pop-up-window-min-height
3804 and pop-up-window-min-width in default value. Reported by
3805 Thierry Volpiatto <thierry.volpiatto@gmail.com>. New specifier
3806 other-window-means-other-frame.
3807 (display-buffer-macro-specifiers): Comment out entry for
3808 other-window specifier.
3809 (display-buffer-other-window-means-other-frame): New function.
3810 (display-buffer-normalize-specifiers-1): New arguments
3811 buffer-name and label. Treat other-window case specially.
3812 (display-buffer-normalize-specifiers-2): Treat other-window case
3813 specially.
3814 (display-buffer-normalize-specifiers-3): New function.
bcd70d97
SM
3815 (display-buffer-normalize-specifiers):
3816 Call display-buffer-normalize-specifiers-3.
25aef8b8 3817
dbad4f69
MR
38182011-06-17 Martin Rudalics <rudalics@gmx.at>
3819
3820 * window.el (same-window-p): Fix two typos introduced when
3821 adding with-no-warnings.
d1067961
MR
3822 (display-buffer-normalize-specifiers-1): Don't check
3823 pop-up-frames for 'unset initialization.
3824 (display-buffer-normalize-specifiers-2): Major rewrite using
3825 special-display-p and same-window-p (Bug#8851) and (Bug#8856).
3826 (pop-up-frames, display-buffer-reuse-frames)
3827 (display-buffer-mark-dedicated): Don't initialize to 'unset.
3828 Suggested by David Engster <deng@randomsample.de>.
3829 (even-window-heights): Initialize to 'unset.
3830 (display-buffer-alist-set): Handle new 'unset initializations.
25aef8b8
MR
3831 (display-buffer-macro-specifiers): Don't pop up a new frame in the
3832 other window case.
dbad4f69 3833
9b9c9e3a
MR
38342011-06-16 Martin Rudalics <rudalics@gmx.at>
3835
bcd70d97
SM
3836 * window.el (display-buffer-normalize-specifiers-1):
3837 Respect current value of pop-up-frames for most reasonable values of
9b9c9e3a 3838 second argument of display-buffer (Bug#8865).
981d5c09
MR
3839 (switch-to-buffer-same-frame, switch-to-buffer-other-window)
3840 (switch-to-buffer-other-window-same-frame)
3841 (switch-to-buffer-other-frame): Fix doc-strings. Reported by Drew
3842 Adams (Bug#8875).
9c2755e9
MR
3843 (display-buffer): Don't check noninteractive when calling
3844 display-buffer-pop-up-frame.
3845 (display-buffer-pop-up-frame): Never pop up a frame in
3846 noninteractive mode (Bug#8857).
67222e1d
MR
3847 (enlarge-window, shrink-window): Don't report an error when the
3848 window can't be resized as requested (Bug#8862).
9b9c9e3a 3849
2b75be67
SM
38502011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
3851
9ffdd3ba
SM
3852 * pcmpl-rpm.el (pcomplete/rpm): Minor simplification.
3853
cb581a67
SM
3854 * emacs-lisp/debug.el (debug): Don't leave the buffer in Debugger.
3855
2b75be67
SM
3856 * abbrev.el (define-abbrev-table): Don't add a table multiple times.
3857
8c0e3589
AM
38582011-06-15 Alan Mackenzie <acm@muc.de>
3859
cb581a67
SM
3860 * progmodes/cc-fonts.el (c-font-lock-declarations): 1: Whilst checking
3861 for declarators, disable knr checking to speed up for normal files.
3862 2: Refactor, replacing a sequence of nested if forms by a cond form.
8c0e3589 3863
b96e6cde
LMI
38642011-06-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
3865
4bba86e6
LMI
3866 * net/network-stream.el (open-network-stream): Add the keyword
3867 :always-query-capabilities for the case where you want to force a
3868 `plain' network connection, but the protocol still requires the
3869 capabilitiy command (i.e., SMTP and EHLO).
3870
2b75be67 3871 * subr.el (process-live-p): Rename from `process-alive-p' for
b96e6cde
LMI
3872 consistency with other `-live-p' functions.
3873
efdcdbf8
SM
38742011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
3875
3876 * window.el (same-window-buffer-names, same-window-regexps)
3877 (special-display-frame-alist, special-display-popup-frame)
3878 (special-display-function, special-display-buffer-names)
3879 (special-display-regexps, pop-up-frame-alist)
3880 (pop-up-frame-function, pop-up-frames, display-buffer-reuse-frames)
3881 (pop-up-windows, split-window-preferred-function)
3882 (split-height-threshold, split-width-threshold, even-window-heights)
3883 (display-buffer-mark-dedicated): Don't encourage the use of
3884 display-buffer-alist from Elisp code.
3885
c5cde042
DN
38862011-06-15 Dan Nicolaescu <dann@ics.uci.edu>
3887
3888 * progmodes/python.el (python-mode): Derive from prog-mode.
3889 * progmodes/ps-mode.el (ps-mode):
3890 * progmodes/mixal-mode.el (mixal-mode):
50328a1b 3891 * progmodes/cfengine.el (cfengine-mode):
c5cde042
DN
3892 * progmodes/ld-script.el (ld-script-mode): Likewise.
3893
baa1c9ab
MR
38942011-06-15 Martin Rudalics <rudalics@gmx.at>
3895
3896 * window.el (display-buffer-alist): Trim default value to avoid
3897 popping up a new frame (Bug#8857) or reusing an arbitrary window
3898 on another frame.
3899 (display-buffer): Do not fall back on popping up a new frame in
3900 batch mode (Bug#8857).
3901
c5dd5a51
CY
39022011-06-14 Chong Yidong <cyd@stupidchicken.com>
3903
3904 * cus-theme.el (describe-theme-1): Use custom-theme-p.
3905 (custom-theme-summary): New function.
3906 (customize-themes): Use it.
3907
d647b7c4
GM
39082011-06-13 Glenn Morris <rgm@gnu.org>
3909
3910 * cus-dep.el (custom-make-dependencies): Use up command-line-args-left.
3911
9481c002
MR
39122011-06-13 Martin Rudalics <rudalics@gmx.at>
3913
357f93d2
MR
3914 * help.el (help-window): Remove variable.
3915 (help-window-point-marker, temp-buffer-max-height)
3916 (temp-buffer-resize-mode, help-window-select): Rewrite doc-strings.
3917 (help-print-return-message): Don't set help-window.
3918 (resize-temp-buffer-window): Rewrite cod eand doc-string.
3919 (help-window-setup-finish): Remove.
3920 (help-window-display-message, help-window-setup)
3921 (with-help-window): Major rewrite based on new
3922 display-buffer-window variable.
3923
3924 * help-mode.el (help-mode-finish): Remove help-window related
3925 code.
3926
3927 * view.el (view-exits-all-viewing-windows): Remove reference to
3928 view-return-to-alist in doc-string.
3929 (view-return-to-alist): Make obsolete.
3930 (view-buffer): Call pop-to-buffer-same-window and remove
3931 undo-window code.
3932 (view-buffer-other-window): Call pop-to-buffer-other-window and
3933 simplify code. Ignore second argument.
3934 (view-buffer-other-frame): Call pop-to-buffer-other-frame and
3935 simplify code. Ignore second argument.
3936 (view-return-to-alist-update): Make obsolete.
3937 (view-mode-enter): Rename second argument to QUIT-RESTORE.
3938 Rewrite using quit-restore window parameters.
2b75be67
SM
3939 (view-mode-exit): Rename second argument to EXIT-ONLY.
3940 Rewrite using quit-restore-window.
357f93d2
MR
3941 (View-exit, View-exit-and-edit, View-leave, View-quit)
3942 (View-quit-all, View-kill-and-leave): Call view-mode-exit with
3943 appropriate arguments.
3944 (view-end-message): Use quit-restore window parameter.
3945
9481c002
MR
3946 * window.el (display-buffer-function): Rewrite doc-string.
3947 (display-buffer-window, display-buffer-alist): New variables.
3948 (display-buffer-split-specifiers)
3949 (display-buffer-side-specifiers)
3950 (display-buffer-macro-specifiers): New constants.
3951 (display-buffer-even-window-sizes, display-buffer-set-height)
3952 (display-buffer-set-width, display-buffer-select-window)
3953 (display-buffer-in-window, display-buffer-reuse-window)
3954 (display-buffer-split-window-1, display-buffer-split-window)
3955 (display-buffer-split-atom-window, display-buffer-pop-up-window)
3956 (display-buffer-pop-up-frame, display-buffer-pop-up-side-window)
3957 (display-buffer-in-side-window, normalize-buffer-to-display)
3958 (display-buffer-normalize-specifiers-1)
3959 (display-buffer-normalize-specifiers-2)
2b75be67
SM
3960 (display-buffer-normalize-specifiers, display-buffer-frame):
3961 New functions.
9481c002
MR
3962 (display-buffer): Major rewrite.
3963 (display-buffer-other-window, display-buffer-other-frame)
3964 (pop-to-buffer, switch-to-buffer-other-window)
3965 (switch-to-buffer-other-frame): Rewrite.
3966 (display-buffer-same-window, display-buffer-same-frame)
3967 (display-buffer-same-frame-other-window)
3968 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
3969 (pop-to-buffer-other-window)
3970 (pop-to-buffer-same-frame-other-window)
3971 (pop-to-buffer-other-frame, switch-to-buffer-same-frame)
3972 (switch-to-buffer-other-window-same-frame): New functions.
3973 (same-window-p, special-display-p): Rewrite disabling warnings.
3974 Make obsolete.
3975 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
3976 (display-buffer-mark-dedicated): Initialize to symbol 'unset.
3977 Make obsolete
3978 (same-window-buffer-names, same-window-regexps)
3979 (special-display-frame-alist, special-display-popup-frame)
3980 (special-display-function, special-display-buffer-names)
3981 (special-display-regexps, pop-up-frame-alist)
3982 (pop-up-frame-function, split-window-preferred-function)
3983 (split-height-threshold, split-width-threshold)
3984 (even-window-heights): Make obsolete.
3985
9db51aca
GM
39862011-06-12 Glenn Morris <rgm@gnu.org>
3987
3988 * term/xterm.el (terminal-init-xterm): `version' may be nil. (Bug#8838)
7cb363eb 3989 Misc simplifications.
9db51aca 3990
39cffb44
MR
39912011-06-12 Martin Rudalics <rudalics@gmx.at>
3992
3993 * window.el (window-safely-shrinkable-p): Restore function which
3994 was inadvertently removed in change from 2011-06-11. Declare as
3995 obsolete.
3996
2b75be67
SM
3997 * calendar/calendar.el (calendar-generate-window):
3998 Use window-iso-combined-p instead of combination of one-window-p and
39cffb44
MR
3999 window-safely-shrinkable-p.
4000
a8955be7
GM
40012011-06-12 Glenn Morris <rgm@gnu.org>
4002
4003 * progmodes/fortran.el (fortran-mode-syntax-table):
4004 * progmodes/f90.el (f90-mode-syntax-table):
4005 Set % to punctuation. (Bug#8820)
4006 (f90-find-tag-default): Remove, no longer needed.
4007
f0d4059d
DC
40082011-06-12 Daniel Colascione <dan.colascione@gmail.com>
4009
4010 * emacs-lisp/syntax.el (syntax-ppss): Clarify which items are invalid.
4011
1100a63c
CY
40122011-06-11 Chong Yidong <cyd@stupidchicken.com>
4013
4014 * image.el (image-animated-p): Return animation delay in seconds.
4015 Avoid bit manipulation in Lisp; use `delay' entry in the metadata.
4016 (image-animate-timeout): Remove DELAY argument. Don't assume
4017 every subimage has the same delay; get it from image-animated-p.
4018 (image-animate): Caller changed.
4019
def722bf
MA
40202011-06-11 Michael Albinus <michael.albinus@gmx.de>
4021
4022 * net/tramp.el (tramp-debug-message): Add `tramp-with-progress-reporter'
4023 to ignored backtrace functions.
4024
0a2bb1a9
GM
40252011-06-11 Glenn Morris <rgm@gnu.org>
4026
4027 * calendar/appt.el (appt-disp-window-function): Doc fix.
4028 (appt-check): Handle overlapping appointments. (Bug#8337)
4029
6198ccd0
MR
40302011-06-11 Martin Rudalics <rudalics@gmx.at>
4031
4032 * window.el (window-tree-1, window-tree): New functions, moving
4033 the latter to window.el.
4034 (bw-get-tree, bw-get-tree-1, bw-find-tree-sub)
4035 (bw-find-tree-sub-1, bw-l, bw-t, bw-r, bw-b, bw-dir, bw-eqdir)
4036 (bw-refresh-edges): Remove.
4037 (balance-windows-1, balance-windows-2): New functions.
4038 (balance-windows): Rewrite in terms of window tree functions,
4039 balance-windows-1 and balance-windows-2.
4040 (bw-adjust-window): Remove.
4041 (balance-windows-area-adjust): New function with functionality of
4042 bw-adjust-window but using resize-window.
2b75be67
SM
4043 (set-window-text-height): Rewrite doc-string.
4044 Use normalize-live-window and resize-window.
4045 (enlarge-window-horizontally, shrink-window-horizontally):
4046 Rename argument to DELTA.
6198ccd0
MR
4047 (window-buffer-height): New function.
4048 (fit-window-to-buffer, shrink-window-if-larger-than-buffer):
4049 Rewrite using new window resize routines.
2b75be67
SM
4050 (kill-buffer-and-window, mouse-autoselect-window-select):
4051 Use ignore-errors instead of condition-case.
6198ccd0
MR
4052 (quit-window): Call delete-frame instead of delete-windows-on
4053 for the only buffer on frame.
4054
9397e56f
MR
40552011-06-10 Martin Rudalics <rudalics@gmx.at>
4056
4057 * loadup.el (top-level): Load window before files for the sake
4058 of replace-buffer-in-windows.
4059
4060 * files.el (read-buffer-to-switch)
4061 (switch-to-buffer-other-window)
2b75be67
SM
4062 (switch-to-buffer-other-frame, display-buffer-other-frame):
4063 Move to window.el.
9397e56f
MR
4064
4065 * simple.el (get-next-valid-buffer, last-buffer, next-buffer)
4066 (previous-buffer): Move to window.el.
4067
4068 * bindings.el (unbury-buffer): Move to window.el.
4069
4070 * window.el (delete-other-windows-vertically): Move after
4071 definition of delete-other-windows.
4072 (other-window, delete-windows-on, replace-buffer-in-windows):
4073 Move here from window.c.
4074 (record-window-buffer, unrecord-window-buffer)
4075 (set-window-buffer-start-and-point, switch-to-prev-buffer)
4076 (switch-to-next-buffer): New functions.
4077 (get-next-valid-buffer, last-buffer, next-buffer): Move here
4078 from simple.el. Call switch-to-next-buffer.
2b75be67
SM
4079 (previous-buffer): Move here from simple.el.
4080 Call switch-to-prev-buffer.
9397e56f
MR
4081 (bury-buffer): Move here from buffer.c. Switch to previous
4082 buffer when window cannot be deleted.
4083 (unbury-buffer): Move here from bindings.el.
4084 (ctl-x-map): Move binding for other-window from window.c to
4085 here.
4086 (read-buffer-to-switch, switch-to-buffer-other-window)
4087 (switch-to-buffer-other-frame): Move here from files.el.
4088 (normalize-buffer-to-switch-to): New functions.
2b75be67
SM
4089 (switch-to-buffer): Move here from buffer.c.
4090 Use read-buffer-to-switch and normalize-buffer-to-switch-to.
9397e56f 4091
562dd5e9
MR
40922011-06-10 Martin Rudalics <rudalics@gmx.at>
4093
4094 * window.el (window-min-height, window-min-width): Move here
4095 from window.c. Add defcustoms and rewrite doc-strings.
4096 (resize-mini-window, resize-window): New functions.
4097 (adjust-window-trailing-edge, enlarge-window, shrink-window):
4098 Move here from window.c.
4099 (maximize-window, minimize-window): New functions.
4100 (delete-window, delete-other-windows, split-window): Move here
4101 from window.c.
4102 (window-split-min-size): New function.
4103 (split-window-keep-point): Mention split-window-above-each-other
4104 instead of split-window-vertically.
2b75be67
SM
4105 (split-window-above-each-other, split-window-vertically):
4106 Rename split-window-vertically to split-window-above-each-other and
562dd5e9
MR
4107 provide defalias for old definition.
4108 (split-window-side-by-side, split-window-horizontally): Rename
4109 split-window-horizontally to split-window-side-by-side and provide
4110 defalias for the old definition.
4111 (ctl-x-map): Move bindings for delete-window,
4112 delete-other-windows and enlarge-window here from window.c.
4113 Replace bindings for split-window-vertically and
4114 split-window-horizontally by bindings for
4115 split-window-above-each-other and split-window-side-by-side.
4116
4117 * cus-start.el (all): Remove entries for window-min-height and
4118 window-min-width. Add entries for window-splits and
4119 window-nest.
4120
f0da764a
GM
41212011-06-09 Glenn Morris <rgm@gnu.org>
4122
80675c21
GM
4123 * calendar/appt.el (appt-mode-line): New function.
4124 (appt-check, appt-disp-window): Use it.
4125
f0da764a
GM
4126 * files.el (hack-one-local-variable-eval-safep):
4127 Allow minor-modes with explicit +/-1 arguments.
4128
59f623b7
TZ
41292011-06-09 Teodor Zlatanov <tzz@lifelogs.com>
4130
4131 * term/xterm.el (xterm): Add defgroup.
4132 (xterm-extra-capabilities): Add defcustom to supply known xterm
4133 capabilities, skip querying them, or query them (default).
4134 (terminal-init-xterm): Use it.
4135 (terminal-init-xterm-modify-other-keys): New function to set up
4136 modifyOtherKeys support to simplify `terminal-init-xterm'.
4137
9aab8e0d
MR
41382011-06-09 Martin Rudalics <rudalics@gmx.at>
4139
4140 * window.el (resize-window-reset, resize-window-reset-1)
4141 (resize-subwindows-skip-p, resize-subwindows-normal)
4142 (resize-subwindows, resize-other-windows, resize-this-window)
4143 (resize-root-window, resize-root-window-vertically)
4144 (window-deletable-p, window-or-subwindow-p)
4145 (frame-root-window-p): New functions.
4146
e8b08aee
GM
41472011-06-09 Glenn Morris <rgm@gnu.org>
4148
4149 * net/ange-ftp.el (ange-ftp-switches-ok): New function.
4150 (ange-ftp-get-files): Use it.
4151
254c37a5
AK
41522011-06-09 Alexander Klimov <alserkli@inbox.ru> (tiny change)
4153
4154 * mail/sendmail.el (mail-recover-1, mail-recover):
4155 * files.el (recover-file, recover-session):
4156 Handle dired-listing-switches not being just a single short option.
4157
35d7dbd3
GM
41582011-06-09 Glenn Morris <rgm@gnu.org>
4159
4160 * calendar/appt.el (appt-display-message, appt-disp-window):
4161 Handle lists of appointments.
4162
387522b2
MR
41632011-06-08 Martin Rudalics <rudalics@gmx.at>
4164
2b75be67
SM
4165 * window.el (one-window-p): Move down in code.
4166 Rewrite doc-string.
4167 (window-current-scroll-bars): Rewrite doc-string.
4168 Normalize live window argument.
387522b2
MR
4169 (walk-windows, get-window-with-predicate, count-windows):
4170 Rewrite doc-string. Use window-list-1.
4171 (window-in-direction-2, window-in-direction, get-mru-window):
4172 New functions.
4173
d8e4b68b 41742011-06-08 Reuben Thomas <rrt@sc3d.org>
2c587104
GM
4175
4176 * progmodes/flymake.el (flymake-compilation-prevents-syntax-check):
4177 Doc fix (Bug#8713).
4178
41792011-06-08 Chong Yidong <cyd@stupidchicken.com>
4180
4181 * repeat.el (repeat-on-final-keystroke): Fix type (Bug#8696).
4182
41832011-06-08 Juanma Barranquero <lekktu@gmail.com>
4184
4185 * loadhist.el (unload-feature-special-hooks):
4186 Add `comint-output-filter-functions'.
4187
0de12c52
IK
41882011-06-08 Ivan Kanis <gnu@kanis.fr>
4189
4190 * calendar/appt.el (appt-check): Move some initializations into the let.
4191
f3d1777e
MR
41922011-06-08 Martin Rudalics <rudalics@gmx.at>
4193
4194 * window.el (window-height): Defalias to window-total-height.
4195 (window-width): Defalias to window-body-width.
4196
18af70d0
CY
41972011-06-07 Chong Yidong <cyd@stupidchicken.com>
4198
4199 * image-mode.el (image-toggle-animation): New command.
4200 (image-mode-map): Bind it to RET.
4201 (image-mode): Update message.
4202 (image-toggle-display-image): Avoid a spurious cache flush.
4203 (image-transform-rotation): Doc fix.
4204 (image-transform-properties): Return quickly in the normal case.
4205 (image-animate-loop): Rename from image-animate-max-time.
4206
2b75be67 4207 * image.el (image-animate-max-time): Move to image-mode.el.
18af70d0
CY
4208 (create-animated-image): Remove unnecessary function.
4209 (image-animate): Rename from image-animate-start. New arg.
2b75be67 4210 (image-animate-stop): Remove; just use image-animate-timer.
18af70d0
CY
4211 (image-animate-timer): Use car-safe.
4212 (image-animate-timeout): Rename argument.
4213
190b47e6
MR
42142011-06-07 Martin Rudalics <rudalics@gmx.at>
4215
4216 * window.el (get-lru-window, get-largest-window): Move here from
2b75be67
SM
4217 window.c. Rename first argument to ALL-FRAMES.
4218 Rephrase doc-strings.
4219 (get-buffer-window-list): Rewrite using window-list-1.
4220 Rephrase doc-string.
a1511caf
MR
4221 (window-safe-min-height, window-safe-min-width): New constants.
4222 (window-size-ignore, window-min-size, window-min-size-1)
4223 (window-sizable, window-sizable-p, window-size-fixed-1)
4224 (window-size-fixed-p, window-min-delta-1, window-min-delta)
4225 (window-max-delta-1, window-max-delta, window-resizable)
4226 (window-resizable-p, window-total-height, window-total-width)
4227 (window-body-width): New functions.
4228 (window-full-height-p, window-full-width-p): Rewrite using
4229 window-total-size.
4230 (window-body-height): Rewrite using window-body-size.
190b47e6 4231
85cc1f11
MR
42322011-06-06 Martin Rudalics <rudalics@gmx.at>
4233
4234 * window.el (window-right, window-left, window-child)
4235 (window-child-count, window-last-child, window-any-p)
4236 (normalize-live-buffer, normalize-live-frame)
4237 (normalize-any-window, normalize-live-window)
4238 (window-iso-combination-p, window-iso-combined-p)
4239 (window-iso-combinations)
4240 (walk-window-tree-1, walk-window-tree, walk-window-subtree)
4241 (windows-with-parameter, window-with-parameter)
4242 (window-atom-root, make-window-atom, window-atom-check-1)
2b75be67
SM
4243 (window-atom-check, window-side-check, window-check):
4244 New functions.
85cc1f11
MR
4245 (ignore-window-parameters, window-sides, window-sides-vertical)
4246 (window-sides-slots): New variables.
4247 (window-size-fixed): Move down in code. Minor doc-string fix.
4248
e7156492
AS
42492011-06-05 Andreas Schwab <schwab@linux-m68k.org>
4250
4251 * comint.el (comint-dynamic-complete-as-filename)
4252 (comint-dynamic-complete-filename): Correctly call
4253 completion-in-region.
4254
7e821d0d
DD
42552011-06-05 Deniz Dogan <deniz@dogan.se>
4256
4257 * net/rcirc.el (rcirc-prompt-for-encryption): Fix bug introduced
4258 in last change.
4259
ac09b8a1
DD
42602011-06-05 Deniz Dogan <deniz@dogan.se>
4261
4262 * net/rcirc.el (rcirc-prompt-for-encryption): New function.
4263 (rcirc): Use it to prompt for encryption.
4264
34699b85
RW
42652011-06-05 Roland Winkler <winkler@gnu.org>
4266
4267 * textmodes/bibtex.el (bibtex-search-buffer): New variable.
4268 (bibtex-search-entries): New command bound to C-c C-a.
4269 (bibtex-display-entries): New function.
4270
004dedd3
RW
42712011-06-05 Roland Winkler <winkler@gnu.org>
4272
4273 * textmodes/bibtex.el (bibtex-generate-url-list): Fix docstring.
4274 (bibtex-insert-kill): After yanking insert newline if necessary.
4275 (bibtex-initialize): Call bibtex-string-files-init only once.
4276 (bibtex-mode): Do not call easy-menu-add.
4277 (bibtex-validate-globally): Use save-excursion in bibtex buffers.
4278 (bibtex-yank): Set arg properly if nil.
4279
022fe7ce
RW
42802011-06-05 Roland Winkler <winkler@gnu.org>
4281
2b75be67
SM
4282 * textmodes/bibtex.el (bibtex-search-entry-globally):
4283 New variable.
022fe7ce
RW
4284 (bibtex-search-entry): Use it.
4285
b7c3692a
RW
42862011-06-05 Roland Winkler <winkler@gnu.org>
4287
4288 * textmodes/bibtex.el (bibtex-entry-format): New option
4289 sort-fields.
4290 (bibtex-format-entry, bibtex-reformat): Honor this option.
4291 (bibtex-parse-entry): Return fields in proper order.
4292
8eda563d
JB
42932011-06-05 Juanma Barranquero <lekktu@gmail.com>
4294
4295 * doc-view.el (doc-view-remove-if): Move computation of result out
4296 of `dolist' to silence misleading lexical-binding warning.
4297
7dbe3dbc
CY
42982011-06-04 Chong Yidong <cyd@stupidchicken.com>
4299
4300 * emacs-lisp/timer.el (timer-activate): Remove unused arg.
4301 (timer-activate, timer-activate-when-idle): Doc fix (Bug#8793).
4302
0c33dd17
MA
43032011-06-04 Michael Albinus <michael.albinus@gmx.de>
4304
4305 * net/tramp-sh.el (tramp-find-shell): Apply workaround also for
4306 "SunOS 5.10".
4307
f8f91c2b
MA
43082011-06-04 Michael Albinus <michael.albinus@gmx.de>
4309
4310 * net/tramp.el (tramp-set-completion-function, tramp-parse-rhosts)
4311 (tramp-parse-shosts, tramp-parse-sconfig, tramp-parse-shostkeys)
4312 (tramp-parse-hosts, tramp-parse-passwd, tramp-parse-netrc)
4313 (tramp-parse-putty):
4314 * net/tramp-sh.el (tramp-completion-function-alist-rsh)
4315 (tramp-completion-function-alist-ssh)
4316 (tramp-completion-function-alist-telnet)
4317 (tramp-completion-function-alist-su)
4318 (tramp-completion-function-alist-putty): Set `tramp-autoload'
4319 cookie.
4320
4321 * net/tramp-ftp.el:
4322 * net/tramp-sh.el:
4323 * net/tramp-smb.el: Set `tramp-autoload' cookie, and eval after
4324 load "tramp.el" `tramp-set-completion-function'.
4325
e17d9003
SM
43262011-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
4327
4328 * shell.el: Require and use pcomplete.
4329 (shell-dynamic-complete-functions): Add pcomplete-completions-at-point.
4330 (shell-completion-vars): Set pcomplete-default-completion-function.
4331
6c4cab03
DD
43322011-06-04 Deniz Dogan <deniz@dogan.se>
4333
4334 * iswitchb.el (iswitchb-window-buffer-p): Use `member' instead of
4335 `memq' (Bug#8799).
4336
ea9fafe0
SM
43372011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
4338
4339 * subr.el (make-progress-reporter): Add "..." by default (bug#8785).
4340
b3e945d3
JB
43412011-06-02 Juanma Barranquero <lekktu@gmail.com>
4342
4343 * bs.el (bs--mark-unmark, bs--nth-wrapper):
4344 * mpc.el (mpc-select-extend, mpc-songpointer-context):
4345 * vc/log-view.el (log-view-beginning-of-defun):
4346 * vc/smerge-mode.el (smerge-apply-resolution-patch)
4347 (smerge-refine-forward, smerge-refine-chopup-region):
4348 Silence warning for unused `dotimes' counter variables.
4349
7d520089
SM
43502011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
4351
4352 * net/tramp.el (tramp-with-progress-reporter): Rename from
4353 with-progress-reporter. Use `declare'.
4354 * net/tramp-smb.el:
4355 * net/tramp-sh.el:
4356 * net/tramp-gvfs.el: Update all uses.
4357
a1c2400f
JB
43582011-06-02 Jay Belanger <jay.p.belanger@gmail.com>
4359
4360 * calc/calc.el (calc-kill-stack-buffer): Make sure that the trail
4361 buffer isn't killed before making it current.
4362
2403c841
SM
43632011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
4364
4365 Silence various byte-compiler warnings.
4366 * emacs-lisp/byte-run.el (make-obsolete-variable): New argument
4367 `access-type' and new obsolescence format.
4368 * emacs-lisp/bytecomp.el (byte-compile-warn-obsolete): Adjust to
4369 new format.
4370 (byte-compile-check-variable): New `access-type' argument.
4371 Only warn if the access-type is obsolete.
4372 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
4373 (byte-compile-variable-set): Adjust callers.
4374 * help-fns.el (describe-variable): Adjust to new obsolescence format.
4375 * mail/sendmail.el (mail-mailer-swallows-blank-line): Only mark
4376 setting it as obsolete.
4377 * simple.el (minibuffer-completing-symbol):
4378 * font-lock.el (font-lock-beginning-of-syntax-function): Only mark read
4379 access as obsolete.
4380 * minibuffer.el (minibuffer-completing-file-name): Don't make it
4381 obsolete yet.
4382 * international/quail.el (quail-mouse-choose-completion): Remove unused
4383 code referring to obsolete var.
4384 (quail-choose-completion-string): Remove.
4385 * server.el (server-clients-with, server-kill-buffer-query-function)
4386 (server-kill-emacs-query-function): Silence "unused `proc'" warnings.
4387 * proced.el (proced-send-signal):
4388 * emacs-lisp/lisp.el (lisp-complete-symbol):
4389 Replace completion-annotate-function with completion-extra-properties.
4390
2462470b
SM
43912011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
4392
fb5b2591
SM
4393 * simple.el (goto-line): Use read-number.
4394 (overriding-map-is-bound): Remove.
4395 (saved-overriding-map): Change default.
4396 (save&set-overriding-map): Rename from ensure-overriding-map-is-bound;
4397 Take the map as argument.
4398 (universal-argument, negative-argument, digit-argument): Use it.
4399 (restore-overriding-map): Adjust.
4400 (do-auto-fill): Use fill-forward-paragraph.
4401 (keyboard-quit): Don't signal an error when debug-on-quit is non-nil.
4402
fd6fa53f
SM
4403 * minibuffer.el (minibuffer-inactive-mode-map): New var.
4404 (minibuffer-inactive-mode): New major mode.
4405 * mouse.el (mouse-drag-region): Remove the "mouse-1 pops up
4406 the *Messages* buffer" hack.
4407 (mouse-popup-menubar): Don't burp if the event is a normal key.
4408
2462470b
SM
4409 Miscellaneous tweaks.
4410 * emacs-lisp/cl-macs.el (dolist, dotimes): Use the same strategy for
4411 lexical scoping as in subr.el's dolist and dotimes.
4412 * emacs-lisp/bytecomp.el (byte-compile-unfold-bcf):
4413 Silence compiler warning.
4414 * thingatpt.el (forward-whitespace): Trivial coding style fix.
4415 * subr.el (with-output-to-temp-buffer): Provide an edebug spec.
4416 * international/ccl.el (ccl-compile): Trivial simplification.
4417 * help-fns.el (help-do-arg-highlight): Silence compiler warning.
4418 * emacs-lisp/testcover.el (testcover-end): Remove spurious
4419 `printflag' argument.
4420 * emacs-lisp/byte-run.el (make-obsolete, make-obsolete-variable):
4421 Purecopy the whole obsolescence data.
4422
108bf785
LL
44232011-06-01 Leo Liu <sdl.web@gmail.com>
4424
4425 * net/rcirc.el (rcirc-decode-coding-system): Revert last change;
4426 improve doc-string as suggested by Marco Pessotto
4427 <melmothx@gmail.com>.
4428 (rcirc-print): Fix last change.
4429
30a23501
SM
44302011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
4431
4432 * minibuffer.el (complete-with-action): Return nil for the metadata and
4433 boundaries of non-functional tables.
4434 (completion-table-dynamic): Return nil for the metadata.
4435 (completion-table-with-terminator): Add default case, using
4436 complete-with-action.
4437 (completion--metadata): New function.
4438 (completion-all-sorted-completions, minibuffer-completion-help): Use it
4439 to try and avoid pathological performance problems.
4440 (completion--embedded-envvar-table): Return `category' metadata.
4441
bcd54f83
LMI
44422011-05-31 Lars Magne Ingebrigtsen <larsi@gnus.org>
4443
4444 * subr.el (process-alive-p): New tiny convenience function.
4445
e227544d
SM
44462011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
4447
4448 * emacs-lisp/debug.el (debug): Save&restore not just the buffer's
4449 content but also its previous major mode.
4450
e8296fdc
HE
44512011-05-31 Helmut Eller <eller.helmut@gmail.com>
4452
4d61f28d 4453 * emacs-lisp/debug.el (debug): Restore the previous content of the
e8296fdc
HE
4454 *Backtrace* buffer when we exit with C-M-c.
4455
620c53a6
SM
44562011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
4457
4458 * minibuffer.el: Add metadata method to completion tables.
4459 (completion-category-overrides): New defcustom.
4460 (completion-metadata, completion--field-metadata)
4461 (completion-metadata-get, completion--styles)
4462 (completion--cycle-threshold): New functions.
4463 (completion-try-completion, completion-all-completions):
4464 Add `metadata' argument to choose completion-styles.
4465 (completion--do-completion): Use metadata to choose cycling.
4466 (completion-all-sorted-completions): Use metadata for sorting.
4467 Remove :completion-cycle-penalty which is not needed any more.
4468 (completion--try-word-completion): Add `metadata' argument.
4469 (minibuffer-completion-help): Check metadata for annotation function
4470 and sorting.
4471 (completion-file-name-table): Return `category' metadata.
4472 (minibuffer-completing-file-name): Make obsolete.
4473 * simple.el (minibuffer-completing-symbol): Make obsolete.
4474 * icomplete.el (icomplete-completions): Pass new `metadata' param to
4475 completion-try-completion.
4476
1257e755
SM
44772011-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
4478
4479 * mail/smtpmail.el (smtpmail-send-data): Add progress reporter.
4480
3767e706
LL
44812011-05-30 Leo Liu <sdl.web@gmail.com>
4482
4483 * net/rcirc.el (rcirc-debug-buffer): Use visible buffer name.
5ab33f2b
LL
4484 (rcirc-print): Decode all incoming messages (bug#8744).
4485 (rcirc-decode-coding-system): Allow value nil for automatic coding
4486 system detection.
3767e706 4487
d1a5d56a
GM
44882011-06-01 Glenn Morris <rgm@gnu.org>
4489
4490 * mail/emacsbug.el (report-emacs-bug-hook): Mailclient ignores From.
4491
e8cbec34
CY
44922011-05-29 Chong Yidong <cyd@stupidchicken.com>
4493
4494 * image.el (image-animate-max-time): Allow nil and t values.
4495 Default to nil.
4496 (create-animated-image): Doc fix.
4497 (image-animate-start): Remove second arg; just use
4498 image-animate-max-time.
4499 (image-animate-timeout): Doc fix. Args changed.
4500
4501 * image-mode.el (image-toggle-display-image): Ensure that the
4502 image spec passed to the animate timer is the same object as in
4503 the the buffer's display property (Bug#6981).
4504 (image-transform-properties): Doc fix.
4505
4506 * image.el (image-animate-max-time): Default to nil.
4507
159daf87
MR
45082011-05-29 Martin Rudalics <rudalics@gmx.at>
4509
4510 * menu-bar.el (kill-this-buffer-enabled-p): Avoid looping over
4511 entire buffer list (Bug#8184).
4512
d66c4c7c
CY
45132011-05-29 Chong Yidong <cyd@stupidchicken.com>
4514
4515 * image.el (imagemagick-types-inhibit)
4516 (imagemagick-register-types): Doc fix.
4517
80aec780
DD
45182011-05-29 Deniz Dogan <deniz@dogan.se>
4519
4520 * net/rcirc.el (rcirc): Use the user's stored encryption method by
4521 default.
4522
1dd3c2d9
CY
45232011-05-29 Chong Yidong <cyd@stupidchicken.com>
4524
4525 * select.el: Don't perform clipboard-manager saving in hooks;
4526 leave the hooks empty.
4527
60e56523
LL
45282011-05-28 Leo Liu <sdl.web@gmail.com>
4529
4530 * replace.el (occur-menu-map, occur-edit-mode-map): New vars.
4531 (occur-mode-map): Bind occur-edit-mode. Use occur-menu-map.
4532 (occur-edit-mode): New major mode (Bug#8463).
4533 (occur-after-change-function): New function.
4534 (occur-engine): Give Occur tags a read-only property.
4535
2b1e1a22
KR
45362011-05-28 Kevin Ryde <user42@zip.com.au>
4537
4538 * subr.el (def-edebug-spec): Doc fix (Bug#8430).
4539
5d344e88
CY
45402011-05-28 Chong Yidong <cyd@stupidchicken.com>
4541
8e6ca83d
CY
4542 * bindings.el (help-echo): Make the initial non-indicator dash
4543 empty on graphical terminals (Bug#7295).
4544
5d344e88
CY
4545 * files.el (auto-mode-alist): Move config rule after the
4546 in-stripping one (Bug#8547).
4547
bfbbace7
CY
4548 * newcomment.el (comment-end-skip): Doc fix (Bug#8659).
4549
fbeba6e2
CY
4550 * startup.el (normal-splash-screen): Remove gratuitous mode-line
4551 setting (Bug#8740).
4552
60ed8c72
AA
45532011-05-28 Alp Aker <aker@pitt.edu> (tiny change)
4554
4ac619f0
AA
4555 * buff-menu.el (Buffer-menu-revert-function, Buffer-menu-sort)
4556 (Buffer-menu-buffer+size): Use Buffer-menu-buffer-column
4557 (Bug#8539).
60ed8c72 4558
23db196e
CY
45592011-05-28 Chong Yidong <cyd@stupidchicken.com>
4560
4561 * emacs-lisp/re-builder.el (re-builder): Improve doc (Bug#8286).
4562
5012f24c
DK
45632011-05-28 Dima Kogan <dkogan@cds.caltech.edu> (tiny change)
4564
4565 * progmodes/hideshow.el (hs-looking-at-block-start-p): New fun.
4566 (hs-hide-block-at-point, hs-find-block-beginning)
4567 (hs-already-hidden-p, hs-hide-block, hs-show-block): Use it
4568 (Bug#8279).
4569
6a639b16
GM
45702011-05-28 Glenn Morris <rgm@gnu.org>
4571
4572 * startup.el (fancy-about-screen): Use standard mode line. (Bug#8740)
4573
d43eaf2c
CY
45742011-05-28 Chong Yidong <cyd@stupidchicken.com>
4575
5199bde1
CY
4576 * help-fns.el (describe-function-1): If the function is a derived
4577 major mode, print the parent mode.
4578
d43eaf2c
CY
4579 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode, java-mode)
4580 (idl-mode, pike-mode, awk-mode): Inherit from prog-mode.
4581
423428a8
SM
45822011-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
4583
0ff8e1ba
SM
4584 * minibuffer.el (completion--capf-wrapper): Check applicability before
4585 retuning non-nil for non-exclusive completion data.
4586 * progmodes/etags.el (tags-completion-at-point-function):
4587 * info-look.el (info-lookup-completions-at-point): Mark as
4588 non-exclusive.
4589 (info-complete): Adjust accordingly.
4590
423428a8
SM
4591 * info-look.el: Convert to lexical-binding and completion-at-point.
4592 (info-lookup-completions-at-point): New function.
4593 (info-complete): Use it and completion-in-region.
4594
b74aa22b
DA
45952011-05-28 Drew Adams <drew.adams@oracle.com>
4596
4597 * isearch.el: Let M-e start with point at the first mismatched char.
4598 (isearch-fail-pos): New function.
4599 (isearch-edit-string): Use it.
4600
66e2e71d
DK
46012011-05-28 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
4602
4603 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
4604
eb95d01d
TC
46052009-11-23 Toby Cubitt <toby-predictive@dr-qubit.org>
4606
4607 * emacs-lisp/avl-tree.el: New avl-tree-stack datatype. Add new
4608 traversal functions for avl-trees.
4609 (avl-tree--stack): New struct.
4610 (avl-tree-stack-p, avl-tree--stack-repopulate): New funs.
4611 (avl-tree-enter): Add optional `updatefun' arg.
93a1c12a
TC
4612 (avl-tree--do-enter): Add optional `updatefun' arg.
4613 Change return value.
eb95d01d 4614 (avl-tree-delete): Add optional `test' and `nilflag' args.
93a1c12a
TC
4615 (avl-tree--do-delete): Add `test' and `nilflag' args.
4616 Change return value.
eb95d01d
TC
4617 (avl-tree-member): Add optional `nilflag'
4618 (avl-tree-member-p): New function.
4619 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar): New functions.
4620 (avl-tree-stack, avl-tree-stack-pop, avl-tree-stack-first)
4621 (avl-tree-stack-empty-p): New functions.
4622
3769ddcf
TC
46232009-11-23 Toby Cubitt <toby-predictive@dr-qubit.org>
4624
4625 * emacs-lisp/avl-tree.el (avl-tree--del-balance): Rename from
4626 avl-tree--del-balance1 and make it work both ways.
4627 (avl-tree--del-balance2): Remove.
4628 (avl-tree--enter-balance): Rename from avl-tree--enter-balance1 and
4629 make it work both ways.
4630 (avl-tree--enter-balance2): Remove.
4631 (avl-tree--switch-dir, avl-tree--dir-to-sign, avl-tree--sign-to-dir):
4632 New macros.
4633 (avl-tree--mapc, avl-tree-map): Add direction argument.
4634
eb95d01d 46352011-05-27 David Michael <fedora.dm0@gmail.com> (tiny change)
7a6b1aef
DM
4636
4637 * files.el (interpreter-mode-alist): Add rbash (bug#8745).
4638
a9f737ee
CY
46392011-05-27 Chong Yidong <cyd@stupidchicken.com>
4640
4641 * select.el: Support clipboard managers with built-in function
4642 x-clipboard-manager-save, via delete-frame-functions and
4643 kill-emacs-hook.
4644 (xselect-convert-to-targets): Add MULTIPLE target to list.
4645 (xselect-convert-to-save-targets): New function.
4646
c92a1e54
KH
46472011-05-27 Kenichi Handa <handa@m17n.org>
4648
4649 * mail/sendmail.el (mail-encode-header): Avoid double encoding by
4650 let-binding rfc2047-encode-encoded-words to nil.
4651
e145f188
GM
46522011-05-27 Glenn Morris <rgm@gnu.org>
4653
5ec8a862
GM
4654 * mail/emacsbug.el: Don't require url-util.
4655
4b29d9fb
GM
4656 * shell.el (shell-directory-tracker): Case matters. (Bug#8735)
4657
e145f188
GM
4658 * files.el (set-auto-mode):
4659 Also respect mode: entries at the end of the file. (Bug#8586)
4660
7d15102b
GM
46612011-05-26 Glenn Morris <rgm@gnu.org>
4662
98f593b8
GM
4663 * files.el (hack-local-variables-prop-line, hack-local-variables):
4664 Downcase mode names, as seems to be traditional.
27b48e63 4665 (hack-local-variables, hack-local-variables-apply): Doc fixes.
98f593b8 4666
7d15102b
GM
4667 * mail/emacsbug.el (report-emacs-bug): Mention checking From address.
4668 (report-emacs-bug-hook): Try to validate the From address. (Bug#8038)
4669
51d5b4ec
JD
46702011-05-25 Julien Danjou <julien@danjou.info>
4671
4672 * textmodes/rst.el (rst-define-level-faces): Do not define face
4673 symbol if it is already defined.
4674
91513f63
VB
46752011-05-24 Vincent Belaïche <vincentb1@users.sourceforge.net>
4676
4677 * play/5x5.el (5x5-new-game, 5x5-randomize):
4678 Reset 5x5-solver-output to nil when a new grid is cast.
4679 (5x5-log-init, 5x5-log): Use defsubst instead of defmacro to shunt
4680 these debugging traces, as defmacro breaks the compiled code.
4681
4d90d6d0
DK
46822011-05-24 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
4683
4684 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
4685
e1b90ef6
LL
46862011-05-24 Leo Liu <sdl.web@gmail.com>
4687
4688 * vc/vc-bzr.el (vc-bzr-sha1-program): Rename from sha1-program.
4689 (vc-bzr-sha1): Adapt.
4690
d8e4b68b 4691 * sha1.el: Remove. Function `sha1' is now builtin.
e1b90ef6
LL
4692
4693 * bindings.el: Provide sha1 feature.
4694
db0406bb 46952011-05-24 Kenichi Handa <handa@m17n.org>
b8d747b9
KH
4696
4697 * mail/sendmail.el: Require `rfc2047'.
4698 (mail-insert-from-field): Do not perform RFC2047 encoding.
4699 (mail-encode-header): New function.
4700 (sendmail-send-it): Set buffer-file-coding-system of the work
4d90d6d0
DK
4701 buffer to the return value of select-message-coding-system.
4702 Call mail-encode-header.
b8d747b9
KH
4703
4704 * mail/smtpmail.el (smtpmail-send-it): Call mail-encode-header.
4705
db0406bb 47062011-05-24 Sean Neakums <sneakums@zork.net> (tiny change)
7261f6ce 4707
4d90d6d0
DK
4708 * mail/supercite.el (sc-default-cite-frame):
4709 Handle sc-nested-citation-p when sc-cite-blank-lines-p is non-nil.
7261f6ce 4710
eb8a5e9b
GM
47112011-05-24 Glenn Morris <rgm@gnu.org>
4712
f8630703
GM
4713 * progmodes/python.el (brm-menu): Declare.
4714
8831bbed
GM
4715 * emulation/viper.el (viper-set-hooks): Declare.
4716
eb8a5e9b
GM
4717 * play/5x5.el (5x5-log-init, 5x5-log): Evaluate when compiling.
4718 (5x5-log-init, 5x5-log, 5x5-solver): Doc fixes.
4719 (math-map-vec, math-sub, math-mul, math-make-intv, math-reduce-vec)
4720 (math-format-number, math-pow, calcFunc-arrange, calcFunc-cvec)
4721 (calcFunc-diag, calcFunc-trn, calcFunc-inv, calcFunc-mrow)
4722 (calcFunc-mcol, calcFunc-vconcat, calcFunc-index): Declare.
4723
a2a25d24
SM
47242011-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
4725
4726 Add an :exit-function for completion-at-point.
4727
4728 * minibuffer.el (completion--done): New fun.
4729 (completion--do-completion): Use it. New arg `expect-exact'.
4730 (minibuffer-complete, minibuffer-complete-word): Don't output message,
4731 since completion--do-completion does it for us now.
4732 (minibuffer-force-complete): Use completion--done and
4733 completion--replace. Handle sole-completion case with more care.
4734 (minibuffer-complete-and-exit): Use new `expect-exact' arg.
4735 (completion-extra-properties): New var.
4736 (completion-annotate-function): Make obsolete.
4737 (minibuffer-completion-help): Adjust accordingly.
4738 Use completion-list-insert-choice-function.
4739 (completion-at-point, completion-help-at-point):
4740 Bind completion-extra-properties.
4741 (completion-pcm-word-delimiters): Add | (for uniquify, for example).
4742 * simple.el (completion-list-insert-choice-function): New var.
4743 (completion-setup-function): Preserve it.
4744 (choose-completion): Pay attention to it, shuffle the code a bit.
4745 (choose-completion-string): New arg `insert-function'.
4746
4747 * textmodes/bibtex.el: Convert to lexical binding.
4748 (bibtex-mode-map): Use completion-at-point.
4749 (bibtex-mode): Use define-derived-mode&completion-at-point-functions.
4750 (bibtex-completion-at-point-function): New fun, from bibtex-complete.
4751 (bibtex-complete): Define as obsolete alias.
4752 (bibtex-complete-internal): Remove.
4753 (bibtex-format-entry): Remove unused sub-group in regexp.
4754 * shell.el (shell--command-completion-data)
4755 (shell-environment-variable-completion):
4756 * pcomplete.el (pcomplete-completions-at-point):
4757 * comint.el (comint--complete-file-name-data): Use :exit-function
4758 instead of completion-table-with-terminator so it also works for
4759 choose-completion.
4760
e44e373d
SM
47612011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
4762
4f91a816
SM
4763 * <lots-of-files>.el: Don't quote lambda expressions with `quote'.
4764
782fc819
SM
4765 * vc/smerge-mode.el (smerge-refine-subst): Don't deactivate the mark
4766 (bug#8710).
4767
e44e373d
SM
4768 * emacs-lisp/lisp.el (up-list): Fix forward movement (bug#8708).
4769
381987c3
KM
47702011-05-23 Ken Manheimer <ken.manheimer@gmail.com>
4771
4772 * allout.el (allout-inhibit-auto-fill-on-headline): Create new
4773 customization variable and implement: If non-nil, auto-fill will
4774 be inhibited while on topic's header line.
4775
b776bc70
VB
47762011-05-23 Vincent Belaïche <vincentb1@users.sourceforge.net>
4777
4778 * play/5x5.el: I/ Add an arithmetic solver to suggest positions to
d8e4b68b 4779 click on. II/ Make 5x5 multisession. III/ Ensure that random grids
b776bc70
VB
4780 always have a solution in grid size = 5 cases.
4781 (5x5-mode-map): Add keybinding to function `5x5-solve-suggest'.
4782 (5x5-solver-output, 5x5-log-buffer): New vars.
4783 (5x5-grid, 5x5-x-pos, 5x5-y-pos, 5x5-moves, 5x5-cracking):
4784 Make these variables buffer local to achieve 5x5 multi-session-ness.
4785 (5x5): Set 5x5-grid-size only if SIZE is non-negative.
4786 (5x5-grid-to-vec, 5x5-vec-to-grid, 5x5-log-init, 5x5-log, 5x5-solver)
4787 (5x5-solve-suggest): New funs.
4788 (5x5-randomize): Use 5x5-make-move instead of 5x5-flip-cell to
4789 randomize a grid so that we ensure that there is always a solution.
4790 (5x5-make-random-grid): Allow other movement than flipping.
4791
7de88b6e
KR
47922011-05-23 Kevin Ryde <user42@zip.com.au>
4793
4794 * emacs-lisp/advice.el (ad-read-advised-function):
4795 Use `function-called-at-point' as the default default, if it has
4796 advice and passes PREDICATE.
4797
b1ef1257
SM
47982011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
4799
bbca48fe
SM
4800 * emacs-lisp/bytecomp.el (byte-compile-function-form): Only call
4801 byte-compile-lambda if it's actually a lambda.
4802
b1ef1257
SM
4803 * emacs-lisp/eieio.el (eieio-defgeneric-form-primary-only-one):
4804 Fix function quoting. Use backquote better.
4805
92a9cc65
YS
48062011-05-22 Yuanle Song <sylecn@gmail.com>
4807
4808 * nxml/rng-xsd.el (rng-xsd-check-pattern): Use case-sensitive
4809 matching (Bug#8516).
4810
f0fb8059
JA
48112011-01-22 Jari Aalto <jari.aalto@cante.net>
4812
4813 * vc/vc-dir.el (vc-default-dir-printer): Give edited tag a
4814 different face (Bug#8178).
4815
d5b44c93
CY
48162011-05-22 Chong Yidong <cyd@stupidchicken.com>
4817
4818 * vc/diff-mode.el (diff-changed): Don't use terminal specs for
4819 defface (Bug#8144).
4820
79106a44
SM
48212011-05-22 Stefan Monnier <monnier@iro.umontreal.ca>
4822
9c848d8a
SM
4823 * emacs-lisp/macroexp.el (macroexpand-all-1): Convert ' to #' for
4824 funcall as well (bug#8712). Warn when performing those conversions.
4825 * emacs-lisp/bytecomp.el (byte-compile-form): Fix error report.
4826
79106a44
SM
4827 * progmodes/grep.el (grep-mode): Fix it for good (bug#8684)!
4828
88dfa756
GM
48292011-05-22 Glenn Morris <rgm@gnu.org>
4830
4831 * files.el (hack-local-variables-prop-line): Small simplifications.
4832 (hack-local-variables, hack-local-variables-prop-line):
4833 If MODE-ONLY, return the mode, rather than just `t'.
4834
b7cf2c79
SM
48352011-05-21 Stefan Monnier <monnier@iro.umontreal.ca>
4836
4837 * progmodes/grep.el (grep-mode): Fix last change (bug#8684).
4838
3f1a8558
GM
48392011-05-21 Glenn Morris <rgm@gnu.org>
4840
7e4ccca3
GM
4841 * files.el (hack-local-variables-prop-line, hack-local-variables):
4842 If only interested in the mode, don't bother doing the other stuff.
4843
637d46ca
GM
4844 * image-mode.el (image-after-revert-hook):
4845 Redraw all frames on which the image is visible. (Bug#8567)
4846
973d955b
GM
4847 * dired-aux.el (dired-touch-initial): Just use current-time. (Bug#6887)
4848
3f1a8558
GM
4849 * wid-edit.el (widget-checklist-match-inline):
4850 Fix 2011-04-19 change. (Bug#8649)
4851
96479927
SM
48522011-05-20 Stefan Monnier <monnier@iro.umontreal.ca>
4853
1dcf791f
SM
4854 * emacs-lisp/checkdoc.el (checkdoc-sentencespace-region-engine):
4855 Also allow singlespace after single-letter capitals followed by a dot.
4856
96479927
SM
4857 * nxml/nxml-mode.el (nxml-electric-slash): Reindent when completion is
4858 enabled. Suggested by James Ahlborn <jahlborn@gmail.com> (bug#8704).
4859
35fd0881
N
48602011-05-20 Nix <nix@esperi.org.uk>
4861
4862 * files.el (basic-save-buffer-2):
4863 Fix handling of break-hardlink-on-save with non-existent files.
4864
82745640
DD
48652011-05-19 Deniz Dogan <deniz@dogan.se>
4866
4867 * net/rcirc.el (rcirc-mode): Initialize rcirc-urls to nil.
9ff90d99 4868 (rcirc-markup-urls): Check if rcirc-url-regexp is nil.
82745640 4869
4a720484
GM
48702011-05-19 Glenn Morris <rgm@gnu.org>
4871
d1f21341
GM
4872 * progmodes/f90.el (f90-type-def-re):
4873 Handle "type, bind(c)". (Bug#8691)
4874
4a720484
GM
4875 * emacs-lisp/autoload.el (batch-update-autoloads):
4876 Set autoload-excludes by parsing loadup.el rather than Makefiles.
4877
2fb0a219
MA
48782011-05-18 Michael Albinus <michael.albinus@gmx.de>
4879
4880 * net/tramp.el (tramp-process-actions): Set "first-password-request"
4881 property for the correct connection in case of multihops.
4882
e565dd37
GM
48832011-05-18 Glenn Morris <rgm@gnu.org>
4884
c2571358 4885 * emacs-lisp/authors.el (authors-fixed-entries): Remove fakemail.c.
c136e5cd
GM
4886 * mail/sendmail.el (sendmail-program): Fall back to just "sendmail".
4887
e565dd37
GM
4888 Rationalize calendar handling of day and month abbrev-arrays.
4889 * calendar/calendar.el (calendar-customized-p): New function.
4890 (calendar-abbrev-construct, calendar-make-alist): Change what it does.
4891 (calendar-day-name-array, calendar-month-name-array): Doc fix.
4892 Add :set function.
4893 (calendar-abbrev-length, calendar-day-abbrev-array)
4894 (calendar-month-abbrev-array): Make defcustoms, with appropriate :set.
4895 (calendar-day-abbrev-array, calendar-month-abbrev-array):
4896 Elements may no longer be nil.
4897 (calendar-day-name, calendar-month-name):
4898 Update for changed nature of abbrev arrays.
4899 * calendar/diary-lib.el (diary-name-pattern):
4900 Update for changed nature of abbrev arrays.
4901 (diary-mark-entries-1): Update calendar-make-alist calls.
4902 (diary-font-lock-date-forms): Doc fix for changed abbrev arrays.
4903 * calendar/cal-html.el (cal-html-day-abbrev-array):
4904 Simply inherit from calendar-day-abbrev-array.
4905
1d99a745
SM
49062011-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
4907
4908 * progmodes/grep.el (grep-mode): Disable default
4909 compilation-directory-matcher setting (bug#8684).
4910
7c1d9aa0
MA
49112011-05-17 Michael Albinus <michael.albinus@gmx.de>
4912
4913 * net/tramp.el (tramp-handle-insert-file-contents): Use "dd"
4914 instead of "head" and "tail". There were problems with SunOS 5.9,
4915 and it performs better.
4916
3952e9d8
GM
49172011-05-17 Glenn Morris <rgm@gnu.org>
4918
2dd12e7f
GM
4919 * mail/mail-utils.el (mail-dont-reply-to): Silence compiler.
4920
e4157b9c
GM
4921 * progmodes/idlw-shell.el (idlwave-shell-complete-filename):
4922 Replace obsolete function.
4923
8e249bbd
GM
4924 * shell.el (pcomplete-parse-arguments-function): Declare.
4925
3952e9d8
GM
4926 * calendar/appt.el (appt-message-warning-time, appt-display-mode-line)
4927 (appt-display-diary, appt-display-interval, appt-prev-comp-time)
4928 (appt-check): Doc fixes.
4929 (appt-disp-window-function, appt-delete-window-function):
4930 Remove needless special case in custom :type.
4931 (appt-display-count): Default to 0, not nil.
4932 (appt-check): Reset appt-display-count to 0, not nil.
4933
c71a0d48 49342011-05-17 Juanma Barranquero <lekktu@gmail.com>
165fd2df 4935
c71a0d48
GM
4936 * progmodes/python.el (python-font-lock-keywords):
4937 Add the Python 3.X keyword "nonlocal" (bug#8639).
165fd2df 4938
31d55be9
SM
49392011-05-16 Stefan Monnier <monnier@iro.umontreal.ca>
4940
4941 * emacs-lisp/eieio.el (defmethod): Fix quoting of code (bug#8677).
4942
3bfacb2f
KR
49432011-05-16 Kevin Ryde <user42@zip.com.au>
4944
4945 * info-look.el (makefile-automake-mode): New setups, looking in
4946 automake manual, then makefile-mode.
4947 (makefile-mode): Remove automake manual, have it just in
4948 makefile-automake-mode since there's various things different or
4949 not relevant to plain make.
4950 (makefile-mode): Remove "other-modes" non-existent automake-mode,
4951 believe a hypothetical automake-mode would go to makefile-mode,
4952 not the other way around.
4953
c8e83751
CY
49542011-05-15 Chong Yidong <cyd@stupidchicken.com>
4955
5e9e35cd
CY
4956 * vc/diff-mode.el (diff-fixup-modifs): Locate correct position for
4957 hunk-end tags (Bug#8672).
4958
c8e83751
CY
4959 * vc/vc-annotate.el (vc-annotate-mode-map): Bind = to
4960 vc-annotate-show-diff-revision-at-line (Bug#8671).
4961
50b23e5a
GM
49622011-05-14 Glenn Morris <rgm@gnu.org>
4963
7210a739
GM
4964 * vc/add-log.el (add-change-log-entry): Don't start adding a new entry
4965 in the middle of an existing one with multiple authors. (Bug#8645)
375cb676
GM
4966 (change-log-font-lock-keywords): Also handle multiple author lines
4967 with leading tabs. (Bug#8644)
7210a739 4968
4691905a
GM
4969 * calendar/appt.el (appt-check): Rename some local variables.
4970 Some simplification/reordering.
4971
50b23e5a
GM
4972 * mail/feedmail.el (feedmail-confirm-outgoing-timeout)
4973 (feedmail-sendmail-f-doesnt-sell-me-out)
4974 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
4975 (feedmail-debug-sit-for, feedmail-queue-express-hook)
4976 (feedmail-queue-runner-message-sender): Set :version.
1aa64307
GM
4977 (bbdb-search, bbdb-records, smtp-via-smtp, smtp-server)
4978 (bbdb-dwim-net-address, vm-mail): Declare.
50b23e5a
GM
4979 (feedmail-binmail-gnulinuxish-template):
4980 Rename from feedmail-binmail-linuxish-template.
4981 (feedmail-buffer-to-smtp, feedmail-vm-mail-mode):
4982 Use insert-buffer-substring.
4983
215cda7c
BC
49842011-05-14 Bill Carpenter <bill@carpenter.org>
4985
4986 * mail/feedmail.el (feedmail-patch-level): Increase.
4987 (feedmail-debug): New custom group.
4988 (feedmail-confirm-outgoing-timeout)
4989 (feedmail-sendmail-f-doesnt-sell-me-out)
4990 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
4991 (feedmail-debug-sit-for, feedmail-queue-express-hook): New options.
4992 (feedmail-sender-line, feedmail-from-line)
4993 (feedmail-fiddle-headers-upwardly, feedmail-enable-spray)
c2571358 4994 (feedmail-spray-this-address)
215cda7c
BC
4995 (feedmail-spray-address-fiddle-plex-list)
4996 (feedmail-queue-use-send-time-for-date)
4997 (feedmail-queue-use-send-time-for-message-id)
4998 (feedmail-last-chance-hook, feedmail-queue-runner-mode-setter)
4999 (feedmail-buffer-eating-function):
5000 Doc fixes.
5001 (feedmail-spray-via-bbdb, feedmail-buffer-to-smtp)
5002 (feedmail-vm-mail-mode, feedmail-message-action-scroll-up)
5003 (feedmail-message-action-scroll-down): New functions.
5004 (feedmail-queue-directory, feedmail-queue-draft-directory):
5005 Use expand-file-name.
5006 (feedmail-prompt-before-queue-standard-alist): Add scroll entries.
5007 Remove C-v help entry.
5008 (feedmail-queue-buffer-file-name): New variable.
5009 (feedmail-mail-send-hook-splitter, feedmail-buffer-to-binmail)
5010 (feedmail-buffer-to-smtpmail, feedmail-queue-express-to-draft)
5011 (feedmail-message-action-send-strong, feedmail-message-action-edit)
5012 (feedmail-message-action-draft, feedmail-message-action-draft-strong)
5013 (feedmail-message-action-queue, feedmail-message-action-queue-strong)
5014 (feedmail-message-action-toggle-spray)
5015 (feedmail-run-the-queue-no-prompts)
5016 (feedmail-run-the-queue-global-prompt, feedmail-queue-reminder)
5017 (feedmail-look-at-queue-directory, feedmail-queue-subject-slug-maker)
5018 (feedmail-create-queue-filename, feedmail-rfc822-time-zone):
5019 (feedmail-fiddle-header, feedmail-give-it-to-buffer-eater)
5020 (feedmail-envelope-deducer, feedmail-fiddle-from)
5021 (feedmail-fiddle-sender, feedmail-default-date-generator)
5022 (feedmail-fiddle-date, feedmail-fiddle-message-id)
5023 (feedmail-fiddle-spray-address)
5024 (feedmail-fiddle-list-of-spray-fiddle-plexes)
5025 (feedmail-fiddle-list-of-fiddle-plexes)
5026 (feedmail-fill-to-cc-function, feedmail-fill-this-one)
5027 (feedmail-one-last-look, feedmail-fqm-p): Add debug calls.
5028 (feedmail-queue-runner-message-sender, feedmail-binmail-template):
5029 Change default. Doc fix.
5030 (feedmail-queue-runner-cleaner-upper): Use feedmail-say-chatter.
5031 (feedmail-binmail-linuxish-template): New constant.
5032 (feedmail-buffer-to-sendmail): Doc fix. Add debug call.
5033 Respect feedmail-sendmail-f-doesnt-sell-me-out.
5034 (feedmail-send-it): Add debug call.
5035 Use feedmail-queue-buffer-file-name, and
5036 feedmail-send-it-immediately-wrapper.
5037 (feedmail-message-action-send): Add debug call.
5038 Use feedmail-send-it-immediately-wrapper.
5039 (feedmail-queue-express-to-queue): Add debug call.
5040 Run feedmail-queue-express-hook.
5041 (feedmail-message-action-help): Add debug call. Use feedmail-p-h-b-n.
5042 (feedmail-message-action-help-blat):
5043 Rename from feedmail-queue-send-edit-prompt-help-first.
5044 (feedmail-run-the-queue): Add debug call. Set buffer-file-type.
5045 Check line-endings. Handle errors better.
5046 (feedmail-queue-reminder-brief, feedmail-queue-reminder-medium):
5047 Doc fix. Add debug call.
5048 (feedmail-queue-send-edit-prompt): Doc fix. Add debug call.
5049 Use feedmail-queue-send-edit-prompt-inner.
5050 (feedmail-queue-runner-prompt, feedmail-scroll-buffer): New functions.
5051 (feedmail-queue-send-edit-prompt-inner): New function, extracted
5052 from feedmail-queue-send-edit-prompt.
5053 (feedmail-queue-send-edit-prompt-help)
5054 (feedmail-queue-send-edit-prompt-help-later): Remove functions.
5055 (feedmail-tidy-up-slug): Add debug call.
5056 Respect feedmail-queue-slug-suspect-regexp.
5057 (feedmail-queue-subject-slug-maker): Use buffer-substring-no-properties.
5058 (feedmail-dump-message-to-queue): Add debug call.
5059 Expand queue-directory.
5060 (feedmail-dump-message-to-queue): Change message slightly.
5061 Use feedmail-say-chatter.
5062 (feedmail-rfc822-date): Add debug call. Bind system-time-locale.
5063 (feedmail-send-it-immediately-wrapper): New function.
5064 (feedmail-send-it-immediately): Add debug calls. Use let not let*.
5065 Insert empty string rather than newline. Handle full-frame case.
5066 Use catch/throw. Use feedmail-say-chatter.
5067 (feedmail-fiddle-from): Try mail-host-address.
5068 (feedmail-default-message-id-generator): Doc fix.
5069 Bind system-time-locale. Handle missing end.
5070 (feedmail-fiddle-x-mailer): Add debug call.
5071 Handle feedmail-x-mailer-line being nil.
5072 (feedmail-accume-n-nuke-header, feedmail-deduce-address-list):
5073 Add debug call. Use buffer-substring-no-properties.
5074 (feedmail-say-debug, feedmail-say-chatter): New functions.
5075 (feedmail-find-eoh): Give an explicit error.
5076
42c7e61e
UJ
50772011-05-13 Ulf Jasper <ulf.jasper@web.de>
5078
c2571358 5079 * net/newst-treeview.el (newsticker-treeview-face): Change default
42c7e61e 5080 family from helvetica to sans.
c2571358 5081 (newsticker-treeview-tool-bar-map): Move tool-bar icons to
42c7e61e
UJ
5082 etc/images/newsticker.
5083
c2571358 5084 * net/newst-reader.el (newsticker-feed-face): Change default
42c7e61e
UJ
5085 family from helvetica to sans.
5086
5087 * net/newst-plainview.el (newsticker-new-item-face)
5088 (newsticker-old-item-face, newsticker-immortal-item-face)
5089 (newsticker-obsolete-item-face, newsticker-date-face)
c2571358 5090 (newsticker-statistics-face): Change default family from
42c7e61e 5091 helvetica to sans.
c2571358 5092 (newsticker--plainview-tool-bar-map): Move tool-bar icons to
42c7e61e
UJ
5093 etc/images/newsticker.
5094
5095 * net/newst-backend.el (newsticker--do-run-auto-mark-filter),
5096 (newsticker--process-auto-mark-filter-match): : Tell user about
5097 auto-marking.
5098
8497a297
DV
50992011-05-13 Didier Verna <didier@xemacs.org>
5100
5101 Common Lisp indentation improvements on defmethod and lambda-lists.
4d61f28d
JB
5102 * emacs-lisp/cl-indent.el: Advertise the changes and remove obsolete
5103 TODO entries.
8497a297
DV
5104 (lisp-lambda-list-keyword-parameter-indentation)
5105 (lisp-lambda-list-keyword-parameter-alignment)
5106 (lisp-lambda-list-keyword-alignment): New customizable user options.
5107 (lisp-indent-defun-method): Improve docstring.
5108 (extended-loop-p): Fix comment.
5109 (lisp-indent-lambda-list-keywords-regexp): New variable.
5110 (lisp-indent-lambda-list): New function.
5111 (lisp-indent-259): Use it.
5112 (lisp-indent-defmethod): Support for more than one
5113 method qualifier and properly indent methods lambda-lists.
5114 (defgeneric): Provide a missing common-lisp-indent-function property.
5115
f278f87f
SM
51162011-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
5117
5118 * thingatpt.el (bounds-of-thing-at-point): Return nil rather than
5119 bounds for the empty string (bug#8667).
5120
5233edd7
GM
51212011-05-13 Glenn Morris <rgm@gnu.org>
5122
5237a44f
GM
5123 * mail/feedmail.el (feedmail-buffer-to-sendmail): Require sendmail.
5124
8340026c 5125 * mail/sendmail.el (sendmail-program): Try executable-find first.
f278f87f 5126 (sendmail-send-it): `sendmail-program' cannot be unbound.
8340026c 5127
5233edd7 5128 * calendar/appt.el (appt-make-list): Simplify.
4accbca6 5129 (appt-time-msg-list): Doc fix.
a5464014 5130 (appt-check): Change mode-line message at the time of the appointment.
5233edd7 5131
92d10796
AS
51322011-05-12 Andreas Schwab <schwab@linux-m68k.org>
5133
5134 * progmodes/ld-script.el (ld-script-keywords)
5135 (ld-script-builtins): Update keywords list.
5136
914a0ae1
SM
51372011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
5138
c89be45f
SM
5139 * progmodes/grep.el (grep-filter): Don't trip on partial lines.
5140
914a0ae1
SM
5141 * shell.el (shell-completion-vars): New function.
5142 (shell-mode):
5143 * simple.el (read-shell-command): Use it.
5144 (blink-matching-open): No need for " [...]" in minibuffer-message.
5145
98dc3df3
GM
51462011-05-12 Glenn Morris <rgm@gnu.org>
5147
5148 * calendar/appt.el (appt-now-displayed): Remove pointless variable.
5149 (appt-check): Simplify.
5150
d2fc7e3d 51512011-05-12 Eli Zaretskii <eliz@gnu.org>
0e39ec21 5152
4d61f28d 5153 * vc/smerge-mode.el (smerge-resolve): Use null-device rather than a
0e39ec21
EZ
5154 literal "/dev/null".
5155
d2fc7e3d 51562011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
3f254caa
SM
5157
5158 * emacs-lisp/lisp.el (lisp-complete-symbol, lisp-completion-at-point):
5159 Fix typo.
5160
d2fc7e3d 51612011-05-12 Ralph Schleicher <rs@ralph-schleicher.de>
6eea50c7 5162
3f254caa
SM
5163 * progmodes/which-func.el (which-function):
5164 Use add-log-current-defun instead of add-log-current-defun-function,
6eea50c7
RS
5165 which might not be defined (Bug#8260).
5166
d45885f7
GM
51672011-05-12 Glenn Morris <rgm@gnu.org>
5168
5169 * emacs-lisp/bytecomp.el (byte-compile-file-form-defmumble):
5170 Let byte-compile-initial-macro-environment always take precedence.
5171
488086f4
SM
51722011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
5173
5174 * net/rcirc.el: Add support for SSL/TLS connections.
5175 (rcirc-server-alist): New field `encryption'.
5176 (rcirc): Check `encryption' settings.
5177 (rcirc-connect): New arg `encryption'. Use open-network-stream.
5178 Merge make-local-variable into `set'.
5179 (rcirc--connection-open-p): New function.
5180 (rcirc-send-string, rcirc-clean-up-buffer): Use it to handle case where
5181 the process is not a network process (e.g. running gnutls-cli).
5182 (set-rcirc-decode-coding-system, set-rcirc-encode-coding-system):
5183 Make rcirc-(en|de)code-coding-system local here.
5184 (rcirc-mode): Merge make-local-variable into `set'.
5185 (rcirc-parent-buffer): Make permanent buffer-local.
5186 (rcirc-multiline-minor-mode): Don't do it here.
5187 (rcirc-switch-to-server-buffer): Don't switch to a random buffer if
5188 there's no server buffer.
5189
7d3b9d44
GM
51902011-05-11 Glenn Morris <rgm@gnu.org>
5191
f64049c6
GM
5192 * newcomment.el (comment-kill): Prefix "unused" local.
5193
93c9df73
GM
5194 * term/w32console.el (get-screen-color): Declare.
5195
7d3b9d44
GM
5196 * emacs-lisp/bytecomp.el (byte-compile-arglist-warn):
5197 Handle symbol elements of byte-compile-initial-macro-environment.
5198
9e2dd53f
LL
51992011-05-10 Leo Liu <sdl.web@gmail.com>
5200
488086f4
SM
5201 * bookmark.el (bookmark-bmenu-mode-map):
5202 Bind bookmark-bmenu-search to `/'.
8b340240 5203
9e2dd53f 5204 * mail/footnote.el: Convert to utf-8 encoding.
b4044869
LL
5205 (footnote-unicode-string, footnote-unicode-regexp): New variable.
5206 (Footnote-unicode): New function.
5207 (footnote-style-alist): Add unicode style to the list.
5208 (footnote-style): Doc fix.
9e2dd53f 5209
79b70037
GM
52102011-05-10 Jim Meyering <meyering@redhat.com>
5211
5212 Fix doubled-word typos.
5213 * international/quail.el (quail-insert-kbd-layout): and and -> and
5214 * kermit.el: and and -> and
5215 * net/ldap.el (ldap-search-internal): to to -> to
5216 * progmodes/vhdl-mode.el (vhdl-offsets-alist): Likewise.
5217 * progmodes/js.el (js-mode): and and -> and
5218 * textmodes/artist.el (artist-move-to-xy): at at -> at
5219 (artist-draw-region-trim-line-endings): if if -> if
5220 And Safetyc -> Safety.
5221 * textmodes/reftex-dcr.el (reftex-view-crossref): at at -> at a
5222
b8f82dc1 52232011-05-10 Glenn Morris <rgm@gnu.org>
c2571358 5224 Stefan Monnier <monnier@iro.umontreal.ca>
b8f82dc1
GM
5225
5226 * files.el (hack-one-local-variable-eval-safep):
5227 Consider "eval: (foo-mode)" to be safe. (Bug#8613)
5228
4f99f44b
GM
52292011-05-10 Glenn Morris <rgm@gnu.org>
5230
5231 * calendar/diary-lib.el (diary-list-entries-hook)
5232 (diary-mark-entries-hook, diary-nongregorian-listing-hook)
5233 (diary-nongregorian-marking-hook, diary-list-entries)
5234 (diary-include-other-diary-files, diary-mark-entries)
5235 (diary-mark-included-diary-files): Doc fixes.
5236
84f29e6b
JB
52372011-05-09 Juanma Barranquero <lekktu@gmail.com>
5238
5239 * misc.el: Require tabulated-list.el during compilation.
5240
9bedd73a
CY
52412011-05-09 Chong Yidong <cyd@stupidchicken.com>
5242
488086f4
SM
5243 * progmodes/compile.el (compilation-start):
5244 Run compilation-filter-hook for the async case too.
9bedd73a
CY
5245 (compilation-filter-hook): Doc fix.
5246
797c735c
DD
52472011-05-09 Deniz Dogan <deniz@dogan.se>
5248
5249 * wdired.el: Remove outdated installation comment. Fix usage
5250 comment.
5251
5f4b1dfe
JB
52522011-05-09 Juanma Barranquero <lekktu@gmail.com>
5253
5254 * misc.el: Implement new command `list-dynamic-libraries'.
5255 (list-dynamic-libraries--loaded-only-p): New variable.
5256 (list-dynamic-libraries--refresh): New function.
5257 (list-dynamic-libraries): New command.
5258
4c44026c
CY
52592011-05-09 Chong Yidong <cyd@stupidchicken.com>
5260
488086f4
SM
5261 * progmodes/compile.el (compilation-error-regexp-alist-alist):
5262 Fix the ant regexp to handle end-line and end-column info from jikes.
4c44026c
CY
5263 Re-introduce maven regexp. Give the ruby-Test::Unit regexp a
5264 higher priority to avoid clobbering by gnu.
5265
027f966d
CY
52662011-05-08 Chong Yidong <cyd@stupidchicken.com>
5267
5268 * cus-face.el (custom-declare-face): Call custom-theme-recalc-face
5269 if the face has existing theme settings (Bug#8454).
5270
085f5d7d
CY
52712011-05-08 Ralph Schleicher <rs@ralph-schleicher.de>
5272
488086f4
SM
5273 * progmodes/perl-mode.el (perl-imenu-generic-expression):
5274 Only match variables declared via `my' or `our' (Bug#8261).
085f5d7d 5275
2a86a00c
RS
5276 * net/browse-url.el (browse-url-of-dired-file): Allow browsing of
5277 special file names `.' and `..' (Bug#8259).
5278
d9c54a06
CY
52792011-05-08 Chong Yidong <cyd@stupidchicken.com>
5280
488086f4
SM
5281 * progmodes/grep.el (grep-mode-font-lock-keywords):
5282 Remove buffer-changing entries.
d9c54a06
CY
5283 (grep-filter): New function.
5284 (grep-mode): Add it to compilation-filter-hook.
5285
5286 * progmodes/compile.el (compilation-filter-hook)
5287 (compilation-filter-start): New defvars.
5288 (compilation-filter): Call compilation-filter-hook prior to
5289 updating the process mark.
5290
c4662635
SM
52912011-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
5292
5293 * emacs-lisp/eieio.el (defmethod): Fix typo in last change.
5294
b0512a1d
EZ
52952011-05-07 Eli Zaretskii <eliz@gnu.org>
5296
605c9376
EZ
5297 * mail/sendmail.el (send-mail-function): On MS-Windows, default to
5298 mailclient-send-it even if window-system is nil. (Bug#8595)
5299
c4662635
SM
5300 * term/w32console.el (terminal-init-w32console):
5301 Call get-screen-color and use its output to set the frame
b0512a1d
EZ
5302 background-mode. (Bug#8597)
5303
d1dc2cc2
SM
53042011-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
5305
5306 Make bytecomp.el understand that defmethod defines funs (bug#8631).
5307 * emacs-lisp/eieio.el (eieio--defalias, eieio--defgeneric-init-form):
5308 New functions.
5309 (defgeneric, eieio--defmethod): Use them.
5310 (eieio-defgeneric): Remove.
5311 (defmethod): Call defgeneric in a way visible to the byte-compiler.
5312
915d1300
GM
53132011-05-07 Glenn Morris <rgm@gnu.org>
5314
a3961c3e
GM
5315 * calendar/timeclock.el (timeclock-log-data): Remove unused local.
5316 Use let rather than let*.
5317 (timeclock-find-discrep): Remove unused local.
5318
314347b9
GM
5319 * calendar/diary-lib.el (diary-comment-start): Doc fix.
5320
915d1300
GM
5321 * calendar/appt.el (appt-time-msg-list): Doc fix.
5322
275b59b0
NF
53232011-05-06 Noah Friedman <friedman@splode.com>
5324
5325 * apropos.el (apropos-print-doc): Only use
5326 emacs-lisp-docstring-fill-column when it is bound to an integer,
5327 per that variable's documentation.
5328
6c19f744
SM
53292011-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
5330
5331 * lpr.el (print-region-1): Echo lpr-program's output, so error messages
d1dc2cc2 5332 and warnings are not silently discarded (e.g. use -d instead of -P).
6c19f744 5333
60f884b2
GM
53342011-05-06 Glenn Morris <rgm@gnu.org>
5335
5006e634
GM
5336 * calendar/appt.el (appt-message-warning-time): Doc fix.
5337 (appt-warning-time-regexp): New option.
5338 (appt-make-list): Respect appt-message-warning-time.
5339
548d0a63
GM
5340 * calendar/diary-lib.el (diary-comment-start, diary-comment-end):
5341 New options.
5342 (diary-add-to-list): Strip comments from the displayed string.
5343 (diary-mode): Set comment-start and comment-end.
5344
60f884b2
GM
5345 * vc/diff-mode.el (smerge-refine-subst): Declare.
5346 (diff-refine-hunk): Don't require smerge-mode when compiling.
5347
989681bb
JB
53482011-05-06 Juanma Barranquero <lekktu@gmail.com>
5349
5350 * simple.el (list-processes): Return nil as the docstring says.
5351
a6bc05e1
MA
53522011-05-05 Michael Albinus <michael.albinus@gmx.de>
5353
5354 * net/ange-ftp.el (ange-ftp-binary-file-name-regexp): Set default
5355 to "".
5356 (ange-ftp-write-region, ange-ftp-insert-file-contents)
5357 (ange-ftp-copy-file-internal): Use only `ange-ftp-binary-file' for
5358 determining of binary transfer. (Bug#7383)
5359
23c22e9a
MA
53602011-05-05 Michael Albinus <michael.albinus@gmx.de>
5361
c4662635
SM
5362 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
5363 Fix port computation bug. (Bug#8618)
23c22e9a 5364
0bff894f
GM
53652011-05-05 Glenn Morris <rgm@gnu.org>
5366
b8296902
GM
5367 * allout-widgets.el (allout-widgets-mode-inhibit): Declare before use.
5368
1f522ce8
GM
5369 * simple.el (shell-dynamic-complete-functions)
5370 (comint-dynamic-complete-functions): Declare.
5371
cf5bee67
GM
5372 * net/network-stream.el (gnutls-negotiate):
5373 * simple.el (tabulated-list-print): Fix declarations.
5374
5375 * progmodes/gud.el (syntax-symbol, syntax-point):
5376 Remove unnecessary and incorrect declarations.
5377
0bff894f
GM
5378 * emacs-lisp/check-declare.el (check-declare-scan):
5379 Handle byte-compile-initial-macro-environment in bytecomp.el
5380
9869b3ae
SM
53812011-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
5382
5383 Fix earlier half-done eieio-defmethod change (bug#8338).
5384 * emacs-lisp/eieio.el (eieio--defmethod): Rename from eieio-defmethod.
5385 Streamline and change calling convention.
5386 (defmethod): Adjust accordingly and simplify.
5387 (eieio-defclass): Fix broken calls to eieio-defmethod and redirect to
5388 new eieio--defmethod.
5389 (slot-boundp): Minor CSE simplification.
5390
9c1d5ac5
MZ
53912011-05-05 Milan Zamazal <pdm@zamazal.org>
5392
5393 * progmodes/glasses.el (glasses-separate-capital-groups): New option.
5394 (glasses-make-readable): Use glasses-separate-capital-groups.
5395
455c834e
JB
53962011-05-05 Juanma Barranquero <lekktu@gmail.com>
5397
5398 * emacs-lisp/warnings.el (warning-level-aliases): Reflow docstring.
5399 (warning-series): Doc fix.
5400 (display-warning): Don't try to create the buffer if we just found it.
5401
9ed7c8cb
CY
54022011-05-04 Chong Yidong <cyd@stupidchicken.com>
5403
5404 * emacs-lisp/autoload.el (generated-autoload-file): Set to nil.
5405 (autoload-find-generated-file): New function.
5406 (generate-file-autoloads): Bind generated-autoload-file to
5407 buffer-file-name.
9869b3ae
SM
5408 (update-file-autoloads, update-directory-autoloads):
5409 Use autoload-find-generated-file. If called interactively, prompt for
9ed7c8cb
CY
5410 output file (Bug#7989).
5411 (batch-update-autoloads): Doc fix.
5412
0898ca10
JB
54132011-05-04 Juanma Barranquero <lekktu@gmail.com>
5414
5415 * term/w32-win.el (dynamic-library-alist): Add `gnutls'.
5416
31dfb76c
GM
54172011-05-04 Glenn Morris <rgm@gnu.org>
5418
f330b642
GM
5419 * calendar/diary-lib.el (diary-fancy-date-pattern): Turn it into a
5420 function, so it follows changes in calendar-date-style.
5421 (diary-fancy-date-matcher): New function.
5422 (diary-fancy-font-lock-keywords): Use diary-fancy-date-matcher.
5423 (diary-fancy-font-lock-fontify-region-function):
5424 Use diary-fancy-date-pattern as a function.
5425
31dfb76c
GM
5426 * calendar/diary-lib.el (diary-fancy-date-pattern): Do not use
5427 non-numbers for `year' etc pseudo-variables. (Bug#8583)
5428
48e79d6a
TZ
54292011-05-04 Teodor Zlatanov <tzz@lifelogs.com>
5430
5431 * net/gnutls.el (gnutls-negotiate): Use CL-style keyword arguments
5432 instead of positional arguments. Allow :keylist and :crlfiles
5433 arguments.
5434 (open-gnutls-stream): Call it.
5435
5436 * net/network-stream.el (network-stream-open-starttls): Adjust to
5437 call `gnutls-negotiate' with :process and :hostname arguments.
5438
dd5a5ee0
SM
54392011-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
5440
ef80fc09
SM
5441 * minibuffer.el (completion--message): New function.
5442 (completion--do-completion, minibuffer-complete)
5443 (minibuffer-force-complete, minibuffer-complete-word): Use it.
5444 (completion--do-completion): Don't ignore completion-auto-help when in
5445 icomplete-mode.
5446
dd5a5ee0
SM
5447 * whitespace.el (whitespace-trailing-regexp): Don't rely on the
5448 internal encoding (e.g. tibetan zero is not whitespace).
5449 (global-whitespace-mode): Prefer save-current-buffer.
5450 (whitespace-trailing-regexp): Remove useless save-match-data.
5451 (whitespace-empty-at-bob-regexp): Minor simplification.
5452
b7d22a83
CY
54532011-05-03 Chong Yidong <cyd@stupidchicken.com>
5454
5455 * emacs-lisp/autoload.el (generated-autoload-file): Doc fix (Bug#7989).
5456
5192af46
AM
54572011-05-03 Agustín Martín Domingo <agustin.martin@hispalinux.es>
5458
5459 * textmodes/ispell.el (ispell-add-per-file-word-list):
cdc4a047 5460 Use `concat' to create string for insertion.
5192af46 5461
5767d190
SM
54622011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
5463
5464 * textmodes/bibtex.el (bibtex-fill-field-bounds, bibtex-fill-entry):
5465 Avoid open-line which runs post-self-insert-hook.
5466 (bibtex-fill-entry): Remove unused `end' var.
5467
bf242939
AM
54682011-05-03 Dirk Ullrich <dirk.ullrich@googlemail.com> (tiny change)
5469
5767d190
SM
5470 * textmodes/ispell.el (ispell-add-per-file-word-list):
5471 Protect against `nil' value of `comment-start' (Bug#8579).
bf242939 5472
25666126
LL
54732011-05-03 Leo Liu <sdl.web@gmail.com>
5474
5475 * isearch.el (isearch-yank-pop): New command.
5767d190 5476 (isearch-mode-map): Bind it to `M-y'.
25666126
LL
5477 (isearch-forward): Mention it.
5478
52d3c2d0
SM
54792011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
5480
1bcace58
SM
5481 * simple.el (minibuffer-complete-shell-command): Remove.
5482 (minibuffer-local-shell-command-map): Use completion-at-point.
5483 (read-shell-command): Setup completion vars here instead.
5484 (read-expression-map): Bind TAB to symbol completion.
5485
52d3c2d0
SM
5486 * textmodes/ispell.el (lookup-words): Use with-temp-buffer; signal
5487 error directly rather via storing it into `results'.
5488
35813471
LL
54892011-05-02 Leo Liu <sdl.web@gmail.com>
5490
5491 * vc/diff.el: Fix description.
5492
e793a940
LMI
54932011-05-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
5494
5495 * server.el (server-eval-at): New function.
5496
8de66e05
LMI
54972011-05-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
5498
5499 * net/network-stream.el (open-network-stream): Take a :nowait
5500 parameter and pass it on to `make-network-process'.
5501 (network-stream-open-plain): Ditto.
5502
dcb79f20
AS
55032011-04-30 Andreas Schwab <schwab@linux-m68k.org>
5504
5505 * faces.el (face-spec-set-match-display): Don't match toolkit
5506 options on terminal frames.
5507
14a7fbd8
SM
55082011-04-29 Stefan Monnier <monnier@iro.umontreal.ca>
5509
7eabc1be
SM
5510 * progmodes/pascal.el: Use lexical binding.
5511 (pascal-mode-map): Remove author preferences.
5512
14a7fbd8
SM
5513 * pcomplete.el (pcomplete-std-complete): Don't abuse
5514 completion-at-point.
5515
50f84510
JB
55162011-04-28 Juanma Barranquero <lekktu@gmail.com>
5517
6e087a44
JB
5518 * calc/calccomp.el (math-comp-to-string-flat-term): Simplify by
5519 removing code that has been dead since 1991 or so.
5520
50f84510
JB
5521 * startup.el (command-line): When warning about "_emacs", use a
5522 delayed warning to allow the user to filter it out.
5523
0ba690bd
DD
55242011-04-28 Deniz Dogan <deniz@dogan.se>
5525
5526 * net/rcirc.el (rcirc-handler-353): Fix bug for channels which the
5527 user has not joined.
5528
08abfaad
SM
55292011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
5530
5531 * pcomplete.el (pcomplete-completions-at-point): Return nil if there
5532 aren't any completions at point.
5533
638f053a
JB
55342011-04-28 Juanma Barranquero <lekktu@gmail.com>
5535
5536 * subr.el (display-delayed-warnings): New function.
5537 (delayed-warnings-hook): New variable.
5538
8fff8daa
SM
55392011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
5540
08abfaad
SM
5541 * minibuffer.el (completion-at-point, completion-help-at-point):
5542 Don't presume that a given completion-at-point-function will always
5543 use the same calling convention.
5544
8fff8daa
SM
5545 * pcomplete.el (pcomplete-completions-at-point):
5546 Obey pcomplete-ignore-case. Don't call pcomplete-norm-func unless
5547 pcomplete-seen is non-nil.
5548 (pcomplete-comint-setup): Also recognize the new comint/shell
5549 completion functions.
5550 (pcomplete-do-complete): Don't call pcomplete-norm-func unless
5551 pcomplete-seen is non-nil.
5552
841a1577 55532011-04-27 Niels Giesen <niels.giesen@gmail.com>
211ec907 5554
841a1577 5555 * calendar/icalendar.el (diary-lib): Add require statement.
211ec907 5556 (icalendar--create-uid): Read out a uid from a text-property on
841a1577 5557 the first character in the entry. This allows for code to add its
211ec907
UJ
5558 own uid to the entry.
5559 (icalendar--convert-float-to-ical): Add export of
5560 `diary-float'-entries save for those with the optional DAY
5561 argument.
5562
2a782793
DC
55632011-04-27 Daniel Colascione <dan.colascione@gmail.com>
5564
5565 * subr.el (shell-quote-argument): Use alternate escaping strategy
5566 when we spot a variable reference in a string.
5567
0438ce91
DC
55682011-04-26 Daniel Colascione <dan.colascione@gmail.com>
5569
5570 * cus-start.el (all): Define customization for debug-on-event.
5571
841a1577 55722011-04-26 Daniel Colascione <dan.colascione@gmail.com>
8f91bf93
DC
5573
5574 * subr.el (shell-quote-argument): Escape correctly under Windows.
5575
d090ed6c
SM
55762011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
5577
5578 * emulation/cua-base.el (cua-selection-mode): Make it toggle again.
5579
bfd31217
MA
55802011-04-25 Michael Albinus <michael.albinus@gmx.de>
5581
d090ed6c
SM
5582 * net/tramp.el (tramp-process-actions): Add POS argument.
5583 Delete region between POS and (pos).
bfd31217 5584
d090ed6c
SM
5585 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
5586 Use `nil' position in `tramp-process-actions' call.
bfd31217
MA
5587 (tramp-maybe-open-connection): Call `tramp-process-actions' with pos.
5588
5589 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Use `nil'
5590 position in `tramp-process-actions' call.
5591
5592 * net/trampver.el: Update release number.
5593
e92f3bd3
SM
55942011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
5595
850256b5
SM
5596 * custom.el (defcustom): Obey lexical-binding.
5597
e92f3bd3
SM
5598 Fix octave-inf completion problems reported by Alexander Klimov.
5599 * progmodes/octave-inf.el (inferior-octave-mode-syntax-table):
5600 Inherit from octave-mode-syntax-table.
5601 (inferior-octave-mode): Set info-lookup-mode.
5602 (inferior-octave-completion-at-point): New function.
5603 (inferior-octave-complete): Use it and completion-in-region.
5604 (inferior-octave-dynamic-complete-functions): Use it as well, and use
5605 comint-filename-completion.
5606 * progmodes/octave-mod.el (octave-mode-syntax-table): Use _ syntax for
5607 symbol elements which shouldn't be word elements.
5608 (octave-font-lock-keywords, octave-beginning-of-defun)
5609 (octave-function-header-regexp): Adjust regexps accordingly.
5610 (octave-mode-map): Also use info-lookup-symbol for C-c C-h.
5611
cd22b309
JB
56122011-04-25 Juanma Barranquero <lekktu@gmail.com>
5613
5614 * net/gnutls.el (gnutls-errorp): Declare before first use.
5615
8b492194
TZ
56162011-04-24 Teodor Zlatanov <tzz@lifelogs.com>
5617
5618 * net/gnutls.el (gnutls-negotiate): Add hostname, verify-flags,
5619 verify-error, and verify-hostname-error parameters. Check whether
cd22b309
JB
5620 default trustfile exists before going to use it. Add missing
5621 argument to gnutls-message-maybe call. Return return value.
8b492194
TZ
5622 Reported by Claudio Bley <claudio.bley@gmail.com>.
5623 (open-gnutls-stream): Add usage example.
5624
5625 * net/network-stream.el (network-stream-open-starttls): Give host
5626 parameter to `gnutls-negotiate'.
5627 (gnutls-negotiate): Adjust `gnutls-negotiate' declaration.
8f91bf93 5628 * subr.el (shell-quote-argument): Escape correctly under Windows.
8b492194 5629
841a1577 56302011-04-24 Daniel Colascione <dan.colascione@gmail.com>
05842630 5631
cd22b309
JB
5632 * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
5633 Use correct match group (bug#8438).
05842630 5634
3ba7869c
CY
56352011-04-24 Chong Yidong <cyd@stupidchicken.com>
5636
512e3ae1
CY
5637 * emacs-lisp/package.el (package-built-in-p): Fix typo.
5638 (package-menu--generate): New arg specifying packages to show.
5639 (package-menu-refresh, package-menu-execute, list-packages):
5640 Callers changed.
5641 (package-show-package-list): New function, replacing deleted
5642 package--list-packages (renamed because it is non-internal).
5643
5644 * finder.el (finder-list-matches): Use package-show-package-list
5645 instead of deleted package--list-packages.
5646
e92f3bd3
SM
5647 * vc/vc-annotate.el (vc-annotate-goto-line): New command.
5648 Based on a previous implementation by Juanma Barranquero (Bug#8366).
3ba7869c
CY
5649 (vc-annotate-mode-map): Bind it to RET.
5650
7031be6d
UR
56512011-04-24 Uday S Reddy <u.s.reddy@cs.bham.ac.uk> (tiny change)
5652
5653 * progmodes/etags.el (next-file): Don't use set-buffer to change
5654 buffers (Bug#8478).
5655
4ef177aa
CY
56562011-04-24 Chong Yidong <cyd@stupidchicken.com>
5657
c8d173eb
CY
5658 * files.el (auto-mode-alist): Use js-mode for .json (Bug#8529).
5659
4ef177aa
CY
5660 * apropos.el (apropos-label-face): Avoid variable-pitch face.
5661 (apropos-accumulator): Doc fix.
5662 (apropos-function, apropos-macro, apropos-command)
5663 (apropos-variable, apropos-face, apropos-group, apropos-widget)
5664 (apropos-plist): Add face property.
5665 (apropos-symbols-internal): Fix indentation.
5666 (apropos-print): Simplify help, and recognize apropos-multi-type.
5667 (apropos-print-doc): Use button-type-get to extract the button's
5668 face property. Fill docstring (Bug#8352).
5669
4ffd0d6b 56702011-04-23 Juanma Barranquero <lekktu@gmail.com>
be71f810
JB
5671
5672 * buff-menu.el (Buffer-menu--buffers): Fix typo in docstring (bug#8535).
5673
c6c32125 5674 * play/mpuz.el (mpuz-silent): Doc fix.
4ffd0d6b 5675 (mpuz-mode-map): Use mapc.
c6c32125
JB
5676 (mpuz-put-number-on-board): Rename parameter L to COLUMNS.
5677 (mpuz-letter-to-digit, mpuz-check-all-solved, mpuz-create-buffer):
5678 Fix typos in docstrings.
5679
58d468b4
JB
5680 * play/doctor.el (doc$, doctor-$, doctor-read-print, doctor-read-token)
5681 (doctor-nounp, doctor-pronounp): Fix typos in docstrings.
5682
6470c3c6
JB
5683 * mouse-drag.el (mouse-drag-throw): Fix typo in docstring.
5684
4ffd0d6b 56852011-04-23 Chong Yidong <cyd@stupidchicken.com>
6f21a319
CY
5686
5687 * minibuffer.el (completion--do-completion): Avoid the "Next char
5688 not unique" prompt if icomplete-mode is enabled (Bug#5849).
5689
3ad8bad0
CY
5690 * mouse.el (mouse-drag-mode-line-1): Make sure that if we push
5691 mouse-2 into unread-command-events, it is interpreted correctly.
5692
71d73c9c 5693 * image-mode.el (image-type, image-mode-map, image-minor-mode-map)
6395aab9 5694 (image-toggle-display): Doc fix.
71d73c9c 5695
841a1577 56962011-04-23 Stephen Berman <stephen.berman@gmx.net>
e935c6a2 5697
4ffd0d6b
GM
5698 * textmodes/page.el (what-page): Use line-number-at-pos to
5699 calculate line number (Bug#6825).
6e1dbaa9 5700
c2fb1b60
JB
57012011-04-22 Juanma Barranquero <lekktu@gmail.com>
5702
5703 * eshell/esh-mode.el (find-tag-interactive): Declare function.
5704 (eshell-find-tag): Remove `with-no-warnings', unneeded now.
5705 Pass argument NO-DEFAULT to `find-tag-interactive'.
5706
e02f48d7
JB
57072011-04-22 Juanma Barranquero <lekktu@gmail.com>
5708
5709 Lexical-binding cleanup.
5710
5711 * progmodes/ada-mode.el (ada-after-change-function, ada-loose-case-word)
5712 (ada-no-auto-case, ada-capitalize-word, ada-untab, ada-narrow-to-defun):
5713 * progmodes/ada-prj.el (ada-prj-initialize-values)
5714 (ada-prj-display-page, ada-prj-field-modified, ada-prj-display-help)
5715 (ada-prj-show-value):
5716 * progmodes/ada-xref.el (ada-find-any-references, ada-gdb-application):
5717 * progmodes/antlr-mode.el (antlr-with-displaying-help-buffer)
5718 (antlr-invalidate-context-cache, antlr-options-menu-filter)
5719 (antlr-language-option-extra, antlr-c++-mode-extra, antlr-run-tool):
5720 * progmodes/bug-reference.el (bug-reference-push-button):
5721 * progmodes/fortran.el (fortran-line-length):
5722 * progmodes/glasses.el (glasses-change):
5723 * progmodes/octave-mod.el (octave-fill-paragraph):
5724 * progmodes/python.el (python-mode, python-pdbtrack-track-stack-file)
5725 (python-pdbtrack-grub-for-buffer, python-sentinel):
5726 * progmodes/sql.el (sql-save-connection):
5727 * progmodes/tcl.el (tcl-indent-command, tcl-popup-menu):
5728 * progmodes/xscheme.el (xscheme-enter-debugger-mode):
5729 Mark unused parameters.
5730
5731 * progmodes/compile.el (compilation--flush-directory-cache)
5732 (compilation--flush-parse, compile-internal): Mark unused parameters.
5733 (compilation-buffer-name): Rename parameter MODE-NAME to NAME-OF-MODE.
5734 (compilation-next-error-function): Remove unused variable `timestamp'.
5735
5736 * progmodes/cpp.el (cpp-parse-close): Remove unused variable `begin'.
5737 (cpp-signal-read-only, cpp-grow-overlay): Mark unused parameters.
5738
5739 * progmodes/dcl-mode.el (dcl-end-of-command):
5740 Remove unused variable `start'.
5741 (dcl-calc-command-indent-multiple, dcl-calc-cont-indent-relative)
5742 (dcl-option-value-basic, dcl-option-value-offset)
5743 (dcl-option-value-margin-offset, dcl-option-value-comment-line):
5744 Mark unused parameters.
5745 (dcl-save-local-variable): Remove unused variable `val'.
5746 (mode): Declare.
5747
5748 * progmodes/delphi.el (delphi-save-state, delphi-after-change):
5749 Mark unused parameters.
5750 (delphi-ignore-changes): Move before first use.
5751 (delphi-charset-token-at): Remove unused variable `start'.
5752 (delphi-else-start): Remove unused variable `if-count'.
5753 (delphi-comment-block-start, delphi-comment-block-end):
5754 Remove unused variable `kind'.
5755 (delphi-indent-line): Remove unused variable `new-point'.
5756
5757 * progmodes/ebrowse.el (ebrowse-files-list)
5758 (ebrowse-list-of-matching-members, ebrowse-tags-list-members-in-file):
5759 Mark unused parameters. Don't quote `lambda'.
5760 (ebrowse-sort-tree-list, ebrowse-same-tree-member-buffer-list):
5761 Don't quote `lambda'.
5762 (ebrowse-revert-tree-buffer-from-file, ebrowse-tags-choose-class)
5763 (ebrowse-goto-visible-member/all-member-lists): Mark unused parameters.
5764 (ebrowse-create-tree-buffer): Rename parameter OBARRAY to CLASSES.
5765 (ebrowse-toggle-mark-at-point): Remove unused variable `pnt'.
5766 Use `ignore-errors'.
5767 (ebrowse-frozen-tree-buffer-name, ebrowse-find-source-file)
5768 (ebrowse-view/find-file-and-search-pattern)
5769 (ebrowse-view/find-member-declaration/definition):
5770 Rename parameter TAGS-FILE-NAME to TAGS-FILE.
5771 (ebrowse-find-class-declaration, ebrowse-view-class-declaration):
5772 Rename parameter PREFIX-ARG to PREFIX.
5773 (ebrowse-tags-read-name): Remove unused variables `start' and
5774 `member-info'.
5775 (ebrowse-display-member-buffer): Rename variable `tags-file-name'
5776 to `tags-file'.
5777
5778 * progmodes/etags.el (local-find-tag-hook): Declare.
5779 (tag-partial-file-name-match-p, tag-any-match-p, list-tags):
5780 Mark unused parameters.
5781
5782 * progmodes/executable.el (compilation-error-regexp-alist): Declare.
5783 (executable-interpret): Mark unused parameter.
5784
5785 * progmodes/flymake.el (flymake-process-sentinel)
5786 (flymake-after-change-function)
5787 (flymake-create-temp-with-folder-structure)
5788 (flymake-get-include-dirs-dot): Mark unused parameters.
5789 (flymake-safe-delete-directory): Remove unused variable `err'.
5790
5791 * progmodes/gdb-mi.el (speedbar-change-initial-expansion-list)
5792 (speedbar-timer-fn, speedbar-line-text)
5793 (speedbar-change-expand-button-char, speedbar-delete-subblock)
5794 (speedbar-center-buffer-smartly): Declare functions.
5795 (gdb-find-watch-expression): Remove unused variable `array'.
5796 (gdb-edit-value, gdb-gdb, gdb-ignored-notification, gdb-thread-created)
5797 (gdb-starting): Mark unused parameters.
5798 (gud-gdbmi-marker-filter): Remove unused variable `output-record'.
5799 (gdb-table-string): Remove unused variable `res'.
5800 (gdb-place-breakpoints): Remove unused variables `flag' and `bptno'.
5801 (gdb-disassembly-handler-custom): Remove unused variable `pos'.
5802 (gdb-display-buffer): Remove unused variable `cur-size'.
5803
5804 * progmodes/gud.el (gud-def): Use `defalias' instead of `defun' to
5805 allow lexical-binding compilation.
5806 (gud-expansion-speedbar-buttons, gud-gdb-goto-stackframe)
5807 (gud-dbx-massage-args, gud-xdb-massage-args, gud-perldb-massage-args)
5808 (gud-jdb-massage-args, gud-jdb-find-source, gud-find-class):
5809 Mark unused parameters.
5810 (gud-gdb-marker-filter): Remove unused variable `match'.
5811 (gud-find-class): Bind `syntax-symbol' and `syntax-point' to suitable
5812 lambda expressions and funcall them, instead of using `fset'.
5813
5814 * progmodes/hideif.el (hif-parse-if-exp): Rename parameter
5815 HIF-TOKEN-LIST to TOKEN-LIST and let-bind `hif-token-list'.
5816
5817 * progmodes/hideshow.el (hs-hide-block-at-point): Remove unused
5818 variable `header-beg'; use `let'.
5819
5820 * progmodes/icon.el (indent-icon-exp): Remove unused variables
5821 `restart', `last-sexp' and `at-do'.
5822
5823 * progmodes/js.el (js--debug): Mark unused parameter.
5824 (js--parse-state-at-point): Remove unused variable `bound'; use `let'.
5825 (js--splice-into-items): Remove unused variable `item'.
5826 (js--read-symbol, js--read-tab): Pass 1/-1 to `ido-mode', not t/nil.
5827
5828 * progmodes/make-mode.el (makefile-make-font-lock-keywords):
5829 Rename parameter FONT-LOCK-KEYWORDS to FL-KEYWORDS.
5830 (makefile-complete): Remove unused variable `try'.
5831 (makefile-fill-paragraph, makefile-match-function-end):
5832 Mark unused parameters.
5833
5834 * progmodes/octave-inf.el (inferior-octave-complete):
5835 Remove unused variable `proc'.
5836 (inferior-octave-output-digest): Mark unused parameter.
5837
5838 * progmodes/perl-mode.el (perl-calculate-indent):
5839 Remove unused variable `err'.
5840
5841 * progmodes/prolog.el (prolog-mode-keybindings-inferior)
5842 (prolog-indent-line): Mark unused parameters.
5843 (prolog-indent-line): Remove unused variable `beg'.
5844
5845 * progmodes/ps-mode.el (reporter-prompt-for-summary-p)
5846 (reporter-dont-compact-list): Declare.
5847
5848 * progmodes/sh-script.el (sh-font-lock-quoted-subshell):
5849 Remove unused variable `char'.
5850 (sh-debug): Mark unused parameter.
5851 (sh-get-indent-info): Remove unused variable `start'.
5852 (sh-calculate-indent): Remove unused variable `var'.
5853
5854 * progmodes/simula.el (simula-popup-menu): Mark unused parameter.
5855 (simula-electric-keyword): Remove unused variable `null'.
5856 (simula-search-backward, simula-search-forward): Remove unused
5857 variables `begin' and `end'.
5858
5859 * progmodes/vera-mode.el (vera-guess-basic-syntax):
5860 Remove unused variable `pos'.
5861 (vera-electric-tab, vera-comment-uncomment-region):
5862 Mark unused parameters.
5863 (vera-electric-tab): Rename parameter PREFIX-ARG to PREFIX.
5864
7ede3b65
CY
58652011-04-22 Chong Yidong <cyd@stupidchicken.com>
5866
5867 * emacs-lisp/package.el (package--builtins, package-alist)
5868 (package-load-descriptor, package-built-in-p, package-activate)
5869 (define-package, package-installed-p)
5870 (package-compute-transaction, package-buffer-info)
5871 (package--push): Doc fix. Distinguish more clearly between
5872 version strings and version lists.
5873
121656e9
JB
58742011-04-21 Juanma Barranquero <lekktu@gmail.com>
5875
5876 Lexical-binding cleanup.
5877
5878 * play/5x5.el (5x5-make-random-solution, 5x5-make-mutate-current)
5879 (5x5-make-mutate-best):
5880 * play/fortune.el (fortune-in-buffer):
5881 * play/gomoku.el (gomoku-init-display):
5882 * play/solitaire.el (solitaire, solitaire-do-check):
5883 * play/tetris.el (tetris-default-update-speed-function):
5884 Mark unused parameters.
5885
5886 * play/bubbles.el (bubbles-mode): Set `show-trailing-whitespace'.
5887 (bubbles--shift): Remove unused variable `char-org'.
5888 (bubbles--set-faces): Remove unused variable `fg-col'. Simplify.
5889 (bubbles--show-images): Remove unused variable `char'.
5890
5891 * play/decipher.el (decipher-keypress, decipher-alphabet-keypress)
5892 (decipher-get-undo, decipher-set-map, decipher-complete-alphabet)
5893 (decipher-resync, decipher-loop-with-breaks, decipher--analyze)
5894 (decipher-analyze-buffer): Use ?\s.
5895 (decipher-make-checkpoint): Remove unused variable `mapping'.
5896
5897 * play/doctor.el (doctor-doc): Rename parameter DOCTOR-SENT to SENT.
5898
5899 * play/gamegrid.el (gamegrid-add-score-with-update-game-score):
5900 Remove unused variable `result'; use `let'.
5901
5902 * play/gametree.el (gametree-current-layout, gametree-apply-layout):
5903 Rename parameter TOP-LEVEL to FROM-TOP-LEVEL; use `ignore-errors'.
5904 (gametree-children-shown-p, gametree-compute-reduced-score):
5905 Use `ignore-errors'.
5906
5907 * play/handwrite.el (ps-lpr-switches): Declare.
5908 (handwrite): Remove unused variables `pmin' and `lastp'.
5909
5910 * play/hanoi.el (hanoi-move-ring): Remove unused variable `total-steps'.
5911
5912 * play/landmark.el (landmark-init-display)
5913 (landmark-update-naught-weights): Mark unused parameters.
5914 (landmark-y): Remove unused variable `noise'. Simplify.
5915 (landmark-human-plays): Remove unused variable `score'.
5916
5917 * play/mpuz.el (mpuz-try-letter): Remove unused variable `message'.
5918 (mpuz-try-proposal): Remove unused variable `game'.
5919
5920 * play/zone.el (life-patterns): Declare.
5921
80f499c7
JB
59222011-04-20 Juanma Barranquero <lekktu@gmail.com>
5923
5924 * vc/vc.el (ediff-vc-internal): Declare function.
5925
024ff170
SM
59262011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
5927
c0a193ea
SM
5928 * shell.el: Use lexical-binding and std completion UI.
5929 (shell-filter-ctrl-a-ctrl-b): Work as a preoutput filter.
5930 (shell-mode): Put shell-filter-ctrl-a-ctrl-b on
5931 comint-preoutput-filter-functions rather than on
5932 comint-output-filter-functions.
5933 (shell-command-completion, shell--command-completion-data)
5934 (shell-filename-completion, shell-environment-variable-completion)
5935 (shell-c-a-p-replace-by-expanded-directory): New functions.
5936 (shell-dynamic-complete-functions, shell-dynamic-complete-command)
5937 (shell-dynamic-complete-filename, shell-replace-by-expanded-directory)
5938 (shell-dynamic-complete-environment-variable): Use them.
5939 (shell-dynamic-complete-as-environment-variable)
5940 (shell-dynamic-complete-as-command): Remove.
5941 (shell-match-partial-variable): Match past point.
5942 * comint.el: Clean up use of completion-at-point-functions.
5943 (comint-completion-at-point): New function.
5944 (comint-mode): Use it completion-at-point-functions.
5945 (comint-dynamic-complete): Make it obsolete.
5946 (comint-replace-by-expanded-history-before-point): Add dry-run arg.
5947 (comint-c-a-p-replace-by-expanded-history): New function.
5948 (comint-dynamic-complete-functions)
5949 (comint-replace-by-expanded-history): Use it.
5950 * minibuffer.el (completion-table-with-terminator): Allow dynamic
5951 termination strings. Try harder to avoid second try-completion.
5952 (completion-in-region-mode-map): Disable bindings that don't work yet.
5953
2dbaa080
SM
5954 * comint.el: Use lexical-binding. Require CL.
5955 (comint-dynamic-complete-functions): Use comint-filename-completion.
5956 (comint-completion-addsuffix): Tweak custom type.
5957 (comint-filename-completion, comint--common-suffix)
5958 (comint--common-quoted-suffix, comint--table-subvert)
5959 (comint--complete-file-name-data): New functions.
5960 (comint-dynamic-complete-as-filename, comint-dynamic-complete-filename)
5961 (comint-dynamic-list-filename-completions): Use them.
5962 (comint-dynamic-simple-complete): Make obsolete.
c0a193ea 5963
2dbaa080
SM
5964 * minibuffer.el (completion-in-region-mode):
5965 Keep completion-in-region-mode--predicate global.
5966 (completion-in-region--postch):
5967 Assume completion-in-region-mode--predicate is not null.
5968
c79a6f38
SM
5969 * progmodes/flymake.el (flymake-start-syntax-check-process):
5970 Obey `dir'. Simplify.
5971
024ff170
SM
5972 * vc/vc.el (vc-version-ediff): Call ediff-vc-internal directly, since
5973 we're in VC after all.
5974
1c6c854e
CS
59752011-04-20 Christoph Scholtes <cschol2112@googlemail.com>
5976
5977 * vc/vc.el (vc-diff-build-argument-list-internal)
024ff170 5978 (vc-version-ediff, vc-ediff): New commands.
1c6c854e
CS
5979 (vc-version-diff): Use vc-diff-build-argument-list-internal.
5980
bed7f140
SM
59812011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
5982
332e62ab
SM
5983 * emacs-lisp/byte-opt.el (byte-decompile-bytecode-1): Remove dead code,
5984 add sanity check.
5985
bed7f140
SM
5986 * obsolete/erc-hecomplete.el: Make obsolete.
5987 * obsolete/: Standardize obsolescence info in the header.
5988
f195c582
GM
59892011-04-20 Glenn Morris <rgm@gnu.org>
5990
5991 * calendar/solar.el (solar-horizontal-coordinates):
5992 Use the longitude argument rather than `calendar-longitude'.
5993 (solar-date-next-longitude): Remove unused locals.
5994
cb79b8c0
VJL
59952011-04-20 Vinicius Jose Latorre <viniciusjl@ig.com.br>
5996
5997 * whitespace.el: New version 13.2.1.
5998
59992011-04-20 felix <EmacsWiki> (tiny change)
6000
d8e4b68b 6001 * whitespace.el (global-whitespace-mode): Keep highlight when
cb79b8c0
VJL
6002 switching between major modes on a file.
6003
602ea69d
SM
60042011-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
6005
6006 * progmodes/octave-mod.el (octave-in-comment-p, octave-in-string-p)
6007 (octave-not-in-string-or-comment-p): Use syntax-ppss so it works with
6008 multi-line comments as well.
6009
06b60517
JB
60102011-04-19 Juanma Barranquero <lekktu@gmail.com>
6011
6012 Lexical-binding cleanup.
6013
6014 * arc-mode.el (archive-mode-revert):
6015 * cmuscheme.el (scheme-interactively-start-process):
6016 * custom.el (custom-initialize-delay):
6017 * dnd.el (dnd-open-local-file, dnd-open-remote-url):
6018 * dos-w32.el (direct-print-region-helper, direct-print-region-function):
6019 * emacs-lock.el (emacs-lock-clear-sentinel):
6020 * ezimage.el (defezimage):
6021 * follow.el (follow-avoid-tail-recenter):
6022 * fringe.el (set-fringe-mode-1):
6023 * generic-x.el (bat-generic-mode-compile):
6024 * help-mode.el (help-info-variable, help-do-xref)
6025 (help-mode-revert-buffer):
6026 * help.el (view-emacs-todo):
6027 * iswitchb.el (iswitchb-completion-help):
6028 * jka-compr.el (jka-compr-make-temp-name, jka-compr-load):
6029 * kmacro.el (kmacro-cycle-ring-next, kmacro-cycle-ring-previous)
6030 (kmacro-delete-ring-head, kmacro-bind-to-key, kmacro-view-macro):
6031 * locate.el (locate-update):
6032 * longlines.el (longlines-encode-region)
6033 (longlines-after-change-function):
6034 * outline.el (outline-isearch-open-invisible):
6035 * ps-def.el (declare-function, charset-dimension, char-width)
6036 (encode-char):
6037 * ps-mule.el (ps-mule-plot-string):
6038 * recentf.el (recentf-make-menu-items, recentf-cancel-dialog)
6039 (recentf-edit-list-select, recentf-edit-list-validate)
6040 (recentf-open-files-action):
6041 * rect.el (delete-whitespace-rectangle-line)
6042 (rectangle-number-line-callback):
6043 * register.el (window-configuration-to-register)
6044 (frame-configuration-to-register):
6045 * scroll-bar.el (scroll-bar-mode, toggle-horizontal-scroll-bar):
6046 * select.el (xselect-convert-to-string, xselect-convert-to-length)
6047 (xselect-convert-to-targets, xselect-convert-to-delete)
6048 (xselect-convert-to-filename, xselect-convert-to-charpos)
6049 (xselect-convert-to-lineno, xselect-convert-to-colno)
6050 (xselect-convert-to-os, xselect-convert-to-host)
6051 (xselect-convert-to-user, xselect-convert-to-class)
6052 (xselect-convert-to-name, xselect-convert-to-integer)
6053 (xselect-convert-to-atom, xselect-convert-to-identity):
6054 * subr.el (declare, ignore, process-kill-without-query)
6055 (text-clone-maintain):
6056 * terminal.el (te-get-char, te-tic-sentinel):
6057 * tool-bar.el (tool-bar-make-keymap):
6058 * tooltip.el (tooltip-timeout, tooltip-hide, tooltip-help-tips):
6059 * type-break.el (type-break-mode, type-break-noninteractive-query):
6060 * view.el (View-back-to-mark):
6061 * wid-browse.el (widget-browse-action, widget-browse-widget)
6062 (widget-browse-widgets, widget-browse-sexp):
6063 * widget.el (define-widget-keywords):
6064 * xt-mouse.el (xterm-mouse-translate, turn-off-xterm-mouse-tracking):
6065 Mark unused parameters.
6066
6067 * align.el (align-adjust-col-for-rule): Mark unused parameter.
6068 (align-areas): Remove unused variable `look'.
6069 (align-region): Remove unused variables `real-end' and `pos-list'.
6070
6071 * apropos.el (apropos-score-doc): Remove unused variable `i'.
6072
6073 * bindings.el (mode-line-modified, mode-line-remote):
6074 Mark unused parameters.
6075 (mode-line-mule-info): Mark unused parameter; don't quote `lambda'.
6076
6077 * buff-menu.el (Buffer-menu-revert-function): Mark unused parameters.
6078 (Buffer-menu-mode): Mark unused parameter; don't quote `lambda'.
6079
6080 * comint.el (comint-history-isearch-pop-state)
6081 (comint-postoutput-scroll-to-bottom, comint-truncate-buffer)
6082 (comint-strip-ctrl-m, comint-read-noecho): Mark unused parameters.
6083 (comint-substitute-in-file-name): Doc fix.
6084
6085 * completion.el (cmpl-statistics-block): Mark unused parameter.
6086 (add-completions-from-tags-table, add-completions-from-lisp-buffer)
6087 (save-completions-to-file, load-completions-from-file):
6088 Remove unused local variable `e'.
6089
6090 * composite.el (compose-chars): Remove unused variable `len'.
6091 (lgstring-insert-glyph): Remove unused variable `g'.
6092 (compose-glyph-string): Remove unused variables `ascent',
6093 `descent', `lbearing' and `rbearing'.
6094 (compose-glyph-string-relative): Remove unused variables
6095 `lbearing', `rbearing' and `wadjust'.
6096 (compose-gstring-for-graphic): Remove unused variables `header',
6097 `wadjust', `xoff' and `yoff'. Use `let', not `let*'.
6098 (compose-gstring-for-terminal): Remove unused variables `header'
6099 and `nchars'. Use `let', not `let*'.
6100
6101 * cus-edit.el (Custom-set, Custom-save, custom-reset)
6102 (Custom-reset-current, Custom-reset-saved, Custom-reset-standard)
6103 (Custom-buffer-done, custom-buffer-create-internal)
6104 (custom-browse-visibility-action, custom-browse-group-tag-action)
6105 (custom-browse-variable-tag-action, custom-browse-face-tag-action)
6106 (widget-magic-mouse-down-action, custom-toggle-parent)
6107 (custom-add-parent-links, custom-toggle-hide-variable)
6108 (custom-face-edit-value-visibility-action, custom-face-edit-fix-value)
6109 (custom-toggle-hide-face, face, hook, custom-group-link-action)
6110 (custom-face-menu-create, custom-variable-menu-create, get)
6111 (custom-group-menu-create, Custom-no-edit): Mark unused parameters.
6112 (custom-reset-standard-save-and-update): Remove unused variable `value'.
6113 (customize-apropos): Remove unused variable `tests'.
6114 (custom-group-value-create): Remove unused variable `hidden-p'.
6115 (sort-fold-case): Declare.
6116
6117 * cus-theme.el (custom-reset-standard-faces-list)
6118 (custom-reset-standard-variables-list): Declare.
6119 (customize-create-theme, custom-theme-revert, custom-theme-write)
6120 (custom-theme-choose-mode, customize-themes, custom-theme-save):
6121 Mark unused parameters.
6122
6123 * dabbrev.el (dabbrev-completion): Remove unused variable `init'.
6124
6125 * delim-col.el (delimit-columns-max): Move defvar before first use.
6126
6127 * descr-text.el (describe-char-categories): Don't quote `lambda'.
bd0d2ee2 6128 (describe-char): Don't quote `lambda'. Mark unused parameter.
06b60517
JB
6129
6130 * desktop.el (desktop-save-buffer-p): Mark unused parameter.
6131 (auto-insert): Declare.
6132 (desktop-restore-file-buffer): Rename desktop-* parameters;
6133 mark unused ones.
6134 (desktop-create-buffer): Rename desktop-* parameters and bind them.
6135 (desktop-buffer): Rename desktop-* parameters.
6136
6137 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
6138 (dframe-reposition-frame-xemacs, dframe-help-echo)
6139 (dframe-hack-buffer-menu, dframe-set-timer, dframe-set-timer-internal):
6140 Mark unused parameters.
6141
6142 * dired-aux.el (backup-extract-version-start, overwrite-query)
6143 (overwrite-backup-query, rename-regexp-query)
6144 (rename-non-directory-query): Declare.
6145 (dired-shell-stuff-it, dired-do-create-files): Mark unused parameters.
6146 (dired-add-entry): Remove unused variable `orig-file-name'.
6147 (dired-copy-file-recursive): Remove unused variable `dirfailed'.
6148 Use parameter PRESERVE-TIME instead of accessing dynamic variable
6149 `dired-copy-preserve-time' directly.
6150 (dired-do-create-files-regexp): Remove unused variable `fn-count'.
6151 (dired-insert-subdir-newpos): Rename unused variable `pos'.
6152
6153 * dired-x.el (dired-omit-size-limit): Move defcustom before first use.
6154 (dired-virtual-revert, dired-make-relative-symlink):
6155 Mark unused parameters.
6156 (manual-program): Declare.
6157 (dired-x-hands-off-my-keys): Rename parameters of lambda expression.
6158 (inode, s, mode, nlink, uid, gid, size, time, name, sym): Declare them,
6159 wrapped in `with-no-warnings' to avoid replacing one warning by another.
6160
6161 * dirtrack.el (dirtrack): Remove unused variable `multi-line'.
6162
6163 * dos-fns.el (dos-8+3-filename): Remove unused variable `i'.
6164
6165 * echistory.el (electric-history-in-progress, Helper-return-blurb):
6166 Declare.
6167
6168 * edmacro.el (edmacro-finish-edit): Remove unused variable `kmacro'.
6169
6170 * electric.el (Electric-command-loop): Rename parameter
6171 INHIBIT-QUIT to INHIBIT-QUITTING and bind `inhibit-quit'.
6172
6173 * expand.el (expand-in-literal): Remove unused variable `here'.
6174
6175 * facemenu.el (facemenu-add-new-color):
6176 Remove unused variable `docstring'.
6177
6178 * faces.el (face-id, make-face-bold, make-face-unbold, make-face-italic)
6179 (make-face-unitalic, make-face-bold-italic): Mark unused parameters.
6180 (face-attr-construct): Mark unused parameter. Doc fix.
6181 (read-color): Remove unused variable `hex-string'.
6182
6183 * files.el (parse-colon-path): Rename argument CD-PATH to SEARCH-PATH.
6184 (locate-dominating-file): Remove unused vars `prev-file' and `user'.
6185 (remote-file-name-inhibit-cache, revert-buffer): Clean up docstrings.
6186 (display-buffer-other-frame): Remove unused variable `old-window'.
6187 (kill-buffer-hook): Declare.
6188 (insert-file-contents-literally, set-auto-mode, risky-local-variable-p):
6189 Mark unused parameters.
6190 (after-find-file): Pass 1 to `auto-save-mode', not t.
6191
6192 * files-x.el (auto-insert): Declare.
6193 (modify-file-local-variable-prop-line): Remove unused variable `val'.
6194
6195 * find-lisp.el (find-lisp-find-dired-internal): Remove unused
bd0d2ee2 6196 variable `buf'. Mark unused parameter.
06b60517
JB
6197 (find-lisp-insert-directory): Mark unused parameter.
6198
6199 * format.el (format-decode-run-method): Mark unused parameter; doc fix.
6200 (format-encode-region): Remove unused variables `cur-buf' and `result'.
6201 (format-common-tail): Remove, unused.
6202 (format-deannotate-region): Remove unused variable `loc'.
6203 (format-annotate-region): Remove unused variable `p'.
6204 (format-annotate-single-property-change): Remove unused variables
6205 `default' and `tail'.
6206
6207 * forms.el (read-file-filter): Declare.
6208 (forms--iif-hook, forms--revert-buffer): Mark unused parameters.
6209
6210 * frame.el (frame-creation-function-alist): Mark unused parameter.
6211 (frame-geom-spec-cons): Pass FRAME to `frame-geom-value-cons'.
6212
6213 * hilit-chg.el (hilit-chg-cust-fix-changes-face-list, hilit-chg-clear):
6214 Remove unused parameters.
6215 (hilit-chg-set-face-on-change): Remove unused variable `beg-decr'.
6216 (highlight-compare-with-file): Remove unused variable `buf-b-read-only'.
6217
6218 * htmlfontify.el (hfy-default-footer, hfy-decor, hfy-invisible)
6219 (hfy-parse-tags-buffer, hfy-prepare-index-i, hfy-prepare-index)
6220 (hfy-prepare-tag-map): Mark unused parameters.
6221 (htmlfontify-buffer): Use `called-interactively-p'.
6222
6223 * ibuf-ext.el (ibuffer-do-kill-lines, ibuffer-jump-to-buffer)
6224 (ibuffer-copy-filename-as-kill, ibuffer-mark-on-buffer)
6225 (ibuffer-do-occur): Mark unused parameters.
6226 (ibuffer-forward-next-marked): Remove unused variable `curmark'.
6227 (ibuffer-diff-buffer-with-file-1): Remove unused variable `proc'.
6228
6229 * ibuffer.el: Don't quote `lambda'.
6230 (ibuffer-count-marked-lines, ibuffer-count-deletion-lines)
6231 (ibuffer-unmark-all, ibuffer-toggle-marks, ibuffer-redisplay-engine):
6232 Mark unused parameters.
6233
6234 * ido.el (ido-mode, ido-wide-find-dir-or-delete-dir)
6235 (ido-completing-read): Mark unused parameters.
6236 (ido-copy-current-word): Mark unused parameters;
6237 remove unused variable `name'.
6238 (ido-sort-merged-list): Remove unused parameter `dirs'.
6239
6240 * ielm.el (ielm-input-sender): Mark unused parameter.
6241 (ielm-string, ielm-form, ielm-pos, ielm-result, ielm-error-type)
6242 (ielm-output, ielm-wbuf, ielm-pmark): Declare.
6243 (ielm-eval-input): Rename argument IELM-STRING to INPUT-STRING to keep
6244 `ielm-string' as a dynamic variable accessible from the IELM prompt.
6245 Bind `ielm-string' to INPUT-STRING. Remove unused variable `err'.
6246
6247 * image-dired.el (image-dired-display-thumbs): Remove unused
6248 variables `curr-file' and `count'.
6249 (image-dired-remove-tag): Remove unused variable `start'.
6250 (image-dired-tag-files, image-dired-create-thumbs): Remove unused
6251 variable `curr-file'
6252 (image-dired-rotate-original): Remove unused variable `temp-file'.
6253 (image-dired-mouse-select-thumbnail, image-dired-mouse-toggle-mark):
6254 Remove unused variable `file'.
6255 (image-dired-gallery-generate): Remove unused variable `curr'.
6256 (image-dired-dired-edit-comment-and-tags): Mark unused parameters.
6257
6258 * indent.el (tab-to-tab-stop): Remove unused variable `opoint'.
6259
6260 * info-xref.el (info-xref-goto-node-p): Remove unused variable `err'.
6261
6262 * informat.el (texinfo-command-start, texinfo-command-end): Declare.
6263
6264 * isearch.el (minibuffer-history-symbol): Declare.
6265 (isearch-edit-string): Remove unused variable `err'.
6266 (isearch-message-prefix, isearch-message-suffix):
6267 Mark unused parameters.
6268
6269 * ls-lisp.el (ls-lisp-insert-directory): Remove unused variable `fil'.
6270
6271 * macros.el (insert-kbd-macro): Remove unused variable `mods'.
6272
6273 * makesum.el (double-column): Remove unused variable `cnt'.
6274
6275 * misearch.el (multi-isearch-pop-state): Mark unused parameter.
6276 (ido-ignore-item-temp-list): Declare.
6277
6278 * mouse-drag.el (mouse-drag-throw): Remove unused variables
6279 `mouse-delta', `window-last-row', `mouse-col-delta', `window-last-col',
6280 `adjusted-mouse-col-delta' and `adjusted-mouse-delta'.
6281 (mouse-drag-drag): Remove unused variables `mouse-delta' and
6282 `mouse-col-delta'.
6283
6284 * mouse-sel.el (mouse-extend-internal):
6285 Remove unused variable `orig-window-frame'.
6286
6287 * pcomplete.el (pcomplete-args, pcomplete-begins, pcomplete-last)
6288 (pcomplete-index, pcomplete-stub, pcomplete-seen, pcomplete-norm-func):
6289 Move declarations before first use.
6290 (pcomplete-opt): Mark unused parameters; doc fix.
6291
6292 * proced.el (proced-revert): Mark unused parameter.
6293 (proced-send-signal): Remove unused variable `err'.
6294
6295 * ps-print.el (ps-print-preprint-region, ps-print-preprint):
6296 Rename parameter PREFIX-ARG to ARG.
6297 (ps-basic-plot-string, ps-basic-plot-whitespace):
6298 Mark unused parameters.
6299
6300 * replace.el (replace-count): Define.
6301 (occur-revert-function): Mark unused parameters.
6302 (ido-ignore-item-temp-list, isearch-error, isearch-forward)
6303 (isearch-case-fold-search, isearch-string): Declare.
6304 (occur-engine): Rename parameter CASE-FOLD-SEARCH to CASE-FOLD and
6305 bind `case-fold-search'. Remove unused variables `beg' and `end',
6306 and simplify.
6307 (replace-eval-replacement): Rename parameter REPLACE-COUNT to
6308 COUNT and bind `replace-count'.
6309 (replace-loop-through-replacements): Rename parameter REPLACE-COUNT
6310 to COUNT.
6311
6312 * savehist.el (print-readably, print-string-length): Declare.
6313
6314 * shadowfile.el (shadow-expand-cluster-in-file-name):
6315 Remove unused variable `cluster'.
6316 (shadow-copy-file): Remove unused variable `i'.
6317 (shadow-noquery, shadow-clusters, shadow-site-cluster)
6318 (shadow-parse-fullname, shadow-parse-name, shadow-define-cluster)
6319 (shadow-define-literal-group, shadow-define-regexp-group)
6320 (shadow-make-group, shadow-shadows-of): Clean up docstrings.
6321
6322 * shell.el (shell-filter-ctrl-a-ctrl-b): Mark unused parameter.
6323 (shell): Use `called-interactively-p'.
6324 (shell-directory-tracker): Remove unused variable `chdir-failure'.
6325
6326 * simple.el (compilation-context-lines, comint-file-name-quote-list)
6327 (comint-file-name-chars, comint-delimiter-argument-list): Declare.
6328 (delete-backward-char): Remove unused variable `ocol'.
6329 (minibuffer-avoid-prompt, minibuffer-history-isearch-pop-state)
6330 (line-move-1, event-apply-alt-modifier, event-apply-super-modifier)
6331 (event-apply-hyper-modifier, event-apply-shift-modifier)
6332 (event-apply-control-modifier, event-apply-meta-modifier):
6333 Mark unused parameters.
6334 (undo-make-selective-list): Remove duplicate variable `undo-elt'.
6335 (normal-erase-is-backspace-mode): Remove unused variable `old-state'.
6336
6337 * speedbar.el (speedbar-ignored-directory-expressions)
6338 (speedbar-supported-extension-expressions, speedbar-directory-buttons)
6339 (speedbar-find-file, speedbar-dir-follow)
6340 (speedbar-directory-buttons-follow, speedbar-tag-find)
6341 (speedbar-buffer-buttons, speedbar-buffer-buttons-temp)
6342 (speedbar-buffers-line-directory, speedbar-buffer-click):
6343 Mark unused parameters.
6344 (speedbar-tag-file): Remove unused variable `mode'.
6345 (speedbar-buffers-tail-notes): Remove unused variable `mod'; simplify.
6346
6347 * strokes.el (strokes-decode-buffer): Remove unused variable `ext'.
6348
6349 * talk.el (talk): Remove unused variable `display'.
6350
6351 * tar-mode.el (tar-subfile-save-buffer): Remove unused variable `name'.
6352 (tar-write-region-annotate): Mark unused parameter.
6353
6354 * time.el (now, time, load, mail, 24-hours, hour, 12-hours, am-pm)
6355 (minutes, seconds, time-zone, day, year, monthname, month, dayname):
6356 Declare them, wrapped in `with-no-warnings' to avoid replacing one
6357 warning by another.
6358
6359 * time-stamp.el (time-stamp-string-preprocess):
6360 Remove unused variable `require-padding'.
6361
6362 * tree-widget.el (widget-glyph-enable): Declare.
6363 (tree-widget-action): Mark unused parameter.
6364
6365 * w32-fns.el (x-get-selection): Mark unused parameter.
6366 (autoload-make-program, generated-autoload-file): Declare.
6367
6368 * wdired.el (wdired-revert): Mark unused parameters.
6369 (wdired-xcase-word): Remove unused variable `err'.
6370
6371 * whitespace.el (whitespace-buffer-changed): Mark unused parameters.
6372 (whitespace-help-scroll): Remove unused variable `data-help'.
6373
6374 * wid-edit.el (widget-mouse-help, widget-overlay-inactive)
6375 (widget-image-insert, widget-after-change, default)
6376 (widget-default-format-handler, widget-default-notify)
6377 (widget-default-prompt-value, widget-info-link-action)
6378 (widget-url-link-action, widget-function-link-action)
6379 (widget-variable-link-action, widget-file-link-action)
6380 (widget-emacs-library-link-action, widget-emacs-commentary-link-action)
6381 (widget-field-prompt-internal, widget-field-action, widget-field-match)
6382 (widget-choice-mouse-down-action, toggle, widget-radio-button-notify)
6383 (widget-insert-button-action, widget-delete-button-action, visibility)
6384 (widget-documentation-link-action, widget-documentation-string-action)
6385 (widget-const-prompt-value, widget-regexp-match, symbol)
6386 (widget-coding-system-prompt-value)
6387 (widget-key-sequence-value-to-external, sexp)
6388 (widget-sexp-value-to-internal, character, vector, cons)
6389 (widget-choice-prompt-value, widget-boolean-prompt-value)
6390 (widget-color--choose-action): Mark unused parameters.
6391 (widget-item-match-inline, widget-choice-match-inline)
6392 (widget-checklist-match, widget-checklist-match-inline)
6393 (widget-group-match): Rename parameter VALUES to VALS.
6394 (widget-field-value-set): Remove unused variable `size'.
6395 (widget-color-action): Remove unused variables `value' and `start'.
6396
6397 * windmove.el (windmove-wrap-loc-for-movement): Remove unused
bd0d2ee2 6398 variable `dir'. Doc fix.
06b60517
JB
6399 (windmove-find-other-window): Don't pass it.
6400
6401 * window.el (count-windows): Mark unused parameter.
6402 (bw-adjust-window): Remove unused variable `err'.
6403
6404 * woman.el (woman-file-name): Remove unused variable `default'.
6405 (woman-expand-directory-path): Rename parameters WOMAN-MANPATH and
6406 WOMAN-PATH to PATH-DIRS and PATH-REGEXPS, respectively.
6407 (global-font-lock-mode): Declare.
6408 (woman-decode-region): Mark unused parameter.
6409 (woman-get-tab-stop): Rename parameter TAB-STOP-LIST to TAB-STOPS.
6410
6411 * x-dnd.el (x-dnd-default-test-function, x-dnd-handle-old-kde)
6412 (x-dnd-handle-xdnd, x-dnd-handle-motif): Mark unused parameters.
6413 (x-dnd-handle-moz-url): Remove unused variable `title'.
6414 (x-dnd-handle-xdnd): Remove unused variables `x', `y' and `ret-action'.
6415
6416 * xml.el (xml-parse-tag, xml-parse-attlist):
6417 Remove unused variable `pos'.
6418
bc4f7f3d
GM
64192011-04-19 Glenn Morris <rgm@gnu.org>
6420
6421 * calendar/cal-tex.el (cal-tex-list-holidays, cal-tex-cursor-month)
6422 (cal-tex-cursor-week, cal-tex-cursor-week2, cal-tex-cursor-week-iso)
6423 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
6424 (cal-tex-cursor-filofax-daily, cal-tex-mini-calendar)
6425 * calendar/cal-html.el (cal-html-insert-minical):
6426 * calendar/diary-lib.el (diary-list-entries-1, diary-list-entries)
6427 (calendar-mark-date-pattern):
6428 Prefix "unused" locals.
6429
6430 * calendar/cal-dst.el (dst-adjust-time): Remove never-implemented
6431 optional argument `style'.
6432
6433 * calendar/appt.el (appt-make-list):
6434 * calendar/cal-china.el (calendar-chinese-date-string):
6435 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits)
6436 (diary-hebrew-yahrzeit):
6437 * calendar/cal-tex.el (cal-tex-last-blank-p, cal-tex-cursor-week2):
6438 * calendar/calendar.el (calendar-generate-window):
6439 * calendar/time-date.el (time-to-days):
6440 Remove unused local variables.
6441
16a43933
CY
64422011-04-18 Chong Yidong <cyd@stupidchicken.com>
6443
6444 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Use a custom
6445 glyphless-char-display table.
6446 (tabulated-list-glyphless-char-display): New var.
6447
7eed1860
SS
64482011-04-18 Sam Steingold <sds@gnu.org>
6449
6450 * vc/add-log.el (change-log-font-lock-keywords): Add "Thanks to"
6451 to acknowledgments.
6452
4d2d1ccd
GM
64532011-04-17 Glenn Morris <rgm@gnu.org>
6454
6455 * calendar/diary-lib.el (diary-sexp-entry):
6456 * calendar/holidays.el (holiday-sexp):
6457 Set debug-on-error rather than the removed stack-trace-on-error.
6458
239da61d
GM
64592011-04-16 Glenn Morris <rgm@gnu.org>
6460
6461 * progmodes/f90.el: Use lexical-binding.
6462 (f90-get-correct-indent): Remove unnecessary local variable `cont'.
6463
8b05752a
SM
64642011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
6465
daca8ba5
SM
6466 * mail/sendmail.el (mail-mode-map): Use completion-at-point.
6467 (mail-mode): Setup mailalias completion here instead.
6468 * mail/mailalias.el: Use lexical-binding.
6469 (pattern, mailalias-done): Declare dynamic.
6470 (mail-completion-at-point-function): New function, from mail-complete.
6471 (mail-complete): Use it.
6472 (mail-completion-expand): New function.
6473 (mail-get-names): Use it.
6474 (mail-directory, mail-directory-process, mail-directory-stream):
6475 Don't use `pattern' for lexically bound arg.
6476
6f542485
SM
6477 * emacs-lisp/lisp-mode.el (eval-defun-2): Use eval-sexp-add-defvars.
6478
037e7c3f
SM
6479 * htmlfontify.el (hfy-etags-cmd): Remove inoperant eval-and-compile.
6480 (hfy-e2x-etags-cmd, hfy-etags-cmd-alist-default)
6481 (hfy-etags-cmd-alist): Don't eval-and-compile any more.
6482
8b05752a
SM
6483 * emacs-lisp/bytecomp.el (byte-temp-output-buffer-show)
6484 (byte-save-window-excursion, byte-temp-output-buffer-setup)
6485 (byte-interactive-p): Define them again, for use when inlining
6486 old code.
6487
49093f60
JB
64882011-04-15 Juanma Barranquero <lekktu@gmail.com>
6489
6490 * loadup.el: Use `string-to-number', not `string-to-int'.
6491
b5b8e7de
SM
64922011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
6493
6494 * progmodes/gud.el (gud-gdb): Use completion-at-point instead of
6495 gud-gdb-complete-command.
6496 (gud-gdb-completions): New function, from gud-gdb-complete-command.
6497 (gud-gdb-completion-at-point): New function.
6498 (gud-gdb-completions): Remove.
6499
f42efeb5
MA
65002011-04-14 Michael Albinus <michael.albinus@gmx.de>
6501
49093f60
JB
6502 * net/tramp-sh.el (tramp-sh-handle-file-attributes): Handle the case
6503 when the scripts fail. Use `tramp-do-file-attributes-with-ls' then.
6504 (tramp-do-copy-or-rename-file-out-of-band): Do not check any longer
6505 whether `executable-find' is bound.
f42efeb5
MA
6506
6507 * net/tramp-smb.el (tramp-smb-handle-copy-file): Fix docstring.
6508
e240cc21
SM
65092011-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
6510
6511 * minibuffer.el (completion-in-region-mode-predicate)
6512 (completion-in-region-mode--predicate): New vars.
6513 (completion-in-region, completion-in-region--postch)
6514 (completion-in-region-mode): Use them.
6515 (completion--capf-wrapper): Also return the hook function.
6516 (completion-at-point, completion-help-at-point):
6517 Adjust and provide a predicate.
c2bd2ab0
SM
6518
6519 Preserve arg names for advice of subr and lexical functions (bug#8457).
6520 * help-fns.el (help-function-arglist): Consolidate the subr and
6521 new-byte-code cases. Add argument `preserve-names' to extract names
6522 from the docstring when needed.
6523 * emacs-lisp/advice.el (ad-define-subr-args, ad-undefine-subr-args)
6524 (ad-subr-args-defined-p, ad-get-subr-args, ad-subr-arglist): Remove.
6525 (ad-arglist): Use help-function-arglist's new arg.
6526 (ad-definition-type): Use cond.
6527
c183f693
JB
65282011-04-13 Juanma Barranquero <lekktu@gmail.com>
6529
06641a47
JB
6530 * autorevert.el (auto-revert-handler):
6531 Bind `remote-file-name-inhibit-cache', not `tramp-cache-inhibit-cache',
6532 which was removed in 2010-10-02T13:21:43Z!michael.albinus@gmx.de.
6533 Don't quote lambda.
6534
c183f693
JB
6535 * image-mode.el (image-transform-set-scale):
6536 Fix change in 2011-04-09T20:28:01Z!cyd@stupidchicken.com.
6537
1e3b6001
G
65382011-04-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
6539
6540 * net/network-stream.el (network-stream-open-starttls): Only do
6541 opportunistic STARTTLS upgrades if we have built-in gnutls support.
6542 Upgrades via gnutls-cli are too slow to be done opportunistically.
6543
2d6af8dd
JB
65442011-04-12 Juanma Barranquero <lekktu@gmail.com>
6545
6546 * dframe.el (dframe-current-frame): Remove spurious quote.
6547
c0749a51
GM
65482011-04-12 Glenn Morris <rgm@gnu.org>
6549
088d0d61
GM
6550 * calendar/cal-tex.el (cal-tex-end-document):
6551 Try to automatically use latin1 input if needed.
6552
c0749a51
GM
6553 * calendar/cal-hebrew.el (diary-hebrew-rosh-hodesh):
6554 Don't try to cons a mark onto an empty element.
6555
5c90fde0
LL
65562011-04-11 Leo Liu <sdl.web@gmail.com>
6557
6558 * ido.el (ido-buffer-internal): Allow method 'kill for virtual
6559 buffers.
6560 (ido-kill-buffer-at-head): Support killing virtual buffers.
6561
369e974d
CY
65622011-04-10 Chong Yidong <cyd@stupidchicken.com>
6563
6564 * minibuffer.el (completion-show-inline-help): New var.
6565 (completion--do-completion, minibuffer-complete)
daca8ba5
SM
6566 (minibuffer-force-complete, minibuffer-complete-word):
6567 Inhibit minibuffer messages if completion-show-inline-help is nil.
369e974d
CY
6568
6569 * icomplete.el (icomplete-mode): Bind completion-show-inline-help
6570 to avoid interference from inline help (Bug#5849).
6571
37f1c930
LL
65722011-04-10 Leo Liu <sdl.web@gmail.com>
6573
099c39a4
JB
6574 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
6575 Fix typo.
37f1c930 6576
a32d4040
CY
65772011-04-09 Chong Yidong <cyd@stupidchicken.com>
6578
6579 * image-mode.el (image-toggle-display-image): Signal an error if
6580 not in Image mode.
6581 (image-transform-mode, image-transform-resize)
6582 (image-transform-set-rotation): Doc fix.
daca8ba5 6583 (image-transform-set-resize): Delete.
a32d4040
CY
6584 (image-transform-set-scale, image-transform-fit-to-height)
6585 (image-transform-fit-to-width): Handle image-toggle-display-image
6586 and image-transform-resize directly.
6587
099c39a4 65882011-04-08 Sho Nakatani <lay.sakura@gmail.com>
d7b89879
TH
6589
6590 * doc-view.el (doc-view-fit-width-to-window)
099c39a4
JB
6591 (doc-view-fit-height-to-window, doc-view-fit-page-to-window):
6592 New functions for fitting the shown image to the Emacs window size.
d7b89879
TH
6593 (doc-view-mode-map): Add bindings for the new functions.
6594
099c39a4 65952011-04-08 Juanma Barranquero <lekktu@gmail.com>
ddc20cdb 6596
4d61f28d 6597 * vc/vc-annotate.el (vc-annotate-show-log-revision-at-line):
ddc20cdb
JB
6598 Fix typo in docstring.
6599
3726838a
EZ
66002011-04-08 Eli Zaretskii <eliz@gnu.org>
6601
04f33f1e
EZ
6602 * files.el (file-size-human-readable): Produce one digit after
6603 decimal, like "ls -lh" does.
6604
6605 * ls-lisp.el (ls-lisp-format-file-size): Allow for 7 characters in
6606 the file size representation.
6607
3726838a
EZ
6608 * simple.el (list-processes): If async subprocesses are not
6609 available, error out with a clear error message.
6610
cbb59342
CY
66112011-04-08 Chong Yidong <cyd@stupidchicken.com>
6612
6613 * help.el (help-form-show): New function, to be called from C.
6614 Put help-form output in a buffer named differently than *Help*.
6615
e3971c44
EZ
66162011-04-08 Eli Zaretskii <eliz@gnu.org>
6617
6618 * files.el (file-size-human-readable): New function.
6619
6620 * ls-lisp.el (ls-lisp-format-file-size): Use it, instead of
6621 computing the representation inline. Don't require `cl'.
6622
12544bbe
GM
66232011-04-08 Glenn Morris <rgm@gnu.org>
6624
a1de6c6a
GM
6625 * man.el (Man-page-header-regexp): Solaris < 2.6 no longer supported.
6626
3c4671f4
GM
6627 * net/browse-url.el (browse-url-firefox):
6628 Test system-type, not system-configuration.
6629
b605679c
GM
6630 * vc/log-edit.el (log-edit-empty-buffer-p): New function.
6631 (log-edit-insert-cvs-template, log-edit-insert-cvs-rcstemplate):
6632 Use log-edit-empty-buffer-p. (Bug#7598)
6633
56442f0c
GM
6634 * net/rlogin.el (rlogin-process-connection-type): Simplify.
6635 (rlogin-mode-map): Initialize in the defvar.
6636 (rlogin): Use ignore-errors.
6637
12544bbe
GM
6638 * replace.el (occur-mode-map): Some fixes for menu items.
6639
eb237b0f
AH
66402011-04-07 Aaron S. Hawley <aaron.s.hawley@gmail.com>
6641
6642 * play/morse.el (denato-region): Handle varying case. (Bug#8386)
6643
7d668f2c
CY
66442011-04-06 Chong Yidong <cyd@stupidchicken.com>
6645
e67a13ab
CY
6646 * emacs-lisp/cconv.el (cconv--analyse-use): Ignore "ignored" when
6647 issuing unused warnings.
6648
6649 * emacs-lisp/tabulated-list.el (tabulated-list-print): Use lambda
6650 macro directly.
6651
7d668f2c
CY
6652 * simple.el: Lisp reimplement of list-processes. Based on an
6653 earlier reimplementation by Leo Liu, but using tabulated-list.el.
6654 (process-menu-mode): New major mode.
6655 (list-processes--refresh, list-processes):
6656 (process-menu-visit-buffer): New functions.
6657
6658 * files.el (save-buffers-kill-emacs): Don't assume any return
6659 value of list-processes, which is undocumented anyway.
6660
a83ec3c9
CY
66612011-04-06 Chong Yidong <cyd@stupidchicken.com>
6662
6663 * emacs-lisp/tabulated-list.el: New file.
6664
e91a96fe
CY
6665 * emacs-lisp/package.el: Use Tabulated List mode.
6666 (package-menu-mode-map): Inherit from tabulated-list-mode-map.
6667 (package-menu-mode): Derive from tabulated-list-mode. Set up the
6668 table format using Tabulated List mode variables.
6669 (package--push): New macro, replacing package-list-maybe-add.
6670 (package-menu--generate): Use package--push. Renamed from
6671 package--generate-package-list.
6672 (package-menu-refresh, list-packages): Use it.
daca8ba5 6673 (package-menu--print-info): Rename from package-print-package.
e91a96fe 6674 Return insertion data instead of inserting it directly.
099c39a4
JB
6675 (package-menu-describe-package, package-menu-execute):
6676 Use tabulated-list-get-id.
e91a96fe
CY
6677 (package-menu-mark-delete, package-menu-mark-install)
6678 (package-menu-mark-unmark, package-menu-backup-unmark)
099c39a4
JB
6679 (package-menu-mark-obsolete-for-deletion):
6680 Use tabulated-list-put-tag.
e91a96fe
CY
6681 (package--list-packages, package-menu-revert)
6682 (package-menu-get-package, package-menu-get-version)
6683 (package-menu-sort-by-column): Functions deleted.
6684 (package-menu-package-list, package-menu-sort-key): Vars deleted.
6685 (package-menu--status-predicate, package-menu--version-predicate)
6686 (package-menu--name-predicate)
6687 (package-menu--description-predicate): Handle arguments in the
6688 Tabulated List format.
6689 (package-list-packages-no-fetch): Call list-packages.
6690
3e214b50
JB
66912011-04-06 Juanma Barranquero <lekktu@gmail.com>
6692
6693 * files.el (after-find-file-from-revert-buffer): Remove variable.
c9d0ec6d 6694 (after-find-file): Don't bind it.
3e214b50
JB
6695 (revert-buffer-in-progress-p): New variable.
6696 (revert-buffer): Bind it.
6697 Pass nil for `after-find-file-from-revert-buffer'.
6698
6699 * saveplace.el (save-place-find-file-hook): Use new variable
6700 `rever-buffer-in-progress-p', not `after-find-file-from-revert-buffer'.
6701
3f0f1700
GM
67022011-04-06 Glenn Morris <rgm@gnu.org>
6703
c0274801
GM
6704 * Makefile.in (AUTOGEN_VCS): New variable.
6705 (autoloads): Use $AUTOGEN_VCS.
6706
3f0f1700
GM
6707 * calendar/cal-move.el (calendar-scroll-toolkit-scroll): New function.
6708 * calendar/calendar.el (calendar-mode-map):
6709 Check for toolkit scroll bars. (Bug#8305)
6710
41ea9e48
CY
67112011-04-05 Chong Yidong <cyd@stupidchicken.com>
6712
6713 * minibuffer.el (completion-in-region--postch)
6714 (completion-in-region-mode): Remove unnecessary messages.
6715
6194c800
JB
67162011-04-05 Juanma Barranquero <lekktu@gmail.com>
6717
33256f14
JB
6718 * font-lock.el (font-lock-refresh-defaults):
6719 Don't bind `hi-lock--inhibit-font-lock-hook', removed in
6720 2010-10-09T04:09:19Z!cyd@stupidchicken.com and 2010-10-11T23:57:49Z!lekktu@gmail.com (2010-10-12).
6721
6194c800
JB
6722 * info.el (Info-directory-list, Info-read-node-name-2)
6723 (Info-split-parameter-string): Doc fixes.
6724 (Info-virtual-nodes): Reflow docstring.
6725 (Info-find-file, Info-directory-toc-nodes, Info-history-toc-nodes)
6726 (Info-apropos-toc-nodes, info-finder, Info-get-token)
6727 (Info-find-emacs-command-nodes, Info-speedbar-key-map):
6728 Fix typos in docstrings.
6729 (Info-revert-buffer-function, Info-search, Info-isearch-pop-state)
6730 (Info-speedbar-hierarchy-buttons, Info-speedbar-goto-node)
6731 (Info-speedbar-buttons, Info-desktop-buffer-misc-data)
6732 (Info-restore-desktop-buffer): Mark unused parameters.
6733 (Info-directory-find-file, Info-directory-find-node)
6734 (Info-history-find-file, Info-history-find-node, Info-toc-find-node)
6735 (Info-virtual-index-find-node, Info-apropos-find-file)
6736 (Info-apropos-find-node, Info-finder-find-file, Info-finder-find-node):
33256f14 6737 Mark unused parameters; fix typos in docstrings.
6194c800
JB
6738 (Info-virtual-index): Remove unused local variable `nodename'.
6739
b87a8200 67402011-04-05 Deniz Dogan <deniz@dogan.se>
0f6ee7d2 6741
b87a8200
DD
6742 * net/rcirc.el: Update my e-mail address.
6743 (rcirc-mode-map): Remove M-o binding.
0f6ee7d2 6744
3b2ff876
CY
67452011-04-05 Chong Yidong <cyd@stupidchicken.com>
6746
6747 * startup.el (command-line): Save the cursor's theme-face
6748 directly, instead of using face-override-spec.
6749
6750 * custom.el (load-theme): Minor optimization in assigning faces.
6751
8d17e7ca
JB
67522011-04-04 Juanma Barranquero <lekktu@gmail.com>
6753
6754 * help-fns.el (describe-variable): Complete all variables having
6755 documentation, including keywords.
6756 http://lists.gnu.org/archive/html/emacs-devel/2011-04/msg00112.html
6757
2fbc1934
JB
67582011-04-04 Juanma Barranquero <lekktu@gmail.com>
6759
6760 Convert to lexical-binding.
6761
6762 * bs.el (bs-refresh, bs-sort-buffer-interns-are-last)
6763 (bs--get-marked-string, bs--get-modified-string)
6764 (bs--get-readonly-string, bs--get-size-string, bs--get-name)
6765 (bs--get-mode-name, bs--get-file-name): Mark unused arguments.
6766 (bs--configuration-name-for-prefix-arg): Rename argument PREFIX-ARG.
6767
6768 * ehelp.el (electric-help-execute-extended)
6769 (electric-help-ctrl-x-prefix):
6770 * hexl.el (hexl-revert-buffer-function):
6771 * linum.el (linum-after-change, linum-after-scroll):
6772 * emacs-lisp/re-builder.el (reb-auto-update): Mark unused arguments.
6773
6774 * help-fns.el (help-describe-category-set): Remove unused ERR variable.
6775
74f50695
DU
67762011-04-04 Daiki Ueno <ueno@unixuser.org>
6777
6778 * epa-dired.el:
6779 * epa-mail.el:
6780 * epa-hook.el:
6781 * epa-file.el:
6782 * epa.el:
6783 * epg.el: Use lexical binding.
6784
c11325f7
CY
67852011-04-03 Chong Yidong <cyd@stupidchicken.com>
6786
0d9e9a12
CY
6787 * dired-aux.el (dired-create-files): Add docstring (Bug#7970).
6788
c11325f7 6789 * textmodes/flyspell.el (flyspell-word): Recognize default
daca8ba5
SM
6790 dictionary case for flyspell-mark-duplications-exceptions.
6791 Use regexp matching for languages.
c11325f7
CY
6792 (flyspell-mark-duplications-exceptions): Add "that" and "had" for
6793 default dictionary (Bug#7926).
6794
da91b5f2
CY
67952011-04-02 Chong Yidong <cyd@stupidchicken.com>
6796
099c39a4
JB
6797 * emacs-lisp/package.el (package--with-work-buffer):
6798 Recognize https URLs.
da91b5f2 6799
099c39a4
JB
6800 * net/network-stream.el: Move from gnus/proto-stream.el.
6801 Change prefix to network-stream throughout.
da91b5f2
CY
6802 (open-protocol-stream): Merge into open-network-stream, leaving
6803 open-protocol-stream as an alias. Handle nil BUFFER args.
6804
6805 * subr.el (open-network-stream): Move to net/network-stream.el.
6806
afa8e9f6
GM
68072011-04-02 Glenn Morris <rgm@gnu.org>
6808
1d2e369d
GM
6809 * find-dired.el (find-exec-terminator): New option.
6810 (find-ls-option): Test for -ls support.
6811 (find-ls-subdir-switches): Test for -b in find-ls-option.
6812 (find-dired, find-grep-dired): Doc fixes.
6813 (find-dired): Use find-exec-terminator.
6814
8abb7da8 6815 * find-dired.el (find-ls-option, find-ls-subdir-switches)
e7a395b5
GM
6816 (find-grep-options): Do not autoload these defcustoms, remove purecopy.
6817 (find-name-arg): Remove purecopy.
8abb7da8 6818
f3ca7378
GM
6819 * progmodes/grep.el (grep-find-use-xargs): Doc fix.
6820 (grep-compute-defaults): Check for `-exec COMMAND +' support.
6821 Set grep-find-use-xargs, grep-find-command, and grep-find-template
6822 accordingly. Don't add the null-device if not needed.
6823
afa8e9f6
GM
6824 * files.el (save-some-buffers): Doc fix.
6825
35eae264
EZ
68262011-04-02 Eli Zaretskii <eliz@gnu.org>
6827
6828 * makefile.w32-in (EMACS): Default to ../src/$(BLD)/emacs.exe.
6829
26b51db5
JB
68302011-04-01 Juanma Barranquero <lekktu@gmail.com>
6831
6832 * progmodes/idlwave.el (idlwave-one-key-select, idlwave-list-abbrevs):
6833 Use `dolist' rather than `mapcar'.
6834
7200d79c
SM
68352011-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
6836
03408648 6837 Add lexical binding.
7200d79c 6838
03408648
SM
6839 * subr.el (apply-partially): Use new closures rather than CL.
6840 (--dolist-tail--, --dotimes-limit--): Don't declare dynamic.
6841 (dolist, dotimes): Use slightly different expansion for lexical code.
6842 (functionp): Move to C.
6843 (letrec): New macro.
6844 (with-wrapper-hook): Use it and apply-partially instead of CL.
6845 (eval-after-load): Preserve lexical-binding.
6846 (save-window-excursion, with-output-to-temp-buffer): Turn them
6847 into macros.
7200d79c 6848
03408648
SM
6849 * simple.el (with-wrapper-hook, apply-partially): Move to subr.el.
6850
6851 * help-fns.el (help-split-fundoc): Return nil if there's nothing else
6852 than the arglist.
6853 (help-add-fundoc-usage): Don't add `Not documented'.
6854 (help-function-arglist): Handle closures, subroutines, and new
6855 byte-code-functions.
6856 (help-make-usage): Remove leading underscores.
6857 (describe-function-1): Handle closures.
6858 (describe-variable): Use special-variable-p for completion.
6859
6860 * files.el (lexical-binding): Declare safe.
f488fb65 6861
03408648
SM
6862 * emacs-lisp/pcase.el: Don't use destructuring-bind.
6863 (pcase--memoize): Rename from pcase-memoize. Change weakness.
6864 (pcase): Add `let' pattern.
6865 Change memoization so it actually works.
6866 (pcase-mutually-exclusive-predicates): Add byte-code-function-p.
6867 (pcase--u1) <guard, pred>: Fix possible shadowing problem.
6868 <let>: New case.
f488fb65 6869
03408648
SM
6870 * emacs-lisp/macroexp.el: Use lexical binding.
6871 (macroexpand-all-1): Check obsolete macros. Expand compiler-macros.
6872 Don't convert ' to #' without checking that it's indeed quoting
6873 a lambda.
6874
6875 * emacs-lisp/lisp-mode.el (eval-last-sexp-1):
f488fb65 6876 Use eval-sexp-add-defvars.
03408648
SM
6877 (eval-sexp-add-defvars): New fun.
6878
6879 * emacs-lisp/float-sup.el (pi): Don't declare as dynamically bound.
6880
6881 * emacs-lisp/eieio.el (byte-compile-file-form-defmethod):
6882 Don't autoload.
6883 (eieio-defgeneric-form-primary-only-one): Use `byte-compile' rather
6884 than the internal `byte-compile-lambda'.
6885 (defmethod): Don't hide code under quotes.
6886 (eieio-defmethod): New `code' argument.
6887
6888 * emacs-lisp/eieio-comp.el: Remove.
6889
6890 * emacs-lisp/edebug.el (edebug-eval-defun)
6891 (edebug-eval-top-level-form): Use eval-sexp-add-defvars.
6892 (edebug-toggle): Avoid `eval'.
6893
6894 * emacs-lisp/disass.el (disassemble-internal): Handle new
6895 `closure' objects.
6896 (disassemble-1): Handle new byte codes.
6897
6898 * emacs-lisp/cl.el (pushnew): Silence warning.
6899
6900 * emacs-lisp/cl-macs.el (cl-byte-compile-block)
6901 (cl-byte-compile-throw): Remove.
6902 (cl-block-wrapper, cl-block-throw): Use compiler-macros instead.
6903
6904 * emacs-lisp/cl-extra.el (cl-macroexpand-all): Properly quote CL
6905 closures.
6906
6907 * emacs-lisp/cconv.el: New file.
6908
6909 * emacs-lisp/bytecomp.el: Use lexical binding instead of
6910 a "bytecomp-" prefix. Macroexpand everything as a separate phase.
6911 (byte-compile-initial-macro-environment):
6912 Handle declare-function here.
6913 (byte-compile--lexical-environment): New var.
6914 (byte-stack-ref, byte-stack-set, byte-discardN)
6915 (byte-discardN-preserve-tos): New lap codes.
6916 (byte-interactive-p): Don't use any more.
6917 (byte-compile-push-bytecodes, byte-compile-push-bytecode-const2):
6918 New macros.
6919 (byte-compile-lapcode): Use them and handle new lap codes.
6920 (byte-compile-obsolete): Remove.
6921 (byte-compile-arglist-signature): Handle new byte-code arg"lists".
6922 (byte-compile-arglist-warn): Check late def of inlinable funs.
6923 (byte-compile-cl-warn): Don't silence warnings for compiler-macros
6924 since they should have been expanded by now.
6925 (byte-compile--outbuffer): Rename from bytecomp-outbuffer.
6926 (byte-compile-from-buffer): Remove unused second arg.
6927 (byte-compile-preprocess): New function.
6928 (byte-compile-toplevel-file-form): New function to distinguish
6929 file-form calls from outside from file-form calls from hunk-handlers.
6930 (byte-compile-file-form): Simplify.
6931 (byte-compile-file-form-defsubst): Remove.
6932 (byte-compile-file-form-defmumble): Simplify now that
6933 byte-compile-lambda always returns a byte-code-function.
6934 (byte-compile): Preprocess.
6935 (byte-compile-byte-code-maker, byte-compile-byte-code-unmake):
6936 Remove, not used any more.
6937 (byte-compile-arglist-vars, byte-compile-make-lambda-lexenv)
6938 (byte-compile-make-args-desc): New funs.
6939 (byte-compile-lambda): Handle lexical functions. Always return
6940 a byte-code-function.
6941 (byte-compile-reserved-constants): New var, to make up room for
6942 closed-over variables.
6943 (byte-compile-constants-vector): Obey it.
6944 (byte-compile-top-level): New args `lexenv' and `reserved-csts'.
6945 (byte-compile-macroexpand-declare-function): New function.
6946 (byte-compile-form): Call byte-compile-unfold-bcf to inline immediate
6947 byte-code-functions.
6948 (byte-compile-form): Check obsolescence here.
6949 (byte-compile-inline-lapcode, byte-compile-unfold-bcf): New functions.
6950 (byte-compile-variable-ref): Remove.
6951 (byte-compile-dynamic-variable-op): New fun.
6952 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
6953 (byte-compile-variable-set): New funs.
6954 (byte-compile-discard): Add 2 args.
6955 (byte-compile-stack-ref, byte-compile-stack-set)
6956 (byte-compile-make-closure, byte-compile-get-closed-var): New funs.
6957 (byte-compile-funarg, byte-compile-funarg-2): Remove, handled in
6958 macroexpand-all instead.
6959 (byte-compile-quote-form): Remove.
6960 (byte-compile-push-binding-init, byte-compile-not-lexical-var-p)
6961 (byte-compile-bind, byte-compile-unbind): New funs.
6962 (byte-compile-let): Handle let* and lexical binding.
6963 (byte-compile-let*): Remove.
6964 (byte-compile-catch, byte-compile-unwind-protect)
6965 (byte-compile-track-mouse, byte-compile-condition-case):
6966 Handle a new :fun-body form, used for lexical scoping.
6967 (byte-compile-save-window-excursion)
6968 (byte-compile-with-output-to-temp-buffer): Remove.
6969 (byte-compile-defun): Simplify.
6970 (byte-compile-stack-adjustment): New fun.
6971 (byte-compile-out): Use it.
6972 (byte-compile-refresh-preloaded): Don't reload byte-compiler files.
6973
6974 * emacs-lisp/byte-run.el (make-obsolete): Don't set the `byte-compile'
6975 handler any more.
6976
6977 * emacs-lisp/byte-opt.el: Use lexical binding.
6978 (byte-inline-lapcode): Remove (to bytecomp).
6979 (byte-compile-inline-expand): Pay attention to inlining to/from
6980 lexically bound code.
6981 (byte-compile-unfold-lambda): Don't handle byte-code-functions
6982 any more.
6983 (byte-optimize-form-code-walker): Don't handle save-window-excursion
6984 any more and don't call compiler-macros.
6985 (byte-compile-splice-in-already-compiled-code): Remove.
6986 (byte-code): Don't inline any more.
6987 (disassemble-offset): Receive `bytes' as argument rather than via
6988 dynamic scoping.
6989 (byte-compile-tag-number): Declare before first use.
6990 (byte-decompile-bytecode-1): Handle new byte-codes, don't change
6991 `return' even if make-spliceable.
6992 (byte-compile-side-effect-and-error-free-ops): Add stack-ref, remove
6993 obsolete interactive-p.
6994 (byte-optimize-lapcode): Optimize new lap-codes.
6995 Don't trip up on new form of `byte-constant' lap code.
6996
6997 * emacs-lisp/autoload.el (make-autoload): Don't burp on trivial macros.
6998
6999 * emacs-lisp/advice.el (ad-arglist): Use help-function-arglist.
7000
7001 * custom.el (custom-initialize-default, custom-declare-variable):
7002 Use `defvar'.
7003
7004 * Makefile.in (BIG_STACK_DEPTH, BIG_STACK_OPTS, BYTE_COMPILE_FLAGS):
7005 New variables.
7006 (compile-onefile, .el.elc, compile-calc, recompile): Use them.
7007 (COMPILE_FIRST): Add macroexp and cconv.
7008 * makefile.w32-in: Mirror changes in Makefile.in.
7009
7010 * vc/cvs-status.el:
7011 * vc/diff-mode.el:
7012 * vc/log-edit.el:
7013 * vc/log-view.el:
7014 * vc/smerge-mode.el:
7015 * textmodes/bibtex-style.el:
7016 * textmodes/css.el:
7017 * startup.el:
7018 * uniquify.el:
da91b5f2
CY
7019 * minibuffer.el:
7020 * newcomment.el:
7021 * reveal.el:
7022 * server.el:
7023 * mpc.el:
7024 * emacs-lisp/smie.el:
7025 * doc-view.el:
7026 * dired.el:
03408648
SM
7027 * abbrev.el: Use lexical binding.
7028
0f0c1f27
EZ
70292011-04-01 Eli Zaretskii <eliz@gnu.org>
7030
7031 * info.el (info-display-manual): New function.
7032
c82b2579
SM
70332011-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
7034
7035 * loadup.el: Load minibuffer after loaddefs, to use define-minor-mode.
7036
221ddf68
TH
70372011-03-31 Tassilo Horn <tassilo@member.fsf.org>
7038
7039 * net/rcirc.el (rcirc-handler-001): Only authenticate, if there's
2fbc1934 7040 an entry for that server in rcirc-authinfo. (Bug#8385)
221ddf68 7041
cba6e77e
GM
70422011-03-31 Glenn Morris <rgm@gnu.org>
7043
e040639f
GM
7044 * progmodes/f90.el (f90-find-tag-default): Handle multiple `%'.
7045
cba6e77e
GM
7046 * generic-x.el (etc-fstab-generic-mode): Add ext4, sysfs keywords.
7047
6d0f1c9e
CS
70482011-03-30 Christoph Scholtes <cschol2112@googlemail.com>
7049
7050 * progmodes/python.el (python-default-interpreter)
7051 (python-python-command-args, python-jython-command-args)
7052 (python-which-shell, python-which-args, python-which-bufname)
7053 (python-file-queue, python-comint-output-filter-function)
7054 (python-toggle-shells, python-shell): Remove obsolete defcustoms,
7055 variables and functions.
7056
3e2d70fd
SM
70572011-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
7058
7059 * minibuffer.el (completion-table-dynamic): Optimize `boundaries'.
7060 (completion-in-region-mode): New minor mode.
7061 (completion-in-region): Use it.
7062 (completion-in-region--data, completion-in-region-mode-map): New vars.
7063 (completion-in-region--postch): New function.
7064 (completion--capf-misbehave-funs, completion--capf-safe-funs):
7065 New vars.
7066 (completion--capf-wrapper): New function.
7067 (completion-at-point): Use it to track well-behavedness of
7068 hook functions.
7069 (completion-help-at-point): New command.
7070
f3e4086c
JM
70712011-03-30 Jason Merrill <jason@redhat.com> (tiny change)
7072
7073 * vc/add-log.el (add-change-log-entry): Don't use whitespace
7074 syntax class to search for whitespace on a single line
7075 (Message-ID: <4D938140.4030905@redhat.com>).
7076
eb7ffc14
LL
70772011-03-30 Leo Liu <sdl.web@gmail.com>
7078
7079 * abbrev.el (abbrev-edit-save-to-file, abbrev-edit-save-buffer):
7080 New commands.
7081 (edit-abbrevs-map): Bind them here.
7082 (write-abbrev-file): New optinal arg VERBOSE. (Bug#5937)
7083
d806ab68
KM
70842011-03-29 Ken Manheimer <ken.manheimer@gmail.com>
7085
7086 * allout.el (allout-hide-by-annotation, allout-flag-region):
7087 Reduce possibility of overlay leakage by making them volatile.
7088
7089 * allout-widgets.el (allout-widgets-tally): Define as nil so the
7090 hash is not shared between buffers. Mode initialization is
7091 responsible for giving it a useful starting value.
7092 (allout-item-span): Reduce possibility of overlay leakage by
7093 making them volatile.
7094 (allout-widgets-count-buttons-in-region): Add diagnostic function
7095 for tracking down button overlay leaks.
7096
ea622834
LL
70972011-03-29 Leo Liu <sdl.web@gmail.com>
7098
7099 * ido.el (ido-read-internal): Use the default history var
7100 minibuffer-history if no HISTORY is specified.
7101
b62f8267
G
71022011-03-28 Brian T. Sniffen <bsniffen@akamai.com> (tiny change)
7103
03408648
SM
7104 * net/imap.el (imap-shell-open, imap-process-connection-type):
7105 Use imap-process-connection-type for 'shell' streams as well as
b62f8267
G
7106 Kerberos, SSL, other subprocesses.
7107
947b6566
LL
71082011-03-28 Leo Liu <sdl.web@gmail.com>
7109
7110 * abbrev.el (abbrev-table-empty-p): New function.
7111 (prepare-abbrev-list-buffer): Place empty abbrev tables after
7112 nonempty ones. (Bug#5937)
7113
5ffb62aa
JD
71142011-03-27 Jan Djärv <jan.h.d@swipnet.se>
7115
7116 * cus-start.el (all): Add boolean ns-auto-hide-menu-bar.
7117
7a097943
LL
71182011-03-27 Leo Liu <sdl.web@gmail.com>
7119
7120 * ansi-color.el (ansi-color-names-vector): Allow cons cell value
7121 for foreground and background colors.
7122 (ansi-color-make-color-map): Adapt.
7123
c5b40130
LL
71242011-03-25 Leo Liu <sdl.web@gmail.com>
7125
1f48f7d2
LL
7126 * midnight.el (midnight-time-float): Remove. Note it calculates
7127 the microsecond component incorrectly and seconds-to-time does the
7128 same job.
625897ec 7129 Remove redundant (require 'timer).
1f48f7d2 7130
c5b40130
LL
7131 * ido.el (ido-read-internal): Simplify with read-from-minibuffer.
7132 (ido-completions): Remove unused arguments. (Bug#8329)
7133
d86d2721
SM
71342011-03-24 Stefan Monnier <monnier@iro.umontreal.ca>
7135
7136 * minibuffer.el (completion--flush-all-sorted-completions):
7137 Remove itself from hook.
7138 (completion-at-point): Let the functions perform the completion
7139 immediately and return nil or t.
7140 * comint.el (comint-dynamic-complete-functions): Now identical to
7141 completion-at-point-functions.
7142 (comint-dynamic-list-input-ring): Remove unused var `index'.
7143 (comint--match-partial-filename, comint--unquote&expand-filename):
7144 New funs, split from comint-match-partial-filename.
7145 (comint-dynamic-complete): Use completion-at-point.
7146 (comint-dynamic-complete-filename): Use comint--match-partial-filename.
7147
e8974c48
DA
71482011-03-24 Drew Adams <drew.adams@oracle.com>
7149
7150 * thingatpt.el: Support `defun'.
7151
def71b5e
LL
71522011-03-23 Leo Liu <sdl.web@gmail.com>
7153
cb5af48e
LL
7154 * abbrevlist.el: Move to obsolete/abbrevlist.el.
7155
def71b5e
LL
7156 * help-mode.el (help-mode-finish): Tweak regexp.
7157
927c53e7
GM
71582011-03-23 Glenn Morris <rgm@gnu.org>
7159
18d05bed
GM
7160 * eshell/esh-opt.el (eshell-eval-using-options):
7161 Do not bind unused local variable `eshell-option-stub'.
7162
927c53e7
GM
7163 * progmodes/gdb-mi.el (gdb): Fix typo in previous change.
7164
9d0da923
JB
71652011-03-22 Juanma Barranquero <lekktu@gmail.com>
7166
7167 * emacs-lisp/derived.el (define-derived-mode): Wrap declaration of
7168 keymap variable in `with-no-warnings' to avoid a warning when the
7169 keymap has been already `defconst'ed.
7170
4b978a67
LL
71712011-03-22 Leo Liu <sdl.web@gmail.com>
7172
7173 * abbrev.el (write-abbrev-file): Use utf-8 for writing if it can
7174 encode all chars in abbrevs; otherwise use emacs-mule or
7175 utf-8-emacs. (Bug#8308)
7176
5fd62452
JB
71772011-03-22 Juanma Barranquero <lekktu@gmail.com>
7178
0b1596c6
JB
7179 * simple.el (backward-delete-char-untabify):
7180 Avoid warning about using `delete-backward-char'.
7181
5fd62452
JB
7182 * image.el (image-type-file-name-regexps): Make it variable.
7183 `imagemagick-register-types' modifies it, and the user may want
7184 to add new extensions for known image types.
7185 (imagemagick-register-types): Throw error if not using ImageMagick.
7186
0b4e93f1
LL
71872011-03-22 Leo Liu <sdl.web@gmail.com>
7188
7189 * net/rcirc.el (rcirc-completion-at-point): Return nil if point is
7190 located before rcirc-prompt-end-marker.
7191 (rcirc-complete): Error if point is not after rcirc prompt.
7192 Handle the case when table is nil.
9882e214 7193 (rcirc-user-authenticated): Define to fix compiler warning.
0b4e93f1 7194
fccee4ab
CY
71952011-03-22 Chong Yidong <cyd@stupidchicken.com>
7196
7197 * custom.el (custom--inhibit-theme-enable): Make it affect only
7198 custom-theme-set-variables and custom-theme-set-faces.
7199 (provide-theme): Ignore custom--inhibit-theme-enable.
7200 (load-theme): Enable the theme explicitly if NO-ENABLE is non-nil.
7201 (custom-enabling-themes): Delete variable.
d86d2721
SM
7202 (enable-theme): Accept only loaded themes as arguments.
7203 Ignore the special custom-enabled-themes variable.
fccee4ab
CY
7204 (custom-enabled-themes): Forbid themes from setting this.
7205 Eliminate use of custom-enabling-themes.
7206 (custom-push-theme): Quote "changed" custom var entry.
0357c7ae 7207
af896da6
LL
72082011-03-21 Leo Liu <sdl.web@gmail.com>
7209
7210 * ido.el (ido-read-internal): Add ido-selected to history instead
7211 of user input.
7212
78f64af0
SM
72132011-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
7214
7215 * subr.el (deferred-action-list, deferred-action-function):
7216 Mark obsolete.
7217
b16ac1ec
LL
72182011-03-21 Leo Liu <sdl.web@gmail.com>
7219
810f7698
LL
7220 * vc/log-view.el: Remove (require 'wid-edit), not needed after the
7221 change on 2011-02-13 (bug#8309).
7222
b16ac1ec
LL
7223 * minibuffer.el (read-file-name-function): Change default value.
7224 (read-file-name--defaults): Rename from read-file-name-defaults.
7225 (read-file-name-default): Rename from read-file-name.
7226 (read-file-name): Call read-file-name-function.
7227
4e05e67e
GM
72282011-03-21 Glenn Morris <rgm@gnu.org>
7229
7230 * eshell/esh-opt.el (eshell-eval-using-options, eshell-process-args):
7231 Doc fixes.
7232
4359915b
CY
72332011-03-21 Chong Yidong <cyd@stupidchicken.com>
7234
7235 * cus-theme.el: Add missing provide statement.
7236 (customize-create-theme): Extract theme value correctly.
7237 (custom-theme-visit-theme): Autoload.
7238 (customize-create-theme): Prompt before inserting default faces.
7239
1fe275ee
JB
72402011-03-20 Jay Belanger <jay.p.belanger@gmail.com>
7241
7242 * calc/calc-menu.el (calc-units-menu): Add entries for logarithmic
7243 units and musical notes.
7244
3ec03f7e
LL
72452011-03-20 Leo <sdl.web@gmail.com>
7246
7247 * ido.el (ido-read-internal): Use completing-read-default.
7248 (ido-completing-read): Fix compatibility with completing-read.
7249
7d476bde
CO
72502011-03-20 Christian Ohler <ohler@gnu.org>
7251
7252 * emacs-lisp/ert.el (ert-run-tests-batch): Remove unused variable.
7253 (ert-delete-all-tests): Use `called-interactively-p' rather than
7254 `interactive-p'.
7255 (ert--make-xrefs-region): Respect END.
7256
fe0fb33e
CY
72572011-03-19 Chong Yidong <cyd@stupidchicken.com>
7258
ff854b0b
CY
7259 * dired-aux.el (dired-create-directory): Signal an error if the
7260 directory already exists (Bug#8246).
7261
fe0fb33e
CY
7262 * facemenu.el (list-colors-display): Call list-faces-display
7263 inside with-help-window.
7264 (list-colors-print): Use display property to align the final
7265 column, instead of checking window-width.
7266
576bce32
EZ
72672011-03-19 Eli Zaretskii <eliz@gnu.org>
7268
4d61f28d 7269 * vc/emerge.el (emerge-metachars): Separate value for ms-dos and
576bce32
EZ
7270 windows-nt systems.
7271 (emerge-protect-metachars): Quote correctly for ms-dos and
7272 windows-nt systems.
7273
89c41d68 72742011-03-19 Ralph Schleicher <rs@ralph-schleicher.de>
e6ce307c
RS
7275
7276 * info.el (info-initialize): Replace all uses of `:' with
7277 path-separator for compatibility with non-Unix systems.
7278 Cache quoting of path-separator. (Bug#8258)
7279
b14e3e21 72802011-03-19 Juanma Barranquero <lekktu@gmail.com>
ad22b7f7
JB
7281
7282 * avoid.el (mouse-avoidance-mode, mouse-avoidance-nudge-dist)
7283 (mouse-avoidance-threshold, mouse-avoidance-banish-destination)
7284 (mouse-avoidance-mode): Fix typos in docstrings.
7285
4525ce3e
CY
72862011-03-19 Chong Yidong <cyd@stupidchicken.com>
7287
7288 * startup.el (package-subdirectory-regexp): Move from package.el.
7289 Omit \\` and \\', and let callers add them.
7290
7291 * emacs-lisp/package.el (package-strip-version)
7292 (package-load-all-descriptors): Add \\` and \\' to
7293 package-subdirectory-regexp before using it.
7294 (package-untar-buffer): New arg DIR; ensure that file untars only
7295 into this expected directory. Remove superfluous delete-region.
7296 (package-unpack): Caller changed.
7297 (package-tar-file-info): Use package-subdirectory-regexp.
7298
a904a09a 72992011-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
1518e4f0 7300
a904a09a
SM
7301 * vc/diff-mode.el (diff-mode-map): Shadow problematic bindings from
7302 diff-mode-shared-map (bug#8284).
7303 (diff-mode-shared-map): Re-introduce some bindings that were problematic.
1518e4f0
G
7304
73052011-03-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
7306
7307 * calendar/time-date.el (format-seconds): Use assoc instead of
7308 assoc-string, since assoc-string doesn't exist in XEmacs.
7309
171fc304
JB
73102011-03-17 Juanma Barranquero <lekktu@gmail.com>
7311
7312 * custom.el (custom-known-themes): Reflow docstring.
7313 (custom-theme-load-path): Fix typo in docstring.
7314 (load-theme): Fix typo in error message.
7315 (custom-available-themes, custom-variable-theme-value):
7316 Use `let', not `let*'.
7317
d71990a1
JB
73182011-03-17 Jay Belanger <jay.p.belanger@gmail.com>
7319
7320 * calc/README: Mention inclusion of musical notes.
7321
7322 * calc/calc-units.el (calc-lu-quant): Rename from
7323 `calc-logunits-quantity'.
7324 (calcFunc-lupquant): Rename from `calcFunc-powerquant'.
7325 (calcFunc-lufquant): Rename from `calcFunc-fieldquant'.
7326 (calc-db): Rename from `calc-dblevel'.
7327 (calcFunc-dbpower): Rename from `calcFunc-dbpowerlevel'.
7328 (calcFunc-dbfield): Rename from `calcFunc-dbfieldlevel'.
7329 (calc-np): Rename from `calc-nplevel'.
7330 (calcFunc-nppower): Rename from `calcFunc-nppowerlevel'.
7331 (calcFunc-npfield): Rename from `calcFunc-npfieldlevel'.
7332 (calc-lu-plus): Rename from `calc-logunits-add'.
7333 (calcFunc-lupadd): Rename from `calcFunc-lupoweradd'.
7334 (calcFunc-lufadd): Rename from `calcFunc-lufieldadd'.
7335 (calc-lu-minus): Rename from `calc-logunits-sub'.
7336 (calcFunc-lupsub): Rename from `calcFunc-lupowersub'.
7337 (calcFunc-lufsub): Rename from `calcFunc-lufieldsub'.
7338 (calc-lu-times): Rename from `calc-logunits-mul'.
7339 (calcFunc-lupmul): Rename from `calcFunc-lupowermul'.
7340 (calcFunc-lufmul): Rename from `calcFunc-lufieldmul'.
7341 (calc-lu-divide): Rename from `calc-logunits-div'.
7342 (calcFunc-lupdiv): Rename from `calcFunc-lupowerdiv'.
7343 (calcFunc-lufdiv): Rename from `calcFunc-lufielddiv'.
7344
7345 * calc/calc-ext.el (calc-init-extensions): Update the names of the
7346 functions being autoloaded.
7347
7348 * calc/calc.el (calc-lu-power-reference): Rename from
7349 `calc-logunits-power-reference'.
7350 (calc-lu-field-reference): Rename from
7351 `calc-logunits-field-reference'.
7352
7353 * calc/calc-help (calc-l-prefix-help): Mention musical note functions.
7354
40c2934b
SM
73552011-03-17 Stefan Monnier <monnier@iro.umontreal.ca>
7356
7357 * minibuffer.el (completion-all-sorted-completions):
7358 Use :completion-cycle-penalty text property if present.
7359
b0911414
KM
73602011-03-16 Ken Manheimer <ken.manheimer@gmail.com>
7361
7362 * allout.el (allout-yank-processing): Adjust for new rebulleting
7363 regime so bullet being yanked is used without prompting the user
7364 for a choice.
7365
8a05b668
JB
73662011-03-16 Juanma Barranquero <lekktu@gmail.com>
7367
7368 * startup.el (command-line): Warn the user that _emacs is deprecated.
7369
5ba5fb81
JB
73702011-03-16 Juanma Barranquero <lekktu@gmail.com>
7371
7372 * progmodes/delphi.el (delphi-search-path, delphi-indent-level)
7373 (delphi-verbose, delphi-comment-face, delphi-string-face)
7374 (delphi-keyword-face, delphi-ignore-changes, delphi-indent-line)
7375 (delphi-mode-abbrev-table, delphi-debug-buffer, delphi-tab)
7376 (delphi-find-unit, delphi-find-current-xdef, delphi-fill-comment)
7377 (delphi-new-comment-line, delphi-font-lock-defaults)
7378 (delphi-debug-mode-map, delphi-mode-syntax-table, delphi-mode):
7379 Fix typos in docstrings.
7380
2dab465b
KM
73812011-03-15 Ken Manheimer <ken.manheimer@gmail.com>
7382
5ba5fb81 7383 * allout.el (allout-make-topic-prefix, allout-rebullet-heading):
2dab465b
KM
7384 Invert the roles of character and string values for INSTEAD, so a
7385 string is used for the more common case of a defaulting prompt.
7386
0adf5618
SM
73872011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
7388
7389 * progmodes/ruby-mode.el (ruby-backward-sexp):
7390 * progmodes/ebrowse.el (ebrowse-draw-file-member-info):
7391 * play/gamegrid.el (gamegrid-make-face):
7392 * play/bubbles.el (bubbles--grid-width, bubbles--grid-height)
7393 (bubbles--colors, bubbles--shift-mode, bubbles--initialize-images):
7394 * notifications.el (notifications-notify):
7395 * net/xesam.el (xesam-search-engines):
7396 * net/quickurl.el (quickurl-list-insert):
7397 * vc/vc-hg.el (vc-hg-dir-printer): Fix use of case.
7398
d72700e5
CY
73992011-03-15 Chong Yidong <cyd@stupidchicken.com>
7400
7401 * startup.el (command-line): Update package subdirectory regexp.
7402
49c5410a
SM
74032011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
7404
c6eee9aa
SM
7405 * allout.el (allout-abbreviate-flattened-numbering)
7406 (allout-mode-deactivate-hook): Fix up obsolescence "date".
7407
49c5410a
SM
7408 * subr.el (read-char-choice): Only show the cursor after the prompt,
7409 not after the answer.
7410
047b2bb9
KR
74112011-03-15 Kevin Ryde <user42@zip.com.au>
7412
7413 * help-fns.el (variable-at-point): Skip leading quotes, if any
7414 (bug#8253).
7415
0a57d256
SM
74162011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
7417
7418 * emacs-lisp/bytecomp.el (byte-compile-save-excursion): Change the
7419 warning message.
7420
77c992bc
MA
74212011-03-14 Michael Albinus <michael.albinus@gmx.de>
7422
7423 * shell.el (shell): When called interactively, offer to change the
7424 shell file name on remote hosts.
7425
eebc475d
TZ
74262011-03-13 Teodor Zlatanov <tzz@lifelogs.com>
7427
7428 * net/ldap.el (ldap-search-internal): Add `auth-source-search'
7429 integration for LDAP parameters. The host, base, user or binddn,
7430 and secret tokens can be specified in a netrc file, for instance.
7431 This is optional because an `auth-source' parameter must be
7432 specified in the search attributes.
7433
9d05d1ba
JB
74342011-03-13 Juanma Barranquero <lekktu@gmail.com>
7435
7436 * help.el (describe-mode): Link to the mode's definition (bug#8185).
7437
09d9db2c
GM
74382011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
7439
7440 * ebuff-menu.el (electric-buffer-menu-mode-map): Move initialization
7441 into declaration. Remove redundant and harmful binding.
7442
74432011-03-12 Eli Zaretskii <eliz@gnu.org>
7444
7445 * files.el (file-ownership-preserved-p): Pass `integer' as an
7446 explicit 2nd argument to `file-attributes'. If the file's owner
7447 is the Administrators group on Windows, and the current user is
7448 Administrator, consider that a match.
7449
7450 * server.el (server-ensure-safe-dir): Consider server directory
7451 safe on MS-Windows if its owner is the Administrators group while
7452 the current Emacs user is Administrator. Use `=' to compare
7453 numerical UIDs, since they could be integers or floats.
7454
219bd536
JB
74552011-03-12 Juanma Barranquero <lekktu@gmail.com>
7456
7457 * vc/vc-bzr.el (vc-bzr-state): Handle bzr 2.3.0 (follow-up to bug#8170).
7458
f3afd36b
MA
74592011-03-12 Michael Albinus <michael.albinus@gmx.de>
7460
7461 Sync with Tramp 2.2.1.
7462
7463 * net/tramp-sh.el (tramp-methods): Exchange "%k" marker with options.
7464
7465 * net/trampver.el: Update release number.
7466
3aaaa6f1
SM
74672011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
7468
94642599
SM
7469 * progmodes/compile.el (compilation--previous-directory): Fix up
7470 various nil/dead-marker mismatches (bug#8014).
7471 (compilation-directory-properties, compilation-error-properties):
7472 Don't call it at a position past the one we're about to change.
7473
3aaaa6f1
SM
7474 * emacs-lisp/bytecomp.el (byte-compile-make-obsolete-variable):
7475 Disable obsolescence warnings in the file that declares it.
7476
14239447
KM
74772011-03-11 Ken Manheimer <ken.manheimer@gmail.com>
7478
099c39a4
JB
7479 * allout-widgets.el (allout-widgets-tally):
7480 Initialize allout-widgets-tally as a hash table rather than nil to
7481 prevent mode-line redisplay warnings. Also, clarify the module
7482 description and fix a comment typo.
14239447 7483
135e287c
JB
74842011-03-11 Juanma Barranquero <lekktu@gmail.com>
7485
7486 * help-fns.el (describe-variable): Don't complete keywords.
7487 Suggested by Teodor Zlatanov <tzz@lifelogs.com>.
7488
ffbf300e
CY
74892011-03-10 Chong Yidong <cyd@stupidchicken.com>
7490
ba08b241
CY
7491 * emacs-lisp/package.el (package-version-join): Impose a standard
7492 string representation for pre/alpha/beta version lists.
7493 (package-unpack-single): Standardize the directory name by passing
7494 it through package-version-join.
7495 (package-strip-rcs-id): Accept any version string that does not
7496 signal an error in version-to-list.
ffbf300e 7497
f346fd6b
MA
74982011-03-10 Michael Albinus <michael.albinus@gmx.de>
7499
7500 * simple.el (delete-trailing-whitespace): Return nil for the
7501 benefit of `write-file-functions'.
7502
ccb55d27
GM
75032011-03-10 Glenn Morris <rgm@gnu.org>
7504
5ceaac0c
GM
7505 * vc/vc-hg.el (vc-hg-pull, vc-hg-merge-branch): Use vc-hg-program.
7506
02da65ff
GM
7507 * vc/vc-git.el (vc-git-program): New option.
7508 (vc-git-branches, vc-git-pull, vc-git-merge-branch, vc-git-command)
7509 (vc-git--call): Use it.
7510
b2f603cc
GM
7511 * eshell/esh-util.el (eshell-condition-case): Doc fix.
7512
5772caab
GM
7513 * cus-edit.el (Custom-newline): If no button at point, look
7514 for a subgroup button at start-of-line. (Bug#2298)
7515
ccb55d27
GM
7516 * mail/rmail.el (rmail-msgend, rmail-msgbeg): Doc fixes.
7517
ec6ecaed
JD
75182011-03-10 Julien Danjou <julien@danjou.info>
7519
7520 * avoid.el (mouse-avoidance-ignore-p): Do not move the cursor if
7521 `cursor-type' is nil.
7522
9d5aa01d
JB
75232011-03-09 Jay Belanger <jay.p.belanger@gmail.com>
7524
7525 * calc/calc.el (calc-mode-map): Don't bind "C-_" to `calc-missing-key'.
7526
b6a5875b
KM
75272011-03-09 Ken Manheimer <ken.manheimer@gmail.com>
7528
7529 * allout.el Summary: Change so yank of distinctive-bullet items
7530 preserves the existing header prefix, rebulleting it if necessary,
7531 rather than replacing it. This is necessary for proper operation
7532 of cooperative addons like allout-widgets.
219bd536 7533 (allout-make-topic-prefix, allout-rebullet-heading): Change
b6a5875b
KM
7534 SOLICIT arg to INSTEAD, and interpret additionally a string value
7535 as alternate bullet to be used, instead of prompting the user for
7536 a bullet character.
7537
ee545c35
MA
75382011-03-09 Michael Albinus <michael.albinus@gmx.de>
7539
d86d2721
SM
7540 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
7541 Do not use `tramp-file-name-port', because this returns also
ee545c35
MA
7542 `tramp-default-port'.
7543
c47971d7
DD
75442011-03-09 Deniz Dogan <deniz.a.m.dogan@gmail.com>
7545
7546 * net/rcirc.el (rcirc-handler-001): Remove useless
7547 with-rcirc-process-buffer.
7548 (rcirc-check-auth-status): Swap arguments to string-match.
7549
13522cb4
GM
75502011-03-09 Glenn Morris <rgm@gnu.org>
7551
0be6f4f1
GM
7552 * shell.el (shell-mode):
7553 Set comint-input-ring-size from HISTSIZE. (Bug#7889)
7554
13522cb4
GM
7555 * progmodes/gdb-mi.el (gdb): Improve 2010-12-08 change.
7556 Check for GDBHISTFILE, HISTSIZE, etc. (Bug#7889)
7557
515de2e3
CY
75582011-03-08 Chong Yidong <cyd@stupidchicken.com>
7559
7560 * emacs-lisp/package.el (package-refresh-contents)
7561 (package-menu-execute): Use condition-case-no-debug.
7562
b511b994
MA
75632011-03-08 Michael Albinus <michael.albinus@gmx.de>
7564
7565 * simple.el (shell-command-to-string): Use `process-file'.
7566
7567 * emacs-lisp/package.el (package-tar-file-info): Handle also
7568 remote files.
7569
d86d2721
SM
7570 * emacs-lisp/package-x.el (package-upload-buffer-internal):
7571 Use `equal' for upload base check.
b511b994 7572
25bbfb31
AM
75732011-03-08 Arni Magnusson <arnima@hafro.is> (tiny change)
7574
7575 * textmodes/texinfo.el (texinfo-environments):
7576 Add deftypecv, deftypeivar, deftypemethod, deftypeop, html. (Bug#2783)
7577
be996521
GM
75782011-03-08 Glenn Morris <rgm@gnu.org>
7579
e9c8529f
GM
7580 * cus-start.el (cursor-in-non-selected-windows):
7581 Fix :set quoting oddness. (Bug#8192)
7582
be996521
GM
7583 * font-lock.el (lisp-font-lock-keywords-1): Don't highlight `)'
7584 in some setf expressions. (Bug#2159)
7585
2bb5649e
CY
75862011-03-08 Chong Yidong <cyd@stupidchicken.com>
7587
7588 * custom.el (custom-available-themes): Return themes in
7589 alphabetical order.
7590
33383987 7591See ChangeLog.15 for earlier changes.
e3d51b27
MR
7592
7593;; Local Variables:
7594;; coding: utf-8
e3d51b27
MR
7595;; End:
7596
33383987 7597 Copyright (C) 2011 Free Software Foundation, Inc.
e3d51b27
MR
7598
7599 This file is part of GNU Emacs.
7600
7601 GNU Emacs is free software: you can redistribute it and/or modify
7602 it under the terms of the GNU General Public License as published by
7603 the Free Software Foundation, either version 3 of the License, or
7604 (at your option) any later version.
7605
7606 GNU Emacs is distributed in the hope that it will be useful,
7607 but WITHOUT ANY WARRANTY; without even the implied warranty of
7608 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
7609 GNU General Public License for more details.
7610
7611 You should have received a copy of the GNU General Public License
7612 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.