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