* doc/lispref/minibuf.texi (Reading File Names): Clarify (Bug#8480).
[bpt/emacs.git] / lisp / ChangeLog
CommitLineData
2b1e1a22
KR
12011-05-28 Kevin Ryde <user42@zip.com.au>
2
3 * subr.el (def-edebug-spec): Doc fix (Bug#8430).
4
5d344e88
CY
52011-05-28 Chong Yidong <cyd@stupidchicken.com>
6
7 * files.el (auto-mode-alist): Move config rule after the
8 in-stripping one (Bug#8547).
9
60ed8c72
AA
102011-05-28 Alp Aker <aker@pitt.edu> (tiny change)
11
12 * buff-menu.el (Buffer-menu-revert-function, Buffer-menu-sort):
13 Use Buffer-menu-buffer-column (Bug#8539).
14
23db196e
CY
152011-05-28 Chong Yidong <cyd@stupidchicken.com>
16
60ed8c72 17
23db196e
CY
18 * emacs-lisp/re-builder.el (re-builder): Improve doc (Bug#8286).
19
5012f24c
DK
202011-05-28 Dima Kogan <dkogan@cds.caltech.edu> (tiny change)
21
22 * progmodes/hideshow.el (hs-looking-at-block-start-p): New fun.
23 (hs-hide-block-at-point, hs-find-block-beginning)
24 (hs-already-hidden-p, hs-hide-block, hs-show-block): Use it
25 (Bug#8279).
26
6a639b16
GM
272011-05-28 Glenn Morris <rgm@gnu.org>
28
29 * startup.el (fancy-about-screen): Use standard mode line. (Bug#8740)
30
d43eaf2c
CY
312011-05-28 Chong Yidong <cyd@stupidchicken.com>
32
5199bde1
CY
33 * help-fns.el (describe-function-1): If the function is a derived
34 major mode, print the parent mode.
35
d43eaf2c
CY
36 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode, java-mode)
37 (idl-mode, pike-mode, awk-mode): Inherit from prog-mode.
38
423428a8
SM
392011-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
40
0ff8e1ba
SM
41 * minibuffer.el (completion--capf-wrapper): Check applicability before
42 retuning non-nil for non-exclusive completion data.
43 * progmodes/etags.el (tags-completion-at-point-function):
44 * info-look.el (info-lookup-completions-at-point): Mark as
45 non-exclusive.
46 (info-complete): Adjust accordingly.
47
423428a8
SM
48 * info-look.el: Convert to lexical-binding and completion-at-point.
49 (info-lookup-completions-at-point): New function.
50 (info-complete): Use it and completion-in-region.
51
b74aa22b
DA
522011-05-28 Drew Adams <drew.adams@oracle.com>
53
54 * isearch.el: Let M-e start with point at the first mismatched char.
55 (isearch-fail-pos): New function.
56 (isearch-edit-string): Use it.
57
66e2e71d
DK
582011-05-28 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
59
60 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
61
eb95d01d
TC
622009-11-23 Toby Cubitt <toby-predictive@dr-qubit.org>
63
64 * emacs-lisp/avl-tree.el: New avl-tree-stack datatype. Add new
65 traversal functions for avl-trees.
66 (avl-tree--stack): New struct.
67 (avl-tree-stack-p, avl-tree--stack-repopulate): New funs.
68 (avl-tree-enter): Add optional `updatefun' arg.
93a1c12a
TC
69 (avl-tree--do-enter): Add optional `updatefun' arg.
70 Change return value.
eb95d01d 71 (avl-tree-delete): Add optional `test' and `nilflag' args.
93a1c12a
TC
72 (avl-tree--do-delete): Add `test' and `nilflag' args.
73 Change return value.
eb95d01d
TC
74 (avl-tree-member): Add optional `nilflag'
75 (avl-tree-member-p): New function.
76 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar): New functions.
77 (avl-tree-stack, avl-tree-stack-pop, avl-tree-stack-first)
78 (avl-tree-stack-empty-p): New functions.
79
3769ddcf
TC
802009-11-23 Toby Cubitt <toby-predictive@dr-qubit.org>
81
82 * emacs-lisp/avl-tree.el (avl-tree--del-balance): Rename from
83 avl-tree--del-balance1 and make it work both ways.
84 (avl-tree--del-balance2): Remove.
85 (avl-tree--enter-balance): Rename from avl-tree--enter-balance1 and
86 make it work both ways.
87 (avl-tree--enter-balance2): Remove.
88 (avl-tree--switch-dir, avl-tree--dir-to-sign, avl-tree--sign-to-dir):
89 New macros.
90 (avl-tree--mapc, avl-tree-map): Add direction argument.
91
eb95d01d 922011-05-27 David Michael <fedora.dm0@gmail.com> (tiny change)
7a6b1aef
DM
93
94 * files.el (interpreter-mode-alist): Add rbash (bug#8745).
95
a9f737ee
CY
962011-05-27 Chong Yidong <cyd@stupidchicken.com>
97
98 * select.el: Support clipboard managers with built-in function
99 x-clipboard-manager-save, via delete-frame-functions and
100 kill-emacs-hook.
101 (xselect-convert-to-targets): Add MULTIPLE target to list.
102 (xselect-convert-to-save-targets): New function.
103
c92a1e54
KH
1042011-05-27 Kenichi Handa <handa@m17n.org>
105
106 * mail/sendmail.el (mail-encode-header): Avoid double encoding by
107 let-binding rfc2047-encode-encoded-words to nil.
108
e145f188
GM
1092011-05-27 Glenn Morris <rgm@gnu.org>
110
5ec8a862
GM
111 * mail/emacsbug.el: Don't require url-util.
112
4b29d9fb
GM
113 * shell.el (shell-directory-tracker): Case matters. (Bug#8735)
114
e145f188
GM
115 * files.el (set-auto-mode):
116 Also respect mode: entries at the end of the file. (Bug#8586)
117
7d15102b
GM
1182011-05-26 Glenn Morris <rgm@gnu.org>
119
98f593b8
GM
120 * files.el (hack-local-variables-prop-line, hack-local-variables):
121 Downcase mode names, as seems to be traditional.
27b48e63 122 (hack-local-variables, hack-local-variables-apply): Doc fixes.
98f593b8 123
7d15102b
GM
124 * mail/emacsbug.el (report-emacs-bug): Mention checking From address.
125 (report-emacs-bug-hook): Try to validate the From address. (Bug#8038)
126
51d5b4ec
JD
1272011-05-25 Julien Danjou <julien@danjou.info>
128
129 * textmodes/rst.el (rst-define-level-faces): Do not define face
130 symbol if it is already defined.
131
91513f63
VB
1322011-05-24 Vincent Belaïche <vincentb1@users.sourceforge.net>
133
134 * play/5x5.el (5x5-new-game, 5x5-randomize):
135 Reset 5x5-solver-output to nil when a new grid is cast.
136 (5x5-log-init, 5x5-log): Use defsubst instead of defmacro to shunt
137 these debugging traces, as defmacro breaks the compiled code.
138
4d90d6d0
DK
1392011-05-24 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
140
141 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
142
e1b90ef6
LL
1432011-05-24 Leo Liu <sdl.web@gmail.com>
144
145 * vc/vc-bzr.el (vc-bzr-sha1-program): Rename from sha1-program.
146 (vc-bzr-sha1): Adapt.
147
148 * sha1.el: Remove. Function `sha1' is now builtin.
149
150 * bindings.el: Provide sha1 feature.
151
db0406bb 1522011-05-24 Kenichi Handa <handa@m17n.org>
b8d747b9
KH
153
154 * mail/sendmail.el: Require `rfc2047'.
155 (mail-insert-from-field): Do not perform RFC2047 encoding.
156 (mail-encode-header): New function.
157 (sendmail-send-it): Set buffer-file-coding-system of the work
4d90d6d0
DK
158 buffer to the return value of select-message-coding-system.
159 Call mail-encode-header.
b8d747b9
KH
160
161 * mail/smtpmail.el (smtpmail-send-it): Call mail-encode-header.
162
db0406bb 1632011-05-24 Sean Neakums <sneakums@zork.net> (tiny change)
7261f6ce 164
4d90d6d0
DK
165 * mail/supercite.el (sc-default-cite-frame):
166 Handle sc-nested-citation-p when sc-cite-blank-lines-p is non-nil.
7261f6ce 167
eb8a5e9b
GM
1682011-05-24 Glenn Morris <rgm@gnu.org>
169
f8630703
GM
170 * progmodes/python.el (brm-menu): Declare.
171
8831bbed
GM
172 * emulation/viper.el (viper-set-hooks): Declare.
173
eb8a5e9b
GM
174 * play/5x5.el (5x5-log-init, 5x5-log): Evaluate when compiling.
175 (5x5-log-init, 5x5-log, 5x5-solver): Doc fixes.
176 (math-map-vec, math-sub, math-mul, math-make-intv, math-reduce-vec)
177 (math-format-number, math-pow, calcFunc-arrange, calcFunc-cvec)
178 (calcFunc-diag, calcFunc-trn, calcFunc-inv, calcFunc-mrow)
179 (calcFunc-mcol, calcFunc-vconcat, calcFunc-index): Declare.
180
a2a25d24
SM
1812011-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
182
183 Add an :exit-function for completion-at-point.
184
185 * minibuffer.el (completion--done): New fun.
186 (completion--do-completion): Use it. New arg `expect-exact'.
187 (minibuffer-complete, minibuffer-complete-word): Don't output message,
188 since completion--do-completion does it for us now.
189 (minibuffer-force-complete): Use completion--done and
190 completion--replace. Handle sole-completion case with more care.
191 (minibuffer-complete-and-exit): Use new `expect-exact' arg.
192 (completion-extra-properties): New var.
193 (completion-annotate-function): Make obsolete.
194 (minibuffer-completion-help): Adjust accordingly.
195 Use completion-list-insert-choice-function.
196 (completion-at-point, completion-help-at-point):
197 Bind completion-extra-properties.
198 (completion-pcm-word-delimiters): Add | (for uniquify, for example).
199 * simple.el (completion-list-insert-choice-function): New var.
200 (completion-setup-function): Preserve it.
201 (choose-completion): Pay attention to it, shuffle the code a bit.
202 (choose-completion-string): New arg `insert-function'.
203
204 * textmodes/bibtex.el: Convert to lexical binding.
205 (bibtex-mode-map): Use completion-at-point.
206 (bibtex-mode): Use define-derived-mode&completion-at-point-functions.
207 (bibtex-completion-at-point-function): New fun, from bibtex-complete.
208 (bibtex-complete): Define as obsolete alias.
209 (bibtex-complete-internal): Remove.
210 (bibtex-format-entry): Remove unused sub-group in regexp.
211 * shell.el (shell--command-completion-data)
212 (shell-environment-variable-completion):
213 * pcomplete.el (pcomplete-completions-at-point):
214 * comint.el (comint--complete-file-name-data): Use :exit-function
215 instead of completion-table-with-terminator so it also works for
216 choose-completion.
217
e44e373d
SM
2182011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
219
4f91a816
SM
220 * <lots-of-files>.el: Don't quote lambda expressions with `quote'.
221
782fc819
SM
222 * vc/smerge-mode.el (smerge-refine-subst): Don't deactivate the mark
223 (bug#8710).
224
e44e373d
SM
225 * emacs-lisp/lisp.el (up-list): Fix forward movement (bug#8708).
226
381987c3
KM
2272011-05-23 Ken Manheimer <ken.manheimer@gmail.com>
228
229 * allout.el (allout-inhibit-auto-fill-on-headline): Create new
230 customization variable and implement: If non-nil, auto-fill will
231 be inhibited while on topic's header line.
232
b776bc70
VB
2332011-05-23 Vincent Belaïche <vincentb1@users.sourceforge.net>
234
235 * play/5x5.el: I/ Add an arithmetic solver to suggest positions to
236 click on. II/ Make 5x5 multisession. III/ Ensure that random grids
237 always have a solution in grid size = 5 cases.
238 (5x5-mode-map): Add keybinding to function `5x5-solve-suggest'.
239 (5x5-solver-output, 5x5-log-buffer): New vars.
240 (5x5-grid, 5x5-x-pos, 5x5-y-pos, 5x5-moves, 5x5-cracking):
241 Make these variables buffer local to achieve 5x5 multi-session-ness.
242 (5x5): Set 5x5-grid-size only if SIZE is non-negative.
243 (5x5-grid-to-vec, 5x5-vec-to-grid, 5x5-log-init, 5x5-log, 5x5-solver)
244 (5x5-solve-suggest): New funs.
245 (5x5-randomize): Use 5x5-make-move instead of 5x5-flip-cell to
246 randomize a grid so that we ensure that there is always a solution.
247 (5x5-make-random-grid): Allow other movement than flipping.
248
7de88b6e
KR
2492011-05-23 Kevin Ryde <user42@zip.com.au>
250
251 * emacs-lisp/advice.el (ad-read-advised-function):
252 Use `function-called-at-point' as the default default, if it has
253 advice and passes PREDICATE.
254
b1ef1257
SM
2552011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
256
bbca48fe
SM
257 * emacs-lisp/bytecomp.el (byte-compile-function-form): Only call
258 byte-compile-lambda if it's actually a lambda.
259
b1ef1257
SM
260 * emacs-lisp/eieio.el (eieio-defgeneric-form-primary-only-one):
261 Fix function quoting. Use backquote better.
262
92a9cc65
YS
2632011-05-22 Yuanle Song <sylecn@gmail.com>
264
265 * nxml/rng-xsd.el (rng-xsd-check-pattern): Use case-sensitive
266 matching (Bug#8516).
267
f0fb8059
JA
2682011-01-22 Jari Aalto <jari.aalto@cante.net>
269
270 * vc/vc-dir.el (vc-default-dir-printer): Give edited tag a
271 different face (Bug#8178).
272
d5b44c93
CY
2732011-05-22 Chong Yidong <cyd@stupidchicken.com>
274
275 * vc/diff-mode.el (diff-changed): Don't use terminal specs for
276 defface (Bug#8144).
277
79106a44
SM
2782011-05-22 Stefan Monnier <monnier@iro.umontreal.ca>
279
9c848d8a
SM
280 * emacs-lisp/macroexp.el (macroexpand-all-1): Convert ' to #' for
281 funcall as well (bug#8712). Warn when performing those conversions.
282 * emacs-lisp/bytecomp.el (byte-compile-form): Fix error report.
283
79106a44
SM
284 * progmodes/grep.el (grep-mode): Fix it for good (bug#8684)!
285
88dfa756
GM
2862011-05-22 Glenn Morris <rgm@gnu.org>
287
288 * files.el (hack-local-variables-prop-line): Small simplifications.
289 (hack-local-variables, hack-local-variables-prop-line):
290 If MODE-ONLY, return the mode, rather than just `t'.
291
b7cf2c79
SM
2922011-05-21 Stefan Monnier <monnier@iro.umontreal.ca>
293
294 * progmodes/grep.el (grep-mode): Fix last change (bug#8684).
295
3f1a8558
GM
2962011-05-21 Glenn Morris <rgm@gnu.org>
297
7e4ccca3
GM
298 * files.el (hack-local-variables-prop-line, hack-local-variables):
299 If only interested in the mode, don't bother doing the other stuff.
300
637d46ca
GM
301 * image-mode.el (image-after-revert-hook):
302 Redraw all frames on which the image is visible. (Bug#8567)
303
973d955b
GM
304 * dired-aux.el (dired-touch-initial): Just use current-time. (Bug#6887)
305
3f1a8558
GM
306 * wid-edit.el (widget-checklist-match-inline):
307 Fix 2011-04-19 change. (Bug#8649)
308
96479927
SM
3092011-05-20 Stefan Monnier <monnier@iro.umontreal.ca>
310
1dcf791f
SM
311 * emacs-lisp/checkdoc.el (checkdoc-sentencespace-region-engine):
312 Also allow singlespace after single-letter capitals followed by a dot.
313
96479927
SM
314 * nxml/nxml-mode.el (nxml-electric-slash): Reindent when completion is
315 enabled. Suggested by James Ahlborn <jahlborn@gmail.com> (bug#8704).
316
35fd0881
N
3172011-05-20 Nix <nix@esperi.org.uk>
318
319 * files.el (basic-save-buffer-2):
320 Fix handling of break-hardlink-on-save with non-existent files.
321
82745640
DD
3222011-05-19 Deniz Dogan <deniz@dogan.se>
323
324 * net/rcirc.el (rcirc-mode): Initialize rcirc-urls to nil.
9ff90d99 325 (rcirc-markup-urls): Check if rcirc-url-regexp is nil.
82745640 326
4a720484
GM
3272011-05-19 Glenn Morris <rgm@gnu.org>
328
d1f21341
GM
329 * progmodes/f90.el (f90-type-def-re):
330 Handle "type, bind(c)". (Bug#8691)
331
4a720484
GM
332 * emacs-lisp/autoload.el (batch-update-autoloads):
333 Set autoload-excludes by parsing loadup.el rather than Makefiles.
334
2fb0a219
MA
3352011-05-18 Michael Albinus <michael.albinus@gmx.de>
336
337 * net/tramp.el (tramp-process-actions): Set "first-password-request"
338 property for the correct connection in case of multihops.
339
e565dd37
GM
3402011-05-18 Glenn Morris <rgm@gnu.org>
341
c2571358 342 * emacs-lisp/authors.el (authors-fixed-entries): Remove fakemail.c.
c136e5cd
GM
343 * mail/sendmail.el (sendmail-program): Fall back to just "sendmail".
344
e565dd37
GM
345 Rationalize calendar handling of day and month abbrev-arrays.
346 * calendar/calendar.el (calendar-customized-p): New function.
347 (calendar-abbrev-construct, calendar-make-alist): Change what it does.
348 (calendar-day-name-array, calendar-month-name-array): Doc fix.
349 Add :set function.
350 (calendar-abbrev-length, calendar-day-abbrev-array)
351 (calendar-month-abbrev-array): Make defcustoms, with appropriate :set.
352 (calendar-day-abbrev-array, calendar-month-abbrev-array):
353 Elements may no longer be nil.
354 (calendar-day-name, calendar-month-name):
355 Update for changed nature of abbrev arrays.
356 * calendar/diary-lib.el (diary-name-pattern):
357 Update for changed nature of abbrev arrays.
358 (diary-mark-entries-1): Update calendar-make-alist calls.
359 (diary-font-lock-date-forms): Doc fix for changed abbrev arrays.
360 * calendar/cal-html.el (cal-html-day-abbrev-array):
361 Simply inherit from calendar-day-abbrev-array.
362
1d99a745
SM
3632011-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
364
365 * progmodes/grep.el (grep-mode): Disable default
366 compilation-directory-matcher setting (bug#8684).
367
7c1d9aa0
MA
3682011-05-17 Michael Albinus <michael.albinus@gmx.de>
369
370 * net/tramp.el (tramp-handle-insert-file-contents): Use "dd"
371 instead of "head" and "tail". There were problems with SunOS 5.9,
372 and it performs better.
373
3952e9d8
GM
3742011-05-17 Glenn Morris <rgm@gnu.org>
375
2dd12e7f
GM
376 * mail/mail-utils.el (mail-dont-reply-to): Silence compiler.
377
e4157b9c
GM
378 * progmodes/idlw-shell.el (idlwave-shell-complete-filename):
379 Replace obsolete function.
380
8e249bbd
GM
381 * shell.el (pcomplete-parse-arguments-function): Declare.
382
3952e9d8
GM
383 * calendar/appt.el (appt-message-warning-time, appt-display-mode-line)
384 (appt-display-diary, appt-display-interval, appt-prev-comp-time)
385 (appt-check): Doc fixes.
386 (appt-disp-window-function, appt-delete-window-function):
387 Remove needless special case in custom :type.
388 (appt-display-count): Default to 0, not nil.
389 (appt-check): Reset appt-display-count to 0, not nil.
390
c71a0d48 3912011-05-17 Juanma Barranquero <lekktu@gmail.com>
165fd2df 392
c71a0d48
GM
393 * progmodes/python.el (python-font-lock-keywords):
394 Add the Python 3.X keyword "nonlocal" (bug#8639).
165fd2df 395
31d55be9
SM
3962011-05-16 Stefan Monnier <monnier@iro.umontreal.ca>
397
398 * emacs-lisp/eieio.el (defmethod): Fix quoting of code (bug#8677).
399
3bfacb2f
KR
4002011-05-16 Kevin Ryde <user42@zip.com.au>
401
402 * info-look.el (makefile-automake-mode): New setups, looking in
403 automake manual, then makefile-mode.
404 (makefile-mode): Remove automake manual, have it just in
405 makefile-automake-mode since there's various things different or
406 not relevant to plain make.
407 (makefile-mode): Remove "other-modes" non-existent automake-mode,
408 believe a hypothetical automake-mode would go to makefile-mode,
409 not the other way around.
410
c8e83751
CY
4112011-05-15 Chong Yidong <cyd@stupidchicken.com>
412
5e9e35cd
CY
413 * vc/diff-mode.el (diff-fixup-modifs): Locate correct position for
414 hunk-end tags (Bug#8672).
415
c8e83751
CY
416 * vc/vc-annotate.el (vc-annotate-mode-map): Bind = to
417 vc-annotate-show-diff-revision-at-line (Bug#8671).
418
50b23e5a
GM
4192011-05-14 Glenn Morris <rgm@gnu.org>
420
7210a739
GM
421 * vc/add-log.el (add-change-log-entry): Don't start adding a new entry
422 in the middle of an existing one with multiple authors. (Bug#8645)
375cb676
GM
423 (change-log-font-lock-keywords): Also handle multiple author lines
424 with leading tabs. (Bug#8644)
7210a739 425
4691905a
GM
426 * calendar/appt.el (appt-check): Rename some local variables.
427 Some simplification/reordering.
428
50b23e5a
GM
429 * mail/feedmail.el (feedmail-confirm-outgoing-timeout)
430 (feedmail-sendmail-f-doesnt-sell-me-out)
431 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
432 (feedmail-debug-sit-for, feedmail-queue-express-hook)
433 (feedmail-queue-runner-message-sender): Set :version.
1aa64307
GM
434 (bbdb-search, bbdb-records, smtp-via-smtp, smtp-server)
435 (bbdb-dwim-net-address, vm-mail): Declare.
50b23e5a
GM
436 (feedmail-binmail-gnulinuxish-template):
437 Rename from feedmail-binmail-linuxish-template.
438 (feedmail-buffer-to-smtp, feedmail-vm-mail-mode):
439 Use insert-buffer-substring.
440
215cda7c
BC
4412011-05-14 Bill Carpenter <bill@carpenter.org>
442
443 * mail/feedmail.el (feedmail-patch-level): Increase.
444 (feedmail-debug): New custom group.
445 (feedmail-confirm-outgoing-timeout)
446 (feedmail-sendmail-f-doesnt-sell-me-out)
447 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
448 (feedmail-debug-sit-for, feedmail-queue-express-hook): New options.
449 (feedmail-sender-line, feedmail-from-line)
450 (feedmail-fiddle-headers-upwardly, feedmail-enable-spray)
c2571358 451 (feedmail-spray-this-address)
215cda7c
BC
452 (feedmail-spray-address-fiddle-plex-list)
453 (feedmail-queue-use-send-time-for-date)
454 (feedmail-queue-use-send-time-for-message-id)
455 (feedmail-last-chance-hook, feedmail-queue-runner-mode-setter)
456 (feedmail-buffer-eating-function):
457 Doc fixes.
458 (feedmail-spray-via-bbdb, feedmail-buffer-to-smtp)
459 (feedmail-vm-mail-mode, feedmail-message-action-scroll-up)
460 (feedmail-message-action-scroll-down): New functions.
461 (feedmail-queue-directory, feedmail-queue-draft-directory):
462 Use expand-file-name.
463 (feedmail-prompt-before-queue-standard-alist): Add scroll entries.
464 Remove C-v help entry.
465 (feedmail-queue-buffer-file-name): New variable.
466 (feedmail-mail-send-hook-splitter, feedmail-buffer-to-binmail)
467 (feedmail-buffer-to-smtpmail, feedmail-queue-express-to-draft)
468 (feedmail-message-action-send-strong, feedmail-message-action-edit)
469 (feedmail-message-action-draft, feedmail-message-action-draft-strong)
470 (feedmail-message-action-queue, feedmail-message-action-queue-strong)
471 (feedmail-message-action-toggle-spray)
472 (feedmail-run-the-queue-no-prompts)
473 (feedmail-run-the-queue-global-prompt, feedmail-queue-reminder)
474 (feedmail-look-at-queue-directory, feedmail-queue-subject-slug-maker)
475 (feedmail-create-queue-filename, feedmail-rfc822-time-zone):
476 (feedmail-fiddle-header, feedmail-give-it-to-buffer-eater)
477 (feedmail-envelope-deducer, feedmail-fiddle-from)
478 (feedmail-fiddle-sender, feedmail-default-date-generator)
479 (feedmail-fiddle-date, feedmail-fiddle-message-id)
480 (feedmail-fiddle-spray-address)
481 (feedmail-fiddle-list-of-spray-fiddle-plexes)
482 (feedmail-fiddle-list-of-fiddle-plexes)
483 (feedmail-fill-to-cc-function, feedmail-fill-this-one)
484 (feedmail-one-last-look, feedmail-fqm-p): Add debug calls.
485 (feedmail-queue-runner-message-sender, feedmail-binmail-template):
486 Change default. Doc fix.
487 (feedmail-queue-runner-cleaner-upper): Use feedmail-say-chatter.
488 (feedmail-binmail-linuxish-template): New constant.
489 (feedmail-buffer-to-sendmail): Doc fix. Add debug call.
490 Respect feedmail-sendmail-f-doesnt-sell-me-out.
491 (feedmail-send-it): Add debug call.
492 Use feedmail-queue-buffer-file-name, and
493 feedmail-send-it-immediately-wrapper.
494 (feedmail-message-action-send): Add debug call.
495 Use feedmail-send-it-immediately-wrapper.
496 (feedmail-queue-express-to-queue): Add debug call.
497 Run feedmail-queue-express-hook.
498 (feedmail-message-action-help): Add debug call. Use feedmail-p-h-b-n.
499 (feedmail-message-action-help-blat):
500 Rename from feedmail-queue-send-edit-prompt-help-first.
501 (feedmail-run-the-queue): Add debug call. Set buffer-file-type.
502 Check line-endings. Handle errors better.
503 (feedmail-queue-reminder-brief, feedmail-queue-reminder-medium):
504 Doc fix. Add debug call.
505 (feedmail-queue-send-edit-prompt): Doc fix. Add debug call.
506 Use feedmail-queue-send-edit-prompt-inner.
507 (feedmail-queue-runner-prompt, feedmail-scroll-buffer): New functions.
508 (feedmail-queue-send-edit-prompt-inner): New function, extracted
509 from feedmail-queue-send-edit-prompt.
510 (feedmail-queue-send-edit-prompt-help)
511 (feedmail-queue-send-edit-prompt-help-later): Remove functions.
512 (feedmail-tidy-up-slug): Add debug call.
513 Respect feedmail-queue-slug-suspect-regexp.
514 (feedmail-queue-subject-slug-maker): Use buffer-substring-no-properties.
515 (feedmail-dump-message-to-queue): Add debug call.
516 Expand queue-directory.
517 (feedmail-dump-message-to-queue): Change message slightly.
518 Use feedmail-say-chatter.
519 (feedmail-rfc822-date): Add debug call. Bind system-time-locale.
520 (feedmail-send-it-immediately-wrapper): New function.
521 (feedmail-send-it-immediately): Add debug calls. Use let not let*.
522 Insert empty string rather than newline. Handle full-frame case.
523 Use catch/throw. Use feedmail-say-chatter.
524 (feedmail-fiddle-from): Try mail-host-address.
525 (feedmail-default-message-id-generator): Doc fix.
526 Bind system-time-locale. Handle missing end.
527 (feedmail-fiddle-x-mailer): Add debug call.
528 Handle feedmail-x-mailer-line being nil.
529 (feedmail-accume-n-nuke-header, feedmail-deduce-address-list):
530 Add debug call. Use buffer-substring-no-properties.
531 (feedmail-say-debug, feedmail-say-chatter): New functions.
532 (feedmail-find-eoh): Give an explicit error.
533
42c7e61e
UJ
5342011-05-13 Ulf Jasper <ulf.jasper@web.de>
535
c2571358 536 * net/newst-treeview.el (newsticker-treeview-face): Change default
42c7e61e 537 family from helvetica to sans.
c2571358 538 (newsticker-treeview-tool-bar-map): Move tool-bar icons to
42c7e61e
UJ
539 etc/images/newsticker.
540
c2571358 541 * net/newst-reader.el (newsticker-feed-face): Change default
42c7e61e
UJ
542 family from helvetica to sans.
543
544 * net/newst-plainview.el (newsticker-new-item-face)
545 (newsticker-old-item-face, newsticker-immortal-item-face)
546 (newsticker-obsolete-item-face, newsticker-date-face)
c2571358 547 (newsticker-statistics-face): Change default family from
42c7e61e 548 helvetica to sans.
c2571358 549 (newsticker--plainview-tool-bar-map): Move tool-bar icons to
42c7e61e
UJ
550 etc/images/newsticker.
551
552 * net/newst-backend.el (newsticker--do-run-auto-mark-filter),
553 (newsticker--process-auto-mark-filter-match): : Tell user about
554 auto-marking.
555
8497a297
DV
5562011-05-13 Didier Verna <didier@xemacs.org>
557
558 Common Lisp indentation improvements on defmethod and lambda-lists.
559 * cl-indent.el: Advertise the changes and remove obsolete TODO entries.
560 (lisp-lambda-list-keyword-parameter-indentation)
561 (lisp-lambda-list-keyword-parameter-alignment)
562 (lisp-lambda-list-keyword-alignment): New customizable user options.
563 (lisp-indent-defun-method): Improve docstring.
564 (extended-loop-p): Fix comment.
565 (lisp-indent-lambda-list-keywords-regexp): New variable.
566 (lisp-indent-lambda-list): New function.
567 (lisp-indent-259): Use it.
568 (lisp-indent-defmethod): Support for more than one
569 method qualifier and properly indent methods lambda-lists.
570 (defgeneric): Provide a missing common-lisp-indent-function property.
571
f278f87f
SM
5722011-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
573
574 * thingatpt.el (bounds-of-thing-at-point): Return nil rather than
575 bounds for the empty string (bug#8667).
576
5233edd7
GM
5772011-05-13 Glenn Morris <rgm@gnu.org>
578
5237a44f
GM
579 * mail/feedmail.el (feedmail-buffer-to-sendmail): Require sendmail.
580
8340026c 581 * mail/sendmail.el (sendmail-program): Try executable-find first.
f278f87f 582 (sendmail-send-it): `sendmail-program' cannot be unbound.
8340026c 583
5233edd7 584 * calendar/appt.el (appt-make-list): Simplify.
4accbca6 585 (appt-time-msg-list): Doc fix.
a5464014 586 (appt-check): Change mode-line message at the time of the appointment.
5233edd7 587
92d10796
AS
5882011-05-12 Andreas Schwab <schwab@linux-m68k.org>
589
590 * progmodes/ld-script.el (ld-script-keywords)
591 (ld-script-builtins): Update keywords list.
592
914a0ae1
SM
5932011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
594
c89be45f
SM
595 * progmodes/grep.el (grep-filter): Don't trip on partial lines.
596
914a0ae1
SM
597 * shell.el (shell-completion-vars): New function.
598 (shell-mode):
599 * simple.el (read-shell-command): Use it.
600 (blink-matching-open): No need for " [...]" in minibuffer-message.
601
98dc3df3
GM
6022011-05-12 Glenn Morris <rgm@gnu.org>
603
604 * calendar/appt.el (appt-now-displayed): Remove pointless variable.
605 (appt-check): Simplify.
606
d2fc7e3d 6072011-05-12 Eli Zaretskii <eliz@gnu.org>
0e39ec21
EZ
608
609 * smerge-mode.el (smerge-resolve): Use null-device rather than a
610 literal "/dev/null".
611
d2fc7e3d 6122011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
3f254caa
SM
613
614 * emacs-lisp/lisp.el (lisp-complete-symbol, lisp-completion-at-point):
615 Fix typo.
616
d2fc7e3d 6172011-05-12 Ralph Schleicher <rs@ralph-schleicher.de>
6eea50c7 618
3f254caa
SM
619 * progmodes/which-func.el (which-function):
620 Use add-log-current-defun instead of add-log-current-defun-function,
6eea50c7
RS
621 which might not be defined (Bug#8260).
622
d45885f7
GM
6232011-05-12 Glenn Morris <rgm@gnu.org>
624
625 * emacs-lisp/bytecomp.el (byte-compile-file-form-defmumble):
626 Let byte-compile-initial-macro-environment always take precedence.
627
488086f4
SM
6282011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
629
630 * net/rcirc.el: Add support for SSL/TLS connections.
631 (rcirc-server-alist): New field `encryption'.
632 (rcirc): Check `encryption' settings.
633 (rcirc-connect): New arg `encryption'. Use open-network-stream.
634 Merge make-local-variable into `set'.
635 (rcirc--connection-open-p): New function.
636 (rcirc-send-string, rcirc-clean-up-buffer): Use it to handle case where
637 the process is not a network process (e.g. running gnutls-cli).
638 (set-rcirc-decode-coding-system, set-rcirc-encode-coding-system):
639 Make rcirc-(en|de)code-coding-system local here.
640 (rcirc-mode): Merge make-local-variable into `set'.
641 (rcirc-parent-buffer): Make permanent buffer-local.
642 (rcirc-multiline-minor-mode): Don't do it here.
643 (rcirc-switch-to-server-buffer): Don't switch to a random buffer if
644 there's no server buffer.
645
7d3b9d44
GM
6462011-05-11 Glenn Morris <rgm@gnu.org>
647
f64049c6
GM
648 * newcomment.el (comment-kill): Prefix "unused" local.
649
93c9df73
GM
650 * term/w32console.el (get-screen-color): Declare.
651
7d3b9d44
GM
652 * emacs-lisp/bytecomp.el (byte-compile-arglist-warn):
653 Handle symbol elements of byte-compile-initial-macro-environment.
654
9e2dd53f
LL
6552011-05-10 Leo Liu <sdl.web@gmail.com>
656
488086f4
SM
657 * bookmark.el (bookmark-bmenu-mode-map):
658 Bind bookmark-bmenu-search to `/'.
8b340240 659
9e2dd53f 660 * mail/footnote.el: Convert to utf-8 encoding.
b4044869
LL
661 (footnote-unicode-string, footnote-unicode-regexp): New variable.
662 (Footnote-unicode): New function.
663 (footnote-style-alist): Add unicode style to the list.
664 (footnote-style): Doc fix.
9e2dd53f 665
79b70037
GM
6662011-05-10 Jim Meyering <meyering@redhat.com>
667
668 Fix doubled-word typos.
669 * international/quail.el (quail-insert-kbd-layout): and and -> and
670 * kermit.el: and and -> and
671 * net/ldap.el (ldap-search-internal): to to -> to
672 * progmodes/vhdl-mode.el (vhdl-offsets-alist): Likewise.
673 * progmodes/js.el (js-mode): and and -> and
674 * textmodes/artist.el (artist-move-to-xy): at at -> at
675 (artist-draw-region-trim-line-endings): if if -> if
676 And Safetyc -> Safety.
677 * textmodes/reftex-dcr.el (reftex-view-crossref): at at -> at a
678
b8f82dc1 6792011-05-10 Glenn Morris <rgm@gnu.org>
c2571358 680 Stefan Monnier <monnier@iro.umontreal.ca>
b8f82dc1
GM
681
682 * files.el (hack-one-local-variable-eval-safep):
683 Consider "eval: (foo-mode)" to be safe. (Bug#8613)
684
4f99f44b
GM
6852011-05-10 Glenn Morris <rgm@gnu.org>
686
687 * calendar/diary-lib.el (diary-list-entries-hook)
688 (diary-mark-entries-hook, diary-nongregorian-listing-hook)
689 (diary-nongregorian-marking-hook, diary-list-entries)
690 (diary-include-other-diary-files, diary-mark-entries)
691 (diary-mark-included-diary-files): Doc fixes.
692
84f29e6b
JB
6932011-05-09 Juanma Barranquero <lekktu@gmail.com>
694
695 * misc.el: Require tabulated-list.el during compilation.
696
9bedd73a
CY
6972011-05-09 Chong Yidong <cyd@stupidchicken.com>
698
488086f4
SM
699 * progmodes/compile.el (compilation-start):
700 Run compilation-filter-hook for the async case too.
9bedd73a
CY
701 (compilation-filter-hook): Doc fix.
702
797c735c
DD
7032011-05-09 Deniz Dogan <deniz@dogan.se>
704
705 * wdired.el: Remove outdated installation comment. Fix usage
706 comment.
707
5f4b1dfe
JB
7082011-05-09 Juanma Barranquero <lekktu@gmail.com>
709
710 * misc.el: Implement new command `list-dynamic-libraries'.
711 (list-dynamic-libraries--loaded-only-p): New variable.
712 (list-dynamic-libraries--refresh): New function.
713 (list-dynamic-libraries): New command.
714
4c44026c
CY
7152011-05-09 Chong Yidong <cyd@stupidchicken.com>
716
488086f4
SM
717 * progmodes/compile.el (compilation-error-regexp-alist-alist):
718 Fix the ant regexp to handle end-line and end-column info from jikes.
4c44026c
CY
719 Re-introduce maven regexp. Give the ruby-Test::Unit regexp a
720 higher priority to avoid clobbering by gnu.
721
027f966d
CY
7222011-05-08 Chong Yidong <cyd@stupidchicken.com>
723
724 * cus-face.el (custom-declare-face): Call custom-theme-recalc-face
725 if the face has existing theme settings (Bug#8454).
726
085f5d7d
CY
7272011-05-08 Ralph Schleicher <rs@ralph-schleicher.de>
728
488086f4
SM
729 * progmodes/perl-mode.el (perl-imenu-generic-expression):
730 Only match variables declared via `my' or `our' (Bug#8261).
085f5d7d 731
2a86a00c
RS
732 * net/browse-url.el (browse-url-of-dired-file): Allow browsing of
733 special file names `.' and `..' (Bug#8259).
734
d9c54a06
CY
7352011-05-08 Chong Yidong <cyd@stupidchicken.com>
736
488086f4
SM
737 * progmodes/grep.el (grep-mode-font-lock-keywords):
738 Remove buffer-changing entries.
d9c54a06
CY
739 (grep-filter): New function.
740 (grep-mode): Add it to compilation-filter-hook.
741
742 * progmodes/compile.el (compilation-filter-hook)
743 (compilation-filter-start): New defvars.
744 (compilation-filter): Call compilation-filter-hook prior to
745 updating the process mark.
746
c4662635
SM
7472011-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
748
749 * emacs-lisp/eieio.el (defmethod): Fix typo in last change.
750
b0512a1d
EZ
7512011-05-07 Eli Zaretskii <eliz@gnu.org>
752
605c9376
EZ
753 * mail/sendmail.el (send-mail-function): On MS-Windows, default to
754 mailclient-send-it even if window-system is nil. (Bug#8595)
755
c4662635
SM
756 * term/w32console.el (terminal-init-w32console):
757 Call get-screen-color and use its output to set the frame
b0512a1d
EZ
758 background-mode. (Bug#8597)
759
d1dc2cc2
SM
7602011-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
761
762 Make bytecomp.el understand that defmethod defines funs (bug#8631).
763 * emacs-lisp/eieio.el (eieio--defalias, eieio--defgeneric-init-form):
764 New functions.
765 (defgeneric, eieio--defmethod): Use them.
766 (eieio-defgeneric): Remove.
767 (defmethod): Call defgeneric in a way visible to the byte-compiler.
768
915d1300
GM
7692011-05-07 Glenn Morris <rgm@gnu.org>
770
a3961c3e
GM
771 * calendar/timeclock.el (timeclock-log-data): Remove unused local.
772 Use let rather than let*.
773 (timeclock-find-discrep): Remove unused local.
774
314347b9
GM
775 * calendar/diary-lib.el (diary-comment-start): Doc fix.
776
915d1300
GM
777 * calendar/appt.el (appt-time-msg-list): Doc fix.
778
275b59b0
NF
7792011-05-06 Noah Friedman <friedman@splode.com>
780
781 * apropos.el (apropos-print-doc): Only use
782 emacs-lisp-docstring-fill-column when it is bound to an integer,
783 per that variable's documentation.
784
6c19f744
SM
7852011-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
786
787 * lpr.el (print-region-1): Echo lpr-program's output, so error messages
d1dc2cc2 788 and warnings are not silently discarded (e.g. use -d instead of -P).
6c19f744 789
60f884b2
GM
7902011-05-06 Glenn Morris <rgm@gnu.org>
791
5006e634
GM
792 * calendar/appt.el (appt-message-warning-time): Doc fix.
793 (appt-warning-time-regexp): New option.
794 (appt-make-list): Respect appt-message-warning-time.
795
548d0a63
GM
796 * calendar/diary-lib.el (diary-comment-start, diary-comment-end):
797 New options.
798 (diary-add-to-list): Strip comments from the displayed string.
799 (diary-mode): Set comment-start and comment-end.
800
60f884b2
GM
801 * vc/diff-mode.el (smerge-refine-subst): Declare.
802 (diff-refine-hunk): Don't require smerge-mode when compiling.
803
989681bb
JB
8042011-05-06 Juanma Barranquero <lekktu@gmail.com>
805
806 * simple.el (list-processes): Return nil as the docstring says.
807
a6bc05e1
MA
8082011-05-05 Michael Albinus <michael.albinus@gmx.de>
809
810 * net/ange-ftp.el (ange-ftp-binary-file-name-regexp): Set default
811 to "".
812 (ange-ftp-write-region, ange-ftp-insert-file-contents)
813 (ange-ftp-copy-file-internal): Use only `ange-ftp-binary-file' for
814 determining of binary transfer. (Bug#7383)
815
23c22e9a
MA
8162011-05-05 Michael Albinus <michael.albinus@gmx.de>
817
c4662635
SM
818 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
819 Fix port computation bug. (Bug#8618)
23c22e9a 820
0bff894f
GM
8212011-05-05 Glenn Morris <rgm@gnu.org>
822
b8296902
GM
823 * allout-widgets.el (allout-widgets-mode-inhibit): Declare before use.
824
1f522ce8
GM
825 * simple.el (shell-dynamic-complete-functions)
826 (comint-dynamic-complete-functions): Declare.
827
cf5bee67
GM
828 * net/network-stream.el (gnutls-negotiate):
829 * simple.el (tabulated-list-print): Fix declarations.
830
831 * progmodes/gud.el (syntax-symbol, syntax-point):
832 Remove unnecessary and incorrect declarations.
833
0bff894f
GM
834 * emacs-lisp/check-declare.el (check-declare-scan):
835 Handle byte-compile-initial-macro-environment in bytecomp.el
836
9869b3ae
SM
8372011-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
838
839 Fix earlier half-done eieio-defmethod change (bug#8338).
840 * emacs-lisp/eieio.el (eieio--defmethod): Rename from eieio-defmethod.
841 Streamline and change calling convention.
842 (defmethod): Adjust accordingly and simplify.
843 (eieio-defclass): Fix broken calls to eieio-defmethod and redirect to
844 new eieio--defmethod.
845 (slot-boundp): Minor CSE simplification.
846
9c1d5ac5
MZ
8472011-05-05 Milan Zamazal <pdm@zamazal.org>
848
849 * progmodes/glasses.el (glasses-separate-capital-groups): New option.
850 (glasses-make-readable): Use glasses-separate-capital-groups.
851
455c834e
JB
8522011-05-05 Juanma Barranquero <lekktu@gmail.com>
853
854 * emacs-lisp/warnings.el (warning-level-aliases): Reflow docstring.
855 (warning-series): Doc fix.
856 (display-warning): Don't try to create the buffer if we just found it.
857
9ed7c8cb
CY
8582011-05-04 Chong Yidong <cyd@stupidchicken.com>
859
860 * emacs-lisp/autoload.el (generated-autoload-file): Set to nil.
861 (autoload-find-generated-file): New function.
862 (generate-file-autoloads): Bind generated-autoload-file to
863 buffer-file-name.
9869b3ae
SM
864 (update-file-autoloads, update-directory-autoloads):
865 Use autoload-find-generated-file. If called interactively, prompt for
9ed7c8cb
CY
866 output file (Bug#7989).
867 (batch-update-autoloads): Doc fix.
868
0898ca10
JB
8692011-05-04 Juanma Barranquero <lekktu@gmail.com>
870
871 * term/w32-win.el (dynamic-library-alist): Add `gnutls'.
872
31dfb76c
GM
8732011-05-04 Glenn Morris <rgm@gnu.org>
874
f330b642
GM
875 * calendar/diary-lib.el (diary-fancy-date-pattern): Turn it into a
876 function, so it follows changes in calendar-date-style.
877 (diary-fancy-date-matcher): New function.
878 (diary-fancy-font-lock-keywords): Use diary-fancy-date-matcher.
879 (diary-fancy-font-lock-fontify-region-function):
880 Use diary-fancy-date-pattern as a function.
881
31dfb76c
GM
882 * calendar/diary-lib.el (diary-fancy-date-pattern): Do not use
883 non-numbers for `year' etc pseudo-variables. (Bug#8583)
884
48e79d6a
TZ
8852011-05-04 Teodor Zlatanov <tzz@lifelogs.com>
886
887 * net/gnutls.el (gnutls-negotiate): Use CL-style keyword arguments
888 instead of positional arguments. Allow :keylist and :crlfiles
889 arguments.
890 (open-gnutls-stream): Call it.
891
892 * net/network-stream.el (network-stream-open-starttls): Adjust to
893 call `gnutls-negotiate' with :process and :hostname arguments.
894
dd5a5ee0
SM
8952011-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
896
ef80fc09
SM
897 * minibuffer.el (completion--message): New function.
898 (completion--do-completion, minibuffer-complete)
899 (minibuffer-force-complete, minibuffer-complete-word): Use it.
900 (completion--do-completion): Don't ignore completion-auto-help when in
901 icomplete-mode.
902
dd5a5ee0
SM
903 * whitespace.el (whitespace-trailing-regexp): Don't rely on the
904 internal encoding (e.g. tibetan zero is not whitespace).
905 (global-whitespace-mode): Prefer save-current-buffer.
906 (whitespace-trailing-regexp): Remove useless save-match-data.
907 (whitespace-empty-at-bob-regexp): Minor simplification.
908
b7d22a83
CY
9092011-05-03 Chong Yidong <cyd@stupidchicken.com>
910
911 * emacs-lisp/autoload.el (generated-autoload-file): Doc fix (Bug#7989).
912
5192af46
AM
9132011-05-03 Agustín Martín Domingo <agustin.martin@hispalinux.es>
914
915 * textmodes/ispell.el (ispell-add-per-file-word-list):
cdc4a047 916 Use `concat' to create string for insertion.
5192af46 917
5767d190
SM
9182011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
919
920 * textmodes/bibtex.el (bibtex-fill-field-bounds, bibtex-fill-entry):
921 Avoid open-line which runs post-self-insert-hook.
922 (bibtex-fill-entry): Remove unused `end' var.
923
bf242939
AM
9242011-05-03 Dirk Ullrich <dirk.ullrich@googlemail.com> (tiny change)
925
5767d190
SM
926 * textmodes/ispell.el (ispell-add-per-file-word-list):
927 Protect against `nil' value of `comment-start' (Bug#8579).
bf242939 928
25666126
LL
9292011-05-03 Leo Liu <sdl.web@gmail.com>
930
931 * isearch.el (isearch-yank-pop): New command.
5767d190 932 (isearch-mode-map): Bind it to `M-y'.
25666126
LL
933 (isearch-forward): Mention it.
934
52d3c2d0
SM
9352011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
936
1bcace58
SM
937 * simple.el (minibuffer-complete-shell-command): Remove.
938 (minibuffer-local-shell-command-map): Use completion-at-point.
939 (read-shell-command): Setup completion vars here instead.
940 (read-expression-map): Bind TAB to symbol completion.
941
52d3c2d0
SM
942 * textmodes/ispell.el (lookup-words): Use with-temp-buffer; signal
943 error directly rather via storing it into `results'.
944
35813471
LL
9452011-05-02 Leo Liu <sdl.web@gmail.com>
946
947 * vc/diff.el: Fix description.
948
e793a940
LMI
9492011-05-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
950
951 * server.el (server-eval-at): New function.
952
8de66e05
LMI
9532011-05-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
954
955 * net/network-stream.el (open-network-stream): Take a :nowait
956 parameter and pass it on to `make-network-process'.
957 (network-stream-open-plain): Ditto.
958
dcb79f20
AS
9592011-04-30 Andreas Schwab <schwab@linux-m68k.org>
960
961 * faces.el (face-spec-set-match-display): Don't match toolkit
962 options on terminal frames.
963
14a7fbd8
SM
9642011-04-29 Stefan Monnier <monnier@iro.umontreal.ca>
965
7eabc1be
SM
966 * progmodes/pascal.el: Use lexical binding.
967 (pascal-mode-map): Remove author preferences.
968
14a7fbd8
SM
969 * pcomplete.el (pcomplete-std-complete): Don't abuse
970 completion-at-point.
971
50f84510
JB
9722011-04-28 Juanma Barranquero <lekktu@gmail.com>
973
6e087a44
JB
974 * calc/calccomp.el (math-comp-to-string-flat-term): Simplify by
975 removing code that has been dead since 1991 or so.
976
50f84510
JB
977 * startup.el (command-line): When warning about "_emacs", use a
978 delayed warning to allow the user to filter it out.
979
0ba690bd
DD
9802011-04-28 Deniz Dogan <deniz@dogan.se>
981
982 * net/rcirc.el (rcirc-handler-353): Fix bug for channels which the
983 user has not joined.
984
08abfaad
SM
9852011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
986
987 * pcomplete.el (pcomplete-completions-at-point): Return nil if there
988 aren't any completions at point.
989
638f053a
JB
9902011-04-28 Juanma Barranquero <lekktu@gmail.com>
991
992 * subr.el (display-delayed-warnings): New function.
993 (delayed-warnings-hook): New variable.
994
8fff8daa
SM
9952011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
996
08abfaad
SM
997 * minibuffer.el (completion-at-point, completion-help-at-point):
998 Don't presume that a given completion-at-point-function will always
999 use the same calling convention.
1000
8fff8daa
SM
1001 * pcomplete.el (pcomplete-completions-at-point):
1002 Obey pcomplete-ignore-case. Don't call pcomplete-norm-func unless
1003 pcomplete-seen is non-nil.
1004 (pcomplete-comint-setup): Also recognize the new comint/shell
1005 completion functions.
1006 (pcomplete-do-complete): Don't call pcomplete-norm-func unless
1007 pcomplete-seen is non-nil.
1008
841a1577 10092011-04-27 Niels Giesen <niels.giesen@gmail.com>
211ec907 1010
841a1577 1011 * calendar/icalendar.el (diary-lib): Add require statement.
211ec907 1012 (icalendar--create-uid): Read out a uid from a text-property on
841a1577 1013 the first character in the entry. This allows for code to add its
211ec907
UJ
1014 own uid to the entry.
1015 (icalendar--convert-float-to-ical): Add export of
1016 `diary-float'-entries save for those with the optional DAY
1017 argument.
1018
2a782793
DC
10192011-04-27 Daniel Colascione <dan.colascione@gmail.com>
1020
1021 * subr.el (shell-quote-argument): Use alternate escaping strategy
1022 when we spot a variable reference in a string.
1023
0438ce91
DC
10242011-04-26 Daniel Colascione <dan.colascione@gmail.com>
1025
1026 * cus-start.el (all): Define customization for debug-on-event.
1027
841a1577 10282011-04-26 Daniel Colascione <dan.colascione@gmail.com>
8f91bf93
DC
1029
1030 * subr.el (shell-quote-argument): Escape correctly under Windows.
1031
d090ed6c
SM
10322011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
1033
1034 * emulation/cua-base.el (cua-selection-mode): Make it toggle again.
1035
bfd31217
MA
10362011-04-25 Michael Albinus <michael.albinus@gmx.de>
1037
d090ed6c
SM
1038 * net/tramp.el (tramp-process-actions): Add POS argument.
1039 Delete region between POS and (pos).
bfd31217 1040
d090ed6c
SM
1041 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
1042 Use `nil' position in `tramp-process-actions' call.
bfd31217
MA
1043 (tramp-maybe-open-connection): Call `tramp-process-actions' with pos.
1044
1045 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Use `nil'
1046 position in `tramp-process-actions' call.
1047
1048 * net/trampver.el: Update release number.
1049
e92f3bd3
SM
10502011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
1051
850256b5
SM
1052 * custom.el (defcustom): Obey lexical-binding.
1053
e92f3bd3
SM
1054 Fix octave-inf completion problems reported by Alexander Klimov.
1055 * progmodes/octave-inf.el (inferior-octave-mode-syntax-table):
1056 Inherit from octave-mode-syntax-table.
1057 (inferior-octave-mode): Set info-lookup-mode.
1058 (inferior-octave-completion-at-point): New function.
1059 (inferior-octave-complete): Use it and completion-in-region.
1060 (inferior-octave-dynamic-complete-functions): Use it as well, and use
1061 comint-filename-completion.
1062 * progmodes/octave-mod.el (octave-mode-syntax-table): Use _ syntax for
1063 symbol elements which shouldn't be word elements.
1064 (octave-font-lock-keywords, octave-beginning-of-defun)
1065 (octave-function-header-regexp): Adjust regexps accordingly.
1066 (octave-mode-map): Also use info-lookup-symbol for C-c C-h.
1067
cd22b309
JB
10682011-04-25 Juanma Barranquero <lekktu@gmail.com>
1069
1070 * net/gnutls.el (gnutls-errorp): Declare before first use.
1071
8b492194
TZ
10722011-04-24 Teodor Zlatanov <tzz@lifelogs.com>
1073
1074 * net/gnutls.el (gnutls-negotiate): Add hostname, verify-flags,
1075 verify-error, and verify-hostname-error parameters. Check whether
cd22b309
JB
1076 default trustfile exists before going to use it. Add missing
1077 argument to gnutls-message-maybe call. Return return value.
8b492194
TZ
1078 Reported by Claudio Bley <claudio.bley@gmail.com>.
1079 (open-gnutls-stream): Add usage example.
1080
1081 * net/network-stream.el (network-stream-open-starttls): Give host
1082 parameter to `gnutls-negotiate'.
1083 (gnutls-negotiate): Adjust `gnutls-negotiate' declaration.
8f91bf93 1084 * subr.el (shell-quote-argument): Escape correctly under Windows.
8b492194 1085
841a1577 10862011-04-24 Daniel Colascione <dan.colascione@gmail.com>
05842630 1087
cd22b309
JB
1088 * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
1089 Use correct match group (bug#8438).
05842630 1090
3ba7869c
CY
10912011-04-24 Chong Yidong <cyd@stupidchicken.com>
1092
512e3ae1
CY
1093 * emacs-lisp/package.el (package-built-in-p): Fix typo.
1094 (package-menu--generate): New arg specifying packages to show.
1095 (package-menu-refresh, package-menu-execute, list-packages):
1096 Callers changed.
1097 (package-show-package-list): New function, replacing deleted
1098 package--list-packages (renamed because it is non-internal).
1099
1100 * finder.el (finder-list-matches): Use package-show-package-list
1101 instead of deleted package--list-packages.
1102
e92f3bd3
SM
1103 * vc/vc-annotate.el (vc-annotate-goto-line): New command.
1104 Based on a previous implementation by Juanma Barranquero (Bug#8366).
3ba7869c
CY
1105 (vc-annotate-mode-map): Bind it to RET.
1106
7031be6d
UR
11072011-04-24 Uday S Reddy <u.s.reddy@cs.bham.ac.uk> (tiny change)
1108
1109 * progmodes/etags.el (next-file): Don't use set-buffer to change
1110 buffers (Bug#8478).
1111
4ef177aa
CY
11122011-04-24 Chong Yidong <cyd@stupidchicken.com>
1113
c8d173eb
CY
1114 * files.el (auto-mode-alist): Use js-mode for .json (Bug#8529).
1115
4ef177aa
CY
1116 * apropos.el (apropos-label-face): Avoid variable-pitch face.
1117 (apropos-accumulator): Doc fix.
1118 (apropos-function, apropos-macro, apropos-command)
1119 (apropos-variable, apropos-face, apropos-group, apropos-widget)
1120 (apropos-plist): Add face property.
1121 (apropos-symbols-internal): Fix indentation.
1122 (apropos-print): Simplify help, and recognize apropos-multi-type.
1123 (apropos-print-doc): Use button-type-get to extract the button's
1124 face property. Fill docstring (Bug#8352).
1125
4ffd0d6b 11262011-04-23 Juanma Barranquero <lekktu@gmail.com>
be71f810
JB
1127
1128 * buff-menu.el (Buffer-menu--buffers): Fix typo in docstring (bug#8535).
1129
c6c32125 1130 * play/mpuz.el (mpuz-silent): Doc fix.
4ffd0d6b 1131 (mpuz-mode-map): Use mapc.
c6c32125
JB
1132 (mpuz-put-number-on-board): Rename parameter L to COLUMNS.
1133 (mpuz-letter-to-digit, mpuz-check-all-solved, mpuz-create-buffer):
1134 Fix typos in docstrings.
1135
58d468b4
JB
1136 * play/doctor.el (doc$, doctor-$, doctor-read-print, doctor-read-token)
1137 (doctor-nounp, doctor-pronounp): Fix typos in docstrings.
1138
6470c3c6
JB
1139 * mouse-drag.el (mouse-drag-throw): Fix typo in docstring.
1140
4ffd0d6b 11412011-04-23 Chong Yidong <cyd@stupidchicken.com>
6f21a319
CY
1142
1143 * minibuffer.el (completion--do-completion): Avoid the "Next char
1144 not unique" prompt if icomplete-mode is enabled (Bug#5849).
1145
3ad8bad0
CY
1146 * mouse.el (mouse-drag-mode-line-1): Make sure that if we push
1147 mouse-2 into unread-command-events, it is interpreted correctly.
1148
71d73c9c 1149 * image-mode.el (image-type, image-mode-map, image-minor-mode-map)
6395aab9 1150 (image-toggle-display): Doc fix.
71d73c9c 1151
841a1577 11522011-04-23 Stephen Berman <stephen.berman@gmx.net>
e935c6a2 1153
4ffd0d6b
GM
1154 * textmodes/page.el (what-page): Use line-number-at-pos to
1155 calculate line number (Bug#6825).
6e1dbaa9 1156
c2fb1b60
JB
11572011-04-22 Juanma Barranquero <lekktu@gmail.com>
1158
1159 * eshell/esh-mode.el (find-tag-interactive): Declare function.
1160 (eshell-find-tag): Remove `with-no-warnings', unneeded now.
1161 Pass argument NO-DEFAULT to `find-tag-interactive'.
1162
e02f48d7
JB
11632011-04-22 Juanma Barranquero <lekktu@gmail.com>
1164
1165 Lexical-binding cleanup.
1166
1167 * progmodes/ada-mode.el (ada-after-change-function, ada-loose-case-word)
1168 (ada-no-auto-case, ada-capitalize-word, ada-untab, ada-narrow-to-defun):
1169 * progmodes/ada-prj.el (ada-prj-initialize-values)
1170 (ada-prj-display-page, ada-prj-field-modified, ada-prj-display-help)
1171 (ada-prj-show-value):
1172 * progmodes/ada-xref.el (ada-find-any-references, ada-gdb-application):
1173 * progmodes/antlr-mode.el (antlr-with-displaying-help-buffer)
1174 (antlr-invalidate-context-cache, antlr-options-menu-filter)
1175 (antlr-language-option-extra, antlr-c++-mode-extra, antlr-run-tool):
1176 * progmodes/bug-reference.el (bug-reference-push-button):
1177 * progmodes/fortran.el (fortran-line-length):
1178 * progmodes/glasses.el (glasses-change):
1179 * progmodes/octave-mod.el (octave-fill-paragraph):
1180 * progmodes/python.el (python-mode, python-pdbtrack-track-stack-file)
1181 (python-pdbtrack-grub-for-buffer, python-sentinel):
1182 * progmodes/sql.el (sql-save-connection):
1183 * progmodes/tcl.el (tcl-indent-command, tcl-popup-menu):
1184 * progmodes/xscheme.el (xscheme-enter-debugger-mode):
1185 Mark unused parameters.
1186
1187 * progmodes/compile.el (compilation--flush-directory-cache)
1188 (compilation--flush-parse, compile-internal): Mark unused parameters.
1189 (compilation-buffer-name): Rename parameter MODE-NAME to NAME-OF-MODE.
1190 (compilation-next-error-function): Remove unused variable `timestamp'.
1191
1192 * progmodes/cpp.el (cpp-parse-close): Remove unused variable `begin'.
1193 (cpp-signal-read-only, cpp-grow-overlay): Mark unused parameters.
1194
1195 * progmodes/dcl-mode.el (dcl-end-of-command):
1196 Remove unused variable `start'.
1197 (dcl-calc-command-indent-multiple, dcl-calc-cont-indent-relative)
1198 (dcl-option-value-basic, dcl-option-value-offset)
1199 (dcl-option-value-margin-offset, dcl-option-value-comment-line):
1200 Mark unused parameters.
1201 (dcl-save-local-variable): Remove unused variable `val'.
1202 (mode): Declare.
1203
1204 * progmodes/delphi.el (delphi-save-state, delphi-after-change):
1205 Mark unused parameters.
1206 (delphi-ignore-changes): Move before first use.
1207 (delphi-charset-token-at): Remove unused variable `start'.
1208 (delphi-else-start): Remove unused variable `if-count'.
1209 (delphi-comment-block-start, delphi-comment-block-end):
1210 Remove unused variable `kind'.
1211 (delphi-indent-line): Remove unused variable `new-point'.
1212
1213 * progmodes/ebrowse.el (ebrowse-files-list)
1214 (ebrowse-list-of-matching-members, ebrowse-tags-list-members-in-file):
1215 Mark unused parameters. Don't quote `lambda'.
1216 (ebrowse-sort-tree-list, ebrowse-same-tree-member-buffer-list):
1217 Don't quote `lambda'.
1218 (ebrowse-revert-tree-buffer-from-file, ebrowse-tags-choose-class)
1219 (ebrowse-goto-visible-member/all-member-lists): Mark unused parameters.
1220 (ebrowse-create-tree-buffer): Rename parameter OBARRAY to CLASSES.
1221 (ebrowse-toggle-mark-at-point): Remove unused variable `pnt'.
1222 Use `ignore-errors'.
1223 (ebrowse-frozen-tree-buffer-name, ebrowse-find-source-file)
1224 (ebrowse-view/find-file-and-search-pattern)
1225 (ebrowse-view/find-member-declaration/definition):
1226 Rename parameter TAGS-FILE-NAME to TAGS-FILE.
1227 (ebrowse-find-class-declaration, ebrowse-view-class-declaration):
1228 Rename parameter PREFIX-ARG to PREFIX.
1229 (ebrowse-tags-read-name): Remove unused variables `start' and
1230 `member-info'.
1231 (ebrowse-display-member-buffer): Rename variable `tags-file-name'
1232 to `tags-file'.
1233
1234 * progmodes/etags.el (local-find-tag-hook): Declare.
1235 (tag-partial-file-name-match-p, tag-any-match-p, list-tags):
1236 Mark unused parameters.
1237
1238 * progmodes/executable.el (compilation-error-regexp-alist): Declare.
1239 (executable-interpret): Mark unused parameter.
1240
1241 * progmodes/flymake.el (flymake-process-sentinel)
1242 (flymake-after-change-function)
1243 (flymake-create-temp-with-folder-structure)
1244 (flymake-get-include-dirs-dot): Mark unused parameters.
1245 (flymake-safe-delete-directory): Remove unused variable `err'.
1246
1247 * progmodes/gdb-mi.el (speedbar-change-initial-expansion-list)
1248 (speedbar-timer-fn, speedbar-line-text)
1249 (speedbar-change-expand-button-char, speedbar-delete-subblock)
1250 (speedbar-center-buffer-smartly): Declare functions.
1251 (gdb-find-watch-expression): Remove unused variable `array'.
1252 (gdb-edit-value, gdb-gdb, gdb-ignored-notification, gdb-thread-created)
1253 (gdb-starting): Mark unused parameters.
1254 (gud-gdbmi-marker-filter): Remove unused variable `output-record'.
1255 (gdb-table-string): Remove unused variable `res'.
1256 (gdb-place-breakpoints): Remove unused variables `flag' and `bptno'.
1257 (gdb-disassembly-handler-custom): Remove unused variable `pos'.
1258 (gdb-display-buffer): Remove unused variable `cur-size'.
1259
1260 * progmodes/gud.el (gud-def): Use `defalias' instead of `defun' to
1261 allow lexical-binding compilation.
1262 (gud-expansion-speedbar-buttons, gud-gdb-goto-stackframe)
1263 (gud-dbx-massage-args, gud-xdb-massage-args, gud-perldb-massage-args)
1264 (gud-jdb-massage-args, gud-jdb-find-source, gud-find-class):
1265 Mark unused parameters.
1266 (gud-gdb-marker-filter): Remove unused variable `match'.
1267 (gud-find-class): Bind `syntax-symbol' and `syntax-point' to suitable
1268 lambda expressions and funcall them, instead of using `fset'.
1269
1270 * progmodes/hideif.el (hif-parse-if-exp): Rename parameter
1271 HIF-TOKEN-LIST to TOKEN-LIST and let-bind `hif-token-list'.
1272
1273 * progmodes/hideshow.el (hs-hide-block-at-point): Remove unused
1274 variable `header-beg'; use `let'.
1275
1276 * progmodes/icon.el (indent-icon-exp): Remove unused variables
1277 `restart', `last-sexp' and `at-do'.
1278
1279 * progmodes/js.el (js--debug): Mark unused parameter.
1280 (js--parse-state-at-point): Remove unused variable `bound'; use `let'.
1281 (js--splice-into-items): Remove unused variable `item'.
1282 (js--read-symbol, js--read-tab): Pass 1/-1 to `ido-mode', not t/nil.
1283
1284 * progmodes/make-mode.el (makefile-make-font-lock-keywords):
1285 Rename parameter FONT-LOCK-KEYWORDS to FL-KEYWORDS.
1286 (makefile-complete): Remove unused variable `try'.
1287 (makefile-fill-paragraph, makefile-match-function-end):
1288 Mark unused parameters.
1289
1290 * progmodes/octave-inf.el (inferior-octave-complete):
1291 Remove unused variable `proc'.
1292 (inferior-octave-output-digest): Mark unused parameter.
1293
1294 * progmodes/perl-mode.el (perl-calculate-indent):
1295 Remove unused variable `err'.
1296
1297 * progmodes/prolog.el (prolog-mode-keybindings-inferior)
1298 (prolog-indent-line): Mark unused parameters.
1299 (prolog-indent-line): Remove unused variable `beg'.
1300
1301 * progmodes/ps-mode.el (reporter-prompt-for-summary-p)
1302 (reporter-dont-compact-list): Declare.
1303
1304 * progmodes/sh-script.el (sh-font-lock-quoted-subshell):
1305 Remove unused variable `char'.
1306 (sh-debug): Mark unused parameter.
1307 (sh-get-indent-info): Remove unused variable `start'.
1308 (sh-calculate-indent): Remove unused variable `var'.
1309
1310 * progmodes/simula.el (simula-popup-menu): Mark unused parameter.
1311 (simula-electric-keyword): Remove unused variable `null'.
1312 (simula-search-backward, simula-search-forward): Remove unused
1313 variables `begin' and `end'.
1314
1315 * progmodes/vera-mode.el (vera-guess-basic-syntax):
1316 Remove unused variable `pos'.
1317 (vera-electric-tab, vera-comment-uncomment-region):
1318 Mark unused parameters.
1319 (vera-electric-tab): Rename parameter PREFIX-ARG to PREFIX.
1320
7ede3b65
CY
13212011-04-22 Chong Yidong <cyd@stupidchicken.com>
1322
1323 * emacs-lisp/package.el (package--builtins, package-alist)
1324 (package-load-descriptor, package-built-in-p, package-activate)
1325 (define-package, package-installed-p)
1326 (package-compute-transaction, package-buffer-info)
1327 (package--push): Doc fix. Distinguish more clearly between
1328 version strings and version lists.
1329
121656e9
JB
13302011-04-21 Juanma Barranquero <lekktu@gmail.com>
1331
1332 Lexical-binding cleanup.
1333
1334 * play/5x5.el (5x5-make-random-solution, 5x5-make-mutate-current)
1335 (5x5-make-mutate-best):
1336 * play/fortune.el (fortune-in-buffer):
1337 * play/gomoku.el (gomoku-init-display):
1338 * play/solitaire.el (solitaire, solitaire-do-check):
1339 * play/tetris.el (tetris-default-update-speed-function):
1340 Mark unused parameters.
1341
1342 * play/bubbles.el (bubbles-mode): Set `show-trailing-whitespace'.
1343 (bubbles--shift): Remove unused variable `char-org'.
1344 (bubbles--set-faces): Remove unused variable `fg-col'. Simplify.
1345 (bubbles--show-images): Remove unused variable `char'.
1346
1347 * play/decipher.el (decipher-keypress, decipher-alphabet-keypress)
1348 (decipher-get-undo, decipher-set-map, decipher-complete-alphabet)
1349 (decipher-resync, decipher-loop-with-breaks, decipher--analyze)
1350 (decipher-analyze-buffer): Use ?\s.
1351 (decipher-make-checkpoint): Remove unused variable `mapping'.
1352
1353 * play/doctor.el (doctor-doc): Rename parameter DOCTOR-SENT to SENT.
1354
1355 * play/gamegrid.el (gamegrid-add-score-with-update-game-score):
1356 Remove unused variable `result'; use `let'.
1357
1358 * play/gametree.el (gametree-current-layout, gametree-apply-layout):
1359 Rename parameter TOP-LEVEL to FROM-TOP-LEVEL; use `ignore-errors'.
1360 (gametree-children-shown-p, gametree-compute-reduced-score):
1361 Use `ignore-errors'.
1362
1363 * play/handwrite.el (ps-lpr-switches): Declare.
1364 (handwrite): Remove unused variables `pmin' and `lastp'.
1365
1366 * play/hanoi.el (hanoi-move-ring): Remove unused variable `total-steps'.
1367
1368 * play/landmark.el (landmark-init-display)
1369 (landmark-update-naught-weights): Mark unused parameters.
1370 (landmark-y): Remove unused variable `noise'. Simplify.
1371 (landmark-human-plays): Remove unused variable `score'.
1372
1373 * play/mpuz.el (mpuz-try-letter): Remove unused variable `message'.
1374 (mpuz-try-proposal): Remove unused variable `game'.
1375
1376 * play/zone.el (life-patterns): Declare.
1377
80f499c7
JB
13782011-04-20 Juanma Barranquero <lekktu@gmail.com>
1379
1380 * vc/vc.el (ediff-vc-internal): Declare function.
1381
024ff170
SM
13822011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
1383
c0a193ea
SM
1384 * shell.el: Use lexical-binding and std completion UI.
1385 (shell-filter-ctrl-a-ctrl-b): Work as a preoutput filter.
1386 (shell-mode): Put shell-filter-ctrl-a-ctrl-b on
1387 comint-preoutput-filter-functions rather than on
1388 comint-output-filter-functions.
1389 (shell-command-completion, shell--command-completion-data)
1390 (shell-filename-completion, shell-environment-variable-completion)
1391 (shell-c-a-p-replace-by-expanded-directory): New functions.
1392 (shell-dynamic-complete-functions, shell-dynamic-complete-command)
1393 (shell-dynamic-complete-filename, shell-replace-by-expanded-directory)
1394 (shell-dynamic-complete-environment-variable): Use them.
1395 (shell-dynamic-complete-as-environment-variable)
1396 (shell-dynamic-complete-as-command): Remove.
1397 (shell-match-partial-variable): Match past point.
1398 * comint.el: Clean up use of completion-at-point-functions.
1399 (comint-completion-at-point): New function.
1400 (comint-mode): Use it completion-at-point-functions.
1401 (comint-dynamic-complete): Make it obsolete.
1402 (comint-replace-by-expanded-history-before-point): Add dry-run arg.
1403 (comint-c-a-p-replace-by-expanded-history): New function.
1404 (comint-dynamic-complete-functions)
1405 (comint-replace-by-expanded-history): Use it.
1406 * minibuffer.el (completion-table-with-terminator): Allow dynamic
1407 termination strings. Try harder to avoid second try-completion.
1408 (completion-in-region-mode-map): Disable bindings that don't work yet.
1409
2dbaa080
SM
1410 * comint.el: Use lexical-binding. Require CL.
1411 (comint-dynamic-complete-functions): Use comint-filename-completion.
1412 (comint-completion-addsuffix): Tweak custom type.
1413 (comint-filename-completion, comint--common-suffix)
1414 (comint--common-quoted-suffix, comint--table-subvert)
1415 (comint--complete-file-name-data): New functions.
1416 (comint-dynamic-complete-as-filename, comint-dynamic-complete-filename)
1417 (comint-dynamic-list-filename-completions): Use them.
1418 (comint-dynamic-simple-complete): Make obsolete.
c0a193ea 1419
2dbaa080
SM
1420 * minibuffer.el (completion-in-region-mode):
1421 Keep completion-in-region-mode--predicate global.
1422 (completion-in-region--postch):
1423 Assume completion-in-region-mode--predicate is not null.
1424
c79a6f38
SM
1425 * progmodes/flymake.el (flymake-start-syntax-check-process):
1426 Obey `dir'. Simplify.
1427
024ff170
SM
1428 * vc/vc.el (vc-version-ediff): Call ediff-vc-internal directly, since
1429 we're in VC after all.
1430
1c6c854e
CS
14312011-04-20 Christoph Scholtes <cschol2112@googlemail.com>
1432
1433 * vc/vc.el (vc-diff-build-argument-list-internal)
024ff170 1434 (vc-version-ediff, vc-ediff): New commands.
1c6c854e
CS
1435 (vc-version-diff): Use vc-diff-build-argument-list-internal.
1436
bed7f140
SM
14372011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
1438
332e62ab
SM
1439 * emacs-lisp/byte-opt.el (byte-decompile-bytecode-1): Remove dead code,
1440 add sanity check.
1441
bed7f140
SM
1442 * obsolete/erc-hecomplete.el: Make obsolete.
1443 * obsolete/: Standardize obsolescence info in the header.
1444
f195c582
GM
14452011-04-20 Glenn Morris <rgm@gnu.org>
1446
1447 * calendar/solar.el (solar-horizontal-coordinates):
1448 Use the longitude argument rather than `calendar-longitude'.
1449 (solar-date-next-longitude): Remove unused locals.
1450
cb79b8c0
VJL
14512011-04-20 Vinicius Jose Latorre <viniciusjl@ig.com.br>
1452
1453 * whitespace.el: New version 13.2.1.
1454
14552011-04-20 felix <EmacsWiki> (tiny change)
1456
1457 * whitespace.el (global-whitespace-mode): keep highlight when
1458 switching between major modes on a file.
1459
602ea69d
SM
14602011-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
1461
1462 * progmodes/octave-mod.el (octave-in-comment-p, octave-in-string-p)
1463 (octave-not-in-string-or-comment-p): Use syntax-ppss so it works with
1464 multi-line comments as well.
1465
06b60517
JB
14662011-04-19 Juanma Barranquero <lekktu@gmail.com>
1467
1468 Lexical-binding cleanup.
1469
1470 * arc-mode.el (archive-mode-revert):
1471 * cmuscheme.el (scheme-interactively-start-process):
1472 * custom.el (custom-initialize-delay):
1473 * dnd.el (dnd-open-local-file, dnd-open-remote-url):
1474 * dos-w32.el (direct-print-region-helper, direct-print-region-function):
1475 * emacs-lock.el (emacs-lock-clear-sentinel):
1476 * ezimage.el (defezimage):
1477 * follow.el (follow-avoid-tail-recenter):
1478 * fringe.el (set-fringe-mode-1):
1479 * generic-x.el (bat-generic-mode-compile):
1480 * help-mode.el (help-info-variable, help-do-xref)
1481 (help-mode-revert-buffer):
1482 * help.el (view-emacs-todo):
1483 * iswitchb.el (iswitchb-completion-help):
1484 * jka-compr.el (jka-compr-make-temp-name, jka-compr-load):
1485 * kmacro.el (kmacro-cycle-ring-next, kmacro-cycle-ring-previous)
1486 (kmacro-delete-ring-head, kmacro-bind-to-key, kmacro-view-macro):
1487 * locate.el (locate-update):
1488 * longlines.el (longlines-encode-region)
1489 (longlines-after-change-function):
1490 * outline.el (outline-isearch-open-invisible):
1491 * ps-def.el (declare-function, charset-dimension, char-width)
1492 (encode-char):
1493 * ps-mule.el (ps-mule-plot-string):
1494 * recentf.el (recentf-make-menu-items, recentf-cancel-dialog)
1495 (recentf-edit-list-select, recentf-edit-list-validate)
1496 (recentf-open-files-action):
1497 * rect.el (delete-whitespace-rectangle-line)
1498 (rectangle-number-line-callback):
1499 * register.el (window-configuration-to-register)
1500 (frame-configuration-to-register):
1501 * scroll-bar.el (scroll-bar-mode, toggle-horizontal-scroll-bar):
1502 * select.el (xselect-convert-to-string, xselect-convert-to-length)
1503 (xselect-convert-to-targets, xselect-convert-to-delete)
1504 (xselect-convert-to-filename, xselect-convert-to-charpos)
1505 (xselect-convert-to-lineno, xselect-convert-to-colno)
1506 (xselect-convert-to-os, xselect-convert-to-host)
1507 (xselect-convert-to-user, xselect-convert-to-class)
1508 (xselect-convert-to-name, xselect-convert-to-integer)
1509 (xselect-convert-to-atom, xselect-convert-to-identity):
1510 * subr.el (declare, ignore, process-kill-without-query)
1511 (text-clone-maintain):
1512 * terminal.el (te-get-char, te-tic-sentinel):
1513 * tool-bar.el (tool-bar-make-keymap):
1514 * tooltip.el (tooltip-timeout, tooltip-hide, tooltip-help-tips):
1515 * type-break.el (type-break-mode, type-break-noninteractive-query):
1516 * view.el (View-back-to-mark):
1517 * wid-browse.el (widget-browse-action, widget-browse-widget)
1518 (widget-browse-widgets, widget-browse-sexp):
1519 * widget.el (define-widget-keywords):
1520 * xt-mouse.el (xterm-mouse-translate, turn-off-xterm-mouse-tracking):
1521 Mark unused parameters.
1522
1523 * align.el (align-adjust-col-for-rule): Mark unused parameter.
1524 (align-areas): Remove unused variable `look'.
1525 (align-region): Remove unused variables `real-end' and `pos-list'.
1526
1527 * apropos.el (apropos-score-doc): Remove unused variable `i'.
1528
1529 * bindings.el (mode-line-modified, mode-line-remote):
1530 Mark unused parameters.
1531 (mode-line-mule-info): Mark unused parameter; don't quote `lambda'.
1532
1533 * buff-menu.el (Buffer-menu-revert-function): Mark unused parameters.
1534 (Buffer-menu-mode): Mark unused parameter; don't quote `lambda'.
1535
1536 * comint.el (comint-history-isearch-pop-state)
1537 (comint-postoutput-scroll-to-bottom, comint-truncate-buffer)
1538 (comint-strip-ctrl-m, comint-read-noecho): Mark unused parameters.
1539 (comint-substitute-in-file-name): Doc fix.
1540
1541 * completion.el (cmpl-statistics-block): Mark unused parameter.
1542 (add-completions-from-tags-table, add-completions-from-lisp-buffer)
1543 (save-completions-to-file, load-completions-from-file):
1544 Remove unused local variable `e'.
1545
1546 * composite.el (compose-chars): Remove unused variable `len'.
1547 (lgstring-insert-glyph): Remove unused variable `g'.
1548 (compose-glyph-string): Remove unused variables `ascent',
1549 `descent', `lbearing' and `rbearing'.
1550 (compose-glyph-string-relative): Remove unused variables
1551 `lbearing', `rbearing' and `wadjust'.
1552 (compose-gstring-for-graphic): Remove unused variables `header',
1553 `wadjust', `xoff' and `yoff'. Use `let', not `let*'.
1554 (compose-gstring-for-terminal): Remove unused variables `header'
1555 and `nchars'. Use `let', not `let*'.
1556
1557 * cus-edit.el (Custom-set, Custom-save, custom-reset)
1558 (Custom-reset-current, Custom-reset-saved, Custom-reset-standard)
1559 (Custom-buffer-done, custom-buffer-create-internal)
1560 (custom-browse-visibility-action, custom-browse-group-tag-action)
1561 (custom-browse-variable-tag-action, custom-browse-face-tag-action)
1562 (widget-magic-mouse-down-action, custom-toggle-parent)
1563 (custom-add-parent-links, custom-toggle-hide-variable)
1564 (custom-face-edit-value-visibility-action, custom-face-edit-fix-value)
1565 (custom-toggle-hide-face, face, hook, custom-group-link-action)
1566 (custom-face-menu-create, custom-variable-menu-create, get)
1567 (custom-group-menu-create, Custom-no-edit): Mark unused parameters.
1568 (custom-reset-standard-save-and-update): Remove unused variable `value'.
1569 (customize-apropos): Remove unused variable `tests'.
1570 (custom-group-value-create): Remove unused variable `hidden-p'.
1571 (sort-fold-case): Declare.
1572
1573 * cus-theme.el (custom-reset-standard-faces-list)
1574 (custom-reset-standard-variables-list): Declare.
1575 (customize-create-theme, custom-theme-revert, custom-theme-write)
1576 (custom-theme-choose-mode, customize-themes, custom-theme-save):
1577 Mark unused parameters.
1578
1579 * dabbrev.el (dabbrev-completion): Remove unused variable `init'.
1580
1581 * delim-col.el (delimit-columns-max): Move defvar before first use.
1582
1583 * descr-text.el (describe-char-categories): Don't quote `lambda'.
bd0d2ee2 1584 (describe-char): Don't quote `lambda'. Mark unused parameter.
06b60517
JB
1585
1586 * desktop.el (desktop-save-buffer-p): Mark unused parameter.
1587 (auto-insert): Declare.
1588 (desktop-restore-file-buffer): Rename desktop-* parameters;
1589 mark unused ones.
1590 (desktop-create-buffer): Rename desktop-* parameters and bind them.
1591 (desktop-buffer): Rename desktop-* parameters.
1592
1593 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
1594 (dframe-reposition-frame-xemacs, dframe-help-echo)
1595 (dframe-hack-buffer-menu, dframe-set-timer, dframe-set-timer-internal):
1596 Mark unused parameters.
1597
1598 * dired-aux.el (backup-extract-version-start, overwrite-query)
1599 (overwrite-backup-query, rename-regexp-query)
1600 (rename-non-directory-query): Declare.
1601 (dired-shell-stuff-it, dired-do-create-files): Mark unused parameters.
1602 (dired-add-entry): Remove unused variable `orig-file-name'.
1603 (dired-copy-file-recursive): Remove unused variable `dirfailed'.
1604 Use parameter PRESERVE-TIME instead of accessing dynamic variable
1605 `dired-copy-preserve-time' directly.
1606 (dired-do-create-files-regexp): Remove unused variable `fn-count'.
1607 (dired-insert-subdir-newpos): Rename unused variable `pos'.
1608
1609 * dired-x.el (dired-omit-size-limit): Move defcustom before first use.
1610 (dired-virtual-revert, dired-make-relative-symlink):
1611 Mark unused parameters.
1612 (manual-program): Declare.
1613 (dired-x-hands-off-my-keys): Rename parameters of lambda expression.
1614 (inode, s, mode, nlink, uid, gid, size, time, name, sym): Declare them,
1615 wrapped in `with-no-warnings' to avoid replacing one warning by another.
1616
1617 * dirtrack.el (dirtrack): Remove unused variable `multi-line'.
1618
1619 * dos-fns.el (dos-8+3-filename): Remove unused variable `i'.
1620
1621 * echistory.el (electric-history-in-progress, Helper-return-blurb):
1622 Declare.
1623
1624 * edmacro.el (edmacro-finish-edit): Remove unused variable `kmacro'.
1625
1626 * electric.el (Electric-command-loop): Rename parameter
1627 INHIBIT-QUIT to INHIBIT-QUITTING and bind `inhibit-quit'.
1628
1629 * expand.el (expand-in-literal): Remove unused variable `here'.
1630
1631 * facemenu.el (facemenu-add-new-color):
1632 Remove unused variable `docstring'.
1633
1634 * faces.el (face-id, make-face-bold, make-face-unbold, make-face-italic)
1635 (make-face-unitalic, make-face-bold-italic): Mark unused parameters.
1636 (face-attr-construct): Mark unused parameter. Doc fix.
1637 (read-color): Remove unused variable `hex-string'.
1638
1639 * files.el (parse-colon-path): Rename argument CD-PATH to SEARCH-PATH.
1640 (locate-dominating-file): Remove unused vars `prev-file' and `user'.
1641 (remote-file-name-inhibit-cache, revert-buffer): Clean up docstrings.
1642 (display-buffer-other-frame): Remove unused variable `old-window'.
1643 (kill-buffer-hook): Declare.
1644 (insert-file-contents-literally, set-auto-mode, risky-local-variable-p):
1645 Mark unused parameters.
1646 (after-find-file): Pass 1 to `auto-save-mode', not t.
1647
1648 * files-x.el (auto-insert): Declare.
1649 (modify-file-local-variable-prop-line): Remove unused variable `val'.
1650
1651 * find-lisp.el (find-lisp-find-dired-internal): Remove unused
bd0d2ee2 1652 variable `buf'. Mark unused parameter.
06b60517
JB
1653 (find-lisp-insert-directory): Mark unused parameter.
1654
1655 * format.el (format-decode-run-method): Mark unused parameter; doc fix.
1656 (format-encode-region): Remove unused variables `cur-buf' and `result'.
1657 (format-common-tail): Remove, unused.
1658 (format-deannotate-region): Remove unused variable `loc'.
1659 (format-annotate-region): Remove unused variable `p'.
1660 (format-annotate-single-property-change): Remove unused variables
1661 `default' and `tail'.
1662
1663 * forms.el (read-file-filter): Declare.
1664 (forms--iif-hook, forms--revert-buffer): Mark unused parameters.
1665
1666 * frame.el (frame-creation-function-alist): Mark unused parameter.
1667 (frame-geom-spec-cons): Pass FRAME to `frame-geom-value-cons'.
1668
1669 * hilit-chg.el (hilit-chg-cust-fix-changes-face-list, hilit-chg-clear):
1670 Remove unused parameters.
1671 (hilit-chg-set-face-on-change): Remove unused variable `beg-decr'.
1672 (highlight-compare-with-file): Remove unused variable `buf-b-read-only'.
1673
1674 * htmlfontify.el (hfy-default-footer, hfy-decor, hfy-invisible)
1675 (hfy-parse-tags-buffer, hfy-prepare-index-i, hfy-prepare-index)
1676 (hfy-prepare-tag-map): Mark unused parameters.
1677 (htmlfontify-buffer): Use `called-interactively-p'.
1678
1679 * ibuf-ext.el (ibuffer-do-kill-lines, ibuffer-jump-to-buffer)
1680 (ibuffer-copy-filename-as-kill, ibuffer-mark-on-buffer)
1681 (ibuffer-do-occur): Mark unused parameters.
1682 (ibuffer-forward-next-marked): Remove unused variable `curmark'.
1683 (ibuffer-diff-buffer-with-file-1): Remove unused variable `proc'.
1684
1685 * ibuffer.el: Don't quote `lambda'.
1686 (ibuffer-count-marked-lines, ibuffer-count-deletion-lines)
1687 (ibuffer-unmark-all, ibuffer-toggle-marks, ibuffer-redisplay-engine):
1688 Mark unused parameters.
1689
1690 * ido.el (ido-mode, ido-wide-find-dir-or-delete-dir)
1691 (ido-completing-read): Mark unused parameters.
1692 (ido-copy-current-word): Mark unused parameters;
1693 remove unused variable `name'.
1694 (ido-sort-merged-list): Remove unused parameter `dirs'.
1695
1696 * ielm.el (ielm-input-sender): Mark unused parameter.
1697 (ielm-string, ielm-form, ielm-pos, ielm-result, ielm-error-type)
1698 (ielm-output, ielm-wbuf, ielm-pmark): Declare.
1699 (ielm-eval-input): Rename argument IELM-STRING to INPUT-STRING to keep
1700 `ielm-string' as a dynamic variable accessible from the IELM prompt.
1701 Bind `ielm-string' to INPUT-STRING. Remove unused variable `err'.
1702
1703 * image-dired.el (image-dired-display-thumbs): Remove unused
1704 variables `curr-file' and `count'.
1705 (image-dired-remove-tag): Remove unused variable `start'.
1706 (image-dired-tag-files, image-dired-create-thumbs): Remove unused
1707 variable `curr-file'
1708 (image-dired-rotate-original): Remove unused variable `temp-file'.
1709 (image-dired-mouse-select-thumbnail, image-dired-mouse-toggle-mark):
1710 Remove unused variable `file'.
1711 (image-dired-gallery-generate): Remove unused variable `curr'.
1712 (image-dired-dired-edit-comment-and-tags): Mark unused parameters.
1713
1714 * indent.el (tab-to-tab-stop): Remove unused variable `opoint'.
1715
1716 * info-xref.el (info-xref-goto-node-p): Remove unused variable `err'.
1717
1718 * informat.el (texinfo-command-start, texinfo-command-end): Declare.
1719
1720 * isearch.el (minibuffer-history-symbol): Declare.
1721 (isearch-edit-string): Remove unused variable `err'.
1722 (isearch-message-prefix, isearch-message-suffix):
1723 Mark unused parameters.
1724
1725 * ls-lisp.el (ls-lisp-insert-directory): Remove unused variable `fil'.
1726
1727 * macros.el (insert-kbd-macro): Remove unused variable `mods'.
1728
1729 * makesum.el (double-column): Remove unused variable `cnt'.
1730
1731 * misearch.el (multi-isearch-pop-state): Mark unused parameter.
1732 (ido-ignore-item-temp-list): Declare.
1733
1734 * mouse-drag.el (mouse-drag-throw): Remove unused variables
1735 `mouse-delta', `window-last-row', `mouse-col-delta', `window-last-col',
1736 `adjusted-mouse-col-delta' and `adjusted-mouse-delta'.
1737 (mouse-drag-drag): Remove unused variables `mouse-delta' and
1738 `mouse-col-delta'.
1739
1740 * mouse-sel.el (mouse-extend-internal):
1741 Remove unused variable `orig-window-frame'.
1742
1743 * pcomplete.el (pcomplete-args, pcomplete-begins, pcomplete-last)
1744 (pcomplete-index, pcomplete-stub, pcomplete-seen, pcomplete-norm-func):
1745 Move declarations before first use.
1746 (pcomplete-opt): Mark unused parameters; doc fix.
1747
1748 * proced.el (proced-revert): Mark unused parameter.
1749 (proced-send-signal): Remove unused variable `err'.
1750
1751 * ps-print.el (ps-print-preprint-region, ps-print-preprint):
1752 Rename parameter PREFIX-ARG to ARG.
1753 (ps-basic-plot-string, ps-basic-plot-whitespace):
1754 Mark unused parameters.
1755
1756 * replace.el (replace-count): Define.
1757 (occur-revert-function): Mark unused parameters.
1758 (ido-ignore-item-temp-list, isearch-error, isearch-forward)
1759 (isearch-case-fold-search, isearch-string): Declare.
1760 (occur-engine): Rename parameter CASE-FOLD-SEARCH to CASE-FOLD and
1761 bind `case-fold-search'. Remove unused variables `beg' and `end',
1762 and simplify.
1763 (replace-eval-replacement): Rename parameter REPLACE-COUNT to
1764 COUNT and bind `replace-count'.
1765 (replace-loop-through-replacements): Rename parameter REPLACE-COUNT
1766 to COUNT.
1767
1768 * savehist.el (print-readably, print-string-length): Declare.
1769
1770 * shadowfile.el (shadow-expand-cluster-in-file-name):
1771 Remove unused variable `cluster'.
1772 (shadow-copy-file): Remove unused variable `i'.
1773 (shadow-noquery, shadow-clusters, shadow-site-cluster)
1774 (shadow-parse-fullname, shadow-parse-name, shadow-define-cluster)
1775 (shadow-define-literal-group, shadow-define-regexp-group)
1776 (shadow-make-group, shadow-shadows-of): Clean up docstrings.
1777
1778 * shell.el (shell-filter-ctrl-a-ctrl-b): Mark unused parameter.
1779 (shell): Use `called-interactively-p'.
1780 (shell-directory-tracker): Remove unused variable `chdir-failure'.
1781
1782 * simple.el (compilation-context-lines, comint-file-name-quote-list)
1783 (comint-file-name-chars, comint-delimiter-argument-list): Declare.
1784 (delete-backward-char): Remove unused variable `ocol'.
1785 (minibuffer-avoid-prompt, minibuffer-history-isearch-pop-state)
1786 (line-move-1, event-apply-alt-modifier, event-apply-super-modifier)
1787 (event-apply-hyper-modifier, event-apply-shift-modifier)
1788 (event-apply-control-modifier, event-apply-meta-modifier):
1789 Mark unused parameters.
1790 (undo-make-selective-list): Remove duplicate variable `undo-elt'.
1791 (normal-erase-is-backspace-mode): Remove unused variable `old-state'.
1792
1793 * speedbar.el (speedbar-ignored-directory-expressions)
1794 (speedbar-supported-extension-expressions, speedbar-directory-buttons)
1795 (speedbar-find-file, speedbar-dir-follow)
1796 (speedbar-directory-buttons-follow, speedbar-tag-find)
1797 (speedbar-buffer-buttons, speedbar-buffer-buttons-temp)
1798 (speedbar-buffers-line-directory, speedbar-buffer-click):
1799 Mark unused parameters.
1800 (speedbar-tag-file): Remove unused variable `mode'.
1801 (speedbar-buffers-tail-notes): Remove unused variable `mod'; simplify.
1802
1803 * strokes.el (strokes-decode-buffer): Remove unused variable `ext'.
1804
1805 * talk.el (talk): Remove unused variable `display'.
1806
1807 * tar-mode.el (tar-subfile-save-buffer): Remove unused variable `name'.
1808 (tar-write-region-annotate): Mark unused parameter.
1809
1810 * time.el (now, time, load, mail, 24-hours, hour, 12-hours, am-pm)
1811 (minutes, seconds, time-zone, day, year, monthname, month, dayname):
1812 Declare them, wrapped in `with-no-warnings' to avoid replacing one
1813 warning by another.
1814
1815 * time-stamp.el (time-stamp-string-preprocess):
1816 Remove unused variable `require-padding'.
1817
1818 * tree-widget.el (widget-glyph-enable): Declare.
1819 (tree-widget-action): Mark unused parameter.
1820
1821 * w32-fns.el (x-get-selection): Mark unused parameter.
1822 (autoload-make-program, generated-autoload-file): Declare.
1823
1824 * wdired.el (wdired-revert): Mark unused parameters.
1825 (wdired-xcase-word): Remove unused variable `err'.
1826
1827 * whitespace.el (whitespace-buffer-changed): Mark unused parameters.
1828 (whitespace-help-scroll): Remove unused variable `data-help'.
1829
1830 * wid-edit.el (widget-mouse-help, widget-overlay-inactive)
1831 (widget-image-insert, widget-after-change, default)
1832 (widget-default-format-handler, widget-default-notify)
1833 (widget-default-prompt-value, widget-info-link-action)
1834 (widget-url-link-action, widget-function-link-action)
1835 (widget-variable-link-action, widget-file-link-action)
1836 (widget-emacs-library-link-action, widget-emacs-commentary-link-action)
1837 (widget-field-prompt-internal, widget-field-action, widget-field-match)
1838 (widget-choice-mouse-down-action, toggle, widget-radio-button-notify)
1839 (widget-insert-button-action, widget-delete-button-action, visibility)
1840 (widget-documentation-link-action, widget-documentation-string-action)
1841 (widget-const-prompt-value, widget-regexp-match, symbol)
1842 (widget-coding-system-prompt-value)
1843 (widget-key-sequence-value-to-external, sexp)
1844 (widget-sexp-value-to-internal, character, vector, cons)
1845 (widget-choice-prompt-value, widget-boolean-prompt-value)
1846 (widget-color--choose-action): Mark unused parameters.
1847 (widget-item-match-inline, widget-choice-match-inline)
1848 (widget-checklist-match, widget-checklist-match-inline)
1849 (widget-group-match): Rename parameter VALUES to VALS.
1850 (widget-field-value-set): Remove unused variable `size'.
1851 (widget-color-action): Remove unused variables `value' and `start'.
1852
1853 * windmove.el (windmove-wrap-loc-for-movement): Remove unused
bd0d2ee2 1854 variable `dir'. Doc fix.
06b60517
JB
1855 (windmove-find-other-window): Don't pass it.
1856
1857 * window.el (count-windows): Mark unused parameter.
1858 (bw-adjust-window): Remove unused variable `err'.
1859
1860 * woman.el (woman-file-name): Remove unused variable `default'.
1861 (woman-expand-directory-path): Rename parameters WOMAN-MANPATH and
1862 WOMAN-PATH to PATH-DIRS and PATH-REGEXPS, respectively.
1863 (global-font-lock-mode): Declare.
1864 (woman-decode-region): Mark unused parameter.
1865 (woman-get-tab-stop): Rename parameter TAB-STOP-LIST to TAB-STOPS.
1866
1867 * x-dnd.el (x-dnd-default-test-function, x-dnd-handle-old-kde)
1868 (x-dnd-handle-xdnd, x-dnd-handle-motif): Mark unused parameters.
1869 (x-dnd-handle-moz-url): Remove unused variable `title'.
1870 (x-dnd-handle-xdnd): Remove unused variables `x', `y' and `ret-action'.
1871
1872 * xml.el (xml-parse-tag, xml-parse-attlist):
1873 Remove unused variable `pos'.
1874
bc4f7f3d
GM
18752011-04-19 Glenn Morris <rgm@gnu.org>
1876
1877 * calendar/cal-tex.el (cal-tex-list-holidays, cal-tex-cursor-month)
1878 (cal-tex-cursor-week, cal-tex-cursor-week2, cal-tex-cursor-week-iso)
1879 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
1880 (cal-tex-cursor-filofax-daily, cal-tex-mini-calendar)
1881 * calendar/cal-html.el (cal-html-insert-minical):
1882 * calendar/diary-lib.el (diary-list-entries-1, diary-list-entries)
1883 (calendar-mark-date-pattern):
1884 Prefix "unused" locals.
1885
1886 * calendar/cal-dst.el (dst-adjust-time): Remove never-implemented
1887 optional argument `style'.
1888
1889 * calendar/appt.el (appt-make-list):
1890 * calendar/cal-china.el (calendar-chinese-date-string):
1891 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits)
1892 (diary-hebrew-yahrzeit):
1893 * calendar/cal-tex.el (cal-tex-last-blank-p, cal-tex-cursor-week2):
1894 * calendar/calendar.el (calendar-generate-window):
1895 * calendar/time-date.el (time-to-days):
1896 Remove unused local variables.
1897
16a43933
CY
18982011-04-18 Chong Yidong <cyd@stupidchicken.com>
1899
1900 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Use a custom
1901 glyphless-char-display table.
1902 (tabulated-list-glyphless-char-display): New var.
1903
7eed1860
SS
19042011-04-18 Sam Steingold <sds@gnu.org>
1905
1906 * vc/add-log.el (change-log-font-lock-keywords): Add "Thanks to"
1907 to acknowledgments.
1908
4d2d1ccd
GM
19092011-04-17 Glenn Morris <rgm@gnu.org>
1910
1911 * calendar/diary-lib.el (diary-sexp-entry):
1912 * calendar/holidays.el (holiday-sexp):
1913 Set debug-on-error rather than the removed stack-trace-on-error.
1914
239da61d
GM
19152011-04-16 Glenn Morris <rgm@gnu.org>
1916
1917 * progmodes/f90.el: Use lexical-binding.
1918 (f90-get-correct-indent): Remove unnecessary local variable `cont'.
1919
8b05752a
SM
19202011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
1921
daca8ba5
SM
1922 * mail/sendmail.el (mail-mode-map): Use completion-at-point.
1923 (mail-mode): Setup mailalias completion here instead.
1924 * mail/mailalias.el: Use lexical-binding.
1925 (pattern, mailalias-done): Declare dynamic.
1926 (mail-completion-at-point-function): New function, from mail-complete.
1927 (mail-complete): Use it.
1928 (mail-completion-expand): New function.
1929 (mail-get-names): Use it.
1930 (mail-directory, mail-directory-process, mail-directory-stream):
1931 Don't use `pattern' for lexically bound arg.
1932
6f542485
SM
1933 * emacs-lisp/lisp-mode.el (eval-defun-2): Use eval-sexp-add-defvars.
1934
037e7c3f
SM
1935 * htmlfontify.el (hfy-etags-cmd): Remove inoperant eval-and-compile.
1936 (hfy-e2x-etags-cmd, hfy-etags-cmd-alist-default)
1937 (hfy-etags-cmd-alist): Don't eval-and-compile any more.
1938
8b05752a
SM
1939 * emacs-lisp/bytecomp.el (byte-temp-output-buffer-show)
1940 (byte-save-window-excursion, byte-temp-output-buffer-setup)
1941 (byte-interactive-p): Define them again, for use when inlining
1942 old code.
1943
49093f60
JB
19442011-04-15 Juanma Barranquero <lekktu@gmail.com>
1945
1946 * loadup.el: Use `string-to-number', not `string-to-int'.
1947
b5b8e7de
SM
19482011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
1949
1950 * progmodes/gud.el (gud-gdb): Use completion-at-point instead of
1951 gud-gdb-complete-command.
1952 (gud-gdb-completions): New function, from gud-gdb-complete-command.
1953 (gud-gdb-completion-at-point): New function.
1954 (gud-gdb-completions): Remove.
1955
f42efeb5
MA
19562011-04-14 Michael Albinus <michael.albinus@gmx.de>
1957
49093f60
JB
1958 * net/tramp-sh.el (tramp-sh-handle-file-attributes): Handle the case
1959 when the scripts fail. Use `tramp-do-file-attributes-with-ls' then.
1960 (tramp-do-copy-or-rename-file-out-of-band): Do not check any longer
1961 whether `executable-find' is bound.
f42efeb5
MA
1962
1963 * net/tramp-smb.el (tramp-smb-handle-copy-file): Fix docstring.
1964
e240cc21
SM
19652011-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
1966
1967 * minibuffer.el (completion-in-region-mode-predicate)
1968 (completion-in-region-mode--predicate): New vars.
1969 (completion-in-region, completion-in-region--postch)
1970 (completion-in-region-mode): Use them.
1971 (completion--capf-wrapper): Also return the hook function.
1972 (completion-at-point, completion-help-at-point):
1973 Adjust and provide a predicate.
c2bd2ab0
SM
1974
1975 Preserve arg names for advice of subr and lexical functions (bug#8457).
1976 * help-fns.el (help-function-arglist): Consolidate the subr and
1977 new-byte-code cases. Add argument `preserve-names' to extract names
1978 from the docstring when needed.
1979 * emacs-lisp/advice.el (ad-define-subr-args, ad-undefine-subr-args)
1980 (ad-subr-args-defined-p, ad-get-subr-args, ad-subr-arglist): Remove.
1981 (ad-arglist): Use help-function-arglist's new arg.
1982 (ad-definition-type): Use cond.
1983
c183f693
JB
19842011-04-13 Juanma Barranquero <lekktu@gmail.com>
1985
06641a47
JB
1986 * autorevert.el (auto-revert-handler):
1987 Bind `remote-file-name-inhibit-cache', not `tramp-cache-inhibit-cache',
1988 which was removed in 2010-10-02T13:21:43Z!michael.albinus@gmx.de.
1989 Don't quote lambda.
1990
c183f693
JB
1991 * image-mode.el (image-transform-set-scale):
1992 Fix change in 2011-04-09T20:28:01Z!cyd@stupidchicken.com.
1993
1e3b6001
G
19942011-04-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
1995
1996 * net/network-stream.el (network-stream-open-starttls): Only do
1997 opportunistic STARTTLS upgrades if we have built-in gnutls support.
1998 Upgrades via gnutls-cli are too slow to be done opportunistically.
1999
2d6af8dd
JB
20002011-04-12 Juanma Barranquero <lekktu@gmail.com>
2001
2002 * dframe.el (dframe-current-frame): Remove spurious quote.
2003
c0749a51
GM
20042011-04-12 Glenn Morris <rgm@gnu.org>
2005
088d0d61
GM
2006 * calendar/cal-tex.el (cal-tex-end-document):
2007 Try to automatically use latin1 input if needed.
2008
c0749a51
GM
2009 * calendar/cal-hebrew.el (diary-hebrew-rosh-hodesh):
2010 Don't try to cons a mark onto an empty element.
2011
5c90fde0
LL
20122011-04-11 Leo Liu <sdl.web@gmail.com>
2013
2014 * ido.el (ido-buffer-internal): Allow method 'kill for virtual
2015 buffers.
2016 (ido-kill-buffer-at-head): Support killing virtual buffers.
2017
369e974d
CY
20182011-04-10 Chong Yidong <cyd@stupidchicken.com>
2019
2020 * minibuffer.el (completion-show-inline-help): New var.
2021 (completion--do-completion, minibuffer-complete)
daca8ba5
SM
2022 (minibuffer-force-complete, minibuffer-complete-word):
2023 Inhibit minibuffer messages if completion-show-inline-help is nil.
369e974d
CY
2024
2025 * icomplete.el (icomplete-mode): Bind completion-show-inline-help
2026 to avoid interference from inline help (Bug#5849).
2027
37f1c930
LL
20282011-04-10 Leo Liu <sdl.web@gmail.com>
2029
099c39a4
JB
2030 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
2031 Fix typo.
37f1c930 2032
a32d4040
CY
20332011-04-09 Chong Yidong <cyd@stupidchicken.com>
2034
2035 * image-mode.el (image-toggle-display-image): Signal an error if
2036 not in Image mode.
2037 (image-transform-mode, image-transform-resize)
2038 (image-transform-set-rotation): Doc fix.
daca8ba5 2039 (image-transform-set-resize): Delete.
a32d4040
CY
2040 (image-transform-set-scale, image-transform-fit-to-height)
2041 (image-transform-fit-to-width): Handle image-toggle-display-image
2042 and image-transform-resize directly.
2043
099c39a4 20442011-04-08 Sho Nakatani <lay.sakura@gmail.com>
d7b89879
TH
2045
2046 * doc-view.el (doc-view-fit-width-to-window)
099c39a4
JB
2047 (doc-view-fit-height-to-window, doc-view-fit-page-to-window):
2048 New functions for fitting the shown image to the Emacs window size.
d7b89879
TH
2049 (doc-view-mode-map): Add bindings for the new functions.
2050
099c39a4 20512011-04-08 Juanma Barranquero <lekktu@gmail.com>
ddc20cdb
JB
2052
2053 * vc-annotate.el (vc-annotate-show-log-revision-at-line):
2054 Fix typo in docstring.
2055
3726838a
EZ
20562011-04-08 Eli Zaretskii <eliz@gnu.org>
2057
04f33f1e
EZ
2058 * files.el (file-size-human-readable): Produce one digit after
2059 decimal, like "ls -lh" does.
2060
2061 * ls-lisp.el (ls-lisp-format-file-size): Allow for 7 characters in
2062 the file size representation.
2063
3726838a
EZ
2064 * simple.el (list-processes): If async subprocesses are not
2065 available, error out with a clear error message.
2066
cbb59342
CY
20672011-04-08 Chong Yidong <cyd@stupidchicken.com>
2068
2069 * help.el (help-form-show): New function, to be called from C.
2070 Put help-form output in a buffer named differently than *Help*.
2071
e3971c44
EZ
20722011-04-08 Eli Zaretskii <eliz@gnu.org>
2073
2074 * files.el (file-size-human-readable): New function.
2075
2076 * ls-lisp.el (ls-lisp-format-file-size): Use it, instead of
2077 computing the representation inline. Don't require `cl'.
2078
12544bbe
GM
20792011-04-08 Glenn Morris <rgm@gnu.org>
2080
a1de6c6a
GM
2081 * man.el (Man-page-header-regexp): Solaris < 2.6 no longer supported.
2082
3c4671f4
GM
2083 * net/browse-url.el (browse-url-firefox):
2084 Test system-type, not system-configuration.
2085
b605679c
GM
2086 * vc/log-edit.el (log-edit-empty-buffer-p): New function.
2087 (log-edit-insert-cvs-template, log-edit-insert-cvs-rcstemplate):
2088 Use log-edit-empty-buffer-p. (Bug#7598)
2089
56442f0c
GM
2090 * net/rlogin.el (rlogin-process-connection-type): Simplify.
2091 (rlogin-mode-map): Initialize in the defvar.
2092 (rlogin): Use ignore-errors.
2093
12544bbe
GM
2094 * replace.el (occur-mode-map): Some fixes for menu items.
2095
eb237b0f
AH
20962011-04-07 Aaron S. Hawley <aaron.s.hawley@gmail.com>
2097
2098 * play/morse.el (denato-region): Handle varying case. (Bug#8386)
2099
7d668f2c
CY
21002011-04-06 Chong Yidong <cyd@stupidchicken.com>
2101
e67a13ab
CY
2102 * emacs-lisp/cconv.el (cconv--analyse-use): Ignore "ignored" when
2103 issuing unused warnings.
2104
2105 * emacs-lisp/tabulated-list.el (tabulated-list-print): Use lambda
2106 macro directly.
2107
7d668f2c
CY
2108 * simple.el: Lisp reimplement of list-processes. Based on an
2109 earlier reimplementation by Leo Liu, but using tabulated-list.el.
2110 (process-menu-mode): New major mode.
2111 (list-processes--refresh, list-processes):
2112 (process-menu-visit-buffer): New functions.
2113
2114 * files.el (save-buffers-kill-emacs): Don't assume any return
2115 value of list-processes, which is undocumented anyway.
2116
a83ec3c9
CY
21172011-04-06 Chong Yidong <cyd@stupidchicken.com>
2118
2119 * emacs-lisp/tabulated-list.el: New file.
2120
e91a96fe
CY
2121 * emacs-lisp/package.el: Use Tabulated List mode.
2122 (package-menu-mode-map): Inherit from tabulated-list-mode-map.
2123 (package-menu-mode): Derive from tabulated-list-mode. Set up the
2124 table format using Tabulated List mode variables.
2125 (package--push): New macro, replacing package-list-maybe-add.
2126 (package-menu--generate): Use package--push. Renamed from
2127 package--generate-package-list.
2128 (package-menu-refresh, list-packages): Use it.
daca8ba5 2129 (package-menu--print-info): Rename from package-print-package.
e91a96fe 2130 Return insertion data instead of inserting it directly.
099c39a4
JB
2131 (package-menu-describe-package, package-menu-execute):
2132 Use tabulated-list-get-id.
e91a96fe
CY
2133 (package-menu-mark-delete, package-menu-mark-install)
2134 (package-menu-mark-unmark, package-menu-backup-unmark)
099c39a4
JB
2135 (package-menu-mark-obsolete-for-deletion):
2136 Use tabulated-list-put-tag.
e91a96fe
CY
2137 (package--list-packages, package-menu-revert)
2138 (package-menu-get-package, package-menu-get-version)
2139 (package-menu-sort-by-column): Functions deleted.
2140 (package-menu-package-list, package-menu-sort-key): Vars deleted.
2141 (package-menu--status-predicate, package-menu--version-predicate)
2142 (package-menu--name-predicate)
2143 (package-menu--description-predicate): Handle arguments in the
2144 Tabulated List format.
2145 (package-list-packages-no-fetch): Call list-packages.
2146
3e214b50
JB
21472011-04-06 Juanma Barranquero <lekktu@gmail.com>
2148
2149 * files.el (after-find-file-from-revert-buffer): Remove variable.
c9d0ec6d 2150 (after-find-file): Don't bind it.
3e214b50
JB
2151 (revert-buffer-in-progress-p): New variable.
2152 (revert-buffer): Bind it.
2153 Pass nil for `after-find-file-from-revert-buffer'.
2154
2155 * saveplace.el (save-place-find-file-hook): Use new variable
2156 `rever-buffer-in-progress-p', not `after-find-file-from-revert-buffer'.
2157
3f0f1700
GM
21582011-04-06 Glenn Morris <rgm@gnu.org>
2159
c0274801
GM
2160 * Makefile.in (AUTOGEN_VCS): New variable.
2161 (autoloads): Use $AUTOGEN_VCS.
2162
3f0f1700
GM
2163 * calendar/cal-move.el (calendar-scroll-toolkit-scroll): New function.
2164 * calendar/calendar.el (calendar-mode-map):
2165 Check for toolkit scroll bars. (Bug#8305)
2166
41ea9e48
CY
21672011-04-05 Chong Yidong <cyd@stupidchicken.com>
2168
2169 * minibuffer.el (completion-in-region--postch)
2170 (completion-in-region-mode): Remove unnecessary messages.
2171
6194c800
JB
21722011-04-05 Juanma Barranquero <lekktu@gmail.com>
2173
33256f14
JB
2174 * font-lock.el (font-lock-refresh-defaults):
2175 Don't bind `hi-lock--inhibit-font-lock-hook', removed in
2176 2010-10-09T04:09:19Z!cyd@stupidchicken.com and 2010-10-11T23:57:49Z!lekktu@gmail.com (2010-10-12).
2177
6194c800
JB
2178 * info.el (Info-directory-list, Info-read-node-name-2)
2179 (Info-split-parameter-string): Doc fixes.
2180 (Info-virtual-nodes): Reflow docstring.
2181 (Info-find-file, Info-directory-toc-nodes, Info-history-toc-nodes)
2182 (Info-apropos-toc-nodes, info-finder, Info-get-token)
2183 (Info-find-emacs-command-nodes, Info-speedbar-key-map):
2184 Fix typos in docstrings.
2185 (Info-revert-buffer-function, Info-search, Info-isearch-pop-state)
2186 (Info-speedbar-hierarchy-buttons, Info-speedbar-goto-node)
2187 (Info-speedbar-buttons, Info-desktop-buffer-misc-data)
2188 (Info-restore-desktop-buffer): Mark unused parameters.
2189 (Info-directory-find-file, Info-directory-find-node)
2190 (Info-history-find-file, Info-history-find-node, Info-toc-find-node)
2191 (Info-virtual-index-find-node, Info-apropos-find-file)
2192 (Info-apropos-find-node, Info-finder-find-file, Info-finder-find-node):
33256f14 2193 Mark unused parameters; fix typos in docstrings.
6194c800
JB
2194 (Info-virtual-index): Remove unused local variable `nodename'.
2195
b87a8200 21962011-04-05 Deniz Dogan <deniz@dogan.se>
0f6ee7d2 2197
b87a8200
DD
2198 * net/rcirc.el: Update my e-mail address.
2199 (rcirc-mode-map): Remove M-o binding.
0f6ee7d2 2200
3b2ff876
CY
22012011-04-05 Chong Yidong <cyd@stupidchicken.com>
2202
2203 * startup.el (command-line): Save the cursor's theme-face
2204 directly, instead of using face-override-spec.
2205
2206 * custom.el (load-theme): Minor optimization in assigning faces.
2207
8d17e7ca
JB
22082011-04-04 Juanma Barranquero <lekktu@gmail.com>
2209
2210 * help-fns.el (describe-variable): Complete all variables having
2211 documentation, including keywords.
2212 http://lists.gnu.org/archive/html/emacs-devel/2011-04/msg00112.html
2213
2fbc1934
JB
22142011-04-04 Juanma Barranquero <lekktu@gmail.com>
2215
2216 Convert to lexical-binding.
2217
2218 * bs.el (bs-refresh, bs-sort-buffer-interns-are-last)
2219 (bs--get-marked-string, bs--get-modified-string)
2220 (bs--get-readonly-string, bs--get-size-string, bs--get-name)
2221 (bs--get-mode-name, bs--get-file-name): Mark unused arguments.
2222 (bs--configuration-name-for-prefix-arg): Rename argument PREFIX-ARG.
2223
2224 * ehelp.el (electric-help-execute-extended)
2225 (electric-help-ctrl-x-prefix):
2226 * hexl.el (hexl-revert-buffer-function):
2227 * linum.el (linum-after-change, linum-after-scroll):
2228 * emacs-lisp/re-builder.el (reb-auto-update): Mark unused arguments.
2229
2230 * help-fns.el (help-describe-category-set): Remove unused ERR variable.
2231
74f50695
DU
22322011-04-04 Daiki Ueno <ueno@unixuser.org>
2233
2234 * epa-dired.el:
2235 * epa-mail.el:
2236 * epa-hook.el:
2237 * epa-file.el:
2238 * epa.el:
2239 * epg.el: Use lexical binding.
2240
c11325f7
CY
22412011-04-03 Chong Yidong <cyd@stupidchicken.com>
2242
0d9e9a12
CY
2243 * dired-aux.el (dired-create-files): Add docstring (Bug#7970).
2244
c11325f7 2245 * textmodes/flyspell.el (flyspell-word): Recognize default
daca8ba5
SM
2246 dictionary case for flyspell-mark-duplications-exceptions.
2247 Use regexp matching for languages.
c11325f7
CY
2248 (flyspell-mark-duplications-exceptions): Add "that" and "had" for
2249 default dictionary (Bug#7926).
2250
da91b5f2
CY
22512011-04-02 Chong Yidong <cyd@stupidchicken.com>
2252
099c39a4
JB
2253 * emacs-lisp/package.el (package--with-work-buffer):
2254 Recognize https URLs.
da91b5f2 2255
099c39a4
JB
2256 * net/network-stream.el: Move from gnus/proto-stream.el.
2257 Change prefix to network-stream throughout.
da91b5f2
CY
2258 (open-protocol-stream): Merge into open-network-stream, leaving
2259 open-protocol-stream as an alias. Handle nil BUFFER args.
2260
2261 * subr.el (open-network-stream): Move to net/network-stream.el.
2262
afa8e9f6
GM
22632011-04-02 Glenn Morris <rgm@gnu.org>
2264
1d2e369d
GM
2265 * find-dired.el (find-exec-terminator): New option.
2266 (find-ls-option): Test for -ls support.
2267 (find-ls-subdir-switches): Test for -b in find-ls-option.
2268 (find-dired, find-grep-dired): Doc fixes.
2269 (find-dired): Use find-exec-terminator.
2270
8abb7da8 2271 * find-dired.el (find-ls-option, find-ls-subdir-switches)
e7a395b5
GM
2272 (find-grep-options): Do not autoload these defcustoms, remove purecopy.
2273 (find-name-arg): Remove purecopy.
8abb7da8 2274
f3ca7378
GM
2275 * progmodes/grep.el (grep-find-use-xargs): Doc fix.
2276 (grep-compute-defaults): Check for `-exec COMMAND +' support.
2277 Set grep-find-use-xargs, grep-find-command, and grep-find-template
2278 accordingly. Don't add the null-device if not needed.
2279
afa8e9f6
GM
2280 * files.el (save-some-buffers): Doc fix.
2281
35eae264
EZ
22822011-04-02 Eli Zaretskii <eliz@gnu.org>
2283
2284 * makefile.w32-in (EMACS): Default to ../src/$(BLD)/emacs.exe.
2285
26b51db5
JB
22862011-04-01 Juanma Barranquero <lekktu@gmail.com>
2287
2288 * progmodes/idlwave.el (idlwave-one-key-select, idlwave-list-abbrevs):
2289 Use `dolist' rather than `mapcar'.
2290
7200d79c
SM
22912011-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
2292
03408648 2293 Add lexical binding.
7200d79c 2294
03408648
SM
2295 * subr.el (apply-partially): Use new closures rather than CL.
2296 (--dolist-tail--, --dotimes-limit--): Don't declare dynamic.
2297 (dolist, dotimes): Use slightly different expansion for lexical code.
2298 (functionp): Move to C.
2299 (letrec): New macro.
2300 (with-wrapper-hook): Use it and apply-partially instead of CL.
2301 (eval-after-load): Preserve lexical-binding.
2302 (save-window-excursion, with-output-to-temp-buffer): Turn them
2303 into macros.
7200d79c 2304
03408648
SM
2305 * simple.el (with-wrapper-hook, apply-partially): Move to subr.el.
2306
2307 * help-fns.el (help-split-fundoc): Return nil if there's nothing else
2308 than the arglist.
2309 (help-add-fundoc-usage): Don't add `Not documented'.
2310 (help-function-arglist): Handle closures, subroutines, and new
2311 byte-code-functions.
2312 (help-make-usage): Remove leading underscores.
2313 (describe-function-1): Handle closures.
2314 (describe-variable): Use special-variable-p for completion.
2315
2316 * files.el (lexical-binding): Declare safe.
f488fb65 2317
03408648
SM
2318 * emacs-lisp/pcase.el: Don't use destructuring-bind.
2319 (pcase--memoize): Rename from pcase-memoize. Change weakness.
2320 (pcase): Add `let' pattern.
2321 Change memoization so it actually works.
2322 (pcase-mutually-exclusive-predicates): Add byte-code-function-p.
2323 (pcase--u1) <guard, pred>: Fix possible shadowing problem.
2324 <let>: New case.
f488fb65 2325
03408648
SM
2326 * emacs-lisp/macroexp.el: Use lexical binding.
2327 (macroexpand-all-1): Check obsolete macros. Expand compiler-macros.
2328 Don't convert ' to #' without checking that it's indeed quoting
2329 a lambda.
2330
2331 * emacs-lisp/lisp-mode.el (eval-last-sexp-1):
f488fb65 2332 Use eval-sexp-add-defvars.
03408648
SM
2333 (eval-sexp-add-defvars): New fun.
2334
2335 * emacs-lisp/float-sup.el (pi): Don't declare as dynamically bound.
2336
2337 * emacs-lisp/eieio.el (byte-compile-file-form-defmethod):
2338 Don't autoload.
2339 (eieio-defgeneric-form-primary-only-one): Use `byte-compile' rather
2340 than the internal `byte-compile-lambda'.
2341 (defmethod): Don't hide code under quotes.
2342 (eieio-defmethod): New `code' argument.
2343
2344 * emacs-lisp/eieio-comp.el: Remove.
2345
2346 * emacs-lisp/edebug.el (edebug-eval-defun)
2347 (edebug-eval-top-level-form): Use eval-sexp-add-defvars.
2348 (edebug-toggle): Avoid `eval'.
2349
2350 * emacs-lisp/disass.el (disassemble-internal): Handle new
2351 `closure' objects.
2352 (disassemble-1): Handle new byte codes.
2353
2354 * emacs-lisp/cl.el (pushnew): Silence warning.
2355
2356 * emacs-lisp/cl-macs.el (cl-byte-compile-block)
2357 (cl-byte-compile-throw): Remove.
2358 (cl-block-wrapper, cl-block-throw): Use compiler-macros instead.
2359
2360 * emacs-lisp/cl-extra.el (cl-macroexpand-all): Properly quote CL
2361 closures.
2362
2363 * emacs-lisp/cconv.el: New file.
2364
2365 * emacs-lisp/bytecomp.el: Use lexical binding instead of
2366 a "bytecomp-" prefix. Macroexpand everything as a separate phase.
2367 (byte-compile-initial-macro-environment):
2368 Handle declare-function here.
2369 (byte-compile--lexical-environment): New var.
2370 (byte-stack-ref, byte-stack-set, byte-discardN)
2371 (byte-discardN-preserve-tos): New lap codes.
2372 (byte-interactive-p): Don't use any more.
2373 (byte-compile-push-bytecodes, byte-compile-push-bytecode-const2):
2374 New macros.
2375 (byte-compile-lapcode): Use them and handle new lap codes.
2376 (byte-compile-obsolete): Remove.
2377 (byte-compile-arglist-signature): Handle new byte-code arg"lists".
2378 (byte-compile-arglist-warn): Check late def of inlinable funs.
2379 (byte-compile-cl-warn): Don't silence warnings for compiler-macros
2380 since they should have been expanded by now.
2381 (byte-compile--outbuffer): Rename from bytecomp-outbuffer.
2382 (byte-compile-from-buffer): Remove unused second arg.
2383 (byte-compile-preprocess): New function.
2384 (byte-compile-toplevel-file-form): New function to distinguish
2385 file-form calls from outside from file-form calls from hunk-handlers.
2386 (byte-compile-file-form): Simplify.
2387 (byte-compile-file-form-defsubst): Remove.
2388 (byte-compile-file-form-defmumble): Simplify now that
2389 byte-compile-lambda always returns a byte-code-function.
2390 (byte-compile): Preprocess.
2391 (byte-compile-byte-code-maker, byte-compile-byte-code-unmake):
2392 Remove, not used any more.
2393 (byte-compile-arglist-vars, byte-compile-make-lambda-lexenv)
2394 (byte-compile-make-args-desc): New funs.
2395 (byte-compile-lambda): Handle lexical functions. Always return
2396 a byte-code-function.
2397 (byte-compile-reserved-constants): New var, to make up room for
2398 closed-over variables.
2399 (byte-compile-constants-vector): Obey it.
2400 (byte-compile-top-level): New args `lexenv' and `reserved-csts'.
2401 (byte-compile-macroexpand-declare-function): New function.
2402 (byte-compile-form): Call byte-compile-unfold-bcf to inline immediate
2403 byte-code-functions.
2404 (byte-compile-form): Check obsolescence here.
2405 (byte-compile-inline-lapcode, byte-compile-unfold-bcf): New functions.
2406 (byte-compile-variable-ref): Remove.
2407 (byte-compile-dynamic-variable-op): New fun.
2408 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
2409 (byte-compile-variable-set): New funs.
2410 (byte-compile-discard): Add 2 args.
2411 (byte-compile-stack-ref, byte-compile-stack-set)
2412 (byte-compile-make-closure, byte-compile-get-closed-var): New funs.
2413 (byte-compile-funarg, byte-compile-funarg-2): Remove, handled in
2414 macroexpand-all instead.
2415 (byte-compile-quote-form): Remove.
2416 (byte-compile-push-binding-init, byte-compile-not-lexical-var-p)
2417 (byte-compile-bind, byte-compile-unbind): New funs.
2418 (byte-compile-let): Handle let* and lexical binding.
2419 (byte-compile-let*): Remove.
2420 (byte-compile-catch, byte-compile-unwind-protect)
2421 (byte-compile-track-mouse, byte-compile-condition-case):
2422 Handle a new :fun-body form, used for lexical scoping.
2423 (byte-compile-save-window-excursion)
2424 (byte-compile-with-output-to-temp-buffer): Remove.
2425 (byte-compile-defun): Simplify.
2426 (byte-compile-stack-adjustment): New fun.
2427 (byte-compile-out): Use it.
2428 (byte-compile-refresh-preloaded): Don't reload byte-compiler files.
2429
2430 * emacs-lisp/byte-run.el (make-obsolete): Don't set the `byte-compile'
2431 handler any more.
2432
2433 * emacs-lisp/byte-opt.el: Use lexical binding.
2434 (byte-inline-lapcode): Remove (to bytecomp).
2435 (byte-compile-inline-expand): Pay attention to inlining to/from
2436 lexically bound code.
2437 (byte-compile-unfold-lambda): Don't handle byte-code-functions
2438 any more.
2439 (byte-optimize-form-code-walker): Don't handle save-window-excursion
2440 any more and don't call compiler-macros.
2441 (byte-compile-splice-in-already-compiled-code): Remove.
2442 (byte-code): Don't inline any more.
2443 (disassemble-offset): Receive `bytes' as argument rather than via
2444 dynamic scoping.
2445 (byte-compile-tag-number): Declare before first use.
2446 (byte-decompile-bytecode-1): Handle new byte-codes, don't change
2447 `return' even if make-spliceable.
2448 (byte-compile-side-effect-and-error-free-ops): Add stack-ref, remove
2449 obsolete interactive-p.
2450 (byte-optimize-lapcode): Optimize new lap-codes.
2451 Don't trip up on new form of `byte-constant' lap code.
2452
2453 * emacs-lisp/autoload.el (make-autoload): Don't burp on trivial macros.
2454
2455 * emacs-lisp/advice.el (ad-arglist): Use help-function-arglist.
2456
2457 * custom.el (custom-initialize-default, custom-declare-variable):
2458 Use `defvar'.
2459
2460 * Makefile.in (BIG_STACK_DEPTH, BIG_STACK_OPTS, BYTE_COMPILE_FLAGS):
2461 New variables.
2462 (compile-onefile, .el.elc, compile-calc, recompile): Use them.
2463 (COMPILE_FIRST): Add macroexp and cconv.
2464 * makefile.w32-in: Mirror changes in Makefile.in.
2465
2466 * vc/cvs-status.el:
2467 * vc/diff-mode.el:
2468 * vc/log-edit.el:
2469 * vc/log-view.el:
2470 * vc/smerge-mode.el:
2471 * textmodes/bibtex-style.el:
2472 * textmodes/css.el:
2473 * startup.el:
2474 * uniquify.el:
da91b5f2
CY
2475 * minibuffer.el:
2476 * newcomment.el:
2477 * reveal.el:
2478 * server.el:
2479 * mpc.el:
2480 * emacs-lisp/smie.el:
2481 * doc-view.el:
2482 * dired.el:
03408648
SM
2483 * abbrev.el: Use lexical binding.
2484
0f0c1f27
EZ
24852011-04-01 Eli Zaretskii <eliz@gnu.org>
2486
2487 * info.el (info-display-manual): New function.
2488
c82b2579
SM
24892011-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
2490
2491 * loadup.el: Load minibuffer after loaddefs, to use define-minor-mode.
2492
221ddf68
TH
24932011-03-31 Tassilo Horn <tassilo@member.fsf.org>
2494
2495 * net/rcirc.el (rcirc-handler-001): Only authenticate, if there's
2fbc1934 2496 an entry for that server in rcirc-authinfo. (Bug#8385)
221ddf68 2497
cba6e77e
GM
24982011-03-31 Glenn Morris <rgm@gnu.org>
2499
e040639f
GM
2500 * progmodes/f90.el (f90-find-tag-default): Handle multiple `%'.
2501
cba6e77e
GM
2502 * generic-x.el (etc-fstab-generic-mode): Add ext4, sysfs keywords.
2503
6d0f1c9e
CS
25042011-03-30 Christoph Scholtes <cschol2112@googlemail.com>
2505
2506 * progmodes/python.el (python-default-interpreter)
2507 (python-python-command-args, python-jython-command-args)
2508 (python-which-shell, python-which-args, python-which-bufname)
2509 (python-file-queue, python-comint-output-filter-function)
2510 (python-toggle-shells, python-shell): Remove obsolete defcustoms,
2511 variables and functions.
2512
3e2d70fd
SM
25132011-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
2514
2515 * minibuffer.el (completion-table-dynamic): Optimize `boundaries'.
2516 (completion-in-region-mode): New minor mode.
2517 (completion-in-region): Use it.
2518 (completion-in-region--data, completion-in-region-mode-map): New vars.
2519 (completion-in-region--postch): New function.
2520 (completion--capf-misbehave-funs, completion--capf-safe-funs):
2521 New vars.
2522 (completion--capf-wrapper): New function.
2523 (completion-at-point): Use it to track well-behavedness of
2524 hook functions.
2525 (completion-help-at-point): New command.
2526
f3e4086c
JM
25272011-03-30 Jason Merrill <jason@redhat.com> (tiny change)
2528
2529 * vc/add-log.el (add-change-log-entry): Don't use whitespace
2530 syntax class to search for whitespace on a single line
2531 (Message-ID: <4D938140.4030905@redhat.com>).
2532
eb7ffc14
LL
25332011-03-30 Leo Liu <sdl.web@gmail.com>
2534
2535 * abbrev.el (abbrev-edit-save-to-file, abbrev-edit-save-buffer):
2536 New commands.
2537 (edit-abbrevs-map): Bind them here.
2538 (write-abbrev-file): New optinal arg VERBOSE. (Bug#5937)
2539
d806ab68
KM
25402011-03-29 Ken Manheimer <ken.manheimer@gmail.com>
2541
2542 * allout.el (allout-hide-by-annotation, allout-flag-region):
2543 Reduce possibility of overlay leakage by making them volatile.
2544
2545 * allout-widgets.el (allout-widgets-tally): Define as nil so the
2546 hash is not shared between buffers. Mode initialization is
2547 responsible for giving it a useful starting value.
2548 (allout-item-span): Reduce possibility of overlay leakage by
2549 making them volatile.
2550 (allout-widgets-count-buttons-in-region): Add diagnostic function
2551 for tracking down button overlay leaks.
2552
ea622834
LL
25532011-03-29 Leo Liu <sdl.web@gmail.com>
2554
2555 * ido.el (ido-read-internal): Use the default history var
2556 minibuffer-history if no HISTORY is specified.
2557
b62f8267
G
25582011-03-28 Brian T. Sniffen <bsniffen@akamai.com> (tiny change)
2559
03408648
SM
2560 * net/imap.el (imap-shell-open, imap-process-connection-type):
2561 Use imap-process-connection-type for 'shell' streams as well as
b62f8267
G
2562 Kerberos, SSL, other subprocesses.
2563
947b6566
LL
25642011-03-28 Leo Liu <sdl.web@gmail.com>
2565
2566 * abbrev.el (abbrev-table-empty-p): New function.
2567 (prepare-abbrev-list-buffer): Place empty abbrev tables after
2568 nonempty ones. (Bug#5937)
2569
5ffb62aa
JD
25702011-03-27 Jan Djärv <jan.h.d@swipnet.se>
2571
2572 * cus-start.el (all): Add boolean ns-auto-hide-menu-bar.
2573
7a097943
LL
25742011-03-27 Leo Liu <sdl.web@gmail.com>
2575
2576 * ansi-color.el (ansi-color-names-vector): Allow cons cell value
2577 for foreground and background colors.
2578 (ansi-color-make-color-map): Adapt.
2579
c5b40130
LL
25802011-03-25 Leo Liu <sdl.web@gmail.com>
2581
1f48f7d2
LL
2582 * midnight.el (midnight-time-float): Remove. Note it calculates
2583 the microsecond component incorrectly and seconds-to-time does the
2584 same job.
625897ec 2585 Remove redundant (require 'timer).
1f48f7d2 2586
c5b40130
LL
2587 * ido.el (ido-read-internal): Simplify with read-from-minibuffer.
2588 (ido-completions): Remove unused arguments. (Bug#8329)
2589
d86d2721
SM
25902011-03-24 Stefan Monnier <monnier@iro.umontreal.ca>
2591
2592 * minibuffer.el (completion--flush-all-sorted-completions):
2593 Remove itself from hook.
2594 (completion-at-point): Let the functions perform the completion
2595 immediately and return nil or t.
2596 * comint.el (comint-dynamic-complete-functions): Now identical to
2597 completion-at-point-functions.
2598 (comint-dynamic-list-input-ring): Remove unused var `index'.
2599 (comint--match-partial-filename, comint--unquote&expand-filename):
2600 New funs, split from comint-match-partial-filename.
2601 (comint-dynamic-complete): Use completion-at-point.
2602 (comint-dynamic-complete-filename): Use comint--match-partial-filename.
2603
e8974c48
DA
26042011-03-24 Drew Adams <drew.adams@oracle.com>
2605
2606 * thingatpt.el: Support `defun'.
2607
def71b5e
LL
26082011-03-23 Leo Liu <sdl.web@gmail.com>
2609
cb5af48e
LL
2610 * abbrevlist.el: Move to obsolete/abbrevlist.el.
2611
def71b5e
LL
2612 * help-mode.el (help-mode-finish): Tweak regexp.
2613
927c53e7
GM
26142011-03-23 Glenn Morris <rgm@gnu.org>
2615
18d05bed
GM
2616 * eshell/esh-opt.el (eshell-eval-using-options):
2617 Do not bind unused local variable `eshell-option-stub'.
2618
927c53e7
GM
2619 * progmodes/gdb-mi.el (gdb): Fix typo in previous change.
2620
9d0da923
JB
26212011-03-22 Juanma Barranquero <lekktu@gmail.com>
2622
2623 * emacs-lisp/derived.el (define-derived-mode): Wrap declaration of
2624 keymap variable in `with-no-warnings' to avoid a warning when the
2625 keymap has been already `defconst'ed.
2626
4b978a67
LL
26272011-03-22 Leo Liu <sdl.web@gmail.com>
2628
2629 * abbrev.el (write-abbrev-file): Use utf-8 for writing if it can
2630 encode all chars in abbrevs; otherwise use emacs-mule or
2631 utf-8-emacs. (Bug#8308)
2632
5fd62452
JB
26332011-03-22 Juanma Barranquero <lekktu@gmail.com>
2634
0b1596c6
JB
2635 * simple.el (backward-delete-char-untabify):
2636 Avoid warning about using `delete-backward-char'.
2637
5fd62452
JB
2638 * image.el (image-type-file-name-regexps): Make it variable.
2639 `imagemagick-register-types' modifies it, and the user may want
2640 to add new extensions for known image types.
2641 (imagemagick-register-types): Throw error if not using ImageMagick.
2642
0b4e93f1
LL
26432011-03-22 Leo Liu <sdl.web@gmail.com>
2644
2645 * net/rcirc.el (rcirc-completion-at-point): Return nil if point is
2646 located before rcirc-prompt-end-marker.
2647 (rcirc-complete): Error if point is not after rcirc prompt.
2648 Handle the case when table is nil.
9882e214 2649 (rcirc-user-authenticated): Define to fix compiler warning.
0b4e93f1 2650
fccee4ab
CY
26512011-03-22 Chong Yidong <cyd@stupidchicken.com>
2652
2653 * custom.el (custom--inhibit-theme-enable): Make it affect only
2654 custom-theme-set-variables and custom-theme-set-faces.
2655 (provide-theme): Ignore custom--inhibit-theme-enable.
2656 (load-theme): Enable the theme explicitly if NO-ENABLE is non-nil.
2657 (custom-enabling-themes): Delete variable.
d86d2721
SM
2658 (enable-theme): Accept only loaded themes as arguments.
2659 Ignore the special custom-enabled-themes variable.
fccee4ab
CY
2660 (custom-enabled-themes): Forbid themes from setting this.
2661 Eliminate use of custom-enabling-themes.
2662 (custom-push-theme): Quote "changed" custom var entry.
0357c7ae 2663
af896da6
LL
26642011-03-21 Leo Liu <sdl.web@gmail.com>
2665
2666 * ido.el (ido-read-internal): Add ido-selected to history instead
2667 of user input.
2668
78f64af0
SM
26692011-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
2670
2671 * subr.el (deferred-action-list, deferred-action-function):
2672 Mark obsolete.
2673
b16ac1ec
LL
26742011-03-21 Leo Liu <sdl.web@gmail.com>
2675
810f7698
LL
2676 * vc/log-view.el: Remove (require 'wid-edit), not needed after the
2677 change on 2011-02-13 (bug#8309).
2678
b16ac1ec
LL
2679 * minibuffer.el (read-file-name-function): Change default value.
2680 (read-file-name--defaults): Rename from read-file-name-defaults.
2681 (read-file-name-default): Rename from read-file-name.
2682 (read-file-name): Call read-file-name-function.
2683
4e05e67e
GM
26842011-03-21 Glenn Morris <rgm@gnu.org>
2685
2686 * eshell/esh-opt.el (eshell-eval-using-options, eshell-process-args):
2687 Doc fixes.
2688
4359915b
CY
26892011-03-21 Chong Yidong <cyd@stupidchicken.com>
2690
2691 * cus-theme.el: Add missing provide statement.
2692 (customize-create-theme): Extract theme value correctly.
2693 (custom-theme-visit-theme): Autoload.
2694 (customize-create-theme): Prompt before inserting default faces.
2695
1fe275ee
JB
26962011-03-20 Jay Belanger <jay.p.belanger@gmail.com>
2697
2698 * calc/calc-menu.el (calc-units-menu): Add entries for logarithmic
2699 units and musical notes.
2700
3ec03f7e
LL
27012011-03-20 Leo <sdl.web@gmail.com>
2702
2703 * ido.el (ido-read-internal): Use completing-read-default.
2704 (ido-completing-read): Fix compatibility with completing-read.
2705
7d476bde
CO
27062011-03-20 Christian Ohler <ohler@gnu.org>
2707
2708 * emacs-lisp/ert.el (ert-run-tests-batch): Remove unused variable.
2709 (ert-delete-all-tests): Use `called-interactively-p' rather than
2710 `interactive-p'.
2711 (ert--make-xrefs-region): Respect END.
2712
fe0fb33e
CY
27132011-03-19 Chong Yidong <cyd@stupidchicken.com>
2714
ff854b0b
CY
2715 * dired-aux.el (dired-create-directory): Signal an error if the
2716 directory already exists (Bug#8246).
2717
fe0fb33e
CY
2718 * facemenu.el (list-colors-display): Call list-faces-display
2719 inside with-help-window.
2720 (list-colors-print): Use display property to align the final
2721 column, instead of checking window-width.
2722
576bce32
EZ
27232011-03-19 Eli Zaretskii <eliz@gnu.org>
2724
2725 * emerge.el (emerge-metachars): Separate value for ms-dos and
2726 windows-nt systems.
2727 (emerge-protect-metachars): Quote correctly for ms-dos and
2728 windows-nt systems.
2729
89c41d68 27302011-03-19 Ralph Schleicher <rs@ralph-schleicher.de>
e6ce307c
RS
2731
2732 * info.el (info-initialize): Replace all uses of `:' with
2733 path-separator for compatibility with non-Unix systems.
2734 Cache quoting of path-separator. (Bug#8258)
2735
b14e3e21 27362011-03-19 Juanma Barranquero <lekktu@gmail.com>
ad22b7f7
JB
2737
2738 * avoid.el (mouse-avoidance-mode, mouse-avoidance-nudge-dist)
2739 (mouse-avoidance-threshold, mouse-avoidance-banish-destination)
2740 (mouse-avoidance-mode): Fix typos in docstrings.
2741
4525ce3e
CY
27422011-03-19 Chong Yidong <cyd@stupidchicken.com>
2743
2744 * startup.el (package-subdirectory-regexp): Move from package.el.
2745 Omit \\` and \\', and let callers add them.
2746
2747 * emacs-lisp/package.el (package-strip-version)
2748 (package-load-all-descriptors): Add \\` and \\' to
2749 package-subdirectory-regexp before using it.
2750 (package-untar-buffer): New arg DIR; ensure that file untars only
2751 into this expected directory. Remove superfluous delete-region.
2752 (package-unpack): Caller changed.
2753 (package-tar-file-info): Use package-subdirectory-regexp.
2754
a904a09a 27552011-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
1518e4f0 2756
a904a09a
SM
2757 * vc/diff-mode.el (diff-mode-map): Shadow problematic bindings from
2758 diff-mode-shared-map (bug#8284).
2759 (diff-mode-shared-map): Re-introduce some bindings that were problematic.
1518e4f0
G
2760
27612011-03-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
2762
2763 * calendar/time-date.el (format-seconds): Use assoc instead of
2764 assoc-string, since assoc-string doesn't exist in XEmacs.
2765
171fc304
JB
27662011-03-17 Juanma Barranquero <lekktu@gmail.com>
2767
2768 * custom.el (custom-known-themes): Reflow docstring.
2769 (custom-theme-load-path): Fix typo in docstring.
2770 (load-theme): Fix typo in error message.
2771 (custom-available-themes, custom-variable-theme-value):
2772 Use `let', not `let*'.
2773
d71990a1
JB
27742011-03-17 Jay Belanger <jay.p.belanger@gmail.com>
2775
2776 * calc/README: Mention inclusion of musical notes.
2777
2778 * calc/calc-units.el (calc-lu-quant): Rename from
2779 `calc-logunits-quantity'.
2780 (calcFunc-lupquant): Rename from `calcFunc-powerquant'.
2781 (calcFunc-lufquant): Rename from `calcFunc-fieldquant'.
2782 (calc-db): Rename from `calc-dblevel'.
2783 (calcFunc-dbpower): Rename from `calcFunc-dbpowerlevel'.
2784 (calcFunc-dbfield): Rename from `calcFunc-dbfieldlevel'.
2785 (calc-np): Rename from `calc-nplevel'.
2786 (calcFunc-nppower): Rename from `calcFunc-nppowerlevel'.
2787 (calcFunc-npfield): Rename from `calcFunc-npfieldlevel'.
2788 (calc-lu-plus): Rename from `calc-logunits-add'.
2789 (calcFunc-lupadd): Rename from `calcFunc-lupoweradd'.
2790 (calcFunc-lufadd): Rename from `calcFunc-lufieldadd'.
2791 (calc-lu-minus): Rename from `calc-logunits-sub'.
2792 (calcFunc-lupsub): Rename from `calcFunc-lupowersub'.
2793 (calcFunc-lufsub): Rename from `calcFunc-lufieldsub'.
2794 (calc-lu-times): Rename from `calc-logunits-mul'.
2795 (calcFunc-lupmul): Rename from `calcFunc-lupowermul'.
2796 (calcFunc-lufmul): Rename from `calcFunc-lufieldmul'.
2797 (calc-lu-divide): Rename from `calc-logunits-div'.
2798 (calcFunc-lupdiv): Rename from `calcFunc-lupowerdiv'.
2799 (calcFunc-lufdiv): Rename from `calcFunc-lufielddiv'.
2800
2801 * calc/calc-ext.el (calc-init-extensions): Update the names of the
2802 functions being autoloaded.
2803
2804 * calc/calc.el (calc-lu-power-reference): Rename from
2805 `calc-logunits-power-reference'.
2806 (calc-lu-field-reference): Rename from
2807 `calc-logunits-field-reference'.
2808
2809 * calc/calc-help (calc-l-prefix-help): Mention musical note functions.
2810
40c2934b
SM
28112011-03-17 Stefan Monnier <monnier@iro.umontreal.ca>
2812
2813 * minibuffer.el (completion-all-sorted-completions):
2814 Use :completion-cycle-penalty text property if present.
2815
b0911414
KM
28162011-03-16 Ken Manheimer <ken.manheimer@gmail.com>
2817
2818 * allout.el (allout-yank-processing): Adjust for new rebulleting
2819 regime so bullet being yanked is used without prompting the user
2820 for a choice.
2821
8a05b668
JB
28222011-03-16 Juanma Barranquero <lekktu@gmail.com>
2823
2824 * startup.el (command-line): Warn the user that _emacs is deprecated.
2825
5ba5fb81
JB
28262011-03-16 Juanma Barranquero <lekktu@gmail.com>
2827
2828 * progmodes/delphi.el (delphi-search-path, delphi-indent-level)
2829 (delphi-verbose, delphi-comment-face, delphi-string-face)
2830 (delphi-keyword-face, delphi-ignore-changes, delphi-indent-line)
2831 (delphi-mode-abbrev-table, delphi-debug-buffer, delphi-tab)
2832 (delphi-find-unit, delphi-find-current-xdef, delphi-fill-comment)
2833 (delphi-new-comment-line, delphi-font-lock-defaults)
2834 (delphi-debug-mode-map, delphi-mode-syntax-table, delphi-mode):
2835 Fix typos in docstrings.
2836
2dab465b
KM
28372011-03-15 Ken Manheimer <ken.manheimer@gmail.com>
2838
5ba5fb81 2839 * allout.el (allout-make-topic-prefix, allout-rebullet-heading):
2dab465b
KM
2840 Invert the roles of character and string values for INSTEAD, so a
2841 string is used for the more common case of a defaulting prompt.
2842
0adf5618
SM
28432011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
2844
2845 * progmodes/ruby-mode.el (ruby-backward-sexp):
2846 * progmodes/ebrowse.el (ebrowse-draw-file-member-info):
2847 * play/gamegrid.el (gamegrid-make-face):
2848 * play/bubbles.el (bubbles--grid-width, bubbles--grid-height)
2849 (bubbles--colors, bubbles--shift-mode, bubbles--initialize-images):
2850 * notifications.el (notifications-notify):
2851 * net/xesam.el (xesam-search-engines):
2852 * net/quickurl.el (quickurl-list-insert):
2853 * vc/vc-hg.el (vc-hg-dir-printer): Fix use of case.
2854
d72700e5
CY
28552011-03-15 Chong Yidong <cyd@stupidchicken.com>
2856
2857 * startup.el (command-line): Update package subdirectory regexp.
2858
49c5410a
SM
28592011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
2860
c6eee9aa
SM
2861 * allout.el (allout-abbreviate-flattened-numbering)
2862 (allout-mode-deactivate-hook): Fix up obsolescence "date".
2863
49c5410a
SM
2864 * subr.el (read-char-choice): Only show the cursor after the prompt,
2865 not after the answer.
2866
047b2bb9
KR
28672011-03-15 Kevin Ryde <user42@zip.com.au>
2868
2869 * help-fns.el (variable-at-point): Skip leading quotes, if any
2870 (bug#8253).
2871
0a57d256
SM
28722011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
2873
2874 * emacs-lisp/bytecomp.el (byte-compile-save-excursion): Change the
2875 warning message.
2876
77c992bc
MA
28772011-03-14 Michael Albinus <michael.albinus@gmx.de>
2878
2879 * shell.el (shell): When called interactively, offer to change the
2880 shell file name on remote hosts.
2881
eebc475d
TZ
28822011-03-13 Teodor Zlatanov <tzz@lifelogs.com>
2883
2884 * net/ldap.el (ldap-search-internal): Add `auth-source-search'
2885 integration for LDAP parameters. The host, base, user or binddn,
2886 and secret tokens can be specified in a netrc file, for instance.
2887 This is optional because an `auth-source' parameter must be
2888 specified in the search attributes.
2889
9d05d1ba
JB
28902011-03-13 Juanma Barranquero <lekktu@gmail.com>
2891
2892 * help.el (describe-mode): Link to the mode's definition (bug#8185).
2893
09d9db2c
GM
28942011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
2895
2896 * ebuff-menu.el (electric-buffer-menu-mode-map): Move initialization
2897 into declaration. Remove redundant and harmful binding.
2898
28992011-03-12 Eli Zaretskii <eliz@gnu.org>
2900
2901 * files.el (file-ownership-preserved-p): Pass `integer' as an
2902 explicit 2nd argument to `file-attributes'. If the file's owner
2903 is the Administrators group on Windows, and the current user is
2904 Administrator, consider that a match.
2905
2906 * server.el (server-ensure-safe-dir): Consider server directory
2907 safe on MS-Windows if its owner is the Administrators group while
2908 the current Emacs user is Administrator. Use `=' to compare
2909 numerical UIDs, since they could be integers or floats.
2910
219bd536
JB
29112011-03-12 Juanma Barranquero <lekktu@gmail.com>
2912
2913 * vc/vc-bzr.el (vc-bzr-state): Handle bzr 2.3.0 (follow-up to bug#8170).
2914
f3afd36b
MA
29152011-03-12 Michael Albinus <michael.albinus@gmx.de>
2916
2917 Sync with Tramp 2.2.1.
2918
2919 * net/tramp-sh.el (tramp-methods): Exchange "%k" marker with options.
2920
2921 * net/trampver.el: Update release number.
2922
3aaaa6f1
SM
29232011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
2924
94642599
SM
2925 * progmodes/compile.el (compilation--previous-directory): Fix up
2926 various nil/dead-marker mismatches (bug#8014).
2927 (compilation-directory-properties, compilation-error-properties):
2928 Don't call it at a position past the one we're about to change.
2929
3aaaa6f1
SM
2930 * emacs-lisp/bytecomp.el (byte-compile-make-obsolete-variable):
2931 Disable obsolescence warnings in the file that declares it.
2932
14239447
KM
29332011-03-11 Ken Manheimer <ken.manheimer@gmail.com>
2934
099c39a4
JB
2935 * allout-widgets.el (allout-widgets-tally):
2936 Initialize allout-widgets-tally as a hash table rather than nil to
2937 prevent mode-line redisplay warnings. Also, clarify the module
2938 description and fix a comment typo.
14239447 2939
135e287c
JB
29402011-03-11 Juanma Barranquero <lekktu@gmail.com>
2941
2942 * help-fns.el (describe-variable): Don't complete keywords.
2943 Suggested by Teodor Zlatanov <tzz@lifelogs.com>.
2944
ffbf300e
CY
29452011-03-10 Chong Yidong <cyd@stupidchicken.com>
2946
ba08b241
CY
2947 * emacs-lisp/package.el (package-version-join): Impose a standard
2948 string representation for pre/alpha/beta version lists.
2949 (package-unpack-single): Standardize the directory name by passing
2950 it through package-version-join.
2951 (package-strip-rcs-id): Accept any version string that does not
2952 signal an error in version-to-list.
ffbf300e 2953
f346fd6b
MA
29542011-03-10 Michael Albinus <michael.albinus@gmx.de>
2955
2956 * simple.el (delete-trailing-whitespace): Return nil for the
2957 benefit of `write-file-functions'.
2958
ccb55d27
GM
29592011-03-10 Glenn Morris <rgm@gnu.org>
2960
5ceaac0c
GM
2961 * vc/vc-hg.el (vc-hg-pull, vc-hg-merge-branch): Use vc-hg-program.
2962
02da65ff
GM
2963 * vc/vc-git.el (vc-git-program): New option.
2964 (vc-git-branches, vc-git-pull, vc-git-merge-branch, vc-git-command)
2965 (vc-git--call): Use it.
2966
b2f603cc
GM
2967 * eshell/esh-util.el (eshell-condition-case): Doc fix.
2968
5772caab
GM
2969 * cus-edit.el (Custom-newline): If no button at point, look
2970 for a subgroup button at start-of-line. (Bug#2298)
2971
ccb55d27
GM
2972 * mail/rmail.el (rmail-msgend, rmail-msgbeg): Doc fixes.
2973
ec6ecaed
JD
29742011-03-10 Julien Danjou <julien@danjou.info>
2975
2976 * avoid.el (mouse-avoidance-ignore-p): Do not move the cursor if
2977 `cursor-type' is nil.
2978
9d5aa01d
JB
29792011-03-09 Jay Belanger <jay.p.belanger@gmail.com>
2980
2981 * calc/calc.el (calc-mode-map): Don't bind "C-_" to `calc-missing-key'.
2982
b6a5875b
KM
29832011-03-09 Ken Manheimer <ken.manheimer@gmail.com>
2984
2985 * allout.el Summary: Change so yank of distinctive-bullet items
2986 preserves the existing header prefix, rebulleting it if necessary,
2987 rather than replacing it. This is necessary for proper operation
2988 of cooperative addons like allout-widgets.
219bd536 2989 (allout-make-topic-prefix, allout-rebullet-heading): Change
b6a5875b
KM
2990 SOLICIT arg to INSTEAD, and interpret additionally a string value
2991 as alternate bullet to be used, instead of prompting the user for
2992 a bullet character.
2993
ee545c35
MA
29942011-03-09 Michael Albinus <michael.albinus@gmx.de>
2995
d86d2721
SM
2996 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
2997 Do not use `tramp-file-name-port', because this returns also
ee545c35
MA
2998 `tramp-default-port'.
2999
c47971d7
DD
30002011-03-09 Deniz Dogan <deniz.a.m.dogan@gmail.com>
3001
3002 * net/rcirc.el (rcirc-handler-001): Remove useless
3003 with-rcirc-process-buffer.
3004 (rcirc-check-auth-status): Swap arguments to string-match.
3005
13522cb4
GM
30062011-03-09 Glenn Morris <rgm@gnu.org>
3007
0be6f4f1
GM
3008 * shell.el (shell-mode):
3009 Set comint-input-ring-size from HISTSIZE. (Bug#7889)
3010
13522cb4
GM
3011 * progmodes/gdb-mi.el (gdb): Improve 2010-12-08 change.
3012 Check for GDBHISTFILE, HISTSIZE, etc. (Bug#7889)
3013
515de2e3
CY
30142011-03-08 Chong Yidong <cyd@stupidchicken.com>
3015
3016 * emacs-lisp/package.el (package-refresh-contents)
3017 (package-menu-execute): Use condition-case-no-debug.
3018
b511b994
MA
30192011-03-08 Michael Albinus <michael.albinus@gmx.de>
3020
3021 * simple.el (shell-command-to-string): Use `process-file'.
3022
3023 * emacs-lisp/package.el (package-tar-file-info): Handle also
3024 remote files.
3025
d86d2721
SM
3026 * emacs-lisp/package-x.el (package-upload-buffer-internal):
3027 Use `equal' for upload base check.
b511b994 3028
25bbfb31
AM
30292011-03-08 Arni Magnusson <arnima@hafro.is> (tiny change)
3030
3031 * textmodes/texinfo.el (texinfo-environments):
3032 Add deftypecv, deftypeivar, deftypemethod, deftypeop, html. (Bug#2783)
3033
be996521
GM
30342011-03-08 Glenn Morris <rgm@gnu.org>
3035
e9c8529f
GM
3036 * cus-start.el (cursor-in-non-selected-windows):
3037 Fix :set quoting oddness. (Bug#8192)
3038
be996521
GM
3039 * font-lock.el (lisp-font-lock-keywords-1): Don't highlight `)'
3040 in some setf expressions. (Bug#2159)
3041
2bb5649e
CY
30422011-03-08 Chong Yidong <cyd@stupidchicken.com>
3043
3044 * custom.el (custom-available-themes): Return themes in
3045 alphabetical order.
3046
33383987 3047See ChangeLog.15 for earlier changes.
e3d51b27
MR
3048
3049;; Local Variables:
3050;; coding: utf-8
e3d51b27
MR
3051;; End:
3052
33383987 3053 Copyright (C) 2011 Free Software Foundation, Inc.
e3d51b27
MR
3054
3055 This file is part of GNU Emacs.
3056
3057 GNU Emacs is free software: you can redistribute it and/or modify
3058 it under the terms of the GNU General Public License as published by
3059 the Free Software Foundation, either version 3 of the License, or
3060 (at your option) any later version.
3061
3062 GNU Emacs is distributed in the hope that it will be useful,
3063 but WITHOUT ANY WARRANTY; without even the implied warranty of
3064 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
3065 GNU General Public License for more details.
3066
3067 You should have received a copy of the GNU General Public License
3068 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.