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