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