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