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