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