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