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