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