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