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