* lisp/erc/erc-pcomplete.el (erc-pcomplete-nick-postfix): Remove the " " in the
[bpt/emacs.git] / lisp / ChangeLog
CommitLineData
50f84510
JB
12011-04-28 Juanma Barranquero <lekktu@gmail.com>
2
6e087a44
JB
3 * calc/calccomp.el (math-comp-to-string-flat-term): Simplify by
4 removing code that has been dead since 1991 or so.
5
50f84510
JB
6 * startup.el (command-line): When warning about "_emacs", use a
7 delayed warning to allow the user to filter it out.
8
0ba690bd
DD
92011-04-28 Deniz Dogan <deniz@dogan.se>
10
11 * net/rcirc.el (rcirc-handler-353): Fix bug for channels which the
12 user has not joined.
13
08abfaad
SM
142011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
15
16 * pcomplete.el (pcomplete-completions-at-point): Return nil if there
17 aren't any completions at point.
18
638f053a
JB
192011-04-28 Juanma Barranquero <lekktu@gmail.com>
20
21 * subr.el (display-delayed-warnings): New function.
22 (delayed-warnings-hook): New variable.
23
8fff8daa
SM
242011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
25
08abfaad
SM
26 * minibuffer.el (completion-at-point, completion-help-at-point):
27 Don't presume that a given completion-at-point-function will always
28 use the same calling convention.
29
8fff8daa
SM
30 * pcomplete.el (pcomplete-completions-at-point):
31 Obey pcomplete-ignore-case. Don't call pcomplete-norm-func unless
32 pcomplete-seen is non-nil.
33 (pcomplete-comint-setup): Also recognize the new comint/shell
34 completion functions.
35 (pcomplete-do-complete): Don't call pcomplete-norm-func unless
36 pcomplete-seen is non-nil.
37
841a1577 382011-04-27 Niels Giesen <niels.giesen@gmail.com>
211ec907 39
841a1577 40 * calendar/icalendar.el (diary-lib): Add require statement.
211ec907 41 (icalendar--create-uid): Read out a uid from a text-property on
841a1577 42 the first character in the entry. This allows for code to add its
211ec907
UJ
43 own uid to the entry.
44 (icalendar--convert-float-to-ical): Add export of
45 `diary-float'-entries save for those with the optional DAY
46 argument.
47
2a782793
DC
482011-04-27 Daniel Colascione <dan.colascione@gmail.com>
49
50 * subr.el (shell-quote-argument): Use alternate escaping strategy
51 when we spot a variable reference in a string.
52
0438ce91
DC
532011-04-26 Daniel Colascione <dan.colascione@gmail.com>
54
55 * cus-start.el (all): Define customization for debug-on-event.
56
841a1577 572011-04-26 Daniel Colascione <dan.colascione@gmail.com>
8f91bf93
DC
58
59 * subr.el (shell-quote-argument): Escape correctly under Windows.
60
d090ed6c
SM
612011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
62
63 * emulation/cua-base.el (cua-selection-mode): Make it toggle again.
64
bfd31217
MA
652011-04-25 Michael Albinus <michael.albinus@gmx.de>
66
d090ed6c
SM
67 * net/tramp.el (tramp-process-actions): Add POS argument.
68 Delete region between POS and (pos).
bfd31217 69
d090ed6c
SM
70 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
71 Use `nil' position in `tramp-process-actions' call.
bfd31217
MA
72 (tramp-maybe-open-connection): Call `tramp-process-actions' with pos.
73
74 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Use `nil'
75 position in `tramp-process-actions' call.
76
77 * net/trampver.el: Update release number.
78
e92f3bd3
SM
792011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
80
850256b5
SM
81 * custom.el (defcustom): Obey lexical-binding.
82
e92f3bd3
SM
83 Fix octave-inf completion problems reported by Alexander Klimov.
84 * progmodes/octave-inf.el (inferior-octave-mode-syntax-table):
85 Inherit from octave-mode-syntax-table.
86 (inferior-octave-mode): Set info-lookup-mode.
87 (inferior-octave-completion-at-point): New function.
88 (inferior-octave-complete): Use it and completion-in-region.
89 (inferior-octave-dynamic-complete-functions): Use it as well, and use
90 comint-filename-completion.
91 * progmodes/octave-mod.el (octave-mode-syntax-table): Use _ syntax for
92 symbol elements which shouldn't be word elements.
93 (octave-font-lock-keywords, octave-beginning-of-defun)
94 (octave-function-header-regexp): Adjust regexps accordingly.
95 (octave-mode-map): Also use info-lookup-symbol for C-c C-h.
96
cd22b309
JB
972011-04-25 Juanma Barranquero <lekktu@gmail.com>
98
99 * net/gnutls.el (gnutls-errorp): Declare before first use.
100
8b492194
TZ
1012011-04-24 Teodor Zlatanov <tzz@lifelogs.com>
102
103 * net/gnutls.el (gnutls-negotiate): Add hostname, verify-flags,
104 verify-error, and verify-hostname-error parameters. Check whether
cd22b309
JB
105 default trustfile exists before going to use it. Add missing
106 argument to gnutls-message-maybe call. Return return value.
8b492194
TZ
107 Reported by Claudio Bley <claudio.bley@gmail.com>.
108 (open-gnutls-stream): Add usage example.
109
110 * net/network-stream.el (network-stream-open-starttls): Give host
111 parameter to `gnutls-negotiate'.
112 (gnutls-negotiate): Adjust `gnutls-negotiate' declaration.
8f91bf93 113 * subr.el (shell-quote-argument): Escape correctly under Windows.
8b492194 114
841a1577 1152011-04-24 Daniel Colascione <dan.colascione@gmail.com>
05842630 116
cd22b309
JB
117 * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
118 Use correct match group (bug#8438).
05842630 119
3ba7869c
CY
1202011-04-24 Chong Yidong <cyd@stupidchicken.com>
121
512e3ae1
CY
122 * emacs-lisp/package.el (package-built-in-p): Fix typo.
123 (package-menu--generate): New arg specifying packages to show.
124 (package-menu-refresh, package-menu-execute, list-packages):
125 Callers changed.
126 (package-show-package-list): New function, replacing deleted
127 package--list-packages (renamed because it is non-internal).
128
129 * finder.el (finder-list-matches): Use package-show-package-list
130 instead of deleted package--list-packages.
131
e92f3bd3
SM
132 * vc/vc-annotate.el (vc-annotate-goto-line): New command.
133 Based on a previous implementation by Juanma Barranquero (Bug#8366).
3ba7869c
CY
134 (vc-annotate-mode-map): Bind it to RET.
135
7031be6d
UR
1362011-04-24 Uday S Reddy <u.s.reddy@cs.bham.ac.uk> (tiny change)
137
138 * progmodes/etags.el (next-file): Don't use set-buffer to change
139 buffers (Bug#8478).
140
4ef177aa
CY
1412011-04-24 Chong Yidong <cyd@stupidchicken.com>
142
c8d173eb
CY
143 * files.el (auto-mode-alist): Use js-mode for .json (Bug#8529).
144
4ef177aa
CY
145 * apropos.el (apropos-label-face): Avoid variable-pitch face.
146 (apropos-accumulator): Doc fix.
147 (apropos-function, apropos-macro, apropos-command)
148 (apropos-variable, apropos-face, apropos-group, apropos-widget)
149 (apropos-plist): Add face property.
150 (apropos-symbols-internal): Fix indentation.
151 (apropos-print): Simplify help, and recognize apropos-multi-type.
152 (apropos-print-doc): Use button-type-get to extract the button's
153 face property. Fill docstring (Bug#8352).
154
4ffd0d6b 1552011-04-23 Juanma Barranquero <lekktu@gmail.com>
be71f810
JB
156
157 * buff-menu.el (Buffer-menu--buffers): Fix typo in docstring (bug#8535).
158
c6c32125 159 * play/mpuz.el (mpuz-silent): Doc fix.
4ffd0d6b 160 (mpuz-mode-map): Use mapc.
c6c32125
JB
161 (mpuz-put-number-on-board): Rename parameter L to COLUMNS.
162 (mpuz-letter-to-digit, mpuz-check-all-solved, mpuz-create-buffer):
163 Fix typos in docstrings.
164
58d468b4
JB
165 * play/doctor.el (doc$, doctor-$, doctor-read-print, doctor-read-token)
166 (doctor-nounp, doctor-pronounp): Fix typos in docstrings.
167
6470c3c6
JB
168 * mouse-drag.el (mouse-drag-throw): Fix typo in docstring.
169
4ffd0d6b 1702011-04-23 Chong Yidong <cyd@stupidchicken.com>
6f21a319
CY
171
172 * minibuffer.el (completion--do-completion): Avoid the "Next char
173 not unique" prompt if icomplete-mode is enabled (Bug#5849).
174
3ad8bad0
CY
175 * mouse.el (mouse-drag-mode-line-1): Make sure that if we push
176 mouse-2 into unread-command-events, it is interpreted correctly.
177
71d73c9c 178 * image-mode.el (image-type, image-mode-map, image-minor-mode-map)
6395aab9 179 (image-toggle-display): Doc fix.
71d73c9c 180
841a1577 1812011-04-23 Stephen Berman <stephen.berman@gmx.net>
e935c6a2 182
4ffd0d6b
GM
183 * textmodes/page.el (what-page): Use line-number-at-pos to
184 calculate line number (Bug#6825).
6e1dbaa9 185
c2fb1b60
JB
1862011-04-22 Juanma Barranquero <lekktu@gmail.com>
187
188 * eshell/esh-mode.el (find-tag-interactive): Declare function.
189 (eshell-find-tag): Remove `with-no-warnings', unneeded now.
190 Pass argument NO-DEFAULT to `find-tag-interactive'.
191
e02f48d7
JB
1922011-04-22 Juanma Barranquero <lekktu@gmail.com>
193
194 Lexical-binding cleanup.
195
196 * progmodes/ada-mode.el (ada-after-change-function, ada-loose-case-word)
197 (ada-no-auto-case, ada-capitalize-word, ada-untab, ada-narrow-to-defun):
198 * progmodes/ada-prj.el (ada-prj-initialize-values)
199 (ada-prj-display-page, ada-prj-field-modified, ada-prj-display-help)
200 (ada-prj-show-value):
201 * progmodes/ada-xref.el (ada-find-any-references, ada-gdb-application):
202 * progmodes/antlr-mode.el (antlr-with-displaying-help-buffer)
203 (antlr-invalidate-context-cache, antlr-options-menu-filter)
204 (antlr-language-option-extra, antlr-c++-mode-extra, antlr-run-tool):
205 * progmodes/bug-reference.el (bug-reference-push-button):
206 * progmodes/fortran.el (fortran-line-length):
207 * progmodes/glasses.el (glasses-change):
208 * progmodes/octave-mod.el (octave-fill-paragraph):
209 * progmodes/python.el (python-mode, python-pdbtrack-track-stack-file)
210 (python-pdbtrack-grub-for-buffer, python-sentinel):
211 * progmodes/sql.el (sql-save-connection):
212 * progmodes/tcl.el (tcl-indent-command, tcl-popup-menu):
213 * progmodes/xscheme.el (xscheme-enter-debugger-mode):
214 Mark unused parameters.
215
216 * progmodes/compile.el (compilation--flush-directory-cache)
217 (compilation--flush-parse, compile-internal): Mark unused parameters.
218 (compilation-buffer-name): Rename parameter MODE-NAME to NAME-OF-MODE.
219 (compilation-next-error-function): Remove unused variable `timestamp'.
220
221 * progmodes/cpp.el (cpp-parse-close): Remove unused variable `begin'.
222 (cpp-signal-read-only, cpp-grow-overlay): Mark unused parameters.
223
224 * progmodes/dcl-mode.el (dcl-end-of-command):
225 Remove unused variable `start'.
226 (dcl-calc-command-indent-multiple, dcl-calc-cont-indent-relative)
227 (dcl-option-value-basic, dcl-option-value-offset)
228 (dcl-option-value-margin-offset, dcl-option-value-comment-line):
229 Mark unused parameters.
230 (dcl-save-local-variable): Remove unused variable `val'.
231 (mode): Declare.
232
233 * progmodes/delphi.el (delphi-save-state, delphi-after-change):
234 Mark unused parameters.
235 (delphi-ignore-changes): Move before first use.
236 (delphi-charset-token-at): Remove unused variable `start'.
237 (delphi-else-start): Remove unused variable `if-count'.
238 (delphi-comment-block-start, delphi-comment-block-end):
239 Remove unused variable `kind'.
240 (delphi-indent-line): Remove unused variable `new-point'.
241
242 * progmodes/ebrowse.el (ebrowse-files-list)
243 (ebrowse-list-of-matching-members, ebrowse-tags-list-members-in-file):
244 Mark unused parameters. Don't quote `lambda'.
245 (ebrowse-sort-tree-list, ebrowse-same-tree-member-buffer-list):
246 Don't quote `lambda'.
247 (ebrowse-revert-tree-buffer-from-file, ebrowse-tags-choose-class)
248 (ebrowse-goto-visible-member/all-member-lists): Mark unused parameters.
249 (ebrowse-create-tree-buffer): Rename parameter OBARRAY to CLASSES.
250 (ebrowse-toggle-mark-at-point): Remove unused variable `pnt'.
251 Use `ignore-errors'.
252 (ebrowse-frozen-tree-buffer-name, ebrowse-find-source-file)
253 (ebrowse-view/find-file-and-search-pattern)
254 (ebrowse-view/find-member-declaration/definition):
255 Rename parameter TAGS-FILE-NAME to TAGS-FILE.
256 (ebrowse-find-class-declaration, ebrowse-view-class-declaration):
257 Rename parameter PREFIX-ARG to PREFIX.
258 (ebrowse-tags-read-name): Remove unused variables `start' and
259 `member-info'.
260 (ebrowse-display-member-buffer): Rename variable `tags-file-name'
261 to `tags-file'.
262
263 * progmodes/etags.el (local-find-tag-hook): Declare.
264 (tag-partial-file-name-match-p, tag-any-match-p, list-tags):
265 Mark unused parameters.
266
267 * progmodes/executable.el (compilation-error-regexp-alist): Declare.
268 (executable-interpret): Mark unused parameter.
269
270 * progmodes/flymake.el (flymake-process-sentinel)
271 (flymake-after-change-function)
272 (flymake-create-temp-with-folder-structure)
273 (flymake-get-include-dirs-dot): Mark unused parameters.
274 (flymake-safe-delete-directory): Remove unused variable `err'.
275
276 * progmodes/gdb-mi.el (speedbar-change-initial-expansion-list)
277 (speedbar-timer-fn, speedbar-line-text)
278 (speedbar-change-expand-button-char, speedbar-delete-subblock)
279 (speedbar-center-buffer-smartly): Declare functions.
280 (gdb-find-watch-expression): Remove unused variable `array'.
281 (gdb-edit-value, gdb-gdb, gdb-ignored-notification, gdb-thread-created)
282 (gdb-starting): Mark unused parameters.
283 (gud-gdbmi-marker-filter): Remove unused variable `output-record'.
284 (gdb-table-string): Remove unused variable `res'.
285 (gdb-place-breakpoints): Remove unused variables `flag' and `bptno'.
286 (gdb-disassembly-handler-custom): Remove unused variable `pos'.
287 (gdb-display-buffer): Remove unused variable `cur-size'.
288
289 * progmodes/gud.el (gud-def): Use `defalias' instead of `defun' to
290 allow lexical-binding compilation.
291 (gud-expansion-speedbar-buttons, gud-gdb-goto-stackframe)
292 (gud-dbx-massage-args, gud-xdb-massage-args, gud-perldb-massage-args)
293 (gud-jdb-massage-args, gud-jdb-find-source, gud-find-class):
294 Mark unused parameters.
295 (gud-gdb-marker-filter): Remove unused variable `match'.
296 (gud-find-class): Bind `syntax-symbol' and `syntax-point' to suitable
297 lambda expressions and funcall them, instead of using `fset'.
298
299 * progmodes/hideif.el (hif-parse-if-exp): Rename parameter
300 HIF-TOKEN-LIST to TOKEN-LIST and let-bind `hif-token-list'.
301
302 * progmodes/hideshow.el (hs-hide-block-at-point): Remove unused
303 variable `header-beg'; use `let'.
304
305 * progmodes/icon.el (indent-icon-exp): Remove unused variables
306 `restart', `last-sexp' and `at-do'.
307
308 * progmodes/js.el (js--debug): Mark unused parameter.
309 (js--parse-state-at-point): Remove unused variable `bound'; use `let'.
310 (js--splice-into-items): Remove unused variable `item'.
311 (js--read-symbol, js--read-tab): Pass 1/-1 to `ido-mode', not t/nil.
312
313 * progmodes/make-mode.el (makefile-make-font-lock-keywords):
314 Rename parameter FONT-LOCK-KEYWORDS to FL-KEYWORDS.
315 (makefile-complete): Remove unused variable `try'.
316 (makefile-fill-paragraph, makefile-match-function-end):
317 Mark unused parameters.
318
319 * progmodes/octave-inf.el (inferior-octave-complete):
320 Remove unused variable `proc'.
321 (inferior-octave-output-digest): Mark unused parameter.
322
323 * progmodes/perl-mode.el (perl-calculate-indent):
324 Remove unused variable `err'.
325
326 * progmodes/prolog.el (prolog-mode-keybindings-inferior)
327 (prolog-indent-line): Mark unused parameters.
328 (prolog-indent-line): Remove unused variable `beg'.
329
330 * progmodes/ps-mode.el (reporter-prompt-for-summary-p)
331 (reporter-dont-compact-list): Declare.
332
333 * progmodes/sh-script.el (sh-font-lock-quoted-subshell):
334 Remove unused variable `char'.
335 (sh-debug): Mark unused parameter.
336 (sh-get-indent-info): Remove unused variable `start'.
337 (sh-calculate-indent): Remove unused variable `var'.
338
339 * progmodes/simula.el (simula-popup-menu): Mark unused parameter.
340 (simula-electric-keyword): Remove unused variable `null'.
341 (simula-search-backward, simula-search-forward): Remove unused
342 variables `begin' and `end'.
343
344 * progmodes/vera-mode.el (vera-guess-basic-syntax):
345 Remove unused variable `pos'.
346 (vera-electric-tab, vera-comment-uncomment-region):
347 Mark unused parameters.
348 (vera-electric-tab): Rename parameter PREFIX-ARG to PREFIX.
349
7ede3b65
CY
3502011-04-22 Chong Yidong <cyd@stupidchicken.com>
351
352 * emacs-lisp/package.el (package--builtins, package-alist)
353 (package-load-descriptor, package-built-in-p, package-activate)
354 (define-package, package-installed-p)
355 (package-compute-transaction, package-buffer-info)
356 (package--push): Doc fix. Distinguish more clearly between
357 version strings and version lists.
358
121656e9
JB
3592011-04-21 Juanma Barranquero <lekktu@gmail.com>
360
361 Lexical-binding cleanup.
362
363 * play/5x5.el (5x5-make-random-solution, 5x5-make-mutate-current)
364 (5x5-make-mutate-best):
365 * play/fortune.el (fortune-in-buffer):
366 * play/gomoku.el (gomoku-init-display):
367 * play/solitaire.el (solitaire, solitaire-do-check):
368 * play/tetris.el (tetris-default-update-speed-function):
369 Mark unused parameters.
370
371 * play/bubbles.el (bubbles-mode): Set `show-trailing-whitespace'.
372 (bubbles--shift): Remove unused variable `char-org'.
373 (bubbles--set-faces): Remove unused variable `fg-col'. Simplify.
374 (bubbles--show-images): Remove unused variable `char'.
375
376 * play/decipher.el (decipher-keypress, decipher-alphabet-keypress)
377 (decipher-get-undo, decipher-set-map, decipher-complete-alphabet)
378 (decipher-resync, decipher-loop-with-breaks, decipher--analyze)
379 (decipher-analyze-buffer): Use ?\s.
380 (decipher-make-checkpoint): Remove unused variable `mapping'.
381
382 * play/doctor.el (doctor-doc): Rename parameter DOCTOR-SENT to SENT.
383
384 * play/gamegrid.el (gamegrid-add-score-with-update-game-score):
385 Remove unused variable `result'; use `let'.
386
387 * play/gametree.el (gametree-current-layout, gametree-apply-layout):
388 Rename parameter TOP-LEVEL to FROM-TOP-LEVEL; use `ignore-errors'.
389 (gametree-children-shown-p, gametree-compute-reduced-score):
390 Use `ignore-errors'.
391
392 * play/handwrite.el (ps-lpr-switches): Declare.
393 (handwrite): Remove unused variables `pmin' and `lastp'.
394
395 * play/hanoi.el (hanoi-move-ring): Remove unused variable `total-steps'.
396
397 * play/landmark.el (landmark-init-display)
398 (landmark-update-naught-weights): Mark unused parameters.
399 (landmark-y): Remove unused variable `noise'. Simplify.
400 (landmark-human-plays): Remove unused variable `score'.
401
402 * play/mpuz.el (mpuz-try-letter): Remove unused variable `message'.
403 (mpuz-try-proposal): Remove unused variable `game'.
404
405 * play/zone.el (life-patterns): Declare.
406
80f499c7
JB
4072011-04-20 Juanma Barranquero <lekktu@gmail.com>
408
409 * vc/vc.el (ediff-vc-internal): Declare function.
410
024ff170
SM
4112011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
412
c0a193ea
SM
413 * shell.el: Use lexical-binding and std completion UI.
414 (shell-filter-ctrl-a-ctrl-b): Work as a preoutput filter.
415 (shell-mode): Put shell-filter-ctrl-a-ctrl-b on
416 comint-preoutput-filter-functions rather than on
417 comint-output-filter-functions.
418 (shell-command-completion, shell--command-completion-data)
419 (shell-filename-completion, shell-environment-variable-completion)
420 (shell-c-a-p-replace-by-expanded-directory): New functions.
421 (shell-dynamic-complete-functions, shell-dynamic-complete-command)
422 (shell-dynamic-complete-filename, shell-replace-by-expanded-directory)
423 (shell-dynamic-complete-environment-variable): Use them.
424 (shell-dynamic-complete-as-environment-variable)
425 (shell-dynamic-complete-as-command): Remove.
426 (shell-match-partial-variable): Match past point.
427 * comint.el: Clean up use of completion-at-point-functions.
428 (comint-completion-at-point): New function.
429 (comint-mode): Use it completion-at-point-functions.
430 (comint-dynamic-complete): Make it obsolete.
431 (comint-replace-by-expanded-history-before-point): Add dry-run arg.
432 (comint-c-a-p-replace-by-expanded-history): New function.
433 (comint-dynamic-complete-functions)
434 (comint-replace-by-expanded-history): Use it.
435 * minibuffer.el (completion-table-with-terminator): Allow dynamic
436 termination strings. Try harder to avoid second try-completion.
437 (completion-in-region-mode-map): Disable bindings that don't work yet.
438
2dbaa080
SM
439 * comint.el: Use lexical-binding. Require CL.
440 (comint-dynamic-complete-functions): Use comint-filename-completion.
441 (comint-completion-addsuffix): Tweak custom type.
442 (comint-filename-completion, comint--common-suffix)
443 (comint--common-quoted-suffix, comint--table-subvert)
444 (comint--complete-file-name-data): New functions.
445 (comint-dynamic-complete-as-filename, comint-dynamic-complete-filename)
446 (comint-dynamic-list-filename-completions): Use them.
447 (comint-dynamic-simple-complete): Make obsolete.
c0a193ea 448
2dbaa080
SM
449 * minibuffer.el (completion-in-region-mode):
450 Keep completion-in-region-mode--predicate global.
451 (completion-in-region--postch):
452 Assume completion-in-region-mode--predicate is not null.
453
c79a6f38
SM
454 * progmodes/flymake.el (flymake-start-syntax-check-process):
455 Obey `dir'. Simplify.
456
024ff170
SM
457 * vc/vc.el (vc-version-ediff): Call ediff-vc-internal directly, since
458 we're in VC after all.
459
1c6c854e
CS
4602011-04-20 Christoph Scholtes <cschol2112@googlemail.com>
461
462 * vc/vc.el (vc-diff-build-argument-list-internal)
024ff170 463 (vc-version-ediff, vc-ediff): New commands.
1c6c854e
CS
464 (vc-version-diff): Use vc-diff-build-argument-list-internal.
465
bed7f140
SM
4662011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
467
332e62ab
SM
468 * emacs-lisp/byte-opt.el (byte-decompile-bytecode-1): Remove dead code,
469 add sanity check.
470
bed7f140
SM
471 * obsolete/erc-hecomplete.el: Make obsolete.
472 * obsolete/: Standardize obsolescence info in the header.
473
f195c582
GM
4742011-04-20 Glenn Morris <rgm@gnu.org>
475
476 * calendar/solar.el (solar-horizontal-coordinates):
477 Use the longitude argument rather than `calendar-longitude'.
478 (solar-date-next-longitude): Remove unused locals.
479
602ea69d
SM
4802011-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
481
482 * progmodes/octave-mod.el (octave-in-comment-p, octave-in-string-p)
483 (octave-not-in-string-or-comment-p): Use syntax-ppss so it works with
484 multi-line comments as well.
485
06b60517
JB
4862011-04-19 Juanma Barranquero <lekktu@gmail.com>
487
488 Lexical-binding cleanup.
489
490 * arc-mode.el (archive-mode-revert):
491 * cmuscheme.el (scheme-interactively-start-process):
492 * custom.el (custom-initialize-delay):
493 * dnd.el (dnd-open-local-file, dnd-open-remote-url):
494 * dos-w32.el (direct-print-region-helper, direct-print-region-function):
495 * emacs-lock.el (emacs-lock-clear-sentinel):
496 * ezimage.el (defezimage):
497 * follow.el (follow-avoid-tail-recenter):
498 * fringe.el (set-fringe-mode-1):
499 * generic-x.el (bat-generic-mode-compile):
500 * help-mode.el (help-info-variable, help-do-xref)
501 (help-mode-revert-buffer):
502 * help.el (view-emacs-todo):
503 * iswitchb.el (iswitchb-completion-help):
504 * jka-compr.el (jka-compr-make-temp-name, jka-compr-load):
505 * kmacro.el (kmacro-cycle-ring-next, kmacro-cycle-ring-previous)
506 (kmacro-delete-ring-head, kmacro-bind-to-key, kmacro-view-macro):
507 * locate.el (locate-update):
508 * longlines.el (longlines-encode-region)
509 (longlines-after-change-function):
510 * outline.el (outline-isearch-open-invisible):
511 * ps-def.el (declare-function, charset-dimension, char-width)
512 (encode-char):
513 * ps-mule.el (ps-mule-plot-string):
514 * recentf.el (recentf-make-menu-items, recentf-cancel-dialog)
515 (recentf-edit-list-select, recentf-edit-list-validate)
516 (recentf-open-files-action):
517 * rect.el (delete-whitespace-rectangle-line)
518 (rectangle-number-line-callback):
519 * register.el (window-configuration-to-register)
520 (frame-configuration-to-register):
521 * scroll-bar.el (scroll-bar-mode, toggle-horizontal-scroll-bar):
522 * select.el (xselect-convert-to-string, xselect-convert-to-length)
523 (xselect-convert-to-targets, xselect-convert-to-delete)
524 (xselect-convert-to-filename, xselect-convert-to-charpos)
525 (xselect-convert-to-lineno, xselect-convert-to-colno)
526 (xselect-convert-to-os, xselect-convert-to-host)
527 (xselect-convert-to-user, xselect-convert-to-class)
528 (xselect-convert-to-name, xselect-convert-to-integer)
529 (xselect-convert-to-atom, xselect-convert-to-identity):
530 * subr.el (declare, ignore, process-kill-without-query)
531 (text-clone-maintain):
532 * terminal.el (te-get-char, te-tic-sentinel):
533 * tool-bar.el (tool-bar-make-keymap):
534 * tooltip.el (tooltip-timeout, tooltip-hide, tooltip-help-tips):
535 * type-break.el (type-break-mode, type-break-noninteractive-query):
536 * view.el (View-back-to-mark):
537 * wid-browse.el (widget-browse-action, widget-browse-widget)
538 (widget-browse-widgets, widget-browse-sexp):
539 * widget.el (define-widget-keywords):
540 * xt-mouse.el (xterm-mouse-translate, turn-off-xterm-mouse-tracking):
541 Mark unused parameters.
542
543 * align.el (align-adjust-col-for-rule): Mark unused parameter.
544 (align-areas): Remove unused variable `look'.
545 (align-region): Remove unused variables `real-end' and `pos-list'.
546
547 * apropos.el (apropos-score-doc): Remove unused variable `i'.
548
549 * bindings.el (mode-line-modified, mode-line-remote):
550 Mark unused parameters.
551 (mode-line-mule-info): Mark unused parameter; don't quote `lambda'.
552
553 * buff-menu.el (Buffer-menu-revert-function): Mark unused parameters.
554 (Buffer-menu-mode): Mark unused parameter; don't quote `lambda'.
555
556 * comint.el (comint-history-isearch-pop-state)
557 (comint-postoutput-scroll-to-bottom, comint-truncate-buffer)
558 (comint-strip-ctrl-m, comint-read-noecho): Mark unused parameters.
559 (comint-substitute-in-file-name): Doc fix.
560
561 * completion.el (cmpl-statistics-block): Mark unused parameter.
562 (add-completions-from-tags-table, add-completions-from-lisp-buffer)
563 (save-completions-to-file, load-completions-from-file):
564 Remove unused local variable `e'.
565
566 * composite.el (compose-chars): Remove unused variable `len'.
567 (lgstring-insert-glyph): Remove unused variable `g'.
568 (compose-glyph-string): Remove unused variables `ascent',
569 `descent', `lbearing' and `rbearing'.
570 (compose-glyph-string-relative): Remove unused variables
571 `lbearing', `rbearing' and `wadjust'.
572 (compose-gstring-for-graphic): Remove unused variables `header',
573 `wadjust', `xoff' and `yoff'. Use `let', not `let*'.
574 (compose-gstring-for-terminal): Remove unused variables `header'
575 and `nchars'. Use `let', not `let*'.
576
577 * cus-edit.el (Custom-set, Custom-save, custom-reset)
578 (Custom-reset-current, Custom-reset-saved, Custom-reset-standard)
579 (Custom-buffer-done, custom-buffer-create-internal)
580 (custom-browse-visibility-action, custom-browse-group-tag-action)
581 (custom-browse-variable-tag-action, custom-browse-face-tag-action)
582 (widget-magic-mouse-down-action, custom-toggle-parent)
583 (custom-add-parent-links, custom-toggle-hide-variable)
584 (custom-face-edit-value-visibility-action, custom-face-edit-fix-value)
585 (custom-toggle-hide-face, face, hook, custom-group-link-action)
586 (custom-face-menu-create, custom-variable-menu-create, get)
587 (custom-group-menu-create, Custom-no-edit): Mark unused parameters.
588 (custom-reset-standard-save-and-update): Remove unused variable `value'.
589 (customize-apropos): Remove unused variable `tests'.
590 (custom-group-value-create): Remove unused variable `hidden-p'.
591 (sort-fold-case): Declare.
592
593 * cus-theme.el (custom-reset-standard-faces-list)
594 (custom-reset-standard-variables-list): Declare.
595 (customize-create-theme, custom-theme-revert, custom-theme-write)
596 (custom-theme-choose-mode, customize-themes, custom-theme-save):
597 Mark unused parameters.
598
599 * dabbrev.el (dabbrev-completion): Remove unused variable `init'.
600
601 * delim-col.el (delimit-columns-max): Move defvar before first use.
602
603 * descr-text.el (describe-char-categories): Don't quote `lambda'.
bd0d2ee2 604 (describe-char): Don't quote `lambda'. Mark unused parameter.
06b60517
JB
605
606 * desktop.el (desktop-save-buffer-p): Mark unused parameter.
607 (auto-insert): Declare.
608 (desktop-restore-file-buffer): Rename desktop-* parameters;
609 mark unused ones.
610 (desktop-create-buffer): Rename desktop-* parameters and bind them.
611 (desktop-buffer): Rename desktop-* parameters.
612
613 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
614 (dframe-reposition-frame-xemacs, dframe-help-echo)
615 (dframe-hack-buffer-menu, dframe-set-timer, dframe-set-timer-internal):
616 Mark unused parameters.
617
618 * dired-aux.el (backup-extract-version-start, overwrite-query)
619 (overwrite-backup-query, rename-regexp-query)
620 (rename-non-directory-query): Declare.
621 (dired-shell-stuff-it, dired-do-create-files): Mark unused parameters.
622 (dired-add-entry): Remove unused variable `orig-file-name'.
623 (dired-copy-file-recursive): Remove unused variable `dirfailed'.
624 Use parameter PRESERVE-TIME instead of accessing dynamic variable
625 `dired-copy-preserve-time' directly.
626 (dired-do-create-files-regexp): Remove unused variable `fn-count'.
627 (dired-insert-subdir-newpos): Rename unused variable `pos'.
628
629 * dired-x.el (dired-omit-size-limit): Move defcustom before first use.
630 (dired-virtual-revert, dired-make-relative-symlink):
631 Mark unused parameters.
632 (manual-program): Declare.
633 (dired-x-hands-off-my-keys): Rename parameters of lambda expression.
634 (inode, s, mode, nlink, uid, gid, size, time, name, sym): Declare them,
635 wrapped in `with-no-warnings' to avoid replacing one warning by another.
636
637 * dirtrack.el (dirtrack): Remove unused variable `multi-line'.
638
639 * dos-fns.el (dos-8+3-filename): Remove unused variable `i'.
640
641 * echistory.el (electric-history-in-progress, Helper-return-blurb):
642 Declare.
643
644 * edmacro.el (edmacro-finish-edit): Remove unused variable `kmacro'.
645
646 * electric.el (Electric-command-loop): Rename parameter
647 INHIBIT-QUIT to INHIBIT-QUITTING and bind `inhibit-quit'.
648
649 * expand.el (expand-in-literal): Remove unused variable `here'.
650
651 * facemenu.el (facemenu-add-new-color):
652 Remove unused variable `docstring'.
653
654 * faces.el (face-id, make-face-bold, make-face-unbold, make-face-italic)
655 (make-face-unitalic, make-face-bold-italic): Mark unused parameters.
656 (face-attr-construct): Mark unused parameter. Doc fix.
657 (read-color): Remove unused variable `hex-string'.
658
659 * files.el (parse-colon-path): Rename argument CD-PATH to SEARCH-PATH.
660 (locate-dominating-file): Remove unused vars `prev-file' and `user'.
661 (remote-file-name-inhibit-cache, revert-buffer): Clean up docstrings.
662 (display-buffer-other-frame): Remove unused variable `old-window'.
663 (kill-buffer-hook): Declare.
664 (insert-file-contents-literally, set-auto-mode, risky-local-variable-p):
665 Mark unused parameters.
666 (after-find-file): Pass 1 to `auto-save-mode', not t.
667
668 * files-x.el (auto-insert): Declare.
669 (modify-file-local-variable-prop-line): Remove unused variable `val'.
670
671 * find-lisp.el (find-lisp-find-dired-internal): Remove unused
bd0d2ee2 672 variable `buf'. Mark unused parameter.
06b60517
JB
673 (find-lisp-insert-directory): Mark unused parameter.
674
675 * format.el (format-decode-run-method): Mark unused parameter; doc fix.
676 (format-encode-region): Remove unused variables `cur-buf' and `result'.
677 (format-common-tail): Remove, unused.
678 (format-deannotate-region): Remove unused variable `loc'.
679 (format-annotate-region): Remove unused variable `p'.
680 (format-annotate-single-property-change): Remove unused variables
681 `default' and `tail'.
682
683 * forms.el (read-file-filter): Declare.
684 (forms--iif-hook, forms--revert-buffer): Mark unused parameters.
685
686 * frame.el (frame-creation-function-alist): Mark unused parameter.
687 (frame-geom-spec-cons): Pass FRAME to `frame-geom-value-cons'.
688
689 * hilit-chg.el (hilit-chg-cust-fix-changes-face-list, hilit-chg-clear):
690 Remove unused parameters.
691 (hilit-chg-set-face-on-change): Remove unused variable `beg-decr'.
692 (highlight-compare-with-file): Remove unused variable `buf-b-read-only'.
693
694 * htmlfontify.el (hfy-default-footer, hfy-decor, hfy-invisible)
695 (hfy-parse-tags-buffer, hfy-prepare-index-i, hfy-prepare-index)
696 (hfy-prepare-tag-map): Mark unused parameters.
697 (htmlfontify-buffer): Use `called-interactively-p'.
698
699 * ibuf-ext.el (ibuffer-do-kill-lines, ibuffer-jump-to-buffer)
700 (ibuffer-copy-filename-as-kill, ibuffer-mark-on-buffer)
701 (ibuffer-do-occur): Mark unused parameters.
702 (ibuffer-forward-next-marked): Remove unused variable `curmark'.
703 (ibuffer-diff-buffer-with-file-1): Remove unused variable `proc'.
704
705 * ibuffer.el: Don't quote `lambda'.
706 (ibuffer-count-marked-lines, ibuffer-count-deletion-lines)
707 (ibuffer-unmark-all, ibuffer-toggle-marks, ibuffer-redisplay-engine):
708 Mark unused parameters.
709
710 * ido.el (ido-mode, ido-wide-find-dir-or-delete-dir)
711 (ido-completing-read): Mark unused parameters.
712 (ido-copy-current-word): Mark unused parameters;
713 remove unused variable `name'.
714 (ido-sort-merged-list): Remove unused parameter `dirs'.
715
716 * ielm.el (ielm-input-sender): Mark unused parameter.
717 (ielm-string, ielm-form, ielm-pos, ielm-result, ielm-error-type)
718 (ielm-output, ielm-wbuf, ielm-pmark): Declare.
719 (ielm-eval-input): Rename argument IELM-STRING to INPUT-STRING to keep
720 `ielm-string' as a dynamic variable accessible from the IELM prompt.
721 Bind `ielm-string' to INPUT-STRING. Remove unused variable `err'.
722
723 * image-dired.el (image-dired-display-thumbs): Remove unused
724 variables `curr-file' and `count'.
725 (image-dired-remove-tag): Remove unused variable `start'.
726 (image-dired-tag-files, image-dired-create-thumbs): Remove unused
727 variable `curr-file'
728 (image-dired-rotate-original): Remove unused variable `temp-file'.
729 (image-dired-mouse-select-thumbnail, image-dired-mouse-toggle-mark):
730 Remove unused variable `file'.
731 (image-dired-gallery-generate): Remove unused variable `curr'.
732 (image-dired-dired-edit-comment-and-tags): Mark unused parameters.
733
734 * indent.el (tab-to-tab-stop): Remove unused variable `opoint'.
735
736 * info-xref.el (info-xref-goto-node-p): Remove unused variable `err'.
737
738 * informat.el (texinfo-command-start, texinfo-command-end): Declare.
739
740 * isearch.el (minibuffer-history-symbol): Declare.
741 (isearch-edit-string): Remove unused variable `err'.
742 (isearch-message-prefix, isearch-message-suffix):
743 Mark unused parameters.
744
745 * ls-lisp.el (ls-lisp-insert-directory): Remove unused variable `fil'.
746
747 * macros.el (insert-kbd-macro): Remove unused variable `mods'.
748
749 * makesum.el (double-column): Remove unused variable `cnt'.
750
751 * misearch.el (multi-isearch-pop-state): Mark unused parameter.
752 (ido-ignore-item-temp-list): Declare.
753
754 * mouse-drag.el (mouse-drag-throw): Remove unused variables
755 `mouse-delta', `window-last-row', `mouse-col-delta', `window-last-col',
756 `adjusted-mouse-col-delta' and `adjusted-mouse-delta'.
757 (mouse-drag-drag): Remove unused variables `mouse-delta' and
758 `mouse-col-delta'.
759
760 * mouse-sel.el (mouse-extend-internal):
761 Remove unused variable `orig-window-frame'.
762
763 * pcomplete.el (pcomplete-args, pcomplete-begins, pcomplete-last)
764 (pcomplete-index, pcomplete-stub, pcomplete-seen, pcomplete-norm-func):
765 Move declarations before first use.
766 (pcomplete-opt): Mark unused parameters; doc fix.
767
768 * proced.el (proced-revert): Mark unused parameter.
769 (proced-send-signal): Remove unused variable `err'.
770
771 * ps-print.el (ps-print-preprint-region, ps-print-preprint):
772 Rename parameter PREFIX-ARG to ARG.
773 (ps-basic-plot-string, ps-basic-plot-whitespace):
774 Mark unused parameters.
775
776 * replace.el (replace-count): Define.
777 (occur-revert-function): Mark unused parameters.
778 (ido-ignore-item-temp-list, isearch-error, isearch-forward)
779 (isearch-case-fold-search, isearch-string): Declare.
780 (occur-engine): Rename parameter CASE-FOLD-SEARCH to CASE-FOLD and
781 bind `case-fold-search'. Remove unused variables `beg' and `end',
782 and simplify.
783 (replace-eval-replacement): Rename parameter REPLACE-COUNT to
784 COUNT and bind `replace-count'.
785 (replace-loop-through-replacements): Rename parameter REPLACE-COUNT
786 to COUNT.
787
788 * savehist.el (print-readably, print-string-length): Declare.
789
790 * shadowfile.el (shadow-expand-cluster-in-file-name):
791 Remove unused variable `cluster'.
792 (shadow-copy-file): Remove unused variable `i'.
793 (shadow-noquery, shadow-clusters, shadow-site-cluster)
794 (shadow-parse-fullname, shadow-parse-name, shadow-define-cluster)
795 (shadow-define-literal-group, shadow-define-regexp-group)
796 (shadow-make-group, shadow-shadows-of): Clean up docstrings.
797
798 * shell.el (shell-filter-ctrl-a-ctrl-b): Mark unused parameter.
799 (shell): Use `called-interactively-p'.
800 (shell-directory-tracker): Remove unused variable `chdir-failure'.
801
802 * simple.el (compilation-context-lines, comint-file-name-quote-list)
803 (comint-file-name-chars, comint-delimiter-argument-list): Declare.
804 (delete-backward-char): Remove unused variable `ocol'.
805 (minibuffer-avoid-prompt, minibuffer-history-isearch-pop-state)
806 (line-move-1, event-apply-alt-modifier, event-apply-super-modifier)
807 (event-apply-hyper-modifier, event-apply-shift-modifier)
808 (event-apply-control-modifier, event-apply-meta-modifier):
809 Mark unused parameters.
810 (undo-make-selective-list): Remove duplicate variable `undo-elt'.
811 (normal-erase-is-backspace-mode): Remove unused variable `old-state'.
812
813 * speedbar.el (speedbar-ignored-directory-expressions)
814 (speedbar-supported-extension-expressions, speedbar-directory-buttons)
815 (speedbar-find-file, speedbar-dir-follow)
816 (speedbar-directory-buttons-follow, speedbar-tag-find)
817 (speedbar-buffer-buttons, speedbar-buffer-buttons-temp)
818 (speedbar-buffers-line-directory, speedbar-buffer-click):
819 Mark unused parameters.
820 (speedbar-tag-file): Remove unused variable `mode'.
821 (speedbar-buffers-tail-notes): Remove unused variable `mod'; simplify.
822
823 * strokes.el (strokes-decode-buffer): Remove unused variable `ext'.
824
825 * talk.el (talk): Remove unused variable `display'.
826
827 * tar-mode.el (tar-subfile-save-buffer): Remove unused variable `name'.
828 (tar-write-region-annotate): Mark unused parameter.
829
830 * time.el (now, time, load, mail, 24-hours, hour, 12-hours, am-pm)
831 (minutes, seconds, time-zone, day, year, monthname, month, dayname):
832 Declare them, wrapped in `with-no-warnings' to avoid replacing one
833 warning by another.
834
835 * time-stamp.el (time-stamp-string-preprocess):
836 Remove unused variable `require-padding'.
837
838 * tree-widget.el (widget-glyph-enable): Declare.
839 (tree-widget-action): Mark unused parameter.
840
841 * w32-fns.el (x-get-selection): Mark unused parameter.
842 (autoload-make-program, generated-autoload-file): Declare.
843
844 * wdired.el (wdired-revert): Mark unused parameters.
845 (wdired-xcase-word): Remove unused variable `err'.
846
847 * whitespace.el (whitespace-buffer-changed): Mark unused parameters.
848 (whitespace-help-scroll): Remove unused variable `data-help'.
849
850 * wid-edit.el (widget-mouse-help, widget-overlay-inactive)
851 (widget-image-insert, widget-after-change, default)
852 (widget-default-format-handler, widget-default-notify)
853 (widget-default-prompt-value, widget-info-link-action)
854 (widget-url-link-action, widget-function-link-action)
855 (widget-variable-link-action, widget-file-link-action)
856 (widget-emacs-library-link-action, widget-emacs-commentary-link-action)
857 (widget-field-prompt-internal, widget-field-action, widget-field-match)
858 (widget-choice-mouse-down-action, toggle, widget-radio-button-notify)
859 (widget-insert-button-action, widget-delete-button-action, visibility)
860 (widget-documentation-link-action, widget-documentation-string-action)
861 (widget-const-prompt-value, widget-regexp-match, symbol)
862 (widget-coding-system-prompt-value)
863 (widget-key-sequence-value-to-external, sexp)
864 (widget-sexp-value-to-internal, character, vector, cons)
865 (widget-choice-prompt-value, widget-boolean-prompt-value)
866 (widget-color--choose-action): Mark unused parameters.
867 (widget-item-match-inline, widget-choice-match-inline)
868 (widget-checklist-match, widget-checklist-match-inline)
869 (widget-group-match): Rename parameter VALUES to VALS.
870 (widget-field-value-set): Remove unused variable `size'.
871 (widget-color-action): Remove unused variables `value' and `start'.
872
873 * windmove.el (windmove-wrap-loc-for-movement): Remove unused
bd0d2ee2 874 variable `dir'. Doc fix.
06b60517
JB
875 (windmove-find-other-window): Don't pass it.
876
877 * window.el (count-windows): Mark unused parameter.
878 (bw-adjust-window): Remove unused variable `err'.
879
880 * woman.el (woman-file-name): Remove unused variable `default'.
881 (woman-expand-directory-path): Rename parameters WOMAN-MANPATH and
882 WOMAN-PATH to PATH-DIRS and PATH-REGEXPS, respectively.
883 (global-font-lock-mode): Declare.
884 (woman-decode-region): Mark unused parameter.
885 (woman-get-tab-stop): Rename parameter TAB-STOP-LIST to TAB-STOPS.
886
887 * x-dnd.el (x-dnd-default-test-function, x-dnd-handle-old-kde)
888 (x-dnd-handle-xdnd, x-dnd-handle-motif): Mark unused parameters.
889 (x-dnd-handle-moz-url): Remove unused variable `title'.
890 (x-dnd-handle-xdnd): Remove unused variables `x', `y' and `ret-action'.
891
892 * xml.el (xml-parse-tag, xml-parse-attlist):
893 Remove unused variable `pos'.
894
bc4f7f3d
GM
8952011-04-19 Glenn Morris <rgm@gnu.org>
896
897 * calendar/cal-tex.el (cal-tex-list-holidays, cal-tex-cursor-month)
898 (cal-tex-cursor-week, cal-tex-cursor-week2, cal-tex-cursor-week-iso)
899 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
900 (cal-tex-cursor-filofax-daily, cal-tex-mini-calendar)
901 * calendar/cal-html.el (cal-html-insert-minical):
902 * calendar/diary-lib.el (diary-list-entries-1, diary-list-entries)
903 (calendar-mark-date-pattern):
904 Prefix "unused" locals.
905
906 * calendar/cal-dst.el (dst-adjust-time): Remove never-implemented
907 optional argument `style'.
908
909 * calendar/appt.el (appt-make-list):
910 * calendar/cal-china.el (calendar-chinese-date-string):
911 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits)
912 (diary-hebrew-yahrzeit):
913 * calendar/cal-tex.el (cal-tex-last-blank-p, cal-tex-cursor-week2):
914 * calendar/calendar.el (calendar-generate-window):
915 * calendar/time-date.el (time-to-days):
916 Remove unused local variables.
917
16a43933
CY
9182011-04-18 Chong Yidong <cyd@stupidchicken.com>
919
920 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Use a custom
921 glyphless-char-display table.
922 (tabulated-list-glyphless-char-display): New var.
923
7eed1860
SS
9242011-04-18 Sam Steingold <sds@gnu.org>
925
926 * vc/add-log.el (change-log-font-lock-keywords): Add "Thanks to"
927 to acknowledgments.
928
4d2d1ccd
GM
9292011-04-17 Glenn Morris <rgm@gnu.org>
930
931 * calendar/diary-lib.el (diary-sexp-entry):
932 * calendar/holidays.el (holiday-sexp):
933 Set debug-on-error rather than the removed stack-trace-on-error.
934
239da61d
GM
9352011-04-16 Glenn Morris <rgm@gnu.org>
936
937 * progmodes/f90.el: Use lexical-binding.
938 (f90-get-correct-indent): Remove unnecessary local variable `cont'.
939
8b05752a
SM
9402011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
941
daca8ba5
SM
942 * mail/sendmail.el (mail-mode-map): Use completion-at-point.
943 (mail-mode): Setup mailalias completion here instead.
944 * mail/mailalias.el: Use lexical-binding.
945 (pattern, mailalias-done): Declare dynamic.
946 (mail-completion-at-point-function): New function, from mail-complete.
947 (mail-complete): Use it.
948 (mail-completion-expand): New function.
949 (mail-get-names): Use it.
950 (mail-directory, mail-directory-process, mail-directory-stream):
951 Don't use `pattern' for lexically bound arg.
952
6f542485
SM
953 * emacs-lisp/lisp-mode.el (eval-defun-2): Use eval-sexp-add-defvars.
954
037e7c3f
SM
955 * htmlfontify.el (hfy-etags-cmd): Remove inoperant eval-and-compile.
956 (hfy-e2x-etags-cmd, hfy-etags-cmd-alist-default)
957 (hfy-etags-cmd-alist): Don't eval-and-compile any more.
958
8b05752a
SM
959 * emacs-lisp/bytecomp.el (byte-temp-output-buffer-show)
960 (byte-save-window-excursion, byte-temp-output-buffer-setup)
961 (byte-interactive-p): Define them again, for use when inlining
962 old code.
963
49093f60
JB
9642011-04-15 Juanma Barranquero <lekktu@gmail.com>
965
966 * loadup.el: Use `string-to-number', not `string-to-int'.
967
b5b8e7de
SM
9682011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
969
970 * progmodes/gud.el (gud-gdb): Use completion-at-point instead of
971 gud-gdb-complete-command.
972 (gud-gdb-completions): New function, from gud-gdb-complete-command.
973 (gud-gdb-completion-at-point): New function.
974 (gud-gdb-completions): Remove.
975
f42efeb5
MA
9762011-04-14 Michael Albinus <michael.albinus@gmx.de>
977
49093f60
JB
978 * net/tramp-sh.el (tramp-sh-handle-file-attributes): Handle the case
979 when the scripts fail. Use `tramp-do-file-attributes-with-ls' then.
980 (tramp-do-copy-or-rename-file-out-of-band): Do not check any longer
981 whether `executable-find' is bound.
f42efeb5
MA
982
983 * net/tramp-smb.el (tramp-smb-handle-copy-file): Fix docstring.
984
e240cc21
SM
9852011-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
986
987 * minibuffer.el (completion-in-region-mode-predicate)
988 (completion-in-region-mode--predicate): New vars.
989 (completion-in-region, completion-in-region--postch)
990 (completion-in-region-mode): Use them.
991 (completion--capf-wrapper): Also return the hook function.
992 (completion-at-point, completion-help-at-point):
993 Adjust and provide a predicate.
c2bd2ab0
SM
994
995 Preserve arg names for advice of subr and lexical functions (bug#8457).
996 * help-fns.el (help-function-arglist): Consolidate the subr and
997 new-byte-code cases. Add argument `preserve-names' to extract names
998 from the docstring when needed.
999 * emacs-lisp/advice.el (ad-define-subr-args, ad-undefine-subr-args)
1000 (ad-subr-args-defined-p, ad-get-subr-args, ad-subr-arglist): Remove.
1001 (ad-arglist): Use help-function-arglist's new arg.
1002 (ad-definition-type): Use cond.
1003
c183f693
JB
10042011-04-13 Juanma Barranquero <lekktu@gmail.com>
1005
06641a47
JB
1006 * autorevert.el (auto-revert-handler):
1007 Bind `remote-file-name-inhibit-cache', not `tramp-cache-inhibit-cache',
1008 which was removed in 2010-10-02T13:21:43Z!michael.albinus@gmx.de.
1009 Don't quote lambda.
1010
c183f693
JB
1011 * image-mode.el (image-transform-set-scale):
1012 Fix change in 2011-04-09T20:28:01Z!cyd@stupidchicken.com.
1013
1e3b6001
G
10142011-04-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
1015
1016 * net/network-stream.el (network-stream-open-starttls): Only do
1017 opportunistic STARTTLS upgrades if we have built-in gnutls support.
1018 Upgrades via gnutls-cli are too slow to be done opportunistically.
1019
2d6af8dd
JB
10202011-04-12 Juanma Barranquero <lekktu@gmail.com>
1021
1022 * dframe.el (dframe-current-frame): Remove spurious quote.
1023
c0749a51
GM
10242011-04-12 Glenn Morris <rgm@gnu.org>
1025
088d0d61
GM
1026 * calendar/cal-tex.el (cal-tex-end-document):
1027 Try to automatically use latin1 input if needed.
1028
c0749a51
GM
1029 * calendar/cal-hebrew.el (diary-hebrew-rosh-hodesh):
1030 Don't try to cons a mark onto an empty element.
1031
5c90fde0
LL
10322011-04-11 Leo Liu <sdl.web@gmail.com>
1033
1034 * ido.el (ido-buffer-internal): Allow method 'kill for virtual
1035 buffers.
1036 (ido-kill-buffer-at-head): Support killing virtual buffers.
1037
369e974d
CY
10382011-04-10 Chong Yidong <cyd@stupidchicken.com>
1039
1040 * minibuffer.el (completion-show-inline-help): New var.
1041 (completion--do-completion, minibuffer-complete)
daca8ba5
SM
1042 (minibuffer-force-complete, minibuffer-complete-word):
1043 Inhibit minibuffer messages if completion-show-inline-help is nil.
369e974d
CY
1044
1045 * icomplete.el (icomplete-mode): Bind completion-show-inline-help
1046 to avoid interference from inline help (Bug#5849).
1047
37f1c930
LL
10482011-04-10 Leo Liu <sdl.web@gmail.com>
1049
099c39a4
JB
1050 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
1051 Fix typo.
37f1c930 1052
a32d4040
CY
10532011-04-09 Chong Yidong <cyd@stupidchicken.com>
1054
1055 * image-mode.el (image-toggle-display-image): Signal an error if
1056 not in Image mode.
1057 (image-transform-mode, image-transform-resize)
1058 (image-transform-set-rotation): Doc fix.
daca8ba5 1059 (image-transform-set-resize): Delete.
a32d4040
CY
1060 (image-transform-set-scale, image-transform-fit-to-height)
1061 (image-transform-fit-to-width): Handle image-toggle-display-image
1062 and image-transform-resize directly.
1063
099c39a4 10642011-04-08 Sho Nakatani <lay.sakura@gmail.com>
d7b89879
TH
1065
1066 * doc-view.el (doc-view-fit-width-to-window)
099c39a4
JB
1067 (doc-view-fit-height-to-window, doc-view-fit-page-to-window):
1068 New functions for fitting the shown image to the Emacs window size.
d7b89879
TH
1069 (doc-view-mode-map): Add bindings for the new functions.
1070
099c39a4 10712011-04-08 Juanma Barranquero <lekktu@gmail.com>
ddc20cdb
JB
1072
1073 * vc-annotate.el (vc-annotate-show-log-revision-at-line):
1074 Fix typo in docstring.
1075
3726838a
EZ
10762011-04-08 Eli Zaretskii <eliz@gnu.org>
1077
04f33f1e
EZ
1078 * files.el (file-size-human-readable): Produce one digit after
1079 decimal, like "ls -lh" does.
1080
1081 * ls-lisp.el (ls-lisp-format-file-size): Allow for 7 characters in
1082 the file size representation.
1083
3726838a
EZ
1084 * simple.el (list-processes): If async subprocesses are not
1085 available, error out with a clear error message.
1086
cbb59342
CY
10872011-04-08 Chong Yidong <cyd@stupidchicken.com>
1088
1089 * help.el (help-form-show): New function, to be called from C.
1090 Put help-form output in a buffer named differently than *Help*.
1091
e3971c44
EZ
10922011-04-08 Eli Zaretskii <eliz@gnu.org>
1093
1094 * files.el (file-size-human-readable): New function.
1095
1096 * ls-lisp.el (ls-lisp-format-file-size): Use it, instead of
1097 computing the representation inline. Don't require `cl'.
1098
12544bbe
GM
10992011-04-08 Glenn Morris <rgm@gnu.org>
1100
a1de6c6a
GM
1101 * man.el (Man-page-header-regexp): Solaris < 2.6 no longer supported.
1102
3c4671f4
GM
1103 * net/browse-url.el (browse-url-firefox):
1104 Test system-type, not system-configuration.
1105
b605679c
GM
1106 * vc/log-edit.el (log-edit-empty-buffer-p): New function.
1107 (log-edit-insert-cvs-template, log-edit-insert-cvs-rcstemplate):
1108 Use log-edit-empty-buffer-p. (Bug#7598)
1109
56442f0c
GM
1110 * net/rlogin.el (rlogin-process-connection-type): Simplify.
1111 (rlogin-mode-map): Initialize in the defvar.
1112 (rlogin): Use ignore-errors.
1113
12544bbe
GM
1114 * replace.el (occur-mode-map): Some fixes for menu items.
1115
eb237b0f
AH
11162011-04-07 Aaron S. Hawley <aaron.s.hawley@gmail.com>
1117
1118 * play/morse.el (denato-region): Handle varying case. (Bug#8386)
1119
7d668f2c
CY
11202011-04-06 Chong Yidong <cyd@stupidchicken.com>
1121
e67a13ab
CY
1122 * emacs-lisp/cconv.el (cconv--analyse-use): Ignore "ignored" when
1123 issuing unused warnings.
1124
1125 * emacs-lisp/tabulated-list.el (tabulated-list-print): Use lambda
1126 macro directly.
1127
7d668f2c
CY
1128 * simple.el: Lisp reimplement of list-processes. Based on an
1129 earlier reimplementation by Leo Liu, but using tabulated-list.el.
1130 (process-menu-mode): New major mode.
1131 (list-processes--refresh, list-processes):
1132 (process-menu-visit-buffer): New functions.
1133
1134 * files.el (save-buffers-kill-emacs): Don't assume any return
1135 value of list-processes, which is undocumented anyway.
1136
a83ec3c9
CY
11372011-04-06 Chong Yidong <cyd@stupidchicken.com>
1138
1139 * emacs-lisp/tabulated-list.el: New file.
1140
e91a96fe
CY
1141 * emacs-lisp/package.el: Use Tabulated List mode.
1142 (package-menu-mode-map): Inherit from tabulated-list-mode-map.
1143 (package-menu-mode): Derive from tabulated-list-mode. Set up the
1144 table format using Tabulated List mode variables.
1145 (package--push): New macro, replacing package-list-maybe-add.
1146 (package-menu--generate): Use package--push. Renamed from
1147 package--generate-package-list.
1148 (package-menu-refresh, list-packages): Use it.
daca8ba5 1149 (package-menu--print-info): Rename from package-print-package.
e91a96fe 1150 Return insertion data instead of inserting it directly.
099c39a4
JB
1151 (package-menu-describe-package, package-menu-execute):
1152 Use tabulated-list-get-id.
e91a96fe
CY
1153 (package-menu-mark-delete, package-menu-mark-install)
1154 (package-menu-mark-unmark, package-menu-backup-unmark)
099c39a4
JB
1155 (package-menu-mark-obsolete-for-deletion):
1156 Use tabulated-list-put-tag.
e91a96fe
CY
1157 (package--list-packages, package-menu-revert)
1158 (package-menu-get-package, package-menu-get-version)
1159 (package-menu-sort-by-column): Functions deleted.
1160 (package-menu-package-list, package-menu-sort-key): Vars deleted.
1161 (package-menu--status-predicate, package-menu--version-predicate)
1162 (package-menu--name-predicate)
1163 (package-menu--description-predicate): Handle arguments in the
1164 Tabulated List format.
1165 (package-list-packages-no-fetch): Call list-packages.
1166
3e214b50
JB
11672011-04-06 Juanma Barranquero <lekktu@gmail.com>
1168
1169 * files.el (after-find-file-from-revert-buffer): Remove variable.
c9d0ec6d 1170 (after-find-file): Don't bind it.
3e214b50
JB
1171 (revert-buffer-in-progress-p): New variable.
1172 (revert-buffer): Bind it.
1173 Pass nil for `after-find-file-from-revert-buffer'.
1174
1175 * saveplace.el (save-place-find-file-hook): Use new variable
1176 `rever-buffer-in-progress-p', not `after-find-file-from-revert-buffer'.
1177
3f0f1700
GM
11782011-04-06 Glenn Morris <rgm@gnu.org>
1179
c0274801
GM
1180 * Makefile.in (AUTOGEN_VCS): New variable.
1181 (autoloads): Use $AUTOGEN_VCS.
1182
3f0f1700
GM
1183 * calendar/cal-move.el (calendar-scroll-toolkit-scroll): New function.
1184 * calendar/calendar.el (calendar-mode-map):
1185 Check for toolkit scroll bars. (Bug#8305)
1186
41ea9e48
CY
11872011-04-05 Chong Yidong <cyd@stupidchicken.com>
1188
1189 * minibuffer.el (completion-in-region--postch)
1190 (completion-in-region-mode): Remove unnecessary messages.
1191
6194c800
JB
11922011-04-05 Juanma Barranquero <lekktu@gmail.com>
1193
33256f14
JB
1194 * font-lock.el (font-lock-refresh-defaults):
1195 Don't bind `hi-lock--inhibit-font-lock-hook', removed in
1196 2010-10-09T04:09:19Z!cyd@stupidchicken.com and 2010-10-11T23:57:49Z!lekktu@gmail.com (2010-10-12).
1197
6194c800
JB
1198 * info.el (Info-directory-list, Info-read-node-name-2)
1199 (Info-split-parameter-string): Doc fixes.
1200 (Info-virtual-nodes): Reflow docstring.
1201 (Info-find-file, Info-directory-toc-nodes, Info-history-toc-nodes)
1202 (Info-apropos-toc-nodes, info-finder, Info-get-token)
1203 (Info-find-emacs-command-nodes, Info-speedbar-key-map):
1204 Fix typos in docstrings.
1205 (Info-revert-buffer-function, Info-search, Info-isearch-pop-state)
1206 (Info-speedbar-hierarchy-buttons, Info-speedbar-goto-node)
1207 (Info-speedbar-buttons, Info-desktop-buffer-misc-data)
1208 (Info-restore-desktop-buffer): Mark unused parameters.
1209 (Info-directory-find-file, Info-directory-find-node)
1210 (Info-history-find-file, Info-history-find-node, Info-toc-find-node)
1211 (Info-virtual-index-find-node, Info-apropos-find-file)
1212 (Info-apropos-find-node, Info-finder-find-file, Info-finder-find-node):
33256f14 1213 Mark unused parameters; fix typos in docstrings.
6194c800
JB
1214 (Info-virtual-index): Remove unused local variable `nodename'.
1215
b87a8200 12162011-04-05 Deniz Dogan <deniz@dogan.se>
0f6ee7d2 1217
b87a8200
DD
1218 * net/rcirc.el: Update my e-mail address.
1219 (rcirc-mode-map): Remove M-o binding.
0f6ee7d2 1220
3b2ff876
CY
12212011-04-05 Chong Yidong <cyd@stupidchicken.com>
1222
1223 * startup.el (command-line): Save the cursor's theme-face
1224 directly, instead of using face-override-spec.
1225
1226 * custom.el (load-theme): Minor optimization in assigning faces.
1227
8d17e7ca
JB
12282011-04-04 Juanma Barranquero <lekktu@gmail.com>
1229
1230 * help-fns.el (describe-variable): Complete all variables having
1231 documentation, including keywords.
1232 http://lists.gnu.org/archive/html/emacs-devel/2011-04/msg00112.html
1233
2fbc1934
JB
12342011-04-04 Juanma Barranquero <lekktu@gmail.com>
1235
1236 Convert to lexical-binding.
1237
1238 * bs.el (bs-refresh, bs-sort-buffer-interns-are-last)
1239 (bs--get-marked-string, bs--get-modified-string)
1240 (bs--get-readonly-string, bs--get-size-string, bs--get-name)
1241 (bs--get-mode-name, bs--get-file-name): Mark unused arguments.
1242 (bs--configuration-name-for-prefix-arg): Rename argument PREFIX-ARG.
1243
1244 * ehelp.el (electric-help-execute-extended)
1245 (electric-help-ctrl-x-prefix):
1246 * hexl.el (hexl-revert-buffer-function):
1247 * linum.el (linum-after-change, linum-after-scroll):
1248 * emacs-lisp/re-builder.el (reb-auto-update): Mark unused arguments.
1249
1250 * help-fns.el (help-describe-category-set): Remove unused ERR variable.
1251
74f50695
DU
12522011-04-04 Daiki Ueno <ueno@unixuser.org>
1253
1254 * epa-dired.el:
1255 * epa-mail.el:
1256 * epa-hook.el:
1257 * epa-file.el:
1258 * epa.el:
1259 * epg.el: Use lexical binding.
1260
c11325f7
CY
12612011-04-03 Chong Yidong <cyd@stupidchicken.com>
1262
0d9e9a12
CY
1263 * dired-aux.el (dired-create-files): Add docstring (Bug#7970).
1264
c11325f7 1265 * textmodes/flyspell.el (flyspell-word): Recognize default
daca8ba5
SM
1266 dictionary case for flyspell-mark-duplications-exceptions.
1267 Use regexp matching for languages.
c11325f7
CY
1268 (flyspell-mark-duplications-exceptions): Add "that" and "had" for
1269 default dictionary (Bug#7926).
1270
da91b5f2
CY
12712011-04-02 Chong Yidong <cyd@stupidchicken.com>
1272
099c39a4
JB
1273 * emacs-lisp/package.el (package--with-work-buffer):
1274 Recognize https URLs.
da91b5f2 1275
099c39a4
JB
1276 * net/network-stream.el: Move from gnus/proto-stream.el.
1277 Change prefix to network-stream throughout.
da91b5f2
CY
1278 (open-protocol-stream): Merge into open-network-stream, leaving
1279 open-protocol-stream as an alias. Handle nil BUFFER args.
1280
1281 * subr.el (open-network-stream): Move to net/network-stream.el.
1282
afa8e9f6
GM
12832011-04-02 Glenn Morris <rgm@gnu.org>
1284
1d2e369d
GM
1285 * find-dired.el (find-exec-terminator): New option.
1286 (find-ls-option): Test for -ls support.
1287 (find-ls-subdir-switches): Test for -b in find-ls-option.
1288 (find-dired, find-grep-dired): Doc fixes.
1289 (find-dired): Use find-exec-terminator.
1290
8abb7da8 1291 * find-dired.el (find-ls-option, find-ls-subdir-switches)
e7a395b5
GM
1292 (find-grep-options): Do not autoload these defcustoms, remove purecopy.
1293 (find-name-arg): Remove purecopy.
8abb7da8 1294
f3ca7378
GM
1295 * progmodes/grep.el (grep-find-use-xargs): Doc fix.
1296 (grep-compute-defaults): Check for `-exec COMMAND +' support.
1297 Set grep-find-use-xargs, grep-find-command, and grep-find-template
1298 accordingly. Don't add the null-device if not needed.
1299
afa8e9f6
GM
1300 * files.el (save-some-buffers): Doc fix.
1301
35eae264
EZ
13022011-04-02 Eli Zaretskii <eliz@gnu.org>
1303
1304 * makefile.w32-in (EMACS): Default to ../src/$(BLD)/emacs.exe.
1305
26b51db5
JB
13062011-04-01 Juanma Barranquero <lekktu@gmail.com>
1307
1308 * progmodes/idlwave.el (idlwave-one-key-select, idlwave-list-abbrevs):
1309 Use `dolist' rather than `mapcar'.
1310
7200d79c
SM
13112011-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
1312
03408648 1313 Add lexical binding.
7200d79c 1314
03408648
SM
1315 * subr.el (apply-partially): Use new closures rather than CL.
1316 (--dolist-tail--, --dotimes-limit--): Don't declare dynamic.
1317 (dolist, dotimes): Use slightly different expansion for lexical code.
1318 (functionp): Move to C.
1319 (letrec): New macro.
1320 (with-wrapper-hook): Use it and apply-partially instead of CL.
1321 (eval-after-load): Preserve lexical-binding.
1322 (save-window-excursion, with-output-to-temp-buffer): Turn them
1323 into macros.
7200d79c 1324
03408648
SM
1325 * simple.el (with-wrapper-hook, apply-partially): Move to subr.el.
1326
1327 * help-fns.el (help-split-fundoc): Return nil if there's nothing else
1328 than the arglist.
1329 (help-add-fundoc-usage): Don't add `Not documented'.
1330 (help-function-arglist): Handle closures, subroutines, and new
1331 byte-code-functions.
1332 (help-make-usage): Remove leading underscores.
1333 (describe-function-1): Handle closures.
1334 (describe-variable): Use special-variable-p for completion.
1335
1336 * files.el (lexical-binding): Declare safe.
f488fb65 1337
03408648
SM
1338 * emacs-lisp/pcase.el: Don't use destructuring-bind.
1339 (pcase--memoize): Rename from pcase-memoize. Change weakness.
1340 (pcase): Add `let' pattern.
1341 Change memoization so it actually works.
1342 (pcase-mutually-exclusive-predicates): Add byte-code-function-p.
1343 (pcase--u1) <guard, pred>: Fix possible shadowing problem.
1344 <let>: New case.
f488fb65 1345
03408648
SM
1346 * emacs-lisp/macroexp.el: Use lexical binding.
1347 (macroexpand-all-1): Check obsolete macros. Expand compiler-macros.
1348 Don't convert ' to #' without checking that it's indeed quoting
1349 a lambda.
1350
1351 * emacs-lisp/lisp-mode.el (eval-last-sexp-1):
f488fb65 1352 Use eval-sexp-add-defvars.
03408648
SM
1353 (eval-sexp-add-defvars): New fun.
1354
1355 * emacs-lisp/float-sup.el (pi): Don't declare as dynamically bound.
1356
1357 * emacs-lisp/eieio.el (byte-compile-file-form-defmethod):
1358 Don't autoload.
1359 (eieio-defgeneric-form-primary-only-one): Use `byte-compile' rather
1360 than the internal `byte-compile-lambda'.
1361 (defmethod): Don't hide code under quotes.
1362 (eieio-defmethod): New `code' argument.
1363
1364 * emacs-lisp/eieio-comp.el: Remove.
1365
1366 * emacs-lisp/edebug.el (edebug-eval-defun)
1367 (edebug-eval-top-level-form): Use eval-sexp-add-defvars.
1368 (edebug-toggle): Avoid `eval'.
1369
1370 * emacs-lisp/disass.el (disassemble-internal): Handle new
1371 `closure' objects.
1372 (disassemble-1): Handle new byte codes.
1373
1374 * emacs-lisp/cl.el (pushnew): Silence warning.
1375
1376 * emacs-lisp/cl-macs.el (cl-byte-compile-block)
1377 (cl-byte-compile-throw): Remove.
1378 (cl-block-wrapper, cl-block-throw): Use compiler-macros instead.
1379
1380 * emacs-lisp/cl-extra.el (cl-macroexpand-all): Properly quote CL
1381 closures.
1382
1383 * emacs-lisp/cconv.el: New file.
1384
1385 * emacs-lisp/bytecomp.el: Use lexical binding instead of
1386 a "bytecomp-" prefix. Macroexpand everything as a separate phase.
1387 (byte-compile-initial-macro-environment):
1388 Handle declare-function here.
1389 (byte-compile--lexical-environment): New var.
1390 (byte-stack-ref, byte-stack-set, byte-discardN)
1391 (byte-discardN-preserve-tos): New lap codes.
1392 (byte-interactive-p): Don't use any more.
1393 (byte-compile-push-bytecodes, byte-compile-push-bytecode-const2):
1394 New macros.
1395 (byte-compile-lapcode): Use them and handle new lap codes.
1396 (byte-compile-obsolete): Remove.
1397 (byte-compile-arglist-signature): Handle new byte-code arg"lists".
1398 (byte-compile-arglist-warn): Check late def of inlinable funs.
1399 (byte-compile-cl-warn): Don't silence warnings for compiler-macros
1400 since they should have been expanded by now.
1401 (byte-compile--outbuffer): Rename from bytecomp-outbuffer.
1402 (byte-compile-from-buffer): Remove unused second arg.
1403 (byte-compile-preprocess): New function.
1404 (byte-compile-toplevel-file-form): New function to distinguish
1405 file-form calls from outside from file-form calls from hunk-handlers.
1406 (byte-compile-file-form): Simplify.
1407 (byte-compile-file-form-defsubst): Remove.
1408 (byte-compile-file-form-defmumble): Simplify now that
1409 byte-compile-lambda always returns a byte-code-function.
1410 (byte-compile): Preprocess.
1411 (byte-compile-byte-code-maker, byte-compile-byte-code-unmake):
1412 Remove, not used any more.
1413 (byte-compile-arglist-vars, byte-compile-make-lambda-lexenv)
1414 (byte-compile-make-args-desc): New funs.
1415 (byte-compile-lambda): Handle lexical functions. Always return
1416 a byte-code-function.
1417 (byte-compile-reserved-constants): New var, to make up room for
1418 closed-over variables.
1419 (byte-compile-constants-vector): Obey it.
1420 (byte-compile-top-level): New args `lexenv' and `reserved-csts'.
1421 (byte-compile-macroexpand-declare-function): New function.
1422 (byte-compile-form): Call byte-compile-unfold-bcf to inline immediate
1423 byte-code-functions.
1424 (byte-compile-form): Check obsolescence here.
1425 (byte-compile-inline-lapcode, byte-compile-unfold-bcf): New functions.
1426 (byte-compile-variable-ref): Remove.
1427 (byte-compile-dynamic-variable-op): New fun.
1428 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
1429 (byte-compile-variable-set): New funs.
1430 (byte-compile-discard): Add 2 args.
1431 (byte-compile-stack-ref, byte-compile-stack-set)
1432 (byte-compile-make-closure, byte-compile-get-closed-var): New funs.
1433 (byte-compile-funarg, byte-compile-funarg-2): Remove, handled in
1434 macroexpand-all instead.
1435 (byte-compile-quote-form): Remove.
1436 (byte-compile-push-binding-init, byte-compile-not-lexical-var-p)
1437 (byte-compile-bind, byte-compile-unbind): New funs.
1438 (byte-compile-let): Handle let* and lexical binding.
1439 (byte-compile-let*): Remove.
1440 (byte-compile-catch, byte-compile-unwind-protect)
1441 (byte-compile-track-mouse, byte-compile-condition-case):
1442 Handle a new :fun-body form, used for lexical scoping.
1443 (byte-compile-save-window-excursion)
1444 (byte-compile-with-output-to-temp-buffer): Remove.
1445 (byte-compile-defun): Simplify.
1446 (byte-compile-stack-adjustment): New fun.
1447 (byte-compile-out): Use it.
1448 (byte-compile-refresh-preloaded): Don't reload byte-compiler files.
1449
1450 * emacs-lisp/byte-run.el (make-obsolete): Don't set the `byte-compile'
1451 handler any more.
1452
1453 * emacs-lisp/byte-opt.el: Use lexical binding.
1454 (byte-inline-lapcode): Remove (to bytecomp).
1455 (byte-compile-inline-expand): Pay attention to inlining to/from
1456 lexically bound code.
1457 (byte-compile-unfold-lambda): Don't handle byte-code-functions
1458 any more.
1459 (byte-optimize-form-code-walker): Don't handle save-window-excursion
1460 any more and don't call compiler-macros.
1461 (byte-compile-splice-in-already-compiled-code): Remove.
1462 (byte-code): Don't inline any more.
1463 (disassemble-offset): Receive `bytes' as argument rather than via
1464 dynamic scoping.
1465 (byte-compile-tag-number): Declare before first use.
1466 (byte-decompile-bytecode-1): Handle new byte-codes, don't change
1467 `return' even if make-spliceable.
1468 (byte-compile-side-effect-and-error-free-ops): Add stack-ref, remove
1469 obsolete interactive-p.
1470 (byte-optimize-lapcode): Optimize new lap-codes.
1471 Don't trip up on new form of `byte-constant' lap code.
1472
1473 * emacs-lisp/autoload.el (make-autoload): Don't burp on trivial macros.
1474
1475 * emacs-lisp/advice.el (ad-arglist): Use help-function-arglist.
1476
1477 * custom.el (custom-initialize-default, custom-declare-variable):
1478 Use `defvar'.
1479
1480 * Makefile.in (BIG_STACK_DEPTH, BIG_STACK_OPTS, BYTE_COMPILE_FLAGS):
1481 New variables.
1482 (compile-onefile, .el.elc, compile-calc, recompile): Use them.
1483 (COMPILE_FIRST): Add macroexp and cconv.
1484 * makefile.w32-in: Mirror changes in Makefile.in.
1485
1486 * vc/cvs-status.el:
1487 * vc/diff-mode.el:
1488 * vc/log-edit.el:
1489 * vc/log-view.el:
1490 * vc/smerge-mode.el:
1491 * textmodes/bibtex-style.el:
1492 * textmodes/css.el:
1493 * startup.el:
1494 * uniquify.el:
da91b5f2
CY
1495 * minibuffer.el:
1496 * newcomment.el:
1497 * reveal.el:
1498 * server.el:
1499 * mpc.el:
1500 * emacs-lisp/smie.el:
1501 * doc-view.el:
1502 * dired.el:
03408648
SM
1503 * abbrev.el: Use lexical binding.
1504
0f0c1f27
EZ
15052011-04-01 Eli Zaretskii <eliz@gnu.org>
1506
1507 * info.el (info-display-manual): New function.
1508
c82b2579
SM
15092011-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
1510
1511 * loadup.el: Load minibuffer after loaddefs, to use define-minor-mode.
1512
221ddf68
TH
15132011-03-31 Tassilo Horn <tassilo@member.fsf.org>
1514
1515 * net/rcirc.el (rcirc-handler-001): Only authenticate, if there's
2fbc1934 1516 an entry for that server in rcirc-authinfo. (Bug#8385)
221ddf68 1517
cba6e77e
GM
15182011-03-31 Glenn Morris <rgm@gnu.org>
1519
e040639f
GM
1520 * progmodes/f90.el (f90-find-tag-default): Handle multiple `%'.
1521
cba6e77e
GM
1522 * generic-x.el (etc-fstab-generic-mode): Add ext4, sysfs keywords.
1523
6d0f1c9e
CS
15242011-03-30 Christoph Scholtes <cschol2112@googlemail.com>
1525
1526 * progmodes/python.el (python-default-interpreter)
1527 (python-python-command-args, python-jython-command-args)
1528 (python-which-shell, python-which-args, python-which-bufname)
1529 (python-file-queue, python-comint-output-filter-function)
1530 (python-toggle-shells, python-shell): Remove obsolete defcustoms,
1531 variables and functions.
1532
3e2d70fd
SM
15332011-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
1534
1535 * minibuffer.el (completion-table-dynamic): Optimize `boundaries'.
1536 (completion-in-region-mode): New minor mode.
1537 (completion-in-region): Use it.
1538 (completion-in-region--data, completion-in-region-mode-map): New vars.
1539 (completion-in-region--postch): New function.
1540 (completion--capf-misbehave-funs, completion--capf-safe-funs):
1541 New vars.
1542 (completion--capf-wrapper): New function.
1543 (completion-at-point): Use it to track well-behavedness of
1544 hook functions.
1545 (completion-help-at-point): New command.
1546
f3e4086c
JM
15472011-03-30 Jason Merrill <jason@redhat.com> (tiny change)
1548
1549 * vc/add-log.el (add-change-log-entry): Don't use whitespace
1550 syntax class to search for whitespace on a single line
1551 (Message-ID: <4D938140.4030905@redhat.com>).
1552
eb7ffc14
LL
15532011-03-30 Leo Liu <sdl.web@gmail.com>
1554
1555 * abbrev.el (abbrev-edit-save-to-file, abbrev-edit-save-buffer):
1556 New commands.
1557 (edit-abbrevs-map): Bind them here.
1558 (write-abbrev-file): New optinal arg VERBOSE. (Bug#5937)
1559
d806ab68
KM
15602011-03-29 Ken Manheimer <ken.manheimer@gmail.com>
1561
1562 * allout.el (allout-hide-by-annotation, allout-flag-region):
1563 Reduce possibility of overlay leakage by making them volatile.
1564
1565 * allout-widgets.el (allout-widgets-tally): Define as nil so the
1566 hash is not shared between buffers. Mode initialization is
1567 responsible for giving it a useful starting value.
1568 (allout-item-span): Reduce possibility of overlay leakage by
1569 making them volatile.
1570 (allout-widgets-count-buttons-in-region): Add diagnostic function
1571 for tracking down button overlay leaks.
1572
ea622834
LL
15732011-03-29 Leo Liu <sdl.web@gmail.com>
1574
1575 * ido.el (ido-read-internal): Use the default history var
1576 minibuffer-history if no HISTORY is specified.
1577
b62f8267
G
15782011-03-28 Brian T. Sniffen <bsniffen@akamai.com> (tiny change)
1579
03408648
SM
1580 * net/imap.el (imap-shell-open, imap-process-connection-type):
1581 Use imap-process-connection-type for 'shell' streams as well as
b62f8267
G
1582 Kerberos, SSL, other subprocesses.
1583
947b6566
LL
15842011-03-28 Leo Liu <sdl.web@gmail.com>
1585
1586 * abbrev.el (abbrev-table-empty-p): New function.
1587 (prepare-abbrev-list-buffer): Place empty abbrev tables after
1588 nonempty ones. (Bug#5937)
1589
5ffb62aa
JD
15902011-03-27 Jan Djärv <jan.h.d@swipnet.se>
1591
1592 * cus-start.el (all): Add boolean ns-auto-hide-menu-bar.
1593
7a097943
LL
15942011-03-27 Leo Liu <sdl.web@gmail.com>
1595
1596 * ansi-color.el (ansi-color-names-vector): Allow cons cell value
1597 for foreground and background colors.
1598 (ansi-color-make-color-map): Adapt.
1599
c5b40130
LL
16002011-03-25 Leo Liu <sdl.web@gmail.com>
1601
1f48f7d2
LL
1602 * midnight.el (midnight-time-float): Remove. Note it calculates
1603 the microsecond component incorrectly and seconds-to-time does the
1604 same job.
625897ec 1605 Remove redundant (require 'timer).
1f48f7d2 1606
c5b40130
LL
1607 * ido.el (ido-read-internal): Simplify with read-from-minibuffer.
1608 (ido-completions): Remove unused arguments. (Bug#8329)
1609
d86d2721
SM
16102011-03-24 Stefan Monnier <monnier@iro.umontreal.ca>
1611
1612 * minibuffer.el (completion--flush-all-sorted-completions):
1613 Remove itself from hook.
1614 (completion-at-point): Let the functions perform the completion
1615 immediately and return nil or t.
1616 * comint.el (comint-dynamic-complete-functions): Now identical to
1617 completion-at-point-functions.
1618 (comint-dynamic-list-input-ring): Remove unused var `index'.
1619 (comint--match-partial-filename, comint--unquote&expand-filename):
1620 New funs, split from comint-match-partial-filename.
1621 (comint-dynamic-complete): Use completion-at-point.
1622 (comint-dynamic-complete-filename): Use comint--match-partial-filename.
1623
e8974c48
DA
16242011-03-24 Drew Adams <drew.adams@oracle.com>
1625
1626 * thingatpt.el: Support `defun'.
1627
def71b5e
LL
16282011-03-23 Leo Liu <sdl.web@gmail.com>
1629
cb5af48e
LL
1630 * abbrevlist.el: Move to obsolete/abbrevlist.el.
1631
def71b5e
LL
1632 * help-mode.el (help-mode-finish): Tweak regexp.
1633
927c53e7
GM
16342011-03-23 Glenn Morris <rgm@gnu.org>
1635
18d05bed
GM
1636 * eshell/esh-opt.el (eshell-eval-using-options):
1637 Do not bind unused local variable `eshell-option-stub'.
1638
927c53e7
GM
1639 * progmodes/gdb-mi.el (gdb): Fix typo in previous change.
1640
9d0da923
JB
16412011-03-22 Juanma Barranquero <lekktu@gmail.com>
1642
1643 * emacs-lisp/derived.el (define-derived-mode): Wrap declaration of
1644 keymap variable in `with-no-warnings' to avoid a warning when the
1645 keymap has been already `defconst'ed.
1646
4b978a67
LL
16472011-03-22 Leo Liu <sdl.web@gmail.com>
1648
1649 * abbrev.el (write-abbrev-file): Use utf-8 for writing if it can
1650 encode all chars in abbrevs; otherwise use emacs-mule or
1651 utf-8-emacs. (Bug#8308)
1652
5fd62452
JB
16532011-03-22 Juanma Barranquero <lekktu@gmail.com>
1654
0b1596c6
JB
1655 * simple.el (backward-delete-char-untabify):
1656 Avoid warning about using `delete-backward-char'.
1657
5fd62452
JB
1658 * image.el (image-type-file-name-regexps): Make it variable.
1659 `imagemagick-register-types' modifies it, and the user may want
1660 to add new extensions for known image types.
1661 (imagemagick-register-types): Throw error if not using ImageMagick.
1662
0b4e93f1
LL
16632011-03-22 Leo Liu <sdl.web@gmail.com>
1664
1665 * net/rcirc.el (rcirc-completion-at-point): Return nil if point is
1666 located before rcirc-prompt-end-marker.
1667 (rcirc-complete): Error if point is not after rcirc prompt.
1668 Handle the case when table is nil.
9882e214 1669 (rcirc-user-authenticated): Define to fix compiler warning.
0b4e93f1 1670
fccee4ab
CY
16712011-03-22 Chong Yidong <cyd@stupidchicken.com>
1672
1673 * custom.el (custom--inhibit-theme-enable): Make it affect only
1674 custom-theme-set-variables and custom-theme-set-faces.
1675 (provide-theme): Ignore custom--inhibit-theme-enable.
1676 (load-theme): Enable the theme explicitly if NO-ENABLE is non-nil.
1677 (custom-enabling-themes): Delete variable.
d86d2721
SM
1678 (enable-theme): Accept only loaded themes as arguments.
1679 Ignore the special custom-enabled-themes variable.
fccee4ab
CY
1680 (custom-enabled-themes): Forbid themes from setting this.
1681 Eliminate use of custom-enabling-themes.
1682 (custom-push-theme): Quote "changed" custom var entry.
0357c7ae 1683
af896da6
LL
16842011-03-21 Leo Liu <sdl.web@gmail.com>
1685
1686 * ido.el (ido-read-internal): Add ido-selected to history instead
1687 of user input.
1688
78f64af0
SM
16892011-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
1690
1691 * subr.el (deferred-action-list, deferred-action-function):
1692 Mark obsolete.
1693
b16ac1ec
LL
16942011-03-21 Leo Liu <sdl.web@gmail.com>
1695
810f7698
LL
1696 * vc/log-view.el: Remove (require 'wid-edit), not needed after the
1697 change on 2011-02-13 (bug#8309).
1698
b16ac1ec
LL
1699 * minibuffer.el (read-file-name-function): Change default value.
1700 (read-file-name--defaults): Rename from read-file-name-defaults.
1701 (read-file-name-default): Rename from read-file-name.
1702 (read-file-name): Call read-file-name-function.
1703
4e05e67e
GM
17042011-03-21 Glenn Morris <rgm@gnu.org>
1705
1706 * eshell/esh-opt.el (eshell-eval-using-options, eshell-process-args):
1707 Doc fixes.
1708
4359915b
CY
17092011-03-21 Chong Yidong <cyd@stupidchicken.com>
1710
1711 * cus-theme.el: Add missing provide statement.
1712 (customize-create-theme): Extract theme value correctly.
1713 (custom-theme-visit-theme): Autoload.
1714 (customize-create-theme): Prompt before inserting default faces.
1715
1fe275ee
JB
17162011-03-20 Jay Belanger <jay.p.belanger@gmail.com>
1717
1718 * calc/calc-menu.el (calc-units-menu): Add entries for logarithmic
1719 units and musical notes.
1720
3ec03f7e
LL
17212011-03-20 Leo <sdl.web@gmail.com>
1722
1723 * ido.el (ido-read-internal): Use completing-read-default.
1724 (ido-completing-read): Fix compatibility with completing-read.
1725
7d476bde
CO
17262011-03-20 Christian Ohler <ohler@gnu.org>
1727
1728 * emacs-lisp/ert.el (ert-run-tests-batch): Remove unused variable.
1729 (ert-delete-all-tests): Use `called-interactively-p' rather than
1730 `interactive-p'.
1731 (ert--make-xrefs-region): Respect END.
1732
fe0fb33e
CY
17332011-03-19 Chong Yidong <cyd@stupidchicken.com>
1734
ff854b0b
CY
1735 * dired-aux.el (dired-create-directory): Signal an error if the
1736 directory already exists (Bug#8246).
1737
fe0fb33e
CY
1738 * facemenu.el (list-colors-display): Call list-faces-display
1739 inside with-help-window.
1740 (list-colors-print): Use display property to align the final
1741 column, instead of checking window-width.
1742
576bce32
EZ
17432011-03-19 Eli Zaretskii <eliz@gnu.org>
1744
1745 * emerge.el (emerge-metachars): Separate value for ms-dos and
1746 windows-nt systems.
1747 (emerge-protect-metachars): Quote correctly for ms-dos and
1748 windows-nt systems.
1749
8546720e 17502011-03-19 Ralph Schleicher <rs@ralph-schleicher.de> (tiny change)
e6ce307c
RS
1751
1752 * info.el (info-initialize): Replace all uses of `:' with
1753 path-separator for compatibility with non-Unix systems.
1754 Cache quoting of path-separator. (Bug#8258)
1755
b14e3e21 17562011-03-19 Juanma Barranquero <lekktu@gmail.com>
ad22b7f7
JB
1757
1758 * avoid.el (mouse-avoidance-mode, mouse-avoidance-nudge-dist)
1759 (mouse-avoidance-threshold, mouse-avoidance-banish-destination)
1760 (mouse-avoidance-mode): Fix typos in docstrings.
1761
4525ce3e
CY
17622011-03-19 Chong Yidong <cyd@stupidchicken.com>
1763
1764 * startup.el (package-subdirectory-regexp): Move from package.el.
1765 Omit \\` and \\', and let callers add them.
1766
1767 * emacs-lisp/package.el (package-strip-version)
1768 (package-load-all-descriptors): Add \\` and \\' to
1769 package-subdirectory-regexp before using it.
1770 (package-untar-buffer): New arg DIR; ensure that file untars only
1771 into this expected directory. Remove superfluous delete-region.
1772 (package-unpack): Caller changed.
1773 (package-tar-file-info): Use package-subdirectory-regexp.
1774
a904a09a 17752011-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
1518e4f0 1776
a904a09a
SM
1777 * vc/diff-mode.el (diff-mode-map): Shadow problematic bindings from
1778 diff-mode-shared-map (bug#8284).
1779 (diff-mode-shared-map): Re-introduce some bindings that were problematic.
1518e4f0
G
1780
17812011-03-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
1782
1783 * calendar/time-date.el (format-seconds): Use assoc instead of
1784 assoc-string, since assoc-string doesn't exist in XEmacs.
1785
171fc304
JB
17862011-03-17 Juanma Barranquero <lekktu@gmail.com>
1787
1788 * custom.el (custom-known-themes): Reflow docstring.
1789 (custom-theme-load-path): Fix typo in docstring.
1790 (load-theme): Fix typo in error message.
1791 (custom-available-themes, custom-variable-theme-value):
1792 Use `let', not `let*'.
1793
d71990a1
JB
17942011-03-17 Jay Belanger <jay.p.belanger@gmail.com>
1795
1796 * calc/README: Mention inclusion of musical notes.
1797
1798 * calc/calc-units.el (calc-lu-quant): Rename from
1799 `calc-logunits-quantity'.
1800 (calcFunc-lupquant): Rename from `calcFunc-powerquant'.
1801 (calcFunc-lufquant): Rename from `calcFunc-fieldquant'.
1802 (calc-db): Rename from `calc-dblevel'.
1803 (calcFunc-dbpower): Rename from `calcFunc-dbpowerlevel'.
1804 (calcFunc-dbfield): Rename from `calcFunc-dbfieldlevel'.
1805 (calc-np): Rename from `calc-nplevel'.
1806 (calcFunc-nppower): Rename from `calcFunc-nppowerlevel'.
1807 (calcFunc-npfield): Rename from `calcFunc-npfieldlevel'.
1808 (calc-lu-plus): Rename from `calc-logunits-add'.
1809 (calcFunc-lupadd): Rename from `calcFunc-lupoweradd'.
1810 (calcFunc-lufadd): Rename from `calcFunc-lufieldadd'.
1811 (calc-lu-minus): Rename from `calc-logunits-sub'.
1812 (calcFunc-lupsub): Rename from `calcFunc-lupowersub'.
1813 (calcFunc-lufsub): Rename from `calcFunc-lufieldsub'.
1814 (calc-lu-times): Rename from `calc-logunits-mul'.
1815 (calcFunc-lupmul): Rename from `calcFunc-lupowermul'.
1816 (calcFunc-lufmul): Rename from `calcFunc-lufieldmul'.
1817 (calc-lu-divide): Rename from `calc-logunits-div'.
1818 (calcFunc-lupdiv): Rename from `calcFunc-lupowerdiv'.
1819 (calcFunc-lufdiv): Rename from `calcFunc-lufielddiv'.
1820
1821 * calc/calc-ext.el (calc-init-extensions): Update the names of the
1822 functions being autoloaded.
1823
1824 * calc/calc.el (calc-lu-power-reference): Rename from
1825 `calc-logunits-power-reference'.
1826 (calc-lu-field-reference): Rename from
1827 `calc-logunits-field-reference'.
1828
1829 * calc/calc-help (calc-l-prefix-help): Mention musical note functions.
1830
40c2934b
SM
18312011-03-17 Stefan Monnier <monnier@iro.umontreal.ca>
1832
1833 * minibuffer.el (completion-all-sorted-completions):
1834 Use :completion-cycle-penalty text property if present.
1835
b0911414
KM
18362011-03-16 Ken Manheimer <ken.manheimer@gmail.com>
1837
1838 * allout.el (allout-yank-processing): Adjust for new rebulleting
1839 regime so bullet being yanked is used without prompting the user
1840 for a choice.
1841
8a05b668
JB
18422011-03-16 Juanma Barranquero <lekktu@gmail.com>
1843
1844 * startup.el (command-line): Warn the user that _emacs is deprecated.
1845
5ba5fb81
JB
18462011-03-16 Juanma Barranquero <lekktu@gmail.com>
1847
1848 * progmodes/delphi.el (delphi-search-path, delphi-indent-level)
1849 (delphi-verbose, delphi-comment-face, delphi-string-face)
1850 (delphi-keyword-face, delphi-ignore-changes, delphi-indent-line)
1851 (delphi-mode-abbrev-table, delphi-debug-buffer, delphi-tab)
1852 (delphi-find-unit, delphi-find-current-xdef, delphi-fill-comment)
1853 (delphi-new-comment-line, delphi-font-lock-defaults)
1854 (delphi-debug-mode-map, delphi-mode-syntax-table, delphi-mode):
1855 Fix typos in docstrings.
1856
2dab465b
KM
18572011-03-15 Ken Manheimer <ken.manheimer@gmail.com>
1858
5ba5fb81 1859 * allout.el (allout-make-topic-prefix, allout-rebullet-heading):
2dab465b
KM
1860 Invert the roles of character and string values for INSTEAD, so a
1861 string is used for the more common case of a defaulting prompt.
1862
0adf5618
SM
18632011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
1864
1865 * progmodes/ruby-mode.el (ruby-backward-sexp):
1866 * progmodes/ebrowse.el (ebrowse-draw-file-member-info):
1867 * play/gamegrid.el (gamegrid-make-face):
1868 * play/bubbles.el (bubbles--grid-width, bubbles--grid-height)
1869 (bubbles--colors, bubbles--shift-mode, bubbles--initialize-images):
1870 * notifications.el (notifications-notify):
1871 * net/xesam.el (xesam-search-engines):
1872 * net/quickurl.el (quickurl-list-insert):
1873 * vc/vc-hg.el (vc-hg-dir-printer): Fix use of case.
1874
d72700e5
CY
18752011-03-15 Chong Yidong <cyd@stupidchicken.com>
1876
1877 * startup.el (command-line): Update package subdirectory regexp.
1878
49c5410a
SM
18792011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
1880
c6eee9aa
SM
1881 * allout.el (allout-abbreviate-flattened-numbering)
1882 (allout-mode-deactivate-hook): Fix up obsolescence "date".
1883
49c5410a
SM
1884 * subr.el (read-char-choice): Only show the cursor after the prompt,
1885 not after the answer.
1886
047b2bb9
KR
18872011-03-15 Kevin Ryde <user42@zip.com.au>
1888
1889 * help-fns.el (variable-at-point): Skip leading quotes, if any
1890 (bug#8253).
1891
0a57d256
SM
18922011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
1893
1894 * emacs-lisp/bytecomp.el (byte-compile-save-excursion): Change the
1895 warning message.
1896
77c992bc
MA
18972011-03-14 Michael Albinus <michael.albinus@gmx.de>
1898
1899 * shell.el (shell): When called interactively, offer to change the
1900 shell file name on remote hosts.
1901
eebc475d
TZ
19022011-03-13 Teodor Zlatanov <tzz@lifelogs.com>
1903
1904 * net/ldap.el (ldap-search-internal): Add `auth-source-search'
1905 integration for LDAP parameters. The host, base, user or binddn,
1906 and secret tokens can be specified in a netrc file, for instance.
1907 This is optional because an `auth-source' parameter must be
1908 specified in the search attributes.
1909
9d05d1ba
JB
19102011-03-13 Juanma Barranquero <lekktu@gmail.com>
1911
1912 * help.el (describe-mode): Link to the mode's definition (bug#8185).
1913
09d9db2c
GM
19142011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
1915
1916 * ebuff-menu.el (electric-buffer-menu-mode-map): Move initialization
1917 into declaration. Remove redundant and harmful binding.
1918
19192011-03-12 Eli Zaretskii <eliz@gnu.org>
1920
1921 * files.el (file-ownership-preserved-p): Pass `integer' as an
1922 explicit 2nd argument to `file-attributes'. If the file's owner
1923 is the Administrators group on Windows, and the current user is
1924 Administrator, consider that a match.
1925
1926 * server.el (server-ensure-safe-dir): Consider server directory
1927 safe on MS-Windows if its owner is the Administrators group while
1928 the current Emacs user is Administrator. Use `=' to compare
1929 numerical UIDs, since they could be integers or floats.
1930
219bd536
JB
19312011-03-12 Juanma Barranquero <lekktu@gmail.com>
1932
1933 * vc/vc-bzr.el (vc-bzr-state): Handle bzr 2.3.0 (follow-up to bug#8170).
1934
f3afd36b
MA
19352011-03-12 Michael Albinus <michael.albinus@gmx.de>
1936
1937 Sync with Tramp 2.2.1.
1938
1939 * net/tramp-sh.el (tramp-methods): Exchange "%k" marker with options.
1940
1941 * net/trampver.el: Update release number.
1942
3aaaa6f1
SM
19432011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
1944
94642599
SM
1945 * progmodes/compile.el (compilation--previous-directory): Fix up
1946 various nil/dead-marker mismatches (bug#8014).
1947 (compilation-directory-properties, compilation-error-properties):
1948 Don't call it at a position past the one we're about to change.
1949
3aaaa6f1
SM
1950 * emacs-lisp/bytecomp.el (byte-compile-make-obsolete-variable):
1951 Disable obsolescence warnings in the file that declares it.
1952
14239447
KM
19532011-03-11 Ken Manheimer <ken.manheimer@gmail.com>
1954
099c39a4
JB
1955 * allout-widgets.el (allout-widgets-tally):
1956 Initialize allout-widgets-tally as a hash table rather than nil to
1957 prevent mode-line redisplay warnings. Also, clarify the module
1958 description and fix a comment typo.
14239447 1959
135e287c
JB
19602011-03-11 Juanma Barranquero <lekktu@gmail.com>
1961
1962 * help-fns.el (describe-variable): Don't complete keywords.
1963 Suggested by Teodor Zlatanov <tzz@lifelogs.com>.
1964
ffbf300e
CY
19652011-03-10 Chong Yidong <cyd@stupidchicken.com>
1966
ba08b241
CY
1967 * emacs-lisp/package.el (package-version-join): Impose a standard
1968 string representation for pre/alpha/beta version lists.
1969 (package-unpack-single): Standardize the directory name by passing
1970 it through package-version-join.
1971 (package-strip-rcs-id): Accept any version string that does not
1972 signal an error in version-to-list.
ffbf300e 1973
f346fd6b
MA
19742011-03-10 Michael Albinus <michael.albinus@gmx.de>
1975
1976 * simple.el (delete-trailing-whitespace): Return nil for the
1977 benefit of `write-file-functions'.
1978
ccb55d27
GM
19792011-03-10 Glenn Morris <rgm@gnu.org>
1980
5ceaac0c
GM
1981 * vc/vc-hg.el (vc-hg-pull, vc-hg-merge-branch): Use vc-hg-program.
1982
02da65ff
GM
1983 * vc/vc-git.el (vc-git-program): New option.
1984 (vc-git-branches, vc-git-pull, vc-git-merge-branch, vc-git-command)
1985 (vc-git--call): Use it.
1986
b2f603cc
GM
1987 * eshell/esh-util.el (eshell-condition-case): Doc fix.
1988
5772caab
GM
1989 * cus-edit.el (Custom-newline): If no button at point, look
1990 for a subgroup button at start-of-line. (Bug#2298)
1991
ccb55d27
GM
1992 * mail/rmail.el (rmail-msgend, rmail-msgbeg): Doc fixes.
1993
ec6ecaed
JD
19942011-03-10 Julien Danjou <julien@danjou.info>
1995
1996 * avoid.el (mouse-avoidance-ignore-p): Do not move the cursor if
1997 `cursor-type' is nil.
1998
9d5aa01d
JB
19992011-03-09 Jay Belanger <jay.p.belanger@gmail.com>
2000
2001 * calc/calc.el (calc-mode-map): Don't bind "C-_" to `calc-missing-key'.
2002
b6a5875b
KM
20032011-03-09 Ken Manheimer <ken.manheimer@gmail.com>
2004
2005 * allout.el Summary: Change so yank of distinctive-bullet items
2006 preserves the existing header prefix, rebulleting it if necessary,
2007 rather than replacing it. This is necessary for proper operation
2008 of cooperative addons like allout-widgets.
219bd536 2009 (allout-make-topic-prefix, allout-rebullet-heading): Change
b6a5875b
KM
2010 SOLICIT arg to INSTEAD, and interpret additionally a string value
2011 as alternate bullet to be used, instead of prompting the user for
2012 a bullet character.
2013
ee545c35
MA
20142011-03-09 Michael Albinus <michael.albinus@gmx.de>
2015
d86d2721
SM
2016 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
2017 Do not use `tramp-file-name-port', because this returns also
ee545c35
MA
2018 `tramp-default-port'.
2019
c47971d7
DD
20202011-03-09 Deniz Dogan <deniz.a.m.dogan@gmail.com>
2021
2022 * net/rcirc.el (rcirc-handler-001): Remove useless
2023 with-rcirc-process-buffer.
2024 (rcirc-check-auth-status): Swap arguments to string-match.
2025
13522cb4
GM
20262011-03-09 Glenn Morris <rgm@gnu.org>
2027
0be6f4f1
GM
2028 * shell.el (shell-mode):
2029 Set comint-input-ring-size from HISTSIZE. (Bug#7889)
2030
13522cb4
GM
2031 * progmodes/gdb-mi.el (gdb): Improve 2010-12-08 change.
2032 Check for GDBHISTFILE, HISTSIZE, etc. (Bug#7889)
2033
515de2e3
CY
20342011-03-08 Chong Yidong <cyd@stupidchicken.com>
2035
2036 * emacs-lisp/package.el (package-refresh-contents)
2037 (package-menu-execute): Use condition-case-no-debug.
2038
b511b994
MA
20392011-03-08 Michael Albinus <michael.albinus@gmx.de>
2040
2041 * simple.el (shell-command-to-string): Use `process-file'.
2042
2043 * emacs-lisp/package.el (package-tar-file-info): Handle also
2044 remote files.
2045
d86d2721
SM
2046 * emacs-lisp/package-x.el (package-upload-buffer-internal):
2047 Use `equal' for upload base check.
b511b994 2048
25bbfb31
AM
20492011-03-08 Arni Magnusson <arnima@hafro.is> (tiny change)
2050
2051 * textmodes/texinfo.el (texinfo-environments):
2052 Add deftypecv, deftypeivar, deftypemethod, deftypeop, html. (Bug#2783)
2053
be996521
GM
20542011-03-08 Glenn Morris <rgm@gnu.org>
2055
e9c8529f
GM
2056 * cus-start.el (cursor-in-non-selected-windows):
2057 Fix :set quoting oddness. (Bug#8192)
2058
be996521
GM
2059 * font-lock.el (lisp-font-lock-keywords-1): Don't highlight `)'
2060 in some setf expressions. (Bug#2159)
2061
2bb5649e
CY
20622011-03-08 Chong Yidong <cyd@stupidchicken.com>
2063
2064 * custom.el (custom-available-themes): Return themes in
2065 alphabetical order.
2066
33383987 2067See ChangeLog.15 for earlier changes.
e3d51b27
MR
2068
2069;; Local Variables:
2070;; coding: utf-8
e3d51b27
MR
2071;; End:
2072
33383987 2073 Copyright (C) 2011 Free Software Foundation, Inc.
e3d51b27
MR
2074
2075 This file is part of GNU Emacs.
2076
2077 GNU Emacs is free software: you can redistribute it and/or modify
2078 it under the terms of the GNU General Public License as published by
2079 the Free Software Foundation, either version 3 of the License, or
2080 (at your option) any later version.
2081
2082 GNU Emacs is distributed in the hope that it will be useful,
2083 but WITHOUT ANY WARRANTY; without even the implied warranty of
2084 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
2085 GNU General Public License for more details.
2086
2087 You should have received a copy of the GNU General Public License
2088 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.