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