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