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