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