Minor smtpmail.el fixes.
[bpt/emacs.git] / lisp / ChangeLog
CommitLineData
e5f1c99e
GM
12011-08-25 Glenn Morris <rgm@gnu.org>
2
3 * mail/smtpmail.el (smtpmail-smtp-user): Add version: tag.
4 (smtpmail-via-smtp): Handle nil response from smtp.
5
f22f4808
JL
62011-08-24 Juri Linkov <juri@jurta.org>
7
8 * proced.el (proced-marked): Inherit from `error' instead of
9 `font-lock-warning-face'.
10
11 * ibuffer.el (ibuffer-marked-face): Change default face from
12 `font-lock-warning-face' to `warning'.
13 (ibuffer-deletion-face): Change default face from
14 `font-lock-type-face' to `error'.
15
16 * battery.el (battery-update): Use the face `error' instead of
17 `font-lock-warning-face' (bug#6117).
18
6a93965e
JL
192011-08-24 Juri Linkov <juri@jurta.org>
20
21 * faces.el (success): Change face color from "Green3" to
22 "ForestGreen" on light background (bug#9353).
23
1ed43b09
CY
242011-08-24 Chong Yidong <cyd@stupidchicken.com>
25
26 * window.el (quit-window): Renamed from quit-restore-window. Use
27 same arglist as old quit-window.
28 (frame-auto-delete): Doc fix.
29
30 * view.el (view-mode-exit): Use quit-window.
31
11dcdbb2
JL
322011-08-24 Juri Linkov <juri@jurta.org>
33
34 * isearch.el (isearch-ring-adjust1): Start visiting previous
35 search strings from the index 0 (-1 + 1) instead of 1 (0 + 1).
36 (isearch-repeat, isearch-edit-string): Call `isearch-ring-adjust1'
37 for empty search string (when the last search string is reused
38 automatically) to adjust the isearch ring to the last element and
39 prepare the correct index for further M-p commands (bug#9185).
40
de62b4df
KH
412011-08-24 Kenichi Handa <handa@m17n.org>
42
43 * international/ucs-normalize.el: If decomposition property of
44 CHAR is the default one (i.e. a list of CHAR itself), treat it as
45 nil.
46 (nfd, nfkd): Likewise.
47
963b492b
SM
482011-08-24 Stefan Monnier <monnier@iro.umontreal.ca>
49
50 * mpc.el (mpc--proc-filter): Don't signal mpc-proc-error since signals
51 from process filters aren't reliably transmitted to the surrounding
52 accept-process-output.
53 (mpc-proc-check): New function.
54 (mpc-proc-sync): Use it (bug#8293)
55
93b6b5e1
SM
562011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
57
58 * emacs-lisp/eieio.el (eieio-defmethod, eieio-defgeneric):
59 Add compatibility functions (bug#9313).
60
bca633fb
EZ
612011-08-23 Eli Zaretskii <eliz@gnu.org>
62
b177498a
EZ
63 * cus-start.el (all): Add entry for bidi-paragraph-direction.
64
bca633fb
EZ
65 * international/uni-bidi.el: Regenerated.
66
0902a04e
KH
672011-08-23 Kenichi Handa <handa@m17n.org>
68
69 * international/charprop.el:
70 * international/uni-bidi.el:
71 * international/uni-category.el:
72 * international/uni-combining.el:
73 * international/uni-comment.el:
74 * international/uni-decimal.el:
75 * international/uni-decomposition.el:
76 * international/uni-digit.el:
77 * international/uni-lowercase.el:
78 * international/uni-mirrored.el:
79 * international/uni-name.el:
80 * international/uni-numeric.el:
81 * international/uni-old-name.el:
82 * international/uni-titlecase.el:
83 * international/uni-uppercase.el: Regenerate.
84
3bbf23bc
MR
852011-08-23 Martin Rudalics <rudalics@gmx.at>
86
87 * help.el (help-window-setup): Fix message displayed when other
88 window is reused. (Bug#9341)
89
b3fd59bd
SM
902011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
91
1802e444
SM
92 * shell.el (shell-completion-vars): Set pcomplete-arg-quote-list.
93 * pcomplete.el (pcomplete-quote-argument): Fix thinko (bug#9161).
94
b3fd59bd
SM
95 * pcomplete.el (pcomplete-parse-comint-arguments): Fix inf-loop.
96 Mark obsolete.
97 * shell.el (shell-parse-pcomplete-arguments): New function.
98 (shell-completion-vars): Use it instead (bug#9160).
99
4eb61348
SM
1002011-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
101
867cab74
SM
102 * progmodes/sh-script.el (sh-maybe-here-document): Disable magic in
103 strings and comments (bug#9333).
104
4eb61348
SM
105 * emacs-lisp/debug.el (debug-arglist): New function.
106 (debug-convert-byte-code): Use it. Handle lexical byte-codes.
107 (debug-on-entry-1): Handle interpreted closures (bug#9120).
108
262a1439
JL
1092011-08-22 Juri Linkov <juri@jurta.org>
110
56ee679c
JL
111 * progmodes/compile.el (compilation-mode-font-lock-keywords):
112 Revert regexp that highlights output switches to its old
113 pre-2010-10-28 value and remove one `?' from it (bug#9319).
114
262a1439
JL
115 * progmodes/grep.el (grep-process-setup): Use `buffer-modified-p'
116 to check for empty output (bug#9226).
117
f13f86fb
CY
1182011-08-22 Chong Yidong <cyd@stupidchicken.com>
119
120 * progmodes/scheme.el (scheme-mode-syntax-table): Don't use
121 symbol-constituent as the default, as that stops font-lock from
122 working properly (Bug#8843).
123
c65c9622
LMI
1242011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
125
126 * mail/smtpmail.el (smtpmail-via-smtp): Only bind
127 `coding-system-for-*' around the process open call to avoid
128 auth-source side effects.
e7f2c178 129 (smtpmail-try-auth-methods): Expand the secret password.
7185da52
LMI
130 (smtpmail-query-smtp-server): Allow `quit'-ing out in case the
131 probe hangs.
c65c9622 132
23a8a5ab
CY
1332011-08-21 Chong Yidong <cyd@stupidchicken.com>
134
ff98b2dd
CY
135 * term.el (term-mouse-paste): Yank primary selection (Bug#6845).
136
23a8a5ab
CY
137 * emacs-lisp/find-func.el (find-function-noselect): New arg
138 lisp-only.
139
140 * emacs-lisp/edebug.el (edebug-instrument-function): Use it to
141 signal an error for built-in functions (Bug#6664).
142
f5e3c598
LMI
1432011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
144
145 * mail/smtpmail.el (smtpmail-smtp-user): New variable.
146 (smtpmail-try-auth-methods): Use it.
147
a3f2468a
CY
1482011-08-21 Chong Yidong <cyd@stupidchicken.com>
149
2c34e8da
CY
150 * font-lock.el (font-lock-fontify-region)
151 (font-lock-unfontify-region, font-lock-default-fontify-buffer)
152 (font-lock-default-unfontify-buffer)
153 (font-lock-default-fontify-region)
154 (font-lock-default-unfontify-region): Add docstrings (Bug#8624).
155
b3fd59bd
SM
156 * progmodes/compile.el (compilation-error-properties):
157 Fix confusion between file struct and message struct (Bug#9319).
02e5c89e
CY
158 (compilation-error-regexp-alist-alist): Fix 2011-05-09 change to
159 `ant' regexp.
ee31aabc 160
a3f2468a
CY
161 * net/browse-url.el (browse-url-firefox): Don't call
162 browse-url-firefox-sentinel unless using -remote (Bug#9328).
163
8e999f70
GM
1642011-08-20 Glenn Morris <rgm@gnu.org>
165
c21a496a
GM
166 * tutorial.el (help-with-tutorial): Avoid an error on short screens.
167
59ee0542
GM
168 * tutorial.el (tutorial--default-keys): Update some default bindings.
169
8e999f70
GM
170 * files.el (hack-local-variables): Fully ignore case for "mode:".
171
e3715033
AM
1722011-08-20 Alan Mackenzie <acm@muc.de>
173
174 Resolve invalid use of a regexp in regexp-opt.
175
176 * cc-fonts.el (c-complex-decl-matchers): Add in special detection
177 for a java annotation.
178
179 * cc-engine.el (c-forward-decl-or-cast-1): Add in special
180 detection for a java annotation.
181
182 * cc-langs.el (c-prefix-spec-kwds-re): Remove the special handling
183 for java.
184 (c-modifier-kwds): Remove the regexp "@[A-za-z0-9]+".
185
04ed2e9c
CY
1862011-08-20 Chong Yidong <cyd@stupidchicken.com>
187
188 * startup.el (normal-top-level-add-subdirs-to-load-path): Doc fix
189 (Bug#9274).
190
826cee64
AM
1912011-08-20 Alan Mackenzie <acm@muc.de>
192
193 * Fontify CPP expressions correctly when starting in the middle of
194 such a construct. Mainly for when jit-lock etc. starts a chunk
195 here.
196
197 * progmodes/cc-fonts.el (c-font-lock-context): new buffer local
198 variable.
199 (c-make-font-lock-search-form): new function, extracted from
200 c-make-font-lock-search-function.
201 (c-make-font-lock-search-function): Use the above function.
202 (c-make-font-lock-context-search-function): New function.
203 (c-cpp-matchers): Enhance the preprocessor expression case with
204 the above function
205 (c-font-lock-complex-decl-prepare): Test for being in a CPP form
206 which takes an expression.
207
208 * progmodes/cc-langs.el (c-cpp-expr-intro-re): New lang-variable.
209
13009bd8
MR
2102011-08-20 Martin Rudalics <rudalics@gmx.at>
211
212 * window.el (display-buffer-reuse-window)
213 (display-buffer-pop-up-window): Don't reuse or split a side
214 window.
215
9234ff7f
GM
2162011-08-19 Glenn Morris <rgm@gnu.org>
217
218 * files.el (hack-local-variables-prop-line, hack-local-variables):
219 Downcase "Mode:". (Bug#9331)
220
f635daa1
CY
2212011-08-18 Chong Yidong <cyd@stupidchicken.com>
222
223 * international/characters.el: Add L and R categories.
224
225 * subr.el (bidi-string-mark-left-to-right): Rename from
226 string-mark-left-to-right. Use category search.
227
228 * buff-menu.el (Buffer-menu-buffer+size): Callers changed.
229
bc987f8b
JL
2302011-08-18 Juri Linkov <juri@jurta.org>
231
232 * faces.el (error, warning, success): New faces with definitions
233 copied from old default values of `font-lock-warning-face',
234 `compilation-warning', `compilation-info' (bug#6117).
235
236 * font-lock.el (font-lock-warning-face): Inherit from `error'.
237
238 * progmodes/compile.el (compilation-error): Inherit from `error'.
239 (compilation-warning): Inherit from `warning'.
240 (compilation-info): Inherit from `success'.
241
242 * dired.el (dired-marked): Inherit from `warning'.
243 (dired-flagged): Inherit from `error'.
244
57173b96
LMI
2452011-08-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
246
3e79eb87
LMI
247 * mail/smtpmail.el (auth-source): Require to avoid problems with
248 binding variables (bug#9298). Also clean up some unused
249 autoloads.
250
b3fd59bd
SM
251 * net/network-stream.el (network-stream-open-starttls):
252 Support using starttls.el without using gnutls-cli.
57173b96 253
02b404de
JL
2542011-08-17 Juri Linkov <juri@jurta.org>
255
256 * progmodes/grep.el (rgrep): Handle the case when
257 `grep-find-command' is a cons cell (bug#9278).
258
8c9177f2
MR
2592011-08-17 Martin Rudalics <rudalics@gmx.at>
260
261 * window.el (display-buffer-pop-up-frame): Run frame creation
262 function with BUFFER current (as special-display-popup-frame
263 does). Reported by Drew Adams.
264
3644a0ab
DU
2652011-08-17 Daiki Ueno <ueno@unixuser.org>
266
267 * epa-mail.el: Simplify GnuPG group expansion using
268 epg-expand-group.
269 (epa-mail-group-alist, epa-mail-group-modtime)
270 (epa-mail-gnupg-conf-file, epa-mail-parse-groups)
271 (epa-mail-sync-groups, epa-mail-expand-recipient-1)
272 (epa-mail-expand-recipients-2, epa-mail-expand-recipients):
273 Remove.
274
7c643369
FL
2752011-08-16 Feng Li <fengli@gmail.com> (tiny change)
276
277 * calc/calc-ext.el (math-defintegral-2): Remove nested backquote.
278
9c4aeabf
AM
2792011-08-16 Alan Mackenzie <acm@muc.de>
280
281 * progmodes/cc-engine.el (c-state-cache-non-literal-place):
282 Correct, to avoid the inside of macros.
283
3a99bf64
RS
2842011-08-16 Richard Stallman <rms@gnu.org>
285
04963aa8
RS
286 * epa-mail.el: Handle GnuPG group definitions.
287 (epa-mail-group-alist, epa-mail-group-modtime)
288 (epa-mail-gnupg-conf-file): New variables.
289 (epa-mail-parse-groups, epa-mail-sync-groups)
290 (epa-mail-expand-recipient-1, epa-mail-expand-recipients-2)
291 (epa-mail-expand-recipients): New functions.
292 (epa-mail-encrypt): Call epa-mail-expand-recipients.
293
177549d0
RS
294 * mail/rmail.el (rmail-epa-decrypt): New command.
295
fe38beef
RS
296 * epa.el (epa-decrypt-region): New arg MAKE-BUFFER-FUNCTION.
297 Don't bind buffer-read-only, just inhibit-read-only.
3a99bf64
RS
298 (epa--find-coding-system-for-mime-charset): Fix the non-xemacs case.
299 (epa-decrypt-armor-in-region): Make error message clearer.
300
934eacb9
SM
3012011-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
302
303 * minibuffer.el (completion-pcm--merge-completions): Don't merge "a1b"
304 and "a2b" to "ab" for `prefix'.
305
d024fb4e
CY
3062011-08-14 Chong Yidong <cyd@stupidchicken.com>
307
308 * ibuf-ext.el (ibuffer-filter-disable): New arg for deleting
309 filter groups.
de148fee
CY
310 (ibuffer-included-in-filter-p-1): Use it. Suggested by Rafaël
311 Fourquet (Bug#8804).
d024fb4e 312
62f1ca49
JB
3132011-08-12 Juanma Barranquero <lekktu@gmail.com>
314
315 * startup.el (argi): Declare as global variable (bug#9275).
316
9ccaaa4b
CY
3172011-08-12 Chong Yidong <cyd@stupidchicken.com>
318
319 * subr.el (string-mark-left-to-right): Search the entire string
320 for RTL script, not just the terminating character. Doc fix.
321
a3dae87a
SM
3222011-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
323
6cd18349
SM
324 * progmodes/js.el (js-syntax-propertize, js-syntax-propertize-regexp):
325 New function.
326 (js--regexp-literal, js-syntax-propertize-function): Remove.
327 (js-mode): Use js-syntax-propertize to handle multilines (bug#9183).
328 (js-mode-map): Don't rebind electric keys.
329 (js-insert-and-indent): Remove.
330 (js-mode): Setup electric-layout and electric-indent instead.
331
a3dae87a
SM
332 * epa-file.el (epa-file-select-keys): Revert to nil default (bug#9280).
333
9d5cb631
DU
3342011-08-12 Daiki Ueno <ueno@unixuser.org>
335
336 * epa.el (epa-progress-callback-function): Fix the logic of
337 displaying progress.
338 * epa-file.el (epa-file-insert-file-contents): Make progress
339 display more user-friendly.
340 (epa-file-write-region): Ditto.
341
3e26a4a2
CY
3422011-08-10 Chong Yidong <cyd@stupidchicken.com>
343
344 * subr.el (string-mark-left-to-right): New function.
345
346 * buff-menu.el (Buffer-menu-buffer+size): Remove LRM argument.
347 Use string-mark-left-to-right.
348 (list-buffers-noselect): Caller changed.
349
a3dae87a
SM
350 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
351 Use string-mark-left-to-right.
3e26a4a2
CY
352 (tabulated-list-print): Recenter after moving point.
353
ac8cf6e6
JL
3542011-08-10 Juri Linkov <juri@jurta.org>
355
356 * progmodes/grep.el (rgrep): Don't bind `process-connection-type'.
357 This finishes incomplete reversion of 2011-06-30T01:09:13Z!larsi@gnus.org
358 intended by 2011-07-06T15:49:19Z!larsi@gnus.org.
359
8d96c9a4
CY
3602011-08-09 Chong Yidong <cyd@stupidchicken.com>
361
362 * hi-lock.el (hi-lock-unface-buffer): Fix interactive spec
363 (Bug#7554).
364
7be1c708 3652011-08-09 Andreas Schwab <schwab@linux-m68k.org>
29bbcfa7
AS
366
367 * xt-mouse.el (xterm-mouse-event-read): Try to recover the raw
368 character. (Bug#6594)
369
37e11a63
CY
3702011-08-08 Chong Yidong <cyd@stupidchicken.com>
371
839dde57
CY
372 * image-dired.el: Don't use find-file for temporary work (Bug#7895).
373 (image-dired--with-db-file): New macro.
374 (image-dired-write-tags, image-dired-remove-tag)
375 (image-dired-create-gallery-lists, image-dired-write-comments)
376 (image-dired-get-comment, image-dired-mark-tagged-files)
377 (image-dired-list-tags, image-dired-gallery-generate): Use it.
378 (image-dired-gallery-generate): Use insert-file-contents.
379
37e11a63
CY
380 * time.el (display-time-world-list, display-time-world-display):
381 * time-stamp.el (time-stamp-string):
382 * vc/add-log.el (add-change-log-entry): Use setenv instead of
383 set-time-zone-rule (Bug#7337).
384
0b4946c4
DU
3852011-08-08 Daiki Ueno <ueno@unixuser.org>
386
387 * epg.el (epg--status-KEYEXPIRED, epg--status-KEYREVOKED): Fix typo.
388 (epg-error-to-string, epg-errors-to-string): New function.
389 (epg-wait-for-completion): Reverse errors list.
390 (epg--check-error-for-decrypt, epg-sign-file, epg-sign-string)
391 (epg-encrypt-file, epg-encrypt-string, epg-export-keys-to-file)
392 (epg--import-keys-1, epg-receive-keys, epg-delete-keys)
393 (epg-sign-keys, epg-generate-key-from-file)
394 (epg-generate-key-from-string): Format errors by using
395 epg-errors-to-string (bug#9255).
396 (epg--status-INV_SGNR, epg--status-NO_SGNR): New status handler.
397
75bfc667
JL
3982011-08-07 Juri Linkov <juri@jurta.org>
399
400 * faces.el (list-faces-display): Remove extra angle bracket
401 from `help-mode-map'.
402
403 * info.el (Info-history-toc-nodes): Doc fix.
404
405 * longlines.el (longlines-mode): Doc fix.
406
673e08bb
SM
4072011-08-05 Stefan Monnier <monnier@iro.umontreal.ca>
408
4640dd88
SM
409 * progmodes/js.el (js--regexp-literal): Accept regexps at the beginning
410 of statements and in a few more cases (bug#9183).
411
673e08bb
SM
412 * emacs-lisp/cl-macs.el (cl--make-usage-var, cl--make-usage-args):
413 New functions.
414 (cl-transform-lambda): Use them (bug#9239).
415
89b3f019
MR
4162011-08-05 Martin Rudalics <rudalics@gmx.at>
417
418 * window.el (display-buffer-same-window)
419 (display-buffer-same-frame, display-buffer-other-window)
420 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
421 (pop-to-buffer-other-window)
422 (pop-to-buffer-same-frame-other-window)
423 (pop-to-buffer-other-frame): Make them defuns.
424 (switch-to-buffer): Don't set LABEL argument of pop-to-buffer.
425
640c8776
SM
4262011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
427
428 * subr.el (make-composed-keymap): Move from C. Change calling
429 convention, and improve docstring to bring attention to a subtle point.
430 * minibuffer.el (completing-read-default): Adjust accordingly.
431
63648a95
MA
4322011-08-03 Michael Albinus <michael.albinus@gmx.de>
433
434 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
435 (tramp-open-shell): Use `tramp-shell-quote-argument'.
436
437 * net/trampver.el: Update release number.
438
b796c9b7
SM
4392011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
440
441 * progmodes/sh-script.el (sh-font-lock-paren): Don't mistake "main" for
442 "in" (bug#9190).
443
2239d7d5
LMI
4442011-08-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
445
e07dd7c3
LMI
446 * mail/sendmail.el (sendmail-query-once): Restore the current
447 buffer after querying (bug#9074).
448
0e6a2bd7
LMI
449 * dired.el (dired-flagged): Use different faces for marked and
450 flagged files (bug#6117).
451
ce887515
LMI
452 * emacs-lisp/cl-macs.el (dolist): Mention that there's a nil block
453 (bug#4433).
454
92f2affc
LMI
455 * ido.el (ido-mode): Switch off the message if called
456 non-interactively.
457
57d5aff0
LMI
458 * mail/smtpmail.el (smtpmail-query-smtp-server): Try port 25
459 before 587, since it appears that that's more likely to work for
460 more people.
461
98cd6c18
LMI
462 * cus-edit.el (custom-file): When running under emacs -q, always
463 refuse to save the customisations, even if the .emacs file doesn't
464 exist.
465
b96dec83
LMI
466 * info.el: Remove the `Info-beginning-of-buffer' function
467 (bug#8325).
468
b796c9b7
SM
469 * net/network-stream.el (network-stream-open-starttls):
470 Use `starttls-available-p' to see whether starttls.el can be used.
2239d7d5 471
d90e2ea0
MR
4722011-08-01 Martin Rudalics <rudalics@gmx.at>
473
474 * window.el (display-buffer-in-window): Don't set dedicated status
475 of window here (Bug#9215).
476 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
477 (display-buffer-pop-up-side-window)
b796c9b7 478 (display-buffer-in-side-window): Set dedicated status of window here.
d90e2ea0 479
cca09170
SM
4802011-08-01 Stefan Monnier <monnier@iro.umontreal.ca>
481
482 * emacs-lisp/package.el (package-generate-autoloads): Load autoloads
483 before binding generated-autoload-file.
484
027b979c
DD
4852011-08-01 Deniz Dogan <deniz@dogan.se>
486
487 * net/rcirc.el (rcirc-handler-333): Clarify docstring.
488
3c7ee4f3
MA
4892011-07-30 Michael Albinus <michael.albinus@gmx.de>
490
491 Sync with Tramp 2.2.2.
492
493 * net/trampver.el: Update release number.
494
2cc8e51a
JL
4952011-07-30 Juri Linkov <juri@jurta.org>
496
497 * dired-aux.el (dired-touch-initial): Remove function.
498 (dired-do-chxxx): For op-symbol `touch', set `initial' to the
499 current time, and `default' to the last modification time of the
500 current marked file (bug#6887).
501
a514d856
JM
5022011-07-28 Jose E. Marchesi <jemarch@gnu.org>
503
504 * simple.el (goto-line): Use string-to-number to provide a
2cc8e51a 505 numeric argument to read-number (bug#9163).
a514d856 506
8a7eddd7
MA
5072011-07-27 Michael Albinus <michael.albinus@gmx.de>
508
509 * net/tramp-sh.el (tramp-maybe-send-script): Don't let-bind the
510 connection process, it could be nil.
511
1ddd96f5
LL
5122011-07-27 Leo Liu <sdl.web@gmail.com>
513
514 Simplify url handling in rcirc-mode.
515
516 * net/rcirc.el (rcirc-browse-url-map, rcirc-browse-url-at-point)
517 (rcirc-browse-url-at-mouse): Remove.
518 * net/rcirc.el (rcirc-markup-urls): Use `make-button'.
519
b248a85d
AM
5202011-07-26 Alan Mackenzie <acm@muc.de>
521
522 Fontify bitfield declarations properly.
523
524 * progmodes/cc-langs.el (c-has-bitfields): New lang variable.
525 (c-symbol-chars): Now exported as a lang variable.
526 (c-not-primitive-type-keywords): New lang variable.
527
528 * progmodes/cc-fonts.el (c-font-lock-declarations): Jump over the
529 QT keyword "more" to prevent "more slots: ...." being spuriously
530 parsed as a bitfield declaraion.
531
b796c9b7
SM
532 * progmodes/cc-engine.el (c-beginning-of-statement-1):
533 Refactor and enhance to handle bitfield declarations.
b248a85d
AM
534 (c-punctuation-in): New function.
535 (c-forward-decl-or-cast-1): Enhance CASE 3 to handle bitfield
536 declarations properly.
537
68575ab0
UJ
5382011-07-26 Ulf Jasper <ulf.jasper@web.de>
539
540 * calendar/icalendar.el (icalendar--all-events): Take care of
541 multiple vcalendars in a single file.
b796c9b7 542 (icalendar--convert-float-to-ical): Checkdoc fixes.
68575ab0 543
0f0a88b9
DD
5442011-07-25 Deniz Dogan <deniz@dogan.se>
545
546 * image.el (insert-image): Clarifying docstring.
547
0b3f36df
MA
5482011-07-24 Michael Albinus <michael.albinus@gmx.de>
549
550 * net/tramp-sh.el (tramp-barf-unless-okay): Return the value of
551 `tramp-send-command-and-check' if there is no error.
552 (tramp-send-command-and-read): Suppress *all* errors if NOERROR.
553
a9901f61
AM
5542011-07-22 Alan Mackenzie <acm@muc.de>
555
556 Prevent cc-langs.elc being loaded at run time.
557
558 * progmodes/cc-mode.el: Remove two autoload forms which loaded
559 cc-langs.
560
561 * /progmodes/cc-langs.el (c-make-init-lang-vars-fun): Don't emit
562 "(require 'cc-langs)". Quote a form so it will evaluate at
563 (cc-mode's) compilation time.
564
11d074b2
MA
5652011-07-22 Michael Albinus <michael.albinus@gmx.de>
566
567 * net/tramp.el (tramp-file-name-handler): Avoid recursive
568 loading. (Bug#9114)
569
938b94c8
MR
5702011-07-21 Martin Rudalics <rudalics@gmx.at>
571
572 * window.el (display-buffer-pop-up-window)
573 (display-buffer-pop-up-side-window)
574 (display-buffer-in-side-window): Call display-buffer-set-height
575 and display-buffer-set-width after setting the new window's
b796c9b7 576 buffer so `fit-window-to-buffer' and friends work on the right buffer.
938b94c8 577
bfa4f190
SS
5782011-07-20 Sam Steingold <sds@gnu.org>
579
580 * progmodes/etags.el (etags-file-of-tag, etags-tags-table-files)
581 (etags-tags-included-tables): Call `convert-standard-filename' on
582 the file names contained in TAGS so that windows Emacs can handle
583 TAGS files created by cygwin ctags.
584
8ca42262
LMI
5852011-07-20 Lars Magne Ingebrigtsen <larsi@gnus.org>
586
587 * proced.el (proced-update): Revert yesterday's bug#1779 patch,
588 which apparently didn't work.
589
5db2afd2 5902011-07-19 Roland Winkler <winkler@gnu.org>
2ecab2b5 591
5db2afd2
RW
592 * proced.el (proced-send-signal): For *Marked Processes* buffer
593 put point at beginning of buffer.
594
92e15d10
SB
5952011-07-19 Stephen Berman <stephen.berman@gmx.net>
596
597 * proced.el (proced-format): Make header lines align with the text
598 (bug#1779).
599
1bfd59e5
LMI
6002011-07-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
601
602 * view.el (view-buffer): Allow running in `special' modes if we're
603 visiting a file (bug#8615).
604
f5aae37c
MR
6052011-07-19 Martin Rudalics <rudalics@gmx.at>
606
607 * window.el (display-buffer-alist-of-strings-p)
b796c9b7
SM
608 (display-buffer-alist-set-1, display-buffer-alist-set-2):
609 New functions.
f5aae37c
MR
610 (display-buffer-alist-set): Rewrite to handle Emacs 23 options
611 more accurately.
612
bf2c1571
AM
6132011-07-18 Alan Mackenzie <acm@muc.de>
614
615 Fontify declarators properly when, e.g., a jit-lock chunk begins
616 inside a declaration.
617
618 * progmodes/cc-langs.el (c-symbol-chars): Correct a typo.
619
b796c9b7
SM
620 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
621 New function.
bf2c1571
AM
622 (c-complex-decl-matchers): Insert reference to
623 c-font-lock-enclosing-decls.
624
625 * progmodes/cc-engine.el (c-backward-single-comment):
626 (c-backward-comments): Bind open-paren-in-column-0-is-defun-start
627 to nil around calls to (forward-comment -1).
628
4e190b80
LMI
6292011-07-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
630
12dc863d
LMI
631 * image.el (put-image): Doc typo fix.
632
a762e966
LMI
633 * progmodes/etags.el (tags-search): Doc typo fix.
634
4e190b80
LMI
635 * mail/smtpmail.el (smtpmail-via-smtp): Query the user for
636 password if we get errors 550 to 554.
637
f019fb21
LMI
6382011-07-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
639
b796c9b7 640 * net/gnutls.el (gnutls-log-level): Remove.
750c33f7 641
81746738
LMI
642 * textmodes/fill.el (adaptive-fill-regexp): Include EN DASH as an
643 indentation character (bug#6380).
644
3ee3a1b5
LMI
645 * files.el (buffer-offer-save): Made permanently local (bug#6241).
646
c82f64de
LMI
647 * doc-view.el (doc-view-make-safe-dir): Rewrite the error message
648 to clarify what the problem is (bug#4291).
649
f019fb21
LMI
650 * simple.el (current-kill): Clarify what
651 `interprogram-paste-function' does (bug#7500).
ca425c7c
LMI
652 (auto-fill-mode): Document `auto-fill-function' in relation to
653 `auto-fill-mode' (bug#2470).
f019fb21 654
0794775d
LM
6552011-07-16 Lawrence Mitchell <wence@gmx.li>
656
657 * emacs-lisp/cl-macs.el (defstruct): Ignore argument to setf
658 method if slot is read-only (bug#9035).
659
be39b8cc
MR
6602011-07-16 Martin Rudalics <rudalics@gmx.at>
661
b796c9b7 662 * frame.el (select-frame-set-input-focus): New argument NORECORD.
be39b8cc 663 * window.el (pop-to-buffer): Select window used even if it was
b796c9b7
SM
664 selected before, see discussion of (Bug#8615), (Bug#6954).
665 Pass argument NORECORD on to select-frame-set-input-focus.
be39b8cc 666
6ccf7859
GM
6672011-07-15 Glenn Morris <rgm@gnu.org>
668
669 * subr.el (read-char-choice): Allow quitting. (Bug#9001)
03ea5b87 670 Respect help-form.
6ccf7859 671
87e86684
LM
6722011-07-09 Lawrence Mitchell <wence@gmx.li>
673
674 * net/gnutls.el (gnutls-min-prime-bits): New variable.
675 (gnutls-negotiate): Use it.
676
d6066239
LMI
6772011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
678
b796c9b7
SM
679 * net/gnutls.el (gnutls-negotiate):
680 Upcase `gnutls-algorithm-priority'.
d6066239 681
bd23ebc0
GM
6822011-07-15 Glenn Morris <rgm@gnu.org>
683
c65bca65
GM
684 * jka-compr.el (jka-compr-verbose): Move from here...
685 * jka-cmpr-hook.el (jka-compr-verbose): ... to here. (Bug#9090)
686 Add missing :version tag.
687 * info.el: No need to require jka-compr when compiling.
bd23ebc0 688
478615cc
LMI
6892011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
690
7b41decb
LMI
691 * net/gnutls.el (gnutls-algorithm-priority): New variable.
692 (gnutls-negotiate): Use it.
693
dbc44fcd
LMI
694 * emacs-lisp/cl-macs.el (declare): Link to the "Declarations" node.
695
06789f97
LMI
696 * info.el (Info-beginning-of-buffer): New command.
697 (Info-mode-map): Use it instead of `beginning-of-buffer' to allow
698 announcing `b' as the key (bug#8325).
ab896c37 699 (Info-mode-menu): Use `Info-beginning-of-buffer' for consistency.
06789f97 700
c39da690
LMI
701 * emacs-lisp/cl-macs.el (declare): Doc string fix-up.
702
3aa5f34b
LMI
703 * international/mule-cmds.el
704 (describe-specified-language-support): Make the error message
705 clearer (bug#8905).
706
4bf0979f
LMI
707 * emacs-lisp/cl-macs.el (declare): Add a doc string (bug#8690).
708
478615cc
LMI
709 * isearch.el (isearch-barrier): Add a doc string, since it's
710 mentioned in a function doc string (bug#8678).
711
75c68aa1
MR
7122011-07-15 Martin Rudalics <rudalics@gmx.at>
713
714 * window.el (switch-to-buffer): Call pop-to-buffer with normalized
715 buffer argument (Bug#9083) and self-identifying label argument.
716
a7c33da2
GM
7172011-07-15 Glenn Morris <rgm@gnu.org>
718
719 * emacs-lisp/debug.el (debug): Doc fix. (Bug#8273)
720
2f5c6024
LMI
7212011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
722
723 * man.el (Man-fontify-manpage): Fix message when formatting the
724 man page (bug#7929).
725
0bb23927 7262011-07-14 Eli Zaretskii <eliz@gnu.org>
cce4b0a7
EZ
727
728 * buff-menu.el (Buffer-menu-buffer+size): Accept an additional
729 argument LRM; if non-nil, append an invisible LRM character to the
730 buffer name.
731 (list-buffers-noselect): Call Buffer-menu-buffer+size with the
732 last argument non-nil, when formatting buffer names.
0bb23927
EZ
733 (Buffer-menu-mode, list-buffers-noselect): Force left-to-right
734 paragraph direction.
cce4b0a7 735
621ef9ab
LMI
7362011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
737
d1583c48
LMI
738 * man.el (Man-bgproc-sentinel): Skip any arguments and only output
739 the man page name (bug#7929).
740
6a57fb5f
LMI
741 * image.el (put-image): Mention the `put-image' overlay property
742 (bug#7834).
743
d7956b14
LMI
744 * scroll-bar.el (set-scroll-bar-mode): Mention that
745 `scroll-bar-mode' lists the values (bug#7772).
746
5b2d4a66
LMI
747 * image-mode.el (image-mode-fit-frame): Mention that it's a toggle
748 command (bug#7729).
749
7509a874
LMI
750 * rect.el (apply-on-rectangle): Return the point after the last
751 operation.
752 (string-rectangle): Go to the point after the last operation
753 (bug#7522).
754
4fe74b19
LMI
755 * printing.el (pr-toggle-region): Clarify the documentation
756 slightly (bug#7493).
757
b796c9b7
SM
758 * time.el (display-time-update):
759 Allow `display-time-mail-function' to return nil (bug#7158).
760 Fix suggested by Detlev Zundel.
ab283561 761
fc233c9d
LMI
762 * vc/diff.el (diff): Clarify the order the file names are read
763 (bug#7111).
764
43f5740b
LMI
765 * mouse.el (mouse-set-region): Link to `mouse-drag-copy-region' in
766 the doc string (bug#7015).
767
f2182a76
LMI
768 * font-lock.el (font-lock-maximum-decoration): Mention what
769 numeric levels mean (bug#6935).
770
621ef9ab
LMI
771 * startup.el (initial-buffer-choice): Don't mention the `none'
772 selection, which is against policy.
773
adc47434
MR
7742011-07-14 Martin Rudalics <rudalics@gmx.at>
775
b796c9b7
SM
776 * window.el (display-buffer-normalize-special):
777 Replace `dedicated' by `dedicate' to dedicate window (Bug#9072).
adc47434 778
7e5bfb8f
EZ
7792011-07-14 Eli Zaretskii <eliz@gnu.org>
780
781 * subr.el (version<, version<=, version=): Mention "-CVS" and
782 "-12345" alpha version numbers.
783
27fa387a
CY
7842011-07-14 Chong Yidong <cyd@stupidchicken.com>
785
786 * bindings.el: Add advertised binding for set-mark-command
787 (Bug#5772).
788
8bdfa064
CY
7892011-07-14 Chong Yidong <cyd@stupidchicken.com>
790
791 * bindings.el (mode-line-other-buffer):
792 * bookmark.el (bookmark-bmenu-2-window):
793 * bs.el (bs-cycle-next, bs-cycle-previous):
794 * net/tramp-cmds.el (tramp-append-tramp-buffers): Revert to using
795 switch-to-buffer.
796
797 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
b796c9b7 798 Delete.
8bdfa064 799
5eba16a3
JB
8002011-07-14 Juanma Barranquero <lekktu@gmail.com>
801
802 * follow.el (follow-debug-message, follow-redisplay):
803 * jka-cmpr-hook.el (with-auto-compression-mode):
804 Fix typos in docstrings.
805
15853710
LMI
8062011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
807
a28e4607
LMI
808 * subr.el (with-silent-modifications): Clarify somewhat what the
809 macro inhibits (bug#6525).
810
15853710
LMI
811 * simple.el (eval-expression): Note what it does if called
812 interactively (bug#6495).
813
bee0fcef
CY
8142011-07-13 Chong Yidong <cyd@stupidchicken.com>
815
b796c9b7
SM
816 * window.el (switch-to-buffer): New arg FORCE-SAME-WINDOW.
817 Use pop-to-buffer buffer-or-name if it is nil.
bee0fcef
CY
818
819 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
820 Remove switch-to-buffer.
821
58274504
LMI
8222011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
823
bd2fcc8d
LMI
824 * files.el (make-directory): Clarify that an error will be raised
825 if there's an error (bug#6397).
826
0f04b32c
LMI
827 * startup.el (initial-buffer-choice): Add `none' as a choice
828 (bug#6234).
829
465c5fc8
LMI
830 * subr.el (add-hook): Clarify section about buffer-local hooks
831 (bug#6218).
832
58274504
LMI
833 * dired.el (dired-flagged): Clarify doc string (bug#6117).
834
bead9a43
JB
8352011-07-13 Juanma Barranquero <lekktu@gmail.com>
836
837 * tabify.el (untabify): Preserve the current column so that point
838 doesn't move (bug#6032).
839
3af98a7b
LMI
8402011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
841
b796c9b7
SM
842 * progmodes/cperl-mode.el (cperl-syntaxify-by-font-lock):
843 Rewrite to avoid awkward possessive "s" (bug#5986).
3af98a7b 844
6240145a
GM
8452011-07-13 Glenn Morris <rgm@gnu.org>
846
847 * dired.el (dired-use-ls-dired): Doc fix. (Bug#9039).
848 (dired-insert-directory): Give a message the first time
849 if ls is found not to support --dired.
850
1d8c2ccc
LMI
8512011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
852
853 * simple.el (toggle-truncate-lines): Clarify what is toggled
854 (bug#5580). Text by Drew Adams.
855
5fc4038e
CY
8562011-07-13 Chong Yidong <cyd@stupidchicken.com>
857
858 * simple.el (blink-matching-open): Make the error message from the
859 last change less verbose.
860
bf6012e5
DN
8612011-07-13 Dan Nicolaescu <dann@ics.uci.edu>
862
863 * font-lock.el (font-lock-comment-face): Use the high contrast
864 "yellow" color for font-lock-comment-face on low color terminals
865 using a dark background color (bug#4221).
866
343c3b5a
LMI
8672011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
868
7e9505c5
LMI
869 * dired.el (dired-insert-set-properties): Make the doc string
870 reflect what it does now (bug#5325).
871
c26fdcf5
LMI
872 * simple.el (blink-matching-open): Say that we were unable to find
873 the match within the limit, if we're limited (bug#5122).
874
bb388cc5
LMI
875 * international/mule-cmds.el (prefer-coding-system): Add an
876 example (bug#4869).
877
343c3b5a
LMI
878 * progmodes/etags.el (tags-search): Document `file-list-form'
879 (bug#4731).
880
2a517d45
LM
8812011-07-13 Lawrence Mitchell <wence@gmx.li>
882
883 * net/browse-url.el (browse-url-default-browser)
884 (browse-url-browser-function): Make the default browser choice a
885 bit more logical (bug#4300). Also clean up the doc string.
886
b6c78ef2
JB
8872011-07-13 Juanma Barranquero <lekktu@gmail.com>
888
889 * bindings.el (completion-ignored-extensions): Add OpenMCL/Clozure
890 binary endings (bug#4440).
891
1c4dd947
LMI
8922011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
893
a2014063
LMI
894 * info.el (info-insert-file-contents): Inhibit jka-compr messages,
895 which can be pretty annoying (bug#8971).
896
9c9c2d88
LMI
897 * jka-compr.el (jka-compr-verbose): New variable, and use
898 throughout (bug#8971).
899
1c4dd947
LMI
900 * info.el (Info-find-file): Fall back on the installation
901 directory if we can't find the info node anywhere else.
902
a1c9f41b
SO
9032011-07-13 Sergei Organov <osv@javad.com> (tiny change)
904
905 * vc/vc.el (vc-revert-file):
906 Don't set file time-stamp in the past. (Bug#5181)
907
536f3d36
LMI
9082011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
909
7152b011
LMI
910 * files.el (after-find-file): Give a better error message when
911 trying to find a symlink that points to a file that doesn't exist
912 (bug#4398).
913
536f3d36
LMI
914 * progmodes/cc-vars.el: Remove (probably) misleading comment
915 (bug#4396).
916
460c0fba
JB
9172011-07-12 Johan Bockgård <bojohan@gnu.org>
918
919 * mouse-sel.el (mouse-sel-primary-overlay): Use the `region' face.
920
7a6bda45
CY
9212011-07-12 Chong Yidong <cyd@stupidchicken.com>
922
923 * mouse-sel.el: Hack restoring functionality, while keeping
924 compatibility with 2010-07-03 changes to mouse selection.
925 (mouse-sel-primary-overlay): New var.
926 (mouse-sel-selection-alist): Use it.
927 (mouse-sel-mode): Doc fix; remove points that are default features
928 of mouse.el.
929
c79598ef
JB
9302011-07-12 Johan Bockgård <bojohan@gnu.org>
931
932 * progmodes/compile.el (compilation-error-regexp-alist-alist):
933 Fix previous fix (bug#2490).
934
ff8be6ef
RW
9352011-07-12 Roland Winkler <winkler@gnu.org>
936
b796c9b7
SM
937 * textmodes/bibtex.el (bibtex-initialize):
938 Use pop-to-buffer-same-window.
ff8be6ef
RW
939 (bibtex-search-entries): Fix interactive call.
940
296ba3ee
LMI
9412011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
942
f5242a02 943 * progmodes/compile.el (compilation-error-regexp-alist-alist):
b796c9b7
SM
944 Fontise bytecomp Error lines more correctly (bug#2490).
945 Fix suggested by Johan Bockgård.
f5242a02 946
296ba3ee
LMI
947 * subr.el (remove-duplicates): Remove; `delete-dups' is sufficient.
948
949 * dired-x.el (dired-guess-default): Use `delete-dups'.
950
f69fd0d2
CY
9512011-07-12 Chong Yidong <cyd@stupidchicken.com>
952
953 * dired.el (dired-mark-prompt):
954 * dired-aux.el (dired-read-shell-command): Doc fix.
955
eab5dc07
LMI
9562011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
957
b796c9b7
SM
958 * mail/sendmail.el (sendmail-query-once):
959 Use `customize-save-variable' unconditionally, now that it works under
9988520a
LMI
960 emacs -Q.
961
962 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
963
eab5dc07
LMI
964 * cus-edit.el (custom-file): Take an optional no-error variable.
965 (customize-save-variable): Set the variable, and give a warning if
966 running under "emacs -q".
967
a1e65d42
JB
9682011-07-11 Juanma Barranquero <lekktu@gmail.com>
969
970 * loadhist.el (unload-feature-special-hooks):
971 Add `auto-coding-functions', `fill-nobreak-predicate' and
972 `find-directory-functions' (bug#5327).
973
1d52da10
LMI
9742011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
975
be958f1d
LMI
976 * vc/ediff.el (ediff-patch-file): Clarify doc string (bug#3138).
977
5bedb26c
LMI
978 * cus-edit.el (custom-guess-name-alist): -alist variables should
979 use the `alist' type (bug#3120). Suggested by Drew Adams.
980
1d52da10
LMI
981 * printing.el: Add documentation to all the `pr-toggle-' commands.
982
481a51b6
LL
9832011-07-11 Leo <sdl.web@gmail.com> (tiny change)
984
985 * files.el (toggle-read-only): Only do the `C-x C-q' warning on VC
986 backends where it makes sense (bug#2623).
987
dcc88d8a
LMI
9882011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
989
c3de9feb
LMI
990 * dired-x.el (dired-guess-default): Remove duplicate shell command
991 entries (bug#2028).
8a93078b 992 (dired-guess-default): Fix grammar in doc string (bug#2028).
eea84fe5 993 (dired-guess-shell-alist-user): Clarify the example a bit (bug#2030).
c3de9feb 994
dcc88d8a
LMI
995 * subr.el (remove-duplicates): New conveniency function.
996
505e3645
LMI
9972011-07-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
998
999 * tool-bar.el (tool-bar-mode): Clarify positive/negative arguments
1000 (bug#1526).
1001
10022011-07-10 Martin Rudalics <rudalics@gmx.at>
1003
1004 * window.el (display-buffer-normalize-default): Don't invert
1005 meaning of even-window-heights. Reported by Eli Zaretskii
1006 <eliz@gnu.org>.
1007
455e4fa1
BR
10082011-07-10 Bob Rogers <rogers@rgrjr.dyndns.org>
1009
1010 * vc/vc.el (vc-diff-internal): Fix race condition (Bug#1256).
1011
8e0bc3e9
CY
10122011-07-10 Chong Yidong <cyd@stupidchicken.com>
1013
1014 * window.el (display-buffer): Fix arguments to
1015 display-buffer-reuse-window in last change.
1016
fa7c3228
CY
1017 * faces.el (link): Use a less saturated blue on light backgrounds.
1018
1019 * startup.el (fancy-startup-text, fancy-about-text)
1020 (fancy-startup-tail): Use font-lock faces, for background safety.
1021
c0a7f300
BN
10222011-07-09 Bob Nnamtrop <bobnnamtrop@gmail.com> (tiny change)
1023
b796c9b7
SM
1024 * emulation/viper-cmd.el (viper-change-state-to-vi):
1025 Limit triggering of abbrev expansion (Bug#9038).
c0a7f300 1026
4dc2a129
MR
10272011-07-09 Martin Rudalics <rudalics@gmx.at>
1028
1029 * window.el (display-buffer-default-specifiers): Remove.
1030 (display-buffer-macro-specifiers): Remove default specifiers.
1031 (display-buffer-alist): Default to nil.
b796c9b7 1032 (display-buffer-reuse-window): New optional argument other-window.
4dc2a129
MR
1033 (display-buffer-pop-up-window): Allow splitting internal
1034 windows. Check whether a live window was created.
1035 (display-buffer-other-window-means-other-frame)
1036 (display-buffer-normalize-arguments): Rename to
1037 display-buffer-normalize-argument and rewrite. Set the
1038 other-window specifier.
1039 (display-buffer-normalize-special): New function.
1040 (display-buffer-normalize-options): Rename to
1041 display-buffer-normalize-default and rewrite.
1042 (display-buffer-normalize-options-inhibit): Remove.
1043 (display-buffer-normalize-specifiers): Rewrite.
1044 (display-buffer): Process other-window specifier and call
1045 display-buffer-reuse-window with it. Emulate Emacs 23 behavior
1046 more faithfully.
b796c9b7 1047 (pop-up-windows, even-window-heights): Restore Emacs 23 default values.
4dc2a129 1048 (display-buffer-alist-set): Don't handle 'unset default values.
b796c9b7
SM
1049 (display-buffer-in-window, display-buffer-alist-set):
1050 Replace symbol "dedicated" by "dedicate". Reported by Tassilo Horn
4dc2a129
MR
1051 <tassilo@member.fsf.org>.
1052
2d43b8c9
LL
10532011-07-09 Leo Liu <sdl.web@gmail.com>
1054
1055 * register.el (insert-register): Restore accidental change on
1056 2011-06-26. (Bug#9028)
1057
7f9b7c53
GM
10582011-07-09 Glenn Morris <rgm@gnu.org>
1059
1060 * subr.el (remq): Handle the empty list. (Bug#9024)
1061
f042cfd8
AS
10622011-07-08 Andreas Schwab <schwab@linux-m68k.org>
1063
1064 * mail/sendmail.el (send-mail-function): No longer delay custom
1065 initialization.
1066 * custom.el (custom-initialize-delay): Doc fix.
1067
856b2f11
SM
10682011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
1069
1070 * abbrev.el (expand-abbrev): Try to preserve point (bug#5805).
1071
afae1d68
MA
10722011-07-08 Michael Albinus <michael.albinus@gmx.de>
1073
1074 * net/tramp-sh.el (tramp-sh-handle-start-file-process): Use a
1075 human-friendly prompt.
1076
0757af94
SM
10772011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
1078
1079 * vc/vc-bzr.el (vc-bzr-revision-keywords): Remove svn, it's only
1080 provided by a particular plugin.
1081
d760b731
LMI
10822011-07-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
1083
1084 * mail/sendmail.el (sendmail-query-once): If we aren't allowed to
1085 save customizations (with "emacs -Q"), just set the variable
1086 instead of erroring out.
1087
1088 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
1089
cd79ce90
JL
10902011-07-08 Juri Linkov <juri@jurta.org>
1091
1092 * arc-mode.el (archive-zip-expunge, archive-zip-update)
1093 (archive-zip-update-case): Use 7z if found by `executable-find'.
1094 The order of searching the available programs is the same as in
1095 `archive-zip-extract' (bug#8968).
1096
14cc04aa
CY
10972011-07-07 Chong Yidong <cyd@stupidchicken.com>
1098
1099 * menu-bar.el (menu-bar-line-wrapping-menu): Revert last change.
1100 (menu-bar-options-menu): Tweak descriptions.
1101
0a1848ec
LMI
11022011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
1103
1104 * menu-bar.el (menu-bar-line-wrapping-menu): Make all the Options
1105 menu items into verb phrases (bug#1421). Also refill to fit under
1106 80 columns.
1107
f5bd0689
CY
11082011-07-07 Chong Yidong <cyd@stupidchicken.com>
1109
538e85c6
CY
1110 * info.el (info, Info-read-node-name-2, Info-read-node-name-1)
1111 (Info-read-node-name): Doc fix (Bug#1084).
1112
f5bd0689
CY
1113 * thingatpt.el (forward-thing, bounds-of-thing-at-point)
1114 (thing-at-point, beginning-of-thing, end-of-thing, in-string-p)
1115 (end-of-sexp, beginning-of-sexp)
1116 (thing-at-point-bounds-of-list-at-point, forward-whitespace)
1117 (forward-symbol, forward-same-syntax, word-at-point)
1118 (sentence-at-point): Doc fix (Bug#1144).
1119
56ec5115
LMI
11202011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
1121
f3f8e37f
LMI
1122 * info.el (Info-mode-map): Remove S-TAB binding, since [backtab]
1123 should cover it (bug#1281).
1124
0757af94 1125 * cus-edit.el (custom-show): Mark as obsolete.
af0905c8 1126
12b9eb35
LMI
1127 * net/network-stream.el (network-stream-open-starttls): If gnutls
1128 negotiation fails, then possibly try again with a non-encrypted
1129 connection (bug#9017).
1130
56ec5115
LMI
1131 * mail/smtpmail.el (smtpmail-stream-type): Note that `plain' can
1132 be used.
1133
c2f9aec8
RS
11342011-07-07 Richard Stallman <rms@gnu.org>
1135
1136 * mail/rmail.el (rmail-next-error-move): Use `compilation-message'
1137 property, and handle its changed format.
1138 Look for the correct line number.
1139 Use file's line contents (but not past first =) to find
1140 correct line in message.
1141
ef7b981d 11422011-07-07 Kenichi Handa <handa@m17n.org>
c805dec0
KH
1143
1144 * international/characters.el (build-unicode-category-table):
1145 Delete it.
0757af94 1146 (unicode-category-table): Set it by unicode-property-table-internal.
c805dec0 1147
0757af94 1148 * international/mule-cmds.el (char-code-property-alist): Move to
c805dec0
KH
1149 to src/chartab.c.
1150 (get-char-code-property): Call unicode-property-table-internal to
1151 load a file. Call get-unicode-property-internal where necessary.
1152 (put-char-code-property): Call unicode-property-table-internal to
1153 load a file. Call put-unicode-property-internal where necessary.
1154 put-unicode-property-internal where necessary.
0757af94
SM
1155 (char-code-property-description):
1156 Call unicode-property-table-internal to load a file.
c805dec0
KH
1157
1158 * international/charprop.el:
1159 * international/uni-bidi.el:
1160 * international/uni-category.el:
1161 * international/uni-combining.el:
1162 * international/uni-comment.el:
1163 * international/uni-decimal.el:
1164 * international/uni-decomposition.el:
1165 * international/uni-digit.el:
1166 * international/uni-lowercase.el:
1167 * international/uni-mirrored.el:
1168 * international/uni-name.el:
1169 * international/uni-numeric.el:
1170 * international/uni-old-name.el:
1171 * international/uni-titlecase.el:
1172 * international/uni-uppercase.el: Regenerate.
1173
1174 * loadup.el: Load international/charprop.el before
1175 international/characters.
1176
e14b388a
CY
11772011-07-07 Chong Yidong <cyd@stupidchicken.com>
1178
1179 * window.el (next-buffer, previous-buffer): Signal an error if
1180 called from a minibuffer window.
1181
1182 * bindings.el: Revert 2011-07-04 change.
1183
354cf0ba
RS
11842011-07-06 Richard Stallman <rms@gnu.org>
1185
1186 * mail/rmailmm.el (rmail-mime-process): Use markers for buf positions.
1187 (rmail-mime-insert-bulk, rmail-mime-insert-text):
1188 Treat markers like ints.
1189 (rmail-mime-entity): Doc fix.
1190
a48868a7
LMI
11912011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
1192
4906cd3d
LMI
1193 * mail/smtpmail.el (smtpmail-default-smtp-server): Made into a
1194 defcustom again for backwards compatibility.
1195
e0457abe
LMI
1196 * simple.el (shell-command-on-region): Fill.
1197
d67f7e1f
LMI
1198 * dired-aux.el (dired-kill-line): Add a doc string.
1199
fe204702
LMI
1200 * dabbrev.el (dabbrev-abbrev-char-regexp): Note that nil defaults
1201 to "\\sw\\|\\s_" (bug#358).
1202
a48868a7
LMI
1203 * dired.el (dired-mode): Clarify "unmark or unflag" (bug#8770).
1204 (dired-unmark-backward): Ditto.
1205 (dired-flag-backup-files): Ditto.
1206
1207 * dired-x.el (dired-mark-sexp): Ditto.
1208
aa8a705c
RS
12092011-07-06 Richard Stallman <rms@gnu.org>
1210
1211 * mail/rmailmm.el: Give entity a new slot, TRUNCATED.
1212 (rmail-mime-entity): New arg TRUNCATED.
1213 (rmail-mime-entity-truncated, rmail-mime-entity-set-truncated):
1214 New functions.
1215 (rmail-mime-save): Warn if entity is truncated.
1216 (rmail-mime-toggle-hidden): Likewise, for showing.
1217 (rmail-mime-process-multipart): Record when an entity is truncated.
1218
a9a936b9
RS
1219 * mail/rmailmm.el (rmail-search-mime-message): Don't get confused
1220 if ENTITY is a string.
1221
1f2b92cb
LMI
12222011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
1223
f4f73198 1224 * emacs-lisp/lisp-mode.el (eval-defun-1): Update the documentation
0757af94
SM
1225 of faces when `M-C-x'-ing their definitions (bug#8378).
1226 Also clean up the code slightly.
f4f73198 1227
12b16734
LMI
1228 * progmodes/grep.el (rgrep): Don't bind `process-connection-type',
1229 because that makes the colours go away.
1230
f0691d22
LMI
1231 * mail/sendmail.el (send-mail-function): Change the default to
1232 `sendmail-query-once'.
9e87df06 1233 (sendmail-query-once): Add an autoload cookie.
f0691d22 1234
1f2b92cb
LMI
1235 * net/network-stream.el (network-stream-open-starttls): Try using
1236 a plain connection even if the server offered STARTTLS, and we
1237 kinda wanted to use it, if Emacs doesn't have any STARTTLS
1238 capability. This should make smtpmail.el work in slightly more
1239 configurations.
1240
1cdd2a1b
MA
12412011-07-06 Michael Albinus <michael.albinus@gmx.de>
1242
1243 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
1244 New defun.
1245 * net/tramp-cmds.el (tramp-append-tramp-buffers): Use it.
1246
fbcc67e2
MM
12472011-07-06 Michael R. Mauger <mmaug@yahoo.com>
1248
1249 * progmodes/sql.el: Version 3.0
0757af94 1250 (sql-product-alist): Add product :completion-object,
fbcc67e2 1251 :completion-column, and :statement attributes.
0757af94 1252 (sql-mode-menu, sql-interactive-mode-map): Fix List entries.
fbcc67e2 1253 (sql-mode-syntax-table): Mark all punctuation.
0757af94 1254 (sql-font-lock-keywords-builder): Temporarily remove fallback on
fbcc67e2
MM
1255 ansi keywords.
1256 (sql-regexp-abbrev, sql-regexp-abbrev-list): New functions.
0757af94 1257 (sql-mode-oracle-font-lock-keywords): Improve.
fbcc67e2
MM
1258 (sql-oracle-show-reserved-words): New function for development.
1259 (sql-product-font-lock): Simplify for source code buffers.
1260 (sql-product-syntax-table, sql-product-font-lock-syntax-alist):
1261 New functions.
1262 (sql-highlight-product): Set product specific syntax table.
0757af94
SM
1263 (sql-mode-map): Add statement movement functions.
1264 (sql-ansi-statement-starters, sql-oracle-statement-starters):
1265 New variable.
fbcc67e2
MM
1266 (sql-statement-regexp, sql-beginning-of-statement)
1267 (sql-end-of-statement, sql-signum): New functions.
0757af94 1268 (sql-buffer-live-p, sql=find-sqli-buffer): Add CONNECTION parameter.
fbcc67e2
MM
1269 (sql-show-sqli-buffer): Bug fix.
1270 (sql-interactive-mode): Store connection data as buffer local.
0757af94 1271 (sql-connect): Add NEW-NAME parameter. Redesign interaction
fbcc67e2
MM
1272 with sql-interactive-mode.
1273 (sql-save-connection): Save buffer local settings.
0757af94 1274 (sql-connection-menu-filter): Change menu entry name.
fbcc67e2
MM
1275 (sql-product-interactive): Bug fix.
1276 (sql-preoutput-hold): New variable.
1277 (sql-interactive-remove-continuation-prompt): Bug fixes.
1278 (sql-debug-redirect): New variable.
1279 (sql-str-literal): New function.
1280 (sql-redirect, sql-redirect-one, sql-redirect-value, sql-execute):
0757af94 1281 Redesign.
fbcc67e2
MM
1282 (sql-oracle-save-settings, sql-oracle-restore-settings)
1283 (sql-oracle-list-all, sql-oracle-list-table): New functions.
1284 (sql-completion-object, sql-completion-column)
1285 (sql-completion-sqlbuf): New variables.
1286 (sql-build-completions-1, sql-build-completions)
1287 (sql-try-completion): New functions.
1288 (sql-read-table-name): Use them.
1289 (sql-contains-names): New buffer local variable.
1290 (sql-list-all, sql-list-table): Use it.
1291 (sql-oracle-completion-types): New variable.
1292 (sql-oracle-completion-object, sql-sqlite-completion-object)
1293 (sql-postgres-completion-object): New functions.
1294
d4eaeab1
GM
12952011-07-06 Glenn Morris <rgm@gnu.org>
1296
1297 * window.el (pop-to-buffer): Doc fix.
1298
322b7dab 12992011-07-06 Markus Heiser <markus.heiser@darmarit.de> (tiny change)
a1d3a912
CY
1300
1301 * progmodes/gud.el (gud-pdb-marker-regexp): Accept \r char (Bug#5653).
1302
322b7dab 13032011-07-06 Chong Yidong <cyd@stupidchicken.com>
0484d600 1304
322b7dab 1305 * window.el (special-display-popup-frame): Doc fix (Bug#8853).
4f8f657f 1306
322b7dab 1307 * info.el (Info-directory-toc-nodes): Minor doc fix (Bug#8833).
8f43cbf3 1308
605dd5bf
CY
13092011-07-05 Chong Yidong <cyd@stupidchicken.com>
1310
1311 * button.el (button): Inherit from link face. Suggested by Dan
1312 Nicolaescu.
1313
7dbfa719
SM
13142011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
1315
3db614b0
SM
1316 * progmodes/gdb-mi.el: Fit in 80 columns.
1317 (gdb-setup-windows, gdb-restore-windows): Avoid other-window and
1318 switch-to-buffer.
1319
7dbfa719
SM
1320 * progmodes/which-func.el (which-func-ff-hook): Don't output a message
1321 if imenu is simply not configured (bug#8941).
1322
919d884a
KM
13232011-07-05 Ken Manheimer <ken.manheimer@gmail.com>
1324
1325 * allout.el (allout-post-undo-hook): New allout outline-change
1326 event hook to signal undo activity.
1327 (allout-post-command-business): Run allout-post-undo-hook if an
1328 undo just occurred.
7dbfa719
SM
1329 (allout-after-copy-or-kill-hook, allout-mode): Minor docstring changes.
1330 * allout-widgets.el (allout-widgets-after-undo-function):
1331 Ensure the integrity of the current item's decoration after it has been
919d884a
KM
1332 in the vicinity of an undo.
1333 (allout-widgets-mode): Include allout-widgets-after-undo-function
1334 on the new allout-post-undo-hook.
1335
450a0f09
SM
13362011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
1337
1338 * emacs-lisp/lisp-mode.el (lisp-interaction-mode-abbrev-table):
1339 Let define-derived-mode define it.
1340 * emacs-lisp/derived.el (define-derived-mode): Try to avoid creating
1341 cycles of abbrev-table inheritance (bug#8998).
1342
2de69e00
RW
13432011-07-05 Roland Winkler <winkler@gnu.org>
1344
1345 * textmodes/bibtex.el: Add support for biblatex.
1346 (bibtex-BibTeX-entry-alist, bibtex-biblatex-entry-alist)
1347 (bibtex-BibTeX-field-alist, bibtex-biblatex-field-alist)
1348 (bibtex-dialect-list, bibtex-dialect, bibtex-no-opt-remove-re)
1349 (bibtex-entry-alist, bibtex-field-alist): New variables.
1350 (bibtex-entry-field-alist): Obsolete alias for
1351 bibtex-BibTeX-entry-alist.
1352 (bibtex-entry-alist, bibtex-field-alist): New widgets.
1353 (bibtex-set-dialect): New command.
1354 (bibtex-entry-type, bibtex-entry-head)
450a0f09
SM
1355 (bibtex-entry-maybe-empty-head, bibtex-any-valid-entry-type):
1356 Bind via bibtex-set-dialect.
2de69e00
RW
1357 (bibtex-Article, bibtex-Book, bibtex-Booklet, bibtex-InBook)
1358 (bibtex-InCollection, bibtex-InProceedings, bibtex-Manual)
1359 (bibtex-MastersThesis, bibtex-Misc, bibtex-PhdThesis)
1360 (bibtex-Proceedings, bibtex-TechReport, bibtex-Unpublished):
1361 Define via bibtex-set-dialect.
450a0f09
SM
1362 (bibtex-name-in-field, bibtex-remove-OPT-or-ALT):
1363 Obey bibtex-no-opt-remove-re.
2de69e00
RW
1364 (bibtex-vec-push, bibtex-vec-incr): New functions.
1365 (bibtex-format-entry, bibtex-field-list)
1366 (bibtex-print-help-message, bibtex-validate)
1367 (bibtex-search-entries): Use new format of bibtex-entry-alist.
1368
2dcdbdd9
SM
13692011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
1370
1371 * progmodes/compile.el (compilation-goto-locus):
1372 * net/tramp-cmds.el (tramp-append-tramp-buffers):
1373 * bs.el (bs-cycle-next, bs-cycle-previous):
1374 * bookmark.el (bookmark-bmenu-list, bookmark-bmenu-2-window):
1375 * bindings.el (mode-line-other-buffer):
1376 * autoinsert.el (auto-insert):
1377 * arc-mode.el (archive-extract):
1378 * abbrev.el (edit-abbrevs): Fix some uses of switch-to-buffer.
1379
b27640fe
JB
13802011-07-05 Juanma Barranquero <lekktu@gmail.com>
1381
1382 * emacs-lock.el (emacs-lock-mode): Fix typo in variable name.
1383 Fix check of `emacs-lock-unlockable-modes'.
1384 Coerce true values of `emacs-lock--try-unlocking' to t.
1385
53bbe3ad
JB
13862011-07-05 Juanma Barranquero <lekktu@gmail.com>
1387
1388 * obsolete/old-emacs-lock.el: Rename from emacs-lock.el.
1389 * emacs-lock.el: New file.
1390
1d3cdbc7
JD
13912011-07-05 Julien Danjou <julien@danjou.info>
1392
1393 * textmodes/rst.el (rst-define-level-faces): Use `facep' rather
1394 than `boundp' to check if face is set.
1395
9173deec
JB
13962011-07-05 Juanma Barranquero <lekktu@gmail.com>
1397
1398 * register.el (registerv-make):
1399 * window.el (window-min-height): Fix typos in docstrings.
1400
869795d6
JD
14012011-07-05 Jan Djärv <jan.h.d@swipnet.se>
1402
9173deec 1403 * dynamic-setting.el (dynamic-setting-handle-config-changed-event):
869795d6
JD
1404 Update doc string.
1405
b768cdcd
JB
14062011-07-04 Juanma Barranquero <lekktu@gmail.com>
1407
1408 * server.el (server-execute): Catch quit and call
1409 `server-return-error' to pass the error back to emacsclient and
1410 close the connection (bug#8942).
1411
13aa217b
KM
14122011-07-04 Ken Manheimer <ken.manheimer@gmail.com>
1413
1414 * allout.el (allout-encrypt-unencrypted-on-saves): Do not provide
1415 insecure exception for current topic. Also note that auto-saves
1416 are handled differently.
1417
1418 (allout-auto-save-temporarily-disabled), (allout-just-did-undo):
1419 State variables for tracking auto-save inhibition situation.
1420
1421 (allout-write-contents-hook-handler): Rename from
1422 'allout-write-file-hook-handler', and describe how it depends on
1423 write-contents-functions sensitivity to non-nil value to prevent
1424 file write.
1425
1426 (allout-auto-save-hook-handler): Remove. auto-save does not check
1427 this in individual buffers, only in the starting buffer, so this
1428 is not the right way for us to inhibit auto-save in a buffer
1429 according to its condition.
1430
1431 (allout-mode): Use new allout-write-contents-hook-handler, and
1432 only with write-contents-functions. Remove auto-save provisions -
1433 they're implemented elsewhere.
1434
1435 (allout-before-change-handler): If undo is in progress, note that
1436 for attention of allout-post-command-business.
1437
1438 (allout-post-command-business): If the command we're following was
1439 an undo, check for change in the status of encrypted items and
1440 adjust auto-save inhibitions accordingly.
1441
1442 (allout-toggle-subtree-encryption): Adjust auto-save inhibition
1443 according to whether there are or aren't any plain-text topics
1444 pending encryption.
1445
2dcdbdd9
SM
1446 (allout-inhibit-auto-save-info-for-decryption):
1447 Adjust buffer-saved-size and some allout state to inhibit auto-saves if
13aa217b
KM
1448 there are plain-text topics pending encryption.
1449
1450 (allout-maybe-resume-auto-save-info-after-encryption): Adjust
1451 buffer-saved-size and some allout state to not inhibit auto-saves
1452 if there are no longer any plain-text topics pending encryption.
1453
0757af94
SM
1454 (allout-next-topic-pending-encryption, allout-encrypt-decrypted):
1455 No longer provide for exemption of the current topic.
13aa217b 1456
ac89b32c
JL
14572011-07-04 Juri Linkov <juri@jurta.org>
1458
1459 Add 7z operations to delete and save changed members (bug#8968).
1460 * arc-mode.el (archive-7z-expunge, archive-7z-update):
1461 New defcustoms.
1462 (archive-7z-write-file-member): New function.
1463 (archive-7z-summarize): Fix the number of dashes in the
1464 listing output.
1465
8fa39615
SM
14662011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
1467
1468 * pcmpl-linux.el (pcomplete-pare-list): Re-add, from pcomplete.el
1469 (bug#8958).
1470
2f11b3f1
CY
14712011-07-04 Chong Yidong <cyd@stupidchicken.com>
1472
d66fef2b
CY
1473 * bindings.el: Ignore next-buffer and previous-buffer in
1474 minibuffer-local-map.
1475
2f11b3f1
CY
1476 * font-lock.el (font-lock-builtin-face): Change light background
1477 color to dark slate blue (Bug#6693).
1478
f932a347
WD
14792011-07-04 Wang Diancheng <dcwang@kingbase.com.cn> (tiny change)
1480
1481 * progmodes/gdb-mi.el (gdb): Use completion-at-point.
1482
c8af70e1
SM
14832011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
1484
1485 * files.el (find-file): Use pop-to-buffer-same-window (bug#8911).
1486 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
1487 Add switch-to-buffer.
1488
f158badc
LMI
14892011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
1490
1491 * isearch.el (isearch-search-fun-function): Clarify further the
1492 meaning of the function returned.
1493
6d95bd46
MA
14942011-07-04 Michael Albinus <michael.albinus@gmx.de>
1495
1496 * net/tramp-cmds.el (tramp-cleanup-this-connection): New command.
1497
1498 * net/tramp-sh.el (tramp-color-escape-sequence-regexp): New defconst.
1499 (tramp-sh-handle-insert-directory, tramp-convert-file-attributes):
1500 Use it.
1501 (tramp-remote-path): Add "/bin" and "/usr/bin". On busyboxes,
1502 `tramp-default-remote-path' does not exist.
1503 (tramp-send-command-and-read): New optional argument NOERROR.
1504 (tramp-open-connection-setup-interactive-shell)
1505 (tramp-get-remote-path, tramp-get-remote-stat): Use it.
1506 (tramp-get-remote-readlink): Do not mask with `ignore-errors'.
1507 (tramp-process-sentinel): Flush also process' connection property.
1508 (tramp-sh-handle-start-file-process): Do not set process
1509 sentinel. It is done now ...
1510 (tramp-maybe-open-connection): ... here. (Bug#8929)
1511
909e6b67
MK
15122011-07-04 MON KEY <monkey@sandpframing.com>
1513
1514 * play/animate.el (animate-string): Doc fixes and allow changing
1515 the buffer name (bug#5417).
1516
15172011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
1518
c8af70e1 1519 * play/animate.el (animation-buffer-name): Rename from *animate*.
909e6b67 1520
f34755dc
PE
15212011-07-04 Paul Eggert <eggert@cs.ucla.edu>
1522
396cec72
PE
1523 * emacs-lisp/timer.el: Use time-date fns rather than rolling our own.
1524 This is simpler and helps future-proof the code.
1525 (timer-until): Use time-subtract and float-time.
08235028 1526 (timer--time-less-p): Use time-less-p.
f34755dc 1527
56e6cc31
JB
15282011-07-04 Juanma Barranquero <lekktu@gmail.com>
1529
3abb79e5
JB
1530 * type-break.el (timep): Use the value of `float-time' to avoid a
1531 byte-compiler warning.
1532
56e6cc31
JB
1533 * server.el (server-eval-and-print): Return any result, even nil.
1534
7b9430b4
PE
15352011-07-03 Paul Eggert <eggert@cs.ucla.edu>
1536
1537 * type-break.el: Accept time formats that the builtins accept.
1538 (timep, type-break-time-difference): Accept any format that
1539 float-time accepts, rather than insisting on (HIGH LOW USECS) format.
1540 This is simpler and helps future-proof the code.
1541 (type-break-time-difference): Round rather than ignoring
1542 subseconds components.
1543
3034e9e7
LMI
15442011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
1545
1546 * info.el (Info-apropos-matches): Make non-interactive, since it
1547 doesn't seem to do anything useful as a command (bug#8829).
1548
1485f4c0
CY
15492011-07-03 Chong Yidong <cyd@stupidchicken.com>
1550
1551 * frame.el (frame-background-mode, frame-set-background-mode):
c8af70e1 1552 Move from faces.el.
1485f4c0
CY
1553 (frame-default-terminal-background): New function.
1554
1555 * custom.el (custom-push-theme): Don't record faces in `changed'
1556 theme; this doesn't work correctly for per-frame face settings.
1557 (disable-theme): Use face-set-after-frame-default to reset faces.
1558 (custom--frame-color-default): New function.
1559
9fa3dd45
LMI
15602011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
1561
c8af70e1 1562 * dired.el (dired-flagging-regexp): Remove unused variable
9fa3dd45
LMI
1563 (bug#8769).
1564
6cbbc20c
KR
15652011-03-29 Kevin Ryde <user42@zip.com.au>
1566
1567 * progmodes/compile.el (compilation-error-regexp-alist-alist):
1568 `perl-Test2' extend to match possible "fail #N" rep count
1569 (bug#8377).
1570
c7f98048
LMI
15712011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
1572
65676592
LMI
1573 * mail/feedmail.el (feedmail-buffer-to-smtpmail):
1574 `smtpmail-via-smtp' now returns the error instead of nil.
1575
c7f98048
LMI
1576 * isearch.el (isearch-search-fun-function): Clarify the doc string
1577 (bug#8101).
1578
56e6cc31 15792011-07-03 Richard Kim <emacs18@gmail.com> (tiny change)
9a51c6c7
RK
1580
1581 * textmodes/texnfo-upd.el (texinfo-insert-menu): Don't insert
1582 unnecessary spaces (bug#8987).
1583
2b216704
LMI
15842011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
1585
1586 * net/network-stream.el (open-network-stream): Use the
1587 :end-of-capability command thoughout.
1588
15892011-07-03 Wolfgang Jenkner <wjenkner@inode.at> (tiny change)
1590
1591 * net/network-stream.el (open-network-stream): Add the
1592 :end-of-capability command parameter, used by pop3.el.
1593
36adf6ce
LMI
15942011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
1595
1ca0da0e
LMI
1596 * dired.el (dired-map-over-marks): Refill the doc string (bug#6814).
1597
fc00f69c
LMI
1598 * fringe.el (fringe-query-style): Remove redundant text " (type ?
1599 for list)" (bug#6475).
1600
28fd8759
LMI
1601 * files.el (file-expand-wildcards): Ignore non-readable
1602 sub-directories while trying to find matches instead of signalling
1603 an error (bug#6297).
1604
0dd8b6da
LMI
1605 * man.el (Man-reference-regexp): Allow matching possible
1606 word-wrapped references (bug#6289).
1607
ce1438d6
LMI
1608 * vc/vc.el (vc-modify-change-comment): Change *VC-log* to *vc-log*
1609 for consistency with the other vc buffers (bug#6197).
1610 (vc-checkin): Ditto.
1611
1612 * vc/vc-arch.el: Fix comments to match the *VC-log* name change.
1613
36adf6ce
LMI
1614 * longlines.el (longlines-mode): Document what ARG does (bug#6150).
1615
e83cc1f7
LMI
16162011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
1617
8a20ca4c
LMI
1618 * custom.el (defcustom): Clarify that :set is only used in the
1619 Customize user interface (bug#6089).
1620
83319045
LMI
1621 * progmodes/flymake.el (flymake-mode): If the buffer isn't
1622 associated with a file, refuse to run instead of erroring out
1623 (bug#6084).
1624
a8392169
LMI
1625 * textmodes/fill.el (fill-region): Remove the "Ordinarily" from
1626 the doc string, since it appears that using `fill-column' always
1627 controls the width (bug#7845).
1628
e83cc1f7
LMI
1629 * simple.el (shell-command-on-region): Say where the error output
1630 went if `shell-command-default-error-buffer' is set (bug#6857).
1631
e47ca23b
KM
16322011-07-02 Ken Manheimer <ken.manheimer@gmail.com>
1633
1634 * allout.el (allout-yank-processing): Adjust cursor position for
1635 backwards-deleted space.
1636
1637 (allout-rebullet-heading): Register changes with
1638 allout-exposure-changed-hook, so the modified topic is properly
1639 decorated.
1640
5cf56143
LMI
16412011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
1642
08549772
LMI
1643 * minibuffer.el (completion-in-region): Document PREDICATE
1644 (bug#7136).
1645
48e96771
LMI
1646 * info-look.el (info-lookup-add-help): Clarify that ARGS is a list
1647 of keyword/argument pairs (bug#6904).
1648
c8af70e1
SM
1649 * replace.el (multi-occur):
1650 Mention `multi-occur-in-matching-buffers' in the doc string (bug#7566).
5cf56143 1651
e17d05e2
LMI
16522011-07-02 Drew Adams <drew.adams@oracle.com>
1653
1654 * dired.el (dired-mark-if): Make the message about whether it's
1655 marking or unmarking clearer (bug#8523).
1656
063b0e45
LMI
16572011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
1658
1659 * disp-table.el (display-table-print-array): New function.
1660 (describe-display-table): Use it to print the vectors more pretty
1661 (Bug#8859).
1662
28545e04
MR
16632011-07-02 Martin Rudalics <rudalics@gmx.at>
1664
1665 * window.el (window-state-get-1): Don't assign clone numbers.
1666 Add clone-of item to list of window parameters.
1667 (window-state-put-2): Don't process clone numbers.
1668 (display-buffer-alist): Fix doc-string.
1669
3349e122
SM
16702011-07-02 Stefan Monnier <monnier@iro.umontreal.ca>
1671
1672 * subr.el (remq): Don't allocate if it's not needed.
1673 (keymap--menu-item-binding, keymap--menu-item-with-binding)
1674 (keymap--merge-bindings): New functions.
1675 (keymap-canonicalize): Use them to refine the canonicalization.
1676 * minibuffer.el (minibuffer-local-completion-map)
1677 (minibuffer-local-must-match-map): Move initialization from C.
1678 (minibuffer-local-filename-completion-map): Move initialization from C;
1679 don't inherit from anything here.
1680 (minibuffer-local-filename-must-match-map): Make obsolete.
1681 (completing-read-default): Use make-composed-keymap to combine
1682 minibuffer-local-filename-completion-map with either
1683 minibuffer-local-must-match-map or
1684 minibuffer-local-filename-completion-map.
1685
d224ac83
GM
16862011-07-01 Glenn Morris <rgm@gnu.org>
1687
3de63bf8
GM
1688 * type-break.el (type-break-time-sum): Use dolist.
1689
d224ac83
GM
1690 * textmodes/flyspell.el (flyspell-word-search-backward):
1691 Replace CL function.
1692
1a1e3f32
SM
16932011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
1694
fe3f64d5
SM
1695 * mouse.el (mouse--strip-first-event): New function.
1696 (function-key-map): Use it to map fringe clicks to normal clicks
1697 by default.
1698
eb604e34
SM
1699 * vc/vc-bzr.el (vc-bzr-revision-keywords): Update.
1700 (vc-bzr-revision-completion-table): Add support for annotate and date.
1701
1a1e3f32
SM
1702 * emacs-lisp/derived.el (define-derived-mode): Make abbrev-table
1703 inherit from parent.
1704
5bd35902
LMI
17052011-07-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
1706
ace6c69c 1707 * dired-aux.el (dired-diff): Doc fixup (bug#8816).
26bde865 1708 (dired-show-file-type): Doc fixup (bug#8818).
ace6c69c 1709
191e2bed
LMI
1710 * dired.el (dired-mode): Fix up the doc string as suggested by
1711 Drew Adams (bug#8817).
1712
5bd35902
LMI
1713 * progmodes/flymake.el (flymake-find-file-hook): Add an `autoload'
1714 cookie, since the manual says that it should be possible to add
1715 this function to `find-file-hook' (bug#8709).
1716
eee8207a
TZ
17172011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
1718
1719 * progmodes/cfengine.el: Moved all cfengine3.el functionality
1720 here. Noted Ted Zlatanov as the maintainer.
1721 (cfengine-common-settings, cfengine-common-syntax): New functions
1722 to set up common things between `cfengine-mode' and
1723 `cfengine3-mode'.
1724 (cfengine3-mode): New mode.
1725 (cfengine3-defuns cfengine3-defuns-regex
1726 (cfengine3-class-selector-regex cfengine3-category-regex)
1727 (cfengine3-vartypes cfengine3-font-lock-keywords)
1728 (cfengine3-beginning-of-defun, cfengine3-end-of-defun)
eb604e34 1729 (cfengine3-indent-line): Add from cfengine3.el.
eee8207a 1730
36b148cf
MA
17312011-07-01 Michael Albinus <michael.albinus@gmx.de>
1732
1733 * net/tramp.el (tramp-encoding-command-interactive): New defcustom.
1734
1735 * net/tramp-sh.el (tramp-maybe-open-connection): Use it.
1736
0bf4ba9a
MR
17372011-07-01 Martin Rudalics <rudalics@gmx.at>
1738
1739 * window.el (same-window-buffer-names, same-window-regexps)
1740 (same-window-p, special-display-frame-alist)
1741 (special-display-popup-frame, special-display-function)
1742 (special-display-buffer-names, special-display-regexps)
1743 (special-display-p, pop-up-frame-alist, pop-up-frame-function)
1744 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
1745 (split-window-preferred-function, split-height-threshold)
1746 (split-width-threshold, even-window-heights)
1747 (display-buffer-mark-dedicated, window-splittable-p)
1748 (split-window-sensibly, window-safely-shrinkable-p):
1749 Un-obsolete.
1750 (display-buffer): Don't spread args with function specifier
1751 because special-display-popup-frame won't like it.
1752
35837f51
PE
17532011-07-01 Paul Eggert <eggert@cs.ucla.edu>
1754
d0672f86
PE
1755 Time-stamp simplifications and fixes.
1756 These improve accuracy slightly, and future-proof the code
1757 against some potential changes to current-time format.
1758
b9444d97
PE
1759 * woman.el (woman-decode-buffer, WoMan-log-end): Log fractional secs
1760 by using time-since and float-time.
1761
0ef923dc
PE
1762 * vc/ediff-util.el (ediff-calc-command-time): Use time-since
1763 and float-time. Say "NNN.NNN seconds" rather than "NNN seconds
1764 + NNN microseconds".
1765
2f81380d
PE
1766 * type-break.el (type-break-time-sum): Rewrite using time-add.
1767
845b5c3e
PE
1768 * play/hanoi.el (hanoi-current-time-float): Remove.
1769 All uses replaced by float-time.
1770
ee6f1be0
PE
1771 * nxml/rng-maint.el (rng-time-function): Rewrite using time-subtract.
1772 This yields a more-accurate answer.
1773 (rng-time-to-float): Remove; no longer needed.
1774
fe955043
PE
1775 * emacs-lisp/timer.el (timer-relative-time): Use time-add.
1776
5777162a
PE
1777 * calendar/timeclock.el (timeclock-seconds-to-time):
1778 Defalias to seconds-to-time, since they're the same thing.
1779
3103f8b6 1780 * emacs-lisp/elp.el (elp-elapsed-time):
e2bac5f6 1781 * emacs-lisp/benchmark.el (benchmark-elapse):
35837f51
PE
1782 * allout-widgets.el (allout-elapsed-time-seconds): Use float-time.
1783
0e61a35f
SM
17842011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
1785
1786 * window.el (bury-buffer): Don't iconify the only frame.
1787 (switch-to-buffer): Revert to Emacs<23 behavior, i.e. do not fallback
1788 to pop-to-buffer. Use pop-to-buffer-same-frame if you don't like that.
1789
ddd63a1e
CY
17902011-07-01 Chong Yidong <cyd@stupidchicken.com>
1791
0e61a35f
SM
1792 * eshell/em-smart.el (eshell-smart-display-navigate-list):
1793 Add mouse-yank-primary.
ddd63a1e 1794
055f4923
TZ
17952011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
1796
1797 * progmodes/cfengine3.el: New file to support CFEngine 3.x.
1798
6a2fb145
SM
17992011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
1800
1801 * emacs-lisp/find-func.el (find-library--load-name): New fun.
1802 (find-library-name): Use it to find relative load names when provided
1803 absolute file name (bug#8803).
1804
fd4983f2
LMI
18052011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
1806
887d14ad
LMI
1807 * textmodes/flyspell.el (flyspell-word): Consider words that
1808 differ only in case as potential doublons (bug#5687).
1809
c53dc7fc
LMI
1810 * net/soap-client.el (soap-invoke, soap-wsdl-resolve-references):
1811 Remove two rather uninteresting debugging-like messages to make
1812 debbugs.el more silent.
1813
fd4983f2
LMI
1814 * comint.el (comint-password-prompt-regexp): Accept "Response" as
1815 a password-like phrase.
1816
b14c0c55
AM
18172011-06-30 Mastake YAMATO <yamato@redhat.com>
1818
1819 * progmodes/cc-guess.el: New file.
1820
6a2fb145 1821 * progmodes/cc-langs.el (c-mode-menu): Add "Style..." submenu.
b14c0c55
AM
1822
1823 * progmodes/cc-styles.el (cc-choose-style-for-mode): New function
1824 derived from `c-basic-common-init'.
1825
1826 * progmodes/cc-mode.el (top-level): Require cc-guess.
1827 (c-basic-common-init): Use `cc-choose-style-for-mode'.
1828
1fa280a3
LM
18292011-06-30 Lawrence Mitchell <wence@gmx.li>
1830
1831 * progmodes/js.el (js-mode): Don't stomp on global settings (bug#8933).
1832
e6597158
AM
18332011-06-30 Alan Mackenzie <acm@muc.de>
1834
1fa280a3
LM
1835 * progmodes/cc-engine.el (c-guess-continued-construct):
1836 Correct the handling of template-args-cont, particularly for when font
e6597158
AM
1837 lock is disabled. Name this case as "CASE G".
1838
68ba37fb
KM
18392011-06-30 Ken Manheimer <ken.manheimer@gmail.com>
1840
1841 * allout.el (allout-yank-processing): Fix injection of extra space
1842 between bullet and non-whitespace character in first topic when
1843 pasting, ensuring that the actual spacing in the pasted topic
1844 following the bullet char is preserved. This extra space was
1845 causing pasted encrypted topics to get a decrypted status even
1846 when the content was actually still encrypted. Now the decryption
1847 status from before the paste is preserved.
1848
1849 (allout-flag-region): Set all allout overlays so they evaporate
1850 when reduced to zero length (evanescent), to prevent overlay
1851 leakage.
1852
887a0b34
GM
18532011-06-30 Glenn Morris <rgm@gnu.org>
1854
94b9acce
GM
1855 * w32-fns.el (w32-charset-info-alist): Declare.
1856
1d9b46d4
GM
1857 * find-dired.el (find-grep-options): Simplify.
1858
cc232200
GM
1859 * term/ns-win.el (ns-set-resource): Declare.
1860
28e77c46
GM
1861 * ses.el (row, col): Declare dynamic variables honestly.
1862
887a0b34
GM
1863 * textmodes/reftex-parse.el (index-tags): Declare.
1864
658d8eb8
CY
18652011-06-30 Chong Yidong <cyd@stupidchicken.com>
1866
1867 * cus-edit.el (customize-push-and-save): New function.
1868
1869 * files.el (hack-local-variables-confirm): Use it.
1870
1fa280a3
LM
1871 * custom.el (load-theme): New arg NO-CONFIRM.
1872 Use customize-push-and-save (Bug#8720).
658d8eb8
CY
1873 (custom-enabled-themes): Doc fix.
1874
1875 * cus-theme.el (customize-create-theme)
1876 (custom-theme-merge-theme): Callers to load-theme changed.
1877
bb617717
LMI
18782011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
1879
d61bdd5d
LMI
1880 * thingatpt.el (thing-at-point-short-url-regexp): Require that
1881 short URLs have at least one dot in them (bug #7614).
1882
bb617717
LMI
1883 * progmodes/grep.el (rgrep): Bind `process-connection-type' to
1884 nil, because using a pty is apparently too slow (bug #895).
1885
2f31f37a
LMI
18862011-06-29 Lars Magne Ingebrigtsen <larsi@gnus.org>
1887
1888 * mail/sendmail.el (sendmail-query-once): New function.
1889 (sendmail-query-once-function): New variable.
1890
3076b24e
GM
18912011-06-29 Glenn Morris <rgm@gnu.org>
1892
faf2a174
GM
1893 * files.el (auto-mode-alist): Add .f03, .f08 for f90-mode.
1894
3076b24e
GM
1895 * ses.el (top-level): Require cl when compiling.
1896 (ses-set-localvars): Fix error statement.
1897 Call it at compile time to silence a storm of warnings.
1898
5386012d
MR
18992011-06-29 Martin Rudalics <rudalics@gmx.at>
1900
1901 * window.el (normalize-live-buffer): Rename to
1902 window-normalize-buffer.
1903 (normalize-live-frame): Rename to window-normalize-frame.
1904 (normalize-any-window): Rename to window-normalize-any-window.
1905 (normalize-live-window): Rename to window-normalize-live-window.
1906 (make-window-atom): Rename to window-make-atom.
1907 (window-resize-reset): Rename to window--resize-reset.
1908 (window-resize-reset-1): Rename to window--resize-reset-1.
1909 (resize-mini-window): Rename to window--resize-mini-window.
1910 (resize-subwindows-skip-p): Rename to
1911 window--resize-subwindows-skip-p.
1912 (resize-subwindows-normal): Rename to
1913 window--resize-subwindows-normal.
1914 (resize-subwindows): Rename to window--resize-subwindows.
1915 (resize-other-windows): Rename to window--resize-siblings.
1916 (resize-this-window): Rename to window--resize-this-window.
1917 (resize-root-window): Rename to window--resize-root-window.
1918 (resize-root-window-vertically): Rename to
1919 window--resize-root-window-vertically.
1920 (normalize-buffer-to-display): Rename to
1921 window-normalize-buffer-to-display.
1922 (normalize-buffer-to-switch-to): Rename to
1923 window-normalize-buffer-to-switch-to.
1924 Correspondingly update all callers of the functions listed
1925 above.
1926 (display-buffer-alist, display-buffer-normalize-arguments)
1927 (display-buffer-normalize-options, display-buffer)
1928 (display-buffer-alist-set): Use "function" instead of
1929 "fun-with-args".
1930
1176868d
CY
19312011-06-28 Chong Yidong <cyd@stupidchicken.com>
1932
1933 * mail/emacsbug.el (report-emacs-bug): Handle non-gnu bug
1934 addresses more clearly. Add hyperlinks for bug-gnu-emacs and
1935 debbugs.gnu.org. Mention acknowledgment email.
1936
20a7a65f
LMI
19372011-06-28 Lars Magne Ingebrigtsen <larsi@gnus.org>
1938
1939 * mail/smtpmail.el (smtpmail-send-it): Leave off changing the
1940 buffer multibyteness, since it shouldn't matter.
1941
5f45cca5
MR
19422011-06-28 Martin Rudalics <rudalics@gmx.at>
1943
1944 * window.el (display-buffer-in-side-window): Handle dedicated
1945 windows as in display-buffer-reuse-window.
1946 (display-buffer-normalize-alist): Use value of override
1947 specifier.
1948 (display-buffer-normalize-specifiers): Use value of
1949 other-window-means-other-frame specifier.
1950 (display-buffer-alist): Rewrite some texts in widgets.
1951 (display-buffer): Spread arguments when calling function
1952 specified by fun-with-args.
1953
ad85fe1f
DD
19542011-06-28 Deniz Dogan <deniz@dogan.se>
1955
1fa280a3
LM
1956 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-syntax-table):
1957 Unnest `let'.
da68c4c8 1958
ad85fe1f
DD
1959 * textmodes/css-mode.el (css-font-lock-keywords): Fix grouped
1960 selectors (Bug#5732).
ec49bd31 1961 (css-proprietary-nmstart-re): Use `regexp-opt'.
ad85fe1f 1962
a08cc025
JA
19632011-06-27 Jari Aalto <jari.aalto@cante.net>
1964
1965 * eshell/em-ls.el: Display `ls -l' dates in ISO format (Bug#8440).
1966 (eshell-ls-date-format): New defcustom.
1967 (eshell-ls-file): Use it.
1968
e2b551c5
SM
19692011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
1970
1971 * help-fns.el (describe-variable): Fix message for terminal-local vars.
1972
8982b231
KY
19732011-06-27 Katsumi Yamaoka <yamaoka@jpl.org>
1974
1975 * net/ange-ftp.el: Allow loading .gz files (Bug#6923).
1976 (ange-ftp-make-tmp-name): New arg.
1977 (ange-ftp-file-local-copy): Use it.
1978
36c9fa27
J
19792011-06-27 Jambunathan K <kjambunathan@gmail.com>
1980
1981 * tar-mode.el (tar-untar-buffer): Set coding-system-for-write to
1982 no-conversion (Bug#8870).
1983
d68443dc
MR
19842011-06-27 Martin Rudalics <rudalics@gmx.at>
1985
1986 * window.el (window-right, window-left, window-child)
1987 (window-child-count, window-last-child)
1988 (window-iso-combination-p, walk-window-tree-1)
1989 (window-atom-check-1, window-tree-1, delete-window)
1990 (window-state-get-1, display-buffer-even-window-sizes): Adapt to
1991 new naming conventions - window-vchild, window-hchild,
1992 window-next and window-prev are now called window-top-child,
1993 window-left-child, window-next-sibling and window-prev-sibling
1994 respectively.
d615d6d2
MR
1995 (resize-window-reset): Rename to window-resize-reset.
1996 (resize-window-reset-1): Rename to window-resize-reset-1.
1997 (resize-window): Rename to window-resize.
1998 (window-min-height, window-min-width)
1999 (resize-mini-window, resize-this-window, resize-root-window)
2000 (resize-root-window-vertically, adjust-window-trailing-edge)
2001 (enlarge-window, shrink-window, maximize-window)
2002 (minimize-window, delete-window, quit-restore-window)
2003 (split-window, balance-windows, balance-windows-area-adjust)
2004 (balance-windows-area, window-state-put-2)
2005 (display-buffer-even-window-sizes, display-buffer-set-height)
2006 (display-buffer-set-width, set-window-text-height)
2007 (fit-window-to-buffer): Rename all "resize-window" prefixed
2008 calls to use the "window-resize" prefix convention.
2009 (display-buffer-alist): Fix symbol for label specifier.
2010 (display-buffer-reuse-window): Set reuse-dedicated to cdr of
2011 corresponding specifier.
2012 Reported by Juanma Barranquero <lekktu@gmail.com>.
d68443dc 2013
b6458526
VB
20142011-06-27 Vincent Belaïche <vincentb1@users.sourceforge.net>
2015
2016 * ses.el (ses-destroy-cell-variable-range): Fix heading comment
2017 convention.
2018 (ses-call-printer): Does not pass an empty string to formatter when the
2019 cell is empty to keep from barking printer Calc math-format-value.
2020
d31fd9ac
RS
20212011-06-27 Richard Stallman <rms@gnu.org>
2022
43d5bf84
RS
2023 * battery.el (battery-mode-line-limit): New variable.
2024 (battery-update): Handle it.
2025
d31fd9ac
RS
2026 * mail/rmailmm.el (rmail-mime-process-multipart):
2027 Handle truncated messages.
2028
819a6054
GM
20292011-06-27 Glenn Morris <rgm@gnu.org>
2030
2031 * progmodes/flymake.el (flymake-err-line-patterns):
2032 Allow for column numbers in the ant/javac pattern. (Bug#8866)
2033
cedc73f2
VB
20342011-06-27 Vincent Belaïche <vincentb1@users.sourceforge.net>
2035
819a6054 2036 * ses.el (ses-relocate-range): Keep rest of arguments for ses-range.
cedc73f2
VB
2037 (ses--clean-!, ses--clean-_): New functions.
2038 (ses-range): Add configurability of readout order, and conversion
2039 to Calc vector.
2040
5e5d49b6
VB
2041 * ses.el (ses-repair-cell-reference-all): New function.
2042 (ses-cell-symbol): Set macro as safe, so that it can be used in
2043 formulas.
2044
56e6cc31 2045 * ses.el: Update cycle detection algorithm.
90ca8b49 2046 (ses-localvars): Add ses--Dijkstra-attempt-nb and
819a6054 2047 ses--Dijkstra-weight-bound, and initial values thereof when applicable.
90ca8b49
VB
2048 (ses-set-localvars): New function.
2049 (ses-make-cell): Add property-list as a cell element.
2050 (ses-cell-property-get-fun, ses-cell-property-get)
2051 (ses-cell-property-delq-fun, ses-cell-property-set-fun)
819a6054
GM
2052 (ses-cell-property-pop-fun, ses-cell-property-get-handle-fun):
2053 New functions.
90ca8b49
VB
2054 (ses-cell-property-set, ses-cell-property-pop)
2055 (ses-cell-property-get-handle): New macro.
2056 (ses-cell-property-handle-car, ses-cell-property-handle-setcar):
2057 New aliases, used for code readability.
2058 (ses-calculate-cell, ses-update-cells): Use Dijkstra algorithm for
2059 cycle detection.
2060 (ses-self-reference-early-detection): New defcustom.
2061 (ses-formula-references): Robustify against self-refering cells.
2062 (ses-mode): Use ses-set-localvars.
2063 (ses-command-hook): Add call to ses-initialize-Dijkstra-attempt
2064 before lauching the update processing.
2065 (ses-initialize-Dijkstra-attempt): New function.
2066 (ses-recalculate-cell): Update for cycle detection based on
2067 Dijkstra algorithm.
2068
2bb63e81
VB
2069 * ses.el: Fix commenting and indenting convention.
2070
c9d29fb8
SM
20712011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
2072
2073 * bs.el (bs-cycle-next): Complete last change.
2074
d8e4b68b
JB
20752011-06-27 Drew Adams <drew.adams@oracle.com>
2076
2077 * faces.el (list-faces-display): Add help-mode-map to output (bug#8939).
2078
40098786
LMI
20792011-06-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
2080
c9d29fb8
SM
2081 * net/network-stream.el (network-stream-open-starttls):
2082 Don't re-get capabilities unless we've reestablished connection.
f6ab314e
LMI
2083 (network-stream-open-starttls): Fix stupid typo with gnutls-clii.
2084
40098786
LMI
2085 * mail/smtpmail.el (smtpmail-via-smtp): Bind coding-system-for-*
2086 to binary to possibly avoid line encoding issues on Windows (among
2087 other things).
2088
468d09d4
LMI
20892011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
2090
2091 * net/network-stream.el (open-network-stream): Return an :error
2092 saying what the problem was, if possible.
2093
2094 * mail/smtpmail.el (smtpmail-via-smtp): Report the error from the
2095 server.
2096
2097 * net/network-stream.el (network-stream-open-starttls): If we
2098 wanted to use STARTTLS, and the server offered it, but we weren't
2099 able to because we had no STARTTLS support, then close the connection.
2100 (open-network-stream): Return an :error element, if present.
2101
16f07dd7
CY
21022011-06-26 Chong Yidong <cyd@stupidchicken.com>
2103
88821ca0
CY
2104 * hl-line.el (hl-line-sticky-flag): Doc fix.
2105 (global-hl-line-sticky-flag): New option (Bug#8323).
2106 (global-hl-line-highlight): Obey it.
2107
16f07dd7
CY
2108 * vc/vc.el (vc-revert-show-diff): Default to t.
2109
6b5ccddf
KM
21102011-06-26 Ken Manheimer <ken.manheimer@gmail.com>
2111
c9d29fb8
SM
2112 * allout-widgets.el (allout-widgets-post-command-business):
2113 Stop decorating intermediate isearch matches. They're not being
6b5ccddf
KM
2114 undecorated when an isearch is continued past, and isearch
2115 automatically collapses them. This leads to "widget leaks", where
2116 decorated items accumulate in collapsed areas. Lines with lots of
c9d29fb8
SM
2117 hidden widgets can slow down cursor travel, substantially.
2118 Too much complicated machinery would be needed to ensure undecoration,
6b5ccddf
KM
2119 so we're doing without this nicety.
2120
2121 (allout-widgets-tally-string): Don't try to do a hash-table-count
2122 of allout-widgets-tally when it's nil. This eliminates spurious "Error
2123 during redisplay: (wrong-type-argument hash-table-p nil)" warnings in
2124 *Messages* when allout-widgets-maintain-tally is t.
2125
355f2e07
MR
21262011-06-26 Martin Rudalics <rudalics@gmx.at>
2127
2128 * window.el (display-buffer-normalize-argument): Rename to
2129 display-buffer-normalize-arguments. Handle special meaning of
6b5ccddf
KM
2130 LABEL argument. Respect special-display-function when popping up
2131 a new frame. Fix code searching for a window showing the buffer
2132 on another frame.
c9d29fb8
SM
2133 (display-buffer-normalize-specifiers):
2134 Call display-buffer-normalize-arguments.
355f2e07
MR
2135 (display-buffer-in-window): Don't undedicate the window if its
2136 buffer remains the same.
2137 Reported by Drew Adams <drew.adams@oracle.com>.
2138 (display-buffer-alist): Add choice for same-window macro
2139 specfier.
2140 (display-buffer): Mention special meaning of LABEL argument in
2141 doc-string. Fix quoting. Don't pop up a new frame even as
2142 fallback.
2143
7ca8fc42
JB
21442011-06-26 Juanma Barranquero <lekktu@gmail.com>
2145
2146 * bs.el (bs-cycle-next): Pass current buffer to `bury-buffer' to
2147 avoid deleting the current window in some cases (bug#8911).
2148
bc312254
AS
21492011-06-26 Andreas Schwab <schwab@linux-m68k.org>
2150
2151 * emacs-lisp/smie.el (smie-bnf->prec2): Fix last change.
2152 (Bug#8934)
2153
2db18f3f
LMI
21542011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
2155
c9d29fb8
SM
2156 * net/network-stream.el (network-stream-open-starttls):
2157 Use built-in TLS support if `gnutls-available-p' is true.
2db18f3f
LMI
2158 (network-stream-open-tls): Ditto.
2159
6302e0d3
LL
21602011-06-26 Leo Liu <sdl.web@gmail.com>
2161
2162 * register.el (registerv): New struct.
2163 (registerv-make): New function.
c9d29fb8
SM
2164 (jump-to-register, describe-register-1, insert-register):
2165 Support the jump-func, print-func and insert-func slot of a registerv
6302e0d3
LL
2166 struct. (Bug#8415)
2167
5fdd4046
CY
21682011-06-26 Chong Yidong <cyd@stupidchicken.com>
2169
2afef60a
CY
2170 * vc/vc.el (vc-revert-show-diff): New defcustom.
2171 (vc-diff-internal): New arg specifying diff buffer.
2172 (vc-revert): Obey vc-revert-show-diff. If we show a diff, don't
2173 reuse an existing *vc-diff* buffer (Bug#8927).
2174
5fdd4046
CY
2175 * progmodes/cperl-mode.el (cperl-mode): Derive from prog-mode.
2176
e93db24a
GM
21772011-06-26 Glenn Morris <rgm@gnu.org>
2178
2179 * progmodes/f90.el (f90-critical-indent): New option.
2180 (f90-font-lock-keywords-2, f90-blocks-re, f90-end-block-re)
2181 (f90-start-block-re, f90-mode-abbrev-table): Add block, critical.
2182 (f90-mode): Doc fix.
2183 (f90-looking-at-critical, f90-looking-at-end-critical): New funcs.
2184 (f90-no-block-limit, f90-calculate-indent, f90-end-of-block)
2185 (f90-beginning-of-block, f90-next-block, f90-indent-region)
2186 (f90-match-end): Handle block, critical.
2187
eefff499
GM
21882011-06-25 Glenn Morris <rgm@gnu.org>
2189
f6ba4cc9
GM
2190 * calendar/diary-lib.el (diary-included-files): Doc fix.
2191 (diary-include-files): New function, extracted from
2192 diary-include-other-diary-files and diary-mark-included-diary-files.
2193 (diary-include-other-diary-files, diary-mark-included-diary-files):
2194 Just call diary-include-files.
2195 (diary-mark-entries): Reset diary-included-files on first call.
2196
16712304
GM
2197 * calendar/diary-lib.el (diary-mark-entries)
2198 (diary-mark-included-diary-files):
2199 Visit included diary-files in temp buffers.
2200
5d8e0d43
GM
2201 * progmodes/f90.el (f90-keywords-re, f90-font-lock-keywords-1)
2202 (f90-blocks-re, f90-program-block-re, f90-end-block-re)
2203 (f90-start-block-re, f90-imenu-generic-expression)
2204 (f90-looking-at-program-block-start, f90-no-block-limit):
2205 Add support for submodules.
2206
ccf7a5d5
GM
2207 * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
2208 (f90-procedures-re, f90-constants-re): Add some F2008 stuff.
eefff499 2209
11fdef7d 22102011-06-25 Eli Zaretskii <eliz@gnu.org>
638e9005
EZ
2211
2212 * net/ange-ftp.el (ange-ftp-insert-file-contents): Let-bind
2213 buffer-file-type before setting its value, to avoid disastrous
eefff499 2214 global effects on decoding files for DOS/Windows systems. (Bug#8780)
638e9005 2215
74f53697
JB
22162011-06-25 Juanma Barranquero <lekktu@gmail.com>
2217
2218 * allout.el (allout-unload-function): Pass -1 to `allout-mode'.
2219
2220 * ses.el (ses-unload-function):
2221 * emacs-lisp/re-builder.el (re-builder-unload-function): Simplify.
2222
2223 * proced.el (proced-unload-function):
2224 * progmodes/cperl-mode.el (cperl-mode-unload-function): Remove.
2225
18a4ce5e
AR
22262011-06-25 Andreas Rottmann <a.rottmann@gmx.at>
2227
2228 * server.el (server-create-window-system-frame): Add parameters arg.
2229 (server-process-filter): Doc fix. Handle frame-parameters.
2230
519d22cc
JB
22312011-06-25 Juanma Barranquero <lekktu@gmail.com>
2232
2233 Fix bug#8730, bug#8781.
2234
2235 * loadhist.el (unload--set-major-mode): New function.
2236 (unload-feature): Use it.
2237
2238 * progmodes/python.el (python-after-info-look): Add autoload cookie.
2239 (python-unload-function): New function.
2240
c206f5b0
SM
22412011-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
2242
2243 * mail/rmail.el (rmail-show-message-1): Use restore-buffer-modified-p.
2244
f9ad64f3
GS
22452011-06-25 Giuseppe Scrivano <gscrivano@gnu.org>
2246
2247 * net/browse-url.el (browse-url-firefox-program): Add icecat to
2248 the candidates list.
2249
7d0da90e
JB
22502011-06-24 Juanma Barranquero <lekktu@gmail.com>
2251
2252 * progmodes/verilog-mode.el (verilog-mode): Fix test for bound variable.
2253
14b4e83d
RS
22542011-06-23 Richard Stallman <rms@gnu.org>
2255
2256 * mail/rmail.el: Going to grep hit in Rmail buffer finds the message.
2257 (rmail-variables): Set next-error-move-function.
2258 (rmail-what-message): Take argument POS.
2259 (rmail-next-error-move): New function.
2260
273d2baf
SM
22612011-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
2262
2263 * emacs-lisp/smie.el (smie-bnf->prec2): Give more understandable error
2264 messages for adjacent non-terminals.
2265
56c2cc9a
RS
22662011-06-23 Richard Stallman <rms@gnu.org>
2267
2268 * mail/rmail.el (rmail-retry-ignored-headers): Add message-id.
f444564c 2269 (rmail-show-message-1): Preserve buffer modified flag.
8050daa1
RS
2270 (rmail-start-mail): Don't specify use of rmail-mail-return;
2271 that's done by mail-bury now.
2272 (rmail-mail-return): Handle arg NEWBUF.
56c2cc9a 2273
d59eb518
MA
22742011-06-23 Michael Albinus <michael.albinus@gmx.de>
2275
2276 * net/tramp-sh.el (tramp-method-out-of-band-p): Check, whether
2277 SIZE is a number.
2278
02cfc6d6
MR
22792011-06-23 Martin Rudalics <rudalics@gmx.at>
2280
2281 * window.el (get-lru-window, get-mru-window)
2282 (get-largest-window): Never return a minibuffer window.
2283 (display-buffer-pop-up-window): Fix a bug that could lead to
2284 reusing the minibuffer window.
2285 (display-buffer): Pass original specifier argument to
2286 display-buffer-function instead of the normalized one.
2287 Reported by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
2288
4e323265
LL
22892011-06-22 Leo Liu <sdl.web@gmail.com>
2290
2291 * minibuffer.el (completing-read-function)
2292 (completing-read-default): Move from minibuf.c
2293
7a70468f
RS
22942011-06-22 Richard Stallman <rms@gnu.org>
2295
50718fc2
RS
2296 * mail/sendmail.el (mail-bury): If Rmail is in use, return nicely
2297 to Rmail even if not started by a special Rmail command.
2298
7a70468f
RS
2299 * mail/rmailmm.el (rmail-insert-mime-forwarded-message):
2300 Copy the buffer currently showing just one message.
2301
297dde5a
RW
23022011-06-22 Roland Winkler <winkler@gnu.org>
2303
2304 * textmodes/bibtex.el (bibtex-entry-update): Use mapc.
2305 (bibtex-clean-entry): First delete the old key so that a
2306 customized algorithm for generating the new key does not get
2307 confused by the old key.
2308 (bibtex-url): Obey regexp of first step.
2309 (bibtex-search-entries): Do not use add-to-list with local
2310 list-var.
2311
97bb1093
LMI
23122011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
2313
2314 * mail/smtpmail.el (smtpmail-try-auth-methods): If the user has
2315 stored a user name, then query for the password first, instead of
2316 waiting for SMTP to give an error message and the trying again.
2317
1c0f1a19
JD
23182011-06-22 Lawrence Mitchell <wence@gmx.li>
2319
2320 * net/browse-url.el (browse-url-xdg-open): Use 0, rather than nil
2321 BUFFER in call-process.
2322
396f7c9d
LMI
23232011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
2324
2325 * mail/smtpmail.el (smtpmail-via-smtp): Make sure we don't send
2326 QUIT twice.
ddb7ffee
LMI
2327 (smtpmail-try-auth-methods): Require user name and password from
2328 auth-source.
396f7c9d 2329
8998d1b3
MR
23302011-06-22 Martin Rudalics <rudalics@gmx.at>
2331
2332 * window.el (display-buffer-default-specifiers)
2333 (display-buffer-alist): Remove entries for pop-up-frame-alist.
2334 Suggested by Katsumi Yamaoka <yamaoka@jpl.org>.
130e3e11 2335 (split-window): Normalize SIDE argument (Bug#8916).
8998d1b3
MR
2336
2337 * frame.el (pop-up-frame-alist, pop-up-frame-function)
2338 (special-display-frame-alist, special-display-popup-frame):
2339 Remove duplicate declarations. These are now in window.el.
2340
4ea31e07
LMI
23412011-06-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
2342
c9d29fb8
SM
2343 * mail/smtpmail.el (smtpmail-via-smtp):
2344 Set :use-starttls-if-possible so that we always use STARTTLS if the
6af7a784
LMI
2345 server supports it. SMTP servers that support STARTTLS commonly
2346 require it.
2347
2348 * net/network-stream.el (network-stream-open-starttls): Support
2349 upgrading to STARTTLS always, even if we don't have built-in support.
2350 (open-network-stream): Add the :always-query-capabilies keyword.
2351
95f41d9a
LMI
2352 * mail/smtpmail.el: Rewritten to do opportunistic STARTTLS
2353 upgrades with `open-network-stream', and rely solely on
2354 auth-source for all credentials. Big changes throughout the file,
2355 but in particular:
c9d29fb8
SM
2356 (smtpmail-auth-credentials): Remove.
2357 (smtpmail-starttls-credentials): Remove.
7d36ad46
LMI
2358 (smtpmail-via-smtp): Check for servers saying they want AUTH after
2359 MAIL FROM, too.
95f41d9a 2360
c9d29fb8
SM
2361 * net/network-stream.el (network-stream-open-starttls):
2362 Provide support for client certificates both for external and built-in
4ea31e07
LMI
2363 STARTTLS.
2364 (auth-source): Require.
2365 (open-network-stream): Document the :client-certificate keyword.
eb8c9362
LMI
2366 (network-stream-certificate): Change cert-cert to cert and
2367 cert-key to key.
4ea31e07 2368
065ec2c7
MA
23692011-06-21 Michael Albinus <michael.albinus@gmx.de>
2370
2371 * net/tramp-cache.el (top): Don't load the persistency file when
2372 "emacs -Q" has been called.
2373
cd93b359
DR
23742011-06-21 Tim Harper <timcharper@gmail.com>
2375
d8e4b68b
JB
2376 * term/ns-win.el (ns-initialize-window-system):
2377 Set application-specific `ApplePressAndHoldEnabled' system
cd93b359
DR
2378 resource to NO as it is not yet supported by the NS port.
2379
ae9c0411
JB
23802011-06-21 Juanma Barranquero <lekktu@gmail.com>
2381
2382 * misc.el (list-dynamic-libraries--refresh): Compute header here...
2383 (list-dynamic-libraries): ...not here.
2384
7f3f739f
LL
23852011-06-21 Leo Liu <sdl.web@gmail.com>
2386
2387 * subr.el (sha1): Implement sha1 using secure-hash.
2388
327c8fb1
MR
23892011-06-21 Martin Rudalics <rudalics@gmx.at>
2390
2391 * window.el (display-buffer-alist): In default value do not
2392 enforce searching a window on any but the selected frame.
2393 Reported by Katsumi Yamaoka <yamaoka@jpl.org>.
2394 (display-buffer-select-window): Remove function.
2395 (display-buffer-in-window): When a window on another frame gets
2396 reused, do not select it any more but just raise its frame if
2397 necessary (Bug#8851) and (Bug#8856).
2398 (display-buffer-normalize-options): Handle pop-up-frames related
2399 options more faithfully.
2400 (pop-to-buffer): Don't rely on `display-buffer' selecting the
2401 window if it is on another frame.
c9d29fb8
SM
2402 (display-buffer-alist, display-buffer-default-specifiers):
2403 Don't make new frame unsplittable by default.
9e9de014
MR
2404 (display-buffer-normalize-argument): Fix doc-string typo and use
2405 'same-frame-other-window instead of 'other-window when associating
2406 with display-buffer-macro-specifiers.
327c8fb1 2407
7cf3f556
VB
24082011-06-21 Vincent Belaïche <vincent.b.1@hotmail.fr>
2409
2410 * play/5x5.el (5x5-solve-rotate-left, 5x5-solve-rotate-right):
2411 New functions.
2412 (5x5-mode-map, 5x5-mode-menu): Bind them.
2413 (5x5-draw-grid): Tweak the solver's rendering.
2414
60a406cf
SM
24152011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
2416
2417 * progmodes/compile.el (compilation-error-regexp-alist-alist): Rename
2418 `caml' to `python-tracebacks-and-caml'; allow leading tabs (bug#8585).
2419
d8e4b68b 24202011-06-21 Drew Adams <drew.adams@oracle.com>
5d907d6c
DA
2421
2422 * menu-bar.el: Use function variable instead of switch-to-buffer.
2423 (menu-bar-select-buffer-function): New variable.
60a406cf 2424 (menu-bar-update-buffers): Use it (bug#8876).
5d907d6c 2425
478d6f95
SM
24262011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
2427
2428 * emacs-lisp/bytecomp.el (add-to-list): Add handler to check the
2429 variable's status.
2430
ca530739
JD
24312011-06-20 Jan Djärv <jan.h.d@swipnet.se>
2432
2433 * x-dnd.el (x-dnd-version-from-flags)
2434 (x-dnd-more-than-3-from-flags): New functions that handle long-as-cons
2435 and long as number (Bug#8899).
2436 (x-dnd-handle-xdnd): Call functions above (Bug#8899).
2437
bcd70d97
SM
24382011-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
2439
60a406cf 2440 * minibuffer.el (completion-metadata): Add `metadata' to the alist.
4cb3bfa0
SM
2441 (completion-try-completion, completion-all-completions): Compute the
2442 metadata argument if it's missing; make it optional (bug#8795).
2443
60a406cf 2444 * wid-edit.el: Use lex-bind and move towards completion-at-point.
bcd70d97
SM
2445 (widget-complete): Use new :completion-function property.
2446 (widget-completions-at-point): New function.
2447 (default): Use :completion-function instead of :complete.
60a406cf
SM
2448 (widget-default-completions): Rename from widget-default-complete;
2449 Rewrite.
bcd70d97
SM
2450 (widget-string-complete, widget-file-complete, widget-color-complete):
2451 Remove functions.
2452 (file, symbol, function, variable, coding-system, color):
2453 * international/mule-cmds.el (default-input-method, charset)
2454 (language-info-custom-alist):
2455 * cus-edit.el (face): Use new property :completions.
2456
2457 * progmodes/pascal.el (pascal-completions-at-point): New function.
2458 (pascal-mode): Use it.
2459 (pascal-mode-map): Use completion-at-point.
2460 (pascal-toggle-completions): Make obsolete.
2461 (pascal-complete-word, pascal-show-completions):
2462 * progmodes/octave-mod.el (octave-complete-symbol):
2463 Redefine as obsolete alias.
2464 * progmodes/octave-inf.el (inferior-octave-completion-at-point):
2465 Signal absence of completion info for old Octave,
2466 (inferior-octave-complete): Redefine as obsolete alias.
2467 * progmodes/meta-mode.el: Use lexical-binding and completion-at-point.
2468 (meta-completions-at-point): Rename from meta-complete-symbol and
2469 adapt it for use on completion-at-point-functions.
2470 (meta-common-mode): Use it.
2471 (meta-looking-at-backward, meta-match-buffer): Remove.
2472 (meta-complete-symbol): Redefine as obsolete alias.
2473 (meta-common-mode-map): Use completion-at-point.
2474 * progmodes/make-mode.el: Use lexical-binding and completion-at-point.
2475 (makefile-mode-map): Use completion-at-point.
2476 (makefile-completions-at-point): Rename from makefile-complete and
2477 adapt it for use on completion-at-point-functions.
2478 (makefile-mode): Use it.
2479 (makefile-complete): Redefine as obsolete alias.
2480
aebf69c8
DD
24812011-06-20 Deniz Dogan <deniz@dogan.se>
2482
2483 * net/rcirc.el: Delete trailing whitespaces once and for all.
2484
bfbbb27d
DC
24852011-06-20 Daniel Colascione <dan.colascione@gmail.com>
2486
2487 * emacs-lisp/syntax.el (syntax-ppss): Further improve docstring.
2488
d264a46b
CY
24892011-06-19 Chong Yidong <cyd@stupidchicken.com>
2490
4ca009e5
CY
2491 * files.el (auto-mode-alist): Entry for m2-mode (Bug#8852).
2492
d264a46b
CY
2493 * info.el (Info-apropos-toc-nodes): Minor doc fix (Bug#8833).
2494
fbf5b3ce
MR
24952011-06-19 Martin Rudalics <rudalics@gmx.at>
2496
2497 * window.el (display-buffer-other-window-means-other-frame):
2498 Call display-buffer-normalize-alist.
2499 (display-buffer-normalize-specifiers-1): Rename to
2500 display-buffer-normalize-argument. New argument other-frame.
2501 Rewrite.
2502 (display-buffer-normalize-specifiers-2): Rename to
2503 display-buffer-normalize-options.
2504 (display-buffer-normalize-alist-1): New function.
2505 (display-buffer-normalize-specifiers-3): Rename to
bcd70d97
SM
2506 display-buffer-normalize-alist.
2507 Call display-buffer-normalize-alist-1.
fbf5b3ce
MR
2508 (display-buffer-normalize-options-inhibit): New variable.
2509 (display-buffer-normalize-specifiers): Rewrite calling
2510 display-buffer-normalize-alist,
2511 display-buffer-normalize-argument, and
2512 display-buffer-normalize-options. Don't call the latter if
2513 display-buffer-normalize-options-inhibit is non-nil.
2514 (frame-auto-delete): New option.
2515 (window-deletable-p): Use frame-auto-delete.
9d89fec7
MR
2516 (window-list-no-nils, window-state-ignored-parameters)
2517 (window-state-get-1, window-state-get, window-state-put-list)
bcd70d97
SM
2518 (window-state-put-1, window-state-put-2, window-state-put):
2519 New functions.
9a028c23
MR
2520 (display-buffer-normalize-options): Move special-display-p group
2521 after pop-up-frame group (Bug#8851) and (Bug#8856).
fbf5b3ce 2522
6d10d800
CY
25232011-06-18 Chong Yidong <cyd@stupidchicken.com>
2524
6420d28b
CY
2525 * emacs-lisp/rx.el (rx-constituents): Add support for numbered
2526 groups (Bug#8776).
2527 (rx-submatch-n): New function.
2528 (rx): Document it.
2529
ddb8b596
CY
2530 * dired-x.el (dired-mark-unmarked-files): Fix interactive spec
2531 (Bug#8768).
2532
2533 * replace.el (occur-mode-map): Set occur-edit-mode binding to "e".
2534
77080289
CY
2535 * textmodes/fill.el (default-justification): Add :safe (Bug#8879).
2536
61dfb316
CY
2537 * cus-face.el (custom-declare-face): Call custom-theme-recalc face
2538 anytime existing face settings are present (Bug#8889).
2539
6d10d800
CY
2540 * progmodes/delphi.el (delphi-mode-syntax-table): Use defvar.
2541 (delphi-mode): Use define-derived-mode to inherit from prog-mode.
2542 Remove unused argument.
2543
be3fb2b8
MR
25442011-06-18 Martin Rudalics <rudalics@gmx.at>
2545
bcd70d97
SM
2546 * window.el (display-buffer-default-specifiers):
2547 Remove pop-up-frame. Add pop-up-window-min-height,
be3fb2b8
MR
2548 pop-up-window-min-width, and another reuse-window specifier
2549 (Bug#8882). Reported by Dan Nicolaescu <dann@gnu.org>.
bcd70d97
SM
2550 (display-buffer-normalize-specifiers-2):
2551 Handle split-height-threshold and split-width-threshold also when
be3fb2b8
MR
2552 pop-up-windows is unset. Add a reuse-window specifier for the
2553 case popping up a new window fails.
2554 (special-display-popup-frame): Remove double quoting.
28dec25a 2555 (display-buffer-normalize-specifiers-1): Fix thinko.
be3fb2b8 2556
1c6d8c76
SM
25572011-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
2558
2559 * shell.el (shell-completion-vars): Set pcomplete-termination-string
2560 according to comint-completion-addsuffix.
2561
2562 * pcomplete.el: Convert to lexical binding and fix bug#8819.
2563 (pcomplete-suffix-list): Mark as obsolete.
2564 (pcomplete-completions-at-point): Capture pcomplete-norm-func and
2565 pcomplete-seen in the closure.
2566 (pcomplete-comint-setup): Setup completion-at-point as well.
2567 (pcomplete--entries): New function.
2568 (pcomplete--env-regexp): New var.
2569 (pcomplete-entries): Rewrite to work with partial-completion and
2570 without relying on pcomplete-suffix-list.
2571 (pcomplete-pare-list): Remove, unused.
2572
25aef8b8
MR
25732011-06-17 Martin Rudalics <rudalics@gmx.at>
2574
2575 * window.el (display-buffer-alist): Set pop-up-window-min-height
2576 and pop-up-window-min-width in default value. Reported by
2577 Thierry Volpiatto <thierry.volpiatto@gmail.com>. New specifier
2578 other-window-means-other-frame.
2579 (display-buffer-macro-specifiers): Comment out entry for
2580 other-window specifier.
2581 (display-buffer-other-window-means-other-frame): New function.
2582 (display-buffer-normalize-specifiers-1): New arguments
2583 buffer-name and label. Treat other-window case specially.
2584 (display-buffer-normalize-specifiers-2): Treat other-window case
2585 specially.
2586 (display-buffer-normalize-specifiers-3): New function.
bcd70d97
SM
2587 (display-buffer-normalize-specifiers):
2588 Call display-buffer-normalize-specifiers-3.
25aef8b8 2589
dbad4f69
MR
25902011-06-17 Martin Rudalics <rudalics@gmx.at>
2591
2592 * window.el (same-window-p): Fix two typos introduced when
2593 adding with-no-warnings.
d1067961
MR
2594 (display-buffer-normalize-specifiers-1): Don't check
2595 pop-up-frames for 'unset initialization.
2596 (display-buffer-normalize-specifiers-2): Major rewrite using
2597 special-display-p and same-window-p (Bug#8851) and (Bug#8856).
2598 (pop-up-frames, display-buffer-reuse-frames)
2599 (display-buffer-mark-dedicated): Don't initialize to 'unset.
2600 Suggested by David Engster <deng@randomsample.de>.
2601 (even-window-heights): Initialize to 'unset.
2602 (display-buffer-alist-set): Handle new 'unset initializations.
25aef8b8
MR
2603 (display-buffer-macro-specifiers): Don't pop up a new frame in the
2604 other window case.
dbad4f69 2605
9b9c9e3a
MR
26062011-06-16 Martin Rudalics <rudalics@gmx.at>
2607
bcd70d97
SM
2608 * window.el (display-buffer-normalize-specifiers-1):
2609 Respect current value of pop-up-frames for most reasonable values of
9b9c9e3a 2610 second argument of display-buffer (Bug#8865).
981d5c09
MR
2611 (switch-to-buffer-same-frame, switch-to-buffer-other-window)
2612 (switch-to-buffer-other-window-same-frame)
2613 (switch-to-buffer-other-frame): Fix doc-strings. Reported by Drew
2614 Adams (Bug#8875).
9c2755e9
MR
2615 (display-buffer): Don't check noninteractive when calling
2616 display-buffer-pop-up-frame.
2617 (display-buffer-pop-up-frame): Never pop up a frame in
2618 noninteractive mode (Bug#8857).
67222e1d
MR
2619 (enlarge-window, shrink-window): Don't report an error when the
2620 window can't be resized as requested (Bug#8862).
9b9c9e3a 2621
2b75be67
SM
26222011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
2623
9ffdd3ba
SM
2624 * pcmpl-rpm.el (pcomplete/rpm): Minor simplification.
2625
cb581a67
SM
2626 * emacs-lisp/debug.el (debug): Don't leave the buffer in Debugger.
2627
2b75be67
SM
2628 * abbrev.el (define-abbrev-table): Don't add a table multiple times.
2629
8c0e3589
AM
26302011-06-15 Alan Mackenzie <acm@muc.de>
2631
cb581a67
SM
2632 * progmodes/cc-fonts.el (c-font-lock-declarations): 1: Whilst checking
2633 for declarators, disable knr checking to speed up for normal files.
2634 2: Refactor, replacing a sequence of nested if forms by a cond form.
8c0e3589 2635
b96e6cde
LMI
26362011-06-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
2637
4bba86e6
LMI
2638 * net/network-stream.el (open-network-stream): Add the keyword
2639 :always-query-capabilities for the case where you want to force a
2640 `plain' network connection, but the protocol still requires the
2641 capabilitiy command (i.e., SMTP and EHLO).
2642
2b75be67 2643 * subr.el (process-live-p): Rename from `process-alive-p' for
b96e6cde
LMI
2644 consistency with other `-live-p' functions.
2645
efdcdbf8
SM
26462011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
2647
2648 * window.el (same-window-buffer-names, same-window-regexps)
2649 (special-display-frame-alist, special-display-popup-frame)
2650 (special-display-function, special-display-buffer-names)
2651 (special-display-regexps, pop-up-frame-alist)
2652 (pop-up-frame-function, pop-up-frames, display-buffer-reuse-frames)
2653 (pop-up-windows, split-window-preferred-function)
2654 (split-height-threshold, split-width-threshold, even-window-heights)
2655 (display-buffer-mark-dedicated): Don't encourage the use of
2656 display-buffer-alist from Elisp code.
2657
c5cde042
DN
26582011-06-15 Dan Nicolaescu <dann@ics.uci.edu>
2659
2660 * progmodes/python.el (python-mode): Derive from prog-mode.
2661 * progmodes/ps-mode.el (ps-mode):
2662 * progmodes/mixal-mode.el (mixal-mode):
50328a1b 2663 * progmodes/cfengine.el (cfengine-mode):
c5cde042
DN
2664 * progmodes/ld-script.el (ld-script-mode): Likewise.
2665
baa1c9ab
MR
26662011-06-15 Martin Rudalics <rudalics@gmx.at>
2667
2668 * window.el (display-buffer-alist): Trim default value to avoid
2669 popping up a new frame (Bug#8857) or reusing an arbitrary window
2670 on another frame.
2671 (display-buffer): Do not fall back on popping up a new frame in
2672 batch mode (Bug#8857).
2673
c5dd5a51
CY
26742011-06-14 Chong Yidong <cyd@stupidchicken.com>
2675
2676 * cus-theme.el (describe-theme-1): Use custom-theme-p.
2677 (custom-theme-summary): New function.
2678 (customize-themes): Use it.
2679
d647b7c4
GM
26802011-06-13 Glenn Morris <rgm@gnu.org>
2681
2682 * cus-dep.el (custom-make-dependencies): Use up command-line-args-left.
2683
9481c002
MR
26842011-06-13 Martin Rudalics <rudalics@gmx.at>
2685
357f93d2
MR
2686 * help.el (help-window): Remove variable.
2687 (help-window-point-marker, temp-buffer-max-height)
2688 (temp-buffer-resize-mode, help-window-select): Rewrite doc-strings.
2689 (help-print-return-message): Don't set help-window.
2690 (resize-temp-buffer-window): Rewrite cod eand doc-string.
2691 (help-window-setup-finish): Remove.
2692 (help-window-display-message, help-window-setup)
2693 (with-help-window): Major rewrite based on new
2694 display-buffer-window variable.
2695
2696 * help-mode.el (help-mode-finish): Remove help-window related
2697 code.
2698
2699 * view.el (view-exits-all-viewing-windows): Remove reference to
2700 view-return-to-alist in doc-string.
2701 (view-return-to-alist): Make obsolete.
2702 (view-buffer): Call pop-to-buffer-same-window and remove
2703 undo-window code.
2704 (view-buffer-other-window): Call pop-to-buffer-other-window and
2705 simplify code. Ignore second argument.
2706 (view-buffer-other-frame): Call pop-to-buffer-other-frame and
2707 simplify code. Ignore second argument.
2708 (view-return-to-alist-update): Make obsolete.
2709 (view-mode-enter): Rename second argument to QUIT-RESTORE.
2710 Rewrite using quit-restore window parameters.
2b75be67
SM
2711 (view-mode-exit): Rename second argument to EXIT-ONLY.
2712 Rewrite using quit-restore-window.
357f93d2
MR
2713 (View-exit, View-exit-and-edit, View-leave, View-quit)
2714 (View-quit-all, View-kill-and-leave): Call view-mode-exit with
2715 appropriate arguments.
2716 (view-end-message): Use quit-restore window parameter.
2717
9481c002
MR
2718 * window.el (display-buffer-function): Rewrite doc-string.
2719 (display-buffer-window, display-buffer-alist): New variables.
2720 (display-buffer-split-specifiers)
2721 (display-buffer-side-specifiers)
2722 (display-buffer-macro-specifiers): New constants.
2723 (display-buffer-even-window-sizes, display-buffer-set-height)
2724 (display-buffer-set-width, display-buffer-select-window)
2725 (display-buffer-in-window, display-buffer-reuse-window)
2726 (display-buffer-split-window-1, display-buffer-split-window)
2727 (display-buffer-split-atom-window, display-buffer-pop-up-window)
2728 (display-buffer-pop-up-frame, display-buffer-pop-up-side-window)
2729 (display-buffer-in-side-window, normalize-buffer-to-display)
2730 (display-buffer-normalize-specifiers-1)
2731 (display-buffer-normalize-specifiers-2)
2b75be67
SM
2732 (display-buffer-normalize-specifiers, display-buffer-frame):
2733 New functions.
9481c002
MR
2734 (display-buffer): Major rewrite.
2735 (display-buffer-other-window, display-buffer-other-frame)
2736 (pop-to-buffer, switch-to-buffer-other-window)
2737 (switch-to-buffer-other-frame): Rewrite.
2738 (display-buffer-same-window, display-buffer-same-frame)
2739 (display-buffer-same-frame-other-window)
2740 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
2741 (pop-to-buffer-other-window)
2742 (pop-to-buffer-same-frame-other-window)
2743 (pop-to-buffer-other-frame, switch-to-buffer-same-frame)
2744 (switch-to-buffer-other-window-same-frame): New functions.
2745 (same-window-p, special-display-p): Rewrite disabling warnings.
2746 Make obsolete.
2747 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
2748 (display-buffer-mark-dedicated): Initialize to symbol 'unset.
2749 Make obsolete
2750 (same-window-buffer-names, same-window-regexps)
2751 (special-display-frame-alist, special-display-popup-frame)
2752 (special-display-function, special-display-buffer-names)
2753 (special-display-regexps, pop-up-frame-alist)
2754 (pop-up-frame-function, split-window-preferred-function)
2755 (split-height-threshold, split-width-threshold)
2756 (even-window-heights): Make obsolete.
2757
9db51aca
GM
27582011-06-12 Glenn Morris <rgm@gnu.org>
2759
2760 * term/xterm.el (terminal-init-xterm): `version' may be nil. (Bug#8838)
7cb363eb 2761 Misc simplifications.
9db51aca 2762
39cffb44
MR
27632011-06-12 Martin Rudalics <rudalics@gmx.at>
2764
2765 * window.el (window-safely-shrinkable-p): Restore function which
2766 was inadvertently removed in change from 2011-06-11. Declare as
2767 obsolete.
2768
2b75be67
SM
2769 * calendar/calendar.el (calendar-generate-window):
2770 Use window-iso-combined-p instead of combination of one-window-p and
39cffb44
MR
2771 window-safely-shrinkable-p.
2772
a8955be7
GM
27732011-06-12 Glenn Morris <rgm@gnu.org>
2774
2775 * progmodes/fortran.el (fortran-mode-syntax-table):
2776 * progmodes/f90.el (f90-mode-syntax-table):
2777 Set % to punctuation. (Bug#8820)
2778 (f90-find-tag-default): Remove, no longer needed.
2779
f0d4059d
DC
27802011-06-12 Daniel Colascione <dan.colascione@gmail.com>
2781
2782 * emacs-lisp/syntax.el (syntax-ppss): Clarify which items are invalid.
2783
1100a63c
CY
27842011-06-11 Chong Yidong <cyd@stupidchicken.com>
2785
2786 * image.el (image-animated-p): Return animation delay in seconds.
2787 Avoid bit manipulation in Lisp; use `delay' entry in the metadata.
2788 (image-animate-timeout): Remove DELAY argument. Don't assume
2789 every subimage has the same delay; get it from image-animated-p.
2790 (image-animate): Caller changed.
2791
def722bf
MA
27922011-06-11 Michael Albinus <michael.albinus@gmx.de>
2793
2794 * net/tramp.el (tramp-debug-message): Add `tramp-with-progress-reporter'
2795 to ignored backtrace functions.
2796
0a2bb1a9
GM
27972011-06-11 Glenn Morris <rgm@gnu.org>
2798
2799 * calendar/appt.el (appt-disp-window-function): Doc fix.
2800 (appt-check): Handle overlapping appointments. (Bug#8337)
2801
6198ccd0
MR
28022011-06-11 Martin Rudalics <rudalics@gmx.at>
2803
2804 * window.el (window-tree-1, window-tree): New functions, moving
2805 the latter to window.el.
2806 (bw-get-tree, bw-get-tree-1, bw-find-tree-sub)
2807 (bw-find-tree-sub-1, bw-l, bw-t, bw-r, bw-b, bw-dir, bw-eqdir)
2808 (bw-refresh-edges): Remove.
2809 (balance-windows-1, balance-windows-2): New functions.
2810 (balance-windows): Rewrite in terms of window tree functions,
2811 balance-windows-1 and balance-windows-2.
2812 (bw-adjust-window): Remove.
2813 (balance-windows-area-adjust): New function with functionality of
2814 bw-adjust-window but using resize-window.
2b75be67
SM
2815 (set-window-text-height): Rewrite doc-string.
2816 Use normalize-live-window and resize-window.
2817 (enlarge-window-horizontally, shrink-window-horizontally):
2818 Rename argument to DELTA.
6198ccd0
MR
2819 (window-buffer-height): New function.
2820 (fit-window-to-buffer, shrink-window-if-larger-than-buffer):
2821 Rewrite using new window resize routines.
2b75be67
SM
2822 (kill-buffer-and-window, mouse-autoselect-window-select):
2823 Use ignore-errors instead of condition-case.
6198ccd0
MR
2824 (quit-window): Call delete-frame instead of delete-windows-on
2825 for the only buffer on frame.
2826
9397e56f
MR
28272011-06-10 Martin Rudalics <rudalics@gmx.at>
2828
2829 * loadup.el (top-level): Load window before files for the sake
2830 of replace-buffer-in-windows.
2831
2832 * files.el (read-buffer-to-switch)
2833 (switch-to-buffer-other-window)
2b75be67
SM
2834 (switch-to-buffer-other-frame, display-buffer-other-frame):
2835 Move to window.el.
9397e56f
MR
2836
2837 * simple.el (get-next-valid-buffer, last-buffer, next-buffer)
2838 (previous-buffer): Move to window.el.
2839
2840 * bindings.el (unbury-buffer): Move to window.el.
2841
2842 * window.el (delete-other-windows-vertically): Move after
2843 definition of delete-other-windows.
2844 (other-window, delete-windows-on, replace-buffer-in-windows):
2845 Move here from window.c.
2846 (record-window-buffer, unrecord-window-buffer)
2847 (set-window-buffer-start-and-point, switch-to-prev-buffer)
2848 (switch-to-next-buffer): New functions.
2849 (get-next-valid-buffer, last-buffer, next-buffer): Move here
2850 from simple.el. Call switch-to-next-buffer.
2b75be67
SM
2851 (previous-buffer): Move here from simple.el.
2852 Call switch-to-prev-buffer.
9397e56f
MR
2853 (bury-buffer): Move here from buffer.c. Switch to previous
2854 buffer when window cannot be deleted.
2855 (unbury-buffer): Move here from bindings.el.
2856 (ctl-x-map): Move binding for other-window from window.c to
2857 here.
2858 (read-buffer-to-switch, switch-to-buffer-other-window)
2859 (switch-to-buffer-other-frame): Move here from files.el.
2860 (normalize-buffer-to-switch-to): New functions.
2b75be67
SM
2861 (switch-to-buffer): Move here from buffer.c.
2862 Use read-buffer-to-switch and normalize-buffer-to-switch-to.
9397e56f 2863
562dd5e9
MR
28642011-06-10 Martin Rudalics <rudalics@gmx.at>
2865
2866 * window.el (window-min-height, window-min-width): Move here
2867 from window.c. Add defcustoms and rewrite doc-strings.
2868 (resize-mini-window, resize-window): New functions.
2869 (adjust-window-trailing-edge, enlarge-window, shrink-window):
2870 Move here from window.c.
2871 (maximize-window, minimize-window): New functions.
2872 (delete-window, delete-other-windows, split-window): Move here
2873 from window.c.
2874 (window-split-min-size): New function.
2875 (split-window-keep-point): Mention split-window-above-each-other
2876 instead of split-window-vertically.
2b75be67
SM
2877 (split-window-above-each-other, split-window-vertically):
2878 Rename split-window-vertically to split-window-above-each-other and
562dd5e9
MR
2879 provide defalias for old definition.
2880 (split-window-side-by-side, split-window-horizontally): Rename
2881 split-window-horizontally to split-window-side-by-side and provide
2882 defalias for the old definition.
2883 (ctl-x-map): Move bindings for delete-window,
2884 delete-other-windows and enlarge-window here from window.c.
2885 Replace bindings for split-window-vertically and
2886 split-window-horizontally by bindings for
2887 split-window-above-each-other and split-window-side-by-side.
2888
2889 * cus-start.el (all): Remove entries for window-min-height and
2890 window-min-width. Add entries for window-splits and
2891 window-nest.
2892
f0da764a
GM
28932011-06-09 Glenn Morris <rgm@gnu.org>
2894
80675c21
GM
2895 * calendar/appt.el (appt-mode-line): New function.
2896 (appt-check, appt-disp-window): Use it.
2897
f0da764a
GM
2898 * files.el (hack-one-local-variable-eval-safep):
2899 Allow minor-modes with explicit +/-1 arguments.
2900
59f623b7
TZ
29012011-06-09 Teodor Zlatanov <tzz@lifelogs.com>
2902
2903 * term/xterm.el (xterm): Add defgroup.
2904 (xterm-extra-capabilities): Add defcustom to supply known xterm
2905 capabilities, skip querying them, or query them (default).
2906 (terminal-init-xterm): Use it.
2907 (terminal-init-xterm-modify-other-keys): New function to set up
2908 modifyOtherKeys support to simplify `terminal-init-xterm'.
2909
9aab8e0d
MR
29102011-06-09 Martin Rudalics <rudalics@gmx.at>
2911
2912 * window.el (resize-window-reset, resize-window-reset-1)
2913 (resize-subwindows-skip-p, resize-subwindows-normal)
2914 (resize-subwindows, resize-other-windows, resize-this-window)
2915 (resize-root-window, resize-root-window-vertically)
2916 (window-deletable-p, window-or-subwindow-p)
2917 (frame-root-window-p): New functions.
2918
e8b08aee
GM
29192011-06-09 Glenn Morris <rgm@gnu.org>
2920
2921 * net/ange-ftp.el (ange-ftp-switches-ok): New function.
2922 (ange-ftp-get-files): Use it.
2923
254c37a5
AK
29242011-06-09 Alexander Klimov <alserkli@inbox.ru> (tiny change)
2925
2926 * mail/sendmail.el (mail-recover-1, mail-recover):
2927 * files.el (recover-file, recover-session):
2928 Handle dired-listing-switches not being just a single short option.
2929
35d7dbd3
GM
29302011-06-09 Glenn Morris <rgm@gnu.org>
2931
2932 * calendar/appt.el (appt-display-message, appt-disp-window):
2933 Handle lists of appointments.
2934
387522b2
MR
29352011-06-08 Martin Rudalics <rudalics@gmx.at>
2936
2b75be67
SM
2937 * window.el (one-window-p): Move down in code.
2938 Rewrite doc-string.
2939 (window-current-scroll-bars): Rewrite doc-string.
2940 Normalize live window argument.
387522b2
MR
2941 (walk-windows, get-window-with-predicate, count-windows):
2942 Rewrite doc-string. Use window-list-1.
2943 (window-in-direction-2, window-in-direction, get-mru-window):
2944 New functions.
2945
d8e4b68b 29462011-06-08 Reuben Thomas <rrt@sc3d.org>
2c587104
GM
2947
2948 * progmodes/flymake.el (flymake-compilation-prevents-syntax-check):
2949 Doc fix (Bug#8713).
2950
29512011-06-08 Chong Yidong <cyd@stupidchicken.com>
2952
2953 * repeat.el (repeat-on-final-keystroke): Fix type (Bug#8696).
2954
29552011-06-08 Juanma Barranquero <lekktu@gmail.com>
2956
2957 * loadhist.el (unload-feature-special-hooks):
2958 Add `comint-output-filter-functions'.
2959
0de12c52
IK
29602011-06-08 Ivan Kanis <gnu@kanis.fr>
2961
2962 * calendar/appt.el (appt-check): Move some initializations into the let.
2963
f3d1777e
MR
29642011-06-08 Martin Rudalics <rudalics@gmx.at>
2965
2966 * window.el (window-height): Defalias to window-total-height.
2967 (window-width): Defalias to window-body-width.
2968
18af70d0
CY
29692011-06-07 Chong Yidong <cyd@stupidchicken.com>
2970
2971 * image-mode.el (image-toggle-animation): New command.
2972 (image-mode-map): Bind it to RET.
2973 (image-mode): Update message.
2974 (image-toggle-display-image): Avoid a spurious cache flush.
2975 (image-transform-rotation): Doc fix.
2976 (image-transform-properties): Return quickly in the normal case.
2977 (image-animate-loop): Rename from image-animate-max-time.
2978
2b75be67 2979 * image.el (image-animate-max-time): Move to image-mode.el.
18af70d0
CY
2980 (create-animated-image): Remove unnecessary function.
2981 (image-animate): Rename from image-animate-start. New arg.
2b75be67 2982 (image-animate-stop): Remove; just use image-animate-timer.
18af70d0
CY
2983 (image-animate-timer): Use car-safe.
2984 (image-animate-timeout): Rename argument.
2985
190b47e6
MR
29862011-06-07 Martin Rudalics <rudalics@gmx.at>
2987
2988 * window.el (get-lru-window, get-largest-window): Move here from
2b75be67
SM
2989 window.c. Rename first argument to ALL-FRAMES.
2990 Rephrase doc-strings.
2991 (get-buffer-window-list): Rewrite using window-list-1.
2992 Rephrase doc-string.
a1511caf
MR
2993 (window-safe-min-height, window-safe-min-width): New constants.
2994 (window-size-ignore, window-min-size, window-min-size-1)
2995 (window-sizable, window-sizable-p, window-size-fixed-1)
2996 (window-size-fixed-p, window-min-delta-1, window-min-delta)
2997 (window-max-delta-1, window-max-delta, window-resizable)
2998 (window-resizable-p, window-total-height, window-total-width)
2999 (window-body-width): New functions.
3000 (window-full-height-p, window-full-width-p): Rewrite using
3001 window-total-size.
3002 (window-body-height): Rewrite using window-body-size.
190b47e6 3003
85cc1f11
MR
30042011-06-06 Martin Rudalics <rudalics@gmx.at>
3005
3006 * window.el (window-right, window-left, window-child)
3007 (window-child-count, window-last-child, window-any-p)
3008 (normalize-live-buffer, normalize-live-frame)
3009 (normalize-any-window, normalize-live-window)
3010 (window-iso-combination-p, window-iso-combined-p)
3011 (window-iso-combinations)
3012 (walk-window-tree-1, walk-window-tree, walk-window-subtree)
3013 (windows-with-parameter, window-with-parameter)
3014 (window-atom-root, make-window-atom, window-atom-check-1)
2b75be67
SM
3015 (window-atom-check, window-side-check, window-check):
3016 New functions.
85cc1f11
MR
3017 (ignore-window-parameters, window-sides, window-sides-vertical)
3018 (window-sides-slots): New variables.
3019 (window-size-fixed): Move down in code. Minor doc-string fix.
3020
e7156492
AS
30212011-06-05 Andreas Schwab <schwab@linux-m68k.org>
3022
3023 * comint.el (comint-dynamic-complete-as-filename)
3024 (comint-dynamic-complete-filename): Correctly call
3025 completion-in-region.
3026
7e821d0d
DD
30272011-06-05 Deniz Dogan <deniz@dogan.se>
3028
3029 * net/rcirc.el (rcirc-prompt-for-encryption): Fix bug introduced
3030 in last change.
3031
ac09b8a1
DD
30322011-06-05 Deniz Dogan <deniz@dogan.se>
3033
3034 * net/rcirc.el (rcirc-prompt-for-encryption): New function.
3035 (rcirc): Use it to prompt for encryption.
3036
34699b85
RW
30372011-06-05 Roland Winkler <winkler@gnu.org>
3038
3039 * textmodes/bibtex.el (bibtex-search-buffer): New variable.
3040 (bibtex-search-entries): New command bound to C-c C-a.
3041 (bibtex-display-entries): New function.
3042
004dedd3
RW
30432011-06-05 Roland Winkler <winkler@gnu.org>
3044
3045 * textmodes/bibtex.el (bibtex-generate-url-list): Fix docstring.
3046 (bibtex-insert-kill): After yanking insert newline if necessary.
3047 (bibtex-initialize): Call bibtex-string-files-init only once.
3048 (bibtex-mode): Do not call easy-menu-add.
3049 (bibtex-validate-globally): Use save-excursion in bibtex buffers.
3050 (bibtex-yank): Set arg properly if nil.
3051
022fe7ce
RW
30522011-06-05 Roland Winkler <winkler@gnu.org>
3053
2b75be67
SM
3054 * textmodes/bibtex.el (bibtex-search-entry-globally):
3055 New variable.
022fe7ce
RW
3056 (bibtex-search-entry): Use it.
3057
b7c3692a
RW
30582011-06-05 Roland Winkler <winkler@gnu.org>
3059
3060 * textmodes/bibtex.el (bibtex-entry-format): New option
3061 sort-fields.
3062 (bibtex-format-entry, bibtex-reformat): Honor this option.
3063 (bibtex-parse-entry): Return fields in proper order.
3064
8eda563d
JB
30652011-06-05 Juanma Barranquero <lekktu@gmail.com>
3066
3067 * doc-view.el (doc-view-remove-if): Move computation of result out
3068 of `dolist' to silence misleading lexical-binding warning.
3069
7dbe3dbc
CY
30702011-06-04 Chong Yidong <cyd@stupidchicken.com>
3071
3072 * emacs-lisp/timer.el (timer-activate): Remove unused arg.
3073 (timer-activate, timer-activate-when-idle): Doc fix (Bug#8793).
3074
0c33dd17
MA
30752011-06-04 Michael Albinus <michael.albinus@gmx.de>
3076
3077 * net/tramp-sh.el (tramp-find-shell): Apply workaround also for
3078 "SunOS 5.10".
3079
f8f91c2b
MA
30802011-06-04 Michael Albinus <michael.albinus@gmx.de>
3081
3082 * net/tramp.el (tramp-set-completion-function, tramp-parse-rhosts)
3083 (tramp-parse-shosts, tramp-parse-sconfig, tramp-parse-shostkeys)
3084 (tramp-parse-hosts, tramp-parse-passwd, tramp-parse-netrc)
3085 (tramp-parse-putty):
3086 * net/tramp-sh.el (tramp-completion-function-alist-rsh)
3087 (tramp-completion-function-alist-ssh)
3088 (tramp-completion-function-alist-telnet)
3089 (tramp-completion-function-alist-su)
3090 (tramp-completion-function-alist-putty): Set `tramp-autoload'
3091 cookie.
3092
3093 * net/tramp-ftp.el:
3094 * net/tramp-sh.el:
3095 * net/tramp-smb.el: Set `tramp-autoload' cookie, and eval after
3096 load "tramp.el" `tramp-set-completion-function'.
3097
e17d9003
SM
30982011-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
3099
3100 * shell.el: Require and use pcomplete.
3101 (shell-dynamic-complete-functions): Add pcomplete-completions-at-point.
3102 (shell-completion-vars): Set pcomplete-default-completion-function.
3103
6c4cab03
DD
31042011-06-04 Deniz Dogan <deniz@dogan.se>
3105
3106 * iswitchb.el (iswitchb-window-buffer-p): Use `member' instead of
3107 `memq' (Bug#8799).
3108
ea9fafe0
SM
31092011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
3110
3111 * subr.el (make-progress-reporter): Add "..." by default (bug#8785).
3112
b3e945d3
JB
31132011-06-02 Juanma Barranquero <lekktu@gmail.com>
3114
3115 * bs.el (bs--mark-unmark, bs--nth-wrapper):
3116 * mpc.el (mpc-select-extend, mpc-songpointer-context):
3117 * vc/log-view.el (log-view-beginning-of-defun):
3118 * vc/smerge-mode.el (smerge-apply-resolution-patch)
3119 (smerge-refine-forward, smerge-refine-chopup-region):
3120 Silence warning for unused `dotimes' counter variables.
3121
7d520089
SM
31222011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
3123
3124 * net/tramp.el (tramp-with-progress-reporter): Rename from
3125 with-progress-reporter. Use `declare'.
3126 * net/tramp-smb.el:
3127 * net/tramp-sh.el:
3128 * net/tramp-gvfs.el: Update all uses.
3129
a1c2400f
JB
31302011-06-02 Jay Belanger <jay.p.belanger@gmail.com>
3131
3132 * calc/calc.el (calc-kill-stack-buffer): Make sure that the trail
3133 buffer isn't killed before making it current.
3134
2403c841
SM
31352011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
3136
3137 Silence various byte-compiler warnings.
3138 * emacs-lisp/byte-run.el (make-obsolete-variable): New argument
3139 `access-type' and new obsolescence format.
3140 * emacs-lisp/bytecomp.el (byte-compile-warn-obsolete): Adjust to
3141 new format.
3142 (byte-compile-check-variable): New `access-type' argument.
3143 Only warn if the access-type is obsolete.
3144 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
3145 (byte-compile-variable-set): Adjust callers.
3146 * help-fns.el (describe-variable): Adjust to new obsolescence format.
3147 * mail/sendmail.el (mail-mailer-swallows-blank-line): Only mark
3148 setting it as obsolete.
3149 * simple.el (minibuffer-completing-symbol):
3150 * font-lock.el (font-lock-beginning-of-syntax-function): Only mark read
3151 access as obsolete.
3152 * minibuffer.el (minibuffer-completing-file-name): Don't make it
3153 obsolete yet.
3154 * international/quail.el (quail-mouse-choose-completion): Remove unused
3155 code referring to obsolete var.
3156 (quail-choose-completion-string): Remove.
3157 * server.el (server-clients-with, server-kill-buffer-query-function)
3158 (server-kill-emacs-query-function): Silence "unused `proc'" warnings.
3159 * proced.el (proced-send-signal):
3160 * emacs-lisp/lisp.el (lisp-complete-symbol):
3161 Replace completion-annotate-function with completion-extra-properties.
3162
2462470b
SM
31632011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
3164
fb5b2591
SM
3165 * simple.el (goto-line): Use read-number.
3166 (overriding-map-is-bound): Remove.
3167 (saved-overriding-map): Change default.
3168 (save&set-overriding-map): Rename from ensure-overriding-map-is-bound;
3169 Take the map as argument.
3170 (universal-argument, negative-argument, digit-argument): Use it.
3171 (restore-overriding-map): Adjust.
3172 (do-auto-fill): Use fill-forward-paragraph.
3173 (keyboard-quit): Don't signal an error when debug-on-quit is non-nil.
3174
fd6fa53f
SM
3175 * minibuffer.el (minibuffer-inactive-mode-map): New var.
3176 (minibuffer-inactive-mode): New major mode.
3177 * mouse.el (mouse-drag-region): Remove the "mouse-1 pops up
3178 the *Messages* buffer" hack.
3179 (mouse-popup-menubar): Don't burp if the event is a normal key.
3180
2462470b
SM
3181 Miscellaneous tweaks.
3182 * emacs-lisp/cl-macs.el (dolist, dotimes): Use the same strategy for
3183 lexical scoping as in subr.el's dolist and dotimes.
3184 * emacs-lisp/bytecomp.el (byte-compile-unfold-bcf):
3185 Silence compiler warning.
3186 * thingatpt.el (forward-whitespace): Trivial coding style fix.
3187 * subr.el (with-output-to-temp-buffer): Provide an edebug spec.
3188 * international/ccl.el (ccl-compile): Trivial simplification.
3189 * help-fns.el (help-do-arg-highlight): Silence compiler warning.
3190 * emacs-lisp/testcover.el (testcover-end): Remove spurious
3191 `printflag' argument.
3192 * emacs-lisp/byte-run.el (make-obsolete, make-obsolete-variable):
3193 Purecopy the whole obsolescence data.
3194
108bf785
LL
31952011-06-01 Leo Liu <sdl.web@gmail.com>
3196
3197 * net/rcirc.el (rcirc-decode-coding-system): Revert last change;
3198 improve doc-string as suggested by Marco Pessotto
3199 <melmothx@gmail.com>.
3200 (rcirc-print): Fix last change.
3201
30a23501
SM
32022011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
3203
3204 * minibuffer.el (complete-with-action): Return nil for the metadata and
3205 boundaries of non-functional tables.
3206 (completion-table-dynamic): Return nil for the metadata.
3207 (completion-table-with-terminator): Add default case, using
3208 complete-with-action.
3209 (completion--metadata): New function.
3210 (completion-all-sorted-completions, minibuffer-completion-help): Use it
3211 to try and avoid pathological performance problems.
3212 (completion--embedded-envvar-table): Return `category' metadata.
3213
bcd54f83
LMI
32142011-05-31 Lars Magne Ingebrigtsen <larsi@gnus.org>
3215
3216 * subr.el (process-alive-p): New tiny convenience function.
3217
e227544d
SM
32182011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
3219
3220 * emacs-lisp/debug.el (debug): Save&restore not just the buffer's
3221 content but also its previous major mode.
3222
e8296fdc
HE
32232011-05-31 Helmut Eller <eller.helmut@gmail.com>
3224
3225 * debug.el (debug): Restore the previous content of the
3226 *Backtrace* buffer when we exit with C-M-c.
3227
620c53a6
SM
32282011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
3229
3230 * minibuffer.el: Add metadata method to completion tables.
3231 (completion-category-overrides): New defcustom.
3232 (completion-metadata, completion--field-metadata)
3233 (completion-metadata-get, completion--styles)
3234 (completion--cycle-threshold): New functions.
3235 (completion-try-completion, completion-all-completions):
3236 Add `metadata' argument to choose completion-styles.
3237 (completion--do-completion): Use metadata to choose cycling.
3238 (completion-all-sorted-completions): Use metadata for sorting.
3239 Remove :completion-cycle-penalty which is not needed any more.
3240 (completion--try-word-completion): Add `metadata' argument.
3241 (minibuffer-completion-help): Check metadata for annotation function
3242 and sorting.
3243 (completion-file-name-table): Return `category' metadata.
3244 (minibuffer-completing-file-name): Make obsolete.
3245 * simple.el (minibuffer-completing-symbol): Make obsolete.
3246 * icomplete.el (icomplete-completions): Pass new `metadata' param to
3247 completion-try-completion.
3248
1257e755
SM
32492011-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
3250
3251 * mail/smtpmail.el (smtpmail-send-data): Add progress reporter.
3252
3767e706
LL
32532011-05-30 Leo Liu <sdl.web@gmail.com>
3254
3255 * net/rcirc.el (rcirc-debug-buffer): Use visible buffer name.
5ab33f2b
LL
3256 (rcirc-print): Decode all incoming messages (bug#8744).
3257 (rcirc-decode-coding-system): Allow value nil for automatic coding
3258 system detection.
3767e706 3259
d1a5d56a
GM
32602011-06-01 Glenn Morris <rgm@gnu.org>
3261
3262 * mail/emacsbug.el (report-emacs-bug-hook): Mailclient ignores From.
3263
e8cbec34
CY
32642011-05-29 Chong Yidong <cyd@stupidchicken.com>
3265
3266 * image.el (image-animate-max-time): Allow nil and t values.
3267 Default to nil.
3268 (create-animated-image): Doc fix.
3269 (image-animate-start): Remove second arg; just use
3270 image-animate-max-time.
3271 (image-animate-timeout): Doc fix. Args changed.
3272
3273 * image-mode.el (image-toggle-display-image): Ensure that the
3274 image spec passed to the animate timer is the same object as in
3275 the the buffer's display property (Bug#6981).
3276 (image-transform-properties): Doc fix.
3277
3278 * image.el (image-animate-max-time): Default to nil.
3279
159daf87
MR
32802011-05-29 Martin Rudalics <rudalics@gmx.at>
3281
3282 * menu-bar.el (kill-this-buffer-enabled-p): Avoid looping over
3283 entire buffer list (Bug#8184).
3284
d66c4c7c
CY
32852011-05-29 Chong Yidong <cyd@stupidchicken.com>
3286
3287 * image.el (imagemagick-types-inhibit)
3288 (imagemagick-register-types): Doc fix.
3289
80aec780
DD
32902011-05-29 Deniz Dogan <deniz@dogan.se>
3291
3292 * net/rcirc.el (rcirc): Use the user's stored encryption method by
3293 default.
3294
1dd3c2d9
CY
32952011-05-29 Chong Yidong <cyd@stupidchicken.com>
3296
3297 * select.el: Don't perform clipboard-manager saving in hooks;
3298 leave the hooks empty.
3299
60e56523
LL
33002011-05-28 Leo Liu <sdl.web@gmail.com>
3301
3302 * replace.el (occur-menu-map, occur-edit-mode-map): New vars.
3303 (occur-mode-map): Bind occur-edit-mode. Use occur-menu-map.
3304 (occur-edit-mode): New major mode (Bug#8463).
3305 (occur-after-change-function): New function.
3306 (occur-engine): Give Occur tags a read-only property.
3307
2b1e1a22
KR
33082011-05-28 Kevin Ryde <user42@zip.com.au>
3309
3310 * subr.el (def-edebug-spec): Doc fix (Bug#8430).
3311
5d344e88
CY
33122011-05-28 Chong Yidong <cyd@stupidchicken.com>
3313
8e6ca83d
CY
3314 * bindings.el (help-echo): Make the initial non-indicator dash
3315 empty on graphical terminals (Bug#7295).
3316
5d344e88
CY
3317 * files.el (auto-mode-alist): Move config rule after the
3318 in-stripping one (Bug#8547).
3319
bfbbace7
CY
3320 * newcomment.el (comment-end-skip): Doc fix (Bug#8659).
3321
fbeba6e2
CY
3322 * startup.el (normal-splash-screen): Remove gratuitous mode-line
3323 setting (Bug#8740).
3324
60ed8c72
AA
33252011-05-28 Alp Aker <aker@pitt.edu> (tiny change)
3326
4ac619f0
AA
3327 * buff-menu.el (Buffer-menu-revert-function, Buffer-menu-sort)
3328 (Buffer-menu-buffer+size): Use Buffer-menu-buffer-column
3329 (Bug#8539).
60ed8c72 3330
23db196e
CY
33312011-05-28 Chong Yidong <cyd@stupidchicken.com>
3332
3333 * emacs-lisp/re-builder.el (re-builder): Improve doc (Bug#8286).
3334
5012f24c
DK
33352011-05-28 Dima Kogan <dkogan@cds.caltech.edu> (tiny change)
3336
3337 * progmodes/hideshow.el (hs-looking-at-block-start-p): New fun.
3338 (hs-hide-block-at-point, hs-find-block-beginning)
3339 (hs-already-hidden-p, hs-hide-block, hs-show-block): Use it
3340 (Bug#8279).
3341
6a639b16
GM
33422011-05-28 Glenn Morris <rgm@gnu.org>
3343
3344 * startup.el (fancy-about-screen): Use standard mode line. (Bug#8740)
3345
d43eaf2c
CY
33462011-05-28 Chong Yidong <cyd@stupidchicken.com>
3347
5199bde1
CY
3348 * help-fns.el (describe-function-1): If the function is a derived
3349 major mode, print the parent mode.
3350
d43eaf2c
CY
3351 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode, java-mode)
3352 (idl-mode, pike-mode, awk-mode): Inherit from prog-mode.
3353
423428a8
SM
33542011-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
3355
0ff8e1ba
SM
3356 * minibuffer.el (completion--capf-wrapper): Check applicability before
3357 retuning non-nil for non-exclusive completion data.
3358 * progmodes/etags.el (tags-completion-at-point-function):
3359 * info-look.el (info-lookup-completions-at-point): Mark as
3360 non-exclusive.
3361 (info-complete): Adjust accordingly.
3362
423428a8
SM
3363 * info-look.el: Convert to lexical-binding and completion-at-point.
3364 (info-lookup-completions-at-point): New function.
3365 (info-complete): Use it and completion-in-region.
3366
b74aa22b
DA
33672011-05-28 Drew Adams <drew.adams@oracle.com>
3368
3369 * isearch.el: Let M-e start with point at the first mismatched char.
3370 (isearch-fail-pos): New function.
3371 (isearch-edit-string): Use it.
3372
66e2e71d
DK
33732011-05-28 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
3374
3375 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
3376
eb95d01d
TC
33772009-11-23 Toby Cubitt <toby-predictive@dr-qubit.org>
3378
3379 * emacs-lisp/avl-tree.el: New avl-tree-stack datatype. Add new
3380 traversal functions for avl-trees.
3381 (avl-tree--stack): New struct.
3382 (avl-tree-stack-p, avl-tree--stack-repopulate): New funs.
3383 (avl-tree-enter): Add optional `updatefun' arg.
93a1c12a
TC
3384 (avl-tree--do-enter): Add optional `updatefun' arg.
3385 Change return value.
eb95d01d 3386 (avl-tree-delete): Add optional `test' and `nilflag' args.
93a1c12a
TC
3387 (avl-tree--do-delete): Add `test' and `nilflag' args.
3388 Change return value.
eb95d01d
TC
3389 (avl-tree-member): Add optional `nilflag'
3390 (avl-tree-member-p): New function.
3391 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar): New functions.
3392 (avl-tree-stack, avl-tree-stack-pop, avl-tree-stack-first)
3393 (avl-tree-stack-empty-p): New functions.
3394
3769ddcf
TC
33952009-11-23 Toby Cubitt <toby-predictive@dr-qubit.org>
3396
3397 * emacs-lisp/avl-tree.el (avl-tree--del-balance): Rename from
3398 avl-tree--del-balance1 and make it work both ways.
3399 (avl-tree--del-balance2): Remove.
3400 (avl-tree--enter-balance): Rename from avl-tree--enter-balance1 and
3401 make it work both ways.
3402 (avl-tree--enter-balance2): Remove.
3403 (avl-tree--switch-dir, avl-tree--dir-to-sign, avl-tree--sign-to-dir):
3404 New macros.
3405 (avl-tree--mapc, avl-tree-map): Add direction argument.
3406
eb95d01d 34072011-05-27 David Michael <fedora.dm0@gmail.com> (tiny change)
7a6b1aef
DM
3408
3409 * files.el (interpreter-mode-alist): Add rbash (bug#8745).
3410
a9f737ee
CY
34112011-05-27 Chong Yidong <cyd@stupidchicken.com>
3412
3413 * select.el: Support clipboard managers with built-in function
3414 x-clipboard-manager-save, via delete-frame-functions and
3415 kill-emacs-hook.
3416 (xselect-convert-to-targets): Add MULTIPLE target to list.
3417 (xselect-convert-to-save-targets): New function.
3418
c92a1e54
KH
34192011-05-27 Kenichi Handa <handa@m17n.org>
3420
3421 * mail/sendmail.el (mail-encode-header): Avoid double encoding by
3422 let-binding rfc2047-encode-encoded-words to nil.
3423
e145f188
GM
34242011-05-27 Glenn Morris <rgm@gnu.org>
3425
5ec8a862
GM
3426 * mail/emacsbug.el: Don't require url-util.
3427
4b29d9fb
GM
3428 * shell.el (shell-directory-tracker): Case matters. (Bug#8735)
3429
e145f188
GM
3430 * files.el (set-auto-mode):
3431 Also respect mode: entries at the end of the file. (Bug#8586)
3432
7d15102b
GM
34332011-05-26 Glenn Morris <rgm@gnu.org>
3434
98f593b8
GM
3435 * files.el (hack-local-variables-prop-line, hack-local-variables):
3436 Downcase mode names, as seems to be traditional.
27b48e63 3437 (hack-local-variables, hack-local-variables-apply): Doc fixes.
98f593b8 3438
7d15102b
GM
3439 * mail/emacsbug.el (report-emacs-bug): Mention checking From address.
3440 (report-emacs-bug-hook): Try to validate the From address. (Bug#8038)
3441
51d5b4ec
JD
34422011-05-25 Julien Danjou <julien@danjou.info>
3443
3444 * textmodes/rst.el (rst-define-level-faces): Do not define face
3445 symbol if it is already defined.
3446
91513f63
VB
34472011-05-24 Vincent Belaïche <vincentb1@users.sourceforge.net>
3448
3449 * play/5x5.el (5x5-new-game, 5x5-randomize):
3450 Reset 5x5-solver-output to nil when a new grid is cast.
3451 (5x5-log-init, 5x5-log): Use defsubst instead of defmacro to shunt
3452 these debugging traces, as defmacro breaks the compiled code.
3453
4d90d6d0
DK
34542011-05-24 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
3455
3456 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
3457
e1b90ef6
LL
34582011-05-24 Leo Liu <sdl.web@gmail.com>
3459
3460 * vc/vc-bzr.el (vc-bzr-sha1-program): Rename from sha1-program.
3461 (vc-bzr-sha1): Adapt.
3462
d8e4b68b 3463 * sha1.el: Remove. Function `sha1' is now builtin.
e1b90ef6
LL
3464
3465 * bindings.el: Provide sha1 feature.
3466
db0406bb 34672011-05-24 Kenichi Handa <handa@m17n.org>
b8d747b9
KH
3468
3469 * mail/sendmail.el: Require `rfc2047'.
3470 (mail-insert-from-field): Do not perform RFC2047 encoding.
3471 (mail-encode-header): New function.
3472 (sendmail-send-it): Set buffer-file-coding-system of the work
4d90d6d0
DK
3473 buffer to the return value of select-message-coding-system.
3474 Call mail-encode-header.
b8d747b9
KH
3475
3476 * mail/smtpmail.el (smtpmail-send-it): Call mail-encode-header.
3477
db0406bb 34782011-05-24 Sean Neakums <sneakums@zork.net> (tiny change)
7261f6ce 3479
4d90d6d0
DK
3480 * mail/supercite.el (sc-default-cite-frame):
3481 Handle sc-nested-citation-p when sc-cite-blank-lines-p is non-nil.
7261f6ce 3482
eb8a5e9b
GM
34832011-05-24 Glenn Morris <rgm@gnu.org>
3484
f8630703
GM
3485 * progmodes/python.el (brm-menu): Declare.
3486
8831bbed
GM
3487 * emulation/viper.el (viper-set-hooks): Declare.
3488
eb8a5e9b
GM
3489 * play/5x5.el (5x5-log-init, 5x5-log): Evaluate when compiling.
3490 (5x5-log-init, 5x5-log, 5x5-solver): Doc fixes.
3491 (math-map-vec, math-sub, math-mul, math-make-intv, math-reduce-vec)
3492 (math-format-number, math-pow, calcFunc-arrange, calcFunc-cvec)
3493 (calcFunc-diag, calcFunc-trn, calcFunc-inv, calcFunc-mrow)
3494 (calcFunc-mcol, calcFunc-vconcat, calcFunc-index): Declare.
3495
a2a25d24
SM
34962011-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
3497
3498 Add an :exit-function for completion-at-point.
3499
3500 * minibuffer.el (completion--done): New fun.
3501 (completion--do-completion): Use it. New arg `expect-exact'.
3502 (minibuffer-complete, minibuffer-complete-word): Don't output message,
3503 since completion--do-completion does it for us now.
3504 (minibuffer-force-complete): Use completion--done and
3505 completion--replace. Handle sole-completion case with more care.
3506 (minibuffer-complete-and-exit): Use new `expect-exact' arg.
3507 (completion-extra-properties): New var.
3508 (completion-annotate-function): Make obsolete.
3509 (minibuffer-completion-help): Adjust accordingly.
3510 Use completion-list-insert-choice-function.
3511 (completion-at-point, completion-help-at-point):
3512 Bind completion-extra-properties.
3513 (completion-pcm-word-delimiters): Add | (for uniquify, for example).
3514 * simple.el (completion-list-insert-choice-function): New var.
3515 (completion-setup-function): Preserve it.
3516 (choose-completion): Pay attention to it, shuffle the code a bit.
3517 (choose-completion-string): New arg `insert-function'.
3518
3519 * textmodes/bibtex.el: Convert to lexical binding.
3520 (bibtex-mode-map): Use completion-at-point.
3521 (bibtex-mode): Use define-derived-mode&completion-at-point-functions.
3522 (bibtex-completion-at-point-function): New fun, from bibtex-complete.
3523 (bibtex-complete): Define as obsolete alias.
3524 (bibtex-complete-internal): Remove.
3525 (bibtex-format-entry): Remove unused sub-group in regexp.
3526 * shell.el (shell--command-completion-data)
3527 (shell-environment-variable-completion):
3528 * pcomplete.el (pcomplete-completions-at-point):
3529 * comint.el (comint--complete-file-name-data): Use :exit-function
3530 instead of completion-table-with-terminator so it also works for
3531 choose-completion.
3532
e44e373d
SM
35332011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
3534
4f91a816
SM
3535 * <lots-of-files>.el: Don't quote lambda expressions with `quote'.
3536
782fc819
SM
3537 * vc/smerge-mode.el (smerge-refine-subst): Don't deactivate the mark
3538 (bug#8710).
3539
e44e373d
SM
3540 * emacs-lisp/lisp.el (up-list): Fix forward movement (bug#8708).
3541
381987c3
KM
35422011-05-23 Ken Manheimer <ken.manheimer@gmail.com>
3543
3544 * allout.el (allout-inhibit-auto-fill-on-headline): Create new
3545 customization variable and implement: If non-nil, auto-fill will
3546 be inhibited while on topic's header line.
3547
b776bc70
VB
35482011-05-23 Vincent Belaïche <vincentb1@users.sourceforge.net>
3549
3550 * play/5x5.el: I/ Add an arithmetic solver to suggest positions to
d8e4b68b 3551 click on. II/ Make 5x5 multisession. III/ Ensure that random grids
b776bc70
VB
3552 always have a solution in grid size = 5 cases.
3553 (5x5-mode-map): Add keybinding to function `5x5-solve-suggest'.
3554 (5x5-solver-output, 5x5-log-buffer): New vars.
3555 (5x5-grid, 5x5-x-pos, 5x5-y-pos, 5x5-moves, 5x5-cracking):
3556 Make these variables buffer local to achieve 5x5 multi-session-ness.
3557 (5x5): Set 5x5-grid-size only if SIZE is non-negative.
3558 (5x5-grid-to-vec, 5x5-vec-to-grid, 5x5-log-init, 5x5-log, 5x5-solver)
3559 (5x5-solve-suggest): New funs.
3560 (5x5-randomize): Use 5x5-make-move instead of 5x5-flip-cell to
3561 randomize a grid so that we ensure that there is always a solution.
3562 (5x5-make-random-grid): Allow other movement than flipping.
3563
7de88b6e
KR
35642011-05-23 Kevin Ryde <user42@zip.com.au>
3565
3566 * emacs-lisp/advice.el (ad-read-advised-function):
3567 Use `function-called-at-point' as the default default, if it has
3568 advice and passes PREDICATE.
3569
b1ef1257
SM
35702011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
3571
bbca48fe
SM
3572 * emacs-lisp/bytecomp.el (byte-compile-function-form): Only call
3573 byte-compile-lambda if it's actually a lambda.
3574
b1ef1257
SM
3575 * emacs-lisp/eieio.el (eieio-defgeneric-form-primary-only-one):
3576 Fix function quoting. Use backquote better.
3577
92a9cc65
YS
35782011-05-22 Yuanle Song <sylecn@gmail.com>
3579
3580 * nxml/rng-xsd.el (rng-xsd-check-pattern): Use case-sensitive
3581 matching (Bug#8516).
3582
f0fb8059
JA
35832011-01-22 Jari Aalto <jari.aalto@cante.net>
3584
3585 * vc/vc-dir.el (vc-default-dir-printer): Give edited tag a
3586 different face (Bug#8178).
3587
d5b44c93
CY
35882011-05-22 Chong Yidong <cyd@stupidchicken.com>
3589
3590 * vc/diff-mode.el (diff-changed): Don't use terminal specs for
3591 defface (Bug#8144).
3592
79106a44
SM
35932011-05-22 Stefan Monnier <monnier@iro.umontreal.ca>
3594
9c848d8a
SM
3595 * emacs-lisp/macroexp.el (macroexpand-all-1): Convert ' to #' for
3596 funcall as well (bug#8712). Warn when performing those conversions.
3597 * emacs-lisp/bytecomp.el (byte-compile-form): Fix error report.
3598
79106a44
SM
3599 * progmodes/grep.el (grep-mode): Fix it for good (bug#8684)!
3600
88dfa756
GM
36012011-05-22 Glenn Morris <rgm@gnu.org>
3602
3603 * files.el (hack-local-variables-prop-line): Small simplifications.
3604 (hack-local-variables, hack-local-variables-prop-line):
3605 If MODE-ONLY, return the mode, rather than just `t'.
3606
b7cf2c79
SM
36072011-05-21 Stefan Monnier <monnier@iro.umontreal.ca>
3608
3609 * progmodes/grep.el (grep-mode): Fix last change (bug#8684).
3610
3f1a8558
GM
36112011-05-21 Glenn Morris <rgm@gnu.org>
3612
7e4ccca3
GM
3613 * files.el (hack-local-variables-prop-line, hack-local-variables):
3614 If only interested in the mode, don't bother doing the other stuff.
3615
637d46ca
GM
3616 * image-mode.el (image-after-revert-hook):
3617 Redraw all frames on which the image is visible. (Bug#8567)
3618
973d955b
GM
3619 * dired-aux.el (dired-touch-initial): Just use current-time. (Bug#6887)
3620
3f1a8558
GM
3621 * wid-edit.el (widget-checklist-match-inline):
3622 Fix 2011-04-19 change. (Bug#8649)
3623
96479927
SM
36242011-05-20 Stefan Monnier <monnier@iro.umontreal.ca>
3625
1dcf791f
SM
3626 * emacs-lisp/checkdoc.el (checkdoc-sentencespace-region-engine):
3627 Also allow singlespace after single-letter capitals followed by a dot.
3628
96479927
SM
3629 * nxml/nxml-mode.el (nxml-electric-slash): Reindent when completion is
3630 enabled. Suggested by James Ahlborn <jahlborn@gmail.com> (bug#8704).
3631
35fd0881
N
36322011-05-20 Nix <nix@esperi.org.uk>
3633
3634 * files.el (basic-save-buffer-2):
3635 Fix handling of break-hardlink-on-save with non-existent files.
3636
82745640
DD
36372011-05-19 Deniz Dogan <deniz@dogan.se>
3638
3639 * net/rcirc.el (rcirc-mode): Initialize rcirc-urls to nil.
9ff90d99 3640 (rcirc-markup-urls): Check if rcirc-url-regexp is nil.
82745640 3641
4a720484
GM
36422011-05-19 Glenn Morris <rgm@gnu.org>
3643
d1f21341
GM
3644 * progmodes/f90.el (f90-type-def-re):
3645 Handle "type, bind(c)". (Bug#8691)
3646
4a720484
GM
3647 * emacs-lisp/autoload.el (batch-update-autoloads):
3648 Set autoload-excludes by parsing loadup.el rather than Makefiles.
3649
2fb0a219
MA
36502011-05-18 Michael Albinus <michael.albinus@gmx.de>
3651
3652 * net/tramp.el (tramp-process-actions): Set "first-password-request"
3653 property for the correct connection in case of multihops.
3654
e565dd37
GM
36552011-05-18 Glenn Morris <rgm@gnu.org>
3656
c2571358 3657 * emacs-lisp/authors.el (authors-fixed-entries): Remove fakemail.c.
c136e5cd
GM
3658 * mail/sendmail.el (sendmail-program): Fall back to just "sendmail".
3659
e565dd37
GM
3660 Rationalize calendar handling of day and month abbrev-arrays.
3661 * calendar/calendar.el (calendar-customized-p): New function.
3662 (calendar-abbrev-construct, calendar-make-alist): Change what it does.
3663 (calendar-day-name-array, calendar-month-name-array): Doc fix.
3664 Add :set function.
3665 (calendar-abbrev-length, calendar-day-abbrev-array)
3666 (calendar-month-abbrev-array): Make defcustoms, with appropriate :set.
3667 (calendar-day-abbrev-array, calendar-month-abbrev-array):
3668 Elements may no longer be nil.
3669 (calendar-day-name, calendar-month-name):
3670 Update for changed nature of abbrev arrays.
3671 * calendar/diary-lib.el (diary-name-pattern):
3672 Update for changed nature of abbrev arrays.
3673 (diary-mark-entries-1): Update calendar-make-alist calls.
3674 (diary-font-lock-date-forms): Doc fix for changed abbrev arrays.
3675 * calendar/cal-html.el (cal-html-day-abbrev-array):
3676 Simply inherit from calendar-day-abbrev-array.
3677
1d99a745
SM
36782011-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
3679
3680 * progmodes/grep.el (grep-mode): Disable default
3681 compilation-directory-matcher setting (bug#8684).
3682
7c1d9aa0
MA
36832011-05-17 Michael Albinus <michael.albinus@gmx.de>
3684
3685 * net/tramp.el (tramp-handle-insert-file-contents): Use "dd"
3686 instead of "head" and "tail". There were problems with SunOS 5.9,
3687 and it performs better.
3688
3952e9d8
GM
36892011-05-17 Glenn Morris <rgm@gnu.org>
3690
2dd12e7f
GM
3691 * mail/mail-utils.el (mail-dont-reply-to): Silence compiler.
3692
e4157b9c
GM
3693 * progmodes/idlw-shell.el (idlwave-shell-complete-filename):
3694 Replace obsolete function.
3695
8e249bbd
GM
3696 * shell.el (pcomplete-parse-arguments-function): Declare.
3697
3952e9d8
GM
3698 * calendar/appt.el (appt-message-warning-time, appt-display-mode-line)
3699 (appt-display-diary, appt-display-interval, appt-prev-comp-time)
3700 (appt-check): Doc fixes.
3701 (appt-disp-window-function, appt-delete-window-function):
3702 Remove needless special case in custom :type.
3703 (appt-display-count): Default to 0, not nil.
3704 (appt-check): Reset appt-display-count to 0, not nil.
3705
c71a0d48 37062011-05-17 Juanma Barranquero <lekktu@gmail.com>
165fd2df 3707
c71a0d48
GM
3708 * progmodes/python.el (python-font-lock-keywords):
3709 Add the Python 3.X keyword "nonlocal" (bug#8639).
165fd2df 3710
31d55be9
SM
37112011-05-16 Stefan Monnier <monnier@iro.umontreal.ca>
3712
3713 * emacs-lisp/eieio.el (defmethod): Fix quoting of code (bug#8677).
3714
3bfacb2f
KR
37152011-05-16 Kevin Ryde <user42@zip.com.au>
3716
3717 * info-look.el (makefile-automake-mode): New setups, looking in
3718 automake manual, then makefile-mode.
3719 (makefile-mode): Remove automake manual, have it just in
3720 makefile-automake-mode since there's various things different or
3721 not relevant to plain make.
3722 (makefile-mode): Remove "other-modes" non-existent automake-mode,
3723 believe a hypothetical automake-mode would go to makefile-mode,
3724 not the other way around.
3725
c8e83751
CY
37262011-05-15 Chong Yidong <cyd@stupidchicken.com>
3727
5e9e35cd
CY
3728 * vc/diff-mode.el (diff-fixup-modifs): Locate correct position for
3729 hunk-end tags (Bug#8672).
3730
c8e83751
CY
3731 * vc/vc-annotate.el (vc-annotate-mode-map): Bind = to
3732 vc-annotate-show-diff-revision-at-line (Bug#8671).
3733
50b23e5a
GM
37342011-05-14 Glenn Morris <rgm@gnu.org>
3735
7210a739
GM
3736 * vc/add-log.el (add-change-log-entry): Don't start adding a new entry
3737 in the middle of an existing one with multiple authors. (Bug#8645)
375cb676
GM
3738 (change-log-font-lock-keywords): Also handle multiple author lines
3739 with leading tabs. (Bug#8644)
7210a739 3740
4691905a
GM
3741 * calendar/appt.el (appt-check): Rename some local variables.
3742 Some simplification/reordering.
3743
50b23e5a
GM
3744 * mail/feedmail.el (feedmail-confirm-outgoing-timeout)
3745 (feedmail-sendmail-f-doesnt-sell-me-out)
3746 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
3747 (feedmail-debug-sit-for, feedmail-queue-express-hook)
3748 (feedmail-queue-runner-message-sender): Set :version.
1aa64307
GM
3749 (bbdb-search, bbdb-records, smtp-via-smtp, smtp-server)
3750 (bbdb-dwim-net-address, vm-mail): Declare.
50b23e5a
GM
3751 (feedmail-binmail-gnulinuxish-template):
3752 Rename from feedmail-binmail-linuxish-template.
3753 (feedmail-buffer-to-smtp, feedmail-vm-mail-mode):
3754 Use insert-buffer-substring.
3755
215cda7c
BC
37562011-05-14 Bill Carpenter <bill@carpenter.org>
3757
3758 * mail/feedmail.el (feedmail-patch-level): Increase.
3759 (feedmail-debug): New custom group.
3760 (feedmail-confirm-outgoing-timeout)
3761 (feedmail-sendmail-f-doesnt-sell-me-out)
3762 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
3763 (feedmail-debug-sit-for, feedmail-queue-express-hook): New options.
3764 (feedmail-sender-line, feedmail-from-line)
3765 (feedmail-fiddle-headers-upwardly, feedmail-enable-spray)
c2571358 3766 (feedmail-spray-this-address)
215cda7c
BC
3767 (feedmail-spray-address-fiddle-plex-list)
3768 (feedmail-queue-use-send-time-for-date)
3769 (feedmail-queue-use-send-time-for-message-id)
3770 (feedmail-last-chance-hook, feedmail-queue-runner-mode-setter)
3771 (feedmail-buffer-eating-function):
3772 Doc fixes.
3773 (feedmail-spray-via-bbdb, feedmail-buffer-to-smtp)
3774 (feedmail-vm-mail-mode, feedmail-message-action-scroll-up)
3775 (feedmail-message-action-scroll-down): New functions.
3776 (feedmail-queue-directory, feedmail-queue-draft-directory):
3777 Use expand-file-name.
3778 (feedmail-prompt-before-queue-standard-alist): Add scroll entries.
3779 Remove C-v help entry.
3780 (feedmail-queue-buffer-file-name): New variable.
3781 (feedmail-mail-send-hook-splitter, feedmail-buffer-to-binmail)
3782 (feedmail-buffer-to-smtpmail, feedmail-queue-express-to-draft)
3783 (feedmail-message-action-send-strong, feedmail-message-action-edit)
3784 (feedmail-message-action-draft, feedmail-message-action-draft-strong)
3785 (feedmail-message-action-queue, feedmail-message-action-queue-strong)
3786 (feedmail-message-action-toggle-spray)
3787 (feedmail-run-the-queue-no-prompts)
3788 (feedmail-run-the-queue-global-prompt, feedmail-queue-reminder)
3789 (feedmail-look-at-queue-directory, feedmail-queue-subject-slug-maker)
3790 (feedmail-create-queue-filename, feedmail-rfc822-time-zone):
3791 (feedmail-fiddle-header, feedmail-give-it-to-buffer-eater)
3792 (feedmail-envelope-deducer, feedmail-fiddle-from)
3793 (feedmail-fiddle-sender, feedmail-default-date-generator)
3794 (feedmail-fiddle-date, feedmail-fiddle-message-id)
3795 (feedmail-fiddle-spray-address)
3796 (feedmail-fiddle-list-of-spray-fiddle-plexes)
3797 (feedmail-fiddle-list-of-fiddle-plexes)
3798 (feedmail-fill-to-cc-function, feedmail-fill-this-one)
3799 (feedmail-one-last-look, feedmail-fqm-p): Add debug calls.
3800 (feedmail-queue-runner-message-sender, feedmail-binmail-template):
3801 Change default. Doc fix.
3802 (feedmail-queue-runner-cleaner-upper): Use feedmail-say-chatter.
3803 (feedmail-binmail-linuxish-template): New constant.
3804 (feedmail-buffer-to-sendmail): Doc fix. Add debug call.
3805 Respect feedmail-sendmail-f-doesnt-sell-me-out.
3806 (feedmail-send-it): Add debug call.
3807 Use feedmail-queue-buffer-file-name, and
3808 feedmail-send-it-immediately-wrapper.
3809 (feedmail-message-action-send): Add debug call.
3810 Use feedmail-send-it-immediately-wrapper.
3811 (feedmail-queue-express-to-queue): Add debug call.
3812 Run feedmail-queue-express-hook.
3813 (feedmail-message-action-help): Add debug call. Use feedmail-p-h-b-n.
3814 (feedmail-message-action-help-blat):
3815 Rename from feedmail-queue-send-edit-prompt-help-first.
3816 (feedmail-run-the-queue): Add debug call. Set buffer-file-type.
3817 Check line-endings. Handle errors better.
3818 (feedmail-queue-reminder-brief, feedmail-queue-reminder-medium):
3819 Doc fix. Add debug call.
3820 (feedmail-queue-send-edit-prompt): Doc fix. Add debug call.
3821 Use feedmail-queue-send-edit-prompt-inner.
3822 (feedmail-queue-runner-prompt, feedmail-scroll-buffer): New functions.
3823 (feedmail-queue-send-edit-prompt-inner): New function, extracted
3824 from feedmail-queue-send-edit-prompt.
3825 (feedmail-queue-send-edit-prompt-help)
3826 (feedmail-queue-send-edit-prompt-help-later): Remove functions.
3827 (feedmail-tidy-up-slug): Add debug call.
3828 Respect feedmail-queue-slug-suspect-regexp.
3829 (feedmail-queue-subject-slug-maker): Use buffer-substring-no-properties.
3830 (feedmail-dump-message-to-queue): Add debug call.
3831 Expand queue-directory.
3832 (feedmail-dump-message-to-queue): Change message slightly.
3833 Use feedmail-say-chatter.
3834 (feedmail-rfc822-date): Add debug call. Bind system-time-locale.
3835 (feedmail-send-it-immediately-wrapper): New function.
3836 (feedmail-send-it-immediately): Add debug calls. Use let not let*.
3837 Insert empty string rather than newline. Handle full-frame case.
3838 Use catch/throw. Use feedmail-say-chatter.
3839 (feedmail-fiddle-from): Try mail-host-address.
3840 (feedmail-default-message-id-generator): Doc fix.
3841 Bind system-time-locale. Handle missing end.
3842 (feedmail-fiddle-x-mailer): Add debug call.
3843 Handle feedmail-x-mailer-line being nil.
3844 (feedmail-accume-n-nuke-header, feedmail-deduce-address-list):
3845 Add debug call. Use buffer-substring-no-properties.
3846 (feedmail-say-debug, feedmail-say-chatter): New functions.
3847 (feedmail-find-eoh): Give an explicit error.
3848
42c7e61e
UJ
38492011-05-13 Ulf Jasper <ulf.jasper@web.de>
3850
c2571358 3851 * net/newst-treeview.el (newsticker-treeview-face): Change default
42c7e61e 3852 family from helvetica to sans.
c2571358 3853 (newsticker-treeview-tool-bar-map): Move tool-bar icons to
42c7e61e
UJ
3854 etc/images/newsticker.
3855
c2571358 3856 * net/newst-reader.el (newsticker-feed-face): Change default
42c7e61e
UJ
3857 family from helvetica to sans.
3858
3859 * net/newst-plainview.el (newsticker-new-item-face)
3860 (newsticker-old-item-face, newsticker-immortal-item-face)
3861 (newsticker-obsolete-item-face, newsticker-date-face)
c2571358 3862 (newsticker-statistics-face): Change default family from
42c7e61e 3863 helvetica to sans.
c2571358 3864 (newsticker--plainview-tool-bar-map): Move tool-bar icons to
42c7e61e
UJ
3865 etc/images/newsticker.
3866
3867 * net/newst-backend.el (newsticker--do-run-auto-mark-filter),
3868 (newsticker--process-auto-mark-filter-match): : Tell user about
3869 auto-marking.
3870
8497a297
DV
38712011-05-13 Didier Verna <didier@xemacs.org>
3872
3873 Common Lisp indentation improvements on defmethod and lambda-lists.
3874 * cl-indent.el: Advertise the changes and remove obsolete TODO entries.
3875 (lisp-lambda-list-keyword-parameter-indentation)
3876 (lisp-lambda-list-keyword-parameter-alignment)
3877 (lisp-lambda-list-keyword-alignment): New customizable user options.
3878 (lisp-indent-defun-method): Improve docstring.
3879 (extended-loop-p): Fix comment.
3880 (lisp-indent-lambda-list-keywords-regexp): New variable.
3881 (lisp-indent-lambda-list): New function.
3882 (lisp-indent-259): Use it.
3883 (lisp-indent-defmethod): Support for more than one
3884 method qualifier and properly indent methods lambda-lists.
3885 (defgeneric): Provide a missing common-lisp-indent-function property.
3886
f278f87f
SM
38872011-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
3888
3889 * thingatpt.el (bounds-of-thing-at-point): Return nil rather than
3890 bounds for the empty string (bug#8667).
3891
5233edd7
GM
38922011-05-13 Glenn Morris <rgm@gnu.org>
3893
5237a44f
GM
3894 * mail/feedmail.el (feedmail-buffer-to-sendmail): Require sendmail.
3895
8340026c 3896 * mail/sendmail.el (sendmail-program): Try executable-find first.
f278f87f 3897 (sendmail-send-it): `sendmail-program' cannot be unbound.
8340026c 3898
5233edd7 3899 * calendar/appt.el (appt-make-list): Simplify.
4accbca6 3900 (appt-time-msg-list): Doc fix.
a5464014 3901 (appt-check): Change mode-line message at the time of the appointment.
5233edd7 3902
92d10796
AS
39032011-05-12 Andreas Schwab <schwab@linux-m68k.org>
3904
3905 * progmodes/ld-script.el (ld-script-keywords)
3906 (ld-script-builtins): Update keywords list.
3907
914a0ae1
SM
39082011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
3909
c89be45f
SM
3910 * progmodes/grep.el (grep-filter): Don't trip on partial lines.
3911
914a0ae1
SM
3912 * shell.el (shell-completion-vars): New function.
3913 (shell-mode):
3914 * simple.el (read-shell-command): Use it.
3915 (blink-matching-open): No need for " [...]" in minibuffer-message.
3916
98dc3df3
GM
39172011-05-12 Glenn Morris <rgm@gnu.org>
3918
3919 * calendar/appt.el (appt-now-displayed): Remove pointless variable.
3920 (appt-check): Simplify.
3921
d2fc7e3d 39222011-05-12 Eli Zaretskii <eliz@gnu.org>
0e39ec21
EZ
3923
3924 * smerge-mode.el (smerge-resolve): Use null-device rather than a
3925 literal "/dev/null".
3926
d2fc7e3d 39272011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
3f254caa
SM
3928
3929 * emacs-lisp/lisp.el (lisp-complete-symbol, lisp-completion-at-point):
3930 Fix typo.
3931
d2fc7e3d 39322011-05-12 Ralph Schleicher <rs@ralph-schleicher.de>
6eea50c7 3933
3f254caa
SM
3934 * progmodes/which-func.el (which-function):
3935 Use add-log-current-defun instead of add-log-current-defun-function,
6eea50c7
RS
3936 which might not be defined (Bug#8260).
3937
d45885f7
GM
39382011-05-12 Glenn Morris <rgm@gnu.org>
3939
3940 * emacs-lisp/bytecomp.el (byte-compile-file-form-defmumble):
3941 Let byte-compile-initial-macro-environment always take precedence.
3942
488086f4
SM
39432011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
3944
3945 * net/rcirc.el: Add support for SSL/TLS connections.
3946 (rcirc-server-alist): New field `encryption'.
3947 (rcirc): Check `encryption' settings.
3948 (rcirc-connect): New arg `encryption'. Use open-network-stream.
3949 Merge make-local-variable into `set'.
3950 (rcirc--connection-open-p): New function.
3951 (rcirc-send-string, rcirc-clean-up-buffer): Use it to handle case where
3952 the process is not a network process (e.g. running gnutls-cli).
3953 (set-rcirc-decode-coding-system, set-rcirc-encode-coding-system):
3954 Make rcirc-(en|de)code-coding-system local here.
3955 (rcirc-mode): Merge make-local-variable into `set'.
3956 (rcirc-parent-buffer): Make permanent buffer-local.
3957 (rcirc-multiline-minor-mode): Don't do it here.
3958 (rcirc-switch-to-server-buffer): Don't switch to a random buffer if
3959 there's no server buffer.
3960
7d3b9d44
GM
39612011-05-11 Glenn Morris <rgm@gnu.org>
3962
f64049c6
GM
3963 * newcomment.el (comment-kill): Prefix "unused" local.
3964
93c9df73
GM
3965 * term/w32console.el (get-screen-color): Declare.
3966
7d3b9d44
GM
3967 * emacs-lisp/bytecomp.el (byte-compile-arglist-warn):
3968 Handle symbol elements of byte-compile-initial-macro-environment.
3969
9e2dd53f
LL
39702011-05-10 Leo Liu <sdl.web@gmail.com>
3971
488086f4
SM
3972 * bookmark.el (bookmark-bmenu-mode-map):
3973 Bind bookmark-bmenu-search to `/'.
8b340240 3974
9e2dd53f 3975 * mail/footnote.el: Convert to utf-8 encoding.
b4044869
LL
3976 (footnote-unicode-string, footnote-unicode-regexp): New variable.
3977 (Footnote-unicode): New function.
3978 (footnote-style-alist): Add unicode style to the list.
3979 (footnote-style): Doc fix.
9e2dd53f 3980
79b70037
GM
39812011-05-10 Jim Meyering <meyering@redhat.com>
3982
3983 Fix doubled-word typos.
3984 * international/quail.el (quail-insert-kbd-layout): and and -> and
3985 * kermit.el: and and -> and
3986 * net/ldap.el (ldap-search-internal): to to -> to
3987 * progmodes/vhdl-mode.el (vhdl-offsets-alist): Likewise.
3988 * progmodes/js.el (js-mode): and and -> and
3989 * textmodes/artist.el (artist-move-to-xy): at at -> at
3990 (artist-draw-region-trim-line-endings): if if -> if
3991 And Safetyc -> Safety.
3992 * textmodes/reftex-dcr.el (reftex-view-crossref): at at -> at a
3993
b8f82dc1 39942011-05-10 Glenn Morris <rgm@gnu.org>
c2571358 3995 Stefan Monnier <monnier@iro.umontreal.ca>
b8f82dc1
GM
3996
3997 * files.el (hack-one-local-variable-eval-safep):
3998 Consider "eval: (foo-mode)" to be safe. (Bug#8613)
3999
4f99f44b
GM
40002011-05-10 Glenn Morris <rgm@gnu.org>
4001
4002 * calendar/diary-lib.el (diary-list-entries-hook)
4003 (diary-mark-entries-hook, diary-nongregorian-listing-hook)
4004 (diary-nongregorian-marking-hook, diary-list-entries)
4005 (diary-include-other-diary-files, diary-mark-entries)
4006 (diary-mark-included-diary-files): Doc fixes.
4007
84f29e6b
JB
40082011-05-09 Juanma Barranquero <lekktu@gmail.com>
4009
4010 * misc.el: Require tabulated-list.el during compilation.
4011
9bedd73a
CY
40122011-05-09 Chong Yidong <cyd@stupidchicken.com>
4013
488086f4
SM
4014 * progmodes/compile.el (compilation-start):
4015 Run compilation-filter-hook for the async case too.
9bedd73a
CY
4016 (compilation-filter-hook): Doc fix.
4017
797c735c
DD
40182011-05-09 Deniz Dogan <deniz@dogan.se>
4019
4020 * wdired.el: Remove outdated installation comment. Fix usage
4021 comment.
4022
5f4b1dfe
JB
40232011-05-09 Juanma Barranquero <lekktu@gmail.com>
4024
4025 * misc.el: Implement new command `list-dynamic-libraries'.
4026 (list-dynamic-libraries--loaded-only-p): New variable.
4027 (list-dynamic-libraries--refresh): New function.
4028 (list-dynamic-libraries): New command.
4029
4c44026c
CY
40302011-05-09 Chong Yidong <cyd@stupidchicken.com>
4031
488086f4
SM
4032 * progmodes/compile.el (compilation-error-regexp-alist-alist):
4033 Fix the ant regexp to handle end-line and end-column info from jikes.
4c44026c
CY
4034 Re-introduce maven regexp. Give the ruby-Test::Unit regexp a
4035 higher priority to avoid clobbering by gnu.
4036
027f966d
CY
40372011-05-08 Chong Yidong <cyd@stupidchicken.com>
4038
4039 * cus-face.el (custom-declare-face): Call custom-theme-recalc-face
4040 if the face has existing theme settings (Bug#8454).
4041
085f5d7d
CY
40422011-05-08 Ralph Schleicher <rs@ralph-schleicher.de>
4043
488086f4
SM
4044 * progmodes/perl-mode.el (perl-imenu-generic-expression):
4045 Only match variables declared via `my' or `our' (Bug#8261).
085f5d7d 4046
2a86a00c
RS
4047 * net/browse-url.el (browse-url-of-dired-file): Allow browsing of
4048 special file names `.' and `..' (Bug#8259).
4049
d9c54a06
CY
40502011-05-08 Chong Yidong <cyd@stupidchicken.com>
4051
488086f4
SM
4052 * progmodes/grep.el (grep-mode-font-lock-keywords):
4053 Remove buffer-changing entries.
d9c54a06
CY
4054 (grep-filter): New function.
4055 (grep-mode): Add it to compilation-filter-hook.
4056
4057 * progmodes/compile.el (compilation-filter-hook)
4058 (compilation-filter-start): New defvars.
4059 (compilation-filter): Call compilation-filter-hook prior to
4060 updating the process mark.
4061
c4662635
SM
40622011-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
4063
4064 * emacs-lisp/eieio.el (defmethod): Fix typo in last change.
4065
b0512a1d
EZ
40662011-05-07 Eli Zaretskii <eliz@gnu.org>
4067
605c9376
EZ
4068 * mail/sendmail.el (send-mail-function): On MS-Windows, default to
4069 mailclient-send-it even if window-system is nil. (Bug#8595)
4070
c4662635
SM
4071 * term/w32console.el (terminal-init-w32console):
4072 Call get-screen-color and use its output to set the frame
b0512a1d
EZ
4073 background-mode. (Bug#8597)
4074
d1dc2cc2
SM
40752011-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
4076
4077 Make bytecomp.el understand that defmethod defines funs (bug#8631).
4078 * emacs-lisp/eieio.el (eieio--defalias, eieio--defgeneric-init-form):
4079 New functions.
4080 (defgeneric, eieio--defmethod): Use them.
4081 (eieio-defgeneric): Remove.
4082 (defmethod): Call defgeneric in a way visible to the byte-compiler.
4083
915d1300
GM
40842011-05-07 Glenn Morris <rgm@gnu.org>
4085
a3961c3e
GM
4086 * calendar/timeclock.el (timeclock-log-data): Remove unused local.
4087 Use let rather than let*.
4088 (timeclock-find-discrep): Remove unused local.
4089
314347b9
GM
4090 * calendar/diary-lib.el (diary-comment-start): Doc fix.
4091
915d1300
GM
4092 * calendar/appt.el (appt-time-msg-list): Doc fix.
4093
275b59b0
NF
40942011-05-06 Noah Friedman <friedman@splode.com>
4095
4096 * apropos.el (apropos-print-doc): Only use
4097 emacs-lisp-docstring-fill-column when it is bound to an integer,
4098 per that variable's documentation.
4099
6c19f744
SM
41002011-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
4101
4102 * lpr.el (print-region-1): Echo lpr-program's output, so error messages
d1dc2cc2 4103 and warnings are not silently discarded (e.g. use -d instead of -P).
6c19f744 4104
60f884b2
GM
41052011-05-06 Glenn Morris <rgm@gnu.org>
4106
5006e634
GM
4107 * calendar/appt.el (appt-message-warning-time): Doc fix.
4108 (appt-warning-time-regexp): New option.
4109 (appt-make-list): Respect appt-message-warning-time.
4110
548d0a63
GM
4111 * calendar/diary-lib.el (diary-comment-start, diary-comment-end):
4112 New options.
4113 (diary-add-to-list): Strip comments from the displayed string.
4114 (diary-mode): Set comment-start and comment-end.
4115
60f884b2
GM
4116 * vc/diff-mode.el (smerge-refine-subst): Declare.
4117 (diff-refine-hunk): Don't require smerge-mode when compiling.
4118
989681bb
JB
41192011-05-06 Juanma Barranquero <lekktu@gmail.com>
4120
4121 * simple.el (list-processes): Return nil as the docstring says.
4122
a6bc05e1
MA
41232011-05-05 Michael Albinus <michael.albinus@gmx.de>
4124
4125 * net/ange-ftp.el (ange-ftp-binary-file-name-regexp): Set default
4126 to "".
4127 (ange-ftp-write-region, ange-ftp-insert-file-contents)
4128 (ange-ftp-copy-file-internal): Use only `ange-ftp-binary-file' for
4129 determining of binary transfer. (Bug#7383)
4130
23c22e9a
MA
41312011-05-05 Michael Albinus <michael.albinus@gmx.de>
4132
c4662635
SM
4133 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
4134 Fix port computation bug. (Bug#8618)
23c22e9a 4135
0bff894f
GM
41362011-05-05 Glenn Morris <rgm@gnu.org>
4137
b8296902
GM
4138 * allout-widgets.el (allout-widgets-mode-inhibit): Declare before use.
4139
1f522ce8
GM
4140 * simple.el (shell-dynamic-complete-functions)
4141 (comint-dynamic-complete-functions): Declare.
4142
cf5bee67
GM
4143 * net/network-stream.el (gnutls-negotiate):
4144 * simple.el (tabulated-list-print): Fix declarations.
4145
4146 * progmodes/gud.el (syntax-symbol, syntax-point):
4147 Remove unnecessary and incorrect declarations.
4148
0bff894f
GM
4149 * emacs-lisp/check-declare.el (check-declare-scan):
4150 Handle byte-compile-initial-macro-environment in bytecomp.el
4151
9869b3ae
SM
41522011-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
4153
4154 Fix earlier half-done eieio-defmethod change (bug#8338).
4155 * emacs-lisp/eieio.el (eieio--defmethod): Rename from eieio-defmethod.
4156 Streamline and change calling convention.
4157 (defmethod): Adjust accordingly and simplify.
4158 (eieio-defclass): Fix broken calls to eieio-defmethod and redirect to
4159 new eieio--defmethod.
4160 (slot-boundp): Minor CSE simplification.
4161
9c1d5ac5
MZ
41622011-05-05 Milan Zamazal <pdm@zamazal.org>
4163
4164 * progmodes/glasses.el (glasses-separate-capital-groups): New option.
4165 (glasses-make-readable): Use glasses-separate-capital-groups.
4166
455c834e
JB
41672011-05-05 Juanma Barranquero <lekktu@gmail.com>
4168
4169 * emacs-lisp/warnings.el (warning-level-aliases): Reflow docstring.
4170 (warning-series): Doc fix.
4171 (display-warning): Don't try to create the buffer if we just found it.
4172
9ed7c8cb
CY
41732011-05-04 Chong Yidong <cyd@stupidchicken.com>
4174
4175 * emacs-lisp/autoload.el (generated-autoload-file): Set to nil.
4176 (autoload-find-generated-file): New function.
4177 (generate-file-autoloads): Bind generated-autoload-file to
4178 buffer-file-name.
9869b3ae
SM
4179 (update-file-autoloads, update-directory-autoloads):
4180 Use autoload-find-generated-file. If called interactively, prompt for
9ed7c8cb
CY
4181 output file (Bug#7989).
4182 (batch-update-autoloads): Doc fix.
4183
0898ca10
JB
41842011-05-04 Juanma Barranquero <lekktu@gmail.com>
4185
4186 * term/w32-win.el (dynamic-library-alist): Add `gnutls'.
4187
31dfb76c
GM
41882011-05-04 Glenn Morris <rgm@gnu.org>
4189
f330b642
GM
4190 * calendar/diary-lib.el (diary-fancy-date-pattern): Turn it into a
4191 function, so it follows changes in calendar-date-style.
4192 (diary-fancy-date-matcher): New function.
4193 (diary-fancy-font-lock-keywords): Use diary-fancy-date-matcher.
4194 (diary-fancy-font-lock-fontify-region-function):
4195 Use diary-fancy-date-pattern as a function.
4196
31dfb76c
GM
4197 * calendar/diary-lib.el (diary-fancy-date-pattern): Do not use
4198 non-numbers for `year' etc pseudo-variables. (Bug#8583)
4199
48e79d6a
TZ
42002011-05-04 Teodor Zlatanov <tzz@lifelogs.com>
4201
4202 * net/gnutls.el (gnutls-negotiate): Use CL-style keyword arguments
4203 instead of positional arguments. Allow :keylist and :crlfiles
4204 arguments.
4205 (open-gnutls-stream): Call it.
4206
4207 * net/network-stream.el (network-stream-open-starttls): Adjust to
4208 call `gnutls-negotiate' with :process and :hostname arguments.
4209
dd5a5ee0
SM
42102011-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
4211
ef80fc09
SM
4212 * minibuffer.el (completion--message): New function.
4213 (completion--do-completion, minibuffer-complete)
4214 (minibuffer-force-complete, minibuffer-complete-word): Use it.
4215 (completion--do-completion): Don't ignore completion-auto-help when in
4216 icomplete-mode.
4217
dd5a5ee0
SM
4218 * whitespace.el (whitespace-trailing-regexp): Don't rely on the
4219 internal encoding (e.g. tibetan zero is not whitespace).
4220 (global-whitespace-mode): Prefer save-current-buffer.
4221 (whitespace-trailing-regexp): Remove useless save-match-data.
4222 (whitespace-empty-at-bob-regexp): Minor simplification.
4223
b7d22a83
CY
42242011-05-03 Chong Yidong <cyd@stupidchicken.com>
4225
4226 * emacs-lisp/autoload.el (generated-autoload-file): Doc fix (Bug#7989).
4227
5192af46
AM
42282011-05-03 Agustín Martín Domingo <agustin.martin@hispalinux.es>
4229
4230 * textmodes/ispell.el (ispell-add-per-file-word-list):
cdc4a047 4231 Use `concat' to create string for insertion.
5192af46 4232
5767d190
SM
42332011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
4234
4235 * textmodes/bibtex.el (bibtex-fill-field-bounds, bibtex-fill-entry):
4236 Avoid open-line which runs post-self-insert-hook.
4237 (bibtex-fill-entry): Remove unused `end' var.
4238
bf242939
AM
42392011-05-03 Dirk Ullrich <dirk.ullrich@googlemail.com> (tiny change)
4240
5767d190
SM
4241 * textmodes/ispell.el (ispell-add-per-file-word-list):
4242 Protect against `nil' value of `comment-start' (Bug#8579).
bf242939 4243
25666126
LL
42442011-05-03 Leo Liu <sdl.web@gmail.com>
4245
4246 * isearch.el (isearch-yank-pop): New command.
5767d190 4247 (isearch-mode-map): Bind it to `M-y'.
25666126
LL
4248 (isearch-forward): Mention it.
4249
52d3c2d0
SM
42502011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
4251
1bcace58
SM
4252 * simple.el (minibuffer-complete-shell-command): Remove.
4253 (minibuffer-local-shell-command-map): Use completion-at-point.
4254 (read-shell-command): Setup completion vars here instead.
4255 (read-expression-map): Bind TAB to symbol completion.
4256
52d3c2d0
SM
4257 * textmodes/ispell.el (lookup-words): Use with-temp-buffer; signal
4258 error directly rather via storing it into `results'.
4259
35813471
LL
42602011-05-02 Leo Liu <sdl.web@gmail.com>
4261
4262 * vc/diff.el: Fix description.
4263
e793a940
LMI
42642011-05-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
4265
4266 * server.el (server-eval-at): New function.
4267
8de66e05
LMI
42682011-05-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
4269
4270 * net/network-stream.el (open-network-stream): Take a :nowait
4271 parameter and pass it on to `make-network-process'.
4272 (network-stream-open-plain): Ditto.
4273
dcb79f20
AS
42742011-04-30 Andreas Schwab <schwab@linux-m68k.org>
4275
4276 * faces.el (face-spec-set-match-display): Don't match toolkit
4277 options on terminal frames.
4278
14a7fbd8
SM
42792011-04-29 Stefan Monnier <monnier@iro.umontreal.ca>
4280
7eabc1be
SM
4281 * progmodes/pascal.el: Use lexical binding.
4282 (pascal-mode-map): Remove author preferences.
4283
14a7fbd8
SM
4284 * pcomplete.el (pcomplete-std-complete): Don't abuse
4285 completion-at-point.
4286
50f84510
JB
42872011-04-28 Juanma Barranquero <lekktu@gmail.com>
4288
6e087a44
JB
4289 * calc/calccomp.el (math-comp-to-string-flat-term): Simplify by
4290 removing code that has been dead since 1991 or so.
4291
50f84510
JB
4292 * startup.el (command-line): When warning about "_emacs", use a
4293 delayed warning to allow the user to filter it out.
4294
0ba690bd
DD
42952011-04-28 Deniz Dogan <deniz@dogan.se>
4296
4297 * net/rcirc.el (rcirc-handler-353): Fix bug for channels which the
4298 user has not joined.
4299
08abfaad
SM
43002011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
4301
4302 * pcomplete.el (pcomplete-completions-at-point): Return nil if there
4303 aren't any completions at point.
4304
638f053a
JB
43052011-04-28 Juanma Barranquero <lekktu@gmail.com>
4306
4307 * subr.el (display-delayed-warnings): New function.
4308 (delayed-warnings-hook): New variable.
4309
8fff8daa
SM
43102011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
4311
08abfaad
SM
4312 * minibuffer.el (completion-at-point, completion-help-at-point):
4313 Don't presume that a given completion-at-point-function will always
4314 use the same calling convention.
4315
8fff8daa
SM
4316 * pcomplete.el (pcomplete-completions-at-point):
4317 Obey pcomplete-ignore-case. Don't call pcomplete-norm-func unless
4318 pcomplete-seen is non-nil.
4319 (pcomplete-comint-setup): Also recognize the new comint/shell
4320 completion functions.
4321 (pcomplete-do-complete): Don't call pcomplete-norm-func unless
4322 pcomplete-seen is non-nil.
4323
841a1577 43242011-04-27 Niels Giesen <niels.giesen@gmail.com>
211ec907 4325
841a1577 4326 * calendar/icalendar.el (diary-lib): Add require statement.
211ec907 4327 (icalendar--create-uid): Read out a uid from a text-property on
841a1577 4328 the first character in the entry. This allows for code to add its
211ec907
UJ
4329 own uid to the entry.
4330 (icalendar--convert-float-to-ical): Add export of
4331 `diary-float'-entries save for those with the optional DAY
4332 argument.
4333
2a782793
DC
43342011-04-27 Daniel Colascione <dan.colascione@gmail.com>
4335
4336 * subr.el (shell-quote-argument): Use alternate escaping strategy
4337 when we spot a variable reference in a string.
4338
0438ce91
DC
43392011-04-26 Daniel Colascione <dan.colascione@gmail.com>
4340
4341 * cus-start.el (all): Define customization for debug-on-event.
4342
841a1577 43432011-04-26 Daniel Colascione <dan.colascione@gmail.com>
8f91bf93
DC
4344
4345 * subr.el (shell-quote-argument): Escape correctly under Windows.
4346
d090ed6c
SM
43472011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
4348
4349 * emulation/cua-base.el (cua-selection-mode): Make it toggle again.
4350
bfd31217
MA
43512011-04-25 Michael Albinus <michael.albinus@gmx.de>
4352
d090ed6c
SM
4353 * net/tramp.el (tramp-process-actions): Add POS argument.
4354 Delete region between POS and (pos).
bfd31217 4355
d090ed6c
SM
4356 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
4357 Use `nil' position in `tramp-process-actions' call.
bfd31217
MA
4358 (tramp-maybe-open-connection): Call `tramp-process-actions' with pos.
4359
4360 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Use `nil'
4361 position in `tramp-process-actions' call.
4362
4363 * net/trampver.el: Update release number.
4364
e92f3bd3
SM
43652011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
4366
850256b5
SM
4367 * custom.el (defcustom): Obey lexical-binding.
4368
e92f3bd3
SM
4369 Fix octave-inf completion problems reported by Alexander Klimov.
4370 * progmodes/octave-inf.el (inferior-octave-mode-syntax-table):
4371 Inherit from octave-mode-syntax-table.
4372 (inferior-octave-mode): Set info-lookup-mode.
4373 (inferior-octave-completion-at-point): New function.
4374 (inferior-octave-complete): Use it and completion-in-region.
4375 (inferior-octave-dynamic-complete-functions): Use it as well, and use
4376 comint-filename-completion.
4377 * progmodes/octave-mod.el (octave-mode-syntax-table): Use _ syntax for
4378 symbol elements which shouldn't be word elements.
4379 (octave-font-lock-keywords, octave-beginning-of-defun)
4380 (octave-function-header-regexp): Adjust regexps accordingly.
4381 (octave-mode-map): Also use info-lookup-symbol for C-c C-h.
4382
cd22b309
JB
43832011-04-25 Juanma Barranquero <lekktu@gmail.com>
4384
4385 * net/gnutls.el (gnutls-errorp): Declare before first use.
4386
8b492194
TZ
43872011-04-24 Teodor Zlatanov <tzz@lifelogs.com>
4388
4389 * net/gnutls.el (gnutls-negotiate): Add hostname, verify-flags,
4390 verify-error, and verify-hostname-error parameters. Check whether
cd22b309
JB
4391 default trustfile exists before going to use it. Add missing
4392 argument to gnutls-message-maybe call. Return return value.
8b492194
TZ
4393 Reported by Claudio Bley <claudio.bley@gmail.com>.
4394 (open-gnutls-stream): Add usage example.
4395
4396 * net/network-stream.el (network-stream-open-starttls): Give host
4397 parameter to `gnutls-negotiate'.
4398 (gnutls-negotiate): Adjust `gnutls-negotiate' declaration.
8f91bf93 4399 * subr.el (shell-quote-argument): Escape correctly under Windows.
8b492194 4400
841a1577 44012011-04-24 Daniel Colascione <dan.colascione@gmail.com>
05842630 4402
cd22b309
JB
4403 * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
4404 Use correct match group (bug#8438).
05842630 4405
3ba7869c
CY
44062011-04-24 Chong Yidong <cyd@stupidchicken.com>
4407
512e3ae1
CY
4408 * emacs-lisp/package.el (package-built-in-p): Fix typo.
4409 (package-menu--generate): New arg specifying packages to show.
4410 (package-menu-refresh, package-menu-execute, list-packages):
4411 Callers changed.
4412 (package-show-package-list): New function, replacing deleted
4413 package--list-packages (renamed because it is non-internal).
4414
4415 * finder.el (finder-list-matches): Use package-show-package-list
4416 instead of deleted package--list-packages.
4417
e92f3bd3
SM
4418 * vc/vc-annotate.el (vc-annotate-goto-line): New command.
4419 Based on a previous implementation by Juanma Barranquero (Bug#8366).
3ba7869c
CY
4420 (vc-annotate-mode-map): Bind it to RET.
4421
7031be6d
UR
44222011-04-24 Uday S Reddy <u.s.reddy@cs.bham.ac.uk> (tiny change)
4423
4424 * progmodes/etags.el (next-file): Don't use set-buffer to change
4425 buffers (Bug#8478).
4426
4ef177aa
CY
44272011-04-24 Chong Yidong <cyd@stupidchicken.com>
4428
c8d173eb
CY
4429 * files.el (auto-mode-alist): Use js-mode for .json (Bug#8529).
4430
4ef177aa
CY
4431 * apropos.el (apropos-label-face): Avoid variable-pitch face.
4432 (apropos-accumulator): Doc fix.
4433 (apropos-function, apropos-macro, apropos-command)
4434 (apropos-variable, apropos-face, apropos-group, apropos-widget)
4435 (apropos-plist): Add face property.
4436 (apropos-symbols-internal): Fix indentation.
4437 (apropos-print): Simplify help, and recognize apropos-multi-type.
4438 (apropos-print-doc): Use button-type-get to extract the button's
4439 face property. Fill docstring (Bug#8352).
4440
4ffd0d6b 44412011-04-23 Juanma Barranquero <lekktu@gmail.com>
be71f810
JB
4442
4443 * buff-menu.el (Buffer-menu--buffers): Fix typo in docstring (bug#8535).
4444
c6c32125 4445 * play/mpuz.el (mpuz-silent): Doc fix.
4ffd0d6b 4446 (mpuz-mode-map): Use mapc.
c6c32125
JB
4447 (mpuz-put-number-on-board): Rename parameter L to COLUMNS.
4448 (mpuz-letter-to-digit, mpuz-check-all-solved, mpuz-create-buffer):
4449 Fix typos in docstrings.
4450
58d468b4
JB
4451 * play/doctor.el (doc$, doctor-$, doctor-read-print, doctor-read-token)
4452 (doctor-nounp, doctor-pronounp): Fix typos in docstrings.
4453
6470c3c6
JB
4454 * mouse-drag.el (mouse-drag-throw): Fix typo in docstring.
4455
4ffd0d6b 44562011-04-23 Chong Yidong <cyd@stupidchicken.com>
6f21a319
CY
4457
4458 * minibuffer.el (completion--do-completion): Avoid the "Next char
4459 not unique" prompt if icomplete-mode is enabled (Bug#5849).
4460
3ad8bad0
CY
4461 * mouse.el (mouse-drag-mode-line-1): Make sure that if we push
4462 mouse-2 into unread-command-events, it is interpreted correctly.
4463
71d73c9c 4464 * image-mode.el (image-type, image-mode-map, image-minor-mode-map)
6395aab9 4465 (image-toggle-display): Doc fix.
71d73c9c 4466
841a1577 44672011-04-23 Stephen Berman <stephen.berman@gmx.net>
e935c6a2 4468
4ffd0d6b
GM
4469 * textmodes/page.el (what-page): Use line-number-at-pos to
4470 calculate line number (Bug#6825).
6e1dbaa9 4471
c2fb1b60
JB
44722011-04-22 Juanma Barranquero <lekktu@gmail.com>
4473
4474 * eshell/esh-mode.el (find-tag-interactive): Declare function.
4475 (eshell-find-tag): Remove `with-no-warnings', unneeded now.
4476 Pass argument NO-DEFAULT to `find-tag-interactive'.
4477
e02f48d7
JB
44782011-04-22 Juanma Barranquero <lekktu@gmail.com>
4479
4480 Lexical-binding cleanup.
4481
4482 * progmodes/ada-mode.el (ada-after-change-function, ada-loose-case-word)
4483 (ada-no-auto-case, ada-capitalize-word, ada-untab, ada-narrow-to-defun):
4484 * progmodes/ada-prj.el (ada-prj-initialize-values)
4485 (ada-prj-display-page, ada-prj-field-modified, ada-prj-display-help)
4486 (ada-prj-show-value):
4487 * progmodes/ada-xref.el (ada-find-any-references, ada-gdb-application):
4488 * progmodes/antlr-mode.el (antlr-with-displaying-help-buffer)
4489 (antlr-invalidate-context-cache, antlr-options-menu-filter)
4490 (antlr-language-option-extra, antlr-c++-mode-extra, antlr-run-tool):
4491 * progmodes/bug-reference.el (bug-reference-push-button):
4492 * progmodes/fortran.el (fortran-line-length):
4493 * progmodes/glasses.el (glasses-change):
4494 * progmodes/octave-mod.el (octave-fill-paragraph):
4495 * progmodes/python.el (python-mode, python-pdbtrack-track-stack-file)
4496 (python-pdbtrack-grub-for-buffer, python-sentinel):
4497 * progmodes/sql.el (sql-save-connection):
4498 * progmodes/tcl.el (tcl-indent-command, tcl-popup-menu):
4499 * progmodes/xscheme.el (xscheme-enter-debugger-mode):
4500 Mark unused parameters.
4501
4502 * progmodes/compile.el (compilation--flush-directory-cache)
4503 (compilation--flush-parse, compile-internal): Mark unused parameters.
4504 (compilation-buffer-name): Rename parameter MODE-NAME to NAME-OF-MODE.
4505 (compilation-next-error-function): Remove unused variable `timestamp'.
4506
4507 * progmodes/cpp.el (cpp-parse-close): Remove unused variable `begin'.
4508 (cpp-signal-read-only, cpp-grow-overlay): Mark unused parameters.
4509
4510 * progmodes/dcl-mode.el (dcl-end-of-command):
4511 Remove unused variable `start'.
4512 (dcl-calc-command-indent-multiple, dcl-calc-cont-indent-relative)
4513 (dcl-option-value-basic, dcl-option-value-offset)
4514 (dcl-option-value-margin-offset, dcl-option-value-comment-line):
4515 Mark unused parameters.
4516 (dcl-save-local-variable): Remove unused variable `val'.
4517 (mode): Declare.
4518
4519 * progmodes/delphi.el (delphi-save-state, delphi-after-change):
4520 Mark unused parameters.
4521 (delphi-ignore-changes): Move before first use.
4522 (delphi-charset-token-at): Remove unused variable `start'.
4523 (delphi-else-start): Remove unused variable `if-count'.
4524 (delphi-comment-block-start, delphi-comment-block-end):
4525 Remove unused variable `kind'.
4526 (delphi-indent-line): Remove unused variable `new-point'.
4527
4528 * progmodes/ebrowse.el (ebrowse-files-list)
4529 (ebrowse-list-of-matching-members, ebrowse-tags-list-members-in-file):
4530 Mark unused parameters. Don't quote `lambda'.
4531 (ebrowse-sort-tree-list, ebrowse-same-tree-member-buffer-list):
4532 Don't quote `lambda'.
4533 (ebrowse-revert-tree-buffer-from-file, ebrowse-tags-choose-class)
4534 (ebrowse-goto-visible-member/all-member-lists): Mark unused parameters.
4535 (ebrowse-create-tree-buffer): Rename parameter OBARRAY to CLASSES.
4536 (ebrowse-toggle-mark-at-point): Remove unused variable `pnt'.
4537 Use `ignore-errors'.
4538 (ebrowse-frozen-tree-buffer-name, ebrowse-find-source-file)
4539 (ebrowse-view/find-file-and-search-pattern)
4540 (ebrowse-view/find-member-declaration/definition):
4541 Rename parameter TAGS-FILE-NAME to TAGS-FILE.
4542 (ebrowse-find-class-declaration, ebrowse-view-class-declaration):
4543 Rename parameter PREFIX-ARG to PREFIX.
4544 (ebrowse-tags-read-name): Remove unused variables `start' and
4545 `member-info'.
4546 (ebrowse-display-member-buffer): Rename variable `tags-file-name'
4547 to `tags-file'.
4548
4549 * progmodes/etags.el (local-find-tag-hook): Declare.
4550 (tag-partial-file-name-match-p, tag-any-match-p, list-tags):
4551 Mark unused parameters.
4552
4553 * progmodes/executable.el (compilation-error-regexp-alist): Declare.
4554 (executable-interpret): Mark unused parameter.
4555
4556 * progmodes/flymake.el (flymake-process-sentinel)
4557 (flymake-after-change-function)
4558 (flymake-create-temp-with-folder-structure)
4559 (flymake-get-include-dirs-dot): Mark unused parameters.
4560 (flymake-safe-delete-directory): Remove unused variable `err'.
4561
4562 * progmodes/gdb-mi.el (speedbar-change-initial-expansion-list)
4563 (speedbar-timer-fn, speedbar-line-text)
4564 (speedbar-change-expand-button-char, speedbar-delete-subblock)
4565 (speedbar-center-buffer-smartly): Declare functions.
4566 (gdb-find-watch-expression): Remove unused variable `array'.
4567 (gdb-edit-value, gdb-gdb, gdb-ignored-notification, gdb-thread-created)
4568 (gdb-starting): Mark unused parameters.
4569 (gud-gdbmi-marker-filter): Remove unused variable `output-record'.
4570 (gdb-table-string): Remove unused variable `res'.
4571 (gdb-place-breakpoints): Remove unused variables `flag' and `bptno'.
4572 (gdb-disassembly-handler-custom): Remove unused variable `pos'.
4573 (gdb-display-buffer): Remove unused variable `cur-size'.
4574
4575 * progmodes/gud.el (gud-def): Use `defalias' instead of `defun' to
4576 allow lexical-binding compilation.
4577 (gud-expansion-speedbar-buttons, gud-gdb-goto-stackframe)
4578 (gud-dbx-massage-args, gud-xdb-massage-args, gud-perldb-massage-args)
4579 (gud-jdb-massage-args, gud-jdb-find-source, gud-find-class):
4580 Mark unused parameters.
4581 (gud-gdb-marker-filter): Remove unused variable `match'.
4582 (gud-find-class): Bind `syntax-symbol' and `syntax-point' to suitable
4583 lambda expressions and funcall them, instead of using `fset'.
4584
4585 * progmodes/hideif.el (hif-parse-if-exp): Rename parameter
4586 HIF-TOKEN-LIST to TOKEN-LIST and let-bind `hif-token-list'.
4587
4588 * progmodes/hideshow.el (hs-hide-block-at-point): Remove unused
4589 variable `header-beg'; use `let'.
4590
4591 * progmodes/icon.el (indent-icon-exp): Remove unused variables
4592 `restart', `last-sexp' and `at-do'.
4593
4594 * progmodes/js.el (js--debug): Mark unused parameter.
4595 (js--parse-state-at-point): Remove unused variable `bound'; use `let'.
4596 (js--splice-into-items): Remove unused variable `item'.
4597 (js--read-symbol, js--read-tab): Pass 1/-1 to `ido-mode', not t/nil.
4598
4599 * progmodes/make-mode.el (makefile-make-font-lock-keywords):
4600 Rename parameter FONT-LOCK-KEYWORDS to FL-KEYWORDS.
4601 (makefile-complete): Remove unused variable `try'.
4602 (makefile-fill-paragraph, makefile-match-function-end):
4603 Mark unused parameters.
4604
4605 * progmodes/octave-inf.el (inferior-octave-complete):
4606 Remove unused variable `proc'.
4607 (inferior-octave-output-digest): Mark unused parameter.
4608
4609 * progmodes/perl-mode.el (perl-calculate-indent):
4610 Remove unused variable `err'.
4611
4612 * progmodes/prolog.el (prolog-mode-keybindings-inferior)
4613 (prolog-indent-line): Mark unused parameters.
4614 (prolog-indent-line): Remove unused variable `beg'.
4615
4616 * progmodes/ps-mode.el (reporter-prompt-for-summary-p)
4617 (reporter-dont-compact-list): Declare.
4618
4619 * progmodes/sh-script.el (sh-font-lock-quoted-subshell):
4620 Remove unused variable `char'.
4621 (sh-debug): Mark unused parameter.
4622 (sh-get-indent-info): Remove unused variable `start'.
4623 (sh-calculate-indent): Remove unused variable `var'.
4624
4625 * progmodes/simula.el (simula-popup-menu): Mark unused parameter.
4626 (simula-electric-keyword): Remove unused variable `null'.
4627 (simula-search-backward, simula-search-forward): Remove unused
4628 variables `begin' and `end'.
4629
4630 * progmodes/vera-mode.el (vera-guess-basic-syntax):
4631 Remove unused variable `pos'.
4632 (vera-electric-tab, vera-comment-uncomment-region):
4633 Mark unused parameters.
4634 (vera-electric-tab): Rename parameter PREFIX-ARG to PREFIX.
4635
7ede3b65
CY
46362011-04-22 Chong Yidong <cyd@stupidchicken.com>
4637
4638 * emacs-lisp/package.el (package--builtins, package-alist)
4639 (package-load-descriptor, package-built-in-p, package-activate)
4640 (define-package, package-installed-p)
4641 (package-compute-transaction, package-buffer-info)
4642 (package--push): Doc fix. Distinguish more clearly between
4643 version strings and version lists.
4644
121656e9
JB
46452011-04-21 Juanma Barranquero <lekktu@gmail.com>
4646
4647 Lexical-binding cleanup.
4648
4649 * play/5x5.el (5x5-make-random-solution, 5x5-make-mutate-current)
4650 (5x5-make-mutate-best):
4651 * play/fortune.el (fortune-in-buffer):
4652 * play/gomoku.el (gomoku-init-display):
4653 * play/solitaire.el (solitaire, solitaire-do-check):
4654 * play/tetris.el (tetris-default-update-speed-function):
4655 Mark unused parameters.
4656
4657 * play/bubbles.el (bubbles-mode): Set `show-trailing-whitespace'.
4658 (bubbles--shift): Remove unused variable `char-org'.
4659 (bubbles--set-faces): Remove unused variable `fg-col'. Simplify.
4660 (bubbles--show-images): Remove unused variable `char'.
4661
4662 * play/decipher.el (decipher-keypress, decipher-alphabet-keypress)
4663 (decipher-get-undo, decipher-set-map, decipher-complete-alphabet)
4664 (decipher-resync, decipher-loop-with-breaks, decipher--analyze)
4665 (decipher-analyze-buffer): Use ?\s.
4666 (decipher-make-checkpoint): Remove unused variable `mapping'.
4667
4668 * play/doctor.el (doctor-doc): Rename parameter DOCTOR-SENT to SENT.
4669
4670 * play/gamegrid.el (gamegrid-add-score-with-update-game-score):
4671 Remove unused variable `result'; use `let'.
4672
4673 * play/gametree.el (gametree-current-layout, gametree-apply-layout):
4674 Rename parameter TOP-LEVEL to FROM-TOP-LEVEL; use `ignore-errors'.
4675 (gametree-children-shown-p, gametree-compute-reduced-score):
4676 Use `ignore-errors'.
4677
4678 * play/handwrite.el (ps-lpr-switches): Declare.
4679 (handwrite): Remove unused variables `pmin' and `lastp'.
4680
4681 * play/hanoi.el (hanoi-move-ring): Remove unused variable `total-steps'.
4682
4683 * play/landmark.el (landmark-init-display)
4684 (landmark-update-naught-weights): Mark unused parameters.
4685 (landmark-y): Remove unused variable `noise'. Simplify.
4686 (landmark-human-plays): Remove unused variable `score'.
4687
4688 * play/mpuz.el (mpuz-try-letter): Remove unused variable `message'.
4689 (mpuz-try-proposal): Remove unused variable `game'.
4690
4691 * play/zone.el (life-patterns): Declare.
4692
80f499c7
JB
46932011-04-20 Juanma Barranquero <lekktu@gmail.com>
4694
4695 * vc/vc.el (ediff-vc-internal): Declare function.
4696
024ff170
SM
46972011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
4698
c0a193ea
SM
4699 * shell.el: Use lexical-binding and std completion UI.
4700 (shell-filter-ctrl-a-ctrl-b): Work as a preoutput filter.
4701 (shell-mode): Put shell-filter-ctrl-a-ctrl-b on
4702 comint-preoutput-filter-functions rather than on
4703 comint-output-filter-functions.
4704 (shell-command-completion, shell--command-completion-data)
4705 (shell-filename-completion, shell-environment-variable-completion)
4706 (shell-c-a-p-replace-by-expanded-directory): New functions.
4707 (shell-dynamic-complete-functions, shell-dynamic-complete-command)
4708 (shell-dynamic-complete-filename, shell-replace-by-expanded-directory)
4709 (shell-dynamic-complete-environment-variable): Use them.
4710 (shell-dynamic-complete-as-environment-variable)
4711 (shell-dynamic-complete-as-command): Remove.
4712 (shell-match-partial-variable): Match past point.
4713 * comint.el: Clean up use of completion-at-point-functions.
4714 (comint-completion-at-point): New function.
4715 (comint-mode): Use it completion-at-point-functions.
4716 (comint-dynamic-complete): Make it obsolete.
4717 (comint-replace-by-expanded-history-before-point): Add dry-run arg.
4718 (comint-c-a-p-replace-by-expanded-history): New function.
4719 (comint-dynamic-complete-functions)
4720 (comint-replace-by-expanded-history): Use it.
4721 * minibuffer.el (completion-table-with-terminator): Allow dynamic
4722 termination strings. Try harder to avoid second try-completion.
4723 (completion-in-region-mode-map): Disable bindings that don't work yet.
4724
2dbaa080
SM
4725 * comint.el: Use lexical-binding. Require CL.
4726 (comint-dynamic-complete-functions): Use comint-filename-completion.
4727 (comint-completion-addsuffix): Tweak custom type.
4728 (comint-filename-completion, comint--common-suffix)
4729 (comint--common-quoted-suffix, comint--table-subvert)
4730 (comint--complete-file-name-data): New functions.
4731 (comint-dynamic-complete-as-filename, comint-dynamic-complete-filename)
4732 (comint-dynamic-list-filename-completions): Use them.
4733 (comint-dynamic-simple-complete): Make obsolete.
c0a193ea 4734
2dbaa080
SM
4735 * minibuffer.el (completion-in-region-mode):
4736 Keep completion-in-region-mode--predicate global.
4737 (completion-in-region--postch):
4738 Assume completion-in-region-mode--predicate is not null.
4739
c79a6f38
SM
4740 * progmodes/flymake.el (flymake-start-syntax-check-process):
4741 Obey `dir'. Simplify.
4742
024ff170
SM
4743 * vc/vc.el (vc-version-ediff): Call ediff-vc-internal directly, since
4744 we're in VC after all.
4745
1c6c854e
CS
47462011-04-20 Christoph Scholtes <cschol2112@googlemail.com>
4747
4748 * vc/vc.el (vc-diff-build-argument-list-internal)
024ff170 4749 (vc-version-ediff, vc-ediff): New commands.
1c6c854e
CS
4750 (vc-version-diff): Use vc-diff-build-argument-list-internal.
4751
bed7f140
SM
47522011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
4753
332e62ab
SM
4754 * emacs-lisp/byte-opt.el (byte-decompile-bytecode-1): Remove dead code,
4755 add sanity check.
4756
bed7f140
SM
4757 * obsolete/erc-hecomplete.el: Make obsolete.
4758 * obsolete/: Standardize obsolescence info in the header.
4759
f195c582
GM
47602011-04-20 Glenn Morris <rgm@gnu.org>
4761
4762 * calendar/solar.el (solar-horizontal-coordinates):
4763 Use the longitude argument rather than `calendar-longitude'.
4764 (solar-date-next-longitude): Remove unused locals.
4765
cb79b8c0
VJL
47662011-04-20 Vinicius Jose Latorre <viniciusjl@ig.com.br>
4767
4768 * whitespace.el: New version 13.2.1.
4769
47702011-04-20 felix <EmacsWiki> (tiny change)
4771
d8e4b68b 4772 * whitespace.el (global-whitespace-mode): Keep highlight when
cb79b8c0
VJL
4773 switching between major modes on a file.
4774
602ea69d
SM
47752011-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
4776
4777 * progmodes/octave-mod.el (octave-in-comment-p, octave-in-string-p)
4778 (octave-not-in-string-or-comment-p): Use syntax-ppss so it works with
4779 multi-line comments as well.
4780
06b60517
JB
47812011-04-19 Juanma Barranquero <lekktu@gmail.com>
4782
4783 Lexical-binding cleanup.
4784
4785 * arc-mode.el (archive-mode-revert):
4786 * cmuscheme.el (scheme-interactively-start-process):
4787 * custom.el (custom-initialize-delay):
4788 * dnd.el (dnd-open-local-file, dnd-open-remote-url):
4789 * dos-w32.el (direct-print-region-helper, direct-print-region-function):
4790 * emacs-lock.el (emacs-lock-clear-sentinel):
4791 * ezimage.el (defezimage):
4792 * follow.el (follow-avoid-tail-recenter):
4793 * fringe.el (set-fringe-mode-1):
4794 * generic-x.el (bat-generic-mode-compile):
4795 * help-mode.el (help-info-variable, help-do-xref)
4796 (help-mode-revert-buffer):
4797 * help.el (view-emacs-todo):
4798 * iswitchb.el (iswitchb-completion-help):
4799 * jka-compr.el (jka-compr-make-temp-name, jka-compr-load):
4800 * kmacro.el (kmacro-cycle-ring-next, kmacro-cycle-ring-previous)
4801 (kmacro-delete-ring-head, kmacro-bind-to-key, kmacro-view-macro):
4802 * locate.el (locate-update):
4803 * longlines.el (longlines-encode-region)
4804 (longlines-after-change-function):
4805 * outline.el (outline-isearch-open-invisible):
4806 * ps-def.el (declare-function, charset-dimension, char-width)
4807 (encode-char):
4808 * ps-mule.el (ps-mule-plot-string):
4809 * recentf.el (recentf-make-menu-items, recentf-cancel-dialog)
4810 (recentf-edit-list-select, recentf-edit-list-validate)
4811 (recentf-open-files-action):
4812 * rect.el (delete-whitespace-rectangle-line)
4813 (rectangle-number-line-callback):
4814 * register.el (window-configuration-to-register)
4815 (frame-configuration-to-register):
4816 * scroll-bar.el (scroll-bar-mode, toggle-horizontal-scroll-bar):
4817 * select.el (xselect-convert-to-string, xselect-convert-to-length)
4818 (xselect-convert-to-targets, xselect-convert-to-delete)
4819 (xselect-convert-to-filename, xselect-convert-to-charpos)
4820 (xselect-convert-to-lineno, xselect-convert-to-colno)
4821 (xselect-convert-to-os, xselect-convert-to-host)
4822 (xselect-convert-to-user, xselect-convert-to-class)
4823 (xselect-convert-to-name, xselect-convert-to-integer)
4824 (xselect-convert-to-atom, xselect-convert-to-identity):
4825 * subr.el (declare, ignore, process-kill-without-query)
4826 (text-clone-maintain):
4827 * terminal.el (te-get-char, te-tic-sentinel):
4828 * tool-bar.el (tool-bar-make-keymap):
4829 * tooltip.el (tooltip-timeout, tooltip-hide, tooltip-help-tips):
4830 * type-break.el (type-break-mode, type-break-noninteractive-query):
4831 * view.el (View-back-to-mark):
4832 * wid-browse.el (widget-browse-action, widget-browse-widget)
4833 (widget-browse-widgets, widget-browse-sexp):
4834 * widget.el (define-widget-keywords):
4835 * xt-mouse.el (xterm-mouse-translate, turn-off-xterm-mouse-tracking):
4836 Mark unused parameters.
4837
4838 * align.el (align-adjust-col-for-rule): Mark unused parameter.
4839 (align-areas): Remove unused variable `look'.
4840 (align-region): Remove unused variables `real-end' and `pos-list'.
4841
4842 * apropos.el (apropos-score-doc): Remove unused variable `i'.
4843
4844 * bindings.el (mode-line-modified, mode-line-remote):
4845 Mark unused parameters.
4846 (mode-line-mule-info): Mark unused parameter; don't quote `lambda'.
4847
4848 * buff-menu.el (Buffer-menu-revert-function): Mark unused parameters.
4849 (Buffer-menu-mode): Mark unused parameter; don't quote `lambda'.
4850
4851 * comint.el (comint-history-isearch-pop-state)
4852 (comint-postoutput-scroll-to-bottom, comint-truncate-buffer)
4853 (comint-strip-ctrl-m, comint-read-noecho): Mark unused parameters.
4854 (comint-substitute-in-file-name): Doc fix.
4855
4856 * completion.el (cmpl-statistics-block): Mark unused parameter.
4857 (add-completions-from-tags-table, add-completions-from-lisp-buffer)
4858 (save-completions-to-file, load-completions-from-file):
4859 Remove unused local variable `e'.
4860
4861 * composite.el (compose-chars): Remove unused variable `len'.
4862 (lgstring-insert-glyph): Remove unused variable `g'.
4863 (compose-glyph-string): Remove unused variables `ascent',
4864 `descent', `lbearing' and `rbearing'.
4865 (compose-glyph-string-relative): Remove unused variables
4866 `lbearing', `rbearing' and `wadjust'.
4867 (compose-gstring-for-graphic): Remove unused variables `header',
4868 `wadjust', `xoff' and `yoff'. Use `let', not `let*'.
4869 (compose-gstring-for-terminal): Remove unused variables `header'
4870 and `nchars'. Use `let', not `let*'.
4871
4872 * cus-edit.el (Custom-set, Custom-save, custom-reset)
4873 (Custom-reset-current, Custom-reset-saved, Custom-reset-standard)
4874 (Custom-buffer-done, custom-buffer-create-internal)
4875 (custom-browse-visibility-action, custom-browse-group-tag-action)
4876 (custom-browse-variable-tag-action, custom-browse-face-tag-action)
4877 (widget-magic-mouse-down-action, custom-toggle-parent)
4878 (custom-add-parent-links, custom-toggle-hide-variable)
4879 (custom-face-edit-value-visibility-action, custom-face-edit-fix-value)
4880 (custom-toggle-hide-face, face, hook, custom-group-link-action)
4881 (custom-face-menu-create, custom-variable-menu-create, get)
4882 (custom-group-menu-create, Custom-no-edit): Mark unused parameters.
4883 (custom-reset-standard-save-and-update): Remove unused variable `value'.
4884 (customize-apropos): Remove unused variable `tests'.
4885 (custom-group-value-create): Remove unused variable `hidden-p'.
4886 (sort-fold-case): Declare.
4887
4888 * cus-theme.el (custom-reset-standard-faces-list)
4889 (custom-reset-standard-variables-list): Declare.
4890 (customize-create-theme, custom-theme-revert, custom-theme-write)
4891 (custom-theme-choose-mode, customize-themes, custom-theme-save):
4892 Mark unused parameters.
4893
4894 * dabbrev.el (dabbrev-completion): Remove unused variable `init'.
4895
4896 * delim-col.el (delimit-columns-max): Move defvar before first use.
4897
4898 * descr-text.el (describe-char-categories): Don't quote `lambda'.
bd0d2ee2 4899 (describe-char): Don't quote `lambda'. Mark unused parameter.
06b60517
JB
4900
4901 * desktop.el (desktop-save-buffer-p): Mark unused parameter.
4902 (auto-insert): Declare.
4903 (desktop-restore-file-buffer): Rename desktop-* parameters;
4904 mark unused ones.
4905 (desktop-create-buffer): Rename desktop-* parameters and bind them.
4906 (desktop-buffer): Rename desktop-* parameters.
4907
4908 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
4909 (dframe-reposition-frame-xemacs, dframe-help-echo)
4910 (dframe-hack-buffer-menu, dframe-set-timer, dframe-set-timer-internal):
4911 Mark unused parameters.
4912
4913 * dired-aux.el (backup-extract-version-start, overwrite-query)
4914 (overwrite-backup-query, rename-regexp-query)
4915 (rename-non-directory-query): Declare.
4916 (dired-shell-stuff-it, dired-do-create-files): Mark unused parameters.
4917 (dired-add-entry): Remove unused variable `orig-file-name'.
4918 (dired-copy-file-recursive): Remove unused variable `dirfailed'.
4919 Use parameter PRESERVE-TIME instead of accessing dynamic variable
4920 `dired-copy-preserve-time' directly.
4921 (dired-do-create-files-regexp): Remove unused variable `fn-count'.
4922 (dired-insert-subdir-newpos): Rename unused variable `pos'.
4923
4924 * dired-x.el (dired-omit-size-limit): Move defcustom before first use.
4925 (dired-virtual-revert, dired-make-relative-symlink):
4926 Mark unused parameters.
4927 (manual-program): Declare.
4928 (dired-x-hands-off-my-keys): Rename parameters of lambda expression.
4929 (inode, s, mode, nlink, uid, gid, size, time, name, sym): Declare them,
4930 wrapped in `with-no-warnings' to avoid replacing one warning by another.
4931
4932 * dirtrack.el (dirtrack): Remove unused variable `multi-line'.
4933
4934 * dos-fns.el (dos-8+3-filename): Remove unused variable `i'.
4935
4936 * echistory.el (electric-history-in-progress, Helper-return-blurb):
4937 Declare.
4938
4939 * edmacro.el (edmacro-finish-edit): Remove unused variable `kmacro'.
4940
4941 * electric.el (Electric-command-loop): Rename parameter
4942 INHIBIT-QUIT to INHIBIT-QUITTING and bind `inhibit-quit'.
4943
4944 * expand.el (expand-in-literal): Remove unused variable `here'.
4945
4946 * facemenu.el (facemenu-add-new-color):
4947 Remove unused variable `docstring'.
4948
4949 * faces.el (face-id, make-face-bold, make-face-unbold, make-face-italic)
4950 (make-face-unitalic, make-face-bold-italic): Mark unused parameters.
4951 (face-attr-construct): Mark unused parameter. Doc fix.
4952 (read-color): Remove unused variable `hex-string'.
4953
4954 * files.el (parse-colon-path): Rename argument CD-PATH to SEARCH-PATH.
4955 (locate-dominating-file): Remove unused vars `prev-file' and `user'.
4956 (remote-file-name-inhibit-cache, revert-buffer): Clean up docstrings.
4957 (display-buffer-other-frame): Remove unused variable `old-window'.
4958 (kill-buffer-hook): Declare.
4959 (insert-file-contents-literally, set-auto-mode, risky-local-variable-p):
4960 Mark unused parameters.
4961 (after-find-file): Pass 1 to `auto-save-mode', not t.
4962
4963 * files-x.el (auto-insert): Declare.
4964 (modify-file-local-variable-prop-line): Remove unused variable `val'.
4965
4966 * find-lisp.el (find-lisp-find-dired-internal): Remove unused
bd0d2ee2 4967 variable `buf'. Mark unused parameter.
06b60517
JB
4968 (find-lisp-insert-directory): Mark unused parameter.
4969
4970 * format.el (format-decode-run-method): Mark unused parameter; doc fix.
4971 (format-encode-region): Remove unused variables `cur-buf' and `result'.
4972 (format-common-tail): Remove, unused.
4973 (format-deannotate-region): Remove unused variable `loc'.
4974 (format-annotate-region): Remove unused variable `p'.
4975 (format-annotate-single-property-change): Remove unused variables
4976 `default' and `tail'.
4977
4978 * forms.el (read-file-filter): Declare.
4979 (forms--iif-hook, forms--revert-buffer): Mark unused parameters.
4980
4981 * frame.el (frame-creation-function-alist): Mark unused parameter.
4982 (frame-geom-spec-cons): Pass FRAME to `frame-geom-value-cons'.
4983
4984 * hilit-chg.el (hilit-chg-cust-fix-changes-face-list, hilit-chg-clear):
4985 Remove unused parameters.
4986 (hilit-chg-set-face-on-change): Remove unused variable `beg-decr'.
4987 (highlight-compare-with-file): Remove unused variable `buf-b-read-only'.
4988
4989 * htmlfontify.el (hfy-default-footer, hfy-decor, hfy-invisible)
4990 (hfy-parse-tags-buffer, hfy-prepare-index-i, hfy-prepare-index)
4991 (hfy-prepare-tag-map): Mark unused parameters.
4992 (htmlfontify-buffer): Use `called-interactively-p'.
4993
4994 * ibuf-ext.el (ibuffer-do-kill-lines, ibuffer-jump-to-buffer)
4995 (ibuffer-copy-filename-as-kill, ibuffer-mark-on-buffer)
4996 (ibuffer-do-occur): Mark unused parameters.
4997 (ibuffer-forward-next-marked): Remove unused variable `curmark'.
4998 (ibuffer-diff-buffer-with-file-1): Remove unused variable `proc'.
4999
5000 * ibuffer.el: Don't quote `lambda'.
5001 (ibuffer-count-marked-lines, ibuffer-count-deletion-lines)
5002 (ibuffer-unmark-all, ibuffer-toggle-marks, ibuffer-redisplay-engine):
5003 Mark unused parameters.
5004
5005 * ido.el (ido-mode, ido-wide-find-dir-or-delete-dir)
5006 (ido-completing-read): Mark unused parameters.
5007 (ido-copy-current-word): Mark unused parameters;
5008 remove unused variable `name'.
5009 (ido-sort-merged-list): Remove unused parameter `dirs'.
5010
5011 * ielm.el (ielm-input-sender): Mark unused parameter.
5012 (ielm-string, ielm-form, ielm-pos, ielm-result, ielm-error-type)
5013 (ielm-output, ielm-wbuf, ielm-pmark): Declare.
5014 (ielm-eval-input): Rename argument IELM-STRING to INPUT-STRING to keep
5015 `ielm-string' as a dynamic variable accessible from the IELM prompt.
5016 Bind `ielm-string' to INPUT-STRING. Remove unused variable `err'.
5017
5018 * image-dired.el (image-dired-display-thumbs): Remove unused
5019 variables `curr-file' and `count'.
5020 (image-dired-remove-tag): Remove unused variable `start'.
5021 (image-dired-tag-files, image-dired-create-thumbs): Remove unused
5022 variable `curr-file'
5023 (image-dired-rotate-original): Remove unused variable `temp-file'.
5024 (image-dired-mouse-select-thumbnail, image-dired-mouse-toggle-mark):
5025 Remove unused variable `file'.
5026 (image-dired-gallery-generate): Remove unused variable `curr'.
5027 (image-dired-dired-edit-comment-and-tags): Mark unused parameters.
5028
5029 * indent.el (tab-to-tab-stop): Remove unused variable `opoint'.
5030
5031 * info-xref.el (info-xref-goto-node-p): Remove unused variable `err'.
5032
5033 * informat.el (texinfo-command-start, texinfo-command-end): Declare.
5034
5035 * isearch.el (minibuffer-history-symbol): Declare.
5036 (isearch-edit-string): Remove unused variable `err'.
5037 (isearch-message-prefix, isearch-message-suffix):
5038 Mark unused parameters.
5039
5040 * ls-lisp.el (ls-lisp-insert-directory): Remove unused variable `fil'.
5041
5042 * macros.el (insert-kbd-macro): Remove unused variable `mods'.
5043
5044 * makesum.el (double-column): Remove unused variable `cnt'.
5045
5046 * misearch.el (multi-isearch-pop-state): Mark unused parameter.
5047 (ido-ignore-item-temp-list): Declare.
5048
5049 * mouse-drag.el (mouse-drag-throw): Remove unused variables
5050 `mouse-delta', `window-last-row', `mouse-col-delta', `window-last-col',
5051 `adjusted-mouse-col-delta' and `adjusted-mouse-delta'.
5052 (mouse-drag-drag): Remove unused variables `mouse-delta' and
5053 `mouse-col-delta'.
5054
5055 * mouse-sel.el (mouse-extend-internal):
5056 Remove unused variable `orig-window-frame'.
5057
5058 * pcomplete.el (pcomplete-args, pcomplete-begins, pcomplete-last)
5059 (pcomplete-index, pcomplete-stub, pcomplete-seen, pcomplete-norm-func):
5060 Move declarations before first use.
5061 (pcomplete-opt): Mark unused parameters; doc fix.
5062
5063 * proced.el (proced-revert): Mark unused parameter.
5064 (proced-send-signal): Remove unused variable `err'.
5065
5066 * ps-print.el (ps-print-preprint-region, ps-print-preprint):
5067 Rename parameter PREFIX-ARG to ARG.
5068 (ps-basic-plot-string, ps-basic-plot-whitespace):
5069 Mark unused parameters.
5070
5071 * replace.el (replace-count): Define.
5072 (occur-revert-function): Mark unused parameters.
5073 (ido-ignore-item-temp-list, isearch-error, isearch-forward)
5074 (isearch-case-fold-search, isearch-string): Declare.
5075 (occur-engine): Rename parameter CASE-FOLD-SEARCH to CASE-FOLD and
5076 bind `case-fold-search'. Remove unused variables `beg' and `end',
5077 and simplify.
5078 (replace-eval-replacement): Rename parameter REPLACE-COUNT to
5079 COUNT and bind `replace-count'.
5080 (replace-loop-through-replacements): Rename parameter REPLACE-COUNT
5081 to COUNT.
5082
5083 * savehist.el (print-readably, print-string-length): Declare.
5084
5085 * shadowfile.el (shadow-expand-cluster-in-file-name):
5086 Remove unused variable `cluster'.
5087 (shadow-copy-file): Remove unused variable `i'.
5088 (shadow-noquery, shadow-clusters, shadow-site-cluster)
5089 (shadow-parse-fullname, shadow-parse-name, shadow-define-cluster)
5090 (shadow-define-literal-group, shadow-define-regexp-group)
5091 (shadow-make-group, shadow-shadows-of): Clean up docstrings.
5092
5093 * shell.el (shell-filter-ctrl-a-ctrl-b): Mark unused parameter.
5094 (shell): Use `called-interactively-p'.
5095 (shell-directory-tracker): Remove unused variable `chdir-failure'.
5096
5097 * simple.el (compilation-context-lines, comint-file-name-quote-list)
5098 (comint-file-name-chars, comint-delimiter-argument-list): Declare.
5099 (delete-backward-char): Remove unused variable `ocol'.
5100 (minibuffer-avoid-prompt, minibuffer-history-isearch-pop-state)
5101 (line-move-1, event-apply-alt-modifier, event-apply-super-modifier)
5102 (event-apply-hyper-modifier, event-apply-shift-modifier)
5103 (event-apply-control-modifier, event-apply-meta-modifier):
5104 Mark unused parameters.
5105 (undo-make-selective-list): Remove duplicate variable `undo-elt'.
5106 (normal-erase-is-backspace-mode): Remove unused variable `old-state'.
5107
5108 * speedbar.el (speedbar-ignored-directory-expressions)
5109 (speedbar-supported-extension-expressions, speedbar-directory-buttons)
5110 (speedbar-find-file, speedbar-dir-follow)
5111 (speedbar-directory-buttons-follow, speedbar-tag-find)
5112 (speedbar-buffer-buttons, speedbar-buffer-buttons-temp)
5113 (speedbar-buffers-line-directory, speedbar-buffer-click):
5114 Mark unused parameters.
5115 (speedbar-tag-file): Remove unused variable `mode'.
5116 (speedbar-buffers-tail-notes): Remove unused variable `mod'; simplify.
5117
5118 * strokes.el (strokes-decode-buffer): Remove unused variable `ext'.
5119
5120 * talk.el (talk): Remove unused variable `display'.
5121
5122 * tar-mode.el (tar-subfile-save-buffer): Remove unused variable `name'.
5123 (tar-write-region-annotate): Mark unused parameter.
5124
5125 * time.el (now, time, load, mail, 24-hours, hour, 12-hours, am-pm)
5126 (minutes, seconds, time-zone, day, year, monthname, month, dayname):
5127 Declare them, wrapped in `with-no-warnings' to avoid replacing one
5128 warning by another.
5129
5130 * time-stamp.el (time-stamp-string-preprocess):
5131 Remove unused variable `require-padding'.
5132
5133 * tree-widget.el (widget-glyph-enable): Declare.
5134 (tree-widget-action): Mark unused parameter.
5135
5136 * w32-fns.el (x-get-selection): Mark unused parameter.
5137 (autoload-make-program, generated-autoload-file): Declare.
5138
5139 * wdired.el (wdired-revert): Mark unused parameters.
5140 (wdired-xcase-word): Remove unused variable `err'.
5141
5142 * whitespace.el (whitespace-buffer-changed): Mark unused parameters.
5143 (whitespace-help-scroll): Remove unused variable `data-help'.
5144
5145 * wid-edit.el (widget-mouse-help, widget-overlay-inactive)
5146 (widget-image-insert, widget-after-change, default)
5147 (widget-default-format-handler, widget-default-notify)
5148 (widget-default-prompt-value, widget-info-link-action)
5149 (widget-url-link-action, widget-function-link-action)
5150 (widget-variable-link-action, widget-file-link-action)
5151 (widget-emacs-library-link-action, widget-emacs-commentary-link-action)
5152 (widget-field-prompt-internal, widget-field-action, widget-field-match)
5153 (widget-choice-mouse-down-action, toggle, widget-radio-button-notify)
5154 (widget-insert-button-action, widget-delete-button-action, visibility)
5155 (widget-documentation-link-action, widget-documentation-string-action)
5156 (widget-const-prompt-value, widget-regexp-match, symbol)
5157 (widget-coding-system-prompt-value)
5158 (widget-key-sequence-value-to-external, sexp)
5159 (widget-sexp-value-to-internal, character, vector, cons)
5160 (widget-choice-prompt-value, widget-boolean-prompt-value)
5161 (widget-color--choose-action): Mark unused parameters.
5162 (widget-item-match-inline, widget-choice-match-inline)
5163 (widget-checklist-match, widget-checklist-match-inline)
5164 (widget-group-match): Rename parameter VALUES to VALS.
5165 (widget-field-value-set): Remove unused variable `size'.
5166 (widget-color-action): Remove unused variables `value' and `start'.
5167
5168 * windmove.el (windmove-wrap-loc-for-movement): Remove unused
bd0d2ee2 5169 variable `dir'. Doc fix.
06b60517
JB
5170 (windmove-find-other-window): Don't pass it.
5171
5172 * window.el (count-windows): Mark unused parameter.
5173 (bw-adjust-window): Remove unused variable `err'.
5174
5175 * woman.el (woman-file-name): Remove unused variable `default'.
5176 (woman-expand-directory-path): Rename parameters WOMAN-MANPATH and
5177 WOMAN-PATH to PATH-DIRS and PATH-REGEXPS, respectively.
5178 (global-font-lock-mode): Declare.
5179 (woman-decode-region): Mark unused parameter.
5180 (woman-get-tab-stop): Rename parameter TAB-STOP-LIST to TAB-STOPS.
5181
5182 * x-dnd.el (x-dnd-default-test-function, x-dnd-handle-old-kde)
5183 (x-dnd-handle-xdnd, x-dnd-handle-motif): Mark unused parameters.
5184 (x-dnd-handle-moz-url): Remove unused variable `title'.
5185 (x-dnd-handle-xdnd): Remove unused variables `x', `y' and `ret-action'.
5186
5187 * xml.el (xml-parse-tag, xml-parse-attlist):
5188 Remove unused variable `pos'.
5189
bc4f7f3d
GM
51902011-04-19 Glenn Morris <rgm@gnu.org>
5191
5192 * calendar/cal-tex.el (cal-tex-list-holidays, cal-tex-cursor-month)
5193 (cal-tex-cursor-week, cal-tex-cursor-week2, cal-tex-cursor-week-iso)
5194 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
5195 (cal-tex-cursor-filofax-daily, cal-tex-mini-calendar)
5196 * calendar/cal-html.el (cal-html-insert-minical):
5197 * calendar/diary-lib.el (diary-list-entries-1, diary-list-entries)
5198 (calendar-mark-date-pattern):
5199 Prefix "unused" locals.
5200
5201 * calendar/cal-dst.el (dst-adjust-time): Remove never-implemented
5202 optional argument `style'.
5203
5204 * calendar/appt.el (appt-make-list):
5205 * calendar/cal-china.el (calendar-chinese-date-string):
5206 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits)
5207 (diary-hebrew-yahrzeit):
5208 * calendar/cal-tex.el (cal-tex-last-blank-p, cal-tex-cursor-week2):
5209 * calendar/calendar.el (calendar-generate-window):
5210 * calendar/time-date.el (time-to-days):
5211 Remove unused local variables.
5212
16a43933
CY
52132011-04-18 Chong Yidong <cyd@stupidchicken.com>
5214
5215 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Use a custom
5216 glyphless-char-display table.
5217 (tabulated-list-glyphless-char-display): New var.
5218
7eed1860
SS
52192011-04-18 Sam Steingold <sds@gnu.org>
5220
5221 * vc/add-log.el (change-log-font-lock-keywords): Add "Thanks to"
5222 to acknowledgments.
5223
4d2d1ccd
GM
52242011-04-17 Glenn Morris <rgm@gnu.org>
5225
5226 * calendar/diary-lib.el (diary-sexp-entry):
5227 * calendar/holidays.el (holiday-sexp):
5228 Set debug-on-error rather than the removed stack-trace-on-error.
5229
239da61d
GM
52302011-04-16 Glenn Morris <rgm@gnu.org>
5231
5232 * progmodes/f90.el: Use lexical-binding.
5233 (f90-get-correct-indent): Remove unnecessary local variable `cont'.
5234
8b05752a
SM
52352011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
5236
daca8ba5
SM
5237 * mail/sendmail.el (mail-mode-map): Use completion-at-point.
5238 (mail-mode): Setup mailalias completion here instead.
5239 * mail/mailalias.el: Use lexical-binding.
5240 (pattern, mailalias-done): Declare dynamic.
5241 (mail-completion-at-point-function): New function, from mail-complete.
5242 (mail-complete): Use it.
5243 (mail-completion-expand): New function.
5244 (mail-get-names): Use it.
5245 (mail-directory, mail-directory-process, mail-directory-stream):
5246 Don't use `pattern' for lexically bound arg.
5247
6f542485
SM
5248 * emacs-lisp/lisp-mode.el (eval-defun-2): Use eval-sexp-add-defvars.
5249
037e7c3f
SM
5250 * htmlfontify.el (hfy-etags-cmd): Remove inoperant eval-and-compile.
5251 (hfy-e2x-etags-cmd, hfy-etags-cmd-alist-default)
5252 (hfy-etags-cmd-alist): Don't eval-and-compile any more.
5253
8b05752a
SM
5254 * emacs-lisp/bytecomp.el (byte-temp-output-buffer-show)
5255 (byte-save-window-excursion, byte-temp-output-buffer-setup)
5256 (byte-interactive-p): Define them again, for use when inlining
5257 old code.
5258
49093f60
JB
52592011-04-15 Juanma Barranquero <lekktu@gmail.com>
5260
5261 * loadup.el: Use `string-to-number', not `string-to-int'.
5262
b5b8e7de
SM
52632011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
5264
5265 * progmodes/gud.el (gud-gdb): Use completion-at-point instead of
5266 gud-gdb-complete-command.
5267 (gud-gdb-completions): New function, from gud-gdb-complete-command.
5268 (gud-gdb-completion-at-point): New function.
5269 (gud-gdb-completions): Remove.
5270
f42efeb5
MA
52712011-04-14 Michael Albinus <michael.albinus@gmx.de>
5272
49093f60
JB
5273 * net/tramp-sh.el (tramp-sh-handle-file-attributes): Handle the case
5274 when the scripts fail. Use `tramp-do-file-attributes-with-ls' then.
5275 (tramp-do-copy-or-rename-file-out-of-band): Do not check any longer
5276 whether `executable-find' is bound.
f42efeb5
MA
5277
5278 * net/tramp-smb.el (tramp-smb-handle-copy-file): Fix docstring.
5279
e240cc21
SM
52802011-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
5281
5282 * minibuffer.el (completion-in-region-mode-predicate)
5283 (completion-in-region-mode--predicate): New vars.
5284 (completion-in-region, completion-in-region--postch)
5285 (completion-in-region-mode): Use them.
5286 (completion--capf-wrapper): Also return the hook function.
5287 (completion-at-point, completion-help-at-point):
5288 Adjust and provide a predicate.
c2bd2ab0
SM
5289
5290 Preserve arg names for advice of subr and lexical functions (bug#8457).
5291 * help-fns.el (help-function-arglist): Consolidate the subr and
5292 new-byte-code cases. Add argument `preserve-names' to extract names
5293 from the docstring when needed.
5294 * emacs-lisp/advice.el (ad-define-subr-args, ad-undefine-subr-args)
5295 (ad-subr-args-defined-p, ad-get-subr-args, ad-subr-arglist): Remove.
5296 (ad-arglist): Use help-function-arglist's new arg.
5297 (ad-definition-type): Use cond.
5298
c183f693
JB
52992011-04-13 Juanma Barranquero <lekktu@gmail.com>
5300
06641a47
JB
5301 * autorevert.el (auto-revert-handler):
5302 Bind `remote-file-name-inhibit-cache', not `tramp-cache-inhibit-cache',
5303 which was removed in 2010-10-02T13:21:43Z!michael.albinus@gmx.de.
5304 Don't quote lambda.
5305
c183f693
JB
5306 * image-mode.el (image-transform-set-scale):
5307 Fix change in 2011-04-09T20:28:01Z!cyd@stupidchicken.com.
5308
1e3b6001
G
53092011-04-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
5310
5311 * net/network-stream.el (network-stream-open-starttls): Only do
5312 opportunistic STARTTLS upgrades if we have built-in gnutls support.
5313 Upgrades via gnutls-cli are too slow to be done opportunistically.
5314
2d6af8dd
JB
53152011-04-12 Juanma Barranquero <lekktu@gmail.com>
5316
5317 * dframe.el (dframe-current-frame): Remove spurious quote.
5318
c0749a51
GM
53192011-04-12 Glenn Morris <rgm@gnu.org>
5320
088d0d61
GM
5321 * calendar/cal-tex.el (cal-tex-end-document):
5322 Try to automatically use latin1 input if needed.
5323
c0749a51
GM
5324 * calendar/cal-hebrew.el (diary-hebrew-rosh-hodesh):
5325 Don't try to cons a mark onto an empty element.
5326
5c90fde0
LL
53272011-04-11 Leo Liu <sdl.web@gmail.com>
5328
5329 * ido.el (ido-buffer-internal): Allow method 'kill for virtual
5330 buffers.
5331 (ido-kill-buffer-at-head): Support killing virtual buffers.
5332
369e974d
CY
53332011-04-10 Chong Yidong <cyd@stupidchicken.com>
5334
5335 * minibuffer.el (completion-show-inline-help): New var.
5336 (completion--do-completion, minibuffer-complete)
daca8ba5
SM
5337 (minibuffer-force-complete, minibuffer-complete-word):
5338 Inhibit minibuffer messages if completion-show-inline-help is nil.
369e974d
CY
5339
5340 * icomplete.el (icomplete-mode): Bind completion-show-inline-help
5341 to avoid interference from inline help (Bug#5849).
5342
37f1c930
LL
53432011-04-10 Leo Liu <sdl.web@gmail.com>
5344
099c39a4
JB
5345 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
5346 Fix typo.
37f1c930 5347
a32d4040
CY
53482011-04-09 Chong Yidong <cyd@stupidchicken.com>
5349
5350 * image-mode.el (image-toggle-display-image): Signal an error if
5351 not in Image mode.
5352 (image-transform-mode, image-transform-resize)
5353 (image-transform-set-rotation): Doc fix.
daca8ba5 5354 (image-transform-set-resize): Delete.
a32d4040
CY
5355 (image-transform-set-scale, image-transform-fit-to-height)
5356 (image-transform-fit-to-width): Handle image-toggle-display-image
5357 and image-transform-resize directly.
5358
099c39a4 53592011-04-08 Sho Nakatani <lay.sakura@gmail.com>
d7b89879
TH
5360
5361 * doc-view.el (doc-view-fit-width-to-window)
099c39a4
JB
5362 (doc-view-fit-height-to-window, doc-view-fit-page-to-window):
5363 New functions for fitting the shown image to the Emacs window size.
d7b89879
TH
5364 (doc-view-mode-map): Add bindings for the new functions.
5365
099c39a4 53662011-04-08 Juanma Barranquero <lekktu@gmail.com>
ddc20cdb
JB
5367
5368 * vc-annotate.el (vc-annotate-show-log-revision-at-line):
5369 Fix typo in docstring.
5370
3726838a
EZ
53712011-04-08 Eli Zaretskii <eliz@gnu.org>
5372
04f33f1e
EZ
5373 * files.el (file-size-human-readable): Produce one digit after
5374 decimal, like "ls -lh" does.
5375
5376 * ls-lisp.el (ls-lisp-format-file-size): Allow for 7 characters in
5377 the file size representation.
5378
3726838a
EZ
5379 * simple.el (list-processes): If async subprocesses are not
5380 available, error out with a clear error message.
5381
cbb59342
CY
53822011-04-08 Chong Yidong <cyd@stupidchicken.com>
5383
5384 * help.el (help-form-show): New function, to be called from C.
5385 Put help-form output in a buffer named differently than *Help*.
5386
e3971c44
EZ
53872011-04-08 Eli Zaretskii <eliz@gnu.org>
5388
5389 * files.el (file-size-human-readable): New function.
5390
5391 * ls-lisp.el (ls-lisp-format-file-size): Use it, instead of
5392 computing the representation inline. Don't require `cl'.
5393
12544bbe
GM
53942011-04-08 Glenn Morris <rgm@gnu.org>
5395
a1de6c6a
GM
5396 * man.el (Man-page-header-regexp): Solaris < 2.6 no longer supported.
5397
3c4671f4
GM
5398 * net/browse-url.el (browse-url-firefox):
5399 Test system-type, not system-configuration.
5400
b605679c
GM
5401 * vc/log-edit.el (log-edit-empty-buffer-p): New function.
5402 (log-edit-insert-cvs-template, log-edit-insert-cvs-rcstemplate):
5403 Use log-edit-empty-buffer-p. (Bug#7598)
5404
56442f0c
GM
5405 * net/rlogin.el (rlogin-process-connection-type): Simplify.
5406 (rlogin-mode-map): Initialize in the defvar.
5407 (rlogin): Use ignore-errors.
5408
12544bbe
GM
5409 * replace.el (occur-mode-map): Some fixes for menu items.
5410
eb237b0f
AH
54112011-04-07 Aaron S. Hawley <aaron.s.hawley@gmail.com>
5412
5413 * play/morse.el (denato-region): Handle varying case. (Bug#8386)
5414
7d668f2c
CY
54152011-04-06 Chong Yidong <cyd@stupidchicken.com>
5416
e67a13ab
CY
5417 * emacs-lisp/cconv.el (cconv--analyse-use): Ignore "ignored" when
5418 issuing unused warnings.
5419
5420 * emacs-lisp/tabulated-list.el (tabulated-list-print): Use lambda
5421 macro directly.
5422
7d668f2c
CY
5423 * simple.el: Lisp reimplement of list-processes. Based on an
5424 earlier reimplementation by Leo Liu, but using tabulated-list.el.
5425 (process-menu-mode): New major mode.
5426 (list-processes--refresh, list-processes):
5427 (process-menu-visit-buffer): New functions.
5428
5429 * files.el (save-buffers-kill-emacs): Don't assume any return
5430 value of list-processes, which is undocumented anyway.
5431
a83ec3c9
CY
54322011-04-06 Chong Yidong <cyd@stupidchicken.com>
5433
5434 * emacs-lisp/tabulated-list.el: New file.
5435
e91a96fe
CY
5436 * emacs-lisp/package.el: Use Tabulated List mode.
5437 (package-menu-mode-map): Inherit from tabulated-list-mode-map.
5438 (package-menu-mode): Derive from tabulated-list-mode. Set up the
5439 table format using Tabulated List mode variables.
5440 (package--push): New macro, replacing package-list-maybe-add.
5441 (package-menu--generate): Use package--push. Renamed from
5442 package--generate-package-list.
5443 (package-menu-refresh, list-packages): Use it.
daca8ba5 5444 (package-menu--print-info): Rename from package-print-package.
e91a96fe 5445 Return insertion data instead of inserting it directly.
099c39a4
JB
5446 (package-menu-describe-package, package-menu-execute):
5447 Use tabulated-list-get-id.
e91a96fe
CY
5448 (package-menu-mark-delete, package-menu-mark-install)
5449 (package-menu-mark-unmark, package-menu-backup-unmark)
099c39a4
JB
5450 (package-menu-mark-obsolete-for-deletion):
5451 Use tabulated-list-put-tag.
e91a96fe
CY
5452 (package--list-packages, package-menu-revert)
5453 (package-menu-get-package, package-menu-get-version)
5454 (package-menu-sort-by-column): Functions deleted.
5455 (package-menu-package-list, package-menu-sort-key): Vars deleted.
5456 (package-menu--status-predicate, package-menu--version-predicate)
5457 (package-menu--name-predicate)
5458 (package-menu--description-predicate): Handle arguments in the
5459 Tabulated List format.
5460 (package-list-packages-no-fetch): Call list-packages.
5461
3e214b50
JB
54622011-04-06 Juanma Barranquero <lekktu@gmail.com>
5463
5464 * files.el (after-find-file-from-revert-buffer): Remove variable.
c9d0ec6d 5465 (after-find-file): Don't bind it.
3e214b50
JB
5466 (revert-buffer-in-progress-p): New variable.
5467 (revert-buffer): Bind it.
5468 Pass nil for `after-find-file-from-revert-buffer'.
5469
5470 * saveplace.el (save-place-find-file-hook): Use new variable
5471 `rever-buffer-in-progress-p', not `after-find-file-from-revert-buffer'.
5472
3f0f1700
GM
54732011-04-06 Glenn Morris <rgm@gnu.org>
5474
c0274801
GM
5475 * Makefile.in (AUTOGEN_VCS): New variable.
5476 (autoloads): Use $AUTOGEN_VCS.
5477
3f0f1700
GM
5478 * calendar/cal-move.el (calendar-scroll-toolkit-scroll): New function.
5479 * calendar/calendar.el (calendar-mode-map):
5480 Check for toolkit scroll bars. (Bug#8305)
5481
41ea9e48
CY
54822011-04-05 Chong Yidong <cyd@stupidchicken.com>
5483
5484 * minibuffer.el (completion-in-region--postch)
5485 (completion-in-region-mode): Remove unnecessary messages.
5486
6194c800
JB
54872011-04-05 Juanma Barranquero <lekktu@gmail.com>
5488
33256f14
JB
5489 * font-lock.el (font-lock-refresh-defaults):
5490 Don't bind `hi-lock--inhibit-font-lock-hook', removed in
5491 2010-10-09T04:09:19Z!cyd@stupidchicken.com and 2010-10-11T23:57:49Z!lekktu@gmail.com (2010-10-12).
5492
6194c800
JB
5493 * info.el (Info-directory-list, Info-read-node-name-2)
5494 (Info-split-parameter-string): Doc fixes.
5495 (Info-virtual-nodes): Reflow docstring.
5496 (Info-find-file, Info-directory-toc-nodes, Info-history-toc-nodes)
5497 (Info-apropos-toc-nodes, info-finder, Info-get-token)
5498 (Info-find-emacs-command-nodes, Info-speedbar-key-map):
5499 Fix typos in docstrings.
5500 (Info-revert-buffer-function, Info-search, Info-isearch-pop-state)
5501 (Info-speedbar-hierarchy-buttons, Info-speedbar-goto-node)
5502 (Info-speedbar-buttons, Info-desktop-buffer-misc-data)
5503 (Info-restore-desktop-buffer): Mark unused parameters.
5504 (Info-directory-find-file, Info-directory-find-node)
5505 (Info-history-find-file, Info-history-find-node, Info-toc-find-node)
5506 (Info-virtual-index-find-node, Info-apropos-find-file)
5507 (Info-apropos-find-node, Info-finder-find-file, Info-finder-find-node):
33256f14 5508 Mark unused parameters; fix typos in docstrings.
6194c800
JB
5509 (Info-virtual-index): Remove unused local variable `nodename'.
5510
b87a8200 55112011-04-05 Deniz Dogan <deniz@dogan.se>
0f6ee7d2 5512
b87a8200
DD
5513 * net/rcirc.el: Update my e-mail address.
5514 (rcirc-mode-map): Remove M-o binding.
0f6ee7d2 5515
3b2ff876
CY
55162011-04-05 Chong Yidong <cyd@stupidchicken.com>
5517
5518 * startup.el (command-line): Save the cursor's theme-face
5519 directly, instead of using face-override-spec.
5520
5521 * custom.el (load-theme): Minor optimization in assigning faces.
5522
8d17e7ca
JB
55232011-04-04 Juanma Barranquero <lekktu@gmail.com>
5524
5525 * help-fns.el (describe-variable): Complete all variables having
5526 documentation, including keywords.
5527 http://lists.gnu.org/archive/html/emacs-devel/2011-04/msg00112.html
5528
2fbc1934
JB
55292011-04-04 Juanma Barranquero <lekktu@gmail.com>
5530
5531 Convert to lexical-binding.
5532
5533 * bs.el (bs-refresh, bs-sort-buffer-interns-are-last)
5534 (bs--get-marked-string, bs--get-modified-string)
5535 (bs--get-readonly-string, bs--get-size-string, bs--get-name)
5536 (bs--get-mode-name, bs--get-file-name): Mark unused arguments.
5537 (bs--configuration-name-for-prefix-arg): Rename argument PREFIX-ARG.
5538
5539 * ehelp.el (electric-help-execute-extended)
5540 (electric-help-ctrl-x-prefix):
5541 * hexl.el (hexl-revert-buffer-function):
5542 * linum.el (linum-after-change, linum-after-scroll):
5543 * emacs-lisp/re-builder.el (reb-auto-update): Mark unused arguments.
5544
5545 * help-fns.el (help-describe-category-set): Remove unused ERR variable.
5546
74f50695
DU
55472011-04-04 Daiki Ueno <ueno@unixuser.org>
5548
5549 * epa-dired.el:
5550 * epa-mail.el:
5551 * epa-hook.el:
5552 * epa-file.el:
5553 * epa.el:
5554 * epg.el: Use lexical binding.
5555
c11325f7
CY
55562011-04-03 Chong Yidong <cyd@stupidchicken.com>
5557
0d9e9a12
CY
5558 * dired-aux.el (dired-create-files): Add docstring (Bug#7970).
5559
c11325f7 5560 * textmodes/flyspell.el (flyspell-word): Recognize default
daca8ba5
SM
5561 dictionary case for flyspell-mark-duplications-exceptions.
5562 Use regexp matching for languages.
c11325f7
CY
5563 (flyspell-mark-duplications-exceptions): Add "that" and "had" for
5564 default dictionary (Bug#7926).
5565
da91b5f2
CY
55662011-04-02 Chong Yidong <cyd@stupidchicken.com>
5567
099c39a4
JB
5568 * emacs-lisp/package.el (package--with-work-buffer):
5569 Recognize https URLs.
da91b5f2 5570
099c39a4
JB
5571 * net/network-stream.el: Move from gnus/proto-stream.el.
5572 Change prefix to network-stream throughout.
da91b5f2
CY
5573 (open-protocol-stream): Merge into open-network-stream, leaving
5574 open-protocol-stream as an alias. Handle nil BUFFER args.
5575
5576 * subr.el (open-network-stream): Move to net/network-stream.el.
5577
afa8e9f6
GM
55782011-04-02 Glenn Morris <rgm@gnu.org>
5579
1d2e369d
GM
5580 * find-dired.el (find-exec-terminator): New option.
5581 (find-ls-option): Test for -ls support.
5582 (find-ls-subdir-switches): Test for -b in find-ls-option.
5583 (find-dired, find-grep-dired): Doc fixes.
5584 (find-dired): Use find-exec-terminator.
5585
8abb7da8 5586 * find-dired.el (find-ls-option, find-ls-subdir-switches)
e7a395b5
GM
5587 (find-grep-options): Do not autoload these defcustoms, remove purecopy.
5588 (find-name-arg): Remove purecopy.
8abb7da8 5589
f3ca7378
GM
5590 * progmodes/grep.el (grep-find-use-xargs): Doc fix.
5591 (grep-compute-defaults): Check for `-exec COMMAND +' support.
5592 Set grep-find-use-xargs, grep-find-command, and grep-find-template
5593 accordingly. Don't add the null-device if not needed.
5594
afa8e9f6
GM
5595 * files.el (save-some-buffers): Doc fix.
5596
35eae264
EZ
55972011-04-02 Eli Zaretskii <eliz@gnu.org>
5598
5599 * makefile.w32-in (EMACS): Default to ../src/$(BLD)/emacs.exe.
5600
26b51db5
JB
56012011-04-01 Juanma Barranquero <lekktu@gmail.com>
5602
5603 * progmodes/idlwave.el (idlwave-one-key-select, idlwave-list-abbrevs):
5604 Use `dolist' rather than `mapcar'.
5605
7200d79c
SM
56062011-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
5607
03408648 5608 Add lexical binding.
7200d79c 5609
03408648
SM
5610 * subr.el (apply-partially): Use new closures rather than CL.
5611 (--dolist-tail--, --dotimes-limit--): Don't declare dynamic.
5612 (dolist, dotimes): Use slightly different expansion for lexical code.
5613 (functionp): Move to C.
5614 (letrec): New macro.
5615 (with-wrapper-hook): Use it and apply-partially instead of CL.
5616 (eval-after-load): Preserve lexical-binding.
5617 (save-window-excursion, with-output-to-temp-buffer): Turn them
5618 into macros.
7200d79c 5619
03408648
SM
5620 * simple.el (with-wrapper-hook, apply-partially): Move to subr.el.
5621
5622 * help-fns.el (help-split-fundoc): Return nil if there's nothing else
5623 than the arglist.
5624 (help-add-fundoc-usage): Don't add `Not documented'.
5625 (help-function-arglist): Handle closures, subroutines, and new
5626 byte-code-functions.
5627 (help-make-usage): Remove leading underscores.
5628 (describe-function-1): Handle closures.
5629 (describe-variable): Use special-variable-p for completion.
5630
5631 * files.el (lexical-binding): Declare safe.
f488fb65 5632
03408648
SM
5633 * emacs-lisp/pcase.el: Don't use destructuring-bind.
5634 (pcase--memoize): Rename from pcase-memoize. Change weakness.
5635 (pcase): Add `let' pattern.
5636 Change memoization so it actually works.
5637 (pcase-mutually-exclusive-predicates): Add byte-code-function-p.
5638 (pcase--u1) <guard, pred>: Fix possible shadowing problem.
5639 <let>: New case.
f488fb65 5640
03408648
SM
5641 * emacs-lisp/macroexp.el: Use lexical binding.
5642 (macroexpand-all-1): Check obsolete macros. Expand compiler-macros.
5643 Don't convert ' to #' without checking that it's indeed quoting
5644 a lambda.
5645
5646 * emacs-lisp/lisp-mode.el (eval-last-sexp-1):
f488fb65 5647 Use eval-sexp-add-defvars.
03408648
SM
5648 (eval-sexp-add-defvars): New fun.
5649
5650 * emacs-lisp/float-sup.el (pi): Don't declare as dynamically bound.
5651
5652 * emacs-lisp/eieio.el (byte-compile-file-form-defmethod):
5653 Don't autoload.
5654 (eieio-defgeneric-form-primary-only-one): Use `byte-compile' rather
5655 than the internal `byte-compile-lambda'.
5656 (defmethod): Don't hide code under quotes.
5657 (eieio-defmethod): New `code' argument.
5658
5659 * emacs-lisp/eieio-comp.el: Remove.
5660
5661 * emacs-lisp/edebug.el (edebug-eval-defun)
5662 (edebug-eval-top-level-form): Use eval-sexp-add-defvars.
5663 (edebug-toggle): Avoid `eval'.
5664
5665 * emacs-lisp/disass.el (disassemble-internal): Handle new
5666 `closure' objects.
5667 (disassemble-1): Handle new byte codes.
5668
5669 * emacs-lisp/cl.el (pushnew): Silence warning.
5670
5671 * emacs-lisp/cl-macs.el (cl-byte-compile-block)
5672 (cl-byte-compile-throw): Remove.
5673 (cl-block-wrapper, cl-block-throw): Use compiler-macros instead.
5674
5675 * emacs-lisp/cl-extra.el (cl-macroexpand-all): Properly quote CL
5676 closures.
5677
5678 * emacs-lisp/cconv.el: New file.
5679
5680 * emacs-lisp/bytecomp.el: Use lexical binding instead of
5681 a "bytecomp-" prefix. Macroexpand everything as a separate phase.
5682 (byte-compile-initial-macro-environment):
5683 Handle declare-function here.
5684 (byte-compile--lexical-environment): New var.
5685 (byte-stack-ref, byte-stack-set, byte-discardN)
5686 (byte-discardN-preserve-tos): New lap codes.
5687 (byte-interactive-p): Don't use any more.
5688 (byte-compile-push-bytecodes, byte-compile-push-bytecode-const2):
5689 New macros.
5690 (byte-compile-lapcode): Use them and handle new lap codes.
5691 (byte-compile-obsolete): Remove.
5692 (byte-compile-arglist-signature): Handle new byte-code arg"lists".
5693 (byte-compile-arglist-warn): Check late def of inlinable funs.
5694 (byte-compile-cl-warn): Don't silence warnings for compiler-macros
5695 since they should have been expanded by now.
5696 (byte-compile--outbuffer): Rename from bytecomp-outbuffer.
5697 (byte-compile-from-buffer): Remove unused second arg.
5698 (byte-compile-preprocess): New function.
5699 (byte-compile-toplevel-file-form): New function to distinguish
5700 file-form calls from outside from file-form calls from hunk-handlers.
5701 (byte-compile-file-form): Simplify.
5702 (byte-compile-file-form-defsubst): Remove.
5703 (byte-compile-file-form-defmumble): Simplify now that
5704 byte-compile-lambda always returns a byte-code-function.
5705 (byte-compile): Preprocess.
5706 (byte-compile-byte-code-maker, byte-compile-byte-code-unmake):
5707 Remove, not used any more.
5708 (byte-compile-arglist-vars, byte-compile-make-lambda-lexenv)
5709 (byte-compile-make-args-desc): New funs.
5710 (byte-compile-lambda): Handle lexical functions. Always return
5711 a byte-code-function.
5712 (byte-compile-reserved-constants): New var, to make up room for
5713 closed-over variables.
5714 (byte-compile-constants-vector): Obey it.
5715 (byte-compile-top-level): New args `lexenv' and `reserved-csts'.
5716 (byte-compile-macroexpand-declare-function): New function.
5717 (byte-compile-form): Call byte-compile-unfold-bcf to inline immediate
5718 byte-code-functions.
5719 (byte-compile-form): Check obsolescence here.
5720 (byte-compile-inline-lapcode, byte-compile-unfold-bcf): New functions.
5721 (byte-compile-variable-ref): Remove.
5722 (byte-compile-dynamic-variable-op): New fun.
5723 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
5724 (byte-compile-variable-set): New funs.
5725 (byte-compile-discard): Add 2 args.
5726 (byte-compile-stack-ref, byte-compile-stack-set)
5727 (byte-compile-make-closure, byte-compile-get-closed-var): New funs.
5728 (byte-compile-funarg, byte-compile-funarg-2): Remove, handled in
5729 macroexpand-all instead.
5730 (byte-compile-quote-form): Remove.
5731 (byte-compile-push-binding-init, byte-compile-not-lexical-var-p)
5732 (byte-compile-bind, byte-compile-unbind): New funs.
5733 (byte-compile-let): Handle let* and lexical binding.
5734 (byte-compile-let*): Remove.
5735 (byte-compile-catch, byte-compile-unwind-protect)
5736 (byte-compile-track-mouse, byte-compile-condition-case):
5737 Handle a new :fun-body form, used for lexical scoping.
5738 (byte-compile-save-window-excursion)
5739 (byte-compile-with-output-to-temp-buffer): Remove.
5740 (byte-compile-defun): Simplify.
5741 (byte-compile-stack-adjustment): New fun.
5742 (byte-compile-out): Use it.
5743 (byte-compile-refresh-preloaded): Don't reload byte-compiler files.
5744
5745 * emacs-lisp/byte-run.el (make-obsolete): Don't set the `byte-compile'
5746 handler any more.
5747
5748 * emacs-lisp/byte-opt.el: Use lexical binding.
5749 (byte-inline-lapcode): Remove (to bytecomp).
5750 (byte-compile-inline-expand): Pay attention to inlining to/from
5751 lexically bound code.
5752 (byte-compile-unfold-lambda): Don't handle byte-code-functions
5753 any more.
5754 (byte-optimize-form-code-walker): Don't handle save-window-excursion
5755 any more and don't call compiler-macros.
5756 (byte-compile-splice-in-already-compiled-code): Remove.
5757 (byte-code): Don't inline any more.
5758 (disassemble-offset): Receive `bytes' as argument rather than via
5759 dynamic scoping.
5760 (byte-compile-tag-number): Declare before first use.
5761 (byte-decompile-bytecode-1): Handle new byte-codes, don't change
5762 `return' even if make-spliceable.
5763 (byte-compile-side-effect-and-error-free-ops): Add stack-ref, remove
5764 obsolete interactive-p.
5765 (byte-optimize-lapcode): Optimize new lap-codes.
5766 Don't trip up on new form of `byte-constant' lap code.
5767
5768 * emacs-lisp/autoload.el (make-autoload): Don't burp on trivial macros.
5769
5770 * emacs-lisp/advice.el (ad-arglist): Use help-function-arglist.
5771
5772 * custom.el (custom-initialize-default, custom-declare-variable):
5773 Use `defvar'.
5774
5775 * Makefile.in (BIG_STACK_DEPTH, BIG_STACK_OPTS, BYTE_COMPILE_FLAGS):
5776 New variables.
5777 (compile-onefile, .el.elc, compile-calc, recompile): Use them.
5778 (COMPILE_FIRST): Add macroexp and cconv.
5779 * makefile.w32-in: Mirror changes in Makefile.in.
5780
5781 * vc/cvs-status.el:
5782 * vc/diff-mode.el:
5783 * vc/log-edit.el:
5784 * vc/log-view.el:
5785 * vc/smerge-mode.el:
5786 * textmodes/bibtex-style.el:
5787 * textmodes/css.el:
5788 * startup.el:
5789 * uniquify.el:
da91b5f2
CY
5790 * minibuffer.el:
5791 * newcomment.el:
5792 * reveal.el:
5793 * server.el:
5794 * mpc.el:
5795 * emacs-lisp/smie.el:
5796 * doc-view.el:
5797 * dired.el:
03408648
SM
5798 * abbrev.el: Use lexical binding.
5799
0f0c1f27
EZ
58002011-04-01 Eli Zaretskii <eliz@gnu.org>
5801
5802 * info.el (info-display-manual): New function.
5803
c82b2579
SM
58042011-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
5805
5806 * loadup.el: Load minibuffer after loaddefs, to use define-minor-mode.
5807
221ddf68
TH
58082011-03-31 Tassilo Horn <tassilo@member.fsf.org>
5809
5810 * net/rcirc.el (rcirc-handler-001): Only authenticate, if there's
2fbc1934 5811 an entry for that server in rcirc-authinfo. (Bug#8385)
221ddf68 5812
cba6e77e
GM
58132011-03-31 Glenn Morris <rgm@gnu.org>
5814
e040639f
GM
5815 * progmodes/f90.el (f90-find-tag-default): Handle multiple `%'.
5816
cba6e77e
GM
5817 * generic-x.el (etc-fstab-generic-mode): Add ext4, sysfs keywords.
5818
6d0f1c9e
CS
58192011-03-30 Christoph Scholtes <cschol2112@googlemail.com>
5820
5821 * progmodes/python.el (python-default-interpreter)
5822 (python-python-command-args, python-jython-command-args)
5823 (python-which-shell, python-which-args, python-which-bufname)
5824 (python-file-queue, python-comint-output-filter-function)
5825 (python-toggle-shells, python-shell): Remove obsolete defcustoms,
5826 variables and functions.
5827
3e2d70fd
SM
58282011-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
5829
5830 * minibuffer.el (completion-table-dynamic): Optimize `boundaries'.
5831 (completion-in-region-mode): New minor mode.
5832 (completion-in-region): Use it.
5833 (completion-in-region--data, completion-in-region-mode-map): New vars.
5834 (completion-in-region--postch): New function.
5835 (completion--capf-misbehave-funs, completion--capf-safe-funs):
5836 New vars.
5837 (completion--capf-wrapper): New function.
5838 (completion-at-point): Use it to track well-behavedness of
5839 hook functions.
5840 (completion-help-at-point): New command.
5841
f3e4086c
JM
58422011-03-30 Jason Merrill <jason@redhat.com> (tiny change)
5843
5844 * vc/add-log.el (add-change-log-entry): Don't use whitespace
5845 syntax class to search for whitespace on a single line
5846 (Message-ID: <4D938140.4030905@redhat.com>).
5847
eb7ffc14
LL
58482011-03-30 Leo Liu <sdl.web@gmail.com>
5849
5850 * abbrev.el (abbrev-edit-save-to-file, abbrev-edit-save-buffer):
5851 New commands.
5852 (edit-abbrevs-map): Bind them here.
5853 (write-abbrev-file): New optinal arg VERBOSE. (Bug#5937)
5854
d806ab68
KM
58552011-03-29 Ken Manheimer <ken.manheimer@gmail.com>
5856
5857 * allout.el (allout-hide-by-annotation, allout-flag-region):
5858 Reduce possibility of overlay leakage by making them volatile.
5859
5860 * allout-widgets.el (allout-widgets-tally): Define as nil so the
5861 hash is not shared between buffers. Mode initialization is
5862 responsible for giving it a useful starting value.
5863 (allout-item-span): Reduce possibility of overlay leakage by
5864 making them volatile.
5865 (allout-widgets-count-buttons-in-region): Add diagnostic function
5866 for tracking down button overlay leaks.
5867
ea622834
LL
58682011-03-29 Leo Liu <sdl.web@gmail.com>
5869
5870 * ido.el (ido-read-internal): Use the default history var
5871 minibuffer-history if no HISTORY is specified.
5872
b62f8267
G
58732011-03-28 Brian T. Sniffen <bsniffen@akamai.com> (tiny change)
5874
03408648
SM
5875 * net/imap.el (imap-shell-open, imap-process-connection-type):
5876 Use imap-process-connection-type for 'shell' streams as well as
b62f8267
G
5877 Kerberos, SSL, other subprocesses.
5878
947b6566
LL
58792011-03-28 Leo Liu <sdl.web@gmail.com>
5880
5881 * abbrev.el (abbrev-table-empty-p): New function.
5882 (prepare-abbrev-list-buffer): Place empty abbrev tables after
5883 nonempty ones. (Bug#5937)
5884
5ffb62aa
JD
58852011-03-27 Jan Djärv <jan.h.d@swipnet.se>
5886
5887 * cus-start.el (all): Add boolean ns-auto-hide-menu-bar.
5888
7a097943
LL
58892011-03-27 Leo Liu <sdl.web@gmail.com>
5890
5891 * ansi-color.el (ansi-color-names-vector): Allow cons cell value
5892 for foreground and background colors.
5893 (ansi-color-make-color-map): Adapt.
5894
c5b40130
LL
58952011-03-25 Leo Liu <sdl.web@gmail.com>
5896
1f48f7d2
LL
5897 * midnight.el (midnight-time-float): Remove. Note it calculates
5898 the microsecond component incorrectly and seconds-to-time does the
5899 same job.
625897ec 5900 Remove redundant (require 'timer).
1f48f7d2 5901
c5b40130
LL
5902 * ido.el (ido-read-internal): Simplify with read-from-minibuffer.
5903 (ido-completions): Remove unused arguments. (Bug#8329)
5904
d86d2721
SM
59052011-03-24 Stefan Monnier <monnier@iro.umontreal.ca>
5906
5907 * minibuffer.el (completion--flush-all-sorted-completions):
5908 Remove itself from hook.
5909 (completion-at-point): Let the functions perform the completion
5910 immediately and return nil or t.
5911 * comint.el (comint-dynamic-complete-functions): Now identical to
5912 completion-at-point-functions.
5913 (comint-dynamic-list-input-ring): Remove unused var `index'.
5914 (comint--match-partial-filename, comint--unquote&expand-filename):
5915 New funs, split from comint-match-partial-filename.
5916 (comint-dynamic-complete): Use completion-at-point.
5917 (comint-dynamic-complete-filename): Use comint--match-partial-filename.
5918
e8974c48
DA
59192011-03-24 Drew Adams <drew.adams@oracle.com>
5920
5921 * thingatpt.el: Support `defun'.
5922
def71b5e
LL
59232011-03-23 Leo Liu <sdl.web@gmail.com>
5924
cb5af48e
LL
5925 * abbrevlist.el: Move to obsolete/abbrevlist.el.
5926
def71b5e
LL
5927 * help-mode.el (help-mode-finish): Tweak regexp.
5928
927c53e7
GM
59292011-03-23 Glenn Morris <rgm@gnu.org>
5930
18d05bed
GM
5931 * eshell/esh-opt.el (eshell-eval-using-options):
5932 Do not bind unused local variable `eshell-option-stub'.
5933
927c53e7
GM
5934 * progmodes/gdb-mi.el (gdb): Fix typo in previous change.
5935
9d0da923
JB
59362011-03-22 Juanma Barranquero <lekktu@gmail.com>
5937
5938 * emacs-lisp/derived.el (define-derived-mode): Wrap declaration of
5939 keymap variable in `with-no-warnings' to avoid a warning when the
5940 keymap has been already `defconst'ed.
5941
4b978a67
LL
59422011-03-22 Leo Liu <sdl.web@gmail.com>
5943
5944 * abbrev.el (write-abbrev-file): Use utf-8 for writing if it can
5945 encode all chars in abbrevs; otherwise use emacs-mule or
5946 utf-8-emacs. (Bug#8308)
5947
5fd62452
JB
59482011-03-22 Juanma Barranquero <lekktu@gmail.com>
5949
0b1596c6
JB
5950 * simple.el (backward-delete-char-untabify):
5951 Avoid warning about using `delete-backward-char'.
5952
5fd62452
JB
5953 * image.el (image-type-file-name-regexps): Make it variable.
5954 `imagemagick-register-types' modifies it, and the user may want
5955 to add new extensions for known image types.
5956 (imagemagick-register-types): Throw error if not using ImageMagick.
5957
0b4e93f1
LL
59582011-03-22 Leo Liu <sdl.web@gmail.com>
5959
5960 * net/rcirc.el (rcirc-completion-at-point): Return nil if point is
5961 located before rcirc-prompt-end-marker.
5962 (rcirc-complete): Error if point is not after rcirc prompt.
5963 Handle the case when table is nil.
9882e214 5964 (rcirc-user-authenticated): Define to fix compiler warning.
0b4e93f1 5965
fccee4ab
CY
59662011-03-22 Chong Yidong <cyd@stupidchicken.com>
5967
5968 * custom.el (custom--inhibit-theme-enable): Make it affect only
5969 custom-theme-set-variables and custom-theme-set-faces.
5970 (provide-theme): Ignore custom--inhibit-theme-enable.
5971 (load-theme): Enable the theme explicitly if NO-ENABLE is non-nil.
5972 (custom-enabling-themes): Delete variable.
d86d2721
SM
5973 (enable-theme): Accept only loaded themes as arguments.
5974 Ignore the special custom-enabled-themes variable.
fccee4ab
CY
5975 (custom-enabled-themes): Forbid themes from setting this.
5976 Eliminate use of custom-enabling-themes.
5977 (custom-push-theme): Quote "changed" custom var entry.
0357c7ae 5978
af896da6
LL
59792011-03-21 Leo Liu <sdl.web@gmail.com>
5980
5981 * ido.el (ido-read-internal): Add ido-selected to history instead
5982 of user input.
5983
78f64af0
SM
59842011-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
5985
5986 * subr.el (deferred-action-list, deferred-action-function):
5987 Mark obsolete.
5988
b16ac1ec
LL
59892011-03-21 Leo Liu <sdl.web@gmail.com>
5990
810f7698
LL
5991 * vc/log-view.el: Remove (require 'wid-edit), not needed after the
5992 change on 2011-02-13 (bug#8309).
5993
b16ac1ec
LL
5994 * minibuffer.el (read-file-name-function): Change default value.
5995 (read-file-name--defaults): Rename from read-file-name-defaults.
5996 (read-file-name-default): Rename from read-file-name.
5997 (read-file-name): Call read-file-name-function.
5998
4e05e67e
GM
59992011-03-21 Glenn Morris <rgm@gnu.org>
6000
6001 * eshell/esh-opt.el (eshell-eval-using-options, eshell-process-args):
6002 Doc fixes.
6003
4359915b
CY
60042011-03-21 Chong Yidong <cyd@stupidchicken.com>
6005
6006 * cus-theme.el: Add missing provide statement.
6007 (customize-create-theme): Extract theme value correctly.
6008 (custom-theme-visit-theme): Autoload.
6009 (customize-create-theme): Prompt before inserting default faces.
6010
1fe275ee
JB
60112011-03-20 Jay Belanger <jay.p.belanger@gmail.com>
6012
6013 * calc/calc-menu.el (calc-units-menu): Add entries for logarithmic
6014 units and musical notes.
6015
3ec03f7e
LL
60162011-03-20 Leo <sdl.web@gmail.com>
6017
6018 * ido.el (ido-read-internal): Use completing-read-default.
6019 (ido-completing-read): Fix compatibility with completing-read.
6020
7d476bde
CO
60212011-03-20 Christian Ohler <ohler@gnu.org>
6022
6023 * emacs-lisp/ert.el (ert-run-tests-batch): Remove unused variable.
6024 (ert-delete-all-tests): Use `called-interactively-p' rather than
6025 `interactive-p'.
6026 (ert--make-xrefs-region): Respect END.
6027
fe0fb33e
CY
60282011-03-19 Chong Yidong <cyd@stupidchicken.com>
6029
ff854b0b
CY
6030 * dired-aux.el (dired-create-directory): Signal an error if the
6031 directory already exists (Bug#8246).
6032
fe0fb33e
CY
6033 * facemenu.el (list-colors-display): Call list-faces-display
6034 inside with-help-window.
6035 (list-colors-print): Use display property to align the final
6036 column, instead of checking window-width.
6037
576bce32
EZ
60382011-03-19 Eli Zaretskii <eliz@gnu.org>
6039
6040 * emerge.el (emerge-metachars): Separate value for ms-dos and
6041 windows-nt systems.
6042 (emerge-protect-metachars): Quote correctly for ms-dos and
6043 windows-nt systems.
6044
89c41d68 60452011-03-19 Ralph Schleicher <rs@ralph-schleicher.de>
e6ce307c
RS
6046
6047 * info.el (info-initialize): Replace all uses of `:' with
6048 path-separator for compatibility with non-Unix systems.
6049 Cache quoting of path-separator. (Bug#8258)
6050
b14e3e21 60512011-03-19 Juanma Barranquero <lekktu@gmail.com>
ad22b7f7
JB
6052
6053 * avoid.el (mouse-avoidance-mode, mouse-avoidance-nudge-dist)
6054 (mouse-avoidance-threshold, mouse-avoidance-banish-destination)
6055 (mouse-avoidance-mode): Fix typos in docstrings.
6056
4525ce3e
CY
60572011-03-19 Chong Yidong <cyd@stupidchicken.com>
6058
6059 * startup.el (package-subdirectory-regexp): Move from package.el.
6060 Omit \\` and \\', and let callers add them.
6061
6062 * emacs-lisp/package.el (package-strip-version)
6063 (package-load-all-descriptors): Add \\` and \\' to
6064 package-subdirectory-regexp before using it.
6065 (package-untar-buffer): New arg DIR; ensure that file untars only
6066 into this expected directory. Remove superfluous delete-region.
6067 (package-unpack): Caller changed.
6068 (package-tar-file-info): Use package-subdirectory-regexp.
6069
a904a09a 60702011-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
1518e4f0 6071
a904a09a
SM
6072 * vc/diff-mode.el (diff-mode-map): Shadow problematic bindings from
6073 diff-mode-shared-map (bug#8284).
6074 (diff-mode-shared-map): Re-introduce some bindings that were problematic.
1518e4f0
G
6075
60762011-03-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
6077
6078 * calendar/time-date.el (format-seconds): Use assoc instead of
6079 assoc-string, since assoc-string doesn't exist in XEmacs.
6080
171fc304
JB
60812011-03-17 Juanma Barranquero <lekktu@gmail.com>
6082
6083 * custom.el (custom-known-themes): Reflow docstring.
6084 (custom-theme-load-path): Fix typo in docstring.
6085 (load-theme): Fix typo in error message.
6086 (custom-available-themes, custom-variable-theme-value):
6087 Use `let', not `let*'.
6088
d71990a1
JB
60892011-03-17 Jay Belanger <jay.p.belanger@gmail.com>
6090
6091 * calc/README: Mention inclusion of musical notes.
6092
6093 * calc/calc-units.el (calc-lu-quant): Rename from
6094 `calc-logunits-quantity'.
6095 (calcFunc-lupquant): Rename from `calcFunc-powerquant'.
6096 (calcFunc-lufquant): Rename from `calcFunc-fieldquant'.
6097 (calc-db): Rename from `calc-dblevel'.
6098 (calcFunc-dbpower): Rename from `calcFunc-dbpowerlevel'.
6099 (calcFunc-dbfield): Rename from `calcFunc-dbfieldlevel'.
6100 (calc-np): Rename from `calc-nplevel'.
6101 (calcFunc-nppower): Rename from `calcFunc-nppowerlevel'.
6102 (calcFunc-npfield): Rename from `calcFunc-npfieldlevel'.
6103 (calc-lu-plus): Rename from `calc-logunits-add'.
6104 (calcFunc-lupadd): Rename from `calcFunc-lupoweradd'.
6105 (calcFunc-lufadd): Rename from `calcFunc-lufieldadd'.
6106 (calc-lu-minus): Rename from `calc-logunits-sub'.
6107 (calcFunc-lupsub): Rename from `calcFunc-lupowersub'.
6108 (calcFunc-lufsub): Rename from `calcFunc-lufieldsub'.
6109 (calc-lu-times): Rename from `calc-logunits-mul'.
6110 (calcFunc-lupmul): Rename from `calcFunc-lupowermul'.
6111 (calcFunc-lufmul): Rename from `calcFunc-lufieldmul'.
6112 (calc-lu-divide): Rename from `calc-logunits-div'.
6113 (calcFunc-lupdiv): Rename from `calcFunc-lupowerdiv'.
6114 (calcFunc-lufdiv): Rename from `calcFunc-lufielddiv'.
6115
6116 * calc/calc-ext.el (calc-init-extensions): Update the names of the
6117 functions being autoloaded.
6118
6119 * calc/calc.el (calc-lu-power-reference): Rename from
6120 `calc-logunits-power-reference'.
6121 (calc-lu-field-reference): Rename from
6122 `calc-logunits-field-reference'.
6123
6124 * calc/calc-help (calc-l-prefix-help): Mention musical note functions.
6125
40c2934b
SM
61262011-03-17 Stefan Monnier <monnier@iro.umontreal.ca>
6127
6128 * minibuffer.el (completion-all-sorted-completions):
6129 Use :completion-cycle-penalty text property if present.
6130
b0911414
KM
61312011-03-16 Ken Manheimer <ken.manheimer@gmail.com>
6132
6133 * allout.el (allout-yank-processing): Adjust for new rebulleting
6134 regime so bullet being yanked is used without prompting the user
6135 for a choice.
6136
8a05b668
JB
61372011-03-16 Juanma Barranquero <lekktu@gmail.com>
6138
6139 * startup.el (command-line): Warn the user that _emacs is deprecated.
6140
5ba5fb81
JB
61412011-03-16 Juanma Barranquero <lekktu@gmail.com>
6142
6143 * progmodes/delphi.el (delphi-search-path, delphi-indent-level)
6144 (delphi-verbose, delphi-comment-face, delphi-string-face)
6145 (delphi-keyword-face, delphi-ignore-changes, delphi-indent-line)
6146 (delphi-mode-abbrev-table, delphi-debug-buffer, delphi-tab)
6147 (delphi-find-unit, delphi-find-current-xdef, delphi-fill-comment)
6148 (delphi-new-comment-line, delphi-font-lock-defaults)
6149 (delphi-debug-mode-map, delphi-mode-syntax-table, delphi-mode):
6150 Fix typos in docstrings.
6151
2dab465b
KM
61522011-03-15 Ken Manheimer <ken.manheimer@gmail.com>
6153
5ba5fb81 6154 * allout.el (allout-make-topic-prefix, allout-rebullet-heading):
2dab465b
KM
6155 Invert the roles of character and string values for INSTEAD, so a
6156 string is used for the more common case of a defaulting prompt.
6157
0adf5618
SM
61582011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
6159
6160 * progmodes/ruby-mode.el (ruby-backward-sexp):
6161 * progmodes/ebrowse.el (ebrowse-draw-file-member-info):
6162 * play/gamegrid.el (gamegrid-make-face):
6163 * play/bubbles.el (bubbles--grid-width, bubbles--grid-height)
6164 (bubbles--colors, bubbles--shift-mode, bubbles--initialize-images):
6165 * notifications.el (notifications-notify):
6166 * net/xesam.el (xesam-search-engines):
6167 * net/quickurl.el (quickurl-list-insert):
6168 * vc/vc-hg.el (vc-hg-dir-printer): Fix use of case.
6169
d72700e5
CY
61702011-03-15 Chong Yidong <cyd@stupidchicken.com>
6171
6172 * startup.el (command-line): Update package subdirectory regexp.
6173
49c5410a
SM
61742011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
6175
c6eee9aa
SM
6176 * allout.el (allout-abbreviate-flattened-numbering)
6177 (allout-mode-deactivate-hook): Fix up obsolescence "date".
6178
49c5410a
SM
6179 * subr.el (read-char-choice): Only show the cursor after the prompt,
6180 not after the answer.
6181
047b2bb9
KR
61822011-03-15 Kevin Ryde <user42@zip.com.au>
6183
6184 * help-fns.el (variable-at-point): Skip leading quotes, if any
6185 (bug#8253).
6186
0a57d256
SM
61872011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
6188
6189 * emacs-lisp/bytecomp.el (byte-compile-save-excursion): Change the
6190 warning message.
6191
77c992bc
MA
61922011-03-14 Michael Albinus <michael.albinus@gmx.de>
6193
6194 * shell.el (shell): When called interactively, offer to change the
6195 shell file name on remote hosts.
6196
eebc475d
TZ
61972011-03-13 Teodor Zlatanov <tzz@lifelogs.com>
6198
6199 * net/ldap.el (ldap-search-internal): Add `auth-source-search'
6200 integration for LDAP parameters. The host, base, user or binddn,
6201 and secret tokens can be specified in a netrc file, for instance.
6202 This is optional because an `auth-source' parameter must be
6203 specified in the search attributes.
6204
9d05d1ba
JB
62052011-03-13 Juanma Barranquero <lekktu@gmail.com>
6206
6207 * help.el (describe-mode): Link to the mode's definition (bug#8185).
6208
09d9db2c
GM
62092011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
6210
6211 * ebuff-menu.el (electric-buffer-menu-mode-map): Move initialization
6212 into declaration. Remove redundant and harmful binding.
6213
62142011-03-12 Eli Zaretskii <eliz@gnu.org>
6215
6216 * files.el (file-ownership-preserved-p): Pass `integer' as an
6217 explicit 2nd argument to `file-attributes'. If the file's owner
6218 is the Administrators group on Windows, and the current user is
6219 Administrator, consider that a match.
6220
6221 * server.el (server-ensure-safe-dir): Consider server directory
6222 safe on MS-Windows if its owner is the Administrators group while
6223 the current Emacs user is Administrator. Use `=' to compare
6224 numerical UIDs, since they could be integers or floats.
6225
219bd536
JB
62262011-03-12 Juanma Barranquero <lekktu@gmail.com>
6227
6228 * vc/vc-bzr.el (vc-bzr-state): Handle bzr 2.3.0 (follow-up to bug#8170).
6229
f3afd36b
MA
62302011-03-12 Michael Albinus <michael.albinus@gmx.de>
6231
6232 Sync with Tramp 2.2.1.
6233
6234 * net/tramp-sh.el (tramp-methods): Exchange "%k" marker with options.
6235
6236 * net/trampver.el: Update release number.
6237
3aaaa6f1
SM
62382011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
6239
94642599
SM
6240 * progmodes/compile.el (compilation--previous-directory): Fix up
6241 various nil/dead-marker mismatches (bug#8014).
6242 (compilation-directory-properties, compilation-error-properties):
6243 Don't call it at a position past the one we're about to change.
6244
3aaaa6f1
SM
6245 * emacs-lisp/bytecomp.el (byte-compile-make-obsolete-variable):
6246 Disable obsolescence warnings in the file that declares it.
6247
14239447
KM
62482011-03-11 Ken Manheimer <ken.manheimer@gmail.com>
6249
099c39a4
JB
6250 * allout-widgets.el (allout-widgets-tally):
6251 Initialize allout-widgets-tally as a hash table rather than nil to
6252 prevent mode-line redisplay warnings. Also, clarify the module
6253 description and fix a comment typo.
14239447 6254
135e287c
JB
62552011-03-11 Juanma Barranquero <lekktu@gmail.com>
6256
6257 * help-fns.el (describe-variable): Don't complete keywords.
6258 Suggested by Teodor Zlatanov <tzz@lifelogs.com>.
6259
ffbf300e
CY
62602011-03-10 Chong Yidong <cyd@stupidchicken.com>
6261
ba08b241
CY
6262 * emacs-lisp/package.el (package-version-join): Impose a standard
6263 string representation for pre/alpha/beta version lists.
6264 (package-unpack-single): Standardize the directory name by passing
6265 it through package-version-join.
6266 (package-strip-rcs-id): Accept any version string that does not
6267 signal an error in version-to-list.
ffbf300e 6268
f346fd6b
MA
62692011-03-10 Michael Albinus <michael.albinus@gmx.de>
6270
6271 * simple.el (delete-trailing-whitespace): Return nil for the
6272 benefit of `write-file-functions'.
6273
ccb55d27
GM
62742011-03-10 Glenn Morris <rgm@gnu.org>
6275
5ceaac0c
GM
6276 * vc/vc-hg.el (vc-hg-pull, vc-hg-merge-branch): Use vc-hg-program.
6277
02da65ff
GM
6278 * vc/vc-git.el (vc-git-program): New option.
6279 (vc-git-branches, vc-git-pull, vc-git-merge-branch, vc-git-command)
6280 (vc-git--call): Use it.
6281
b2f603cc
GM
6282 * eshell/esh-util.el (eshell-condition-case): Doc fix.
6283
5772caab
GM
6284 * cus-edit.el (Custom-newline): If no button at point, look
6285 for a subgroup button at start-of-line. (Bug#2298)
6286
ccb55d27
GM
6287 * mail/rmail.el (rmail-msgend, rmail-msgbeg): Doc fixes.
6288
ec6ecaed
JD
62892011-03-10 Julien Danjou <julien@danjou.info>
6290
6291 * avoid.el (mouse-avoidance-ignore-p): Do not move the cursor if
6292 `cursor-type' is nil.
6293
9d5aa01d
JB
62942011-03-09 Jay Belanger <jay.p.belanger@gmail.com>
6295
6296 * calc/calc.el (calc-mode-map): Don't bind "C-_" to `calc-missing-key'.
6297
b6a5875b
KM
62982011-03-09 Ken Manheimer <ken.manheimer@gmail.com>
6299
6300 * allout.el Summary: Change so yank of distinctive-bullet items
6301 preserves the existing header prefix, rebulleting it if necessary,
6302 rather than replacing it. This is necessary for proper operation
6303 of cooperative addons like allout-widgets.
219bd536 6304 (allout-make-topic-prefix, allout-rebullet-heading): Change
b6a5875b
KM
6305 SOLICIT arg to INSTEAD, and interpret additionally a string value
6306 as alternate bullet to be used, instead of prompting the user for
6307 a bullet character.
6308
ee545c35
MA
63092011-03-09 Michael Albinus <michael.albinus@gmx.de>
6310
d86d2721
SM
6311 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
6312 Do not use `tramp-file-name-port', because this returns also
ee545c35
MA
6313 `tramp-default-port'.
6314
c47971d7
DD
63152011-03-09 Deniz Dogan <deniz.a.m.dogan@gmail.com>
6316
6317 * net/rcirc.el (rcirc-handler-001): Remove useless
6318 with-rcirc-process-buffer.
6319 (rcirc-check-auth-status): Swap arguments to string-match.
6320
13522cb4
GM
63212011-03-09 Glenn Morris <rgm@gnu.org>
6322
0be6f4f1
GM
6323 * shell.el (shell-mode):
6324 Set comint-input-ring-size from HISTSIZE. (Bug#7889)
6325
13522cb4
GM
6326 * progmodes/gdb-mi.el (gdb): Improve 2010-12-08 change.
6327 Check for GDBHISTFILE, HISTSIZE, etc. (Bug#7889)
6328
515de2e3
CY
63292011-03-08 Chong Yidong <cyd@stupidchicken.com>
6330
6331 * emacs-lisp/package.el (package-refresh-contents)
6332 (package-menu-execute): Use condition-case-no-debug.
6333
b511b994
MA
63342011-03-08 Michael Albinus <michael.albinus@gmx.de>
6335
6336 * simple.el (shell-command-to-string): Use `process-file'.
6337
6338 * emacs-lisp/package.el (package-tar-file-info): Handle also
6339 remote files.
6340
d86d2721
SM
6341 * emacs-lisp/package-x.el (package-upload-buffer-internal):
6342 Use `equal' for upload base check.
b511b994 6343
25bbfb31
AM
63442011-03-08 Arni Magnusson <arnima@hafro.is> (tiny change)
6345
6346 * textmodes/texinfo.el (texinfo-environments):
6347 Add deftypecv, deftypeivar, deftypemethod, deftypeop, html. (Bug#2783)
6348
be996521
GM
63492011-03-08 Glenn Morris <rgm@gnu.org>
6350
e9c8529f
GM
6351 * cus-start.el (cursor-in-non-selected-windows):
6352 Fix :set quoting oddness. (Bug#8192)
6353
be996521
GM
6354 * font-lock.el (lisp-font-lock-keywords-1): Don't highlight `)'
6355 in some setf expressions. (Bug#2159)
6356
2bb5649e
CY
63572011-03-08 Chong Yidong <cyd@stupidchicken.com>
6358
6359 * custom.el (custom-available-themes): Return themes in
6360 alphabetical order.
6361
33383987 6362See ChangeLog.15 for earlier changes.
e3d51b27
MR
6363
6364;; Local Variables:
6365;; coding: utf-8
e3d51b27
MR
6366;; End:
6367
33383987 6368 Copyright (C) 2011 Free Software Foundation, Inc.
e3d51b27
MR
6369
6370 This file is part of GNU Emacs.
6371
6372 GNU Emacs is free software: you can redistribute it and/or modify
6373 it under the terms of the GNU General Public License as published by
6374 the Free Software Foundation, either version 3 of the License, or
6375 (at your option) any later version.
6376
6377 GNU Emacs is distributed in the hope that it will be useful,
6378 but WITHOUT ANY WARRANTY; without even the implied warranty of
6379 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
6380 GNU General Public License for more details.
6381
6382 You should have received a copy of the GNU General Public License
6383 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.