Fix commenting and indenting convention.
[bpt/emacs.git] / lisp / ChangeLog
CommitLineData
2bb63e81
VB
12011-06-27 Vincent Belaïche <vincentb1@users.sourceforge.net>
2
3 * ses.el: Fix commenting and indenting convention.
4
c9d29fb8
SM
52011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
6
7 * bs.el (bs-cycle-next): Complete last change.
8
d8e4b68b
JB
92011-06-27 Drew Adams <drew.adams@oracle.com>
10
11 * faces.el (list-faces-display): Add help-mode-map to output (bug#8939).
12
40098786
LMI
132011-06-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
14
c9d29fb8
SM
15 * net/network-stream.el (network-stream-open-starttls):
16 Don't re-get capabilities unless we've reestablished connection.
f6ab314e
LMI
17 (network-stream-open-starttls): Fix stupid typo with gnutls-clii.
18
40098786
LMI
19 * mail/smtpmail.el (smtpmail-via-smtp): Bind coding-system-for-*
20 to binary to possibly avoid line encoding issues on Windows (among
21 other things).
22
468d09d4
LMI
232011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
24
25 * net/network-stream.el (open-network-stream): Return an :error
26 saying what the problem was, if possible.
27
28 * mail/smtpmail.el (smtpmail-via-smtp): Report the error from the
29 server.
30
31 * net/network-stream.el (network-stream-open-starttls): If we
32 wanted to use STARTTLS, and the server offered it, but we weren't
33 able to because we had no STARTTLS support, then close the connection.
34 (open-network-stream): Return an :error element, if present.
35
16f07dd7
CY
362011-06-26 Chong Yidong <cyd@stupidchicken.com>
37
88821ca0
CY
38 * hl-line.el (hl-line-sticky-flag): Doc fix.
39 (global-hl-line-sticky-flag): New option (Bug#8323).
40 (global-hl-line-highlight): Obey it.
41
16f07dd7
CY
42 * vc/vc.el (vc-revert-show-diff): Default to t.
43
6b5ccddf
KM
442011-06-26 Ken Manheimer <ken.manheimer@gmail.com>
45
c9d29fb8
SM
46 * allout-widgets.el (allout-widgets-post-command-business):
47 Stop decorating intermediate isearch matches. They're not being
6b5ccddf
KM
48 undecorated when an isearch is continued past, and isearch
49 automatically collapses them. This leads to "widget leaks", where
50 decorated items accumulate in collapsed areas. Lines with lots of
c9d29fb8
SM
51 hidden widgets can slow down cursor travel, substantially.
52 Too much complicated machinery would be needed to ensure undecoration,
6b5ccddf
KM
53 so we're doing without this nicety.
54
55 (allout-widgets-tally-string): Don't try to do a hash-table-count
56 of allout-widgets-tally when it's nil. This eliminates spurious "Error
57 during redisplay: (wrong-type-argument hash-table-p nil)" warnings in
58 *Messages* when allout-widgets-maintain-tally is t.
59
355f2e07
MR
602011-06-26 Martin Rudalics <rudalics@gmx.at>
61
62 * window.el (display-buffer-normalize-argument): Rename to
63 display-buffer-normalize-arguments. Handle special meaning of
6b5ccddf
KM
64 LABEL argument. Respect special-display-function when popping up
65 a new frame. Fix code searching for a window showing the buffer
66 on another frame.
c9d29fb8
SM
67 (display-buffer-normalize-specifiers):
68 Call display-buffer-normalize-arguments.
355f2e07
MR
69 (display-buffer-in-window): Don't undedicate the window if its
70 buffer remains the same.
71 Reported by Drew Adams <drew.adams@oracle.com>.
72 (display-buffer-alist): Add choice for same-window macro
73 specfier.
74 (display-buffer): Mention special meaning of LABEL argument in
75 doc-string. Fix quoting. Don't pop up a new frame even as
76 fallback.
77
7ca8fc42
JB
782011-06-26 Juanma Barranquero <lekktu@gmail.com>
79
80 * bs.el (bs-cycle-next): Pass current buffer to `bury-buffer' to
81 avoid deleting the current window in some cases (bug#8911).
82
bc312254
AS
832011-06-26 Andreas Schwab <schwab@linux-m68k.org>
84
85 * emacs-lisp/smie.el (smie-bnf->prec2): Fix last change.
86 (Bug#8934)
87
2db18f3f
LMI
882011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
89
c9d29fb8
SM
90 * net/network-stream.el (network-stream-open-starttls):
91 Use built-in TLS support if `gnutls-available-p' is true.
2db18f3f
LMI
92 (network-stream-open-tls): Ditto.
93
6302e0d3
LL
942011-06-26 Leo Liu <sdl.web@gmail.com>
95
96 * register.el (registerv): New struct.
97 (registerv-make): New function.
c9d29fb8
SM
98 (jump-to-register, describe-register-1, insert-register):
99 Support the jump-func, print-func and insert-func slot of a registerv
6302e0d3
LL
100 struct. (Bug#8415)
101
5fdd4046
CY
1022011-06-26 Chong Yidong <cyd@stupidchicken.com>
103
2afef60a
CY
104 * vc/vc.el (vc-revert-show-diff): New defcustom.
105 (vc-diff-internal): New arg specifying diff buffer.
106 (vc-revert): Obey vc-revert-show-diff. If we show a diff, don't
107 reuse an existing *vc-diff* buffer (Bug#8927).
108
5fdd4046
CY
109 * progmodes/cperl-mode.el (cperl-mode): Derive from prog-mode.
110
e93db24a
GM
1112011-06-26 Glenn Morris <rgm@gnu.org>
112
113 * progmodes/f90.el (f90-critical-indent): New option.
114 (f90-font-lock-keywords-2, f90-blocks-re, f90-end-block-re)
115 (f90-start-block-re, f90-mode-abbrev-table): Add block, critical.
116 (f90-mode): Doc fix.
117 (f90-looking-at-critical, f90-looking-at-end-critical): New funcs.
118 (f90-no-block-limit, f90-calculate-indent, f90-end-of-block)
119 (f90-beginning-of-block, f90-next-block, f90-indent-region)
120 (f90-match-end): Handle block, critical.
121
eefff499
GM
1222011-06-25 Glenn Morris <rgm@gnu.org>
123
f6ba4cc9
GM
124 * calendar/diary-lib.el (diary-included-files): Doc fix.
125 (diary-include-files): New function, extracted from
126 diary-include-other-diary-files and diary-mark-included-diary-files.
127 (diary-include-other-diary-files, diary-mark-included-diary-files):
128 Just call diary-include-files.
129 (diary-mark-entries): Reset diary-included-files on first call.
130
16712304
GM
131 * calendar/diary-lib.el (diary-mark-entries)
132 (diary-mark-included-diary-files):
133 Visit included diary-files in temp buffers.
134
5d8e0d43
GM
135 * progmodes/f90.el (f90-keywords-re, f90-font-lock-keywords-1)
136 (f90-blocks-re, f90-program-block-re, f90-end-block-re)
137 (f90-start-block-re, f90-imenu-generic-expression)
138 (f90-looking-at-program-block-start, f90-no-block-limit):
139 Add support for submodules.
140
ccf7a5d5
GM
141 * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
142 (f90-procedures-re, f90-constants-re): Add some F2008 stuff.
eefff499 143
11fdef7d 1442011-06-25 Eli Zaretskii <eliz@gnu.org>
638e9005
EZ
145
146 * net/ange-ftp.el (ange-ftp-insert-file-contents): Let-bind
147 buffer-file-type before setting its value, to avoid disastrous
eefff499 148 global effects on decoding files for DOS/Windows systems. (Bug#8780)
638e9005 149
74f53697
JB
1502011-06-25 Juanma Barranquero <lekktu@gmail.com>
151
152 * allout.el (allout-unload-function): Pass -1 to `allout-mode'.
153
154 * ses.el (ses-unload-function):
155 * emacs-lisp/re-builder.el (re-builder-unload-function): Simplify.
156
157 * proced.el (proced-unload-function):
158 * progmodes/cperl-mode.el (cperl-mode-unload-function): Remove.
159
18a4ce5e
AR
1602011-06-25 Andreas Rottmann <a.rottmann@gmx.at>
161
162 * server.el (server-create-window-system-frame): Add parameters arg.
163 (server-process-filter): Doc fix. Handle frame-parameters.
164
519d22cc
JB
1652011-06-25 Juanma Barranquero <lekktu@gmail.com>
166
167 Fix bug#8730, bug#8781.
168
169 * loadhist.el (unload--set-major-mode): New function.
170 (unload-feature): Use it.
171
172 * progmodes/python.el (python-after-info-look): Add autoload cookie.
173 (python-unload-function): New function.
174
c206f5b0
SM
1752011-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
176
177 * mail/rmail.el (rmail-show-message-1): Use restore-buffer-modified-p.
178
f9ad64f3
GS
1792011-06-25 Giuseppe Scrivano <gscrivano@gnu.org>
180
181 * net/browse-url.el (browse-url-firefox-program): Add icecat to
182 the candidates list.
183
7d0da90e
JB
1842011-06-24 Juanma Barranquero <lekktu@gmail.com>
185
186 * progmodes/verilog-mode.el (verilog-mode): Fix test for bound variable.
187
14b4e83d
RS
1882011-06-23 Richard Stallman <rms@gnu.org>
189
190 * mail/rmail.el: Going to grep hit in Rmail buffer finds the message.
191 (rmail-variables): Set next-error-move-function.
192 (rmail-what-message): Take argument POS.
193 (rmail-next-error-move): New function.
194
273d2baf
SM
1952011-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
196
197 * emacs-lisp/smie.el (smie-bnf->prec2): Give more understandable error
198 messages for adjacent non-terminals.
199
56c2cc9a
RS
2002011-06-23 Richard Stallman <rms@gnu.org>
201
202 * mail/rmail.el (rmail-retry-ignored-headers): Add message-id.
f444564c 203 (rmail-show-message-1): Preserve buffer modified flag.
8050daa1
RS
204 (rmail-start-mail): Don't specify use of rmail-mail-return;
205 that's done by mail-bury now.
206 (rmail-mail-return): Handle arg NEWBUF.
56c2cc9a 207
d59eb518
MA
2082011-06-23 Michael Albinus <michael.albinus@gmx.de>
209
210 * net/tramp-sh.el (tramp-method-out-of-band-p): Check, whether
211 SIZE is a number.
212
02cfc6d6
MR
2132011-06-23 Martin Rudalics <rudalics@gmx.at>
214
215 * window.el (get-lru-window, get-mru-window)
216 (get-largest-window): Never return a minibuffer window.
217 (display-buffer-pop-up-window): Fix a bug that could lead to
218 reusing the minibuffer window.
219 (display-buffer): Pass original specifier argument to
220 display-buffer-function instead of the normalized one.
221 Reported by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
222
4e323265
LL
2232011-06-22 Leo Liu <sdl.web@gmail.com>
224
225 * minibuffer.el (completing-read-function)
226 (completing-read-default): Move from minibuf.c
227
7a70468f
RS
2282011-06-22 Richard Stallman <rms@gnu.org>
229
50718fc2
RS
230 * mail/sendmail.el (mail-bury): If Rmail is in use, return nicely
231 to Rmail even if not started by a special Rmail command.
232
7a70468f
RS
233 * mail/rmailmm.el (rmail-insert-mime-forwarded-message):
234 Copy the buffer currently showing just one message.
235
297dde5a
RW
2362011-06-22 Roland Winkler <winkler@gnu.org>
237
238 * textmodes/bibtex.el (bibtex-entry-update): Use mapc.
239 (bibtex-clean-entry): First delete the old key so that a
240 customized algorithm for generating the new key does not get
241 confused by the old key.
242 (bibtex-url): Obey regexp of first step.
243 (bibtex-search-entries): Do not use add-to-list with local
244 list-var.
245
97bb1093
LMI
2462011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
247
248 * mail/smtpmail.el (smtpmail-try-auth-methods): If the user has
249 stored a user name, then query for the password first, instead of
250 waiting for SMTP to give an error message and the trying again.
251
1c0f1a19
JD
2522011-06-22 Lawrence Mitchell <wence@gmx.li>
253
254 * net/browse-url.el (browse-url-xdg-open): Use 0, rather than nil
255 BUFFER in call-process.
256
396f7c9d
LMI
2572011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
258
259 * mail/smtpmail.el (smtpmail-via-smtp): Make sure we don't send
260 QUIT twice.
ddb7ffee
LMI
261 (smtpmail-try-auth-methods): Require user name and password from
262 auth-source.
396f7c9d 263
8998d1b3
MR
2642011-06-22 Martin Rudalics <rudalics@gmx.at>
265
266 * window.el (display-buffer-default-specifiers)
267 (display-buffer-alist): Remove entries for pop-up-frame-alist.
268 Suggested by Katsumi Yamaoka <yamaoka@jpl.org>.
130e3e11 269 (split-window): Normalize SIDE argument (Bug#8916).
8998d1b3
MR
270
271 * frame.el (pop-up-frame-alist, pop-up-frame-function)
272 (special-display-frame-alist, special-display-popup-frame):
273 Remove duplicate declarations. These are now in window.el.
274
4ea31e07
LMI
2752011-06-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
276
c9d29fb8
SM
277 * mail/smtpmail.el (smtpmail-via-smtp):
278 Set :use-starttls-if-possible so that we always use STARTTLS if the
6af7a784
LMI
279 server supports it. SMTP servers that support STARTTLS commonly
280 require it.
281
282 * net/network-stream.el (network-stream-open-starttls): Support
283 upgrading to STARTTLS always, even if we don't have built-in support.
284 (open-network-stream): Add the :always-query-capabilies keyword.
285
95f41d9a
LMI
286 * mail/smtpmail.el: Rewritten to do opportunistic STARTTLS
287 upgrades with `open-network-stream', and rely solely on
288 auth-source for all credentials. Big changes throughout the file,
289 but in particular:
c9d29fb8
SM
290 (smtpmail-auth-credentials): Remove.
291 (smtpmail-starttls-credentials): Remove.
7d36ad46
LMI
292 (smtpmail-via-smtp): Check for servers saying they want AUTH after
293 MAIL FROM, too.
95f41d9a 294
c9d29fb8
SM
295 * net/network-stream.el (network-stream-open-starttls):
296 Provide support for client certificates both for external and built-in
4ea31e07
LMI
297 STARTTLS.
298 (auth-source): Require.
299 (open-network-stream): Document the :client-certificate keyword.
eb8c9362
LMI
300 (network-stream-certificate): Change cert-cert to cert and
301 cert-key to key.
4ea31e07 302
065ec2c7
MA
3032011-06-21 Michael Albinus <michael.albinus@gmx.de>
304
305 * net/tramp-cache.el (top): Don't load the persistency file when
306 "emacs -Q" has been called.
307
cd93b359
DR
3082011-06-21 Tim Harper <timcharper@gmail.com>
309
d8e4b68b
JB
310 * term/ns-win.el (ns-initialize-window-system):
311 Set application-specific `ApplePressAndHoldEnabled' system
cd93b359
DR
312 resource to NO as it is not yet supported by the NS port.
313
ae9c0411
JB
3142011-06-21 Juanma Barranquero <lekktu@gmail.com>
315
316 * misc.el (list-dynamic-libraries--refresh): Compute header here...
317 (list-dynamic-libraries): ...not here.
318
7f3f739f
LL
3192011-06-21 Leo Liu <sdl.web@gmail.com>
320
321 * subr.el (sha1): Implement sha1 using secure-hash.
322
327c8fb1
MR
3232011-06-21 Martin Rudalics <rudalics@gmx.at>
324
325 * window.el (display-buffer-alist): In default value do not
326 enforce searching a window on any but the selected frame.
327 Reported by Katsumi Yamaoka <yamaoka@jpl.org>.
328 (display-buffer-select-window): Remove function.
329 (display-buffer-in-window): When a window on another frame gets
330 reused, do not select it any more but just raise its frame if
331 necessary (Bug#8851) and (Bug#8856).
332 (display-buffer-normalize-options): Handle pop-up-frames related
333 options more faithfully.
334 (pop-to-buffer): Don't rely on `display-buffer' selecting the
335 window if it is on another frame.
c9d29fb8
SM
336 (display-buffer-alist, display-buffer-default-specifiers):
337 Don't make new frame unsplittable by default.
9e9de014
MR
338 (display-buffer-normalize-argument): Fix doc-string typo and use
339 'same-frame-other-window instead of 'other-window when associating
340 with display-buffer-macro-specifiers.
327c8fb1 341
7cf3f556
VB
3422011-06-21 Vincent Belaïche <vincent.b.1@hotmail.fr>
343
344 * play/5x5.el (5x5-solve-rotate-left, 5x5-solve-rotate-right):
345 New functions.
346 (5x5-mode-map, 5x5-mode-menu): Bind them.
347 (5x5-draw-grid): Tweak the solver's rendering.
348
60a406cf
SM
3492011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
350
351 * progmodes/compile.el (compilation-error-regexp-alist-alist): Rename
352 `caml' to `python-tracebacks-and-caml'; allow leading tabs (bug#8585).
353
d8e4b68b 3542011-06-21 Drew Adams <drew.adams@oracle.com>
5d907d6c
DA
355
356 * menu-bar.el: Use function variable instead of switch-to-buffer.
357 (menu-bar-select-buffer-function): New variable.
60a406cf 358 (menu-bar-update-buffers): Use it (bug#8876).
5d907d6c 359
478d6f95
SM
3602011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
361
362 * emacs-lisp/bytecomp.el (add-to-list): Add handler to check the
363 variable's status.
364
ca530739
JD
3652011-06-20 Jan Djärv <jan.h.d@swipnet.se>
366
367 * x-dnd.el (x-dnd-version-from-flags)
368 (x-dnd-more-than-3-from-flags): New functions that handle long-as-cons
369 and long as number (Bug#8899).
370 (x-dnd-handle-xdnd): Call functions above (Bug#8899).
371
bcd70d97
SM
3722011-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
373
60a406cf 374 * minibuffer.el (completion-metadata): Add `metadata' to the alist.
4cb3bfa0
SM
375 (completion-try-completion, completion-all-completions): Compute the
376 metadata argument if it's missing; make it optional (bug#8795).
377
60a406cf 378 * wid-edit.el: Use lex-bind and move towards completion-at-point.
bcd70d97
SM
379 (widget-complete): Use new :completion-function property.
380 (widget-completions-at-point): New function.
381 (default): Use :completion-function instead of :complete.
60a406cf
SM
382 (widget-default-completions): Rename from widget-default-complete;
383 Rewrite.
bcd70d97
SM
384 (widget-string-complete, widget-file-complete, widget-color-complete):
385 Remove functions.
386 (file, symbol, function, variable, coding-system, color):
387 * international/mule-cmds.el (default-input-method, charset)
388 (language-info-custom-alist):
389 * cus-edit.el (face): Use new property :completions.
390
391 * progmodes/pascal.el (pascal-completions-at-point): New function.
392 (pascal-mode): Use it.
393 (pascal-mode-map): Use completion-at-point.
394 (pascal-toggle-completions): Make obsolete.
395 (pascal-complete-word, pascal-show-completions):
396 * progmodes/octave-mod.el (octave-complete-symbol):
397 Redefine as obsolete alias.
398 * progmodes/octave-inf.el (inferior-octave-completion-at-point):
399 Signal absence of completion info for old Octave,
400 (inferior-octave-complete): Redefine as obsolete alias.
401 * progmodes/meta-mode.el: Use lexical-binding and completion-at-point.
402 (meta-completions-at-point): Rename from meta-complete-symbol and
403 adapt it for use on completion-at-point-functions.
404 (meta-common-mode): Use it.
405 (meta-looking-at-backward, meta-match-buffer): Remove.
406 (meta-complete-symbol): Redefine as obsolete alias.
407 (meta-common-mode-map): Use completion-at-point.
408 * progmodes/make-mode.el: Use lexical-binding and completion-at-point.
409 (makefile-mode-map): Use completion-at-point.
410 (makefile-completions-at-point): Rename from makefile-complete and
411 adapt it for use on completion-at-point-functions.
412 (makefile-mode): Use it.
413 (makefile-complete): Redefine as obsolete alias.
414
aebf69c8
DD
4152011-06-20 Deniz Dogan <deniz@dogan.se>
416
417 * net/rcirc.el: Delete trailing whitespaces once and for all.
418
bfbbb27d
DC
4192011-06-20 Daniel Colascione <dan.colascione@gmail.com>
420
421 * emacs-lisp/syntax.el (syntax-ppss): Further improve docstring.
422
d264a46b
CY
4232011-06-19 Chong Yidong <cyd@stupidchicken.com>
424
4ca009e5
CY
425 * files.el (auto-mode-alist): Entry for m2-mode (Bug#8852).
426
d264a46b
CY
427 * info.el (Info-apropos-toc-nodes): Minor doc fix (Bug#8833).
428
fbf5b3ce
MR
4292011-06-19 Martin Rudalics <rudalics@gmx.at>
430
431 * window.el (display-buffer-other-window-means-other-frame):
432 Call display-buffer-normalize-alist.
433 (display-buffer-normalize-specifiers-1): Rename to
434 display-buffer-normalize-argument. New argument other-frame.
435 Rewrite.
436 (display-buffer-normalize-specifiers-2): Rename to
437 display-buffer-normalize-options.
438 (display-buffer-normalize-alist-1): New function.
439 (display-buffer-normalize-specifiers-3): Rename to
bcd70d97
SM
440 display-buffer-normalize-alist.
441 Call display-buffer-normalize-alist-1.
fbf5b3ce
MR
442 (display-buffer-normalize-options-inhibit): New variable.
443 (display-buffer-normalize-specifiers): Rewrite calling
444 display-buffer-normalize-alist,
445 display-buffer-normalize-argument, and
446 display-buffer-normalize-options. Don't call the latter if
447 display-buffer-normalize-options-inhibit is non-nil.
448 (frame-auto-delete): New option.
449 (window-deletable-p): Use frame-auto-delete.
9d89fec7
MR
450 (window-list-no-nils, window-state-ignored-parameters)
451 (window-state-get-1, window-state-get, window-state-put-list)
bcd70d97
SM
452 (window-state-put-1, window-state-put-2, window-state-put):
453 New functions.
9a028c23
MR
454 (display-buffer-normalize-options): Move special-display-p group
455 after pop-up-frame group (Bug#8851) and (Bug#8856).
fbf5b3ce 456
6d10d800
CY
4572011-06-18 Chong Yidong <cyd@stupidchicken.com>
458
6420d28b
CY
459 * emacs-lisp/rx.el (rx-constituents): Add support for numbered
460 groups (Bug#8776).
461 (rx-submatch-n): New function.
462 (rx): Document it.
463
ddb8b596
CY
464 * dired-x.el (dired-mark-unmarked-files): Fix interactive spec
465 (Bug#8768).
466
467 * replace.el (occur-mode-map): Set occur-edit-mode binding to "e".
468
77080289
CY
469 * textmodes/fill.el (default-justification): Add :safe (Bug#8879).
470
61dfb316
CY
471 * cus-face.el (custom-declare-face): Call custom-theme-recalc face
472 anytime existing face settings are present (Bug#8889).
473
6d10d800
CY
474 * progmodes/delphi.el (delphi-mode-syntax-table): Use defvar.
475 (delphi-mode): Use define-derived-mode to inherit from prog-mode.
476 Remove unused argument.
477
be3fb2b8
MR
4782011-06-18 Martin Rudalics <rudalics@gmx.at>
479
bcd70d97
SM
480 * window.el (display-buffer-default-specifiers):
481 Remove pop-up-frame. Add pop-up-window-min-height,
be3fb2b8
MR
482 pop-up-window-min-width, and another reuse-window specifier
483 (Bug#8882). Reported by Dan Nicolaescu <dann@gnu.org>.
bcd70d97
SM
484 (display-buffer-normalize-specifiers-2):
485 Handle split-height-threshold and split-width-threshold also when
be3fb2b8
MR
486 pop-up-windows is unset. Add a reuse-window specifier for the
487 case popping up a new window fails.
488 (special-display-popup-frame): Remove double quoting.
28dec25a 489 (display-buffer-normalize-specifiers-1): Fix thinko.
be3fb2b8 490
1c6d8c76
SM
4912011-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
492
493 * shell.el (shell-completion-vars): Set pcomplete-termination-string
494 according to comint-completion-addsuffix.
495
496 * pcomplete.el: Convert to lexical binding and fix bug#8819.
497 (pcomplete-suffix-list): Mark as obsolete.
498 (pcomplete-completions-at-point): Capture pcomplete-norm-func and
499 pcomplete-seen in the closure.
500 (pcomplete-comint-setup): Setup completion-at-point as well.
501 (pcomplete--entries): New function.
502 (pcomplete--env-regexp): New var.
503 (pcomplete-entries): Rewrite to work with partial-completion and
504 without relying on pcomplete-suffix-list.
505 (pcomplete-pare-list): Remove, unused.
506
25aef8b8
MR
5072011-06-17 Martin Rudalics <rudalics@gmx.at>
508
509 * window.el (display-buffer-alist): Set pop-up-window-min-height
510 and pop-up-window-min-width in default value. Reported by
511 Thierry Volpiatto <thierry.volpiatto@gmail.com>. New specifier
512 other-window-means-other-frame.
513 (display-buffer-macro-specifiers): Comment out entry for
514 other-window specifier.
515 (display-buffer-other-window-means-other-frame): New function.
516 (display-buffer-normalize-specifiers-1): New arguments
517 buffer-name and label. Treat other-window case specially.
518 (display-buffer-normalize-specifiers-2): Treat other-window case
519 specially.
520 (display-buffer-normalize-specifiers-3): New function.
bcd70d97
SM
521 (display-buffer-normalize-specifiers):
522 Call display-buffer-normalize-specifiers-3.
25aef8b8 523
dbad4f69
MR
5242011-06-17 Martin Rudalics <rudalics@gmx.at>
525
526 * window.el (same-window-p): Fix two typos introduced when
527 adding with-no-warnings.
d1067961
MR
528 (display-buffer-normalize-specifiers-1): Don't check
529 pop-up-frames for 'unset initialization.
530 (display-buffer-normalize-specifiers-2): Major rewrite using
531 special-display-p and same-window-p (Bug#8851) and (Bug#8856).
532 (pop-up-frames, display-buffer-reuse-frames)
533 (display-buffer-mark-dedicated): Don't initialize to 'unset.
534 Suggested by David Engster <deng@randomsample.de>.
535 (even-window-heights): Initialize to 'unset.
536 (display-buffer-alist-set): Handle new 'unset initializations.
25aef8b8
MR
537 (display-buffer-macro-specifiers): Don't pop up a new frame in the
538 other window case.
dbad4f69 539
9b9c9e3a
MR
5402011-06-16 Martin Rudalics <rudalics@gmx.at>
541
bcd70d97
SM
542 * window.el (display-buffer-normalize-specifiers-1):
543 Respect current value of pop-up-frames for most reasonable values of
9b9c9e3a 544 second argument of display-buffer (Bug#8865).
981d5c09
MR
545 (switch-to-buffer-same-frame, switch-to-buffer-other-window)
546 (switch-to-buffer-other-window-same-frame)
547 (switch-to-buffer-other-frame): Fix doc-strings. Reported by Drew
548 Adams (Bug#8875).
9c2755e9
MR
549 (display-buffer): Don't check noninteractive when calling
550 display-buffer-pop-up-frame.
551 (display-buffer-pop-up-frame): Never pop up a frame in
552 noninteractive mode (Bug#8857).
67222e1d
MR
553 (enlarge-window, shrink-window): Don't report an error when the
554 window can't be resized as requested (Bug#8862).
9b9c9e3a 555
2b75be67
SM
5562011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
557
9ffdd3ba
SM
558 * pcmpl-rpm.el (pcomplete/rpm): Minor simplification.
559
cb581a67
SM
560 * emacs-lisp/debug.el (debug): Don't leave the buffer in Debugger.
561
2b75be67
SM
562 * abbrev.el (define-abbrev-table): Don't add a table multiple times.
563
8c0e3589
AM
5642011-06-15 Alan Mackenzie <acm@muc.de>
565
cb581a67
SM
566 * progmodes/cc-fonts.el (c-font-lock-declarations): 1: Whilst checking
567 for declarators, disable knr checking to speed up for normal files.
568 2: Refactor, replacing a sequence of nested if forms by a cond form.
8c0e3589 569
b96e6cde
LMI
5702011-06-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
571
4bba86e6
LMI
572 * net/network-stream.el (open-network-stream): Add the keyword
573 :always-query-capabilities for the case where you want to force a
574 `plain' network connection, but the protocol still requires the
575 capabilitiy command (i.e., SMTP and EHLO).
576
2b75be67 577 * subr.el (process-live-p): Rename from `process-alive-p' for
b96e6cde
LMI
578 consistency with other `-live-p' functions.
579
efdcdbf8
SM
5802011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
581
582 * window.el (same-window-buffer-names, same-window-regexps)
583 (special-display-frame-alist, special-display-popup-frame)
584 (special-display-function, special-display-buffer-names)
585 (special-display-regexps, pop-up-frame-alist)
586 (pop-up-frame-function, pop-up-frames, display-buffer-reuse-frames)
587 (pop-up-windows, split-window-preferred-function)
588 (split-height-threshold, split-width-threshold, even-window-heights)
589 (display-buffer-mark-dedicated): Don't encourage the use of
590 display-buffer-alist from Elisp code.
591
c5cde042
DN
5922011-06-15 Dan Nicolaescu <dann@ics.uci.edu>
593
594 * progmodes/python.el (python-mode): Derive from prog-mode.
595 * progmodes/ps-mode.el (ps-mode):
596 * progmodes/mixal-mode.el (mixal-mode):
50328a1b 597 * progmodes/cfengine.el (cfengine-mode):
c5cde042
DN
598 * progmodes/ld-script.el (ld-script-mode): Likewise.
599
baa1c9ab
MR
6002011-06-15 Martin Rudalics <rudalics@gmx.at>
601
602 * window.el (display-buffer-alist): Trim default value to avoid
603 popping up a new frame (Bug#8857) or reusing an arbitrary window
604 on another frame.
605 (display-buffer): Do not fall back on popping up a new frame in
606 batch mode (Bug#8857).
607
c5dd5a51
CY
6082011-06-14 Chong Yidong <cyd@stupidchicken.com>
609
610 * cus-theme.el (describe-theme-1): Use custom-theme-p.
611 (custom-theme-summary): New function.
612 (customize-themes): Use it.
613
d647b7c4
GM
6142011-06-13 Glenn Morris <rgm@gnu.org>
615
616 * cus-dep.el (custom-make-dependencies): Use up command-line-args-left.
617
9481c002
MR
6182011-06-13 Martin Rudalics <rudalics@gmx.at>
619
357f93d2
MR
620 * help.el (help-window): Remove variable.
621 (help-window-point-marker, temp-buffer-max-height)
622 (temp-buffer-resize-mode, help-window-select): Rewrite doc-strings.
623 (help-print-return-message): Don't set help-window.
624 (resize-temp-buffer-window): Rewrite cod eand doc-string.
625 (help-window-setup-finish): Remove.
626 (help-window-display-message, help-window-setup)
627 (with-help-window): Major rewrite based on new
628 display-buffer-window variable.
629
630 * help-mode.el (help-mode-finish): Remove help-window related
631 code.
632
633 * view.el (view-exits-all-viewing-windows): Remove reference to
634 view-return-to-alist in doc-string.
635 (view-return-to-alist): Make obsolete.
636 (view-buffer): Call pop-to-buffer-same-window and remove
637 undo-window code.
638 (view-buffer-other-window): Call pop-to-buffer-other-window and
639 simplify code. Ignore second argument.
640 (view-buffer-other-frame): Call pop-to-buffer-other-frame and
641 simplify code. Ignore second argument.
642 (view-return-to-alist-update): Make obsolete.
643 (view-mode-enter): Rename second argument to QUIT-RESTORE.
644 Rewrite using quit-restore window parameters.
2b75be67
SM
645 (view-mode-exit): Rename second argument to EXIT-ONLY.
646 Rewrite using quit-restore-window.
357f93d2
MR
647 (View-exit, View-exit-and-edit, View-leave, View-quit)
648 (View-quit-all, View-kill-and-leave): Call view-mode-exit with
649 appropriate arguments.
650 (view-end-message): Use quit-restore window parameter.
651
9481c002
MR
652 * window.el (display-buffer-function): Rewrite doc-string.
653 (display-buffer-window, display-buffer-alist): New variables.
654 (display-buffer-split-specifiers)
655 (display-buffer-side-specifiers)
656 (display-buffer-macro-specifiers): New constants.
657 (display-buffer-even-window-sizes, display-buffer-set-height)
658 (display-buffer-set-width, display-buffer-select-window)
659 (display-buffer-in-window, display-buffer-reuse-window)
660 (display-buffer-split-window-1, display-buffer-split-window)
661 (display-buffer-split-atom-window, display-buffer-pop-up-window)
662 (display-buffer-pop-up-frame, display-buffer-pop-up-side-window)
663 (display-buffer-in-side-window, normalize-buffer-to-display)
664 (display-buffer-normalize-specifiers-1)
665 (display-buffer-normalize-specifiers-2)
2b75be67
SM
666 (display-buffer-normalize-specifiers, display-buffer-frame):
667 New functions.
9481c002
MR
668 (display-buffer): Major rewrite.
669 (display-buffer-other-window, display-buffer-other-frame)
670 (pop-to-buffer, switch-to-buffer-other-window)
671 (switch-to-buffer-other-frame): Rewrite.
672 (display-buffer-same-window, display-buffer-same-frame)
673 (display-buffer-same-frame-other-window)
674 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
675 (pop-to-buffer-other-window)
676 (pop-to-buffer-same-frame-other-window)
677 (pop-to-buffer-other-frame, switch-to-buffer-same-frame)
678 (switch-to-buffer-other-window-same-frame): New functions.
679 (same-window-p, special-display-p): Rewrite disabling warnings.
680 Make obsolete.
681 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
682 (display-buffer-mark-dedicated): Initialize to symbol 'unset.
683 Make obsolete
684 (same-window-buffer-names, same-window-regexps)
685 (special-display-frame-alist, special-display-popup-frame)
686 (special-display-function, special-display-buffer-names)
687 (special-display-regexps, pop-up-frame-alist)
688 (pop-up-frame-function, split-window-preferred-function)
689 (split-height-threshold, split-width-threshold)
690 (even-window-heights): Make obsolete.
691
9db51aca
GM
6922011-06-12 Glenn Morris <rgm@gnu.org>
693
694 * term/xterm.el (terminal-init-xterm): `version' may be nil. (Bug#8838)
7cb363eb 695 Misc simplifications.
9db51aca 696
39cffb44
MR
6972011-06-12 Martin Rudalics <rudalics@gmx.at>
698
699 * window.el (window-safely-shrinkable-p): Restore function which
700 was inadvertently removed in change from 2011-06-11. Declare as
701 obsolete.
702
2b75be67
SM
703 * calendar/calendar.el (calendar-generate-window):
704 Use window-iso-combined-p instead of combination of one-window-p and
39cffb44
MR
705 window-safely-shrinkable-p.
706
a8955be7
GM
7072011-06-12 Glenn Morris <rgm@gnu.org>
708
709 * progmodes/fortran.el (fortran-mode-syntax-table):
710 * progmodes/f90.el (f90-mode-syntax-table):
711 Set % to punctuation. (Bug#8820)
712 (f90-find-tag-default): Remove, no longer needed.
713
f0d4059d
DC
7142011-06-12 Daniel Colascione <dan.colascione@gmail.com>
715
716 * emacs-lisp/syntax.el (syntax-ppss): Clarify which items are invalid.
717
1100a63c
CY
7182011-06-11 Chong Yidong <cyd@stupidchicken.com>
719
720 * image.el (image-animated-p): Return animation delay in seconds.
721 Avoid bit manipulation in Lisp; use `delay' entry in the metadata.
722 (image-animate-timeout): Remove DELAY argument. Don't assume
723 every subimage has the same delay; get it from image-animated-p.
724 (image-animate): Caller changed.
725
def722bf
MA
7262011-06-11 Michael Albinus <michael.albinus@gmx.de>
727
728 * net/tramp.el (tramp-debug-message): Add `tramp-with-progress-reporter'
729 to ignored backtrace functions.
730
0a2bb1a9
GM
7312011-06-11 Glenn Morris <rgm@gnu.org>
732
733 * calendar/appt.el (appt-disp-window-function): Doc fix.
734 (appt-check): Handle overlapping appointments. (Bug#8337)
735
6198ccd0
MR
7362011-06-11 Martin Rudalics <rudalics@gmx.at>
737
738 * window.el (window-tree-1, window-tree): New functions, moving
739 the latter to window.el.
740 (bw-get-tree, bw-get-tree-1, bw-find-tree-sub)
741 (bw-find-tree-sub-1, bw-l, bw-t, bw-r, bw-b, bw-dir, bw-eqdir)
742 (bw-refresh-edges): Remove.
743 (balance-windows-1, balance-windows-2): New functions.
744 (balance-windows): Rewrite in terms of window tree functions,
745 balance-windows-1 and balance-windows-2.
746 (bw-adjust-window): Remove.
747 (balance-windows-area-adjust): New function with functionality of
748 bw-adjust-window but using resize-window.
2b75be67
SM
749 (set-window-text-height): Rewrite doc-string.
750 Use normalize-live-window and resize-window.
751 (enlarge-window-horizontally, shrink-window-horizontally):
752 Rename argument to DELTA.
6198ccd0
MR
753 (window-buffer-height): New function.
754 (fit-window-to-buffer, shrink-window-if-larger-than-buffer):
755 Rewrite using new window resize routines.
2b75be67
SM
756 (kill-buffer-and-window, mouse-autoselect-window-select):
757 Use ignore-errors instead of condition-case.
6198ccd0
MR
758 (quit-window): Call delete-frame instead of delete-windows-on
759 for the only buffer on frame.
760
9397e56f
MR
7612011-06-10 Martin Rudalics <rudalics@gmx.at>
762
763 * loadup.el (top-level): Load window before files for the sake
764 of replace-buffer-in-windows.
765
766 * files.el (read-buffer-to-switch)
767 (switch-to-buffer-other-window)
2b75be67
SM
768 (switch-to-buffer-other-frame, display-buffer-other-frame):
769 Move to window.el.
9397e56f
MR
770
771 * simple.el (get-next-valid-buffer, last-buffer, next-buffer)
772 (previous-buffer): Move to window.el.
773
774 * bindings.el (unbury-buffer): Move to window.el.
775
776 * window.el (delete-other-windows-vertically): Move after
777 definition of delete-other-windows.
778 (other-window, delete-windows-on, replace-buffer-in-windows):
779 Move here from window.c.
780 (record-window-buffer, unrecord-window-buffer)
781 (set-window-buffer-start-and-point, switch-to-prev-buffer)
782 (switch-to-next-buffer): New functions.
783 (get-next-valid-buffer, last-buffer, next-buffer): Move here
784 from simple.el. Call switch-to-next-buffer.
2b75be67
SM
785 (previous-buffer): Move here from simple.el.
786 Call switch-to-prev-buffer.
9397e56f
MR
787 (bury-buffer): Move here from buffer.c. Switch to previous
788 buffer when window cannot be deleted.
789 (unbury-buffer): Move here from bindings.el.
790 (ctl-x-map): Move binding for other-window from window.c to
791 here.
792 (read-buffer-to-switch, switch-to-buffer-other-window)
793 (switch-to-buffer-other-frame): Move here from files.el.
794 (normalize-buffer-to-switch-to): New functions.
2b75be67
SM
795 (switch-to-buffer): Move here from buffer.c.
796 Use read-buffer-to-switch and normalize-buffer-to-switch-to.
9397e56f 797
562dd5e9
MR
7982011-06-10 Martin Rudalics <rudalics@gmx.at>
799
800 * window.el (window-min-height, window-min-width): Move here
801 from window.c. Add defcustoms and rewrite doc-strings.
802 (resize-mini-window, resize-window): New functions.
803 (adjust-window-trailing-edge, enlarge-window, shrink-window):
804 Move here from window.c.
805 (maximize-window, minimize-window): New functions.
806 (delete-window, delete-other-windows, split-window): Move here
807 from window.c.
808 (window-split-min-size): New function.
809 (split-window-keep-point): Mention split-window-above-each-other
810 instead of split-window-vertically.
2b75be67
SM
811 (split-window-above-each-other, split-window-vertically):
812 Rename split-window-vertically to split-window-above-each-other and
562dd5e9
MR
813 provide defalias for old definition.
814 (split-window-side-by-side, split-window-horizontally): Rename
815 split-window-horizontally to split-window-side-by-side and provide
816 defalias for the old definition.
817 (ctl-x-map): Move bindings for delete-window,
818 delete-other-windows and enlarge-window here from window.c.
819 Replace bindings for split-window-vertically and
820 split-window-horizontally by bindings for
821 split-window-above-each-other and split-window-side-by-side.
822
823 * cus-start.el (all): Remove entries for window-min-height and
824 window-min-width. Add entries for window-splits and
825 window-nest.
826
f0da764a
GM
8272011-06-09 Glenn Morris <rgm@gnu.org>
828
80675c21
GM
829 * calendar/appt.el (appt-mode-line): New function.
830 (appt-check, appt-disp-window): Use it.
831
f0da764a
GM
832 * files.el (hack-one-local-variable-eval-safep):
833 Allow minor-modes with explicit +/-1 arguments.
834
59f623b7
TZ
8352011-06-09 Teodor Zlatanov <tzz@lifelogs.com>
836
837 * term/xterm.el (xterm): Add defgroup.
838 (xterm-extra-capabilities): Add defcustom to supply known xterm
839 capabilities, skip querying them, or query them (default).
840 (terminal-init-xterm): Use it.
841 (terminal-init-xterm-modify-other-keys): New function to set up
842 modifyOtherKeys support to simplify `terminal-init-xterm'.
843
9aab8e0d
MR
8442011-06-09 Martin Rudalics <rudalics@gmx.at>
845
846 * window.el (resize-window-reset, resize-window-reset-1)
847 (resize-subwindows-skip-p, resize-subwindows-normal)
848 (resize-subwindows, resize-other-windows, resize-this-window)
849 (resize-root-window, resize-root-window-vertically)
850 (window-deletable-p, window-or-subwindow-p)
851 (frame-root-window-p): New functions.
852
e8b08aee
GM
8532011-06-09 Glenn Morris <rgm@gnu.org>
854
855 * net/ange-ftp.el (ange-ftp-switches-ok): New function.
856 (ange-ftp-get-files): Use it.
857
254c37a5
AK
8582011-06-09 Alexander Klimov <alserkli@inbox.ru> (tiny change)
859
860 * mail/sendmail.el (mail-recover-1, mail-recover):
861 * files.el (recover-file, recover-session):
862 Handle dired-listing-switches not being just a single short option.
863
35d7dbd3
GM
8642011-06-09 Glenn Morris <rgm@gnu.org>
865
866 * calendar/appt.el (appt-display-message, appt-disp-window):
867 Handle lists of appointments.
868
387522b2
MR
8692011-06-08 Martin Rudalics <rudalics@gmx.at>
870
2b75be67
SM
871 * window.el (one-window-p): Move down in code.
872 Rewrite doc-string.
873 (window-current-scroll-bars): Rewrite doc-string.
874 Normalize live window argument.
387522b2
MR
875 (walk-windows, get-window-with-predicate, count-windows):
876 Rewrite doc-string. Use window-list-1.
877 (window-in-direction-2, window-in-direction, get-mru-window):
878 New functions.
879
d8e4b68b 8802011-06-08 Reuben Thomas <rrt@sc3d.org>
2c587104
GM
881
882 * progmodes/flymake.el (flymake-compilation-prevents-syntax-check):
883 Doc fix (Bug#8713).
884
8852011-06-08 Chong Yidong <cyd@stupidchicken.com>
886
887 * repeat.el (repeat-on-final-keystroke): Fix type (Bug#8696).
888
8892011-06-08 Juanma Barranquero <lekktu@gmail.com>
890
891 * loadhist.el (unload-feature-special-hooks):
892 Add `comint-output-filter-functions'.
893
0de12c52
IK
8942011-06-08 Ivan Kanis <gnu@kanis.fr>
895
896 * calendar/appt.el (appt-check): Move some initializations into the let.
897
f3d1777e
MR
8982011-06-08 Martin Rudalics <rudalics@gmx.at>
899
900 * window.el (window-height): Defalias to window-total-height.
901 (window-width): Defalias to window-body-width.
902
18af70d0
CY
9032011-06-07 Chong Yidong <cyd@stupidchicken.com>
904
905 * image-mode.el (image-toggle-animation): New command.
906 (image-mode-map): Bind it to RET.
907 (image-mode): Update message.
908 (image-toggle-display-image): Avoid a spurious cache flush.
909 (image-transform-rotation): Doc fix.
910 (image-transform-properties): Return quickly in the normal case.
911 (image-animate-loop): Rename from image-animate-max-time.
912
2b75be67 913 * image.el (image-animate-max-time): Move to image-mode.el.
18af70d0
CY
914 (create-animated-image): Remove unnecessary function.
915 (image-animate): Rename from image-animate-start. New arg.
2b75be67 916 (image-animate-stop): Remove; just use image-animate-timer.
18af70d0
CY
917 (image-animate-timer): Use car-safe.
918 (image-animate-timeout): Rename argument.
919
190b47e6
MR
9202011-06-07 Martin Rudalics <rudalics@gmx.at>
921
922 * window.el (get-lru-window, get-largest-window): Move here from
2b75be67
SM
923 window.c. Rename first argument to ALL-FRAMES.
924 Rephrase doc-strings.
925 (get-buffer-window-list): Rewrite using window-list-1.
926 Rephrase doc-string.
a1511caf
MR
927 (window-safe-min-height, window-safe-min-width): New constants.
928 (window-size-ignore, window-min-size, window-min-size-1)
929 (window-sizable, window-sizable-p, window-size-fixed-1)
930 (window-size-fixed-p, window-min-delta-1, window-min-delta)
931 (window-max-delta-1, window-max-delta, window-resizable)
932 (window-resizable-p, window-total-height, window-total-width)
933 (window-body-width): New functions.
934 (window-full-height-p, window-full-width-p): Rewrite using
935 window-total-size.
936 (window-body-height): Rewrite using window-body-size.
190b47e6 937
85cc1f11
MR
9382011-06-06 Martin Rudalics <rudalics@gmx.at>
939
940 * window.el (window-right, window-left, window-child)
941 (window-child-count, window-last-child, window-any-p)
942 (normalize-live-buffer, normalize-live-frame)
943 (normalize-any-window, normalize-live-window)
944 (window-iso-combination-p, window-iso-combined-p)
945 (window-iso-combinations)
946 (walk-window-tree-1, walk-window-tree, walk-window-subtree)
947 (windows-with-parameter, window-with-parameter)
948 (window-atom-root, make-window-atom, window-atom-check-1)
2b75be67
SM
949 (window-atom-check, window-side-check, window-check):
950 New functions.
85cc1f11
MR
951 (ignore-window-parameters, window-sides, window-sides-vertical)
952 (window-sides-slots): New variables.
953 (window-size-fixed): Move down in code. Minor doc-string fix.
954
e7156492
AS
9552011-06-05 Andreas Schwab <schwab@linux-m68k.org>
956
957 * comint.el (comint-dynamic-complete-as-filename)
958 (comint-dynamic-complete-filename): Correctly call
959 completion-in-region.
960
7e821d0d
DD
9612011-06-05 Deniz Dogan <deniz@dogan.se>
962
963 * net/rcirc.el (rcirc-prompt-for-encryption): Fix bug introduced
964 in last change.
965
ac09b8a1
DD
9662011-06-05 Deniz Dogan <deniz@dogan.se>
967
968 * net/rcirc.el (rcirc-prompt-for-encryption): New function.
969 (rcirc): Use it to prompt for encryption.
970
34699b85
RW
9712011-06-05 Roland Winkler <winkler@gnu.org>
972
973 * textmodes/bibtex.el (bibtex-search-buffer): New variable.
974 (bibtex-search-entries): New command bound to C-c C-a.
975 (bibtex-display-entries): New function.
976
004dedd3
RW
9772011-06-05 Roland Winkler <winkler@gnu.org>
978
979 * textmodes/bibtex.el (bibtex-generate-url-list): Fix docstring.
980 (bibtex-insert-kill): After yanking insert newline if necessary.
981 (bibtex-initialize): Call bibtex-string-files-init only once.
982 (bibtex-mode): Do not call easy-menu-add.
983 (bibtex-validate-globally): Use save-excursion in bibtex buffers.
984 (bibtex-yank): Set arg properly if nil.
985
022fe7ce
RW
9862011-06-05 Roland Winkler <winkler@gnu.org>
987
2b75be67
SM
988 * textmodes/bibtex.el (bibtex-search-entry-globally):
989 New variable.
022fe7ce
RW
990 (bibtex-search-entry): Use it.
991
b7c3692a
RW
9922011-06-05 Roland Winkler <winkler@gnu.org>
993
994 * textmodes/bibtex.el (bibtex-entry-format): New option
995 sort-fields.
996 (bibtex-format-entry, bibtex-reformat): Honor this option.
997 (bibtex-parse-entry): Return fields in proper order.
998
8eda563d
JB
9992011-06-05 Juanma Barranquero <lekktu@gmail.com>
1000
1001 * doc-view.el (doc-view-remove-if): Move computation of result out
1002 of `dolist' to silence misleading lexical-binding warning.
1003
7dbe3dbc
CY
10042011-06-04 Chong Yidong <cyd@stupidchicken.com>
1005
1006 * emacs-lisp/timer.el (timer-activate): Remove unused arg.
1007 (timer-activate, timer-activate-when-idle): Doc fix (Bug#8793).
1008
0c33dd17
MA
10092011-06-04 Michael Albinus <michael.albinus@gmx.de>
1010
1011 * net/tramp-sh.el (tramp-find-shell): Apply workaround also for
1012 "SunOS 5.10".
1013
f8f91c2b
MA
10142011-06-04 Michael Albinus <michael.albinus@gmx.de>
1015
1016 * net/tramp.el (tramp-set-completion-function, tramp-parse-rhosts)
1017 (tramp-parse-shosts, tramp-parse-sconfig, tramp-parse-shostkeys)
1018 (tramp-parse-hosts, tramp-parse-passwd, tramp-parse-netrc)
1019 (tramp-parse-putty):
1020 * net/tramp-sh.el (tramp-completion-function-alist-rsh)
1021 (tramp-completion-function-alist-ssh)
1022 (tramp-completion-function-alist-telnet)
1023 (tramp-completion-function-alist-su)
1024 (tramp-completion-function-alist-putty): Set `tramp-autoload'
1025 cookie.
1026
1027 * net/tramp-ftp.el:
1028 * net/tramp-sh.el:
1029 * net/tramp-smb.el: Set `tramp-autoload' cookie, and eval after
1030 load "tramp.el" `tramp-set-completion-function'.
1031
e17d9003
SM
10322011-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
1033
1034 * shell.el: Require and use pcomplete.
1035 (shell-dynamic-complete-functions): Add pcomplete-completions-at-point.
1036 (shell-completion-vars): Set pcomplete-default-completion-function.
1037
6c4cab03
DD
10382011-06-04 Deniz Dogan <deniz@dogan.se>
1039
1040 * iswitchb.el (iswitchb-window-buffer-p): Use `member' instead of
1041 `memq' (Bug#8799).
1042
ea9fafe0
SM
10432011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
1044
1045 * subr.el (make-progress-reporter): Add "..." by default (bug#8785).
1046
b3e945d3
JB
10472011-06-02 Juanma Barranquero <lekktu@gmail.com>
1048
1049 * bs.el (bs--mark-unmark, bs--nth-wrapper):
1050 * mpc.el (mpc-select-extend, mpc-songpointer-context):
1051 * vc/log-view.el (log-view-beginning-of-defun):
1052 * vc/smerge-mode.el (smerge-apply-resolution-patch)
1053 (smerge-refine-forward, smerge-refine-chopup-region):
1054 Silence warning for unused `dotimes' counter variables.
1055
7d520089
SM
10562011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
1057
1058 * net/tramp.el (tramp-with-progress-reporter): Rename from
1059 with-progress-reporter. Use `declare'.
1060 * net/tramp-smb.el:
1061 * net/tramp-sh.el:
1062 * net/tramp-gvfs.el: Update all uses.
1063
a1c2400f
JB
10642011-06-02 Jay Belanger <jay.p.belanger@gmail.com>
1065
1066 * calc/calc.el (calc-kill-stack-buffer): Make sure that the trail
1067 buffer isn't killed before making it current.
1068
2403c841
SM
10692011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
1070
1071 Silence various byte-compiler warnings.
1072 * emacs-lisp/byte-run.el (make-obsolete-variable): New argument
1073 `access-type' and new obsolescence format.
1074 * emacs-lisp/bytecomp.el (byte-compile-warn-obsolete): Adjust to
1075 new format.
1076 (byte-compile-check-variable): New `access-type' argument.
1077 Only warn if the access-type is obsolete.
1078 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
1079 (byte-compile-variable-set): Adjust callers.
1080 * help-fns.el (describe-variable): Adjust to new obsolescence format.
1081 * mail/sendmail.el (mail-mailer-swallows-blank-line): Only mark
1082 setting it as obsolete.
1083 * simple.el (minibuffer-completing-symbol):
1084 * font-lock.el (font-lock-beginning-of-syntax-function): Only mark read
1085 access as obsolete.
1086 * minibuffer.el (minibuffer-completing-file-name): Don't make it
1087 obsolete yet.
1088 * international/quail.el (quail-mouse-choose-completion): Remove unused
1089 code referring to obsolete var.
1090 (quail-choose-completion-string): Remove.
1091 * server.el (server-clients-with, server-kill-buffer-query-function)
1092 (server-kill-emacs-query-function): Silence "unused `proc'" warnings.
1093 * proced.el (proced-send-signal):
1094 * emacs-lisp/lisp.el (lisp-complete-symbol):
1095 Replace completion-annotate-function with completion-extra-properties.
1096
2462470b
SM
10972011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
1098
fb5b2591
SM
1099 * simple.el (goto-line): Use read-number.
1100 (overriding-map-is-bound): Remove.
1101 (saved-overriding-map): Change default.
1102 (save&set-overriding-map): Rename from ensure-overriding-map-is-bound;
1103 Take the map as argument.
1104 (universal-argument, negative-argument, digit-argument): Use it.
1105 (restore-overriding-map): Adjust.
1106 (do-auto-fill): Use fill-forward-paragraph.
1107 (keyboard-quit): Don't signal an error when debug-on-quit is non-nil.
1108
fd6fa53f
SM
1109 * minibuffer.el (minibuffer-inactive-mode-map): New var.
1110 (minibuffer-inactive-mode): New major mode.
1111 * mouse.el (mouse-drag-region): Remove the "mouse-1 pops up
1112 the *Messages* buffer" hack.
1113 (mouse-popup-menubar): Don't burp if the event is a normal key.
1114
2462470b
SM
1115 Miscellaneous tweaks.
1116 * emacs-lisp/cl-macs.el (dolist, dotimes): Use the same strategy for
1117 lexical scoping as in subr.el's dolist and dotimes.
1118 * emacs-lisp/bytecomp.el (byte-compile-unfold-bcf):
1119 Silence compiler warning.
1120 * thingatpt.el (forward-whitespace): Trivial coding style fix.
1121 * subr.el (with-output-to-temp-buffer): Provide an edebug spec.
1122 * international/ccl.el (ccl-compile): Trivial simplification.
1123 * help-fns.el (help-do-arg-highlight): Silence compiler warning.
1124 * emacs-lisp/testcover.el (testcover-end): Remove spurious
1125 `printflag' argument.
1126 * emacs-lisp/byte-run.el (make-obsolete, make-obsolete-variable):
1127 Purecopy the whole obsolescence data.
1128
108bf785
LL
11292011-06-01 Leo Liu <sdl.web@gmail.com>
1130
1131 * net/rcirc.el (rcirc-decode-coding-system): Revert last change;
1132 improve doc-string as suggested by Marco Pessotto
1133 <melmothx@gmail.com>.
1134 (rcirc-print): Fix last change.
1135
30a23501
SM
11362011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
1137
1138 * minibuffer.el (complete-with-action): Return nil for the metadata and
1139 boundaries of non-functional tables.
1140 (completion-table-dynamic): Return nil for the metadata.
1141 (completion-table-with-terminator): Add default case, using
1142 complete-with-action.
1143 (completion--metadata): New function.
1144 (completion-all-sorted-completions, minibuffer-completion-help): Use it
1145 to try and avoid pathological performance problems.
1146 (completion--embedded-envvar-table): Return `category' metadata.
1147
bcd54f83
LMI
11482011-05-31 Lars Magne Ingebrigtsen <larsi@gnus.org>
1149
1150 * subr.el (process-alive-p): New tiny convenience function.
1151
e227544d
SM
11522011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
1153
1154 * emacs-lisp/debug.el (debug): Save&restore not just the buffer's
1155 content but also its previous major mode.
1156
e8296fdc
HE
11572011-05-31 Helmut Eller <eller.helmut@gmail.com>
1158
1159 * debug.el (debug): Restore the previous content of the
1160 *Backtrace* buffer when we exit with C-M-c.
1161
620c53a6
SM
11622011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
1163
1164 * minibuffer.el: Add metadata method to completion tables.
1165 (completion-category-overrides): New defcustom.
1166 (completion-metadata, completion--field-metadata)
1167 (completion-metadata-get, completion--styles)
1168 (completion--cycle-threshold): New functions.
1169 (completion-try-completion, completion-all-completions):
1170 Add `metadata' argument to choose completion-styles.
1171 (completion--do-completion): Use metadata to choose cycling.
1172 (completion-all-sorted-completions): Use metadata for sorting.
1173 Remove :completion-cycle-penalty which is not needed any more.
1174 (completion--try-word-completion): Add `metadata' argument.
1175 (minibuffer-completion-help): Check metadata for annotation function
1176 and sorting.
1177 (completion-file-name-table): Return `category' metadata.
1178 (minibuffer-completing-file-name): Make obsolete.
1179 * simple.el (minibuffer-completing-symbol): Make obsolete.
1180 * icomplete.el (icomplete-completions): Pass new `metadata' param to
1181 completion-try-completion.
1182
1257e755
SM
11832011-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
1184
1185 * mail/smtpmail.el (smtpmail-send-data): Add progress reporter.
1186
3767e706
LL
11872011-05-30 Leo Liu <sdl.web@gmail.com>
1188
1189 * net/rcirc.el (rcirc-debug-buffer): Use visible buffer name.
5ab33f2b
LL
1190 (rcirc-print): Decode all incoming messages (bug#8744).
1191 (rcirc-decode-coding-system): Allow value nil for automatic coding
1192 system detection.
3767e706 1193
d1a5d56a
GM
11942011-06-01 Glenn Morris <rgm@gnu.org>
1195
1196 * mail/emacsbug.el (report-emacs-bug-hook): Mailclient ignores From.
1197
e8cbec34
CY
11982011-05-29 Chong Yidong <cyd@stupidchicken.com>
1199
1200 * image.el (image-animate-max-time): Allow nil and t values.
1201 Default to nil.
1202 (create-animated-image): Doc fix.
1203 (image-animate-start): Remove second arg; just use
1204 image-animate-max-time.
1205 (image-animate-timeout): Doc fix. Args changed.
1206
1207 * image-mode.el (image-toggle-display-image): Ensure that the
1208 image spec passed to the animate timer is the same object as in
1209 the the buffer's display property (Bug#6981).
1210 (image-transform-properties): Doc fix.
1211
1212 * image.el (image-animate-max-time): Default to nil.
1213
159daf87
MR
12142011-05-29 Martin Rudalics <rudalics@gmx.at>
1215
1216 * menu-bar.el (kill-this-buffer-enabled-p): Avoid looping over
1217 entire buffer list (Bug#8184).
1218
d66c4c7c
CY
12192011-05-29 Chong Yidong <cyd@stupidchicken.com>
1220
1221 * image.el (imagemagick-types-inhibit)
1222 (imagemagick-register-types): Doc fix.
1223
80aec780
DD
12242011-05-29 Deniz Dogan <deniz@dogan.se>
1225
1226 * net/rcirc.el (rcirc): Use the user's stored encryption method by
1227 default.
1228
1dd3c2d9
CY
12292011-05-29 Chong Yidong <cyd@stupidchicken.com>
1230
1231 * select.el: Don't perform clipboard-manager saving in hooks;
1232 leave the hooks empty.
1233
60e56523
LL
12342011-05-28 Leo Liu <sdl.web@gmail.com>
1235
1236 * replace.el (occur-menu-map, occur-edit-mode-map): New vars.
1237 (occur-mode-map): Bind occur-edit-mode. Use occur-menu-map.
1238 (occur-edit-mode): New major mode (Bug#8463).
1239 (occur-after-change-function): New function.
1240 (occur-engine): Give Occur tags a read-only property.
1241
2b1e1a22
KR
12422011-05-28 Kevin Ryde <user42@zip.com.au>
1243
1244 * subr.el (def-edebug-spec): Doc fix (Bug#8430).
1245
5d344e88
CY
12462011-05-28 Chong Yidong <cyd@stupidchicken.com>
1247
8e6ca83d
CY
1248 * bindings.el (help-echo): Make the initial non-indicator dash
1249 empty on graphical terminals (Bug#7295).
1250
5d344e88
CY
1251 * files.el (auto-mode-alist): Move config rule after the
1252 in-stripping one (Bug#8547).
1253
bfbbace7
CY
1254 * newcomment.el (comment-end-skip): Doc fix (Bug#8659).
1255
fbeba6e2
CY
1256 * startup.el (normal-splash-screen): Remove gratuitous mode-line
1257 setting (Bug#8740).
1258
60ed8c72
AA
12592011-05-28 Alp Aker <aker@pitt.edu> (tiny change)
1260
4ac619f0
AA
1261 * buff-menu.el (Buffer-menu-revert-function, Buffer-menu-sort)
1262 (Buffer-menu-buffer+size): Use Buffer-menu-buffer-column
1263 (Bug#8539).
60ed8c72 1264
23db196e
CY
12652011-05-28 Chong Yidong <cyd@stupidchicken.com>
1266
1267 * emacs-lisp/re-builder.el (re-builder): Improve doc (Bug#8286).
1268
5012f24c
DK
12692011-05-28 Dima Kogan <dkogan@cds.caltech.edu> (tiny change)
1270
1271 * progmodes/hideshow.el (hs-looking-at-block-start-p): New fun.
1272 (hs-hide-block-at-point, hs-find-block-beginning)
1273 (hs-already-hidden-p, hs-hide-block, hs-show-block): Use it
1274 (Bug#8279).
1275
6a639b16
GM
12762011-05-28 Glenn Morris <rgm@gnu.org>
1277
1278 * startup.el (fancy-about-screen): Use standard mode line. (Bug#8740)
1279
d43eaf2c
CY
12802011-05-28 Chong Yidong <cyd@stupidchicken.com>
1281
5199bde1
CY
1282 * help-fns.el (describe-function-1): If the function is a derived
1283 major mode, print the parent mode.
1284
d43eaf2c
CY
1285 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode, java-mode)
1286 (idl-mode, pike-mode, awk-mode): Inherit from prog-mode.
1287
423428a8
SM
12882011-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
1289
0ff8e1ba
SM
1290 * minibuffer.el (completion--capf-wrapper): Check applicability before
1291 retuning non-nil for non-exclusive completion data.
1292 * progmodes/etags.el (tags-completion-at-point-function):
1293 * info-look.el (info-lookup-completions-at-point): Mark as
1294 non-exclusive.
1295 (info-complete): Adjust accordingly.
1296
423428a8
SM
1297 * info-look.el: Convert to lexical-binding and completion-at-point.
1298 (info-lookup-completions-at-point): New function.
1299 (info-complete): Use it and completion-in-region.
1300
b74aa22b
DA
13012011-05-28 Drew Adams <drew.adams@oracle.com>
1302
1303 * isearch.el: Let M-e start with point at the first mismatched char.
1304 (isearch-fail-pos): New function.
1305 (isearch-edit-string): Use it.
1306
66e2e71d
DK
13072011-05-28 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
1308
1309 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
1310
eb95d01d
TC
13112009-11-23 Toby Cubitt <toby-predictive@dr-qubit.org>
1312
1313 * emacs-lisp/avl-tree.el: New avl-tree-stack datatype. Add new
1314 traversal functions for avl-trees.
1315 (avl-tree--stack): New struct.
1316 (avl-tree-stack-p, avl-tree--stack-repopulate): New funs.
1317 (avl-tree-enter): Add optional `updatefun' arg.
93a1c12a
TC
1318 (avl-tree--do-enter): Add optional `updatefun' arg.
1319 Change return value.
eb95d01d 1320 (avl-tree-delete): Add optional `test' and `nilflag' args.
93a1c12a
TC
1321 (avl-tree--do-delete): Add `test' and `nilflag' args.
1322 Change return value.
eb95d01d
TC
1323 (avl-tree-member): Add optional `nilflag'
1324 (avl-tree-member-p): New function.
1325 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar): New functions.
1326 (avl-tree-stack, avl-tree-stack-pop, avl-tree-stack-first)
1327 (avl-tree-stack-empty-p): New functions.
1328
3769ddcf
TC
13292009-11-23 Toby Cubitt <toby-predictive@dr-qubit.org>
1330
1331 * emacs-lisp/avl-tree.el (avl-tree--del-balance): Rename from
1332 avl-tree--del-balance1 and make it work both ways.
1333 (avl-tree--del-balance2): Remove.
1334 (avl-tree--enter-balance): Rename from avl-tree--enter-balance1 and
1335 make it work both ways.
1336 (avl-tree--enter-balance2): Remove.
1337 (avl-tree--switch-dir, avl-tree--dir-to-sign, avl-tree--sign-to-dir):
1338 New macros.
1339 (avl-tree--mapc, avl-tree-map): Add direction argument.
1340
eb95d01d 13412011-05-27 David Michael <fedora.dm0@gmail.com> (tiny change)
7a6b1aef
DM
1342
1343 * files.el (interpreter-mode-alist): Add rbash (bug#8745).
1344
a9f737ee
CY
13452011-05-27 Chong Yidong <cyd@stupidchicken.com>
1346
1347 * select.el: Support clipboard managers with built-in function
1348 x-clipboard-manager-save, via delete-frame-functions and
1349 kill-emacs-hook.
1350 (xselect-convert-to-targets): Add MULTIPLE target to list.
1351 (xselect-convert-to-save-targets): New function.
1352
c92a1e54
KH
13532011-05-27 Kenichi Handa <handa@m17n.org>
1354
1355 * mail/sendmail.el (mail-encode-header): Avoid double encoding by
1356 let-binding rfc2047-encode-encoded-words to nil.
1357
e145f188
GM
13582011-05-27 Glenn Morris <rgm@gnu.org>
1359
5ec8a862
GM
1360 * mail/emacsbug.el: Don't require url-util.
1361
4b29d9fb
GM
1362 * shell.el (shell-directory-tracker): Case matters. (Bug#8735)
1363
e145f188
GM
1364 * files.el (set-auto-mode):
1365 Also respect mode: entries at the end of the file. (Bug#8586)
1366
7d15102b
GM
13672011-05-26 Glenn Morris <rgm@gnu.org>
1368
98f593b8
GM
1369 * files.el (hack-local-variables-prop-line, hack-local-variables):
1370 Downcase mode names, as seems to be traditional.
27b48e63 1371 (hack-local-variables, hack-local-variables-apply): Doc fixes.
98f593b8 1372
7d15102b
GM
1373 * mail/emacsbug.el (report-emacs-bug): Mention checking From address.
1374 (report-emacs-bug-hook): Try to validate the From address. (Bug#8038)
1375
51d5b4ec
JD
13762011-05-25 Julien Danjou <julien@danjou.info>
1377
1378 * textmodes/rst.el (rst-define-level-faces): Do not define face
1379 symbol if it is already defined.
1380
91513f63
VB
13812011-05-24 Vincent Belaïche <vincentb1@users.sourceforge.net>
1382
1383 * play/5x5.el (5x5-new-game, 5x5-randomize):
1384 Reset 5x5-solver-output to nil when a new grid is cast.
1385 (5x5-log-init, 5x5-log): Use defsubst instead of defmacro to shunt
1386 these debugging traces, as defmacro breaks the compiled code.
1387
4d90d6d0
DK
13882011-05-24 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
1389
1390 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
1391
e1b90ef6
LL
13922011-05-24 Leo Liu <sdl.web@gmail.com>
1393
1394 * vc/vc-bzr.el (vc-bzr-sha1-program): Rename from sha1-program.
1395 (vc-bzr-sha1): Adapt.
1396
d8e4b68b 1397 * sha1.el: Remove. Function `sha1' is now builtin.
e1b90ef6
LL
1398
1399 * bindings.el: Provide sha1 feature.
1400
db0406bb 14012011-05-24 Kenichi Handa <handa@m17n.org>
b8d747b9
KH
1402
1403 * mail/sendmail.el: Require `rfc2047'.
1404 (mail-insert-from-field): Do not perform RFC2047 encoding.
1405 (mail-encode-header): New function.
1406 (sendmail-send-it): Set buffer-file-coding-system of the work
4d90d6d0
DK
1407 buffer to the return value of select-message-coding-system.
1408 Call mail-encode-header.
b8d747b9
KH
1409
1410 * mail/smtpmail.el (smtpmail-send-it): Call mail-encode-header.
1411
db0406bb 14122011-05-24 Sean Neakums <sneakums@zork.net> (tiny change)
7261f6ce 1413
4d90d6d0
DK
1414 * mail/supercite.el (sc-default-cite-frame):
1415 Handle sc-nested-citation-p when sc-cite-blank-lines-p is non-nil.
7261f6ce 1416
eb8a5e9b
GM
14172011-05-24 Glenn Morris <rgm@gnu.org>
1418
f8630703
GM
1419 * progmodes/python.el (brm-menu): Declare.
1420
8831bbed
GM
1421 * emulation/viper.el (viper-set-hooks): Declare.
1422
eb8a5e9b
GM
1423 * play/5x5.el (5x5-log-init, 5x5-log): Evaluate when compiling.
1424 (5x5-log-init, 5x5-log, 5x5-solver): Doc fixes.
1425 (math-map-vec, math-sub, math-mul, math-make-intv, math-reduce-vec)
1426 (math-format-number, math-pow, calcFunc-arrange, calcFunc-cvec)
1427 (calcFunc-diag, calcFunc-trn, calcFunc-inv, calcFunc-mrow)
1428 (calcFunc-mcol, calcFunc-vconcat, calcFunc-index): Declare.
1429
a2a25d24
SM
14302011-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
1431
1432 Add an :exit-function for completion-at-point.
1433
1434 * minibuffer.el (completion--done): New fun.
1435 (completion--do-completion): Use it. New arg `expect-exact'.
1436 (minibuffer-complete, minibuffer-complete-word): Don't output message,
1437 since completion--do-completion does it for us now.
1438 (minibuffer-force-complete): Use completion--done and
1439 completion--replace. Handle sole-completion case with more care.
1440 (minibuffer-complete-and-exit): Use new `expect-exact' arg.
1441 (completion-extra-properties): New var.
1442 (completion-annotate-function): Make obsolete.
1443 (minibuffer-completion-help): Adjust accordingly.
1444 Use completion-list-insert-choice-function.
1445 (completion-at-point, completion-help-at-point):
1446 Bind completion-extra-properties.
1447 (completion-pcm-word-delimiters): Add | (for uniquify, for example).
1448 * simple.el (completion-list-insert-choice-function): New var.
1449 (completion-setup-function): Preserve it.
1450 (choose-completion): Pay attention to it, shuffle the code a bit.
1451 (choose-completion-string): New arg `insert-function'.
1452
1453 * textmodes/bibtex.el: Convert to lexical binding.
1454 (bibtex-mode-map): Use completion-at-point.
1455 (bibtex-mode): Use define-derived-mode&completion-at-point-functions.
1456 (bibtex-completion-at-point-function): New fun, from bibtex-complete.
1457 (bibtex-complete): Define as obsolete alias.
1458 (bibtex-complete-internal): Remove.
1459 (bibtex-format-entry): Remove unused sub-group in regexp.
1460 * shell.el (shell--command-completion-data)
1461 (shell-environment-variable-completion):
1462 * pcomplete.el (pcomplete-completions-at-point):
1463 * comint.el (comint--complete-file-name-data): Use :exit-function
1464 instead of completion-table-with-terminator so it also works for
1465 choose-completion.
1466
e44e373d
SM
14672011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
1468
4f91a816
SM
1469 * <lots-of-files>.el: Don't quote lambda expressions with `quote'.
1470
782fc819
SM
1471 * vc/smerge-mode.el (smerge-refine-subst): Don't deactivate the mark
1472 (bug#8710).
1473
e44e373d
SM
1474 * emacs-lisp/lisp.el (up-list): Fix forward movement (bug#8708).
1475
381987c3
KM
14762011-05-23 Ken Manheimer <ken.manheimer@gmail.com>
1477
1478 * allout.el (allout-inhibit-auto-fill-on-headline): Create new
1479 customization variable and implement: If non-nil, auto-fill will
1480 be inhibited while on topic's header line.
1481
b776bc70
VB
14822011-05-23 Vincent Belaïche <vincentb1@users.sourceforge.net>
1483
1484 * play/5x5.el: I/ Add an arithmetic solver to suggest positions to
d8e4b68b 1485 click on. II/ Make 5x5 multisession. III/ Ensure that random grids
b776bc70
VB
1486 always have a solution in grid size = 5 cases.
1487 (5x5-mode-map): Add keybinding to function `5x5-solve-suggest'.
1488 (5x5-solver-output, 5x5-log-buffer): New vars.
1489 (5x5-grid, 5x5-x-pos, 5x5-y-pos, 5x5-moves, 5x5-cracking):
1490 Make these variables buffer local to achieve 5x5 multi-session-ness.
1491 (5x5): Set 5x5-grid-size only if SIZE is non-negative.
1492 (5x5-grid-to-vec, 5x5-vec-to-grid, 5x5-log-init, 5x5-log, 5x5-solver)
1493 (5x5-solve-suggest): New funs.
1494 (5x5-randomize): Use 5x5-make-move instead of 5x5-flip-cell to
1495 randomize a grid so that we ensure that there is always a solution.
1496 (5x5-make-random-grid): Allow other movement than flipping.
1497
7de88b6e
KR
14982011-05-23 Kevin Ryde <user42@zip.com.au>
1499
1500 * emacs-lisp/advice.el (ad-read-advised-function):
1501 Use `function-called-at-point' as the default default, if it has
1502 advice and passes PREDICATE.
1503
b1ef1257
SM
15042011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
1505
bbca48fe
SM
1506 * emacs-lisp/bytecomp.el (byte-compile-function-form): Only call
1507 byte-compile-lambda if it's actually a lambda.
1508
b1ef1257
SM
1509 * emacs-lisp/eieio.el (eieio-defgeneric-form-primary-only-one):
1510 Fix function quoting. Use backquote better.
1511
92a9cc65
YS
15122011-05-22 Yuanle Song <sylecn@gmail.com>
1513
1514 * nxml/rng-xsd.el (rng-xsd-check-pattern): Use case-sensitive
1515 matching (Bug#8516).
1516
f0fb8059
JA
15172011-01-22 Jari Aalto <jari.aalto@cante.net>
1518
1519 * vc/vc-dir.el (vc-default-dir-printer): Give edited tag a
1520 different face (Bug#8178).
1521
d5b44c93
CY
15222011-05-22 Chong Yidong <cyd@stupidchicken.com>
1523
1524 * vc/diff-mode.el (diff-changed): Don't use terminal specs for
1525 defface (Bug#8144).
1526
79106a44
SM
15272011-05-22 Stefan Monnier <monnier@iro.umontreal.ca>
1528
9c848d8a
SM
1529 * emacs-lisp/macroexp.el (macroexpand-all-1): Convert ' to #' for
1530 funcall as well (bug#8712). Warn when performing those conversions.
1531 * emacs-lisp/bytecomp.el (byte-compile-form): Fix error report.
1532
79106a44
SM
1533 * progmodes/grep.el (grep-mode): Fix it for good (bug#8684)!
1534
88dfa756
GM
15352011-05-22 Glenn Morris <rgm@gnu.org>
1536
1537 * files.el (hack-local-variables-prop-line): Small simplifications.
1538 (hack-local-variables, hack-local-variables-prop-line):
1539 If MODE-ONLY, return the mode, rather than just `t'.
1540
b7cf2c79
SM
15412011-05-21 Stefan Monnier <monnier@iro.umontreal.ca>
1542
1543 * progmodes/grep.el (grep-mode): Fix last change (bug#8684).
1544
3f1a8558
GM
15452011-05-21 Glenn Morris <rgm@gnu.org>
1546
7e4ccca3
GM
1547 * files.el (hack-local-variables-prop-line, hack-local-variables):
1548 If only interested in the mode, don't bother doing the other stuff.
1549
637d46ca
GM
1550 * image-mode.el (image-after-revert-hook):
1551 Redraw all frames on which the image is visible. (Bug#8567)
1552
973d955b
GM
1553 * dired-aux.el (dired-touch-initial): Just use current-time. (Bug#6887)
1554
3f1a8558
GM
1555 * wid-edit.el (widget-checklist-match-inline):
1556 Fix 2011-04-19 change. (Bug#8649)
1557
96479927
SM
15582011-05-20 Stefan Monnier <monnier@iro.umontreal.ca>
1559
1dcf791f
SM
1560 * emacs-lisp/checkdoc.el (checkdoc-sentencespace-region-engine):
1561 Also allow singlespace after single-letter capitals followed by a dot.
1562
96479927
SM
1563 * nxml/nxml-mode.el (nxml-electric-slash): Reindent when completion is
1564 enabled. Suggested by James Ahlborn <jahlborn@gmail.com> (bug#8704).
1565
35fd0881
N
15662011-05-20 Nix <nix@esperi.org.uk>
1567
1568 * files.el (basic-save-buffer-2):
1569 Fix handling of break-hardlink-on-save with non-existent files.
1570
82745640
DD
15712011-05-19 Deniz Dogan <deniz@dogan.se>
1572
1573 * net/rcirc.el (rcirc-mode): Initialize rcirc-urls to nil.
9ff90d99 1574 (rcirc-markup-urls): Check if rcirc-url-regexp is nil.
82745640 1575
4a720484
GM
15762011-05-19 Glenn Morris <rgm@gnu.org>
1577
d1f21341
GM
1578 * progmodes/f90.el (f90-type-def-re):
1579 Handle "type, bind(c)". (Bug#8691)
1580
4a720484
GM
1581 * emacs-lisp/autoload.el (batch-update-autoloads):
1582 Set autoload-excludes by parsing loadup.el rather than Makefiles.
1583
2fb0a219
MA
15842011-05-18 Michael Albinus <michael.albinus@gmx.de>
1585
1586 * net/tramp.el (tramp-process-actions): Set "first-password-request"
1587 property for the correct connection in case of multihops.
1588
e565dd37
GM
15892011-05-18 Glenn Morris <rgm@gnu.org>
1590
c2571358 1591 * emacs-lisp/authors.el (authors-fixed-entries): Remove fakemail.c.
c136e5cd
GM
1592 * mail/sendmail.el (sendmail-program): Fall back to just "sendmail".
1593
e565dd37
GM
1594 Rationalize calendar handling of day and month abbrev-arrays.
1595 * calendar/calendar.el (calendar-customized-p): New function.
1596 (calendar-abbrev-construct, calendar-make-alist): Change what it does.
1597 (calendar-day-name-array, calendar-month-name-array): Doc fix.
1598 Add :set function.
1599 (calendar-abbrev-length, calendar-day-abbrev-array)
1600 (calendar-month-abbrev-array): Make defcustoms, with appropriate :set.
1601 (calendar-day-abbrev-array, calendar-month-abbrev-array):
1602 Elements may no longer be nil.
1603 (calendar-day-name, calendar-month-name):
1604 Update for changed nature of abbrev arrays.
1605 * calendar/diary-lib.el (diary-name-pattern):
1606 Update for changed nature of abbrev arrays.
1607 (diary-mark-entries-1): Update calendar-make-alist calls.
1608 (diary-font-lock-date-forms): Doc fix for changed abbrev arrays.
1609 * calendar/cal-html.el (cal-html-day-abbrev-array):
1610 Simply inherit from calendar-day-abbrev-array.
1611
1d99a745
SM
16122011-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
1613
1614 * progmodes/grep.el (grep-mode): Disable default
1615 compilation-directory-matcher setting (bug#8684).
1616
7c1d9aa0
MA
16172011-05-17 Michael Albinus <michael.albinus@gmx.de>
1618
1619 * net/tramp.el (tramp-handle-insert-file-contents): Use "dd"
1620 instead of "head" and "tail". There were problems with SunOS 5.9,
1621 and it performs better.
1622
3952e9d8
GM
16232011-05-17 Glenn Morris <rgm@gnu.org>
1624
2dd12e7f
GM
1625 * mail/mail-utils.el (mail-dont-reply-to): Silence compiler.
1626
e4157b9c
GM
1627 * progmodes/idlw-shell.el (idlwave-shell-complete-filename):
1628 Replace obsolete function.
1629
8e249bbd
GM
1630 * shell.el (pcomplete-parse-arguments-function): Declare.
1631
3952e9d8
GM
1632 * calendar/appt.el (appt-message-warning-time, appt-display-mode-line)
1633 (appt-display-diary, appt-display-interval, appt-prev-comp-time)
1634 (appt-check): Doc fixes.
1635 (appt-disp-window-function, appt-delete-window-function):
1636 Remove needless special case in custom :type.
1637 (appt-display-count): Default to 0, not nil.
1638 (appt-check): Reset appt-display-count to 0, not nil.
1639
c71a0d48 16402011-05-17 Juanma Barranquero <lekktu@gmail.com>
165fd2df 1641
c71a0d48
GM
1642 * progmodes/python.el (python-font-lock-keywords):
1643 Add the Python 3.X keyword "nonlocal" (bug#8639).
165fd2df 1644
31d55be9
SM
16452011-05-16 Stefan Monnier <monnier@iro.umontreal.ca>
1646
1647 * emacs-lisp/eieio.el (defmethod): Fix quoting of code (bug#8677).
1648
3bfacb2f
KR
16492011-05-16 Kevin Ryde <user42@zip.com.au>
1650
1651 * info-look.el (makefile-automake-mode): New setups, looking in
1652 automake manual, then makefile-mode.
1653 (makefile-mode): Remove automake manual, have it just in
1654 makefile-automake-mode since there's various things different or
1655 not relevant to plain make.
1656 (makefile-mode): Remove "other-modes" non-existent automake-mode,
1657 believe a hypothetical automake-mode would go to makefile-mode,
1658 not the other way around.
1659
c8e83751
CY
16602011-05-15 Chong Yidong <cyd@stupidchicken.com>
1661
5e9e35cd
CY
1662 * vc/diff-mode.el (diff-fixup-modifs): Locate correct position for
1663 hunk-end tags (Bug#8672).
1664
c8e83751
CY
1665 * vc/vc-annotate.el (vc-annotate-mode-map): Bind = to
1666 vc-annotate-show-diff-revision-at-line (Bug#8671).
1667
50b23e5a
GM
16682011-05-14 Glenn Morris <rgm@gnu.org>
1669
7210a739
GM
1670 * vc/add-log.el (add-change-log-entry): Don't start adding a new entry
1671 in the middle of an existing one with multiple authors. (Bug#8645)
375cb676
GM
1672 (change-log-font-lock-keywords): Also handle multiple author lines
1673 with leading tabs. (Bug#8644)
7210a739 1674
4691905a
GM
1675 * calendar/appt.el (appt-check): Rename some local variables.
1676 Some simplification/reordering.
1677
50b23e5a
GM
1678 * mail/feedmail.el (feedmail-confirm-outgoing-timeout)
1679 (feedmail-sendmail-f-doesnt-sell-me-out)
1680 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
1681 (feedmail-debug-sit-for, feedmail-queue-express-hook)
1682 (feedmail-queue-runner-message-sender): Set :version.
1aa64307
GM
1683 (bbdb-search, bbdb-records, smtp-via-smtp, smtp-server)
1684 (bbdb-dwim-net-address, vm-mail): Declare.
50b23e5a
GM
1685 (feedmail-binmail-gnulinuxish-template):
1686 Rename from feedmail-binmail-linuxish-template.
1687 (feedmail-buffer-to-smtp, feedmail-vm-mail-mode):
1688 Use insert-buffer-substring.
1689
215cda7c
BC
16902011-05-14 Bill Carpenter <bill@carpenter.org>
1691
1692 * mail/feedmail.el (feedmail-patch-level): Increase.
1693 (feedmail-debug): New custom group.
1694 (feedmail-confirm-outgoing-timeout)
1695 (feedmail-sendmail-f-doesnt-sell-me-out)
1696 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
1697 (feedmail-debug-sit-for, feedmail-queue-express-hook): New options.
1698 (feedmail-sender-line, feedmail-from-line)
1699 (feedmail-fiddle-headers-upwardly, feedmail-enable-spray)
c2571358 1700 (feedmail-spray-this-address)
215cda7c
BC
1701 (feedmail-spray-address-fiddle-plex-list)
1702 (feedmail-queue-use-send-time-for-date)
1703 (feedmail-queue-use-send-time-for-message-id)
1704 (feedmail-last-chance-hook, feedmail-queue-runner-mode-setter)
1705 (feedmail-buffer-eating-function):
1706 Doc fixes.
1707 (feedmail-spray-via-bbdb, feedmail-buffer-to-smtp)
1708 (feedmail-vm-mail-mode, feedmail-message-action-scroll-up)
1709 (feedmail-message-action-scroll-down): New functions.
1710 (feedmail-queue-directory, feedmail-queue-draft-directory):
1711 Use expand-file-name.
1712 (feedmail-prompt-before-queue-standard-alist): Add scroll entries.
1713 Remove C-v help entry.
1714 (feedmail-queue-buffer-file-name): New variable.
1715 (feedmail-mail-send-hook-splitter, feedmail-buffer-to-binmail)
1716 (feedmail-buffer-to-smtpmail, feedmail-queue-express-to-draft)
1717 (feedmail-message-action-send-strong, feedmail-message-action-edit)
1718 (feedmail-message-action-draft, feedmail-message-action-draft-strong)
1719 (feedmail-message-action-queue, feedmail-message-action-queue-strong)
1720 (feedmail-message-action-toggle-spray)
1721 (feedmail-run-the-queue-no-prompts)
1722 (feedmail-run-the-queue-global-prompt, feedmail-queue-reminder)
1723 (feedmail-look-at-queue-directory, feedmail-queue-subject-slug-maker)
1724 (feedmail-create-queue-filename, feedmail-rfc822-time-zone):
1725 (feedmail-fiddle-header, feedmail-give-it-to-buffer-eater)
1726 (feedmail-envelope-deducer, feedmail-fiddle-from)
1727 (feedmail-fiddle-sender, feedmail-default-date-generator)
1728 (feedmail-fiddle-date, feedmail-fiddle-message-id)
1729 (feedmail-fiddle-spray-address)
1730 (feedmail-fiddle-list-of-spray-fiddle-plexes)
1731 (feedmail-fiddle-list-of-fiddle-plexes)
1732 (feedmail-fill-to-cc-function, feedmail-fill-this-one)
1733 (feedmail-one-last-look, feedmail-fqm-p): Add debug calls.
1734 (feedmail-queue-runner-message-sender, feedmail-binmail-template):
1735 Change default. Doc fix.
1736 (feedmail-queue-runner-cleaner-upper): Use feedmail-say-chatter.
1737 (feedmail-binmail-linuxish-template): New constant.
1738 (feedmail-buffer-to-sendmail): Doc fix. Add debug call.
1739 Respect feedmail-sendmail-f-doesnt-sell-me-out.
1740 (feedmail-send-it): Add debug call.
1741 Use feedmail-queue-buffer-file-name, and
1742 feedmail-send-it-immediately-wrapper.
1743 (feedmail-message-action-send): Add debug call.
1744 Use feedmail-send-it-immediately-wrapper.
1745 (feedmail-queue-express-to-queue): Add debug call.
1746 Run feedmail-queue-express-hook.
1747 (feedmail-message-action-help): Add debug call. Use feedmail-p-h-b-n.
1748 (feedmail-message-action-help-blat):
1749 Rename from feedmail-queue-send-edit-prompt-help-first.
1750 (feedmail-run-the-queue): Add debug call. Set buffer-file-type.
1751 Check line-endings. Handle errors better.
1752 (feedmail-queue-reminder-brief, feedmail-queue-reminder-medium):
1753 Doc fix. Add debug call.
1754 (feedmail-queue-send-edit-prompt): Doc fix. Add debug call.
1755 Use feedmail-queue-send-edit-prompt-inner.
1756 (feedmail-queue-runner-prompt, feedmail-scroll-buffer): New functions.
1757 (feedmail-queue-send-edit-prompt-inner): New function, extracted
1758 from feedmail-queue-send-edit-prompt.
1759 (feedmail-queue-send-edit-prompt-help)
1760 (feedmail-queue-send-edit-prompt-help-later): Remove functions.
1761 (feedmail-tidy-up-slug): Add debug call.
1762 Respect feedmail-queue-slug-suspect-regexp.
1763 (feedmail-queue-subject-slug-maker): Use buffer-substring-no-properties.
1764 (feedmail-dump-message-to-queue): Add debug call.
1765 Expand queue-directory.
1766 (feedmail-dump-message-to-queue): Change message slightly.
1767 Use feedmail-say-chatter.
1768 (feedmail-rfc822-date): Add debug call. Bind system-time-locale.
1769 (feedmail-send-it-immediately-wrapper): New function.
1770 (feedmail-send-it-immediately): Add debug calls. Use let not let*.
1771 Insert empty string rather than newline. Handle full-frame case.
1772 Use catch/throw. Use feedmail-say-chatter.
1773 (feedmail-fiddle-from): Try mail-host-address.
1774 (feedmail-default-message-id-generator): Doc fix.
1775 Bind system-time-locale. Handle missing end.
1776 (feedmail-fiddle-x-mailer): Add debug call.
1777 Handle feedmail-x-mailer-line being nil.
1778 (feedmail-accume-n-nuke-header, feedmail-deduce-address-list):
1779 Add debug call. Use buffer-substring-no-properties.
1780 (feedmail-say-debug, feedmail-say-chatter): New functions.
1781 (feedmail-find-eoh): Give an explicit error.
1782
42c7e61e
UJ
17832011-05-13 Ulf Jasper <ulf.jasper@web.de>
1784
c2571358 1785 * net/newst-treeview.el (newsticker-treeview-face): Change default
42c7e61e 1786 family from helvetica to sans.
c2571358 1787 (newsticker-treeview-tool-bar-map): Move tool-bar icons to
42c7e61e
UJ
1788 etc/images/newsticker.
1789
c2571358 1790 * net/newst-reader.el (newsticker-feed-face): Change default
42c7e61e
UJ
1791 family from helvetica to sans.
1792
1793 * net/newst-plainview.el (newsticker-new-item-face)
1794 (newsticker-old-item-face, newsticker-immortal-item-face)
1795 (newsticker-obsolete-item-face, newsticker-date-face)
c2571358 1796 (newsticker-statistics-face): Change default family from
42c7e61e 1797 helvetica to sans.
c2571358 1798 (newsticker--plainview-tool-bar-map): Move tool-bar icons to
42c7e61e
UJ
1799 etc/images/newsticker.
1800
1801 * net/newst-backend.el (newsticker--do-run-auto-mark-filter),
1802 (newsticker--process-auto-mark-filter-match): : Tell user about
1803 auto-marking.
1804
8497a297
DV
18052011-05-13 Didier Verna <didier@xemacs.org>
1806
1807 Common Lisp indentation improvements on defmethod and lambda-lists.
1808 * cl-indent.el: Advertise the changes and remove obsolete TODO entries.
1809 (lisp-lambda-list-keyword-parameter-indentation)
1810 (lisp-lambda-list-keyword-parameter-alignment)
1811 (lisp-lambda-list-keyword-alignment): New customizable user options.
1812 (lisp-indent-defun-method): Improve docstring.
1813 (extended-loop-p): Fix comment.
1814 (lisp-indent-lambda-list-keywords-regexp): New variable.
1815 (lisp-indent-lambda-list): New function.
1816 (lisp-indent-259): Use it.
1817 (lisp-indent-defmethod): Support for more than one
1818 method qualifier and properly indent methods lambda-lists.
1819 (defgeneric): Provide a missing common-lisp-indent-function property.
1820
f278f87f
SM
18212011-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
1822
1823 * thingatpt.el (bounds-of-thing-at-point): Return nil rather than
1824 bounds for the empty string (bug#8667).
1825
5233edd7
GM
18262011-05-13 Glenn Morris <rgm@gnu.org>
1827
5237a44f
GM
1828 * mail/feedmail.el (feedmail-buffer-to-sendmail): Require sendmail.
1829
8340026c 1830 * mail/sendmail.el (sendmail-program): Try executable-find first.
f278f87f 1831 (sendmail-send-it): `sendmail-program' cannot be unbound.
8340026c 1832
5233edd7 1833 * calendar/appt.el (appt-make-list): Simplify.
4accbca6 1834 (appt-time-msg-list): Doc fix.
a5464014 1835 (appt-check): Change mode-line message at the time of the appointment.
5233edd7 1836
92d10796
AS
18372011-05-12 Andreas Schwab <schwab@linux-m68k.org>
1838
1839 * progmodes/ld-script.el (ld-script-keywords)
1840 (ld-script-builtins): Update keywords list.
1841
914a0ae1
SM
18422011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
1843
c89be45f
SM
1844 * progmodes/grep.el (grep-filter): Don't trip on partial lines.
1845
914a0ae1
SM
1846 * shell.el (shell-completion-vars): New function.
1847 (shell-mode):
1848 * simple.el (read-shell-command): Use it.
1849 (blink-matching-open): No need for " [...]" in minibuffer-message.
1850
98dc3df3
GM
18512011-05-12 Glenn Morris <rgm@gnu.org>
1852
1853 * calendar/appt.el (appt-now-displayed): Remove pointless variable.
1854 (appt-check): Simplify.
1855
d2fc7e3d 18562011-05-12 Eli Zaretskii <eliz@gnu.org>
0e39ec21
EZ
1857
1858 * smerge-mode.el (smerge-resolve): Use null-device rather than a
1859 literal "/dev/null".
1860
d2fc7e3d 18612011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
3f254caa
SM
1862
1863 * emacs-lisp/lisp.el (lisp-complete-symbol, lisp-completion-at-point):
1864 Fix typo.
1865
d2fc7e3d 18662011-05-12 Ralph Schleicher <rs@ralph-schleicher.de>
6eea50c7 1867
3f254caa
SM
1868 * progmodes/which-func.el (which-function):
1869 Use add-log-current-defun instead of add-log-current-defun-function,
6eea50c7
RS
1870 which might not be defined (Bug#8260).
1871
d45885f7
GM
18722011-05-12 Glenn Morris <rgm@gnu.org>
1873
1874 * emacs-lisp/bytecomp.el (byte-compile-file-form-defmumble):
1875 Let byte-compile-initial-macro-environment always take precedence.
1876
488086f4
SM
18772011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
1878
1879 * net/rcirc.el: Add support for SSL/TLS connections.
1880 (rcirc-server-alist): New field `encryption'.
1881 (rcirc): Check `encryption' settings.
1882 (rcirc-connect): New arg `encryption'. Use open-network-stream.
1883 Merge make-local-variable into `set'.
1884 (rcirc--connection-open-p): New function.
1885 (rcirc-send-string, rcirc-clean-up-buffer): Use it to handle case where
1886 the process is not a network process (e.g. running gnutls-cli).
1887 (set-rcirc-decode-coding-system, set-rcirc-encode-coding-system):
1888 Make rcirc-(en|de)code-coding-system local here.
1889 (rcirc-mode): Merge make-local-variable into `set'.
1890 (rcirc-parent-buffer): Make permanent buffer-local.
1891 (rcirc-multiline-minor-mode): Don't do it here.
1892 (rcirc-switch-to-server-buffer): Don't switch to a random buffer if
1893 there's no server buffer.
1894
7d3b9d44
GM
18952011-05-11 Glenn Morris <rgm@gnu.org>
1896
f64049c6
GM
1897 * newcomment.el (comment-kill): Prefix "unused" local.
1898
93c9df73
GM
1899 * term/w32console.el (get-screen-color): Declare.
1900
7d3b9d44
GM
1901 * emacs-lisp/bytecomp.el (byte-compile-arglist-warn):
1902 Handle symbol elements of byte-compile-initial-macro-environment.
1903
9e2dd53f
LL
19042011-05-10 Leo Liu <sdl.web@gmail.com>
1905
488086f4
SM
1906 * bookmark.el (bookmark-bmenu-mode-map):
1907 Bind bookmark-bmenu-search to `/'.
8b340240 1908
9e2dd53f 1909 * mail/footnote.el: Convert to utf-8 encoding.
b4044869
LL
1910 (footnote-unicode-string, footnote-unicode-regexp): New variable.
1911 (Footnote-unicode): New function.
1912 (footnote-style-alist): Add unicode style to the list.
1913 (footnote-style): Doc fix.
9e2dd53f 1914
79b70037
GM
19152011-05-10 Jim Meyering <meyering@redhat.com>
1916
1917 Fix doubled-word typos.
1918 * international/quail.el (quail-insert-kbd-layout): and and -> and
1919 * kermit.el: and and -> and
1920 * net/ldap.el (ldap-search-internal): to to -> to
1921 * progmodes/vhdl-mode.el (vhdl-offsets-alist): Likewise.
1922 * progmodes/js.el (js-mode): and and -> and
1923 * textmodes/artist.el (artist-move-to-xy): at at -> at
1924 (artist-draw-region-trim-line-endings): if if -> if
1925 And Safetyc -> Safety.
1926 * textmodes/reftex-dcr.el (reftex-view-crossref): at at -> at a
1927
b8f82dc1 19282011-05-10 Glenn Morris <rgm@gnu.org>
c2571358 1929 Stefan Monnier <monnier@iro.umontreal.ca>
b8f82dc1
GM
1930
1931 * files.el (hack-one-local-variable-eval-safep):
1932 Consider "eval: (foo-mode)" to be safe. (Bug#8613)
1933
4f99f44b
GM
19342011-05-10 Glenn Morris <rgm@gnu.org>
1935
1936 * calendar/diary-lib.el (diary-list-entries-hook)
1937 (diary-mark-entries-hook, diary-nongregorian-listing-hook)
1938 (diary-nongregorian-marking-hook, diary-list-entries)
1939 (diary-include-other-diary-files, diary-mark-entries)
1940 (diary-mark-included-diary-files): Doc fixes.
1941
84f29e6b
JB
19422011-05-09 Juanma Barranquero <lekktu@gmail.com>
1943
1944 * misc.el: Require tabulated-list.el during compilation.
1945
9bedd73a
CY
19462011-05-09 Chong Yidong <cyd@stupidchicken.com>
1947
488086f4
SM
1948 * progmodes/compile.el (compilation-start):
1949 Run compilation-filter-hook for the async case too.
9bedd73a
CY
1950 (compilation-filter-hook): Doc fix.
1951
797c735c
DD
19522011-05-09 Deniz Dogan <deniz@dogan.se>
1953
1954 * wdired.el: Remove outdated installation comment. Fix usage
1955 comment.
1956
5f4b1dfe
JB
19572011-05-09 Juanma Barranquero <lekktu@gmail.com>
1958
1959 * misc.el: Implement new command `list-dynamic-libraries'.
1960 (list-dynamic-libraries--loaded-only-p): New variable.
1961 (list-dynamic-libraries--refresh): New function.
1962 (list-dynamic-libraries): New command.
1963
4c44026c
CY
19642011-05-09 Chong Yidong <cyd@stupidchicken.com>
1965
488086f4
SM
1966 * progmodes/compile.el (compilation-error-regexp-alist-alist):
1967 Fix the ant regexp to handle end-line and end-column info from jikes.
4c44026c
CY
1968 Re-introduce maven regexp. Give the ruby-Test::Unit regexp a
1969 higher priority to avoid clobbering by gnu.
1970
027f966d
CY
19712011-05-08 Chong Yidong <cyd@stupidchicken.com>
1972
1973 * cus-face.el (custom-declare-face): Call custom-theme-recalc-face
1974 if the face has existing theme settings (Bug#8454).
1975
085f5d7d
CY
19762011-05-08 Ralph Schleicher <rs@ralph-schleicher.de>
1977
488086f4
SM
1978 * progmodes/perl-mode.el (perl-imenu-generic-expression):
1979 Only match variables declared via `my' or `our' (Bug#8261).
085f5d7d 1980
2a86a00c
RS
1981 * net/browse-url.el (browse-url-of-dired-file): Allow browsing of
1982 special file names `.' and `..' (Bug#8259).
1983
d9c54a06
CY
19842011-05-08 Chong Yidong <cyd@stupidchicken.com>
1985
488086f4
SM
1986 * progmodes/grep.el (grep-mode-font-lock-keywords):
1987 Remove buffer-changing entries.
d9c54a06
CY
1988 (grep-filter): New function.
1989 (grep-mode): Add it to compilation-filter-hook.
1990
1991 * progmodes/compile.el (compilation-filter-hook)
1992 (compilation-filter-start): New defvars.
1993 (compilation-filter): Call compilation-filter-hook prior to
1994 updating the process mark.
1995
c4662635
SM
19962011-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
1997
1998 * emacs-lisp/eieio.el (defmethod): Fix typo in last change.
1999
b0512a1d
EZ
20002011-05-07 Eli Zaretskii <eliz@gnu.org>
2001
605c9376
EZ
2002 * mail/sendmail.el (send-mail-function): On MS-Windows, default to
2003 mailclient-send-it even if window-system is nil. (Bug#8595)
2004
c4662635
SM
2005 * term/w32console.el (terminal-init-w32console):
2006 Call get-screen-color and use its output to set the frame
b0512a1d
EZ
2007 background-mode. (Bug#8597)
2008
d1dc2cc2
SM
20092011-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
2010
2011 Make bytecomp.el understand that defmethod defines funs (bug#8631).
2012 * emacs-lisp/eieio.el (eieio--defalias, eieio--defgeneric-init-form):
2013 New functions.
2014 (defgeneric, eieio--defmethod): Use them.
2015 (eieio-defgeneric): Remove.
2016 (defmethod): Call defgeneric in a way visible to the byte-compiler.
2017
915d1300
GM
20182011-05-07 Glenn Morris <rgm@gnu.org>
2019
a3961c3e
GM
2020 * calendar/timeclock.el (timeclock-log-data): Remove unused local.
2021 Use let rather than let*.
2022 (timeclock-find-discrep): Remove unused local.
2023
314347b9
GM
2024 * calendar/diary-lib.el (diary-comment-start): Doc fix.
2025
915d1300
GM
2026 * calendar/appt.el (appt-time-msg-list): Doc fix.
2027
275b59b0
NF
20282011-05-06 Noah Friedman <friedman@splode.com>
2029
2030 * apropos.el (apropos-print-doc): Only use
2031 emacs-lisp-docstring-fill-column when it is bound to an integer,
2032 per that variable's documentation.
2033
6c19f744
SM
20342011-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
2035
2036 * lpr.el (print-region-1): Echo lpr-program's output, so error messages
d1dc2cc2 2037 and warnings are not silently discarded (e.g. use -d instead of -P).
6c19f744 2038
60f884b2
GM
20392011-05-06 Glenn Morris <rgm@gnu.org>
2040
5006e634
GM
2041 * calendar/appt.el (appt-message-warning-time): Doc fix.
2042 (appt-warning-time-regexp): New option.
2043 (appt-make-list): Respect appt-message-warning-time.
2044
548d0a63
GM
2045 * calendar/diary-lib.el (diary-comment-start, diary-comment-end):
2046 New options.
2047 (diary-add-to-list): Strip comments from the displayed string.
2048 (diary-mode): Set comment-start and comment-end.
2049
60f884b2
GM
2050 * vc/diff-mode.el (smerge-refine-subst): Declare.
2051 (diff-refine-hunk): Don't require smerge-mode when compiling.
2052
989681bb
JB
20532011-05-06 Juanma Barranquero <lekktu@gmail.com>
2054
2055 * simple.el (list-processes): Return nil as the docstring says.
2056
a6bc05e1
MA
20572011-05-05 Michael Albinus <michael.albinus@gmx.de>
2058
2059 * net/ange-ftp.el (ange-ftp-binary-file-name-regexp): Set default
2060 to "".
2061 (ange-ftp-write-region, ange-ftp-insert-file-contents)
2062 (ange-ftp-copy-file-internal): Use only `ange-ftp-binary-file' for
2063 determining of binary transfer. (Bug#7383)
2064
23c22e9a
MA
20652011-05-05 Michael Albinus <michael.albinus@gmx.de>
2066
c4662635
SM
2067 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
2068 Fix port computation bug. (Bug#8618)
23c22e9a 2069
0bff894f
GM
20702011-05-05 Glenn Morris <rgm@gnu.org>
2071
b8296902
GM
2072 * allout-widgets.el (allout-widgets-mode-inhibit): Declare before use.
2073
1f522ce8
GM
2074 * simple.el (shell-dynamic-complete-functions)
2075 (comint-dynamic-complete-functions): Declare.
2076
cf5bee67
GM
2077 * net/network-stream.el (gnutls-negotiate):
2078 * simple.el (tabulated-list-print): Fix declarations.
2079
2080 * progmodes/gud.el (syntax-symbol, syntax-point):
2081 Remove unnecessary and incorrect declarations.
2082
0bff894f
GM
2083 * emacs-lisp/check-declare.el (check-declare-scan):
2084 Handle byte-compile-initial-macro-environment in bytecomp.el
2085
9869b3ae
SM
20862011-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
2087
2088 Fix earlier half-done eieio-defmethod change (bug#8338).
2089 * emacs-lisp/eieio.el (eieio--defmethod): Rename from eieio-defmethod.
2090 Streamline and change calling convention.
2091 (defmethod): Adjust accordingly and simplify.
2092 (eieio-defclass): Fix broken calls to eieio-defmethod and redirect to
2093 new eieio--defmethod.
2094 (slot-boundp): Minor CSE simplification.
2095
9c1d5ac5
MZ
20962011-05-05 Milan Zamazal <pdm@zamazal.org>
2097
2098 * progmodes/glasses.el (glasses-separate-capital-groups): New option.
2099 (glasses-make-readable): Use glasses-separate-capital-groups.
2100
455c834e
JB
21012011-05-05 Juanma Barranquero <lekktu@gmail.com>
2102
2103 * emacs-lisp/warnings.el (warning-level-aliases): Reflow docstring.
2104 (warning-series): Doc fix.
2105 (display-warning): Don't try to create the buffer if we just found it.
2106
9ed7c8cb
CY
21072011-05-04 Chong Yidong <cyd@stupidchicken.com>
2108
2109 * emacs-lisp/autoload.el (generated-autoload-file): Set to nil.
2110 (autoload-find-generated-file): New function.
2111 (generate-file-autoloads): Bind generated-autoload-file to
2112 buffer-file-name.
9869b3ae
SM
2113 (update-file-autoloads, update-directory-autoloads):
2114 Use autoload-find-generated-file. If called interactively, prompt for
9ed7c8cb
CY
2115 output file (Bug#7989).
2116 (batch-update-autoloads): Doc fix.
2117
0898ca10
JB
21182011-05-04 Juanma Barranquero <lekktu@gmail.com>
2119
2120 * term/w32-win.el (dynamic-library-alist): Add `gnutls'.
2121
31dfb76c
GM
21222011-05-04 Glenn Morris <rgm@gnu.org>
2123
f330b642
GM
2124 * calendar/diary-lib.el (diary-fancy-date-pattern): Turn it into a
2125 function, so it follows changes in calendar-date-style.
2126 (diary-fancy-date-matcher): New function.
2127 (diary-fancy-font-lock-keywords): Use diary-fancy-date-matcher.
2128 (diary-fancy-font-lock-fontify-region-function):
2129 Use diary-fancy-date-pattern as a function.
2130
31dfb76c
GM
2131 * calendar/diary-lib.el (diary-fancy-date-pattern): Do not use
2132 non-numbers for `year' etc pseudo-variables. (Bug#8583)
2133
48e79d6a
TZ
21342011-05-04 Teodor Zlatanov <tzz@lifelogs.com>
2135
2136 * net/gnutls.el (gnutls-negotiate): Use CL-style keyword arguments
2137 instead of positional arguments. Allow :keylist and :crlfiles
2138 arguments.
2139 (open-gnutls-stream): Call it.
2140
2141 * net/network-stream.el (network-stream-open-starttls): Adjust to
2142 call `gnutls-negotiate' with :process and :hostname arguments.
2143
dd5a5ee0
SM
21442011-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
2145
ef80fc09
SM
2146 * minibuffer.el (completion--message): New function.
2147 (completion--do-completion, minibuffer-complete)
2148 (minibuffer-force-complete, minibuffer-complete-word): Use it.
2149 (completion--do-completion): Don't ignore completion-auto-help when in
2150 icomplete-mode.
2151
dd5a5ee0
SM
2152 * whitespace.el (whitespace-trailing-regexp): Don't rely on the
2153 internal encoding (e.g. tibetan zero is not whitespace).
2154 (global-whitespace-mode): Prefer save-current-buffer.
2155 (whitespace-trailing-regexp): Remove useless save-match-data.
2156 (whitespace-empty-at-bob-regexp): Minor simplification.
2157
b7d22a83
CY
21582011-05-03 Chong Yidong <cyd@stupidchicken.com>
2159
2160 * emacs-lisp/autoload.el (generated-autoload-file): Doc fix (Bug#7989).
2161
5192af46
AM
21622011-05-03 Agustín Martín Domingo <agustin.martin@hispalinux.es>
2163
2164 * textmodes/ispell.el (ispell-add-per-file-word-list):
cdc4a047 2165 Use `concat' to create string for insertion.
5192af46 2166
5767d190
SM
21672011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
2168
2169 * textmodes/bibtex.el (bibtex-fill-field-bounds, bibtex-fill-entry):
2170 Avoid open-line which runs post-self-insert-hook.
2171 (bibtex-fill-entry): Remove unused `end' var.
2172
bf242939
AM
21732011-05-03 Dirk Ullrich <dirk.ullrich@googlemail.com> (tiny change)
2174
5767d190
SM
2175 * textmodes/ispell.el (ispell-add-per-file-word-list):
2176 Protect against `nil' value of `comment-start' (Bug#8579).
bf242939 2177
25666126
LL
21782011-05-03 Leo Liu <sdl.web@gmail.com>
2179
2180 * isearch.el (isearch-yank-pop): New command.
5767d190 2181 (isearch-mode-map): Bind it to `M-y'.
25666126
LL
2182 (isearch-forward): Mention it.
2183
52d3c2d0
SM
21842011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
2185
1bcace58
SM
2186 * simple.el (minibuffer-complete-shell-command): Remove.
2187 (minibuffer-local-shell-command-map): Use completion-at-point.
2188 (read-shell-command): Setup completion vars here instead.
2189 (read-expression-map): Bind TAB to symbol completion.
2190
52d3c2d0
SM
2191 * textmodes/ispell.el (lookup-words): Use with-temp-buffer; signal
2192 error directly rather via storing it into `results'.
2193
35813471
LL
21942011-05-02 Leo Liu <sdl.web@gmail.com>
2195
2196 * vc/diff.el: Fix description.
2197
e793a940
LMI
21982011-05-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
2199
2200 * server.el (server-eval-at): New function.
2201
8de66e05
LMI
22022011-05-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
2203
2204 * net/network-stream.el (open-network-stream): Take a :nowait
2205 parameter and pass it on to `make-network-process'.
2206 (network-stream-open-plain): Ditto.
2207
dcb79f20
AS
22082011-04-30 Andreas Schwab <schwab@linux-m68k.org>
2209
2210 * faces.el (face-spec-set-match-display): Don't match toolkit
2211 options on terminal frames.
2212
14a7fbd8
SM
22132011-04-29 Stefan Monnier <monnier@iro.umontreal.ca>
2214
7eabc1be
SM
2215 * progmodes/pascal.el: Use lexical binding.
2216 (pascal-mode-map): Remove author preferences.
2217
14a7fbd8
SM
2218 * pcomplete.el (pcomplete-std-complete): Don't abuse
2219 completion-at-point.
2220
50f84510
JB
22212011-04-28 Juanma Barranquero <lekktu@gmail.com>
2222
6e087a44
JB
2223 * calc/calccomp.el (math-comp-to-string-flat-term): Simplify by
2224 removing code that has been dead since 1991 or so.
2225
50f84510
JB
2226 * startup.el (command-line): When warning about "_emacs", use a
2227 delayed warning to allow the user to filter it out.
2228
0ba690bd
DD
22292011-04-28 Deniz Dogan <deniz@dogan.se>
2230
2231 * net/rcirc.el (rcirc-handler-353): Fix bug for channels which the
2232 user has not joined.
2233
08abfaad
SM
22342011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
2235
2236 * pcomplete.el (pcomplete-completions-at-point): Return nil if there
2237 aren't any completions at point.
2238
638f053a
JB
22392011-04-28 Juanma Barranquero <lekktu@gmail.com>
2240
2241 * subr.el (display-delayed-warnings): New function.
2242 (delayed-warnings-hook): New variable.
2243
8fff8daa
SM
22442011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
2245
08abfaad
SM
2246 * minibuffer.el (completion-at-point, completion-help-at-point):
2247 Don't presume that a given completion-at-point-function will always
2248 use the same calling convention.
2249
8fff8daa
SM
2250 * pcomplete.el (pcomplete-completions-at-point):
2251 Obey pcomplete-ignore-case. Don't call pcomplete-norm-func unless
2252 pcomplete-seen is non-nil.
2253 (pcomplete-comint-setup): Also recognize the new comint/shell
2254 completion functions.
2255 (pcomplete-do-complete): Don't call pcomplete-norm-func unless
2256 pcomplete-seen is non-nil.
2257
841a1577 22582011-04-27 Niels Giesen <niels.giesen@gmail.com>
211ec907 2259
841a1577 2260 * calendar/icalendar.el (diary-lib): Add require statement.
211ec907 2261 (icalendar--create-uid): Read out a uid from a text-property on
841a1577 2262 the first character in the entry. This allows for code to add its
211ec907
UJ
2263 own uid to the entry.
2264 (icalendar--convert-float-to-ical): Add export of
2265 `diary-float'-entries save for those with the optional DAY
2266 argument.
2267
2a782793
DC
22682011-04-27 Daniel Colascione <dan.colascione@gmail.com>
2269
2270 * subr.el (shell-quote-argument): Use alternate escaping strategy
2271 when we spot a variable reference in a string.
2272
0438ce91
DC
22732011-04-26 Daniel Colascione <dan.colascione@gmail.com>
2274
2275 * cus-start.el (all): Define customization for debug-on-event.
2276
841a1577 22772011-04-26 Daniel Colascione <dan.colascione@gmail.com>
8f91bf93
DC
2278
2279 * subr.el (shell-quote-argument): Escape correctly under Windows.
2280
d090ed6c
SM
22812011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
2282
2283 * emulation/cua-base.el (cua-selection-mode): Make it toggle again.
2284
bfd31217
MA
22852011-04-25 Michael Albinus <michael.albinus@gmx.de>
2286
d090ed6c
SM
2287 * net/tramp.el (tramp-process-actions): Add POS argument.
2288 Delete region between POS and (pos).
bfd31217 2289
d090ed6c
SM
2290 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
2291 Use `nil' position in `tramp-process-actions' call.
bfd31217
MA
2292 (tramp-maybe-open-connection): Call `tramp-process-actions' with pos.
2293
2294 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Use `nil'
2295 position in `tramp-process-actions' call.
2296
2297 * net/trampver.el: Update release number.
2298
e92f3bd3
SM
22992011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
2300
850256b5
SM
2301 * custom.el (defcustom): Obey lexical-binding.
2302
e92f3bd3
SM
2303 Fix octave-inf completion problems reported by Alexander Klimov.
2304 * progmodes/octave-inf.el (inferior-octave-mode-syntax-table):
2305 Inherit from octave-mode-syntax-table.
2306 (inferior-octave-mode): Set info-lookup-mode.
2307 (inferior-octave-completion-at-point): New function.
2308 (inferior-octave-complete): Use it and completion-in-region.
2309 (inferior-octave-dynamic-complete-functions): Use it as well, and use
2310 comint-filename-completion.
2311 * progmodes/octave-mod.el (octave-mode-syntax-table): Use _ syntax for
2312 symbol elements which shouldn't be word elements.
2313 (octave-font-lock-keywords, octave-beginning-of-defun)
2314 (octave-function-header-regexp): Adjust regexps accordingly.
2315 (octave-mode-map): Also use info-lookup-symbol for C-c C-h.
2316
cd22b309
JB
23172011-04-25 Juanma Barranquero <lekktu@gmail.com>
2318
2319 * net/gnutls.el (gnutls-errorp): Declare before first use.
2320
8b492194
TZ
23212011-04-24 Teodor Zlatanov <tzz@lifelogs.com>
2322
2323 * net/gnutls.el (gnutls-negotiate): Add hostname, verify-flags,
2324 verify-error, and verify-hostname-error parameters. Check whether
cd22b309
JB
2325 default trustfile exists before going to use it. Add missing
2326 argument to gnutls-message-maybe call. Return return value.
8b492194
TZ
2327 Reported by Claudio Bley <claudio.bley@gmail.com>.
2328 (open-gnutls-stream): Add usage example.
2329
2330 * net/network-stream.el (network-stream-open-starttls): Give host
2331 parameter to `gnutls-negotiate'.
2332 (gnutls-negotiate): Adjust `gnutls-negotiate' declaration.
8f91bf93 2333 * subr.el (shell-quote-argument): Escape correctly under Windows.
8b492194 2334
841a1577 23352011-04-24 Daniel Colascione <dan.colascione@gmail.com>
05842630 2336
cd22b309
JB
2337 * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
2338 Use correct match group (bug#8438).
05842630 2339
3ba7869c
CY
23402011-04-24 Chong Yidong <cyd@stupidchicken.com>
2341
512e3ae1
CY
2342 * emacs-lisp/package.el (package-built-in-p): Fix typo.
2343 (package-menu--generate): New arg specifying packages to show.
2344 (package-menu-refresh, package-menu-execute, list-packages):
2345 Callers changed.
2346 (package-show-package-list): New function, replacing deleted
2347 package--list-packages (renamed because it is non-internal).
2348
2349 * finder.el (finder-list-matches): Use package-show-package-list
2350 instead of deleted package--list-packages.
2351
e92f3bd3
SM
2352 * vc/vc-annotate.el (vc-annotate-goto-line): New command.
2353 Based on a previous implementation by Juanma Barranquero (Bug#8366).
3ba7869c
CY
2354 (vc-annotate-mode-map): Bind it to RET.
2355
7031be6d
UR
23562011-04-24 Uday S Reddy <u.s.reddy@cs.bham.ac.uk> (tiny change)
2357
2358 * progmodes/etags.el (next-file): Don't use set-buffer to change
2359 buffers (Bug#8478).
2360
4ef177aa
CY
23612011-04-24 Chong Yidong <cyd@stupidchicken.com>
2362
c8d173eb
CY
2363 * files.el (auto-mode-alist): Use js-mode for .json (Bug#8529).
2364
4ef177aa
CY
2365 * apropos.el (apropos-label-face): Avoid variable-pitch face.
2366 (apropos-accumulator): Doc fix.
2367 (apropos-function, apropos-macro, apropos-command)
2368 (apropos-variable, apropos-face, apropos-group, apropos-widget)
2369 (apropos-plist): Add face property.
2370 (apropos-symbols-internal): Fix indentation.
2371 (apropos-print): Simplify help, and recognize apropos-multi-type.
2372 (apropos-print-doc): Use button-type-get to extract the button's
2373 face property. Fill docstring (Bug#8352).
2374
4ffd0d6b 23752011-04-23 Juanma Barranquero <lekktu@gmail.com>
be71f810
JB
2376
2377 * buff-menu.el (Buffer-menu--buffers): Fix typo in docstring (bug#8535).
2378
c6c32125 2379 * play/mpuz.el (mpuz-silent): Doc fix.
4ffd0d6b 2380 (mpuz-mode-map): Use mapc.
c6c32125
JB
2381 (mpuz-put-number-on-board): Rename parameter L to COLUMNS.
2382 (mpuz-letter-to-digit, mpuz-check-all-solved, mpuz-create-buffer):
2383 Fix typos in docstrings.
2384
58d468b4
JB
2385 * play/doctor.el (doc$, doctor-$, doctor-read-print, doctor-read-token)
2386 (doctor-nounp, doctor-pronounp): Fix typos in docstrings.
2387
6470c3c6
JB
2388 * mouse-drag.el (mouse-drag-throw): Fix typo in docstring.
2389
4ffd0d6b 23902011-04-23 Chong Yidong <cyd@stupidchicken.com>
6f21a319
CY
2391
2392 * minibuffer.el (completion--do-completion): Avoid the "Next char
2393 not unique" prompt if icomplete-mode is enabled (Bug#5849).
2394
3ad8bad0
CY
2395 * mouse.el (mouse-drag-mode-line-1): Make sure that if we push
2396 mouse-2 into unread-command-events, it is interpreted correctly.
2397
71d73c9c 2398 * image-mode.el (image-type, image-mode-map, image-minor-mode-map)
6395aab9 2399 (image-toggle-display): Doc fix.
71d73c9c 2400
841a1577 24012011-04-23 Stephen Berman <stephen.berman@gmx.net>
e935c6a2 2402
4ffd0d6b
GM
2403 * textmodes/page.el (what-page): Use line-number-at-pos to
2404 calculate line number (Bug#6825).
6e1dbaa9 2405
c2fb1b60
JB
24062011-04-22 Juanma Barranquero <lekktu@gmail.com>
2407
2408 * eshell/esh-mode.el (find-tag-interactive): Declare function.
2409 (eshell-find-tag): Remove `with-no-warnings', unneeded now.
2410 Pass argument NO-DEFAULT to `find-tag-interactive'.
2411
e02f48d7
JB
24122011-04-22 Juanma Barranquero <lekktu@gmail.com>
2413
2414 Lexical-binding cleanup.
2415
2416 * progmodes/ada-mode.el (ada-after-change-function, ada-loose-case-word)
2417 (ada-no-auto-case, ada-capitalize-word, ada-untab, ada-narrow-to-defun):
2418 * progmodes/ada-prj.el (ada-prj-initialize-values)
2419 (ada-prj-display-page, ada-prj-field-modified, ada-prj-display-help)
2420 (ada-prj-show-value):
2421 * progmodes/ada-xref.el (ada-find-any-references, ada-gdb-application):
2422 * progmodes/antlr-mode.el (antlr-with-displaying-help-buffer)
2423 (antlr-invalidate-context-cache, antlr-options-menu-filter)
2424 (antlr-language-option-extra, antlr-c++-mode-extra, antlr-run-tool):
2425 * progmodes/bug-reference.el (bug-reference-push-button):
2426 * progmodes/fortran.el (fortran-line-length):
2427 * progmodes/glasses.el (glasses-change):
2428 * progmodes/octave-mod.el (octave-fill-paragraph):
2429 * progmodes/python.el (python-mode, python-pdbtrack-track-stack-file)
2430 (python-pdbtrack-grub-for-buffer, python-sentinel):
2431 * progmodes/sql.el (sql-save-connection):
2432 * progmodes/tcl.el (tcl-indent-command, tcl-popup-menu):
2433 * progmodes/xscheme.el (xscheme-enter-debugger-mode):
2434 Mark unused parameters.
2435
2436 * progmodes/compile.el (compilation--flush-directory-cache)
2437 (compilation--flush-parse, compile-internal): Mark unused parameters.
2438 (compilation-buffer-name): Rename parameter MODE-NAME to NAME-OF-MODE.
2439 (compilation-next-error-function): Remove unused variable `timestamp'.
2440
2441 * progmodes/cpp.el (cpp-parse-close): Remove unused variable `begin'.
2442 (cpp-signal-read-only, cpp-grow-overlay): Mark unused parameters.
2443
2444 * progmodes/dcl-mode.el (dcl-end-of-command):
2445 Remove unused variable `start'.
2446 (dcl-calc-command-indent-multiple, dcl-calc-cont-indent-relative)
2447 (dcl-option-value-basic, dcl-option-value-offset)
2448 (dcl-option-value-margin-offset, dcl-option-value-comment-line):
2449 Mark unused parameters.
2450 (dcl-save-local-variable): Remove unused variable `val'.
2451 (mode): Declare.
2452
2453 * progmodes/delphi.el (delphi-save-state, delphi-after-change):
2454 Mark unused parameters.
2455 (delphi-ignore-changes): Move before first use.
2456 (delphi-charset-token-at): Remove unused variable `start'.
2457 (delphi-else-start): Remove unused variable `if-count'.
2458 (delphi-comment-block-start, delphi-comment-block-end):
2459 Remove unused variable `kind'.
2460 (delphi-indent-line): Remove unused variable `new-point'.
2461
2462 * progmodes/ebrowse.el (ebrowse-files-list)
2463 (ebrowse-list-of-matching-members, ebrowse-tags-list-members-in-file):
2464 Mark unused parameters. Don't quote `lambda'.
2465 (ebrowse-sort-tree-list, ebrowse-same-tree-member-buffer-list):
2466 Don't quote `lambda'.
2467 (ebrowse-revert-tree-buffer-from-file, ebrowse-tags-choose-class)
2468 (ebrowse-goto-visible-member/all-member-lists): Mark unused parameters.
2469 (ebrowse-create-tree-buffer): Rename parameter OBARRAY to CLASSES.
2470 (ebrowse-toggle-mark-at-point): Remove unused variable `pnt'.
2471 Use `ignore-errors'.
2472 (ebrowse-frozen-tree-buffer-name, ebrowse-find-source-file)
2473 (ebrowse-view/find-file-and-search-pattern)
2474 (ebrowse-view/find-member-declaration/definition):
2475 Rename parameter TAGS-FILE-NAME to TAGS-FILE.
2476 (ebrowse-find-class-declaration, ebrowse-view-class-declaration):
2477 Rename parameter PREFIX-ARG to PREFIX.
2478 (ebrowse-tags-read-name): Remove unused variables `start' and
2479 `member-info'.
2480 (ebrowse-display-member-buffer): Rename variable `tags-file-name'
2481 to `tags-file'.
2482
2483 * progmodes/etags.el (local-find-tag-hook): Declare.
2484 (tag-partial-file-name-match-p, tag-any-match-p, list-tags):
2485 Mark unused parameters.
2486
2487 * progmodes/executable.el (compilation-error-regexp-alist): Declare.
2488 (executable-interpret): Mark unused parameter.
2489
2490 * progmodes/flymake.el (flymake-process-sentinel)
2491 (flymake-after-change-function)
2492 (flymake-create-temp-with-folder-structure)
2493 (flymake-get-include-dirs-dot): Mark unused parameters.
2494 (flymake-safe-delete-directory): Remove unused variable `err'.
2495
2496 * progmodes/gdb-mi.el (speedbar-change-initial-expansion-list)
2497 (speedbar-timer-fn, speedbar-line-text)
2498 (speedbar-change-expand-button-char, speedbar-delete-subblock)
2499 (speedbar-center-buffer-smartly): Declare functions.
2500 (gdb-find-watch-expression): Remove unused variable `array'.
2501 (gdb-edit-value, gdb-gdb, gdb-ignored-notification, gdb-thread-created)
2502 (gdb-starting): Mark unused parameters.
2503 (gud-gdbmi-marker-filter): Remove unused variable `output-record'.
2504 (gdb-table-string): Remove unused variable `res'.
2505 (gdb-place-breakpoints): Remove unused variables `flag' and `bptno'.
2506 (gdb-disassembly-handler-custom): Remove unused variable `pos'.
2507 (gdb-display-buffer): Remove unused variable `cur-size'.
2508
2509 * progmodes/gud.el (gud-def): Use `defalias' instead of `defun' to
2510 allow lexical-binding compilation.
2511 (gud-expansion-speedbar-buttons, gud-gdb-goto-stackframe)
2512 (gud-dbx-massage-args, gud-xdb-massage-args, gud-perldb-massage-args)
2513 (gud-jdb-massage-args, gud-jdb-find-source, gud-find-class):
2514 Mark unused parameters.
2515 (gud-gdb-marker-filter): Remove unused variable `match'.
2516 (gud-find-class): Bind `syntax-symbol' and `syntax-point' to suitable
2517 lambda expressions and funcall them, instead of using `fset'.
2518
2519 * progmodes/hideif.el (hif-parse-if-exp): Rename parameter
2520 HIF-TOKEN-LIST to TOKEN-LIST and let-bind `hif-token-list'.
2521
2522 * progmodes/hideshow.el (hs-hide-block-at-point): Remove unused
2523 variable `header-beg'; use `let'.
2524
2525 * progmodes/icon.el (indent-icon-exp): Remove unused variables
2526 `restart', `last-sexp' and `at-do'.
2527
2528 * progmodes/js.el (js--debug): Mark unused parameter.
2529 (js--parse-state-at-point): Remove unused variable `bound'; use `let'.
2530 (js--splice-into-items): Remove unused variable `item'.
2531 (js--read-symbol, js--read-tab): Pass 1/-1 to `ido-mode', not t/nil.
2532
2533 * progmodes/make-mode.el (makefile-make-font-lock-keywords):
2534 Rename parameter FONT-LOCK-KEYWORDS to FL-KEYWORDS.
2535 (makefile-complete): Remove unused variable `try'.
2536 (makefile-fill-paragraph, makefile-match-function-end):
2537 Mark unused parameters.
2538
2539 * progmodes/octave-inf.el (inferior-octave-complete):
2540 Remove unused variable `proc'.
2541 (inferior-octave-output-digest): Mark unused parameter.
2542
2543 * progmodes/perl-mode.el (perl-calculate-indent):
2544 Remove unused variable `err'.
2545
2546 * progmodes/prolog.el (prolog-mode-keybindings-inferior)
2547 (prolog-indent-line): Mark unused parameters.
2548 (prolog-indent-line): Remove unused variable `beg'.
2549
2550 * progmodes/ps-mode.el (reporter-prompt-for-summary-p)
2551 (reporter-dont-compact-list): Declare.
2552
2553 * progmodes/sh-script.el (sh-font-lock-quoted-subshell):
2554 Remove unused variable `char'.
2555 (sh-debug): Mark unused parameter.
2556 (sh-get-indent-info): Remove unused variable `start'.
2557 (sh-calculate-indent): Remove unused variable `var'.
2558
2559 * progmodes/simula.el (simula-popup-menu): Mark unused parameter.
2560 (simula-electric-keyword): Remove unused variable `null'.
2561 (simula-search-backward, simula-search-forward): Remove unused
2562 variables `begin' and `end'.
2563
2564 * progmodes/vera-mode.el (vera-guess-basic-syntax):
2565 Remove unused variable `pos'.
2566 (vera-electric-tab, vera-comment-uncomment-region):
2567 Mark unused parameters.
2568 (vera-electric-tab): Rename parameter PREFIX-ARG to PREFIX.
2569
7ede3b65
CY
25702011-04-22 Chong Yidong <cyd@stupidchicken.com>
2571
2572 * emacs-lisp/package.el (package--builtins, package-alist)
2573 (package-load-descriptor, package-built-in-p, package-activate)
2574 (define-package, package-installed-p)
2575 (package-compute-transaction, package-buffer-info)
2576 (package--push): Doc fix. Distinguish more clearly between
2577 version strings and version lists.
2578
121656e9
JB
25792011-04-21 Juanma Barranquero <lekktu@gmail.com>
2580
2581 Lexical-binding cleanup.
2582
2583 * play/5x5.el (5x5-make-random-solution, 5x5-make-mutate-current)
2584 (5x5-make-mutate-best):
2585 * play/fortune.el (fortune-in-buffer):
2586 * play/gomoku.el (gomoku-init-display):
2587 * play/solitaire.el (solitaire, solitaire-do-check):
2588 * play/tetris.el (tetris-default-update-speed-function):
2589 Mark unused parameters.
2590
2591 * play/bubbles.el (bubbles-mode): Set `show-trailing-whitespace'.
2592 (bubbles--shift): Remove unused variable `char-org'.
2593 (bubbles--set-faces): Remove unused variable `fg-col'. Simplify.
2594 (bubbles--show-images): Remove unused variable `char'.
2595
2596 * play/decipher.el (decipher-keypress, decipher-alphabet-keypress)
2597 (decipher-get-undo, decipher-set-map, decipher-complete-alphabet)
2598 (decipher-resync, decipher-loop-with-breaks, decipher--analyze)
2599 (decipher-analyze-buffer): Use ?\s.
2600 (decipher-make-checkpoint): Remove unused variable `mapping'.
2601
2602 * play/doctor.el (doctor-doc): Rename parameter DOCTOR-SENT to SENT.
2603
2604 * play/gamegrid.el (gamegrid-add-score-with-update-game-score):
2605 Remove unused variable `result'; use `let'.
2606
2607 * play/gametree.el (gametree-current-layout, gametree-apply-layout):
2608 Rename parameter TOP-LEVEL to FROM-TOP-LEVEL; use `ignore-errors'.
2609 (gametree-children-shown-p, gametree-compute-reduced-score):
2610 Use `ignore-errors'.
2611
2612 * play/handwrite.el (ps-lpr-switches): Declare.
2613 (handwrite): Remove unused variables `pmin' and `lastp'.
2614
2615 * play/hanoi.el (hanoi-move-ring): Remove unused variable `total-steps'.
2616
2617 * play/landmark.el (landmark-init-display)
2618 (landmark-update-naught-weights): Mark unused parameters.
2619 (landmark-y): Remove unused variable `noise'. Simplify.
2620 (landmark-human-plays): Remove unused variable `score'.
2621
2622 * play/mpuz.el (mpuz-try-letter): Remove unused variable `message'.
2623 (mpuz-try-proposal): Remove unused variable `game'.
2624
2625 * play/zone.el (life-patterns): Declare.
2626
80f499c7
JB
26272011-04-20 Juanma Barranquero <lekktu@gmail.com>
2628
2629 * vc/vc.el (ediff-vc-internal): Declare function.
2630
024ff170
SM
26312011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
2632
c0a193ea
SM
2633 * shell.el: Use lexical-binding and std completion UI.
2634 (shell-filter-ctrl-a-ctrl-b): Work as a preoutput filter.
2635 (shell-mode): Put shell-filter-ctrl-a-ctrl-b on
2636 comint-preoutput-filter-functions rather than on
2637 comint-output-filter-functions.
2638 (shell-command-completion, shell--command-completion-data)
2639 (shell-filename-completion, shell-environment-variable-completion)
2640 (shell-c-a-p-replace-by-expanded-directory): New functions.
2641 (shell-dynamic-complete-functions, shell-dynamic-complete-command)
2642 (shell-dynamic-complete-filename, shell-replace-by-expanded-directory)
2643 (shell-dynamic-complete-environment-variable): Use them.
2644 (shell-dynamic-complete-as-environment-variable)
2645 (shell-dynamic-complete-as-command): Remove.
2646 (shell-match-partial-variable): Match past point.
2647 * comint.el: Clean up use of completion-at-point-functions.
2648 (comint-completion-at-point): New function.
2649 (comint-mode): Use it completion-at-point-functions.
2650 (comint-dynamic-complete): Make it obsolete.
2651 (comint-replace-by-expanded-history-before-point): Add dry-run arg.
2652 (comint-c-a-p-replace-by-expanded-history): New function.
2653 (comint-dynamic-complete-functions)
2654 (comint-replace-by-expanded-history): Use it.
2655 * minibuffer.el (completion-table-with-terminator): Allow dynamic
2656 termination strings. Try harder to avoid second try-completion.
2657 (completion-in-region-mode-map): Disable bindings that don't work yet.
2658
2dbaa080
SM
2659 * comint.el: Use lexical-binding. Require CL.
2660 (comint-dynamic-complete-functions): Use comint-filename-completion.
2661 (comint-completion-addsuffix): Tweak custom type.
2662 (comint-filename-completion, comint--common-suffix)
2663 (comint--common-quoted-suffix, comint--table-subvert)
2664 (comint--complete-file-name-data): New functions.
2665 (comint-dynamic-complete-as-filename, comint-dynamic-complete-filename)
2666 (comint-dynamic-list-filename-completions): Use them.
2667 (comint-dynamic-simple-complete): Make obsolete.
c0a193ea 2668
2dbaa080
SM
2669 * minibuffer.el (completion-in-region-mode):
2670 Keep completion-in-region-mode--predicate global.
2671 (completion-in-region--postch):
2672 Assume completion-in-region-mode--predicate is not null.
2673
c79a6f38
SM
2674 * progmodes/flymake.el (flymake-start-syntax-check-process):
2675 Obey `dir'. Simplify.
2676
024ff170
SM
2677 * vc/vc.el (vc-version-ediff): Call ediff-vc-internal directly, since
2678 we're in VC after all.
2679
1c6c854e
CS
26802011-04-20 Christoph Scholtes <cschol2112@googlemail.com>
2681
2682 * vc/vc.el (vc-diff-build-argument-list-internal)
024ff170 2683 (vc-version-ediff, vc-ediff): New commands.
1c6c854e
CS
2684 (vc-version-diff): Use vc-diff-build-argument-list-internal.
2685
bed7f140
SM
26862011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
2687
332e62ab
SM
2688 * emacs-lisp/byte-opt.el (byte-decompile-bytecode-1): Remove dead code,
2689 add sanity check.
2690
bed7f140
SM
2691 * obsolete/erc-hecomplete.el: Make obsolete.
2692 * obsolete/: Standardize obsolescence info in the header.
2693
f195c582
GM
26942011-04-20 Glenn Morris <rgm@gnu.org>
2695
2696 * calendar/solar.el (solar-horizontal-coordinates):
2697 Use the longitude argument rather than `calendar-longitude'.
2698 (solar-date-next-longitude): Remove unused locals.
2699
cb79b8c0
VJL
27002011-04-20 Vinicius Jose Latorre <viniciusjl@ig.com.br>
2701
2702 * whitespace.el: New version 13.2.1.
2703
27042011-04-20 felix <EmacsWiki> (tiny change)
2705
d8e4b68b 2706 * whitespace.el (global-whitespace-mode): Keep highlight when
cb79b8c0
VJL
2707 switching between major modes on a file.
2708
602ea69d
SM
27092011-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
2710
2711 * progmodes/octave-mod.el (octave-in-comment-p, octave-in-string-p)
2712 (octave-not-in-string-or-comment-p): Use syntax-ppss so it works with
2713 multi-line comments as well.
2714
06b60517
JB
27152011-04-19 Juanma Barranquero <lekktu@gmail.com>
2716
2717 Lexical-binding cleanup.
2718
2719 * arc-mode.el (archive-mode-revert):
2720 * cmuscheme.el (scheme-interactively-start-process):
2721 * custom.el (custom-initialize-delay):
2722 * dnd.el (dnd-open-local-file, dnd-open-remote-url):
2723 * dos-w32.el (direct-print-region-helper, direct-print-region-function):
2724 * emacs-lock.el (emacs-lock-clear-sentinel):
2725 * ezimage.el (defezimage):
2726 * follow.el (follow-avoid-tail-recenter):
2727 * fringe.el (set-fringe-mode-1):
2728 * generic-x.el (bat-generic-mode-compile):
2729 * help-mode.el (help-info-variable, help-do-xref)
2730 (help-mode-revert-buffer):
2731 * help.el (view-emacs-todo):
2732 * iswitchb.el (iswitchb-completion-help):
2733 * jka-compr.el (jka-compr-make-temp-name, jka-compr-load):
2734 * kmacro.el (kmacro-cycle-ring-next, kmacro-cycle-ring-previous)
2735 (kmacro-delete-ring-head, kmacro-bind-to-key, kmacro-view-macro):
2736 * locate.el (locate-update):
2737 * longlines.el (longlines-encode-region)
2738 (longlines-after-change-function):
2739 * outline.el (outline-isearch-open-invisible):
2740 * ps-def.el (declare-function, charset-dimension, char-width)
2741 (encode-char):
2742 * ps-mule.el (ps-mule-plot-string):
2743 * recentf.el (recentf-make-menu-items, recentf-cancel-dialog)
2744 (recentf-edit-list-select, recentf-edit-list-validate)
2745 (recentf-open-files-action):
2746 * rect.el (delete-whitespace-rectangle-line)
2747 (rectangle-number-line-callback):
2748 * register.el (window-configuration-to-register)
2749 (frame-configuration-to-register):
2750 * scroll-bar.el (scroll-bar-mode, toggle-horizontal-scroll-bar):
2751 * select.el (xselect-convert-to-string, xselect-convert-to-length)
2752 (xselect-convert-to-targets, xselect-convert-to-delete)
2753 (xselect-convert-to-filename, xselect-convert-to-charpos)
2754 (xselect-convert-to-lineno, xselect-convert-to-colno)
2755 (xselect-convert-to-os, xselect-convert-to-host)
2756 (xselect-convert-to-user, xselect-convert-to-class)
2757 (xselect-convert-to-name, xselect-convert-to-integer)
2758 (xselect-convert-to-atom, xselect-convert-to-identity):
2759 * subr.el (declare, ignore, process-kill-without-query)
2760 (text-clone-maintain):
2761 * terminal.el (te-get-char, te-tic-sentinel):
2762 * tool-bar.el (tool-bar-make-keymap):
2763 * tooltip.el (tooltip-timeout, tooltip-hide, tooltip-help-tips):
2764 * type-break.el (type-break-mode, type-break-noninteractive-query):
2765 * view.el (View-back-to-mark):
2766 * wid-browse.el (widget-browse-action, widget-browse-widget)
2767 (widget-browse-widgets, widget-browse-sexp):
2768 * widget.el (define-widget-keywords):
2769 * xt-mouse.el (xterm-mouse-translate, turn-off-xterm-mouse-tracking):
2770 Mark unused parameters.
2771
2772 * align.el (align-adjust-col-for-rule): Mark unused parameter.
2773 (align-areas): Remove unused variable `look'.
2774 (align-region): Remove unused variables `real-end' and `pos-list'.
2775
2776 * apropos.el (apropos-score-doc): Remove unused variable `i'.
2777
2778 * bindings.el (mode-line-modified, mode-line-remote):
2779 Mark unused parameters.
2780 (mode-line-mule-info): Mark unused parameter; don't quote `lambda'.
2781
2782 * buff-menu.el (Buffer-menu-revert-function): Mark unused parameters.
2783 (Buffer-menu-mode): Mark unused parameter; don't quote `lambda'.
2784
2785 * comint.el (comint-history-isearch-pop-state)
2786 (comint-postoutput-scroll-to-bottom, comint-truncate-buffer)
2787 (comint-strip-ctrl-m, comint-read-noecho): Mark unused parameters.
2788 (comint-substitute-in-file-name): Doc fix.
2789
2790 * completion.el (cmpl-statistics-block): Mark unused parameter.
2791 (add-completions-from-tags-table, add-completions-from-lisp-buffer)
2792 (save-completions-to-file, load-completions-from-file):
2793 Remove unused local variable `e'.
2794
2795 * composite.el (compose-chars): Remove unused variable `len'.
2796 (lgstring-insert-glyph): Remove unused variable `g'.
2797 (compose-glyph-string): Remove unused variables `ascent',
2798 `descent', `lbearing' and `rbearing'.
2799 (compose-glyph-string-relative): Remove unused variables
2800 `lbearing', `rbearing' and `wadjust'.
2801 (compose-gstring-for-graphic): Remove unused variables `header',
2802 `wadjust', `xoff' and `yoff'. Use `let', not `let*'.
2803 (compose-gstring-for-terminal): Remove unused variables `header'
2804 and `nchars'. Use `let', not `let*'.
2805
2806 * cus-edit.el (Custom-set, Custom-save, custom-reset)
2807 (Custom-reset-current, Custom-reset-saved, Custom-reset-standard)
2808 (Custom-buffer-done, custom-buffer-create-internal)
2809 (custom-browse-visibility-action, custom-browse-group-tag-action)
2810 (custom-browse-variable-tag-action, custom-browse-face-tag-action)
2811 (widget-magic-mouse-down-action, custom-toggle-parent)
2812 (custom-add-parent-links, custom-toggle-hide-variable)
2813 (custom-face-edit-value-visibility-action, custom-face-edit-fix-value)
2814 (custom-toggle-hide-face, face, hook, custom-group-link-action)
2815 (custom-face-menu-create, custom-variable-menu-create, get)
2816 (custom-group-menu-create, Custom-no-edit): Mark unused parameters.
2817 (custom-reset-standard-save-and-update): Remove unused variable `value'.
2818 (customize-apropos): Remove unused variable `tests'.
2819 (custom-group-value-create): Remove unused variable `hidden-p'.
2820 (sort-fold-case): Declare.
2821
2822 * cus-theme.el (custom-reset-standard-faces-list)
2823 (custom-reset-standard-variables-list): Declare.
2824 (customize-create-theme, custom-theme-revert, custom-theme-write)
2825 (custom-theme-choose-mode, customize-themes, custom-theme-save):
2826 Mark unused parameters.
2827
2828 * dabbrev.el (dabbrev-completion): Remove unused variable `init'.
2829
2830 * delim-col.el (delimit-columns-max): Move defvar before first use.
2831
2832 * descr-text.el (describe-char-categories): Don't quote `lambda'.
bd0d2ee2 2833 (describe-char): Don't quote `lambda'. Mark unused parameter.
06b60517
JB
2834
2835 * desktop.el (desktop-save-buffer-p): Mark unused parameter.
2836 (auto-insert): Declare.
2837 (desktop-restore-file-buffer): Rename desktop-* parameters;
2838 mark unused ones.
2839 (desktop-create-buffer): Rename desktop-* parameters and bind them.
2840 (desktop-buffer): Rename desktop-* parameters.
2841
2842 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
2843 (dframe-reposition-frame-xemacs, dframe-help-echo)
2844 (dframe-hack-buffer-menu, dframe-set-timer, dframe-set-timer-internal):
2845 Mark unused parameters.
2846
2847 * dired-aux.el (backup-extract-version-start, overwrite-query)
2848 (overwrite-backup-query, rename-regexp-query)
2849 (rename-non-directory-query): Declare.
2850 (dired-shell-stuff-it, dired-do-create-files): Mark unused parameters.
2851 (dired-add-entry): Remove unused variable `orig-file-name'.
2852 (dired-copy-file-recursive): Remove unused variable `dirfailed'.
2853 Use parameter PRESERVE-TIME instead of accessing dynamic variable
2854 `dired-copy-preserve-time' directly.
2855 (dired-do-create-files-regexp): Remove unused variable `fn-count'.
2856 (dired-insert-subdir-newpos): Rename unused variable `pos'.
2857
2858 * dired-x.el (dired-omit-size-limit): Move defcustom before first use.
2859 (dired-virtual-revert, dired-make-relative-symlink):
2860 Mark unused parameters.
2861 (manual-program): Declare.
2862 (dired-x-hands-off-my-keys): Rename parameters of lambda expression.
2863 (inode, s, mode, nlink, uid, gid, size, time, name, sym): Declare them,
2864 wrapped in `with-no-warnings' to avoid replacing one warning by another.
2865
2866 * dirtrack.el (dirtrack): Remove unused variable `multi-line'.
2867
2868 * dos-fns.el (dos-8+3-filename): Remove unused variable `i'.
2869
2870 * echistory.el (electric-history-in-progress, Helper-return-blurb):
2871 Declare.
2872
2873 * edmacro.el (edmacro-finish-edit): Remove unused variable `kmacro'.
2874
2875 * electric.el (Electric-command-loop): Rename parameter
2876 INHIBIT-QUIT to INHIBIT-QUITTING and bind `inhibit-quit'.
2877
2878 * expand.el (expand-in-literal): Remove unused variable `here'.
2879
2880 * facemenu.el (facemenu-add-new-color):
2881 Remove unused variable `docstring'.
2882
2883 * faces.el (face-id, make-face-bold, make-face-unbold, make-face-italic)
2884 (make-face-unitalic, make-face-bold-italic): Mark unused parameters.
2885 (face-attr-construct): Mark unused parameter. Doc fix.
2886 (read-color): Remove unused variable `hex-string'.
2887
2888 * files.el (parse-colon-path): Rename argument CD-PATH to SEARCH-PATH.
2889 (locate-dominating-file): Remove unused vars `prev-file' and `user'.
2890 (remote-file-name-inhibit-cache, revert-buffer): Clean up docstrings.
2891 (display-buffer-other-frame): Remove unused variable `old-window'.
2892 (kill-buffer-hook): Declare.
2893 (insert-file-contents-literally, set-auto-mode, risky-local-variable-p):
2894 Mark unused parameters.
2895 (after-find-file): Pass 1 to `auto-save-mode', not t.
2896
2897 * files-x.el (auto-insert): Declare.
2898 (modify-file-local-variable-prop-line): Remove unused variable `val'.
2899
2900 * find-lisp.el (find-lisp-find-dired-internal): Remove unused
bd0d2ee2 2901 variable `buf'. Mark unused parameter.
06b60517
JB
2902 (find-lisp-insert-directory): Mark unused parameter.
2903
2904 * format.el (format-decode-run-method): Mark unused parameter; doc fix.
2905 (format-encode-region): Remove unused variables `cur-buf' and `result'.
2906 (format-common-tail): Remove, unused.
2907 (format-deannotate-region): Remove unused variable `loc'.
2908 (format-annotate-region): Remove unused variable `p'.
2909 (format-annotate-single-property-change): Remove unused variables
2910 `default' and `tail'.
2911
2912 * forms.el (read-file-filter): Declare.
2913 (forms--iif-hook, forms--revert-buffer): Mark unused parameters.
2914
2915 * frame.el (frame-creation-function-alist): Mark unused parameter.
2916 (frame-geom-spec-cons): Pass FRAME to `frame-geom-value-cons'.
2917
2918 * hilit-chg.el (hilit-chg-cust-fix-changes-face-list, hilit-chg-clear):
2919 Remove unused parameters.
2920 (hilit-chg-set-face-on-change): Remove unused variable `beg-decr'.
2921 (highlight-compare-with-file): Remove unused variable `buf-b-read-only'.
2922
2923 * htmlfontify.el (hfy-default-footer, hfy-decor, hfy-invisible)
2924 (hfy-parse-tags-buffer, hfy-prepare-index-i, hfy-prepare-index)
2925 (hfy-prepare-tag-map): Mark unused parameters.
2926 (htmlfontify-buffer): Use `called-interactively-p'.
2927
2928 * ibuf-ext.el (ibuffer-do-kill-lines, ibuffer-jump-to-buffer)
2929 (ibuffer-copy-filename-as-kill, ibuffer-mark-on-buffer)
2930 (ibuffer-do-occur): Mark unused parameters.
2931 (ibuffer-forward-next-marked): Remove unused variable `curmark'.
2932 (ibuffer-diff-buffer-with-file-1): Remove unused variable `proc'.
2933
2934 * ibuffer.el: Don't quote `lambda'.
2935 (ibuffer-count-marked-lines, ibuffer-count-deletion-lines)
2936 (ibuffer-unmark-all, ibuffer-toggle-marks, ibuffer-redisplay-engine):
2937 Mark unused parameters.
2938
2939 * ido.el (ido-mode, ido-wide-find-dir-or-delete-dir)
2940 (ido-completing-read): Mark unused parameters.
2941 (ido-copy-current-word): Mark unused parameters;
2942 remove unused variable `name'.
2943 (ido-sort-merged-list): Remove unused parameter `dirs'.
2944
2945 * ielm.el (ielm-input-sender): Mark unused parameter.
2946 (ielm-string, ielm-form, ielm-pos, ielm-result, ielm-error-type)
2947 (ielm-output, ielm-wbuf, ielm-pmark): Declare.
2948 (ielm-eval-input): Rename argument IELM-STRING to INPUT-STRING to keep
2949 `ielm-string' as a dynamic variable accessible from the IELM prompt.
2950 Bind `ielm-string' to INPUT-STRING. Remove unused variable `err'.
2951
2952 * image-dired.el (image-dired-display-thumbs): Remove unused
2953 variables `curr-file' and `count'.
2954 (image-dired-remove-tag): Remove unused variable `start'.
2955 (image-dired-tag-files, image-dired-create-thumbs): Remove unused
2956 variable `curr-file'
2957 (image-dired-rotate-original): Remove unused variable `temp-file'.
2958 (image-dired-mouse-select-thumbnail, image-dired-mouse-toggle-mark):
2959 Remove unused variable `file'.
2960 (image-dired-gallery-generate): Remove unused variable `curr'.
2961 (image-dired-dired-edit-comment-and-tags): Mark unused parameters.
2962
2963 * indent.el (tab-to-tab-stop): Remove unused variable `opoint'.
2964
2965 * info-xref.el (info-xref-goto-node-p): Remove unused variable `err'.
2966
2967 * informat.el (texinfo-command-start, texinfo-command-end): Declare.
2968
2969 * isearch.el (minibuffer-history-symbol): Declare.
2970 (isearch-edit-string): Remove unused variable `err'.
2971 (isearch-message-prefix, isearch-message-suffix):
2972 Mark unused parameters.
2973
2974 * ls-lisp.el (ls-lisp-insert-directory): Remove unused variable `fil'.
2975
2976 * macros.el (insert-kbd-macro): Remove unused variable `mods'.
2977
2978 * makesum.el (double-column): Remove unused variable `cnt'.
2979
2980 * misearch.el (multi-isearch-pop-state): Mark unused parameter.
2981 (ido-ignore-item-temp-list): Declare.
2982
2983 * mouse-drag.el (mouse-drag-throw): Remove unused variables
2984 `mouse-delta', `window-last-row', `mouse-col-delta', `window-last-col',
2985 `adjusted-mouse-col-delta' and `adjusted-mouse-delta'.
2986 (mouse-drag-drag): Remove unused variables `mouse-delta' and
2987 `mouse-col-delta'.
2988
2989 * mouse-sel.el (mouse-extend-internal):
2990 Remove unused variable `orig-window-frame'.
2991
2992 * pcomplete.el (pcomplete-args, pcomplete-begins, pcomplete-last)
2993 (pcomplete-index, pcomplete-stub, pcomplete-seen, pcomplete-norm-func):
2994 Move declarations before first use.
2995 (pcomplete-opt): Mark unused parameters; doc fix.
2996
2997 * proced.el (proced-revert): Mark unused parameter.
2998 (proced-send-signal): Remove unused variable `err'.
2999
3000 * ps-print.el (ps-print-preprint-region, ps-print-preprint):
3001 Rename parameter PREFIX-ARG to ARG.
3002 (ps-basic-plot-string, ps-basic-plot-whitespace):
3003 Mark unused parameters.
3004
3005 * replace.el (replace-count): Define.
3006 (occur-revert-function): Mark unused parameters.
3007 (ido-ignore-item-temp-list, isearch-error, isearch-forward)
3008 (isearch-case-fold-search, isearch-string): Declare.
3009 (occur-engine): Rename parameter CASE-FOLD-SEARCH to CASE-FOLD and
3010 bind `case-fold-search'. Remove unused variables `beg' and `end',
3011 and simplify.
3012 (replace-eval-replacement): Rename parameter REPLACE-COUNT to
3013 COUNT and bind `replace-count'.
3014 (replace-loop-through-replacements): Rename parameter REPLACE-COUNT
3015 to COUNT.
3016
3017 * savehist.el (print-readably, print-string-length): Declare.
3018
3019 * shadowfile.el (shadow-expand-cluster-in-file-name):
3020 Remove unused variable `cluster'.
3021 (shadow-copy-file): Remove unused variable `i'.
3022 (shadow-noquery, shadow-clusters, shadow-site-cluster)
3023 (shadow-parse-fullname, shadow-parse-name, shadow-define-cluster)
3024 (shadow-define-literal-group, shadow-define-regexp-group)
3025 (shadow-make-group, shadow-shadows-of): Clean up docstrings.
3026
3027 * shell.el (shell-filter-ctrl-a-ctrl-b): Mark unused parameter.
3028 (shell): Use `called-interactively-p'.
3029 (shell-directory-tracker): Remove unused variable `chdir-failure'.
3030
3031 * simple.el (compilation-context-lines, comint-file-name-quote-list)
3032 (comint-file-name-chars, comint-delimiter-argument-list): Declare.
3033 (delete-backward-char): Remove unused variable `ocol'.
3034 (minibuffer-avoid-prompt, minibuffer-history-isearch-pop-state)
3035 (line-move-1, event-apply-alt-modifier, event-apply-super-modifier)
3036 (event-apply-hyper-modifier, event-apply-shift-modifier)
3037 (event-apply-control-modifier, event-apply-meta-modifier):
3038 Mark unused parameters.
3039 (undo-make-selective-list): Remove duplicate variable `undo-elt'.
3040 (normal-erase-is-backspace-mode): Remove unused variable `old-state'.
3041
3042 * speedbar.el (speedbar-ignored-directory-expressions)
3043 (speedbar-supported-extension-expressions, speedbar-directory-buttons)
3044 (speedbar-find-file, speedbar-dir-follow)
3045 (speedbar-directory-buttons-follow, speedbar-tag-find)
3046 (speedbar-buffer-buttons, speedbar-buffer-buttons-temp)
3047 (speedbar-buffers-line-directory, speedbar-buffer-click):
3048 Mark unused parameters.
3049 (speedbar-tag-file): Remove unused variable `mode'.
3050 (speedbar-buffers-tail-notes): Remove unused variable `mod'; simplify.
3051
3052 * strokes.el (strokes-decode-buffer): Remove unused variable `ext'.
3053
3054 * talk.el (talk): Remove unused variable `display'.
3055
3056 * tar-mode.el (tar-subfile-save-buffer): Remove unused variable `name'.
3057 (tar-write-region-annotate): Mark unused parameter.
3058
3059 * time.el (now, time, load, mail, 24-hours, hour, 12-hours, am-pm)
3060 (minutes, seconds, time-zone, day, year, monthname, month, dayname):
3061 Declare them, wrapped in `with-no-warnings' to avoid replacing one
3062 warning by another.
3063
3064 * time-stamp.el (time-stamp-string-preprocess):
3065 Remove unused variable `require-padding'.
3066
3067 * tree-widget.el (widget-glyph-enable): Declare.
3068 (tree-widget-action): Mark unused parameter.
3069
3070 * w32-fns.el (x-get-selection): Mark unused parameter.
3071 (autoload-make-program, generated-autoload-file): Declare.
3072
3073 * wdired.el (wdired-revert): Mark unused parameters.
3074 (wdired-xcase-word): Remove unused variable `err'.
3075
3076 * whitespace.el (whitespace-buffer-changed): Mark unused parameters.
3077 (whitespace-help-scroll): Remove unused variable `data-help'.
3078
3079 * wid-edit.el (widget-mouse-help, widget-overlay-inactive)
3080 (widget-image-insert, widget-after-change, default)
3081 (widget-default-format-handler, widget-default-notify)
3082 (widget-default-prompt-value, widget-info-link-action)
3083 (widget-url-link-action, widget-function-link-action)
3084 (widget-variable-link-action, widget-file-link-action)
3085 (widget-emacs-library-link-action, widget-emacs-commentary-link-action)
3086 (widget-field-prompt-internal, widget-field-action, widget-field-match)
3087 (widget-choice-mouse-down-action, toggle, widget-radio-button-notify)
3088 (widget-insert-button-action, widget-delete-button-action, visibility)
3089 (widget-documentation-link-action, widget-documentation-string-action)
3090 (widget-const-prompt-value, widget-regexp-match, symbol)
3091 (widget-coding-system-prompt-value)
3092 (widget-key-sequence-value-to-external, sexp)
3093 (widget-sexp-value-to-internal, character, vector, cons)
3094 (widget-choice-prompt-value, widget-boolean-prompt-value)
3095 (widget-color--choose-action): Mark unused parameters.
3096 (widget-item-match-inline, widget-choice-match-inline)
3097 (widget-checklist-match, widget-checklist-match-inline)
3098 (widget-group-match): Rename parameter VALUES to VALS.
3099 (widget-field-value-set): Remove unused variable `size'.
3100 (widget-color-action): Remove unused variables `value' and `start'.
3101
3102 * windmove.el (windmove-wrap-loc-for-movement): Remove unused
bd0d2ee2 3103 variable `dir'. Doc fix.
06b60517
JB
3104 (windmove-find-other-window): Don't pass it.
3105
3106 * window.el (count-windows): Mark unused parameter.
3107 (bw-adjust-window): Remove unused variable `err'.
3108
3109 * woman.el (woman-file-name): Remove unused variable `default'.
3110 (woman-expand-directory-path): Rename parameters WOMAN-MANPATH and
3111 WOMAN-PATH to PATH-DIRS and PATH-REGEXPS, respectively.
3112 (global-font-lock-mode): Declare.
3113 (woman-decode-region): Mark unused parameter.
3114 (woman-get-tab-stop): Rename parameter TAB-STOP-LIST to TAB-STOPS.
3115
3116 * x-dnd.el (x-dnd-default-test-function, x-dnd-handle-old-kde)
3117 (x-dnd-handle-xdnd, x-dnd-handle-motif): Mark unused parameters.
3118 (x-dnd-handle-moz-url): Remove unused variable `title'.
3119 (x-dnd-handle-xdnd): Remove unused variables `x', `y' and `ret-action'.
3120
3121 * xml.el (xml-parse-tag, xml-parse-attlist):
3122 Remove unused variable `pos'.
3123
bc4f7f3d
GM
31242011-04-19 Glenn Morris <rgm@gnu.org>
3125
3126 * calendar/cal-tex.el (cal-tex-list-holidays, cal-tex-cursor-month)
3127 (cal-tex-cursor-week, cal-tex-cursor-week2, cal-tex-cursor-week-iso)
3128 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
3129 (cal-tex-cursor-filofax-daily, cal-tex-mini-calendar)
3130 * calendar/cal-html.el (cal-html-insert-minical):
3131 * calendar/diary-lib.el (diary-list-entries-1, diary-list-entries)
3132 (calendar-mark-date-pattern):
3133 Prefix "unused" locals.
3134
3135 * calendar/cal-dst.el (dst-adjust-time): Remove never-implemented
3136 optional argument `style'.
3137
3138 * calendar/appt.el (appt-make-list):
3139 * calendar/cal-china.el (calendar-chinese-date-string):
3140 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits)
3141 (diary-hebrew-yahrzeit):
3142 * calendar/cal-tex.el (cal-tex-last-blank-p, cal-tex-cursor-week2):
3143 * calendar/calendar.el (calendar-generate-window):
3144 * calendar/time-date.el (time-to-days):
3145 Remove unused local variables.
3146
16a43933
CY
31472011-04-18 Chong Yidong <cyd@stupidchicken.com>
3148
3149 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Use a custom
3150 glyphless-char-display table.
3151 (tabulated-list-glyphless-char-display): New var.
3152
7eed1860
SS
31532011-04-18 Sam Steingold <sds@gnu.org>
3154
3155 * vc/add-log.el (change-log-font-lock-keywords): Add "Thanks to"
3156 to acknowledgments.
3157
4d2d1ccd
GM
31582011-04-17 Glenn Morris <rgm@gnu.org>
3159
3160 * calendar/diary-lib.el (diary-sexp-entry):
3161 * calendar/holidays.el (holiday-sexp):
3162 Set debug-on-error rather than the removed stack-trace-on-error.
3163
239da61d
GM
31642011-04-16 Glenn Morris <rgm@gnu.org>
3165
3166 * progmodes/f90.el: Use lexical-binding.
3167 (f90-get-correct-indent): Remove unnecessary local variable `cont'.
3168
8b05752a
SM
31692011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
3170
daca8ba5
SM
3171 * mail/sendmail.el (mail-mode-map): Use completion-at-point.
3172 (mail-mode): Setup mailalias completion here instead.
3173 * mail/mailalias.el: Use lexical-binding.
3174 (pattern, mailalias-done): Declare dynamic.
3175 (mail-completion-at-point-function): New function, from mail-complete.
3176 (mail-complete): Use it.
3177 (mail-completion-expand): New function.
3178 (mail-get-names): Use it.
3179 (mail-directory, mail-directory-process, mail-directory-stream):
3180 Don't use `pattern' for lexically bound arg.
3181
6f542485
SM
3182 * emacs-lisp/lisp-mode.el (eval-defun-2): Use eval-sexp-add-defvars.
3183
037e7c3f
SM
3184 * htmlfontify.el (hfy-etags-cmd): Remove inoperant eval-and-compile.
3185 (hfy-e2x-etags-cmd, hfy-etags-cmd-alist-default)
3186 (hfy-etags-cmd-alist): Don't eval-and-compile any more.
3187
8b05752a
SM
3188 * emacs-lisp/bytecomp.el (byte-temp-output-buffer-show)
3189 (byte-save-window-excursion, byte-temp-output-buffer-setup)
3190 (byte-interactive-p): Define them again, for use when inlining
3191 old code.
3192
49093f60
JB
31932011-04-15 Juanma Barranquero <lekktu@gmail.com>
3194
3195 * loadup.el: Use `string-to-number', not `string-to-int'.
3196
b5b8e7de
SM
31972011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
3198
3199 * progmodes/gud.el (gud-gdb): Use completion-at-point instead of
3200 gud-gdb-complete-command.
3201 (gud-gdb-completions): New function, from gud-gdb-complete-command.
3202 (gud-gdb-completion-at-point): New function.
3203 (gud-gdb-completions): Remove.
3204
f42efeb5
MA
32052011-04-14 Michael Albinus <michael.albinus@gmx.de>
3206
49093f60
JB
3207 * net/tramp-sh.el (tramp-sh-handle-file-attributes): Handle the case
3208 when the scripts fail. Use `tramp-do-file-attributes-with-ls' then.
3209 (tramp-do-copy-or-rename-file-out-of-band): Do not check any longer
3210 whether `executable-find' is bound.
f42efeb5
MA
3211
3212 * net/tramp-smb.el (tramp-smb-handle-copy-file): Fix docstring.
3213
e240cc21
SM
32142011-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
3215
3216 * minibuffer.el (completion-in-region-mode-predicate)
3217 (completion-in-region-mode--predicate): New vars.
3218 (completion-in-region, completion-in-region--postch)
3219 (completion-in-region-mode): Use them.
3220 (completion--capf-wrapper): Also return the hook function.
3221 (completion-at-point, completion-help-at-point):
3222 Adjust and provide a predicate.
c2bd2ab0
SM
3223
3224 Preserve arg names for advice of subr and lexical functions (bug#8457).
3225 * help-fns.el (help-function-arglist): Consolidate the subr and
3226 new-byte-code cases. Add argument `preserve-names' to extract names
3227 from the docstring when needed.
3228 * emacs-lisp/advice.el (ad-define-subr-args, ad-undefine-subr-args)
3229 (ad-subr-args-defined-p, ad-get-subr-args, ad-subr-arglist): Remove.
3230 (ad-arglist): Use help-function-arglist's new arg.
3231 (ad-definition-type): Use cond.
3232
c183f693
JB
32332011-04-13 Juanma Barranquero <lekktu@gmail.com>
3234
06641a47
JB
3235 * autorevert.el (auto-revert-handler):
3236 Bind `remote-file-name-inhibit-cache', not `tramp-cache-inhibit-cache',
3237 which was removed in 2010-10-02T13:21:43Z!michael.albinus@gmx.de.
3238 Don't quote lambda.
3239
c183f693
JB
3240 * image-mode.el (image-transform-set-scale):
3241 Fix change in 2011-04-09T20:28:01Z!cyd@stupidchicken.com.
3242
1e3b6001
G
32432011-04-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
3244
3245 * net/network-stream.el (network-stream-open-starttls): Only do
3246 opportunistic STARTTLS upgrades if we have built-in gnutls support.
3247 Upgrades via gnutls-cli are too slow to be done opportunistically.
3248
2d6af8dd
JB
32492011-04-12 Juanma Barranquero <lekktu@gmail.com>
3250
3251 * dframe.el (dframe-current-frame): Remove spurious quote.
3252
c0749a51
GM
32532011-04-12 Glenn Morris <rgm@gnu.org>
3254
088d0d61
GM
3255 * calendar/cal-tex.el (cal-tex-end-document):
3256 Try to automatically use latin1 input if needed.
3257
c0749a51
GM
3258 * calendar/cal-hebrew.el (diary-hebrew-rosh-hodesh):
3259 Don't try to cons a mark onto an empty element.
3260
5c90fde0
LL
32612011-04-11 Leo Liu <sdl.web@gmail.com>
3262
3263 * ido.el (ido-buffer-internal): Allow method 'kill for virtual
3264 buffers.
3265 (ido-kill-buffer-at-head): Support killing virtual buffers.
3266
369e974d
CY
32672011-04-10 Chong Yidong <cyd@stupidchicken.com>
3268
3269 * minibuffer.el (completion-show-inline-help): New var.
3270 (completion--do-completion, minibuffer-complete)
daca8ba5
SM
3271 (minibuffer-force-complete, minibuffer-complete-word):
3272 Inhibit minibuffer messages if completion-show-inline-help is nil.
369e974d
CY
3273
3274 * icomplete.el (icomplete-mode): Bind completion-show-inline-help
3275 to avoid interference from inline help (Bug#5849).
3276
37f1c930
LL
32772011-04-10 Leo Liu <sdl.web@gmail.com>
3278
099c39a4
JB
3279 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
3280 Fix typo.
37f1c930 3281
a32d4040
CY
32822011-04-09 Chong Yidong <cyd@stupidchicken.com>
3283
3284 * image-mode.el (image-toggle-display-image): Signal an error if
3285 not in Image mode.
3286 (image-transform-mode, image-transform-resize)
3287 (image-transform-set-rotation): Doc fix.
daca8ba5 3288 (image-transform-set-resize): Delete.
a32d4040
CY
3289 (image-transform-set-scale, image-transform-fit-to-height)
3290 (image-transform-fit-to-width): Handle image-toggle-display-image
3291 and image-transform-resize directly.
3292
099c39a4 32932011-04-08 Sho Nakatani <lay.sakura@gmail.com>
d7b89879
TH
3294
3295 * doc-view.el (doc-view-fit-width-to-window)
099c39a4
JB
3296 (doc-view-fit-height-to-window, doc-view-fit-page-to-window):
3297 New functions for fitting the shown image to the Emacs window size.
d7b89879
TH
3298 (doc-view-mode-map): Add bindings for the new functions.
3299
099c39a4 33002011-04-08 Juanma Barranquero <lekktu@gmail.com>
ddc20cdb
JB
3301
3302 * vc-annotate.el (vc-annotate-show-log-revision-at-line):
3303 Fix typo in docstring.
3304
3726838a
EZ
33052011-04-08 Eli Zaretskii <eliz@gnu.org>
3306
04f33f1e
EZ
3307 * files.el (file-size-human-readable): Produce one digit after
3308 decimal, like "ls -lh" does.
3309
3310 * ls-lisp.el (ls-lisp-format-file-size): Allow for 7 characters in
3311 the file size representation.
3312
3726838a
EZ
3313 * simple.el (list-processes): If async subprocesses are not
3314 available, error out with a clear error message.
3315
cbb59342
CY
33162011-04-08 Chong Yidong <cyd@stupidchicken.com>
3317
3318 * help.el (help-form-show): New function, to be called from C.
3319 Put help-form output in a buffer named differently than *Help*.
3320
e3971c44
EZ
33212011-04-08 Eli Zaretskii <eliz@gnu.org>
3322
3323 * files.el (file-size-human-readable): New function.
3324
3325 * ls-lisp.el (ls-lisp-format-file-size): Use it, instead of
3326 computing the representation inline. Don't require `cl'.
3327
12544bbe
GM
33282011-04-08 Glenn Morris <rgm@gnu.org>
3329
a1de6c6a
GM
3330 * man.el (Man-page-header-regexp): Solaris < 2.6 no longer supported.
3331
3c4671f4
GM
3332 * net/browse-url.el (browse-url-firefox):
3333 Test system-type, not system-configuration.
3334
b605679c
GM
3335 * vc/log-edit.el (log-edit-empty-buffer-p): New function.
3336 (log-edit-insert-cvs-template, log-edit-insert-cvs-rcstemplate):
3337 Use log-edit-empty-buffer-p. (Bug#7598)
3338
56442f0c
GM
3339 * net/rlogin.el (rlogin-process-connection-type): Simplify.
3340 (rlogin-mode-map): Initialize in the defvar.
3341 (rlogin): Use ignore-errors.
3342
12544bbe
GM
3343 * replace.el (occur-mode-map): Some fixes for menu items.
3344
eb237b0f
AH
33452011-04-07 Aaron S. Hawley <aaron.s.hawley@gmail.com>
3346
3347 * play/morse.el (denato-region): Handle varying case. (Bug#8386)
3348
7d668f2c
CY
33492011-04-06 Chong Yidong <cyd@stupidchicken.com>
3350
e67a13ab
CY
3351 * emacs-lisp/cconv.el (cconv--analyse-use): Ignore "ignored" when
3352 issuing unused warnings.
3353
3354 * emacs-lisp/tabulated-list.el (tabulated-list-print): Use lambda
3355 macro directly.
3356
7d668f2c
CY
3357 * simple.el: Lisp reimplement of list-processes. Based on an
3358 earlier reimplementation by Leo Liu, but using tabulated-list.el.
3359 (process-menu-mode): New major mode.
3360 (list-processes--refresh, list-processes):
3361 (process-menu-visit-buffer): New functions.
3362
3363 * files.el (save-buffers-kill-emacs): Don't assume any return
3364 value of list-processes, which is undocumented anyway.
3365
a83ec3c9
CY
33662011-04-06 Chong Yidong <cyd@stupidchicken.com>
3367
3368 * emacs-lisp/tabulated-list.el: New file.
3369
e91a96fe
CY
3370 * emacs-lisp/package.el: Use Tabulated List mode.
3371 (package-menu-mode-map): Inherit from tabulated-list-mode-map.
3372 (package-menu-mode): Derive from tabulated-list-mode. Set up the
3373 table format using Tabulated List mode variables.
3374 (package--push): New macro, replacing package-list-maybe-add.
3375 (package-menu--generate): Use package--push. Renamed from
3376 package--generate-package-list.
3377 (package-menu-refresh, list-packages): Use it.
daca8ba5 3378 (package-menu--print-info): Rename from package-print-package.
e91a96fe 3379 Return insertion data instead of inserting it directly.
099c39a4
JB
3380 (package-menu-describe-package, package-menu-execute):
3381 Use tabulated-list-get-id.
e91a96fe
CY
3382 (package-menu-mark-delete, package-menu-mark-install)
3383 (package-menu-mark-unmark, package-menu-backup-unmark)
099c39a4
JB
3384 (package-menu-mark-obsolete-for-deletion):
3385 Use tabulated-list-put-tag.
e91a96fe
CY
3386 (package--list-packages, package-menu-revert)
3387 (package-menu-get-package, package-menu-get-version)
3388 (package-menu-sort-by-column): Functions deleted.
3389 (package-menu-package-list, package-menu-sort-key): Vars deleted.
3390 (package-menu--status-predicate, package-menu--version-predicate)
3391 (package-menu--name-predicate)
3392 (package-menu--description-predicate): Handle arguments in the
3393 Tabulated List format.
3394 (package-list-packages-no-fetch): Call list-packages.
3395
3e214b50
JB
33962011-04-06 Juanma Barranquero <lekktu@gmail.com>
3397
3398 * files.el (after-find-file-from-revert-buffer): Remove variable.
c9d0ec6d 3399 (after-find-file): Don't bind it.
3e214b50
JB
3400 (revert-buffer-in-progress-p): New variable.
3401 (revert-buffer): Bind it.
3402 Pass nil for `after-find-file-from-revert-buffer'.
3403
3404 * saveplace.el (save-place-find-file-hook): Use new variable
3405 `rever-buffer-in-progress-p', not `after-find-file-from-revert-buffer'.
3406
3f0f1700
GM
34072011-04-06 Glenn Morris <rgm@gnu.org>
3408
c0274801
GM
3409 * Makefile.in (AUTOGEN_VCS): New variable.
3410 (autoloads): Use $AUTOGEN_VCS.
3411
3f0f1700
GM
3412 * calendar/cal-move.el (calendar-scroll-toolkit-scroll): New function.
3413 * calendar/calendar.el (calendar-mode-map):
3414 Check for toolkit scroll bars. (Bug#8305)
3415
41ea9e48
CY
34162011-04-05 Chong Yidong <cyd@stupidchicken.com>
3417
3418 * minibuffer.el (completion-in-region--postch)
3419 (completion-in-region-mode): Remove unnecessary messages.
3420
6194c800
JB
34212011-04-05 Juanma Barranquero <lekktu@gmail.com>
3422
33256f14
JB
3423 * font-lock.el (font-lock-refresh-defaults):
3424 Don't bind `hi-lock--inhibit-font-lock-hook', removed in
3425 2010-10-09T04:09:19Z!cyd@stupidchicken.com and 2010-10-11T23:57:49Z!lekktu@gmail.com (2010-10-12).
3426
6194c800
JB
3427 * info.el (Info-directory-list, Info-read-node-name-2)
3428 (Info-split-parameter-string): Doc fixes.
3429 (Info-virtual-nodes): Reflow docstring.
3430 (Info-find-file, Info-directory-toc-nodes, Info-history-toc-nodes)
3431 (Info-apropos-toc-nodes, info-finder, Info-get-token)
3432 (Info-find-emacs-command-nodes, Info-speedbar-key-map):
3433 Fix typos in docstrings.
3434 (Info-revert-buffer-function, Info-search, Info-isearch-pop-state)
3435 (Info-speedbar-hierarchy-buttons, Info-speedbar-goto-node)
3436 (Info-speedbar-buttons, Info-desktop-buffer-misc-data)
3437 (Info-restore-desktop-buffer): Mark unused parameters.
3438 (Info-directory-find-file, Info-directory-find-node)
3439 (Info-history-find-file, Info-history-find-node, Info-toc-find-node)
3440 (Info-virtual-index-find-node, Info-apropos-find-file)
3441 (Info-apropos-find-node, Info-finder-find-file, Info-finder-find-node):
33256f14 3442 Mark unused parameters; fix typos in docstrings.
6194c800
JB
3443 (Info-virtual-index): Remove unused local variable `nodename'.
3444
b87a8200 34452011-04-05 Deniz Dogan <deniz@dogan.se>
0f6ee7d2 3446
b87a8200
DD
3447 * net/rcirc.el: Update my e-mail address.
3448 (rcirc-mode-map): Remove M-o binding.
0f6ee7d2 3449
3b2ff876
CY
34502011-04-05 Chong Yidong <cyd@stupidchicken.com>
3451
3452 * startup.el (command-line): Save the cursor's theme-face
3453 directly, instead of using face-override-spec.
3454
3455 * custom.el (load-theme): Minor optimization in assigning faces.
3456
8d17e7ca
JB
34572011-04-04 Juanma Barranquero <lekktu@gmail.com>
3458
3459 * help-fns.el (describe-variable): Complete all variables having
3460 documentation, including keywords.
3461 http://lists.gnu.org/archive/html/emacs-devel/2011-04/msg00112.html
3462
2fbc1934
JB
34632011-04-04 Juanma Barranquero <lekktu@gmail.com>
3464
3465 Convert to lexical-binding.
3466
3467 * bs.el (bs-refresh, bs-sort-buffer-interns-are-last)
3468 (bs--get-marked-string, bs--get-modified-string)
3469 (bs--get-readonly-string, bs--get-size-string, bs--get-name)
3470 (bs--get-mode-name, bs--get-file-name): Mark unused arguments.
3471 (bs--configuration-name-for-prefix-arg): Rename argument PREFIX-ARG.
3472
3473 * ehelp.el (electric-help-execute-extended)
3474 (electric-help-ctrl-x-prefix):
3475 * hexl.el (hexl-revert-buffer-function):
3476 * linum.el (linum-after-change, linum-after-scroll):
3477 * emacs-lisp/re-builder.el (reb-auto-update): Mark unused arguments.
3478
3479 * help-fns.el (help-describe-category-set): Remove unused ERR variable.
3480
74f50695
DU
34812011-04-04 Daiki Ueno <ueno@unixuser.org>
3482
3483 * epa-dired.el:
3484 * epa-mail.el:
3485 * epa-hook.el:
3486 * epa-file.el:
3487 * epa.el:
3488 * epg.el: Use lexical binding.
3489
c11325f7
CY
34902011-04-03 Chong Yidong <cyd@stupidchicken.com>
3491
0d9e9a12
CY
3492 * dired-aux.el (dired-create-files): Add docstring (Bug#7970).
3493
c11325f7 3494 * textmodes/flyspell.el (flyspell-word): Recognize default
daca8ba5
SM
3495 dictionary case for flyspell-mark-duplications-exceptions.
3496 Use regexp matching for languages.
c11325f7
CY
3497 (flyspell-mark-duplications-exceptions): Add "that" and "had" for
3498 default dictionary (Bug#7926).
3499
da91b5f2
CY
35002011-04-02 Chong Yidong <cyd@stupidchicken.com>
3501
099c39a4
JB
3502 * emacs-lisp/package.el (package--with-work-buffer):
3503 Recognize https URLs.
da91b5f2 3504
099c39a4
JB
3505 * net/network-stream.el: Move from gnus/proto-stream.el.
3506 Change prefix to network-stream throughout.
da91b5f2
CY
3507 (open-protocol-stream): Merge into open-network-stream, leaving
3508 open-protocol-stream as an alias. Handle nil BUFFER args.
3509
3510 * subr.el (open-network-stream): Move to net/network-stream.el.
3511
afa8e9f6
GM
35122011-04-02 Glenn Morris <rgm@gnu.org>
3513
1d2e369d
GM
3514 * find-dired.el (find-exec-terminator): New option.
3515 (find-ls-option): Test for -ls support.
3516 (find-ls-subdir-switches): Test for -b in find-ls-option.
3517 (find-dired, find-grep-dired): Doc fixes.
3518 (find-dired): Use find-exec-terminator.
3519
8abb7da8 3520 * find-dired.el (find-ls-option, find-ls-subdir-switches)
e7a395b5
GM
3521 (find-grep-options): Do not autoload these defcustoms, remove purecopy.
3522 (find-name-arg): Remove purecopy.
8abb7da8 3523
f3ca7378
GM
3524 * progmodes/grep.el (grep-find-use-xargs): Doc fix.
3525 (grep-compute-defaults): Check for `-exec COMMAND +' support.
3526 Set grep-find-use-xargs, grep-find-command, and grep-find-template
3527 accordingly. Don't add the null-device if not needed.
3528
afa8e9f6
GM
3529 * files.el (save-some-buffers): Doc fix.
3530
35eae264
EZ
35312011-04-02 Eli Zaretskii <eliz@gnu.org>
3532
3533 * makefile.w32-in (EMACS): Default to ../src/$(BLD)/emacs.exe.
3534
26b51db5
JB
35352011-04-01 Juanma Barranquero <lekktu@gmail.com>
3536
3537 * progmodes/idlwave.el (idlwave-one-key-select, idlwave-list-abbrevs):
3538 Use `dolist' rather than `mapcar'.
3539
7200d79c
SM
35402011-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
3541
03408648 3542 Add lexical binding.
7200d79c 3543
03408648
SM
3544 * subr.el (apply-partially): Use new closures rather than CL.
3545 (--dolist-tail--, --dotimes-limit--): Don't declare dynamic.
3546 (dolist, dotimes): Use slightly different expansion for lexical code.
3547 (functionp): Move to C.
3548 (letrec): New macro.
3549 (with-wrapper-hook): Use it and apply-partially instead of CL.
3550 (eval-after-load): Preserve lexical-binding.
3551 (save-window-excursion, with-output-to-temp-buffer): Turn them
3552 into macros.
7200d79c 3553
03408648
SM
3554 * simple.el (with-wrapper-hook, apply-partially): Move to subr.el.
3555
3556 * help-fns.el (help-split-fundoc): Return nil if there's nothing else
3557 than the arglist.
3558 (help-add-fundoc-usage): Don't add `Not documented'.
3559 (help-function-arglist): Handle closures, subroutines, and new
3560 byte-code-functions.
3561 (help-make-usage): Remove leading underscores.
3562 (describe-function-1): Handle closures.
3563 (describe-variable): Use special-variable-p for completion.
3564
3565 * files.el (lexical-binding): Declare safe.
f488fb65 3566
03408648
SM
3567 * emacs-lisp/pcase.el: Don't use destructuring-bind.
3568 (pcase--memoize): Rename from pcase-memoize. Change weakness.
3569 (pcase): Add `let' pattern.
3570 Change memoization so it actually works.
3571 (pcase-mutually-exclusive-predicates): Add byte-code-function-p.
3572 (pcase--u1) <guard, pred>: Fix possible shadowing problem.
3573 <let>: New case.
f488fb65 3574
03408648
SM
3575 * emacs-lisp/macroexp.el: Use lexical binding.
3576 (macroexpand-all-1): Check obsolete macros. Expand compiler-macros.
3577 Don't convert ' to #' without checking that it's indeed quoting
3578 a lambda.
3579
3580 * emacs-lisp/lisp-mode.el (eval-last-sexp-1):
f488fb65 3581 Use eval-sexp-add-defvars.
03408648
SM
3582 (eval-sexp-add-defvars): New fun.
3583
3584 * emacs-lisp/float-sup.el (pi): Don't declare as dynamically bound.
3585
3586 * emacs-lisp/eieio.el (byte-compile-file-form-defmethod):
3587 Don't autoload.
3588 (eieio-defgeneric-form-primary-only-one): Use `byte-compile' rather
3589 than the internal `byte-compile-lambda'.
3590 (defmethod): Don't hide code under quotes.
3591 (eieio-defmethod): New `code' argument.
3592
3593 * emacs-lisp/eieio-comp.el: Remove.
3594
3595 * emacs-lisp/edebug.el (edebug-eval-defun)
3596 (edebug-eval-top-level-form): Use eval-sexp-add-defvars.
3597 (edebug-toggle): Avoid `eval'.
3598
3599 * emacs-lisp/disass.el (disassemble-internal): Handle new
3600 `closure' objects.
3601 (disassemble-1): Handle new byte codes.
3602
3603 * emacs-lisp/cl.el (pushnew): Silence warning.
3604
3605 * emacs-lisp/cl-macs.el (cl-byte-compile-block)
3606 (cl-byte-compile-throw): Remove.
3607 (cl-block-wrapper, cl-block-throw): Use compiler-macros instead.
3608
3609 * emacs-lisp/cl-extra.el (cl-macroexpand-all): Properly quote CL
3610 closures.
3611
3612 * emacs-lisp/cconv.el: New file.
3613
3614 * emacs-lisp/bytecomp.el: Use lexical binding instead of
3615 a "bytecomp-" prefix. Macroexpand everything as a separate phase.
3616 (byte-compile-initial-macro-environment):
3617 Handle declare-function here.
3618 (byte-compile--lexical-environment): New var.
3619 (byte-stack-ref, byte-stack-set, byte-discardN)
3620 (byte-discardN-preserve-tos): New lap codes.
3621 (byte-interactive-p): Don't use any more.
3622 (byte-compile-push-bytecodes, byte-compile-push-bytecode-const2):
3623 New macros.
3624 (byte-compile-lapcode): Use them and handle new lap codes.
3625 (byte-compile-obsolete): Remove.
3626 (byte-compile-arglist-signature): Handle new byte-code arg"lists".
3627 (byte-compile-arglist-warn): Check late def of inlinable funs.
3628 (byte-compile-cl-warn): Don't silence warnings for compiler-macros
3629 since they should have been expanded by now.
3630 (byte-compile--outbuffer): Rename from bytecomp-outbuffer.
3631 (byte-compile-from-buffer): Remove unused second arg.
3632 (byte-compile-preprocess): New function.
3633 (byte-compile-toplevel-file-form): New function to distinguish
3634 file-form calls from outside from file-form calls from hunk-handlers.
3635 (byte-compile-file-form): Simplify.
3636 (byte-compile-file-form-defsubst): Remove.
3637 (byte-compile-file-form-defmumble): Simplify now that
3638 byte-compile-lambda always returns a byte-code-function.
3639 (byte-compile): Preprocess.
3640 (byte-compile-byte-code-maker, byte-compile-byte-code-unmake):
3641 Remove, not used any more.
3642 (byte-compile-arglist-vars, byte-compile-make-lambda-lexenv)
3643 (byte-compile-make-args-desc): New funs.
3644 (byte-compile-lambda): Handle lexical functions. Always return
3645 a byte-code-function.
3646 (byte-compile-reserved-constants): New var, to make up room for
3647 closed-over variables.
3648 (byte-compile-constants-vector): Obey it.
3649 (byte-compile-top-level): New args `lexenv' and `reserved-csts'.
3650 (byte-compile-macroexpand-declare-function): New function.
3651 (byte-compile-form): Call byte-compile-unfold-bcf to inline immediate
3652 byte-code-functions.
3653 (byte-compile-form): Check obsolescence here.
3654 (byte-compile-inline-lapcode, byte-compile-unfold-bcf): New functions.
3655 (byte-compile-variable-ref): Remove.
3656 (byte-compile-dynamic-variable-op): New fun.
3657 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
3658 (byte-compile-variable-set): New funs.
3659 (byte-compile-discard): Add 2 args.
3660 (byte-compile-stack-ref, byte-compile-stack-set)
3661 (byte-compile-make-closure, byte-compile-get-closed-var): New funs.
3662 (byte-compile-funarg, byte-compile-funarg-2): Remove, handled in
3663 macroexpand-all instead.
3664 (byte-compile-quote-form): Remove.
3665 (byte-compile-push-binding-init, byte-compile-not-lexical-var-p)
3666 (byte-compile-bind, byte-compile-unbind): New funs.
3667 (byte-compile-let): Handle let* and lexical binding.
3668 (byte-compile-let*): Remove.
3669 (byte-compile-catch, byte-compile-unwind-protect)
3670 (byte-compile-track-mouse, byte-compile-condition-case):
3671 Handle a new :fun-body form, used for lexical scoping.
3672 (byte-compile-save-window-excursion)
3673 (byte-compile-with-output-to-temp-buffer): Remove.
3674 (byte-compile-defun): Simplify.
3675 (byte-compile-stack-adjustment): New fun.
3676 (byte-compile-out): Use it.
3677 (byte-compile-refresh-preloaded): Don't reload byte-compiler files.
3678
3679 * emacs-lisp/byte-run.el (make-obsolete): Don't set the `byte-compile'
3680 handler any more.
3681
3682 * emacs-lisp/byte-opt.el: Use lexical binding.
3683 (byte-inline-lapcode): Remove (to bytecomp).
3684 (byte-compile-inline-expand): Pay attention to inlining to/from
3685 lexically bound code.
3686 (byte-compile-unfold-lambda): Don't handle byte-code-functions
3687 any more.
3688 (byte-optimize-form-code-walker): Don't handle save-window-excursion
3689 any more and don't call compiler-macros.
3690 (byte-compile-splice-in-already-compiled-code): Remove.
3691 (byte-code): Don't inline any more.
3692 (disassemble-offset): Receive `bytes' as argument rather than via
3693 dynamic scoping.
3694 (byte-compile-tag-number): Declare before first use.
3695 (byte-decompile-bytecode-1): Handle new byte-codes, don't change
3696 `return' even if make-spliceable.
3697 (byte-compile-side-effect-and-error-free-ops): Add stack-ref, remove
3698 obsolete interactive-p.
3699 (byte-optimize-lapcode): Optimize new lap-codes.
3700 Don't trip up on new form of `byte-constant' lap code.
3701
3702 * emacs-lisp/autoload.el (make-autoload): Don't burp on trivial macros.
3703
3704 * emacs-lisp/advice.el (ad-arglist): Use help-function-arglist.
3705
3706 * custom.el (custom-initialize-default, custom-declare-variable):
3707 Use `defvar'.
3708
3709 * Makefile.in (BIG_STACK_DEPTH, BIG_STACK_OPTS, BYTE_COMPILE_FLAGS):
3710 New variables.
3711 (compile-onefile, .el.elc, compile-calc, recompile): Use them.
3712 (COMPILE_FIRST): Add macroexp and cconv.
3713 * makefile.w32-in: Mirror changes in Makefile.in.
3714
3715 * vc/cvs-status.el:
3716 * vc/diff-mode.el:
3717 * vc/log-edit.el:
3718 * vc/log-view.el:
3719 * vc/smerge-mode.el:
3720 * textmodes/bibtex-style.el:
3721 * textmodes/css.el:
3722 * startup.el:
3723 * uniquify.el:
da91b5f2
CY
3724 * minibuffer.el:
3725 * newcomment.el:
3726 * reveal.el:
3727 * server.el:
3728 * mpc.el:
3729 * emacs-lisp/smie.el:
3730 * doc-view.el:
3731 * dired.el:
03408648
SM
3732 * abbrev.el: Use lexical binding.
3733
0f0c1f27
EZ
37342011-04-01 Eli Zaretskii <eliz@gnu.org>
3735
3736 * info.el (info-display-manual): New function.
3737
c82b2579
SM
37382011-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
3739
3740 * loadup.el: Load minibuffer after loaddefs, to use define-minor-mode.
3741
221ddf68
TH
37422011-03-31 Tassilo Horn <tassilo@member.fsf.org>
3743
3744 * net/rcirc.el (rcirc-handler-001): Only authenticate, if there's
2fbc1934 3745 an entry for that server in rcirc-authinfo. (Bug#8385)
221ddf68 3746
cba6e77e
GM
37472011-03-31 Glenn Morris <rgm@gnu.org>
3748
e040639f
GM
3749 * progmodes/f90.el (f90-find-tag-default): Handle multiple `%'.
3750
cba6e77e
GM
3751 * generic-x.el (etc-fstab-generic-mode): Add ext4, sysfs keywords.
3752
6d0f1c9e
CS
37532011-03-30 Christoph Scholtes <cschol2112@googlemail.com>
3754
3755 * progmodes/python.el (python-default-interpreter)
3756 (python-python-command-args, python-jython-command-args)
3757 (python-which-shell, python-which-args, python-which-bufname)
3758 (python-file-queue, python-comint-output-filter-function)
3759 (python-toggle-shells, python-shell): Remove obsolete defcustoms,
3760 variables and functions.
3761
3e2d70fd
SM
37622011-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
3763
3764 * minibuffer.el (completion-table-dynamic): Optimize `boundaries'.
3765 (completion-in-region-mode): New minor mode.
3766 (completion-in-region): Use it.
3767 (completion-in-region--data, completion-in-region-mode-map): New vars.
3768 (completion-in-region--postch): New function.
3769 (completion--capf-misbehave-funs, completion--capf-safe-funs):
3770 New vars.
3771 (completion--capf-wrapper): New function.
3772 (completion-at-point): Use it to track well-behavedness of
3773 hook functions.
3774 (completion-help-at-point): New command.
3775
f3e4086c
JM
37762011-03-30 Jason Merrill <jason@redhat.com> (tiny change)
3777
3778 * vc/add-log.el (add-change-log-entry): Don't use whitespace
3779 syntax class to search for whitespace on a single line
3780 (Message-ID: <4D938140.4030905@redhat.com>).
3781
eb7ffc14
LL
37822011-03-30 Leo Liu <sdl.web@gmail.com>
3783
3784 * abbrev.el (abbrev-edit-save-to-file, abbrev-edit-save-buffer):
3785 New commands.
3786 (edit-abbrevs-map): Bind them here.
3787 (write-abbrev-file): New optinal arg VERBOSE. (Bug#5937)
3788
d806ab68
KM
37892011-03-29 Ken Manheimer <ken.manheimer@gmail.com>
3790
3791 * allout.el (allout-hide-by-annotation, allout-flag-region):
3792 Reduce possibility of overlay leakage by making them volatile.
3793
3794 * allout-widgets.el (allout-widgets-tally): Define as nil so the
3795 hash is not shared between buffers. Mode initialization is
3796 responsible for giving it a useful starting value.
3797 (allout-item-span): Reduce possibility of overlay leakage by
3798 making them volatile.
3799 (allout-widgets-count-buttons-in-region): Add diagnostic function
3800 for tracking down button overlay leaks.
3801
ea622834
LL
38022011-03-29 Leo Liu <sdl.web@gmail.com>
3803
3804 * ido.el (ido-read-internal): Use the default history var
3805 minibuffer-history if no HISTORY is specified.
3806
b62f8267
G
38072011-03-28 Brian T. Sniffen <bsniffen@akamai.com> (tiny change)
3808
03408648
SM
3809 * net/imap.el (imap-shell-open, imap-process-connection-type):
3810 Use imap-process-connection-type for 'shell' streams as well as
b62f8267
G
3811 Kerberos, SSL, other subprocesses.
3812
947b6566
LL
38132011-03-28 Leo Liu <sdl.web@gmail.com>
3814
3815 * abbrev.el (abbrev-table-empty-p): New function.
3816 (prepare-abbrev-list-buffer): Place empty abbrev tables after
3817 nonempty ones. (Bug#5937)
3818
5ffb62aa
JD
38192011-03-27 Jan Djärv <jan.h.d@swipnet.se>
3820
3821 * cus-start.el (all): Add boolean ns-auto-hide-menu-bar.
3822
7a097943
LL
38232011-03-27 Leo Liu <sdl.web@gmail.com>
3824
3825 * ansi-color.el (ansi-color-names-vector): Allow cons cell value
3826 for foreground and background colors.
3827 (ansi-color-make-color-map): Adapt.
3828
c5b40130
LL
38292011-03-25 Leo Liu <sdl.web@gmail.com>
3830
1f48f7d2
LL
3831 * midnight.el (midnight-time-float): Remove. Note it calculates
3832 the microsecond component incorrectly and seconds-to-time does the
3833 same job.
625897ec 3834 Remove redundant (require 'timer).
1f48f7d2 3835
c5b40130
LL
3836 * ido.el (ido-read-internal): Simplify with read-from-minibuffer.
3837 (ido-completions): Remove unused arguments. (Bug#8329)
3838
d86d2721
SM
38392011-03-24 Stefan Monnier <monnier@iro.umontreal.ca>
3840
3841 * minibuffer.el (completion--flush-all-sorted-completions):
3842 Remove itself from hook.
3843 (completion-at-point): Let the functions perform the completion
3844 immediately and return nil or t.
3845 * comint.el (comint-dynamic-complete-functions): Now identical to
3846 completion-at-point-functions.
3847 (comint-dynamic-list-input-ring): Remove unused var `index'.
3848 (comint--match-partial-filename, comint--unquote&expand-filename):
3849 New funs, split from comint-match-partial-filename.
3850 (comint-dynamic-complete): Use completion-at-point.
3851 (comint-dynamic-complete-filename): Use comint--match-partial-filename.
3852
e8974c48
DA
38532011-03-24 Drew Adams <drew.adams@oracle.com>
3854
3855 * thingatpt.el: Support `defun'.
3856
def71b5e
LL
38572011-03-23 Leo Liu <sdl.web@gmail.com>
3858
cb5af48e
LL
3859 * abbrevlist.el: Move to obsolete/abbrevlist.el.
3860
def71b5e
LL
3861 * help-mode.el (help-mode-finish): Tweak regexp.
3862
927c53e7
GM
38632011-03-23 Glenn Morris <rgm@gnu.org>
3864
18d05bed
GM
3865 * eshell/esh-opt.el (eshell-eval-using-options):
3866 Do not bind unused local variable `eshell-option-stub'.
3867
927c53e7
GM
3868 * progmodes/gdb-mi.el (gdb): Fix typo in previous change.
3869
9d0da923
JB
38702011-03-22 Juanma Barranquero <lekktu@gmail.com>
3871
3872 * emacs-lisp/derived.el (define-derived-mode): Wrap declaration of
3873 keymap variable in `with-no-warnings' to avoid a warning when the
3874 keymap has been already `defconst'ed.
3875
4b978a67
LL
38762011-03-22 Leo Liu <sdl.web@gmail.com>
3877
3878 * abbrev.el (write-abbrev-file): Use utf-8 for writing if it can
3879 encode all chars in abbrevs; otherwise use emacs-mule or
3880 utf-8-emacs. (Bug#8308)
3881
5fd62452
JB
38822011-03-22 Juanma Barranquero <lekktu@gmail.com>
3883
0b1596c6
JB
3884 * simple.el (backward-delete-char-untabify):
3885 Avoid warning about using `delete-backward-char'.
3886
5fd62452
JB
3887 * image.el (image-type-file-name-regexps): Make it variable.
3888 `imagemagick-register-types' modifies it, and the user may want
3889 to add new extensions for known image types.
3890 (imagemagick-register-types): Throw error if not using ImageMagick.
3891
0b4e93f1
LL
38922011-03-22 Leo Liu <sdl.web@gmail.com>
3893
3894 * net/rcirc.el (rcirc-completion-at-point): Return nil if point is
3895 located before rcirc-prompt-end-marker.
3896 (rcirc-complete): Error if point is not after rcirc prompt.
3897 Handle the case when table is nil.
9882e214 3898 (rcirc-user-authenticated): Define to fix compiler warning.
0b4e93f1 3899
fccee4ab
CY
39002011-03-22 Chong Yidong <cyd@stupidchicken.com>
3901
3902 * custom.el (custom--inhibit-theme-enable): Make it affect only
3903 custom-theme-set-variables and custom-theme-set-faces.
3904 (provide-theme): Ignore custom--inhibit-theme-enable.
3905 (load-theme): Enable the theme explicitly if NO-ENABLE is non-nil.
3906 (custom-enabling-themes): Delete variable.
d86d2721
SM
3907 (enable-theme): Accept only loaded themes as arguments.
3908 Ignore the special custom-enabled-themes variable.
fccee4ab
CY
3909 (custom-enabled-themes): Forbid themes from setting this.
3910 Eliminate use of custom-enabling-themes.
3911 (custom-push-theme): Quote "changed" custom var entry.
0357c7ae 3912
af896da6
LL
39132011-03-21 Leo Liu <sdl.web@gmail.com>
3914
3915 * ido.el (ido-read-internal): Add ido-selected to history instead
3916 of user input.
3917
78f64af0
SM
39182011-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
3919
3920 * subr.el (deferred-action-list, deferred-action-function):
3921 Mark obsolete.
3922
b16ac1ec
LL
39232011-03-21 Leo Liu <sdl.web@gmail.com>
3924
810f7698
LL
3925 * vc/log-view.el: Remove (require 'wid-edit), not needed after the
3926 change on 2011-02-13 (bug#8309).
3927
b16ac1ec
LL
3928 * minibuffer.el (read-file-name-function): Change default value.
3929 (read-file-name--defaults): Rename from read-file-name-defaults.
3930 (read-file-name-default): Rename from read-file-name.
3931 (read-file-name): Call read-file-name-function.
3932
4e05e67e
GM
39332011-03-21 Glenn Morris <rgm@gnu.org>
3934
3935 * eshell/esh-opt.el (eshell-eval-using-options, eshell-process-args):
3936 Doc fixes.
3937
4359915b
CY
39382011-03-21 Chong Yidong <cyd@stupidchicken.com>
3939
3940 * cus-theme.el: Add missing provide statement.
3941 (customize-create-theme): Extract theme value correctly.
3942 (custom-theme-visit-theme): Autoload.
3943 (customize-create-theme): Prompt before inserting default faces.
3944
1fe275ee
JB
39452011-03-20 Jay Belanger <jay.p.belanger@gmail.com>
3946
3947 * calc/calc-menu.el (calc-units-menu): Add entries for logarithmic
3948 units and musical notes.
3949
3ec03f7e
LL
39502011-03-20 Leo <sdl.web@gmail.com>
3951
3952 * ido.el (ido-read-internal): Use completing-read-default.
3953 (ido-completing-read): Fix compatibility with completing-read.
3954
7d476bde
CO
39552011-03-20 Christian Ohler <ohler@gnu.org>
3956
3957 * emacs-lisp/ert.el (ert-run-tests-batch): Remove unused variable.
3958 (ert-delete-all-tests): Use `called-interactively-p' rather than
3959 `interactive-p'.
3960 (ert--make-xrefs-region): Respect END.
3961
fe0fb33e
CY
39622011-03-19 Chong Yidong <cyd@stupidchicken.com>
3963
ff854b0b
CY
3964 * dired-aux.el (dired-create-directory): Signal an error if the
3965 directory already exists (Bug#8246).
3966
fe0fb33e
CY
3967 * facemenu.el (list-colors-display): Call list-faces-display
3968 inside with-help-window.
3969 (list-colors-print): Use display property to align the final
3970 column, instead of checking window-width.
3971
576bce32
EZ
39722011-03-19 Eli Zaretskii <eliz@gnu.org>
3973
3974 * emerge.el (emerge-metachars): Separate value for ms-dos and
3975 windows-nt systems.
3976 (emerge-protect-metachars): Quote correctly for ms-dos and
3977 windows-nt systems.
3978
89c41d68 39792011-03-19 Ralph Schleicher <rs@ralph-schleicher.de>
e6ce307c
RS
3980
3981 * info.el (info-initialize): Replace all uses of `:' with
3982 path-separator for compatibility with non-Unix systems.
3983 Cache quoting of path-separator. (Bug#8258)
3984
b14e3e21 39852011-03-19 Juanma Barranquero <lekktu@gmail.com>
ad22b7f7
JB
3986
3987 * avoid.el (mouse-avoidance-mode, mouse-avoidance-nudge-dist)
3988 (mouse-avoidance-threshold, mouse-avoidance-banish-destination)
3989 (mouse-avoidance-mode): Fix typos in docstrings.
3990
4525ce3e
CY
39912011-03-19 Chong Yidong <cyd@stupidchicken.com>
3992
3993 * startup.el (package-subdirectory-regexp): Move from package.el.
3994 Omit \\` and \\', and let callers add them.
3995
3996 * emacs-lisp/package.el (package-strip-version)
3997 (package-load-all-descriptors): Add \\` and \\' to
3998 package-subdirectory-regexp before using it.
3999 (package-untar-buffer): New arg DIR; ensure that file untars only
4000 into this expected directory. Remove superfluous delete-region.
4001 (package-unpack): Caller changed.
4002 (package-tar-file-info): Use package-subdirectory-regexp.
4003
a904a09a 40042011-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
1518e4f0 4005
a904a09a
SM
4006 * vc/diff-mode.el (diff-mode-map): Shadow problematic bindings from
4007 diff-mode-shared-map (bug#8284).
4008 (diff-mode-shared-map): Re-introduce some bindings that were problematic.
1518e4f0
G
4009
40102011-03-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
4011
4012 * calendar/time-date.el (format-seconds): Use assoc instead of
4013 assoc-string, since assoc-string doesn't exist in XEmacs.
4014
171fc304
JB
40152011-03-17 Juanma Barranquero <lekktu@gmail.com>
4016
4017 * custom.el (custom-known-themes): Reflow docstring.
4018 (custom-theme-load-path): Fix typo in docstring.
4019 (load-theme): Fix typo in error message.
4020 (custom-available-themes, custom-variable-theme-value):
4021 Use `let', not `let*'.
4022
d71990a1
JB
40232011-03-17 Jay Belanger <jay.p.belanger@gmail.com>
4024
4025 * calc/README: Mention inclusion of musical notes.
4026
4027 * calc/calc-units.el (calc-lu-quant): Rename from
4028 `calc-logunits-quantity'.
4029 (calcFunc-lupquant): Rename from `calcFunc-powerquant'.
4030 (calcFunc-lufquant): Rename from `calcFunc-fieldquant'.
4031 (calc-db): Rename from `calc-dblevel'.
4032 (calcFunc-dbpower): Rename from `calcFunc-dbpowerlevel'.
4033 (calcFunc-dbfield): Rename from `calcFunc-dbfieldlevel'.
4034 (calc-np): Rename from `calc-nplevel'.
4035 (calcFunc-nppower): Rename from `calcFunc-nppowerlevel'.
4036 (calcFunc-npfield): Rename from `calcFunc-npfieldlevel'.
4037 (calc-lu-plus): Rename from `calc-logunits-add'.
4038 (calcFunc-lupadd): Rename from `calcFunc-lupoweradd'.
4039 (calcFunc-lufadd): Rename from `calcFunc-lufieldadd'.
4040 (calc-lu-minus): Rename from `calc-logunits-sub'.
4041 (calcFunc-lupsub): Rename from `calcFunc-lupowersub'.
4042 (calcFunc-lufsub): Rename from `calcFunc-lufieldsub'.
4043 (calc-lu-times): Rename from `calc-logunits-mul'.
4044 (calcFunc-lupmul): Rename from `calcFunc-lupowermul'.
4045 (calcFunc-lufmul): Rename from `calcFunc-lufieldmul'.
4046 (calc-lu-divide): Rename from `calc-logunits-div'.
4047 (calcFunc-lupdiv): Rename from `calcFunc-lupowerdiv'.
4048 (calcFunc-lufdiv): Rename from `calcFunc-lufielddiv'.
4049
4050 * calc/calc-ext.el (calc-init-extensions): Update the names of the
4051 functions being autoloaded.
4052
4053 * calc/calc.el (calc-lu-power-reference): Rename from
4054 `calc-logunits-power-reference'.
4055 (calc-lu-field-reference): Rename from
4056 `calc-logunits-field-reference'.
4057
4058 * calc/calc-help (calc-l-prefix-help): Mention musical note functions.
4059
40c2934b
SM
40602011-03-17 Stefan Monnier <monnier@iro.umontreal.ca>
4061
4062 * minibuffer.el (completion-all-sorted-completions):
4063 Use :completion-cycle-penalty text property if present.
4064
b0911414
KM
40652011-03-16 Ken Manheimer <ken.manheimer@gmail.com>
4066
4067 * allout.el (allout-yank-processing): Adjust for new rebulleting
4068 regime so bullet being yanked is used without prompting the user
4069 for a choice.
4070
8a05b668
JB
40712011-03-16 Juanma Barranquero <lekktu@gmail.com>
4072
4073 * startup.el (command-line): Warn the user that _emacs is deprecated.
4074
5ba5fb81
JB
40752011-03-16 Juanma Barranquero <lekktu@gmail.com>
4076
4077 * progmodes/delphi.el (delphi-search-path, delphi-indent-level)
4078 (delphi-verbose, delphi-comment-face, delphi-string-face)
4079 (delphi-keyword-face, delphi-ignore-changes, delphi-indent-line)
4080 (delphi-mode-abbrev-table, delphi-debug-buffer, delphi-tab)
4081 (delphi-find-unit, delphi-find-current-xdef, delphi-fill-comment)
4082 (delphi-new-comment-line, delphi-font-lock-defaults)
4083 (delphi-debug-mode-map, delphi-mode-syntax-table, delphi-mode):
4084 Fix typos in docstrings.
4085
2dab465b
KM
40862011-03-15 Ken Manheimer <ken.manheimer@gmail.com>
4087
5ba5fb81 4088 * allout.el (allout-make-topic-prefix, allout-rebullet-heading):
2dab465b
KM
4089 Invert the roles of character and string values for INSTEAD, so a
4090 string is used for the more common case of a defaulting prompt.
4091
0adf5618
SM
40922011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
4093
4094 * progmodes/ruby-mode.el (ruby-backward-sexp):
4095 * progmodes/ebrowse.el (ebrowse-draw-file-member-info):
4096 * play/gamegrid.el (gamegrid-make-face):
4097 * play/bubbles.el (bubbles--grid-width, bubbles--grid-height)
4098 (bubbles--colors, bubbles--shift-mode, bubbles--initialize-images):
4099 * notifications.el (notifications-notify):
4100 * net/xesam.el (xesam-search-engines):
4101 * net/quickurl.el (quickurl-list-insert):
4102 * vc/vc-hg.el (vc-hg-dir-printer): Fix use of case.
4103
d72700e5
CY
41042011-03-15 Chong Yidong <cyd@stupidchicken.com>
4105
4106 * startup.el (command-line): Update package subdirectory regexp.
4107
49c5410a
SM
41082011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
4109
c6eee9aa
SM
4110 * allout.el (allout-abbreviate-flattened-numbering)
4111 (allout-mode-deactivate-hook): Fix up obsolescence "date".
4112
49c5410a
SM
4113 * subr.el (read-char-choice): Only show the cursor after the prompt,
4114 not after the answer.
4115
047b2bb9
KR
41162011-03-15 Kevin Ryde <user42@zip.com.au>
4117
4118 * help-fns.el (variable-at-point): Skip leading quotes, if any
4119 (bug#8253).
4120
0a57d256
SM
41212011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
4122
4123 * emacs-lisp/bytecomp.el (byte-compile-save-excursion): Change the
4124 warning message.
4125
77c992bc
MA
41262011-03-14 Michael Albinus <michael.albinus@gmx.de>
4127
4128 * shell.el (shell): When called interactively, offer to change the
4129 shell file name on remote hosts.
4130
eebc475d
TZ
41312011-03-13 Teodor Zlatanov <tzz@lifelogs.com>
4132
4133 * net/ldap.el (ldap-search-internal): Add `auth-source-search'
4134 integration for LDAP parameters. The host, base, user or binddn,
4135 and secret tokens can be specified in a netrc file, for instance.
4136 This is optional because an `auth-source' parameter must be
4137 specified in the search attributes.
4138
9d05d1ba
JB
41392011-03-13 Juanma Barranquero <lekktu@gmail.com>
4140
4141 * help.el (describe-mode): Link to the mode's definition (bug#8185).
4142
09d9db2c
GM
41432011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
4144
4145 * ebuff-menu.el (electric-buffer-menu-mode-map): Move initialization
4146 into declaration. Remove redundant and harmful binding.
4147
41482011-03-12 Eli Zaretskii <eliz@gnu.org>
4149
4150 * files.el (file-ownership-preserved-p): Pass `integer' as an
4151 explicit 2nd argument to `file-attributes'. If the file's owner
4152 is the Administrators group on Windows, and the current user is
4153 Administrator, consider that a match.
4154
4155 * server.el (server-ensure-safe-dir): Consider server directory
4156 safe on MS-Windows if its owner is the Administrators group while
4157 the current Emacs user is Administrator. Use `=' to compare
4158 numerical UIDs, since they could be integers or floats.
4159
219bd536
JB
41602011-03-12 Juanma Barranquero <lekktu@gmail.com>
4161
4162 * vc/vc-bzr.el (vc-bzr-state): Handle bzr 2.3.0 (follow-up to bug#8170).
4163
f3afd36b
MA
41642011-03-12 Michael Albinus <michael.albinus@gmx.de>
4165
4166 Sync with Tramp 2.2.1.
4167
4168 * net/tramp-sh.el (tramp-methods): Exchange "%k" marker with options.
4169
4170 * net/trampver.el: Update release number.
4171
3aaaa6f1
SM
41722011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
4173
94642599
SM
4174 * progmodes/compile.el (compilation--previous-directory): Fix up
4175 various nil/dead-marker mismatches (bug#8014).
4176 (compilation-directory-properties, compilation-error-properties):
4177 Don't call it at a position past the one we're about to change.
4178
3aaaa6f1
SM
4179 * emacs-lisp/bytecomp.el (byte-compile-make-obsolete-variable):
4180 Disable obsolescence warnings in the file that declares it.
4181
14239447
KM
41822011-03-11 Ken Manheimer <ken.manheimer@gmail.com>
4183
099c39a4
JB
4184 * allout-widgets.el (allout-widgets-tally):
4185 Initialize allout-widgets-tally as a hash table rather than nil to
4186 prevent mode-line redisplay warnings. Also, clarify the module
4187 description and fix a comment typo.
14239447 4188
135e287c
JB
41892011-03-11 Juanma Barranquero <lekktu@gmail.com>
4190
4191 * help-fns.el (describe-variable): Don't complete keywords.
4192 Suggested by Teodor Zlatanov <tzz@lifelogs.com>.
4193
ffbf300e
CY
41942011-03-10 Chong Yidong <cyd@stupidchicken.com>
4195
ba08b241
CY
4196 * emacs-lisp/package.el (package-version-join): Impose a standard
4197 string representation for pre/alpha/beta version lists.
4198 (package-unpack-single): Standardize the directory name by passing
4199 it through package-version-join.
4200 (package-strip-rcs-id): Accept any version string that does not
4201 signal an error in version-to-list.
ffbf300e 4202
f346fd6b
MA
42032011-03-10 Michael Albinus <michael.albinus@gmx.de>
4204
4205 * simple.el (delete-trailing-whitespace): Return nil for the
4206 benefit of `write-file-functions'.
4207
ccb55d27
GM
42082011-03-10 Glenn Morris <rgm@gnu.org>
4209
5ceaac0c
GM
4210 * vc/vc-hg.el (vc-hg-pull, vc-hg-merge-branch): Use vc-hg-program.
4211
02da65ff
GM
4212 * vc/vc-git.el (vc-git-program): New option.
4213 (vc-git-branches, vc-git-pull, vc-git-merge-branch, vc-git-command)
4214 (vc-git--call): Use it.
4215
b2f603cc
GM
4216 * eshell/esh-util.el (eshell-condition-case): Doc fix.
4217
5772caab
GM
4218 * cus-edit.el (Custom-newline): If no button at point, look
4219 for a subgroup button at start-of-line. (Bug#2298)
4220
ccb55d27
GM
4221 * mail/rmail.el (rmail-msgend, rmail-msgbeg): Doc fixes.
4222
ec6ecaed
JD
42232011-03-10 Julien Danjou <julien@danjou.info>
4224
4225 * avoid.el (mouse-avoidance-ignore-p): Do not move the cursor if
4226 `cursor-type' is nil.
4227
9d5aa01d
JB
42282011-03-09 Jay Belanger <jay.p.belanger@gmail.com>
4229
4230 * calc/calc.el (calc-mode-map): Don't bind "C-_" to `calc-missing-key'.
4231
b6a5875b
KM
42322011-03-09 Ken Manheimer <ken.manheimer@gmail.com>
4233
4234 * allout.el Summary: Change so yank of distinctive-bullet items
4235 preserves the existing header prefix, rebulleting it if necessary,
4236 rather than replacing it. This is necessary for proper operation
4237 of cooperative addons like allout-widgets.
219bd536 4238 (allout-make-topic-prefix, allout-rebullet-heading): Change
b6a5875b
KM
4239 SOLICIT arg to INSTEAD, and interpret additionally a string value
4240 as alternate bullet to be used, instead of prompting the user for
4241 a bullet character.
4242
ee545c35
MA
42432011-03-09 Michael Albinus <michael.albinus@gmx.de>
4244
d86d2721
SM
4245 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
4246 Do not use `tramp-file-name-port', because this returns also
ee545c35
MA
4247 `tramp-default-port'.
4248
c47971d7
DD
42492011-03-09 Deniz Dogan <deniz.a.m.dogan@gmail.com>
4250
4251 * net/rcirc.el (rcirc-handler-001): Remove useless
4252 with-rcirc-process-buffer.
4253 (rcirc-check-auth-status): Swap arguments to string-match.
4254
13522cb4
GM
42552011-03-09 Glenn Morris <rgm@gnu.org>
4256
0be6f4f1
GM
4257 * shell.el (shell-mode):
4258 Set comint-input-ring-size from HISTSIZE. (Bug#7889)
4259
13522cb4
GM
4260 * progmodes/gdb-mi.el (gdb): Improve 2010-12-08 change.
4261 Check for GDBHISTFILE, HISTSIZE, etc. (Bug#7889)
4262
515de2e3
CY
42632011-03-08 Chong Yidong <cyd@stupidchicken.com>
4264
4265 * emacs-lisp/package.el (package-refresh-contents)
4266 (package-menu-execute): Use condition-case-no-debug.
4267
b511b994
MA
42682011-03-08 Michael Albinus <michael.albinus@gmx.de>
4269
4270 * simple.el (shell-command-to-string): Use `process-file'.
4271
4272 * emacs-lisp/package.el (package-tar-file-info): Handle also
4273 remote files.
4274
d86d2721
SM
4275 * emacs-lisp/package-x.el (package-upload-buffer-internal):
4276 Use `equal' for upload base check.
b511b994 4277
25bbfb31
AM
42782011-03-08 Arni Magnusson <arnima@hafro.is> (tiny change)
4279
4280 * textmodes/texinfo.el (texinfo-environments):
4281 Add deftypecv, deftypeivar, deftypemethod, deftypeop, html. (Bug#2783)
4282
be996521
GM
42832011-03-08 Glenn Morris <rgm@gnu.org>
4284
e9c8529f
GM
4285 * cus-start.el (cursor-in-non-selected-windows):
4286 Fix :set quoting oddness. (Bug#8192)
4287
be996521
GM
4288 * font-lock.el (lisp-font-lock-keywords-1): Don't highlight `)'
4289 in some setf expressions. (Bug#2159)
4290
2bb5649e
CY
42912011-03-08 Chong Yidong <cyd@stupidchicken.com>
4292
4293 * custom.el (custom-available-themes): Return themes in
4294 alphabetical order.
4295
33383987 4296See ChangeLog.15 for earlier changes.
e3d51b27
MR
4297
4298;; Local Variables:
4299;; coding: utf-8
e3d51b27
MR
4300;; End:
4301
33383987 4302 Copyright (C) 2011 Free Software Foundation, Inc.
e3d51b27
MR
4303
4304 This file is part of GNU Emacs.
4305
4306 GNU Emacs is free software: you can redistribute it and/or modify
4307 it under the terms of the GNU General Public License as published by
4308 the Free Software Foundation, either version 3 of the License, or
4309 (at your option) any later version.
4310
4311 GNU Emacs is distributed in the hope that it will be useful,
4312 but WITHOUT ANY WARRANTY; without even the implied warranty of
4313 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
4314 GNU General Public License for more details.
4315
4316 You should have received a copy of the GNU General Public License
4317 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.