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