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