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