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