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