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