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