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